docs.go 1.3 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  427. "name": "clientType",
  428. "in": "query"
  429. },
  430. {
  431. "type": "string",
  432. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  433. "name": "name",
  434. "in": "query"
  435. }
  436. ],
  437. "responses": {
  438. "200": {
  439. "description": "OK",
  440. "schema": {
  441. "type": "array",
  442. "items": {
  443. "$ref": "#/definitions/common.ClientMenu"
  444. }
  445. }
  446. },
  447. "500": {
  448. "description": "Internal Server Error",
  449. "schema": {
  450. "$ref": "#/definitions/app.Response"
  451. }
  452. }
  453. }
  454. }
  455. },
  456. "/Common/GetDivisions": {
  457. "get": {
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "查询区域信息",
  465. "responses": {
  466. "200": {
  467. "description": "OK",
  468. "schema": {
  469. "$ref": "#/definitions/models.Division"
  470. }
  471. },
  472. "500": {
  473. "description": "Internal Server Error",
  474. "schema": {
  475. "$ref": "#/definitions/app.Response"
  476. }
  477. }
  478. }
  479. }
  480. },
  481. "/Common/GetServerTime": {
  482. "get": {
  483. "produces": [
  484. "application/json"
  485. ],
  486. "tags": [
  487. "通用服务"
  488. ],
  489. "summary": "获取服务器时间",
  490. "responses": {
  491. "200": {
  492. "description": "OK",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. },
  497. "500": {
  498. "description": "Internal Server Error",
  499. "schema": {
  500. "$ref": "#/definitions/app.Response"
  501. }
  502. }
  503. }
  504. }
  505. },
  506. "/Common/NoticeReaded": {
  507. "post": {
  508. "security": [
  509. {
  510. "ApiKeyAuth": []
  511. }
  512. ],
  513. "produces": [
  514. "application/json"
  515. ],
  516. "tags": [
  517. "通用服务"
  518. ],
  519. "summary": "通知公告设置已读请求",
  520. "parameters": [
  521. {
  522. "type": "integer",
  523. "description": "登录账号",
  524. "name": "loginID",
  525. "in": "query",
  526. "required": true
  527. },
  528. {
  529. "type": "integer",
  530. "description": "通知公告ID",
  531. "name": "noticeID",
  532. "in": "query",
  533. "required": true
  534. }
  535. ],
  536. "responses": {
  537. "200": {
  538. "description": "OK",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/QueryErrorInfos": {
  553. "get": {
  554. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  555. "produces": [
  556. "application/json"
  557. ],
  558. "tags": [
  559. "通用服务"
  560. ],
  561. "summary": "获取数据库错误信息",
  562. "parameters": [
  563. {
  564. "type": "string",
  565. "description": "起始行号前索引",
  566. "name": "rowNumber",
  567. "in": "query"
  568. }
  569. ],
  570. "responses": {
  571. "200": {
  572. "description": "OK",
  573. "schema": {
  574. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  575. }
  576. },
  577. "500": {
  578. "description": "Internal Server Error",
  579. "schema": {
  580. "$ref": "#/definitions/app.Response"
  581. }
  582. }
  583. }
  584. }
  585. },
  586. "/Common/QueryImageConfigs": {
  587. "get": {
  588. "produces": [
  589. "application/json"
  590. ],
  591. "tags": [
  592. "通用服务"
  593. ],
  594. "summary": "查询轮播图配置信息",
  595. "parameters": [
  596. {
  597. "type": "integer",
  598. "description": "用户id",
  599. "name": "userId",
  600. "in": "query"
  601. },
  602. {
  603. "type": "integer",
  604. "description": "类型 - 1:App首页轮播 2:我的",
  605. "name": "imageType",
  606. "in": "query"
  607. }
  608. ],
  609. "responses": {
  610. "200": {
  611. "description": "OK",
  612. "schema": {
  613. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  614. }
  615. },
  616. "500": {
  617. "description": "Internal Server Error",
  618. "schema": {
  619. "$ref": "#/definitions/app.Response"
  620. }
  621. }
  622. }
  623. }
  624. },
  625. "/Common/QueryNotice": {
  626. "get": {
  627. "security": [
  628. {
  629. "ApiKeyAuth": []
  630. }
  631. ],
  632. "produces": [
  633. "application/json"
  634. ],
  635. "tags": [
  636. "通用服务"
  637. ],
  638. "summary": "通知公告系统消息查询",
  639. "parameters": [
  640. {
  641. "type": "integer",
  642. "description": "页码",
  643. "name": "page",
  644. "in": "query"
  645. },
  646. {
  647. "type": "integer",
  648. "description": "每页条数",
  649. "name": "pagesize",
  650. "in": "query"
  651. },
  652. {
  653. "type": "integer",
  654. "description": "登录账号",
  655. "name": "loginID",
  656. "in": "query",
  657. "required": true
  658. },
  659. {
  660. "type": "integer",
  661. "description": "消息类型 - 1:公告通知 2:系统消息",
  662. "name": "msgType",
  663. "in": "query"
  664. },
  665. {
  666. "type": "boolean",
  667. "description": "是否只获取未读信息",
  668. "name": "onlyUnRead",
  669. "in": "query"
  670. },
  671. {
  672. "type": "integer",
  673. "description": "自增ID,传入后会返回这个ID后面的记录",
  674. "name": "lastID",
  675. "in": "query"
  676. }
  677. ],
  678. "responses": {
  679. "200": {
  680. "description": "OK",
  681. "schema": {
  682. "$ref": "#/definitions/common.QueryNoticeRsp"
  683. }
  684. },
  685. "500": {
  686. "description": "Internal Server Error",
  687. "schema": {
  688. "$ref": "#/definitions/app.Response"
  689. }
  690. }
  691. }
  692. }
  693. },
  694. "/Common/QueryProvincesAndCities": {
  695. "get": {
  696. "produces": [
  697. "application/json"
  698. ],
  699. "tags": [
  700. "通用服务"
  701. ],
  702. "summary": "查询省市信息(不包括区)",
  703. "parameters": [
  704. {
  705. "type": "integer",
  706. "description": "省ID",
  707. "name": "provinceID",
  708. "in": "query"
  709. }
  710. ],
  711. "responses": {
  712. "200": {
  713. "description": "OK",
  714. "schema": {
  715. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  716. }
  717. },
  718. "500": {
  719. "description": "Internal Server Error",
  720. "schema": {
  721. "$ref": "#/definitions/app.Response"
  722. }
  723. }
  724. }
  725. }
  726. },
  727. "/Common/QueryTableDefine": {
  728. "get": {
  729. "produces": [
  730. "application/json"
  731. ],
  732. "tags": [
  733. "通用服务"
  734. ],
  735. "summary": "查询交易端列表头信息",
  736. "parameters": [
  737. {
  738. "type": "string",
  739. "description": "表key",
  740. "name": "tableKey",
  741. "in": "query"
  742. },
  743. {
  744. "type": "integer",
  745. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  746. "name": "tableType",
  747. "in": "query"
  748. }
  749. ],
  750. "responses": {
  751. "200": {
  752. "description": "OK",
  753. "schema": {
  754. "$ref": "#/definitions/common.QueryTableDefineRsp"
  755. }
  756. },
  757. "500": {
  758. "description": "Internal Server Error",
  759. "schema": {
  760. "$ref": "#/definitions/app.Response"
  761. }
  762. }
  763. }
  764. }
  765. },
  766. "/Common/QueryTraderMenu": {
  767. "get": {
  768. "produces": [
  769. "application/json"
  770. ],
  771. "tags": [
  772. "通用服务"
  773. ],
  774. "summary": "查询交易端菜单",
  775. "parameters": [
  776. {
  777. "type": "integer",
  778. "description": "登录账号",
  779. "name": "loginid",
  780. "in": "query",
  781. "required": true
  782. }
  783. ],
  784. "responses": {
  785. "200": {
  786. "description": "OK",
  787. "schema": {
  788. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  789. }
  790. },
  791. "500": {
  792. "description": "Internal Server Error",
  793. "schema": {
  794. "$ref": "#/definitions/app.Response"
  795. }
  796. }
  797. }
  798. }
  799. },
  800. "/Delivery/QueryDeliveryRelation": {
  801. "get": {
  802. "security": [
  803. {
  804. "ApiKeyAuth": []
  805. }
  806. ],
  807. "produces": [
  808. "application/json"
  809. ],
  810. "tags": [
  811. "交割服务"
  812. ],
  813. "summary": "查询商品交割关系表",
  814. "parameters": [
  815. {
  816. "type": "integer",
  817. "description": "商品ID",
  818. "name": "goodsid",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "品种ID",
  824. "name": "deliverygoodsid",
  825. "in": "query"
  826. },
  827. {
  828. "type": "integer",
  829. "description": "市场ID",
  830. "name": "marketid",
  831. "in": "query"
  832. }
  833. ],
  834. "responses": {
  835. "200": {
  836. "description": "OK",
  837. "schema": {
  838. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  839. }
  840. },
  841. "500": {
  842. "description": "Internal Server Error",
  843. "schema": {
  844. "$ref": "#/definitions/app.Response"
  845. }
  846. }
  847. }
  848. }
  849. },
  850. "/Ermcp/GetErmcpGoods": {
  851. "get": {
  852. "security": [
  853. {
  854. "ApiKeyAuth": []
  855. }
  856. ],
  857. "produces": [
  858. "application/json"
  859. ],
  860. "tags": [
  861. "企业风险管理(app)"
  862. ],
  863. "summary": "查询企业风管期货商品信息",
  864. "parameters": [
  865. {
  866. "type": "string",
  867. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  868. "name": "lastUpdateTime",
  869. "in": "query"
  870. }
  871. ],
  872. "responses": {
  873. "200": {
  874. "description": "OK",
  875. "schema": {
  876. "$ref": "#/definitions/models.ErmcpGoods"
  877. }
  878. },
  879. "500": {
  880. "description": "Internal Server Error",
  881. "schema": {
  882. "$ref": "#/definitions/app.Response"
  883. }
  884. }
  885. }
  886. }
  887. },
  888. "/Ermcp/GetErmcpGoodsSortByPosition": {
  889. "get": {
  890. "security": [
  891. {
  892. "ApiKeyAuth": []
  893. }
  894. ],
  895. "produces": [
  896. "application/json"
  897. ],
  898. "tags": [
  899. "企业风险管理(app)"
  900. ],
  901. "summary": "查询企业风管期货主力、次主力商品信息",
  902. "parameters": [
  903. {
  904. "type": "string",
  905. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  906. "name": "sortIndex",
  907. "in": "query"
  908. }
  909. ],
  910. "responses": {
  911. "200": {
  912. "description": "OK",
  913. "schema": {
  914. "$ref": "#/definitions/models.Goodssortbypreposition"
  915. }
  916. },
  917. "500": {
  918. "description": "Internal Server Error",
  919. "schema": {
  920. "$ref": "#/definitions/app.Response"
  921. }
  922. }
  923. }
  924. }
  925. },
  926. "/Ermcp/GetErmcpOutAccountStatus": {
  927. "get": {
  928. "security": [
  929. {
  930. "ApiKeyAuth": []
  931. }
  932. ],
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "企业风险管理(app)"
  938. ],
  939. "summary": "获取目标登录账号当前对冲账号在线状态",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "登录账号",
  944. "name": "loginID",
  945. "in": "query",
  946. "required": true
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "$ref": "#/definitions/models.Hedgemarketopenlog"
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "获取企业风管终端权限",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "登录账号",
  983. "name": "loginID",
  984. "in": "query",
  985. "required": true
  986. }
  987. ],
  988. "responses": {
  989. "200": {
  990. "description": "OK",
  991. "schema": {
  992. "$ref": "#/definitions/models.Funcmenulist"
  993. }
  994. },
  995. "500": {
  996. "description": "Internal Server Error",
  997. "schema": {
  998. "$ref": "#/definitions/app.Response"
  999. }
  1000. }
  1001. }
  1002. }
  1003. },
  1004. "/Ermcp/QueryAccMgrBizGroupSet": {
  1005. "get": {
  1006. "security": [
  1007. {
  1008. "ApiKeyAuth": []
  1009. }
  1010. ],
  1011. "produces": [
  1012. "application/json"
  1013. ],
  1014. "tags": [
  1015. "企业风险管理(app)"
  1016. ],
  1017. "summary": "查询业务类型分组(账户管理/账户设置)",
  1018. "parameters": [
  1019. {
  1020. "type": "integer",
  1021. "description": "用户ID",
  1022. "name": "userid",
  1023. "in": "query",
  1024. "required": true
  1025. },
  1026. {
  1027. "type": "integer",
  1028. "description": "现货商品id",
  1029. "name": "deliverygoodsid",
  1030. "in": "query"
  1031. }
  1032. ],
  1033. "responses": {
  1034. "200": {
  1035. "description": "OK",
  1036. "schema": {
  1037. "type": "array",
  1038. "items": {
  1039. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1040. }
  1041. }
  1042. },
  1043. "500": {
  1044. "description": "Internal Server Error",
  1045. "schema": {
  1046. "$ref": "#/definitions/app.Response"
  1047. }
  1048. }
  1049. }
  1050. }
  1051. },
  1052. "/Ermcp/QueryAccMgrLoginUser": {
  1053. "get": {
  1054. "security": [
  1055. {
  1056. "ApiKeyAuth": []
  1057. }
  1058. ],
  1059. "produces": [
  1060. "application/json"
  1061. ],
  1062. "tags": [
  1063. "企业风险管理(app)"
  1064. ],
  1065. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1066. "parameters": [
  1067. {
  1068. "type": "integer",
  1069. "description": "用户ID",
  1070. "name": "userid",
  1071. "in": "query",
  1072. "required": true
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "用户类型 2-机构 7-企业成员",
  1077. "name": "usertype",
  1078. "in": "query"
  1079. },
  1080. {
  1081. "type": "integer",
  1082. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1083. "name": "querytype",
  1084. "in": "query",
  1085. "required": true
  1086. }
  1087. ],
  1088. "responses": {
  1089. "200": {
  1090. "description": "OK",
  1091. "schema": {
  1092. "type": "array",
  1093. "items": {
  1094. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1095. }
  1096. }
  1097. },
  1098. "500": {
  1099. "description": "Internal Server Error",
  1100. "schema": {
  1101. "$ref": "#/definitions/app.Response"
  1102. }
  1103. }
  1104. }
  1105. }
  1106. },
  1107. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1108. "get": {
  1109. "security": [
  1110. {
  1111. "ApiKeyAuth": []
  1112. }
  1113. ],
  1114. "produces": [
  1115. "application/json"
  1116. ],
  1117. "tags": [
  1118. "企业风险管理(app)"
  1119. ],
  1120. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1121. "parameters": [
  1122. {
  1123. "type": "integer",
  1124. "description": "用户ID",
  1125. "name": "userid",
  1126. "in": "query"
  1127. },
  1128. {
  1129. "type": "integer",
  1130. "description": "主账号id",
  1131. "name": "accountid",
  1132. "in": "query"
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.MainAccountInfo"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrRole": {
  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. "required": true
  1175. }
  1176. ],
  1177. "responses": {
  1178. "200": {
  1179. "description": "OK",
  1180. "schema": {
  1181. "type": "array",
  1182. "items": {
  1183. "$ref": "#/definitions/models.ErmcpRole"
  1184. }
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/QueryAccMgrRoleMenu": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户ID",
  1214. "name": "userid",
  1215. "in": "query",
  1216. "required": true
  1217. },
  1218. {
  1219. "type": "string",
  1220. "description": "角色id(可多个,逗号隔开)",
  1221. "name": "roleid",
  1222. "in": "query"
  1223. },
  1224. {
  1225. "type": "integer",
  1226. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1227. "name": "menutype",
  1228. "in": "query"
  1229. }
  1230. ],
  1231. "responses": {
  1232. "200": {
  1233. "description": "OK",
  1234. "schema": {
  1235. "type": "array",
  1236. "items": {
  1237. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1238. }
  1239. }
  1240. },
  1241. "500": {
  1242. "description": "Internal Server Error",
  1243. "schema": {
  1244. "$ref": "#/definitions/app.Response"
  1245. }
  1246. }
  1247. }
  1248. }
  1249. },
  1250. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1251. "get": {
  1252. "security": [
  1253. {
  1254. "ApiKeyAuth": []
  1255. }
  1256. ],
  1257. "produces": [
  1258. "application/json"
  1259. ],
  1260. "tags": [
  1261. "企业风险管理(app)"
  1262. ],
  1263. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1264. "parameters": [
  1265. {
  1266. "type": "integer",
  1267. "description": "用户ID",
  1268. "name": "userid",
  1269. "in": "query",
  1270. "required": true
  1271. },
  1272. {
  1273. "type": "integer",
  1274. "description": "账号id",
  1275. "name": "accountid",
  1276. "in": "query"
  1277. }
  1278. ],
  1279. "responses": {
  1280. "200": {
  1281. "description": "OK",
  1282. "schema": {
  1283. "type": "array",
  1284. "items": {
  1285. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1286. }
  1287. }
  1288. },
  1289. "500": {
  1290. "description": "Internal Server Error",
  1291. "schema": {
  1292. "$ref": "#/definitions/app.Response"
  1293. }
  1294. }
  1295. }
  1296. }
  1297. },
  1298. "/Ermcp/QueryAccMgrTaaccount": {
  1299. "get": {
  1300. "security": [
  1301. {
  1302. "ApiKeyAuth": []
  1303. }
  1304. ],
  1305. "produces": [
  1306. "application/json"
  1307. ],
  1308. "tags": [
  1309. "企业风险管理(app)"
  1310. ],
  1311. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1312. "parameters": [
  1313. {
  1314. "type": "integer",
  1315. "description": "用户ID",
  1316. "name": "userid",
  1317. "in": "query",
  1318. "required": true
  1319. }
  1320. ],
  1321. "responses": {
  1322. "200": {
  1323. "description": "OK",
  1324. "schema": {
  1325. "type": "array",
  1326. "items": {
  1327. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1328. }
  1329. }
  1330. },
  1331. "500": {
  1332. "description": "Internal Server Error",
  1333. "schema": {
  1334. "$ref": "#/definitions/app.Response"
  1335. }
  1336. }
  1337. }
  1338. }
  1339. },
  1340. "/Ermcp/QueryAvaildGoodsGroup": {
  1341. "get": {
  1342. "security": [
  1343. {
  1344. "ApiKeyAuth": []
  1345. }
  1346. ],
  1347. "produces": [
  1348. "application/json"
  1349. ],
  1350. "tags": [
  1351. "企业风险管理(app)"
  1352. ],
  1353. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1354. "parameters": [
  1355. {
  1356. "type": "integer",
  1357. "description": "所属机构ID",
  1358. "name": "userid",
  1359. "in": "query",
  1360. "required": true
  1361. }
  1362. ],
  1363. "responses": {
  1364. "200": {
  1365. "description": "OK",
  1366. "schema": {
  1367. "type": "array",
  1368. "items": {
  1369. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1370. }
  1371. }
  1372. },
  1373. "500": {
  1374. "description": "Internal Server Error",
  1375. "schema": {
  1376. "$ref": "#/definitions/app.Response"
  1377. }
  1378. }
  1379. }
  1380. }
  1381. },
  1382. "/Ermcp/QueryBusinessDj": {
  1383. "get": {
  1384. "security": [
  1385. {
  1386. "ApiKeyAuth": []
  1387. }
  1388. ],
  1389. "produces": [
  1390. "application/json"
  1391. ],
  1392. "tags": [
  1393. "企业风险管理(app)"
  1394. ],
  1395. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1396. "parameters": [
  1397. {
  1398. "type": "integer",
  1399. "description": "用户ID",
  1400. "name": "UserId",
  1401. "in": "query",
  1402. "required": true
  1403. },
  1404. {
  1405. "type": "integer",
  1406. "description": "用户类型 2-机构 7-企业成员",
  1407. "name": "usertype",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "string",
  1412. "description": "现货合同ID, 不填则查所有",
  1413. "name": "relatedid",
  1414. "in": "query"
  1415. },
  1416. {
  1417. "type": "string",
  1418. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1419. "name": "applystatus",
  1420. "in": "query"
  1421. }
  1422. ],
  1423. "responses": {
  1424. "200": {
  1425. "description": "OK",
  1426. "schema": {
  1427. "type": "array",
  1428. "items": {
  1429. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1430. }
  1431. }
  1432. },
  1433. "500": {
  1434. "description": "Internal Server Error",
  1435. "schema": {
  1436. "$ref": "#/definitions/app.Response"
  1437. }
  1438. }
  1439. }
  1440. }
  1441. },
  1442. "/Ermcp/QueryBusinessFp": {
  1443. "get": {
  1444. "security": [
  1445. {
  1446. "ApiKeyAuth": []
  1447. }
  1448. ],
  1449. "produces": [
  1450. "application/json"
  1451. ],
  1452. "tags": [
  1453. "企业风险管理(app)"
  1454. ],
  1455. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1456. "parameters": [
  1457. {
  1458. "type": "integer",
  1459. "description": "用户ID",
  1460. "name": "UserId",
  1461. "in": "query",
  1462. "required": true
  1463. },
  1464. {
  1465. "type": "integer",
  1466. "description": "用户类型 2-机构 7-企业成员",
  1467. "name": "usertype",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "string",
  1472. "description": "现货合同ID, 不填则查所有",
  1473. "name": "relatedid",
  1474. "in": "query"
  1475. },
  1476. {
  1477. "type": "string",
  1478. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1479. "name": "applystatus",
  1480. "in": "query"
  1481. }
  1482. ],
  1483. "responses": {
  1484. "200": {
  1485. "description": "OK",
  1486. "schema": {
  1487. "type": "array",
  1488. "items": {
  1489. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1490. }
  1491. }
  1492. },
  1493. "500": {
  1494. "description": "Internal Server Error",
  1495. "schema": {
  1496. "$ref": "#/definitions/app.Response"
  1497. }
  1498. }
  1499. }
  1500. }
  1501. },
  1502. "/Ermcp/QueryBusinessJs": {
  1503. "get": {
  1504. "security": [
  1505. {
  1506. "ApiKeyAuth": []
  1507. }
  1508. ],
  1509. "produces": [
  1510. "application/json"
  1511. ],
  1512. "tags": [
  1513. "企业风险管理(app)"
  1514. ],
  1515. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1516. "parameters": [
  1517. {
  1518. "type": "integer",
  1519. "description": "用户ID",
  1520. "name": "UserId",
  1521. "in": "query",
  1522. "required": true
  1523. },
  1524. {
  1525. "type": "integer",
  1526. "description": "用户类型 2-机构 7-企业成员",
  1527. "name": "usertype",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "现货合同ID, 不填则查所有",
  1533. "name": "relatedid",
  1534. "in": "query"
  1535. },
  1536. {
  1537. "type": "string",
  1538. "description": "操作申请id",
  1539. "name": "operateapplyid",
  1540. "in": "query"
  1541. },
  1542. {
  1543. "type": "string",
  1544. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1545. "name": "applystatus",
  1546. "in": "query"
  1547. }
  1548. ],
  1549. "responses": {
  1550. "200": {
  1551. "description": "OK",
  1552. "schema": {
  1553. "type": "array",
  1554. "items": {
  1555. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1556. }
  1557. }
  1558. },
  1559. "500": {
  1560. "description": "Internal Server Error",
  1561. "schema": {
  1562. "$ref": "#/definitions/app.Response"
  1563. }
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "/Ermcp/QueryBusinessJsEx": {
  1569. "get": {
  1570. "security": [
  1571. {
  1572. "ApiKeyAuth": []
  1573. }
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "企业风险管理(app)"
  1580. ],
  1581. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1582. "parameters": [
  1583. {
  1584. "type": "integer",
  1585. "description": "用户ID",
  1586. "name": "UserId",
  1587. "in": "query",
  1588. "required": true
  1589. },
  1590. {
  1591. "type": "integer",
  1592. "description": "用户类型 2-机构 7-企业成员",
  1593. "name": "usertype",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "string",
  1598. "description": "现货合同ID, 不填则查所有",
  1599. "name": "relatedid",
  1600. "in": "query"
  1601. },
  1602. {
  1603. "type": "string",
  1604. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1605. "name": "applystatus",
  1606. "in": "query"
  1607. }
  1608. ],
  1609. "responses": {
  1610. "200": {
  1611. "description": "OK",
  1612. "schema": {
  1613. "type": "array",
  1614. "items": {
  1615. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1616. }
  1617. }
  1618. },
  1619. "500": {
  1620. "description": "Internal Server Error",
  1621. "schema": {
  1622. "$ref": "#/definitions/app.Response"
  1623. }
  1624. }
  1625. }
  1626. }
  1627. },
  1628. "/Ermcp/QueryBusinessKx": {
  1629. "get": {
  1630. "security": [
  1631. {
  1632. "ApiKeyAuth": []
  1633. }
  1634. ],
  1635. "produces": [
  1636. "application/json"
  1637. ],
  1638. "tags": [
  1639. "企业风险管理(app)"
  1640. ],
  1641. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1642. "parameters": [
  1643. {
  1644. "type": "integer",
  1645. "description": "用户ID",
  1646. "name": "UserId",
  1647. "in": "query",
  1648. "required": true
  1649. },
  1650. {
  1651. "type": "integer",
  1652. "description": "用户类型 2-机构 7-企业成员",
  1653. "name": "usertype",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "string",
  1658. "description": "现货合同ID, 不填则查所有",
  1659. "name": "relatedid",
  1660. "in": "query"
  1661. },
  1662. {
  1663. "type": "string",
  1664. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1665. "name": "applystatus",
  1666. "in": "query"
  1667. }
  1668. ],
  1669. "responses": {
  1670. "200": {
  1671. "description": "OK",
  1672. "schema": {
  1673. "type": "array",
  1674. "items": {
  1675. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1676. }
  1677. }
  1678. },
  1679. "500": {
  1680. "description": "Internal Server Error",
  1681. "schema": {
  1682. "$ref": "#/definitions/app.Response"
  1683. }
  1684. }
  1685. }
  1686. }
  1687. },
  1688. "/Ermcp/QueryChangeLog": {
  1689. "get": {
  1690. "security": [
  1691. {
  1692. "ApiKeyAuth": []
  1693. }
  1694. ],
  1695. "produces": [
  1696. "application/json"
  1697. ],
  1698. "tags": [
  1699. "企业风险管理(app)"
  1700. ],
  1701. "summary": "查询变更记录",
  1702. "parameters": [
  1703. {
  1704. "type": "string",
  1705. "description": "合同ID",
  1706. "name": "RelatedId",
  1707. "in": "query",
  1708. "required": true
  1709. }
  1710. ],
  1711. "responses": {
  1712. "200": {
  1713. "description": "OK",
  1714. "schema": {
  1715. "type": "array",
  1716. "items": {
  1717. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1718. }
  1719. }
  1720. },
  1721. "500": {
  1722. "description": "Internal Server Error",
  1723. "schema": {
  1724. "$ref": "#/definitions/app.Response"
  1725. }
  1726. }
  1727. }
  1728. }
  1729. },
  1730. "/Ermcp/QueryErmcpHisOrderDetails": {
  1731. "get": {
  1732. "security": [
  1733. {
  1734. "ApiKeyAuth": []
  1735. }
  1736. ],
  1737. "produces": [
  1738. "application/json"
  1739. ],
  1740. "tags": [
  1741. "企业风险管理(app)"
  1742. ],
  1743. "summary": "获取企业风管期货历史委托单信息",
  1744. "parameters": [
  1745. {
  1746. "type": "integer",
  1747. "description": "资金账户ID",
  1748. "name": "accountID",
  1749. "in": "query",
  1750. "required": true
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1755. "name": "startDate",
  1756. "in": "query"
  1757. },
  1758. {
  1759. "type": "string",
  1760. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1761. "name": "endDate",
  1762. "in": "query"
  1763. }
  1764. ],
  1765. "responses": {
  1766. "200": {
  1767. "description": "OK",
  1768. "schema": {
  1769. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1770. }
  1771. },
  1772. "500": {
  1773. "description": "Internal Server Error",
  1774. "schema": {
  1775. "$ref": "#/definitions/app.Response"
  1776. }
  1777. }
  1778. }
  1779. }
  1780. },
  1781. "/Ermcp/QueryErmcpHisTradeDetails": {
  1782. "get": {
  1783. "security": [
  1784. {
  1785. "ApiKeyAuth": []
  1786. }
  1787. ],
  1788. "produces": [
  1789. "application/json"
  1790. ],
  1791. "tags": [
  1792. "企业风险管理(app)"
  1793. ],
  1794. "summary": "获取企业风管期货历史成交单信息",
  1795. "parameters": [
  1796. {
  1797. "type": "integer",
  1798. "description": "资金账户ID",
  1799. "name": "accountID",
  1800. "in": "query",
  1801. "required": true
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "商品ID",
  1806. "name": "goodsID",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "integer",
  1811. "description": "买卖方向,0:买 1:卖",
  1812. "name": "buyOrSell",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "integer",
  1817. "description": "关联委托单号",
  1818. "name": "orderID",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "string",
  1823. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1824. "name": "startDate",
  1825. "in": "query"
  1826. },
  1827. {
  1828. "type": "string",
  1829. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1830. "name": "endDate",
  1831. "in": "query"
  1832. }
  1833. ],
  1834. "responses": {
  1835. "200": {
  1836. "description": "OK",
  1837. "schema": {
  1838. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1839. }
  1840. },
  1841. "500": {
  1842. "description": "Internal Server Error",
  1843. "schema": {
  1844. "$ref": "#/definitions/app.Response"
  1845. }
  1846. }
  1847. }
  1848. }
  1849. },
  1850. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1851. "get": {
  1852. "security": [
  1853. {
  1854. "ApiKeyAuth": []
  1855. }
  1856. ],
  1857. "produces": [
  1858. "application/json"
  1859. ],
  1860. "tags": [
  1861. "企业风险管理(app)"
  1862. ],
  1863. "summary": "获取企业风管期货内部持仓单信息",
  1864. "parameters": [
  1865. {
  1866. "type": "integer",
  1867. "description": "资金账户ID",
  1868. "name": "accountID",
  1869. "in": "query",
  1870. "required": true
  1871. },
  1872. {
  1873. "type": "integer",
  1874. "description": "商品ID",
  1875. "name": "goodsID",
  1876. "in": "query"
  1877. },
  1878. {
  1879. "type": "integer",
  1880. "description": "买卖方向,0:买 1:卖",
  1881. "name": "buyOrSell",
  1882. "in": "query"
  1883. }
  1884. ],
  1885. "responses": {
  1886. "200": {
  1887. "description": "OK",
  1888. "schema": {
  1889. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1890. }
  1891. },
  1892. "500": {
  1893. "description": "Internal Server Error",
  1894. "schema": {
  1895. "$ref": "#/definitions/app.Response"
  1896. }
  1897. }
  1898. }
  1899. }
  1900. },
  1901. "/Ermcp/QueryErmcpOrderDetails": {
  1902. "get": {
  1903. "security": [
  1904. {
  1905. "ApiKeyAuth": []
  1906. }
  1907. ],
  1908. "produces": [
  1909. "application/json"
  1910. ],
  1911. "tags": [
  1912. "企业风险管理(app)"
  1913. ],
  1914. "summary": "获取企业风管期货委托单信息",
  1915. "parameters": [
  1916. {
  1917. "type": "integer",
  1918. "description": "资金账户ID",
  1919. "name": "accountID",
  1920. "in": "query",
  1921. "required": true
  1922. }
  1923. ],
  1924. "responses": {
  1925. "200": {
  1926. "description": "OK",
  1927. "schema": {
  1928. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1929. }
  1930. },
  1931. "500": {
  1932. "description": "Internal Server Error",
  1933. "schema": {
  1934. "$ref": "#/definitions/app.Response"
  1935. }
  1936. }
  1937. }
  1938. }
  1939. },
  1940. "/Ermcp/QueryErmcpTradeDetails": {
  1941. "get": {
  1942. "security": [
  1943. {
  1944. "ApiKeyAuth": []
  1945. }
  1946. ],
  1947. "produces": [
  1948. "application/json"
  1949. ],
  1950. "tags": [
  1951. "企业风险管理(app)"
  1952. ],
  1953. "summary": "获取企业风管期货成交单信息",
  1954. "parameters": [
  1955. {
  1956. "type": "integer",
  1957. "description": "资金账户ID",
  1958. "name": "accountID",
  1959. "in": "query",
  1960. "required": true
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "商品ID",
  1965. "name": "goodsID",
  1966. "in": "query"
  1967. },
  1968. {
  1969. "type": "integer",
  1970. "description": "买卖方向,0:买 1:卖",
  1971. "name": "buyOrSell",
  1972. "in": "query"
  1973. },
  1974. {
  1975. "type": "integer",
  1976. "description": "关联委托单号",
  1977. "name": "orderID",
  1978. "in": "query"
  1979. }
  1980. ],
  1981. "responses": {
  1982. "200": {
  1983. "description": "OK",
  1984. "schema": {
  1985. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1986. }
  1987. },
  1988. "500": {
  1989. "description": "Internal Server Error",
  1990. "schema": {
  1991. "$ref": "#/definitions/app.Response"
  1992. }
  1993. }
  1994. }
  1995. }
  1996. },
  1997. "/Ermcp/QueryErmcpTradePosition": {
  1998. "get": {
  1999. "security": [
  2000. {
  2001. "ApiKeyAuth": []
  2002. }
  2003. ],
  2004. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2005. "produces": [
  2006. "application/json"
  2007. ],
  2008. "tags": [
  2009. "企业风险管理(app)"
  2010. ],
  2011. "summary": "获取企业风管期货持仓头寸信息",
  2012. "parameters": [
  2013. {
  2014. "type": "integer",
  2015. "description": "资金账户ID",
  2016. "name": "accountID",
  2017. "in": "query",
  2018. "required": true
  2019. },
  2020. {
  2021. "type": "integer",
  2022. "description": "所属市场ID",
  2023. "name": "marketID",
  2024. "in": "query"
  2025. }
  2026. ],
  2027. "responses": {
  2028. "200": {
  2029. "description": "OK",
  2030. "schema": {
  2031. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2032. }
  2033. },
  2034. "500": {
  2035. "description": "Internal Server Error",
  2036. "schema": {
  2037. "$ref": "#/definitions/app.Response"
  2038. }
  2039. }
  2040. }
  2041. }
  2042. },
  2043. "/Ermcp/QueryExposureDetail": {
  2044. "get": {
  2045. "security": [
  2046. {
  2047. "ApiKeyAuth": []
  2048. }
  2049. ],
  2050. "produces": [
  2051. "application/json"
  2052. ],
  2053. "tags": [
  2054. "企业风险管理(app)"
  2055. ],
  2056. "summary": "查询敞口现货明细",
  2057. "parameters": [
  2058. {
  2059. "type": "integer",
  2060. "description": "所属机构ID",
  2061. "name": "areaUserId",
  2062. "in": "query",
  2063. "required": true
  2064. },
  2065. {
  2066. "type": "integer",
  2067. "description": "套保商品",
  2068. "name": "middleGoodsId",
  2069. "in": "query",
  2070. "required": true
  2071. }
  2072. ],
  2073. "responses": {
  2074. "200": {
  2075. "description": "OK",
  2076. "schema": {
  2077. "type": "array",
  2078. "items": {
  2079. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2080. }
  2081. }
  2082. },
  2083. "500": {
  2084. "description": "Internal Server Error",
  2085. "schema": {
  2086. "$ref": "#/definitions/app.Response"
  2087. }
  2088. }
  2089. }
  2090. }
  2091. },
  2092. "/Ermcp/QueryExposureGoods": {
  2093. "get": {
  2094. "security": [
  2095. {
  2096. "ApiKeyAuth": []
  2097. }
  2098. ],
  2099. "produces": [
  2100. "application/json"
  2101. ],
  2102. "tags": [
  2103. "企业风险管理(app)"
  2104. ],
  2105. "summary": "查询敞口主力合约",
  2106. "parameters": [
  2107. {
  2108. "type": "integer",
  2109. "description": "套保商品id",
  2110. "name": "middlegoodsid",
  2111. "in": "query",
  2112. "required": true
  2113. }
  2114. ],
  2115. "responses": {
  2116. "200": {
  2117. "description": "OK",
  2118. "schema": {
  2119. "type": "array",
  2120. "items": {
  2121. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2122. }
  2123. }
  2124. },
  2125. "500": {
  2126. "description": "Internal Server Error",
  2127. "schema": {
  2128. "$ref": "#/definitions/app.Response"
  2129. }
  2130. }
  2131. }
  2132. }
  2133. },
  2134. "/Ermcp/QueryExposureHedgePosition": {
  2135. "get": {
  2136. "security": [
  2137. {
  2138. "ApiKeyAuth": []
  2139. }
  2140. ],
  2141. "produces": [
  2142. "application/json"
  2143. ],
  2144. "tags": [
  2145. "企业风险管理(app)"
  2146. ],
  2147. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2148. "parameters": [
  2149. {
  2150. "type": "integer",
  2151. "description": "用户id",
  2152. "name": "userid",
  2153. "in": "query",
  2154. "required": true
  2155. }
  2156. ],
  2157. "responses": {
  2158. "200": {
  2159. "description": "OK",
  2160. "schema": {
  2161. "type": "array",
  2162. "items": {
  2163. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2164. }
  2165. }
  2166. },
  2167. "500": {
  2168. "description": "Internal Server Error",
  2169. "schema": {
  2170. "$ref": "#/definitions/app.Response"
  2171. }
  2172. }
  2173. }
  2174. }
  2175. },
  2176. "/Ermcp/QueryExposureHedgePositionDetail": {
  2177. "get": {
  2178. "security": [
  2179. {
  2180. "ApiKeyAuth": []
  2181. }
  2182. ],
  2183. "produces": [
  2184. "application/json"
  2185. ],
  2186. "tags": [
  2187. "企业风险管理(app)"
  2188. ],
  2189. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2190. "parameters": [
  2191. {
  2192. "type": "integer",
  2193. "description": "所属机构ID",
  2194. "name": "userid",
  2195. "in": "query",
  2196. "required": true
  2197. },
  2198. {
  2199. "type": "integer",
  2200. "description": "商品id",
  2201. "name": "goodsId",
  2202. "in": "query",
  2203. "required": true
  2204. }
  2205. ],
  2206. "responses": {
  2207. "200": {
  2208. "description": "OK",
  2209. "schema": {
  2210. "type": "array",
  2211. "items": {
  2212. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2213. }
  2214. }
  2215. },
  2216. "500": {
  2217. "description": "Internal Server Error",
  2218. "schema": {
  2219. "$ref": "#/definitions/app.Response"
  2220. }
  2221. }
  2222. }
  2223. }
  2224. },
  2225. "/Ermcp/QueryExposureSpot": {
  2226. "get": {
  2227. "security": [
  2228. {
  2229. "ApiKeyAuth": []
  2230. }
  2231. ],
  2232. "produces": [
  2233. "application/json"
  2234. ],
  2235. "tags": [
  2236. "企业风险管理(app)"
  2237. ],
  2238. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2239. "parameters": [
  2240. {
  2241. "type": "integer",
  2242. "description": "所属机构ID",
  2243. "name": "areaUserId",
  2244. "in": "query",
  2245. "required": true
  2246. }
  2247. ],
  2248. "responses": {
  2249. "200": {
  2250. "description": "OK",
  2251. "schema": {
  2252. "type": "array",
  2253. "items": {
  2254. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2255. }
  2256. }
  2257. },
  2258. "500": {
  2259. "description": "Internal Server Error",
  2260. "schema": {
  2261. "$ref": "#/definitions/app.Response"
  2262. }
  2263. }
  2264. }
  2265. }
  2266. },
  2267. "/Ermcp/QueryExposureSpotDetail": {
  2268. "get": {
  2269. "security": [
  2270. {
  2271. "ApiKeyAuth": []
  2272. }
  2273. ],
  2274. "produces": [
  2275. "application/json"
  2276. ],
  2277. "tags": [
  2278. "企业风险管理(app)"
  2279. ],
  2280. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2281. "parameters": [
  2282. {
  2283. "type": "integer",
  2284. "description": "所属机构ID",
  2285. "name": "areaUserId",
  2286. "in": "query",
  2287. "required": true
  2288. },
  2289. {
  2290. "type": "integer",
  2291. "description": "现货品种ID",
  2292. "name": "wrstandardId",
  2293. "in": "query",
  2294. "required": true
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "OK",
  2300. "schema": {
  2301. "type": "array",
  2302. "items": {
  2303. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2304. }
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/Ermcp/QueryFuturesCompany": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "企业风险管理(app)"
  2328. ],
  2329. "summary": "查询期货公司",
  2330. "responses": {
  2331. "200": {
  2332. "description": "OK",
  2333. "schema": {
  2334. "type": "array",
  2335. "items": {
  2336. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2337. }
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryGGConvertConfig": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "produces": [
  2357. "application/json"
  2358. ],
  2359. "tags": [
  2360. "企业风险管理(app)"
  2361. ],
  2362. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2363. "parameters": [
  2364. {
  2365. "type": "integer",
  2366. "description": "品种id(不填则查所有)",
  2367. "name": "goodsgroupid",
  2368. "in": "query"
  2369. }
  2370. ],
  2371. "responses": {
  2372. "200": {
  2373. "description": "OK",
  2374. "schema": {
  2375. "type": "array",
  2376. "items": {
  2377. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2378. }
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/Ermcp/QueryGoodsBrand": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "企业风险管理(app)"
  2402. ],
  2403. "summary": "查询商品品牌",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "用户ID",
  2408. "name": "userid",
  2409. "in": "query",
  2410. "required": true
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "现货商品ID",
  2415. "name": "wrstandardid",
  2416. "in": "query"
  2417. }
  2418. ],
  2419. "responses": {
  2420. "200": {
  2421. "description": "OK",
  2422. "schema": {
  2423. "type": "array",
  2424. "items": {
  2425. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2426. }
  2427. }
  2428. },
  2429. "500": {
  2430. "description": "Internal Server Error",
  2431. "schema": {
  2432. "$ref": "#/definitions/app.Response"
  2433. }
  2434. }
  2435. }
  2436. }
  2437. },
  2438. "/Ermcp/QueryGoodsModel": {
  2439. "get": {
  2440. "security": [
  2441. {
  2442. "ApiKeyAuth": []
  2443. }
  2444. ],
  2445. "produces": [
  2446. "application/json"
  2447. ],
  2448. "tags": [
  2449. "企业风险管理(app)"
  2450. ],
  2451. "summary": "查询商品型号",
  2452. "parameters": [
  2453. {
  2454. "type": "integer",
  2455. "description": "用户ID",
  2456. "name": "userid",
  2457. "in": "query",
  2458. "required": true
  2459. }
  2460. ],
  2461. "responses": {
  2462. "200": {
  2463. "description": "OK",
  2464. "schema": {
  2465. "type": "array",
  2466. "items": {
  2467. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2468. }
  2469. }
  2470. },
  2471. "500": {
  2472. "description": "Internal Server Error",
  2473. "schema": {
  2474. "$ref": "#/definitions/app.Response"
  2475. }
  2476. }
  2477. }
  2478. }
  2479. },
  2480. "/Ermcp/QueryHisExposure": {
  2481. "get": {
  2482. "security": [
  2483. {
  2484. "ApiKeyAuth": []
  2485. }
  2486. ],
  2487. "produces": [
  2488. "application/json"
  2489. ],
  2490. "tags": [
  2491. "企业风险管理(app)"
  2492. ],
  2493. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2494. "parameters": [
  2495. {
  2496. "type": "integer",
  2497. "description": "用户id",
  2498. "name": "userid",
  2499. "in": "query",
  2500. "required": true
  2501. },
  2502. {
  2503. "type": "integer",
  2504. "description": "每个品种记录数",
  2505. "name": "lastNum",
  2506. "in": "query",
  2507. "required": true
  2508. }
  2509. ],
  2510. "responses": {
  2511. "200": {
  2512. "description": "OK",
  2513. "schema": {
  2514. "type": "array",
  2515. "items": {
  2516. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2517. }
  2518. }
  2519. },
  2520. "500": {
  2521. "description": "Internal Server Error",
  2522. "schema": {
  2523. "$ref": "#/definitions/app.Response"
  2524. }
  2525. }
  2526. }
  2527. }
  2528. },
  2529. "/Ermcp/QueryMiddleGoods": {
  2530. "get": {
  2531. "security": [
  2532. {
  2533. "ApiKeyAuth": []
  2534. }
  2535. ],
  2536. "produces": [
  2537. "application/json"
  2538. ],
  2539. "tags": [
  2540. "企业风险管理(app)"
  2541. ],
  2542. "summary": "查询套保品种(菜单:套保品种)",
  2543. "parameters": [
  2544. {
  2545. "type": "integer",
  2546. "description": "所属机构ID",
  2547. "name": "userid",
  2548. "in": "query",
  2549. "required": true
  2550. },
  2551. {
  2552. "type": "integer",
  2553. "description": "状态 0-停用 1-正常",
  2554. "name": "status",
  2555. "in": "query",
  2556. "required": true
  2557. }
  2558. ],
  2559. "responses": {
  2560. "200": {
  2561. "description": "OK",
  2562. "schema": {
  2563. "type": "array",
  2564. "items": {
  2565. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2566. }
  2567. }
  2568. },
  2569. "500": {
  2570. "description": "Internal Server Error",
  2571. "schema": {
  2572. "$ref": "#/definitions/app.Response"
  2573. }
  2574. }
  2575. }
  2576. }
  2577. },
  2578. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2579. "get": {
  2580. "security": [
  2581. {
  2582. "ApiKeyAuth": []
  2583. }
  2584. ],
  2585. "produces": [
  2586. "application/json"
  2587. ],
  2588. "tags": [
  2589. "企业风险管理(app)"
  2590. ],
  2591. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2592. "parameters": [
  2593. {
  2594. "type": "integer",
  2595. "description": "所属机构ID",
  2596. "name": "userid",
  2597. "in": "query",
  2598. "required": true
  2599. },
  2600. {
  2601. "type": "integer",
  2602. "description": "套保品种id",
  2603. "name": "middlegoodsid",
  2604. "in": "query",
  2605. "required": true
  2606. }
  2607. ],
  2608. "responses": {
  2609. "200": {
  2610. "description": "OK",
  2611. "schema": {
  2612. "type": "array",
  2613. "items": {
  2614. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2615. }
  2616. }
  2617. },
  2618. "500": {
  2619. "description": "Internal Server Error",
  2620. "schema": {
  2621. "$ref": "#/definitions/app.Response"
  2622. }
  2623. }
  2624. }
  2625. }
  2626. },
  2627. "/Ermcp/QueryMiddleGoodsDetail": {
  2628. "get": {
  2629. "security": [
  2630. {
  2631. "ApiKeyAuth": []
  2632. }
  2633. ],
  2634. "produces": [
  2635. "application/json"
  2636. ],
  2637. "tags": [
  2638. "企业风险管理(app)"
  2639. ],
  2640. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2641. "parameters": [
  2642. {
  2643. "type": "integer",
  2644. "description": "所属机构ID",
  2645. "name": "userid",
  2646. "in": "query",
  2647. "required": true
  2648. },
  2649. {
  2650. "type": "integer",
  2651. "description": "套保品种id",
  2652. "name": "middlegoodsid",
  2653. "in": "query"
  2654. }
  2655. ],
  2656. "responses": {
  2657. "200": {
  2658. "description": "OK",
  2659. "schema": {
  2660. "type": "array",
  2661. "items": {
  2662. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2663. }
  2664. }
  2665. },
  2666. "500": {
  2667. "description": "Internal Server Error",
  2668. "schema": {
  2669. "$ref": "#/definitions/app.Response"
  2670. }
  2671. }
  2672. }
  2673. }
  2674. },
  2675. "/Ermcp/QueryPendingAuditInfo": {
  2676. "get": {
  2677. "security": [
  2678. {
  2679. "ApiKeyAuth": []
  2680. }
  2681. ],
  2682. "produces": [
  2683. "application/json"
  2684. ],
  2685. "tags": [
  2686. "企业风险管理(app)"
  2687. ],
  2688. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2689. "parameters": [
  2690. {
  2691. "type": "integer",
  2692. "description": "用户ID",
  2693. "name": "UserId",
  2694. "in": "query",
  2695. "required": true
  2696. }
  2697. ],
  2698. "responses": {
  2699. "200": {
  2700. "description": "OK",
  2701. "schema": {
  2702. "type": "array",
  2703. "items": {
  2704. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2705. }
  2706. }
  2707. },
  2708. "500": {
  2709. "description": "Internal Server Error",
  2710. "schema": {
  2711. "$ref": "#/definitions/app.Response"
  2712. }
  2713. }
  2714. }
  2715. }
  2716. },
  2717. "/Ermcp/QueryRealtimeExposure": {
  2718. "get": {
  2719. "security": [
  2720. {
  2721. "ApiKeyAuth": []
  2722. }
  2723. ],
  2724. "produces": [
  2725. "application/json"
  2726. ],
  2727. "tags": [
  2728. "企业风险管理(app)"
  2729. ],
  2730. "summary": "查询实时敞口",
  2731. "parameters": [
  2732. {
  2733. "type": "integer",
  2734. "description": "所属机构ID",
  2735. "name": "userid",
  2736. "in": "query",
  2737. "required": true
  2738. }
  2739. ],
  2740. "responses": {
  2741. "200": {
  2742. "description": "OK",
  2743. "schema": {
  2744. "type": "array",
  2745. "items": {
  2746. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2747. }
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryRealtimeExposurePosition": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "用户id",
  2777. "name": "userid",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "套保商品ID",
  2784. "name": "middleGoodsId",
  2785. "in": "query",
  2786. "required": true
  2787. }
  2788. ],
  2789. "responses": {
  2790. "200": {
  2791. "description": "OK",
  2792. "schema": {
  2793. "type": "array",
  2794. "items": {
  2795. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2796. }
  2797. }
  2798. },
  2799. "500": {
  2800. "description": "Internal Server Error",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. }
  2805. }
  2806. }
  2807. },
  2808. "/Ermcp/QueryRoleMenu": {
  2809. "get": {
  2810. "security": [
  2811. {
  2812. "ApiKeyAuth": []
  2813. }
  2814. ],
  2815. "produces": [
  2816. "application/json"
  2817. ],
  2818. "tags": [
  2819. "企业风险管理(app)"
  2820. ],
  2821. "summary": "查询角色菜单和权限",
  2822. "parameters": [
  2823. {
  2824. "type": "integer",
  2825. "description": "登录ID",
  2826. "name": "loginid",
  2827. "in": "query",
  2828. "required": true
  2829. },
  2830. {
  2831. "type": "integer",
  2832. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2833. "name": "menutype",
  2834. "in": "query"
  2835. }
  2836. ],
  2837. "responses": {
  2838. "200": {
  2839. "description": "OK",
  2840. "schema": {
  2841. "type": "array",
  2842. "items": {
  2843. "$ref": "#/definitions/models.RoleMenu"
  2844. }
  2845. }
  2846. },
  2847. "500": {
  2848. "description": "Internal Server Error",
  2849. "schema": {
  2850. "$ref": "#/definitions/app.Response"
  2851. }
  2852. }
  2853. }
  2854. }
  2855. },
  2856. "/Ermcp/QueryTradeConfigTMP": {
  2857. "get": {
  2858. "security": [
  2859. {
  2860. "ApiKeyAuth": []
  2861. }
  2862. ],
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理(app)"
  2868. ],
  2869. "summary": "查询交易模板配置",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "所属机构id",
  2874. "name": "areauserid",
  2875. "in": "query"
  2876. }
  2877. ],
  2878. "responses": {
  2879. "200": {
  2880. "description": "OK",
  2881. "schema": {
  2882. "type": "array",
  2883. "items": {
  2884. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2885. }
  2886. }
  2887. },
  2888. "500": {
  2889. "description": "Internal Server Error",
  2890. "schema": {
  2891. "$ref": "#/definitions/app.Response"
  2892. }
  2893. }
  2894. }
  2895. }
  2896. },
  2897. "/Ermcp/QueryUserInfo": {
  2898. "get": {
  2899. "security": [
  2900. {
  2901. "ApiKeyAuth": []
  2902. }
  2903. ],
  2904. "produces": [
  2905. "application/json"
  2906. ],
  2907. "tags": [
  2908. "企业风险管理(app)"
  2909. ],
  2910. "summary": "查询客户资料",
  2911. "parameters": [
  2912. {
  2913. "type": "integer",
  2914. "description": "所属机构用户ID",
  2915. "name": "MemberUserID",
  2916. "in": "query",
  2917. "required": true
  2918. },
  2919. {
  2920. "type": "integer",
  2921. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2922. "name": "queryType",
  2923. "in": "query",
  2924. "required": true
  2925. }
  2926. ],
  2927. "responses": {
  2928. "200": {
  2929. "description": "OK",
  2930. "schema": {
  2931. "type": "array",
  2932. "items": {
  2933. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2934. }
  2935. }
  2936. },
  2937. "500": {
  2938. "description": "Internal Server Error",
  2939. "schema": {
  2940. "$ref": "#/definitions/app.Response"
  2941. }
  2942. }
  2943. }
  2944. }
  2945. },
  2946. "/Ermcp/QueryWarehouseInfo": {
  2947. "get": {
  2948. "security": [
  2949. {
  2950. "ApiKeyAuth": []
  2951. }
  2952. ],
  2953. "produces": [
  2954. "application/json"
  2955. ],
  2956. "tags": [
  2957. "企业风险管理(app)"
  2958. ],
  2959. "summary": "查询仓库信息",
  2960. "parameters": [
  2961. {
  2962. "type": "integer",
  2963. "description": "用户ID",
  2964. "name": "userid",
  2965. "in": "query",
  2966. "required": true
  2967. },
  2968. {
  2969. "type": "string",
  2970. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2971. "name": "status",
  2972. "in": "query"
  2973. }
  2974. ],
  2975. "responses": {
  2976. "200": {
  2977. "description": "OK",
  2978. "schema": {
  2979. "type": "array",
  2980. "items": {
  2981. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2982. }
  2983. }
  2984. },
  2985. "500": {
  2986. "description": "Internal Server Error",
  2987. "schema": {
  2988. "$ref": "#/definitions/app.Response"
  2989. }
  2990. }
  2991. }
  2992. }
  2993. },
  2994. "/Ermcp3/QryAreaExpourseContractDetail": {
  2995. "get": {
  2996. "security": [
  2997. {
  2998. "ApiKeyAuth": []
  2999. }
  3000. ],
  3001. "produces": [
  3002. "application/json"
  3003. ],
  3004. "tags": [
  3005. "企业风险管理v3(app)"
  3006. ],
  3007. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3008. "parameters": [
  3009. {
  3010. "type": "integer",
  3011. "description": "用户ID",
  3012. "name": "userid",
  3013. "in": "query",
  3014. "required": true
  3015. },
  3016. {
  3017. "type": "integer",
  3018. "description": "套保商品id",
  3019. "name": "middlegoodsid",
  3020. "in": "query",
  3021. "required": true
  3022. },
  3023. {
  3024. "type": "integer",
  3025. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3026. "name": "cycletype",
  3027. "in": "query",
  3028. "required": true
  3029. },
  3030. {
  3031. "type": "string",
  3032. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3033. "name": "cycletime",
  3034. "in": "query",
  3035. "required": true
  3036. }
  3037. ],
  3038. "responses": {
  3039. "200": {
  3040. "description": "OK",
  3041. "schema": {
  3042. "type": "array",
  3043. "items": {
  3044. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3045. }
  3046. }
  3047. },
  3048. "500": {
  3049. "description": "Internal Server Error",
  3050. "schema": {
  3051. "$ref": "#/definitions/app.Response"
  3052. }
  3053. }
  3054. }
  3055. }
  3056. },
  3057. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3058. "get": {
  3059. "security": [
  3060. {
  3061. "ApiKeyAuth": []
  3062. }
  3063. ],
  3064. "produces": [
  3065. "application/json"
  3066. ],
  3067. "tags": [
  3068. "企业风险管理v3(app)"
  3069. ],
  3070. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3071. "parameters": [
  3072. {
  3073. "type": "integer",
  3074. "description": "用户ID",
  3075. "name": "userid",
  3076. "in": "query",
  3077. "required": true
  3078. },
  3079. {
  3080. "type": "integer",
  3081. "description": "套保商品id",
  3082. "name": "middlegoodsid",
  3083. "in": "query",
  3084. "required": true
  3085. },
  3086. {
  3087. "type": "integer",
  3088. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3089. "name": "cycletype",
  3090. "in": "query",
  3091. "required": true
  3092. },
  3093. {
  3094. "type": "string",
  3095. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3096. "name": "cycletime",
  3097. "in": "query",
  3098. "required": true
  3099. }
  3100. ],
  3101. "responses": {
  3102. "200": {
  3103. "description": "OK",
  3104. "schema": {
  3105. "type": "array",
  3106. "items": {
  3107. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3108. }
  3109. }
  3110. },
  3111. "500": {
  3112. "description": "Internal Server Error",
  3113. "schema": {
  3114. "$ref": "#/definitions/app.Response"
  3115. }
  3116. }
  3117. }
  3118. }
  3119. },
  3120. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3121. "get": {
  3122. "security": [
  3123. {
  3124. "ApiKeyAuth": []
  3125. }
  3126. ],
  3127. "produces": [
  3128. "application/json"
  3129. ],
  3130. "tags": [
  3131. "企业风险管理v3(app)"
  3132. ],
  3133. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3134. "parameters": [
  3135. {
  3136. "type": "integer",
  3137. "description": "用户ID",
  3138. "name": "userid",
  3139. "in": "query",
  3140. "required": true
  3141. },
  3142. {
  3143. "type": "integer",
  3144. "description": "套保商品id",
  3145. "name": "middlegoodsid",
  3146. "in": "query",
  3147. "required": true
  3148. },
  3149. {
  3150. "type": "integer",
  3151. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3152. "name": "cycletype",
  3153. "in": "query",
  3154. "required": true
  3155. },
  3156. {
  3157. "type": "string",
  3158. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3159. "name": "cycletime",
  3160. "in": "query",
  3161. "required": true
  3162. }
  3163. ],
  3164. "responses": {
  3165. "200": {
  3166. "description": "OK",
  3167. "schema": {
  3168. "type": "array",
  3169. "items": {
  3170. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3171. }
  3172. }
  3173. },
  3174. "500": {
  3175. "description": "Internal Server Error",
  3176. "schema": {
  3177. "$ref": "#/definitions/app.Response"
  3178. }
  3179. }
  3180. }
  3181. }
  3182. },
  3183. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3184. "get": {
  3185. "security": [
  3186. {
  3187. "ApiKeyAuth": []
  3188. }
  3189. ],
  3190. "produces": [
  3191. "application/json"
  3192. ],
  3193. "tags": [
  3194. "企业风险管理v3(app)"
  3195. ],
  3196. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3197. "parameters": [
  3198. {
  3199. "type": "integer",
  3200. "description": "用户ID",
  3201. "name": "userid",
  3202. "in": "query",
  3203. "required": true
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "套保商品id",
  3208. "name": "middlegoodsid",
  3209. "in": "query",
  3210. "required": true
  3211. },
  3212. {
  3213. "type": "integer",
  3214. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3215. "name": "cycletype",
  3216. "in": "query",
  3217. "required": true
  3218. },
  3219. {
  3220. "type": "string",
  3221. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3222. "name": "cycletime",
  3223. "in": "query",
  3224. "required": true
  3225. }
  3226. ],
  3227. "responses": {
  3228. "200": {
  3229. "description": "OK",
  3230. "schema": {
  3231. "type": "array",
  3232. "items": {
  3233. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3234. }
  3235. }
  3236. },
  3237. "500": {
  3238. "description": "Internal Server Error",
  3239. "schema": {
  3240. "$ref": "#/definitions/app.Response"
  3241. }
  3242. }
  3243. }
  3244. }
  3245. },
  3246. "/Ermcp3/QryAreaExpourseReport": {
  3247. "get": {
  3248. "security": [
  3249. {
  3250. "ApiKeyAuth": []
  3251. }
  3252. ],
  3253. "produces": [
  3254. "application/json"
  3255. ],
  3256. "tags": [
  3257. "企业风险管理v3(app)"
  3258. ],
  3259. "summary": "查询敞口报表",
  3260. "parameters": [
  3261. {
  3262. "type": "integer",
  3263. "description": "用户ID",
  3264. "name": "userid",
  3265. "in": "query",
  3266. "required": true
  3267. },
  3268. {
  3269. "type": "integer",
  3270. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3271. "name": "querytype",
  3272. "in": "query",
  3273. "required": true
  3274. },
  3275. {
  3276. "type": "integer",
  3277. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3278. "name": "cycletype",
  3279. "in": "query",
  3280. "required": true
  3281. },
  3282. {
  3283. "type": "string",
  3284. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3285. "name": "cycletime",
  3286. "in": "query",
  3287. "required": true
  3288. }
  3289. ],
  3290. "responses": {
  3291. "200": {
  3292. "description": "OK",
  3293. "schema": {
  3294. "type": "array",
  3295. "items": {
  3296. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3297. }
  3298. }
  3299. },
  3300. "500": {
  3301. "description": "Internal Server Error",
  3302. "schema": {
  3303. "$ref": "#/definitions/app.Response"
  3304. }
  3305. }
  3306. }
  3307. }
  3308. },
  3309. "/Ermcp3/QryAreaSpotplReport": {
  3310. "get": {
  3311. "security": [
  3312. {
  3313. "ApiKeyAuth": []
  3314. }
  3315. ],
  3316. "produces": [
  3317. "application/json"
  3318. ],
  3319. "tags": [
  3320. "企业风险管理v3(app)"
  3321. ],
  3322. "summary": "查询现货报表",
  3323. "parameters": [
  3324. {
  3325. "type": "integer",
  3326. "description": "用户ID",
  3327. "name": "userid",
  3328. "in": "query",
  3329. "required": true
  3330. },
  3331. {
  3332. "type": "integer",
  3333. "description": "查询类型 1-报表 2-报表明细",
  3334. "name": "querytype",
  3335. "in": "query",
  3336. "required": true
  3337. },
  3338. {
  3339. "type": "integer",
  3340. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3341. "name": "cycletype",
  3342. "in": "query",
  3343. "required": true
  3344. },
  3345. {
  3346. "type": "string",
  3347. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3348. "name": "cycletime",
  3349. "in": "query",
  3350. "required": true
  3351. },
  3352. {
  3353. "type": "integer",
  3354. "description": "现货品种id(明细必填)",
  3355. "name": "deliverygoodsid",
  3356. "in": "query"
  3357. },
  3358. {
  3359. "type": "integer",
  3360. "description": "币种id(明细必填)",
  3361. "name": "currencyid",
  3362. "in": "query"
  3363. }
  3364. ],
  3365. "responses": {
  3366. "200": {
  3367. "description": "OK",
  3368. "schema": {
  3369. "type": "array",
  3370. "items": {
  3371. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3372. }
  3373. }
  3374. },
  3375. "500": {
  3376. "description": "Internal Server Error",
  3377. "schema": {
  3378. "$ref": "#/definitions/app.Response"
  3379. }
  3380. }
  3381. }
  3382. }
  3383. },
  3384. "/Ermcp3/QryAreaStockReport": {
  3385. "get": {
  3386. "security": [
  3387. {
  3388. "ApiKeyAuth": []
  3389. }
  3390. ],
  3391. "produces": [
  3392. "application/json"
  3393. ],
  3394. "tags": [
  3395. "企业风险管理v3(app)"
  3396. ],
  3397. "summary": "查询库存报表",
  3398. "parameters": [
  3399. {
  3400. "type": "integer",
  3401. "description": "用户ID",
  3402. "name": "userid",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "查询类型 1-报表 2-报表明细",
  3409. "name": "querytype",
  3410. "in": "query",
  3411. "required": true
  3412. },
  3413. {
  3414. "type": "integer",
  3415. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3416. "name": "cycletype",
  3417. "in": "query",
  3418. "required": true
  3419. },
  3420. {
  3421. "type": "string",
  3422. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3423. "name": "cycletime",
  3424. "in": "query",
  3425. "required": true
  3426. },
  3427. {
  3428. "type": "string",
  3429. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3430. "name": "sumfields",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品种ID",
  3436. "name": "deliverygoodsid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "品类ID",
  3442. "name": "wrstandardid",
  3443. "in": "query"
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "品牌ID",
  3448. "name": "spotgoodsbrandid",
  3449. "in": "query"
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "仓库ID",
  3454. "name": "warehouseinfoid",
  3455. "in": "query"
  3456. }
  3457. ],
  3458. "responses": {
  3459. "200": {
  3460. "description": "OK",
  3461. "schema": {
  3462. "type": "array",
  3463. "items": {
  3464. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3465. }
  3466. }
  3467. },
  3468. "500": {
  3469. "description": "Internal Server Error",
  3470. "schema": {
  3471. "$ref": "#/definitions/app.Response"
  3472. }
  3473. }
  3474. }
  3475. }
  3476. },
  3477. "/Ermcp3/QryAreaSumPL": {
  3478. "get": {
  3479. "security": [
  3480. {
  3481. "ApiKeyAuth": []
  3482. }
  3483. ],
  3484. "produces": [
  3485. "application/json"
  3486. ],
  3487. "tags": [
  3488. "企业风险管理v3(app)"
  3489. ],
  3490. "summary": "查询汇总损益表",
  3491. "parameters": [
  3492. {
  3493. "type": "integer",
  3494. "description": "用户ID",
  3495. "name": "userid",
  3496. "in": "query",
  3497. "required": true
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "查询类型 1-报表 2-报表明细",
  3502. "name": "querytype",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "integer",
  3508. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3509. "name": "cycletype",
  3510. "in": "query",
  3511. "required": true
  3512. },
  3513. {
  3514. "type": "string",
  3515. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3516. "name": "cycletime",
  3517. "in": "query",
  3518. "required": true
  3519. },
  3520. {
  3521. "type": "integer",
  3522. "description": "币种id(明细必填)",
  3523. "name": "currencyid",
  3524. "in": "query"
  3525. }
  3526. ],
  3527. "responses": {
  3528. "200": {
  3529. "description": "OK",
  3530. "schema": {
  3531. "type": "array",
  3532. "items": {
  3533. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3534. }
  3535. }
  3536. },
  3537. "500": {
  3538. "description": "Internal Server Error",
  3539. "schema": {
  3540. "$ref": "#/definitions/app.Response"
  3541. }
  3542. }
  3543. }
  3544. }
  3545. },
  3546. "/Ermcp3/QryFinanceReport": {
  3547. "get": {
  3548. "security": [
  3549. {
  3550. "ApiKeyAuth": []
  3551. }
  3552. ],
  3553. "produces": [
  3554. "application/json"
  3555. ],
  3556. "tags": [
  3557. "企业风险管理v3(app)"
  3558. ],
  3559. "summary": "查询财务报表",
  3560. "parameters": [
  3561. {
  3562. "type": "integer",
  3563. "description": "用户ID",
  3564. "name": "userid",
  3565. "in": "query",
  3566. "required": true
  3567. },
  3568. {
  3569. "type": "integer",
  3570. "description": "查询类型 1-报表 2-报表明细",
  3571. "name": "querytype",
  3572. "in": "query",
  3573. "required": true
  3574. },
  3575. {
  3576. "type": "integer",
  3577. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3578. "name": "cycletype",
  3579. "in": "query",
  3580. "required": true
  3581. },
  3582. {
  3583. "type": "string",
  3584. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3585. "name": "cycletime",
  3586. "in": "query",
  3587. "required": true
  3588. },
  3589. {
  3590. "type": "integer",
  3591. "description": "币种id(报表明细必填)",
  3592. "name": "currencyid",
  3593. "in": "query"
  3594. },
  3595. {
  3596. "type": "string",
  3597. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3598. "name": "sumfields",
  3599. "in": "query"
  3600. }
  3601. ],
  3602. "responses": {
  3603. "200": {
  3604. "description": "OK",
  3605. "schema": {
  3606. "type": "array",
  3607. "items": {
  3608. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3609. }
  3610. }
  3611. },
  3612. "500": {
  3613. "description": "Internal Server Error",
  3614. "schema": {
  3615. "$ref": "#/definitions/app.Response"
  3616. }
  3617. }
  3618. }
  3619. }
  3620. },
  3621. "/Ermcp3/QryTaFutureDataReport": {
  3622. "get": {
  3623. "security": [
  3624. {
  3625. "ApiKeyAuth": []
  3626. }
  3627. ],
  3628. "produces": [
  3629. "application/json"
  3630. ],
  3631. "tags": [
  3632. "企业风险管理v3(app)"
  3633. ],
  3634. "summary": "查询期货报表",
  3635. "parameters": [
  3636. {
  3637. "type": "integer",
  3638. "description": "用户ID",
  3639. "name": "userid",
  3640. "in": "query",
  3641. "required": true
  3642. },
  3643. {
  3644. "type": "integer",
  3645. "description": "查询类型 1-报表 2-报表明细",
  3646. "name": "querytype",
  3647. "in": "query",
  3648. "required": true
  3649. },
  3650. {
  3651. "type": "integer",
  3652. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3653. "name": "cycletype",
  3654. "in": "query",
  3655. "required": true
  3656. },
  3657. {
  3658. "type": "string",
  3659. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3660. "name": "cycletime",
  3661. "in": "query",
  3662. "required": true
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "币种id(查明细必填)",
  3667. "name": "currencyid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "品种id(查明细必填)",
  3673. "name": "goodsgroupid",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "商品id(查明细必填)",
  3679. "name": "goodsid",
  3680. "in": "query"
  3681. },
  3682. {
  3683. "type": "integer",
  3684. "description": "买卖方向(查明细必填)",
  3685. "name": "buyorsell",
  3686. "in": "query"
  3687. }
  3688. ],
  3689. "responses": {
  3690. "200": {
  3691. "description": "OK",
  3692. "schema": {
  3693. "type": "array",
  3694. "items": {
  3695. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3696. }
  3697. }
  3698. },
  3699. "500": {
  3700. "description": "Internal Server Error",
  3701. "schema": {
  3702. "$ref": "#/definitions/app.Response"
  3703. }
  3704. }
  3705. }
  3706. }
  3707. },
  3708. "/Ermcp3/QueryAreaStock": {
  3709. "get": {
  3710. "security": [
  3711. {
  3712. "ApiKeyAuth": []
  3713. }
  3714. ],
  3715. "produces": [
  3716. "application/json"
  3717. ],
  3718. "tags": [
  3719. "企业风险管理v3(app)"
  3720. ],
  3721. "summary": "查询机构库存(库存管理/当前库存)",
  3722. "parameters": [
  3723. {
  3724. "type": "integer",
  3725. "description": "用户ID",
  3726. "name": "userid",
  3727. "in": "query",
  3728. "required": true
  3729. }
  3730. ],
  3731. "responses": {
  3732. "200": {
  3733. "description": "OK",
  3734. "schema": {
  3735. "type": "array",
  3736. "items": {
  3737. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3738. }
  3739. }
  3740. },
  3741. "500": {
  3742. "description": "Internal Server Error",
  3743. "schema": {
  3744. "$ref": "#/definitions/app.Response"
  3745. }
  3746. }
  3747. }
  3748. }
  3749. },
  3750. "/Ermcp3/QueryAreaStockApply": {
  3751. "get": {
  3752. "security": [
  3753. {
  3754. "ApiKeyAuth": []
  3755. }
  3756. ],
  3757. "produces": [
  3758. "application/json"
  3759. ],
  3760. "tags": [
  3761. "企业风险管理v3(app)"
  3762. ],
  3763. "summary": "查询库存申请(出入库记录|库存审核)",
  3764. "parameters": [
  3765. {
  3766. "type": "integer",
  3767. "description": "用户ID",
  3768. "name": "userid",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "用户类型 2-机构 7-企业成员",
  3775. "name": "usertype",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "现货商品ID",
  3781. "name": "deliverygoodsid",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "string",
  3786. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3787. "name": "inouttype",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "合同ID",
  3793. "name": "spotcontractid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "品类ID",
  3799. "name": "wrstandardid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "integer",
  3804. "description": "品牌ID",
  3805. "name": "spotgoodsbrandid",
  3806. "in": "query"
  3807. },
  3808. {
  3809. "type": "integer",
  3810. "description": "仓库ID",
  3811. "name": "warehouseinfoid",
  3812. "in": "query"
  3813. },
  3814. {
  3815. "type": "string",
  3816. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3817. "name": "applystatus",
  3818. "in": "query"
  3819. }
  3820. ],
  3821. "responses": {
  3822. "200": {
  3823. "description": "OK",
  3824. "schema": {
  3825. "type": "array",
  3826. "items": {
  3827. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3828. }
  3829. }
  3830. },
  3831. "500": {
  3832. "description": "Internal Server Error",
  3833. "schema": {
  3834. "$ref": "#/definitions/app.Response"
  3835. }
  3836. }
  3837. }
  3838. }
  3839. },
  3840. "/Ermcp3/QueryAreaStockApplySum": {
  3841. "get": {
  3842. "security": [
  3843. {
  3844. "ApiKeyAuth": []
  3845. }
  3846. ],
  3847. "produces": [
  3848. "application/json"
  3849. ],
  3850. "tags": [
  3851. "企业风险管理v3(app)"
  3852. ],
  3853. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3854. "parameters": [
  3855. {
  3856. "type": "integer",
  3857. "description": "合同ID",
  3858. "name": "spotcontractid",
  3859. "in": "query",
  3860. "required": true
  3861. }
  3862. ],
  3863. "responses": {
  3864. "200": {
  3865. "description": "OK",
  3866. "schema": {
  3867. "type": "array",
  3868. "items": {
  3869. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3870. }
  3871. }
  3872. },
  3873. "500": {
  3874. "description": "Internal Server Error",
  3875. "schema": {
  3876. "$ref": "#/definitions/app.Response"
  3877. }
  3878. }
  3879. }
  3880. }
  3881. },
  3882. "/Ermcp3/QueryDGFactoryItem": {
  3883. "get": {
  3884. "security": [
  3885. {
  3886. "ApiKeyAuth": []
  3887. }
  3888. ],
  3889. "produces": [
  3890. "application/json"
  3891. ],
  3892. "tags": [
  3893. "企业风险管理v3(app)"
  3894. ],
  3895. "summary": "查询品种要素定义项",
  3896. "parameters": [
  3897. {
  3898. "type": "integer",
  3899. "description": "用户id",
  3900. "name": "userid",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "用户类型 2-机构 7-企业成员",
  3906. "name": "usertype",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3912. "name": "dgfactoryitemid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "现货品种ID",
  3918. "name": "deliverygoodsid",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "要素项类型",
  3924. "name": "dgfactoryitemtypeid",
  3925. "in": "query"
  3926. },
  3927. {
  3928. "type": "integer",
  3929. "description": "顺序",
  3930. "name": "orderindex",
  3931. "in": "query"
  3932. }
  3933. ],
  3934. "responses": {
  3935. "200": {
  3936. "description": "OK",
  3937. "schema": {
  3938. "type": "array",
  3939. "items": {
  3940. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3941. }
  3942. }
  3943. },
  3944. "500": {
  3945. "description": "Internal Server Error",
  3946. "schema": {
  3947. "$ref": "#/definitions/app.Response"
  3948. }
  3949. }
  3950. }
  3951. }
  3952. },
  3953. "/Ermcp3/QueryDeliveryGoods": {
  3954. "get": {
  3955. "security": [
  3956. {
  3957. "ApiKeyAuth": []
  3958. }
  3959. ],
  3960. "produces": [
  3961. "application/json"
  3962. ],
  3963. "tags": [
  3964. "企业风险管理v3(app)"
  3965. ],
  3966. "summary": "查询现货商品",
  3967. "parameters": [
  3968. {
  3969. "type": "integer",
  3970. "description": "用户id",
  3971. "name": "userid",
  3972. "in": "query",
  3973. "required": true
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "用户类型 2-机构 7-企业成员",
  3978. "name": "usertype",
  3979. "in": "query"
  3980. },
  3981. {
  3982. "type": "integer",
  3983. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3984. "name": "excludecfg",
  3985. "in": "query"
  3986. }
  3987. ],
  3988. "responses": {
  3989. "200": {
  3990. "description": "OK",
  3991. "schema": {
  3992. "type": "array",
  3993. "items": {
  3994. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3995. }
  3996. }
  3997. },
  3998. "500": {
  3999. "description": "Internal Server Error",
  4000. "schema": {
  4001. "$ref": "#/definitions/app.Response"
  4002. }
  4003. }
  4004. }
  4005. }
  4006. },
  4007. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4008. "get": {
  4009. "security": [
  4010. {
  4011. "ApiKeyAuth": []
  4012. }
  4013. ],
  4014. "produces": [
  4015. "application/json"
  4016. ],
  4017. "tags": [
  4018. "企业风险管理v3(app)"
  4019. ],
  4020. "summary": "查询现货商品详情",
  4021. "parameters": [
  4022. {
  4023. "type": "integer",
  4024. "description": "用户id",
  4025. "name": "userid",
  4026. "in": "query",
  4027. "required": true
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "用户类型 2-机构 7-企业成员",
  4032. "name": "usertype",
  4033. "in": "query"
  4034. },
  4035. {
  4036. "type": "integer",
  4037. "description": "现货商品id",
  4038. "name": "deliverygoodsid",
  4039. "in": "query"
  4040. }
  4041. ],
  4042. "responses": {
  4043. "200": {
  4044. "description": "OK",
  4045. "schema": {
  4046. "type": "array",
  4047. "items": {
  4048. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4049. }
  4050. }
  4051. },
  4052. "500": {
  4053. "description": "Internal Server Error",
  4054. "schema": {
  4055. "$ref": "#/definitions/app.Response"
  4056. }
  4057. }
  4058. }
  4059. }
  4060. },
  4061. "/Ermcp3/QueryExposureDetail": {
  4062. "get": {
  4063. "security": [
  4064. {
  4065. "ApiKeyAuth": []
  4066. }
  4067. ],
  4068. "produces": [
  4069. "application/json"
  4070. ],
  4071. "tags": [
  4072. "企业风险管理v3(app)"
  4073. ],
  4074. "summary": "查询敞口现货明细",
  4075. "parameters": [
  4076. {
  4077. "type": "integer",
  4078. "description": "用户id",
  4079. "name": "userid",
  4080. "in": "query",
  4081. "required": true
  4082. },
  4083. {
  4084. "type": "integer",
  4085. "description": "用户类型 2-机构 7-企业成员",
  4086. "name": "usertype",
  4087. "in": "query"
  4088. },
  4089. {
  4090. "type": "integer",
  4091. "description": "套保商品",
  4092. "name": "middlegoodsid",
  4093. "in": "query",
  4094. "required": true
  4095. }
  4096. ],
  4097. "responses": {
  4098. "200": {
  4099. "description": "OK",
  4100. "schema": {
  4101. "type": "array",
  4102. "items": {
  4103. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4104. }
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/app.Response"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/Ermcp3/QueryExposureSpot": {
  4117. "get": {
  4118. "security": [
  4119. {
  4120. "ApiKeyAuth": []
  4121. }
  4122. ],
  4123. "produces": [
  4124. "application/json"
  4125. ],
  4126. "tags": [
  4127. "企业风险管理v3(app)"
  4128. ],
  4129. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4130. "parameters": [
  4131. {
  4132. "type": "integer",
  4133. "description": "用户id",
  4134. "name": "userid",
  4135. "in": "query",
  4136. "required": true
  4137. },
  4138. {
  4139. "type": "integer",
  4140. "description": "用户类型 2-机构 7-企业成员",
  4141. "name": "usertype",
  4142. "in": "query"
  4143. }
  4144. ],
  4145. "responses": {
  4146. "200": {
  4147. "description": "OK",
  4148. "schema": {
  4149. "type": "array",
  4150. "items": {
  4151. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4152. }
  4153. }
  4154. },
  4155. "500": {
  4156. "description": "Internal Server Error",
  4157. "schema": {
  4158. "$ref": "#/definitions/app.Response"
  4159. }
  4160. }
  4161. }
  4162. }
  4163. },
  4164. "/Ermcp3/QueryExposureSpotDetail": {
  4165. "get": {
  4166. "security": [
  4167. {
  4168. "ApiKeyAuth": []
  4169. }
  4170. ],
  4171. "produces": [
  4172. "application/json"
  4173. ],
  4174. "tags": [
  4175. "企业风险管理v3(app)"
  4176. ],
  4177. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4178. "parameters": [
  4179. {
  4180. "type": "integer",
  4181. "description": "用户id",
  4182. "name": "userid",
  4183. "in": "query",
  4184. "required": true
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "用户类型 2-机构 7-企业成员",
  4189. "name": "usertype",
  4190. "in": "query"
  4191. },
  4192. {
  4193. "type": "integer",
  4194. "description": "现货品种ID",
  4195. "name": "deliverygoodsid",
  4196. "in": "query",
  4197. "required": true
  4198. }
  4199. ],
  4200. "responses": {
  4201. "200": {
  4202. "description": "OK",
  4203. "schema": {
  4204. "type": "array",
  4205. "items": {
  4206. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4207. }
  4208. }
  4209. },
  4210. "500": {
  4211. "description": "Internal Server Error",
  4212. "schema": {
  4213. "$ref": "#/definitions/app.Response"
  4214. }
  4215. }
  4216. }
  4217. }
  4218. },
  4219. "/Ermcp3/QueryGoodsGroup": {
  4220. "get": {
  4221. "security": [
  4222. {
  4223. "ApiKeyAuth": []
  4224. }
  4225. ],
  4226. "produces": [
  4227. "application/json"
  4228. ],
  4229. "tags": [
  4230. "企业风险管理v3(app)"
  4231. ],
  4232. "summary": "查询期货商品组",
  4233. "parameters": [
  4234. {
  4235. "type": "integer",
  4236. "description": "用户id",
  4237. "name": "userid",
  4238. "in": "query",
  4239. "required": true
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "用户类型 2-机构 7-企业成员",
  4244. "name": "usertype",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "排除套保品中已关联的商品组 1-排除",
  4250. "name": "excludecfg",
  4251. "in": "query"
  4252. }
  4253. ],
  4254. "responses": {
  4255. "200": {
  4256. "description": "OK",
  4257. "schema": {
  4258. "type": "array",
  4259. "items": {
  4260. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4261. }
  4262. }
  4263. },
  4264. "500": {
  4265. "description": "Internal Server Error",
  4266. "schema": {
  4267. "$ref": "#/definitions/app.Response"
  4268. }
  4269. }
  4270. }
  4271. }
  4272. },
  4273. "/Ermcp3/QueryGoodsWrstandard": {
  4274. "get": {
  4275. "security": [
  4276. {
  4277. "ApiKeyAuth": []
  4278. }
  4279. ],
  4280. "produces": [
  4281. "application/json"
  4282. ],
  4283. "tags": [
  4284. "企业风险管理v3(app)"
  4285. ],
  4286. "summary": "查询商品品类",
  4287. "parameters": [
  4288. {
  4289. "type": "integer",
  4290. "description": "用户id",
  4291. "name": "userid",
  4292. "in": "query",
  4293. "required": true
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "用户类型 2-机构 7-企业成员",
  4298. "name": "usertype",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "现货商品id",
  4304. "name": "deliverygoodsid",
  4305. "in": "query"
  4306. }
  4307. ],
  4308. "responses": {
  4309. "200": {
  4310. "description": "OK",
  4311. "schema": {
  4312. "type": "array",
  4313. "items": {
  4314. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4315. }
  4316. }
  4317. },
  4318. "500": {
  4319. "description": "Internal Server Error",
  4320. "schema": {
  4321. "$ref": "#/definitions/app.Response"
  4322. }
  4323. }
  4324. }
  4325. }
  4326. },
  4327. "/Ermcp3/QueryGoodsbrand": {
  4328. "get": {
  4329. "security": [
  4330. {
  4331. "ApiKeyAuth": []
  4332. }
  4333. ],
  4334. "produces": [
  4335. "application/json"
  4336. ],
  4337. "tags": [
  4338. "企业风险管理v3(app)"
  4339. ],
  4340. "summary": "查询商品品牌",
  4341. "parameters": [
  4342. {
  4343. "type": "integer",
  4344. "description": "用户id",
  4345. "name": "userid",
  4346. "in": "query",
  4347. "required": true
  4348. },
  4349. {
  4350. "type": "integer",
  4351. "description": "用户类型 2-机构 7-企业成员",
  4352. "name": "usertype",
  4353. "in": "query"
  4354. }
  4355. ],
  4356. "responses": {
  4357. "200": {
  4358. "description": "OK",
  4359. "schema": {
  4360. "type": "array",
  4361. "items": {
  4362. "$ref": "#/definitions/models.Ermcp3Brand"
  4363. }
  4364. }
  4365. },
  4366. "500": {
  4367. "description": "Internal Server Error",
  4368. "schema": {
  4369. "$ref": "#/definitions/app.Response"
  4370. }
  4371. }
  4372. }
  4373. }
  4374. },
  4375. "/Ermcp3/QueryHedgePlan": {
  4376. "get": {
  4377. "security": [
  4378. {
  4379. "ApiKeyAuth": []
  4380. }
  4381. ],
  4382. "produces": [
  4383. "application/json"
  4384. ],
  4385. "tags": [
  4386. "企业风险管理v3(app)"
  4387. ],
  4388. "summary": "查询套保计划",
  4389. "parameters": [
  4390. {
  4391. "type": "integer",
  4392. "description": "用户ID",
  4393. "name": "userid",
  4394. "in": "query",
  4395. "required": true
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "用户类型 2-机构 7-企业成员",
  4400. "name": "usertype",
  4401. "in": "query"
  4402. },
  4403. {
  4404. "type": "string",
  4405. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4406. "name": "hedgeplanstatus",
  4407. "in": "query",
  4408. "required": true
  4409. }
  4410. ],
  4411. "responses": {
  4412. "200": {
  4413. "description": "OK",
  4414. "schema": {
  4415. "type": "array",
  4416. "items": {
  4417. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4418. }
  4419. }
  4420. },
  4421. "500": {
  4422. "description": "Internal Server Error",
  4423. "schema": {
  4424. "$ref": "#/definitions/app.Response"
  4425. }
  4426. }
  4427. }
  4428. }
  4429. },
  4430. "/Ermcp3/QueryMiddleGoodsDetail": {
  4431. "get": {
  4432. "security": [
  4433. {
  4434. "ApiKeyAuth": []
  4435. }
  4436. ],
  4437. "produces": [
  4438. "application/json"
  4439. ],
  4440. "tags": [
  4441. "企业风险管理v3(app)"
  4442. ],
  4443. "summary": "查询套保品种详情(套保品种/商品详情)",
  4444. "parameters": [
  4445. {
  4446. "type": "integer",
  4447. "description": "用户id",
  4448. "name": "userid",
  4449. "in": "query",
  4450. "required": true
  4451. },
  4452. {
  4453. "type": "integer",
  4454. "description": "用户类型 2-机构 7-企业成员",
  4455. "name": "usertype",
  4456. "in": "query"
  4457. },
  4458. {
  4459. "type": "integer",
  4460. "description": "套保品种id",
  4461. "name": "middlegoodsid",
  4462. "in": "query"
  4463. }
  4464. ],
  4465. "responses": {
  4466. "200": {
  4467. "description": "OK",
  4468. "schema": {
  4469. "type": "array",
  4470. "items": {
  4471. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4472. }
  4473. }
  4474. },
  4475. "500": {
  4476. "description": "Internal Server Error",
  4477. "schema": {
  4478. "$ref": "#/definitions/app.Response"
  4479. }
  4480. }
  4481. }
  4482. }
  4483. },
  4484. "/Ermcp3/QueryRootUserAccount": {
  4485. "get": {
  4486. "security": [
  4487. {
  4488. "ApiKeyAuth": []
  4489. }
  4490. ],
  4491. "produces": [
  4492. "application/json"
  4493. ],
  4494. "tags": [
  4495. "企业风险管理v3(app)"
  4496. ],
  4497. "summary": "查询顶级用户信息",
  4498. "parameters": [
  4499. {
  4500. "type": "integer",
  4501. "description": "用户ID",
  4502. "name": "userid",
  4503. "in": "query",
  4504. "required": true
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "type": "array",
  4512. "items": {
  4513. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4514. }
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Ermcp3/QuerySpotContract": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "企业风险管理v3(app)"
  4538. ],
  4539. "summary": "查询现货合同",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "用户id",
  4544. "name": "userid",
  4545. "in": "query",
  4546. "required": true
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "用户类型 2-机构 7-企业成员",
  4551. "name": "usertype",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "integer",
  4556. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4557. "name": "querytype",
  4558. "in": "query",
  4559. "required": true
  4560. },
  4561. {
  4562. "type": "string",
  4563. "description": "合同ID(SpotContractId)",
  4564. "name": "contractid",
  4565. "in": "query"
  4566. }
  4567. ],
  4568. "responses": {
  4569. "200": {
  4570. "description": "OK",
  4571. "schema": {
  4572. "type": "array",
  4573. "items": {
  4574. "$ref": "#/definitions/models.Ermcp3Contract"
  4575. }
  4576. }
  4577. },
  4578. "500": {
  4579. "description": "Internal Server Error",
  4580. "schema": {
  4581. "$ref": "#/definitions/app.Response"
  4582. }
  4583. }
  4584. }
  4585. }
  4586. },
  4587. "/Ermcp3/QuerySpotContractBS": {
  4588. "get": {
  4589. "security": [
  4590. {
  4591. "ApiKeyAuth": []
  4592. }
  4593. ],
  4594. "produces": [
  4595. "application/json"
  4596. ],
  4597. "tags": [
  4598. "企业风险管理v3(app)"
  4599. ],
  4600. "summary": "查询合同(采购/销售)",
  4601. "parameters": [
  4602. {
  4603. "type": "integer",
  4604. "description": "用户id",
  4605. "name": "userid",
  4606. "in": "query",
  4607. "required": true
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "用户类型 2-机构 7-企业成员",
  4612. "name": "usertype",
  4613. "in": "query"
  4614. },
  4615. {
  4616. "type": "integer",
  4617. "description": "合同类型 1-采购, -1-销售",
  4618. "name": "contracttype",
  4619. "in": "query",
  4620. "required": true
  4621. },
  4622. {
  4623. "type": "integer",
  4624. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4625. "name": "querytype",
  4626. "in": "query",
  4627. "required": true
  4628. },
  4629. {
  4630. "type": "string",
  4631. "description": "合同ID(SpotContractId)",
  4632. "name": "contractid",
  4633. "in": "query"
  4634. }
  4635. ],
  4636. "responses": {
  4637. "200": {
  4638. "description": "OK",
  4639. "schema": {
  4640. "type": "array",
  4641. "items": {
  4642. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4643. }
  4644. }
  4645. },
  4646. "500": {
  4647. "description": "Internal Server Error",
  4648. "schema": {
  4649. "$ref": "#/definitions/app.Response"
  4650. }
  4651. }
  4652. }
  4653. }
  4654. },
  4655. "/Ermcp3/QuerySpotGoodsPrice": {
  4656. "get": {
  4657. "security": [
  4658. {
  4659. "ApiKeyAuth": []
  4660. }
  4661. ],
  4662. "produces": [
  4663. "application/json"
  4664. ],
  4665. "tags": [
  4666. "企业风险管理v3(app)"
  4667. ],
  4668. "summary": "查询现货市价(现货市价)",
  4669. "parameters": [
  4670. {
  4671. "type": "integer",
  4672. "description": "用户ID",
  4673. "name": "userid",
  4674. "in": "query",
  4675. "required": true
  4676. }
  4677. ],
  4678. "responses": {
  4679. "200": {
  4680. "description": "OK",
  4681. "schema": {
  4682. "type": "array",
  4683. "items": {
  4684. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4685. }
  4686. }
  4687. },
  4688. "500": {
  4689. "description": "Internal Server Error",
  4690. "schema": {
  4691. "$ref": "#/definitions/app.Response"
  4692. }
  4693. }
  4694. }
  4695. }
  4696. },
  4697. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4698. "get": {
  4699. "security": [
  4700. {
  4701. "ApiKeyAuth": []
  4702. }
  4703. ],
  4704. "produces": [
  4705. "application/json"
  4706. ],
  4707. "tags": [
  4708. "企业风险管理v3(app)"
  4709. ],
  4710. "summary": "查询现货市价详情(现货市价/详情)",
  4711. "parameters": [
  4712. {
  4713. "type": "integer",
  4714. "description": "用户ID",
  4715. "name": "userid",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "integer",
  4721. "description": "现货商品ID",
  4722. "name": "deliverygoodsid",
  4723. "in": "query",
  4724. "required": true
  4725. },
  4726. {
  4727. "type": "integer",
  4728. "description": "品牌ID",
  4729. "name": "brandid",
  4730. "in": "query"
  4731. },
  4732. {
  4733. "type": "integer",
  4734. "description": "品类ID",
  4735. "name": "wrstandardid",
  4736. "in": "query"
  4737. }
  4738. ],
  4739. "responses": {
  4740. "200": {
  4741. "description": "OK",
  4742. "schema": {
  4743. "type": "array",
  4744. "items": {
  4745. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4746. }
  4747. }
  4748. },
  4749. "500": {
  4750. "description": "Internal Server Error",
  4751. "schema": {
  4752. "$ref": "#/definitions/app.Response"
  4753. }
  4754. }
  4755. }
  4756. }
  4757. },
  4758. "/Erms2/QueryArbitrageStrategy": {
  4759. "get": {
  4760. "security": [
  4761. {
  4762. "ApiKeyAuth": []
  4763. }
  4764. ],
  4765. "produces": [
  4766. "application/json"
  4767. ],
  4768. "tags": [
  4769. "风险管理"
  4770. ],
  4771. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4772. "parameters": [
  4773. {
  4774. "type": "integer",
  4775. "description": "账户ID",
  4776. "name": "userid",
  4777. "in": "query",
  4778. "required": true
  4779. },
  4780. {
  4781. "type": "string",
  4782. "description": "商品组ID(品种ID)",
  4783. "name": "goodsgroupid",
  4784. "in": "query"
  4785. }
  4786. ],
  4787. "responses": {
  4788. "200": {
  4789. "description": "OK",
  4790. "schema": {
  4791. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4792. }
  4793. },
  4794. "500": {
  4795. "description": "Internal Server Error",
  4796. "schema": {
  4797. "$ref": "#/definitions/app.Response"
  4798. }
  4799. }
  4800. }
  4801. }
  4802. },
  4803. "/Erms2/QueryInnerTradeDetail": {
  4804. "get": {
  4805. "security": [
  4806. {
  4807. "ApiKeyAuth": []
  4808. }
  4809. ],
  4810. "produces": [
  4811. "application/json"
  4812. ],
  4813. "tags": [
  4814. "风险管理"
  4815. ],
  4816. "summary": "查询内部成交单信息",
  4817. "parameters": [
  4818. {
  4819. "type": "integer",
  4820. "description": "资金账户",
  4821. "name": "accountid",
  4822. "in": "query",
  4823. "required": true
  4824. }
  4825. ],
  4826. "responses": {
  4827. "200": {
  4828. "description": "OK",
  4829. "schema": {
  4830. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4831. }
  4832. },
  4833. "500": {
  4834. "description": "Internal Server Error",
  4835. "schema": {
  4836. "$ref": "#/definitions/app.Response"
  4837. }
  4838. }
  4839. }
  4840. }
  4841. },
  4842. "/Erms2/QuerySpotContract": {
  4843. "get": {
  4844. "security": [
  4845. {
  4846. "ApiKeyAuth": []
  4847. }
  4848. ],
  4849. "produces": [
  4850. "application/json"
  4851. ],
  4852. "tags": [
  4853. "风险管理"
  4854. ],
  4855. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4856. "parameters": [
  4857. {
  4858. "type": "integer",
  4859. "description": "策略申请ID",
  4860. "name": "asapplyid",
  4861. "in": "query",
  4862. "required": true
  4863. },
  4864. {
  4865. "type": "integer",
  4866. "description": "现货合同ID",
  4867. "name": "spotcontractid",
  4868. "in": "query"
  4869. }
  4870. ],
  4871. "responses": {
  4872. "200": {
  4873. "description": "OK",
  4874. "schema": {
  4875. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4876. }
  4877. },
  4878. "500": {
  4879. "description": "Internal Server Error",
  4880. "schema": {
  4881. "$ref": "#/definitions/app.Response"
  4882. }
  4883. }
  4884. }
  4885. }
  4886. },
  4887. "/Erms3/AddErms2ASApply": {
  4888. "post": {
  4889. "security": [
  4890. {
  4891. "ApiKeyAuth": []
  4892. }
  4893. ],
  4894. "produces": [
  4895. "application/json"
  4896. ],
  4897. "tags": [
  4898. "风险管理v3"
  4899. ],
  4900. "summary": "新增期现套利业务申请",
  4901. "parameters": [
  4902. {
  4903. "description": "申请参数",
  4904. "name": "jsonBody",
  4905. "in": "body",
  4906. "required": true,
  4907. "schema": {
  4908. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4909. }
  4910. }
  4911. ],
  4912. "responses": {
  4913. "200": {
  4914. "description": "OK",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. },
  4919. "500": {
  4920. "description": "Internal Server Error",
  4921. "schema": {
  4922. "$ref": "#/definitions/app.Response"
  4923. }
  4924. }
  4925. }
  4926. }
  4927. },
  4928. "/Erms3/AddErms2SpotTradeApply": {
  4929. "post": {
  4930. "security": [
  4931. {
  4932. "ApiKeyAuth": []
  4933. }
  4934. ],
  4935. "produces": [
  4936. "application/json"
  4937. ],
  4938. "tags": [
  4939. "风险管理v3"
  4940. ],
  4941. "summary": "新增现货贸易业务申请",
  4942. "parameters": [
  4943. {
  4944. "description": "申请参数",
  4945. "name": "jsonBody",
  4946. "in": "body",
  4947. "required": true,
  4948. "schema": {
  4949. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4950. }
  4951. }
  4952. ],
  4953. "responses": {
  4954. "200": {
  4955. "description": "OK",
  4956. "schema": {
  4957. "$ref": "#/definitions/app.Response"
  4958. }
  4959. },
  4960. "500": {
  4961. "description": "Internal Server Error",
  4962. "schema": {
  4963. "$ref": "#/definitions/app.Response"
  4964. }
  4965. }
  4966. }
  4967. }
  4968. },
  4969. "/Erms3/AddSpotContractApply": {
  4970. "post": {
  4971. "security": [
  4972. {
  4973. "ApiKeyAuth": []
  4974. }
  4975. ],
  4976. "produces": [
  4977. "application/json"
  4978. ],
  4979. "tags": [
  4980. "风险管理v3"
  4981. ],
  4982. "summary": "新增现货合同申请",
  4983. "parameters": [
  4984. {
  4985. "description": "申请参数",
  4986. "name": "jsonBody",
  4987. "in": "body",
  4988. "required": true,
  4989. "schema": {
  4990. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4991. }
  4992. }
  4993. ],
  4994. "responses": {
  4995. "200": {
  4996. "description": "OK",
  4997. "schema": {
  4998. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4999. }
  5000. },
  5001. "500": {
  5002. "description": "Internal Server Error",
  5003. "schema": {
  5004. "$ref": "#/definitions/app.Response"
  5005. }
  5006. }
  5007. }
  5008. }
  5009. },
  5010. "/Erms3/AddUserInfoApply": {
  5011. "post": {
  5012. "security": [
  5013. {
  5014. "ApiKeyAuth": []
  5015. }
  5016. ],
  5017. "produces": [
  5018. "application/json"
  5019. ],
  5020. "tags": [
  5021. "风险管理v3"
  5022. ],
  5023. "summary": "新增客户申请",
  5024. "parameters": [
  5025. {
  5026. "description": "用户信息",
  5027. "name": "jsonBody",
  5028. "in": "body",
  5029. "required": true,
  5030. "schema": {
  5031. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5032. }
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "$ref": "#/definitions/app.Response"
  5040. }
  5041. },
  5042. "500": {
  5043. "description": "Internal Server Error",
  5044. "schema": {
  5045. "$ref": "#/definitions/app.Response"
  5046. }
  5047. }
  5048. }
  5049. }
  5050. },
  5051. "/Erms3/DeleteUserInfoApply": {
  5052. "get": {
  5053. "security": [
  5054. {
  5055. "ApiKeyAuth": []
  5056. }
  5057. ],
  5058. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5059. "produces": [
  5060. "application/json"
  5061. ],
  5062. "tags": [
  5063. "风险管理v3"
  5064. ],
  5065. "summary": "删除客户申请",
  5066. "parameters": [
  5067. {
  5068. "type": "integer",
  5069. "description": "用户ID",
  5070. "name": "userID",
  5071. "in": "query",
  5072. "required": true
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "$ref": "#/definitions/app.Response"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "Internal Server Error",
  5084. "schema": {
  5085. "$ref": "#/definitions/app.Response"
  5086. }
  5087. }
  5088. }
  5089. }
  5090. },
  5091. "/Erms3/ModifyUserInfoApply": {
  5092. "post": {
  5093. "security": [
  5094. {
  5095. "ApiKeyAuth": []
  5096. }
  5097. ],
  5098. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5099. "produces": [
  5100. "application/json"
  5101. ],
  5102. "tags": [
  5103. "风险管理v3"
  5104. ],
  5105. "summary": "修改客户申请",
  5106. "parameters": [
  5107. {
  5108. "description": "用户信息",
  5109. "name": "jsonBody",
  5110. "in": "body",
  5111. "required": true,
  5112. "schema": {
  5113. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5114. }
  5115. }
  5116. ],
  5117. "responses": {
  5118. "200": {
  5119. "description": "OK",
  5120. "schema": {
  5121. "$ref": "#/definitions/app.Response"
  5122. }
  5123. },
  5124. "500": {
  5125. "description": "Internal Server Error",
  5126. "schema": {
  5127. "$ref": "#/definitions/app.Response"
  5128. }
  5129. }
  5130. }
  5131. }
  5132. },
  5133. "/Erms3/QueryBusinessInfo": {
  5134. "get": {
  5135. "security": [
  5136. {
  5137. "ApiKeyAuth": []
  5138. }
  5139. ],
  5140. "produces": [
  5141. "application/json"
  5142. ],
  5143. "tags": [
  5144. "风险管理v3"
  5145. ],
  5146. "summary": "查询业务表单数据",
  5147. "parameters": [
  5148. {
  5149. "type": "string",
  5150. "description": "资金账号ID列表,用逗号分隔",
  5151. "name": "accountids",
  5152. "in": "query",
  5153. "required": true
  5154. },
  5155. {
  5156. "type": "integer",
  5157. "description": "状态,0为未结束 1为已结束",
  5158. "name": "status",
  5159. "in": "query",
  5160. "required": true
  5161. }
  5162. ],
  5163. "responses": {
  5164. "200": {
  5165. "description": "OK",
  5166. "schema": {
  5167. "type": "array",
  5168. "items": {
  5169. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5170. }
  5171. }
  5172. },
  5173. "500": {
  5174. "description": "Internal Server Error",
  5175. "schema": {
  5176. "$ref": "#/definitions/app.Response"
  5177. }
  5178. }
  5179. }
  5180. }
  5181. },
  5182. "/Erms3/QueryPendingAuditContract": {
  5183. "get": {
  5184. "security": [
  5185. {
  5186. "ApiKeyAuth": []
  5187. }
  5188. ],
  5189. "produces": [
  5190. "application/json"
  5191. ],
  5192. "tags": [
  5193. "风险管理v3"
  5194. ],
  5195. "summary": "查询待审核合同",
  5196. "parameters": [
  5197. {
  5198. "type": "string",
  5199. "description": "资金账号ID列表,逗号隔开",
  5200. "name": "accountids",
  5201. "in": "query",
  5202. "required": true
  5203. },
  5204. {
  5205. "type": "integer",
  5206. "description": "合同类型 1-采购 -1-销售",
  5207. "name": "contracttype",
  5208. "in": "query",
  5209. "required": true
  5210. },
  5211. {
  5212. "type": "integer",
  5213. "description": "合同模式 1-普通 2-回购",
  5214. "name": "contractmode",
  5215. "in": "query",
  5216. "required": true
  5217. }
  5218. ],
  5219. "responses": {
  5220. "200": {
  5221. "description": "OK",
  5222. "schema": {
  5223. "type": "array",
  5224. "items": {
  5225. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5226. }
  5227. }
  5228. },
  5229. "500": {
  5230. "description": "Internal Server Error",
  5231. "schema": {
  5232. "$ref": "#/definitions/app.Response"
  5233. }
  5234. }
  5235. }
  5236. }
  5237. },
  5238. "/Erms3/QueryPendingBusiness": {
  5239. "get": {
  5240. "security": [
  5241. {
  5242. "ApiKeyAuth": []
  5243. }
  5244. ],
  5245. "produces": [
  5246. "application/json"
  5247. ],
  5248. "tags": [
  5249. "风险管理v3"
  5250. ],
  5251. "summary": "查询待审核基差贸易业务",
  5252. "parameters": [
  5253. {
  5254. "type": "string",
  5255. "description": "资金账号ID列表,逗号隔开",
  5256. "name": "accountids",
  5257. "in": "query",
  5258. "required": true
  5259. }
  5260. ],
  5261. "responses": {
  5262. "200": {
  5263. "description": "OK",
  5264. "schema": {
  5265. "type": "array",
  5266. "items": {
  5267. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5268. }
  5269. }
  5270. },
  5271. "500": {
  5272. "description": "Internal Server Error",
  5273. "schema": {
  5274. "$ref": "#/definitions/app.Response"
  5275. }
  5276. }
  5277. }
  5278. }
  5279. },
  5280. "/Erms3/QuerySpotContractAppleForm": {
  5281. "get": {
  5282. "security": [
  5283. {
  5284. "ApiKeyAuth": []
  5285. }
  5286. ],
  5287. "produces": [
  5288. "application/json"
  5289. ],
  5290. "tags": [
  5291. "风险管理v3"
  5292. ],
  5293. "summary": "查询合同申请表单数据",
  5294. "parameters": [
  5295. {
  5296. "type": "integer",
  5297. "description": "登录账号",
  5298. "name": "loginID",
  5299. "in": "query",
  5300. "required": true
  5301. }
  5302. ],
  5303. "responses": {
  5304. "200": {
  5305. "description": "OK",
  5306. "schema": {
  5307. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5308. }
  5309. },
  5310. "500": {
  5311. "description": "Internal Server Error",
  5312. "schema": {
  5313. "$ref": "#/definitions/app.Response"
  5314. }
  5315. }
  5316. }
  5317. }
  5318. },
  5319. "/Erms3/QuerySpotContractDetail": {
  5320. "get": {
  5321. "security": [
  5322. {
  5323. "ApiKeyAuth": []
  5324. }
  5325. ],
  5326. "produces": [
  5327. "application/json"
  5328. ],
  5329. "tags": [
  5330. "风险管理v3"
  5331. ],
  5332. "summary": "查询合同详细信息",
  5333. "parameters": [
  5334. {
  5335. "type": "string",
  5336. "description": "资金账号ID列表,用逗号分隔",
  5337. "name": "accountids",
  5338. "in": "query",
  5339. "required": true
  5340. },
  5341. {
  5342. "type": "integer",
  5343. "description": "合同类型,1为采购合同 -1为销售合同",
  5344. "name": "contracttype",
  5345. "in": "query",
  5346. "required": true
  5347. },
  5348. {
  5349. "type": "integer",
  5350. "description": "合同模式,1为普通合同 2为回购销售合同",
  5351. "name": "contractmode",
  5352. "in": "query",
  5353. "required": true
  5354. },
  5355. {
  5356. "type": "integer",
  5357. "description": "状态,0为履约中 1为已完成",
  5358. "name": "status",
  5359. "in": "query",
  5360. "required": true
  5361. }
  5362. ],
  5363. "responses": {
  5364. "200": {
  5365. "description": "OK",
  5366. "schema": {
  5367. "type": "array",
  5368. "items": {
  5369. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5370. }
  5371. }
  5372. },
  5373. "500": {
  5374. "description": "Internal Server Error",
  5375. "schema": {
  5376. "$ref": "#/definitions/app.Response"
  5377. }
  5378. }
  5379. }
  5380. }
  5381. },
  5382. "/Erms3/QueryUserInfoApplies": {
  5383. "get": {
  5384. "security": [
  5385. {
  5386. "ApiKeyAuth": []
  5387. }
  5388. ],
  5389. "produces": [
  5390. "application/json"
  5391. ],
  5392. "tags": [
  5393. "风险管理v3"
  5394. ],
  5395. "summary": "客户申请信息查询",
  5396. "parameters": [
  5397. {
  5398. "type": "integer",
  5399. "description": "页码",
  5400. "name": "page",
  5401. "in": "query"
  5402. },
  5403. {
  5404. "type": "integer",
  5405. "description": "每页条数",
  5406. "name": "pagesize",
  5407. "in": "query"
  5408. },
  5409. {
  5410. "type": "string",
  5411. "description": "客户名称,支持模糊查询",
  5412. "name": "userName",
  5413. "in": "query"
  5414. }
  5415. ],
  5416. "responses": {
  5417. "200": {
  5418. "description": "OK",
  5419. "schema": {
  5420. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5421. }
  5422. },
  5423. "500": {
  5424. "description": "Internal Server Error",
  5425. "schema": {
  5426. "$ref": "#/definitions/app.Response"
  5427. }
  5428. }
  5429. }
  5430. }
  5431. },
  5432. "/Erms3/QueryUserInfos": {
  5433. "get": {
  5434. "security": [
  5435. {
  5436. "ApiKeyAuth": []
  5437. }
  5438. ],
  5439. "produces": [
  5440. "application/json"
  5441. ],
  5442. "tags": [
  5443. "风险管理v3"
  5444. ],
  5445. "summary": "客户信息查询",
  5446. "parameters": [
  5447. {
  5448. "type": "integer",
  5449. "description": "页码",
  5450. "name": "page",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "每页条数",
  5456. "name": "pagesize",
  5457. "in": "query"
  5458. },
  5459. {
  5460. "type": "string",
  5461. "description": "客户名称,支持模糊查询",
  5462. "name": "userName",
  5463. "in": "query"
  5464. }
  5465. ],
  5466. "responses": {
  5467. "200": {
  5468. "description": "OK",
  5469. "schema": {
  5470. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5471. }
  5472. },
  5473. "500": {
  5474. "description": "Internal Server Error",
  5475. "schema": {
  5476. "$ref": "#/definitions/app.Response"
  5477. }
  5478. }
  5479. }
  5480. }
  5481. },
  5482. "/HSBY/GetHsbyMyCount": {
  5483. "get": {
  5484. "security": [
  5485. {
  5486. "ApiKeyAuth": []
  5487. }
  5488. ],
  5489. "description": "说明: 不包括已完成的数量。",
  5490. "produces": [
  5491. "application/json"
  5492. ],
  5493. "tags": [
  5494. "定制【海商报业】"
  5495. ],
  5496. "summary": "获取我的订单与包裹数量",
  5497. "parameters": [
  5498. {
  5499. "type": "string",
  5500. "description": "资金账户列表,格式:1,2,3",
  5501. "name": "accountIDs",
  5502. "in": "query",
  5503. "required": true
  5504. }
  5505. ],
  5506. "responses": {
  5507. "200": {
  5508. "description": "OK",
  5509. "schema": {
  5510. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5511. }
  5512. },
  5513. "500": {
  5514. "description": "Internal Server Error",
  5515. "schema": {
  5516. "$ref": "#/definitions/app.Response"
  5517. }
  5518. }
  5519. }
  5520. }
  5521. },
  5522. "/HSBY/QueryClientFixedADConfigs": {
  5523. "get": {
  5524. "security": [
  5525. {
  5526. "ApiKeyAuth": []
  5527. }
  5528. ],
  5529. "produces": [
  5530. "application/json"
  5531. ],
  5532. "tags": [
  5533. "定制【海商报业】"
  5534. ],
  5535. "summary": "获取终端固定广告配置",
  5536. "responses": {
  5537. "200": {
  5538. "description": "OK",
  5539. "schema": {
  5540. "$ref": "#/definitions/models.Clientfixedadconfig"
  5541. }
  5542. },
  5543. "500": {
  5544. "description": "Internal Server Error",
  5545. "schema": {
  5546. "$ref": "#/definitions/app.Response"
  5547. }
  5548. }
  5549. }
  5550. }
  5551. },
  5552. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5553. "get": {
  5554. "security": [
  5555. {
  5556. "ApiKeyAuth": []
  5557. }
  5558. ],
  5559. "produces": [
  5560. "application/json"
  5561. ],
  5562. "tags": [
  5563. "定制【海商报业】"
  5564. ],
  5565. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5566. "parameters": [
  5567. {
  5568. "type": "integer",
  5569. "description": "页码",
  5570. "name": "page",
  5571. "in": "query"
  5572. },
  5573. {
  5574. "type": "integer",
  5575. "description": "每页条数",
  5576. "name": "pagesize",
  5577. "in": "query"
  5578. },
  5579. {
  5580. "type": "string",
  5581. "description": "资金账户列表,格式:1,2,3",
  5582. "name": "accountIDs",
  5583. "in": "query",
  5584. "required": true
  5585. }
  5586. ],
  5587. "responses": {
  5588. "200": {
  5589. "description": "OK",
  5590. "schema": {
  5591. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5592. }
  5593. },
  5594. "500": {
  5595. "description": "Internal Server Error",
  5596. "schema": {
  5597. "$ref": "#/definitions/app.Response"
  5598. }
  5599. }
  5600. }
  5601. }
  5602. },
  5603. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5604. "get": {
  5605. "security": [
  5606. {
  5607. "ApiKeyAuth": []
  5608. }
  5609. ],
  5610. "description": "说明:查询结果已按委托价格和委托时间排序",
  5611. "produces": [
  5612. "application/json"
  5613. ],
  5614. "tags": [
  5615. "定制【海商报业】"
  5616. ],
  5617. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5618. "parameters": [
  5619. {
  5620. "type": "integer",
  5621. "description": "商品ID",
  5622. "name": "goodsID",
  5623. "in": "query",
  5624. "required": true
  5625. },
  5626. {
  5627. "type": "string",
  5628. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5629. "name": "accountIDs",
  5630. "in": "query"
  5631. },
  5632. {
  5633. "type": "integer",
  5634. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5635. "name": "buyOrSell",
  5636. "in": "query"
  5637. },
  5638. {
  5639. "type": "number",
  5640. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5641. "name": "price",
  5642. "in": "query"
  5643. },
  5644. {
  5645. "type": "integer",
  5646. "description": "档位,不传则默认为3档",
  5647. "name": "speed",
  5648. "in": "query"
  5649. }
  5650. ],
  5651. "responses": {
  5652. "200": {
  5653. "description": "OK",
  5654. "schema": {
  5655. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5656. }
  5657. },
  5658. "500": {
  5659. "description": "Internal Server Error",
  5660. "schema": {
  5661. "$ref": "#/definitions/app.Response"
  5662. }
  5663. }
  5664. }
  5665. }
  5666. },
  5667. "/HSBY/QueryHsbyListingGoodsDetail": {
  5668. "get": {
  5669. "security": [
  5670. {
  5671. "ApiKeyAuth": []
  5672. }
  5673. ],
  5674. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5675. "produces": [
  5676. "application/json"
  5677. ],
  5678. "tags": [
  5679. "定制【海商报业】"
  5680. ],
  5681. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5682. "parameters": [
  5683. {
  5684. "type": "integer",
  5685. "description": "商品ID",
  5686. "name": "goodsID",
  5687. "in": "query",
  5688. "required": true
  5689. },
  5690. {
  5691. "type": "integer",
  5692. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5693. "name": "accountID",
  5694. "in": "query"
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5714. "get": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "produces": [
  5721. "application/json"
  5722. ],
  5723. "tags": [
  5724. "定制【海商报业】"
  5725. ],
  5726. "summary": "查询三级市场(商城)商品信息详情",
  5727. "parameters": [
  5728. {
  5729. "type": "integer",
  5730. "description": "委托单号",
  5731. "name": "orderID",
  5732. "in": "query",
  5733. "required": true
  5734. },
  5735. {
  5736. "type": "integer",
  5737. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5738. "name": "accountID",
  5739. "in": "query"
  5740. }
  5741. ],
  5742. "responses": {
  5743. "200": {
  5744. "description": "OK",
  5745. "schema": {
  5746. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5747. }
  5748. },
  5749. "500": {
  5750. "description": "Internal Server Error",
  5751. "schema": {
  5752. "$ref": "#/definitions/app.Response"
  5753. }
  5754. }
  5755. }
  5756. }
  5757. },
  5758. "/HSBY/QueryHsbyMarketGoodses": {
  5759. "get": {
  5760. "security": [
  5761. {
  5762. "ApiKeyAuth": []
  5763. }
  5764. ],
  5765. "produces": [
  5766. "application/json"
  5767. ],
  5768. "tags": [
  5769. "定制【海商报业】"
  5770. ],
  5771. "summary": "查询特卖商品列表(三级商城)",
  5772. "parameters": [
  5773. {
  5774. "type": "integer",
  5775. "description": "页码",
  5776. "name": "page",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "integer",
  5781. "description": "每页条数",
  5782. "name": "pagesize",
  5783. "in": "query"
  5784. },
  5785. {
  5786. "type": "string",
  5787. "description": "市场ID列表,格式:1,2,3",
  5788. "name": "marketIDs",
  5789. "in": "query",
  5790. "required": true
  5791. },
  5792. {
  5793. "type": "integer",
  5794. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5795. "name": "accountID",
  5796. "in": "query",
  5797. "required": true
  5798. },
  5799. {
  5800. "type": "integer",
  5801. "description": "类别ID",
  5802. "name": "categoryID",
  5803. "in": "query"
  5804. },
  5805. {
  5806. "type": "string",
  5807. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5808. "name": "goodsIDs",
  5809. "in": "query"
  5810. },
  5811. {
  5812. "type": "integer",
  5813. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5814. "name": "couponTypeID",
  5815. "in": "query"
  5816. }
  5817. ],
  5818. "responses": {
  5819. "200": {
  5820. "description": "OK",
  5821. "schema": {
  5822. "$ref": "#/definitions/models.HsbyMarketGoods"
  5823. }
  5824. },
  5825. "500": {
  5826. "description": "Internal Server Error",
  5827. "schema": {
  5828. "$ref": "#/definitions/app.Response"
  5829. }
  5830. }
  5831. }
  5832. }
  5833. },
  5834. "/HSBY/QueryHsbyMarkets": {
  5835. "get": {
  5836. "security": [
  5837. {
  5838. "ApiKeyAuth": []
  5839. }
  5840. ],
  5841. "produces": [
  5842. "application/json"
  5843. ],
  5844. "tags": [
  5845. "定制【海商报业】"
  5846. ],
  5847. "summary": "查询海商报业相关市场信息",
  5848. "responses": {
  5849. "200": {
  5850. "description": "OK",
  5851. "schema": {
  5852. "$ref": "#/definitions/models.HsbyMarketInfo"
  5853. }
  5854. },
  5855. "500": {
  5856. "description": "Internal Server Error",
  5857. "schema": {
  5858. "$ref": "#/definitions/app.Response"
  5859. }
  5860. }
  5861. }
  5862. }
  5863. },
  5864. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5865. "get": {
  5866. "security": [
  5867. {
  5868. "ApiKeyAuth": []
  5869. }
  5870. ],
  5871. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5872. "produces": [
  5873. "application/json"
  5874. ],
  5875. "tags": [
  5876. "定制【海商报业】"
  5877. ],
  5878. "summary": "查询“我的订单”信息",
  5879. "parameters": [
  5880. {
  5881. "type": "string",
  5882. "description": "资金账户列表,格式:1,2,3",
  5883. "name": "accountIDs",
  5884. "in": "query",
  5885. "required": true
  5886. }
  5887. ],
  5888. "responses": {
  5889. "200": {
  5890. "description": "OK",
  5891. "schema": {
  5892. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5893. }
  5894. },
  5895. "500": {
  5896. "description": "Internal Server Error",
  5897. "schema": {
  5898. "$ref": "#/definitions/app.Response"
  5899. }
  5900. }
  5901. }
  5902. }
  5903. },
  5904. "/HSBY/QueryHsbyMyGoods": {
  5905. "get": {
  5906. "security": [
  5907. {
  5908. "ApiKeyAuth": []
  5909. }
  5910. ],
  5911. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5912. "produces": [
  5913. "application/json"
  5914. ],
  5915. "tags": [
  5916. "定制【海商报业】"
  5917. ],
  5918. "summary": "查询“我的商品”信息",
  5919. "parameters": [
  5920. {
  5921. "type": "string",
  5922. "description": "资金账户列表,格式:1,2,3",
  5923. "name": "accountIDs",
  5924. "in": "query",
  5925. "required": true
  5926. }
  5927. ],
  5928. "responses": {
  5929. "200": {
  5930. "description": "OK",
  5931. "schema": {
  5932. "$ref": "#/definitions/models.HsbyMyGoods"
  5933. }
  5934. },
  5935. "500": {
  5936. "description": "Internal Server Error",
  5937. "schema": {
  5938. "$ref": "#/definitions/app.Response"
  5939. }
  5940. }
  5941. }
  5942. }
  5943. },
  5944. "/HSBY/QueryHsbyMyPackages": {
  5945. "get": {
  5946. "security": [
  5947. {
  5948. "ApiKeyAuth": []
  5949. }
  5950. ],
  5951. "produces": [
  5952. "application/json"
  5953. ],
  5954. "tags": [
  5955. "定制【海商报业】"
  5956. ],
  5957. "summary": "查询我的包裹信息",
  5958. "parameters": [
  5959. {
  5960. "type": "string",
  5961. "description": "资金账户列表,格式:1,2,3",
  5962. "name": "accountIDs",
  5963. "in": "query",
  5964. "required": true
  5965. },
  5966. {
  5967. "type": "integer",
  5968. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5969. "name": "takeOrderStatus",
  5970. "in": "query"
  5971. }
  5972. ],
  5973. "responses": {
  5974. "200": {
  5975. "description": "OK",
  5976. "schema": {
  5977. "$ref": "#/definitions/models.HsbyMyPackage"
  5978. }
  5979. },
  5980. "500": {
  5981. "description": "Internal Server Error",
  5982. "schema": {
  5983. "$ref": "#/definitions/app.Response"
  5984. }
  5985. }
  5986. }
  5987. }
  5988. },
  5989. "/HSBY/QueryHsbyPreGoodsDetail": {
  5990. "get": {
  5991. "security": [
  5992. {
  5993. "ApiKeyAuth": []
  5994. }
  5995. ],
  5996. "produces": [
  5997. "application/json"
  5998. ],
  5999. "tags": [
  6000. "定制【海商报业】"
  6001. ],
  6002. "summary": "查询一级市场(预售)商品信息详情",
  6003. "parameters": [
  6004. {
  6005. "type": "integer",
  6006. "description": "商品ID",
  6007. "name": "goodsID",
  6008. "in": "query",
  6009. "required": true
  6010. },
  6011. {
  6012. "type": "integer",
  6013. "description": "资金账户,主要用于获取预售商品购买上限",
  6014. "name": "accountID",
  6015. "in": "query"
  6016. }
  6017. ],
  6018. "responses": {
  6019. "200": {
  6020. "description": "OK",
  6021. "schema": {
  6022. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6023. }
  6024. },
  6025. "500": {
  6026. "description": "Internal Server Error",
  6027. "schema": {
  6028. "$ref": "#/definitions/app.Response"
  6029. }
  6030. }
  6031. }
  6032. }
  6033. },
  6034. "/HSBY/QueryHsbyPreGoodses": {
  6035. "get": {
  6036. "security": [
  6037. {
  6038. "ApiKeyAuth": []
  6039. }
  6040. ],
  6041. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6042. "produces": [
  6043. "application/json"
  6044. ],
  6045. "tags": [
  6046. "定制【海商报业】"
  6047. ],
  6048. "summary": "查询新品上市商品列表(一级市场预售)",
  6049. "parameters": [
  6050. {
  6051. "type": "integer",
  6052. "description": "页码",
  6053. "name": "page",
  6054. "in": "query"
  6055. },
  6056. {
  6057. "type": "integer",
  6058. "description": "每页条数",
  6059. "name": "pagesize",
  6060. "in": "query"
  6061. },
  6062. {
  6063. "type": "string",
  6064. "description": "市场ID列表,格式:1,2,3",
  6065. "name": "marketIDs",
  6066. "in": "query",
  6067. "required": true
  6068. },
  6069. {
  6070. "type": "integer",
  6071. "description": "目的地(省)ID",
  6072. "name": "descProvinceID",
  6073. "in": "query"
  6074. },
  6075. {
  6076. "type": "integer",
  6077. "description": "目的地(市)ID",
  6078. "name": "descCityID",
  6079. "in": "query"
  6080. }
  6081. ],
  6082. "responses": {
  6083. "200": {
  6084. "description": "OK",
  6085. "schema": {
  6086. "$ref": "#/definitions/models.HsbyPreGoods"
  6087. }
  6088. },
  6089. "500": {
  6090. "description": "Internal Server Error",
  6091. "schema": {
  6092. "$ref": "#/definitions/app.Response"
  6093. }
  6094. }
  6095. }
  6096. }
  6097. },
  6098. "/HSBY/QueryHsbySellMyDetails": {
  6099. "get": {
  6100. "security": [
  6101. {
  6102. "ApiKeyAuth": []
  6103. }
  6104. ],
  6105. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6106. "produces": [
  6107. "application/json"
  6108. ],
  6109. "tags": [
  6110. "定制【海商报业】"
  6111. ],
  6112. "summary": "查询\"我的闲置\"单据信息",
  6113. "parameters": [
  6114. {
  6115. "type": "integer",
  6116. "description": "页码",
  6117. "name": "page",
  6118. "in": "query"
  6119. },
  6120. {
  6121. "type": "integer",
  6122. "description": "每页条数",
  6123. "name": "pagesize",
  6124. "in": "query"
  6125. },
  6126. {
  6127. "type": "string",
  6128. "description": "资金账户列表,格式:1,2,3",
  6129. "name": "accountIDs",
  6130. "in": "query",
  6131. "required": true
  6132. },
  6133. {
  6134. "type": "integer",
  6135. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6136. "name": "orderType",
  6137. "in": "query"
  6138. }
  6139. ],
  6140. "responses": {
  6141. "200": {
  6142. "description": "OK",
  6143. "schema": {
  6144. "$ref": "#/definitions/models.HsbySellMyDetail"
  6145. }
  6146. },
  6147. "500": {
  6148. "description": "Internal Server Error",
  6149. "schema": {
  6150. "$ref": "#/definitions/app.Response"
  6151. }
  6152. }
  6153. }
  6154. }
  6155. },
  6156. "/HSBY/QueryHsbyTopGoodses": {
  6157. "get": {
  6158. "security": [
  6159. {
  6160. "ApiKeyAuth": []
  6161. }
  6162. ],
  6163. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6164. "produces": [
  6165. "application/json"
  6166. ],
  6167. "tags": [
  6168. "定制【海商报业】"
  6169. ],
  6170. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6171. "parameters": [
  6172. {
  6173. "type": "integer",
  6174. "description": "页码",
  6175. "name": "page",
  6176. "in": "query"
  6177. },
  6178. {
  6179. "type": "integer",
  6180. "description": "每页条数",
  6181. "name": "pagesize",
  6182. "in": "query"
  6183. },
  6184. {
  6185. "type": "string",
  6186. "description": "市场ID列表,格式:1,2,3",
  6187. "name": "marketIDs",
  6188. "in": "query",
  6189. "required": true
  6190. },
  6191. {
  6192. "type": "integer",
  6193. "description": "目的地(省)ID",
  6194. "name": "descProvinceID",
  6195. "in": "query"
  6196. },
  6197. {
  6198. "type": "integer",
  6199. "description": "目的地(市)ID",
  6200. "name": "descCityID",
  6201. "in": "query"
  6202. }
  6203. ],
  6204. "responses": {
  6205. "200": {
  6206. "description": "OK",
  6207. "schema": {
  6208. "$ref": "#/definitions/models.HsbyTopGoods"
  6209. }
  6210. },
  6211. "500": {
  6212. "description": "Internal Server Error",
  6213. "schema": {
  6214. "$ref": "#/definitions/app.Response"
  6215. }
  6216. }
  6217. }
  6218. }
  6219. },
  6220. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6221. "get": {
  6222. "security": [
  6223. {
  6224. "ApiKeyAuth": []
  6225. }
  6226. ],
  6227. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6228. "produces": [
  6229. "application/json"
  6230. ],
  6231. "tags": [
  6232. "定制【海商报业】"
  6233. ],
  6234. "summary": "查询游客三级市场(商城)商品信息详情",
  6235. "parameters": [
  6236. {
  6237. "type": "integer",
  6238. "description": "商品ID",
  6239. "name": "goodsID",
  6240. "in": "query",
  6241. "required": true
  6242. }
  6243. ],
  6244. "responses": {
  6245. "200": {
  6246. "description": "OK",
  6247. "schema": {
  6248. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6249. }
  6250. },
  6251. "500": {
  6252. "description": "Internal Server Error",
  6253. "schema": {
  6254. "$ref": "#/definitions/app.Response"
  6255. }
  6256. }
  6257. }
  6258. }
  6259. },
  6260. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6261. "get": {
  6262. "security": [
  6263. {
  6264. "ApiKeyAuth": []
  6265. }
  6266. ],
  6267. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6268. "produces": [
  6269. "application/json"
  6270. ],
  6271. "tags": [
  6272. "定制【海商报业】"
  6273. ],
  6274. "summary": "查询游客特卖商品列表(三级商城)",
  6275. "parameters": [
  6276. {
  6277. "type": "integer",
  6278. "description": "页码",
  6279. "name": "page",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "integer",
  6284. "description": "每页条数",
  6285. "name": "pagesize",
  6286. "in": "query"
  6287. },
  6288. {
  6289. "type": "string",
  6290. "description": "市场ID列表,格式:1,2,3",
  6291. "name": "marketIDs",
  6292. "in": "query",
  6293. "required": true
  6294. },
  6295. {
  6296. "type": "integer",
  6297. "description": "类别ID",
  6298. "name": "categoryID",
  6299. "in": "query"
  6300. },
  6301. {
  6302. "type": "string",
  6303. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6304. "name": "goodsIDs",
  6305. "in": "query"
  6306. }
  6307. ],
  6308. "responses": {
  6309. "200": {
  6310. "description": "OK",
  6311. "schema": {
  6312. "$ref": "#/definitions/models.HsbyMarketGoods"
  6313. }
  6314. },
  6315. "500": {
  6316. "description": "Internal Server Error",
  6317. "schema": {
  6318. "$ref": "#/definitions/app.Response"
  6319. }
  6320. }
  6321. }
  6322. }
  6323. },
  6324. "/HSBY/QueryMyCollectionOrders": {
  6325. "get": {
  6326. "security": [
  6327. {
  6328. "ApiKeyAuth": []
  6329. }
  6330. ],
  6331. "produces": [
  6332. "application/json"
  6333. ],
  6334. "tags": [
  6335. "定制【海商报业】"
  6336. ],
  6337. "summary": "我的闲置中收款信息查询",
  6338. "parameters": [
  6339. {
  6340. "type": "integer",
  6341. "description": "页码",
  6342. "name": "page",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "integer",
  6347. "description": "每页条数",
  6348. "name": "pagesize",
  6349. "in": "query"
  6350. },
  6351. {
  6352. "type": "string",
  6353. "description": "资金账户,格式:1,2,3",
  6354. "name": "accountIDs",
  6355. "in": "query",
  6356. "required": true
  6357. }
  6358. ],
  6359. "responses": {
  6360. "200": {
  6361. "description": "OK",
  6362. "schema": {
  6363. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6364. }
  6365. },
  6366. "500": {
  6367. "description": "Internal Server Error",
  6368. "schema": {
  6369. "$ref": "#/definitions/app.Response"
  6370. }
  6371. }
  6372. }
  6373. }
  6374. },
  6375. "/HSBY/QueryMyCouponHolds": {
  6376. "get": {
  6377. "security": [
  6378. {
  6379. "ApiKeyAuth": []
  6380. }
  6381. ],
  6382. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6383. "produces": [
  6384. "application/json"
  6385. ],
  6386. "tags": [
  6387. "定制【海商报业】"
  6388. ],
  6389. "summary": "我的优惠卷持仓查询",
  6390. "parameters": [
  6391. {
  6392. "type": "string",
  6393. "description": "资金账户列表,格式:1,2,3",
  6394. "name": "accountIDs",
  6395. "in": "query",
  6396. "required": true
  6397. },
  6398. {
  6399. "type": "string",
  6400. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6401. "name": "holdStatus",
  6402. "in": "query"
  6403. }
  6404. ],
  6405. "responses": {
  6406. "200": {
  6407. "description": "OK",
  6408. "schema": {
  6409. "$ref": "#/definitions/models.MyCouponHold"
  6410. }
  6411. },
  6412. "500": {
  6413. "description": "Internal Server Error",
  6414. "schema": {
  6415. "$ref": "#/definitions/app.Response"
  6416. }
  6417. }
  6418. }
  6419. }
  6420. },
  6421. "/HSBY/QueryMyCoupons": {
  6422. "get": {
  6423. "security": [
  6424. {
  6425. "ApiKeyAuth": []
  6426. }
  6427. ],
  6428. "produces": [
  6429. "application/json"
  6430. ],
  6431. "tags": [
  6432. "定制【海商报业】"
  6433. ],
  6434. "summary": "我的优惠卷查询",
  6435. "parameters": [
  6436. {
  6437. "type": "string",
  6438. "description": "资金账户列表,格式:1,2,3",
  6439. "name": "accountIDs",
  6440. "in": "query",
  6441. "required": true
  6442. },
  6443. {
  6444. "type": "integer",
  6445. "description": "商品ID, 一般与sellUserID配套传入",
  6446. "name": "goodsID",
  6447. "in": "query"
  6448. },
  6449. {
  6450. "type": "integer",
  6451. "description": "卖方UserID",
  6452. "name": "sellUserID",
  6453. "in": "query"
  6454. }
  6455. ],
  6456. "responses": {
  6457. "200": {
  6458. "description": "OK",
  6459. "schema": {
  6460. "$ref": "#/definitions/models.MyCoupon"
  6461. }
  6462. },
  6463. "500": {
  6464. "description": "Internal Server Error",
  6465. "schema": {
  6466. "$ref": "#/definitions/app.Response"
  6467. }
  6468. }
  6469. }
  6470. }
  6471. },
  6472. "/HSBY/QueryMyPayOrders": {
  6473. "get": {
  6474. "security": [
  6475. {
  6476. "ApiKeyAuth": []
  6477. }
  6478. ],
  6479. "produces": [
  6480. "application/json"
  6481. ],
  6482. "tags": [
  6483. "定制【海商报业】"
  6484. ],
  6485. "summary": "获取我的订单中待付款信息",
  6486. "parameters": [
  6487. {
  6488. "type": "integer",
  6489. "description": "页码",
  6490. "name": "page",
  6491. "in": "query"
  6492. },
  6493. {
  6494. "type": "integer",
  6495. "description": "每页条数",
  6496. "name": "pagesize",
  6497. "in": "query"
  6498. },
  6499. {
  6500. "type": "string",
  6501. "description": "资金账户列表,格式:1,2,3",
  6502. "name": "accountIDs",
  6503. "in": "query",
  6504. "required": true
  6505. },
  6506. {
  6507. "type": "integer",
  6508. "description": "买方委托单号",
  6509. "name": "buyOrderID",
  6510. "in": "query"
  6511. },
  6512. {
  6513. "type": "integer",
  6514. "description": "卖方委托单号",
  6515. "name": "sellOrderID",
  6516. "in": "query"
  6517. }
  6518. ],
  6519. "responses": {
  6520. "200": {
  6521. "description": "OK",
  6522. "schema": {
  6523. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6524. }
  6525. },
  6526. "500": {
  6527. "description": "Internal Server Error",
  6528. "schema": {
  6529. "$ref": "#/definitions/app.Response"
  6530. }
  6531. }
  6532. }
  6533. }
  6534. },
  6535. "/HSBY/QueryMyUsedCoupon": {
  6536. "get": {
  6537. "security": [
  6538. {
  6539. "ApiKeyAuth": []
  6540. }
  6541. ],
  6542. "produces": [
  6543. "application/json"
  6544. ],
  6545. "tags": [
  6546. "定制【海商报业】"
  6547. ],
  6548. "summary": "已使用优惠卷查询",
  6549. "parameters": [
  6550. {
  6551. "type": "string",
  6552. "description": "资金账户列表,格式:1,2,3",
  6553. "name": "accountIDs",
  6554. "in": "query",
  6555. "required": true
  6556. }
  6557. ],
  6558. "responses": {
  6559. "200": {
  6560. "description": "OK",
  6561. "schema": {
  6562. "$ref": "#/definitions/models.MyUsedCoupon"
  6563. }
  6564. },
  6565. "500": {
  6566. "description": "Internal Server Error",
  6567. "schema": {
  6568. "$ref": "#/definitions/app.Response"
  6569. }
  6570. }
  6571. }
  6572. }
  6573. },
  6574. "/HSBY/QueryProvincesAndCities": {
  6575. "get": {
  6576. "security": [
  6577. {
  6578. "ApiKeyAuth": []
  6579. }
  6580. ],
  6581. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6582. "produces": [
  6583. "application/json"
  6584. ],
  6585. "tags": [
  6586. "定制【海商报业】"
  6587. ],
  6588. "summary": "查询省市信息(不包括区)",
  6589. "parameters": [
  6590. {
  6591. "type": "integer",
  6592. "description": "省ID",
  6593. "name": "provinceID",
  6594. "in": "query"
  6595. }
  6596. ],
  6597. "responses": {
  6598. "200": {
  6599. "description": "OK",
  6600. "schema": {
  6601. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6602. }
  6603. },
  6604. "500": {
  6605. "description": "Internal Server Error",
  6606. "schema": {
  6607. "$ref": "#/definitions/app.Response"
  6608. }
  6609. }
  6610. }
  6611. }
  6612. },
  6613. "/HSBY/SetHsbyMyPackagesStatus": {
  6614. "post": {
  6615. "security": [
  6616. {
  6617. "ApiKeyAuth": []
  6618. }
  6619. ],
  6620. "produces": [
  6621. "application/json"
  6622. ],
  6623. "tags": [
  6624. "定制【海商报业】"
  6625. ],
  6626. "summary": "设置我的包裹已收货状态",
  6627. "parameters": [
  6628. {
  6629. "type": "string",
  6630. "description": "提货单号",
  6631. "name": "takeOrderID",
  6632. "in": "query",
  6633. "required": true
  6634. },
  6635. {
  6636. "type": "integer",
  6637. "description": "资金账号",
  6638. "name": "accountID",
  6639. "in": "query",
  6640. "required": true
  6641. }
  6642. ],
  6643. "responses": {
  6644. "200": {
  6645. "description": "OK",
  6646. "schema": {
  6647. "$ref": "#/definitions/app.Response"
  6648. }
  6649. },
  6650. "500": {
  6651. "description": "Internal Server Error",
  6652. "schema": {
  6653. "$ref": "#/definitions/app.Response"
  6654. }
  6655. }
  6656. }
  6657. }
  6658. },
  6659. "/Market/GetAllExExchanges": {
  6660. "get": {
  6661. "security": [
  6662. {
  6663. "ApiKeyAuth": []
  6664. }
  6665. ],
  6666. "produces": [
  6667. "application/json"
  6668. ],
  6669. "tags": [
  6670. "通用市场"
  6671. ],
  6672. "summary": "获取所有外部交易所信息",
  6673. "responses": {
  6674. "200": {
  6675. "description": "OK",
  6676. "schema": {
  6677. "$ref": "#/definitions/models.Goods"
  6678. }
  6679. },
  6680. "500": {
  6681. "description": "Internal Server Error",
  6682. "schema": {
  6683. "$ref": "#/definitions/app.Response"
  6684. }
  6685. }
  6686. }
  6687. }
  6688. },
  6689. "/Market/QueryGoodsesByLoginID": {
  6690. "get": {
  6691. "security": [
  6692. {
  6693. "ApiKeyAuth": []
  6694. }
  6695. ],
  6696. "produces": [
  6697. "application/json"
  6698. ],
  6699. "tags": [
  6700. "通用市场"
  6701. ],
  6702. "summary": "获取登录账号有权限的商品信息",
  6703. "parameters": [
  6704. {
  6705. "type": "integer",
  6706. "description": "登录账号",
  6707. "name": "loginID",
  6708. "in": "query",
  6709. "required": true
  6710. },
  6711. {
  6712. "type": "string",
  6713. "description": "市场ID列表,格式:1,2,3",
  6714. "name": "marketIDs",
  6715. "in": "query"
  6716. }
  6717. ],
  6718. "responses": {
  6719. "200": {
  6720. "description": "OK",
  6721. "schema": {
  6722. "$ref": "#/definitions/models.Goods"
  6723. }
  6724. },
  6725. "500": {
  6726. "description": "Internal Server Error",
  6727. "schema": {
  6728. "$ref": "#/definitions/app.Response"
  6729. }
  6730. }
  6731. }
  6732. }
  6733. },
  6734. "/Market/QueryMarketRun": {
  6735. "get": {
  6736. "security": [
  6737. {
  6738. "ApiKeyAuth": []
  6739. }
  6740. ],
  6741. "produces": [
  6742. "application/json"
  6743. ],
  6744. "tags": [
  6745. "通用市场"
  6746. ],
  6747. "summary": "查询市场运行信息",
  6748. "parameters": [
  6749. {
  6750. "type": "integer",
  6751. "description": "市场ID,不传返回所有",
  6752. "name": "marketID",
  6753. "in": "query"
  6754. }
  6755. ],
  6756. "responses": {
  6757. "200": {
  6758. "description": "OK",
  6759. "schema": {
  6760. "$ref": "#/definitions/models.Marketrun"
  6761. }
  6762. },
  6763. "500": {
  6764. "description": "Internal Server Error",
  6765. "schema": {
  6766. "$ref": "#/definitions/app.Response"
  6767. }
  6768. }
  6769. }
  6770. }
  6771. },
  6772. "/Market/QueryMarketsByLoginID": {
  6773. "get": {
  6774. "security": [
  6775. {
  6776. "ApiKeyAuth": []
  6777. }
  6778. ],
  6779. "produces": [
  6780. "application/json"
  6781. ],
  6782. "tags": [
  6783. "通用市场"
  6784. ],
  6785. "summary": "获取登录账号有权限的市场信息",
  6786. "parameters": [
  6787. {
  6788. "type": "integer",
  6789. "description": "登录账号",
  6790. "name": "loginID",
  6791. "in": "query",
  6792. "required": true
  6793. }
  6794. ],
  6795. "responses": {
  6796. "200": {
  6797. "description": "OK",
  6798. "schema": {
  6799. "$ref": "#/definitions/models.Market"
  6800. }
  6801. },
  6802. "500": {
  6803. "description": "Internal Server Error",
  6804. "schema": {
  6805. "$ref": "#/definitions/app.Response"
  6806. }
  6807. }
  6808. }
  6809. }
  6810. },
  6811. "/Order/QueryHisTradeDetail": {
  6812. "get": {
  6813. "security": [
  6814. {
  6815. "ApiKeyAuth": []
  6816. }
  6817. ],
  6818. "produces": [
  6819. "application/json"
  6820. ],
  6821. "tags": [
  6822. "通用单据"
  6823. ],
  6824. "summary": "历史成交单查询(合约市场)",
  6825. "parameters": [
  6826. {
  6827. "type": "string",
  6828. "description": "资金账户 - 格式:1,2,3",
  6829. "name": "accountID",
  6830. "in": "query",
  6831. "required": true
  6832. },
  6833. {
  6834. "type": "integer",
  6835. "description": "成交单号",
  6836. "name": "tradeID",
  6837. "in": "query"
  6838. },
  6839. {
  6840. "type": "integer",
  6841. "description": "委托单号",
  6842. "name": "orderID",
  6843. "in": "query"
  6844. },
  6845. {
  6846. "type": "integer",
  6847. "description": "商品ID",
  6848. "name": "goodsID",
  6849. "in": "query"
  6850. },
  6851. {
  6852. "type": "string",
  6853. "description": "交易模式 - 格式:1,2,3",
  6854. "name": "tradeMode",
  6855. "in": "query"
  6856. },
  6857. {
  6858. "type": "integer",
  6859. "description": "委托单据类型",
  6860. "name": "buildType",
  6861. "in": "query"
  6862. },
  6863. {
  6864. "type": "string",
  6865. "description": "成交类别 - 格式:1,2,3",
  6866. "name": "tradeType",
  6867. "in": "query"
  6868. },
  6869. {
  6870. "type": "string",
  6871. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6872. "name": "startDate",
  6873. "in": "query"
  6874. },
  6875. {
  6876. "type": "string",
  6877. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6878. "name": "endDate",
  6879. "in": "query"
  6880. }
  6881. ],
  6882. "responses": {
  6883. "200": {
  6884. "description": "OK",
  6885. "schema": {
  6886. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6887. }
  6888. },
  6889. "500": {
  6890. "description": "Internal Server Error",
  6891. "schema": {
  6892. "$ref": "#/definitions/app.Response"
  6893. }
  6894. }
  6895. }
  6896. }
  6897. },
  6898. "/Order/QueryHisTradeOrderDetail": {
  6899. "get": {
  6900. "security": [
  6901. {
  6902. "ApiKeyAuth": []
  6903. }
  6904. ],
  6905. "produces": [
  6906. "application/json"
  6907. ],
  6908. "tags": [
  6909. "通用单据"
  6910. ],
  6911. "summary": "历史委托单查询请求(合约市场)",
  6912. "parameters": [
  6913. {
  6914. "type": "string",
  6915. "description": "资金账户 - 格式:1,2,3",
  6916. "name": "accountID",
  6917. "in": "query",
  6918. "required": true
  6919. },
  6920. {
  6921. "type": "string",
  6922. "description": "交易模式 - 格式:1,2,3",
  6923. "name": "tradeMode",
  6924. "in": "query"
  6925. },
  6926. {
  6927. "type": "string",
  6928. "description": "委托状态 - 格式:1,2,3",
  6929. "name": "orderStatus",
  6930. "in": "query"
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "委托单号",
  6935. "name": "orderID",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "string",
  6940. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6941. "name": "startDate",
  6942. "in": "query"
  6943. },
  6944. {
  6945. "type": "string",
  6946. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6947. "name": "endDate",
  6948. "in": "query"
  6949. }
  6950. ],
  6951. "responses": {
  6952. "200": {
  6953. "description": "OK",
  6954. "schema": {
  6955. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6956. }
  6957. },
  6958. "500": {
  6959. "description": "Internal Server Error",
  6960. "schema": {
  6961. "$ref": "#/definitions/app.Response"
  6962. }
  6963. }
  6964. }
  6965. }
  6966. },
  6967. "/Order/QueryTradeDetail": {
  6968. "get": {
  6969. "security": [
  6970. {
  6971. "ApiKeyAuth": []
  6972. }
  6973. ],
  6974. "produces": [
  6975. "application/json"
  6976. ],
  6977. "tags": [
  6978. "通用单据"
  6979. ],
  6980. "summary": "成交单查询(合约市场)",
  6981. "parameters": [
  6982. {
  6983. "type": "string",
  6984. "description": "资金账户 - 格式:1,2,3",
  6985. "name": "accountID",
  6986. "in": "query",
  6987. "required": true
  6988. },
  6989. {
  6990. "type": "integer",
  6991. "description": "成交单号",
  6992. "name": "tradeID",
  6993. "in": "query"
  6994. },
  6995. {
  6996. "type": "integer",
  6997. "description": "委托单号",
  6998. "name": "orderID",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "string",
  7003. "description": "交易模式 - 格式:1,2,3",
  7004. "name": "tradeMode",
  7005. "in": "query"
  7006. },
  7007. {
  7008. "type": "integer",
  7009. "description": "委托单据类型",
  7010. "name": "buildType",
  7011. "in": "query"
  7012. },
  7013. {
  7014. "type": "string",
  7015. "description": "成交类别 - 格式:1,2,3",
  7016. "name": "tradeType",
  7017. "in": "query"
  7018. },
  7019. {
  7020. "type": "integer",
  7021. "description": "商品ID",
  7022. "name": "goodsID",
  7023. "in": "query"
  7024. }
  7025. ],
  7026. "responses": {
  7027. "200": {
  7028. "description": "OK",
  7029. "schema": {
  7030. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7031. }
  7032. },
  7033. "500": {
  7034. "description": "Internal Server Error",
  7035. "schema": {
  7036. "$ref": "#/definitions/app.Response"
  7037. }
  7038. }
  7039. }
  7040. }
  7041. },
  7042. "/Order/QueryTradeOrderDetail": {
  7043. "get": {
  7044. "security": [
  7045. {
  7046. "ApiKeyAuth": []
  7047. }
  7048. ],
  7049. "produces": [
  7050. "application/json"
  7051. ],
  7052. "tags": [
  7053. "通用单据"
  7054. ],
  7055. "summary": "委托单查询请求(合约市场)",
  7056. "parameters": [
  7057. {
  7058. "type": "string",
  7059. "description": "资金账户 - 格式:1,2,3",
  7060. "name": "accountID",
  7061. "in": "query",
  7062. "required": true
  7063. },
  7064. {
  7065. "type": "string",
  7066. "description": "交易模式 - 格式:1,2,3",
  7067. "name": "tradeMode",
  7068. "in": "query"
  7069. },
  7070. {
  7071. "type": "string",
  7072. "description": "委托状态 - 格式:1,2,3",
  7073. "name": "orderStatus",
  7074. "in": "query"
  7075. },
  7076. {
  7077. "type": "integer",
  7078. "description": "委托单号",
  7079. "name": "orderID",
  7080. "in": "query"
  7081. }
  7082. ],
  7083. "responses": {
  7084. "200": {
  7085. "description": "OK",
  7086. "schema": {
  7087. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7088. }
  7089. },
  7090. "500": {
  7091. "description": "Internal Server Error",
  7092. "schema": {
  7093. "$ref": "#/definitions/app.Response"
  7094. }
  7095. }
  7096. }
  7097. }
  7098. },
  7099. "/Order/QueryTradePosition": {
  7100. "get": {
  7101. "security": [
  7102. {
  7103. "ApiKeyAuth": []
  7104. }
  7105. ],
  7106. "produces": [
  7107. "application/json"
  7108. ],
  7109. "tags": [
  7110. "通用单据"
  7111. ],
  7112. "summary": "持仓汇总查询(合约市场)",
  7113. "parameters": [
  7114. {
  7115. "type": "string",
  7116. "description": "资金账户 - 格式:1,2,3",
  7117. "name": "accountID",
  7118. "in": "query",
  7119. "required": true
  7120. },
  7121. {
  7122. "type": "string",
  7123. "description": "交易模式 - 格式:1,2,3",
  7124. "name": "tradeMode",
  7125. "in": "query"
  7126. }
  7127. ],
  7128. "responses": {
  7129. "200": {
  7130. "description": "OK",
  7131. "schema": {
  7132. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7133. }
  7134. },
  7135. "500": {
  7136. "description": "Internal Server Error",
  7137. "schema": {
  7138. "$ref": "#/definitions/app.Response"
  7139. }
  7140. }
  7141. }
  7142. }
  7143. },
  7144. "/Qhj/QueryAccountInOutApply": {
  7145. "get": {
  7146. "security": [
  7147. {
  7148. "ApiKeyAuth": []
  7149. }
  7150. ],
  7151. "produces": [
  7152. "application/json"
  7153. ],
  7154. "tags": [
  7155. "大连千海金"
  7156. ],
  7157. "summary": "查询充值提现",
  7158. "parameters": [
  7159. {
  7160. "type": "integer",
  7161. "description": "用户ID",
  7162. "name": "userid",
  7163. "in": "query",
  7164. "required": true
  7165. },
  7166. {
  7167. "type": "string",
  7168. "description": "申请起始日期(格式yyyymmdd)",
  7169. "name": "begindate",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "string",
  7174. "description": "申请截止日期(格式yyyymmdd)",
  7175. "name": "enddate",
  7176. "in": "query"
  7177. },
  7178. {
  7179. "type": "string",
  7180. "description": "模糊搜索名称",
  7181. "name": "likename",
  7182. "in": "query"
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "type": "array",
  7190. "items": {
  7191. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7192. }
  7193. }
  7194. },
  7195. "500": {
  7196. "description": "Internal Server Error",
  7197. "schema": {
  7198. "$ref": "#/definitions/app.Response"
  7199. }
  7200. }
  7201. }
  7202. }
  7203. },
  7204. "/Qhj/QueryAreaFinanceConfig": {
  7205. "get": {
  7206. "security": [
  7207. {
  7208. "ApiKeyAuth": []
  7209. }
  7210. ],
  7211. "produces": [
  7212. "application/json"
  7213. ],
  7214. "tags": [
  7215. "大连千海金"
  7216. ],
  7217. "summary": "查询企业配置表",
  7218. "parameters": [
  7219. {
  7220. "type": "integer",
  7221. "description": "机构用户ID 其他做市关系,都设置为 1",
  7222. "name": "userid",
  7223. "in": "query"
  7224. }
  7225. ],
  7226. "responses": {
  7227. "200": {
  7228. "description": "OK",
  7229. "schema": {
  7230. "type": "array",
  7231. "items": {
  7232. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7233. }
  7234. }
  7235. },
  7236. "500": {
  7237. "description": "Internal Server Error",
  7238. "schema": {
  7239. "$ref": "#/definitions/app.Response"
  7240. }
  7241. }
  7242. }
  7243. }
  7244. },
  7245. "/Qhj/QueryBankAccountSign": {
  7246. "get": {
  7247. "security": [
  7248. {
  7249. "ApiKeyAuth": []
  7250. }
  7251. ],
  7252. "produces": [
  7253. "application/json"
  7254. ],
  7255. "tags": [
  7256. "大连千海金"
  7257. ],
  7258. "summary": "查询签约银行信息(提现账户管理)",
  7259. "parameters": [
  7260. {
  7261. "type": "integer",
  7262. "description": "用户ID",
  7263. "name": "userid",
  7264. "in": "query",
  7265. "required": true
  7266. }
  7267. ],
  7268. "responses": {
  7269. "200": {
  7270. "description": "OK",
  7271. "schema": {
  7272. "type": "array",
  7273. "items": {
  7274. "$ref": "#/definitions/models.QhjBankAccountSign"
  7275. }
  7276. }
  7277. },
  7278. "500": {
  7279. "description": "Internal Server Error",
  7280. "schema": {
  7281. "$ref": "#/definitions/app.Response"
  7282. }
  7283. }
  7284. }
  7285. }
  7286. },
  7287. "/Qhj/QueryBankInfo": {
  7288. "get": {
  7289. "security": [
  7290. {
  7291. "ApiKeyAuth": []
  7292. }
  7293. ],
  7294. "produces": [
  7295. "application/json"
  7296. ],
  7297. "tags": [
  7298. "大连千海金"
  7299. ],
  7300. "summary": "查询开户行",
  7301. "responses": {
  7302. "200": {
  7303. "description": "OK",
  7304. "schema": {
  7305. "type": "array",
  7306. "items": {
  7307. "$ref": "#/definitions/models.QhjBankInfo"
  7308. }
  7309. }
  7310. },
  7311. "500": {
  7312. "description": "Internal Server Error",
  7313. "schema": {
  7314. "$ref": "#/definitions/app.Response"
  7315. }
  7316. }
  7317. }
  7318. }
  7319. },
  7320. "/Qhj/QueryBrokerApply": {
  7321. "get": {
  7322. "security": [
  7323. {
  7324. "ApiKeyAuth": []
  7325. }
  7326. ],
  7327. "produces": [
  7328. "application/json"
  7329. ],
  7330. "tags": [
  7331. "大连千海金"
  7332. ],
  7333. "summary": "查询经纪人申请",
  7334. "parameters": [
  7335. {
  7336. "type": "integer",
  7337. "description": "所属机构ID",
  7338. "name": "userid",
  7339. "in": "query"
  7340. },
  7341. {
  7342. "type": "string",
  7343. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7344. "name": "filterstatus",
  7345. "in": "query"
  7346. }
  7347. ],
  7348. "responses": {
  7349. "200": {
  7350. "description": "OK",
  7351. "schema": {
  7352. "type": "array",
  7353. "items": {
  7354. "$ref": "#/definitions/models.QhjBrokerApply"
  7355. }
  7356. }
  7357. },
  7358. "500": {
  7359. "description": "Internal Server Error",
  7360. "schema": {
  7361. "$ref": "#/definitions/app.Response"
  7362. }
  7363. }
  7364. }
  7365. }
  7366. },
  7367. "/Qhj/QueryBrokerApplyEx": {
  7368. "get": {
  7369. "security": [
  7370. {
  7371. "ApiKeyAuth": []
  7372. }
  7373. ],
  7374. "produces": [
  7375. "application/json"
  7376. ],
  7377. "tags": [
  7378. "大连千海金"
  7379. ],
  7380. "summary": "查询经纪人信息和申请记录",
  7381. "parameters": [
  7382. {
  7383. "type": "integer",
  7384. "description": "所属机构ID",
  7385. "name": "userid",
  7386. "in": "query"
  7387. }
  7388. ],
  7389. "responses": {
  7390. "200": {
  7391. "description": "OK",
  7392. "schema": {
  7393. "type": "array",
  7394. "items": {
  7395. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7396. }
  7397. }
  7398. },
  7399. "500": {
  7400. "description": "Internal Server Error",
  7401. "schema": {
  7402. "$ref": "#/definitions/app.Response"
  7403. }
  7404. }
  7405. }
  7406. }
  7407. },
  7408. "/Qhj/QueryBrokerRewardLog": {
  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": "userid",
  7427. "in": "query",
  7428. "required": true
  7429. },
  7430. {
  7431. "type": "string",
  7432. "description": "开始交易日(yyyymmdd)",
  7433. "name": "begindate",
  7434. "in": "query"
  7435. },
  7436. {
  7437. "type": "string",
  7438. "description": "结束交易日(yyyymmdd)",
  7439. "name": "enddate",
  7440. "in": "query"
  7441. }
  7442. ],
  7443. "responses": {
  7444. "200": {
  7445. "description": "OK",
  7446. "schema": {
  7447. "type": "array",
  7448. "items": {
  7449. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7450. }
  7451. }
  7452. },
  7453. "500": {
  7454. "description": "Internal Server Error",
  7455. "schema": {
  7456. "$ref": "#/definitions/app.Response"
  7457. }
  7458. }
  7459. }
  7460. }
  7461. },
  7462. "/Qhj/QueryContract": {
  7463. "get": {
  7464. "security": [
  7465. {
  7466. "ApiKeyAuth": []
  7467. }
  7468. ],
  7469. "produces": [
  7470. "application/json"
  7471. ],
  7472. "tags": [
  7473. "大连千海金"
  7474. ],
  7475. "summary": "查询融资明细(合同)",
  7476. "parameters": [
  7477. {
  7478. "type": "integer",
  7479. "description": "用户ID",
  7480. "name": "userid",
  7481. "in": "query"
  7482. },
  7483. {
  7484. "type": "integer",
  7485. "description": "scf合同id",
  7486. "name": "scfcontractid",
  7487. "in": "query"
  7488. }
  7489. ],
  7490. "responses": {
  7491. "200": {
  7492. "description": "OK",
  7493. "schema": {
  7494. "type": "array",
  7495. "items": {
  7496. "$ref": "#/definitions/models.QhjContract"
  7497. }
  7498. }
  7499. },
  7500. "500": {
  7501. "description": "Internal Server Error",
  7502. "schema": {
  7503. "$ref": "#/definitions/app.Response"
  7504. }
  7505. }
  7506. }
  7507. }
  7508. },
  7509. "/Qhj/QueryContractLog": {
  7510. "get": {
  7511. "security": [
  7512. {
  7513. "ApiKeyAuth": []
  7514. }
  7515. ],
  7516. "produces": [
  7517. "application/json"
  7518. ],
  7519. "tags": [
  7520. "大连千海金"
  7521. ],
  7522. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7523. "parameters": [
  7524. {
  7525. "type": "integer",
  7526. "description": "scf合同id",
  7527. "name": "scfcontractid",
  7528. "in": "query",
  7529. "required": true
  7530. },
  7531. {
  7532. "type": "string",
  7533. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7534. "name": "amounttype",
  7535. "in": "query"
  7536. }
  7537. ],
  7538. "responses": {
  7539. "200": {
  7540. "description": "OK",
  7541. "schema": {
  7542. "type": "array",
  7543. "items": {
  7544. "$ref": "#/definitions/models.QhjContractLog"
  7545. }
  7546. }
  7547. },
  7548. "500": {
  7549. "description": "Internal Server Error",
  7550. "schema": {
  7551. "$ref": "#/definitions/app.Response"
  7552. }
  7553. }
  7554. }
  7555. }
  7556. },
  7557. "/Qhj/QueryCusBankSignBank": {
  7558. "get": {
  7559. "security": [
  7560. {
  7561. "ApiKeyAuth": []
  7562. }
  7563. ],
  7564. "produces": [
  7565. "application/json"
  7566. ],
  7567. "tags": [
  7568. "大连千海金"
  7569. ],
  7570. "summary": "查询托管银行",
  7571. "responses": {
  7572. "200": {
  7573. "description": "OK",
  7574. "schema": {
  7575. "type": "array",
  7576. "items": {
  7577. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7578. }
  7579. }
  7580. },
  7581. "500": {
  7582. "description": "Internal Server Error",
  7583. "schema": {
  7584. "$ref": "#/definitions/app.Response"
  7585. }
  7586. }
  7587. }
  7588. }
  7589. },
  7590. "/Qhj/QueryCustomerInfo": {
  7591. "get": {
  7592. "security": [
  7593. {
  7594. "ApiKeyAuth": []
  7595. }
  7596. ],
  7597. "produces": [
  7598. "application/json"
  7599. ],
  7600. "tags": [
  7601. "大连千海金"
  7602. ],
  7603. "summary": "查询客户资料",
  7604. "parameters": [
  7605. {
  7606. "type": "integer",
  7607. "description": "用户ID",
  7608. "name": "userid",
  7609. "in": "query",
  7610. "required": true
  7611. },
  7612. {
  7613. "type": "integer",
  7614. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7615. "name": "querytype",
  7616. "in": "query",
  7617. "required": true
  7618. },
  7619. {
  7620. "type": "integer",
  7621. "description": "客户类型 1-个人 2-企业",
  7622. "name": "userinfotype",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "string",
  7627. "description": "客户名称(模糊匹配)",
  7628. "name": "customername",
  7629. "in": "query"
  7630. },
  7631. {
  7632. "type": "string",
  7633. "description": "昵称(模糊匹配)",
  7634. "name": "nickname",
  7635. "in": "query"
  7636. },
  7637. {
  7638. "type": "integer",
  7639. "description": "是否包含子级 1-包含",
  7640. "name": "includesub",
  7641. "in": "query"
  7642. }
  7643. ],
  7644. "responses": {
  7645. "200": {
  7646. "description": "OK",
  7647. "schema": {
  7648. "type": "array",
  7649. "items": {
  7650. "$ref": "#/definitions/models.QhjCustomer"
  7651. }
  7652. }
  7653. },
  7654. "500": {
  7655. "description": "Internal Server Error",
  7656. "schema": {
  7657. "$ref": "#/definitions/app.Response"
  7658. }
  7659. }
  7660. }
  7661. }
  7662. },
  7663. "/Qhj/QueryGoodsEx": {
  7664. "get": {
  7665. "security": [
  7666. {
  7667. "ApiKeyAuth": []
  7668. }
  7669. ],
  7670. "produces": [
  7671. "application/json"
  7672. ],
  7673. "tags": [
  7674. "大连千海金"
  7675. ],
  7676. "summary": "交易商品扩展表",
  7677. "parameters": [
  7678. {
  7679. "type": "integer",
  7680. "description": "商品id",
  7681. "name": "goodsid",
  7682. "in": "query"
  7683. }
  7684. ],
  7685. "responses": {
  7686. "200": {
  7687. "description": "OK",
  7688. "schema": {
  7689. "type": "array",
  7690. "items": {
  7691. "$ref": "#/definitions/models.Qhjgoodsex"
  7692. }
  7693. }
  7694. },
  7695. "500": {
  7696. "description": "Internal Server Error",
  7697. "schema": {
  7698. "$ref": "#/definitions/app.Response"
  7699. }
  7700. }
  7701. }
  7702. }
  7703. },
  7704. "/Qhj/QueryMyTeam": {
  7705. "get": {
  7706. "security": [
  7707. {
  7708. "ApiKeyAuth": []
  7709. }
  7710. ],
  7711. "produces": [
  7712. "application/json"
  7713. ],
  7714. "tags": [
  7715. "大连千海金"
  7716. ],
  7717. "summary": "查询我的团队",
  7718. "parameters": [
  7719. {
  7720. "type": "integer",
  7721. "description": "用户ID",
  7722. "name": "userid",
  7723. "in": "query",
  7724. "required": true
  7725. }
  7726. ],
  7727. "responses": {
  7728. "200": {
  7729. "description": "OK",
  7730. "schema": {
  7731. "type": "array",
  7732. "items": {
  7733. "$ref": "#/definitions/models.QhjMyTeamEx"
  7734. }
  7735. }
  7736. },
  7737. "500": {
  7738. "description": "Internal Server Error",
  7739. "schema": {
  7740. "$ref": "#/definitions/app.Response"
  7741. }
  7742. }
  7743. }
  7744. }
  7745. },
  7746. "/Qhj/QueryMyTeamOrder": {
  7747. "get": {
  7748. "security": [
  7749. {
  7750. "ApiKeyAuth": []
  7751. }
  7752. ],
  7753. "produces": [
  7754. "application/json"
  7755. ],
  7756. "tags": [
  7757. "大连千海金"
  7758. ],
  7759. "summary": "查询团队订单(我的团队/团队订单)",
  7760. "parameters": [
  7761. {
  7762. "type": "integer",
  7763. "description": "页码",
  7764. "name": "page",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "integer",
  7769. "description": "每页条数",
  7770. "name": "pagesize",
  7771. "in": "query"
  7772. },
  7773. {
  7774. "type": "integer",
  7775. "description": "用户ID",
  7776. "name": "userid",
  7777. "in": "query",
  7778. "required": true
  7779. },
  7780. {
  7781. "type": "integer",
  7782. "description": "交易模式",
  7783. "name": "trademode",
  7784. "in": "query"
  7785. },
  7786. {
  7787. "type": "string",
  7788. "description": "名称(模糊搜索账户)",
  7789. "name": "filtername",
  7790. "in": "query"
  7791. }
  7792. ],
  7793. "responses": {
  7794. "200": {
  7795. "description": "OK",
  7796. "schema": {
  7797. "type": "array",
  7798. "items": {
  7799. "$ref": "#/definitions/models.QhjTeamOrder"
  7800. }
  7801. }
  7802. },
  7803. "500": {
  7804. "description": "Internal Server Error",
  7805. "schema": {
  7806. "$ref": "#/definitions/app.Response"
  7807. }
  7808. }
  7809. }
  7810. }
  7811. },
  7812. "/Qhj/QueryParentAreaList": {
  7813. "get": {
  7814. "security": [
  7815. {
  7816. "ApiKeyAuth": []
  7817. }
  7818. ],
  7819. "produces": [
  7820. "application/json"
  7821. ],
  7822. "tags": [
  7823. "大连千海金"
  7824. ],
  7825. "summary": "查询所属机构列表",
  7826. "parameters": [
  7827. {
  7828. "type": "integer",
  7829. "description": "用户ID",
  7830. "name": "userid",
  7831. "in": "query",
  7832. "required": true
  7833. }
  7834. ],
  7835. "responses": {
  7836. "200": {
  7837. "description": "OK",
  7838. "schema": {
  7839. "type": "array",
  7840. "items": {
  7841. "$ref": "#/definitions/models.QhjParentAreaList"
  7842. }
  7843. }
  7844. },
  7845. "500": {
  7846. "description": "Internal Server Error",
  7847. "schema": {
  7848. "$ref": "#/definitions/app.Response"
  7849. }
  7850. }
  7851. }
  7852. }
  7853. },
  7854. "/Qhj/QueryPayOrder": {
  7855. "get": {
  7856. "security": [
  7857. {
  7858. "ApiKeyAuth": []
  7859. }
  7860. ],
  7861. "produces": [
  7862. "application/json"
  7863. ],
  7864. "tags": [
  7865. "大连千海金"
  7866. ],
  7867. "summary": "查询待付款单据",
  7868. "parameters": [
  7869. {
  7870. "type": "integer",
  7871. "description": "资金账号id",
  7872. "name": "accountid",
  7873. "in": "query",
  7874. "required": true
  7875. },
  7876. {
  7877. "type": "integer",
  7878. "description": "成交单号",
  7879. "name": "tradeid",
  7880. "in": "query"
  7881. },
  7882. {
  7883. "type": "string",
  7884. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7885. "name": "payflag",
  7886. "in": "query"
  7887. }
  7888. ],
  7889. "responses": {
  7890. "200": {
  7891. "description": "OK",
  7892. "schema": {
  7893. "type": "array",
  7894. "items": {
  7895. "$ref": "#/definitions/models.QhjPayOrder"
  7896. }
  7897. }
  7898. },
  7899. "500": {
  7900. "description": "Internal Server Error",
  7901. "schema": {
  7902. "$ref": "#/definitions/app.Response"
  7903. }
  7904. }
  7905. }
  7906. }
  7907. },
  7908. "/Qhj/QueryPickArea": {
  7909. "get": {
  7910. "security": [
  7911. {
  7912. "ApiKeyAuth": []
  7913. }
  7914. ],
  7915. "produces": [
  7916. "application/json"
  7917. ],
  7918. "tags": [
  7919. "大连千海金"
  7920. ],
  7921. "summary": "查询提货门店",
  7922. "parameters": [
  7923. {
  7924. "type": "integer",
  7925. "description": "用户ID",
  7926. "name": "userid",
  7927. "in": "query"
  7928. }
  7929. ],
  7930. "responses": {
  7931. "200": {
  7932. "description": "OK",
  7933. "schema": {
  7934. "type": "array",
  7935. "items": {
  7936. "$ref": "#/definitions/models.QhjPickArea"
  7937. }
  7938. }
  7939. },
  7940. "500": {
  7941. "description": "Internal Server Error",
  7942. "schema": {
  7943. "$ref": "#/definitions/app.Response"
  7944. }
  7945. }
  7946. }
  7947. }
  7948. },
  7949. "/Qhj/QueryPickGoods": {
  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",
  7967. "name": "goodsid",
  7968. "in": "query",
  7969. "required": true
  7970. },
  7971. {
  7972. "type": "string",
  7973. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7974. "name": "status",
  7975. "in": "query"
  7976. }
  7977. ],
  7978. "responses": {
  7979. "200": {
  7980. "description": "OK",
  7981. "schema": {
  7982. "type": "array",
  7983. "items": {
  7984. "$ref": "#/definitions/models.QhjPickGoods"
  7985. }
  7986. }
  7987. },
  7988. "500": {
  7989. "description": "Internal Server Error",
  7990. "schema": {
  7991. "$ref": "#/definitions/app.Response"
  7992. }
  7993. }
  7994. }
  7995. }
  7996. },
  7997. "/Qhj/QueryRSTriggerLog": {
  7998. "get": {
  7999. "security": [
  8000. {
  8001. "ApiKeyAuth": []
  8002. }
  8003. ],
  8004. "produces": [
  8005. "application/json"
  8006. ],
  8007. "tags": [
  8008. "大连千海金"
  8009. ],
  8010. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8011. "parameters": [
  8012. {
  8013. "type": "integer",
  8014. "description": "用户ID",
  8015. "name": "userid",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "定投策略id",
  8021. "name": "regularlystrategyid",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "integer",
  8026. "description": "商品id",
  8027. "name": "goodsid",
  8028. "in": "query"
  8029. },
  8030. {
  8031. "type": "string",
  8032. "description": "开始交易日(yyyymmdd)",
  8033. "name": "begindate",
  8034. "in": "query"
  8035. },
  8036. {
  8037. "type": "string",
  8038. "description": "结束交易日(yyyymmdd)",
  8039. "name": "enddate",
  8040. "in": "query"
  8041. },
  8042. {
  8043. "type": "string",
  8044. "description": "名称(模糊搜索账户)",
  8045. "name": "filtername",
  8046. "in": "query"
  8047. }
  8048. ],
  8049. "responses": {
  8050. "200": {
  8051. "description": "OK",
  8052. "schema": {
  8053. "type": "array",
  8054. "items": {
  8055. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8056. }
  8057. }
  8058. },
  8059. "500": {
  8060. "description": "Internal Server Error",
  8061. "schema": {
  8062. "$ref": "#/definitions/app.Response"
  8063. }
  8064. }
  8065. }
  8066. }
  8067. },
  8068. "/Qhj/QueryRStrategy": {
  8069. "get": {
  8070. "security": [
  8071. {
  8072. "ApiKeyAuth": []
  8073. }
  8074. ],
  8075. "produces": [
  8076. "application/json"
  8077. ],
  8078. "tags": [
  8079. "大连千海金"
  8080. ],
  8081. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8082. "parameters": [
  8083. {
  8084. "type": "integer",
  8085. "description": "用户ID",
  8086. "name": "userid",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "integer",
  8091. "description": "商品id",
  8092. "name": "goodsid",
  8093. "in": "query"
  8094. },
  8095. {
  8096. "type": "string",
  8097. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8098. "name": "status",
  8099. "in": "query"
  8100. },
  8101. {
  8102. "type": "string",
  8103. "description": "名称(模糊搜索账户)",
  8104. "name": "filtername",
  8105. "in": "query"
  8106. }
  8107. ],
  8108. "responses": {
  8109. "200": {
  8110. "description": "OK",
  8111. "schema": {
  8112. "type": "array",
  8113. "items": {
  8114. "$ref": "#/definitions/models.QhjRStrategy"
  8115. }
  8116. }
  8117. },
  8118. "500": {
  8119. "description": "Internal Server Error",
  8120. "schema": {
  8121. "$ref": "#/definitions/app.Response"
  8122. }
  8123. }
  8124. }
  8125. }
  8126. },
  8127. "/Qhj/QueryReckonPriceLog": {
  8128. "get": {
  8129. "security": [
  8130. {
  8131. "ApiKeyAuth": []
  8132. }
  8133. ],
  8134. "produces": [
  8135. "application/json"
  8136. ],
  8137. "tags": [
  8138. "大连千海金"
  8139. ],
  8140. "summary": "查询定投价(结算价)",
  8141. "parameters": [
  8142. {
  8143. "type": "integer",
  8144. "description": "商品ID",
  8145. "name": "goodsid",
  8146. "in": "query"
  8147. },
  8148. {
  8149. "type": "string",
  8150. "description": "交易日 格式(yyyymmdd)",
  8151. "name": "tradedate",
  8152. "in": "query"
  8153. }
  8154. ],
  8155. "responses": {
  8156. "200": {
  8157. "description": "OK",
  8158. "schema": {
  8159. "type": "array",
  8160. "items": {
  8161. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8162. }
  8163. }
  8164. },
  8165. "500": {
  8166. "description": "Internal Server Error",
  8167. "schema": {
  8168. "$ref": "#/definitions/app.Response"
  8169. }
  8170. }
  8171. }
  8172. }
  8173. },
  8174. "/Qhj/QueryScoreLog": {
  8175. "get": {
  8176. "security": [
  8177. {
  8178. "ApiKeyAuth": []
  8179. }
  8180. ],
  8181. "produces": [
  8182. "application/json"
  8183. ],
  8184. "tags": [
  8185. "大连千海金"
  8186. ],
  8187. "summary": "查询积分流水(我的积分)",
  8188. "parameters": [
  8189. {
  8190. "type": "integer",
  8191. "description": "用户ID",
  8192. "name": "userid",
  8193. "in": "query",
  8194. "required": true
  8195. },
  8196. {
  8197. "type": "string",
  8198. "description": "开始交易日(yyyymmdd)",
  8199. "name": "begindate",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "string",
  8204. "description": "结束交易日(yyyymmdd)",
  8205. "name": "enddate",
  8206. "in": "query"
  8207. },
  8208. {
  8209. "type": "integer",
  8210. "description": "最近多少条",
  8211. "name": "lastnum",
  8212. "in": "query"
  8213. }
  8214. ],
  8215. "responses": {
  8216. "200": {
  8217. "description": "OK",
  8218. "schema": {
  8219. "type": "array",
  8220. "items": {
  8221. "$ref": "#/definitions/models.QhjScoreLog"
  8222. }
  8223. }
  8224. },
  8225. "500": {
  8226. "description": "Internal Server Error",
  8227. "schema": {
  8228. "$ref": "#/definitions/app.Response"
  8229. }
  8230. }
  8231. }
  8232. }
  8233. },
  8234. "/Qhj/QuerySiteColumnDetail": {
  8235. "get": {
  8236. "security": [
  8237. {
  8238. "ApiKeyAuth": []
  8239. }
  8240. ],
  8241. "produces": [
  8242. "application/json"
  8243. ],
  8244. "tags": [
  8245. "大连千海金"
  8246. ],
  8247. "summary": "查询资讯",
  8248. "parameters": [
  8249. {
  8250. "type": "integer",
  8251. "description": "用户ID",
  8252. "name": "userid",
  8253. "in": "query",
  8254. "required": true
  8255. }
  8256. ],
  8257. "responses": {
  8258. "200": {
  8259. "description": "OK",
  8260. "schema": {
  8261. "type": "array",
  8262. "items": {
  8263. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8264. }
  8265. }
  8266. },
  8267. "500": {
  8268. "description": "Internal Server Error",
  8269. "schema": {
  8270. "$ref": "#/definitions/app.Response"
  8271. }
  8272. }
  8273. }
  8274. }
  8275. },
  8276. "/Qhj/QueryTradeGoodsPickup": {
  8277. "get": {
  8278. "security": [
  8279. {
  8280. "ApiKeyAuth": []
  8281. }
  8282. ],
  8283. "produces": [
  8284. "application/json"
  8285. ],
  8286. "tags": [
  8287. "大连千海金"
  8288. ],
  8289. "summary": "查询提货",
  8290. "parameters": [
  8291. {
  8292. "type": "integer",
  8293. "description": "用户ID",
  8294. "name": "userid",
  8295. "in": "query",
  8296. "required": true
  8297. },
  8298. {
  8299. "type": "integer",
  8300. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8301. "name": "takeorderstatus",
  8302. "in": "query"
  8303. }
  8304. ],
  8305. "responses": {
  8306. "200": {
  8307. "description": "OK",
  8308. "schema": {
  8309. "type": "array",
  8310. "items": {
  8311. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8312. }
  8313. }
  8314. },
  8315. "500": {
  8316. "description": "Internal Server Error",
  8317. "schema": {
  8318. "$ref": "#/definitions/app.Response"
  8319. }
  8320. }
  8321. }
  8322. }
  8323. },
  8324. "/Qhj/QueryUserCollectConfig": {
  8325. "get": {
  8326. "security": [
  8327. {
  8328. "ApiKeyAuth": []
  8329. }
  8330. ],
  8331. "produces": [
  8332. "application/json"
  8333. ],
  8334. "tags": [
  8335. "大连千海金"
  8336. ],
  8337. "summary": "查询提现账户设置",
  8338. "parameters": [
  8339. {
  8340. "type": "integer",
  8341. "description": "用户ID",
  8342. "name": "userid",
  8343. "in": "query",
  8344. "required": true
  8345. }
  8346. ],
  8347. "responses": {
  8348. "200": {
  8349. "description": "OK",
  8350. "schema": {
  8351. "type": "array",
  8352. "items": {
  8353. "$ref": "#/definitions/models.UserCollectConfig"
  8354. }
  8355. }
  8356. },
  8357. "500": {
  8358. "description": "Internal Server Error",
  8359. "schema": {
  8360. "$ref": "#/definitions/app.Response"
  8361. }
  8362. }
  8363. }
  8364. }
  8365. },
  8366. "/Qhj/QueryUserReceiveInfo": {
  8367. "get": {
  8368. "security": [
  8369. {
  8370. "ApiKeyAuth": []
  8371. }
  8372. ],
  8373. "produces": [
  8374. "application/json"
  8375. ],
  8376. "tags": [
  8377. "大连千海金"
  8378. ],
  8379. "summary": "查询收货地址信息",
  8380. "parameters": [
  8381. {
  8382. "type": "integer",
  8383. "description": "用户ID",
  8384. "name": "userid",
  8385. "in": "query",
  8386. "required": true
  8387. }
  8388. ],
  8389. "responses": {
  8390. "200": {
  8391. "description": "OK",
  8392. "schema": {
  8393. "type": "array",
  8394. "items": {
  8395. "$ref": "#/definitions/models.UserReceiveInfo"
  8396. }
  8397. }
  8398. },
  8399. "500": {
  8400. "description": "Internal Server Error",
  8401. "schema": {
  8402. "$ref": "#/definitions/app.Response"
  8403. }
  8404. }
  8405. }
  8406. }
  8407. },
  8408. "/QhjMgr/QueryAccountInOutApply": {
  8409. "get": {
  8410. "security": [
  8411. {
  8412. "ApiKeyAuth": []
  8413. }
  8414. ],
  8415. "produces": [
  8416. "application/json"
  8417. ],
  8418. "tags": [
  8419. "大连千海金(PCWeb)"
  8420. ],
  8421. "summary": "查询充值提现",
  8422. "parameters": [
  8423. {
  8424. "type": "integer",
  8425. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8426. "name": "querytype",
  8427. "in": "query",
  8428. "required": true
  8429. },
  8430. {
  8431. "type": "integer",
  8432. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8433. "name": "applystatus",
  8434. "in": "query"
  8435. },
  8436. {
  8437. "type": "string",
  8438. "description": "申请起始日期(格式yyyymmdd)",
  8439. "name": "begindate",
  8440. "in": "query"
  8441. },
  8442. {
  8443. "type": "string",
  8444. "description": "申请截止日期(格式yyyymmdd)",
  8445. "name": "enddate",
  8446. "in": "query"
  8447. },
  8448. {
  8449. "type": "string",
  8450. "description": "模糊搜索名称",
  8451. "name": "likename",
  8452. "in": "query"
  8453. }
  8454. ],
  8455. "responses": {
  8456. "200": {
  8457. "description": "OK",
  8458. "schema": {
  8459. "type": "array",
  8460. "items": {
  8461. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8462. }
  8463. }
  8464. },
  8465. "500": {
  8466. "description": "Internal Server Error",
  8467. "schema": {
  8468. "$ref": "#/definitions/app.Response"
  8469. }
  8470. }
  8471. }
  8472. }
  8473. },
  8474. "/QhjMgr/QueryBrokerApply": {
  8475. "get": {
  8476. "security": [
  8477. {
  8478. "ApiKeyAuth": []
  8479. }
  8480. ],
  8481. "produces": [
  8482. "application/json"
  8483. ],
  8484. "tags": [
  8485. "大连千海金(PCWeb)"
  8486. ],
  8487. "summary": "查询经纪人申请",
  8488. "parameters": [
  8489. {
  8490. "type": "integer",
  8491. "description": "所属机构ID",
  8492. "name": "userid",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "string",
  8497. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8498. "name": "filterstatus",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "string",
  8503. "description": "名称(模糊匹配)",
  8504. "name": "filtername",
  8505. "in": "query"
  8506. },
  8507. {
  8508. "type": "integer",
  8509. "description": "是否包含子级 1-包含",
  8510. "name": "includesub",
  8511. "in": "query"
  8512. }
  8513. ],
  8514. "responses": {
  8515. "200": {
  8516. "description": "OK",
  8517. "schema": {
  8518. "type": "array",
  8519. "items": {
  8520. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8521. }
  8522. }
  8523. },
  8524. "500": {
  8525. "description": "Internal Server Error",
  8526. "schema": {
  8527. "$ref": "#/definitions/app.Response"
  8528. }
  8529. }
  8530. }
  8531. }
  8532. },
  8533. "/QhjMgr/QueryBrokerRewardReport": {
  8534. "get": {
  8535. "security": [
  8536. {
  8537. "ApiKeyAuth": []
  8538. }
  8539. ],
  8540. "produces": [
  8541. "application/json"
  8542. ],
  8543. "tags": [
  8544. "大连千海金(PCWeb)"
  8545. ],
  8546. "summary": "查询经纪人奖励报表(废弃)",
  8547. "parameters": [
  8548. {
  8549. "type": "integer",
  8550. "description": "所属机构ID",
  8551. "name": "userid",
  8552. "in": "query",
  8553. "required": true
  8554. },
  8555. {
  8556. "type": "integer",
  8557. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8558. "name": "cycletype",
  8559. "in": "query",
  8560. "required": true
  8561. },
  8562. {
  8563. "type": "string",
  8564. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8565. "name": "cycletime",
  8566. "in": "query",
  8567. "required": true
  8568. },
  8569. {
  8570. "type": "string",
  8571. "description": "名称(模糊匹配)",
  8572. "name": "filtername",
  8573. "in": "query"
  8574. },
  8575. {
  8576. "type": "integer",
  8577. "description": "是否包含子级 1-包含",
  8578. "name": "includesub",
  8579. "in": "query"
  8580. }
  8581. ],
  8582. "responses": {
  8583. "200": {
  8584. "description": "OK",
  8585. "schema": {
  8586. "type": "array",
  8587. "items": {
  8588. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8589. }
  8590. }
  8591. },
  8592. "500": {
  8593. "description": "Internal Server Error",
  8594. "schema": {
  8595. "$ref": "#/definitions/app.Response"
  8596. }
  8597. }
  8598. }
  8599. }
  8600. },
  8601. "/QhjMgr/QueryContract": {
  8602. "get": {
  8603. "security": [
  8604. {
  8605. "ApiKeyAuth": []
  8606. }
  8607. ],
  8608. "produces": [
  8609. "application/json"
  8610. ],
  8611. "tags": [
  8612. "大连千海金(PCWeb)"
  8613. ],
  8614. "summary": "查询融资信息(合同)",
  8615. "parameters": [
  8616. {
  8617. "type": "integer",
  8618. "description": "用户ID",
  8619. "name": "userid",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "integer",
  8624. "description": "商品id",
  8625. "name": "goodsid",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "名称(模糊搜索账户)",
  8631. "name": "filtername",
  8632. "in": "query"
  8633. },
  8634. {
  8635. "type": "string",
  8636. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8637. "name": "risklevel",
  8638. "in": "query"
  8639. },
  8640. {
  8641. "type": "string",
  8642. "description": "开始交易日(yyyymmdd)",
  8643. "name": "begindate",
  8644. "in": "query"
  8645. },
  8646. {
  8647. "type": "string",
  8648. "description": "结束交易日(yyyymmdd)",
  8649. "name": "enddate",
  8650. "in": "query"
  8651. }
  8652. ],
  8653. "responses": {
  8654. "200": {
  8655. "description": "OK",
  8656. "schema": {
  8657. "type": "array",
  8658. "items": {
  8659. "$ref": "#/definitions/models.QhjMgrContract"
  8660. }
  8661. }
  8662. },
  8663. "500": {
  8664. "description": "Internal Server Error",
  8665. "schema": {
  8666. "$ref": "#/definitions/app.Response"
  8667. }
  8668. }
  8669. }
  8670. }
  8671. },
  8672. "/QhjMgr/QueryCustomerInfo": {
  8673. "get": {
  8674. "security": [
  8675. {
  8676. "ApiKeyAuth": []
  8677. }
  8678. ],
  8679. "produces": [
  8680. "application/json"
  8681. ],
  8682. "tags": [
  8683. "大连千海金(PCWeb)"
  8684. ],
  8685. "summary": "查询客户资料",
  8686. "parameters": [
  8687. {
  8688. "type": "integer",
  8689. "description": "用户ID",
  8690. "name": "userid",
  8691. "in": "query",
  8692. "required": true
  8693. },
  8694. {
  8695. "type": "integer",
  8696. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8697. "name": "querytype",
  8698. "in": "query",
  8699. "required": true
  8700. },
  8701. {
  8702. "type": "integer",
  8703. "description": "客户类型 1-个人 2-企业",
  8704. "name": "userinfotype",
  8705. "in": "query"
  8706. },
  8707. {
  8708. "type": "string",
  8709. "description": "客户名称(模糊匹配)",
  8710. "name": "customername",
  8711. "in": "query"
  8712. },
  8713. {
  8714. "type": "string",
  8715. "description": "昵称(模糊匹配)",
  8716. "name": "nickname",
  8717. "in": "query"
  8718. },
  8719. {
  8720. "type": "integer",
  8721. "description": "是否包含子级 1-包含",
  8722. "name": "includesub",
  8723. "in": "query"
  8724. }
  8725. ],
  8726. "responses": {
  8727. "200": {
  8728. "description": "OK",
  8729. "schema": {
  8730. "type": "array",
  8731. "items": {
  8732. "$ref": "#/definitions/models.QhjMgrCustomer"
  8733. }
  8734. }
  8735. },
  8736. "500": {
  8737. "description": "Internal Server Error",
  8738. "schema": {
  8739. "$ref": "#/definitions/app.Response"
  8740. }
  8741. }
  8742. }
  8743. }
  8744. },
  8745. "/QhjMgr/QueryPickGoods": {
  8746. "get": {
  8747. "security": [
  8748. {
  8749. "ApiKeyAuth": []
  8750. }
  8751. ],
  8752. "produces": [
  8753. "application/json"
  8754. ],
  8755. "tags": [
  8756. "大连千海金(PCWeb)"
  8757. ],
  8758. "summary": "查询提货商品",
  8759. "parameters": [
  8760. {
  8761. "type": "string",
  8762. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8763. "name": "status",
  8764. "in": "query"
  8765. }
  8766. ],
  8767. "responses": {
  8768. "200": {
  8769. "description": "OK",
  8770. "schema": {
  8771. "type": "array",
  8772. "items": {
  8773. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8774. }
  8775. }
  8776. },
  8777. "500": {
  8778. "description": "Internal Server Error",
  8779. "schema": {
  8780. "$ref": "#/definitions/app.Response"
  8781. }
  8782. }
  8783. }
  8784. }
  8785. },
  8786. "/QhjMgr/QuerySubArea": {
  8787. "get": {
  8788. "security": [
  8789. {
  8790. "ApiKeyAuth": []
  8791. }
  8792. ],
  8793. "produces": [
  8794. "application/json"
  8795. ],
  8796. "tags": [
  8797. "大连千海金(PCWeb)"
  8798. ],
  8799. "summary": "查询子机构列表",
  8800. "parameters": [
  8801. {
  8802. "type": "integer",
  8803. "description": "用户ID",
  8804. "name": "userid",
  8805. "in": "query",
  8806. "required": true
  8807. }
  8808. ],
  8809. "responses": {
  8810. "200": {
  8811. "description": "OK",
  8812. "schema": {
  8813. "type": "array",
  8814. "items": {
  8815. "$ref": "#/definitions/models.QhjMgrSubArea"
  8816. }
  8817. }
  8818. },
  8819. "500": {
  8820. "description": "Internal Server Error",
  8821. "schema": {
  8822. "$ref": "#/definitions/app.Response"
  8823. }
  8824. }
  8825. }
  8826. }
  8827. },
  8828. "/QhjMgr/QueryTradeDetail": {
  8829. "get": {
  8830. "security": [
  8831. {
  8832. "ApiKeyAuth": []
  8833. }
  8834. ],
  8835. "produces": [
  8836. "application/json"
  8837. ],
  8838. "tags": [
  8839. "大连千海金(PCWeb)"
  8840. ],
  8841. "summary": "查询成交明细",
  8842. "parameters": [
  8843. {
  8844. "type": "integer",
  8845. "description": "用户ID",
  8846. "name": "userid",
  8847. "in": "query",
  8848. "required": true
  8849. },
  8850. {
  8851. "type": "integer",
  8852. "description": "用户类型 1-个人 2-企业",
  8853. "name": "userinfotype",
  8854. "in": "query"
  8855. },
  8856. {
  8857. "type": "integer",
  8858. "description": "交易模式",
  8859. "name": "trademode",
  8860. "in": "query"
  8861. },
  8862. {
  8863. "type": "integer",
  8864. "description": "商品id",
  8865. "name": "goodsid",
  8866. "in": "query"
  8867. },
  8868. {
  8869. "type": "string",
  8870. "description": "名称(模糊搜索账户)",
  8871. "name": "filtername",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "开始交易日(yyyymmdd)",
  8877. "name": "begindate",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "string",
  8882. "description": "结束交易日(yyyymmdd)",
  8883. "name": "enddate",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "integer",
  8888. "description": "是否包含子级 1-包含",
  8889. "name": "includesub",
  8890. "in": "query"
  8891. }
  8892. ],
  8893. "responses": {
  8894. "200": {
  8895. "description": "OK",
  8896. "schema": {
  8897. "type": "array",
  8898. "items": {
  8899. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8900. }
  8901. }
  8902. },
  8903. "500": {
  8904. "description": "Internal Server Error",
  8905. "schema": {
  8906. "$ref": "#/definitions/app.Response"
  8907. }
  8908. }
  8909. }
  8910. }
  8911. },
  8912. "/QhjMgr/QueryTradeOrderDetail": {
  8913. "get": {
  8914. "security": [
  8915. {
  8916. "ApiKeyAuth": []
  8917. }
  8918. ],
  8919. "produces": [
  8920. "application/json"
  8921. ],
  8922. "tags": [
  8923. "大连千海金(PCWeb)"
  8924. ],
  8925. "summary": "查询委托明细",
  8926. "parameters": [
  8927. {
  8928. "type": "integer",
  8929. "description": "用户ID",
  8930. "name": "userid",
  8931. "in": "query",
  8932. "required": true
  8933. },
  8934. {
  8935. "type": "integer",
  8936. "description": "用户类型 1-个人 2-企业",
  8937. "name": "userinfotype",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": "交易模式",
  8943. "name": "trademode",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "integer",
  8948. "description": "商品id",
  8949. "name": "goodsid",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "string",
  8954. "description": "名称(模糊搜索账户)",
  8955. "name": "filtername",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "string",
  8960. "description": "开始交易日(yyyymmdd)",
  8961. "name": "begindate",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "string",
  8966. "description": "结束交易日(yyyymmdd)",
  8967. "name": "enddate",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "integer",
  8972. "description": "是否包含子级 1-包含",
  8973. "name": "includesub",
  8974. "in": "query"
  8975. }
  8976. ],
  8977. "responses": {
  8978. "200": {
  8979. "description": "OK",
  8980. "schema": {
  8981. "type": "array",
  8982. "items": {
  8983. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8984. }
  8985. }
  8986. },
  8987. "500": {
  8988. "description": "Internal Server Error",
  8989. "schema": {
  8990. "$ref": "#/definitions/app.Response"
  8991. }
  8992. }
  8993. }
  8994. }
  8995. },
  8996. "/QhjMgr/QueryTradePayOrder": {
  8997. "get": {
  8998. "security": [
  8999. {
  9000. "ApiKeyAuth": []
  9001. }
  9002. ],
  9003. "produces": [
  9004. "application/json"
  9005. ],
  9006. "tags": [
  9007. "大连千海金(PCWeb)"
  9008. ],
  9009. "summary": "查询待付款单",
  9010. "parameters": [
  9011. {
  9012. "type": "integer",
  9013. "description": "用户ID",
  9014. "name": "userid",
  9015. "in": "query",
  9016. "required": true
  9017. },
  9018. {
  9019. "type": "string",
  9020. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9021. "name": "payflag",
  9022. "in": "query"
  9023. },
  9024. {
  9025. "type": "integer",
  9026. "description": "用户类型 1-个人 2-企业",
  9027. "name": "userinfotype",
  9028. "in": "query"
  9029. },
  9030. {
  9031. "type": "integer",
  9032. "description": "交易模式",
  9033. "name": "trademode",
  9034. "in": "query"
  9035. },
  9036. {
  9037. "type": "integer",
  9038. "description": "商品id",
  9039. "name": "goodsid",
  9040. "in": "query"
  9041. },
  9042. {
  9043. "type": "string",
  9044. "description": "名称(模糊搜索账户)",
  9045. "name": "filtername",
  9046. "in": "query"
  9047. },
  9048. {
  9049. "type": "string",
  9050. "description": "开始交易日(yyyymmdd)",
  9051. "name": "begindate",
  9052. "in": "query"
  9053. },
  9054. {
  9055. "type": "string",
  9056. "description": "结束交易日(yyyymmdd)",
  9057. "name": "enddate",
  9058. "in": "query"
  9059. },
  9060. {
  9061. "type": "integer",
  9062. "description": "是否包含子级 1-包含",
  9063. "name": "includesub",
  9064. "in": "query"
  9065. }
  9066. ],
  9067. "responses": {
  9068. "200": {
  9069. "description": "OK",
  9070. "schema": {
  9071. "type": "array",
  9072. "items": {
  9073. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9074. }
  9075. }
  9076. },
  9077. "500": {
  9078. "description": "Internal Server Error",
  9079. "schema": {
  9080. "$ref": "#/definitions/app.Response"
  9081. }
  9082. }
  9083. }
  9084. }
  9085. },
  9086. "/QhjMgr/QueryTradePosition": {
  9087. "get": {
  9088. "security": [
  9089. {
  9090. "ApiKeyAuth": []
  9091. }
  9092. ],
  9093. "produces": [
  9094. "application/json"
  9095. ],
  9096. "tags": [
  9097. "大连千海金(PCWeb)"
  9098. ],
  9099. "summary": "查询持仓汇总",
  9100. "parameters": [
  9101. {
  9102. "type": "integer",
  9103. "description": "用户ID",
  9104. "name": "userid",
  9105. "in": "query",
  9106. "required": true
  9107. },
  9108. {
  9109. "type": "integer",
  9110. "description": "用户类型 1-个人 2-企业",
  9111. "name": "userinfotype",
  9112. "in": "query"
  9113. },
  9114. {
  9115. "type": "integer",
  9116. "description": "交易模式",
  9117. "name": "trademode",
  9118. "in": "query"
  9119. },
  9120. {
  9121. "type": "integer",
  9122. "description": "商品id",
  9123. "name": "goodsid",
  9124. "in": "query"
  9125. },
  9126. {
  9127. "type": "string",
  9128. "description": "名称(模糊搜索账户)",
  9129. "name": "filtername",
  9130. "in": "query"
  9131. },
  9132. {
  9133. "type": "integer",
  9134. "description": "是否包含子级 1-包含",
  9135. "name": "includesub",
  9136. "in": "query"
  9137. }
  9138. ],
  9139. "responses": {
  9140. "200": {
  9141. "description": "OK",
  9142. "schema": {
  9143. "type": "array",
  9144. "items": {
  9145. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9146. }
  9147. }
  9148. },
  9149. "500": {
  9150. "description": "Internal Server Error",
  9151. "schema": {
  9152. "$ref": "#/definitions/app.Response"
  9153. }
  9154. }
  9155. }
  9156. }
  9157. },
  9158. "/QhjSys/QueryAgreementChangeLog": {
  9159. "get": {
  9160. "security": [
  9161. {
  9162. "ApiKeyAuth": []
  9163. }
  9164. ],
  9165. "produces": [
  9166. "application/json"
  9167. ],
  9168. "tags": [
  9169. "大连千海金(协议和签约信息)"
  9170. ],
  9171. "summary": "查询协议配置变更流水",
  9172. "parameters": [
  9173. {
  9174. "type": "integer",
  9175. "description": "协议ID",
  9176. "name": "agreementid",
  9177. "in": "query"
  9178. },
  9179. {
  9180. "type": "integer",
  9181. "description": "协议版本号",
  9182. "name": "agreementversion",
  9183. "in": "query"
  9184. },
  9185. {
  9186. "type": "integer",
  9187. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9188. "name": "agreementtype",
  9189. "in": "query"
  9190. },
  9191. {
  9192. "type": "string",
  9193. "description": "协议编号(模糊匹配)",
  9194. "name": "agreementno",
  9195. "in": "query"
  9196. },
  9197. {
  9198. "type": "string",
  9199. "description": "协议名称(模糊匹配)",
  9200. "name": "agreementname",
  9201. "in": "query"
  9202. }
  9203. ],
  9204. "responses": {
  9205. "200": {
  9206. "description": "OK",
  9207. "schema": {
  9208. "type": "array",
  9209. "items": {
  9210. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9211. }
  9212. }
  9213. },
  9214. "500": {
  9215. "description": "Internal Server Error",
  9216. "schema": {
  9217. "$ref": "#/definitions/app.Response"
  9218. }
  9219. }
  9220. }
  9221. }
  9222. },
  9223. "/QhjSys/QueryAgreementConfig": {
  9224. "get": {
  9225. "security": [
  9226. {
  9227. "ApiKeyAuth": []
  9228. }
  9229. ],
  9230. "produces": [
  9231. "application/json"
  9232. ],
  9233. "tags": [
  9234. "大连千海金(协议和签约信息)"
  9235. ],
  9236. "summary": "查询协议配置",
  9237. "parameters": [
  9238. {
  9239. "type": "integer",
  9240. "description": "协议ID",
  9241. "name": "agreementid",
  9242. "in": "query"
  9243. },
  9244. {
  9245. "type": "integer",
  9246. "description": "协议版本号",
  9247. "name": "agreementversion",
  9248. "in": "query"
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9253. "name": "agreementtype",
  9254. "in": "query"
  9255. },
  9256. {
  9257. "type": "integer",
  9258. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9259. "name": "isvalid",
  9260. "in": "query"
  9261. },
  9262. {
  9263. "type": "string",
  9264. "description": "协议编号(模糊匹配)",
  9265. "name": "agreementno",
  9266. "in": "query"
  9267. },
  9268. {
  9269. "type": "string",
  9270. "description": "协议名称(模糊匹配)",
  9271. "name": "agreementname",
  9272. "in": "query"
  9273. }
  9274. ],
  9275. "responses": {
  9276. "200": {
  9277. "description": "OK",
  9278. "schema": {
  9279. "type": "array",
  9280. "items": {
  9281. "$ref": "#/definitions/models.QhjAgreementConfig"
  9282. }
  9283. }
  9284. },
  9285. "500": {
  9286. "description": "Internal Server Error",
  9287. "schema": {
  9288. "$ref": "#/definitions/app.Response"
  9289. }
  9290. }
  9291. }
  9292. }
  9293. },
  9294. "/QhjSys/QueryCustomerSignStatus": {
  9295. "get": {
  9296. "security": [
  9297. {
  9298. "ApiKeyAuth": []
  9299. }
  9300. ],
  9301. "produces": [
  9302. "application/json"
  9303. ],
  9304. "tags": [
  9305. "大连千海金(协议和签约信息)"
  9306. ],
  9307. "summary": "查询客户协议签约状态",
  9308. "parameters": [
  9309. {
  9310. "type": "integer",
  9311. "description": "客户ID",
  9312. "name": "userid",
  9313. "in": "query"
  9314. },
  9315. {
  9316. "type": "integer",
  9317. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9318. "name": "nodetype",
  9319. "in": "query"
  9320. },
  9321. {
  9322. "type": "integer",
  9323. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9324. "name": "goodsid",
  9325. "in": "query"
  9326. },
  9327. {
  9328. "type": "string",
  9329. "description": "创建交易日(yyyyMMdd)",
  9330. "name": "tradedate",
  9331. "in": "query"
  9332. },
  9333. {
  9334. "type": "string",
  9335. "description": "用户名称(模糊匹配)",
  9336. "name": "username",
  9337. "in": "query"
  9338. }
  9339. ],
  9340. "responses": {
  9341. "200": {
  9342. "description": "OK",
  9343. "schema": {
  9344. "type": "array",
  9345. "items": {
  9346. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9347. }
  9348. }
  9349. },
  9350. "500": {
  9351. "description": "Internal Server Error",
  9352. "schema": {
  9353. "$ref": "#/definitions/app.Response"
  9354. }
  9355. }
  9356. }
  9357. }
  9358. },
  9359. "/QhjSys/QueryNodeAgreementConfig": {
  9360. "get": {
  9361. "security": [
  9362. {
  9363. "ApiKeyAuth": []
  9364. }
  9365. ],
  9366. "produces": [
  9367. "application/json"
  9368. ],
  9369. "tags": [
  9370. "大连千海金(协议和签约信息)"
  9371. ],
  9372. "summary": "查询协议节点配置",
  9373. "parameters": [
  9374. {
  9375. "type": "integer",
  9376. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9377. "name": "configid",
  9378. "in": "query"
  9379. },
  9380. {
  9381. "type": "integer",
  9382. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9383. "name": "nodetype",
  9384. "in": "query"
  9385. },
  9386. {
  9387. "type": "integer",
  9388. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9389. "name": "goodsid",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "integer",
  9394. "description": "协议ID",
  9395. "name": "agreementid",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "integer",
  9400. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9401. "name": "agreementtype",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "integer",
  9406. "description": "协议版本号",
  9407. "name": "agreementversion",
  9408. "in": "query"
  9409. },
  9410. {
  9411. "type": "string",
  9412. "description": "协议编号(模糊匹配)",
  9413. "name": "agreementno",
  9414. "in": "query"
  9415. },
  9416. {
  9417. "type": "string",
  9418. "description": "协议名称(模糊匹配)",
  9419. "name": "agreementname",
  9420. "in": "query"
  9421. }
  9422. ],
  9423. "responses": {
  9424. "200": {
  9425. "description": "OK",
  9426. "schema": {
  9427. "type": "array",
  9428. "items": {
  9429. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9430. }
  9431. }
  9432. },
  9433. "500": {
  9434. "description": "Internal Server Error",
  9435. "schema": {
  9436. "$ref": "#/definitions/app.Response"
  9437. }
  9438. }
  9439. }
  9440. }
  9441. },
  9442. "/QhjSys/QueryQhjCustomerSignLog": {
  9443. "get": {
  9444. "security": [
  9445. {
  9446. "ApiKeyAuth": []
  9447. }
  9448. ],
  9449. "produces": [
  9450. "application/json"
  9451. ],
  9452. "tags": [
  9453. "大连千海金(协议和签约信息)"
  9454. ],
  9455. "summary": "查询客户协议签约流水",
  9456. "parameters": [
  9457. {
  9458. "type": "integer",
  9459. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9460. "name": "logid",
  9461. "in": "query"
  9462. },
  9463. {
  9464. "type": "integer",
  9465. "description": "客户ID",
  9466. "name": "userid",
  9467. "in": "query"
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9472. "name": "nodetype",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9478. "name": "goodsid",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "integer",
  9483. "description": "协议ID",
  9484. "name": "agreementid",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "用户名称(模糊匹配)",
  9490. "name": "username",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "协议编号(模糊匹配)",
  9496. "name": "agreementno",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "string",
  9501. "description": "协议名称(模糊匹配)",
  9502. "name": "agreementname",
  9503. "in": "query"
  9504. }
  9505. ],
  9506. "responses": {
  9507. "200": {
  9508. "description": "OK",
  9509. "schema": {
  9510. "type": "array",
  9511. "items": {
  9512. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9513. }
  9514. }
  9515. },
  9516. "500": {
  9517. "description": "Internal Server Error",
  9518. "schema": {
  9519. "$ref": "#/definitions/app.Response"
  9520. }
  9521. }
  9522. }
  9523. }
  9524. },
  9525. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9526. "get": {
  9527. "security": [
  9528. {
  9529. "ApiKeyAuth": []
  9530. }
  9531. ],
  9532. "produces": [
  9533. "application/json"
  9534. ],
  9535. "tags": [
  9536. "大连千海金(协议和签约信息)"
  9537. ],
  9538. "summary": "查询用户协议节点配置和状态",
  9539. "parameters": [
  9540. {
  9541. "type": "integer",
  9542. "description": "客户ID",
  9543. "name": "userid",
  9544. "in": "query"
  9545. },
  9546. {
  9547. "type": "integer",
  9548. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9549. "name": "configid",
  9550. "in": "query"
  9551. },
  9552. {
  9553. "type": "string",
  9554. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9555. "name": "nodetype",
  9556. "in": "query"
  9557. },
  9558. {
  9559. "type": "integer",
  9560. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9561. "name": "goodsid",
  9562. "in": "query"
  9563. },
  9564. {
  9565. "type": "integer",
  9566. "description": "协议ID",
  9567. "name": "agreementid",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9573. "name": "agreementtype",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "integer",
  9578. "description": "协议版本号",
  9579. "name": "agreementversion",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "string",
  9584. "description": "协议编号(模糊匹配)",
  9585. "name": "agreementno",
  9586. "in": "query"
  9587. },
  9588. {
  9589. "type": "string",
  9590. "description": "协议名称(模糊匹配)",
  9591. "name": "agreementname",
  9592. "in": "query"
  9593. }
  9594. ],
  9595. "responses": {
  9596. "200": {
  9597. "description": "OK",
  9598. "schema": {
  9599. "type": "array",
  9600. "items": {
  9601. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9602. }
  9603. }
  9604. },
  9605. "500": {
  9606. "description": "Internal Server Error",
  9607. "schema": {
  9608. "$ref": "#/definitions/app.Response"
  9609. }
  9610. }
  9611. }
  9612. }
  9613. },
  9614. "/Quote/QueryHistoryDatas": {
  9615. "get": {
  9616. "security": [
  9617. {
  9618. "ApiKeyAuth": []
  9619. }
  9620. ],
  9621. "produces": [
  9622. "application/json"
  9623. ],
  9624. "tags": [
  9625. "行情服务"
  9626. ],
  9627. "summary": "查询行情历史数据",
  9628. "parameters": [
  9629. {
  9630. "type": "integer",
  9631. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9632. "name": "cycleType",
  9633. "in": "query",
  9634. "required": true
  9635. },
  9636. {
  9637. "type": "string",
  9638. "description": "商品代码",
  9639. "name": "goodsCode",
  9640. "in": "query",
  9641. "required": true
  9642. },
  9643. {
  9644. "type": "string",
  9645. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9646. "name": "startTime",
  9647. "in": "query"
  9648. },
  9649. {
  9650. "type": "string",
  9651. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9652. "name": "endTime",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "integer",
  9657. "description": "条数",
  9658. "name": "count",
  9659. "in": "query"
  9660. },
  9661. {
  9662. "type": "boolean",
  9663. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9664. "name": "isAsc",
  9665. "in": "query"
  9666. }
  9667. ],
  9668. "responses": {
  9669. "200": {
  9670. "description": "OK",
  9671. "schema": {
  9672. "$ref": "#/definitions/quote.HistoryData"
  9673. }
  9674. },
  9675. "500": {
  9676. "description": "Internal Server Error",
  9677. "schema": {
  9678. "$ref": "#/definitions/app.Response"
  9679. }
  9680. }
  9681. }
  9682. }
  9683. },
  9684. "/Quote/QueryHistoryTikDatas": {
  9685. "get": {
  9686. "security": [
  9687. {
  9688. "ApiKeyAuth": []
  9689. }
  9690. ],
  9691. "produces": [
  9692. "application/json"
  9693. ],
  9694. "tags": [
  9695. "行情服务"
  9696. ],
  9697. "summary": "查询行情Tik数据",
  9698. "parameters": [
  9699. {
  9700. "type": "string",
  9701. "description": "商品代码",
  9702. "name": "goodsCode",
  9703. "in": "query",
  9704. "required": true
  9705. },
  9706. {
  9707. "type": "string",
  9708. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9709. "name": "startTime",
  9710. "in": "query"
  9711. },
  9712. {
  9713. "type": "string",
  9714. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9715. "name": "endTime",
  9716. "in": "query"
  9717. },
  9718. {
  9719. "type": "integer",
  9720. "description": "条数",
  9721. "name": "count",
  9722. "in": "query"
  9723. },
  9724. {
  9725. "type": "boolean",
  9726. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9727. "name": "isAsc",
  9728. "in": "query"
  9729. }
  9730. ],
  9731. "responses": {
  9732. "200": {
  9733. "description": "OK",
  9734. "schema": {
  9735. "$ref": "#/definitions/quote.HistoryTikData"
  9736. }
  9737. },
  9738. "500": {
  9739. "description": "Internal Server Error",
  9740. "schema": {
  9741. "$ref": "#/definitions/app.Response"
  9742. }
  9743. }
  9744. }
  9745. }
  9746. },
  9747. "/Quote/QueryQuoteDay": {
  9748. "get": {
  9749. "security": [
  9750. {
  9751. "ApiKeyAuth": []
  9752. }
  9753. ],
  9754. "produces": [
  9755. "application/json"
  9756. ],
  9757. "tags": [
  9758. "行情服务"
  9759. ],
  9760. "summary": "获取商品盘面信息",
  9761. "parameters": [
  9762. {
  9763. "type": "string",
  9764. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9765. "name": "goodsCodes",
  9766. "in": "query",
  9767. "required": true
  9768. }
  9769. ],
  9770. "responses": {
  9771. "200": {
  9772. "description": "OK",
  9773. "schema": {
  9774. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9775. }
  9776. },
  9777. "500": {
  9778. "description": "Internal Server Error",
  9779. "schema": {
  9780. "$ref": "#/definitions/app.Response"
  9781. }
  9782. }
  9783. }
  9784. }
  9785. },
  9786. "/Quote/QueryTSData": {
  9787. "get": {
  9788. "security": [
  9789. {
  9790. "ApiKeyAuth": []
  9791. }
  9792. ],
  9793. "produces": [
  9794. "application/json"
  9795. ],
  9796. "tags": [
  9797. "行情服务"
  9798. ],
  9799. "summary": "分时图数据查询",
  9800. "parameters": [
  9801. {
  9802. "type": "string",
  9803. "description": "商品代码",
  9804. "name": "goodsCode",
  9805. "in": "query",
  9806. "required": true
  9807. }
  9808. ],
  9809. "responses": {
  9810. "200": {
  9811. "description": "OK",
  9812. "schema": {
  9813. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9814. }
  9815. },
  9816. "500": {
  9817. "description": "Internal Server Error",
  9818. "schema": {
  9819. "$ref": "#/definitions/app.Response"
  9820. }
  9821. }
  9822. }
  9823. }
  9824. },
  9825. "/SZDZ/QueryConvertConfig": {
  9826. "get": {
  9827. "security": [
  9828. {
  9829. "ApiKeyAuth": []
  9830. }
  9831. ],
  9832. "produces": [
  9833. "application/json"
  9834. ],
  9835. "tags": [
  9836. "定制【尚志大宗】"
  9837. ],
  9838. "summary": "查询交易系统转换设置",
  9839. "parameters": [
  9840. {
  9841. "type": "integer",
  9842. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9843. "name": "convertType",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "string",
  9848. "description": "外部商品代码[JD\\PD]",
  9849. "name": "outerGoodsCode",
  9850. "in": "query"
  9851. },
  9852. {
  9853. "type": "string",
  9854. "description": "内部商品ID列表[交易],格式:1,2,3",
  9855. "name": "innerGoodsIDs",
  9856. "in": "query"
  9857. }
  9858. ],
  9859. "responses": {
  9860. "200": {
  9861. "description": "OK",
  9862. "schema": {
  9863. "$ref": "#/definitions/models.Szdz3convertconfig"
  9864. }
  9865. },
  9866. "500": {
  9867. "description": "Internal Server Error",
  9868. "schema": {
  9869. "$ref": "#/definitions/app.Response"
  9870. }
  9871. }
  9872. }
  9873. }
  9874. },
  9875. "/SZDZ/QueryConvertLog": {
  9876. "get": {
  9877. "security": [
  9878. {
  9879. "ApiKeyAuth": []
  9880. }
  9881. ],
  9882. "produces": [
  9883. "application/json"
  9884. ],
  9885. "tags": [
  9886. "定制【尚志大宗】"
  9887. ],
  9888. "summary": "交易系统转换流水查询",
  9889. "parameters": [
  9890. {
  9891. "type": "string",
  9892. "description": "资金账户 - 格式:1,2,3",
  9893. "name": "accountID",
  9894. "in": "query",
  9895. "required": true
  9896. },
  9897. {
  9898. "type": "string",
  9899. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9900. "name": "startDate",
  9901. "in": "query"
  9902. },
  9903. {
  9904. "type": "string",
  9905. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9906. "name": "endDate",
  9907. "in": "query"
  9908. }
  9909. ],
  9910. "responses": {
  9911. "200": {
  9912. "description": "OK",
  9913. "schema": {
  9914. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9915. }
  9916. },
  9917. "500": {
  9918. "description": "Internal Server Error",
  9919. "schema": {
  9920. "$ref": "#/definitions/app.Response"
  9921. }
  9922. }
  9923. }
  9924. }
  9925. },
  9926. "/SZDZ/QueryGoodsPickup": {
  9927. "get": {
  9928. "security": [
  9929. {
  9930. "ApiKeyAuth": []
  9931. }
  9932. ],
  9933. "produces": [
  9934. "application/json"
  9935. ],
  9936. "tags": [
  9937. "定制【尚志大宗】"
  9938. ],
  9939. "summary": "商品提货单查询",
  9940. "parameters": [
  9941. {
  9942. "type": "string",
  9943. "description": "资金账户 - 格式:1,2,3",
  9944. "name": "accountID",
  9945. "in": "query",
  9946. "required": true
  9947. },
  9948. {
  9949. "type": "integer",
  9950. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9951. "name": "takeOrderStatus",
  9952. "in": "query"
  9953. }
  9954. ],
  9955. "responses": {
  9956. "200": {
  9957. "description": "OK",
  9958. "schema": {
  9959. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9960. }
  9961. },
  9962. "500": {
  9963. "description": "Internal Server Error",
  9964. "schema": {
  9965. "$ref": "#/definitions/app.Response"
  9966. }
  9967. }
  9968. }
  9969. }
  9970. },
  9971. "/SZDZ/QueryRecieptOrder": {
  9972. "get": {
  9973. "security": [
  9974. {
  9975. "ApiKeyAuth": []
  9976. }
  9977. ],
  9978. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9979. "produces": [
  9980. "application/json"
  9981. ],
  9982. "tags": [
  9983. "定制【尚志大宗】"
  9984. ],
  9985. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9986. "parameters": [
  9987. {
  9988. "type": "integer",
  9989. "description": "页码",
  9990. "name": "page",
  9991. "in": "query"
  9992. },
  9993. {
  9994. "type": "integer",
  9995. "description": "每页条数",
  9996. "name": "pagesize",
  9997. "in": "query"
  9998. },
  9999. {
  10000. "type": "integer",
  10001. "description": "商品ID",
  10002. "name": "goodsID",
  10003. "in": "query",
  10004. "required": true
  10005. },
  10006. {
  10007. "type": "string",
  10008. "description": "所属账户名称",
  10009. "name": "accountName",
  10010. "in": "query"
  10011. },
  10012. {
  10013. "type": "integer",
  10014. "description": "市场ID",
  10015. "name": "marketID",
  10016. "in": "query"
  10017. },
  10018. {
  10019. "type": "integer",
  10020. "description": "方向 - 0:买 1:卖",
  10021. "name": "buyorsell",
  10022. "in": "query",
  10023. "required": true
  10024. }
  10025. ],
  10026. "responses": {
  10027. "200": {
  10028. "description": "OK",
  10029. "schema": {
  10030. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10031. }
  10032. },
  10033. "500": {
  10034. "description": "Internal Server Error",
  10035. "schema": {
  10036. "$ref": "#/definitions/app.Response"
  10037. }
  10038. }
  10039. }
  10040. }
  10041. },
  10042. "/SZDZ/QuerySZDZTradePosition": {
  10043. "get": {
  10044. "security": [
  10045. {
  10046. "ApiKeyAuth": []
  10047. }
  10048. ],
  10049. "produces": [
  10050. "application/json"
  10051. ],
  10052. "tags": [
  10053. "定制【尚志大宗】"
  10054. ],
  10055. "summary": "持仓汇总查询(尚志大宗)",
  10056. "parameters": [
  10057. {
  10058. "type": "integer",
  10059. "description": "资金账户",
  10060. "name": "accountID",
  10061. "in": "query",
  10062. "required": true
  10063. }
  10064. ],
  10065. "responses": {
  10066. "200": {
  10067. "description": "OK",
  10068. "schema": {
  10069. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10070. }
  10071. },
  10072. "500": {
  10073. "description": "Internal Server Error",
  10074. "schema": {
  10075. "$ref": "#/definitions/app.Response"
  10076. }
  10077. }
  10078. }
  10079. }
  10080. },
  10081. "/SZDZ/SearchWhite": {
  10082. "get": {
  10083. "security": [
  10084. {
  10085. "ApiKeyAuth": []
  10086. }
  10087. ],
  10088. "produces": [
  10089. "application/json"
  10090. ],
  10091. "tags": [
  10092. "定制【尚志大宗】"
  10093. ],
  10094. "summary": "搜索白名单",
  10095. "parameters": [
  10096. {
  10097. "type": "integer",
  10098. "description": "用户ID",
  10099. "name": "userID",
  10100. "in": "query",
  10101. "required": true
  10102. }
  10103. ],
  10104. "responses": {
  10105. "200": {
  10106. "description": "OK",
  10107. "schema": {
  10108. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10109. }
  10110. },
  10111. "500": {
  10112. "description": "Internal Server Error",
  10113. "schema": {
  10114. "$ref": "#/definitions/app.Response"
  10115. }
  10116. }
  10117. }
  10118. }
  10119. },
  10120. "/Search/SearchGoodses": {
  10121. "get": {
  10122. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10123. "produces": [
  10124. "application/json"
  10125. ],
  10126. "tags": [
  10127. "检索服务"
  10128. ],
  10129. "summary": "检索商品信息",
  10130. "parameters": [
  10131. {
  10132. "type": "string",
  10133. "description": "检索内容",
  10134. "name": "content",
  10135. "in": "query",
  10136. "required": true
  10137. },
  10138. {
  10139. "type": "string",
  10140. "description": "交易模式,格式:1,2,3",
  10141. "name": "tradeModes",
  10142. "in": "query"
  10143. }
  10144. ],
  10145. "responses": {
  10146. "200": {
  10147. "description": "OK",
  10148. "schema": {
  10149. "$ref": "#/definitions/models.SearchGoods"
  10150. }
  10151. },
  10152. "500": {
  10153. "description": "Internal Server Error",
  10154. "schema": {
  10155. "$ref": "#/definitions/app.Response"
  10156. }
  10157. }
  10158. }
  10159. }
  10160. },
  10161. "/TaAccount/GetTaAccounts": {
  10162. "get": {
  10163. "security": [
  10164. {
  10165. "ApiKeyAuth": []
  10166. }
  10167. ],
  10168. "produces": [
  10169. "application/json"
  10170. ],
  10171. "tags": [
  10172. "资金账户"
  10173. ],
  10174. "summary": "获取资金账户信息",
  10175. "parameters": [
  10176. {
  10177. "type": "integer",
  10178. "description": "登录账户",
  10179. "name": "loginID",
  10180. "in": "query",
  10181. "required": true
  10182. },
  10183. {
  10184. "type": "integer",
  10185. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10186. "name": "taAccountType",
  10187. "in": "query"
  10188. }
  10189. ],
  10190. "responses": {
  10191. "200": {
  10192. "description": "OK",
  10193. "schema": {
  10194. "$ref": "#/definitions/models.Taaccount"
  10195. }
  10196. },
  10197. "500": {
  10198. "description": "Internal Server Error",
  10199. "schema": {
  10200. "$ref": "#/definitions/app.Response"
  10201. }
  10202. }
  10203. }
  10204. }
  10205. },
  10206. "/TaAccount/QueryAmountLog": {
  10207. "get": {
  10208. "security": [
  10209. {
  10210. "ApiKeyAuth": []
  10211. }
  10212. ],
  10213. "produces": [
  10214. "application/json"
  10215. ],
  10216. "tags": [
  10217. "资金账户"
  10218. ],
  10219. "summary": "资金流水查询(当前)",
  10220. "parameters": [
  10221. {
  10222. "type": "integer",
  10223. "description": "页码",
  10224. "name": "page",
  10225. "in": "query"
  10226. },
  10227. {
  10228. "type": "integer",
  10229. "description": "每页条数",
  10230. "name": "pagesize",
  10231. "in": "query"
  10232. },
  10233. {
  10234. "type": "string",
  10235. "description": "资金账户 - 格式:1,2,3",
  10236. "name": "accountID",
  10237. "in": "query",
  10238. "required": true
  10239. },
  10240. {
  10241. "type": "string",
  10242. "description": "资金操作类型 - 格式:1,2,3",
  10243. "name": "OperateType",
  10244. "in": "query"
  10245. }
  10246. ],
  10247. "responses": {
  10248. "200": {
  10249. "description": "OK",
  10250. "schema": {
  10251. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10252. }
  10253. },
  10254. "500": {
  10255. "description": "Internal Server Error",
  10256. "schema": {
  10257. "$ref": "#/definitions/app.Response"
  10258. }
  10259. }
  10260. }
  10261. }
  10262. },
  10263. "/TaAccount/QueryHisAmountLog": {
  10264. "get": {
  10265. "security": [
  10266. {
  10267. "ApiKeyAuth": []
  10268. }
  10269. ],
  10270. "produces": [
  10271. "application/json"
  10272. ],
  10273. "tags": [
  10274. "资金账户"
  10275. ],
  10276. "summary": "资金流水查询(历史)",
  10277. "parameters": [
  10278. {
  10279. "type": "integer",
  10280. "description": "页码",
  10281. "name": "page",
  10282. "in": "query"
  10283. },
  10284. {
  10285. "type": "integer",
  10286. "description": "每页条数",
  10287. "name": "pagesize",
  10288. "in": "query"
  10289. },
  10290. {
  10291. "type": "string",
  10292. "description": "资金账户 - 格式:1,2,3",
  10293. "name": "accountID",
  10294. "in": "query",
  10295. "required": true
  10296. },
  10297. {
  10298. "type": "string",
  10299. "description": "资金操作类型 - 格式:1,2,3",
  10300. "name": "OperateType",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "string",
  10305. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10306. "name": "startDate",
  10307. "in": "query"
  10308. },
  10309. {
  10310. "type": "string",
  10311. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10312. "name": "endDate",
  10313. "in": "query"
  10314. }
  10315. ],
  10316. "responses": {
  10317. "200": {
  10318. "description": "OK",
  10319. "schema": {
  10320. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10321. }
  10322. },
  10323. "500": {
  10324. "description": "Internal Server Error",
  10325. "schema": {
  10326. "$ref": "#/definitions/app.Response"
  10327. }
  10328. }
  10329. }
  10330. }
  10331. },
  10332. "/Trade/QueryRecieptOrder": {
  10333. "get": {
  10334. "security": [
  10335. {
  10336. "ApiKeyAuth": []
  10337. }
  10338. ],
  10339. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10340. "produces": [
  10341. "application/json"
  10342. ],
  10343. "tags": [
  10344. "通用交易"
  10345. ],
  10346. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10347. "parameters": [
  10348. {
  10349. "type": "integer",
  10350. "description": "页码",
  10351. "name": "page",
  10352. "in": "query"
  10353. },
  10354. {
  10355. "type": "integer",
  10356. "description": "每页条数",
  10357. "name": "pagesize",
  10358. "in": "query"
  10359. },
  10360. {
  10361. "type": "integer",
  10362. "description": "商品ID",
  10363. "name": "goodsID",
  10364. "in": "query",
  10365. "required": true
  10366. },
  10367. {
  10368. "type": "string",
  10369. "description": "所属账户名称",
  10370. "name": "accountName",
  10371. "in": "query"
  10372. },
  10373. {
  10374. "type": "integer",
  10375. "description": "市场ID",
  10376. "name": "marketID",
  10377. "in": "query"
  10378. },
  10379. {
  10380. "type": "integer",
  10381. "description": "方向 - 0:买 1:卖",
  10382. "name": "buyorsell",
  10383. "in": "query",
  10384. "required": true
  10385. }
  10386. ],
  10387. "responses": {
  10388. "200": {
  10389. "description": "OK",
  10390. "schema": {
  10391. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10392. }
  10393. },
  10394. "500": {
  10395. "description": "Internal Server Error",
  10396. "schema": {
  10397. "$ref": "#/definitions/app.Response"
  10398. }
  10399. }
  10400. }
  10401. }
  10402. },
  10403. "/User/AddMessageBoard": {
  10404. "post": {
  10405. "security": [
  10406. {
  10407. "ApiKeyAuth": []
  10408. }
  10409. ],
  10410. "produces": [
  10411. "application/json"
  10412. ],
  10413. "tags": [
  10414. "用户信息"
  10415. ],
  10416. "summary": "添加用户留言板信息",
  10417. "parameters": [
  10418. {
  10419. "type": "integer",
  10420. "description": "用户ID",
  10421. "name": "userID",
  10422. "in": "query",
  10423. "required": true
  10424. },
  10425. {
  10426. "type": "string",
  10427. "description": "留言信息",
  10428. "name": "message",
  10429. "in": "query",
  10430. "required": true
  10431. },
  10432. {
  10433. "type": "string",
  10434. "description": "联系电话",
  10435. "name": "contactNum",
  10436. "in": "query",
  10437. "required": true
  10438. }
  10439. ],
  10440. "responses": {
  10441. "200": {
  10442. "description": "OK",
  10443. "schema": {
  10444. "$ref": "#/definitions/app.Response"
  10445. }
  10446. },
  10447. "500": {
  10448. "description": "Internal Server Error",
  10449. "schema": {
  10450. "$ref": "#/definitions/app.Response"
  10451. }
  10452. }
  10453. }
  10454. }
  10455. },
  10456. "/User/AddUserFavoriteGoods": {
  10457. "post": {
  10458. "security": [
  10459. {
  10460. "ApiKeyAuth": []
  10461. }
  10462. ],
  10463. "produces": [
  10464. "application/json"
  10465. ],
  10466. "tags": [
  10467. "用户信息"
  10468. ],
  10469. "summary": "添加用户商品收藏信息",
  10470. "parameters": [
  10471. {
  10472. "type": "integer",
  10473. "description": "用户ID",
  10474. "name": "userID",
  10475. "in": "query",
  10476. "required": true
  10477. },
  10478. {
  10479. "type": "integer",
  10480. "description": "商品ID",
  10481. "name": "goodsID",
  10482. "in": "query",
  10483. "required": true
  10484. }
  10485. ],
  10486. "responses": {
  10487. "200": {
  10488. "description": "OK",
  10489. "schema": {
  10490. "$ref": "#/definitions/app.Response"
  10491. }
  10492. },
  10493. "500": {
  10494. "description": "Internal Server Error",
  10495. "schema": {
  10496. "$ref": "#/definitions/app.Response"
  10497. }
  10498. }
  10499. }
  10500. }
  10501. },
  10502. "/User/GetLoginID": {
  10503. "get": {
  10504. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10505. "produces": [
  10506. "application/json"
  10507. ],
  10508. "tags": [
  10509. "用户信息"
  10510. ],
  10511. "summary": "获取登录ID",
  10512. "parameters": [
  10513. {
  10514. "type": "string",
  10515. "description": "登录代码",
  10516. "name": "username",
  10517. "in": "query",
  10518. "required": true
  10519. }
  10520. ],
  10521. "responses": {
  10522. "200": {
  10523. "description": "OK",
  10524. "schema": {
  10525. "$ref": "#/definitions/app.Response"
  10526. }
  10527. },
  10528. "500": {
  10529. "description": "Internal Server Error",
  10530. "schema": {
  10531. "$ref": "#/definitions/app.Response"
  10532. }
  10533. }
  10534. }
  10535. }
  10536. },
  10537. "/User/GetUserAccount": {
  10538. "get": {
  10539. "security": [
  10540. {
  10541. "ApiKeyAuth": []
  10542. }
  10543. ],
  10544. "produces": [
  10545. "application/json"
  10546. ],
  10547. "tags": [
  10548. "用户信息"
  10549. ],
  10550. "summary": "获取用户账号信息",
  10551. "parameters": [
  10552. {
  10553. "type": "integer",
  10554. "description": "用户ID",
  10555. "name": "userID",
  10556. "in": "query",
  10557. "required": true
  10558. }
  10559. ],
  10560. "responses": {
  10561. "200": {
  10562. "description": "OK",
  10563. "schema": {
  10564. "$ref": "#/definitions/models.Useraccount"
  10565. }
  10566. },
  10567. "500": {
  10568. "description": "Internal Server Error",
  10569. "schema": {
  10570. "$ref": "#/definitions/app.Response"
  10571. }
  10572. }
  10573. }
  10574. }
  10575. },
  10576. "/User/GetUserAuthStatus": {
  10577. "get": {
  10578. "security": [
  10579. {
  10580. "ApiKeyAuth": []
  10581. }
  10582. ],
  10583. "produces": [
  10584. "application/json"
  10585. ],
  10586. "tags": [
  10587. "用户信息"
  10588. ],
  10589. "summary": "获取用户实名认证状态",
  10590. "parameters": [
  10591. {
  10592. "type": "integer",
  10593. "description": "用户ID",
  10594. "name": "userID",
  10595. "in": "query",
  10596. "required": true
  10597. }
  10598. ],
  10599. "responses": {
  10600. "200": {
  10601. "description": "OK",
  10602. "schema": {
  10603. "$ref": "#/definitions/app.Response"
  10604. }
  10605. },
  10606. "500": {
  10607. "description": "Internal Server Error",
  10608. "schema": {
  10609. "$ref": "#/definitions/app.Response"
  10610. }
  10611. }
  10612. }
  10613. }
  10614. },
  10615. "/User/LoginQuery": {
  10616. "get": {
  10617. "security": [
  10618. {
  10619. "ApiKeyAuth": []
  10620. }
  10621. ],
  10622. "produces": [
  10623. "application/json"
  10624. ],
  10625. "tags": [
  10626. "用户信息"
  10627. ],
  10628. "summary": "账户登录后信息查询",
  10629. "parameters": [
  10630. {
  10631. "type": "integer",
  10632. "description": "登录账号",
  10633. "name": "loginID",
  10634. "in": "query",
  10635. "required": true
  10636. }
  10637. ],
  10638. "responses": {
  10639. "200": {
  10640. "description": "OK",
  10641. "schema": {
  10642. "$ref": "#/definitions/user.LoginQueryRsp"
  10643. }
  10644. },
  10645. "500": {
  10646. "description": "Internal Server Error",
  10647. "schema": {
  10648. "$ref": "#/definitions/app.Response"
  10649. }
  10650. }
  10651. }
  10652. }
  10653. },
  10654. "/User/QueryMessageBoard": {
  10655. "get": {
  10656. "security": [
  10657. {
  10658. "ApiKeyAuth": []
  10659. }
  10660. ],
  10661. "produces": [
  10662. "application/json"
  10663. ],
  10664. "tags": [
  10665. "用户信息"
  10666. ],
  10667. "summary": "获取用户留言板信息",
  10668. "parameters": [
  10669. {
  10670. "type": "integer",
  10671. "description": "用户ID",
  10672. "name": "userID",
  10673. "in": "query",
  10674. "required": true
  10675. }
  10676. ],
  10677. "responses": {
  10678. "200": {
  10679. "description": "OK",
  10680. "schema": {
  10681. "$ref": "#/definitions/models.Messageboard"
  10682. }
  10683. },
  10684. "500": {
  10685. "description": "Internal Server Error",
  10686. "schema": {
  10687. "$ref": "#/definitions/app.Response"
  10688. }
  10689. }
  10690. }
  10691. }
  10692. },
  10693. "/User/QueryUserFavoriteGoodses": {
  10694. "get": {
  10695. "security": [
  10696. {
  10697. "ApiKeyAuth": []
  10698. }
  10699. ],
  10700. "produces": [
  10701. "application/json"
  10702. ],
  10703. "tags": [
  10704. "用户信息"
  10705. ],
  10706. "summary": "获取用户商品收藏信息",
  10707. "parameters": [
  10708. {
  10709. "type": "integer",
  10710. "description": "用户ID",
  10711. "name": "userID",
  10712. "in": "query",
  10713. "required": true
  10714. }
  10715. ],
  10716. "responses": {
  10717. "200": {
  10718. "description": "OK",
  10719. "schema": {
  10720. "$ref": "#/definitions/models.Userfavoritegoods"
  10721. }
  10722. },
  10723. "500": {
  10724. "description": "Internal Server Error",
  10725. "schema": {
  10726. "$ref": "#/definitions/app.Response"
  10727. }
  10728. }
  10729. }
  10730. }
  10731. },
  10732. "/User/QueryUserInfo": {
  10733. "get": {
  10734. "security": [
  10735. {
  10736. "ApiKeyAuth": []
  10737. }
  10738. ],
  10739. "produces": [
  10740. "application/json"
  10741. ],
  10742. "tags": [
  10743. "用户信息"
  10744. ],
  10745. "summary": "获取用户信息",
  10746. "parameters": [
  10747. {
  10748. "type": "integer",
  10749. "description": "用户ID",
  10750. "name": "userID",
  10751. "in": "query",
  10752. "required": true
  10753. },
  10754. {
  10755. "type": "boolean",
  10756. "description": "是否解密",
  10757. "name": "isDecrypt",
  10758. "in": "query"
  10759. }
  10760. ],
  10761. "responses": {
  10762. "200": {
  10763. "description": "OK",
  10764. "schema": {
  10765. "$ref": "#/definitions/models.Userinfo"
  10766. }
  10767. },
  10768. "500": {
  10769. "description": "Internal Server Error",
  10770. "schema": {
  10771. "$ref": "#/definitions/app.Response"
  10772. }
  10773. }
  10774. }
  10775. }
  10776. },
  10777. "/User/QueryUserReferNum": {
  10778. "get": {
  10779. "produces": [
  10780. "application/json"
  10781. ],
  10782. "tags": [
  10783. "用户信息"
  10784. ],
  10785. "summary": "获取用户邀请码",
  10786. "parameters": [
  10787. {
  10788. "type": "integer",
  10789. "description": "用户ID",
  10790. "name": "userID",
  10791. "in": "query",
  10792. "required": true
  10793. }
  10794. ],
  10795. "responses": {
  10796. "200": {
  10797. "description": "OK",
  10798. "schema": {
  10799. "$ref": "#/definitions/app.Response"
  10800. }
  10801. },
  10802. "500": {
  10803. "description": "Internal Server Error",
  10804. "schema": {
  10805. "$ref": "#/definitions/app.Response"
  10806. }
  10807. }
  10808. }
  10809. }
  10810. },
  10811. "/User/RemoveUserFavoriteGoods": {
  10812. "post": {
  10813. "security": [
  10814. {
  10815. "ApiKeyAuth": []
  10816. }
  10817. ],
  10818. "produces": [
  10819. "application/json"
  10820. ],
  10821. "tags": [
  10822. "用户信息"
  10823. ],
  10824. "summary": "移除用户商品收藏信息",
  10825. "parameters": [
  10826. {
  10827. "type": "integer",
  10828. "description": "用户ID",
  10829. "name": "userID",
  10830. "in": "query",
  10831. "required": true
  10832. },
  10833. {
  10834. "type": "integer",
  10835. "description": "商品ID",
  10836. "name": "goodsID",
  10837. "in": "query",
  10838. "required": true
  10839. }
  10840. ],
  10841. "responses": {
  10842. "200": {
  10843. "description": "OK",
  10844. "schema": {
  10845. "$ref": "#/definitions/app.Response"
  10846. }
  10847. },
  10848. "500": {
  10849. "description": "Internal Server Error",
  10850. "schema": {
  10851. "$ref": "#/definitions/app.Response"
  10852. }
  10853. }
  10854. }
  10855. }
  10856. },
  10857. "/User/UpdateUserAccountStatus": {
  10858. "post": {
  10859. "security": [
  10860. {
  10861. "ApiKeyAuth": []
  10862. }
  10863. ],
  10864. "produces": [
  10865. "application/json"
  10866. ],
  10867. "tags": [
  10868. "用户信息"
  10869. ],
  10870. "summary": "更新用户状态",
  10871. "parameters": [
  10872. {
  10873. "type": "integer",
  10874. "description": "用户ID",
  10875. "name": "userID",
  10876. "in": "query",
  10877. "required": true
  10878. },
  10879. {
  10880. "type": "integer",
  10881. "description": "账户状态 - 4:正常 6:注销(停用)",
  10882. "name": "accountStatus",
  10883. "in": "query",
  10884. "required": true
  10885. }
  10886. ],
  10887. "responses": {
  10888. "200": {
  10889. "description": "OK",
  10890. "schema": {
  10891. "$ref": "#/definitions/app.Response"
  10892. }
  10893. },
  10894. "500": {
  10895. "description": "Internal Server Error",
  10896. "schema": {
  10897. "$ref": "#/definitions/app.Response"
  10898. }
  10899. }
  10900. }
  10901. }
  10902. },
  10903. "/WRTrade/GetAllDeliveryGoods": {
  10904. "get": {
  10905. "security": [
  10906. {
  10907. "ApiKeyAuth": []
  10908. },
  10909. {
  10910. "ApiKeyAuth": []
  10911. }
  10912. ],
  10913. "produces": [
  10914. "application/json",
  10915. "application/json"
  10916. ],
  10917. "tags": [
  10918. "仓单贸易",
  10919. "仓单贸易"
  10920. ],
  10921. "summary": "获取带仓单分类的种类信息",
  10922. "responses": {
  10923. "200": {
  10924. "description": "OK",
  10925. "schema": {
  10926. "$ref": "#/definitions/app.Response"
  10927. }
  10928. },
  10929. "500": {
  10930. "description": "Internal Server Error",
  10931. "schema": {
  10932. "$ref": "#/definitions/app.Response"
  10933. }
  10934. }
  10935. }
  10936. }
  10937. },
  10938. "/WrTrade2/QueryFaProductDetail": {
  10939. "get": {
  10940. "security": [
  10941. {
  10942. "ApiKeyAuth": []
  10943. }
  10944. ],
  10945. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10946. "produces": [
  10947. "application/json"
  10948. ],
  10949. "tags": [
  10950. "仓单贸易v2"
  10951. ],
  10952. "summary": "查询融资产品列表",
  10953. "parameters": [
  10954. {
  10955. "type": "integer",
  10956. "description": "仓单要素id",
  10957. "name": "wrfactortypeid",
  10958. "in": "query",
  10959. "required": true
  10960. }
  10961. ],
  10962. "responses": {
  10963. "200": {
  10964. "description": "OK",
  10965. "schema": {
  10966. "type": "array",
  10967. "items": {
  10968. "$ref": "#/definitions/models.WrFAProductDetail"
  10969. }
  10970. }
  10971. },
  10972. "500": {
  10973. "description": "Internal Server Error",
  10974. "schema": {
  10975. "$ref": "#/definitions/app.Response"
  10976. }
  10977. }
  10978. }
  10979. }
  10980. },
  10981. "/WrTrade2/QueryFilterItem": {
  10982. "get": {
  10983. "security": [
  10984. {
  10985. "ApiKeyAuth": []
  10986. }
  10987. ],
  10988. "produces": [
  10989. "application/json"
  10990. ],
  10991. "tags": [
  10992. "仓单贸易v2"
  10993. ],
  10994. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  10995. "parameters": [
  10996. {
  10997. "type": "string",
  10998. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10999. "name": "itype",
  11000. "in": "query",
  11001. "required": true
  11002. }
  11003. ],
  11004. "responses": {
  11005. "200": {
  11006. "description": "OK",
  11007. "schema": {
  11008. "type": "array",
  11009. "items": {
  11010. "$ref": "#/definitions/models.WrFilterItem"
  11011. }
  11012. }
  11013. },
  11014. "500": {
  11015. "description": "Internal Server Error",
  11016. "schema": {
  11017. "$ref": "#/definitions/app.Response"
  11018. }
  11019. }
  11020. }
  11021. }
  11022. },
  11023. "/WrTrade2/QueryFtDeliveryGoods": {
  11024. "get": {
  11025. "security": [
  11026. {
  11027. "ApiKeyAuth": []
  11028. }
  11029. ],
  11030. "produces": [
  11031. "application/json"
  11032. ],
  11033. "tags": [
  11034. "仓单贸易v2"
  11035. ],
  11036. "summary": "查询品种品类筛选框列表",
  11037. "responses": {
  11038. "200": {
  11039. "description": "OK",
  11040. "schema": {
  11041. "type": "array",
  11042. "items": {
  11043. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11044. }
  11045. }
  11046. },
  11047. "500": {
  11048. "description": "Internal Server Error",
  11049. "schema": {
  11050. "$ref": "#/definitions/app.Response"
  11051. }
  11052. }
  11053. }
  11054. }
  11055. },
  11056. "/WrTrade2/QueryHoldLB": {
  11057. "get": {
  11058. "security": [
  11059. {
  11060. "ApiKeyAuth": []
  11061. }
  11062. ],
  11063. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11064. "produces": [
  11065. "application/json"
  11066. ],
  11067. "tags": [
  11068. "仓单贸易v2"
  11069. ],
  11070. "summary": "查询仓单持有记录",
  11071. "parameters": [
  11072. {
  11073. "type": "integer",
  11074. "description": "资金账号",
  11075. "name": "accountid",
  11076. "in": "query",
  11077. "required": true
  11078. },
  11079. {
  11080. "type": "integer",
  11081. "description": "仓库id",
  11082. "name": "warehouseid",
  11083. "in": "query"
  11084. },
  11085. {
  11086. "type": "integer",
  11087. "description": "品种id",
  11088. "name": "deliverygoodsid",
  11089. "in": "query"
  11090. },
  11091. {
  11092. "type": "integer",
  11093. "description": "品类id",
  11094. "name": "wrstandardid",
  11095. "in": "query"
  11096. }
  11097. ],
  11098. "responses": {
  11099. "200": {
  11100. "description": "OK",
  11101. "schema": {
  11102. "type": "array",
  11103. "items": {
  11104. "$ref": "#/definitions/models.WrHoldLB"
  11105. }
  11106. }
  11107. },
  11108. "500": {
  11109. "description": "Internal Server Error",
  11110. "schema": {
  11111. "$ref": "#/definitions/app.Response"
  11112. }
  11113. }
  11114. }
  11115. }
  11116. },
  11117. "/WrTrade2/QueryOrderQuote": {
  11118. "get": {
  11119. "security": [
  11120. {
  11121. "ApiKeyAuth": []
  11122. }
  11123. ],
  11124. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11125. "produces": [
  11126. "application/json"
  11127. ],
  11128. "tags": [
  11129. "仓单贸易v2"
  11130. ],
  11131. "summary": "查询大厅行情列表",
  11132. "parameters": [
  11133. {
  11134. "type": "integer",
  11135. "description": "页码",
  11136. "name": "page",
  11137. "in": "query"
  11138. },
  11139. {
  11140. "type": "integer",
  11141. "description": "每页条数",
  11142. "name": "pagesize",
  11143. "in": "query"
  11144. },
  11145. {
  11146. "type": "integer",
  11147. "description": "仓单贸易市场id",
  11148. "name": "marketid",
  11149. "in": "query"
  11150. },
  11151. {
  11152. "type": "integer",
  11153. "description": "价格方式 - 1:固定价 2-浮动价",
  11154. "name": "wrpricetype",
  11155. "in": "query",
  11156. "required": true
  11157. },
  11158. {
  11159. "type": "integer",
  11160. "description": "0:仓单预售 1:仓单贸易",
  11161. "name": "haswr",
  11162. "in": "query",
  11163. "required": true
  11164. },
  11165. {
  11166. "type": "string",
  11167. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11168. "name": "dgitemname",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "integer",
  11173. "description": "仓库id(筛选条件)",
  11174. "name": "warehouseid",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "integer",
  11179. "description": "品种id",
  11180. "name": "deliverygoodsid",
  11181. "in": "query"
  11182. },
  11183. {
  11184. "type": "integer",
  11185. "description": "品类id",
  11186. "name": "wrstandardid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "integer",
  11191. "description": "仓单要素id",
  11192. "name": "wrfactortypeid",
  11193. "in": "query"
  11194. },
  11195. {
  11196. "type": "string",
  11197. "description": "交收月(yyyy-mm) 仓单预售填写",
  11198. "name": "deliverymonth",
  11199. "in": "query"
  11200. }
  11201. ],
  11202. "responses": {
  11203. "200": {
  11204. "description": "OK",
  11205. "schema": {
  11206. "type": "array",
  11207. "items": {
  11208. "$ref": "#/definitions/models.WrOrderQuote"
  11209. }
  11210. }
  11211. },
  11212. "500": {
  11213. "description": "Internal Server Error",
  11214. "schema": {
  11215. "$ref": "#/definitions/app.Response"
  11216. }
  11217. }
  11218. }
  11219. }
  11220. },
  11221. "/WrTrade2/QueryOrderQuoteDetail": {
  11222. "get": {
  11223. "security": [
  11224. {
  11225. "ApiKeyAuth": []
  11226. }
  11227. ],
  11228. "produces": [
  11229. "application/json"
  11230. ],
  11231. "tags": [
  11232. "仓单贸易v2"
  11233. ],
  11234. "summary": "查询买卖大厅",
  11235. "parameters": [
  11236. {
  11237. "type": "integer",
  11238. "description": "页码",
  11239. "name": "page",
  11240. "in": "query"
  11241. },
  11242. {
  11243. "type": "integer",
  11244. "description": "每页条数",
  11245. "name": "pagesize",
  11246. "in": "query"
  11247. },
  11248. {
  11249. "type": "integer",
  11250. "description": "仓单贸易市场id",
  11251. "name": "marketid",
  11252. "in": "query"
  11253. },
  11254. {
  11255. "type": "integer",
  11256. "description": "价格方式 - 1:固定价 2-浮动价",
  11257. "name": "wrpricetype",
  11258. "in": "query",
  11259. "required": true
  11260. },
  11261. {
  11262. "type": "integer",
  11263. "description": "0:仓单预售 1:仓单贸易",
  11264. "name": "haswr",
  11265. "in": "query",
  11266. "required": true
  11267. },
  11268. {
  11269. "type": "integer",
  11270. "description": "仓单要素id",
  11271. "name": "wrfactortypeid",
  11272. "in": "query",
  11273. "required": true
  11274. },
  11275. {
  11276. "type": "integer",
  11277. "description": "期货商品id(浮动价方式时填)",
  11278. "name": "goodsid",
  11279. "in": "query"
  11280. },
  11281. {
  11282. "type": "integer",
  11283. "description": "买卖方向 0-买 1-卖",
  11284. "name": "buyorsell",
  11285. "in": "query",
  11286. "required": true
  11287. },
  11288. {
  11289. "type": "string",
  11290. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11291. "name": "deliverymonth",
  11292. "in": "query"
  11293. }
  11294. ],
  11295. "responses": {
  11296. "200": {
  11297. "description": "OK",
  11298. "schema": {
  11299. "type": "array",
  11300. "items": {
  11301. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11302. }
  11303. }
  11304. },
  11305. "500": {
  11306. "description": "Internal Server Error",
  11307. "schema": {
  11308. "$ref": "#/definitions/app.Response"
  11309. }
  11310. }
  11311. }
  11312. }
  11313. },
  11314. "/WrTrade2/QueryOrderQuoteMyq": {
  11315. "get": {
  11316. "security": [
  11317. {
  11318. "ApiKeyAuth": []
  11319. }
  11320. ],
  11321. "produces": [
  11322. "application/json"
  11323. ],
  11324. "tags": [
  11325. "仓单贸易v2"
  11326. ],
  11327. "summary": "查询贸易圈挂牌大厅",
  11328. "parameters": [
  11329. {
  11330. "type": "integer",
  11331. "description": "页码",
  11332. "name": "page",
  11333. "in": "query"
  11334. },
  11335. {
  11336. "type": "integer",
  11337. "description": "每页条数",
  11338. "name": "pagesize",
  11339. "in": "query"
  11340. },
  11341. {
  11342. "type": "integer",
  11343. "description": "仓单贸易市场id",
  11344. "name": "marketid",
  11345. "in": "query"
  11346. },
  11347. {
  11348. "type": "integer",
  11349. "description": "0:仓单预售 1:仓单贸易",
  11350. "name": "haswr",
  11351. "in": "query",
  11352. "required": true
  11353. },
  11354. {
  11355. "type": "integer",
  11356. "description": "买卖方向 0-买 1-卖",
  11357. "name": "buyorsell",
  11358. "in": "query",
  11359. "required": true
  11360. }
  11361. ],
  11362. "responses": {
  11363. "200": {
  11364. "description": "OK",
  11365. "schema": {
  11366. "type": "array",
  11367. "items": {
  11368. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11369. }
  11370. }
  11371. },
  11372. "500": {
  11373. "description": "Internal Server Error",
  11374. "schema": {
  11375. "$ref": "#/definitions/app.Response"
  11376. }
  11377. }
  11378. }
  11379. }
  11380. },
  11381. "/WrTrade2/QueryPerformancePlan": {
  11382. "get": {
  11383. "security": [
  11384. {
  11385. "ApiKeyAuth": []
  11386. }
  11387. ],
  11388. "produces": [
  11389. "application/json"
  11390. ],
  11391. "tags": [
  11392. "仓单贸易v2"
  11393. ],
  11394. "summary": "查询履约信息",
  11395. "parameters": [
  11396. {
  11397. "type": "integer",
  11398. "description": "用户id",
  11399. "name": "userid",
  11400. "in": "query",
  11401. "required": true
  11402. },
  11403. {
  11404. "type": "integer",
  11405. "description": "买卖方向 0-买 1-卖",
  11406. "name": "buyorsell",
  11407. "in": "query",
  11408. "required": true
  11409. }
  11410. ],
  11411. "responses": {
  11412. "200": {
  11413. "description": "OK",
  11414. "schema": {
  11415. "type": "array",
  11416. "items": {
  11417. "$ref": "#/definitions/models.WrPerformancePlan"
  11418. }
  11419. }
  11420. },
  11421. "500": {
  11422. "description": "Internal Server Error",
  11423. "schema": {
  11424. "$ref": "#/definitions/app.Response"
  11425. }
  11426. }
  11427. }
  11428. }
  11429. },
  11430. "/WrTrade2/QueryWrAverageTradePrice": {
  11431. "get": {
  11432. "security": [
  11433. {
  11434. "ApiKeyAuth": []
  11435. }
  11436. ],
  11437. "produces": [
  11438. "application/json"
  11439. ],
  11440. "tags": [
  11441. "仓单贸易v2"
  11442. ],
  11443. "summary": "查询成交价(历史走势)",
  11444. "parameters": [
  11445. {
  11446. "type": "integer",
  11447. "description": "页码",
  11448. "name": "page",
  11449. "in": "query"
  11450. },
  11451. {
  11452. "type": "integer",
  11453. "description": "每页条数",
  11454. "name": "pagesize",
  11455. "in": "query"
  11456. },
  11457. {
  11458. "type": "integer",
  11459. "description": "0:仓单预售 1:仓单贸易",
  11460. "name": "haswr",
  11461. "in": "query",
  11462. "required": true
  11463. },
  11464. {
  11465. "type": "integer",
  11466. "description": "仓单要素id",
  11467. "name": "wrfactortypeid",
  11468. "in": "query",
  11469. "required": true
  11470. }
  11471. ],
  11472. "responses": {
  11473. "200": {
  11474. "description": "OK",
  11475. "schema": {
  11476. "type": "array",
  11477. "items": {
  11478. "$ref": "#/definitions/models.WrAverageTradePrice"
  11479. }
  11480. }
  11481. },
  11482. "500": {
  11483. "description": "Internal Server Error",
  11484. "schema": {
  11485. "$ref": "#/definitions/app.Response"
  11486. }
  11487. }
  11488. }
  11489. }
  11490. },
  11491. "/WrTrade2/QueryWrBsGoodsInfo": {
  11492. "get": {
  11493. "security": [
  11494. {
  11495. "ApiKeyAuth": []
  11496. }
  11497. ],
  11498. "description": "合约交易/买卖大厅/详情",
  11499. "produces": [
  11500. "application/json"
  11501. ],
  11502. "tags": [
  11503. "仓单贸易v2"
  11504. ],
  11505. "summary": "查询合约交易买卖大厅详情",
  11506. "parameters": [
  11507. {
  11508. "type": "integer",
  11509. "description": "商品id",
  11510. "name": "goodsid",
  11511. "in": "query",
  11512. "required": true
  11513. }
  11514. ],
  11515. "responses": {
  11516. "200": {
  11517. "description": "OK",
  11518. "schema": {
  11519. "type": "array",
  11520. "items": {
  11521. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11522. }
  11523. }
  11524. },
  11525. "500": {
  11526. "description": "Internal Server Error",
  11527. "schema": {
  11528. "$ref": "#/definitions/app.Response"
  11529. }
  11530. }
  11531. }
  11532. }
  11533. },
  11534. "/WrTrade2/QueryWrBuybackDetail": {
  11535. "get": {
  11536. "security": [
  11537. {
  11538. "ApiKeyAuth": []
  11539. }
  11540. ],
  11541. "produces": [
  11542. "application/json"
  11543. ],
  11544. "tags": [
  11545. "仓单贸易v2"
  11546. ],
  11547. "summary": "查询仓单回购明细",
  11548. "parameters": [
  11549. {
  11550. "type": "integer",
  11551. "description": "融资合同id",
  11552. "name": "scfcontractid",
  11553. "in": "query"
  11554. }
  11555. ],
  11556. "responses": {
  11557. "200": {
  11558. "description": "OK",
  11559. "schema": {
  11560. "type": "array",
  11561. "items": {
  11562. "$ref": "#/definitions/models.WrBuybackDetail"
  11563. }
  11564. }
  11565. },
  11566. "500": {
  11567. "description": "Internal Server Error",
  11568. "schema": {
  11569. "$ref": "#/definitions/app.Response"
  11570. }
  11571. }
  11572. }
  11573. }
  11574. },
  11575. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  11576. "get": {
  11577. "security": [
  11578. {
  11579. "ApiKeyAuth": []
  11580. }
  11581. ],
  11582. "produces": [
  11583. "application/json"
  11584. ],
  11585. "tags": [
  11586. "仓单贸易v2"
  11587. ],
  11588. "summary": "查询合约交收可点选仓单",
  11589. "parameters": [
  11590. {
  11591. "type": "integer",
  11592. "description": "资金账号",
  11593. "name": "accountid",
  11594. "in": "query",
  11595. "required": true
  11596. },
  11597. {
  11598. "type": "integer",
  11599. "description": "商品id",
  11600. "name": "goodsid",
  11601. "in": "query",
  11602. "required": true
  11603. }
  11604. ],
  11605. "responses": {
  11606. "200": {
  11607. "description": "OK",
  11608. "schema": {
  11609. "type": "array",
  11610. "items": {
  11611. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  11612. }
  11613. }
  11614. },
  11615. "500": {
  11616. "description": "Internal Server Error",
  11617. "schema": {
  11618. "$ref": "#/definitions/app.Response"
  11619. }
  11620. }
  11621. }
  11622. }
  11623. },
  11624. "/WrTrade2/QueryWrDeliveryDetail": {
  11625. "get": {
  11626. "security": [
  11627. {
  11628. "ApiKeyAuth": []
  11629. }
  11630. ],
  11631. "produces": [
  11632. "application/json"
  11633. ],
  11634. "tags": [
  11635. "仓单贸易v2"
  11636. ],
  11637. "summary": "查询交收",
  11638. "parameters": [
  11639. {
  11640. "type": "integer",
  11641. "description": "用户id",
  11642. "name": "userid",
  11643. "in": "query",
  11644. "required": true
  11645. },
  11646. {
  11647. "type": "integer",
  11648. "description": "资金账号id",
  11649. "name": "accountid",
  11650. "in": "query"
  11651. }
  11652. ],
  11653. "responses": {
  11654. "200": {
  11655. "description": "OK",
  11656. "schema": {
  11657. "type": "array",
  11658. "items": {
  11659. "$ref": "#/definitions/models.WrDeliveryDetail"
  11660. }
  11661. }
  11662. },
  11663. "500": {
  11664. "description": "Internal Server Error",
  11665. "schema": {
  11666. "$ref": "#/definitions/app.Response"
  11667. }
  11668. }
  11669. }
  11670. }
  11671. },
  11672. "/WrTrade2/QueryWrFactorTypeInfo": {
  11673. "get": {
  11674. "security": [
  11675. {
  11676. "ApiKeyAuth": []
  11677. }
  11678. ],
  11679. "produces": [
  11680. "application/json"
  11681. ],
  11682. "tags": [
  11683. "仓单贸易v2"
  11684. ],
  11685. "summary": "查询仓单要素详细信息",
  11686. "parameters": [
  11687. {
  11688. "type": "integer",
  11689. "description": "仓单要素id",
  11690. "name": "wrfactortypeid",
  11691. "in": "query",
  11692. "required": true
  11693. }
  11694. ],
  11695. "responses": {
  11696. "200": {
  11697. "description": "OK",
  11698. "schema": {
  11699. "type": "array",
  11700. "items": {
  11701. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11702. }
  11703. }
  11704. },
  11705. "500": {
  11706. "description": "Internal Server Error",
  11707. "schema": {
  11708. "$ref": "#/definitions/app.Response"
  11709. }
  11710. }
  11711. }
  11712. }
  11713. },
  11714. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11715. "get": {
  11716. "security": [
  11717. {
  11718. "ApiKeyAuth": []
  11719. }
  11720. ],
  11721. "produces": [
  11722. "application/json"
  11723. ],
  11724. "tags": [
  11725. "仓单贸易v2"
  11726. ],
  11727. "summary": "查询仓单要素详细信息列表项",
  11728. "parameters": [
  11729. {
  11730. "type": "integer",
  11731. "description": "仓单要素id",
  11732. "name": "wrfactortypeid",
  11733. "in": "query",
  11734. "required": true
  11735. }
  11736. ],
  11737. "responses": {
  11738. "200": {
  11739. "description": "OK",
  11740. "schema": {
  11741. "type": "array",
  11742. "items": {
  11743. "$ref": "#/definitions/models.WrTypeItem"
  11744. }
  11745. }
  11746. },
  11747. "500": {
  11748. "description": "Internal Server Error",
  11749. "schema": {
  11750. "$ref": "#/definitions/app.Response"
  11751. }
  11752. }
  11753. }
  11754. }
  11755. },
  11756. "/WrTrade2/QueryWrFinanceBuyApply": {
  11757. "get": {
  11758. "security": [
  11759. {
  11760. "ApiKeyAuth": []
  11761. }
  11762. ],
  11763. "description": "页面 融资信息+ / 申请单",
  11764. "produces": [
  11765. "application/json"
  11766. ],
  11767. "tags": [
  11768. "仓单贸易v2"
  11769. ],
  11770. "summary": "查询融资购买申请",
  11771. "parameters": [
  11772. {
  11773. "type": "integer",
  11774. "description": "用户id",
  11775. "name": "userid",
  11776. "in": "query",
  11777. "required": true
  11778. }
  11779. ],
  11780. "responses": {
  11781. "200": {
  11782. "description": "OK",
  11783. "schema": {
  11784. "type": "array",
  11785. "items": {
  11786. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11787. }
  11788. }
  11789. },
  11790. "500": {
  11791. "description": "Internal Server Error",
  11792. "schema": {
  11793. "$ref": "#/definitions/app.Response"
  11794. }
  11795. }
  11796. }
  11797. }
  11798. },
  11799. "/WrTrade2/QueryWrGoodsInfo": {
  11800. "get": {
  11801. "security": [
  11802. {
  11803. "ApiKeyAuth": []
  11804. }
  11805. ],
  11806. "produces": [
  11807. "application/json"
  11808. ],
  11809. "tags": [
  11810. "仓单贸易v2"
  11811. ],
  11812. "summary": "查询仓单商品信息",
  11813. "parameters": [
  11814. {
  11815. "type": "integer",
  11816. "description": "仓单贸易市场id",
  11817. "name": "marketid",
  11818. "in": "query"
  11819. },
  11820. {
  11821. "type": "integer",
  11822. "description": "0:仓单预售 1:仓单贸易",
  11823. "name": "haswr",
  11824. "in": "query",
  11825. "required": true
  11826. },
  11827. {
  11828. "type": "integer",
  11829. "description": "仓单要素id",
  11830. "name": "wrfactortypeid",
  11831. "in": "query",
  11832. "required": true
  11833. }
  11834. ],
  11835. "responses": {
  11836. "200": {
  11837. "description": "OK",
  11838. "schema": {
  11839. "type": "array",
  11840. "items": {
  11841. "$ref": "#/definitions/models.WrGoodsInfo"
  11842. }
  11843. }
  11844. },
  11845. "500": {
  11846. "description": "Internal Server Error",
  11847. "schema": {
  11848. "$ref": "#/definitions/app.Response"
  11849. }
  11850. }
  11851. }
  11852. }
  11853. },
  11854. "/WrTrade2/QueryWrMarketTradeConfig": {
  11855. "get": {
  11856. "security": [
  11857. {
  11858. "ApiKeyAuth": []
  11859. }
  11860. ],
  11861. "produces": [
  11862. "application/json"
  11863. ],
  11864. "tags": [
  11865. "仓单贸易v2"
  11866. ],
  11867. "summary": "查询市场交易参数配置",
  11868. "parameters": [
  11869. {
  11870. "type": "integer",
  11871. "description": "市场id",
  11872. "name": "marketid",
  11873. "in": "query"
  11874. }
  11875. ],
  11876. "responses": {
  11877. "200": {
  11878. "description": "OK",
  11879. "schema": {
  11880. "type": "array",
  11881. "items": {
  11882. "$ref": "#/definitions/models.WrMarketTradeConfig"
  11883. }
  11884. }
  11885. },
  11886. "500": {
  11887. "description": "Internal Server Error",
  11888. "schema": {
  11889. "$ref": "#/definitions/app.Response"
  11890. }
  11891. }
  11892. }
  11893. }
  11894. },
  11895. "/WrTrade2/QueryWrOrderDetail": {
  11896. "get": {
  11897. "security": [
  11898. {
  11899. "ApiKeyAuth": []
  11900. }
  11901. ],
  11902. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11903. "produces": [
  11904. "application/json"
  11905. ],
  11906. "tags": [
  11907. "仓单贸易v2"
  11908. ],
  11909. "summary": "查询仓单委托单(挂单)",
  11910. "parameters": [
  11911. {
  11912. "type": "integer",
  11913. "description": "页码",
  11914. "name": "page",
  11915. "in": "query"
  11916. },
  11917. {
  11918. "type": "integer",
  11919. "description": "每页条数",
  11920. "name": "pagesize",
  11921. "in": "query"
  11922. },
  11923. {
  11924. "type": "integer",
  11925. "description": "用户id",
  11926. "name": "userid",
  11927. "in": "query",
  11928. "required": true
  11929. },
  11930. {
  11931. "type": "integer",
  11932. "description": "仓单贸易市场id",
  11933. "name": "marketid",
  11934. "in": "query"
  11935. },
  11936. {
  11937. "type": "integer",
  11938. "description": "0:仓单预售 1:仓单贸易",
  11939. "name": "haswr",
  11940. "in": "query",
  11941. "required": true
  11942. }
  11943. ],
  11944. "responses": {
  11945. "200": {
  11946. "description": "OK",
  11947. "schema": {
  11948. "type": "array",
  11949. "items": {
  11950. "$ref": "#/definitions/models.WrOrderDetail"
  11951. }
  11952. }
  11953. },
  11954. "500": {
  11955. "description": "Internal Server Error",
  11956. "schema": {
  11957. "$ref": "#/definitions/app.Response"
  11958. }
  11959. }
  11960. }
  11961. }
  11962. },
  11963. "/WrTrade2/QueryWrOutInApply": {
  11964. "get": {
  11965. "security": [
  11966. {
  11967. "ApiKeyAuth": []
  11968. }
  11969. ],
  11970. "produces": [
  11971. "application/json"
  11972. ],
  11973. "tags": [
  11974. "仓单贸易v2"
  11975. ],
  11976. "summary": "查询提货申请",
  11977. "parameters": [
  11978. {
  11979. "type": "integer",
  11980. "description": "用户id",
  11981. "name": "userid",
  11982. "in": "query",
  11983. "required": true
  11984. }
  11985. ],
  11986. "responses": {
  11987. "200": {
  11988. "description": "OK",
  11989. "schema": {
  11990. "type": "array",
  11991. "items": {
  11992. "$ref": "#/definitions/models.WrOutInApply"
  11993. }
  11994. }
  11995. },
  11996. "500": {
  11997. "description": "Internal Server Error",
  11998. "schema": {
  11999. "$ref": "#/definitions/app.Response"
  12000. }
  12001. }
  12002. }
  12003. }
  12004. },
  12005. "/WrTrade2/QueryWrPerformancePlanStep": {
  12006. "get": {
  12007. "security": [
  12008. {
  12009. "ApiKeyAuth": []
  12010. }
  12011. ],
  12012. "produces": [
  12013. "application/json"
  12014. ],
  12015. "tags": [
  12016. "仓单贸易v2"
  12017. ],
  12018. "summary": "查询履约信息详情",
  12019. "parameters": [
  12020. {
  12021. "type": "integer",
  12022. "description": "履约计划id(performanceplanid)",
  12023. "name": "planid",
  12024. "in": "query",
  12025. "required": true
  12026. },
  12027. {
  12028. "type": "integer",
  12029. "description": "当前步骤id",
  12030. "name": "curstepid",
  12031. "in": "query"
  12032. }
  12033. ],
  12034. "responses": {
  12035. "200": {
  12036. "description": "OK",
  12037. "schema": {
  12038. "type": "array",
  12039. "items": {
  12040. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12041. }
  12042. }
  12043. },
  12044. "500": {
  12045. "description": "Internal Server Error",
  12046. "schema": {
  12047. "$ref": "#/definitions/app.Response"
  12048. }
  12049. }
  12050. }
  12051. }
  12052. },
  12053. "/WrTrade2/QueryWrPosition": {
  12054. "get": {
  12055. "security": [
  12056. {
  12057. "ApiKeyAuth": []
  12058. }
  12059. ],
  12060. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12061. "produces": [
  12062. "application/json"
  12063. ],
  12064. "tags": [
  12065. "仓单贸易v2"
  12066. ],
  12067. "summary": "查询现货(预售)仓单持仓",
  12068. "parameters": [
  12069. {
  12070. "type": "integer",
  12071. "description": "用户id",
  12072. "name": "userid",
  12073. "in": "query",
  12074. "required": true
  12075. },
  12076. {
  12077. "type": "integer",
  12078. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12079. "name": "querytype",
  12080. "in": "query",
  12081. "required": true
  12082. },
  12083. {
  12084. "type": "integer",
  12085. "description": "0:仓单预售 1:仓单贸易",
  12086. "name": "haswr",
  12087. "in": "query",
  12088. "required": true
  12089. },
  12090. {
  12091. "type": "string",
  12092. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12093. "name": "dgitemname",
  12094. "in": "query"
  12095. },
  12096. {
  12097. "type": "integer",
  12098. "description": "仓库id(筛选条件)",
  12099. "name": "warehouseid",
  12100. "in": "query"
  12101. },
  12102. {
  12103. "type": "integer",
  12104. "description": "品种id",
  12105. "name": "deliverygoodsid",
  12106. "in": "query"
  12107. },
  12108. {
  12109. "type": "integer",
  12110. "description": "品类id",
  12111. "name": "wrstandardid",
  12112. "in": "query"
  12113. }
  12114. ],
  12115. "responses": {
  12116. "200": {
  12117. "description": "OK",
  12118. "schema": {
  12119. "type": "array",
  12120. "items": {
  12121. "$ref": "#/definitions/models.WrPosition"
  12122. }
  12123. }
  12124. },
  12125. "500": {
  12126. "description": "Internal Server Error",
  12127. "schema": {
  12128. "$ref": "#/definitions/app.Response"
  12129. }
  12130. }
  12131. }
  12132. }
  12133. },
  12134. "/WrTrade2/QueryWrScfContract": {
  12135. "get": {
  12136. "security": [
  12137. {
  12138. "ApiKeyAuth": []
  12139. }
  12140. ],
  12141. "produces": [
  12142. "application/json"
  12143. ],
  12144. "tags": [
  12145. "仓单贸易v2"
  12146. ],
  12147. "summary": "查询仓单贸易融资合同",
  12148. "parameters": [
  12149. {
  12150. "type": "integer",
  12151. "description": "用户id",
  12152. "name": "userid",
  12153. "in": "query",
  12154. "required": true
  12155. },
  12156. {
  12157. "type": "integer",
  12158. "description": "融资合同id",
  12159. "name": "scfcontractid",
  12160. "in": "query"
  12161. }
  12162. ],
  12163. "responses": {
  12164. "200": {
  12165. "description": "OK",
  12166. "schema": {
  12167. "type": "array",
  12168. "items": {
  12169. "$ref": "#/definitions/models.WrScfContract"
  12170. }
  12171. }
  12172. },
  12173. "500": {
  12174. "description": "Internal Server Error",
  12175. "schema": {
  12176. "$ref": "#/definitions/app.Response"
  12177. }
  12178. }
  12179. }
  12180. }
  12181. },
  12182. "/WrTrade2/QueryWrScfContractInterest": {
  12183. "get": {
  12184. "security": [
  12185. {
  12186. "ApiKeyAuth": []
  12187. }
  12188. ],
  12189. "produces": [
  12190. "application/json"
  12191. ],
  12192. "tags": [
  12193. "仓单贸易v2"
  12194. ],
  12195. "summary": "查询融资合同费用明细",
  12196. "parameters": [
  12197. {
  12198. "type": "integer",
  12199. "description": "融资合同id",
  12200. "name": "scfcontractid",
  12201. "in": "query"
  12202. }
  12203. ],
  12204. "responses": {
  12205. "200": {
  12206. "description": "OK",
  12207. "schema": {
  12208. "type": "array",
  12209. "items": {
  12210. "$ref": "#/definitions/models.WrScfContractInterest"
  12211. }
  12212. }
  12213. },
  12214. "500": {
  12215. "description": "Internal Server Error",
  12216. "schema": {
  12217. "$ref": "#/definitions/app.Response"
  12218. }
  12219. }
  12220. }
  12221. }
  12222. },
  12223. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12224. "get": {
  12225. "security": [
  12226. {
  12227. "ApiKeyAuth": []
  12228. }
  12229. ],
  12230. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12231. "produces": [
  12232. "application/json"
  12233. ],
  12234. "tags": [
  12235. "仓单贸易v2"
  12236. ],
  12237. "summary": "查询指定成交",
  12238. "parameters": [
  12239. {
  12240. "type": "integer",
  12241. "description": "页码",
  12242. "name": "page",
  12243. "in": "query"
  12244. },
  12245. {
  12246. "type": "integer",
  12247. "description": "每页条数",
  12248. "name": "pagesize",
  12249. "in": "query"
  12250. },
  12251. {
  12252. "type": "integer",
  12253. "description": "用户id",
  12254. "name": "userid",
  12255. "in": "query",
  12256. "required": true
  12257. },
  12258. {
  12259. "type": "integer",
  12260. "description": "仓单贸易市场id",
  12261. "name": "marketid",
  12262. "in": "query"
  12263. },
  12264. {
  12265. "type": "integer",
  12266. "description": "0:仓单预售 1:仓单贸易",
  12267. "name": "haswr",
  12268. "in": "query",
  12269. "required": true
  12270. }
  12271. ],
  12272. "responses": {
  12273. "200": {
  12274. "description": "OK",
  12275. "schema": {
  12276. "type": "array",
  12277. "items": {
  12278. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12279. }
  12280. }
  12281. },
  12282. "500": {
  12283. "description": "Internal Server Error",
  12284. "schema": {
  12285. "$ref": "#/definitions/app.Response"
  12286. }
  12287. }
  12288. }
  12289. }
  12290. },
  12291. "/WrTrade2/QueryWrStandardFactoryItem": {
  12292. "get": {
  12293. "security": [
  12294. {
  12295. "ApiKeyAuth": []
  12296. }
  12297. ],
  12298. "produces": [
  12299. "application/json"
  12300. ],
  12301. "tags": [
  12302. "仓单贸易v2"
  12303. ],
  12304. "summary": "查询品类要素定义项",
  12305. "parameters": [
  12306. {
  12307. "type": "integer",
  12308. "description": "品类id",
  12309. "name": "wrstandardid",
  12310. "in": "query",
  12311. "required": true
  12312. }
  12313. ],
  12314. "responses": {
  12315. "200": {
  12316. "description": "OK",
  12317. "schema": {
  12318. "type": "array",
  12319. "items": {
  12320. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12321. }
  12322. }
  12323. },
  12324. "500": {
  12325. "description": "Internal Server Error",
  12326. "schema": {
  12327. "$ref": "#/definitions/app.Response"
  12328. }
  12329. }
  12330. }
  12331. }
  12332. },
  12333. "/WrTrade2/QueryWrTradeDetail": {
  12334. "get": {
  12335. "security": [
  12336. {
  12337. "ApiKeyAuth": []
  12338. }
  12339. ],
  12340. "produces": [
  12341. "application/json"
  12342. ],
  12343. "tags": [
  12344. "仓单贸易v2"
  12345. ],
  12346. "summary": "查询仓单成交明细",
  12347. "parameters": [
  12348. {
  12349. "type": "integer",
  12350. "description": "页码",
  12351. "name": "page",
  12352. "in": "query"
  12353. },
  12354. {
  12355. "type": "integer",
  12356. "description": "每页条数",
  12357. "name": "pagesize",
  12358. "in": "query"
  12359. },
  12360. {
  12361. "type": "integer",
  12362. "description": "用户id",
  12363. "name": "userid",
  12364. "in": "query",
  12365. "required": true
  12366. },
  12367. {
  12368. "type": "integer",
  12369. "description": "仓单贸易市场id",
  12370. "name": "marketid",
  12371. "in": "query"
  12372. },
  12373. {
  12374. "type": "integer",
  12375. "description": "0:仓单预售 1:仓单贸易",
  12376. "name": "haswr",
  12377. "in": "query",
  12378. "required": true
  12379. }
  12380. ],
  12381. "responses": {
  12382. "200": {
  12383. "description": "OK",
  12384. "schema": {
  12385. "type": "array",
  12386. "items": {
  12387. "$ref": "#/definitions/models.WrTradeDetail"
  12388. }
  12389. }
  12390. },
  12391. "500": {
  12392. "description": "Internal Server Error",
  12393. "schema": {
  12394. "$ref": "#/definitions/app.Response"
  12395. }
  12396. }
  12397. }
  12398. }
  12399. },
  12400. "/WrTrade2/QueryWrTradeOrderDetail": {
  12401. "get": {
  12402. "security": [
  12403. {
  12404. "ApiKeyAuth": []
  12405. }
  12406. ],
  12407. "produces": [
  12408. "application/json"
  12409. ],
  12410. "tags": [
  12411. "仓单贸易v2"
  12412. ],
  12413. "summary": "查询合约交易买卖大厅",
  12414. "parameters": [
  12415. {
  12416. "type": "integer",
  12417. "description": "页码",
  12418. "name": "page",
  12419. "in": "query"
  12420. },
  12421. {
  12422. "type": "integer",
  12423. "description": "每页条数",
  12424. "name": "pagesize",
  12425. "in": "query"
  12426. },
  12427. {
  12428. "type": "integer",
  12429. "description": "商品id",
  12430. "name": "goodsid",
  12431. "in": "query",
  12432. "required": true
  12433. },
  12434. {
  12435. "type": "integer",
  12436. "description": "买卖方向 0-买 1-卖",
  12437. "name": "buyorsell",
  12438. "in": "query",
  12439. "required": true
  12440. }
  12441. ],
  12442. "responses": {
  12443. "200": {
  12444. "description": "OK",
  12445. "schema": {
  12446. "type": "array",
  12447. "items": {
  12448. "$ref": "#/definitions/models.WrTradeOrderDetail"
  12449. }
  12450. }
  12451. },
  12452. "500": {
  12453. "description": "Internal Server Error",
  12454. "schema": {
  12455. "$ref": "#/definitions/app.Response"
  12456. }
  12457. }
  12458. }
  12459. }
  12460. }
  12461. },
  12462. "definitions": {
  12463. "app.Response": {
  12464. "type": "object",
  12465. "properties": {
  12466. "code": {
  12467. "type": "integer"
  12468. },
  12469. "data": {
  12470. "type": "object"
  12471. },
  12472. "msg": {
  12473. "type": "string"
  12474. },
  12475. "page": {
  12476. "description": "页码",
  12477. "type": "integer"
  12478. },
  12479. "pagesize": {
  12480. "description": "每页条数",
  12481. "type": "integer"
  12482. },
  12483. "total": {
  12484. "description": "总条数",
  12485. "type": "integer"
  12486. }
  12487. }
  12488. },
  12489. "common.ClientMenu": {
  12490. "type": "object",
  12491. "properties": {
  12492. "children": {
  12493. "description": "子菜单列表",
  12494. "type": "array",
  12495. "items": {
  12496. "$ref": "#/definitions/common.ClientMenu"
  12497. }
  12498. },
  12499. "code": {
  12500. "description": "ID",
  12501. "type": "string"
  12502. },
  12503. "isshow": {
  12504. "description": "是否显示",
  12505. "type": "boolean"
  12506. },
  12507. "remark": {
  12508. "description": "备注",
  12509. "type": "string"
  12510. },
  12511. "rulekey": {
  12512. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  12513. "type": "string"
  12514. },
  12515. "sort": {
  12516. "description": "排序",
  12517. "type": "integer"
  12518. },
  12519. "title": {
  12520. "description": "标题",
  12521. "type": "string"
  12522. },
  12523. "type": {
  12524. "description": "类型,1:菜单 2:按钮",
  12525. "type": "integer"
  12526. },
  12527. "url": {
  12528. "description": "URL",
  12529. "type": "string"
  12530. }
  12531. }
  12532. },
  12533. "common.QueryImageConfigsRsp": {
  12534. "type": "object",
  12535. "required": [
  12536. "configid"
  12537. ],
  12538. "properties": {
  12539. "areauserid": {
  12540. "description": "所属机构ID",
  12541. "type": "integer"
  12542. },
  12543. "configid": {
  12544. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12545. "type": "integer"
  12546. },
  12547. "createdate": {
  12548. "description": "创建时间",
  12549. "type": "string"
  12550. },
  12551. "creatorid": {
  12552. "description": "创建人",
  12553. "type": "integer"
  12554. },
  12555. "imagepath": {
  12556. "description": "图片",
  12557. "type": "string"
  12558. },
  12559. "imagetype": {
  12560. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  12561. "type": "integer"
  12562. },
  12563. "isshow": {
  12564. "description": "是否展示 - 0:不展示 1:展示",
  12565. "type": "integer"
  12566. },
  12567. "marketid": {
  12568. "description": "市场ID",
  12569. "type": "integer"
  12570. },
  12571. "modifierid": {
  12572. "description": "操作人",
  12573. "type": "integer"
  12574. },
  12575. "sort": {
  12576. "description": "排序",
  12577. "type": "integer"
  12578. },
  12579. "title": {
  12580. "description": "标题",
  12581. "type": "string"
  12582. },
  12583. "trademode": {
  12584. "description": "交易模式",
  12585. "type": "integer"
  12586. },
  12587. "updatedate": {
  12588. "description": "修改时间",
  12589. "type": "string"
  12590. },
  12591. "url": {
  12592. "description": "链接(地址或商品ID)",
  12593. "type": "string"
  12594. },
  12595. "urltype": {
  12596. "description": "链接类型 - 1:直接地址 2:商品ID",
  12597. "type": "integer"
  12598. }
  12599. }
  12600. },
  12601. "common.QueryNoticeRsp": {
  12602. "type": "object",
  12603. "required": [
  12604. "autoid"
  12605. ],
  12606. "properties": {
  12607. "auditoruserid": {
  12608. "description": "审核人",
  12609. "type": "integer"
  12610. },
  12611. "auditremark": {
  12612. "description": "审核备注",
  12613. "type": "string"
  12614. },
  12615. "audittime": {
  12616. "description": "审核日期",
  12617. "type": "string"
  12618. },
  12619. "autoid": {
  12620. "description": "自增ID",
  12621. "type": "integer"
  12622. },
  12623. "content": {
  12624. "description": "内容",
  12625. "type": "string"
  12626. },
  12627. "createtime": {
  12628. "description": "创建时间",
  12629. "type": "string"
  12630. },
  12631. "creatorid": {
  12632. "description": "建仓人",
  12633. "type": "integer"
  12634. },
  12635. "endtime": {
  12636. "description": "结束时间",
  12637. "type": "string"
  12638. },
  12639. "istop": {
  12640. "description": "是否置顶 - 0:不置顶 1:置顶",
  12641. "type": "integer"
  12642. },
  12643. "msgiconurl": {
  12644. "description": "消息图标Url",
  12645. "type": "string"
  12646. },
  12647. "msgtype": {
  12648. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  12649. "type": "integer"
  12650. },
  12651. "publisher": {
  12652. "description": "消息发布者",
  12653. "type": "string"
  12654. },
  12655. "readed": {
  12656. "description": "是否已读",
  12657. "type": "boolean"
  12658. },
  12659. "scheduletime": {
  12660. "description": "计划发送时间",
  12661. "type": "string"
  12662. },
  12663. "sendtype": {
  12664. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  12665. "type": "integer"
  12666. },
  12667. "sentstatus": {
  12668. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  12669. "type": "integer"
  12670. },
  12671. "title": {
  12672. "description": "标题",
  12673. "type": "string"
  12674. },
  12675. "userid": {
  12676. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  12677. "type": "integer"
  12678. }
  12679. }
  12680. },
  12681. "common.QueryProvincesAndCitiesRsp": {
  12682. "type": "object",
  12683. "properties": {
  12684. "cities": {
  12685. "description": "市",
  12686. "type": "array",
  12687. "items": {
  12688. "$ref": "#/definitions/models.Division"
  12689. }
  12690. },
  12691. "province": {
  12692. "description": "省",
  12693. "type": "object",
  12694. "$ref": "#/definitions/models.Division"
  12695. }
  12696. }
  12697. },
  12698. "common.QueryTableDefineRsp": {
  12699. "type": "object",
  12700. "required": [
  12701. "tablekey"
  12702. ],
  12703. "properties": {
  12704. "columns": {
  12705. "description": "列头信息数组",
  12706. "type": "array",
  12707. "items": {
  12708. "$ref": "#/definitions/models.Tablecolumnconfig"
  12709. }
  12710. },
  12711. "remark": {
  12712. "description": "Remark",
  12713. "type": "string"
  12714. },
  12715. "tabelmenu": {
  12716. "description": "列表菜单",
  12717. "type": "string"
  12718. },
  12719. "tablekey": {
  12720. "description": "列表Key",
  12721. "type": "string"
  12722. },
  12723. "tablename": {
  12724. "description": "列表名称",
  12725. "type": "string"
  12726. },
  12727. "tabletype": {
  12728. "description": "列表类型 - 1:管理端 2:终端",
  12729. "type": "integer"
  12730. }
  12731. }
  12732. },
  12733. "common.QueryTraderMenuRsp": {
  12734. "type": "object",
  12735. "properties": {
  12736. "OperationMenu": {
  12737. "description": "功能菜单",
  12738. "type": "array",
  12739. "items": {
  12740. "$ref": "#/definitions/models.OperationPrimaryMenu"
  12741. }
  12742. },
  12743. "QuoteMenu": {
  12744. "description": "报价牌分类菜单",
  12745. "type": "array",
  12746. "items": {
  12747. "$ref": "#/definitions/models.QuotePrimaryMenu"
  12748. }
  12749. }
  12750. }
  12751. },
  12752. "cptrade.Cptradepositioncancel": {
  12753. "type": "object",
  12754. "required": [
  12755. "cancelid"
  12756. ],
  12757. "properties": {
  12758. "accountid": {
  12759. "description": "申请人账户ID",
  12760. "type": "integer"
  12761. },
  12762. "applystatus": {
  12763. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12764. "type": "integer"
  12765. },
  12766. "applytime": {
  12767. "description": "申请时间",
  12768. "type": "string"
  12769. },
  12770. "cancelid": {
  12771. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  12772. "type": "integer"
  12773. },
  12774. "cancelqty": {
  12775. "description": "注销数量",
  12776. "type": "integer"
  12777. },
  12778. "createtime": {
  12779. "description": "创建时间",
  12780. "type": "string"
  12781. },
  12782. "creatorid": {
  12783. "description": "创建人ID",
  12784. "type": "integer"
  12785. },
  12786. "creatorname": {
  12787. "description": "创建人",
  12788. "type": "string"
  12789. },
  12790. "goodscode": {
  12791. "description": "订单商品代码",
  12792. "type": "string"
  12793. },
  12794. "goodsid": {
  12795. "description": "商品ID",
  12796. "type": "integer"
  12797. },
  12798. "goodsname": {
  12799. "description": "订单商品名称",
  12800. "type": "string"
  12801. },
  12802. "goodunit": {
  12803. "description": "报价单位",
  12804. "type": "string"
  12805. },
  12806. "handlestatus": {
  12807. "description": "处理状态",
  12808. "type": "integer"
  12809. },
  12810. "marketid": {
  12811. "description": "市场ID",
  12812. "type": "integer"
  12813. },
  12814. "marketname": {
  12815. "description": "市场名称",
  12816. "type": "string"
  12817. },
  12818. "tradedate": {
  12819. "description": "交易日(yyyyMMdd)",
  12820. "type": "string"
  12821. },
  12822. "userid": {
  12823. "description": "申请人ID",
  12824. "type": "integer"
  12825. }
  12826. }
  12827. },
  12828. "cptrade.Cptradepresaleapply": {
  12829. "type": "object",
  12830. "required": [
  12831. "applyid"
  12832. ],
  12833. "properties": {
  12834. "accountid": {
  12835. "description": "申请人账户ID",
  12836. "type": "integer"
  12837. },
  12838. "applyid": {
  12839. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  12840. "type": "integer"
  12841. },
  12842. "applyremark": {
  12843. "description": "申请备注",
  12844. "type": "string"
  12845. },
  12846. "applystatus": {
  12847. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12848. "type": "integer"
  12849. },
  12850. "applytime": {
  12851. "description": "申请时间",
  12852. "type": "string"
  12853. },
  12854. "attachmenturl": {
  12855. "description": "附件地址",
  12856. "type": "string"
  12857. },
  12858. "endtime": {
  12859. "description": "预售结束时间",
  12860. "type": "string"
  12861. },
  12862. "goodscode": {
  12863. "description": "商品代码",
  12864. "type": "string"
  12865. },
  12866. "goodsid": {
  12867. "description": "商品ID",
  12868. "type": "integer"
  12869. },
  12870. "goodsname": {
  12871. "description": "商品名称",
  12872. "type": "string"
  12873. },
  12874. "goodunit": {
  12875. "description": "报价单位",
  12876. "type": "string"
  12877. },
  12878. "handlestatus": {
  12879. "description": "处理状态",
  12880. "type": "integer"
  12881. },
  12882. "marketid": {
  12883. "description": "预售市场ID",
  12884. "type": "integer"
  12885. },
  12886. "marketname": {
  12887. "description": "预售市场名称",
  12888. "type": "string"
  12889. },
  12890. "presaleqty": {
  12891. "description": "预售数量",
  12892. "type": "integer"
  12893. },
  12894. "relatedgoodscode": {
  12895. "description": "关联交易合约代码",
  12896. "type": "string"
  12897. },
  12898. "relatedgoodsid": {
  12899. "description": "关联交易合约ID",
  12900. "type": "integer"
  12901. },
  12902. "relatedgoodsname": {
  12903. "description": "关联交易合约名称",
  12904. "type": "string"
  12905. },
  12906. "starttime": {
  12907. "description": "预售开始时间",
  12908. "type": "string"
  12909. },
  12910. "tradedate": {
  12911. "description": "交易日(yyyyMMdd)",
  12912. "type": "string"
  12913. },
  12914. "trademode": {
  12915. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  12916. "type": "integer"
  12917. },
  12918. "userid": {
  12919. "description": "申请人ID",
  12920. "type": "integer"
  12921. }
  12922. }
  12923. },
  12924. "cptrade.Cptradeusergoodsdata": {
  12925. "type": "object",
  12926. "required": [
  12927. "accountid",
  12928. "goodsid"
  12929. ],
  12930. "properties": {
  12931. "EnabledQty": {
  12932. "description": "可用量",
  12933. "type": "integer"
  12934. },
  12935. "GoodsCode": {
  12936. "description": "订单商品代码",
  12937. "type": "string"
  12938. },
  12939. "GoodsName": {
  12940. "description": "订单商品名称",
  12941. "type": "string"
  12942. },
  12943. "WRStandardCode": {
  12944. "description": "仓单标准代码",
  12945. "type": "string"
  12946. },
  12947. "WRStandardName": {
  12948. "description": "仓单标准名称",
  12949. "type": "string"
  12950. },
  12951. "accountid": {
  12952. "description": "账户ID",
  12953. "type": "integer"
  12954. },
  12955. "cancelqty": {
  12956. "description": "注销量",
  12957. "type": "integer"
  12958. },
  12959. "curpresaleqty": {
  12960. "description": "当前预售量",
  12961. "type": "integer"
  12962. },
  12963. "deliveryqty": {
  12964. "description": "交割量",
  12965. "type": "integer"
  12966. },
  12967. "freezeamount": {
  12968. "description": "冻结金额",
  12969. "type": "number"
  12970. },
  12971. "goodsid": {
  12972. "description": "商品ID",
  12973. "type": "integer"
  12974. },
  12975. "goodunit": {
  12976. "description": "报价单位",
  12977. "type": "string"
  12978. },
  12979. "hasspotfreeze": {
  12980. "description": "是否有现货冻结 - 0:否 1:有",
  12981. "type": "integer"
  12982. },
  12983. "inqty": {
  12984. "description": "转入量(总数量)",
  12985. "type": "integer"
  12986. },
  12987. "marketid": {
  12988. "description": "市场ID",
  12989. "type": "integer"
  12990. },
  12991. "presaledamount": {
  12992. "description": "已预售总金额",
  12993. "type": "integer"
  12994. },
  12995. "presaledqty": {
  12996. "description": "已预售量",
  12997. "type": "integer"
  12998. },
  12999. "userid": {
  13000. "description": "用户ID",
  13001. "type": "integer"
  13002. },
  13003. "wrstandardid": {
  13004. "description": "仓单标准ID",
  13005. "type": "integer"
  13006. }
  13007. }
  13008. },
  13009. "cptrade.QueryCPTradeMyBidRsp": {
  13010. "type": "object",
  13011. "required": [
  13012. "accountid",
  13013. "goodsid",
  13014. "marketid",
  13015. "orderid",
  13016. "orderqty",
  13017. "ordertime",
  13018. "tradeprice",
  13019. "tradeqty"
  13020. ],
  13021. "properties": {
  13022. "accountid": {
  13023. "description": "账户ID[报价币种]",
  13024. "type": "integer"
  13025. },
  13026. "goodsid": {
  13027. "description": "商品ID",
  13028. "type": "integer"
  13029. },
  13030. "goodunit": {
  13031. "description": "报价单位",
  13032. "type": "string"
  13033. },
  13034. "marketid": {
  13035. "description": "市场ID",
  13036. "type": "integer"
  13037. },
  13038. "orderid": {
  13039. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13040. "type": "integer"
  13041. },
  13042. "orderprice": {
  13043. "description": "委托价格",
  13044. "type": "number"
  13045. },
  13046. "orderqty": {
  13047. "description": "委托数量",
  13048. "type": "integer"
  13049. },
  13050. "ordertime": {
  13051. "description": "委托时间",
  13052. "type": "string"
  13053. },
  13054. "ordertotalprice": {
  13055. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13056. "type": "number"
  13057. },
  13058. "ordertotalweight": {
  13059. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13060. "type": "integer"
  13061. },
  13062. "totaltotalprice": {
  13063. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13064. "type": "number"
  13065. },
  13066. "tradeprice": {
  13067. "description": "成交价格",
  13068. "type": "number"
  13069. },
  13070. "tradeqty": {
  13071. "description": "成交数量",
  13072. "type": "integer"
  13073. }
  13074. }
  13075. },
  13076. "cptrade.QueryCPTradeOrderDetailRsq": {
  13077. "type": "object",
  13078. "required": [
  13079. "accountid",
  13080. "buildtype",
  13081. "buyorsell",
  13082. "goodsid",
  13083. "marketid",
  13084. "memberuserid",
  13085. "operatetype",
  13086. "orderqty",
  13087. "ordertime",
  13088. "pricemode",
  13089. "strorderid",
  13090. "tradedate",
  13091. "validtype"
  13092. ],
  13093. "properties": {
  13094. "accountid": {
  13095. "description": "账户ID[报价币种]",
  13096. "type": "integer"
  13097. },
  13098. "buildtype": {
  13099. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13100. "type": "integer"
  13101. },
  13102. "buyorsell": {
  13103. "description": "买卖 - 0:买 1:卖",
  13104. "type": "integer"
  13105. },
  13106. "cancelorderid": {
  13107. "description": "撤单单号(撤单时填写)",
  13108. "type": "integer"
  13109. },
  13110. "cancelqty": {
  13111. "description": "撤单数量",
  13112. "type": "integer"
  13113. },
  13114. "clientordertime": {
  13115. "description": "客户端委托时间",
  13116. "type": "string"
  13117. },
  13118. "clientticket": {
  13119. "description": "客户端流水号",
  13120. "type": "string"
  13121. },
  13122. "clienttype": {
  13123. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13124. "type": "integer"
  13125. },
  13126. "closeexchagechargevalue": {
  13127. "description": "平仓交易所手续费设置值",
  13128. "type": "number"
  13129. },
  13130. "closefeealgorithm": {
  13131. "description": "平仓手续费收取方式 1:比率 2:固定",
  13132. "type": "integer"
  13133. },
  13134. "closefreezecharge": {
  13135. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13136. "type": "number"
  13137. },
  13138. "closememberchargevalue": {
  13139. "description": "平仓会员手续费设置值",
  13140. "type": "number"
  13141. },
  13142. "closeqty": {
  13143. "description": "平仓数量(先建后平操作 需要记录)",
  13144. "type": "integer"
  13145. },
  13146. "closetradeqty": {
  13147. "description": "平仓成交数量(先建后平操作,需要记录)",
  13148. "type": "integer"
  13149. },
  13150. "closeunfreezecharge": {
  13151. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13152. "type": "number"
  13153. },
  13154. "delistingtype": {
  13155. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13156. "type": "integer"
  13157. },
  13158. "freezecharge": {
  13159. "description": "冻结手续费",
  13160. "type": "number"
  13161. },
  13162. "freezemargin": {
  13163. "description": "冻结保证金(冻结交易金额)",
  13164. "type": "number"
  13165. },
  13166. "gcaccountid": {
  13167. "description": "账户ID[合约币种]",
  13168. "type": "integer"
  13169. },
  13170. "goodsid": {
  13171. "description": "商品ID",
  13172. "type": "integer"
  13173. },
  13174. "isconfirmexercise": {
  13175. "description": "是否确认行权- 0:否 1:是",
  13176. "type": "integer"
  13177. },
  13178. "ispreexercise": {
  13179. "description": "是否预申报- 0:否 1:是",
  13180. "type": "integer"
  13181. },
  13182. "listingselecttype": {
  13183. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13184. "type": "integer"
  13185. },
  13186. "marginalgorithm": {
  13187. "description": "保证金收取方式 1:比率 2:固定",
  13188. "type": "integer"
  13189. },
  13190. "marginvalue": {
  13191. "description": "即市保证金设置值",
  13192. "type": "number"
  13193. },
  13194. "marketid": {
  13195. "description": "市场ID",
  13196. "type": "integer"
  13197. },
  13198. "marketmaxsub": {
  13199. "description": "市价最大偏移范围",
  13200. "type": "number"
  13201. },
  13202. "memberuserid": {
  13203. "description": "所属会员UserID",
  13204. "type": "integer"
  13205. },
  13206. "openexchagechargevalue": {
  13207. "description": "建仓交易所手续费设置值",
  13208. "type": "number"
  13209. },
  13210. "openfeealgorithm": {
  13211. "description": "建仓手续费收取方式 1:比率 2:固定",
  13212. "type": "integer"
  13213. },
  13214. "openfreezecharge": {
  13215. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13216. "type": "number"
  13217. },
  13218. "openmemberchargevalue": {
  13219. "description": "建仓会员手续费设置值",
  13220. "type": "number"
  13221. },
  13222. "openqty": {
  13223. "description": "开仓数量(先建后平操作,需要记录)",
  13224. "type": "integer"
  13225. },
  13226. "opentradeqty": {
  13227. "description": "开仓成交数量(先建后平操作,需要记录)",
  13228. "type": "integer"
  13229. },
  13230. "openunfreezecharge": {
  13231. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13232. "type": "number"
  13233. },
  13234. "operatetype": {
  13235. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13236. "type": "integer"
  13237. },
  13238. "operatorid": {
  13239. "description": "登录账号(LoginID)",
  13240. "type": "integer"
  13241. },
  13242. "optiontype": {
  13243. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13244. "type": "integer"
  13245. },
  13246. "orderprice": {
  13247. "description": "委托价格",
  13248. "type": "number"
  13249. },
  13250. "orderqty": {
  13251. "description": "委托数量",
  13252. "type": "integer"
  13253. },
  13254. "ordersrc": {
  13255. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13256. "type": "integer"
  13257. },
  13258. "orderstatus": {
  13259. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13260. "type": "integer"
  13261. },
  13262. "ordertime": {
  13263. "description": "委托时间",
  13264. "type": "string"
  13265. },
  13266. "preexerciseprice": {
  13267. "description": "预申报价格",
  13268. "type": "number"
  13269. },
  13270. "premium": {
  13271. "description": "权利金",
  13272. "type": "number"
  13273. },
  13274. "preorderid": {
  13275. "description": "关联预埋单号(止盈止损单时填写)",
  13276. "type": "integer"
  13277. },
  13278. "pricemode": {
  13279. "description": "取价方式 - 1:市价 2: 限价",
  13280. "type": "integer"
  13281. },
  13282. "quoteid": {
  13283. "description": "报价单ID",
  13284. "type": "integer"
  13285. },
  13286. "relatedid": {
  13287. "description": "关联单号(交割单)",
  13288. "type": "integer"
  13289. },
  13290. "retcode": {
  13291. "description": "错误代码",
  13292. "type": "integer"
  13293. },
  13294. "sessionid": {
  13295. "description": "会话ID",
  13296. "type": "integer"
  13297. },
  13298. "strorderid": {
  13299. "description": "委托单号",
  13300. "type": "string"
  13301. },
  13302. "tradedate": {
  13303. "description": "交易日(yyyyMMdd)",
  13304. "type": "string"
  13305. },
  13306. "tradeproperty": {
  13307. "description": "交易属性",
  13308. "type": "integer"
  13309. },
  13310. "tradeqty": {
  13311. "description": "成交数量",
  13312. "type": "integer"
  13313. },
  13314. "unfreezecharge": {
  13315. "description": "解冻手续费",
  13316. "type": "number"
  13317. },
  13318. "unfreezemargin": {
  13319. "description": "解冻保证金",
  13320. "type": "number"
  13321. },
  13322. "updatetime": {
  13323. "description": "更新时间",
  13324. "type": "string"
  13325. },
  13326. "uuid": {
  13327. "description": "发起端唯一id",
  13328. "type": "string"
  13329. },
  13330. "validtime": {
  13331. "description": "有效期限",
  13332. "type": "string"
  13333. },
  13334. "validtype": {
  13335. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13336. "type": "integer"
  13337. },
  13338. "volumetype": {
  13339. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13340. "type": "integer"
  13341. }
  13342. }
  13343. },
  13344. "cptrade.QueryMyCPTradeGoodsRsp": {
  13345. "type": "object",
  13346. "required": [
  13347. "goodscode",
  13348. "goodsid",
  13349. "goodsname",
  13350. "marketid",
  13351. "relatedgoodscode",
  13352. "relatedgoodsname"
  13353. ],
  13354. "properties": {
  13355. "accountid": {
  13356. "description": "卖方账户ID",
  13357. "type": "integer"
  13358. },
  13359. "agreeunit": {
  13360. "description": "合约单位",
  13361. "type": "number"
  13362. },
  13363. "applyid": {
  13364. "description": "关联申请ID",
  13365. "type": "integer"
  13366. },
  13367. "attachmenturl": {
  13368. "description": "附件地址",
  13369. "type": "string"
  13370. },
  13371. "createtime": {
  13372. "description": "创建时间",
  13373. "type": "string"
  13374. },
  13375. "currencyid": {
  13376. "description": "报价货币ID",
  13377. "type": "integer"
  13378. },
  13379. "decimalplace": {
  13380. "description": "报价小数位",
  13381. "type": "integer"
  13382. },
  13383. "endtime": {
  13384. "description": "预售结束时间",
  13385. "type": "string"
  13386. },
  13387. "floorprice": {
  13388. "description": "底价[大宗式竞拍]",
  13389. "type": "number"
  13390. },
  13391. "goodscode": {
  13392. "description": "商品代码(预售)",
  13393. "type": "string"
  13394. },
  13395. "goodsdetail": {
  13396. "description": "详情[大宗]",
  13397. "type": "string"
  13398. },
  13399. "goodsid": {
  13400. "description": "商品ID(自增ID SEQ_GOODS)",
  13401. "type": "integer"
  13402. },
  13403. "goodsname": {
  13404. "description": "商品名称(预售)",
  13405. "type": "string"
  13406. },
  13407. "goodunit": {
  13408. "description": "报价单位",
  13409. "type": "string"
  13410. },
  13411. "goodunitid": {
  13412. "description": "报价单位ID",
  13413. "type": "integer"
  13414. },
  13415. "marketid": {
  13416. "description": "所属市场ID",
  13417. "type": "integer"
  13418. },
  13419. "marketname": {
  13420. "description": "预售市场名称",
  13421. "type": "string"
  13422. },
  13423. "presaledamount": {
  13424. "description": "已预售总金额(预售结束时更新)",
  13425. "type": "number"
  13426. },
  13427. "presaledqty": {
  13428. "description": "已预售量(预售结束时更新)",
  13429. "type": "integer"
  13430. },
  13431. "presalemode": {
  13432. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13433. "type": "integer"
  13434. },
  13435. "presaleqty": {
  13436. "description": "预售数量",
  13437. "type": "integer"
  13438. },
  13439. "refprice": {
  13440. "description": "参考价格[一口价]",
  13441. "type": "number"
  13442. },
  13443. "relatedgoodscode": {
  13444. "description": "商品代码(订单)",
  13445. "type": "string"
  13446. },
  13447. "relatedgoodsid": {
  13448. "description": "关联交易合约ID",
  13449. "type": "integer"
  13450. },
  13451. "relatedgoodsname": {
  13452. "description": "商品名称(订单)",
  13453. "type": "string"
  13454. },
  13455. "relatedmarketid": {
  13456. "description": "关联交易合约市场ID",
  13457. "type": "integer"
  13458. },
  13459. "sellstatus": {
  13460. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13461. "type": "integer"
  13462. },
  13463. "startprice": {
  13464. "description": "起拍价[大宗式竞拍]",
  13465. "type": "number"
  13466. },
  13467. "starttime": {
  13468. "description": "预售开始时间",
  13469. "type": "string"
  13470. },
  13471. "tradedate": {
  13472. "description": "交易日(yyyyMMdd)",
  13473. "type": "string"
  13474. },
  13475. "tradeprice": {
  13476. "description": "成交价[大宗]",
  13477. "type": "number"
  13478. },
  13479. "userid": {
  13480. "description": "卖方用户ID",
  13481. "type": "integer"
  13482. }
  13483. }
  13484. },
  13485. "cptrade.QueryPresaleGoodsExRsp": {
  13486. "type": "object",
  13487. "required": [
  13488. "goodsid"
  13489. ],
  13490. "properties": {
  13491. "attachmenturl": {
  13492. "description": "附件地址",
  13493. "type": "string"
  13494. },
  13495. "createtime": {
  13496. "description": "创建时间",
  13497. "type": "string"
  13498. },
  13499. "endtime": {
  13500. "description": "预售结束时间",
  13501. "type": "string"
  13502. },
  13503. "floorprice": {
  13504. "description": "底价[大宗式竞拍]",
  13505. "type": "number"
  13506. },
  13507. "goodsdetail": {
  13508. "description": "详情[大宗]",
  13509. "type": "string"
  13510. },
  13511. "goodsid": {
  13512. "description": "商品ID(预售)",
  13513. "type": "integer"
  13514. },
  13515. "goodunit": {
  13516. "description": "报价单位",
  13517. "type": "string"
  13518. },
  13519. "marketid": {
  13520. "description": "预售市场ID - 根据预售模式选择市场",
  13521. "type": "integer"
  13522. },
  13523. "presaledamount": {
  13524. "description": "已预售总金额(预售结束时更新)",
  13525. "type": "number"
  13526. },
  13527. "presaledqty": {
  13528. "description": "已预售量(预售结束时更新)",
  13529. "type": "integer"
  13530. },
  13531. "presalemode": {
  13532. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13533. "type": "integer"
  13534. },
  13535. "presaleqty": {
  13536. "description": "预售数量",
  13537. "type": "integer"
  13538. },
  13539. "refprice": {
  13540. "description": "参考价格[一口价]",
  13541. "type": "number"
  13542. },
  13543. "relatedgoodsid": {
  13544. "description": "关联交易合约ID",
  13545. "type": "integer"
  13546. },
  13547. "relatedmarketid": {
  13548. "description": "关联交易合约市场ID",
  13549. "type": "integer"
  13550. },
  13551. "sellstatus": {
  13552. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13553. "type": "integer"
  13554. },
  13555. "startprice": {
  13556. "description": "起拍价[大宗式竞拍]",
  13557. "type": "number"
  13558. },
  13559. "starttime": {
  13560. "description": "预售开始时间",
  13561. "type": "string"
  13562. },
  13563. "tradedate": {
  13564. "description": "交易日(yyyyMMdd)",
  13565. "type": "string"
  13566. },
  13567. "tradeprice": {
  13568. "description": "成交价[大宗]",
  13569. "type": "number"
  13570. }
  13571. }
  13572. },
  13573. "delivery.QueryDeliveryRelationRsp": {
  13574. "type": "object",
  13575. "required": [
  13576. "begindate",
  13577. "enddate",
  13578. "goodsid",
  13579. "mindeliveryqty",
  13580. "xdeliveryratio"
  13581. ],
  13582. "properties": {
  13583. "begindate": {
  13584. "description": "起始日期(yyyyMMdd)",
  13585. "type": "string"
  13586. },
  13587. "buytemplateid": {
  13588. "description": "买履约计划模板ID",
  13589. "type": "integer"
  13590. },
  13591. "deliverygoodscode": {
  13592. "description": "品种代码",
  13593. "type": "string"
  13594. },
  13595. "deliverygoodsid": {
  13596. "description": "交割商品",
  13597. "type": "integer"
  13598. },
  13599. "deliverygoodsname": {
  13600. "description": "品种名称",
  13601. "type": "string"
  13602. },
  13603. "deliverymode": {
  13604. "description": "交割方式 - 1:点选式 2:申报式",
  13605. "type": "integer"
  13606. },
  13607. "deliverypricerule": {
  13608. "description": "交割价规则- 1:行情价 2:建仓价",
  13609. "type": "integer"
  13610. },
  13611. "deliverytype": {
  13612. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  13613. "type": "integer"
  13614. },
  13615. "enddate": {
  13616. "description": "结束日期(yyyyMMdd)",
  13617. "type": "string"
  13618. },
  13619. "goodscode": {
  13620. "description": "商品代码",
  13621. "type": "string"
  13622. },
  13623. "goodsid": {
  13624. "description": "交易合约ID",
  13625. "type": "integer"
  13626. },
  13627. "goodsname": {
  13628. "description": "商品名称",
  13629. "type": "string"
  13630. },
  13631. "marketid": {
  13632. "description": "市场ID",
  13633. "type": "integer"
  13634. },
  13635. "mindeliveryqty": {
  13636. "description": "最小交割系数(K)",
  13637. "type": "integer"
  13638. },
  13639. "p2deliveryprice": {
  13640. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  13641. "type": "number"
  13642. },
  13643. "p2deliveryratio": {
  13644. "description": "P2合约系数(p)",
  13645. "type": "integer"
  13646. },
  13647. "p2goodsid": {
  13648. "description": "P2合约ID",
  13649. "type": "integer"
  13650. },
  13651. "p2pricemode": {
  13652. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  13653. "type": "integer"
  13654. },
  13655. "pdeliveryprice": {
  13656. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  13657. "type": "number"
  13658. },
  13659. "pdeliveryratio": {
  13660. "description": "P合约系数(n)",
  13661. "type": "integer"
  13662. },
  13663. "pgoodsid": {
  13664. "description": "P合约ID",
  13665. "type": "integer"
  13666. },
  13667. "ppricemode": {
  13668. "description": "P合约价格方式 - 1:商品价 2:固定值",
  13669. "type": "integer"
  13670. },
  13671. "rratio": {
  13672. "description": "兑换系数(R)",
  13673. "type": "integer"
  13674. },
  13675. "rratio1": {
  13676. "description": "兑换系数(交易合约)(R1)",
  13677. "type": "integer"
  13678. },
  13679. "rratio2": {
  13680. "description": "兑换系数(仓单标准)(R2)",
  13681. "type": "integer"
  13682. },
  13683. "selltemplateid": {
  13684. "description": "卖履约计划模板ID",
  13685. "type": "integer"
  13686. },
  13687. "wrstandardid": {
  13688. "description": "仓单标准ID",
  13689. "type": "integer"
  13690. },
  13691. "xdeliveryratio": {
  13692. "description": "交易合约系数(m)",
  13693. "type": "integer"
  13694. }
  13695. }
  13696. },
  13697. "ermcp.ExposureDetailRsp": {
  13698. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  13699. },
  13700. "ermcp.ExposureHedgePosDetailRsp": {
  13701. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  13702. },
  13703. "ermcp.ExposureHedgePositionRsp": {
  13704. "$ref": "#/definitions/models.ErmcpHedgePosition"
  13705. },
  13706. "ermcp.ExposureSpotDetailRsp": {
  13707. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  13708. },
  13709. "ermcp.ExposureSpotRsp": {
  13710. "$ref": "#/definitions/models.AreaSpotModel"
  13711. },
  13712. "ermcp.HisExposureRsp": {
  13713. "$ref": "#/definitions/models.ErmcpHisExposureS"
  13714. },
  13715. "ermcp.PendingAuditCntRsp": {
  13716. "$ref": "#/definitions/models.ErmcpPendingAudit"
  13717. },
  13718. "ermcp.QryAvalidGPRsp": {
  13719. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  13720. },
  13721. "ermcp.QryBusinessDjRsp": {
  13722. "type": "object",
  13723. "properties": {
  13724. "amount": {
  13725. "description": "点价金额=(点价价格+升贴水)*点价数量",
  13726. "type": "number"
  13727. },
  13728. "applyid": {
  13729. "description": "申请人",
  13730. "type": "string"
  13731. },
  13732. "applyname": {
  13733. "description": "申请人名称",
  13734. "type": "string"
  13735. },
  13736. "applystatus": {
  13737. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13738. "type": "integer"
  13739. },
  13740. "applytime": {
  13741. "description": "申请时间",
  13742. "type": "string"
  13743. },
  13744. "attachurl": {
  13745. "description": "附件",
  13746. "type": "string"
  13747. },
  13748. "auditid": {
  13749. "description": "审核人ID",
  13750. "type": "string"
  13751. },
  13752. "auditname": {
  13753. "description": "审核人名称",
  13754. "type": "string"
  13755. },
  13756. "audittime": {
  13757. "description": "审核时间",
  13758. "type": "string"
  13759. },
  13760. "buyusername": {
  13761. "description": "采购方名称",
  13762. "type": "string"
  13763. },
  13764. "contractno": {
  13765. "description": "合同编号",
  13766. "type": "string"
  13767. },
  13768. "contractstatus": {
  13769. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13770. "type": "integer"
  13771. },
  13772. "contracttype": {
  13773. "description": "现货合同类型 - 1:采购 -1:销售",
  13774. "type": "integer"
  13775. },
  13776. "deliverygoodscode": {
  13777. "description": "现货品种代码",
  13778. "type": "string"
  13779. },
  13780. "deliverygoodsid": {
  13781. "description": "现货商品ID",
  13782. "type": "integer"
  13783. },
  13784. "deliverygoodsname": {
  13785. "description": "现货品种名称",
  13786. "type": "string"
  13787. },
  13788. "enumdicname": {
  13789. "description": "单位名称",
  13790. "type": "string"
  13791. },
  13792. "goodscode": {
  13793. "description": "点价合约",
  13794. "type": "string"
  13795. },
  13796. "goodsname": {
  13797. "description": "商品名称",
  13798. "type": "string"
  13799. },
  13800. "operateapplyid": {
  13801. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13802. "type": "string"
  13803. },
  13804. "operateapplytype": {
  13805. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13806. "type": "integer"
  13807. },
  13808. "pricedPrice": {
  13809. "description": "点价价格(非必填)",
  13810. "type": "number"
  13811. },
  13812. "pricedQty": {
  13813. "description": "点价数量(非必填)",
  13814. "type": "number"
  13815. },
  13816. "pricemove": {
  13817. "description": "升贴水",
  13818. "type": "number"
  13819. },
  13820. "pricetype": {
  13821. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13822. "type": "integer"
  13823. },
  13824. "relatedid": {
  13825. "description": "现货合同ID",
  13826. "type": "string"
  13827. },
  13828. "sellusername": {
  13829. "description": "销售方名字",
  13830. "type": "string"
  13831. },
  13832. "userid": {
  13833. "description": "用户ID",
  13834. "type": "integer"
  13835. },
  13836. "wrstandardcode": {
  13837. "description": "品类代码",
  13838. "type": "string"
  13839. },
  13840. "wrstandardid": {
  13841. "description": "品类id",
  13842. "type": "integer"
  13843. },
  13844. "wrstandardname": {
  13845. "description": "品类名称",
  13846. "type": "string"
  13847. }
  13848. }
  13849. },
  13850. "ermcp.QryBussinessFpRsp": {
  13851. "type": "object",
  13852. "properties": {
  13853. "applyid": {
  13854. "description": "申请人",
  13855. "type": "string"
  13856. },
  13857. "applyname": {
  13858. "description": "申请人名称",
  13859. "type": "string"
  13860. },
  13861. "applystatus": {
  13862. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13863. "type": "integer"
  13864. },
  13865. "applytime": {
  13866. "description": "申请时间",
  13867. "type": "string"
  13868. },
  13869. "attachurl": {
  13870. "description": "附件",
  13871. "type": "string"
  13872. },
  13873. "auditid": {
  13874. "description": "审核人ID",
  13875. "type": "string"
  13876. },
  13877. "auditname": {
  13878. "description": "审核人名称",
  13879. "type": "string"
  13880. },
  13881. "audittime": {
  13882. "description": "审核时间",
  13883. "type": "string"
  13884. },
  13885. "buyusername": {
  13886. "description": "采购方名称",
  13887. "type": "string"
  13888. },
  13889. "contractno": {
  13890. "description": "合同编号",
  13891. "type": "string"
  13892. },
  13893. "contractstatus": {
  13894. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13895. "type": "integer"
  13896. },
  13897. "contracttype": {
  13898. "description": "现货合同类型 - 1:采购 -1:销售",
  13899. "type": "integer"
  13900. },
  13901. "deliverygoodscode": {
  13902. "description": "现货品种代码",
  13903. "type": "string"
  13904. },
  13905. "deliverygoodsid": {
  13906. "description": "现货商品ID",
  13907. "type": "integer"
  13908. },
  13909. "deliverygoodsname": {
  13910. "description": "现货品种名称",
  13911. "type": "string"
  13912. },
  13913. "enumdicname": {
  13914. "description": "单位名称",
  13915. "type": "string"
  13916. },
  13917. "goodscode": {
  13918. "description": "点价合约",
  13919. "type": "string"
  13920. },
  13921. "goodsname": {
  13922. "description": "商品名称",
  13923. "type": "string"
  13924. },
  13925. "invoiceAmount": {
  13926. "description": "已开收票金额(销售为开票,采购为收票)",
  13927. "type": "number"
  13928. },
  13929. "operateapplyid": {
  13930. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13931. "type": "string"
  13932. },
  13933. "operateapplytype": {
  13934. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13935. "type": "integer"
  13936. },
  13937. "pricemove": {
  13938. "description": "升贴水",
  13939. "type": "number"
  13940. },
  13941. "pricetype": {
  13942. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13943. "type": "integer"
  13944. },
  13945. "relatedid": {
  13946. "description": "现货合同ID",
  13947. "type": "string"
  13948. },
  13949. "sellusername": {
  13950. "description": "销售方名字",
  13951. "type": "string"
  13952. },
  13953. "userid": {
  13954. "description": "用户ID",
  13955. "type": "integer"
  13956. },
  13957. "wrstandardcode": {
  13958. "description": "品类代码",
  13959. "type": "string"
  13960. },
  13961. "wrstandardid": {
  13962. "description": "品类id",
  13963. "type": "integer"
  13964. },
  13965. "wrstandardname": {
  13966. "description": "品类名称",
  13967. "type": "string"
  13968. }
  13969. }
  13970. },
  13971. "ermcp.QryBussinessJsExRsp": {
  13972. "type": "object",
  13973. "properties": {
  13974. "applyid": {
  13975. "description": "申请人",
  13976. "type": "string"
  13977. },
  13978. "applyname": {
  13979. "description": "申请人名称",
  13980. "type": "string"
  13981. },
  13982. "applystatus": {
  13983. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13984. "type": "integer"
  13985. },
  13986. "applytime": {
  13987. "description": "申请时间",
  13988. "type": "string"
  13989. },
  13990. "attachurl": {
  13991. "description": "附件",
  13992. "type": "string"
  13993. },
  13994. "auditid": {
  13995. "description": "审核人ID",
  13996. "type": "string"
  13997. },
  13998. "auditname": {
  13999. "description": "审核人名称",
  14000. "type": "string"
  14001. },
  14002. "audittime": {
  14003. "description": "审核时间",
  14004. "type": "string"
  14005. },
  14006. "buyusername": {
  14007. "description": "采购方名称",
  14008. "type": "string"
  14009. },
  14010. "contractno": {
  14011. "description": "合同编号",
  14012. "type": "string"
  14013. },
  14014. "contractstatus": {
  14015. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14016. "type": "integer"
  14017. },
  14018. "contracttype": {
  14019. "description": "现货合同类型 - 1:采购 -1:销售",
  14020. "type": "integer"
  14021. },
  14022. "deliverygoodscode": {
  14023. "description": "现货品种代码",
  14024. "type": "string"
  14025. },
  14026. "deliverygoodsid": {
  14027. "description": "现货商品ID",
  14028. "type": "integer"
  14029. },
  14030. "deliverygoodsname": {
  14031. "description": "现货品种名称",
  14032. "type": "string"
  14033. },
  14034. "enumdicname": {
  14035. "description": "单位名称",
  14036. "type": "string"
  14037. },
  14038. "goodscode": {
  14039. "description": "点价合约",
  14040. "type": "string"
  14041. },
  14042. "goodsname": {
  14043. "description": "商品名称",
  14044. "type": "string"
  14045. },
  14046. "operateapplyid": {
  14047. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14048. "type": "string"
  14049. },
  14050. "operateapplytype": {
  14051. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14052. "type": "integer"
  14053. },
  14054. "pricemove": {
  14055. "description": "升贴水",
  14056. "type": "number"
  14057. },
  14058. "pricetype": {
  14059. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14060. "type": "integer"
  14061. },
  14062. "reckontype": {
  14063. "description": "结算类型",
  14064. "type": "string"
  14065. },
  14066. "reckonvalue": {
  14067. "description": "值",
  14068. "type": "number"
  14069. },
  14070. "relatedid": {
  14071. "description": "现货合同ID",
  14072. "type": "string"
  14073. },
  14074. "sellusername": {
  14075. "description": "销售方名字",
  14076. "type": "string"
  14077. },
  14078. "userid": {
  14079. "description": "用户ID",
  14080. "type": "integer"
  14081. },
  14082. "wrstandardcode": {
  14083. "description": "品类代码",
  14084. "type": "string"
  14085. },
  14086. "wrstandardid": {
  14087. "description": "品类id",
  14088. "type": "integer"
  14089. },
  14090. "wrstandardname": {
  14091. "description": "品类名称",
  14092. "type": "string"
  14093. }
  14094. }
  14095. },
  14096. "ermcp.QryBussinessJsRsp": {
  14097. "type": "object",
  14098. "properties": {
  14099. "addmargin": {
  14100. "description": "追加保证金(非必填)",
  14101. "type": "number"
  14102. },
  14103. "applyid": {
  14104. "description": "申请人",
  14105. "type": "string"
  14106. },
  14107. "applyname": {
  14108. "description": "申请人名称",
  14109. "type": "string"
  14110. },
  14111. "applystatus": {
  14112. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14113. "type": "integer"
  14114. },
  14115. "applytime": {
  14116. "description": "申请时间",
  14117. "type": "string"
  14118. },
  14119. "attachurl": {
  14120. "description": "附件",
  14121. "type": "string"
  14122. },
  14123. "auditid": {
  14124. "description": "审核人ID",
  14125. "type": "string"
  14126. },
  14127. "auditname": {
  14128. "description": "审核人名称",
  14129. "type": "string"
  14130. },
  14131. "audittime": {
  14132. "description": "审核时间",
  14133. "type": "string"
  14134. },
  14135. "buyusername": {
  14136. "description": "采购方名称",
  14137. "type": "string"
  14138. },
  14139. "contractno": {
  14140. "description": "合同编号",
  14141. "type": "string"
  14142. },
  14143. "contractstatus": {
  14144. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14145. "type": "integer"
  14146. },
  14147. "contracttype": {
  14148. "description": "现货合同类型 - 1:采购 -1:销售",
  14149. "type": "integer"
  14150. },
  14151. "decmargin": {
  14152. "description": "减少保证金(非必填)",
  14153. "type": "number"
  14154. },
  14155. "deliverygoodscode": {
  14156. "description": "现货品种代码",
  14157. "type": "string"
  14158. },
  14159. "deliverygoodsid": {
  14160. "description": "现货商品ID",
  14161. "type": "integer"
  14162. },
  14163. "deliverygoodsname": {
  14164. "description": "现货品种名称",
  14165. "type": "string"
  14166. },
  14167. "enumdicname": {
  14168. "description": "单位名称",
  14169. "type": "string"
  14170. },
  14171. "goodscode": {
  14172. "description": "点价合约",
  14173. "type": "string"
  14174. },
  14175. "goodsname": {
  14176. "description": "商品名称",
  14177. "type": "string"
  14178. },
  14179. "operateapplyid": {
  14180. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14181. "type": "string"
  14182. },
  14183. "operateapplytype": {
  14184. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14185. "type": "integer"
  14186. },
  14187. "pricemove": {
  14188. "description": "升贴水",
  14189. "type": "number"
  14190. },
  14191. "pricetype": {
  14192. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14193. "type": "integer"
  14194. },
  14195. "reckonadjustamount": {
  14196. "description": "结算调整金额(非必填)",
  14197. "type": "number"
  14198. },
  14199. "reckonosamount": {
  14200. "description": "结算溢短金额(非必填)",
  14201. "type": "number"
  14202. },
  14203. "reckonotheramount": {
  14204. "description": "结算其他费用(非必填)",
  14205. "type": "number"
  14206. },
  14207. "reckonrealqty": {
  14208. "description": "结算实际数量(非必填)",
  14209. "type": "number"
  14210. },
  14211. "relatedid": {
  14212. "description": "现货合同ID",
  14213. "type": "string"
  14214. },
  14215. "sellusername": {
  14216. "description": "销售方名字",
  14217. "type": "string"
  14218. },
  14219. "userid": {
  14220. "description": "用户ID",
  14221. "type": "integer"
  14222. },
  14223. "wrstandardcode": {
  14224. "description": "品类代码",
  14225. "type": "string"
  14226. },
  14227. "wrstandardid": {
  14228. "description": "品类id",
  14229. "type": "integer"
  14230. },
  14231. "wrstandardname": {
  14232. "description": "品类名称",
  14233. "type": "string"
  14234. }
  14235. }
  14236. },
  14237. "ermcp.QryBussinessKxRsp": {
  14238. "type": "object",
  14239. "properties": {
  14240. "applyid": {
  14241. "description": "申请人",
  14242. "type": "string"
  14243. },
  14244. "applyname": {
  14245. "description": "申请人名称",
  14246. "type": "string"
  14247. },
  14248. "applystatus": {
  14249. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14250. "type": "integer"
  14251. },
  14252. "applytime": {
  14253. "description": "申请时间",
  14254. "type": "string"
  14255. },
  14256. "attachurl": {
  14257. "description": "附件",
  14258. "type": "string"
  14259. },
  14260. "auditid": {
  14261. "description": "审核人ID",
  14262. "type": "string"
  14263. },
  14264. "auditname": {
  14265. "description": "审核人名称",
  14266. "type": "string"
  14267. },
  14268. "audittime": {
  14269. "description": "审核时间",
  14270. "type": "string"
  14271. },
  14272. "buyusername": {
  14273. "description": "采购方名称",
  14274. "type": "string"
  14275. },
  14276. "contractno": {
  14277. "description": "合同编号",
  14278. "type": "string"
  14279. },
  14280. "contractstatus": {
  14281. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14282. "type": "integer"
  14283. },
  14284. "contracttype": {
  14285. "description": "现货合同类型 - 1:采购 -1:销售",
  14286. "type": "integer"
  14287. },
  14288. "deductamount": {
  14289. "description": "退款(非必填)",
  14290. "type": "number"
  14291. },
  14292. "deliverygoodscode": {
  14293. "description": "现货品种代码",
  14294. "type": "string"
  14295. },
  14296. "deliverygoodsid": {
  14297. "description": "现货商品ID",
  14298. "type": "integer"
  14299. },
  14300. "deliverygoodsname": {
  14301. "description": "现货品种名称",
  14302. "type": "string"
  14303. },
  14304. "enumdicname": {
  14305. "description": "单位名称",
  14306. "type": "string"
  14307. },
  14308. "goodscode": {
  14309. "description": "点价合约",
  14310. "type": "string"
  14311. },
  14312. "goodsname": {
  14313. "description": "商品名称",
  14314. "type": "string"
  14315. },
  14316. "kxtype": {
  14317. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  14318. "type": "integer"
  14319. },
  14320. "operateapplyid": {
  14321. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14322. "type": "string"
  14323. },
  14324. "operateapplytype": {
  14325. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14326. "type": "integer"
  14327. },
  14328. "payamount": {
  14329. "description": "收付款(非必填)",
  14330. "type": "number"
  14331. },
  14332. "pricemove": {
  14333. "description": "升贴水",
  14334. "type": "number"
  14335. },
  14336. "pricetype": {
  14337. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14338. "type": "integer"
  14339. },
  14340. "relatedid": {
  14341. "description": "现货合同ID",
  14342. "type": "string"
  14343. },
  14344. "sellusername": {
  14345. "description": "销售方名字",
  14346. "type": "string"
  14347. },
  14348. "userid": {
  14349. "description": "用户ID",
  14350. "type": "integer"
  14351. },
  14352. "wrstandardcode": {
  14353. "description": "品类代码",
  14354. "type": "string"
  14355. },
  14356. "wrstandardid": {
  14357. "description": "品类id",
  14358. "type": "integer"
  14359. },
  14360. "wrstandardname": {
  14361. "description": "品类名称",
  14362. "type": "string"
  14363. }
  14364. }
  14365. },
  14366. "ermcp.QryGGCovertCfgRsp": {
  14367. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  14368. },
  14369. "ermcp.QryMGChangeLogRsp": {
  14370. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  14371. },
  14372. "ermcp.QryMiddleGoodsDetailRsp": {
  14373. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  14374. },
  14375. "ermcp.QryMiddleGoodsRsp": {
  14376. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14377. },
  14378. "ermcp.QryOPLogRsp": {
  14379. "$ref": "#/definitions/models.ErmcpOPLogModel"
  14380. },
  14381. "ermcp.QryUserInfoRsp": {
  14382. "$ref": "#/definitions/models.ErmcpUserModel"
  14383. },
  14384. "ermcp.QryWarehouseRsp": {
  14385. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  14386. },
  14387. "ermcp.QueryErmcpTradePositionRsp": {
  14388. "type": "object",
  14389. "properties": {
  14390. "agreeunit": {
  14391. "description": "合约单位",
  14392. "type": "number"
  14393. },
  14394. "buyorsell": {
  14395. "description": "方向 - 0:买 1:卖",
  14396. "type": "integer"
  14397. },
  14398. "curpositionqty": {
  14399. "description": "持仓(总仓数量, 期末头寸)",
  14400. "type": "integer"
  14401. },
  14402. "curtdposition": {
  14403. "description": "今仓数量(期末今日头寸)",
  14404. "type": "integer"
  14405. },
  14406. "curtdpositionenabled": {
  14407. "description": "今仓可用",
  14408. "type": "integer"
  14409. },
  14410. "decimalplace": {
  14411. "description": "报价小数位",
  14412. "type": "integer"
  14413. },
  14414. "enableqty": {
  14415. "description": "可用(总仓可用)",
  14416. "type": "integer"
  14417. },
  14418. "exexchangename": {
  14419. "description": "外部交易所名称",
  14420. "type": "string"
  14421. },
  14422. "goodscode": {
  14423. "description": "商品代码(内部)",
  14424. "type": "string"
  14425. },
  14426. "goodsid": {
  14427. "description": "商品ID(自增ID SEQ_GOODS)",
  14428. "type": "integer"
  14429. },
  14430. "goodsname": {
  14431. "description": "商品名称",
  14432. "type": "string"
  14433. },
  14434. "last": {
  14435. "description": "现价",
  14436. "type": "number"
  14437. },
  14438. "marketid": {
  14439. "description": "所属市场ID",
  14440. "type": "integer"
  14441. },
  14442. "openaverageprice": {
  14443. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  14444. "type": "number"
  14445. },
  14446. "opencost": {
  14447. "description": "开仓成本",
  14448. "type": "number"
  14449. },
  14450. "openpl": {
  14451. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14452. "type": "number"
  14453. },
  14454. "outgoodscode": {
  14455. "description": "商品代码(外部)",
  14456. "type": "string"
  14457. },
  14458. "positionaverageprice": {
  14459. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  14460. "type": "number"
  14461. },
  14462. "positioncost": {
  14463. "description": "持仓成本",
  14464. "type": "number"
  14465. },
  14466. "positionpl": {
  14467. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14468. "type": "number"
  14469. },
  14470. "positionplrate": {
  14471. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  14472. "type": "number"
  14473. },
  14474. "usedmargin": {
  14475. "description": "占用保证金",
  14476. "type": "number"
  14477. }
  14478. }
  14479. },
  14480. "ermcp.RealtimeExposurePositionRsp": {
  14481. "$ref": "#/definitions/models.ErmcpExposurePostion"
  14482. },
  14483. "ermcp.RealtimeExposureRsp": {
  14484. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  14485. },
  14486. "erms2.QueryArbitrageStrategyRsp": {
  14487. "type": "object",
  14488. "required": [
  14489. "asapplyid"
  14490. ],
  14491. "properties": {
  14492. "applybasis": {
  14493. "description": "申请基差",
  14494. "type": "number"
  14495. },
  14496. "asapplyid": {
  14497. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  14498. "type": "string"
  14499. },
  14500. "asname": {
  14501. "description": "策略名称",
  14502. "type": "string"
  14503. },
  14504. "asno": {
  14505. "description": "策略编号",
  14506. "type": "string"
  14507. },
  14508. "basischangepl": {
  14509. "description": "基差变动损益[结算更新]",
  14510. "type": "number"
  14511. },
  14512. "biztype": {
  14513. "description": "业务类型 - 1:正向套利 -1:反向套利",
  14514. "type": "integer"
  14515. },
  14516. "closetradedate": {
  14517. "description": "完结交易日(yyyyMMdd)",
  14518. "type": "string"
  14519. },
  14520. "curbasis": {
  14521. "description": "当前基差[结算更新]",
  14522. "type": "number"
  14523. },
  14524. "deliverygoodsid": {
  14525. "description": "现货品种ID",
  14526. "type": "integer"
  14527. },
  14528. "futureavgprice": {
  14529. "description": "期货建仓均价",
  14530. "type": "number"
  14531. },
  14532. "futurecloseamount": {
  14533. "description": "期货平仓金额",
  14534. "type": "number"
  14535. },
  14536. "futurecloseqty": {
  14537. "description": "期货平仓数量",
  14538. "type": "number"
  14539. },
  14540. "futureopenamount": {
  14541. "description": "期货开仓金额",
  14542. "type": "number"
  14543. },
  14544. "futureopenqty": {
  14545. "description": "期货开仓数量",
  14546. "type": "number"
  14547. },
  14548. "futurepl": {
  14549. "description": "期货总盈亏[结算更新]",
  14550. "type": "number"
  14551. },
  14552. "futureqty": {
  14553. "description": "期货持仓数量",
  14554. "type": "number"
  14555. },
  14556. "futurequote": {
  14557. "description": "期货额度",
  14558. "type": "number"
  14559. },
  14560. "goodsgroupid": {
  14561. "description": "期货品种ID",
  14562. "type": "integer"
  14563. },
  14564. "marketid": {
  14565. "description": "市场ID",
  14566. "type": "integer"
  14567. },
  14568. "netexposure": {
  14569. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  14570. "type": "number"
  14571. },
  14572. "netexposurepl": {
  14573. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  14574. "type": "number"
  14575. },
  14576. "netexposurerate": {
  14577. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  14578. "type": "number"
  14579. },
  14580. "openbasis": {
  14581. "description": "建仓基差",
  14582. "type": "number"
  14583. },
  14584. "pricedspotqty": {
  14585. "description": "已定价现货数量",
  14586. "type": "number"
  14587. },
  14588. "pricedspotqtynotax": {
  14589. "description": "已定价现货不含税数量",
  14590. "type": "number"
  14591. },
  14592. "remark": {
  14593. "description": "备注",
  14594. "type": "string"
  14595. },
  14596. "spotavgprice": {
  14597. "description": "现货均价",
  14598. "type": "number"
  14599. },
  14600. "spotbuyamount": {
  14601. "description": "现货采购金额",
  14602. "type": "number"
  14603. },
  14604. "spotbuyqty": {
  14605. "description": "现货采购数量",
  14606. "type": "number"
  14607. },
  14608. "spotpl": {
  14609. "description": "现货总盈亏[结算更新]",
  14610. "type": "number"
  14611. },
  14612. "spotquota": {
  14613. "description": "现货额度",
  14614. "type": "number"
  14615. },
  14616. "spotsellamount": {
  14617. "description": "现货销售金额",
  14618. "type": "number"
  14619. },
  14620. "spotsellqty": {
  14621. "description": "现货销售数量",
  14622. "type": "number"
  14623. },
  14624. "spotusedquota": {
  14625. "description": "现货占用资金",
  14626. "type": "number"
  14627. },
  14628. "strategystatus": {
  14629. "description": "策略状态 - 0:未结束 1:已结束",
  14630. "type": "integer"
  14631. },
  14632. "totalpl": {
  14633. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  14634. "type": "number"
  14635. },
  14636. "tradedate": {
  14637. "description": "交易日(yyyyMMdd)",
  14638. "type": "string"
  14639. },
  14640. "updatetime": {
  14641. "description": "更新时间",
  14642. "type": "string"
  14643. },
  14644. "usedquota": {
  14645. "description": "已占用资金",
  14646. "type": "number"
  14647. },
  14648. "userid": {
  14649. "description": "所属机构",
  14650. "type": "integer"
  14651. }
  14652. }
  14653. },
  14654. "erms2.QueryInnerTradeDetailRsp": {
  14655. "type": "object",
  14656. "required": [
  14657. "asapplyid",
  14658. "buyorsell",
  14659. "goodscode",
  14660. "goodsgroupid",
  14661. "goodsgroupname",
  14662. "goodsname",
  14663. "tradeid"
  14664. ],
  14665. "properties": {
  14666. "accountid": {
  14667. "description": "账号ID",
  14668. "type": "integer"
  14669. },
  14670. "agreeunit": {
  14671. "description": "合约单位",
  14672. "type": "number"
  14673. },
  14674. "asapplyid": {
  14675. "description": "策略申请ID",
  14676. "type": "integer"
  14677. },
  14678. "asname": {
  14679. "description": "策略名称",
  14680. "type": "string"
  14681. },
  14682. "asno": {
  14683. "description": "策略编号",
  14684. "type": "string"
  14685. },
  14686. "buyorsell": {
  14687. "description": "方向 - 0:买 1:卖",
  14688. "type": "integer"
  14689. },
  14690. "channelbuildtype": {
  14691. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14692. "type": "integer"
  14693. },
  14694. "closetype": {
  14695. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14696. "type": "integer"
  14697. },
  14698. "decimalplace": {
  14699. "description": "报价小数位",
  14700. "type": "integer"
  14701. },
  14702. "detailtype": {
  14703. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  14704. "type": "integer"
  14705. },
  14706. "exexchangecode": {
  14707. "description": "外部交易所代码",
  14708. "type": "string"
  14709. },
  14710. "exexchangename": {
  14711. "description": "外部交易所名称",
  14712. "type": "string"
  14713. },
  14714. "goodscode": {
  14715. "description": "商品代码(合约)",
  14716. "type": "string"
  14717. },
  14718. "goodsgroupid": {
  14719. "description": "商品组ID(品种ID)",
  14720. "type": "integer"
  14721. },
  14722. "goodsgroupname": {
  14723. "description": "商品组名称(品种)",
  14724. "type": "string"
  14725. },
  14726. "goodsid": {
  14727. "description": "商品ID",
  14728. "type": "integer"
  14729. },
  14730. "goodsname": {
  14731. "description": "商品名称(合约)",
  14732. "type": "string"
  14733. },
  14734. "goodunit": {
  14735. "description": "报价单位",
  14736. "type": "string"
  14737. },
  14738. "marketid": {
  14739. "description": "市场ID",
  14740. "type": "integer"
  14741. },
  14742. "orderid": {
  14743. "description": "委托单号",
  14744. "type": "string"
  14745. },
  14746. "outgoodscode": {
  14747. "description": "商品代码(外部)",
  14748. "type": "string"
  14749. },
  14750. "relatedouttradeid": {
  14751. "description": "关联外部成交单ID",
  14752. "type": "string"
  14753. },
  14754. "remark": {
  14755. "description": "备注",
  14756. "type": "string"
  14757. },
  14758. "spotcontractid": {
  14759. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  14760. "type": "integer"
  14761. },
  14762. "spotcontractno": {
  14763. "description": "现货合同编号",
  14764. "type": "string"
  14765. },
  14766. "tradeid": {
  14767. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14768. "type": "string"
  14769. },
  14770. "tradeprice": {
  14771. "description": "成交价格",
  14772. "type": "number"
  14773. },
  14774. "tradeqty": {
  14775. "description": "成交数量",
  14776. "type": "integer"
  14777. },
  14778. "tradetime": {
  14779. "description": "成交时间",
  14780. "type": "string"
  14781. },
  14782. "updatetime": {
  14783. "description": "更新时间",
  14784. "type": "string"
  14785. }
  14786. }
  14787. },
  14788. "erms2.QuerySpotContractRsp": {
  14789. "type": "object",
  14790. "required": [
  14791. "spotcontractid"
  14792. ],
  14793. "properties": {
  14794. "accountid": {
  14795. "description": "资金账户ID",
  14796. "type": "integer"
  14797. },
  14798. "areauserid": {
  14799. "description": "所属机构",
  14800. "type": "integer"
  14801. },
  14802. "closedate": {
  14803. "description": "终止日期",
  14804. "type": "string"
  14805. },
  14806. "closeremark": {
  14807. "description": "结束备注",
  14808. "type": "string"
  14809. },
  14810. "closetradedate": {
  14811. "description": "完结交易日(yyyyMMdd)",
  14812. "type": "string"
  14813. },
  14814. "closetype": {
  14815. "description": "终止类型 - 1:违约 2:提前终止",
  14816. "type": "integer"
  14817. },
  14818. "contractamount": {
  14819. "description": "合同金额",
  14820. "type": "number"
  14821. },
  14822. "contractattachment": {
  14823. "description": "合同附件",
  14824. "type": "string"
  14825. },
  14826. "contractno": {
  14827. "description": "现货合同编号",
  14828. "type": "string"
  14829. },
  14830. "contractqty": {
  14831. "description": "合同数量(数值) (用于计算)",
  14832. "type": "number"
  14833. },
  14834. "contractqtychar": {
  14835. "description": "合同数量\\已订价数量 (用于显示)",
  14836. "type": "string"
  14837. },
  14838. "contractstatus": {
  14839. "description": "合同状态 - 0:未结束 1:已结束",
  14840. "type": "integer"
  14841. },
  14842. "contracttype": {
  14843. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  14844. "type": "integer"
  14845. },
  14846. "customeraccountid": {
  14847. "description": "客户资金账户ID",
  14848. "type": "integer"
  14849. },
  14850. "customeruserid": {
  14851. "description": "客户ID",
  14852. "type": "integer"
  14853. },
  14854. "deliverygoodsdesc": {
  14855. "description": "品种说明",
  14856. "type": "string"
  14857. },
  14858. "deliverygoodsid": {
  14859. "description": "现货品种ID",
  14860. "type": "integer"
  14861. },
  14862. "handlestatus": {
  14863. "description": "处理状态",
  14864. "type": "integer"
  14865. },
  14866. "invoiceatt": {
  14867. "description": "发票附件",
  14868. "type": "string"
  14869. },
  14870. "invoicedatetime": {
  14871. "description": "开收票更新时间",
  14872. "type": "string"
  14873. },
  14874. "invoiceopentime": {
  14875. "description": "开票时间",
  14876. "type": "string"
  14877. },
  14878. "invoiceremark": {
  14879. "description": "发票备注",
  14880. "type": "string"
  14881. },
  14882. "invoicestatus": {
  14883. "description": "开收票状态 - 0:未开票 1:已开票",
  14884. "type": "integer"
  14885. },
  14886. "lastdate": {
  14887. "description": "交货时间",
  14888. "type": "string"
  14889. },
  14890. "marketid": {
  14891. "description": "市场ID",
  14892. "type": "integer"
  14893. },
  14894. "paydatetime": {
  14895. "description": "收付款更新时间",
  14896. "type": "string"
  14897. },
  14898. "payremark": {
  14899. "description": "收付款备注",
  14900. "type": "string"
  14901. },
  14902. "paystatus": {
  14903. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  14904. "type": "integer"
  14905. },
  14906. "positionqty": {
  14907. "description": "头寸数量 - 合同数量去小数部分",
  14908. "type": "integer"
  14909. },
  14910. "producttype": {
  14911. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14912. "type": "integer"
  14913. },
  14914. "relatedqty": {
  14915. "description": "已关联数量",
  14916. "type": "number"
  14917. },
  14918. "relatedstatus": {
  14919. "description": "关联完结状态 - 0:未结束 1:已结束",
  14920. "type": "integer"
  14921. },
  14922. "remark": {
  14923. "description": "备注",
  14924. "type": "string"
  14925. },
  14926. "signdate": {
  14927. "description": "签订日期",
  14928. "type": "string"
  14929. },
  14930. "spotcontractid": {
  14931. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  14932. "type": "string"
  14933. },
  14934. "spotdatetime": {
  14935. "description": "收发货更新时间",
  14936. "type": "string"
  14937. },
  14938. "spotprice": {
  14939. "description": "价格",
  14940. "type": "number"
  14941. },
  14942. "spotremark": {
  14943. "description": "收发货备注",
  14944. "type": "string"
  14945. },
  14946. "spotstatus": {
  14947. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  14948. "type": "integer"
  14949. },
  14950. "tradedate": {
  14951. "description": "交易日(yyyyMMdd)",
  14952. "type": "string"
  14953. },
  14954. "userid": {
  14955. "description": "业务员用户ID",
  14956. "type": "integer"
  14957. },
  14958. "warehouseid": {
  14959. "description": "仓库ID",
  14960. "type": "integer"
  14961. },
  14962. "wrfactortypeid": {
  14963. "description": "仓单要素类型ID",
  14964. "type": "integer"
  14965. },
  14966. "wrstandardid": {
  14967. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14968. "type": "integer"
  14969. }
  14970. }
  14971. },
  14972. "erms3.AddErms2ASApplyReq": {
  14973. "type": "object",
  14974. "required": [
  14975. "asapplyid"
  14976. ],
  14977. "properties": {
  14978. "applybasis": {
  14979. "description": "申请基差",
  14980. "type": "number"
  14981. },
  14982. "applystatus": {
  14983. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14984. "type": "integer"
  14985. },
  14986. "asapplyid": {
  14987. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14988. "type": "integer"
  14989. },
  14990. "asname": {
  14991. "description": "策略名称",
  14992. "type": "string"
  14993. },
  14994. "asno": {
  14995. "description": "策略编号",
  14996. "type": "string"
  14997. },
  14998. "auditid": {
  14999. "description": "审核人",
  15000. "type": "integer"
  15001. },
  15002. "auditremark": {
  15003. "description": "审核备注",
  15004. "type": "string"
  15005. },
  15006. "audittime": {
  15007. "description": "审核时间",
  15008. "type": "string"
  15009. },
  15010. "biztype": {
  15011. "description": "业务类型 - 1:正向套利 2:反向套利",
  15012. "type": "integer"
  15013. },
  15014. "createtime": {
  15015. "description": "创建时间",
  15016. "type": "string"
  15017. },
  15018. "creatorid": {
  15019. "description": "创建人",
  15020. "type": "integer"
  15021. },
  15022. "deliverygoodsid": {
  15023. "description": "现货品种ID",
  15024. "type": "integer"
  15025. },
  15026. "futurequote": {
  15027. "description": "期货额度",
  15028. "type": "number"
  15029. },
  15030. "goodsgroupid": {
  15031. "description": "期货品种ID",
  15032. "type": "integer"
  15033. },
  15034. "marketid": {
  15035. "description": "市场ID",
  15036. "type": "integer"
  15037. },
  15038. "remark": {
  15039. "description": "备注",
  15040. "type": "string"
  15041. },
  15042. "spotquota": {
  15043. "description": "现货额度",
  15044. "type": "number"
  15045. },
  15046. "tradedate": {
  15047. "description": "交易日(yyyyMMdd)",
  15048. "type": "string"
  15049. },
  15050. "userid": {
  15051. "description": "所属机构",
  15052. "type": "integer"
  15053. }
  15054. }
  15055. },
  15056. "erms3.AddErms2SpotTradeApplyReq": {
  15057. "type": "object",
  15058. "required": [
  15059. "spottradeid"
  15060. ],
  15061. "properties": {
  15062. "applyjsondetail": {
  15063. "description": "申请明细(JSON)",
  15064. "type": "string"
  15065. },
  15066. "applystatus": {
  15067. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15068. "type": "integer"
  15069. },
  15070. "areauserid": {
  15071. "description": "所属机构",
  15072. "type": "integer"
  15073. },
  15074. "auditid": {
  15075. "description": "审核人",
  15076. "type": "integer"
  15077. },
  15078. "auditremark": {
  15079. "description": "审核备注",
  15080. "type": "string"
  15081. },
  15082. "audittime": {
  15083. "description": "审核时间",
  15084. "type": "string"
  15085. },
  15086. "createtime": {
  15087. "description": "创建时间",
  15088. "type": "string"
  15089. },
  15090. "creatorid": {
  15091. "description": "创建人",
  15092. "type": "integer"
  15093. },
  15094. "deliverygoodsid": {
  15095. "description": "现货品种ID",
  15096. "type": "integer"
  15097. },
  15098. "futureaccountid": {
  15099. "description": "期货资金账户",
  15100. "type": "integer"
  15101. },
  15102. "goodsgroupid": {
  15103. "description": "期货品种",
  15104. "type": "integer"
  15105. },
  15106. "marketid": {
  15107. "description": "市场ID",
  15108. "type": "integer"
  15109. },
  15110. "remark": {
  15111. "description": "备注",
  15112. "type": "string"
  15113. },
  15114. "spotaccountid": {
  15115. "description": "现货资金账户",
  15116. "type": "integer"
  15117. },
  15118. "spottradeid": {
  15119. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15120. "type": "integer"
  15121. },
  15122. "spottradename": {
  15123. "description": "业务名称",
  15124. "type": "string"
  15125. },
  15126. "spottradeno": {
  15127. "description": "业务编号",
  15128. "type": "string"
  15129. },
  15130. "tradedate": {
  15131. "description": "交易日(yyyyMMdd)",
  15132. "type": "string"
  15133. },
  15134. "wrstandardid": {
  15135. "description": "仓单标准ID",
  15136. "type": "integer"
  15137. }
  15138. }
  15139. },
  15140. "erms3.AddSpotContractApplyReq": {
  15141. "type": "object",
  15142. "required": [
  15143. "accountid",
  15144. "areauserid",
  15145. "contractno",
  15146. "contracttype",
  15147. "customeraccountid",
  15148. "customeruserid",
  15149. "details",
  15150. "orimargin",
  15151. "signdate"
  15152. ],
  15153. "properties": {
  15154. "accountid": {
  15155. "description": "资金账户ID",
  15156. "type": "integer"
  15157. },
  15158. "areauserid": {
  15159. "description": "所属机构",
  15160. "type": "integer"
  15161. },
  15162. "contractattachment": {
  15163. "description": "合同附件",
  15164. "type": "string"
  15165. },
  15166. "contractno": {
  15167. "description": "现货合同编号",
  15168. "type": "string"
  15169. },
  15170. "contracttype": {
  15171. "description": "现货合同类型 - 1:采购 -1:销售",
  15172. "type": "integer"
  15173. },
  15174. "creatorid": {
  15175. "description": "申请人",
  15176. "type": "integer"
  15177. },
  15178. "customeraccountid": {
  15179. "description": "客户资金账户ID",
  15180. "type": "integer"
  15181. },
  15182. "customeruserid": {
  15183. "description": "客户ID",
  15184. "type": "integer"
  15185. },
  15186. "details": {
  15187. "description": "明细",
  15188. "type": "array",
  15189. "items": {
  15190. "$ref": "#/definitions/erms3.SoptContractDetail"
  15191. }
  15192. },
  15193. "orimargin": {
  15194. "description": "初始保证金",
  15195. "type": "number"
  15196. },
  15197. "remark": {
  15198. "description": "备注",
  15199. "type": "string"
  15200. },
  15201. "signdate": {
  15202. "description": "签订日期",
  15203. "type": "string"
  15204. }
  15205. }
  15206. },
  15207. "erms3.AddSpotContractApplyRsp": {
  15208. "type": "object",
  15209. "required": [
  15210. "contractno"
  15211. ],
  15212. "properties": {
  15213. "contractno": {
  15214. "description": "现货合同编号",
  15215. "type": "string"
  15216. },
  15217. "spotcontractid": {
  15218. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15219. "type": "integer"
  15220. }
  15221. }
  15222. },
  15223. "erms3.AddUserInfoApplyReq": {
  15224. "type": "object",
  15225. "required": [
  15226. "userid"
  15227. ],
  15228. "properties": {
  15229. "accountid": {
  15230. "description": "交易系统帐号Id (加密存储)",
  15231. "type": "integer"
  15232. },
  15233. "areacode": {
  15234. "description": "机构代码",
  15235. "type": "string"
  15236. },
  15237. "areaid": {
  15238. "description": "机构Id",
  15239. "type": "integer"
  15240. },
  15241. "attachment1": {
  15242. "description": "附件1",
  15243. "type": "string"
  15244. },
  15245. "attachment2": {
  15246. "description": "附件2",
  15247. "type": "string"
  15248. },
  15249. "attachment3": {
  15250. "description": "附件3",
  15251. "type": "string"
  15252. },
  15253. "attachment4": {
  15254. "description": "附件4",
  15255. "type": "string"
  15256. },
  15257. "attachment5": {
  15258. "description": "附件5",
  15259. "type": "string"
  15260. },
  15261. "auditedby": {
  15262. "description": "审核人",
  15263. "type": "string"
  15264. },
  15265. "auditime": {
  15266. "description": "审核时间",
  15267. "type": "string"
  15268. },
  15269. "auditsrc": {
  15270. "description": "审核来源 - 1:管理端 2:终端",
  15271. "type": "integer"
  15272. },
  15273. "bankaccount": {
  15274. "description": "银行帐号 (加密存储)",
  15275. "type": "string"
  15276. },
  15277. "bankaccountname": {
  15278. "description": "收款人名称",
  15279. "type": "string"
  15280. },
  15281. "bankcardbackphotourl": {
  15282. "description": "银行卡背面照地址",
  15283. "type": "string"
  15284. },
  15285. "bankcardfrontphotourl": {
  15286. "description": "银行卡正面照地址",
  15287. "type": "string"
  15288. },
  15289. "bankid": {
  15290. "description": "银行编码",
  15291. "type": "string"
  15292. },
  15293. "bankname": {
  15294. "description": "银行名称",
  15295. "type": "string"
  15296. },
  15297. "bankpictureurl": {
  15298. "description": "银行卡正面地址",
  15299. "type": "string"
  15300. },
  15301. "biznature": {
  15302. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15303. "type": "integer"
  15304. },
  15305. "bizscope": {
  15306. "description": "企业经营范围(企业)",
  15307. "type": "string"
  15308. },
  15309. "biztype": {
  15310. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15311. "type": "integer"
  15312. },
  15313. "brokerid": {
  15314. "description": "经纪人ID(加密存储)",
  15315. "type": "string"
  15316. },
  15317. "cardaddress": {
  15318. "description": "证件地址 (加密存储)",
  15319. "type": "string"
  15320. },
  15321. "cardbackphotourl": {
  15322. "description": "背面证件照地址",
  15323. "type": "string"
  15324. },
  15325. "cardfrontphotourl": {
  15326. "description": "正面证件照地址",
  15327. "type": "string"
  15328. },
  15329. "cardnum": {
  15330. "description": "证件号码 (加密存储)",
  15331. "type": "string"
  15332. },
  15333. "cardtype": {
  15334. "description": "证件类型",
  15335. "type": "integer"
  15336. },
  15337. "cityid": {
  15338. "description": "市",
  15339. "type": "integer"
  15340. },
  15341. "company": {
  15342. "description": "公司(个人)",
  15343. "type": "string"
  15344. },
  15345. "contactcardbackphotourl": {
  15346. "description": "联系人证件背面图片地址",
  15347. "type": "string"
  15348. },
  15349. "contactcardfrontphotourl": {
  15350. "description": "联系人证件正面图片地址",
  15351. "type": "string"
  15352. },
  15353. "contactname": {
  15354. "description": "联系人",
  15355. "type": "string"
  15356. },
  15357. "countryid": {
  15358. "description": "国家",
  15359. "type": "integer"
  15360. },
  15361. "createtime": {
  15362. "description": "开户申请时间",
  15363. "type": "string"
  15364. },
  15365. "cusbankid": {
  15366. "description": "签约类型",
  15367. "type": "string"
  15368. },
  15369. "cusbankname": {
  15370. "description": "签约类型名称",
  15371. "type": "string"
  15372. },
  15373. "customername": {
  15374. "description": "客户名称(企业名称)",
  15375. "type": "string"
  15376. },
  15377. "districtid": {
  15378. "description": "地区",
  15379. "type": "integer"
  15380. },
  15381. "email": {
  15382. "description": "Email地址(加密存储)",
  15383. "type": "string"
  15384. },
  15385. "halfbodyphotourl": {
  15386. "description": "半身照地址",
  15387. "type": "string"
  15388. },
  15389. "headurl": {
  15390. "description": "头像地址",
  15391. "type": "string"
  15392. },
  15393. "ipaddress": {
  15394. "description": "IP地址",
  15395. "type": "string"
  15396. },
  15397. "isvalidate": {
  15398. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15399. "type": "string"
  15400. },
  15401. "legalcardbackphotourl": {
  15402. "description": "法人身份证背面照地址",
  15403. "type": "string"
  15404. },
  15405. "legalcardfrontphotourl": {
  15406. "description": "法人身份证正面照地址",
  15407. "type": "string"
  15408. },
  15409. "legalpersonname": {
  15410. "description": "法人姓名(企业)",
  15411. "type": "string"
  15412. },
  15413. "logincode": {
  15414. "description": "登录帐号 (加密存储)",
  15415. "type": "string"
  15416. },
  15417. "memberareaid": {
  15418. "description": "所属会员ID",
  15419. "type": "integer"
  15420. },
  15421. "mobile2": {
  15422. "description": "手机号码[明文-尚志]",
  15423. "type": "string"
  15424. },
  15425. "mobilephone": {
  15426. "description": "手机号码 (加密存储)",
  15427. "type": "string"
  15428. },
  15429. "modifiedby": {
  15430. "description": "修改人帐号",
  15431. "type": "integer"
  15432. },
  15433. "modifiedtime": {
  15434. "description": "修改时间",
  15435. "type": "string"
  15436. },
  15437. "nickname": {
  15438. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15439. "type": "string"
  15440. },
  15441. "openmode": {
  15442. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15443. "type": "integer"
  15444. },
  15445. "otherurl": {
  15446. "description": "其它图片地址[使用分号分隔]",
  15447. "type": "string"
  15448. },
  15449. "postalcode": {
  15450. "description": "邮政编码",
  15451. "type": "string"
  15452. },
  15453. "provinceid": {
  15454. "description": "省",
  15455. "type": "integer"
  15456. },
  15457. "proxystatementurl": {
  15458. "description": "授权委托书",
  15459. "type": "string"
  15460. },
  15461. "qq": {
  15462. "description": "QQ(加密存储",
  15463. "type": "string"
  15464. },
  15465. "referral": {
  15466. "description": "推荐人编码",
  15467. "type": "string"
  15468. },
  15469. "remark": {
  15470. "description": "备注",
  15471. "type": "string"
  15472. },
  15473. "removebeforestatus": {
  15474. "description": "REMOVEBEFORESTATUS",
  15475. "type": "integer"
  15476. },
  15477. "sex": {
  15478. "description": "性别 - 0:女 1:男",
  15479. "type": "integer"
  15480. },
  15481. "signedstatus": {
  15482. "description": "账户一号签签约状态",
  15483. "type": "integer"
  15484. },
  15485. "signpdfurl": {
  15486. "description": "签约pdf文件",
  15487. "type": "string"
  15488. },
  15489. "subbranch": {
  15490. "description": "开户支行",
  15491. "type": "string"
  15492. },
  15493. "taxpayernum": {
  15494. "description": "纳税人识别号",
  15495. "type": "string"
  15496. },
  15497. "telphone": {
  15498. "description": "联系电话(加密存储)",
  15499. "type": "string"
  15500. },
  15501. "userid": {
  15502. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15503. "type": "integer"
  15504. },
  15505. "userinfotype": {
  15506. "description": "用户信息类型 - 1:个人 2:企业",
  15507. "type": "integer"
  15508. },
  15509. "username": {
  15510. "description": "用户姓名",
  15511. "type": "string"
  15512. },
  15513. "userstate": {
  15514. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15515. "type": "integer"
  15516. },
  15517. "usertype": {
  15518. "description": "用户类型 - 1:投资者 2:机构",
  15519. "type": "integer"
  15520. },
  15521. "videourl": {
  15522. "description": "视频地址",
  15523. "type": "string"
  15524. },
  15525. "wechat": {
  15526. "description": "微信号 (加密存储)",
  15527. "type": "string"
  15528. }
  15529. }
  15530. },
  15531. "erms3.CustomerInfo": {
  15532. "type": "object",
  15533. "required": [
  15534. "userid"
  15535. ],
  15536. "properties": {
  15537. "accountids": {
  15538. "description": "资金账户ID列表",
  15539. "type": "array",
  15540. "items": {
  15541. "type": "integer"
  15542. }
  15543. },
  15544. "customername": {
  15545. "description": "名称(企业名称)",
  15546. "type": "string"
  15547. },
  15548. "mobile": {
  15549. "description": "手机号码",
  15550. "type": "string"
  15551. },
  15552. "userid": {
  15553. "description": "用户ID",
  15554. "type": "integer"
  15555. }
  15556. }
  15557. },
  15558. "erms3.ModifyUserInfoApplyReq": {
  15559. "type": "object",
  15560. "required": [
  15561. "userid"
  15562. ],
  15563. "properties": {
  15564. "accountid": {
  15565. "description": "交易系统帐号Id (加密存储)",
  15566. "type": "integer"
  15567. },
  15568. "areacode": {
  15569. "description": "机构代码",
  15570. "type": "string"
  15571. },
  15572. "areaid": {
  15573. "description": "机构Id",
  15574. "type": "integer"
  15575. },
  15576. "attachment1": {
  15577. "description": "附件1",
  15578. "type": "string"
  15579. },
  15580. "attachment2": {
  15581. "description": "附件2",
  15582. "type": "string"
  15583. },
  15584. "attachment3": {
  15585. "description": "附件3",
  15586. "type": "string"
  15587. },
  15588. "attachment4": {
  15589. "description": "附件4",
  15590. "type": "string"
  15591. },
  15592. "attachment5": {
  15593. "description": "附件5",
  15594. "type": "string"
  15595. },
  15596. "auditedby": {
  15597. "description": "审核人",
  15598. "type": "string"
  15599. },
  15600. "auditime": {
  15601. "description": "审核时间",
  15602. "type": "string"
  15603. },
  15604. "auditsrc": {
  15605. "description": "审核来源 - 1:管理端 2:终端",
  15606. "type": "integer"
  15607. },
  15608. "bankaccount": {
  15609. "description": "银行帐号 (加密存储)",
  15610. "type": "string"
  15611. },
  15612. "bankaccountname": {
  15613. "description": "收款人名称",
  15614. "type": "string"
  15615. },
  15616. "bankcardbackphotourl": {
  15617. "description": "银行卡背面照地址",
  15618. "type": "string"
  15619. },
  15620. "bankcardfrontphotourl": {
  15621. "description": "银行卡正面照地址",
  15622. "type": "string"
  15623. },
  15624. "bankid": {
  15625. "description": "银行编码",
  15626. "type": "string"
  15627. },
  15628. "bankname": {
  15629. "description": "银行名称",
  15630. "type": "string"
  15631. },
  15632. "bankpictureurl": {
  15633. "description": "银行卡正面地址",
  15634. "type": "string"
  15635. },
  15636. "biznature": {
  15637. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15638. "type": "integer"
  15639. },
  15640. "bizscope": {
  15641. "description": "企业经营范围(企业)",
  15642. "type": "string"
  15643. },
  15644. "biztype": {
  15645. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15646. "type": "integer"
  15647. },
  15648. "brokerid": {
  15649. "description": "经纪人ID(加密存储)",
  15650. "type": "string"
  15651. },
  15652. "cardaddress": {
  15653. "description": "证件地址 (加密存储)",
  15654. "type": "string"
  15655. },
  15656. "cardbackphotourl": {
  15657. "description": "背面证件照地址",
  15658. "type": "string"
  15659. },
  15660. "cardfrontphotourl": {
  15661. "description": "正面证件照地址",
  15662. "type": "string"
  15663. },
  15664. "cardnum": {
  15665. "description": "证件号码 (加密存储)",
  15666. "type": "string"
  15667. },
  15668. "cardtype": {
  15669. "description": "证件类型",
  15670. "type": "integer"
  15671. },
  15672. "cityid": {
  15673. "description": "市",
  15674. "type": "integer"
  15675. },
  15676. "company": {
  15677. "description": "公司(个人)",
  15678. "type": "string"
  15679. },
  15680. "contactcardbackphotourl": {
  15681. "description": "联系人证件背面图片地址",
  15682. "type": "string"
  15683. },
  15684. "contactcardfrontphotourl": {
  15685. "description": "联系人证件正面图片地址",
  15686. "type": "string"
  15687. },
  15688. "contactname": {
  15689. "description": "联系人",
  15690. "type": "string"
  15691. },
  15692. "countryid": {
  15693. "description": "国家",
  15694. "type": "integer"
  15695. },
  15696. "createtime": {
  15697. "description": "开户申请时间",
  15698. "type": "string"
  15699. },
  15700. "cusbankid": {
  15701. "description": "签约类型",
  15702. "type": "string"
  15703. },
  15704. "cusbankname": {
  15705. "description": "签约类型名称",
  15706. "type": "string"
  15707. },
  15708. "customername": {
  15709. "description": "客户名称(企业名称)",
  15710. "type": "string"
  15711. },
  15712. "districtid": {
  15713. "description": "地区",
  15714. "type": "integer"
  15715. },
  15716. "email": {
  15717. "description": "Email地址(加密存储)",
  15718. "type": "string"
  15719. },
  15720. "halfbodyphotourl": {
  15721. "description": "半身照地址",
  15722. "type": "string"
  15723. },
  15724. "headurl": {
  15725. "description": "头像地址",
  15726. "type": "string"
  15727. },
  15728. "ipaddress": {
  15729. "description": "IP地址",
  15730. "type": "string"
  15731. },
  15732. "isvalidate": {
  15733. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15734. "type": "string"
  15735. },
  15736. "legalcardbackphotourl": {
  15737. "description": "法人身份证背面照地址",
  15738. "type": "string"
  15739. },
  15740. "legalcardfrontphotourl": {
  15741. "description": "法人身份证正面照地址",
  15742. "type": "string"
  15743. },
  15744. "legalpersonname": {
  15745. "description": "法人姓名(企业)",
  15746. "type": "string"
  15747. },
  15748. "logincode": {
  15749. "description": "登录帐号 (加密存储)",
  15750. "type": "string"
  15751. },
  15752. "memberareaid": {
  15753. "description": "所属会员ID",
  15754. "type": "integer"
  15755. },
  15756. "mobile2": {
  15757. "description": "手机号码[明文-尚志]",
  15758. "type": "string"
  15759. },
  15760. "mobilephone": {
  15761. "description": "手机号码 (加密存储)",
  15762. "type": "string"
  15763. },
  15764. "modifiedby": {
  15765. "description": "修改人帐号",
  15766. "type": "integer"
  15767. },
  15768. "modifiedtime": {
  15769. "description": "修改时间",
  15770. "type": "string"
  15771. },
  15772. "nickname": {
  15773. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15774. "type": "string"
  15775. },
  15776. "openmode": {
  15777. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15778. "type": "integer"
  15779. },
  15780. "otherurl": {
  15781. "description": "其它图片地址[使用分号分隔]",
  15782. "type": "string"
  15783. },
  15784. "postalcode": {
  15785. "description": "邮政编码",
  15786. "type": "string"
  15787. },
  15788. "provinceid": {
  15789. "description": "省",
  15790. "type": "integer"
  15791. },
  15792. "proxystatementurl": {
  15793. "description": "授权委托书",
  15794. "type": "string"
  15795. },
  15796. "qq": {
  15797. "description": "QQ(加密存储",
  15798. "type": "string"
  15799. },
  15800. "referral": {
  15801. "description": "推荐人编码",
  15802. "type": "string"
  15803. },
  15804. "remark": {
  15805. "description": "备注",
  15806. "type": "string"
  15807. },
  15808. "removebeforestatus": {
  15809. "description": "REMOVEBEFORESTATUS",
  15810. "type": "integer"
  15811. },
  15812. "sex": {
  15813. "description": "性别 - 0:女 1:男",
  15814. "type": "integer"
  15815. },
  15816. "signedstatus": {
  15817. "description": "账户一号签签约状态",
  15818. "type": "integer"
  15819. },
  15820. "signpdfurl": {
  15821. "description": "签约pdf文件",
  15822. "type": "string"
  15823. },
  15824. "subbranch": {
  15825. "description": "开户支行",
  15826. "type": "string"
  15827. },
  15828. "taxpayernum": {
  15829. "description": "纳税人识别号",
  15830. "type": "string"
  15831. },
  15832. "telphone": {
  15833. "description": "联系电话(加密存储)",
  15834. "type": "string"
  15835. },
  15836. "userid": {
  15837. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15838. "type": "integer"
  15839. },
  15840. "userinfotype": {
  15841. "description": "用户信息类型 - 1:个人 2:企业",
  15842. "type": "integer"
  15843. },
  15844. "username": {
  15845. "description": "用户姓名",
  15846. "type": "string"
  15847. },
  15848. "userstate": {
  15849. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15850. "type": "integer"
  15851. },
  15852. "usertype": {
  15853. "description": "用户类型 - 1:投资者 2:机构",
  15854. "type": "integer"
  15855. },
  15856. "videourl": {
  15857. "description": "视频地址",
  15858. "type": "string"
  15859. },
  15860. "wechat": {
  15861. "description": "微信号 (加密存储)",
  15862. "type": "string"
  15863. }
  15864. }
  15865. },
  15866. "erms3.QryAuditContractRsp": {
  15867. "type": "object",
  15868. "required": [
  15869. "matchcustomername",
  15870. "spotcontractid"
  15871. ],
  15872. "properties": {
  15873. "accountid": {
  15874. "description": "交易员ID",
  15875. "type": "string"
  15876. },
  15877. "applystatus": {
  15878. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15879. "type": "integer"
  15880. },
  15881. "curdeliveryqty": {
  15882. "description": "未交收量",
  15883. "type": "integer"
  15884. },
  15885. "customername": {
  15886. "description": "采购方ID",
  15887. "type": "string"
  15888. },
  15889. "deliverygoodsid": {
  15890. "description": "品种ID",
  15891. "type": "string"
  15892. },
  15893. "deliveryqty": {
  15894. "description": "交收量",
  15895. "type": "integer"
  15896. },
  15897. "enumdicname": {
  15898. "description": "单位名称",
  15899. "type": "string"
  15900. },
  15901. "matchaccountid": {
  15902. "description": "业务员ID",
  15903. "type": "string"
  15904. },
  15905. "matchcustomername": {
  15906. "description": "销售方ID",
  15907. "type": "string"
  15908. },
  15909. "pricedqty": {
  15910. "description": "定价量",
  15911. "type": "number"
  15912. },
  15913. "signdate": {
  15914. "description": "签订日期",
  15915. "type": "string"
  15916. },
  15917. "spotcontractid": {
  15918. "description": "合同ID",
  15919. "type": "string"
  15920. },
  15921. "totaldqty": {
  15922. "description": "合同量",
  15923. "type": "number"
  15924. },
  15925. "unpricedqty": {
  15926. "description": "未定价量",
  15927. "type": "number"
  15928. },
  15929. "wrstandardname": {
  15930. "description": "商品名称",
  15931. "type": "string"
  15932. }
  15933. }
  15934. },
  15935. "erms3.QryPendingBizRsp": {
  15936. "$ref": "#/definitions/models.PendingAuditBizModel"
  15937. },
  15938. "erms3.QueryBusinessInfoRsp": {
  15939. "type": "object",
  15940. "properties": {
  15941. "businessid": {
  15942. "description": "业务ID.",
  15943. "type": "integer"
  15944. },
  15945. "buyamount": {
  15946. "description": "采购额.",
  15947. "type": "number"
  15948. },
  15949. "buyqty": {
  15950. "description": "采购量.",
  15951. "type": "string"
  15952. },
  15953. "futurepl": {
  15954. "description": "期货盈亏.",
  15955. "type": "number"
  15956. },
  15957. "futureqty": {
  15958. "description": "期货敞口.",
  15959. "type": "string"
  15960. },
  15961. "goodsid": {
  15962. "description": "商品名称/商品代码.",
  15963. "type": "string"
  15964. },
  15965. "hedgingqty": {
  15966. "description": "套保量.",
  15967. "type": "string"
  15968. },
  15969. "sellamount": {
  15970. "description": "销售额.",
  15971. "type": "number"
  15972. },
  15973. "sellqty": {
  15974. "description": "销售量.",
  15975. "type": "string"
  15976. },
  15977. "spotmarketvalue": {
  15978. "description": "现货市值.",
  15979. "type": "number"
  15980. },
  15981. "spotpl": {
  15982. "description": "浮动权益.",
  15983. "type": "number"
  15984. },
  15985. "spotqty": {
  15986. "description": "现货量.",
  15987. "type": "string"
  15988. },
  15989. "statu": {
  15990. "description": "状态,0-未结束 1-已结束.",
  15991. "type": "integer"
  15992. },
  15993. "totalpl": {
  15994. "description": "总盈亏.",
  15995. "type": "number"
  15996. },
  15997. "totalqty": {
  15998. "description": "总敞口.",
  15999. "type": "string"
  16000. },
  16001. "type": {
  16002. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  16003. "type": "integer"
  16004. }
  16005. }
  16006. },
  16007. "erms3.QuerySpotContractAppleFormRsp": {
  16008. "type": "object",
  16009. "properties": {
  16010. "goodses": {
  16011. "description": "合约列表",
  16012. "type": "array",
  16013. "items": {
  16014. "$ref": "#/definitions/models.GoodsIDAndName"
  16015. }
  16016. },
  16017. "oppositeusers": {
  16018. "description": "对方账号列表",
  16019. "type": "array",
  16020. "items": {
  16021. "$ref": "#/definitions/erms3.CustomerInfo"
  16022. }
  16023. },
  16024. "ouruser": {
  16025. "description": "我方账号",
  16026. "type": "object",
  16027. "$ref": "#/definitions/erms3.CustomerInfo"
  16028. },
  16029. "warehouseinfos": {
  16030. "description": "仓库信息列表",
  16031. "type": "array",
  16032. "items": {
  16033. "$ref": "#/definitions/models.Warehouseinfo"
  16034. }
  16035. },
  16036. "wrstandards": {
  16037. "description": "仓单标准列表",
  16038. "type": "array",
  16039. "items": {
  16040. "$ref": "#/definitions/models.WRStandardInfo"
  16041. }
  16042. }
  16043. }
  16044. },
  16045. "erms3.QuerySpotContractInfoRsp": {
  16046. "type": "object",
  16047. "properties": {
  16048. "accountid": {
  16049. "description": "表示交易员ID.",
  16050. "type": "integer"
  16051. },
  16052. "curdeliveryqty": {
  16053. "description": "表示未交收量.",
  16054. "type": "number"
  16055. },
  16056. "customername": {
  16057. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16058. "type": "string"
  16059. },
  16060. "deliverygoodsid": {
  16061. "description": "表示品种ID.",
  16062. "type": "string"
  16063. },
  16064. "deliveryqty": {
  16065. "description": "表示交收量.",
  16066. "type": "number"
  16067. },
  16068. "matchaccountid": {
  16069. "description": "表示业务员ID.",
  16070. "type": "integer"
  16071. },
  16072. "matchcustomername": {
  16073. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16074. "type": "string"
  16075. },
  16076. "priceqty": {
  16077. "description": "表示定价量.",
  16078. "type": "number"
  16079. },
  16080. "relatedbizid": {
  16081. "description": "表示业务ID.",
  16082. "type": "string"
  16083. },
  16084. "signdate": {
  16085. "description": "表示签订日期.",
  16086. "type": "string"
  16087. },
  16088. "spotcontractid": {
  16089. "description": "合同ID",
  16090. "type": "string"
  16091. },
  16092. "status": {
  16093. "description": "表示状态,0-履约中 1-已完成.",
  16094. "type": "integer"
  16095. },
  16096. "totalqty": {
  16097. "description": "表示合同量.",
  16098. "type": "number"
  16099. },
  16100. "unpricedqty": {
  16101. "description": "表示未定价量.",
  16102. "type": "number"
  16103. },
  16104. "wrstandardname": {
  16105. "description": "表示商品ID.",
  16106. "type": "string"
  16107. }
  16108. }
  16109. },
  16110. "erms3.QueryUserInfoAppliesRsp": {
  16111. "type": "object",
  16112. "required": [
  16113. "userid"
  16114. ],
  16115. "properties": {
  16116. "biznature": {
  16117. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16118. "type": "integer"
  16119. },
  16120. "contactname": {
  16121. "description": "联系人",
  16122. "type": "string"
  16123. },
  16124. "createtime": {
  16125. "description": "开户申请时间",
  16126. "type": "string"
  16127. },
  16128. "userid": {
  16129. "description": "用户ID(自增ID)",
  16130. "type": "integer"
  16131. },
  16132. "userinfotype": {
  16133. "description": "用户信息类型 - 1:个人 2:企业",
  16134. "type": "integer"
  16135. },
  16136. "username": {
  16137. "description": "用户姓名",
  16138. "type": "string"
  16139. },
  16140. "userstate": {
  16141. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16142. "type": "integer"
  16143. }
  16144. }
  16145. },
  16146. "erms3.QueryUserInfosRsp": {
  16147. "type": "object",
  16148. "required": [
  16149. "userid"
  16150. ],
  16151. "properties": {
  16152. "biznature": {
  16153. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16154. "type": "integer"
  16155. },
  16156. "contactname": {
  16157. "description": "联系人",
  16158. "type": "string"
  16159. },
  16160. "customername": {
  16161. "description": "客户名称(企业名称)",
  16162. "type": "string"
  16163. },
  16164. "userid": {
  16165. "description": "用户ID",
  16166. "type": "integer"
  16167. },
  16168. "userinfotype": {
  16169. "description": "用户信息类型 - 1:个人 2:企业",
  16170. "type": "integer"
  16171. },
  16172. "userstatus": {
  16173. "description": "用户状态 - 1:正常 2:注销",
  16174. "type": "integer"
  16175. }
  16176. }
  16177. },
  16178. "erms3.SoptContractDetail": {
  16179. "type": "object",
  16180. "required": [
  16181. "deliverygoodsid",
  16182. "producttype",
  16183. "unitname",
  16184. "warehouseid",
  16185. "wrstandardid",
  16186. "wrstandardname"
  16187. ],
  16188. "properties": {
  16189. "deliverygoodsdesc": {
  16190. "description": "现货品种说明",
  16191. "type": "string"
  16192. },
  16193. "deliverygoodsid": {
  16194. "description": "现货品种ID",
  16195. "type": "integer"
  16196. },
  16197. "deliverygoodsname": {
  16198. "description": "现货品种名称",
  16199. "type": "string"
  16200. },
  16201. "pointdesc": {
  16202. "description": "点价描述",
  16203. "type": "string"
  16204. },
  16205. "producttype": {
  16206. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16207. "type": "integer"
  16208. },
  16209. "producttypename": {
  16210. "description": "产品类型名称",
  16211. "type": "string"
  16212. },
  16213. "spotPointOrderVoList": {
  16214. "description": "点价列表",
  16215. "type": "array",
  16216. "items": {
  16217. "$ref": "#/definitions/erms3.SpotPointOrder"
  16218. }
  16219. },
  16220. "spotPriceOrderList": {
  16221. "description": "定价列表",
  16222. "type": "array",
  16223. "items": {
  16224. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16225. }
  16226. },
  16227. "unitname": {
  16228. "description": "单位名称",
  16229. "type": "string"
  16230. },
  16231. "warehouseid": {
  16232. "description": "仓库ID",
  16233. "type": "integer"
  16234. },
  16235. "warehousename": {
  16236. "description": "仓库名称",
  16237. "type": "string"
  16238. },
  16239. "wrstandardid": {
  16240. "description": "交易标的ID",
  16241. "type": "integer"
  16242. },
  16243. "wrstandardname": {
  16244. "description": "交易标的名称",
  16245. "type": "string"
  16246. }
  16247. }
  16248. },
  16249. "erms3.SpotPointOrder": {
  16250. "type": "object",
  16251. "required": [
  16252. "basic",
  16253. "goodsid",
  16254. "qty"
  16255. ],
  16256. "properties": {
  16257. "basic": {
  16258. "description": "基差",
  16259. "type": "number"
  16260. },
  16261. "deliveryenddate": {
  16262. "description": "交收结束日期",
  16263. "type": "string"
  16264. },
  16265. "deliverystartdate": {
  16266. "description": "交收开始日期",
  16267. "type": "string"
  16268. },
  16269. "enddate": {
  16270. "description": "点价结束日期",
  16271. "type": "string"
  16272. },
  16273. "goodsid": {
  16274. "description": "商品ID",
  16275. "type": "integer"
  16276. },
  16277. "goodsname": {
  16278. "description": "商品名称",
  16279. "type": "string"
  16280. },
  16281. "qty": {
  16282. "description": "数量",
  16283. "type": "number"
  16284. },
  16285. "startdate": {
  16286. "description": "点价开始日期",
  16287. "type": "string"
  16288. }
  16289. }
  16290. },
  16291. "erms3.SpotPriceOrder": {
  16292. "type": "object",
  16293. "required": [
  16294. "amount",
  16295. "price",
  16296. "qty"
  16297. ],
  16298. "properties": {
  16299. "amount": {
  16300. "description": "金额",
  16301. "type": "number"
  16302. },
  16303. "deliveryenddate": {
  16304. "description": "交收结束日期",
  16305. "type": "string"
  16306. },
  16307. "deliverystartdate": {
  16308. "description": "交收开始日期",
  16309. "type": "string"
  16310. },
  16311. "price": {
  16312. "description": "价格",
  16313. "type": "number"
  16314. },
  16315. "qty": {
  16316. "description": "数量",
  16317. "type": "number"
  16318. }
  16319. }
  16320. },
  16321. "hsby.GetHsbyMyCountRsp": {
  16322. "type": "object",
  16323. "properties": {
  16324. "myCouponCount": {
  16325. "description": "我的优惠卷数量",
  16326. "type": "integer"
  16327. },
  16328. "myOrderDetailListingCount": {
  16329. "description": "我的订单求购中数量",
  16330. "type": "integer"
  16331. },
  16332. "myOrderDetailPreCount": {
  16333. "description": "我的订单抢购中数量",
  16334. "type": "integer"
  16335. },
  16336. "myPackageUnReceiveCount": {
  16337. "description": "我的包裹待收货数量",
  16338. "type": "integer"
  16339. },
  16340. "myPackageUnSendCount": {
  16341. "description": "我的包裹待发货数量",
  16342. "type": "integer"
  16343. },
  16344. "myPayOrderCount": {
  16345. "description": "我的订单待付款数量",
  16346. "type": "integer"
  16347. }
  16348. }
  16349. },
  16350. "hsby.QueryProvincesAndCitiesRsp": {
  16351. "type": "object",
  16352. "properties": {
  16353. "cities": {
  16354. "description": "市",
  16355. "type": "array",
  16356. "items": {
  16357. "$ref": "#/definitions/models.Division"
  16358. }
  16359. },
  16360. "province": {
  16361. "description": "省",
  16362. "type": "object",
  16363. "$ref": "#/definitions/models.Division"
  16364. }
  16365. }
  16366. },
  16367. "models.AreaSpotModel": {
  16368. "type": "object",
  16369. "properties": {
  16370. "areauserid": {
  16371. "description": "所属机构",
  16372. "type": "integer"
  16373. },
  16374. "decreaseqty": {
  16375. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16376. "type": "number"
  16377. },
  16378. "increaseqty": {
  16379. "description": "增加数量=销售计划数量+采购已定价数量",
  16380. "type": "number"
  16381. },
  16382. "oritoalspotqty": {
  16383. "description": "昨日数量",
  16384. "type": "number"
  16385. },
  16386. "totalspotqty": {
  16387. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16388. "type": "number"
  16389. },
  16390. "updatetime": {
  16391. "description": "更新时间",
  16392. "type": "string"
  16393. },
  16394. "wrstandardcode": {
  16395. "description": "现货品种代码",
  16396. "type": "string"
  16397. },
  16398. "wrstandardid": {
  16399. "description": "现货商品ID",
  16400. "type": "integer"
  16401. },
  16402. "wrstandardname": {
  16403. "description": "现货品种",
  16404. "type": "string"
  16405. }
  16406. }
  16407. },
  16408. "models.Arearole": {
  16409. "type": "object",
  16410. "required": [
  16411. "roletype",
  16412. "userid"
  16413. ],
  16414. "properties": {
  16415. "createtime": {
  16416. "description": "创建时间",
  16417. "type": "string"
  16418. },
  16419. "creatorid": {
  16420. "description": "创建人ID",
  16421. "type": "integer"
  16422. },
  16423. "fromuserid": {
  16424. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  16425. "type": "integer"
  16426. },
  16427. "isreturnscore": {
  16428. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  16429. "type": "integer"
  16430. },
  16431. "modifierid": {
  16432. "description": "修改人ID",
  16433. "type": "integer"
  16434. },
  16435. "modifytime": {
  16436. "description": "修改时间",
  16437. "type": "string"
  16438. },
  16439. "orgtype": {
  16440. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  16441. "type": "integer"
  16442. },
  16443. "outuserid": {
  16444. "description": "外部账户[场外期权做市商]",
  16445. "type": "string"
  16446. },
  16447. "parentuserid": {
  16448. "description": "上级组织机构(组织机构)",
  16449. "type": "integer"
  16450. },
  16451. "roletype": {
  16452. "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:门店",
  16453. "type": "integer"
  16454. },
  16455. "rootuserid": {
  16456. "description": "顶级组织机构用户ID(组织机构)",
  16457. "type": "integer"
  16458. },
  16459. "shoppassword": {
  16460. "description": "商城店铺登陆密码(商城店铺角色使用)",
  16461. "type": "string"
  16462. },
  16463. "sublevelpath": {
  16464. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  16465. "type": "string"
  16466. },
  16467. "suborgtype": {
  16468. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  16469. "type": "integer"
  16470. },
  16471. "tradeaccountid": {
  16472. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  16473. "type": "integer"
  16474. },
  16475. "transurl": {
  16476. "description": "物流地址(物流机构)",
  16477. "type": "string"
  16478. },
  16479. "userid": {
  16480. "description": "机构用户ID其他做市关系,都设置为 1",
  16481. "type": "integer"
  16482. }
  16483. }
  16484. },
  16485. "models.Clientfixedadconfig": {
  16486. "type": "object",
  16487. "required": [
  16488. "adsort",
  16489. "adtype"
  16490. ],
  16491. "properties": {
  16492. "adsort": {
  16493. "description": "排序",
  16494. "type": "integer"
  16495. },
  16496. "adtype": {
  16497. "description": "广告位类型 - 1:新品抢购(HSBY)",
  16498. "type": "integer"
  16499. },
  16500. "areauserid": {
  16501. "description": "所属机构ID",
  16502. "type": "integer"
  16503. },
  16504. "createdate": {
  16505. "description": "创建时间",
  16506. "type": "string"
  16507. },
  16508. "creatorid": {
  16509. "description": "创建人",
  16510. "type": "integer"
  16511. },
  16512. "imagepath": {
  16513. "description": "图片",
  16514. "type": "string"
  16515. },
  16516. "isshow": {
  16517. "description": "是否展示 - 0:不展示 1:展示",
  16518. "type": "integer"
  16519. },
  16520. "modifierid": {
  16521. "description": "操作人",
  16522. "type": "integer"
  16523. },
  16524. "recsize": {
  16525. "description": "推荐尺寸",
  16526. "type": "string"
  16527. },
  16528. "title": {
  16529. "description": "标题",
  16530. "type": "string"
  16531. },
  16532. "updatedate": {
  16533. "description": "更新时间",
  16534. "type": "string"
  16535. },
  16536. "urlcontent": {
  16537. "description": "链接(地址或商品ID)",
  16538. "type": "string"
  16539. },
  16540. "urltype": {
  16541. "description": "链接类型 - 1:直接地址 2:商品ID",
  16542. "type": "integer"
  16543. }
  16544. }
  16545. },
  16546. "models.Division": {
  16547. "type": "object",
  16548. "required": [
  16549. "autoid",
  16550. "divisioncode"
  16551. ],
  16552. "properties": {
  16553. "autoid": {
  16554. "description": "自增ID",
  16555. "type": "integer"
  16556. },
  16557. "divisioncode": {
  16558. "description": "行政代码",
  16559. "type": "string"
  16560. },
  16561. "divisionlevel": {
  16562. "description": "行政级别",
  16563. "type": "string"
  16564. },
  16565. "divisionname": {
  16566. "description": "行政名称",
  16567. "type": "string"
  16568. },
  16569. "modifierid": {
  16570. "description": "修改人",
  16571. "type": "integer"
  16572. },
  16573. "modifytime": {
  16574. "description": "修改时间",
  16575. "type": "string"
  16576. },
  16577. "parentcode": {
  16578. "description": "上级行政代码",
  16579. "type": "string"
  16580. },
  16581. "pathname": {
  16582. "description": "路径名称",
  16583. "type": "string"
  16584. },
  16585. "postcode": {
  16586. "description": "邮政编码",
  16587. "type": "string"
  16588. },
  16589. "separablename": {
  16590. "description": "可拆分的全称",
  16591. "type": "string"
  16592. },
  16593. "shortcode": {
  16594. "description": "地区简码",
  16595. "type": "string"
  16596. }
  16597. }
  16598. },
  16599. "models.Enumdicitem": {
  16600. "type": "object",
  16601. "required": [
  16602. "autoid",
  16603. "enumdiccode",
  16604. "enumdicid",
  16605. "enumitemname"
  16606. ],
  16607. "properties": {
  16608. "autoid": {
  16609. "description": "自增ID",
  16610. "type": "integer"
  16611. },
  16612. "bankmappedvalue": {
  16613. "description": "银行服务对应值",
  16614. "type": "string"
  16615. },
  16616. "enumdiccode": {
  16617. "description": "所属枚举代码",
  16618. "type": "string"
  16619. },
  16620. "enumdicid": {
  16621. "description": "所属枚举ID",
  16622. "type": "integer"
  16623. },
  16624. "enumdicname": {
  16625. "description": "枚举项名称",
  16626. "type": "string"
  16627. },
  16628. "enumitemname": {
  16629. "description": "枚举项值",
  16630. "type": "integer"
  16631. },
  16632. "enumitemstatus": {
  16633. "description": "枚举项状态 - 1.启用 2.不启用",
  16634. "type": "integer"
  16635. },
  16636. "enumitemvalue": {
  16637. "description": "通用值 - [币种通用简写]",
  16638. "type": "string"
  16639. },
  16640. "param1": {
  16641. "description": "参数1[币种:币种小数位]",
  16642. "type": "string"
  16643. },
  16644. "param2": {
  16645. "description": "参数1[币种:币种显示单位]",
  16646. "type": "string"
  16647. },
  16648. "remark": {
  16649. "description": "备注",
  16650. "type": "string"
  16651. }
  16652. }
  16653. },
  16654. "models.Ermcp3AreaSpot": {
  16655. "type": "object",
  16656. "properties": {
  16657. "areauserid": {
  16658. "description": "所属机构",
  16659. "type": "integer"
  16660. },
  16661. "decreaseqty": {
  16662. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16663. "type": "number"
  16664. },
  16665. "deliverygoodscode": {
  16666. "description": "现货品种代码",
  16667. "type": "string"
  16668. },
  16669. "deliverygoodsid": {
  16670. "description": "现货品种id",
  16671. "type": "integer"
  16672. },
  16673. "deliverygoodsname": {
  16674. "description": "现货品种名称",
  16675. "type": "string"
  16676. },
  16677. "enumdicname": {
  16678. "description": "单位名称",
  16679. "type": "string"
  16680. },
  16681. "goodsunitid": {
  16682. "description": "现货品种单位id",
  16683. "type": "integer"
  16684. },
  16685. "increaseqty": {
  16686. "description": "增加数量=销售计划数量+采购已定价数量",
  16687. "type": "number"
  16688. },
  16689. "oritoalspotqty": {
  16690. "description": "昨日数量",
  16691. "type": "number"
  16692. },
  16693. "totalspotqty": {
  16694. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16695. "type": "number"
  16696. },
  16697. "updatetime": {
  16698. "description": "更新时间",
  16699. "type": "string"
  16700. }
  16701. }
  16702. },
  16703. "models.Ermcp3AreaSpotDetail": {
  16704. "type": "object",
  16705. "properties": {
  16706. "contracttype": {
  16707. "description": "合同类型 1-采购 -1-销售",
  16708. "type": "integer"
  16709. },
  16710. "createtime": {
  16711. "description": "创建时间",
  16712. "type": "string"
  16713. },
  16714. "deliverygoodscode": {
  16715. "description": "现货品种代码",
  16716. "type": "string"
  16717. },
  16718. "deliverygoodsid": {
  16719. "description": "现货品种id",
  16720. "type": "integer"
  16721. },
  16722. "deliverygoodsname": {
  16723. "description": "现货品种名称",
  16724. "type": "string"
  16725. },
  16726. "enumdicname": {
  16727. "description": "现货商品单位名称",
  16728. "type": "string"
  16729. },
  16730. "logtype": {
  16731. "description": "记录类型 1-套保 2-现货合同",
  16732. "type": "integer"
  16733. },
  16734. "qty": {
  16735. "description": "数量",
  16736. "type": "number"
  16737. },
  16738. "recordname": {
  16739. "description": "类型名称",
  16740. "type": "string"
  16741. },
  16742. "relatedid": {
  16743. "description": "套保计划ID/现货合同ID",
  16744. "type": "string"
  16745. },
  16746. "relatedno": {
  16747. "description": "编号",
  16748. "type": "string"
  16749. },
  16750. "strtime": {
  16751. "description": "时间",
  16752. "type": "string"
  16753. }
  16754. }
  16755. },
  16756. "models.Ermcp3AreaSpotPLReport": {
  16757. "type": "object",
  16758. "properties": {
  16759. "accountid": {
  16760. "description": "期货账户ID (作废, 默认为0)",
  16761. "type": "integer"
  16762. },
  16763. "accountname": {
  16764. "description": "机构名称",
  16765. "type": "string"
  16766. },
  16767. "actualpl": {
  16768. "description": "现货损益",
  16769. "type": "number"
  16770. },
  16771. "areauserid": {
  16772. "description": "所属机构\\交易用户ID",
  16773. "type": "integer"
  16774. },
  16775. "begindate": {
  16776. "description": "开始交易日",
  16777. "type": "string"
  16778. },
  16779. "biztype": {
  16780. "description": "业务类型 - 1:套保 2:套利",
  16781. "type": "integer"
  16782. },
  16783. "brandname": {
  16784. "description": "品牌名称",
  16785. "type": "string"
  16786. },
  16787. "curamount": {
  16788. "description": "期末额",
  16789. "type": "number"
  16790. },
  16791. "curaverageprice": {
  16792. "description": "期末均价",
  16793. "type": "number"
  16794. },
  16795. "curbuyamount": {
  16796. "description": "期末采购总额",
  16797. "type": "number"
  16798. },
  16799. "curbuyqty": {
  16800. "description": "期末采购总量",
  16801. "type": "number"
  16802. },
  16803. "curmarketvalue": {
  16804. "description": "参考市值(期末市值)",
  16805. "type": "number"
  16806. },
  16807. "curqty": {
  16808. "description": "期末量",
  16809. "type": "number"
  16810. },
  16811. "currencyid": {
  16812. "description": "结算币种ID【原值】",
  16813. "type": "integer"
  16814. },
  16815. "currencyname": {
  16816. "description": "币种名称",
  16817. "type": "string"
  16818. },
  16819. "cursellamount": {
  16820. "description": "期末销售总额",
  16821. "type": "number"
  16822. },
  16823. "cursellqty": {
  16824. "description": "期末销售总量",
  16825. "type": "number"
  16826. },
  16827. "curspotprice": {
  16828. "description": "参考市价(最新价)",
  16829. "type": "number"
  16830. },
  16831. "cycletime": {
  16832. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16833. "type": "string"
  16834. },
  16835. "cycletype": {
  16836. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16837. "type": "integer"
  16838. },
  16839. "deliverygoodscode": {
  16840. "description": "现货商品代码",
  16841. "type": "string"
  16842. },
  16843. "deliverygoodsid": {
  16844. "description": "现货品种ID",
  16845. "type": "integer"
  16846. },
  16847. "deliverygoodsname": {
  16848. "description": "现货商品名称",
  16849. "type": "string"
  16850. },
  16851. "enddate": {
  16852. "description": "结束交易日",
  16853. "type": "string"
  16854. },
  16855. "enumdicname": {
  16856. "description": "现货商品单位名称",
  16857. "type": "string"
  16858. },
  16859. "floatpl": {
  16860. "description": "浮动损益",
  16861. "type": "number"
  16862. },
  16863. "goodsunitid": {
  16864. "description": "现货商品单位id",
  16865. "type": "integer"
  16866. },
  16867. "oriamount": {
  16868. "description": "期初额",
  16869. "type": "number"
  16870. },
  16871. "oriaverageprice": {
  16872. "description": "期初均价",
  16873. "type": "number"
  16874. },
  16875. "oribuyamount": {
  16876. "description": "期初采购总额",
  16877. "type": "number"
  16878. },
  16879. "oribuyqty": {
  16880. "description": "期初采购总量",
  16881. "type": "number"
  16882. },
  16883. "oriqty": {
  16884. "description": "期初量",
  16885. "type": "number"
  16886. },
  16887. "orisellamount": {
  16888. "description": "期初销售总额",
  16889. "type": "number"
  16890. },
  16891. "orisellqty": {
  16892. "description": "期初销售总量",
  16893. "type": "number"
  16894. },
  16895. "reckondate": {
  16896. "description": "日照时期(yyyyMMdd)",
  16897. "type": "string"
  16898. },
  16899. "spotgoodsbrandid": {
  16900. "description": "现货品牌ID",
  16901. "type": "integer"
  16902. },
  16903. "todaybuyamount": {
  16904. "description": "今日采购额(今采购额)",
  16905. "type": "number"
  16906. },
  16907. "todaybuyaverageprice": {
  16908. "description": "今日采购均价",
  16909. "type": "number"
  16910. },
  16911. "todaybuyqty": {
  16912. "description": "今日采购量(今采购量)",
  16913. "type": "number"
  16914. },
  16915. "todayinqty": {
  16916. "description": "今日入库量(今入库量)",
  16917. "type": "number"
  16918. },
  16919. "todayoutqty": {
  16920. "description": "今日出库量(今出库量)",
  16921. "type": "number"
  16922. },
  16923. "todaysellamount": {
  16924. "description": "今日销售额(今销售额)",
  16925. "type": "number"
  16926. },
  16927. "todaysellaverageprice": {
  16928. "description": "今日销售均价",
  16929. "type": "number"
  16930. },
  16931. "todaysellqty": {
  16932. "description": "今日销售量(今销售量)",
  16933. "type": "number"
  16934. },
  16935. "unitid": {
  16936. "description": "品类单位id",
  16937. "type": "integer"
  16938. },
  16939. "unitidname": {
  16940. "description": "品类单位名称",
  16941. "type": "string"
  16942. },
  16943. "updatetime": {
  16944. "description": "更新时间",
  16945. "type": "string"
  16946. },
  16947. "wrfactortypeid": {
  16948. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16949. "type": "integer"
  16950. },
  16951. "wrstandardcode": {
  16952. "description": "品类代码",
  16953. "type": "string"
  16954. },
  16955. "wrstandardid": {
  16956. "description": "现货品类ID",
  16957. "type": "integer"
  16958. },
  16959. "wrstandardname": {
  16960. "description": "品类名称",
  16961. "type": "string"
  16962. }
  16963. }
  16964. },
  16965. "models.Ermcp3AreaStock": {
  16966. "type": "object",
  16967. "required": [
  16968. "userid"
  16969. ],
  16970. "properties": {
  16971. "brandname": {
  16972. "description": "品牌名称",
  16973. "type": "string"
  16974. },
  16975. "curstock": {
  16976. "description": "期末库存量(今日量)",
  16977. "type": "number"
  16978. },
  16979. "deliverygoodscode": {
  16980. "description": "现货品种代码",
  16981. "type": "string"
  16982. },
  16983. "deliverygoodsid": {
  16984. "description": "现货品种id",
  16985. "type": "integer"
  16986. },
  16987. "deliverygoodsname": {
  16988. "description": "现货品种名称",
  16989. "type": "string"
  16990. },
  16991. "enumdicname": {
  16992. "description": "单位名称",
  16993. "type": "string"
  16994. },
  16995. "goodsunitid": {
  16996. "description": "现货商品单位id",
  16997. "type": "integer"
  16998. },
  16999. "oristock": {
  17000. "description": "期初库存量(昨日量)",
  17001. "type": "number"
  17002. },
  17003. "spotgoodsbrandid": {
  17004. "description": "现货品牌ID",
  17005. "type": "integer"
  17006. },
  17007. "todaybuyinqty": {
  17008. "description": "今日采购入库量",
  17009. "type": "number"
  17010. },
  17011. "todayproduceinqty": {
  17012. "description": "今日生产入库量",
  17013. "type": "number"
  17014. },
  17015. "todayproduceoutqty": {
  17016. "description": "今日生产出库量",
  17017. "type": "number"
  17018. },
  17019. "todayselloutqty": {
  17020. "description": "今日销售出库量",
  17021. "type": "number"
  17022. },
  17023. "unitid": {
  17024. "description": "单位id",
  17025. "type": "integer"
  17026. },
  17027. "updatetime": {
  17028. "description": "更新时间",
  17029. "type": "string"
  17030. },
  17031. "userid": {
  17032. "description": "机构ID",
  17033. "type": "integer"
  17034. },
  17035. "username": {
  17036. "description": "机构名称",
  17037. "type": "string"
  17038. },
  17039. "warehousecode": {
  17040. "description": "仓库代码",
  17041. "type": "string"
  17042. },
  17043. "warehouseinfoid": {
  17044. "description": "仓库ID",
  17045. "type": "string"
  17046. },
  17047. "warehousename": {
  17048. "description": "仓库名称",
  17049. "type": "string"
  17050. },
  17051. "warehousetype": {
  17052. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17053. "type": "integer"
  17054. },
  17055. "wrstandardcode": {
  17056. "description": "品类代码",
  17057. "type": "string"
  17058. },
  17059. "wrstandardid": {
  17060. "description": "品类ID",
  17061. "type": "string"
  17062. },
  17063. "wrstandardname": {
  17064. "description": "品类名称",
  17065. "type": "string"
  17066. }
  17067. }
  17068. },
  17069. "models.Ermcp3AreaStockApply": {
  17070. "type": "object",
  17071. "properties": {
  17072. "applyid": {
  17073. "description": "申请人",
  17074. "type": "integer"
  17075. },
  17076. "applyname": {
  17077. "description": "申请人名称",
  17078. "type": "string"
  17079. },
  17080. "applyremark": {
  17081. "description": "申请备注",
  17082. "type": "string"
  17083. },
  17084. "applysrc": {
  17085. "description": "申请来源 - 1:管理端 2:终端",
  17086. "type": "integer"
  17087. },
  17088. "applystatus": {
  17089. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17090. "type": "integer"
  17091. },
  17092. "applytime": {
  17093. "description": "申请时间",
  17094. "type": "string"
  17095. },
  17096. "auditid": {
  17097. "description": "审核人",
  17098. "type": "integer"
  17099. },
  17100. "auditname": {
  17101. "description": "审核人名称",
  17102. "type": "string"
  17103. },
  17104. "auditremark": {
  17105. "description": "审核备注",
  17106. "type": "string"
  17107. },
  17108. "auditsrc": {
  17109. "description": "审核来源 - 1:管理端 2:终端",
  17110. "type": "integer"
  17111. },
  17112. "audittime": {
  17113. "description": "审核时间",
  17114. "type": "string"
  17115. },
  17116. "audittradedate": {
  17117. "description": "审核交易日(yyyyMMdd)",
  17118. "type": "string"
  17119. },
  17120. "brandname": {
  17121. "description": "品牌名称",
  17122. "type": "string"
  17123. },
  17124. "buynickname": {
  17125. "description": "采购方昵称",
  17126. "type": "string"
  17127. },
  17128. "buyuserid": {
  17129. "description": "采购方userid",
  17130. "type": "integer"
  17131. },
  17132. "buyusername": {
  17133. "description": "采购方名称",
  17134. "type": "string"
  17135. },
  17136. "contractno": {
  17137. "description": "合同编号",
  17138. "type": "string"
  17139. },
  17140. "contractqty": {
  17141. "description": "合同量",
  17142. "type": "number"
  17143. },
  17144. "contracttype": {
  17145. "description": "现货合同类型 - 1:采购 -1:销售",
  17146. "type": "integer"
  17147. },
  17148. "deliverygoodscode": {
  17149. "description": "现货品种代码",
  17150. "type": "string"
  17151. },
  17152. "deliverygoodsid": {
  17153. "description": "现货品种id",
  17154. "type": "integer"
  17155. },
  17156. "deliverygoodsname": {
  17157. "description": "现货品种名称",
  17158. "type": "string"
  17159. },
  17160. "detailjson": {
  17161. "description": "明细数据",
  17162. "type": "string"
  17163. },
  17164. "enumdicname": {
  17165. "description": "现货商品单位名称",
  17166. "type": "string"
  17167. },
  17168. "inoutapplyid": {
  17169. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17170. "type": "string"
  17171. },
  17172. "inouttype": {
  17173. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17174. "type": "integer"
  17175. },
  17176. "pricetype": {
  17177. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17178. "type": "integer"
  17179. },
  17180. "qty": {
  17181. "description": "数量",
  17182. "type": "number"
  17183. },
  17184. "sellnickname": {
  17185. "description": "销售方昵称",
  17186. "type": "string"
  17187. },
  17188. "selluserid": {
  17189. "description": "销售方userid",
  17190. "type": "integer"
  17191. },
  17192. "sellusername": {
  17193. "description": "销售方名称",
  17194. "type": "string"
  17195. },
  17196. "spotcontractid": {
  17197. "description": "关联现货合同ID",
  17198. "type": "string"
  17199. },
  17200. "spotgoodsbrandid": {
  17201. "description": "现货品牌ID",
  17202. "type": "integer"
  17203. },
  17204. "unitid": {
  17205. "description": "单位id",
  17206. "type": "integer"
  17207. },
  17208. "userid": {
  17209. "description": "机构ID",
  17210. "type": "integer"
  17211. },
  17212. "warehousecode": {
  17213. "description": "仓库代码",
  17214. "type": "string"
  17215. },
  17216. "warehouseinfoid": {
  17217. "description": "现货仓库ID",
  17218. "type": "string"
  17219. },
  17220. "warehousename": {
  17221. "description": "仓库名称",
  17222. "type": "string"
  17223. },
  17224. "warehousetype": {
  17225. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17226. "type": "integer"
  17227. },
  17228. "wrstandardcode": {
  17229. "description": "品类代码",
  17230. "type": "string"
  17231. },
  17232. "wrstandardid": {
  17233. "description": "品类ID",
  17234. "type": "integer"
  17235. },
  17236. "wrstandardname": {
  17237. "description": "品类名称",
  17238. "type": "string"
  17239. }
  17240. }
  17241. },
  17242. "models.Ermcp3AreaStockApplySum": {
  17243. "type": "object",
  17244. "properties": {
  17245. "brandname": {
  17246. "description": "品牌名称",
  17247. "type": "string"
  17248. },
  17249. "inouttype": {
  17250. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17251. "type": "integer"
  17252. },
  17253. "spotcontractid": {
  17254. "description": "关联现货合同ID",
  17255. "type": "string"
  17256. },
  17257. "spotgoodsbrandid": {
  17258. "description": "品牌id",
  17259. "type": "integer"
  17260. },
  17261. "totalqty": {
  17262. "description": "总数量",
  17263. "type": "number"
  17264. },
  17265. "wrstandardid": {
  17266. "description": "品类id",
  17267. "type": "integer"
  17268. },
  17269. "wrstandardname": {
  17270. "description": "品类名称",
  17271. "type": "string"
  17272. }
  17273. }
  17274. },
  17275. "models.Ermcp3AreaStockReportEx": {
  17276. "type": "object",
  17277. "properties": {
  17278. "begindate": {
  17279. "description": "开始交易日",
  17280. "type": "string"
  17281. },
  17282. "brandname": {
  17283. "description": "品牌名称",
  17284. "type": "string"
  17285. },
  17286. "curstock": {
  17287. "description": "期末库存量",
  17288. "type": "number"
  17289. },
  17290. "cycletime": {
  17291. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17292. "type": "string"
  17293. },
  17294. "cycletype": {
  17295. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17296. "type": "integer"
  17297. },
  17298. "deliverygoodscode": {
  17299. "description": "现货品种代码",
  17300. "type": "string"
  17301. },
  17302. "deliverygoodsid": {
  17303. "description": "现货品种id",
  17304. "type": "integer"
  17305. },
  17306. "deliverygoodsname": {
  17307. "description": "现货品种名称",
  17308. "type": "string"
  17309. },
  17310. "diffqty": {
  17311. "description": "库存变化量 = 期末 - 期初",
  17312. "type": "number"
  17313. },
  17314. "enddate": {
  17315. "description": "结束交易日",
  17316. "type": "string"
  17317. },
  17318. "enumdicname": {
  17319. "description": "单位名称",
  17320. "type": "string"
  17321. },
  17322. "goodsunitid": {
  17323. "description": "现货单位id",
  17324. "type": "integer"
  17325. },
  17326. "oristock": {
  17327. "description": "期初库存量",
  17328. "type": "number"
  17329. },
  17330. "reckondate": {
  17331. "description": "日照时期(yyyyMMdd)",
  17332. "type": "string"
  17333. },
  17334. "spotgoodsbrandid": {
  17335. "description": "现货品牌ID",
  17336. "type": "integer"
  17337. },
  17338. "todaybuyinqty": {
  17339. "description": "今采购入库量",
  17340. "type": "number"
  17341. },
  17342. "todayproduceinqty": {
  17343. "description": "今内部入库量",
  17344. "type": "number"
  17345. },
  17346. "todayproduceoutqty": {
  17347. "description": "今内部出库量",
  17348. "type": "number"
  17349. },
  17350. "todayselloutqty": {
  17351. "description": "今销售出库量",
  17352. "type": "number"
  17353. },
  17354. "unbuyinqty": {
  17355. "description": "采购未入库量(数据库未找到相关字段?)",
  17356. "type": "number"
  17357. },
  17358. "unitid": {
  17359. "description": "品类单位id",
  17360. "type": "integer"
  17361. },
  17362. "unselloutqty": {
  17363. "description": "销售未出库量(数据库未找到相关字段?)",
  17364. "type": "number"
  17365. },
  17366. "updatetime": {
  17367. "description": "更新时间",
  17368. "type": "string"
  17369. },
  17370. "userid": {
  17371. "description": "机构ID",
  17372. "type": "integer"
  17373. },
  17374. "username": {
  17375. "description": "机构名称",
  17376. "type": "string"
  17377. },
  17378. "warehousecode": {
  17379. "description": "仓库代码",
  17380. "type": "string"
  17381. },
  17382. "warehouseinfoid": {
  17383. "description": "仓库ID",
  17384. "type": "string"
  17385. },
  17386. "warehousename": {
  17387. "description": "仓库名称",
  17388. "type": "string"
  17389. },
  17390. "warehousetype": {
  17391. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17392. "type": "integer"
  17393. },
  17394. "wrstandardcode": {
  17395. "description": "品类代码",
  17396. "type": "string"
  17397. },
  17398. "wrstandardid": {
  17399. "description": "品类ID",
  17400. "type": "integer"
  17401. },
  17402. "wrstandardname": {
  17403. "description": "品类名称",
  17404. "type": "string"
  17405. }
  17406. }
  17407. },
  17408. "models.Ermcp3ArealSumPL": {
  17409. "type": "object",
  17410. "properties": {
  17411. "accountname": {
  17412. "description": "机构名称",
  17413. "type": "string"
  17414. },
  17415. "areauserid": {
  17416. "description": "所属机构\\交易用户ID",
  17417. "type": "integer"
  17418. },
  17419. "begindate": {
  17420. "description": "开始交易日",
  17421. "type": "string"
  17422. },
  17423. "currencyid": {
  17424. "description": "结算币种ID",
  17425. "type": "integer"
  17426. },
  17427. "currencyname": {
  17428. "description": "币种名称",
  17429. "type": "string"
  17430. },
  17431. "cycletime": {
  17432. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17433. "type": "string"
  17434. },
  17435. "cycletype": {
  17436. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17437. "type": "integer"
  17438. },
  17439. "enddate": {
  17440. "description": "结束交易日",
  17441. "type": "string"
  17442. },
  17443. "enumdicname": {
  17444. "description": "单位名称(套保品种)",
  17445. "type": "string"
  17446. },
  17447. "futureactualpl": {
  17448. "description": "期货损益",
  17449. "type": "number"
  17450. },
  17451. "futurefloatpl": {
  17452. "description": "期货浮动损益",
  17453. "type": "number"
  17454. },
  17455. "goodsunitid": {
  17456. "description": "套保品种单位id",
  17457. "type": "integer"
  17458. },
  17459. "middlegoodscode": {
  17460. "description": "套保品种代码",
  17461. "type": "string"
  17462. },
  17463. "middlegoodsid": {
  17464. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17465. "type": "integer"
  17466. },
  17467. "middlegoodsname": {
  17468. "description": "套保品种名称",
  17469. "type": "string"
  17470. },
  17471. "reckondate": {
  17472. "description": "日照时期(yyyyMMdd)",
  17473. "type": "string"
  17474. },
  17475. "spotactualpl": {
  17476. "description": "现货损益",
  17477. "type": "number"
  17478. },
  17479. "spotfloatpl": {
  17480. "description": "现货浮动损益",
  17481. "type": "number"
  17482. },
  17483. "sumactualpl": {
  17484. "description": "实际损益 = (ActualPL + FutureActualPL)",
  17485. "type": "number"
  17486. },
  17487. "sumpl": {
  17488. "description": "汇总损益",
  17489. "type": "number"
  17490. },
  17491. "updatetime": {
  17492. "description": "更新时间",
  17493. "type": "string"
  17494. }
  17495. }
  17496. },
  17497. "models.Ermcp3Brand": {
  17498. "type": "object",
  17499. "properties": {
  17500. "areauserid": {
  17501. "description": "用户id",
  17502. "type": "integer"
  17503. },
  17504. "brandid": {
  17505. "description": "品牌id",
  17506. "type": "integer"
  17507. },
  17508. "brandname": {
  17509. "description": "品牌名称",
  17510. "type": "string"
  17511. },
  17512. "deliverygoodsid": {
  17513. "description": "品种ID",
  17514. "type": "integer"
  17515. }
  17516. }
  17517. },
  17518. "models.Ermcp3Contract": {
  17519. "type": "object",
  17520. "properties": {
  17521. "accountid": {
  17522. "description": "期货账户id",
  17523. "type": "string"
  17524. },
  17525. "amount": {
  17526. "description": "金额 [1:一口价、3:暂定价]",
  17527. "type": "number"
  17528. },
  17529. "attachment": {
  17530. "description": "附件",
  17531. "type": "string"
  17532. },
  17533. "auditremark": {
  17534. "description": "审核意见",
  17535. "type": "string"
  17536. },
  17537. "audittime": {
  17538. "description": "审核时间",
  17539. "type": "string"
  17540. },
  17541. "biztype": {
  17542. "description": "业务类型 1-套保 2-套利",
  17543. "type": "integer"
  17544. },
  17545. "brandname": {
  17546. "description": "品牌名称",
  17547. "type": "string"
  17548. },
  17549. "buynickname": {
  17550. "description": "销售方昵称",
  17551. "type": "string"
  17552. },
  17553. "buyuserid": {
  17554. "description": "采购方ID",
  17555. "type": "integer"
  17556. },
  17557. "buyusername": {
  17558. "description": "采购方名称",
  17559. "type": "string"
  17560. },
  17561. "contracctstatus": {
  17562. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17563. "type": "integer"
  17564. },
  17565. "contractmargin": {
  17566. "description": "合同保证金",
  17567. "type": "number"
  17568. },
  17569. "contractno": {
  17570. "description": "现货合同编号",
  17571. "type": "string"
  17572. },
  17573. "contracttype": {
  17574. "description": "现货合同类型 - 1:采购 -1:销售",
  17575. "type": "integer"
  17576. },
  17577. "convertfactor": {
  17578. "description": "标仓系数(品类)",
  17579. "type": "number"
  17580. },
  17581. "createtime": {
  17582. "description": "创建时间",
  17583. "type": "string"
  17584. },
  17585. "currencyid": {
  17586. "description": "币种id",
  17587. "type": "integer"
  17588. },
  17589. "currencyname": {
  17590. "description": "币种名称",
  17591. "type": "string"
  17592. },
  17593. "deliveryenddate": {
  17594. "description": "交收期(结束)",
  17595. "type": "string"
  17596. },
  17597. "deliverygoodscode": {
  17598. "description": "现货品种代码",
  17599. "type": "string"
  17600. },
  17601. "deliverygoodsid": {
  17602. "description": "现货品种ID",
  17603. "type": "integer"
  17604. },
  17605. "deliverygoodsname": {
  17606. "description": "现货品种名称",
  17607. "type": "string"
  17608. },
  17609. "deliverystartdate": {
  17610. "description": "交收期(开始)",
  17611. "type": "string"
  17612. },
  17613. "enddate": {
  17614. "description": "点价结束日期 [2:点价 3:暂定价]",
  17615. "type": "string"
  17616. },
  17617. "enumdicname": {
  17618. "description": "单位名称",
  17619. "type": "string"
  17620. },
  17621. "goodscode": {
  17622. "description": "点价合约代码",
  17623. "type": "string"
  17624. },
  17625. "goodsid": {
  17626. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17627. "type": "integer"
  17628. },
  17629. "goodsname": {
  17630. "description": "点价商品名称",
  17631. "type": "string"
  17632. },
  17633. "margin": {
  17634. "description": "当前保证金",
  17635. "type": "number"
  17636. },
  17637. "meruserid": {
  17638. "description": "跟单员id",
  17639. "type": "integer"
  17640. },
  17641. "meruserlogincode": {
  17642. "description": "跟单员登录代码",
  17643. "type": "string"
  17644. },
  17645. "merusername": {
  17646. "description": "跟单员名称",
  17647. "type": "string"
  17648. },
  17649. "price": {
  17650. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17651. "type": "number"
  17652. },
  17653. "pricemove": {
  17654. "description": "升贴水 [2:点价 3:暂定价]",
  17655. "type": "number"
  17656. },
  17657. "pricetype": {
  17658. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17659. "type": "integer"
  17660. },
  17661. "producttype": {
  17662. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17663. "type": "integer"
  17664. },
  17665. "qty": {
  17666. "description": "数量",
  17667. "type": "number"
  17668. },
  17669. "remark": {
  17670. "description": "备注",
  17671. "type": "string"
  17672. },
  17673. "saleuserid": {
  17674. "description": "业务员id",
  17675. "type": "integer"
  17676. },
  17677. "saleuserlogincode": {
  17678. "description": "业务员登录代码",
  17679. "type": "string"
  17680. },
  17681. "saleusername": {
  17682. "description": "业务员名称",
  17683. "type": "string"
  17684. },
  17685. "sellnickname": {
  17686. "description": "采购方昵称",
  17687. "type": "string"
  17688. },
  17689. "selluserid": {
  17690. "description": "销售方ID",
  17691. "type": "integer"
  17692. },
  17693. "sellusername": {
  17694. "description": "销售方名称",
  17695. "type": "string"
  17696. },
  17697. "spotcontractid": {
  17698. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17699. "type": "string"
  17700. },
  17701. "spotgoodsbrandid": {
  17702. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17703. "type": "integer"
  17704. },
  17705. "spotgoodsdesc": {
  17706. "description": "商品型号",
  17707. "type": "string"
  17708. },
  17709. "startdate": {
  17710. "description": "点价开始日期 [2:点价 3:暂定价]",
  17711. "type": "string"
  17712. },
  17713. "tradeuserid": {
  17714. "description": "交易员id",
  17715. "type": "integer"
  17716. },
  17717. "tradeuserlogincode": {
  17718. "description": "交易员登录代码",
  17719. "type": "string"
  17720. },
  17721. "tradeusername": {
  17722. "description": "交易员名称",
  17723. "type": "string"
  17724. },
  17725. "unitid": {
  17726. "description": "单位id(取品类上的单位id)",
  17727. "type": "integer"
  17728. },
  17729. "updatetime": {
  17730. "description": "更新时间",
  17731. "type": "string"
  17732. },
  17733. "userid": {
  17734. "description": "所属机构ID",
  17735. "type": "integer"
  17736. },
  17737. "wrstandardcode": {
  17738. "description": "品类代码",
  17739. "type": "string"
  17740. },
  17741. "wrstandardid": {
  17742. "description": "品类ID",
  17743. "type": "integer"
  17744. },
  17745. "wrstandardname": {
  17746. "description": "品类名称",
  17747. "type": "string"
  17748. }
  17749. }
  17750. },
  17751. "models.Ermcp3ExposureContractDetail": {
  17752. "type": "object",
  17753. "properties": {
  17754. "biztype": {
  17755. "description": "业务类型 1-套保 2-套利",
  17756. "type": "integer"
  17757. },
  17758. "brandname": {
  17759. "description": "品牌名称",
  17760. "type": "string"
  17761. },
  17762. "buyuserid": {
  17763. "description": "采购方id",
  17764. "type": "integer"
  17765. },
  17766. "buyusername": {
  17767. "description": "采购方名称",
  17768. "type": "string"
  17769. },
  17770. "contractno": {
  17771. "description": "合同编号",
  17772. "type": "string"
  17773. },
  17774. "contracttype": {
  17775. "description": "现货合同类型 - 1:采购 -1:销售",
  17776. "type": "integer"
  17777. },
  17778. "convertfactor": {
  17779. "description": "标仓系数",
  17780. "type": "number"
  17781. },
  17782. "convertratio": {
  17783. "description": "折算系数(套保品种)",
  17784. "type": "number"
  17785. },
  17786. "curqty": {
  17787. "description": "今定价量",
  17788. "type": "number"
  17789. },
  17790. "deliverygoodscode": {
  17791. "description": "现货商品代码",
  17792. "type": "string"
  17793. },
  17794. "deliverygoodsid": {
  17795. "description": "现货商品id",
  17796. "type": "integer"
  17797. },
  17798. "deliverygoodsname": {
  17799. "description": "现货商品名称",
  17800. "type": "string"
  17801. },
  17802. "diffhedgeqty": {
  17803. "description": "套保变动量",
  17804. "type": "number"
  17805. },
  17806. "diffneedhedgeqty": {
  17807. "description": "应套保变动量",
  17808. "type": "number"
  17809. },
  17810. "diffqty": {
  17811. "description": "套保品种今变动量",
  17812. "type": "number"
  17813. },
  17814. "enumdicname": {
  17815. "description": "单位名称",
  17816. "type": "string"
  17817. },
  17818. "mgunitname": {
  17819. "description": "套保品种单位名称",
  17820. "type": "string"
  17821. },
  17822. "middlegoodscode": {
  17823. "description": "套保品种代码",
  17824. "type": "string"
  17825. },
  17826. "middlegoodsid": {
  17827. "description": "套保品种id",
  17828. "type": "integer"
  17829. },
  17830. "middlegoodsname": {
  17831. "description": "套保品种名称",
  17832. "type": "string"
  17833. },
  17834. "needarbitrageratio": {
  17835. "description": "应套利比例",
  17836. "type": "number"
  17837. },
  17838. "needhedgeratio": {
  17839. "description": "应套保比例",
  17840. "type": "number"
  17841. },
  17842. "pricedqty": {
  17843. "description": "已定价量",
  17844. "type": "number"
  17845. },
  17846. "qty": {
  17847. "description": "合同量",
  17848. "type": "number"
  17849. },
  17850. "selluserid": {
  17851. "description": "销售方id",
  17852. "type": "integer"
  17853. },
  17854. "sellusername": {
  17855. "description": "销售方名称",
  17856. "type": "string"
  17857. },
  17858. "spotcontractid": {
  17859. "description": "合同id",
  17860. "type": "string"
  17861. },
  17862. "todaypricedqty": {
  17863. "description": "今定价量",
  17864. "type": "number"
  17865. },
  17866. "tradedate": {
  17867. "description": "交易日",
  17868. "type": "string"
  17869. },
  17870. "unitid": {
  17871. "description": "品类单位id",
  17872. "type": "integer"
  17873. },
  17874. "userid": {
  17875. "description": "机构id",
  17876. "type": "integer"
  17877. },
  17878. "username": {
  17879. "description": "交易用户",
  17880. "type": "string"
  17881. },
  17882. "wrstandardcode": {
  17883. "description": "品类代码",
  17884. "type": "string"
  17885. },
  17886. "wrstandardid": {
  17887. "description": "品类id",
  17888. "type": "integer"
  17889. },
  17890. "wrstandardname": {
  17891. "description": "品类名称",
  17892. "type": "string"
  17893. }
  17894. }
  17895. },
  17896. "models.Ermcp3ExposureDetail": {
  17897. "type": "object",
  17898. "properties": {
  17899. "areauserid": {
  17900. "description": "机构ID",
  17901. "type": "integer"
  17902. },
  17903. "changeQty": {
  17904. "description": "套保变动量",
  17905. "type": "number"
  17906. },
  17907. "contracttype": {
  17908. "description": "现货合同类型 - 1:采购 -1:销售",
  17909. "type": "integer"
  17910. },
  17911. "convertfactor": {
  17912. "description": "标仓系数",
  17913. "type": "number"
  17914. },
  17915. "convertratio": {
  17916. "description": "套保系数",
  17917. "type": "number"
  17918. },
  17919. "createtime": {
  17920. "description": "时间",
  17921. "type": "string"
  17922. },
  17923. "deliverygoodscode": {
  17924. "description": "现货品种代码",
  17925. "type": "string"
  17926. },
  17927. "deliverygoodsid": {
  17928. "description": "现货品种id",
  17929. "type": "integer"
  17930. },
  17931. "deliverygoodsname": {
  17932. "description": "现货品种名称",
  17933. "type": "string"
  17934. },
  17935. "enumdicname": {
  17936. "description": "现货商品单位名称",
  17937. "type": "string"
  17938. },
  17939. "logtype": {
  17940. "description": "类型 - 1:套保计划 2:现货合同",
  17941. "type": "integer"
  17942. },
  17943. "mgunitid": {
  17944. "description": "套保品种单位id",
  17945. "type": "integer"
  17946. },
  17947. "mgunitidname": {
  17948. "description": "套保品种单位名称",
  17949. "type": "string"
  17950. },
  17951. "middlegoodsId": {
  17952. "description": "套保商品id",
  17953. "type": "integer"
  17954. },
  17955. "middlegoodscode": {
  17956. "description": "套保商品代码",
  17957. "type": "string"
  17958. },
  17959. "middlegoodsname": {
  17960. "description": "套保商品名称",
  17961. "type": "string"
  17962. },
  17963. "qty": {
  17964. "description": "数量",
  17965. "type": "number"
  17966. },
  17967. "relateNo": {
  17968. "description": "现货合同/套保计划编号",
  17969. "type": "string"
  17970. }
  17971. }
  17972. },
  17973. "models.Ermcp3ExposureFutuDetail": {
  17974. "type": "object",
  17975. "properties": {
  17976. "accountid": {
  17977. "description": "交易账户id",
  17978. "type": "integer"
  17979. },
  17980. "accountname": {
  17981. "description": "交易账户",
  17982. "type": "string"
  17983. },
  17984. "begindate": {
  17985. "description": "开始交易日",
  17986. "type": "string"
  17987. },
  17988. "buyorsell": {
  17989. "description": "方向 0-买 1-卖",
  17990. "type": "integer"
  17991. },
  17992. "diffmgqty": {
  17993. "description": "套保品种今变化量",
  17994. "type": "number"
  17995. },
  17996. "diffneedqty": {
  17997. "description": "应套保总量变化量",
  17998. "type": "number"
  17999. },
  18000. "difftradeqty": {
  18001. "description": "交易品种今变化量",
  18002. "type": "number"
  18003. },
  18004. "enddate": {
  18005. "description": "结束交易日",
  18006. "type": "string"
  18007. },
  18008. "enumdicname": {
  18009. "description": "单位名称",
  18010. "type": "string"
  18011. },
  18012. "goodscode": {
  18013. "description": "商品代码",
  18014. "type": "string"
  18015. },
  18016. "goodsid": {
  18017. "description": "商品id",
  18018. "type": "integer"
  18019. },
  18020. "goodsname": {
  18021. "description": "商品名称",
  18022. "type": "string"
  18023. },
  18024. "holdqty": {
  18025. "description": "期末持仓量",
  18026. "type": "number"
  18027. },
  18028. "middlegoodscode": {
  18029. "description": "套保商品代码",
  18030. "type": "string"
  18031. },
  18032. "middlegoodsid": {
  18033. "description": "套保商品id",
  18034. "type": "integer"
  18035. },
  18036. "middlegoodsname": {
  18037. "description": "套保商品名称",
  18038. "type": "string"
  18039. },
  18040. "oriholdqty": {
  18041. "description": "期初持仓量",
  18042. "type": "number"
  18043. },
  18044. "todaycloseqty": {
  18045. "description": "今平仓量",
  18046. "type": "number"
  18047. },
  18048. "todayopenqty": {
  18049. "description": "今开仓量",
  18050. "type": "number"
  18051. },
  18052. "tradedate": {
  18053. "description": "交易日",
  18054. "type": "string"
  18055. }
  18056. }
  18057. },
  18058. "models.Ermcp3ExposureHedgeplanDetail": {
  18059. "type": "object",
  18060. "properties": {
  18061. "biztype": {
  18062. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18063. "type": "integer"
  18064. },
  18065. "changqty": {
  18066. "description": "应套保总量变化量",
  18067. "type": "number"
  18068. },
  18069. "contracttype": {
  18070. "description": "计划类型 - 1:采购 -1:销售",
  18071. "type": "integer"
  18072. },
  18073. "convertratio": {
  18074. "description": "折算系数(套保品种)",
  18075. "type": "number"
  18076. },
  18077. "deliverygoodscode": {
  18078. "description": "现货商品代码",
  18079. "type": "string"
  18080. },
  18081. "deliverygoodsid": {
  18082. "description": "现货商品id",
  18083. "type": "integer"
  18084. },
  18085. "deliverygoodsname": {
  18086. "description": "现货商吕名称",
  18087. "type": "string"
  18088. },
  18089. "dgunitid": {
  18090. "description": "现货商品单位id",
  18091. "type": "integer"
  18092. },
  18093. "dgunitidname": {
  18094. "description": "单位名称(现货商品)",
  18095. "type": "string"
  18096. },
  18097. "diffqty": {
  18098. "description": "套保品种今变动量",
  18099. "type": "number"
  18100. },
  18101. "enumdicname": {
  18102. "description": "单位名称(品类)",
  18103. "type": "string"
  18104. },
  18105. "hedgeplanid": {
  18106. "description": "套保计划id",
  18107. "type": "string"
  18108. },
  18109. "hedgeplanno": {
  18110. "description": "套保计划名称",
  18111. "type": "string"
  18112. },
  18113. "hedgeplanstatus": {
  18114. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18115. "type": "integer"
  18116. },
  18117. "mgunitidname": {
  18118. "description": "单位名称(套保商品)",
  18119. "type": "string"
  18120. },
  18121. "middlegoodscode": {
  18122. "description": "套保品种代码",
  18123. "type": "string"
  18124. },
  18125. "middlegoodsid": {
  18126. "description": "套保品种id",
  18127. "type": "integer"
  18128. },
  18129. "middlegoodsname": {
  18130. "description": "套保品种名称",
  18131. "type": "string"
  18132. },
  18133. "needarbitrageratio": {
  18134. "description": "应套利比例",
  18135. "type": "number"
  18136. },
  18137. "needhedgeratio": {
  18138. "description": "应套保比例",
  18139. "type": "number"
  18140. },
  18141. "pricedqty": {
  18142. "description": "已定价量",
  18143. "type": "number"
  18144. },
  18145. "qty": {
  18146. "description": "合同量",
  18147. "type": "number"
  18148. },
  18149. "tradedate": {
  18150. "description": "交易日(登记日)",
  18151. "type": "string"
  18152. },
  18153. "unitid": {
  18154. "description": "品类单位id",
  18155. "type": "integer"
  18156. },
  18157. "userid": {
  18158. "description": "机构id",
  18159. "type": "integer"
  18160. },
  18161. "wrstandardcode": {
  18162. "description": "品类代码",
  18163. "type": "string"
  18164. },
  18165. "wrstandardid": {
  18166. "description": "品类id",
  18167. "type": "integer"
  18168. },
  18169. "wrstandardname": {
  18170. "description": "品类名称",
  18171. "type": "string"
  18172. }
  18173. }
  18174. },
  18175. "models.Ermcp3ExposureParamChLog": {
  18176. "type": "object",
  18177. "properties": {
  18178. "accountid": {
  18179. "description": "期货账户ID (作废, 默认为0)",
  18180. "type": "integer"
  18181. },
  18182. "aftervalue": {
  18183. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18184. "type": "number"
  18185. },
  18186. "areauserid": {
  18187. "description": "所属机构\\交易用户ID",
  18188. "type": "integer"
  18189. },
  18190. "beforevalue": {
  18191. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18192. "type": "number"
  18193. },
  18194. "begindate": {
  18195. "description": "开始交易日",
  18196. "type": "string"
  18197. },
  18198. "changelogtype": {
  18199. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18200. "type": "integer"
  18201. },
  18202. "curvalue": {
  18203. "description": "当前套保\\套利量(套保总量|套利总量)",
  18204. "type": "number"
  18205. },
  18206. "diffvalue": {
  18207. "description": "应套保总量变化量",
  18208. "type": "number"
  18209. },
  18210. "enddate": {
  18211. "description": "结束交易日",
  18212. "type": "string"
  18213. },
  18214. "logdatetime": {
  18215. "description": "流水日期",
  18216. "type": "string"
  18217. },
  18218. "logid": {
  18219. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18220. "type": "string"
  18221. },
  18222. "middlegoodscode": {
  18223. "description": "套保品种代码",
  18224. "type": "string"
  18225. },
  18226. "middlegoodsid": {
  18227. "description": "套保品种",
  18228. "type": "integer"
  18229. },
  18230. "middlegoodsname": {
  18231. "description": "套保品种名称",
  18232. "type": "string"
  18233. },
  18234. "paramaftervalue": {
  18235. "description": "参数变更后(调整后参数值)",
  18236. "type": "number"
  18237. },
  18238. "parambeforevalue": {
  18239. "description": "参数变更前(调整前参数值)",
  18240. "type": "number"
  18241. },
  18242. "tradedate": {
  18243. "description": "交易日(yyyyMMdd)",
  18244. "type": "string"
  18245. }
  18246. }
  18247. },
  18248. "models.Ermcp3ExpourseReport": {
  18249. "type": "object",
  18250. "properties": {
  18251. "accountid": {
  18252. "description": "期货账户ID (作废, 默认为0)",
  18253. "type": "integer"
  18254. },
  18255. "accountname": {
  18256. "description": "机构名称",
  18257. "type": "string"
  18258. },
  18259. "arbitrageqty": {
  18260. "description": "套利量",
  18261. "type": "number"
  18262. },
  18263. "areauserid": {
  18264. "description": "所属机构\\交易用户ID",
  18265. "type": "integer"
  18266. },
  18267. "begindate": {
  18268. "description": "开始交易日",
  18269. "type": "string"
  18270. },
  18271. "buyfutureqty": {
  18272. "description": "买入期货数量",
  18273. "type": "number"
  18274. },
  18275. "buyplanqty": {
  18276. "description": "采购计划数量",
  18277. "type": "number"
  18278. },
  18279. "buypricedqty": {
  18280. "description": "采购合同已定价数量",
  18281. "type": "number"
  18282. },
  18283. "cycletime": {
  18284. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18285. "type": "string"
  18286. },
  18287. "cycletype": {
  18288. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18289. "type": "integer"
  18290. },
  18291. "diffexposure": {
  18292. "description": "变动量(套保敞口)",
  18293. "type": "number"
  18294. },
  18295. "difffutuqty": {
  18296. "description": "变动量(期货)",
  18297. "type": "number"
  18298. },
  18299. "diffhedgeqty": {
  18300. "description": "变动量(现货应套保总量)",
  18301. "type": "number"
  18302. },
  18303. "diffmgqtya": {
  18304. "description": "套保变动量",
  18305. "type": "number"
  18306. },
  18307. "diffmgqtyb": {
  18308. "description": "套利变动量",
  18309. "type": "number"
  18310. },
  18311. "diffqty": {
  18312. "description": "变动量(总敞口)",
  18313. "type": "number"
  18314. },
  18315. "diffspotqty": {
  18316. "description": "变动量(现货)",
  18317. "type": "number"
  18318. },
  18319. "enddate": {
  18320. "description": "结束交易日",
  18321. "type": "string"
  18322. },
  18323. "enumdicname": {
  18324. "description": "单位名称",
  18325. "type": "string"
  18326. },
  18327. "hedgeqty": {
  18328. "description": "套保量",
  18329. "type": "number"
  18330. },
  18331. "mgneedhedgeratio": {
  18332. "description": "套保比例(套保品的)",
  18333. "type": "number"
  18334. },
  18335. "middlegoodsid": {
  18336. "description": "套保品种ID",
  18337. "type": "integer"
  18338. },
  18339. "middlegoodsname": {
  18340. "description": "套保商品名称",
  18341. "type": "string"
  18342. },
  18343. "middlgoodscode": {
  18344. "description": "套保商品代码",
  18345. "type": "string"
  18346. },
  18347. "needarbitrageqty": {
  18348. "description": "应套利量",
  18349. "type": "number"
  18350. },
  18351. "needarbitrageratio": {
  18352. "description": "套利比例(套保品的)",
  18353. "type": "number"
  18354. },
  18355. "needhedgeexposoure": {
  18356. "description": "应套保敞口(套保敞口)",
  18357. "type": "number"
  18358. },
  18359. "needhedgeqty": {
  18360. "description": "应套保量",
  18361. "type": "number"
  18362. },
  18363. "needhedgeratio": {
  18364. "description": "应套保敞口比例",
  18365. "type": "number"
  18366. },
  18367. "oriarbitrageqty": {
  18368. "description": "期初套利量",
  18369. "type": "number"
  18370. },
  18371. "oribuyfutureqty": {
  18372. "description": "期初买入期货数量",
  18373. "type": "number"
  18374. },
  18375. "oribuyplanqty": {
  18376. "description": "期初采购计划数量",
  18377. "type": "number"
  18378. },
  18379. "oribuypricedqty": {
  18380. "description": "期初采购合同已定价数量",
  18381. "type": "number"
  18382. },
  18383. "orihedgeqty": {
  18384. "description": "期初套保量",
  18385. "type": "number"
  18386. },
  18387. "orineedarbitrageqty": {
  18388. "description": "期初应套利量",
  18389. "type": "number"
  18390. },
  18391. "orineedhedgeexposoure": {
  18392. "description": "期初应套保敞口",
  18393. "type": "number"
  18394. },
  18395. "orineedhedgeqty": {
  18396. "description": "期初应套保量",
  18397. "type": "number"
  18398. },
  18399. "orisellfutureqty": {
  18400. "description": "期初卖出期货数量",
  18401. "type": "number"
  18402. },
  18403. "orisellplanqty": {
  18404. "description": "期初销售计划数量",
  18405. "type": "number"
  18406. },
  18407. "orisellpricedqty": {
  18408. "description": "期初销售合同已定价数量",
  18409. "type": "number"
  18410. },
  18411. "oritotalexposure": {
  18412. "description": "期初实时总敞口",
  18413. "type": "number"
  18414. },
  18415. "oritotalfutureqty": {
  18416. "description": "期初期货头寸总量",
  18417. "type": "number"
  18418. },
  18419. "oritotalneedhedgeqty": {
  18420. "description": "期初应套保总量",
  18421. "type": "number"
  18422. },
  18423. "oritotalspotqty": {
  18424. "description": "期初现货头寸总量",
  18425. "type": "number"
  18426. },
  18427. "reckondate": {
  18428. "description": "日照时期(yyyyMMdd)",
  18429. "type": "string"
  18430. },
  18431. "sellfutureqty": {
  18432. "description": "卖出期货数量",
  18433. "type": "number"
  18434. },
  18435. "sellplanqty": {
  18436. "description": "销售计划数量",
  18437. "type": "number"
  18438. },
  18439. "sellpricedqty": {
  18440. "description": "销售合同已定价数量",
  18441. "type": "number"
  18442. },
  18443. "totalexposure": {
  18444. "description": "实时总敞口(总敞口)",
  18445. "type": "number"
  18446. },
  18447. "totalfutureqty": {
  18448. "description": "期货头寸总量(期货总量)",
  18449. "type": "number"
  18450. },
  18451. "totalhedgeratio": {
  18452. "description": "敞口比例",
  18453. "type": "number"
  18454. },
  18455. "totalneedhedgeqty": {
  18456. "description": "应套保总量(现货应套保总量)",
  18457. "type": "number"
  18458. },
  18459. "totalspotqty": {
  18460. "description": "现货头寸总量",
  18461. "type": "number"
  18462. },
  18463. "unitid": {
  18464. "description": "单位id",
  18465. "type": "integer"
  18466. },
  18467. "updatetime": {
  18468. "description": "更新时间",
  18469. "type": "string"
  18470. }
  18471. }
  18472. },
  18473. "models.Ermcp3FinanceReport": {
  18474. "type": "object",
  18475. "properties": {
  18476. "accountname": {
  18477. "description": "机构名称",
  18478. "type": "string"
  18479. },
  18480. "areauserid": {
  18481. "description": "所属机构\\交易用户ID",
  18482. "type": "integer"
  18483. },
  18484. "begindate": {
  18485. "description": "开始交易日",
  18486. "type": "string"
  18487. },
  18488. "biztype": {
  18489. "description": "业务类型 - 1:套保 2:套利",
  18490. "type": "integer"
  18491. },
  18492. "brandname": {
  18493. "description": "品牌名称",
  18494. "type": "string"
  18495. },
  18496. "buypreinvoicedamount": {
  18497. "description": "采购预收票额(预收票额)",
  18498. "type": "number"
  18499. },
  18500. "buyprepaidamount": {
  18501. "description": "采购预付款额(预付货款额)",
  18502. "type": "number"
  18503. },
  18504. "buytodayinvoiceamount": {
  18505. "description": "采购今收票额(今收票额)",
  18506. "type": "number"
  18507. },
  18508. "buytodayrefundamount": {
  18509. "description": "采购今收退款额(今收退款额)",
  18510. "type": "number"
  18511. },
  18512. "buytodaysettleamount": {
  18513. "description": "采购今付款额(今付货款额)",
  18514. "type": "number"
  18515. },
  18516. "buyuninvoicedamount": {
  18517. "description": "采购应收票额(应收票额)",
  18518. "type": "number"
  18519. },
  18520. "buyunpaidamount": {
  18521. "description": "采购应付款额(应付货款额)",
  18522. "type": "number"
  18523. },
  18524. "currencyid": {
  18525. "description": "结算币种ID",
  18526. "type": "integer"
  18527. },
  18528. "currencyname": {
  18529. "description": "币种名称",
  18530. "type": "string"
  18531. },
  18532. "cycletime": {
  18533. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18534. "type": "string"
  18535. },
  18536. "cycletype": {
  18537. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18538. "type": "integer"
  18539. },
  18540. "deliverygoodscode": {
  18541. "description": "现货品种代码",
  18542. "type": "string"
  18543. },
  18544. "deliverygoodsid": {
  18545. "description": "现货品种ID",
  18546. "type": "integer"
  18547. },
  18548. "deliverygoodsname": {
  18549. "description": "现货品种名称",
  18550. "type": "string"
  18551. },
  18552. "enddate": {
  18553. "description": "结束交易日",
  18554. "type": "string"
  18555. },
  18556. "reckondate": {
  18557. "description": "日照时期(yyyyMMdd)",
  18558. "type": "string"
  18559. },
  18560. "sellpreinvoicedamount": {
  18561. "description": "销售预开票额(预开票额)",
  18562. "type": "number"
  18563. },
  18564. "sellprepaidamount": {
  18565. "description": "销售预收款额(预收货款额)",
  18566. "type": "number"
  18567. },
  18568. "selltodayinvoiceamount": {
  18569. "description": "销售今开票额(今开票额)",
  18570. "type": "number"
  18571. },
  18572. "selltodayrefundamount": {
  18573. "description": "销售今付退款额(今付退款额)",
  18574. "type": "number"
  18575. },
  18576. "selltodaysettleamount": {
  18577. "description": "销售今收款额(今收货款额)",
  18578. "type": "number"
  18579. },
  18580. "selluninvoicedamount": {
  18581. "description": "销售应开票额(应开票额)",
  18582. "type": "number"
  18583. },
  18584. "sellunpaidamount": {
  18585. "description": "销售应收款额(应收货款额)",
  18586. "type": "number"
  18587. },
  18588. "spotgoodsbrandid": {
  18589. "description": "现货品牌ID",
  18590. "type": "integer"
  18591. },
  18592. "todaypaysum": {
  18593. "description": "今付款合计",
  18594. "type": "number"
  18595. },
  18596. "todayreceivesum": {
  18597. "description": "今收款合计",
  18598. "type": "number"
  18599. },
  18600. "updatetime": {
  18601. "description": "更新时间",
  18602. "type": "string"
  18603. },
  18604. "wrfactortypeid": {
  18605. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18606. "type": "integer"
  18607. },
  18608. "wrstandardcode": {
  18609. "description": "品类代码",
  18610. "type": "string"
  18611. },
  18612. "wrstandardid": {
  18613. "description": "现货商品ID",
  18614. "type": "integer"
  18615. },
  18616. "wrstandardname": {
  18617. "description": "品类名称",
  18618. "type": "string"
  18619. }
  18620. }
  18621. },
  18622. "models.Ermcp3Goods": {
  18623. "type": "object",
  18624. "properties": {
  18625. "agreeunit": {
  18626. "description": "合约单位(合约乘数)",
  18627. "type": "number"
  18628. },
  18629. "enumdicname": {
  18630. "description": "单位名称",
  18631. "type": "string"
  18632. },
  18633. "exexchangecode": {
  18634. "description": "交易所代码",
  18635. "type": "string"
  18636. },
  18637. "goodscode": {
  18638. "description": "期货商品代码",
  18639. "type": "string"
  18640. },
  18641. "goodsid": {
  18642. "description": "期货商品id",
  18643. "type": "integer"
  18644. },
  18645. "goodsname": {
  18646. "description": "期货商品名称",
  18647. "type": "string"
  18648. }
  18649. }
  18650. },
  18651. "models.Ermcp3GoodsGroup": {
  18652. "type": "object",
  18653. "required": [
  18654. "areauserid"
  18655. ],
  18656. "properties": {
  18657. "agreeunit": {
  18658. "description": "合约单位",
  18659. "type": "number"
  18660. },
  18661. "areauserid": {
  18662. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  18663. "type": "integer"
  18664. },
  18665. "canshort": {
  18666. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18667. "type": "integer"
  18668. },
  18669. "closepricemode": {
  18670. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18671. "type": "integer"
  18672. },
  18673. "createtime": {
  18674. "description": "创建时间",
  18675. "type": "string"
  18676. },
  18677. "creatorid": {
  18678. "description": "创建人",
  18679. "type": "integer"
  18680. },
  18681. "currencyid": {
  18682. "description": "报价货币ID",
  18683. "type": "integer"
  18684. },
  18685. "decimalplace": {
  18686. "description": "报价小数位",
  18687. "type": "integer"
  18688. },
  18689. "enumdicname": {
  18690. "description": "单位名称",
  18691. "type": "string"
  18692. },
  18693. "exchangefullname": {
  18694. "description": "交易所全称",
  18695. "type": "string"
  18696. },
  18697. "excludecfg": {
  18698. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  18699. "type": "integer"
  18700. },
  18701. "exexchangecode": {
  18702. "description": "交易所代码",
  18703. "type": "string"
  18704. },
  18705. "exexchangeid": {
  18706. "description": "外部交易所ID[通道交易]",
  18707. "type": "integer"
  18708. },
  18709. "exexchangename": {
  18710. "description": "交易所名称",
  18711. "type": "string"
  18712. },
  18713. "goodsgroupid": {
  18714. "description": "商品组ID(自增ID)",
  18715. "type": "integer"
  18716. },
  18717. "goodsgroupname": {
  18718. "description": "商品组名称",
  18719. "type": "string"
  18720. },
  18721. "goodsgroupstatus": {
  18722. "description": "商品组状态 - 1:正常 2:注销",
  18723. "type": "integer"
  18724. },
  18725. "goodunitid": {
  18726. "description": "报价单位ID",
  18727. "type": "integer"
  18728. },
  18729. "groupcategroyid": {
  18730. "description": "品种分类ID",
  18731. "type": "integer"
  18732. },
  18733. "innerdealmode": {
  18734. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18735. "type": "integer"
  18736. },
  18737. "marketid": {
  18738. "description": "所属市场ID",
  18739. "type": "integer"
  18740. },
  18741. "modifierid": {
  18742. "description": "修改人",
  18743. "type": "integer"
  18744. },
  18745. "modifytime": {
  18746. "description": "修改时间",
  18747. "type": "string"
  18748. },
  18749. "outerdealmode": {
  18750. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18751. "type": "integer"
  18752. },
  18753. "outergroupcode": {
  18754. "description": "外部商品组代码[通道交易]",
  18755. "type": "string"
  18756. },
  18757. "quoteminunit": {
  18758. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18759. "type": "integer"
  18760. },
  18761. "quotesourcegroupid": {
  18762. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18763. "type": "integer"
  18764. },
  18765. "syncgoodsqty": {
  18766. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18767. "type": "integer"
  18768. }
  18769. }
  18770. },
  18771. "models.Ermcp3GoodsGroupEx": {
  18772. "type": "object",
  18773. "properties": {
  18774. "convertratio": {
  18775. "description": "折算系数(品种系数)",
  18776. "type": "number"
  18777. },
  18778. "enumdicname": {
  18779. "description": "单位名称",
  18780. "type": "string"
  18781. },
  18782. "exexchangecode": {
  18783. "description": "交易所代码",
  18784. "type": "string"
  18785. },
  18786. "glist": {
  18787. "description": "合约列表",
  18788. "type": "array",
  18789. "items": {
  18790. "$ref": "#/definitions/models.Ermcp3Goods"
  18791. }
  18792. },
  18793. "goodsgroupid": {
  18794. "description": "商品组id",
  18795. "type": "integer"
  18796. },
  18797. "goodsgroupname": {
  18798. "description": "商品组名称",
  18799. "type": "string"
  18800. },
  18801. "goodsunitid": {
  18802. "description": "单位id",
  18803. "type": "integer"
  18804. },
  18805. "middlegoodsid": {
  18806. "description": "套保商品id",
  18807. "type": "integer"
  18808. }
  18809. }
  18810. },
  18811. "models.Ermcp3HedgePlan": {
  18812. "type": "object",
  18813. "properties": {
  18814. "accountid": {
  18815. "description": "资金账号",
  18816. "type": "integer"
  18817. },
  18818. "areauserid": {
  18819. "description": "用户ID",
  18820. "type": "integer"
  18821. },
  18822. "auditid": {
  18823. "description": "审核id",
  18824. "type": "integer"
  18825. },
  18826. "auditname": {
  18827. "description": "审核人名称",
  18828. "type": "string"
  18829. },
  18830. "auditremark": {
  18831. "description": "审核备注",
  18832. "type": "string"
  18833. },
  18834. "auditsrc": {
  18835. "description": "审核来源 1-管理端 2-终端",
  18836. "type": "integer"
  18837. },
  18838. "audittime": {
  18839. "description": "审核时间",
  18840. "type": "string"
  18841. },
  18842. "contracttype": {
  18843. "description": "计划类型 - 1:采购 -1:销售",
  18844. "type": "integer"
  18845. },
  18846. "convertfactor": {
  18847. "description": "标仓系数",
  18848. "type": "number"
  18849. },
  18850. "createtime": {
  18851. "description": "创建时间",
  18852. "type": "string"
  18853. },
  18854. "currencyid": {
  18855. "description": "币种id",
  18856. "type": "integer"
  18857. },
  18858. "currencyname": {
  18859. "description": "币种名称",
  18860. "type": "string"
  18861. },
  18862. "deliverygoodscode": {
  18863. "description": "现货品种代码",
  18864. "type": "string"
  18865. },
  18866. "deliverygoodsid": {
  18867. "description": "现货品种ID",
  18868. "type": "integer"
  18869. },
  18870. "deliverygoodsname": {
  18871. "description": "现货品种名称",
  18872. "type": "string"
  18873. },
  18874. "enumdicname": {
  18875. "description": "单位名称(现货商品)",
  18876. "type": "string"
  18877. },
  18878. "hedgeplanid": {
  18879. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  18880. "type": "string"
  18881. },
  18882. "hedgeplanno": {
  18883. "description": "套保计划编号(名称)",
  18884. "type": "string"
  18885. },
  18886. "hedgeplanstatus": {
  18887. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18888. "type": "integer"
  18889. },
  18890. "planqty": {
  18891. "description": "计划数量",
  18892. "type": "number"
  18893. },
  18894. "plantime": {
  18895. "description": "计划时间",
  18896. "type": "string"
  18897. },
  18898. "producttype": {
  18899. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18900. "type": "integer"
  18901. },
  18902. "remark": {
  18903. "description": "备注",
  18904. "type": "string"
  18905. },
  18906. "spotgoodsdesc": {
  18907. "description": "商品型号",
  18908. "type": "string"
  18909. },
  18910. "taaccountname": {
  18911. "description": "资金账号名称",
  18912. "type": "string"
  18913. },
  18914. "tradeuserid": {
  18915. "description": "交易用户id",
  18916. "type": "integer"
  18917. },
  18918. "tradeusername": {
  18919. "description": "交易用户名称",
  18920. "type": "string"
  18921. },
  18922. "unitid": {
  18923. "description": "单位id(现货商品)",
  18924. "type": "integer"
  18925. },
  18926. "updatetime": {
  18927. "description": "更新时间",
  18928. "type": "string"
  18929. },
  18930. "wrstandardcode": {
  18931. "description": "品类代码",
  18932. "type": "string"
  18933. },
  18934. "wrstandardid": {
  18935. "description": "品类id",
  18936. "type": "integer"
  18937. },
  18938. "wrstandardname": {
  18939. "description": "品类名称",
  18940. "type": "string"
  18941. },
  18942. "wrunitid": {
  18943. "description": "品类单位id",
  18944. "type": "integer"
  18945. },
  18946. "wrunitidame": {
  18947. "description": "品类单位名称",
  18948. "type": "string"
  18949. }
  18950. }
  18951. },
  18952. "models.Ermcp3MiddleGoodsDetail2": {
  18953. "type": "object",
  18954. "properties": {
  18955. "convertratio": {
  18956. "description": "套保系数(折算系数)",
  18957. "type": "number"
  18958. },
  18959. "gplist": {
  18960. "description": "关联商品组列表",
  18961. "type": "array",
  18962. "items": {
  18963. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18964. }
  18965. },
  18966. "mg": {
  18967. "description": "套保商品信息",
  18968. "type": "object",
  18969. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18970. }
  18971. }
  18972. },
  18973. "models.Ermcp3MiddleGoodsDetailEx": {
  18974. "type": "object",
  18975. "properties": {
  18976. "dglist": {
  18977. "description": "关联的现货品种列表",
  18978. "type": "array",
  18979. "items": {
  18980. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18981. }
  18982. },
  18983. "gplist": {
  18984. "description": "关联商品组列表",
  18985. "type": "array",
  18986. "items": {
  18987. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18988. }
  18989. },
  18990. "mg": {
  18991. "description": "套保商品信息",
  18992. "type": "object",
  18993. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18994. }
  18995. }
  18996. },
  18997. "models.Ermcp3RootUserAccount": {
  18998. "type": "object",
  18999. "properties": {
  19000. "accountname": {
  19001. "description": "账户名称(机构名称)",
  19002. "type": "string"
  19003. },
  19004. "accountstatus": {
  19005. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19006. "type": "integer"
  19007. },
  19008. "applysrc": {
  19009. "description": "申请来源 - 1:管理端 2:终端",
  19010. "type": "integer"
  19011. },
  19012. "auditremark": {
  19013. "description": "审核备注",
  19014. "type": "string"
  19015. },
  19016. "auditsrc": {
  19017. "description": "审核来源 - 1:管理端 2:终端",
  19018. "type": "integer"
  19019. },
  19020. "audittime": {
  19021. "description": "审核时间",
  19022. "type": "string"
  19023. },
  19024. "audituserid": {
  19025. "description": "审核人",
  19026. "type": "integer"
  19027. },
  19028. "broker": {
  19029. "description": "所属经纪人ID",
  19030. "type": "integer"
  19031. },
  19032. "canceltime": {
  19033. "description": "销户时间",
  19034. "type": "string"
  19035. },
  19036. "canceluserid": {
  19037. "description": "销户人",
  19038. "type": "integer"
  19039. },
  19040. "canrecommend": {
  19041. "description": "是否可推荐 - 0:不可 1;可",
  19042. "type": "integer"
  19043. },
  19044. "createtime": {
  19045. "description": "创建时间",
  19046. "type": "string"
  19047. },
  19048. "creatorid": {
  19049. "description": "创建人",
  19050. "type": "integer"
  19051. },
  19052. "hasauth": {
  19053. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19054. "type": "integer"
  19055. },
  19056. "isanonymous": {
  19057. "description": "是否匿名下单 - 0:否 1:是",
  19058. "type": "integer"
  19059. },
  19060. "maxinvestornum": {
  19061. "description": "最大用户数(经纪会员下投资者个数)",
  19062. "type": "integer"
  19063. },
  19064. "memberuserid": {
  19065. "description": "所属会员ID",
  19066. "type": "integer"
  19067. },
  19068. "modifierid": {
  19069. "description": "修改人",
  19070. "type": "integer"
  19071. },
  19072. "modifyremark": {
  19073. "description": "变更备注",
  19074. "type": "string"
  19075. },
  19076. "modifystatus": {
  19077. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19078. "type": "integer"
  19079. },
  19080. "modifytime": {
  19081. "description": "修改时间",
  19082. "type": "string"
  19083. },
  19084. "parenttopuser": {
  19085. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19086. "type": "string"
  19087. },
  19088. "parentuserid": {
  19089. "description": "所属机构ID",
  19090. "type": "integer"
  19091. },
  19092. "reckonaccountid": {
  19093. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19094. "type": "integer"
  19095. },
  19096. "refercount": {
  19097. "description": "推荐总人数",
  19098. "type": "integer"
  19099. },
  19100. "refereeuserid": {
  19101. "description": "推荐人ID",
  19102. "type": "integer"
  19103. },
  19104. "refernum": {
  19105. "description": "推荐码",
  19106. "type": "string"
  19107. },
  19108. "rootuserid": {
  19109. "description": "根用户ID",
  19110. "type": "integer"
  19111. },
  19112. "subaccountlevel": {
  19113. "description": "子账户层数",
  19114. "type": "integer"
  19115. },
  19116. "subarealevelpath": {
  19117. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19118. "type": "string"
  19119. },
  19120. "userid": {
  19121. "description": "用户ID",
  19122. "type": "integer"
  19123. },
  19124. "usertype": {
  19125. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19126. "type": "integer"
  19127. }
  19128. }
  19129. },
  19130. "models.Ermcp3SellBuyContract": {
  19131. "type": "object",
  19132. "properties": {
  19133. "accountid": {
  19134. "description": "期货账户id",
  19135. "type": "string"
  19136. },
  19137. "accountname": {
  19138. "description": "账户名称",
  19139. "type": "string"
  19140. },
  19141. "attachment": {
  19142. "description": "附件",
  19143. "type": "string"
  19144. },
  19145. "audittime": {
  19146. "description": "审核时间",
  19147. "type": "string"
  19148. },
  19149. "biztype": {
  19150. "description": "业务类型 1-套保 2-套利",
  19151. "type": "integer"
  19152. },
  19153. "brandname": {
  19154. "description": "品牌名称",
  19155. "type": "string"
  19156. },
  19157. "contracctstatus": {
  19158. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19159. "type": "integer"
  19160. },
  19161. "contractmargin": {
  19162. "description": "合同保证金",
  19163. "type": "number"
  19164. },
  19165. "contractno": {
  19166. "description": "合同编号",
  19167. "type": "string"
  19168. },
  19169. "contracttype": {
  19170. "description": "合同类型 1-采购, -1-销售",
  19171. "type": "integer"
  19172. },
  19173. "convertfactor": {
  19174. "description": "标仓系数(品类)",
  19175. "type": "number"
  19176. },
  19177. "createtime": {
  19178. "description": "创建时间",
  19179. "type": "string"
  19180. },
  19181. "currencyid": {
  19182. "description": "币种id",
  19183. "type": "integer"
  19184. },
  19185. "currencyname": {
  19186. "description": "币种名称",
  19187. "type": "string"
  19188. },
  19189. "daikaiamount": {
  19190. "description": "应收(开)票额",
  19191. "type": "number"
  19192. },
  19193. "deliveryenddate": {
  19194. "description": "交割结束日",
  19195. "type": "string"
  19196. },
  19197. "deliverygoodscode": {
  19198. "description": "现货品种代码",
  19199. "type": "string"
  19200. },
  19201. "deliverygoodsid": {
  19202. "description": "现货商品ID",
  19203. "type": "integer"
  19204. },
  19205. "deliverygoodsname": {
  19206. "description": "现货品种名称",
  19207. "type": "string"
  19208. },
  19209. "deliverystartdate": {
  19210. "description": "交割开始日",
  19211. "type": "string"
  19212. },
  19213. "enddate": {
  19214. "description": "点价结束日",
  19215. "type": "string"
  19216. },
  19217. "enumdicname": {
  19218. "description": "单位名称",
  19219. "type": "string"
  19220. },
  19221. "goodscode": {
  19222. "description": "点价商品代码",
  19223. "type": "string"
  19224. },
  19225. "goodsid": {
  19226. "description": "点价商品ID",
  19227. "type": "integer"
  19228. },
  19229. "goodsname": {
  19230. "description": "点价商品名称",
  19231. "type": "string"
  19232. },
  19233. "invoiceamount": {
  19234. "description": "已开票额",
  19235. "type": "number"
  19236. },
  19237. "loanamount": {
  19238. "description": "贷款总额=已定价额+调整金额",
  19239. "type": "number"
  19240. },
  19241. "margin": {
  19242. "description": "保证金",
  19243. "type": "number"
  19244. },
  19245. "meruserid": {
  19246. "description": "跟单员id",
  19247. "type": "integer"
  19248. },
  19249. "meruserlogincode": {
  19250. "description": "跟单员登录代码",
  19251. "type": "string"
  19252. },
  19253. "merusername": {
  19254. "description": "跟单员名称",
  19255. "type": "string"
  19256. },
  19257. "nickname": {
  19258. "description": "账户昵称",
  19259. "type": "string"
  19260. },
  19261. "payamount": {
  19262. "description": "已收付额(收款或付款)",
  19263. "type": "number"
  19264. },
  19265. "preinvoiceamount": {
  19266. "description": "预收(开)票额",
  19267. "type": "number"
  19268. },
  19269. "prepayamount": {
  19270. "description": "预收付额",
  19271. "type": "number"
  19272. },
  19273. "price": {
  19274. "description": "价格",
  19275. "type": "number"
  19276. },
  19277. "pricedamount": {
  19278. "description": "已定价额",
  19279. "type": "number"
  19280. },
  19281. "pricedavg": {
  19282. "description": "已点均价",
  19283. "type": "number"
  19284. },
  19285. "pricedqty": {
  19286. "description": "已定价量",
  19287. "type": "number"
  19288. },
  19289. "pricemove": {
  19290. "description": "升贴水",
  19291. "type": "number"
  19292. },
  19293. "pricetype": {
  19294. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19295. "type": "integer"
  19296. },
  19297. "producttype": {
  19298. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19299. "type": "integer"
  19300. },
  19301. "qty": {
  19302. "description": "合同量",
  19303. "type": "number"
  19304. },
  19305. "reckonadjustamount": {
  19306. "description": "调整金额",
  19307. "type": "number"
  19308. },
  19309. "reckonedamount": {
  19310. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  19311. "type": "number"
  19312. },
  19313. "reckonotheramount": {
  19314. "description": "其它费用",
  19315. "type": "number"
  19316. },
  19317. "reckonrealqty": {
  19318. "description": "已确定量",
  19319. "type": "number"
  19320. },
  19321. "remark": {
  19322. "description": "备注",
  19323. "type": "string"
  19324. },
  19325. "saleuserid": {
  19326. "description": "业务员id",
  19327. "type": "integer"
  19328. },
  19329. "saleuserlogincode": {
  19330. "description": "业务员登录代码",
  19331. "type": "string"
  19332. },
  19333. "saleusername": {
  19334. "description": "业务员名称",
  19335. "type": "string"
  19336. },
  19337. "spotcontractid": {
  19338. "description": "合同ID",
  19339. "type": "string"
  19340. },
  19341. "spotgoodsbrandid": {
  19342. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19343. "type": "integer"
  19344. },
  19345. "spotgoodsdesc": {
  19346. "description": "商品型号(商品规格)",
  19347. "type": "string"
  19348. },
  19349. "startdate": {
  19350. "description": "点价开始日",
  19351. "type": "string"
  19352. },
  19353. "totalamount": {
  19354. "description": "合计总额",
  19355. "type": "number"
  19356. },
  19357. "tradeuserid": {
  19358. "description": "交易员id",
  19359. "type": "integer"
  19360. },
  19361. "tradeuserlogincode": {
  19362. "description": "交易员登录代码",
  19363. "type": "string"
  19364. },
  19365. "tradeusername": {
  19366. "description": "交易员名称",
  19367. "type": "string"
  19368. },
  19369. "unpayamount": {
  19370. "description": "应收付款额(应支付或应收款)",
  19371. "type": "number"
  19372. },
  19373. "unpricedqty": {
  19374. "description": "未定价量",
  19375. "type": "number"
  19376. },
  19377. "unsureqty": {
  19378. "description": "未确定量",
  19379. "type": "number"
  19380. },
  19381. "userid": {
  19382. "description": "机构ID",
  19383. "type": "integer"
  19384. },
  19385. "wrstandardcode": {
  19386. "description": "品类代码",
  19387. "type": "string"
  19388. },
  19389. "wrstandardid": {
  19390. "description": "品类ID",
  19391. "type": "integer"
  19392. },
  19393. "wrstandardname": {
  19394. "description": "品类名称",
  19395. "type": "string"
  19396. }
  19397. }
  19398. },
  19399. "models.Ermcp3SpotGoodsPrice": {
  19400. "type": "object",
  19401. "properties": {
  19402. "areauserid": {
  19403. "description": "所属机构id",
  19404. "type": "integer"
  19405. },
  19406. "brandname": {
  19407. "description": "品牌名称",
  19408. "type": "string"
  19409. },
  19410. "currencyid": {
  19411. "description": "报价货币ID",
  19412. "type": "integer"
  19413. },
  19414. "currencyname": {
  19415. "description": "币种名称",
  19416. "type": "string"
  19417. },
  19418. "deliverygoodscode": {
  19419. "description": "现货商品代码",
  19420. "type": "string"
  19421. },
  19422. "deliverygoodsid": {
  19423. "description": "现货商品id",
  19424. "type": "integer"
  19425. },
  19426. "deliverygoodsname": {
  19427. "description": "现货商品名称",
  19428. "type": "string"
  19429. },
  19430. "enumdicname": {
  19431. "description": "现货商品单位名称",
  19432. "type": "string"
  19433. },
  19434. "gbenumdicname": {
  19435. "description": "品类单位名称",
  19436. "type": "string"
  19437. },
  19438. "gmunitid": {
  19439. "description": "品类单位id",
  19440. "type": "integer"
  19441. },
  19442. "isvalid": {
  19443. "description": "是否有效 - 0:无效 1:有效",
  19444. "type": "integer"
  19445. },
  19446. "operateid": {
  19447. "description": "最后操作人",
  19448. "type": "integer"
  19449. },
  19450. "operatesrc": {
  19451. "description": "最后操作来源 - 1:管理端 2:终端",
  19452. "type": "integer"
  19453. },
  19454. "operatetime": {
  19455. "description": "最后操作时间",
  19456. "type": "string"
  19457. },
  19458. "operatorname": {
  19459. "description": "操作人名称",
  19460. "type": "string"
  19461. },
  19462. "spotgoodsbrandid": {
  19463. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19464. "type": "integer"
  19465. },
  19466. "spotgoodsprice": {
  19467. "description": "现货价格",
  19468. "type": "number"
  19469. },
  19470. "tradedate": {
  19471. "description": "交易日(yyyyMMdd)",
  19472. "type": "string"
  19473. },
  19474. "unitid": {
  19475. "description": "现货商品单位id",
  19476. "type": "integer"
  19477. },
  19478. "wrstandardcode": {
  19479. "description": "品类代码",
  19480. "type": "string"
  19481. },
  19482. "wrstandardid": {
  19483. "description": "现货品类ID(通用则为0)",
  19484. "type": "integer"
  19485. },
  19486. "wrstandardname": {
  19487. "description": "品类名称",
  19488. "type": "string"
  19489. }
  19490. }
  19491. },
  19492. "models.Ermcp3SpotGoodsPriceLog": {
  19493. "type": "object",
  19494. "properties": {
  19495. "areauserid": {
  19496. "description": "所属机构id",
  19497. "type": "integer"
  19498. },
  19499. "brandname": {
  19500. "description": "品牌名称",
  19501. "type": "string"
  19502. },
  19503. "currencyid": {
  19504. "description": "报价货币ID",
  19505. "type": "integer"
  19506. },
  19507. "deliverygoodscode": {
  19508. "description": "现货商品代码",
  19509. "type": "string"
  19510. },
  19511. "deliverygoodsid": {
  19512. "description": "现货商品id",
  19513. "type": "integer"
  19514. },
  19515. "deliverygoodsname": {
  19516. "description": "现货商品名称",
  19517. "type": "string"
  19518. },
  19519. "enumdicname": {
  19520. "description": "现货商品单位名称",
  19521. "type": "string"
  19522. },
  19523. "gbenumdicname": {
  19524. "description": "品类单位名称",
  19525. "type": "string"
  19526. },
  19527. "gmunitid": {
  19528. "description": "品类单位id",
  19529. "type": "integer"
  19530. },
  19531. "logid": {
  19532. "description": "日志id",
  19533. "type": "integer"
  19534. },
  19535. "operateid": {
  19536. "description": "最后操作人",
  19537. "type": "integer"
  19538. },
  19539. "operatesrc": {
  19540. "description": "最后操作来源 - 1:管理端 2:终端",
  19541. "type": "integer"
  19542. },
  19543. "operatetime": {
  19544. "description": "最后操作时间",
  19545. "type": "string"
  19546. },
  19547. "operatorname": {
  19548. "description": "操作人名称",
  19549. "type": "string"
  19550. },
  19551. "spotgoodsbrandid": {
  19552. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19553. "type": "integer"
  19554. },
  19555. "spotgoodsprice": {
  19556. "description": "现货价格",
  19557. "type": "number"
  19558. },
  19559. "tradedate": {
  19560. "description": "交易日(yyyyMMdd)",
  19561. "type": "string"
  19562. },
  19563. "unitid": {
  19564. "description": "现货商品单位id",
  19565. "type": "integer"
  19566. },
  19567. "wrstandardcode": {
  19568. "description": "品类代码",
  19569. "type": "string"
  19570. },
  19571. "wrstandardid": {
  19572. "description": "现货品类ID(通用则为0)",
  19573. "type": "integer"
  19574. },
  19575. "wrstandardname": {
  19576. "description": "品类名称",
  19577. "type": "string"
  19578. }
  19579. }
  19580. },
  19581. "models.Ermcp3TaFutuReDataReport": {
  19582. "type": "object",
  19583. "properties": {
  19584. "accountid": {
  19585. "description": "交易账户",
  19586. "type": "integer"
  19587. },
  19588. "accountname": {
  19589. "description": "交易账号名称",
  19590. "type": "string"
  19591. },
  19592. "agreeunit": {
  19593. "description": "商品合约单位",
  19594. "type": "number"
  19595. },
  19596. "begindate": {
  19597. "description": "开始交易日",
  19598. "type": "string"
  19599. },
  19600. "buyorsell": {
  19601. "description": "持仓方向",
  19602. "type": "integer"
  19603. },
  19604. "charge": {
  19605. "description": "手续费",
  19606. "type": "number"
  19607. },
  19608. "closeavgprice": {
  19609. "description": "平仓均价",
  19610. "type": "number"
  19611. },
  19612. "closepl": {
  19613. "description": "平仓损益",
  19614. "type": "number"
  19615. },
  19616. "currencyid": {
  19617. "description": "结算币种ID",
  19618. "type": "integer"
  19619. },
  19620. "currencyname": {
  19621. "description": "币种名称",
  19622. "type": "string"
  19623. },
  19624. "cycletime": {
  19625. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19626. "type": "string"
  19627. },
  19628. "cycletype": {
  19629. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19630. "type": "integer"
  19631. },
  19632. "enddate": {
  19633. "description": "结束交易日",
  19634. "type": "string"
  19635. },
  19636. "enumdicname": {
  19637. "description": "单位名称",
  19638. "type": "string"
  19639. },
  19640. "floatpl": {
  19641. "description": "浮动损益",
  19642. "type": "number"
  19643. },
  19644. "goodscode": {
  19645. "description": "交易合约代码",
  19646. "type": "string"
  19647. },
  19648. "goodsgroupid": {
  19649. "description": "交易品种",
  19650. "type": "integer"
  19651. },
  19652. "goodsgroupname": {
  19653. "description": "交易品种名称",
  19654. "type": "string"
  19655. },
  19656. "goodsgroupspotqty": {
  19657. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  19658. "type": "number"
  19659. },
  19660. "goodsid": {
  19661. "description": "交易合约",
  19662. "type": "integer"
  19663. },
  19664. "goodsname": {
  19665. "description": "交易合约名称",
  19666. "type": "string"
  19667. },
  19668. "goodunitid": {
  19669. "description": "交易合约单位id",
  19670. "type": "integer"
  19671. },
  19672. "holdamount": {
  19673. "description": "期末持仓额",
  19674. "type": "number"
  19675. },
  19676. "holdqty": {
  19677. "description": "期末持仓量",
  19678. "type": "number"
  19679. },
  19680. "lastholdamount": {
  19681. "description": "当前持仓额",
  19682. "type": "number"
  19683. },
  19684. "lastprice": {
  19685. "description": "最新价",
  19686. "type": "number"
  19687. },
  19688. "middlegoodsid": {
  19689. "description": "套保品种id",
  19690. "type": "integer"
  19691. },
  19692. "middlegoodsname": {
  19693. "description": "套保商品名称",
  19694. "type": "string"
  19695. },
  19696. "middlegoodsqty": {
  19697. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  19698. "type": "number"
  19699. },
  19700. "middlgoodscode": {
  19701. "description": "套保商品代码",
  19702. "type": "string"
  19703. },
  19704. "openamount": {
  19705. "description": "期末开仓额",
  19706. "type": "number"
  19707. },
  19708. "openavgprice": {
  19709. "description": "开仓均价",
  19710. "type": "number"
  19711. },
  19712. "oriholdamount": {
  19713. "description": "期初持仓额",
  19714. "type": "number"
  19715. },
  19716. "oriholdqty": {
  19717. "description": "期初持仓量",
  19718. "type": "number"
  19719. },
  19720. "oriopenamount": {
  19721. "description": "期初开仓额",
  19722. "type": "number"
  19723. },
  19724. "outergroupcode": {
  19725. "description": "交易品种代码",
  19726. "type": "string"
  19727. },
  19728. "qtydecimalplace": {
  19729. "description": "成交量小数位",
  19730. "type": "integer"
  19731. },
  19732. "reckondate": {
  19733. "description": "日照时期(yyyyMMdd)",
  19734. "type": "string"
  19735. },
  19736. "reckonholdamount": {
  19737. "description": "结算持仓额",
  19738. "type": "number"
  19739. },
  19740. "reckonpl": {
  19741. "description": "结算损益",
  19742. "type": "number"
  19743. },
  19744. "reckonpl2": {
  19745. "description": "结算逐笔盈亏",
  19746. "type": "number"
  19747. },
  19748. "reckonprice": {
  19749. "description": "结算价",
  19750. "type": "number"
  19751. },
  19752. "relateduserid": {
  19753. "description": "账户关联用户ID",
  19754. "type": "integer"
  19755. },
  19756. "todaycloseamount": {
  19757. "description": "今平仓额",
  19758. "type": "number"
  19759. },
  19760. "todaycloseqty": {
  19761. "description": "今平仓量",
  19762. "type": "number"
  19763. },
  19764. "todaygoodsgroupspotqty": {
  19765. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  19766. "type": "number"
  19767. },
  19768. "todaymiddlegoodsqty": {
  19769. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  19770. "type": "number"
  19771. },
  19772. "todayopenamount": {
  19773. "description": "今开仓额",
  19774. "type": "number"
  19775. },
  19776. "todayopenqty": {
  19777. "description": "今开仓量",
  19778. "type": "number"
  19779. },
  19780. "userid": {
  19781. "description": "账户所属用户ID",
  19782. "type": "integer"
  19783. }
  19784. }
  19785. },
  19786. "models.Ermcp3Wrstandard": {
  19787. "type": "object",
  19788. "properties": {
  19789. "areauserid": {
  19790. "description": "所属机构",
  19791. "type": "integer"
  19792. },
  19793. "cantrade": {
  19794. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  19795. "type": "integer"
  19796. },
  19797. "convertfactor": {
  19798. "description": "标仓系数",
  19799. "type": "number"
  19800. },
  19801. "createtime": {
  19802. "description": "创建时间",
  19803. "type": "string"
  19804. },
  19805. "creatorid": {
  19806. "description": "创建人",
  19807. "type": "integer"
  19808. },
  19809. "deliverygoodsid": {
  19810. "description": "现货品种ID",
  19811. "type": "integer"
  19812. },
  19813. "enumdicname": {
  19814. "description": "品类单位名称",
  19815. "type": "string"
  19816. },
  19817. "isvalid": {
  19818. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19819. "type": "integer"
  19820. },
  19821. "minivalue": {
  19822. "description": "最小变动值",
  19823. "type": "integer"
  19824. },
  19825. "minivaluedp": {
  19826. "description": "最小变动值小数位",
  19827. "type": "integer"
  19828. },
  19829. "realminivalue": {
  19830. "description": "实际最小变动值",
  19831. "type": "integer"
  19832. },
  19833. "realminivaluedp": {
  19834. "description": "实际最小变动值小数位",
  19835. "type": "integer"
  19836. },
  19837. "remark": {
  19838. "description": "备注",
  19839. "type": "string"
  19840. },
  19841. "unitid": {
  19842. "description": "品类单位ID",
  19843. "type": "integer"
  19844. },
  19845. "updatetime": {
  19846. "description": "更新时间",
  19847. "type": "string"
  19848. },
  19849. "wrstandardcode": {
  19850. "description": "品类代码",
  19851. "type": "string"
  19852. },
  19853. "wrstandardid": {
  19854. "description": "品类ID(SEQ_WRSTANDARD)",
  19855. "type": "integer"
  19856. },
  19857. "wrstandardname": {
  19858. "description": "品类名称",
  19859. "type": "string"
  19860. }
  19861. }
  19862. },
  19863. "models.ErmcpAreaSpotDetailModel": {
  19864. "type": "object",
  19865. "properties": {
  19866. "contracttype": {
  19867. "description": "合同类型 1-采购 -1-销售",
  19868. "type": "integer"
  19869. },
  19870. "createtime": {
  19871. "description": "创建时间",
  19872. "type": "string"
  19873. },
  19874. "enumdicname": {
  19875. "description": "现货商品单位名称",
  19876. "type": "string"
  19877. },
  19878. "logtype": {
  19879. "description": "记录类型 1-套保 2-现货合同",
  19880. "type": "integer"
  19881. },
  19882. "qty": {
  19883. "description": "数量",
  19884. "type": "number"
  19885. },
  19886. "recordname": {
  19887. "description": "类型名称",
  19888. "type": "string"
  19889. },
  19890. "relatedid": {
  19891. "description": "套保计划ID/现货合同ID",
  19892. "type": "string"
  19893. },
  19894. "relatedno": {
  19895. "description": "编号",
  19896. "type": "string"
  19897. },
  19898. "strtime": {
  19899. "description": "时间",
  19900. "type": "string"
  19901. },
  19902. "wrstandardcode": {
  19903. "description": "现货商品代码",
  19904. "type": "string"
  19905. },
  19906. "wrstandardname": {
  19907. "description": "现货商品名称",
  19908. "type": "string"
  19909. }
  19910. }
  19911. },
  19912. "models.ErmcpAvalidGoodsGroupModel": {
  19913. "type": "object",
  19914. "properties": {
  19915. "goodsgroupid": {
  19916. "description": "期货品种id",
  19917. "type": "integer"
  19918. },
  19919. "goodsgroupname": {
  19920. "description": "期货品种名称",
  19921. "type": "string"
  19922. },
  19923. "goodunitid": {
  19924. "description": "品种单位id",
  19925. "type": "integer"
  19926. },
  19927. "goodunitname": {
  19928. "description": "品种单位名称",
  19929. "type": "string"
  19930. },
  19931. "outergroupcode": {
  19932. "description": "期货品种代码",
  19933. "type": "string"
  19934. }
  19935. }
  19936. },
  19937. "models.ErmcpBizGroupEx": {
  19938. "type": "object",
  19939. "properties": {
  19940. "acclist": {
  19941. "description": "账号列表",
  19942. "type": "array",
  19943. "items": {
  19944. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  19945. }
  19946. },
  19947. "bizgroupid": {
  19948. "description": "业务分组id",
  19949. "type": "integer"
  19950. },
  19951. "biztype": {
  19952. "description": "业务类型 1-套保 2-套利",
  19953. "type": "integer"
  19954. },
  19955. "wrlist": {
  19956. "description": "现货商品表",
  19957. "type": "array",
  19958. "items": {
  19959. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  19960. }
  19961. }
  19962. }
  19963. },
  19964. "models.ErmcpBizGroupSpotGoods": {
  19965. "type": "object",
  19966. "properties": {
  19967. "areauserid": {
  19968. "description": "所属机构id",
  19969. "type": "integer"
  19970. },
  19971. "bizgroupid": {
  19972. "description": "分组id",
  19973. "type": "integer"
  19974. },
  19975. "biztype": {
  19976. "description": "业务类型 1-套保 2-套利",
  19977. "type": "integer"
  19978. },
  19979. "deliverygoodscode": {
  19980. "description": "现货商品代码",
  19981. "type": "string"
  19982. },
  19983. "deliverygoodsid": {
  19984. "description": "现货商品id",
  19985. "type": "integer"
  19986. },
  19987. "deliverygoodsname": {
  19988. "description": "现货商品名称",
  19989. "type": "string"
  19990. },
  19991. "unitid": {
  19992. "description": "现货商品单位id",
  19993. "type": "integer"
  19994. }
  19995. }
  19996. },
  19997. "models.ErmcpBizGroupTaAccount": {
  19998. "type": "object",
  19999. "properties": {
  20000. "accountid": {
  20001. "description": "账号id",
  20002. "type": "integer"
  20003. },
  20004. "accountname": {
  20005. "description": "账号名称",
  20006. "type": "string"
  20007. },
  20008. "areauserid": {
  20009. "description": "所属机构id",
  20010. "type": "integer"
  20011. },
  20012. "bizgroupid": {
  20013. "description": "业务分组id",
  20014. "type": "integer"
  20015. },
  20016. "ismain": {
  20017. "description": "是否主账号 1-是 0-否",
  20018. "type": "integer"
  20019. }
  20020. }
  20021. },
  20022. "models.ErmcpDGFactoryItem": {
  20023. "type": "object",
  20024. "properties": {
  20025. "areauserid": {
  20026. "description": "用户id",
  20027. "type": "integer"
  20028. },
  20029. "deliverygoodsid": {
  20030. "description": "现货品种ID",
  20031. "type": "integer"
  20032. },
  20033. "dgfactoryitemid": {
  20034. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20035. "type": "integer"
  20036. },
  20037. "dgfactoryitemtypeid": {
  20038. "description": "要素项类型",
  20039. "type": "integer"
  20040. },
  20041. "dgfactoryitemvalue": {
  20042. "description": "要素项值(类型为仓库时填写仓库名称)",
  20043. "type": "string"
  20044. },
  20045. "isvalid": {
  20046. "description": "是否有效 - 0:无效 1:有效",
  20047. "type": "integer"
  20048. },
  20049. "orderindex": {
  20050. "description": "顺序",
  20051. "type": "integer"
  20052. },
  20053. "warehouseid": {
  20054. "description": "仓库ID(类型为仓库时填写)",
  20055. "type": "integer"
  20056. }
  20057. }
  20058. },
  20059. "models.ErmcpDeliveryGoods": {
  20060. "type": "object",
  20061. "properties": {
  20062. "agreeunit": {
  20063. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20064. "type": "integer"
  20065. },
  20066. "areauserid": {
  20067. "description": "所属机构",
  20068. "type": "integer"
  20069. },
  20070. "auditflag": {
  20071. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20072. "type": "integer"
  20073. },
  20074. "categoryid": {
  20075. "description": "类别ID(SEQ_WRCATEGORY)",
  20076. "type": "integer"
  20077. },
  20078. "deliverygoodscode": {
  20079. "description": "现货品种代码",
  20080. "type": "string"
  20081. },
  20082. "deliverygoodsid": {
  20083. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20084. "type": "integer"
  20085. },
  20086. "deliverygoodsname": {
  20087. "description": "现货品种名称",
  20088. "type": "string"
  20089. },
  20090. "deliverygoodstype": {
  20091. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20092. "type": "integer"
  20093. },
  20094. "dgstatus": {
  20095. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20096. "type": "integer"
  20097. },
  20098. "enumdicname": {
  20099. "description": "现货品种单位名称",
  20100. "type": "string"
  20101. },
  20102. "goodsunitid": {
  20103. "description": "现货品种单位ID",
  20104. "type": "integer"
  20105. },
  20106. "isvalid": {
  20107. "description": "是否有效 - 0:无效 1:有效",
  20108. "type": "integer"
  20109. },
  20110. "qtydecimalplace": {
  20111. "description": "成交量小数位",
  20112. "type": "integer"
  20113. },
  20114. "remark": {
  20115. "description": "备注",
  20116. "type": "string"
  20117. },
  20118. "standardqty": {
  20119. "description": "标准数量(库位数量) [标准品特有]",
  20120. "type": "integer"
  20121. },
  20122. "standardqtyrange": {
  20123. "description": "标准数量偏差范围 [标准品特有]",
  20124. "type": "integer"
  20125. }
  20126. }
  20127. },
  20128. "models.ErmcpDeliveryGoodsDetail2": {
  20129. "type": "object",
  20130. "properties": {
  20131. "convertratio": {
  20132. "description": "套保系数(折算系数)",
  20133. "type": "number"
  20134. },
  20135. "data": {
  20136. "description": "现货商品基本信息(交割品种)",
  20137. "type": "object",
  20138. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20139. },
  20140. "gblist": {
  20141. "description": "品牌列表",
  20142. "type": "array",
  20143. "items": {
  20144. "$ref": "#/definitions/models.Ermcp3Brand"
  20145. }
  20146. },
  20147. "gmlist": {
  20148. "description": "品类列表(仓单标准)",
  20149. "type": "array",
  20150. "items": {
  20151. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20152. }
  20153. }
  20154. }
  20155. },
  20156. "models.ErmcpDeliveryGoodsDetailEx": {
  20157. "type": "object",
  20158. "properties": {
  20159. "data": {
  20160. "description": "现货商品基本信息(交割品种)",
  20161. "type": "object",
  20162. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20163. },
  20164. "gblist": {
  20165. "description": "品牌列表",
  20166. "type": "array",
  20167. "items": {
  20168. "$ref": "#/definitions/models.Ermcp3Brand"
  20169. }
  20170. },
  20171. "gmlist": {
  20172. "description": "品类列表(仓单标准)",
  20173. "type": "array",
  20174. "items": {
  20175. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20176. }
  20177. },
  20178. "mgList": {
  20179. "description": "套保列表",
  20180. "type": "array",
  20181. "items": {
  20182. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  20183. }
  20184. }
  20185. }
  20186. },
  20187. "models.ErmcpExposureDetailModel": {
  20188. "type": "object",
  20189. "properties": {
  20190. "areauserid": {
  20191. "description": "机构ID",
  20192. "type": "integer"
  20193. },
  20194. "changeQty": {
  20195. "description": "套保变动量",
  20196. "type": "number"
  20197. },
  20198. "contracttype": {
  20199. "description": "现货合同类型 - 1:采购 -1:销售",
  20200. "type": "integer"
  20201. },
  20202. "convertfactor": {
  20203. "description": "标仓系数",
  20204. "type": "number"
  20205. },
  20206. "convertratio": {
  20207. "description": "套保系数",
  20208. "type": "number"
  20209. },
  20210. "createtime": {
  20211. "description": "时间",
  20212. "type": "string"
  20213. },
  20214. "enumdicname": {
  20215. "description": "现货商品单位名称",
  20216. "type": "string"
  20217. },
  20218. "logtype": {
  20219. "description": "类型 - 1:套保计划 2:现货合同",
  20220. "type": "integer"
  20221. },
  20222. "middlegoodsId": {
  20223. "description": "套保商品id",
  20224. "type": "integer"
  20225. },
  20226. "middlegoodscode": {
  20227. "description": "套保商品代码",
  20228. "type": "string"
  20229. },
  20230. "middlegoodsname": {
  20231. "description": "套保商品名称",
  20232. "type": "string"
  20233. },
  20234. "qty": {
  20235. "description": "数量",
  20236. "type": "number"
  20237. },
  20238. "relateNo": {
  20239. "description": "现货合同/套保计划编号",
  20240. "type": "string"
  20241. },
  20242. "wrstandardcode": {
  20243. "description": "现货商品代码",
  20244. "type": "string"
  20245. },
  20246. "wrstandardid": {
  20247. "description": "现货商品ID",
  20248. "type": "integer"
  20249. },
  20250. "wrstandardname": {
  20251. "description": "现货商品名称",
  20252. "type": "string"
  20253. }
  20254. }
  20255. },
  20256. "models.ErmcpExposurePostion": {
  20257. "type": "object",
  20258. "properties": {
  20259. "agreeunit": {
  20260. "description": "合约单位",
  20261. "type": "string"
  20262. },
  20263. "areauserid": {
  20264. "description": "所属机构id",
  20265. "type": "integer"
  20266. },
  20267. "convertratio": {
  20268. "description": "期货品种系数(折算系数)",
  20269. "type": "number"
  20270. },
  20271. "curqty": {
  20272. "description": "当前持仓",
  20273. "type": "integer"
  20274. },
  20275. "diffhedgeqty": {
  20276. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20277. "type": "number"
  20278. },
  20279. "diffqty": {
  20280. "description": "持仓变动量=当前持仓-昨日持仓",
  20281. "type": "integer"
  20282. },
  20283. "goodscode": {
  20284. "description": "商品代码",
  20285. "type": "string"
  20286. },
  20287. "goodsid": {
  20288. "description": "商品id",
  20289. "type": "integer"
  20290. },
  20291. "goodsname": {
  20292. "description": "商品名称",
  20293. "type": "string"
  20294. },
  20295. "middlegoodsid": {
  20296. "description": "套保商品id",
  20297. "type": "integer"
  20298. },
  20299. "ydqty": {
  20300. "description": "昨日持仓",
  20301. "type": "integer"
  20302. }
  20303. }
  20304. },
  20305. "models.ErmcpFuturesCompany": {
  20306. "type": "object",
  20307. "properties": {
  20308. "brokerid": {
  20309. "description": "经纪公司代码",
  20310. "type": "string"
  20311. },
  20312. "channeladdress": {
  20313. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  20314. "type": "string"
  20315. },
  20316. "channelid": {
  20317. "description": "对冲渠道ID",
  20318. "type": "string"
  20319. },
  20320. "createtime": {
  20321. "description": "创建时间",
  20322. "type": "string"
  20323. },
  20324. "creatorid": {
  20325. "description": "创建人",
  20326. "type": "string"
  20327. },
  20328. "fcid": {
  20329. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  20330. "type": "integer"
  20331. },
  20332. "fcname": {
  20333. "description": "期货公司名称",
  20334. "type": "string"
  20335. },
  20336. "isvalid": {
  20337. "description": "是否有效 - 0:无效 1:有效",
  20338. "type": "integer"
  20339. },
  20340. "mhpaddress": {
  20341. "description": "MHP服务地址(IP:Port)",
  20342. "type": "string"
  20343. },
  20344. "riskrulegroupid": {
  20345. "description": "风控规则组ID",
  20346. "type": "string"
  20347. },
  20348. "tradefeetmpid": {
  20349. "description": "手续费模板ID[TradeConfigTmpType为2]",
  20350. "type": "string"
  20351. },
  20352. "trademargintmpid": {
  20353. "description": "保证金模板ID [TradeConfigTmpType为1]",
  20354. "type": "string"
  20355. },
  20356. "traderatetmpid": {
  20357. "description": "汇率模板ID[TradeConfigTmpType为3]",
  20358. "type": "string"
  20359. },
  20360. "updatetime": {
  20361. "description": "更新时间",
  20362. "type": "string"
  20363. },
  20364. "updatorid": {
  20365. "description": "更新人",
  20366. "type": "string"
  20367. }
  20368. }
  20369. },
  20370. "models.ErmcpGGConvertCfg": {
  20371. "type": "object",
  20372. "properties": {
  20373. "convertratio": {
  20374. "description": "折算系数",
  20375. "type": "number"
  20376. },
  20377. "destgoodsgroupid": {
  20378. "description": "目标品种ID",
  20379. "type": "integer"
  20380. },
  20381. "dstcode": {
  20382. "description": "目录品种代码",
  20383. "type": "string"
  20384. },
  20385. "dstexchangecode": {
  20386. "description": "目标期货交易所",
  20387. "type": "string"
  20388. },
  20389. "dstname": {
  20390. "description": "目标品种名称",
  20391. "type": "string"
  20392. },
  20393. "dstunitid": {
  20394. "description": "目标品种单位ID",
  20395. "type": "integer"
  20396. },
  20397. "dstunitidname": {
  20398. "description": "目标品种单位名称",
  20399. "type": "string"
  20400. },
  20401. "modifytime": {
  20402. "description": "修改时间",
  20403. "type": "string"
  20404. },
  20405. "srccode": {
  20406. "description": "源品种代码",
  20407. "type": "string"
  20408. },
  20409. "srcexchangecode": {
  20410. "description": "源期货交易所",
  20411. "type": "string"
  20412. },
  20413. "srcgoodsgroupid": {
  20414. "description": "源品种ID",
  20415. "type": "integer"
  20416. },
  20417. "srcname": {
  20418. "description": "源品种名称",
  20419. "type": "string"
  20420. },
  20421. "srcunitid": {
  20422. "description": "源品种单位ID",
  20423. "type": "integer"
  20424. },
  20425. "srcunitidname": {
  20426. "description": "源品种单位名称",
  20427. "type": "string"
  20428. }
  20429. }
  20430. },
  20431. "models.ErmcpGoods": {
  20432. "type": "object",
  20433. "required": [
  20434. "goodscode",
  20435. "goodsid",
  20436. "goodsname",
  20437. "marketid"
  20438. ],
  20439. "properties": {
  20440. "agreeunit": {
  20441. "description": "合约单位",
  20442. "type": "number"
  20443. },
  20444. "areauserid": {
  20445. "description": "所属机构",
  20446. "type": "integer"
  20447. },
  20448. "auditaccountid": {
  20449. "description": "审核操作员账号",
  20450. "type": "integer"
  20451. },
  20452. "audittime": {
  20453. "description": "审核时间",
  20454. "type": "string"
  20455. },
  20456. "cancelaccountid": {
  20457. "description": "注销操作员账号",
  20458. "type": "integer"
  20459. },
  20460. "canceltime": {
  20461. "description": "注销时间",
  20462. "type": "string"
  20463. },
  20464. "closepricemode": {
  20465. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20466. "type": "integer"
  20467. },
  20468. "closepriceparam": {
  20469. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20470. "type": "number"
  20471. },
  20472. "createtime": {
  20473. "description": "创建时间",
  20474. "type": "string"
  20475. },
  20476. "creatorid": {
  20477. "description": "创建人",
  20478. "type": "integer"
  20479. },
  20480. "currencyid": {
  20481. "description": "报价货币ID",
  20482. "type": "integer"
  20483. },
  20484. "cutmode": {
  20485. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20486. "type": "integer"
  20487. },
  20488. "decimalplace": {
  20489. "description": "报价小数位",
  20490. "type": "integer"
  20491. },
  20492. "delistingdate": {
  20493. "description": "商品退市时间(状态:退市) -- 已作废",
  20494. "type": "string"
  20495. },
  20496. "delistingmode": {
  20497. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20498. "type": "integer"
  20499. },
  20500. "deliveryflag": {
  20501. "description": "交割标志 - 0:不可交割 1:可交割",
  20502. "type": "integer"
  20503. },
  20504. "enumdicname": {
  20505. "description": "单位名称",
  20506. "type": "string"
  20507. },
  20508. "forceclosemode": {
  20509. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20510. "type": "integer"
  20511. },
  20512. "forceclosevalue": {
  20513. "description": "定期强平参数 [收益权]",
  20514. "type": "integer"
  20515. },
  20516. "goodscode": {
  20517. "description": "商品代码(内部)",
  20518. "type": "string"
  20519. },
  20520. "goodscurrencyid": {
  20521. "description": "合约货币ID",
  20522. "type": "integer"
  20523. },
  20524. "goodsgroupid": {
  20525. "description": "所属商品组ID",
  20526. "type": "integer"
  20527. },
  20528. "goodsid": {
  20529. "description": "商品ID(自增ID SEQ_GOODS)",
  20530. "type": "integer"
  20531. },
  20532. "goodsname": {
  20533. "description": "商品名称",
  20534. "type": "string"
  20535. },
  20536. "goodsquotetype": {
  20537. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20538. "type": "integer"
  20539. },
  20540. "goodsstatus": {
  20541. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20542. "type": "integer"
  20543. },
  20544. "goodstradetype": {
  20545. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20546. "type": "integer"
  20547. },
  20548. "goodunitid": {
  20549. "description": "报价单位ID",
  20550. "type": "integer"
  20551. },
  20552. "hasquoter": {
  20553. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20554. "type": "integer"
  20555. },
  20556. "hqprotecttime": {
  20557. "description": "行情保护时间(秒)",
  20558. "type": "integer"
  20559. },
  20560. "innerdealmode": {
  20561. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20562. "type": "integer"
  20563. },
  20564. "isbuylimited": {
  20565. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20566. "type": "integer"
  20567. },
  20568. "isvisible": {
  20569. "description": "游客是否可见 - 0:不可见 1:可见",
  20570. "type": "integer"
  20571. },
  20572. "lasttradedate": {
  20573. "description": "最后交易日期(状态:待退市)",
  20574. "type": "string"
  20575. },
  20576. "listingdate": {
  20577. "description": "交易开始日期",
  20578. "type": "string"
  20579. },
  20580. "marketid": {
  20581. "description": "所属市场ID",
  20582. "type": "integer"
  20583. },
  20584. "modifierid": {
  20585. "description": "修改人",
  20586. "type": "integer"
  20587. },
  20588. "modifystatus": {
  20589. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20590. "type": "integer"
  20591. },
  20592. "modifytime": {
  20593. "description": "修改时间",
  20594. "type": "string"
  20595. },
  20596. "outerdealmode": {
  20597. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20598. "type": "integer"
  20599. },
  20600. "outgoodscode": {
  20601. "description": "商品代码(外部)",
  20602. "type": "string"
  20603. },
  20604. "pictureurl": {
  20605. "description": "商品图片",
  20606. "type": "string"
  20607. },
  20608. "qtydecimalplace": {
  20609. "description": "成交量小数位",
  20610. "type": "integer"
  20611. },
  20612. "quotegear": {
  20613. "description": "行情档位(1-10)",
  20614. "type": "integer"
  20615. },
  20616. "quoteminunit": {
  20617. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20618. "type": "integer"
  20619. },
  20620. "quoteshowtype": {
  20621. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20622. "type": "integer"
  20623. },
  20624. "quoteshowtypeinterval": {
  20625. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20626. "type": "integer"
  20627. },
  20628. "relatedgoodsid": {
  20629. "description": "关联参考商品ID",
  20630. "type": "integer"
  20631. },
  20632. "remark": {
  20633. "description": "备注",
  20634. "type": "string"
  20635. },
  20636. "trademode": {
  20637. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20638. "type": "integer"
  20639. }
  20640. }
  20641. },
  20642. "models.ErmcpGoodsBrand": {
  20643. "type": "object",
  20644. "properties": {
  20645. "areauserid": {
  20646. "description": "所属机构",
  20647. "type": "integer"
  20648. },
  20649. "brandid": {
  20650. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  20651. "type": "integer"
  20652. },
  20653. "brandname": {
  20654. "description": "品牌名称",
  20655. "type": "string"
  20656. },
  20657. "createtime": {
  20658. "description": "创建时间",
  20659. "type": "string"
  20660. },
  20661. "creatorid": {
  20662. "description": "创建人",
  20663. "type": "integer"
  20664. },
  20665. "creatorsrc": {
  20666. "description": "创建人来源 - 1:管理端 2:终端",
  20667. "type": "integer"
  20668. },
  20669. "deliverygoodsid": {
  20670. "description": "现货品种ID",
  20671. "type": "integer"
  20672. },
  20673. "isvalid": {
  20674. "description": "是否有效 - 0:无效 1:有效",
  20675. "type": "integer"
  20676. },
  20677. "updatetime": {
  20678. "description": "更新时间",
  20679. "type": "string"
  20680. },
  20681. "updatorid": {
  20682. "description": "更新人",
  20683. "type": "integer"
  20684. },
  20685. "updatorsrc": {
  20686. "description": "更新人来源 - 1:管理端 2:终端",
  20687. "type": "integer"
  20688. },
  20689. "wrstandardid": {
  20690. "description": "现货商品ID",
  20691. "type": "integer"
  20692. }
  20693. }
  20694. },
  20695. "models.ErmcpGoodsModel": {
  20696. "type": "object",
  20697. "properties": {
  20698. "areauserid": {
  20699. "description": "所属机构",
  20700. "type": "integer"
  20701. },
  20702. "convertfactor": {
  20703. "description": "标仓系数",
  20704. "type": "number"
  20705. },
  20706. "createtime": {
  20707. "description": "创建时间",
  20708. "type": "string"
  20709. },
  20710. "creatorid": {
  20711. "description": "创建人",
  20712. "type": "integer"
  20713. },
  20714. "creatorsrc": {
  20715. "description": "创建人来源 - 1:管理端 2:终端",
  20716. "type": "integer"
  20717. },
  20718. "deliverygoodsid": {
  20719. "description": "现货品种ID",
  20720. "type": "integer"
  20721. },
  20722. "isvalid": {
  20723. "description": "是否有效 - 0:无效 1:有效",
  20724. "type": "integer"
  20725. },
  20726. "modelid": {
  20727. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  20728. "type": "integer"
  20729. },
  20730. "modelname": {
  20731. "description": "型号名称",
  20732. "type": "string"
  20733. },
  20734. "updatetime": {
  20735. "description": "更新时间",
  20736. "type": "string"
  20737. },
  20738. "updatorid": {
  20739. "description": "更新人",
  20740. "type": "integer"
  20741. },
  20742. "updatorsrc": {
  20743. "description": "更新人来源 - 1:管理端 2:终端",
  20744. "type": "integer"
  20745. },
  20746. "wrstandardid": {
  20747. "description": "现货商品ID",
  20748. "type": "integer"
  20749. }
  20750. }
  20751. },
  20752. "models.ErmcpHedgePosition": {
  20753. "type": "object",
  20754. "properties": {
  20755. "accountid": {
  20756. "description": "资金账号[外部母账户]",
  20757. "type": "integer"
  20758. },
  20759. "curbuyposition": {
  20760. "description": "期末买头寸",
  20761. "type": "integer"
  20762. },
  20763. "cursellposition": {
  20764. "description": "期末卖头寸",
  20765. "type": "integer"
  20766. },
  20767. "curtdbuyposition": {
  20768. "description": "期末今日买头寸",
  20769. "type": "integer"
  20770. },
  20771. "curtdsellposition": {
  20772. "description": "期末今日卖头寸",
  20773. "type": "integer"
  20774. },
  20775. "curydbuyposition": {
  20776. "description": "期末上日买头寸",
  20777. "type": "integer"
  20778. },
  20779. "curydsellposition": {
  20780. "description": "期末上日卖头寸",
  20781. "type": "integer"
  20782. },
  20783. "decreaseqty": {
  20784. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  20785. "type": "integer"
  20786. },
  20787. "fretdbuyposition": {
  20788. "description": "冻结今日买头寸",
  20789. "type": "integer"
  20790. },
  20791. "fretdsellposition": {
  20792. "description": "冻结今日卖头寸",
  20793. "type": "integer"
  20794. },
  20795. "freydbuyposition": {
  20796. "description": "冻结上日买头寸",
  20797. "type": "integer"
  20798. },
  20799. "freydsellposition": {
  20800. "description": "冻结上日卖头寸",
  20801. "type": "integer"
  20802. },
  20803. "goodscode": {
  20804. "description": "商品代码",
  20805. "type": "string"
  20806. },
  20807. "goodsid": {
  20808. "description": "商品id",
  20809. "type": "integer"
  20810. },
  20811. "goodsname": {
  20812. "description": "商品名称",
  20813. "type": "string"
  20814. },
  20815. "hedgeaccountcode": {
  20816. "description": "对冲账号",
  20817. "type": "string"
  20818. },
  20819. "hedgegoodsid": {
  20820. "description": "对冲合约ID",
  20821. "type": "integer"
  20822. },
  20823. "increaseqty": {
  20824. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  20825. "type": "integer"
  20826. },
  20827. "marketid": {
  20828. "description": "市场ID",
  20829. "type": "integer"
  20830. },
  20831. "relateduserid": {
  20832. "description": "关联用户id",
  20833. "type": "integer"
  20834. },
  20835. "totalcurqty": {
  20836. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  20837. "type": "integer"
  20838. },
  20839. "totalydqty": {
  20840. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  20841. "type": "integer"
  20842. },
  20843. "tradedate": {
  20844. "description": "交易日(yyyyMMdd)",
  20845. "type": "string"
  20846. },
  20847. "ydbuyposition": {
  20848. "description": "期初买头寸",
  20849. "type": "integer"
  20850. },
  20851. "ydsellposition": {
  20852. "description": "期初卖头寸",
  20853. "type": "integer"
  20854. }
  20855. }
  20856. },
  20857. "models.ErmcpHedgePositionDetail": {
  20858. "type": "object",
  20859. "properties": {
  20860. "buyorsell": {
  20861. "description": "买卖方向 0-买 1-卖",
  20862. "type": "integer"
  20863. },
  20864. "channelbuildtype": {
  20865. "description": "开平方向 1-建仓 2-平仓",
  20866. "type": "integer"
  20867. },
  20868. "goodscode": {
  20869. "description": "商品代码",
  20870. "type": "string"
  20871. },
  20872. "goodsname": {
  20873. "description": "商品名称",
  20874. "type": "string"
  20875. },
  20876. "hedgegoodsid": {
  20877. "description": "商品id",
  20878. "type": "integer"
  20879. },
  20880. "tradeqty": {
  20881. "description": "数量(成交数量)",
  20882. "type": "integer"
  20883. },
  20884. "tradetime": {
  20885. "description": "时间(成交时间)",
  20886. "type": "string"
  20887. }
  20888. }
  20889. },
  20890. "models.ErmcpHisExposure": {
  20891. "type": "object",
  20892. "properties": {
  20893. "needhedgeexposoure": {
  20894. "description": "应套保敞口",
  20895. "type": "number"
  20896. },
  20897. "reckondate": {
  20898. "description": "日照时期(yyyyMMdd)",
  20899. "type": "string"
  20900. },
  20901. "totalexposure": {
  20902. "description": "总敞口",
  20903. "type": "number"
  20904. }
  20905. }
  20906. },
  20907. "models.ErmcpHisExposureS": {
  20908. "type": "object",
  20909. "properties": {
  20910. "data": {
  20911. "description": "历史敞口",
  20912. "type": "array",
  20913. "items": {
  20914. "$ref": "#/definitions/models.ErmcpHisExposure"
  20915. }
  20916. },
  20917. "enumdicname": {
  20918. "description": "单位名称",
  20919. "type": "string"
  20920. },
  20921. "middlegoodscode": {
  20922. "description": "套保品种代码",
  20923. "type": "string"
  20924. },
  20925. "middlegoodsid": {
  20926. "description": "套保品种ID",
  20927. "type": "integer"
  20928. },
  20929. "middlegoodsname": {
  20930. "description": "套保品种名称",
  20931. "type": "string"
  20932. }
  20933. }
  20934. },
  20935. "models.ErmcpLoginTaAccount": {
  20936. "type": "object",
  20937. "properties": {
  20938. "accountid": {
  20939. "description": "账号id",
  20940. "type": "integer"
  20941. },
  20942. "accountname": {
  20943. "description": "账号名称",
  20944. "type": "string"
  20945. }
  20946. }
  20947. },
  20948. "models.ErmcpLoginUser": {
  20949. "type": "object",
  20950. "properties": {
  20951. "acclist": {
  20952. "description": "关联资金账号",
  20953. "type": "array",
  20954. "items": {
  20955. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  20956. }
  20957. },
  20958. "accountname": {
  20959. "description": "用户名称",
  20960. "type": "string"
  20961. },
  20962. "clientroleid": {
  20963. "description": "角色id(usertype=2)",
  20964. "type": "integer"
  20965. },
  20966. "createtime": {
  20967. "description": "创建时间",
  20968. "type": "string"
  20969. },
  20970. "logincode": {
  20971. "description": "登录代码",
  20972. "type": "string"
  20973. },
  20974. "loginid": {
  20975. "description": "登录id(LOGINID)",
  20976. "type": "integer"
  20977. },
  20978. "loginname": {
  20979. "description": "登录名称(loginaccount表中的accountname字段)",
  20980. "type": "string"
  20981. },
  20982. "loginstatus": {
  20983. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  20984. "type": "integer"
  20985. },
  20986. "memberuserid": {
  20987. "description": "所属会员id",
  20988. "type": "integer"
  20989. },
  20990. "mobile": {
  20991. "description": "手机号",
  20992. "type": "string"
  20993. },
  20994. "modifytime": {
  20995. "description": "修改时间",
  20996. "type": "string"
  20997. },
  20998. "password": {
  20999. "description": "密码(不可解密)",
  21000. "type": "string"
  21001. },
  21002. "rolename": {
  21003. "description": "角色名称",
  21004. "type": "string"
  21005. },
  21006. "rolestatus": {
  21007. "description": "角色状态 1-启用 2-停用",
  21008. "type": "integer"
  21009. },
  21010. "roletype": {
  21011. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  21012. "type": "string"
  21013. },
  21014. "userid": {
  21015. "description": "用户id",
  21016. "type": "integer"
  21017. },
  21018. "usertype": {
  21019. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21020. "type": "integer"
  21021. }
  21022. }
  21023. },
  21024. "models.ErmcpLoginUserEx": {
  21025. "type": "object",
  21026. "properties": {
  21027. "accountstatus": {
  21028. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21029. "type": "integer"
  21030. },
  21031. "mobile": {
  21032. "description": "手机号",
  21033. "type": "string"
  21034. },
  21035. "querytype": {
  21036. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  21037. "type": "integer"
  21038. },
  21039. "roleid": {
  21040. "description": "角色id(交易账户-\u003e用户id)",
  21041. "type": "integer"
  21042. },
  21043. "rolename": {
  21044. "description": "角色名称(交易账户-\u003e用户名称)",
  21045. "type": "string"
  21046. },
  21047. "userlist": {
  21048. "description": "用户列表",
  21049. "type": "array",
  21050. "items": {
  21051. "$ref": "#/definitions/models.ErmcpLoginUser"
  21052. }
  21053. },
  21054. "usertype": {
  21055. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21056. "type": "integer"
  21057. }
  21058. }
  21059. },
  21060. "models.ErmcpMiddleGoodsChangeLog": {
  21061. "type": "object",
  21062. "properties": {
  21063. "aftervalue": {
  21064. "description": "变更后",
  21065. "type": "number"
  21066. },
  21067. "applyid": {
  21068. "description": "操作人",
  21069. "type": "integer"
  21070. },
  21071. "applyname": {
  21072. "description": "操作人名称",
  21073. "type": "string"
  21074. },
  21075. "applysrc": {
  21076. "description": "操作来源 - 1:管理端 2:终端",
  21077. "type": "integer"
  21078. },
  21079. "beforevalue": {
  21080. "description": "变更前",
  21081. "type": "number"
  21082. },
  21083. "changelogtype": {
  21084. "description": "变更流水类型 - 1:套保比率变更",
  21085. "type": "integer"
  21086. },
  21087. "handlestatus": {
  21088. "description": "处理状态",
  21089. "type": "integer"
  21090. },
  21091. "logdatetime": {
  21092. "description": "流水日期",
  21093. "type": "string"
  21094. },
  21095. "logid": {
  21096. "description": "流水ID",
  21097. "type": "integer"
  21098. },
  21099. "logremark": {
  21100. "description": "流水备注",
  21101. "type": "string"
  21102. },
  21103. "middlegoodsid": {
  21104. "description": "套保品种ID",
  21105. "type": "integer"
  21106. },
  21107. "tradedate": {
  21108. "description": "交易日(yyyyMMdd)",
  21109. "type": "string"
  21110. },
  21111. "updatetime": {
  21112. "description": "更新时间",
  21113. "type": "string"
  21114. }
  21115. }
  21116. },
  21117. "models.ErmcpMiddleGoodsDetail": {
  21118. "type": "object",
  21119. "properties": {
  21120. "cvList": {
  21121. "description": "期货品种折算列表",
  21122. "type": "array",
  21123. "items": {
  21124. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21125. }
  21126. },
  21127. "mg": {
  21128. "description": "套保品种基本信息",
  21129. "type": "object",
  21130. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21131. },
  21132. "wrcList": {
  21133. "description": "现货品种列表(现货商品折算配置)",
  21134. "type": "array",
  21135. "items": {
  21136. "$ref": "#/definitions/models.WRSConverTDetail"
  21137. }
  21138. }
  21139. }
  21140. },
  21141. "models.ErmcpMiddleGoodsModel": {
  21142. "type": "object",
  21143. "properties": {
  21144. "areauserid": {
  21145. "description": "机构用户ID",
  21146. "type": "integer"
  21147. },
  21148. "createtime": {
  21149. "description": "修改时间",
  21150. "type": "string"
  21151. },
  21152. "enumdicname": {
  21153. "description": "单位名称",
  21154. "type": "string"
  21155. },
  21156. "evaluateratio": {
  21157. "description": "估价系数",
  21158. "type": "number"
  21159. },
  21160. "goodsgroupid": {
  21161. "description": "关联期货品种ID",
  21162. "type": "integer"
  21163. },
  21164. "goodsunitid": {
  21165. "description": "单位ID",
  21166. "type": "integer"
  21167. },
  21168. "isvalid": {
  21169. "description": "状态 0-无效(停用) 1-有效(正常)",
  21170. "type": "integer"
  21171. },
  21172. "middlegoodscode": {
  21173. "description": "套保品种代码",
  21174. "type": "string"
  21175. },
  21176. "middlegoodsid": {
  21177. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21178. "type": "integer"
  21179. },
  21180. "middlegoodsname": {
  21181. "description": "套保品种名称",
  21182. "type": "string"
  21183. },
  21184. "modifytime": {
  21185. "description": "修改时间",
  21186. "type": "string"
  21187. },
  21188. "needarbitrageratio": {
  21189. "description": "套利比例",
  21190. "type": "number"
  21191. },
  21192. "needhedgeratio": {
  21193. "description": "套保比率",
  21194. "type": "number"
  21195. },
  21196. "qtydecimalplace": {
  21197. "description": "数量小数位",
  21198. "type": "integer"
  21199. },
  21200. "relatedgoodsid": {
  21201. "description": "关联交易商品ID",
  21202. "type": "integer"
  21203. },
  21204. "relatedgoodstype": {
  21205. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21206. "type": "integer"
  21207. },
  21208. "remark": {
  21209. "description": "备注",
  21210. "type": "string"
  21211. }
  21212. }
  21213. },
  21214. "models.ErmcpMiddlegoodsRelateGoods": {
  21215. "type": "object",
  21216. "properties": {
  21217. "agreeunit": {
  21218. "description": "合约乘数",
  21219. "type": "number"
  21220. },
  21221. "convertratio": {
  21222. "description": "折算系数",
  21223. "type": "number"
  21224. },
  21225. "enumdicname": {
  21226. "description": "单位名称(交易商品)",
  21227. "type": "string"
  21228. },
  21229. "goodscode": {
  21230. "description": "交易商品代码",
  21231. "type": "string"
  21232. },
  21233. "goodsgroupid": {
  21234. "description": "交易品种id",
  21235. "type": "integer"
  21236. },
  21237. "goodsid": {
  21238. "description": "商品Id",
  21239. "type": "integer"
  21240. },
  21241. "goodsname": {
  21242. "description": "交易商品名称",
  21243. "type": "string"
  21244. },
  21245. "goodunitid": {
  21246. "description": "交易商品单位id",
  21247. "type": "integer"
  21248. },
  21249. "middlegoodsid": {
  21250. "description": "套保商品id",
  21251. "type": "integer"
  21252. },
  21253. "middlegoodsname": {
  21254. "description": "套保商品名称",
  21255. "type": "string"
  21256. },
  21257. "middlegoodsswcode": {
  21258. "description": "套保商品代码",
  21259. "type": "string"
  21260. },
  21261. "needarbitrageratio": {
  21262. "description": "应套利比例",
  21263. "type": "number"
  21264. },
  21265. "needhedgeratio": {
  21266. "description": "应套保比例",
  21267. "type": "number"
  21268. }
  21269. }
  21270. },
  21271. "models.ErmcpOPLogModel": {
  21272. "type": "object",
  21273. "properties": {
  21274. "aftervalue": {
  21275. "description": "变更后",
  21276. "type": "number"
  21277. },
  21278. "applyid": {
  21279. "description": "操作人ID",
  21280. "type": "string"
  21281. },
  21282. "applyname": {
  21283. "description": "操作人名称",
  21284. "type": "string"
  21285. },
  21286. "beforevalue": {
  21287. "description": "变更前",
  21288. "type": "number"
  21289. },
  21290. "biztype": {
  21291. "description": "业务类型 - 1:套保计划 2:现货合同",
  21292. "type": "integer"
  21293. },
  21294. "contracttype": {
  21295. "description": "现货合同类型 - 1:采购 -1:销售",
  21296. "type": "integer"
  21297. },
  21298. "logvalue": {
  21299. "description": "数值",
  21300. "type": "number"
  21301. },
  21302. "operatelogtype": {
  21303. "description": "操作流水类型",
  21304. "type": "integer"
  21305. },
  21306. "operatelogtypedesc": {
  21307. "description": "操作流水类型名称",
  21308. "type": "string"
  21309. },
  21310. "relatedid": {
  21311. "description": "现货合同ID\\套保计划",
  21312. "type": "string"
  21313. },
  21314. "updatetime": {
  21315. "description": "更新时间",
  21316. "type": "string"
  21317. }
  21318. }
  21319. },
  21320. "models.ErmcpPendingAudit": {
  21321. "type": "object",
  21322. "properties": {
  21323. "areastockqty": {
  21324. "description": "待审核数量: 库存申请",
  21325. "type": "integer"
  21326. },
  21327. "businessdjqty": {
  21328. "description": "待审核数量: 点价",
  21329. "type": "integer"
  21330. },
  21331. "businessfpqty": {
  21332. "description": "待审核数量: 发票",
  21333. "type": "integer"
  21334. },
  21335. "businessjsqty": {
  21336. "description": "待审核数量: 结算",
  21337. "type": "integer"
  21338. },
  21339. "businesskxqty": {
  21340. "description": "待审核数量: 款项",
  21341. "type": "integer"
  21342. },
  21343. "hedgeplanqty": {
  21344. "description": "待审核数量: 套保计划",
  21345. "type": "integer"
  21346. },
  21347. "spotcontractqty": {
  21348. "description": "待审核数量: 现货合同",
  21349. "type": "integer"
  21350. },
  21351. "userqty": {
  21352. "description": "待审核数量: 用户",
  21353. "type": "integer"
  21354. }
  21355. }
  21356. },
  21357. "models.ErmcpRealExposureModel": {
  21358. "type": "object",
  21359. "properties": {
  21360. "AreaUserID": {
  21361. "description": "所属机构",
  21362. "type": "integer"
  21363. },
  21364. "BuyFutureQty": {
  21365. "description": "买入期货数量",
  21366. "type": "number"
  21367. },
  21368. "BuyPlanQty": {
  21369. "description": "采购计划数量",
  21370. "type": "number"
  21371. },
  21372. "BuyPricedQty": {
  21373. "description": "采购合同已定价数量",
  21374. "type": "number"
  21375. },
  21376. "MiddleGoodsCode": {
  21377. "description": "套保品种代码",
  21378. "type": "string"
  21379. },
  21380. "MiddleGoodsHedgeRatio": {
  21381. "description": "套保比例",
  21382. "type": "number"
  21383. },
  21384. "MiddleGoodsID": {
  21385. "description": "套保品种",
  21386. "type": "integer"
  21387. },
  21388. "MiddleGoodsName": {
  21389. "description": "套保品种名称",
  21390. "type": "string"
  21391. },
  21392. "NeedHedgeExposoure": {
  21393. "description": "应套保敞口(套保敞口)",
  21394. "type": "number"
  21395. },
  21396. "NeedHedgeRatio": {
  21397. "description": "应套保敞口比例",
  21398. "type": "number"
  21399. },
  21400. "OriBuyFutureQty": {
  21401. "description": "期初买入期货数量",
  21402. "type": "number"
  21403. },
  21404. "OriBuyPlanQty": {
  21405. "description": "期初采购计划数量",
  21406. "type": "number"
  21407. },
  21408. "OriBuyPricedQty": {
  21409. "description": "期初采购合同已定价数量",
  21410. "type": "number"
  21411. },
  21412. "OriSellFutureQty": {
  21413. "description": "期初卖出期货数量",
  21414. "type": "number"
  21415. },
  21416. "OriSellPlanQty": {
  21417. "description": "期初销售计划数量",
  21418. "type": "number"
  21419. },
  21420. "OriSellPricedQty": {
  21421. "description": "期初销售合同已定价数量",
  21422. "type": "number"
  21423. },
  21424. "SellFutureQty": {
  21425. "description": "卖出期货数量",
  21426. "type": "number"
  21427. },
  21428. "SellPlanQty": {
  21429. "description": "销售计划数量",
  21430. "type": "number"
  21431. },
  21432. "SellPricedQty": {
  21433. "description": "销售合同已定价数量",
  21434. "type": "number"
  21435. },
  21436. "TotalExposure": {
  21437. "description": "总敞口",
  21438. "type": "number"
  21439. },
  21440. "TotalFutureQty": {
  21441. "description": "期货总量",
  21442. "type": "number"
  21443. },
  21444. "TotalHedgeRatio": {
  21445. "description": "敞口比例",
  21446. "type": "number"
  21447. },
  21448. "TotalNeedHedgeQty": {
  21449. "description": "应套保总量(现货应套保总量)",
  21450. "type": "number"
  21451. },
  21452. "TotalSpotQty": {
  21453. "description": "现货总量",
  21454. "type": "number"
  21455. },
  21456. "arbitrageqty": {
  21457. "description": "套利量",
  21458. "type": "number"
  21459. },
  21460. "diffArbitrageQty": {
  21461. "description": "套利变动量",
  21462. "type": "number"
  21463. },
  21464. "diffExposoureQty": {
  21465. "description": "变动量(套保敞口)",
  21466. "type": "number"
  21467. },
  21468. "diffFutuQty": {
  21469. "description": "变动量(期货总量)",
  21470. "type": "number"
  21471. },
  21472. "diffHedgeQty": {
  21473. "description": "套保变动量",
  21474. "type": "number"
  21475. },
  21476. "diffQty": {
  21477. "description": "变动量(总敞口)",
  21478. "type": "number"
  21479. },
  21480. "diffSpotHedgeQty": {
  21481. "description": "变动量(现货应套保总量)",
  21482. "type": "number"
  21483. },
  21484. "diffSpotQty": {
  21485. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  21486. "type": "number"
  21487. },
  21488. "enumdicname": {
  21489. "description": "单位名称",
  21490. "type": "string"
  21491. },
  21492. "hedgeqty": {
  21493. "description": "套保量",
  21494. "type": "number"
  21495. },
  21496. "needarbitrageqty": {
  21497. "description": "应套利量",
  21498. "type": "number"
  21499. },
  21500. "needarbitrageratio": {
  21501. "description": "套利比例",
  21502. "type": "number"
  21503. },
  21504. "needhedgeqty": {
  21505. "description": "应套保量",
  21506. "type": "number"
  21507. },
  21508. "oriTotalFutuQty": {
  21509. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  21510. "type": "number"
  21511. },
  21512. "oriTotalSpotQty": {
  21513. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  21514. "type": "number"
  21515. },
  21516. "oriarbitrageqty": {
  21517. "description": "期初套利量",
  21518. "type": "number"
  21519. },
  21520. "orihedgeqty": {
  21521. "description": "期初套保量",
  21522. "type": "number"
  21523. },
  21524. "orineedhedgeexposoure": {
  21525. "description": "期初套保敞口",
  21526. "type": "number"
  21527. },
  21528. "oritotalexposure": {
  21529. "description": "期初总敞口",
  21530. "type": "number"
  21531. },
  21532. "oritotalfutureqty": {
  21533. "description": "期初期货总量",
  21534. "type": "number"
  21535. },
  21536. "oritotalneedhedgeqty": {
  21537. "description": "期初现货应套保量",
  21538. "type": "number"
  21539. }
  21540. }
  21541. },
  21542. "models.ErmcpRole": {
  21543. "type": "object",
  21544. "properties": {
  21545. "areauserid": {
  21546. "description": "所属机构",
  21547. "type": "integer"
  21548. },
  21549. "autoid": {
  21550. "description": "角色ID(自增ID)",
  21551. "type": "integer"
  21552. },
  21553. "modifierid": {
  21554. "description": "修改人(创建人)",
  21555. "type": "integer"
  21556. },
  21557. "modifiername": {
  21558. "description": "修改人名称",
  21559. "type": "string"
  21560. },
  21561. "modifytime": {
  21562. "description": "修改时间(创建时间)",
  21563. "type": "string"
  21564. },
  21565. "rolename": {
  21566. "description": "角色名称",
  21567. "type": "string"
  21568. },
  21569. "rolestatus": {
  21570. "description": "角色状态 - 1:启用 2:停用",
  21571. "type": "integer"
  21572. },
  21573. "roletype": {
  21574. "description": "角色类型 - 1- 管理端 2- 交易端",
  21575. "type": "integer"
  21576. }
  21577. }
  21578. },
  21579. "models.ErmcpRoleMenu": {
  21580. "type": "object",
  21581. "properties": {
  21582. "iconame": {
  21583. "description": "菜单图标",
  21584. "type": "string"
  21585. },
  21586. "ishadrole": {
  21587. "description": "是否有权限",
  21588. "type": "boolean"
  21589. },
  21590. "menutype": {
  21591. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  21592. "type": "integer"
  21593. },
  21594. "parentcode": {
  21595. "description": "上级资源代码",
  21596. "type": "string"
  21597. },
  21598. "remark": {
  21599. "description": "菜单备注",
  21600. "type": "string"
  21601. },
  21602. "resourcecode": {
  21603. "description": "菜单代码",
  21604. "type": "string"
  21605. },
  21606. "resourcelevel": {
  21607. "description": "级别",
  21608. "type": "integer"
  21609. },
  21610. "resourcename": {
  21611. "description": "菜单名称",
  21612. "type": "string"
  21613. },
  21614. "roleid": {
  21615. "description": "角色id",
  21616. "type": "integer"
  21617. },
  21618. "sort": {
  21619. "description": "排序",
  21620. "type": "integer"
  21621. },
  21622. "url": {
  21623. "description": "URL",
  21624. "type": "string"
  21625. },
  21626. "userid": {
  21627. "description": "用户id",
  21628. "type": "integer"
  21629. }
  21630. }
  21631. },
  21632. "models.ErmcpRoleMenuEx": {
  21633. "type": "object",
  21634. "properties": {
  21635. "menu": {
  21636. "description": "父级菜单",
  21637. "type": "object",
  21638. "$ref": "#/definitions/models.ErmcpRoleMenu"
  21639. },
  21640. "subMenu": {
  21641. "description": "子级菜单",
  21642. "type": "array",
  21643. "items": {
  21644. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  21645. }
  21646. }
  21647. }
  21648. },
  21649. "models.ErmcpTaAccount": {
  21650. "type": "object",
  21651. "properties": {
  21652. "accountid": {
  21653. "description": "账户id",
  21654. "type": "integer"
  21655. },
  21656. "accountname": {
  21657. "description": "账户名称",
  21658. "type": "string"
  21659. },
  21660. "currencyid": {
  21661. "description": "币种id",
  21662. "type": "integer"
  21663. },
  21664. "hedgeaccountcode": {
  21665. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21666. "type": "string"
  21667. },
  21668. "ismain": {
  21669. "description": "是否主账户 0-否 1-是",
  21670. "type": "integer"
  21671. },
  21672. "parentaccountid": {
  21673. "description": "父账户id",
  21674. "type": "integer"
  21675. },
  21676. "relateduserid": {
  21677. "description": "关联userid",
  21678. "type": "integer"
  21679. },
  21680. "tradefeetmpid": {
  21681. "description": "手续费模板id",
  21682. "type": "integer"
  21683. },
  21684. "tradefeetmpname": {
  21685. "description": "手续费模板名称",
  21686. "type": "string"
  21687. },
  21688. "trademargintmpid": {
  21689. "description": "保证金模板id",
  21690. "type": "integer"
  21691. },
  21692. "trademargintmpname": {
  21693. "description": "保证金模板名称",
  21694. "type": "string"
  21695. },
  21696. "traderatetmpid": {
  21697. "description": "汇率模板id",
  21698. "type": "integer"
  21699. },
  21700. "traderatetmpname": {
  21701. "description": "汇率模板名称",
  21702. "type": "string"
  21703. },
  21704. "tradestatus": {
  21705. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21706. "type": "integer"
  21707. },
  21708. "userid": {
  21709. "description": "用户id",
  21710. "type": "integer"
  21711. }
  21712. }
  21713. },
  21714. "models.ErmcpTaAccountEx": {
  21715. "type": "object",
  21716. "properties": {
  21717. "mainAcc": {
  21718. "description": "主账号",
  21719. "type": "object",
  21720. "$ref": "#/definitions/models.ErmcpTaAccountM"
  21721. },
  21722. "subacclist": {
  21723. "description": "子账号列表",
  21724. "type": "array",
  21725. "items": {
  21726. "$ref": "#/definitions/models.ErmcpTaAccount"
  21727. }
  21728. }
  21729. }
  21730. },
  21731. "models.ErmcpTaAccountInfo": {
  21732. "type": "object",
  21733. "properties": {
  21734. "accountid": {
  21735. "description": "资金账户ID",
  21736. "type": "integer"
  21737. },
  21738. "accountname": {
  21739. "description": "账户名称",
  21740. "type": "string"
  21741. },
  21742. "balance": {
  21743. "description": "期初余额",
  21744. "type": "number"
  21745. },
  21746. "capitalbalance": {
  21747. "description": "本金余额[外部子账户实际出入金余额]",
  21748. "type": "number"
  21749. },
  21750. "closepl": {
  21751. "description": "今日平仓盈亏",
  21752. "type": "number"
  21753. },
  21754. "creditdecrease": {
  21755. "description": "今日授信减少",
  21756. "type": "number"
  21757. },
  21758. "creditincrease": {
  21759. "description": "今日授信增加",
  21760. "type": "number"
  21761. },
  21762. "curdebt": {
  21763. "description": "期末欠款",
  21764. "type": "number"
  21765. },
  21766. "currencyid": {
  21767. "description": "货币ID",
  21768. "type": "integer"
  21769. },
  21770. "currentbalance": {
  21771. "description": "期末余额",
  21772. "type": "number"
  21773. },
  21774. "freezecharge": {
  21775. "description": "手续费冻结",
  21776. "type": "number"
  21777. },
  21778. "freezemargin": {
  21779. "description": "冻结保证金",
  21780. "type": "number"
  21781. },
  21782. "fromaccountid": {
  21783. "description": "所属上级账户",
  21784. "type": "integer"
  21785. },
  21786. "inamount": {
  21787. "description": "今日入金金额(包括三方入金)",
  21788. "type": "number"
  21789. },
  21790. "ismain": {
  21791. "description": "是否母账号 0:不是母账户 1:是母账户",
  21792. "type": "integer"
  21793. },
  21794. "mortgagecredit": {
  21795. "description": "授信金额",
  21796. "type": "number"
  21797. },
  21798. "oridebt": {
  21799. "description": "期初欠款",
  21800. "type": "number"
  21801. },
  21802. "orifreezecharge": {
  21803. "description": "期初手续费冻结",
  21804. "type": "number"
  21805. },
  21806. "orifreezemargin": {
  21807. "description": "期初冻结保证金",
  21808. "type": "number"
  21809. },
  21810. "orimortgagecredit": {
  21811. "description": "期初授信金额",
  21812. "type": "number"
  21813. },
  21814. "oriothercredit": {
  21815. "description": "期初其它授信金额",
  21816. "type": "number"
  21817. },
  21818. "oriotherfreezemargin": {
  21819. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21820. "type": "number"
  21821. },
  21822. "orioutamountfreeze": {
  21823. "description": "期初出金冻结",
  21824. "type": "number"
  21825. },
  21826. "oriusedmargin": {
  21827. "description": "期初占用保证金",
  21828. "type": "number"
  21829. },
  21830. "othercredit": {
  21831. "description": "其它授信金额",
  21832. "type": "number"
  21833. },
  21834. "othercreditdecrease": {
  21835. "description": "今日其它授信减少",
  21836. "type": "number"
  21837. },
  21838. "othercreditincrease": {
  21839. "description": "今日其它授信增加",
  21840. "type": "number"
  21841. },
  21842. "otherfreezemargin": {
  21843. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21844. "type": "number"
  21845. },
  21846. "outamount": {
  21847. "description": "今日出金金额(包括三方出金)",
  21848. "type": "number"
  21849. },
  21850. "outamountfreeze": {
  21851. "description": "出金冻结",
  21852. "type": "number"
  21853. },
  21854. "outthreshold": {
  21855. "description": "出金阈值",
  21856. "type": "number"
  21857. },
  21858. "parentaccountid": {
  21859. "description": "所属根账号",
  21860. "type": "integer"
  21861. },
  21862. "paycharge": {
  21863. "description": "今日手续费支出",
  21864. "type": "number"
  21865. },
  21866. "relateduserid": {
  21867. "description": "关联用户",
  21868. "type": "integer"
  21869. },
  21870. "signstatus": {
  21871. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21872. "type": "integer"
  21873. },
  21874. "sublevelpath": {
  21875. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21876. "type": "string"
  21877. },
  21878. "taaccounttype": {
  21879. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21880. "type": "integer"
  21881. },
  21882. "thirdinamount": {
  21883. "description": "今日三方入金",
  21884. "type": "number"
  21885. },
  21886. "thirdoutamount": {
  21887. "description": "今日三方出金",
  21888. "type": "number"
  21889. },
  21890. "tradestatus": {
  21891. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21892. "type": "integer"
  21893. },
  21894. "transferamount": {
  21895. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21896. "type": "number"
  21897. },
  21898. "usedmargin": {
  21899. "description": "占用保证金",
  21900. "type": "number"
  21901. },
  21902. "userid": {
  21903. "description": "用户ID",
  21904. "type": "integer"
  21905. }
  21906. }
  21907. },
  21908. "models.ErmcpTaAccountM": {
  21909. "type": "object",
  21910. "properties": {
  21911. "accountid": {
  21912. "description": "账户id",
  21913. "type": "integer"
  21914. },
  21915. "accountname": {
  21916. "description": "账户名称",
  21917. "type": "string"
  21918. },
  21919. "currencyid": {
  21920. "description": "币种id",
  21921. "type": "integer"
  21922. },
  21923. "fcid": {
  21924. "description": "期货公司id",
  21925. "type": "integer"
  21926. },
  21927. "fcname": {
  21928. "description": "期货公司代码",
  21929. "type": "string"
  21930. },
  21931. "hedgeaccountcode": {
  21932. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21933. "type": "string"
  21934. },
  21935. "ismain": {
  21936. "description": "是否主账户 0-否 1-是",
  21937. "type": "integer"
  21938. },
  21939. "parentaccountid": {
  21940. "description": "父账户id",
  21941. "type": "integer"
  21942. },
  21943. "relateduserid": {
  21944. "description": "关联userid",
  21945. "type": "integer"
  21946. },
  21947. "tradefeetmpid": {
  21948. "description": "手续费模板id",
  21949. "type": "integer"
  21950. },
  21951. "tradefeetmpname": {
  21952. "description": "手续费模板名称",
  21953. "type": "string"
  21954. },
  21955. "trademargintmpid": {
  21956. "description": "保证金模板id",
  21957. "type": "integer"
  21958. },
  21959. "trademargintmpname": {
  21960. "description": "保证金模板名称",
  21961. "type": "string"
  21962. },
  21963. "traderatetmpid": {
  21964. "description": "汇率模板id",
  21965. "type": "integer"
  21966. },
  21967. "traderatetmpname": {
  21968. "description": "汇率模板名称",
  21969. "type": "string"
  21970. },
  21971. "tradestatus": {
  21972. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21973. "type": "integer"
  21974. },
  21975. "userid": {
  21976. "description": "用户id",
  21977. "type": "integer"
  21978. }
  21979. }
  21980. },
  21981. "models.ErmcpTradeConfigTMP": {
  21982. "type": "object",
  21983. "properties": {
  21984. "areauserid": {
  21985. "description": "所属机构",
  21986. "type": "integer"
  21987. },
  21988. "basiccurrencyid": {
  21989. "description": "基本币种ID[汇率] - 目标币种",
  21990. "type": "integer"
  21991. },
  21992. "mainaccountid": {
  21993. "description": "主账户ID",
  21994. "type": "integer"
  21995. },
  21996. "modifierid": {
  21997. "description": "修改人",
  21998. "type": "integer"
  21999. },
  22000. "remark": {
  22001. "description": "备注",
  22002. "type": "string"
  22003. },
  22004. "tradeconfigtmpid": {
  22005. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  22006. "type": "integer"
  22007. },
  22008. "tradeconfigtmpname": {
  22009. "description": "交易配置模板名称",
  22010. "type": "string"
  22011. },
  22012. "tradeconfigtmptype": {
  22013. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  22014. "type": "integer"
  22015. },
  22016. "updatetime": {
  22017. "description": "更新时间",
  22018. "type": "string"
  22019. }
  22020. }
  22021. },
  22022. "models.ErmcpUserModel": {
  22023. "type": "object",
  22024. "properties": {
  22025. "address": {
  22026. "description": "通讯地址",
  22027. "type": "string"
  22028. },
  22029. "attachment1": {
  22030. "description": "附件1",
  22031. "type": "string"
  22032. },
  22033. "audittime": {
  22034. "description": "审核时间",
  22035. "type": "string"
  22036. },
  22037. "cardbackphotourl": {
  22038. "description": "证件反面图片地址",
  22039. "type": "string"
  22040. },
  22041. "cardfrontphotourl": {
  22042. "description": "证件正面图片地址",
  22043. "type": "string"
  22044. },
  22045. "cardnum": {
  22046. "description": "证件号码",
  22047. "type": "string"
  22048. },
  22049. "cardtype": {
  22050. "description": "证件类型",
  22051. "type": "integer"
  22052. },
  22053. "cardtypename": {
  22054. "description": "证件类型名称",
  22055. "type": "string"
  22056. },
  22057. "cityid": {
  22058. "description": "市",
  22059. "type": "integer"
  22060. },
  22061. "contactname": {
  22062. "description": "联系人",
  22063. "type": "string"
  22064. },
  22065. "countryid": {
  22066. "description": "国家",
  22067. "type": "integer"
  22068. },
  22069. "createtime": {
  22070. "description": "创建时间",
  22071. "type": "string"
  22072. },
  22073. "customername": {
  22074. "description": "企业名称",
  22075. "type": "string"
  22076. },
  22077. "districtid": {
  22078. "description": "区域",
  22079. "type": "integer"
  22080. },
  22081. "email": {
  22082. "description": "邮件",
  22083. "type": "string"
  22084. },
  22085. "legalpersonname": {
  22086. "description": "法人姓名(企业)",
  22087. "type": "string"
  22088. },
  22089. "memberuserid": {
  22090. "description": "所属机构ID",
  22091. "type": "integer"
  22092. },
  22093. "mobile": {
  22094. "description": "手机号码",
  22095. "type": "string"
  22096. },
  22097. "modifytime": {
  22098. "description": "修改时间",
  22099. "type": "string"
  22100. },
  22101. "nickname": {
  22102. "description": "昵称",
  22103. "type": "string"
  22104. },
  22105. "provinceid": {
  22106. "description": "省",
  22107. "type": "integer"
  22108. },
  22109. "remark": {
  22110. "description": "备注",
  22111. "type": "string"
  22112. },
  22113. "status": {
  22114. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22115. "type": "integer"
  22116. },
  22117. "statusdesc": {
  22118. "description": "账户状态中文描述",
  22119. "type": "string"
  22120. },
  22121. "taxpayernum": {
  22122. "description": "纳税人识别号",
  22123. "type": "string"
  22124. },
  22125. "telphone": {
  22126. "description": "联系电话",
  22127. "type": "string"
  22128. },
  22129. "userid": {
  22130. "description": "用户ID",
  22131. "type": "integer"
  22132. },
  22133. "userinfotype": {
  22134. "description": "客户类型",
  22135. "type": "string"
  22136. }
  22137. }
  22138. },
  22139. "models.ErmcpWareHouseInfo": {
  22140. "type": "object",
  22141. "properties": {
  22142. "address": {
  22143. "description": "详细地址",
  22144. "type": "string"
  22145. },
  22146. "areauserid": {
  22147. "description": "所属机构",
  22148. "type": "integer"
  22149. },
  22150. "autoid": {
  22151. "description": "自增ID(仓库ID)",
  22152. "type": "integer"
  22153. },
  22154. "cityid": {
  22155. "description": "市",
  22156. "type": "integer"
  22157. },
  22158. "contactname": {
  22159. "description": "联系人",
  22160. "type": "string"
  22161. },
  22162. "contactnum": {
  22163. "description": "联系电话",
  22164. "type": "string"
  22165. },
  22166. "countryid": {
  22167. "description": "国家",
  22168. "type": "integer"
  22169. },
  22170. "createtime": {
  22171. "description": "创建时间",
  22172. "type": "string"
  22173. },
  22174. "districtid": {
  22175. "description": "区",
  22176. "type": "integer"
  22177. },
  22178. "hasvideo": {
  22179. "description": "是否有视频 - 0:无 1:有",
  22180. "type": "integer"
  22181. },
  22182. "provinceid": {
  22183. "description": "省",
  22184. "type": "integer"
  22185. },
  22186. "remark": {
  22187. "description": "审核备注",
  22188. "type": "string"
  22189. },
  22190. "videourl": {
  22191. "description": "视频地址",
  22192. "type": "string"
  22193. },
  22194. "warehousecode": {
  22195. "description": "仓库代码",
  22196. "type": "string"
  22197. },
  22198. "warehousename": {
  22199. "description": "仓库名称",
  22200. "type": "string"
  22201. },
  22202. "warehousestatus": {
  22203. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22204. "type": "integer"
  22205. },
  22206. "warehousetype": {
  22207. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22208. "type": "integer"
  22209. }
  22210. }
  22211. },
  22212. "models.Externalexchange": {
  22213. "type": "object",
  22214. "required": [
  22215. "autoid"
  22216. ],
  22217. "properties": {
  22218. "autoid": {
  22219. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22220. "type": "integer"
  22221. },
  22222. "exchangefullname": {
  22223. "description": "外部交易所全称",
  22224. "type": "string"
  22225. },
  22226. "exexchangecode": {
  22227. "description": "外部交易所代码",
  22228. "type": "string"
  22229. },
  22230. "exexchangename": {
  22231. "description": "外部交易所名称(简称)",
  22232. "type": "string"
  22233. },
  22234. "ismarketprice": {
  22235. "description": "是否支持市价 - 0:不支持 1:支持",
  22236. "type": "integer"
  22237. },
  22238. "quotegear": {
  22239. "description": "行情档位(1-10)",
  22240. "type": "integer"
  22241. },
  22242. "showbrokerflag": {
  22243. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22244. "type": "integer"
  22245. },
  22246. "updatetime": {
  22247. "description": "更新时间",
  22248. "type": "string"
  22249. }
  22250. }
  22251. },
  22252. "models.Funcmenulist": {
  22253. "type": "object",
  22254. "required": [
  22255. "resourcecode"
  22256. ],
  22257. "properties": {
  22258. "iconame": {
  22259. "description": "菜单图标",
  22260. "type": "string"
  22261. },
  22262. "menutype": {
  22263. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22264. "type": "integer"
  22265. },
  22266. "parentcode": {
  22267. "description": "上级资源代码",
  22268. "type": "string"
  22269. },
  22270. "remark": {
  22271. "description": "备注",
  22272. "type": "string"
  22273. },
  22274. "resourcecode": {
  22275. "description": "资源代码",
  22276. "type": "string"
  22277. },
  22278. "resourcelevel": {
  22279. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22280. "type": "integer"
  22281. },
  22282. "resourcename": {
  22283. "description": "资源名",
  22284. "type": "string"
  22285. },
  22286. "sort": {
  22287. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  22288. "type": "integer"
  22289. },
  22290. "url": {
  22291. "description": "URL",
  22292. "type": "string"
  22293. }
  22294. }
  22295. },
  22296. "models.Goods": {
  22297. "type": "object",
  22298. "required": [
  22299. "goodscode",
  22300. "goodsid",
  22301. "goodsname",
  22302. "marketid"
  22303. ],
  22304. "properties": {
  22305. "agreeunit": {
  22306. "description": "合约单位",
  22307. "type": "number"
  22308. },
  22309. "areauserid": {
  22310. "description": "所属机构",
  22311. "type": "integer"
  22312. },
  22313. "auditaccountid": {
  22314. "description": "审核操作员账号",
  22315. "type": "integer"
  22316. },
  22317. "audittime": {
  22318. "description": "审核时间",
  22319. "type": "string"
  22320. },
  22321. "cancelaccountid": {
  22322. "description": "注销操作员账号",
  22323. "type": "integer"
  22324. },
  22325. "canceltime": {
  22326. "description": "注销时间",
  22327. "type": "string"
  22328. },
  22329. "closepricemode": {
  22330. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22331. "type": "integer"
  22332. },
  22333. "closepriceparam": {
  22334. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  22335. "type": "number"
  22336. },
  22337. "createtime": {
  22338. "description": "创建时间",
  22339. "type": "string"
  22340. },
  22341. "creatorid": {
  22342. "description": "创建人",
  22343. "type": "integer"
  22344. },
  22345. "currencyid": {
  22346. "description": "报价货币ID",
  22347. "type": "integer"
  22348. },
  22349. "cutmode": {
  22350. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22351. "type": "integer"
  22352. },
  22353. "decimalplace": {
  22354. "description": "报价小数位",
  22355. "type": "integer"
  22356. },
  22357. "delistingdate": {
  22358. "description": "商品退市时间(状态:退市) -- 已作废",
  22359. "type": "string"
  22360. },
  22361. "delistingmode": {
  22362. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22363. "type": "integer"
  22364. },
  22365. "deliveryflag": {
  22366. "description": "交割标志 - 0:不可交割 1:可交割",
  22367. "type": "integer"
  22368. },
  22369. "forceclosemode": {
  22370. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22371. "type": "integer"
  22372. },
  22373. "forceclosevalue": {
  22374. "description": "定期强平参数 [收益权]",
  22375. "type": "integer"
  22376. },
  22377. "goodscode": {
  22378. "description": "商品代码(内部)",
  22379. "type": "string"
  22380. },
  22381. "goodscurrencyid": {
  22382. "description": "合约货币ID",
  22383. "type": "integer"
  22384. },
  22385. "goodsgroupid": {
  22386. "description": "所属商品组ID",
  22387. "type": "integer"
  22388. },
  22389. "goodsid": {
  22390. "description": "商品ID(自增ID SEQ_GOODS)",
  22391. "type": "integer"
  22392. },
  22393. "goodsname": {
  22394. "description": "商品名称",
  22395. "type": "string"
  22396. },
  22397. "goodsquotetype": {
  22398. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22399. "type": "integer"
  22400. },
  22401. "goodsstatus": {
  22402. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22403. "type": "integer"
  22404. },
  22405. "goodstradetype": {
  22406. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22407. "type": "integer"
  22408. },
  22409. "goodunitid": {
  22410. "description": "报价单位ID",
  22411. "type": "integer"
  22412. },
  22413. "hasquoter": {
  22414. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  22415. "type": "integer"
  22416. },
  22417. "hqprotecttime": {
  22418. "description": "行情保护时间(秒)",
  22419. "type": "integer"
  22420. },
  22421. "innerdealmode": {
  22422. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22423. "type": "integer"
  22424. },
  22425. "isbuylimited": {
  22426. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22427. "type": "integer"
  22428. },
  22429. "isvisible": {
  22430. "description": "游客是否可见 - 0:不可见 1:可见",
  22431. "type": "integer"
  22432. },
  22433. "lasttradedate": {
  22434. "description": "最后交易日期(状态:待退市)",
  22435. "type": "string"
  22436. },
  22437. "listingdate": {
  22438. "description": "交易开始日期",
  22439. "type": "string"
  22440. },
  22441. "marketid": {
  22442. "description": "所属市场ID",
  22443. "type": "integer"
  22444. },
  22445. "modifierid": {
  22446. "description": "修改人",
  22447. "type": "integer"
  22448. },
  22449. "modifystatus": {
  22450. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  22451. "type": "integer"
  22452. },
  22453. "modifytime": {
  22454. "description": "修改时间",
  22455. "type": "string"
  22456. },
  22457. "outerdealmode": {
  22458. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22459. "type": "integer"
  22460. },
  22461. "outgoodscode": {
  22462. "description": "商品代码(外部)",
  22463. "type": "string"
  22464. },
  22465. "pictureurl": {
  22466. "description": "商品图片",
  22467. "type": "string"
  22468. },
  22469. "qtydecimalplace": {
  22470. "description": "成交量小数位",
  22471. "type": "integer"
  22472. },
  22473. "quotegear": {
  22474. "description": "行情档位(1-10)",
  22475. "type": "integer"
  22476. },
  22477. "quoteminunit": {
  22478. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22479. "type": "integer"
  22480. },
  22481. "quoteshowtype": {
  22482. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  22483. "type": "integer"
  22484. },
  22485. "quoteshowtypeinterval": {
  22486. "description": "行情报价间隔时间(秒)(成交价时为0)",
  22487. "type": "integer"
  22488. },
  22489. "remark": {
  22490. "description": "备注",
  22491. "type": "string"
  22492. }
  22493. }
  22494. },
  22495. "models.GoodsIDAndName": {
  22496. "type": "object",
  22497. "required": [
  22498. "goodscode",
  22499. "goodsid",
  22500. "goodsname",
  22501. "marketid"
  22502. ],
  22503. "properties": {
  22504. "goodscode": {
  22505. "description": "商品代码(内部)",
  22506. "type": "string"
  22507. },
  22508. "goodsid": {
  22509. "description": "商品ID(自增ID SEQ_GOODS)",
  22510. "type": "integer"
  22511. },
  22512. "goodsname": {
  22513. "description": "商品名称",
  22514. "type": "string"
  22515. },
  22516. "marketid": {
  22517. "description": "所属市场ID",
  22518. "type": "integer"
  22519. }
  22520. }
  22521. },
  22522. "models.Goodsgroup": {
  22523. "type": "object",
  22524. "required": [
  22525. "goodsgroupid",
  22526. "goodsgroupname",
  22527. "goodsgroupstatus",
  22528. "marketid"
  22529. ],
  22530. "properties": {
  22531. "agreeunit": {
  22532. "description": "合约单位",
  22533. "type": "number"
  22534. },
  22535. "canshort": {
  22536. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22537. "type": "integer"
  22538. },
  22539. "closepricemode": {
  22540. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22541. "type": "integer"
  22542. },
  22543. "closepriceparam": {
  22544. "description": "强平最新价浮动比例 - 方式为2时使用",
  22545. "type": "number"
  22546. },
  22547. "createtime": {
  22548. "description": "创建时间",
  22549. "type": "string"
  22550. },
  22551. "creatorid": {
  22552. "description": "创建人",
  22553. "type": "integer"
  22554. },
  22555. "currencyid": {
  22556. "description": "报价货币ID",
  22557. "type": "integer"
  22558. },
  22559. "decimalplace": {
  22560. "description": "报价小数位",
  22561. "type": "integer"
  22562. },
  22563. "exercisetype": {
  22564. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  22565. "type": "integer"
  22566. },
  22567. "exexchangeid": {
  22568. "description": "外部交易所ID[通道交易]",
  22569. "type": "integer"
  22570. },
  22571. "goodsgroupid": {
  22572. "description": "商品组ID(自增ID)",
  22573. "type": "integer"
  22574. },
  22575. "goodsgroupname": {
  22576. "description": "商品组名称",
  22577. "type": "string"
  22578. },
  22579. "goodsgroupstatus": {
  22580. "description": "商品组状态 - 1:正常 2:注销",
  22581. "type": "integer"
  22582. },
  22583. "goodunitid": {
  22584. "description": "报价单位ID",
  22585. "type": "integer"
  22586. },
  22587. "innerdealmode": {
  22588. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22589. "type": "integer"
  22590. },
  22591. "isbuylimited": {
  22592. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22593. "type": "integer"
  22594. },
  22595. "marketid": {
  22596. "description": "所属市场ID",
  22597. "type": "integer"
  22598. },
  22599. "modifierid": {
  22600. "description": "修改人",
  22601. "type": "integer"
  22602. },
  22603. "modifytime": {
  22604. "description": "修改时间",
  22605. "type": "string"
  22606. },
  22607. "outerdealmode": {
  22608. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22609. "type": "integer"
  22610. },
  22611. "outergroupcode": {
  22612. "description": "外部商品组代码[通道交易]",
  22613. "type": "string"
  22614. },
  22615. "premiumdecimalplace": {
  22616. "description": "权利金小数位[场外期权]",
  22617. "type": "integer"
  22618. },
  22619. "premiumspreadalgorithm": {
  22620. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  22621. "type": "integer"
  22622. },
  22623. "premiumspreadvalue": {
  22624. "description": "权利金点差值[场外期权]",
  22625. "type": "number"
  22626. },
  22627. "qtydecimalplace": {
  22628. "description": "成交量小数位",
  22629. "type": "integer"
  22630. },
  22631. "quotegear": {
  22632. "description": "行情档位(1-10)",
  22633. "type": "integer"
  22634. },
  22635. "quoteminunit": {
  22636. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22637. "type": "integer"
  22638. },
  22639. "quoterid": {
  22640. "description": "报价商ID[场外期权]",
  22641. "type": "integer"
  22642. },
  22643. "quotesourcegroupid": {
  22644. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22645. "type": "integer"
  22646. },
  22647. "syncgoodsqty": {
  22648. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22649. "type": "integer"
  22650. }
  22651. }
  22652. },
  22653. "models.Goodssortbypreposition": {
  22654. "type": "object",
  22655. "required": [
  22656. "goodscode",
  22657. "tradedate"
  22658. ],
  22659. "properties": {
  22660. "goodscode": {
  22661. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  22662. "type": "string"
  22663. },
  22664. "goodsgroupcode": {
  22665. "description": "品种代码",
  22666. "type": "string"
  22667. },
  22668. "prepositionqty": {
  22669. "description": "昨持仓量",
  22670. "type": "integer"
  22671. },
  22672. "sortindex": {
  22673. "description": "排序",
  22674. "type": "integer"
  22675. },
  22676. "tradedate": {
  22677. "description": "交易日",
  22678. "type": "string"
  22679. },
  22680. "updatetime": {
  22681. "description": "更新时间",
  22682. "type": "string"
  22683. }
  22684. }
  22685. },
  22686. "models.Hedgeinnerholderdetail": {
  22687. "type": "object",
  22688. "required": [
  22689. "buyorsell",
  22690. "tradeid"
  22691. ],
  22692. "properties": {
  22693. "accountid": {
  22694. "description": "账号ID",
  22695. "type": "integer"
  22696. },
  22697. "buyorsell": {
  22698. "description": "方向 - 0:买 1:卖",
  22699. "type": "integer"
  22700. },
  22701. "freezeqty": {
  22702. "description": "冻结数量 - 按单平使用",
  22703. "type": "integer"
  22704. },
  22705. "goodsid": {
  22706. "description": "商品ID",
  22707. "type": "integer"
  22708. },
  22709. "holderamount": {
  22710. "description": "持仓金额 [商品币种]",
  22711. "type": "number"
  22712. },
  22713. "holderdays": {
  22714. "description": "剩余冻结天数",
  22715. "type": "integer"
  22716. },
  22717. "holderprice": {
  22718. "description": "持仓价格",
  22719. "type": "number"
  22720. },
  22721. "holderqty": {
  22722. "description": "持仓数量",
  22723. "type": "integer"
  22724. },
  22725. "marketid": {
  22726. "description": "市场ID",
  22727. "type": "integer"
  22728. },
  22729. "openprice": {
  22730. "description": "建仓价格",
  22731. "type": "number"
  22732. },
  22733. "openqty": {
  22734. "description": "建仓数量",
  22735. "type": "integer"
  22736. },
  22737. "parentaccountid": {
  22738. "description": "所属母账户",
  22739. "type": "integer"
  22740. },
  22741. "releaseamount": {
  22742. "description": "释放持仓金额[商品币种]",
  22743. "type": "number"
  22744. },
  22745. "tradeamount": {
  22746. "description": "成交金额[账户]",
  22747. "type": "number"
  22748. },
  22749. "tradedate": {
  22750. "description": "交易日(yyyyMMdd)",
  22751. "type": "string"
  22752. },
  22753. "tradeid": {
  22754. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22755. "type": "string"
  22756. },
  22757. "tradetime": {
  22758. "description": "交易时间",
  22759. "type": "string"
  22760. }
  22761. }
  22762. },
  22763. "models.Hedgemarketopenlog": {
  22764. "type": "object",
  22765. "required": [
  22766. "accountid"
  22767. ],
  22768. "properties": {
  22769. "accountid": {
  22770. "description": "资金账号[外部母账户]",
  22771. "type": "integer"
  22772. },
  22773. "fcname": {
  22774. "description": "期货公司名称",
  22775. "type": "string"
  22776. },
  22777. "handlestatus": {
  22778. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  22779. "type": "integer"
  22780. },
  22781. "marketid": {
  22782. "description": "市场ID",
  22783. "type": "integer"
  22784. },
  22785. "status": {
  22786. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  22787. "type": "integer"
  22788. },
  22789. "tradedate": {
  22790. "description": "交易日(yyyyMMdd)",
  22791. "type": "string"
  22792. },
  22793. "updatetime": {
  22794. "description": "更新时间",
  22795. "type": "string"
  22796. }
  22797. }
  22798. },
  22799. "models.HsbyBuyMyPayOrder": {
  22800. "type": "object",
  22801. "required": [
  22802. "goodscode",
  22803. "goodsname",
  22804. "tradeid",
  22805. "trademode"
  22806. ],
  22807. "properties": {
  22808. "agreeunit": {
  22809. "description": "合约单位",
  22810. "type": "number"
  22811. },
  22812. "buyaccountid": {
  22813. "description": "买方账号ID[报价币种]",
  22814. "type": "integer"
  22815. },
  22816. "buyorderid": {
  22817. "description": "买方委托单号",
  22818. "type": "string"
  22819. },
  22820. "createtime": {
  22821. "description": "创建时间",
  22822. "type": "string"
  22823. },
  22824. "currencysign": {
  22825. "description": "货币符号",
  22826. "type": "string"
  22827. },
  22828. "decimalplace": {
  22829. "description": "报价小数位",
  22830. "type": "integer"
  22831. },
  22832. "goodscode": {
  22833. "description": "商品代码(内部)",
  22834. "type": "string"
  22835. },
  22836. "goodsid": {
  22837. "description": "商品ID",
  22838. "type": "integer"
  22839. },
  22840. "goodsname": {
  22841. "description": "商品名称",
  22842. "type": "string"
  22843. },
  22844. "marketid": {
  22845. "description": "市场ID",
  22846. "type": "integer"
  22847. },
  22848. "offamount": {
  22849. "description": "优惠金额",
  22850. "type": "number"
  22851. },
  22852. "originalamount": {
  22853. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  22854. "type": "number"
  22855. },
  22856. "payamount": {
  22857. "description": "支付金额 = TradeAmount + TradeCharge",
  22858. "type": "number"
  22859. },
  22860. "payflag": {
  22861. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22862. "type": "integer"
  22863. },
  22864. "paylimitedtime": {
  22865. "description": "支付期限",
  22866. "type": "string"
  22867. },
  22868. "paytime": {
  22869. "description": "付款时间",
  22870. "type": "string"
  22871. },
  22872. "picurls1": {
  22873. "description": "预售商品介绍图片[多张用逗号分隔]",
  22874. "type": "string"
  22875. },
  22876. "picurls2": {
  22877. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22878. "type": "string"
  22879. },
  22880. "sellaccountid": {
  22881. "description": "卖方账号ID[报价币种]",
  22882. "type": "integer"
  22883. },
  22884. "sellorderid": {
  22885. "description": "卖方委托单号",
  22886. "type": "string"
  22887. },
  22888. "tradeamount": {
  22889. "description": "成交金额",
  22890. "type": "number"
  22891. },
  22892. "tradecharge": {
  22893. "description": "成交手续费(买方)",
  22894. "type": "number"
  22895. },
  22896. "tradedate": {
  22897. "description": "交易日(yyyyMMdd)",
  22898. "type": "string"
  22899. },
  22900. "tradeid": {
  22901. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22902. "type": "string"
  22903. },
  22904. "trademode": {
  22905. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22906. "type": "integer"
  22907. },
  22908. "tradeprice": {
  22909. "description": "成交价格",
  22910. "type": "number"
  22911. },
  22912. "tradeqty": {
  22913. "description": "成交数量",
  22914. "type": "integer"
  22915. },
  22916. "vendorname1": {
  22917. "description": "预售商品供应商名称",
  22918. "type": "string"
  22919. },
  22920. "vendorname2": {
  22921. "description": "挂牌商品供应商名称",
  22922. "type": "string"
  22923. }
  22924. }
  22925. },
  22926. "models.HsbyBuyMyTradeDetail": {
  22927. "type": "object",
  22928. "required": [
  22929. "accountid",
  22930. "buyorsell",
  22931. "goodscode",
  22932. "goodsid",
  22933. "goodsname",
  22934. "marketid",
  22935. "orderid",
  22936. "qty",
  22937. "time",
  22938. "trademode"
  22939. ],
  22940. "properties": {
  22941. "accountid": {
  22942. "description": "账户ID[报价币种]",
  22943. "type": "integer"
  22944. },
  22945. "agreeunit": {
  22946. "description": "合约单位",
  22947. "type": "number"
  22948. },
  22949. "amount": {
  22950. "description": "金额 = 价格 * 数量 * 合约单位",
  22951. "type": "number"
  22952. },
  22953. "buyorsell": {
  22954. "description": "买卖 - 0:买 1:卖",
  22955. "type": "integer"
  22956. },
  22957. "currencysign": {
  22958. "description": "货币符号",
  22959. "type": "string"
  22960. },
  22961. "decimalplace": {
  22962. "description": "报价小数位",
  22963. "type": "integer"
  22964. },
  22965. "goodscode": {
  22966. "description": "商品代码(内部)",
  22967. "type": "string"
  22968. },
  22969. "goodsid": {
  22970. "description": "商品ID",
  22971. "type": "integer"
  22972. },
  22973. "goodsname": {
  22974. "description": "商品名称",
  22975. "type": "string"
  22976. },
  22977. "marketid": {
  22978. "description": "市场ID",
  22979. "type": "integer"
  22980. },
  22981. "orderamount": {
  22982. "description": "委托金额",
  22983. "type": "number"
  22984. },
  22985. "orderid": {
  22986. "description": "单号(成交单号)",
  22987. "type": "string"
  22988. },
  22989. "picurls1": {
  22990. "description": "预售商品介绍图片[多张用逗号分隔]",
  22991. "type": "string"
  22992. },
  22993. "picurls2": {
  22994. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22995. "type": "string"
  22996. },
  22997. "price": {
  22998. "description": "价格",
  22999. "type": "number"
  23000. },
  23001. "qty": {
  23002. "description": "数量",
  23003. "type": "integer"
  23004. },
  23005. "time": {
  23006. "description": "时间",
  23007. "type": "string"
  23008. },
  23009. "trademode": {
  23010. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23011. "type": "integer"
  23012. },
  23013. "vendorname1": {
  23014. "description": "预售商品供应商名称",
  23015. "type": "string"
  23016. },
  23017. "vendorname2": {
  23018. "description": "挂牌商品供应商名称",
  23019. "type": "string"
  23020. }
  23021. }
  23022. },
  23023. "models.HsbyGoodsOrderDetail": {
  23024. "type": "object",
  23025. "required": [
  23026. "buyorsell",
  23027. "orderid",
  23028. "ordertime"
  23029. ],
  23030. "properties": {
  23031. "buyorsell": {
  23032. "description": "买卖 - 0:买 1:卖",
  23033. "type": "integer"
  23034. },
  23035. "currencysign": {
  23036. "description": "货币符号",
  23037. "type": "string"
  23038. },
  23039. "customername": {
  23040. "description": "客户名称(企业名称),已脱敏",
  23041. "type": "string"
  23042. },
  23043. "enableqty": {
  23044. "description": "可用数量",
  23045. "type": "integer"
  23046. },
  23047. "goodunit": {
  23048. "description": "报价单位",
  23049. "type": "string"
  23050. },
  23051. "orderid": {
  23052. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23053. "type": "string"
  23054. },
  23055. "orderprice": {
  23056. "description": "委托价格",
  23057. "type": "number"
  23058. },
  23059. "ordertime": {
  23060. "description": "委托时间",
  23061. "type": "string"
  23062. }
  23063. }
  23064. },
  23065. "models.HsbyListingGoodsDetail": {
  23066. "type": "object",
  23067. "required": [
  23068. "goodscode",
  23069. "goodsid",
  23070. "goodsname",
  23071. "marketid",
  23072. "trademode"
  23073. ],
  23074. "properties": {
  23075. "agreeunit": {
  23076. "description": "合约单位",
  23077. "type": "number"
  23078. },
  23079. "buymaxqty": {
  23080. "description": "购买上限 [71] - 0为不限",
  23081. "type": "integer"
  23082. },
  23083. "currency": {
  23084. "description": "货币",
  23085. "type": "string"
  23086. },
  23087. "currencysign": {
  23088. "description": "货币符号",
  23089. "type": "string"
  23090. },
  23091. "decimalplace": {
  23092. "description": "报价小数位",
  23093. "type": "integer"
  23094. },
  23095. "desccityid": {
  23096. "description": "目的地(市)ID",
  23097. "type": "integer"
  23098. },
  23099. "descprovinceid": {
  23100. "description": "目的地(省)ID",
  23101. "type": "integer"
  23102. },
  23103. "goodscode": {
  23104. "description": "商品代码(内部)",
  23105. "type": "string"
  23106. },
  23107. "goodsdesc": {
  23108. "description": "商品详情",
  23109. "type": "string"
  23110. },
  23111. "goodsid": {
  23112. "description": "商品ID(自增ID SEQ_GOODS)",
  23113. "type": "integer"
  23114. },
  23115. "goodsname": {
  23116. "description": "商品名称",
  23117. "type": "string"
  23118. },
  23119. "goodsprice": {
  23120. "description": "商品价格",
  23121. "type": "number"
  23122. },
  23123. "hotindex": {
  23124. "description": "景点热度",
  23125. "type": "integer"
  23126. },
  23127. "last": {
  23128. "description": "现价",
  23129. "type": "number"
  23130. },
  23131. "limitdown": {
  23132. "description": "跌停价",
  23133. "type": "number"
  23134. },
  23135. "limitup": {
  23136. "description": "涨停价",
  23137. "type": "number"
  23138. },
  23139. "lotsize": {
  23140. "description": "手数最小变动单位",
  23141. "type": "integer"
  23142. },
  23143. "marketid": {
  23144. "description": "所属市场ID",
  23145. "type": "integer"
  23146. },
  23147. "picurls": {
  23148. "description": "介绍图片[多张用逗号分隔]",
  23149. "type": "string"
  23150. },
  23151. "quoteminunit": {
  23152. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23153. "type": "integer"
  23154. },
  23155. "stepvalue": {
  23156. "description": "价格最小变动单位",
  23157. "type": "number"
  23158. },
  23159. "trademode": {
  23160. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23161. "type": "integer"
  23162. },
  23163. "vendorattr": {
  23164. "description": "供应商附件(多张,逗号分隔)",
  23165. "type": "string"
  23166. },
  23167. "vendorname": {
  23168. "description": "供应商名称",
  23169. "type": "string"
  23170. },
  23171. "vendorphone": {
  23172. "description": "供应商客服电话",
  23173. "type": "string"
  23174. },
  23175. "videourls": {
  23176. "description": "介绍视频[多张用逗号分隔]",
  23177. "type": "string"
  23178. }
  23179. }
  23180. },
  23181. "models.HsbyMarketGoods": {
  23182. "type": "object",
  23183. "required": [
  23184. "accountid",
  23185. "buyorsell",
  23186. "goodscode",
  23187. "goodsid",
  23188. "goodsname",
  23189. "marketid",
  23190. "orderid",
  23191. "trademode"
  23192. ],
  23193. "properties": {
  23194. "accountid": {
  23195. "description": "账户ID[报价币种]",
  23196. "type": "integer"
  23197. },
  23198. "agreeunit": {
  23199. "description": "合约单位",
  23200. "type": "number"
  23201. },
  23202. "buyorsell": {
  23203. "description": "买卖 - 0:买 1:卖",
  23204. "type": "integer"
  23205. },
  23206. "categoryid": {
  23207. "description": "类别ID(WRCATEGORY)",
  23208. "type": "integer"
  23209. },
  23210. "currency": {
  23211. "description": "货币",
  23212. "type": "string"
  23213. },
  23214. "currencysign": {
  23215. "description": "货币符号",
  23216. "type": "string"
  23217. },
  23218. "customername": {
  23219. "description": "卖家名称",
  23220. "type": "string"
  23221. },
  23222. "decimalplace": {
  23223. "description": "报价小数位",
  23224. "type": "integer"
  23225. },
  23226. "goodscode": {
  23227. "description": "商品代码(内部)",
  23228. "type": "string"
  23229. },
  23230. "goodsid": {
  23231. "description": "商品ID",
  23232. "type": "integer"
  23233. },
  23234. "goodsname": {
  23235. "description": "商品名称",
  23236. "type": "string"
  23237. },
  23238. "goodsprice": {
  23239. "description": "商品价格",
  23240. "type": "number"
  23241. },
  23242. "hascoupon": {
  23243. "description": "是否可用优惠卷",
  23244. "type": "boolean"
  23245. },
  23246. "hotindex": {
  23247. "description": "景点热度",
  23248. "type": "integer"
  23249. },
  23250. "marketid": {
  23251. "description": "市场ID",
  23252. "type": "integer"
  23253. },
  23254. "orderid": {
  23255. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23256. "type": "string"
  23257. },
  23258. "orderprice": {
  23259. "description": "委托价格",
  23260. "type": "number"
  23261. },
  23262. "orderstatus": {
  23263. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23264. "type": "integer"
  23265. },
  23266. "picurls": {
  23267. "description": "介绍图片[多张用逗号分隔]",
  23268. "type": "string"
  23269. },
  23270. "quoteminunit": {
  23271. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23272. "type": "integer"
  23273. },
  23274. "sellUserID": {
  23275. "description": "卖方UserID",
  23276. "type": "integer"
  23277. },
  23278. "trademode": {
  23279. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23280. "type": "integer"
  23281. },
  23282. "videourls": {
  23283. "description": "介绍视频[多张用逗号分隔]",
  23284. "type": "string"
  23285. }
  23286. }
  23287. },
  23288. "models.HsbyMarketGoodsDetail": {
  23289. "type": "object",
  23290. "required": [
  23291. "accountid",
  23292. "buyorsell",
  23293. "goodscode",
  23294. "goodsid",
  23295. "goodsname",
  23296. "marketid",
  23297. "orderid",
  23298. "orderqty",
  23299. "trademode"
  23300. ],
  23301. "properties": {
  23302. "accountid": {
  23303. "description": "账户ID[报价币种]",
  23304. "type": "integer"
  23305. },
  23306. "agreeunit": {
  23307. "description": "合约单位",
  23308. "type": "number"
  23309. },
  23310. "buymaxqty": {
  23311. "description": "购买上限 [71] - 0为不限",
  23312. "type": "integer"
  23313. },
  23314. "buyorsell": {
  23315. "description": "买卖 - 0:买 1:卖",
  23316. "type": "integer"
  23317. },
  23318. "cancelqty": {
  23319. "description": "撤单数量",
  23320. "type": "integer"
  23321. },
  23322. "categoryid": {
  23323. "description": "类别ID(WRCATEGORY)",
  23324. "type": "integer"
  23325. },
  23326. "currency": {
  23327. "description": "货币",
  23328. "type": "string"
  23329. },
  23330. "currencysign": {
  23331. "description": "货币符号",
  23332. "type": "string"
  23333. },
  23334. "customername": {
  23335. "description": "卖家名称",
  23336. "type": "string"
  23337. },
  23338. "decimalplace": {
  23339. "description": "报价小数位",
  23340. "type": "integer"
  23341. },
  23342. "goodscode": {
  23343. "description": "商品代码(内部)",
  23344. "type": "string"
  23345. },
  23346. "goodsdesc": {
  23347. "description": "商品详情",
  23348. "type": "string"
  23349. },
  23350. "goodsid": {
  23351. "description": "商品ID",
  23352. "type": "integer"
  23353. },
  23354. "goodsname": {
  23355. "description": "商品名称",
  23356. "type": "string"
  23357. },
  23358. "goodsprice": {
  23359. "description": "商品价格",
  23360. "type": "number"
  23361. },
  23362. "hotindex": {
  23363. "description": "景点热度",
  23364. "type": "integer"
  23365. },
  23366. "lotsize": {
  23367. "description": "手数最小变动单位",
  23368. "type": "integer"
  23369. },
  23370. "marketid": {
  23371. "description": "市场ID",
  23372. "type": "integer"
  23373. },
  23374. "orderid": {
  23375. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23376. "type": "string"
  23377. },
  23378. "orderprice": {
  23379. "description": "委托价格",
  23380. "type": "number"
  23381. },
  23382. "orderqty": {
  23383. "description": "委托数量",
  23384. "type": "integer"
  23385. },
  23386. "orderstatus": {
  23387. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23388. "type": "integer"
  23389. },
  23390. "picurls": {
  23391. "description": "介绍图片[多张用逗号分隔]",
  23392. "type": "string"
  23393. },
  23394. "quoteminunit": {
  23395. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23396. "type": "integer"
  23397. },
  23398. "sellUserID": {
  23399. "description": "卖方UserID",
  23400. "type": "integer"
  23401. },
  23402. "trademode": {
  23403. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23404. "type": "integer"
  23405. },
  23406. "tradeqty": {
  23407. "description": "成交数量",
  23408. "type": "integer"
  23409. },
  23410. "vendorattr": {
  23411. "description": "供应商附件(多张,逗号分隔)",
  23412. "type": "string"
  23413. },
  23414. "vendorname": {
  23415. "description": "供应商名称",
  23416. "type": "string"
  23417. },
  23418. "vendorphone": {
  23419. "description": "供应商客服电话",
  23420. "type": "string"
  23421. },
  23422. "videourls": {
  23423. "description": "介绍视频[多张用逗号分隔]",
  23424. "type": "string"
  23425. }
  23426. }
  23427. },
  23428. "models.HsbyMarketInfo": {
  23429. "type": "object",
  23430. "required": [
  23431. "marketid",
  23432. "marketstatus",
  23433. "trademode"
  23434. ],
  23435. "properties": {
  23436. "marketid": {
  23437. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23438. "type": "integer"
  23439. },
  23440. "marketname": {
  23441. "description": "市场名称",
  23442. "type": "string"
  23443. },
  23444. "marketstatus": {
  23445. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23446. "type": "integer"
  23447. },
  23448. "trademode": {
  23449. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23450. "type": "integer"
  23451. }
  23452. }
  23453. },
  23454. "models.HsbyMyGoods": {
  23455. "type": "object",
  23456. "required": [
  23457. "accountid",
  23458. "goodscode",
  23459. "goodsid",
  23460. "goodsname",
  23461. "marketid",
  23462. "trademode"
  23463. ],
  23464. "properties": {
  23465. "accountid": {
  23466. "description": "账号Id",
  23467. "type": "integer"
  23468. },
  23469. "agreeunit": {
  23470. "description": "合约单位",
  23471. "type": "number"
  23472. },
  23473. "buyaverageprice": {
  23474. "description": "持仓均价",
  23475. "type": "number"
  23476. },
  23477. "buycurholderamount": {
  23478. "description": "买当前持仓总金额[商品币种]",
  23479. "type": "number"
  23480. },
  23481. "buycurpositionqty": {
  23482. "description": "买当前持仓总数量",
  23483. "type": "integer"
  23484. },
  23485. "buymaxqty": {
  23486. "description": "购买上限 [71] - 0为不限",
  23487. "type": "integer"
  23488. },
  23489. "currencysign": {
  23490. "description": "货币符号",
  23491. "type": "string"
  23492. },
  23493. "decimalplace": {
  23494. "description": "报价小数位",
  23495. "type": "integer"
  23496. },
  23497. "enableqty": {
  23498. "description": "可用数量",
  23499. "type": "integer"
  23500. },
  23501. "goodscode": {
  23502. "description": "商品代码(内部)",
  23503. "type": "string"
  23504. },
  23505. "goodsid": {
  23506. "description": "商品Id",
  23507. "type": "integer"
  23508. },
  23509. "goodsname": {
  23510. "description": "商品名称",
  23511. "type": "string"
  23512. },
  23513. "goodsprice": {
  23514. "description": "商品价格",
  23515. "type": "number"
  23516. },
  23517. "goodsstatus": {
  23518. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23519. "type": "integer"
  23520. },
  23521. "last": {
  23522. "description": "现价(仅使用于挂牌点选)",
  23523. "type": "number"
  23524. },
  23525. "limitdown": {
  23526. "description": "跌停价(仅使用于挂牌点选)",
  23527. "type": "number"
  23528. },
  23529. "limitup": {
  23530. "description": "涨停价(仅使用于挂牌点选)",
  23531. "type": "number"
  23532. },
  23533. "lotsize": {
  23534. "description": "手数最小变动单位",
  23535. "type": "integer"
  23536. },
  23537. "marketid": {
  23538. "description": "所属市场ID",
  23539. "type": "integer"
  23540. },
  23541. "picurls": {
  23542. "description": "介绍图片[多张用逗号分隔]",
  23543. "type": "string"
  23544. },
  23545. "quoteminunit": {
  23546. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23547. "type": "integer"
  23548. },
  23549. "stepvalue": {
  23550. "description": "价格最小变动单位",
  23551. "type": "number"
  23552. },
  23553. "trademode": {
  23554. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23555. "type": "integer"
  23556. }
  23557. }
  23558. },
  23559. "models.HsbyMyPackage": {
  23560. "type": "object",
  23561. "required": [
  23562. "goodscode",
  23563. "goodsname",
  23564. "takeorderid",
  23565. "trademode"
  23566. ],
  23567. "properties": {
  23568. "accountid": {
  23569. "description": "账户ID",
  23570. "type": "integer"
  23571. },
  23572. "address": {
  23573. "description": "提货人详细地址",
  23574. "type": "string"
  23575. },
  23576. "agreeunit": {
  23577. "description": "合约单位",
  23578. "type": "number"
  23579. },
  23580. "amount": {
  23581. "description": "提货金额",
  23582. "type": "number"
  23583. },
  23584. "auditer": {
  23585. "description": "审核人",
  23586. "type": "integer"
  23587. },
  23588. "audittime": {
  23589. "description": "审核时间",
  23590. "type": "string"
  23591. },
  23592. "averageprice": {
  23593. "description": "均价",
  23594. "type": "number"
  23595. },
  23596. "cardnum": {
  23597. "description": "提货人证件号码",
  23598. "type": "string"
  23599. },
  23600. "cardtypeid": {
  23601. "description": "提货人证件类型",
  23602. "type": "integer"
  23603. },
  23604. "checkremark": {
  23605. "description": "审核备注",
  23606. "type": "string"
  23607. },
  23608. "currencysign": {
  23609. "description": "货币符号",
  23610. "type": "string"
  23611. },
  23612. "decimalplace": {
  23613. "description": "报价小数位",
  23614. "type": "integer"
  23615. },
  23616. "goodscode": {
  23617. "description": "商品代码(内部)",
  23618. "type": "string"
  23619. },
  23620. "goodsid": {
  23621. "description": "商品ID",
  23622. "type": "integer"
  23623. },
  23624. "goodsname": {
  23625. "description": "商品名称",
  23626. "type": "string"
  23627. },
  23628. "handlestatus": {
  23629. "description": "处理状态",
  23630. "type": "integer"
  23631. },
  23632. "marketid": {
  23633. "description": "市场ID",
  23634. "type": "integer"
  23635. },
  23636. "phonenum": {
  23637. "description": "提货人联系方式",
  23638. "type": "string"
  23639. },
  23640. "picurls": {
  23641. "description": "介绍图片[多张用逗号分隔]",
  23642. "type": "string"
  23643. },
  23644. "qty": {
  23645. "description": "提货数量",
  23646. "type": "number"
  23647. },
  23648. "recivername": {
  23649. "description": "提货人姓名",
  23650. "type": "string"
  23651. },
  23652. "reqtime": {
  23653. "description": "更新时间",
  23654. "type": "string"
  23655. },
  23656. "takemode": {
  23657. "description": "提货方式 - 2:自提 3:配送",
  23658. "type": "integer"
  23659. },
  23660. "takeorderid": {
  23661. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23662. "type": "string"
  23663. },
  23664. "takeorderstatus": {
  23665. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23666. "type": "integer"
  23667. },
  23668. "takeremark": {
  23669. "description": "提货备注",
  23670. "type": "string"
  23671. },
  23672. "tradedate": {
  23673. "description": "交易日(yyyyMMdd)",
  23674. "type": "string"
  23675. },
  23676. "trademode": {
  23677. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23678. "type": "integer"
  23679. },
  23680. "userid": {
  23681. "description": "用户ID",
  23682. "type": "integer"
  23683. },
  23684. "vendorname": {
  23685. "description": "供应商名称",
  23686. "type": "string"
  23687. }
  23688. }
  23689. },
  23690. "models.HsbyPreGoods": {
  23691. "type": "object",
  23692. "required": [
  23693. "goodscode",
  23694. "goodsid",
  23695. "goodsname",
  23696. "marketid",
  23697. "trademode"
  23698. ],
  23699. "properties": {
  23700. "agreeunit": {
  23701. "description": "合约单位",
  23702. "type": "number"
  23703. },
  23704. "currency": {
  23705. "description": "货币",
  23706. "type": "string"
  23707. },
  23708. "currencysign": {
  23709. "description": "货币符号",
  23710. "type": "string"
  23711. },
  23712. "decimalplace": {
  23713. "description": "报价小数位",
  23714. "type": "integer"
  23715. },
  23716. "desccityid": {
  23717. "description": "目的地(市)",
  23718. "type": "integer"
  23719. },
  23720. "descprovinceid": {
  23721. "description": "目的地(省)",
  23722. "type": "integer"
  23723. },
  23724. "enableqty": {
  23725. "description": "剩余数量",
  23726. "type": "integer"
  23727. },
  23728. "goodscode": {
  23729. "description": "商品代码(内部)",
  23730. "type": "string"
  23731. },
  23732. "goodsid": {
  23733. "description": "商品ID(自增ID SEQ_GOODS)",
  23734. "type": "integer"
  23735. },
  23736. "goodsname": {
  23737. "description": "商品名称",
  23738. "type": "string"
  23739. },
  23740. "goodsstatus": {
  23741. "description": "商品状态- 2:未上市 3:上市",
  23742. "type": "integer"
  23743. },
  23744. "lasttradedate": {
  23745. "description": "最后交易日期(状态:待退市)",
  23746. "type": "string"
  23747. },
  23748. "listingdate": {
  23749. "description": "交易开始日期",
  23750. "type": "string"
  23751. },
  23752. "marketid": {
  23753. "description": "所属市场ID",
  23754. "type": "integer"
  23755. },
  23756. "picurls": {
  23757. "description": "介绍图片[多张用逗号分隔]",
  23758. "type": "string"
  23759. },
  23760. "presaledqty": {
  23761. "description": "已预售量(预售结束时更新)",
  23762. "type": "integer"
  23763. },
  23764. "presaleqty": {
  23765. "description": "预售数量",
  23766. "type": "integer"
  23767. },
  23768. "quoteminunit": {
  23769. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23770. "type": "integer"
  23771. },
  23772. "refprice": {
  23773. "description": "参考价格[一口价]",
  23774. "type": "number"
  23775. },
  23776. "relatedgoodsid": {
  23777. "description": "关联交易合约ID",
  23778. "type": "integer"
  23779. },
  23780. "trademode": {
  23781. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23782. "type": "integer"
  23783. },
  23784. "videourls": {
  23785. "description": "介绍视频[多张用逗号分隔]",
  23786. "type": "string"
  23787. }
  23788. }
  23789. },
  23790. "models.HsbyPreGoodsDetail": {
  23791. "type": "object",
  23792. "required": [
  23793. "goodscode",
  23794. "goodsid",
  23795. "goodsname",
  23796. "marketid",
  23797. "trademode"
  23798. ],
  23799. "properties": {
  23800. "agreeunit": {
  23801. "description": "合约单位",
  23802. "type": "number"
  23803. },
  23804. "buymaxqty": {
  23805. "description": "购买上限 [71] - 0为不限",
  23806. "type": "integer"
  23807. },
  23808. "currency": {
  23809. "description": "货币",
  23810. "type": "string"
  23811. },
  23812. "currencysign": {
  23813. "description": "货币符号",
  23814. "type": "string"
  23815. },
  23816. "customername": {
  23817. "description": "发行单位",
  23818. "type": "string"
  23819. },
  23820. "decimalplace": {
  23821. "description": "报价小数位",
  23822. "type": "integer"
  23823. },
  23824. "desccityid": {
  23825. "description": "目的地(市)ID",
  23826. "type": "integer"
  23827. },
  23828. "descprovinceid": {
  23829. "description": "目的地(省)ID",
  23830. "type": "integer"
  23831. },
  23832. "enableqty": {
  23833. "description": "剩余数量",
  23834. "type": "integer"
  23835. },
  23836. "goodscode": {
  23837. "description": "商品代码(内部)",
  23838. "type": "string"
  23839. },
  23840. "goodsdesc": {
  23841. "description": "商品详情",
  23842. "type": "string"
  23843. },
  23844. "goodsid": {
  23845. "description": "商品ID(自增ID SEQ_GOODS)",
  23846. "type": "integer"
  23847. },
  23848. "goodsname": {
  23849. "description": "商品名称",
  23850. "type": "string"
  23851. },
  23852. "goodsstatus": {
  23853. "description": "商品状态- 2:未上市 3:上市",
  23854. "type": "integer"
  23855. },
  23856. "goodunit": {
  23857. "description": "报价单位",
  23858. "type": "string"
  23859. },
  23860. "lasttradedate": {
  23861. "description": "最后交易日期(状态:待退市)",
  23862. "type": "string"
  23863. },
  23864. "listingdate": {
  23865. "description": "交易开始日期",
  23866. "type": "string"
  23867. },
  23868. "lotsize": {
  23869. "description": "手数最小变动单位",
  23870. "type": "integer"
  23871. },
  23872. "marketid": {
  23873. "description": "所属市场ID",
  23874. "type": "integer"
  23875. },
  23876. "picurls": {
  23877. "description": "介绍图片[多张用逗号分隔]",
  23878. "type": "string"
  23879. },
  23880. "presaledqty": {
  23881. "description": "已预售量(预售结束时更新)",
  23882. "type": "integer"
  23883. },
  23884. "presaleqty": {
  23885. "description": "预售数量",
  23886. "type": "integer"
  23887. },
  23888. "quoteminunit": {
  23889. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23890. "type": "integer"
  23891. },
  23892. "refprice": {
  23893. "description": "参考价格[一口价]",
  23894. "type": "number"
  23895. },
  23896. "relatedgoodsid": {
  23897. "description": "关联交易合约ID",
  23898. "type": "integer"
  23899. },
  23900. "stepvalue": {
  23901. "description": "价格最小变动单位",
  23902. "type": "number"
  23903. },
  23904. "trademode": {
  23905. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23906. "type": "integer"
  23907. },
  23908. "vendorattr": {
  23909. "description": "供应商附件(多张,逗号分隔)",
  23910. "type": "string"
  23911. },
  23912. "vendorname": {
  23913. "description": "供应商名称",
  23914. "type": "string"
  23915. },
  23916. "vendorphone": {
  23917. "description": "供应商客服电话",
  23918. "type": "string"
  23919. },
  23920. "videourls": {
  23921. "description": "介绍视频[多张用逗号分隔]",
  23922. "type": "string"
  23923. }
  23924. }
  23925. },
  23926. "models.HsbySellCollectionOrder": {
  23927. "type": "object",
  23928. "required": [
  23929. "goodscode",
  23930. "goodsname",
  23931. "tradeid",
  23932. "trademode"
  23933. ],
  23934. "properties": {
  23935. "agreeunit": {
  23936. "description": "合约单位",
  23937. "type": "number"
  23938. },
  23939. "buyaccountid": {
  23940. "description": "买方账号ID[报价币种]",
  23941. "type": "integer"
  23942. },
  23943. "buyorderid": {
  23944. "description": "买方委托单号",
  23945. "type": "string"
  23946. },
  23947. "createtime": {
  23948. "description": "创建时间",
  23949. "type": "string"
  23950. },
  23951. "currencysign": {
  23952. "description": "货币符号",
  23953. "type": "string"
  23954. },
  23955. "decimalplace": {
  23956. "description": "报价小数位",
  23957. "type": "integer"
  23958. },
  23959. "goodscode": {
  23960. "description": "商品代码(内部)",
  23961. "type": "string"
  23962. },
  23963. "goodsid": {
  23964. "description": "商品ID",
  23965. "type": "integer"
  23966. },
  23967. "goodsname": {
  23968. "description": "商品名称",
  23969. "type": "string"
  23970. },
  23971. "marketid": {
  23972. "description": "市场ID",
  23973. "type": "integer"
  23974. },
  23975. "offamount": {
  23976. "description": "优惠金额",
  23977. "type": "number"
  23978. },
  23979. "payamount": {
  23980. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  23981. "type": "number"
  23982. },
  23983. "payflag": {
  23984. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23985. "type": "integer"
  23986. },
  23987. "paylimitedtime": {
  23988. "description": "支付期限",
  23989. "type": "string"
  23990. },
  23991. "paytime": {
  23992. "description": "付款时间",
  23993. "type": "string"
  23994. },
  23995. "picurls": {
  23996. "description": "商品介绍图片[多张用逗号分隔]",
  23997. "type": "string"
  23998. },
  23999. "sellaccountid": {
  24000. "description": "卖方账号ID[报价币种]",
  24001. "type": "integer"
  24002. },
  24003. "sellorderid": {
  24004. "description": "卖方委托单号",
  24005. "type": "string"
  24006. },
  24007. "tradeamount": {
  24008. "description": "成交金额",
  24009. "type": "number"
  24010. },
  24011. "tradecharge": {
  24012. "description": "成交手续费(买方)",
  24013. "type": "number"
  24014. },
  24015. "tradedate": {
  24016. "description": "交易日(yyyyMMdd)",
  24017. "type": "string"
  24018. },
  24019. "tradeid": {
  24020. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24021. "type": "string"
  24022. },
  24023. "trademode": {
  24024. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24025. "type": "integer"
  24026. },
  24027. "tradeprice": {
  24028. "description": "成交价格",
  24029. "type": "number"
  24030. },
  24031. "tradeqty": {
  24032. "description": "成交数量",
  24033. "type": "integer"
  24034. }
  24035. }
  24036. },
  24037. "models.HsbySellMyDetail": {
  24038. "type": "object",
  24039. "required": [
  24040. "accountid",
  24041. "buyorsell",
  24042. "goodscode",
  24043. "goodsid",
  24044. "goodsname",
  24045. "marketid",
  24046. "orderid",
  24047. "time",
  24048. "trademode"
  24049. ],
  24050. "properties": {
  24051. "accountid": {
  24052. "description": "账户ID[报价币种]",
  24053. "type": "integer"
  24054. },
  24055. "agreeunit": {
  24056. "description": "合约单位",
  24057. "type": "number"
  24058. },
  24059. "buyorsell": {
  24060. "description": "买卖 - 0:买 1:卖",
  24061. "type": "integer"
  24062. },
  24063. "currencysign": {
  24064. "description": "货币符号",
  24065. "type": "string"
  24066. },
  24067. "decimalplace": {
  24068. "description": "报价小数位",
  24069. "type": "integer"
  24070. },
  24071. "goodscode": {
  24072. "description": "商品代码(内部)",
  24073. "type": "string"
  24074. },
  24075. "goodsid": {
  24076. "description": "商品ID",
  24077. "type": "integer"
  24078. },
  24079. "goodsname": {
  24080. "description": "商品名称",
  24081. "type": "string"
  24082. },
  24083. "marketid": {
  24084. "description": "市场ID",
  24085. "type": "integer"
  24086. },
  24087. "orderid": {
  24088. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24089. "type": "string"
  24090. },
  24091. "ordertype": {
  24092. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24093. "type": "integer"
  24094. },
  24095. "picurls": {
  24096. "description": "介绍图片[多张用逗号分隔]",
  24097. "type": "string"
  24098. },
  24099. "price": {
  24100. "description": "价格",
  24101. "type": "number"
  24102. },
  24103. "qty": {
  24104. "description": "数量",
  24105. "type": "integer"
  24106. },
  24107. "time": {
  24108. "description": "时间",
  24109. "type": "string"
  24110. },
  24111. "trademode": {
  24112. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24113. "type": "integer"
  24114. },
  24115. "vendorname": {
  24116. "description": "供应商名称",
  24117. "type": "string"
  24118. }
  24119. }
  24120. },
  24121. "models.HsbyTopGoods": {
  24122. "type": "object",
  24123. "required": [
  24124. "goodscode",
  24125. "goodsid",
  24126. "goodsname",
  24127. "marketid",
  24128. "trademode"
  24129. ],
  24130. "properties": {
  24131. "agreeunit": {
  24132. "description": "合约单位",
  24133. "type": "number"
  24134. },
  24135. "currency": {
  24136. "description": "货币",
  24137. "type": "string"
  24138. },
  24139. "currencysign": {
  24140. "description": "货币符号",
  24141. "type": "string"
  24142. },
  24143. "decimalplace": {
  24144. "description": "报价小数位",
  24145. "type": "integer"
  24146. },
  24147. "desccityid": {
  24148. "description": "目的地(市)",
  24149. "type": "integer"
  24150. },
  24151. "descprovinceid": {
  24152. "description": "目的地(省)",
  24153. "type": "integer"
  24154. },
  24155. "goodscode": {
  24156. "description": "商品代码(内部)",
  24157. "type": "string"
  24158. },
  24159. "goodsid": {
  24160. "description": "商品ID(自增ID SEQ_GOODS)",
  24161. "type": "integer"
  24162. },
  24163. "goodsname": {
  24164. "description": "商品名称",
  24165. "type": "string"
  24166. },
  24167. "hotindex": {
  24168. "description": "景点热度",
  24169. "type": "integer"
  24170. },
  24171. "last": {
  24172. "description": "现价",
  24173. "type": "number"
  24174. },
  24175. "marketid": {
  24176. "description": "所属市场ID",
  24177. "type": "integer"
  24178. },
  24179. "picurls": {
  24180. "description": "介绍图片[多张用逗号分隔]",
  24181. "type": "string"
  24182. },
  24183. "quoteminunit": {
  24184. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24185. "type": "integer"
  24186. },
  24187. "trademode": {
  24188. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24189. "type": "integer"
  24190. },
  24191. "videourls": {
  24192. "description": "介绍视频[多张用逗号分隔]",
  24193. "type": "string"
  24194. }
  24195. }
  24196. },
  24197. "models.HybsMyBuyOrderDetail": {
  24198. "type": "object",
  24199. "required": [
  24200. "accountid",
  24201. "buyorsell",
  24202. "goodscode",
  24203. "goodsid",
  24204. "goodsname",
  24205. "marketid",
  24206. "orderid",
  24207. "orderqty",
  24208. "ordertime",
  24209. "trademode"
  24210. ],
  24211. "properties": {
  24212. "accountid": {
  24213. "description": "账户ID[报价币种]",
  24214. "type": "integer"
  24215. },
  24216. "agreeunit": {
  24217. "description": "合约单位",
  24218. "type": "number"
  24219. },
  24220. "buyorsell": {
  24221. "description": "买卖 - 0:买 1:卖",
  24222. "type": "integer"
  24223. },
  24224. "cancelqty": {
  24225. "description": "撤单数量",
  24226. "type": "integer"
  24227. },
  24228. "currencysign": {
  24229. "description": "货币符号",
  24230. "type": "string"
  24231. },
  24232. "decimalplace": {
  24233. "description": "报价小数位",
  24234. "type": "integer"
  24235. },
  24236. "goodscode": {
  24237. "description": "商品代码(内部)",
  24238. "type": "string"
  24239. },
  24240. "goodsid": {
  24241. "description": "商品ID",
  24242. "type": "integer"
  24243. },
  24244. "goodsname": {
  24245. "description": "商品名称",
  24246. "type": "string"
  24247. },
  24248. "listingselecttype": {
  24249. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24250. "type": "integer"
  24251. },
  24252. "marketid": {
  24253. "description": "市场ID",
  24254. "type": "integer"
  24255. },
  24256. "mybuystatus": {
  24257. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24258. "type": "integer"
  24259. },
  24260. "orderamount": {
  24261. "description": "委托金额",
  24262. "type": "number"
  24263. },
  24264. "orderid": {
  24265. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24266. "type": "string"
  24267. },
  24268. "orderprice": {
  24269. "description": "委托价格",
  24270. "type": "number"
  24271. },
  24272. "orderqty": {
  24273. "description": "委托数量",
  24274. "type": "integer"
  24275. },
  24276. "orderstatus": {
  24277. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24278. "type": "integer"
  24279. },
  24280. "ordertime": {
  24281. "description": "委托时间",
  24282. "type": "string"
  24283. },
  24284. "picurls1": {
  24285. "description": "预售商品介绍图片[多张用逗号分隔]",
  24286. "type": "string"
  24287. },
  24288. "picurls2": {
  24289. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24290. "type": "string"
  24291. },
  24292. "trademode": {
  24293. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24294. "type": "integer"
  24295. },
  24296. "tradeqty": {
  24297. "description": "成交数量",
  24298. "type": "integer"
  24299. },
  24300. "vendorname1": {
  24301. "description": "预售商品供应商名称",
  24302. "type": "string"
  24303. },
  24304. "vendorname2": {
  24305. "description": "挂牌商品供应商名称",
  24306. "type": "string"
  24307. }
  24308. }
  24309. },
  24310. "models.Loginaccount": {
  24311. "type": "object",
  24312. "required": [
  24313. "loginid"
  24314. ],
  24315. "properties": {
  24316. "accountname": {
  24317. "description": "账户名称",
  24318. "type": "string"
  24319. },
  24320. "canoutin": {
  24321. "description": "是否可出入金 - 0:不可 1:可",
  24322. "type": "integer"
  24323. },
  24324. "clientroleid": {
  24325. "description": "终端角色ID",
  24326. "type": "integer"
  24327. },
  24328. "haslogined": {
  24329. "description": "是否已登录 - 0:未登录 1:已登录",
  24330. "type": "integer"
  24331. },
  24332. "hasupdatedpwd": {
  24333. "description": "是否已更改密码 - 0:未修改 1:已修改",
  24334. "type": "integer"
  24335. },
  24336. "lastloginip": {
  24337. "description": "最新登录地址",
  24338. "type": "string"
  24339. },
  24340. "lastloginmode": {
  24341. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24342. "type": "integer"
  24343. },
  24344. "lastloginremark": {
  24345. "description": "最新登录描述",
  24346. "type": "string"
  24347. },
  24348. "lastlogintime": {
  24349. "description": "最新登录时间",
  24350. "type": "string"
  24351. },
  24352. "logincode": {
  24353. "description": "登录代码",
  24354. "type": "string"
  24355. },
  24356. "loginfailnum": {
  24357. "description": "连续登录失败次数(登录成功时清零)",
  24358. "type": "integer"
  24359. },
  24360. "loginid": {
  24361. "description": "登陆账号",
  24362. "type": "integer"
  24363. },
  24364. "loginport": {
  24365. "description": "最新登录端口",
  24366. "type": "integer"
  24367. },
  24368. "loginstatus": {
  24369. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  24370. "type": "integer"
  24371. },
  24372. "loginusertype": {
  24373. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  24374. "type": "integer"
  24375. },
  24376. "mobile": {
  24377. "description": "手机号码(加密存储)",
  24378. "type": "string"
  24379. },
  24380. "modifierid": {
  24381. "description": "修改人",
  24382. "type": "integer"
  24383. },
  24384. "modifysrc": {
  24385. "description": "审核来源 - 1:管理端 2:终端",
  24386. "type": "integer"
  24387. },
  24388. "modifytime": {
  24389. "description": "修改时间",
  24390. "type": "string"
  24391. },
  24392. "password": {
  24393. "description": "登陆密码",
  24394. "type": "string"
  24395. },
  24396. "pwdwrongcount": {
  24397. "description": "密码错误次数",
  24398. "type": "integer"
  24399. },
  24400. "relateduserid": {
  24401. "description": "关联用户ID(机构)",
  24402. "type": "integer"
  24403. },
  24404. "taaccountrighttype": {
  24405. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  24406. "type": "integer"
  24407. },
  24408. "unfreezetime": {
  24409. "description": "账户解冻时间",
  24410. "type": "string"
  24411. },
  24412. "userid": {
  24413. "description": "用户ID",
  24414. "type": "integer"
  24415. }
  24416. }
  24417. },
  24418. "models.MainAccountInfo": {
  24419. "type": "object",
  24420. "properties": {
  24421. "accountid": {
  24422. "description": "账号id",
  24423. "type": "integer"
  24424. },
  24425. "accountname": {
  24426. "description": "账号名称(taaccount表中的名称)",
  24427. "type": "string"
  24428. },
  24429. "appid": {
  24430. "description": "AppID",
  24431. "type": "string"
  24432. },
  24433. "authcode": {
  24434. "description": "授权码",
  24435. "type": "string"
  24436. },
  24437. "brokerid": {
  24438. "description": "经纪商id",
  24439. "type": "string"
  24440. },
  24441. "fcid": {
  24442. "description": "期货公司id",
  24443. "type": "integer"
  24444. },
  24445. "fcname": {
  24446. "description": "期货公司代码",
  24447. "type": "string"
  24448. },
  24449. "hedgeaccountcode": {
  24450. "description": "外部账号代码(主账号登录代码)",
  24451. "type": "string"
  24452. },
  24453. "hedgeaccountpwd": {
  24454. "description": "密码",
  24455. "type": "string"
  24456. },
  24457. "ismain": {
  24458. "description": "是否主账号",
  24459. "type": "integer"
  24460. },
  24461. "relateduserid": {
  24462. "description": "关联用户id",
  24463. "type": "integer"
  24464. },
  24465. "userid": {
  24466. "description": "关联用户id",
  24467. "type": "integer"
  24468. }
  24469. }
  24470. },
  24471. "models.Market": {
  24472. "type": "object",
  24473. "required": [
  24474. "marketid",
  24475. "marketstatus",
  24476. "openmethod",
  24477. "reckonpricealgorithm",
  24478. "trademode",
  24479. "tradeproperty"
  24480. ],
  24481. "properties": {
  24482. "auctionwrtype": {
  24483. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  24484. "type": "integer"
  24485. },
  24486. "canacceptquote": {
  24487. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  24488. "type": "integer"
  24489. },
  24490. "cangoodsexercise": {
  24491. "description": "[期权]是否可现货行权- 0:否 1:是",
  24492. "type": "integer"
  24493. },
  24494. "cangoodsexercisetype": {
  24495. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  24496. "type": "integer"
  24497. },
  24498. "canmanualquotestrike": {
  24499. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  24500. "type": "integer"
  24501. },
  24502. "canmutistage": {
  24503. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  24504. "type": "integer"
  24505. },
  24506. "canpreexercise": {
  24507. "description": "[期权]是否可预申报- 0:否 1:是",
  24508. "type": "integer"
  24509. },
  24510. "clearinterval": {
  24511. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  24512. "type": "integer"
  24513. },
  24514. "contracttmp": {
  24515. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  24516. "type": "string"
  24517. },
  24518. "exchareaid": {
  24519. "description": "所属交易所,可以没有",
  24520. "type": "integer"
  24521. },
  24522. "goodstype": {
  24523. "description": "商品类型 - 1:交易商品 2:仓单商品",
  24524. "type": "integer"
  24525. },
  24526. "hasrebate": {
  24527. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  24528. "type": "integer"
  24529. },
  24530. "hastradecredit": {
  24531. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  24532. "type": "integer"
  24533. },
  24534. "haswr": {
  24535. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  24536. "type": "integer"
  24537. },
  24538. "isdeductmargin": {
  24539. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  24540. "type": "integer"
  24541. },
  24542. "isrecordsource": {
  24543. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  24544. "type": "integer"
  24545. },
  24546. "isreleasemargin": {
  24547. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  24548. "type": "integer"
  24549. },
  24550. "marginformula": {
  24551. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24552. "type": "integer"
  24553. },
  24554. "marginformula2": {
  24555. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24556. "type": "integer"
  24557. },
  24558. "marketid": {
  24559. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24560. "type": "integer"
  24561. },
  24562. "marketname": {
  24563. "description": "市场名称",
  24564. "type": "string"
  24565. },
  24566. "marketserviceid": {
  24567. "description": "市场服务ID",
  24568. "type": "integer"
  24569. },
  24570. "marketstatus": {
  24571. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24572. "type": "integer"
  24573. },
  24574. "markettype": {
  24575. "description": "市场类型- 1:非交易服务 2:交易服务",
  24576. "type": "integer"
  24577. },
  24578. "matchermode": {
  24579. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  24580. "type": "integer"
  24581. },
  24582. "openmethod": {
  24583. "description": "开盘模式 - 0 自动 1手动",
  24584. "type": "integer"
  24585. },
  24586. "otcuserid": {
  24587. "description": "场外期权做市商[场外期权]",
  24588. "type": "integer"
  24589. },
  24590. "outersynctime": {
  24591. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  24592. "type": "string"
  24593. },
  24594. "pendingflag": {
  24595. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  24596. "type": "integer"
  24597. },
  24598. "pendingtime": {
  24599. "description": "待开市时间[通道交易-对冲](HH:mm)",
  24600. "type": "string"
  24601. },
  24602. "performancetempid": {
  24603. "description": "履约计划模板ID - 作废",
  24604. "type": "integer"
  24605. },
  24606. "premiumquotemode": {
  24607. "description": "权利金报价方式 - 1:自动 2:手动",
  24608. "type": "integer"
  24609. },
  24610. "rebateratio": {
  24611. "description": "返利比率[竞价式]",
  24612. "type": "number"
  24613. },
  24614. "reckonorder": {
  24615. "description": "结算顺序",
  24616. "type": "integer"
  24617. },
  24618. "reckonpricealgorithm": {
  24619. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  24620. "type": "integer"
  24621. },
  24622. "reckonpriceparam": {
  24623. "description": "结算价参数",
  24624. "type": "integer"
  24625. },
  24626. "reckontime": {
  24627. "description": "结算时间[通道交易-对冲](HH:mm)",
  24628. "type": "string"
  24629. },
  24630. "roleprioritytype": {
  24631. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  24632. "type": "integer"
  24633. },
  24634. "selllistingauditflag": {
  24635. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  24636. "type": "integer"
  24637. },
  24638. "trademarkettype": {
  24639. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  24640. "type": "integer"
  24641. },
  24642. "trademode": {
  24643. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24644. "type": "integer"
  24645. },
  24646. "tradeproperty": {
  24647. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  24648. "type": "integer"
  24649. },
  24650. "tradetype": {
  24651. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  24652. "type": "integer"
  24653. }
  24654. }
  24655. },
  24656. "models.Marketrun": {
  24657. "type": "object",
  24658. "required": [
  24659. "marketid",
  24660. "nexttradedate",
  24661. "reckonflag",
  24662. "runstatus",
  24663. "tradedate",
  24664. "tradedate2"
  24665. ],
  24666. "properties": {
  24667. "afternexttradedate": {
  24668. "description": "下下交易日",
  24669. "type": "string"
  24670. },
  24671. "clearquoteflag": {
  24672. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  24673. "type": "integer"
  24674. },
  24675. "lastreckondate": {
  24676. "description": "最新交易日(结算成功)",
  24677. "type": "string"
  24678. },
  24679. "machinedate": {
  24680. "description": "机器时间",
  24681. "type": "string"
  24682. },
  24683. "manualflag": {
  24684. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  24685. "type": "integer"
  24686. },
  24687. "marketid": {
  24688. "description": "市场ID",
  24689. "type": "integer"
  24690. },
  24691. "nexttradedate": {
  24692. "description": "下一交易日",
  24693. "type": "string"
  24694. },
  24695. "pretradedate": {
  24696. "description": "上一交易日",
  24697. "type": "string"
  24698. },
  24699. "reckonflag": {
  24700. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  24701. "type": "integer"
  24702. },
  24703. "runstatus": {
  24704. "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.今日免清算",
  24705. "type": "integer"
  24706. },
  24707. "sectionid": {
  24708. "description": "时间段号[多时段时用]",
  24709. "type": "integer"
  24710. },
  24711. "tradedate": {
  24712. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  24713. "type": "string"
  24714. },
  24715. "tradedate2": {
  24716. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  24717. "type": "string"
  24718. },
  24719. "updatetime": {
  24720. "description": "更新时间",
  24721. "type": "string"
  24722. }
  24723. }
  24724. },
  24725. "models.Messageboard": {
  24726. "type": "object",
  24727. "required": [
  24728. "messageboardid"
  24729. ],
  24730. "properties": {
  24731. "contactnum": {
  24732. "description": "联系电话",
  24733. "type": "string"
  24734. },
  24735. "createtime": {
  24736. "description": "创建时间",
  24737. "type": "string"
  24738. },
  24739. "message": {
  24740. "description": "留言信息",
  24741. "type": "string"
  24742. },
  24743. "messageboardid": {
  24744. "description": "留言簿ID(SEQ_MessageBoard)",
  24745. "type": "integer"
  24746. },
  24747. "userid": {
  24748. "description": "用户ID",
  24749. "type": "integer"
  24750. }
  24751. }
  24752. },
  24753. "models.MyCoupon": {
  24754. "type": "object",
  24755. "required": [
  24756. "accountid",
  24757. "coupontypeid"
  24758. ],
  24759. "properties": {
  24760. "accountid": {
  24761. "description": "资金账户ID",
  24762. "type": "integer"
  24763. },
  24764. "areauserid": {
  24765. "description": "所属机构",
  24766. "type": "integer"
  24767. },
  24768. "conditionvalue": {
  24769. "description": "条件阈值(可为0)",
  24770. "type": "number"
  24771. },
  24772. "couponcategroy": {
  24773. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  24774. "type": "integer"
  24775. },
  24776. "couponname": {
  24777. "description": "优惠券名称",
  24778. "type": "string"
  24779. },
  24780. "coupontypeid": {
  24781. "description": "优惠券类型ID",
  24782. "type": "string"
  24783. },
  24784. "couponvalue": {
  24785. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24786. "type": "number"
  24787. },
  24788. "curfreezeqty": {
  24789. "description": "期末冻结数量",
  24790. "type": "integer"
  24791. },
  24792. "curqty": {
  24793. "description": "期末数量",
  24794. "type": "integer"
  24795. },
  24796. "isgeneral": {
  24797. "description": "是否通用券 - 0:否 1:是",
  24798. "type": "integer"
  24799. },
  24800. "isunusable": {
  24801. "description": "是否不可用",
  24802. "type": "boolean"
  24803. },
  24804. "limitedflag": {
  24805. "description": "是否指定商品 - 0:不限 1:限制",
  24806. "type": "integer"
  24807. },
  24808. "limitedgoodsids": {
  24809. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  24810. "type": "string"
  24811. },
  24812. "orifreezeqty": {
  24813. "description": "期初冻结数量",
  24814. "type": "integer"
  24815. },
  24816. "oriqty": {
  24817. "description": "期初数量",
  24818. "type": "integer"
  24819. },
  24820. "reasontype": {
  24821. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  24822. "type": "integer"
  24823. },
  24824. "todaydecrease": {
  24825. "description": "今日减少",
  24826. "type": "integer"
  24827. },
  24828. "todayincrease": {
  24829. "description": "今日增加",
  24830. "type": "integer"
  24831. },
  24832. "userid": {
  24833. "description": "用户ID",
  24834. "type": "integer"
  24835. },
  24836. "userscope": {
  24837. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  24838. "type": "string"
  24839. }
  24840. }
  24841. },
  24842. "models.MyCouponHold": {
  24843. "type": "object",
  24844. "required": [
  24845. "couponholdid"
  24846. ],
  24847. "properties": {
  24848. "accountid": {
  24849. "description": "资金账户ID",
  24850. "type": "integer"
  24851. },
  24852. "conditionvalue": {
  24853. "description": "条件阈值(可为0)",
  24854. "type": "number"
  24855. },
  24856. "couponcategroy": {
  24857. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  24858. "type": "integer"
  24859. },
  24860. "couponholdid": {
  24861. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  24862. "type": "string"
  24863. },
  24864. "couponname": {
  24865. "description": "优惠券名称",
  24866. "type": "string"
  24867. },
  24868. "coupontypeid": {
  24869. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  24870. "type": "string"
  24871. },
  24872. "couponvalue": {
  24873. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24874. "type": "number"
  24875. },
  24876. "createtime": {
  24877. "description": "创建时间",
  24878. "type": "string"
  24879. },
  24880. "enddate": {
  24881. "description": "结束日期",
  24882. "type": "string"
  24883. },
  24884. "giveapplyid": {
  24885. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  24886. "type": "integer"
  24887. },
  24888. "holdstatus": {
  24889. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  24890. "type": "integer"
  24891. },
  24892. "isgeneral": {
  24893. "description": "是否通用券 - 0:否 1:是",
  24894. "type": "integer"
  24895. },
  24896. "limitedflag": {
  24897. "description": "是否指定商品 - 0:不限 1:限制",
  24898. "type": "integer"
  24899. },
  24900. "limitedgoodsids": {
  24901. "description": "指定商品IDs[逗号分隔]",
  24902. "type": "string"
  24903. },
  24904. "qty": {
  24905. "description": "数量(按1平铺)",
  24906. "type": "integer"
  24907. },
  24908. "startdate": {
  24909. "description": "开始日期",
  24910. "type": "string"
  24911. },
  24912. "userid": {
  24913. "description": "用户ID",
  24914. "type": "integer"
  24915. },
  24916. "userscope": {
  24917. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  24918. "type": "string"
  24919. }
  24920. }
  24921. },
  24922. "models.MyUsedCoupon": {
  24923. "type": "object",
  24924. "required": [
  24925. "coupontypeid",
  24926. "orderid"
  24927. ],
  24928. "properties": {
  24929. "accountid": {
  24930. "description": "资金账户ID(买方)",
  24931. "type": "integer"
  24932. },
  24933. "conditionvalue": {
  24934. "description": "条件阈值(可为0)",
  24935. "type": "number"
  24936. },
  24937. "couponcategroy": {
  24938. "description": "种类 - 1:现金券 2:折扣券",
  24939. "type": "integer"
  24940. },
  24941. "couponname": {
  24942. "description": "优惠券名称",
  24943. "type": "string"
  24944. },
  24945. "coupontypeid": {
  24946. "description": "优惠券类型ID(买方)",
  24947. "type": "string"
  24948. },
  24949. "couponvalue": {
  24950. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  24951. "type": "number"
  24952. },
  24953. "createtime": {
  24954. "description": "创建时间",
  24955. "type": "string"
  24956. },
  24957. "goodsid": {
  24958. "description": "商品ID",
  24959. "type": "integer"
  24960. },
  24961. "handlestatus": {
  24962. "description": "处理状态",
  24963. "type": "integer"
  24964. },
  24965. "marketid": {
  24966. "description": "市场ID",
  24967. "type": "integer"
  24968. },
  24969. "offamount": {
  24970. "description": "优惠金额",
  24971. "type": "number"
  24972. },
  24973. "orderid": {
  24974. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24975. "type": "string"
  24976. },
  24977. "sellaccountid": {
  24978. "description": "资金账户ID(卖方)",
  24979. "type": "integer"
  24980. },
  24981. "tradeamount": {
  24982. "description": "成交金额",
  24983. "type": "number"
  24984. },
  24985. "tradeid": {
  24986. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24987. "type": "string"
  24988. },
  24989. "usedqty": {
  24990. "description": "使用数量",
  24991. "type": "integer"
  24992. }
  24993. }
  24994. },
  24995. "models.OperationPrimaryMenu": {
  24996. "type": "object",
  24997. "properties": {
  24998. "Children": {
  24999. "description": "二级功能菜单",
  25000. "type": "array",
  25001. "items": {
  25002. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25003. }
  25004. },
  25005. "Key": {
  25006. "description": "菜单KEY",
  25007. "type": "string"
  25008. },
  25009. "Label": {
  25010. "description": "菜单标题",
  25011. "type": "string"
  25012. }
  25013. }
  25014. },
  25015. "models.OperationSecondaryMenu": {
  25016. "type": "object",
  25017. "properties": {
  25018. "Key": {
  25019. "description": "菜单KEY",
  25020. "type": "string"
  25021. },
  25022. "Label": {
  25023. "description": "菜单标题",
  25024. "type": "string"
  25025. },
  25026. "TabList": {
  25027. "description": "三级功能菜单",
  25028. "type": "array",
  25029. "items": {
  25030. "$ref": "#/definitions/models.OperationTabMenu"
  25031. }
  25032. }
  25033. }
  25034. },
  25035. "models.OperationTabMenu": {
  25036. "type": "object",
  25037. "properties": {
  25038. "Key": {
  25039. "description": "菜单KEY",
  25040. "type": "string"
  25041. },
  25042. "Label": {
  25043. "description": "菜单标题",
  25044. "type": "string"
  25045. }
  25046. }
  25047. },
  25048. "models.PendingAuditBizModel": {
  25049. "type": "object",
  25050. "properties": {
  25051. "accountid": {
  25052. "description": "现货账户",
  25053. "type": "string"
  25054. },
  25055. "areaname": {
  25056. "description": "所属部门",
  25057. "type": "string"
  25058. },
  25059. "bizid": {
  25060. "description": "业务ID",
  25061. "type": "string"
  25062. },
  25063. "bizname": {
  25064. "description": "业务名称",
  25065. "type": "string"
  25066. },
  25067. "status": {
  25068. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25069. "type": "integer"
  25070. },
  25071. "type": {
  25072. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25073. "type": "integer"
  25074. }
  25075. }
  25076. },
  25077. "models.QhjAccountOutInApply": {
  25078. "type": "object",
  25079. "properties": {
  25080. "accountcode": {
  25081. "description": "资金账号",
  25082. "type": "string"
  25083. },
  25084. "accountname": {
  25085. "description": "用户名称(名称)",
  25086. "type": "string"
  25087. },
  25088. "accountpwd": {
  25089. "description": "资金密码",
  25090. "type": "string"
  25091. },
  25092. "accountticket": {
  25093. "description": "最新账户服务流水号",
  25094. "type": "string"
  25095. },
  25096. "amount": {
  25097. "description": "金额",
  25098. "type": "number"
  25099. },
  25100. "applyremark": {
  25101. "description": "申请备注",
  25102. "type": "string"
  25103. },
  25104. "applystatus": {
  25105. "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: 复审通过,账户冻结金额检查中;",
  25106. "type": "integer"
  25107. },
  25108. "auditid": {
  25109. "description": "审核人",
  25110. "type": "integer"
  25111. },
  25112. "audittime": {
  25113. "description": "审核时间",
  25114. "type": "string"
  25115. },
  25116. "bank_apply_ticket": {
  25117. "description": "银行申请流水",
  25118. "type": "string"
  25119. },
  25120. "bankaccountname": {
  25121. "description": "银行账户名",
  25122. "type": "string"
  25123. },
  25124. "bankaccountno": {
  25125. "description": "银行卡号",
  25126. "type": "string"
  25127. },
  25128. "bankid": {
  25129. "description": "银行编号",
  25130. "type": "string"
  25131. },
  25132. "bankticket": {
  25133. "description": "银行流水",
  25134. "type": "string"
  25135. },
  25136. "branchbankid": {
  25137. "description": "银行支行号",
  25138. "type": "string"
  25139. },
  25140. "branchbankname": {
  25141. "description": "银行支行名称",
  25142. "type": "string"
  25143. },
  25144. "capamountout": {
  25145. "description": "出金(劣后本金) - 外部子账户",
  25146. "type": "number"
  25147. },
  25148. "certificatephotourl": {
  25149. "description": "凭证地址",
  25150. "type": "string"
  25151. },
  25152. "charge": {
  25153. "description": "手续费",
  25154. "type": "number"
  25155. },
  25156. "checkerrorflag": {
  25157. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25158. "type": "integer"
  25159. },
  25160. "currency": {
  25161. "description": "币种",
  25162. "type": "string"
  25163. },
  25164. "cusbankid": {
  25165. "description": "托管银行编号",
  25166. "type": "string"
  25167. },
  25168. "exchticket": {
  25169. "description": "银行服务流水号",
  25170. "type": "string"
  25171. },
  25172. "executetype": {
  25173. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25174. "type": "integer"
  25175. },
  25176. "extendinfo": {
  25177. "description": "扩展信息",
  25178. "type": "string"
  25179. },
  25180. "extoperateid": {
  25181. "description": "交易服务流水号",
  25182. "type": "integer"
  25183. },
  25184. "infamount": {
  25185. "description": "劣后金额(自有)",
  25186. "type": "number"
  25187. },
  25188. "logincode": {
  25189. "description": "登录账号(账号)",
  25190. "type": "string"
  25191. },
  25192. "netaddr": {
  25193. "description": "调转网址",
  25194. "type": "string"
  25195. },
  25196. "priamount": {
  25197. "description": "优先金额(授信)",
  25198. "type": "number"
  25199. },
  25200. "reauditid": {
  25201. "description": "复审人",
  25202. "type": "integer"
  25203. },
  25204. "reauditremark": {
  25205. "description": "复审备注",
  25206. "type": "string"
  25207. },
  25208. "reaudittime": {
  25209. "description": "复审时间",
  25210. "type": "string"
  25211. },
  25212. "relatedorderid": {
  25213. "description": "三方关联ID",
  25214. "type": "string"
  25215. },
  25216. "remark": {
  25217. "description": "备注",
  25218. "type": "string"
  25219. },
  25220. "remark2": {
  25221. "description": "备注(失败原因)",
  25222. "type": "string"
  25223. },
  25224. "soucreamount": {
  25225. "description": "原始出入金金额",
  25226. "type": "number"
  25227. },
  25228. "soucrecurrencyid": {
  25229. "description": "原始出入金币种",
  25230. "type": "integer"
  25231. },
  25232. "tradedate": {
  25233. "description": "交易日(yyyyMMdd)",
  25234. "type": "string"
  25235. },
  25236. "updatetime": {
  25237. "description": "更新时间(申请时间)",
  25238. "type": "string"
  25239. },
  25240. "userid": {
  25241. "description": "用户id",
  25242. "type": "integer"
  25243. },
  25244. "userinfotype": {
  25245. "description": "账户类型 1-个人 2-企业",
  25246. "type": "integer"
  25247. }
  25248. }
  25249. },
  25250. "models.QhjAgreementChangeLog": {
  25251. "type": "object",
  25252. "properties": {
  25253. "agreementcontent": {
  25254. "description": "协议内容",
  25255. "type": "string"
  25256. },
  25257. "agreementfrequency": {
  25258. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25259. "type": "integer"
  25260. },
  25261. "agreementid": {
  25262. "description": "协议ID",
  25263. "type": "integer"
  25264. },
  25265. "agreementname": {
  25266. "description": "协议名称",
  25267. "type": "string"
  25268. },
  25269. "agreementno": {
  25270. "description": "协议编号",
  25271. "type": "string"
  25272. },
  25273. "agreementtype": {
  25274. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25275. "type": "integer"
  25276. },
  25277. "agreementversion": {
  25278. "description": "协议版本号",
  25279. "type": "integer"
  25280. },
  25281. "logid": {
  25282. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25283. "type": "integer"
  25284. },
  25285. "reviserid": {
  25286. "description": "修改人",
  25287. "type": "integer"
  25288. },
  25289. "revisersrc": {
  25290. "description": "修改来源 - 1:管理端 2:终端",
  25291. "type": "integer"
  25292. },
  25293. "updatetime": {
  25294. "description": "更新时间",
  25295. "type": "string"
  25296. }
  25297. }
  25298. },
  25299. "models.QhjAgreementConfig": {
  25300. "type": "object",
  25301. "properties": {
  25302. "agreementcontent": {
  25303. "description": "协议内容",
  25304. "type": "string"
  25305. },
  25306. "agreementfrequency": {
  25307. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25308. "type": "integer"
  25309. },
  25310. "agreementid": {
  25311. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  25312. "type": "integer"
  25313. },
  25314. "agreementname": {
  25315. "description": "协议名称",
  25316. "type": "string"
  25317. },
  25318. "agreementno": {
  25319. "description": "协议编号",
  25320. "type": "string"
  25321. },
  25322. "agreementtype": {
  25323. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25324. "type": "integer"
  25325. },
  25326. "agreementversion": {
  25327. "description": "协议版本号(从1开始每次修改加1)",
  25328. "type": "integer"
  25329. },
  25330. "createtime": {
  25331. "description": "创建时间",
  25332. "type": "string"
  25333. },
  25334. "creatorid": {
  25335. "description": "创建人",
  25336. "type": "integer"
  25337. },
  25338. "creatorsrc": {
  25339. "description": "创建来源 - 1:管理端 2:终端",
  25340. "type": "integer"
  25341. },
  25342. "isvalid": {
  25343. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  25344. "type": "integer"
  25345. },
  25346. "reviserid": {
  25347. "description": "修改人",
  25348. "type": "integer"
  25349. },
  25350. "revisersrc": {
  25351. "description": "修改来源 - 1:管理端 2:终端",
  25352. "type": "integer"
  25353. },
  25354. "updatetime": {
  25355. "description": "更新时间",
  25356. "type": "string"
  25357. }
  25358. }
  25359. },
  25360. "models.QhjAreaFinanceConfig": {
  25361. "type": "object",
  25362. "properties": {
  25363. "additionalratio": {
  25364. "description": "追加款比例",
  25365. "type": "number"
  25366. },
  25367. "advanceratio": {
  25368. "description": "预付款比例",
  25369. "type": "number"
  25370. },
  25371. "alarmratio": {
  25372. "description": "告警比例",
  25373. "type": "number"
  25374. },
  25375. "consumptiondirectreward": {
  25376. "description": "消费直推奖励值",
  25377. "type": "number"
  25378. },
  25379. "consumptionenabled": {
  25380. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  25381. "type": "integer"
  25382. },
  25383. "consumptionindirectreward": {
  25384. "description": "消费间推奖励值",
  25385. "type": "number"
  25386. },
  25387. "consumptionmodel": {
  25388. "description": "消费奖励方式 - 1:比率 2:固定",
  25389. "type": "integer"
  25390. },
  25391. "customerservicenum": {
  25392. "description": "客服电话",
  25393. "type": "string"
  25394. },
  25395. "dayinterestrate": {
  25396. "description": "日利率",
  25397. "type": "number"
  25398. },
  25399. "disableconsumptiontips": {
  25400. "description": "关闭消费奖励提示",
  25401. "type": "string"
  25402. },
  25403. "modifierid": {
  25404. "description": "修改人ID",
  25405. "type": "integer"
  25406. },
  25407. "modifysrc": {
  25408. "description": "审核来源 - 1:管理端 2:终端",
  25409. "type": "integer"
  25410. },
  25411. "modifytime": {
  25412. "description": "修改时间",
  25413. "type": "string"
  25414. },
  25415. "promotionvalue": {
  25416. "description": "推广奖励值(固定)",
  25417. "type": "number"
  25418. },
  25419. "scoreconfigvalue1": {
  25420. "description": "提货积分配置1",
  25421. "type": "integer"
  25422. },
  25423. "scoreconfigvalue2": {
  25424. "description": "提货积分配置2",
  25425. "type": "integer"
  25426. },
  25427. "userid": {
  25428. "description": "机构用户ID其他做市关系,都设置为 1",
  25429. "type": "integer"
  25430. },
  25431. "username": {
  25432. "description": "用户名称",
  25433. "type": "string"
  25434. }
  25435. }
  25436. },
  25437. "models.QhjBankAccountSign": {
  25438. "type": "object",
  25439. "properties": {
  25440. "accountcode": {
  25441. "description": "资金账号",
  25442. "type": "string"
  25443. },
  25444. "accountname": {
  25445. "description": "资金账号对应的账号名(UserName)",
  25446. "type": "string"
  25447. },
  25448. "accountname2": {
  25449. "description": "资金账号对应的账号名(UserName) - 密文",
  25450. "type": "string"
  25451. },
  25452. "accounttype": {
  25453. "description": "账户类型(UserType)",
  25454. "type": "integer"
  25455. },
  25456. "applicationtime": {
  25457. "description": "最后一次更新的时间",
  25458. "type": "string"
  25459. },
  25460. "applyexchticket": {
  25461. "description": "申请流水",
  25462. "type": "string"
  25463. },
  25464. "auditid": {
  25465. "description": "审核人",
  25466. "type": "integer"
  25467. },
  25468. "audittime": {
  25469. "description": "审核时间",
  25470. "type": "string"
  25471. },
  25472. "bankaccountname": {
  25473. "description": "签约银行卡账号名",
  25474. "type": "string"
  25475. },
  25476. "bankaccountname2": {
  25477. "description": "签约银行卡账号名 - 密文",
  25478. "type": "string"
  25479. },
  25480. "bankaccountno": {
  25481. "description": "银行卡号",
  25482. "type": "string"
  25483. },
  25484. "bankaccountno2": {
  25485. "description": "银行卡号 - 密文",
  25486. "type": "string"
  25487. },
  25488. "bankaccounttype": {
  25489. "description": "银行账户类型 - 1-对私; 2-对公",
  25490. "type": "integer"
  25491. },
  25492. "bankcardtype": {
  25493. "description": "银行卡类型",
  25494. "type": "integer"
  25495. },
  25496. "bankchildaccount": {
  25497. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  25498. "type": "string"
  25499. },
  25500. "bankcity": {
  25501. "description": "开户行城市",
  25502. "type": "string"
  25503. },
  25504. "bankid": {
  25505. "description": "签约银行ID",
  25506. "type": "string"
  25507. },
  25508. "bankname": {
  25509. "description": "签约银行名称",
  25510. "type": "string"
  25511. },
  25512. "bankprovince": {
  25513. "description": "开户行省份",
  25514. "type": "string"
  25515. },
  25516. "branchbankid": {
  25517. "description": "签约银行支行号",
  25518. "type": "string"
  25519. },
  25520. "branchbankname": {
  25521. "description": "签约银行支行名称",
  25522. "type": "string"
  25523. },
  25524. "cardno": {
  25525. "description": "证件号码",
  25526. "type": "string"
  25527. },
  25528. "cardno2": {
  25529. "description": "证件号码 - 密文",
  25530. "type": "string"
  25531. },
  25532. "cardtype": {
  25533. "description": "证件类型",
  25534. "type": "string"
  25535. },
  25536. "currency": {
  25537. "description": "币种",
  25538. "type": "string"
  25539. },
  25540. "cusbankid": {
  25541. "description": "托管银行编号",
  25542. "type": "string"
  25543. },
  25544. "direct": {
  25545. "description": "方向(可以判断那方先发起的签约)",
  25546. "type": "integer"
  25547. },
  25548. "exchticket": {
  25549. "description": "最后一次签约成功的流水号",
  25550. "type": "string"
  25551. },
  25552. "extendinfo": {
  25553. "description": "扩展信息(JSON字符串)",
  25554. "type": "string"
  25555. },
  25556. "mobilephone": {
  25557. "description": "手机号",
  25558. "type": "string"
  25559. },
  25560. "mobilephone2": {
  25561. "description": "手机号 - 密文",
  25562. "type": "string"
  25563. },
  25564. "netaddr": {
  25565. "description": "调转网址",
  25566. "type": "string"
  25567. },
  25568. "relateduserid": {
  25569. "description": "关联使用者userid",
  25570. "type": "integer"
  25571. },
  25572. "signstatus": {
  25573. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  25574. "type": "integer"
  25575. },
  25576. "updatetime": {
  25577. "description": "更新时间(签解约更新时间)",
  25578. "type": "string"
  25579. }
  25580. }
  25581. },
  25582. "models.QhjBankInfo": {
  25583. "type": "object",
  25584. "properties": {
  25585. "bankid": {
  25586. "description": "银行ID",
  25587. "type": "string"
  25588. },
  25589. "bankname": {
  25590. "description": "银行名称",
  25591. "type": "string"
  25592. },
  25593. "clearbankno": {
  25594. "description": "清算系统银行编号",
  25595. "type": "string"
  25596. },
  25597. "orderindex": {
  25598. "description": "排序顺序",
  25599. "type": "integer"
  25600. },
  25601. "status": {
  25602. "description": "状态 - 0:正常 1:注销",
  25603. "type": "integer"
  25604. }
  25605. }
  25606. },
  25607. "models.QhjBrokerApply": {
  25608. "type": "object",
  25609. "properties": {
  25610. "applicantid": {
  25611. "description": "申请人",
  25612. "type": "integer"
  25613. },
  25614. "applysrc": {
  25615. "description": "申请来源 - 1:管理端 2:终端",
  25616. "type": "integer"
  25617. },
  25618. "applystatus": {
  25619. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25620. "type": "integer"
  25621. },
  25622. "applytime": {
  25623. "description": "申请时间",
  25624. "type": "string"
  25625. },
  25626. "auditorid": {
  25627. "description": "审核人",
  25628. "type": "integer"
  25629. },
  25630. "auditremark": {
  25631. "description": "审核备注",
  25632. "type": "string"
  25633. },
  25634. "auditsrc": {
  25635. "description": "审核来源 - 1:管理端 2:终端",
  25636. "type": "integer"
  25637. },
  25638. "audittime": {
  25639. "description": "审核时间",
  25640. "type": "string"
  25641. },
  25642. "audittradedate": {
  25643. "description": "审核交易日(yyyyMMdd)",
  25644. "type": "string"
  25645. },
  25646. "brokerapplyid": {
  25647. "description": "申请ID(SEQ_BROKERAPPLY)",
  25648. "type": "integer"
  25649. },
  25650. "cardbackphotourl": {
  25651. "description": "证件背面图片地址",
  25652. "type": "string"
  25653. },
  25654. "cardfrontphotourl": {
  25655. "description": "证件正面图片地址",
  25656. "type": "string"
  25657. },
  25658. "cardnum": {
  25659. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25660. "type": "string"
  25661. },
  25662. "customername": {
  25663. "description": "姓名",
  25664. "type": "string"
  25665. },
  25666. "logincode": {
  25667. "description": "登录代码",
  25668. "type": "string"
  25669. },
  25670. "mobile": {
  25671. "description": "手机号码",
  25672. "type": "string"
  25673. },
  25674. "parentuserid": {
  25675. "description": "所属机构id",
  25676. "type": "integer"
  25677. },
  25678. "parentusername": {
  25679. "description": "所属机构名称",
  25680. "type": "string"
  25681. },
  25682. "refereeuserid": {
  25683. "description": "推荐人id(经纪人)",
  25684. "type": "integer"
  25685. },
  25686. "refernum": {
  25687. "description": "推荐码",
  25688. "type": "string"
  25689. },
  25690. "remark": {
  25691. "description": "备注",
  25692. "type": "string"
  25693. },
  25694. "subarealevelpath": {
  25695. "description": "层级路径",
  25696. "type": "string"
  25697. },
  25698. "tradedate": {
  25699. "description": "交易日(yyyyMMdd)",
  25700. "type": "string"
  25701. },
  25702. "userid": {
  25703. "description": "申请人用户ID",
  25704. "type": "integer"
  25705. },
  25706. "userinfotype": {
  25707. "description": "用户类型 1-个人 2-企业",
  25708. "type": "integer"
  25709. },
  25710. "username": {
  25711. "description": "用户名称",
  25712. "type": "string"
  25713. }
  25714. }
  25715. },
  25716. "models.QhjBrokerApplyEx": {
  25717. "type": "object",
  25718. "properties": {
  25719. "applylist": {
  25720. "description": "经纪人申请记录(只返回最新一条)",
  25721. "type": "array",
  25722. "items": {
  25723. "$ref": "#/definitions/models.QhjBrokerApply"
  25724. }
  25725. },
  25726. "canrecommend": {
  25727. "description": "是否经纪人 0-不是 1-是",
  25728. "type": "integer"
  25729. },
  25730. "refernum": {
  25731. "description": "推荐码",
  25732. "type": "string"
  25733. },
  25734. "userid": {
  25735. "description": "用户id",
  25736. "type": "integer"
  25737. },
  25738. "userinfotype": {
  25739. "description": "用户类型 1-个人 2-企业",
  25740. "type": "integer"
  25741. }
  25742. }
  25743. },
  25744. "models.QhjBrokerRewardLog": {
  25745. "type": "object",
  25746. "properties": {
  25747. "accountid": {
  25748. "description": "资金账号ID",
  25749. "type": "integer"
  25750. },
  25751. "createtime": {
  25752. "description": "创建时间(时间)",
  25753. "type": "string"
  25754. },
  25755. "handlestatus": {
  25756. "description": "处理状态",
  25757. "type": "integer"
  25758. },
  25759. "logid": {
  25760. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25761. "type": "string"
  25762. },
  25763. "marketid": {
  25764. "description": "市场ID",
  25765. "type": "integer"
  25766. },
  25767. "mmaccountid": {
  25768. "description": "做市商资金账号ID",
  25769. "type": "string"
  25770. },
  25771. "mmuserid": {
  25772. "description": "做市商用户ID",
  25773. "type": "string"
  25774. },
  25775. "rewardamount": {
  25776. "description": "奖励金额",
  25777. "type": "number"
  25778. },
  25779. "rewardmodel": {
  25780. "description": "消费奖励方式 - 1:比率 2:固定",
  25781. "type": "integer"
  25782. },
  25783. "rewardtype": {
  25784. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  25785. "type": "integer"
  25786. },
  25787. "rewardvalue": {
  25788. "description": "配置奖励值",
  25789. "type": "number"
  25790. },
  25791. "srcamount": {
  25792. "description": "成交金额 [消费奖励] (金额)",
  25793. "type": "number"
  25794. },
  25795. "srcgoodsid": {
  25796. "description": "来源商品ID [消费奖励]",
  25797. "type": "string"
  25798. },
  25799. "srctime": {
  25800. "description": "来源时间 (成交时间) [消费奖励]",
  25801. "type": "string"
  25802. },
  25803. "srctradeid": {
  25804. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  25805. "type": "string"
  25806. },
  25807. "srcuserid": {
  25808. "description": "来源用户ID(推广账户)",
  25809. "type": "string"
  25810. },
  25811. "srcusername": {
  25812. "description": "推广账户名称",
  25813. "type": "string"
  25814. },
  25815. "tradedate": {
  25816. "description": "交易日(yyyyMMdd)",
  25817. "type": "string"
  25818. },
  25819. "userid": {
  25820. "description": "经纪人用户ID",
  25821. "type": "integer"
  25822. }
  25823. }
  25824. },
  25825. "models.QhjContract": {
  25826. "type": "object",
  25827. "properties": {
  25828. "contractconfirmtime": {
  25829. "description": "合同确认时间(时间)",
  25830. "type": "string"
  25831. },
  25832. "currisklevel": {
  25833. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25834. "type": "integer"
  25835. },
  25836. "decimalplace": {
  25837. "description": "商品报价小数位",
  25838. "type": "integer"
  25839. },
  25840. "enumdicname": {
  25841. "description": "单位名称",
  25842. "type": "string"
  25843. },
  25844. "goodscode": {
  25845. "description": "商品代码",
  25846. "type": "string"
  25847. },
  25848. "goodsid": {
  25849. "description": "商品ID [5:融资单]",
  25850. "type": "integer"
  25851. },
  25852. "goodsname": {
  25853. "description": "商品名称",
  25854. "type": "string"
  25855. },
  25856. "goodunitid": {
  25857. "description": "商品单位id",
  25858. "type": "integer"
  25859. },
  25860. "initmargin": {
  25861. "description": "初始保证金(首付款)",
  25862. "type": "number"
  25863. },
  25864. "lenderamount": {
  25865. "description": "贷款金额(总额|订单总额)",
  25866. "type": "number"
  25867. },
  25868. "marginratio": {
  25869. "description": "保证金比率(首付比例)",
  25870. "type": "number"
  25871. },
  25872. "payamount": {
  25873. "description": "已付(已付货款)",
  25874. "type": "number"
  25875. },
  25876. "reckonrecovermargin": {
  25877. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25878. "type": "number"
  25879. },
  25880. "recoveredmargin": {
  25881. "description": "已追缴保证金",
  25882. "type": "number"
  25883. },
  25884. "remainamount": {
  25885. "description": "合同剩余金额(融资额)",
  25886. "type": "number"
  25887. },
  25888. "scfcontractid": {
  25889. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25890. "type": "string"
  25891. },
  25892. "scfcontractstatus": {
  25893. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25894. "type": "integer"
  25895. },
  25896. "scfcontracttype": {
  25897. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25898. "type": "integer"
  25899. },
  25900. "totalinterest": {
  25901. "description": "已计总利息(利息)",
  25902. "type": "number"
  25903. },
  25904. "tradeprice": {
  25905. "description": "成交价格(成本价格)",
  25906. "type": "number"
  25907. },
  25908. "userid": {
  25909. "description": "用户ID",
  25910. "type": "integer"
  25911. },
  25912. "username": {
  25913. "description": "用户名称",
  25914. "type": "string"
  25915. },
  25916. "wrqty": {
  25917. "description": "仓单数量(数量)",
  25918. "type": "number"
  25919. }
  25920. }
  25921. },
  25922. "models.QhjContractLog": {
  25923. "type": "object",
  25924. "properties": {
  25925. "amount": {
  25926. "description": "支付金额",
  25927. "type": "number"
  25928. },
  25929. "amounttype": {
  25930. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  25931. "type": "integer"
  25932. },
  25933. "logid": {
  25934. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25935. "type": "string"
  25936. },
  25937. "remainamount": {
  25938. "description": "剩余货款",
  25939. "type": "number"
  25940. },
  25941. "scfcontractid": {
  25942. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25943. "type": "integer"
  25944. },
  25945. "updatetime": {
  25946. "description": "更新时间",
  25947. "type": "string"
  25948. }
  25949. }
  25950. },
  25951. "models.QhjCusBankSignBankEx": {
  25952. "type": "object",
  25953. "properties": {
  25954. "banklst": {
  25955. "description": "银行列表",
  25956. "type": "array",
  25957. "items": {
  25958. "$ref": "#/definitions/models.QhjBankInfo"
  25959. }
  25960. },
  25961. "canallot": {
  25962. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  25963. "type": "integer"
  25964. },
  25965. "canallotquery": {
  25966. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  25967. "type": "integer"
  25968. },
  25969. "canbindcard": {
  25970. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  25971. "type": "integer"
  25972. },
  25973. "caninamount": {
  25974. "description": "是否可入金 - 0:不可 1:可以",
  25975. "type": "integer"
  25976. },
  25977. "caninamount2": {
  25978. "description": "是否可入金(网银端) - 0:不可 1:可以",
  25979. "type": "integer"
  25980. },
  25981. "canmodifybankcard": {
  25982. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  25983. "type": "integer"
  25984. },
  25985. "canmodifyphone": {
  25986. "description": "是否可修改手机号 - 0:不可 1:可以",
  25987. "type": "integer"
  25988. },
  25989. "canmodifysigninfo": {
  25990. "description": "是否可修改签约信息 - 0:不可 1:可以",
  25991. "type": "integer"
  25992. },
  25993. "canoutamount": {
  25994. "description": "是否可出金 - 0:不可 1:可以",
  25995. "type": "integer"
  25996. },
  25997. "canoutamount2": {
  25998. "description": "是否可出金(网银端) - 0:不可 1:可以",
  25999. "type": "integer"
  26000. },
  26001. "canrelease": {
  26002. "description": "是否可解约 - 0:不可 1:可以",
  26003. "type": "integer"
  26004. },
  26005. "canrelease2": {
  26006. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26007. "type": "integer"
  26008. },
  26009. "cansign": {
  26010. "description": "是否可签约 - 0:不可 1:可以",
  26011. "type": "integer"
  26012. },
  26013. "cansign2": {
  26014. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26015. "type": "integer"
  26016. },
  26017. "currency": {
  26018. "description": "币种",
  26019. "type": "string"
  26020. },
  26021. "cusbankid": {
  26022. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26023. "type": "string"
  26024. },
  26025. "cusbankname": {
  26026. "description": "银行业务名称",
  26027. "type": "string"
  26028. },
  26029. "cusbankshortname": {
  26030. "description": "银行业务简称",
  26031. "type": "string"
  26032. },
  26033. "exchbankid": {
  26034. "description": "交易所开户银行ID",
  26035. "type": "string"
  26036. },
  26037. "exchpaybankaccname": {
  26038. "description": "交易所支出结算账户户名",
  26039. "type": "string"
  26040. },
  26041. "exchpaybankaccno": {
  26042. "description": "交易所支出结算账户",
  26043. "type": "string"
  26044. },
  26045. "isneedcheck": {
  26046. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26047. "type": "integer"
  26048. },
  26049. "isneedclear": {
  26050. "description": "是否需要清算 - 0:不需要 1:需要",
  26051. "type": "integer"
  26052. },
  26053. "lastcheckstatus": {
  26054. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26055. "type": "integer"
  26056. },
  26057. "lastchecktime": {
  26058. "description": "最后对账时间",
  26059. "type": "string"
  26060. },
  26061. "lastclearstatus": {
  26062. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26063. "type": "integer"
  26064. },
  26065. "lastcleartime": {
  26066. "description": "最后清算时间",
  26067. "type": "string"
  26068. },
  26069. "lastsignintime": {
  26070. "description": "最后签到时间",
  26071. "type": "string"
  26072. },
  26073. "lastsignouttime": {
  26074. "description": "最后签退时间",
  26075. "type": "string"
  26076. },
  26077. "riskinfo": {
  26078. "description": "签约风险提示书",
  26079. "type": "string"
  26080. },
  26081. "signstatus": {
  26082. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26083. "type": "integer"
  26084. },
  26085. "tradedate": {
  26086. "description": "交易日(yyyyMMdd)",
  26087. "type": "string"
  26088. },
  26089. "updatetime": {
  26090. "description": "当前签到/签退更新时间",
  26091. "type": "string"
  26092. }
  26093. }
  26094. },
  26095. "models.QhjCustomer": {
  26096. "type": "object",
  26097. "properties": {
  26098. "address": {
  26099. "description": "通讯地址",
  26100. "type": "string"
  26101. },
  26102. "attachment1": {
  26103. "description": "附件1",
  26104. "type": "string"
  26105. },
  26106. "audittime": {
  26107. "description": "审核时间",
  26108. "type": "string"
  26109. },
  26110. "cardbackphotourl": {
  26111. "description": "证件反面图片地址",
  26112. "type": "string"
  26113. },
  26114. "cardfrontphotourl": {
  26115. "description": "证件正面图片地址",
  26116. "type": "string"
  26117. },
  26118. "cardnum": {
  26119. "description": "证件号码",
  26120. "type": "string"
  26121. },
  26122. "cardtype": {
  26123. "description": "证件类型",
  26124. "type": "integer"
  26125. },
  26126. "cardtypename": {
  26127. "description": "证件类型名称",
  26128. "type": "string"
  26129. },
  26130. "cityid": {
  26131. "description": "市",
  26132. "type": "integer"
  26133. },
  26134. "cityname": {
  26135. "description": "城市名称",
  26136. "type": "string"
  26137. },
  26138. "contactname": {
  26139. "description": "联系人",
  26140. "type": "string"
  26141. },
  26142. "countryid": {
  26143. "description": "国家",
  26144. "type": "integer"
  26145. },
  26146. "countryname": {
  26147. "description": "国家名称",
  26148. "type": "string"
  26149. },
  26150. "createtime": {
  26151. "description": "创建时间",
  26152. "type": "string"
  26153. },
  26154. "customername": {
  26155. "description": "客户名称",
  26156. "type": "string"
  26157. },
  26158. "districtid": {
  26159. "description": "区域",
  26160. "type": "integer"
  26161. },
  26162. "districtname": {
  26163. "description": "地区名称",
  26164. "type": "string"
  26165. },
  26166. "email": {
  26167. "description": "邮件",
  26168. "type": "string"
  26169. },
  26170. "legalpersonname": {
  26171. "description": "法人姓名(企业)",
  26172. "type": "string"
  26173. },
  26174. "logincode": {
  26175. "description": "登录账号(代码)",
  26176. "type": "string"
  26177. },
  26178. "memberuserid": {
  26179. "description": "所属机构ID(所属会员)",
  26180. "type": "integer"
  26181. },
  26182. "memberusername": {
  26183. "description": "所属会员名称",
  26184. "type": "string"
  26185. },
  26186. "mobile": {
  26187. "description": "手机号码",
  26188. "type": "string"
  26189. },
  26190. "modifytime": {
  26191. "description": "修改时间",
  26192. "type": "string"
  26193. },
  26194. "nickname": {
  26195. "description": "昵称",
  26196. "type": "string"
  26197. },
  26198. "parentuserid": {
  26199. "description": "上级机构(所属机构)",
  26200. "type": "integer"
  26201. },
  26202. "parentusername": {
  26203. "description": "所属机构名称",
  26204. "type": "string"
  26205. },
  26206. "provinceid": {
  26207. "description": "省",
  26208. "type": "integer"
  26209. },
  26210. "provincename": {
  26211. "description": "省名称",
  26212. "type": "string"
  26213. },
  26214. "proxystatementurl": {
  26215. "description": "授权委托书",
  26216. "type": "string"
  26217. },
  26218. "remark": {
  26219. "description": "备注",
  26220. "type": "string"
  26221. },
  26222. "status": {
  26223. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26224. "type": "integer"
  26225. },
  26226. "statusdesc": {
  26227. "description": "账户状态中文描述",
  26228. "type": "string"
  26229. },
  26230. "taxpayernum": {
  26231. "description": "纳税人识别号",
  26232. "type": "string"
  26233. },
  26234. "telphone": {
  26235. "description": "联系电话",
  26236. "type": "string"
  26237. },
  26238. "userid": {
  26239. "description": "用户ID",
  26240. "type": "integer"
  26241. },
  26242. "userinfotype": {
  26243. "description": "客户类型 1-个人 2-企业",
  26244. "type": "integer"
  26245. },
  26246. "username": {
  26247. "description": "用户名称",
  26248. "type": "string"
  26249. }
  26250. }
  26251. },
  26252. "models.QhjCustomerSignLog": {
  26253. "type": "object",
  26254. "properties": {
  26255. "agreementcontent": {
  26256. "description": "协议内容",
  26257. "type": "string"
  26258. },
  26259. "agreementid": {
  26260. "description": "协议ID",
  26261. "type": "integer"
  26262. },
  26263. "agreementname": {
  26264. "description": "协议名称",
  26265. "type": "string"
  26266. },
  26267. "agreementno": {
  26268. "description": "协议编号",
  26269. "type": "string"
  26270. },
  26271. "agreementtype": {
  26272. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26273. "type": "integer"
  26274. },
  26275. "agreementversion": {
  26276. "description": "协议版本号",
  26277. "type": "integer"
  26278. },
  26279. "createtime": {
  26280. "description": "创建时间",
  26281. "type": "string"
  26282. },
  26283. "goodscode": {
  26284. "description": "商品代码",
  26285. "type": "string"
  26286. },
  26287. "goodsid": {
  26288. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26289. "type": "integer"
  26290. },
  26291. "goodsname": {
  26292. "description": "商品名称",
  26293. "type": "string"
  26294. },
  26295. "logid": {
  26296. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  26297. "type": "integer"
  26298. },
  26299. "nodetype": {
  26300. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26301. "type": "integer"
  26302. },
  26303. "signadressurl": {
  26304. "description": "签约文件地址",
  26305. "type": "string"
  26306. },
  26307. "signtimestamp": {
  26308. "description": "签约状态时间戳",
  26309. "type": "string"
  26310. },
  26311. "userid": {
  26312. "description": "客户ID",
  26313. "type": "integer"
  26314. },
  26315. "username": {
  26316. "description": "客户名称",
  26317. "type": "string"
  26318. }
  26319. }
  26320. },
  26321. "models.QhjCustomerSignStatus": {
  26322. "type": "object",
  26323. "properties": {
  26324. "createtime": {
  26325. "description": "创建时间",
  26326. "type": "string"
  26327. },
  26328. "goodscode": {
  26329. "description": "商品代码",
  26330. "type": "string"
  26331. },
  26332. "goodsid": {
  26333. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26334. "type": "integer"
  26335. },
  26336. "goodsname": {
  26337. "description": "商品名称",
  26338. "type": "string"
  26339. },
  26340. "nodetype": {
  26341. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  26342. "type": "integer"
  26343. },
  26344. "signtimestamp": {
  26345. "description": "签约状态时间戳",
  26346. "type": "string"
  26347. },
  26348. "tradedate": {
  26349. "description": "创建交易日(yyyyMMdd)",
  26350. "type": "string"
  26351. },
  26352. "updatetime": {
  26353. "description": "更新时间",
  26354. "type": "string"
  26355. },
  26356. "userid": {
  26357. "description": "客户ID",
  26358. "type": "integer"
  26359. },
  26360. "username": {
  26361. "description": "客户名称",
  26362. "type": "string"
  26363. }
  26364. }
  26365. },
  26366. "models.QhjMgrAccountOutInApply": {
  26367. "type": "object",
  26368. "properties": {
  26369. "accountcode": {
  26370. "description": "资金账号",
  26371. "type": "string"
  26372. },
  26373. "accountname": {
  26374. "description": "用户名称(名称)",
  26375. "type": "string"
  26376. },
  26377. "accountpwd": {
  26378. "description": "资金密码",
  26379. "type": "string"
  26380. },
  26381. "accountticket": {
  26382. "description": "最新账户服务流水号",
  26383. "type": "string"
  26384. },
  26385. "amount": {
  26386. "description": "金额",
  26387. "type": "number"
  26388. },
  26389. "applyremark": {
  26390. "description": "申请备注",
  26391. "type": "string"
  26392. },
  26393. "applystatus": {
  26394. "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: 复审通过,账户冻结金额检查中;",
  26395. "type": "integer"
  26396. },
  26397. "auditid": {
  26398. "description": "审核人",
  26399. "type": "integer"
  26400. },
  26401. "audittime": {
  26402. "description": "审核时间",
  26403. "type": "string"
  26404. },
  26405. "bank_apply_ticket": {
  26406. "description": "银行申请流水",
  26407. "type": "string"
  26408. },
  26409. "bankaccountname": {
  26410. "description": "银行账户名",
  26411. "type": "string"
  26412. },
  26413. "bankaccountno": {
  26414. "description": "银行卡号",
  26415. "type": "string"
  26416. },
  26417. "bankid": {
  26418. "description": "银行编号",
  26419. "type": "string"
  26420. },
  26421. "bankname": {
  26422. "description": "银行名称",
  26423. "type": "string"
  26424. },
  26425. "bankticket": {
  26426. "description": "银行流水",
  26427. "type": "string"
  26428. },
  26429. "branchbankid": {
  26430. "description": "银行支行号",
  26431. "type": "string"
  26432. },
  26433. "branchbankname": {
  26434. "description": "银行支行名称",
  26435. "type": "string"
  26436. },
  26437. "capamountout": {
  26438. "description": "出金(劣后本金) - 外部子账户",
  26439. "type": "number"
  26440. },
  26441. "certificatephotourl": {
  26442. "description": "凭证地址",
  26443. "type": "string"
  26444. },
  26445. "charge": {
  26446. "description": "手续费",
  26447. "type": "number"
  26448. },
  26449. "checkerrorflag": {
  26450. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  26451. "type": "integer"
  26452. },
  26453. "currency": {
  26454. "description": "币种",
  26455. "type": "string"
  26456. },
  26457. "cusbankid": {
  26458. "description": "托管银行编号",
  26459. "type": "string"
  26460. },
  26461. "exchticket": {
  26462. "description": "银行服务流水号",
  26463. "type": "string"
  26464. },
  26465. "executetype": {
  26466. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  26467. "type": "integer"
  26468. },
  26469. "extendinfo": {
  26470. "description": "扩展信息",
  26471. "type": "string"
  26472. },
  26473. "extoperateid": {
  26474. "description": "交易服务流水号",
  26475. "type": "integer"
  26476. },
  26477. "infamount": {
  26478. "description": "劣后金额(自有)",
  26479. "type": "number"
  26480. },
  26481. "logincode": {
  26482. "description": "登录账号(账号)",
  26483. "type": "string"
  26484. },
  26485. "netaddr": {
  26486. "description": "调转网址",
  26487. "type": "string"
  26488. },
  26489. "priamount": {
  26490. "description": "优先金额(授信)",
  26491. "type": "number"
  26492. },
  26493. "reauditid": {
  26494. "description": "复审人",
  26495. "type": "integer"
  26496. },
  26497. "reauditremark": {
  26498. "description": "复审备注",
  26499. "type": "string"
  26500. },
  26501. "reaudittime": {
  26502. "description": "复审时间",
  26503. "type": "string"
  26504. },
  26505. "relatedorderid": {
  26506. "description": "三方关联ID",
  26507. "type": "string"
  26508. },
  26509. "remark": {
  26510. "description": "备注",
  26511. "type": "string"
  26512. },
  26513. "remark2": {
  26514. "description": "备注(失败原因)",
  26515. "type": "string"
  26516. },
  26517. "soucreamount": {
  26518. "description": "原始出入金金额",
  26519. "type": "number"
  26520. },
  26521. "soucrecurrencyid": {
  26522. "description": "原始出入金币种",
  26523. "type": "integer"
  26524. },
  26525. "tradedate": {
  26526. "description": "交易日(yyyyMMdd)",
  26527. "type": "string"
  26528. },
  26529. "updatetime": {
  26530. "description": "更新时间(申请时间)",
  26531. "type": "string"
  26532. },
  26533. "userid": {
  26534. "description": "用户id",
  26535. "type": "integer"
  26536. },
  26537. "userinfotype": {
  26538. "description": "账户类型 1-个人 2-企业",
  26539. "type": "integer"
  26540. }
  26541. }
  26542. },
  26543. "models.QhjMgrBrokerApply": {
  26544. "type": "object",
  26545. "properties": {
  26546. "applicantid": {
  26547. "description": "申请人",
  26548. "type": "integer"
  26549. },
  26550. "applysrc": {
  26551. "description": "申请来源 - 1:管理端 2:终端",
  26552. "type": "integer"
  26553. },
  26554. "applystatus": {
  26555. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26556. "type": "integer"
  26557. },
  26558. "applytime": {
  26559. "description": "申请时间",
  26560. "type": "string"
  26561. },
  26562. "auditorid": {
  26563. "description": "审核人",
  26564. "type": "integer"
  26565. },
  26566. "auditremark": {
  26567. "description": "审核备注",
  26568. "type": "string"
  26569. },
  26570. "auditsrc": {
  26571. "description": "审核来源 - 1:管理端 2:终端",
  26572. "type": "integer"
  26573. },
  26574. "audittime": {
  26575. "description": "审核时间",
  26576. "type": "string"
  26577. },
  26578. "audittradedate": {
  26579. "description": "审核交易日(yyyyMMdd)",
  26580. "type": "string"
  26581. },
  26582. "brokerapplyid": {
  26583. "description": "申请ID(SEQ_BROKERAPPLY)",
  26584. "type": "integer"
  26585. },
  26586. "cardbackphotourl": {
  26587. "description": "证件背面图片地址",
  26588. "type": "string"
  26589. },
  26590. "cardfrontphotourl": {
  26591. "description": "证件正面图片地址",
  26592. "type": "string"
  26593. },
  26594. "cardnum": {
  26595. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26596. "type": "string"
  26597. },
  26598. "customername": {
  26599. "description": "姓名",
  26600. "type": "string"
  26601. },
  26602. "filterstatus": {
  26603. "description": "筛选条件",
  26604. "type": "string"
  26605. },
  26606. "logincode": {
  26607. "description": "登录代码",
  26608. "type": "string"
  26609. },
  26610. "mobile": {
  26611. "description": "手机号码",
  26612. "type": "string"
  26613. },
  26614. "parentuserid": {
  26615. "description": "所属机构id",
  26616. "type": "integer"
  26617. },
  26618. "parentusername": {
  26619. "description": "所属机构名称",
  26620. "type": "string"
  26621. },
  26622. "refereeuserid": {
  26623. "description": "推荐人id(经纪人)",
  26624. "type": "integer"
  26625. },
  26626. "refernum": {
  26627. "description": "推荐码",
  26628. "type": "string"
  26629. },
  26630. "remark": {
  26631. "description": "备注",
  26632. "type": "string"
  26633. },
  26634. "subarealevelpath": {
  26635. "description": "层级路径",
  26636. "type": "string"
  26637. },
  26638. "tradedate": {
  26639. "description": "交易日(yyyyMMdd)",
  26640. "type": "string"
  26641. },
  26642. "userid": {
  26643. "description": "申请人用户ID",
  26644. "type": "integer"
  26645. },
  26646. "userinfotype": {
  26647. "description": "用户类型 1-个人 2-企业",
  26648. "type": "integer"
  26649. },
  26650. "username": {
  26651. "description": "用户名称",
  26652. "type": "string"
  26653. }
  26654. }
  26655. },
  26656. "models.QhjMgrBrokerRewardReport": {
  26657. "type": "object",
  26658. "properties": {
  26659. "createtime": {
  26660. "description": "创建时间(注册时间)",
  26661. "type": "string"
  26662. },
  26663. "cycletime": {
  26664. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  26665. "type": "string"
  26666. },
  26667. "cycletype": {
  26668. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26669. "type": "integer"
  26670. },
  26671. "directtotalnum": {
  26672. "description": "直推总人数【期末】",
  26673. "type": "integer"
  26674. },
  26675. "indirecttotalnum": {
  26676. "description": "间推总人数【期末】",
  26677. "type": "integer"
  26678. },
  26679. "mobile": {
  26680. "description": "电话号码",
  26681. "type": "string"
  26682. },
  26683. "refereeuserid": {
  26684. "description": "推荐人id(经纪人id)",
  26685. "type": "integer"
  26686. },
  26687. "refereeusername": {
  26688. "description": "推荐人名称(经纪人) 上级经纪人名称",
  26689. "type": "string"
  26690. },
  26691. "refernum": {
  26692. "description": "推荐码",
  26693. "type": "string"
  26694. },
  26695. "subarealevelpath": {
  26696. "description": "用户层级路径",
  26697. "type": "string"
  26698. },
  26699. "todayrewardamount": {
  26700. "description": "奖励总金额【汇总】",
  26701. "type": "number"
  26702. },
  26703. "updatetime": {
  26704. "description": "更新时间",
  26705. "type": "string"
  26706. },
  26707. "userid": {
  26708. "description": "经纪人用户ID",
  26709. "type": "integer"
  26710. },
  26711. "userinfotype": {
  26712. "description": "用户类型 1-个人 2-企业",
  26713. "type": "integer"
  26714. },
  26715. "username": {
  26716. "description": "用户名称",
  26717. "type": "string"
  26718. }
  26719. }
  26720. },
  26721. "models.QhjMgrContract": {
  26722. "type": "object",
  26723. "properties": {
  26724. "contractconfirmtime": {
  26725. "description": "合同确认时间(时间)",
  26726. "type": "string"
  26727. },
  26728. "currisklevel": {
  26729. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26730. "type": "integer"
  26731. },
  26732. "decimalplace": {
  26733. "description": "商品报价小数位",
  26734. "type": "integer"
  26735. },
  26736. "enumdicname": {
  26737. "description": "单位名称",
  26738. "type": "string"
  26739. },
  26740. "goodscode": {
  26741. "description": "商品代码",
  26742. "type": "string"
  26743. },
  26744. "goodsid": {
  26745. "description": "商品ID [5:融资单]",
  26746. "type": "integer"
  26747. },
  26748. "goodsname": {
  26749. "description": "商品名称",
  26750. "type": "string"
  26751. },
  26752. "goodunitid": {
  26753. "description": "商品单位id",
  26754. "type": "integer"
  26755. },
  26756. "initmargin": {
  26757. "description": "初始保证金(首付款)",
  26758. "type": "number"
  26759. },
  26760. "lenderamount": {
  26761. "description": "贷款金额(总额|订单总额)",
  26762. "type": "number"
  26763. },
  26764. "logincode": {
  26765. "description": "账号(登录代码)",
  26766. "type": "string"
  26767. },
  26768. "marginratio": {
  26769. "description": "保证金比率(首付比例)",
  26770. "type": "number"
  26771. },
  26772. "mobile": {
  26773. "description": "电话号码(用户资料里的电话)",
  26774. "type": "string"
  26775. },
  26776. "payamount": {
  26777. "description": "已付(已付货款)",
  26778. "type": "number"
  26779. },
  26780. "reckonrecovermargin": {
  26781. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26782. "type": "number"
  26783. },
  26784. "recoveredmargin": {
  26785. "description": "已追缴保证金",
  26786. "type": "number"
  26787. },
  26788. "remainamount": {
  26789. "description": "合同剩余金额(融资额)",
  26790. "type": "number"
  26791. },
  26792. "scfcontractid": {
  26793. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26794. "type": "string"
  26795. },
  26796. "scfcontractstatus": {
  26797. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26798. "type": "integer"
  26799. },
  26800. "scfcontracttype": {
  26801. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26802. "type": "integer"
  26803. },
  26804. "totalinterest": {
  26805. "description": "已计总利息(利息)",
  26806. "type": "number"
  26807. },
  26808. "tradedate": {
  26809. "description": "交易日",
  26810. "type": "string"
  26811. },
  26812. "tradeprice": {
  26813. "description": "成交价格(成本价格)",
  26814. "type": "number"
  26815. },
  26816. "userid": {
  26817. "description": "用户ID",
  26818. "type": "integer"
  26819. },
  26820. "userinfotype": {
  26821. "description": "用户类型 1-个人 2-企业",
  26822. "type": "integer"
  26823. },
  26824. "username": {
  26825. "description": "用户名称",
  26826. "type": "string"
  26827. },
  26828. "wrqty": {
  26829. "description": "仓单数量(数量)",
  26830. "type": "number"
  26831. }
  26832. }
  26833. },
  26834. "models.QhjMgrCustomer": {
  26835. "type": "object",
  26836. "properties": {
  26837. "address": {
  26838. "description": "通讯地址",
  26839. "type": "string"
  26840. },
  26841. "attachment1": {
  26842. "description": "附件1",
  26843. "type": "string"
  26844. },
  26845. "audittime": {
  26846. "description": "审核时间",
  26847. "type": "string"
  26848. },
  26849. "cardbackphotourl": {
  26850. "description": "证件反面图片地址",
  26851. "type": "string"
  26852. },
  26853. "cardfrontphotourl": {
  26854. "description": "证件正面图片地址",
  26855. "type": "string"
  26856. },
  26857. "cardnum": {
  26858. "description": "证件号码",
  26859. "type": "string"
  26860. },
  26861. "cardtype": {
  26862. "description": "证件类型",
  26863. "type": "integer"
  26864. },
  26865. "cardtypename": {
  26866. "description": "证件类型名称",
  26867. "type": "string"
  26868. },
  26869. "cityid": {
  26870. "description": "市",
  26871. "type": "integer"
  26872. },
  26873. "cityname": {
  26874. "description": "城市名称",
  26875. "type": "string"
  26876. },
  26877. "contactname": {
  26878. "description": "联系人",
  26879. "type": "string"
  26880. },
  26881. "countryid": {
  26882. "description": "国家",
  26883. "type": "integer"
  26884. },
  26885. "countryname": {
  26886. "description": "国家名称",
  26887. "type": "string"
  26888. },
  26889. "createtime": {
  26890. "description": "创建时间",
  26891. "type": "string"
  26892. },
  26893. "customername": {
  26894. "description": "客户名称",
  26895. "type": "string"
  26896. },
  26897. "districtid": {
  26898. "description": "区域",
  26899. "type": "integer"
  26900. },
  26901. "districtname": {
  26902. "description": "地区名称",
  26903. "type": "string"
  26904. },
  26905. "email": {
  26906. "description": "邮件",
  26907. "type": "string"
  26908. },
  26909. "legalpersonname": {
  26910. "description": "法人姓名(企业)",
  26911. "type": "string"
  26912. },
  26913. "logincode": {
  26914. "description": "登录账号(代码)",
  26915. "type": "string"
  26916. },
  26917. "memberuserid": {
  26918. "description": "所属机构ID(所属会员)",
  26919. "type": "integer"
  26920. },
  26921. "memberusername": {
  26922. "description": "所属会员名称",
  26923. "type": "string"
  26924. },
  26925. "mobile": {
  26926. "description": "手机号码",
  26927. "type": "string"
  26928. },
  26929. "modifytime": {
  26930. "description": "修改时间",
  26931. "type": "string"
  26932. },
  26933. "nickname": {
  26934. "description": "昵称",
  26935. "type": "string"
  26936. },
  26937. "parentuserid": {
  26938. "description": "上级机构(所属机构)",
  26939. "type": "integer"
  26940. },
  26941. "parentusername": {
  26942. "description": "所属机构名称",
  26943. "type": "string"
  26944. },
  26945. "provinceid": {
  26946. "description": "省",
  26947. "type": "integer"
  26948. },
  26949. "provincename": {
  26950. "description": "省名称",
  26951. "type": "string"
  26952. },
  26953. "proxystatementurl": {
  26954. "description": "授权委托书",
  26955. "type": "string"
  26956. },
  26957. "querytype": {
  26958. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  26959. "type": "integer"
  26960. },
  26961. "remark": {
  26962. "description": "备注",
  26963. "type": "string"
  26964. },
  26965. "status": {
  26966. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26967. "type": "integer"
  26968. },
  26969. "statusdesc": {
  26970. "description": "账户状态中文描述",
  26971. "type": "string"
  26972. },
  26973. "taxpayernum": {
  26974. "description": "纳税人识别号",
  26975. "type": "string"
  26976. },
  26977. "telphone": {
  26978. "description": "联系电话",
  26979. "type": "string"
  26980. },
  26981. "userid": {
  26982. "description": "用户ID",
  26983. "type": "integer"
  26984. },
  26985. "userinfotype": {
  26986. "description": "客户类型 1-个人 2-企业",
  26987. "type": "integer"
  26988. },
  26989. "username": {
  26990. "description": "用户名称",
  26991. "type": "string"
  26992. }
  26993. }
  26994. },
  26995. "models.QhjMgrPickGoods": {
  26996. "type": "object",
  26997. "properties": {
  26998. "enumdicname": {
  26999. "description": "单位名称(提货商品)",
  27000. "type": "string"
  27001. },
  27002. "goodsid": {
  27003. "description": "商品id",
  27004. "type": "integer"
  27005. },
  27006. "imageaddress": {
  27007. "description": "图片",
  27008. "type": "string"
  27009. },
  27010. "modifierid": {
  27011. "description": "修改人",
  27012. "type": "integer"
  27013. },
  27014. "modifiername": {
  27015. "description": "修改人名称",
  27016. "type": "string"
  27017. },
  27018. "modifysrc": {
  27019. "description": "修改来源 - 1:管理端 2:终端",
  27020. "type": "integer"
  27021. },
  27022. "pickupgoodsagreeunit": {
  27023. "description": "合约乘数",
  27024. "type": "number"
  27025. },
  27026. "pickupgoodsdesc": {
  27027. "description": "描述",
  27028. "type": "string"
  27029. },
  27030. "pickupgoodsid": {
  27031. "description": "提货商品ID",
  27032. "type": "string"
  27033. },
  27034. "pickupgoodsname": {
  27035. "description": "提货商品名称",
  27036. "type": "string"
  27037. },
  27038. "pickupgoodsstatus": {
  27039. "description": "状态 - 1:正常 2:停用 3:注销",
  27040. "type": "integer"
  27041. },
  27042. "pickupgoodsunitid": {
  27043. "description": "单位ID",
  27044. "type": "integer"
  27045. },
  27046. "pickupratio": {
  27047. "description": "提货系数",
  27048. "type": "number"
  27049. },
  27050. "preparedays": {
  27051. "description": "备货期(天)",
  27052. "type": "integer"
  27053. },
  27054. "remark": {
  27055. "description": "备注",
  27056. "type": "string"
  27057. },
  27058. "updatetime": {
  27059. "description": "更新时间",
  27060. "type": "string"
  27061. }
  27062. }
  27063. },
  27064. "models.QhjMgrPositionRsp": {
  27065. "type": "object",
  27066. "properties": {
  27067. "accountid": {
  27068. "description": "账号Id",
  27069. "type": "integer"
  27070. },
  27071. "accountname": {
  27072. "description": "用户名称",
  27073. "type": "string"
  27074. },
  27075. "agreeunit": {
  27076. "description": "合约乘数",
  27077. "type": "number"
  27078. },
  27079. "averageprice": {
  27080. "description": "均价",
  27081. "type": "number"
  27082. },
  27083. "avialqty": {
  27084. "description": "可用数量",
  27085. "type": "number"
  27086. },
  27087. "decimalplace": {
  27088. "description": "报价小数位",
  27089. "type": "integer"
  27090. },
  27091. "enumdicname": {
  27092. "description": "单位名称(商品)",
  27093. "type": "string"
  27094. },
  27095. "frozenqty": {
  27096. "description": "冻结数量",
  27097. "type": "number"
  27098. },
  27099. "goodscode": {
  27100. "description": "商品代码(内部)",
  27101. "type": "string"
  27102. },
  27103. "goodsid": {
  27104. "description": "商品Id",
  27105. "type": "integer"
  27106. },
  27107. "goodsname": {
  27108. "description": "商品名称",
  27109. "type": "string"
  27110. },
  27111. "goodunitid": {
  27112. "description": "报价单位ID",
  27113. "type": "integer"
  27114. },
  27115. "holderamount": {
  27116. "description": "金额",
  27117. "type": "number"
  27118. },
  27119. "holderqty": {
  27120. "description": "持有数量",
  27121. "type": "number"
  27122. },
  27123. "holdertype": {
  27124. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27125. "type": "integer"
  27126. },
  27127. "logincode": {
  27128. "description": "登录代码(账户)",
  27129. "type": "string"
  27130. },
  27131. "marketid": {
  27132. "description": "市场id",
  27133. "type": "integer"
  27134. },
  27135. "qtydecimalplace": {
  27136. "description": "成交量小数位",
  27137. "type": "integer"
  27138. },
  27139. "trademode": {
  27140. "description": "交易模式",
  27141. "type": "integer"
  27142. },
  27143. "userid": {
  27144. "description": "用户id",
  27145. "type": "integer"
  27146. },
  27147. "userinfotype": {
  27148. "description": "账户类型 1-个人 2-企业",
  27149. "type": "integer"
  27150. }
  27151. }
  27152. },
  27153. "models.QhjMgrSubArea": {
  27154. "type": "object",
  27155. "properties": {
  27156. "accountname": {
  27157. "description": "账户名称(机构名称)",
  27158. "type": "string"
  27159. },
  27160. "memberuserid": {
  27161. "description": "所属会员ID",
  27162. "type": "integer"
  27163. },
  27164. "parenttopuser": {
  27165. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27166. "type": "string"
  27167. },
  27168. "parentuserid": {
  27169. "description": "所属机构ID",
  27170. "type": "integer"
  27171. },
  27172. "rootuserid": {
  27173. "description": "根用户ID",
  27174. "type": "string"
  27175. },
  27176. "subaccountlevel": {
  27177. "description": "子账户层数",
  27178. "type": "integer"
  27179. },
  27180. "subarealevelpath": {
  27181. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27182. "type": "string"
  27183. },
  27184. "userid": {
  27185. "description": "用户ID",
  27186. "type": "integer"
  27187. },
  27188. "usertype": {
  27189. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27190. "type": "integer"
  27191. }
  27192. }
  27193. },
  27194. "models.QhjMgrTradeDetailRsp": {
  27195. "type": "object",
  27196. "properties": {
  27197. "accountid": {
  27198. "description": "资金账号",
  27199. "type": "integer"
  27200. },
  27201. "accountname": {
  27202. "description": "用户名称",
  27203. "type": "string"
  27204. },
  27205. "agreeunit": {
  27206. "description": "合约乘数",
  27207. "type": "number"
  27208. },
  27209. "buyorsell": {
  27210. "description": "成交类型(方向) 0:买 1:卖",
  27211. "type": "integer"
  27212. },
  27213. "decimalplace": {
  27214. "description": "报价小数位",
  27215. "type": "integer"
  27216. },
  27217. "enumdicname": {
  27218. "description": "单位名称(商品)",
  27219. "type": "string"
  27220. },
  27221. "goodscode": {
  27222. "description": "商品代码(内部)",
  27223. "type": "string"
  27224. },
  27225. "goodsid": {
  27226. "description": "商品id",
  27227. "type": "integer"
  27228. },
  27229. "goodsname": {
  27230. "description": "商品名称",
  27231. "type": "string"
  27232. },
  27233. "goodunitid": {
  27234. "description": "报价单位ID",
  27235. "type": "integer"
  27236. },
  27237. "logincode": {
  27238. "description": "登录代码(账户)",
  27239. "type": "string"
  27240. },
  27241. "marketid": {
  27242. "description": "市场id",
  27243. "type": "integer"
  27244. },
  27245. "orderid": {
  27246. "description": "关联委托单号",
  27247. "type": "string"
  27248. },
  27249. "qtydecimalplace": {
  27250. "description": "成交量小数位",
  27251. "type": "integer"
  27252. },
  27253. "tradeamount": {
  27254. "description": "金额",
  27255. "type": "number"
  27256. },
  27257. "tradedate": {
  27258. "description": "交易日",
  27259. "type": "string"
  27260. },
  27261. "tradeid": {
  27262. "description": "成交单号",
  27263. "type": "string"
  27264. },
  27265. "trademode": {
  27266. "description": "交易模式",
  27267. "type": "integer"
  27268. },
  27269. "tradeprice": {
  27270. "description": "价格",
  27271. "type": "number"
  27272. },
  27273. "tradeqty": {
  27274. "description": "数量",
  27275. "type": "number"
  27276. },
  27277. "tradetime": {
  27278. "description": "成交时间",
  27279. "type": "string"
  27280. },
  27281. "userid": {
  27282. "description": "用户id",
  27283. "type": "integer"
  27284. },
  27285. "userinfotype": {
  27286. "description": "账户类型 1-个人 2-企业",
  27287. "type": "integer"
  27288. }
  27289. }
  27290. },
  27291. "models.QhjMgrTradeOrderDetailRsp": {
  27292. "type": "object",
  27293. "properties": {
  27294. "accountid": {
  27295. "description": "资金账号",
  27296. "type": "integer"
  27297. },
  27298. "accountname": {
  27299. "description": "用户名称",
  27300. "type": "string"
  27301. },
  27302. "agreeunit": {
  27303. "description": "合约乘数",
  27304. "type": "number"
  27305. },
  27306. "amount": {
  27307. "description": "金额",
  27308. "type": "number"
  27309. },
  27310. "decimalplace": {
  27311. "description": "报价小数位",
  27312. "type": "integer"
  27313. },
  27314. "enumdicname": {
  27315. "description": "单位名称(商品)",
  27316. "type": "string"
  27317. },
  27318. "goodscode": {
  27319. "description": "商品代码(内部)",
  27320. "type": "string"
  27321. },
  27322. "goodsid": {
  27323. "description": "商品id",
  27324. "type": "integer"
  27325. },
  27326. "goodsname": {
  27327. "description": "商品名称",
  27328. "type": "string"
  27329. },
  27330. "goodunitid": {
  27331. "description": "报价单位ID",
  27332. "type": "integer"
  27333. },
  27334. "logincode": {
  27335. "description": "登录代码(账户)",
  27336. "type": "string"
  27337. },
  27338. "marketid": {
  27339. "description": "市场id",
  27340. "type": "integer"
  27341. },
  27342. "orderid": {
  27343. "description": "关联委托单号",
  27344. "type": "string"
  27345. },
  27346. "orderprice": {
  27347. "description": "价格",
  27348. "type": "number"
  27349. },
  27350. "orderqty": {
  27351. "description": "数量",
  27352. "type": "number"
  27353. },
  27354. "orderstatus": {
  27355. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27356. "type": "integer"
  27357. },
  27358. "ordertime": {
  27359. "description": "委托时间",
  27360. "type": "string"
  27361. },
  27362. "qtydecimalplace": {
  27363. "description": "成交量小数位",
  27364. "type": "integer"
  27365. },
  27366. "tradedate": {
  27367. "description": "交易日",
  27368. "type": "string"
  27369. },
  27370. "trademode": {
  27371. "description": "交易模式",
  27372. "type": "integer"
  27373. },
  27374. "userid": {
  27375. "description": "用户id",
  27376. "type": "integer"
  27377. },
  27378. "userinfotype": {
  27379. "description": "账户类型 1-个人 2-企业",
  27380. "type": "integer"
  27381. }
  27382. }
  27383. },
  27384. "models.QhjMgrTradePayOrder": {
  27385. "type": "object",
  27386. "properties": {
  27387. "accountname": {
  27388. "description": "用户名称",
  27389. "type": "string"
  27390. },
  27391. "advanceratio": {
  27392. "description": "首付比率",
  27393. "type": "number"
  27394. },
  27395. "agreeunit": {
  27396. "description": "合约乘数",
  27397. "type": "number"
  27398. },
  27399. "buyaccountid": {
  27400. "description": "买方账号ID[报价币种]",
  27401. "type": "integer"
  27402. },
  27403. "buyorderid": {
  27404. "description": "买方委托单号(关联单号)",
  27405. "type": "string"
  27406. },
  27407. "createtime": {
  27408. "description": "创建时间",
  27409. "type": "string"
  27410. },
  27411. "decimalplace": {
  27412. "description": "报价小数位",
  27413. "type": "integer"
  27414. },
  27415. "enumdicname": {
  27416. "description": "单位名称(商品)",
  27417. "type": "string"
  27418. },
  27419. "goodscode": {
  27420. "description": "商品代码(内部)",
  27421. "type": "string"
  27422. },
  27423. "goodsid": {
  27424. "description": "商品ID",
  27425. "type": "integer"
  27426. },
  27427. "goodsname": {
  27428. "description": "商品名称",
  27429. "type": "string"
  27430. },
  27431. "goodunitid": {
  27432. "description": "报价单位ID",
  27433. "type": "integer"
  27434. },
  27435. "logincode": {
  27436. "description": "登录代码(账户)",
  27437. "type": "string"
  27438. },
  27439. "marketid": {
  27440. "description": "市场id",
  27441. "type": "integer"
  27442. },
  27443. "offamount": {
  27444. "description": "优惠金额",
  27445. "type": "number"
  27446. },
  27447. "operatetype": {
  27448. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27449. "type": "integer"
  27450. },
  27451. "payamount": {
  27452. "description": "支付金额(金额)",
  27453. "type": "number"
  27454. },
  27455. "payflag": {
  27456. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27457. "type": "integer"
  27458. },
  27459. "paylimitedtime": {
  27460. "description": "支付期限",
  27461. "type": "string"
  27462. },
  27463. "paytime": {
  27464. "description": "付款时间",
  27465. "type": "string"
  27466. },
  27467. "qtydecimalplace": {
  27468. "description": "成交量小数位",
  27469. "type": "integer"
  27470. },
  27471. "sellaccountid": {
  27472. "description": "卖方账号ID[报价币种]",
  27473. "type": "integer"
  27474. },
  27475. "sellorderid": {
  27476. "description": "卖方委托单号",
  27477. "type": "string"
  27478. },
  27479. "tradeamount": {
  27480. "description": "成交金额(优惠后金额)",
  27481. "type": "number"
  27482. },
  27483. "tradecharge": {
  27484. "description": "成交手续费(买方)",
  27485. "type": "number"
  27486. },
  27487. "tradedate": {
  27488. "description": "交易日(yyyyMMdd)",
  27489. "type": "string"
  27490. },
  27491. "tradeid": {
  27492. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27493. "type": "string"
  27494. },
  27495. "trademode": {
  27496. "description": "交易模式",
  27497. "type": "integer"
  27498. },
  27499. "tradeprice": {
  27500. "description": "成交价格(价格)",
  27501. "type": "number"
  27502. },
  27503. "tradeqty": {
  27504. "description": "成交数量(数量)",
  27505. "type": "number"
  27506. },
  27507. "tradetime": {
  27508. "description": "成交时间",
  27509. "type": "string"
  27510. },
  27511. "userid": {
  27512. "description": "用户id",
  27513. "type": "integer"
  27514. },
  27515. "userinfotype": {
  27516. "description": "账户类型 1-个人 2-企业",
  27517. "type": "integer"
  27518. }
  27519. }
  27520. },
  27521. "models.QhjMyTeamEx": {
  27522. "type": "object",
  27523. "properties": {
  27524. "accountname": {
  27525. "description": "用户名称",
  27526. "type": "string"
  27527. },
  27528. "accountstatus": {
  27529. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27530. "type": "integer"
  27531. },
  27532. "createtime": {
  27533. "description": "创建时间",
  27534. "type": "string"
  27535. },
  27536. "mobile": {
  27537. "description": "手机号码",
  27538. "type": "string"
  27539. },
  27540. "refereeuserid": {
  27541. "description": "推荐人id",
  27542. "type": "integer"
  27543. },
  27544. "refernum": {
  27545. "description": "推荐码",
  27546. "type": "string"
  27547. },
  27548. "subList": {
  27549. "type": "array",
  27550. "items": {
  27551. "$ref": "#/definitions/models.QhjMyTeamEx"
  27552. }
  27553. },
  27554. "userid": {
  27555. "description": "用户id",
  27556. "type": "integer"
  27557. },
  27558. "userinfotype": {
  27559. "description": "用户类型 1-个人 2-企业",
  27560. "type": "integer"
  27561. }
  27562. }
  27563. },
  27564. "models.QhjNodeAgreementConfig": {
  27565. "type": "object",
  27566. "properties": {
  27567. "agreementcontent": {
  27568. "description": "协议内容",
  27569. "type": "string"
  27570. },
  27571. "agreementid": {
  27572. "description": "协议ID",
  27573. "type": "integer"
  27574. },
  27575. "agreementname": {
  27576. "description": "协议名称",
  27577. "type": "string"
  27578. },
  27579. "agreementno": {
  27580. "description": "协议编号",
  27581. "type": "string"
  27582. },
  27583. "agreementtype": {
  27584. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27585. "type": "integer"
  27586. },
  27587. "agreementversion": {
  27588. "description": "协议版本号",
  27589. "type": "integer"
  27590. },
  27591. "configid": {
  27592. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27593. "type": "integer"
  27594. },
  27595. "createtime": {
  27596. "description": "创建时间",
  27597. "type": "string"
  27598. },
  27599. "goodsid": {
  27600. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27601. "type": "integer"
  27602. },
  27603. "nodetype": {
  27604. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27605. "type": "integer"
  27606. }
  27607. }
  27608. },
  27609. "models.QhjParentAreaList": {
  27610. "type": "object",
  27611. "properties": {
  27612. "accountname": {
  27613. "description": "账户名称(机构名称)",
  27614. "type": "string"
  27615. },
  27616. "userid": {
  27617. "description": "用户ID",
  27618. "type": "integer"
  27619. },
  27620. "usertype": {
  27621. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27622. "type": "integer"
  27623. }
  27624. }
  27625. },
  27626. "models.QhjPayOrder": {
  27627. "type": "object",
  27628. "properties": {
  27629. "advanceratio": {
  27630. "description": "首付比率",
  27631. "type": "number"
  27632. },
  27633. "buyaccountid": {
  27634. "description": "买方账号ID[报价币种]",
  27635. "type": "integer"
  27636. },
  27637. "buyorderid": {
  27638. "description": "买方委托单号",
  27639. "type": "string"
  27640. },
  27641. "createtime": {
  27642. "description": "创建时间",
  27643. "type": "string"
  27644. },
  27645. "decimalplace": {
  27646. "description": "商品报价小数位",
  27647. "type": "integer"
  27648. },
  27649. "enumdicname": {
  27650. "description": "单位名称",
  27651. "type": "string"
  27652. },
  27653. "goodscode": {
  27654. "description": "商品代码",
  27655. "type": "string"
  27656. },
  27657. "goodsid": {
  27658. "description": "商品ID",
  27659. "type": "integer"
  27660. },
  27661. "goodsname": {
  27662. "description": "商品名称",
  27663. "type": "string"
  27664. },
  27665. "goodunitid": {
  27666. "description": "商品单位id",
  27667. "type": "integer"
  27668. },
  27669. "marketid": {
  27670. "description": "市场ID",
  27671. "type": "integer"
  27672. },
  27673. "offamount": {
  27674. "description": "优惠金额",
  27675. "type": "number"
  27676. },
  27677. "operatetype": {
  27678. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27679. "type": "integer"
  27680. },
  27681. "payamount": {
  27682. "description": "支付金额",
  27683. "type": "number"
  27684. },
  27685. "payflag": {
  27686. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27687. "type": "integer"
  27688. },
  27689. "paylimitedtime": {
  27690. "description": "支付期限",
  27691. "type": "string"
  27692. },
  27693. "paytime": {
  27694. "description": "付款时间",
  27695. "type": "string"
  27696. },
  27697. "qtydecimalplace": {
  27698. "description": "成交量小数位",
  27699. "type": "integer"
  27700. },
  27701. "sellaccountid": {
  27702. "description": "卖方账号ID[报价币种]",
  27703. "type": "integer"
  27704. },
  27705. "sellorderid": {
  27706. "description": "卖方委托单号",
  27707. "type": "string"
  27708. },
  27709. "tradeamount": {
  27710. "description": "成交金额(优惠后金额)",
  27711. "type": "number"
  27712. },
  27713. "tradecharge": {
  27714. "description": "成交手续费(买方)",
  27715. "type": "number"
  27716. },
  27717. "tradedate": {
  27718. "description": "交易日(yyyyMMdd)",
  27719. "type": "string"
  27720. },
  27721. "tradeid": {
  27722. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27723. "type": "string"
  27724. },
  27725. "tradeprice": {
  27726. "description": "成交价格",
  27727. "type": "number"
  27728. },
  27729. "tradeqty": {
  27730. "description": "成交数量",
  27731. "type": "number"
  27732. }
  27733. }
  27734. },
  27735. "models.QhjPickArea": {
  27736. "type": "object",
  27737. "properties": {
  27738. "address": {
  27739. "description": "详细地址",
  27740. "type": "string"
  27741. },
  27742. "cityid": {
  27743. "description": "市",
  27744. "type": "integer"
  27745. },
  27746. "cityname": {
  27747. "description": "城市名称",
  27748. "type": "string"
  27749. },
  27750. "countryid": {
  27751. "description": "国家",
  27752. "type": "integer"
  27753. },
  27754. "countryname": {
  27755. "description": "国家名称",
  27756. "type": "string"
  27757. },
  27758. "districtid": {
  27759. "description": "地区",
  27760. "type": "integer"
  27761. },
  27762. "districtname": {
  27763. "description": "地区名称",
  27764. "type": "string"
  27765. },
  27766. "fromuserid": {
  27767. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  27768. "type": "integer"
  27769. },
  27770. "fromusername": {
  27771. "description": "所属机构名称",
  27772. "type": "string"
  27773. },
  27774. "provinceid": {
  27775. "description": "省",
  27776. "type": "integer"
  27777. },
  27778. "provincename": {
  27779. "description": "省名称",
  27780. "type": "string"
  27781. },
  27782. "suborgtype": {
  27783. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  27784. "type": "integer"
  27785. },
  27786. "userid": {
  27787. "description": "机构用户ID 其他做市关系,都设置为 1",
  27788. "type": "integer"
  27789. },
  27790. "username": {
  27791. "description": "机构用户名称(门店门称)",
  27792. "type": "string"
  27793. }
  27794. }
  27795. },
  27796. "models.QhjPickGoods": {
  27797. "type": "object",
  27798. "properties": {
  27799. "enumdicname": {
  27800. "description": "单位名称(提货商品)",
  27801. "type": "string"
  27802. },
  27803. "goodsid": {
  27804. "description": "商品id",
  27805. "type": "integer"
  27806. },
  27807. "imageaddress": {
  27808. "description": "图片",
  27809. "type": "string"
  27810. },
  27811. "modifierid": {
  27812. "description": "修改人",
  27813. "type": "integer"
  27814. },
  27815. "modifiername": {
  27816. "description": "修改人名称",
  27817. "type": "string"
  27818. },
  27819. "modifysrc": {
  27820. "description": "修改来源 - 1:管理端 2:终端",
  27821. "type": "integer"
  27822. },
  27823. "pickupgoodsagreeunit": {
  27824. "description": "合约乘数",
  27825. "type": "number"
  27826. },
  27827. "pickupgoodsdesc": {
  27828. "description": "描述",
  27829. "type": "string"
  27830. },
  27831. "pickupgoodsid": {
  27832. "description": "提货商品ID",
  27833. "type": "string"
  27834. },
  27835. "pickupgoodsname": {
  27836. "description": "提货商品名称",
  27837. "type": "string"
  27838. },
  27839. "pickupgoodsstatus": {
  27840. "description": "状态 - 1:正常 2:停用 3:注销",
  27841. "type": "integer"
  27842. },
  27843. "pickupgoodsunitid": {
  27844. "description": "单位ID",
  27845. "type": "integer"
  27846. },
  27847. "pickupratio": {
  27848. "description": "提货系数",
  27849. "type": "number"
  27850. },
  27851. "preparedays": {
  27852. "description": "备货期(天)",
  27853. "type": "integer"
  27854. },
  27855. "remark": {
  27856. "description": "备注",
  27857. "type": "string"
  27858. },
  27859. "updatetime": {
  27860. "description": "更新时间",
  27861. "type": "string"
  27862. }
  27863. }
  27864. },
  27865. "models.QhjRSTriggerLog": {
  27866. "type": "object",
  27867. "properties": {
  27868. "accountid": {
  27869. "description": "用户资金账户",
  27870. "type": "integer"
  27871. },
  27872. "accountname": {
  27873. "description": "账号名称(ACCOUNTID对应的名称)",
  27874. "type": "string"
  27875. },
  27876. "currencyid": {
  27877. "description": "币种id",
  27878. "type": "integer"
  27879. },
  27880. "currencyname": {
  27881. "description": "币种名称",
  27882. "type": "string"
  27883. },
  27884. "decimalplace": {
  27885. "description": "商品报价小数位",
  27886. "type": "integer"
  27887. },
  27888. "enumdicname": {
  27889. "description": "单位名称",
  27890. "type": "string"
  27891. },
  27892. "goodscode": {
  27893. "description": "定投商品代码",
  27894. "type": "string"
  27895. },
  27896. "goodsid": {
  27897. "description": "定投商品ID",
  27898. "type": "integer"
  27899. },
  27900. "goodsname": {
  27901. "description": "定投商品名称",
  27902. "type": "string"
  27903. },
  27904. "goodunitid": {
  27905. "description": "定投商品单位id",
  27906. "type": "integer"
  27907. },
  27908. "logid": {
  27909. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  27910. "type": "string"
  27911. },
  27912. "logincode": {
  27913. "description": "账号(登录代码)",
  27914. "type": "string"
  27915. },
  27916. "qtydecimalplace": {
  27917. "description": "成交量小数位",
  27918. "type": "integer"
  27919. },
  27920. "regularlycycle": {
  27921. "description": "定投频率 - 1:每周 2:每月",
  27922. "type": "integer"
  27923. },
  27924. "regularlycyclevalue": {
  27925. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27926. "type": "string"
  27927. },
  27928. "regularlymode": {
  27929. "description": "定投方式 - 1:按数量 2:按金额",
  27930. "type": "integer"
  27931. },
  27932. "regularlymodevalue": {
  27933. "description": "定投方式值 - 数量或金额",
  27934. "type": "number"
  27935. },
  27936. "regularlystrategyid": {
  27937. "description": "定投策略ID",
  27938. "type": "integer"
  27939. },
  27940. "retcode": {
  27941. "description": "错误码",
  27942. "type": "string"
  27943. },
  27944. "tradeid": {
  27945. "description": "成交单ID",
  27946. "type": "string"
  27947. },
  27948. "triggeramount": {
  27949. "description": "触发金额",
  27950. "type": "number"
  27951. },
  27952. "triggerqty": {
  27953. "description": "触发数量",
  27954. "type": "number"
  27955. },
  27956. "triggerstatus": {
  27957. "description": "触发状态 - 1:成功 2:失败",
  27958. "type": "integer"
  27959. },
  27960. "triggertime": {
  27961. "description": "触发时间",
  27962. "type": "string"
  27963. },
  27964. "triggertradedate": {
  27965. "description": "触发交易日",
  27966. "type": "string"
  27967. },
  27968. "userid": {
  27969. "description": "所属用户ID",
  27970. "type": "integer"
  27971. },
  27972. "userinfotype": {
  27973. "description": "用户类型 1-个人 2-企业",
  27974. "type": "integer"
  27975. },
  27976. "username": {
  27977. "description": "用户名称(userid对应的名称)",
  27978. "type": "string"
  27979. }
  27980. }
  27981. },
  27982. "models.QhjRStrategy": {
  27983. "type": "object",
  27984. "properties": {
  27985. "accountid": {
  27986. "description": "用户资金账户",
  27987. "type": "integer"
  27988. },
  27989. "accountname": {
  27990. "description": "账号名称(ACCOUNTID对应的名称)",
  27991. "type": "string"
  27992. },
  27993. "currencyid": {
  27994. "description": "币种id",
  27995. "type": "integer"
  27996. },
  27997. "currencyname": {
  27998. "description": "币种名称",
  27999. "type": "string"
  28000. },
  28001. "decimalplace": {
  28002. "description": "商品报价小数位",
  28003. "type": "integer"
  28004. },
  28005. "enumdicname": {
  28006. "description": "单位名称",
  28007. "type": "string"
  28008. },
  28009. "goodscode": {
  28010. "description": "定投商品代码",
  28011. "type": "string"
  28012. },
  28013. "goodsid": {
  28014. "description": "定投商品ID",
  28015. "type": "integer"
  28016. },
  28017. "goodsname": {
  28018. "description": "定投商品名称",
  28019. "type": "string"
  28020. },
  28021. "goodunitid": {
  28022. "description": "定投商品单位id",
  28023. "type": "integer"
  28024. },
  28025. "lasteffecttradedate": {
  28026. "description": "最新生效交易日",
  28027. "type": "string"
  28028. },
  28029. "laststoptradedate": {
  28030. "description": "最新暂停交易日",
  28031. "type": "string"
  28032. },
  28033. "lasttriggertradedate": {
  28034. "description": "最新触发交易日",
  28035. "type": "string"
  28036. },
  28037. "logincode": {
  28038. "description": "账号(登录代码)",
  28039. "type": "string"
  28040. },
  28041. "nexttriggeramount": {
  28042. "description": "下次触发金额",
  28043. "type": "number"
  28044. },
  28045. "nexttriggerdate": {
  28046. "description": "下次触发日期",
  28047. "type": "string"
  28048. },
  28049. "nexttriggerqty": {
  28050. "description": "下次触发数量 [按小数位放大值]",
  28051. "type": "number"
  28052. },
  28053. "qtydecimalplace": {
  28054. "description": "成交量小数位",
  28055. "type": "integer"
  28056. },
  28057. "regularlycycle": {
  28058. "description": "定投频率 - 1:每周 2:每月",
  28059. "type": "integer"
  28060. },
  28061. "regularlycyclevalue": {
  28062. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28063. "type": "string"
  28064. },
  28065. "regularlymode": {
  28066. "description": "定投方式 - 1:按数量 2:按金额",
  28067. "type": "integer"
  28068. },
  28069. "regularlymodevalue": {
  28070. "description": "定投方式值 - 数量或金额",
  28071. "type": "number"
  28072. },
  28073. "regularlystrategyid": {
  28074. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28075. "type": "integer"
  28076. },
  28077. "regularlystrategystatus": {
  28078. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28079. "type": "integer"
  28080. },
  28081. "remark": {
  28082. "description": "备注",
  28083. "type": "string"
  28084. },
  28085. "triggersuccesstimes": {
  28086. "description": "累计定投成功次数",
  28087. "type": "string"
  28088. },
  28089. "triggertotalamount": {
  28090. "description": "累计定投金额(成功)",
  28091. "type": "number"
  28092. },
  28093. "triggertotalqty": {
  28094. "description": "累计定投数量(成功) [按小数位放大值]",
  28095. "type": "number"
  28096. },
  28097. "triggertotaltimes": {
  28098. "description": "累计定投总次数",
  28099. "type": "string"
  28100. },
  28101. "updatesrc": {
  28102. "description": "更新来源 - 1:管理端 2:终端",
  28103. "type": "integer"
  28104. },
  28105. "updatetime": {
  28106. "description": "更新时间",
  28107. "type": "string"
  28108. },
  28109. "updatorid": {
  28110. "description": "更新人",
  28111. "type": "string"
  28112. },
  28113. "userid": {
  28114. "description": "所属用户ID",
  28115. "type": "integer"
  28116. },
  28117. "userinfotype": {
  28118. "description": "用户类型 1-个人 2-企业",
  28119. "type": "integer"
  28120. },
  28121. "username": {
  28122. "description": "用户名称(userid对应的名称)",
  28123. "type": "string"
  28124. }
  28125. }
  28126. },
  28127. "models.QhjReckonPriceLog": {
  28128. "type": "object",
  28129. "properties": {
  28130. "decimalplace": {
  28131. "description": "商品报价小数位",
  28132. "type": "integer"
  28133. },
  28134. "goodscode": {
  28135. "description": "商品代码",
  28136. "type": "string"
  28137. },
  28138. "goodsid": {
  28139. "description": "商品ID",
  28140. "type": "integer"
  28141. },
  28142. "goodsname": {
  28143. "description": "商品名称",
  28144. "type": "string"
  28145. },
  28146. "lastreckonprice": {
  28147. "description": "上日结算价",
  28148. "type": "number"
  28149. },
  28150. "nextdnlimitprice": {
  28151. "description": "下个交易日跌停价",
  28152. "type": "number"
  28153. },
  28154. "nexttrade": {
  28155. "description": "下个交易日",
  28156. "type": "string"
  28157. },
  28158. "nextuplimitprice": {
  28159. "description": "下个交易日涨停价",
  28160. "type": "number"
  28161. },
  28162. "reckonprice": {
  28163. "description": "今日结算价(定投价)",
  28164. "type": "number"
  28165. },
  28166. "reckontime": {
  28167. "description": "结算时间",
  28168. "type": "string"
  28169. },
  28170. "totalholderqty": {
  28171. "description": "总持仓数",
  28172. "type": "integer"
  28173. },
  28174. "totalstock": {
  28175. "description": "总库存",
  28176. "type": "integer"
  28177. },
  28178. "tradedate": {
  28179. "description": "交易日",
  28180. "type": "string"
  28181. },
  28182. "updowncount": {
  28183. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28184. "type": "integer"
  28185. },
  28186. "updownflag": {
  28187. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28188. "type": "integer"
  28189. },
  28190. "updownrate": {
  28191. "description": "今日涨跌幅",
  28192. "type": "number"
  28193. },
  28194. "updownrate_2d": {
  28195. "description": "连续两日涨跌幅",
  28196. "type": "number"
  28197. },
  28198. "updownrate_3d": {
  28199. "description": "连续三日涨跌幅",
  28200. "type": "number"
  28201. }
  28202. }
  28203. },
  28204. "models.QhjScoreLog": {
  28205. "type": "object",
  28206. "properties": {
  28207. "accountid": {
  28208. "description": "账户ID",
  28209. "type": "integer"
  28210. },
  28211. "createtime": {
  28212. "description": "创建时间(时间)",
  28213. "type": "string"
  28214. },
  28215. "goodsid": {
  28216. "description": "商品ID",
  28217. "type": "integer"
  28218. },
  28219. "hasuploaded": {
  28220. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28221. "type": "integer"
  28222. },
  28223. "logid": {
  28224. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28225. "type": "string"
  28226. },
  28227. "marketid": {
  28228. "description": "市场ID",
  28229. "type": "integer"
  28230. },
  28231. "relatedamount": {
  28232. "description": "关联金额",
  28233. "type": "number"
  28234. },
  28235. "relatedorderid": {
  28236. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28237. "type": "string"
  28238. },
  28239. "scoreconfigvalue1": {
  28240. "description": "积分配置1",
  28241. "type": "integer"
  28242. },
  28243. "scoreconfigvalue2": {
  28244. "description": "积分配置1",
  28245. "type": "integer"
  28246. },
  28247. "scoretype": {
  28248. "description": "积分类型 - 1:提货积分",
  28249. "type": "integer"
  28250. },
  28251. "scorevalue": {
  28252. "description": "积分",
  28253. "type": "number"
  28254. },
  28255. "tradedate": {
  28256. "description": "交易日(yyyyMMdd)",
  28257. "type": "string"
  28258. },
  28259. "uploadedtime": {
  28260. "description": "同步时间",
  28261. "type": "string"
  28262. },
  28263. "userid": {
  28264. "description": "用户ID",
  28265. "type": "integer"
  28266. }
  28267. }
  28268. },
  28269. "models.QhjSiteColumnDetail": {
  28270. "type": "object",
  28271. "properties": {
  28272. "author": {
  28273. "description": "作者",
  28274. "type": "string"
  28275. },
  28276. "brief": {
  28277. "description": "简介",
  28278. "type": "string"
  28279. },
  28280. "columnid": {
  28281. "description": "所属栏目",
  28282. "type": "integer"
  28283. },
  28284. "context": {
  28285. "description": "内容",
  28286. "type": "string"
  28287. },
  28288. "coverimage": {
  28289. "description": "封面图片",
  28290. "type": "string"
  28291. },
  28292. "creaedate": {
  28293. "description": "创建时间",
  28294. "type": "string"
  28295. },
  28296. "creatorid": {
  28297. "description": "创建人",
  28298. "type": "integer"
  28299. },
  28300. "hits": {
  28301. "description": "点击数",
  28302. "type": "integer"
  28303. },
  28304. "id": {
  28305. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  28306. "type": "integer"
  28307. },
  28308. "isshow": {
  28309. "description": "是否展示 - 0:不展示 1:展示",
  28310. "type": "integer"
  28311. },
  28312. "istop": {
  28313. "description": "是否置顶 - 0:不置 1:置顶",
  28314. "type": "integer"
  28315. },
  28316. "modifierid": {
  28317. "description": "操作人",
  28318. "type": "integer"
  28319. },
  28320. "publishdate": {
  28321. "description": "发布日期",
  28322. "type": "string"
  28323. },
  28324. "status": {
  28325. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  28326. "type": "integer"
  28327. },
  28328. "title": {
  28329. "description": "标题",
  28330. "type": "string"
  28331. },
  28332. "updatedate": {
  28333. "description": "修改时间",
  28334. "type": "string"
  28335. },
  28336. "userid": {
  28337. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  28338. "type": "integer"
  28339. },
  28340. "username": {
  28341. "description": "用户名称",
  28342. "type": "string"
  28343. }
  28344. }
  28345. },
  28346. "models.QhjTeamOrder": {
  28347. "type": "object",
  28348. "properties": {
  28349. "accountid": {
  28350. "description": "账户ID[报价币种]",
  28351. "type": "integer"
  28352. },
  28353. "accountname": {
  28354. "description": "账户名称",
  28355. "type": "string"
  28356. },
  28357. "agreeunit": {
  28358. "description": "合约乘数",
  28359. "type": "number"
  28360. },
  28361. "buyorsell": {
  28362. "description": "方向 - 0:买 1:卖",
  28363. "type": "integer"
  28364. },
  28365. "decimalplace": {
  28366. "description": "报价小数位",
  28367. "type": "integer"
  28368. },
  28369. "enumdicname": {
  28370. "description": "单位名称",
  28371. "type": "string"
  28372. },
  28373. "goodscode": {
  28374. "description": "商品代码(内部)",
  28375. "type": "string"
  28376. },
  28377. "goodsid": {
  28378. "description": "商品ID",
  28379. "type": "integer"
  28380. },
  28381. "goodsname": {
  28382. "description": "商品名称",
  28383. "type": "string"
  28384. },
  28385. "goodunitid": {
  28386. "description": "报价单位ID",
  28387. "type": "integer"
  28388. },
  28389. "marketid": {
  28390. "description": "市场ID",
  28391. "type": "integer"
  28392. },
  28393. "marketname": {
  28394. "description": "市场名称",
  28395. "type": "string"
  28396. },
  28397. "qtydecimalplace": {
  28398. "description": "成交量小数位",
  28399. "type": "integer"
  28400. },
  28401. "refereeuserid": {
  28402. "description": "推荐人ID",
  28403. "type": "integer"
  28404. },
  28405. "tradeamount": {
  28406. "description": "成交金额[账户币种,用于所有权]",
  28407. "type": "number"
  28408. },
  28409. "tradedate": {
  28410. "description": "交易日(yyyyMMdd)",
  28411. "type": "string"
  28412. },
  28413. "trademode": {
  28414. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28415. "type": "integer"
  28416. },
  28417. "tradeprice": {
  28418. "description": "成交价格",
  28419. "type": "number"
  28420. },
  28421. "tradeqty": {
  28422. "description": "成交数量",
  28423. "type": "number"
  28424. },
  28425. "tradetime": {
  28426. "description": "成交时间",
  28427. "type": "string"
  28428. },
  28429. "userid": {
  28430. "description": "用户ID",
  28431. "type": "integer"
  28432. }
  28433. }
  28434. },
  28435. "models.QhjTradeGoodsPickup": {
  28436. "type": "object",
  28437. "properties": {
  28438. "accountid": {
  28439. "description": "账户ID",
  28440. "type": "integer"
  28441. },
  28442. "address": {
  28443. "description": "提货人详细地址",
  28444. "type": "string"
  28445. },
  28446. "amount": {
  28447. "description": "提货金额",
  28448. "type": "number"
  28449. },
  28450. "artradedate": {
  28451. "description": "自动收货交易日(yyyyMMdd)",
  28452. "type": "string"
  28453. },
  28454. "auditer": {
  28455. "description": "审核人",
  28456. "type": "integer"
  28457. },
  28458. "auditsrc": {
  28459. "description": "更新来源 - 1:管理端 2:终端",
  28460. "type": "integer"
  28461. },
  28462. "audittime": {
  28463. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  28464. "type": "string"
  28465. },
  28466. "audittradedate": {
  28467. "description": "审核交易日(yyyyMMdd)",
  28468. "type": "string"
  28469. },
  28470. "cardnum": {
  28471. "description": "提货人证件号码",
  28472. "type": "string"
  28473. },
  28474. "cardtypeid": {
  28475. "description": "提货人证件类型",
  28476. "type": "integer"
  28477. },
  28478. "checkremark": {
  28479. "description": "审核备注",
  28480. "type": "string"
  28481. },
  28482. "cityid": {
  28483. "description": "市",
  28484. "type": "integer"
  28485. },
  28486. "cityname": {
  28487. "description": "城市名称",
  28488. "type": "string"
  28489. },
  28490. "confirmtime": {
  28491. "description": "取货时间 或 收货时间",
  28492. "type": "string"
  28493. },
  28494. "countryid": {
  28495. "description": "国家",
  28496. "type": "integer"
  28497. },
  28498. "countryname": {
  28499. "description": "国家名称",
  28500. "type": "string"
  28501. },
  28502. "decimalplace": {
  28503. "description": "商品报价小数位",
  28504. "type": "integer"
  28505. },
  28506. "districtid": {
  28507. "description": "地区",
  28508. "type": "integer"
  28509. },
  28510. "districtname": {
  28511. "description": "地区名称",
  28512. "type": "string"
  28513. },
  28514. "enumdicname": {
  28515. "description": "单位名称(提货商品)",
  28516. "type": "string"
  28517. },
  28518. "expresscompany": {
  28519. "description": "物流公司",
  28520. "type": "string"
  28521. },
  28522. "expressnum": {
  28523. "description": "物流单号",
  28524. "type": "string"
  28525. },
  28526. "goodsagreeunit": {
  28527. "description": "交易商品乘数",
  28528. "type": "number"
  28529. },
  28530. "goodscode": {
  28531. "description": "商品代码",
  28532. "type": "string"
  28533. },
  28534. "goodsid": {
  28535. "description": "商品ID",
  28536. "type": "integer"
  28537. },
  28538. "goodsname": {
  28539. "description": "商品名称",
  28540. "type": "string"
  28541. },
  28542. "goodsqty": {
  28543. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  28544. "type": "number"
  28545. },
  28546. "handlestatus": {
  28547. "description": "处理状态",
  28548. "type": "integer"
  28549. },
  28550. "logincode": {
  28551. "description": "账号(登录代码, 有可能为空)",
  28552. "type": "string"
  28553. },
  28554. "marketid": {
  28555. "description": "市场ID",
  28556. "type": "integer"
  28557. },
  28558. "phonenum": {
  28559. "description": "提货人联系方式",
  28560. "type": "string"
  28561. },
  28562. "pickupgoodsagreeunit": {
  28563. "description": "提货商品合约乘数",
  28564. "type": "number"
  28565. },
  28566. "pickupgoodsid": {
  28567. "description": "提货商品ID",
  28568. "type": "string"
  28569. },
  28570. "pickupgoodsname": {
  28571. "description": "提货商品名称",
  28572. "type": "string"
  28573. },
  28574. "pickupgoodsqty": {
  28575. "description": "提货商品手数(数量)",
  28576. "type": "number"
  28577. },
  28578. "pickupgoodsunitid": {
  28579. "description": "单位ID(提货商品)",
  28580. "type": "integer"
  28581. },
  28582. "pickupratio": {
  28583. "description": "提货系数",
  28584. "type": "number"
  28585. },
  28586. "preparedays": {
  28587. "description": "备货期(天)-提货单明细表",
  28588. "type": "integer"
  28589. },
  28590. "provinceid": {
  28591. "description": "省",
  28592. "type": "integer"
  28593. },
  28594. "provincename": {
  28595. "description": "省名称",
  28596. "type": "string"
  28597. },
  28598. "qty": {
  28599. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  28600. "type": "number"
  28601. },
  28602. "qtydecimalplace": {
  28603. "description": "商品数量小数位",
  28604. "type": "integer"
  28605. },
  28606. "recivername": {
  28607. "description": "提货人姓名",
  28608. "type": "string"
  28609. },
  28610. "reqtime": {
  28611. "description": "提货申请时间",
  28612. "type": "string"
  28613. },
  28614. "storeuserid": {
  28615. "description": "门店用户ID (千海金)",
  28616. "type": "integer"
  28617. },
  28618. "storeusername": {
  28619. "description": "门店用户名称",
  28620. "type": "string"
  28621. },
  28622. "takemode": {
  28623. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  28624. "type": "integer"
  28625. },
  28626. "takeorderid": {
  28627. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28628. "type": "string"
  28629. },
  28630. "takeorderstatus": {
  28631. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  28632. "type": "integer"
  28633. },
  28634. "takeremark": {
  28635. "description": "提货备注",
  28636. "type": "string"
  28637. },
  28638. "tradedate": {
  28639. "description": "交易日(yyyyMMdd)",
  28640. "type": "string"
  28641. },
  28642. "updatetime": {
  28643. "description": "更新时间",
  28644. "type": "string"
  28645. },
  28646. "userid": {
  28647. "description": "用户ID",
  28648. "type": "integer"
  28649. },
  28650. "userinfotype": {
  28651. "description": "客户类型 1-个人 2-企业",
  28652. "type": "integer"
  28653. },
  28654. "username": {
  28655. "description": "用户名称",
  28656. "type": "string"
  28657. }
  28658. }
  28659. },
  28660. "models.QhjUserNodeCfgAndStatus": {
  28661. "type": "object",
  28662. "properties": {
  28663. "agreementcontent": {
  28664. "description": "协议内容",
  28665. "type": "string"
  28666. },
  28667. "agreementid": {
  28668. "description": "协议ID",
  28669. "type": "integer"
  28670. },
  28671. "agreementname": {
  28672. "description": "协议名称",
  28673. "type": "string"
  28674. },
  28675. "agreementno": {
  28676. "description": "协议编号",
  28677. "type": "string"
  28678. },
  28679. "agreementtype": {
  28680. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28681. "type": "integer"
  28682. },
  28683. "agreementversion": {
  28684. "description": "协议版本号",
  28685. "type": "integer"
  28686. },
  28687. "configid": {
  28688. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28689. "type": "integer"
  28690. },
  28691. "createtime": {
  28692. "description": "创建时间",
  28693. "type": "string"
  28694. },
  28695. "goodsid": {
  28696. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28697. "type": "integer"
  28698. },
  28699. "nodetype": {
  28700. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28701. "type": "integer"
  28702. },
  28703. "signtimestamp": {
  28704. "description": "签约状态时间戳(最近一次)",
  28705. "type": "string"
  28706. },
  28707. "tradedate": {
  28708. "description": "签约交易日(yyyyMMdd)",
  28709. "type": "string"
  28710. },
  28711. "userid": {
  28712. "description": "客户ID",
  28713. "type": "integer"
  28714. }
  28715. }
  28716. },
  28717. "models.Qhjgoodsex": {
  28718. "type": "object",
  28719. "properties": {
  28720. "canfinance": {
  28721. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  28722. "type": "integer"
  28723. },
  28724. "canregularlybuy": {
  28725. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  28726. "type": "integer"
  28727. },
  28728. "defaulttradeuserid": {
  28729. "description": "默认交易用户ID",
  28730. "type": "integer"
  28731. },
  28732. "deliverygoodsid": {
  28733. "description": "现货品种ID",
  28734. "type": "integer"
  28735. },
  28736. "goodsid": {
  28737. "description": "商品ID(自增ID SEQ_GOODS)",
  28738. "type": "integer"
  28739. },
  28740. "minamount": {
  28741. "description": "最小购买金额",
  28742. "type": "number"
  28743. },
  28744. "regularlybuyminamount": {
  28745. "description": "定投最小金额",
  28746. "type": "number"
  28747. },
  28748. "regularlybuyminqty": {
  28749. "description": "定投最小数量",
  28750. "type": "number"
  28751. },
  28752. "spotgoodsbrandid": {
  28753. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  28754. "type": "integer"
  28755. },
  28756. "visibilityforenterprise": {
  28757. "description": "企业客户是否可见 - 0:不可见 1:可见",
  28758. "type": "integer"
  28759. },
  28760. "visibilityforpersonal": {
  28761. "description": "个人客户是否可见 - 0:不可见 1:可见",
  28762. "type": "integer"
  28763. },
  28764. "wrstandardid": {
  28765. "description": "现货商品ID",
  28766. "type": "integer"
  28767. }
  28768. }
  28769. },
  28770. "models.QueryErrorInfosRsp": {
  28771. "type": "object",
  28772. "required": [
  28773. "errorid"
  28774. ],
  28775. "properties": {
  28776. "description": {
  28777. "description": "异常描述",
  28778. "type": "string"
  28779. },
  28780. "errorcode": {
  28781. "description": "异常代码",
  28782. "type": "string"
  28783. },
  28784. "errorid": {
  28785. "description": "异常ID",
  28786. "type": "integer"
  28787. },
  28788. "modulecode": {
  28789. "description": "所属模块",
  28790. "type": "string"
  28791. },
  28792. "operatecode": {
  28793. "description": "所属操作",
  28794. "type": "string"
  28795. },
  28796. "rownumber": {
  28797. "description": "行号",
  28798. "type": "string"
  28799. }
  28800. }
  28801. },
  28802. "models.QueryHedgeOrderDetailRsp": {
  28803. "type": "object",
  28804. "properties": {
  28805. "accountid": {
  28806. "description": "账户ID",
  28807. "type": "integer"
  28808. },
  28809. "buyorsell": {
  28810. "description": "买卖 - 0:买 1:卖",
  28811. "type": "integer"
  28812. },
  28813. "cancellogincode": {
  28814. "description": "撤单人",
  28815. "type": "string"
  28816. },
  28817. "channelbuildtype": {
  28818. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28819. "type": "integer"
  28820. },
  28821. "channelinnerorderstatus": {
  28822. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28823. "type": "integer"
  28824. },
  28825. "channeloperatetype": {
  28826. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28827. "type": "integer"
  28828. },
  28829. "closetype": {
  28830. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28831. "type": "integer"
  28832. },
  28833. "curexchangerate": {
  28834. "description": "当前汇率",
  28835. "type": "number"
  28836. },
  28837. "exchangefullname": {
  28838. "description": "外部交易所全称",
  28839. "type": "string"
  28840. },
  28841. "goodscode": {
  28842. "description": "商品代码(内部)",
  28843. "type": "string"
  28844. },
  28845. "goodsid": {
  28846. "description": "商品ID",
  28847. "type": "integer"
  28848. },
  28849. "goodsname": {
  28850. "description": "商品名称",
  28851. "type": "string"
  28852. },
  28853. "marketid": {
  28854. "description": "市场ID",
  28855. "type": "integer"
  28856. },
  28857. "openfreezemargin": {
  28858. "description": "冻结保证金(冻结交易金额)",
  28859. "type": "number"
  28860. },
  28861. "orderid": {
  28862. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28863. "type": "string"
  28864. },
  28865. "orderlogincode": {
  28866. "description": "委托人",
  28867. "type": "string"
  28868. },
  28869. "orderprice": {
  28870. "description": "委托价格(账户)",
  28871. "type": "number"
  28872. },
  28873. "orderqty": {
  28874. "description": "委托数量",
  28875. "type": "integer"
  28876. },
  28877. "ordertime": {
  28878. "description": "委托时间",
  28879. "type": "string"
  28880. },
  28881. "pricemode": {
  28882. "description": "取价方式 - 1:市价 2: 限价",
  28883. "type": "integer"
  28884. },
  28885. "tradedate": {
  28886. "description": "交易日(yyyyMMdd)",
  28887. "type": "string"
  28888. },
  28889. "tradeqty": {
  28890. "description": "成交数量",
  28891. "type": "integer"
  28892. }
  28893. }
  28894. },
  28895. "models.QueryHedgeTradeDetailRsp": {
  28896. "type": "object",
  28897. "properties": {
  28898. "accountid": {
  28899. "description": "账号ID",
  28900. "type": "integer"
  28901. },
  28902. "buyorsell": {
  28903. "description": "方向 - 0:买 1:卖",
  28904. "type": "integer"
  28905. },
  28906. "channelbuildtype": {
  28907. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28908. "type": "integer"
  28909. },
  28910. "closecharge": {
  28911. "description": "平仓手续费(账户)",
  28912. "type": "number"
  28913. },
  28914. "closecharge2": {
  28915. "description": "平仓手续费(商品)",
  28916. "type": "number"
  28917. },
  28918. "closepl": {
  28919. "description": "平仓盈亏(账户)",
  28920. "type": "number"
  28921. },
  28922. "closepl2": {
  28923. "description": "平仓盈亏(商品)",
  28924. "type": "number"
  28925. },
  28926. "closepl3": {
  28927. "description": "平仓盈亏(账户)(逐笔)",
  28928. "type": "number"
  28929. },
  28930. "closepl4": {
  28931. "description": "平仓盈亏(商品)(逐笔)",
  28932. "type": "number"
  28933. },
  28934. "closetype": {
  28935. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28936. "type": "integer"
  28937. },
  28938. "curexchangerate": {
  28939. "description": "当前汇率",
  28940. "type": "number"
  28941. },
  28942. "exchangefullname": {
  28943. "description": "外部交易所全称",
  28944. "type": "string"
  28945. },
  28946. "goodscode": {
  28947. "description": "商品代码(内部)",
  28948. "type": "string"
  28949. },
  28950. "goodsid": {
  28951. "description": "商品ID",
  28952. "type": "integer"
  28953. },
  28954. "goodsname": {
  28955. "description": "商品名称",
  28956. "type": "string"
  28957. },
  28958. "marketid": {
  28959. "description": "市场ID",
  28960. "type": "integer"
  28961. },
  28962. "opencharge": {
  28963. "description": "建仓手续费(账户)",
  28964. "type": "number"
  28965. },
  28966. "opencharge2": {
  28967. "description": "建仓手续费(商品)",
  28968. "type": "number"
  28969. },
  28970. "orderid": {
  28971. "description": "委托单号",
  28972. "type": "string"
  28973. },
  28974. "orderlogincode": {
  28975. "description": "委托人",
  28976. "type": "string"
  28977. },
  28978. "tradeamount": {
  28979. "description": "成交金额(账户)",
  28980. "type": "number"
  28981. },
  28982. "tradedate": {
  28983. "description": "交易日(yyyyMMdd)",
  28984. "type": "string"
  28985. },
  28986. "tradeid": {
  28987. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28988. "type": "string"
  28989. },
  28990. "tradeprice": {
  28991. "description": "成交价格",
  28992. "type": "number"
  28993. },
  28994. "tradeqty": {
  28995. "description": "成交数量",
  28996. "type": "integer"
  28997. },
  28998. "tradetime": {
  28999. "description": "成交时间",
  29000. "type": "string"
  29001. },
  29002. "tradetype": {
  29003. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29004. "type": "integer"
  29005. }
  29006. }
  29007. },
  29008. "models.QuotePrimaryMenu": {
  29009. "type": "object",
  29010. "properties": {
  29011. "Index": {
  29012. "description": "序号",
  29013. "type": "integer"
  29014. },
  29015. "Key": {
  29016. "description": "键名",
  29017. "type": "string"
  29018. },
  29019. "Name": {
  29020. "description": "菜单名称",
  29021. "type": "string"
  29022. },
  29023. "SubMenus": {
  29024. "description": "子菜单",
  29025. "type": "array",
  29026. "items": {
  29027. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29028. }
  29029. },
  29030. "SubTitleType": {
  29031. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29032. "type": "integer"
  29033. },
  29034. "TradeModes": {
  29035. "description": "包含市场交易类型",
  29036. "type": "string"
  29037. }
  29038. }
  29039. },
  29040. "models.QuoteSecondaryMenu": {
  29041. "type": "object",
  29042. "properties": {
  29043. "ExExchangeCode": {
  29044. "description": "外部交易所代码",
  29045. "type": "string"
  29046. },
  29047. "ExExchangeID": {
  29048. "description": "外部交易所ID",
  29049. "type": "integer"
  29050. },
  29051. "GoodsGroupIDs": {
  29052. "description": "商品组ID列表",
  29053. "type": "array",
  29054. "items": {
  29055. "type": "integer"
  29056. }
  29057. },
  29058. "Index": {
  29059. "description": "序号",
  29060. "type": "integer"
  29061. },
  29062. "MarketID": {
  29063. "description": "市场ID",
  29064. "type": "integer"
  29065. },
  29066. "MenuTitle": {
  29067. "description": "菜单标题(市场名称或外部交易所名称)",
  29068. "type": "string"
  29069. },
  29070. "TradeMode": {
  29071. "description": "交易模式",
  29072. "type": "integer"
  29073. }
  29074. }
  29075. },
  29076. "models.RoleMenu": {
  29077. "type": "object",
  29078. "properties": {
  29079. "hasright": {
  29080. "description": "是否有权限 0-没有权限 1-有权限",
  29081. "type": "integer"
  29082. },
  29083. "iconame": {
  29084. "description": "菜单图标",
  29085. "type": "string"
  29086. },
  29087. "menutype": {
  29088. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29089. "type": "integer"
  29090. },
  29091. "parentcode": {
  29092. "description": "上级资源代码",
  29093. "type": "string"
  29094. },
  29095. "remark": {
  29096. "description": "菜单备注",
  29097. "type": "string"
  29098. },
  29099. "resourcecode": {
  29100. "description": "菜单代码",
  29101. "type": "string"
  29102. },
  29103. "resourcelevel": {
  29104. "description": "级别",
  29105. "type": "integer"
  29106. },
  29107. "resourcename": {
  29108. "description": "菜单名称",
  29109. "type": "string"
  29110. },
  29111. "roleid": {
  29112. "description": "角色id",
  29113. "type": "integer"
  29114. },
  29115. "sort": {
  29116. "description": "排序",
  29117. "type": "integer"
  29118. },
  29119. "subMenu": {
  29120. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29121. "type": "array",
  29122. "items": {
  29123. "$ref": "#/definitions/models.RoleMenu"
  29124. }
  29125. },
  29126. "url": {
  29127. "description": "URL",
  29128. "type": "string"
  29129. },
  29130. "userid": {
  29131. "description": "用户id",
  29132. "type": "integer"
  29133. }
  29134. }
  29135. },
  29136. "models.SearchGoods": {
  29137. "type": "object",
  29138. "required": [
  29139. "goodscode",
  29140. "goodsid",
  29141. "goodsname",
  29142. "marketid",
  29143. "trademode"
  29144. ],
  29145. "properties": {
  29146. "goodscode": {
  29147. "description": "商品代码(内部)",
  29148. "type": "string"
  29149. },
  29150. "goodsid": {
  29151. "description": "商品ID(自增ID SEQ_GOODS)",
  29152. "type": "integer"
  29153. },
  29154. "goodsname": {
  29155. "description": "商品名称",
  29156. "type": "string"
  29157. },
  29158. "marketid": {
  29159. "description": "所属市场ID",
  29160. "type": "integer"
  29161. },
  29162. "marketname": {
  29163. "description": "市场名称",
  29164. "type": "string"
  29165. },
  29166. "trademode": {
  29167. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29168. "type": "integer"
  29169. }
  29170. }
  29171. },
  29172. "models.Systemparam": {
  29173. "type": "object",
  29174. "required": [
  29175. "paramcode"
  29176. ],
  29177. "properties": {
  29178. "loginid": {
  29179. "description": "更新用户账号,登录账号",
  29180. "type": "string"
  29181. },
  29182. "modifyflag": {
  29183. "description": "修改标志0 不允许修改 1 允许修改",
  29184. "type": "integer"
  29185. },
  29186. "paramcode": {
  29187. "description": "参数代码",
  29188. "type": "string"
  29189. },
  29190. "paramname": {
  29191. "description": "参数名",
  29192. "type": "string"
  29193. },
  29194. "paramtype": {
  29195. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29196. "type": "integer"
  29197. },
  29198. "paramvalue": {
  29199. "description": "参数值",
  29200. "type": "string"
  29201. },
  29202. "paramvalue2": {
  29203. "description": "参数值(CLOB)",
  29204. "type": "string"
  29205. },
  29206. "regexpress": {
  29207. "description": "正则表达式",
  29208. "type": "string"
  29209. },
  29210. "remark": {
  29211. "description": "备注",
  29212. "type": "string"
  29213. },
  29214. "serverip": {
  29215. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29216. "type": "string"
  29217. },
  29218. "showflag": {
  29219. "description": "是否显示0 不显示 1 显示",
  29220. "type": "integer"
  29221. },
  29222. "updatetime": {
  29223. "description": "更新时间",
  29224. "type": "string"
  29225. },
  29226. "userid": {
  29227. "description": "更新用户ID",
  29228. "type": "integer"
  29229. }
  29230. }
  29231. },
  29232. "models.Szdz3convertconfig": {
  29233. "type": "object",
  29234. "required": [
  29235. "converttype",
  29236. "innergoodsid",
  29237. "outergoodscode"
  29238. ],
  29239. "properties": {
  29240. "canin": {
  29241. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29242. "type": "integer"
  29243. },
  29244. "canout": {
  29245. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29246. "type": "integer"
  29247. },
  29248. "converttype": {
  29249. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29250. "type": "integer"
  29251. },
  29252. "createtime": {
  29253. "description": "创建时间",
  29254. "type": "string"
  29255. },
  29256. "creatorid": {
  29257. "description": "创建人",
  29258. "type": "integer"
  29259. },
  29260. "daymaxvalue": {
  29261. "description": "当日最大转入限制",
  29262. "type": "number"
  29263. },
  29264. "freezedays": {
  29265. "description": "冻结天数 [5:花生米转交易]",
  29266. "type": "integer"
  29267. },
  29268. "innergoodsid": {
  29269. "description": "内部商品ID[交易]",
  29270. "type": "integer"
  29271. },
  29272. "inratio": {
  29273. "description": "目标值",
  29274. "type": "integer"
  29275. },
  29276. "modifierid": {
  29277. "description": "修改人",
  29278. "type": "integer"
  29279. },
  29280. "modifytime": {
  29281. "description": "修改时间",
  29282. "type": "string"
  29283. },
  29284. "outergoodscode": {
  29285. "description": "外部商品代码[JD\\PD]",
  29286. "type": "string"
  29287. },
  29288. "outratio": {
  29289. "description": "源值",
  29290. "type": "integer"
  29291. },
  29292. "pddecimalplace": {
  29293. "description": "PD小数位",
  29294. "type": "integer"
  29295. },
  29296. "timemaxvalue": {
  29297. "description": "单次最大转入限制",
  29298. "type": "number"
  29299. },
  29300. "timeminvalue": {
  29301. "description": "单次最小转入限制",
  29302. "type": "number"
  29303. }
  29304. }
  29305. },
  29306. "models.Szdz3searchwhitelist": {
  29307. "type": "object",
  29308. "required": [
  29309. "userid"
  29310. ],
  29311. "properties": {
  29312. "createtime": {
  29313. "description": "创建时间",
  29314. "type": "string"
  29315. },
  29316. "creatorid": {
  29317. "description": "创建人",
  29318. "type": "integer"
  29319. },
  29320. "modifierid": {
  29321. "description": "修改人",
  29322. "type": "integer"
  29323. },
  29324. "modifytime": {
  29325. "description": "修改时间",
  29326. "type": "string"
  29327. },
  29328. "userid": {
  29329. "description": "用户ID",
  29330. "type": "integer"
  29331. }
  29332. }
  29333. },
  29334. "models.Taaccount": {
  29335. "type": "object",
  29336. "required": [
  29337. "accountid",
  29338. "userid"
  29339. ],
  29340. "properties": {
  29341. "accountflag": {
  29342. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29343. "type": "integer"
  29344. },
  29345. "accountid": {
  29346. "description": "资金账户ID",
  29347. "type": "integer"
  29348. },
  29349. "accountname": {
  29350. "description": "账户名称",
  29351. "type": "string"
  29352. },
  29353. "balance": {
  29354. "description": "期初余额",
  29355. "type": "number"
  29356. },
  29357. "capitalbalance": {
  29358. "description": "本金余额[外部子账户实际出入金余额]",
  29359. "type": "number"
  29360. },
  29361. "changeflag": {
  29362. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29363. "type": "integer"
  29364. },
  29365. "changetime": {
  29366. "description": "账户状态变更时间",
  29367. "type": "string"
  29368. },
  29369. "closepl": {
  29370. "description": "今日平仓盈亏",
  29371. "type": "number"
  29372. },
  29373. "creditdecrease": {
  29374. "description": "今日授信减少",
  29375. "type": "number"
  29376. },
  29377. "creditincrease": {
  29378. "description": "今日授信增加",
  29379. "type": "number"
  29380. },
  29381. "curamount": {
  29382. "description": "总市值(从持仓中统计)",
  29383. "type": "number"
  29384. },
  29385. "currencyid": {
  29386. "description": "货币ID",
  29387. "type": "integer"
  29388. },
  29389. "currentbalance": {
  29390. "description": "期末余额",
  29391. "type": "number"
  29392. },
  29393. "freezecharge": {
  29394. "description": "手续费冻结",
  29395. "type": "number"
  29396. },
  29397. "freezemargin": {
  29398. "description": "冻结保证金",
  29399. "type": "number"
  29400. },
  29401. "fromaccountid": {
  29402. "description": "所属上级账户",
  29403. "type": "integer"
  29404. },
  29405. "inamount": {
  29406. "description": "今日入金金额(包括三方入金)",
  29407. "type": "number"
  29408. },
  29409. "ismain": {
  29410. "description": "是否母账号 0:不是母账户 1:是母账户",
  29411. "type": "integer"
  29412. },
  29413. "ismarketaccount": {
  29414. "description": "是否机构接单账号 0:不是 1:是",
  29415. "type": "integer"
  29416. },
  29417. "isreckonaccount": {
  29418. "description": "是否机构分润账号 0:不是 1:是",
  29419. "type": "integer"
  29420. },
  29421. "mortgagecredit": {
  29422. "description": "授信金额",
  29423. "type": "number"
  29424. },
  29425. "orifreezecharge": {
  29426. "description": "期初手续费冻结",
  29427. "type": "number"
  29428. },
  29429. "orifreezemargin": {
  29430. "description": "期初冻结保证金",
  29431. "type": "number"
  29432. },
  29433. "orimortgagecredit": {
  29434. "description": "期初授信金额",
  29435. "type": "number"
  29436. },
  29437. "oriothercredit": {
  29438. "description": "期初其它授信金额",
  29439. "type": "number"
  29440. },
  29441. "oriotherfreezemargin": {
  29442. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29443. "type": "number"
  29444. },
  29445. "orioutamountfreeze": {
  29446. "description": "期初出金冻结",
  29447. "type": "number"
  29448. },
  29449. "oriusedmargin": {
  29450. "description": "期初占用保证金",
  29451. "type": "number"
  29452. },
  29453. "othercredit": {
  29454. "description": "其它授信金额",
  29455. "type": "number"
  29456. },
  29457. "othercreditdecrease": {
  29458. "description": "今日其它授信减少",
  29459. "type": "number"
  29460. },
  29461. "othercreditincrease": {
  29462. "description": "今日其它授信增加",
  29463. "type": "number"
  29464. },
  29465. "otherfreezemargin": {
  29466. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29467. "type": "number"
  29468. },
  29469. "otherincome": {
  29470. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  29471. "type": "number"
  29472. },
  29473. "otherpay": {
  29474. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  29475. "type": "number"
  29476. },
  29477. "outamount": {
  29478. "description": "今日出金金额(包括三方出金)",
  29479. "type": "number"
  29480. },
  29481. "outamountfreeze": {
  29482. "description": "出金冻结",
  29483. "type": "number"
  29484. },
  29485. "outthreshold": {
  29486. "description": "出金阈值",
  29487. "type": "number"
  29488. },
  29489. "parentaccountid": {
  29490. "description": "所属根账号",
  29491. "type": "integer"
  29492. },
  29493. "paycharge": {
  29494. "description": "今日手续费支出",
  29495. "type": "number"
  29496. },
  29497. "relatedaccountstatus": {
  29498. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  29499. "type": "integer"
  29500. },
  29501. "relateduserid": {
  29502. "description": "关联用户",
  29503. "type": "integer"
  29504. },
  29505. "remainamount": {
  29506. "description": "融资额(从融资合同中统计)",
  29507. "type": "number"
  29508. },
  29509. "serivcegroup": {
  29510. "description": "服务分组",
  29511. "type": "integer"
  29512. },
  29513. "signstatus": {
  29514. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29515. "type": "integer"
  29516. },
  29517. "sublevelpath": {
  29518. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29519. "type": "string"
  29520. },
  29521. "taaccounttype": {
  29522. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29523. "type": "integer"
  29524. },
  29525. "thirdinamount": {
  29526. "description": "今日三方入金",
  29527. "type": "number"
  29528. },
  29529. "thirdoutamount": {
  29530. "description": "今日三方出金",
  29531. "type": "number"
  29532. },
  29533. "tradestatus": {
  29534. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29535. "type": "integer"
  29536. },
  29537. "tradestatuschangetime": {
  29538. "description": "激活时间",
  29539. "type": "string"
  29540. },
  29541. "transferamount": {
  29542. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29543. "type": "number"
  29544. },
  29545. "usedmargin": {
  29546. "description": "占用保证金",
  29547. "type": "number"
  29548. },
  29549. "userid": {
  29550. "description": "用户ID",
  29551. "type": "integer"
  29552. }
  29553. }
  29554. },
  29555. "models.Tablecolumnconfig": {
  29556. "type": "object",
  29557. "required": [
  29558. "autoid"
  29559. ],
  29560. "properties": {
  29561. "aligntype": {
  29562. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  29563. "type": "integer"
  29564. },
  29565. "autoid": {
  29566. "description": "AutoID",
  29567. "type": "integer"
  29568. },
  29569. "columnfield": {
  29570. "description": "列字段",
  29571. "type": "string"
  29572. },
  29573. "columntitle": {
  29574. "description": "列Title",
  29575. "type": "string"
  29576. },
  29577. "columnwidth": {
  29578. "description": "列宽",
  29579. "type": "string"
  29580. },
  29581. "formatterstring": {
  29582. "description": "格式化字符",
  29583. "type": "string"
  29584. },
  29585. "formattertype": {
  29586. "description": "格式化类型",
  29587. "type": "string"
  29588. },
  29589. "groupname": {
  29590. "description": "表头分组名称",
  29591. "type": "string"
  29592. },
  29593. "isshow": {
  29594. "description": "是否显示 - 0:不显示 1:显示",
  29595. "type": "integer"
  29596. },
  29597. "needsummary": {
  29598. "description": "是否需要汇总 - 0:不需要 1:需要",
  29599. "type": "integer"
  29600. },
  29601. "orderindex": {
  29602. "description": "顺序",
  29603. "type": "integer"
  29604. },
  29605. "remark": {
  29606. "description": "备注",
  29607. "type": "string"
  29608. },
  29609. "summarytype": {
  29610. "description": "汇总类型 - 1:加总 2:最后一个",
  29611. "type": "integer"
  29612. },
  29613. "tablekey": {
  29614. "description": "列表Key",
  29615. "type": "string"
  29616. }
  29617. }
  29618. },
  29619. "models.UserCollectConfig": {
  29620. "type": "object",
  29621. "properties": {
  29622. "accountstatus": {
  29623. "description": "账户状态 - 1:正常 2:停用 3:注销",
  29624. "type": "integer"
  29625. },
  29626. "collectaccountname": {
  29627. "description": "收款人账户名称",
  29628. "type": "string"
  29629. },
  29630. "collectaccountno": {
  29631. "description": "收款人账户",
  29632. "type": "string"
  29633. },
  29634. "collectbankname": {
  29635. "description": "收款人开户行",
  29636. "type": "string"
  29637. },
  29638. "collectbranchbankname": {
  29639. "description": "收款人开户支行",
  29640. "type": "string"
  29641. },
  29642. "collectconfigid": {
  29643. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  29644. "type": "string"
  29645. },
  29646. "remark": {
  29647. "description": "备注",
  29648. "type": "string"
  29649. },
  29650. "userid": {
  29651. "description": "收款人用户ID",
  29652. "type": "integer"
  29653. }
  29654. }
  29655. },
  29656. "models.UserReceiveInfo": {
  29657. "type": "object",
  29658. "properties": {
  29659. "address": {
  29660. "description": "提货人详细地址",
  29661. "type": "string"
  29662. },
  29663. "autoid": {
  29664. "description": "AutoID",
  29665. "type": "integer"
  29666. },
  29667. "cardnum": {
  29668. "description": "证件号码(加密存储)",
  29669. "type": "string"
  29670. },
  29671. "cardtypeid": {
  29672. "description": "证件类型",
  29673. "type": "integer"
  29674. },
  29675. "cityid": {
  29676. "description": "市",
  29677. "type": "integer"
  29678. },
  29679. "cityname": {
  29680. "description": "城市名称",
  29681. "type": "string"
  29682. },
  29683. "countryid": {
  29684. "description": "国家",
  29685. "type": "integer"
  29686. },
  29687. "countryname": {
  29688. "description": "国家名称",
  29689. "type": "string"
  29690. },
  29691. "districtid": {
  29692. "description": "地区",
  29693. "type": "integer"
  29694. },
  29695. "districtname": {
  29696. "description": "地区名称",
  29697. "type": "string"
  29698. },
  29699. "hasencrypt": {
  29700. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29701. "type": "integer"
  29702. },
  29703. "isdefault": {
  29704. "description": "是否默认地址 - 0:否 1:是",
  29705. "type": "integer"
  29706. },
  29707. "phonenum": {
  29708. "description": "提货人联系方式(加密存储)",
  29709. "type": "string"
  29710. },
  29711. "provinceid": {
  29712. "description": "省",
  29713. "type": "integer"
  29714. },
  29715. "provincename": {
  29716. "description": "省名称",
  29717. "type": "string"
  29718. },
  29719. "receivername": {
  29720. "description": "提货人姓名",
  29721. "type": "string"
  29722. },
  29723. "takeremark": {
  29724. "description": "提货备注",
  29725. "type": "string"
  29726. },
  29727. "userid": {
  29728. "description": "用户ID",
  29729. "type": "integer"
  29730. }
  29731. }
  29732. },
  29733. "models.Useraccount": {
  29734. "type": "object",
  29735. "required": [
  29736. "userid"
  29737. ],
  29738. "properties": {
  29739. "accountname": {
  29740. "description": "账户名称(机构名称)",
  29741. "type": "string"
  29742. },
  29743. "accountstatus": {
  29744. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29745. "type": "integer"
  29746. },
  29747. "applysrc": {
  29748. "description": "申请来源 - 1:管理端 2:终端",
  29749. "type": "integer"
  29750. },
  29751. "auditremark": {
  29752. "description": "审核备注",
  29753. "type": "string"
  29754. },
  29755. "auditsrc": {
  29756. "description": "审核来源 - 1:管理端 2:终端",
  29757. "type": "integer"
  29758. },
  29759. "audittime": {
  29760. "description": "审核时间",
  29761. "type": "string"
  29762. },
  29763. "audituserid": {
  29764. "description": "审核人",
  29765. "type": "integer"
  29766. },
  29767. "broker": {
  29768. "description": "所属经纪人ID",
  29769. "type": "integer"
  29770. },
  29771. "canceltime": {
  29772. "description": "销户时间",
  29773. "type": "string"
  29774. },
  29775. "canceluserid": {
  29776. "description": "销户人",
  29777. "type": "integer"
  29778. },
  29779. "canrecommend": {
  29780. "description": "是否可推荐 - 0:不可 1;可",
  29781. "type": "integer"
  29782. },
  29783. "createtime": {
  29784. "description": "创建时间",
  29785. "type": "string"
  29786. },
  29787. "creatorid": {
  29788. "description": "创建人",
  29789. "type": "integer"
  29790. },
  29791. "hasauth": {
  29792. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  29793. "type": "integer"
  29794. },
  29795. "isanonymous": {
  29796. "description": "是否匿名下单 - 0:否 1:是",
  29797. "type": "integer"
  29798. },
  29799. "maxinvestornum": {
  29800. "description": "最大用户数(经纪会员下投资者个数)",
  29801. "type": "integer"
  29802. },
  29803. "memberuserid": {
  29804. "description": "所属会员ID",
  29805. "type": "integer"
  29806. },
  29807. "modifierid": {
  29808. "description": "修改人",
  29809. "type": "integer"
  29810. },
  29811. "modifyremark": {
  29812. "description": "变更备注",
  29813. "type": "string"
  29814. },
  29815. "modifystatus": {
  29816. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  29817. "type": "integer"
  29818. },
  29819. "modifytime": {
  29820. "description": "修改时间",
  29821. "type": "string"
  29822. },
  29823. "parenttopuser": {
  29824. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29825. "type": "string"
  29826. },
  29827. "parentuserid": {
  29828. "description": "所属机构ID",
  29829. "type": "integer"
  29830. },
  29831. "reckonaccountid": {
  29832. "description": "默认结算资金账号ID(机构分润使用) 作废",
  29833. "type": "integer"
  29834. },
  29835. "refercount": {
  29836. "description": "推荐总人数",
  29837. "type": "integer"
  29838. },
  29839. "refereeuserid": {
  29840. "description": "推荐人ID",
  29841. "type": "integer"
  29842. },
  29843. "refernum": {
  29844. "description": "推荐码",
  29845. "type": "string"
  29846. },
  29847. "rootuserid": {
  29848. "description": "根用户ID",
  29849. "type": "integer"
  29850. },
  29851. "subaccountlevel": {
  29852. "description": "子账户层数",
  29853. "type": "integer"
  29854. },
  29855. "subarealevelpath": {
  29856. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29857. "type": "string"
  29858. },
  29859. "userid": {
  29860. "description": "用户ID",
  29861. "type": "integer"
  29862. },
  29863. "usertype": {
  29864. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29865. "type": "integer"
  29866. }
  29867. }
  29868. },
  29869. "models.Userfavoritegoods": {
  29870. "type": "object",
  29871. "required": [
  29872. "goodsid"
  29873. ],
  29874. "properties": {
  29875. "goodsid": {
  29876. "description": "商品ID",
  29877. "type": "integer"
  29878. }
  29879. }
  29880. },
  29881. "models.Userinfo": {
  29882. "type": "object",
  29883. "required": [
  29884. "userid"
  29885. ],
  29886. "properties": {
  29887. "address": {
  29888. "description": "地址",
  29889. "type": "string"
  29890. },
  29891. "attachment1": {
  29892. "description": "附件1",
  29893. "type": "string"
  29894. },
  29895. "attachment2": {
  29896. "description": "附件2",
  29897. "type": "string"
  29898. },
  29899. "bankaccount": {
  29900. "description": "银行帐号 (加密存储)",
  29901. "type": "string"
  29902. },
  29903. "bankaccountname": {
  29904. "description": "收款人名称",
  29905. "type": "string"
  29906. },
  29907. "bankcardfrontphotourl": {
  29908. "description": "银行卡正面照地址",
  29909. "type": "string"
  29910. },
  29911. "bankid": {
  29912. "description": "银行编码",
  29913. "type": "string"
  29914. },
  29915. "bankname": {
  29916. "description": "银行名称",
  29917. "type": "string"
  29918. },
  29919. "biznature": {
  29920. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  29921. "type": "integer"
  29922. },
  29923. "bizscope": {
  29924. "description": "企业经营范围(企业)",
  29925. "type": "string"
  29926. },
  29927. "cardbackphotourl": {
  29928. "description": "证件背面图片地址",
  29929. "type": "string"
  29930. },
  29931. "cardfrontphotourl": {
  29932. "description": "证件正面图片地址",
  29933. "type": "string"
  29934. },
  29935. "cardnum": {
  29936. "description": "证件号码(加密存储)",
  29937. "type": "string"
  29938. },
  29939. "cardtypeid": {
  29940. "description": "证件类型ID",
  29941. "type": "integer"
  29942. },
  29943. "cityid": {
  29944. "description": "市",
  29945. "type": "integer"
  29946. },
  29947. "company": {
  29948. "description": "公司(个人)",
  29949. "type": "string"
  29950. },
  29951. "contactname": {
  29952. "description": "联系人",
  29953. "type": "string"
  29954. },
  29955. "countryid": {
  29956. "description": "国家",
  29957. "type": "integer"
  29958. },
  29959. "createtime": {
  29960. "description": "创建时间",
  29961. "type": "string"
  29962. },
  29963. "creatorid": {
  29964. "description": "创建人",
  29965. "type": "integer"
  29966. },
  29967. "customername": {
  29968. "description": "客户名称(企业名称)",
  29969. "type": "string"
  29970. },
  29971. "districtid": {
  29972. "description": "地区",
  29973. "type": "integer"
  29974. },
  29975. "email": {
  29976. "description": "邮件(加密存储)",
  29977. "type": "string"
  29978. },
  29979. "fax": {
  29980. "description": "传真(加密存储)",
  29981. "type": "string"
  29982. },
  29983. "halfbodyphotourl": {
  29984. "description": "半身照地址",
  29985. "type": "string"
  29986. },
  29987. "hasencrypt": {
  29988. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29989. "type": "integer"
  29990. },
  29991. "headurl": {
  29992. "description": "头像地址",
  29993. "type": "string"
  29994. },
  29995. "legalcardbackphotourl": {
  29996. "description": "法人身份证背面照地址",
  29997. "type": "string"
  29998. },
  29999. "legalcardfrontphotourl": {
  30000. "description": "法人身份证正面照地址",
  30001. "type": "string"
  30002. },
  30003. "legalpersonname": {
  30004. "description": "法人姓名(企业)",
  30005. "type": "string"
  30006. },
  30007. "mobile": {
  30008. "description": "手机号码(加密存储)",
  30009. "type": "string"
  30010. },
  30011. "mobile2": {
  30012. "description": "手机号码[明文-尚志]",
  30013. "type": "string"
  30014. },
  30015. "modifierid": {
  30016. "description": "修改人",
  30017. "type": "integer"
  30018. },
  30019. "modifiertime": {
  30020. "description": "修改时间",
  30021. "type": "string"
  30022. },
  30023. "needinvoice": {
  30024. "description": "是否需要发票 - 0:不需要 1:需要",
  30025. "type": "integer"
  30026. },
  30027. "nickname": {
  30028. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  30029. "type": "string"
  30030. },
  30031. "openmode": {
  30032. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  30033. "type": "integer"
  30034. },
  30035. "otherurl": {
  30036. "description": "其它图片地址[使用分号分隔]",
  30037. "type": "string"
  30038. },
  30039. "postalcode": {
  30040. "description": "邮政编码",
  30041. "type": "string"
  30042. },
  30043. "provinceid": {
  30044. "description": "省",
  30045. "type": "integer"
  30046. },
  30047. "qq": {
  30048. "description": "QQ(加密存储",
  30049. "type": "string"
  30050. },
  30051. "remark": {
  30052. "description": "备注",
  30053. "type": "string"
  30054. },
  30055. "sex": {
  30056. "description": "用户性别 0: 女 1: 男",
  30057. "type": "integer"
  30058. },
  30059. "signpdfurl": {
  30060. "description": "签约pdf文件",
  30061. "type": "string"
  30062. },
  30063. "telphone": {
  30064. "description": "联系电话(加密存储)",
  30065. "type": "string"
  30066. },
  30067. "userid": {
  30068. "description": "用户ID",
  30069. "type": "integer"
  30070. },
  30071. "userinfotype": {
  30072. "description": "用户信息类型 - 1:个人 2:企业",
  30073. "type": "integer"
  30074. },
  30075. "userstatus": {
  30076. "description": "用户状态 - 1:正常 2:注销",
  30077. "type": "integer"
  30078. },
  30079. "usertype": {
  30080. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  30081. "type": "integer"
  30082. },
  30083. "wechat": {
  30084. "description": "微信(加密存储)",
  30085. "type": "string"
  30086. },
  30087. "wskhinfo": {
  30088. "description": "开户申请信息(JSON)",
  30089. "type": "string"
  30090. }
  30091. }
  30092. },
  30093. "models.WRSConverTDetail": {
  30094. "type": "object",
  30095. "properties": {
  30096. "convertratio": {
  30097. "description": "套保系数",
  30098. "type": "number"
  30099. },
  30100. "deliverygoodscode": {
  30101. "description": "现货商品代码",
  30102. "type": "string"
  30103. },
  30104. "deliverygoodsid": {
  30105. "description": "现货品种ID",
  30106. "type": "integer"
  30107. },
  30108. "deliverygoodsname": {
  30109. "description": "现货商品名称",
  30110. "type": "string"
  30111. },
  30112. "enumdicname": {
  30113. "description": "单位名称",
  30114. "type": "string"
  30115. },
  30116. "goodsunitid": {
  30117. "description": "套保品种单位id",
  30118. "type": "integer"
  30119. },
  30120. "middlegoodscode": {
  30121. "description": "套保品种代码",
  30122. "type": "string"
  30123. },
  30124. "middlegoodsid": {
  30125. "description": "套保品种ID",
  30126. "type": "integer"
  30127. },
  30128. "middlegoodsname": {
  30129. "description": "套保品种名称",
  30130. "type": "string"
  30131. },
  30132. "modifytime": {
  30133. "description": "修改时间",
  30134. "type": "string"
  30135. },
  30136. "wrstandardid": {
  30137. "description": "品类ID",
  30138. "type": "integer"
  30139. }
  30140. }
  30141. },
  30142. "models.WRStandardInfo": {
  30143. "type": "object",
  30144. "required": [
  30145. "wrstandardid"
  30146. ],
  30147. "properties": {
  30148. "areauserid": {
  30149. "description": "所属机构",
  30150. "type": "integer"
  30151. },
  30152. "convertfactor": {
  30153. "description": "标仓系数",
  30154. "type": "number"
  30155. },
  30156. "createtime": {
  30157. "description": "创建时间",
  30158. "type": "string"
  30159. },
  30160. "creatorid": {
  30161. "description": "创建人",
  30162. "type": "integer"
  30163. },
  30164. "deliverygoodsid": {
  30165. "description": "品种ID",
  30166. "type": "integer"
  30167. },
  30168. "deliverygoodsname": {
  30169. "description": "交割商品名称",
  30170. "type": "string"
  30171. },
  30172. "factoryitemjson": {
  30173. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  30174. "type": "string"
  30175. },
  30176. "isvalid": {
  30177. "description": "是否有效 - 0:无效 1:有效",
  30178. "type": "integer"
  30179. },
  30180. "minivalue": {
  30181. "description": "最小变动值",
  30182. "type": "integer"
  30183. },
  30184. "minivaluedp": {
  30185. "description": "最小变动值小数位",
  30186. "type": "integer"
  30187. },
  30188. "realminivalue": {
  30189. "description": "实际最小变动值",
  30190. "type": "integer"
  30191. },
  30192. "realminivaluedp": {
  30193. "description": "实际最小变动值小数位",
  30194. "type": "integer"
  30195. },
  30196. "remark": {
  30197. "description": "备注",
  30198. "type": "string"
  30199. },
  30200. "unitid": {
  30201. "description": "单位ID",
  30202. "type": "integer"
  30203. },
  30204. "unitname": {
  30205. "description": "单位",
  30206. "type": "string"
  30207. },
  30208. "updatetime": {
  30209. "description": "更新时间",
  30210. "type": "string"
  30211. },
  30212. "updatorid": {
  30213. "description": "更新人",
  30214. "type": "integer"
  30215. },
  30216. "wrsstatus": {
  30217. "description": "状态 - 作废 - 0:未激活 1:正常",
  30218. "type": "integer"
  30219. },
  30220. "wrstandardcode": {
  30221. "description": "现货品类代码",
  30222. "type": "string"
  30223. },
  30224. "wrstandardid": {
  30225. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30226. "type": "integer"
  30227. },
  30228. "wrstandardname": {
  30229. "description": "现货品类名称",
  30230. "type": "string"
  30231. }
  30232. }
  30233. },
  30234. "models.Warehouseinfo": {
  30235. "type": "object",
  30236. "required": [
  30237. "autoid",
  30238. "warehousecode"
  30239. ],
  30240. "properties": {
  30241. "address": {
  30242. "description": "详细地址",
  30243. "type": "string"
  30244. },
  30245. "areauserid": {
  30246. "description": "所属机构",
  30247. "type": "integer"
  30248. },
  30249. "autoid": {
  30250. "description": "自增ID",
  30251. "type": "integer"
  30252. },
  30253. "cityid": {
  30254. "description": "市",
  30255. "type": "integer"
  30256. },
  30257. "contactname": {
  30258. "description": "联系人",
  30259. "type": "string"
  30260. },
  30261. "contactnum": {
  30262. "description": "联系电话",
  30263. "type": "string"
  30264. },
  30265. "countryid": {
  30266. "description": "国家",
  30267. "type": "integer"
  30268. },
  30269. "createtime": {
  30270. "description": "创建时间",
  30271. "type": "string"
  30272. },
  30273. "districtid": {
  30274. "description": "区",
  30275. "type": "integer"
  30276. },
  30277. "hasvideo": {
  30278. "description": "是否有视频 - 0:无 1:有",
  30279. "type": "integer"
  30280. },
  30281. "provinceid": {
  30282. "description": "省",
  30283. "type": "integer"
  30284. },
  30285. "remark": {
  30286. "description": "审核备注",
  30287. "type": "string"
  30288. },
  30289. "videourl": {
  30290. "description": "视频地址",
  30291. "type": "string"
  30292. },
  30293. "warehousecode": {
  30294. "description": "仓库代码",
  30295. "type": "string"
  30296. },
  30297. "warehousename": {
  30298. "description": "仓库名称",
  30299. "type": "string"
  30300. },
  30301. "warehousestatus": {
  30302. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30303. "type": "integer"
  30304. },
  30305. "warehousetype": {
  30306. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30307. "type": "integer"
  30308. }
  30309. }
  30310. },
  30311. "models.WrAverageTradePrice": {
  30312. "type": "object",
  30313. "properties": {
  30314. "averageprice": {
  30315. "description": "成交均价",
  30316. "type": "number"
  30317. },
  30318. "tradedate": {
  30319. "description": "交易日yyyymm",
  30320. "type": "string"
  30321. }
  30322. }
  30323. },
  30324. "models.WrBsGoodsInfo": {
  30325. "type": "object",
  30326. "properties": {
  30327. "buyorsell": {
  30328. "description": "买卖方向 0-买 1-卖",
  30329. "type": "integer"
  30330. },
  30331. "goodsid": {
  30332. "description": "交易合约ID",
  30333. "type": "integer"
  30334. },
  30335. "lstitem": {
  30336. "description": "商品信息项",
  30337. "type": "array",
  30338. "items": {
  30339. "$ref": "#/definitions/models.WrTypeItem"
  30340. }
  30341. },
  30342. "lststep": {
  30343. "description": "履约规则",
  30344. "type": "array",
  30345. "items": {
  30346. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  30347. }
  30348. }
  30349. }
  30350. },
  30351. "models.WrBuybackDetail": {
  30352. "type": "object",
  30353. "properties": {
  30354. "buybackamount": {
  30355. "description": "回购金额",
  30356. "type": "number"
  30357. },
  30358. "buybackqty": {
  30359. "description": "回购数量",
  30360. "type": "number"
  30361. },
  30362. "buybackreleasemargin": {
  30363. "description": "回购释放保证金",
  30364. "type": "number"
  30365. },
  30366. "buybacktime": {
  30367. "description": "回购时间",
  30368. "type": "string"
  30369. },
  30370. "errordesc": {
  30371. "description": "错误描述",
  30372. "type": "string"
  30373. },
  30374. "handlestatus": {
  30375. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  30376. "type": "integer"
  30377. },
  30378. "relatedwrid": {
  30379. "description": "关联仓单ID",
  30380. "type": "integer"
  30381. },
  30382. "scfcontractid": {
  30383. "description": "SCF合同ID",
  30384. "type": "string"
  30385. },
  30386. "scfwrbuybackid": {
  30387. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  30388. "type": "integer"
  30389. },
  30390. "tradedate": {
  30391. "description": "交易日(yyyyMMdd)",
  30392. "type": "string"
  30393. }
  30394. }
  30395. },
  30396. "models.WrDeliveryAvalidHoldLB": {
  30397. "type": "object",
  30398. "properties": {
  30399. "accountid": {
  30400. "description": "资金账号",
  30401. "type": "integer"
  30402. },
  30403. "avalidqty": {
  30404. "description": "数量(可点选数量)",
  30405. "type": "number"
  30406. },
  30407. "deliverygoodsid": {
  30408. "description": "品种id",
  30409. "type": "integer"
  30410. },
  30411. "goodsid": {
  30412. "description": "x合约商品id",
  30413. "type": "integer"
  30414. },
  30415. "ladingbillid": {
  30416. "description": "提单id",
  30417. "type": "string"
  30418. },
  30419. "pgoodscode": {
  30420. "description": "p商品代码(点价合约)",
  30421. "type": "string"
  30422. },
  30423. "pgoodsid": {
  30424. "description": "p商品id(点价合约)",
  30425. "type": "integer"
  30426. },
  30427. "pgoodsname": {
  30428. "description": "p商品名称(点价合约)",
  30429. "type": "string"
  30430. },
  30431. "pricemove": {
  30432. "description": "升贴水",
  30433. "type": "number"
  30434. },
  30435. "qty": {
  30436. "description": "用户仓单数量",
  30437. "type": "number"
  30438. },
  30439. "subnum": {
  30440. "description": "提单子id",
  30441. "type": "integer"
  30442. },
  30443. "uqty": {
  30444. "description": "用户持有数量",
  30445. "type": "number"
  30446. },
  30447. "userid": {
  30448. "description": "用户id",
  30449. "type": "integer"
  30450. },
  30451. "username": {
  30452. "description": "仓单持有人",
  30453. "type": "string"
  30454. },
  30455. "warehousecode": {
  30456. "description": "仓库代码",
  30457. "type": "string"
  30458. },
  30459. "warehouseid": {
  30460. "description": "仓库id",
  30461. "type": "integer"
  30462. },
  30463. "warehousename": {
  30464. "description": "仓库名称",
  30465. "type": "string"
  30466. },
  30467. "wrfactortypeid": {
  30468. "description": "仓单要素id",
  30469. "type": "string"
  30470. },
  30471. "wrfactortypename2": {
  30472. "description": "仓单要素名称(不含仓库)",
  30473. "type": "string"
  30474. },
  30475. "wrstandardcode": {
  30476. "description": "品代码",
  30477. "type": "string"
  30478. },
  30479. "wrstandardid": {
  30480. "description": "品类d",
  30481. "type": "integer"
  30482. },
  30483. "wrstandardname": {
  30484. "description": "品类名称",
  30485. "type": "string"
  30486. },
  30487. "xgoodscode": {
  30488. "description": "x合约代码",
  30489. "type": "string"
  30490. },
  30491. "xgoodsname": {
  30492. "description": "x合约名称",
  30493. "type": "string"
  30494. }
  30495. }
  30496. },
  30497. "models.WrDeliveryDetail": {
  30498. "type": "object",
  30499. "properties": {
  30500. "accountid": {
  30501. "description": "账号ID",
  30502. "type": "integer"
  30503. },
  30504. "buyorsell": {
  30505. "description": "方向 - 0:买 1:卖",
  30506. "type": "integer"
  30507. },
  30508. "deliveryamount": {
  30509. "description": "货款金额(X总货款+P总货款)",
  30510. "type": "number"
  30511. },
  30512. "deliveryorderid": {
  30513. "description": "申报单号",
  30514. "type": "string"
  30515. },
  30516. "deliverypricemove": {
  30517. "description": "升贴水(升贴水总额)",
  30518. "type": "number"
  30519. },
  30520. "deliveryqty": {
  30521. "description": "交收数量(点选数量)",
  30522. "type": "number"
  30523. },
  30524. "deliverystatus": {
  30525. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  30526. "type": "integer"
  30527. },
  30528. "deliverytime": {
  30529. "description": "交割时间",
  30530. "type": "string"
  30531. },
  30532. "deliverytotalamount": {
  30533. "description": "交收金额",
  30534. "type": "number"
  30535. },
  30536. "matchaccountid": {
  30537. "description": "对手账号ID",
  30538. "type": "integer"
  30539. },
  30540. "matchusername": {
  30541. "description": "对手方名称(仓单持有人)",
  30542. "type": "string"
  30543. },
  30544. "p1goodsremainamount": {
  30545. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  30546. "type": "number"
  30547. },
  30548. "pdeliverycloseqty": {
  30549. "description": "p合约平仓数量",
  30550. "type": "number"
  30551. },
  30552. "pdeliveryprice": {
  30553. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  30554. "type": "number"
  30555. },
  30556. "pgoodscode": {
  30557. "description": "商品代码",
  30558. "type": "string"
  30559. },
  30560. "pgoodsid": {
  30561. "description": "p点选合约id",
  30562. "type": "integer"
  30563. },
  30564. "pgoodsname": {
  30565. "description": "商品名称",
  30566. "type": "string"
  30567. },
  30568. "ppricemode": {
  30569. "description": "点价价格方式 - 1:商品价 2:固定值",
  30570. "type": "integer"
  30571. },
  30572. "tradedate": {
  30573. "description": "交易日(yyyymmdd)",
  30574. "type": "string"
  30575. },
  30576. "userid": {
  30577. "description": "用户id",
  30578. "type": "integer"
  30579. },
  30580. "username": {
  30581. "description": "用户名称",
  30582. "type": "string"
  30583. },
  30584. "wrfactortypeid": {
  30585. "description": "仓单要素类型ID",
  30586. "type": "integer"
  30587. },
  30588. "xdeliverycloseqty": {
  30589. "description": "合约数量",
  30590. "type": "number"
  30591. },
  30592. "xgoodsamount": {
  30593. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  30594. "type": "number"
  30595. },
  30596. "xgoodscode": {
  30597. "description": "商品代码",
  30598. "type": "string"
  30599. },
  30600. "xgoodsid": {
  30601. "description": "x交易合约ID",
  30602. "type": "integer"
  30603. },
  30604. "xgoodsname": {
  30605. "description": "商品名称",
  30606. "type": "string"
  30607. }
  30608. }
  30609. },
  30610. "models.WrFAProductDetail": {
  30611. "type": "object",
  30612. "properties": {
  30613. "accountid": {
  30614. "description": "资金账号",
  30615. "type": "integer"
  30616. },
  30617. "areauserid": {
  30618. "description": "金融机构ID",
  30619. "type": "integer"
  30620. },
  30621. "financingdays": {
  30622. "description": "天数(天)",
  30623. "type": "integer"
  30624. },
  30625. "interestminlen": {
  30626. "description": "最小起息天数",
  30627. "type": "integer"
  30628. },
  30629. "interestrate": {
  30630. "description": "利率",
  30631. "type": "number"
  30632. },
  30633. "interestratemode": {
  30634. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  30635. "type": "integer"
  30636. },
  30637. "interestsettlemode": {
  30638. "description": "结息方式 - 1:按日结息 3:按月结息",
  30639. "type": "integer"
  30640. },
  30641. "interestsettlevalue": {
  30642. "description": "结息方式值",
  30643. "type": "integer"
  30644. },
  30645. "isautoloan": {
  30646. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  30647. "type": "integer"
  30648. },
  30649. "loantag": {
  30650. "description": "放款标识: \"放款快\" 或者为空",
  30651. "type": "string"
  30652. },
  30653. "marginratio": {
  30654. "description": "保证金比率质押率 - [仓单质押]",
  30655. "type": "number"
  30656. },
  30657. "productdetailid": {
  30658. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  30659. "type": "integer"
  30660. },
  30661. "productid": {
  30662. "description": "金融产品ID",
  30663. "type": "integer"
  30664. },
  30665. "productname": {
  30666. "description": "产品名称",
  30667. "type": "string"
  30668. },
  30669. "updatetime": {
  30670. "description": "更新时间",
  30671. "type": "string"
  30672. },
  30673. "username": {
  30674. "description": "融出方",
  30675. "type": "string"
  30676. }
  30677. }
  30678. },
  30679. "models.WrFactorTypeInfo": {
  30680. "type": "object",
  30681. "properties": {
  30682. "deliverygoodscode": {
  30683. "description": "品种代码",
  30684. "type": "string"
  30685. },
  30686. "deliverygoodsname": {
  30687. "description": "品种名称",
  30688. "type": "string"
  30689. },
  30690. "dgfactoryitemid": {
  30691. "description": "选择项id",
  30692. "type": "integer"
  30693. },
  30694. "dgfactoryitemtypeid": {
  30695. "description": "要素选择项ID (1-仓库 2-品牌)",
  30696. "type": "integer"
  30697. },
  30698. "dgfactoryitemvalue": {
  30699. "description": "要素项值",
  30700. "type": "string"
  30701. },
  30702. "itemtypename": {
  30703. "description": "要素项名称",
  30704. "type": "string"
  30705. },
  30706. "optioncompare": {
  30707. "description": "选择比较串",
  30708. "type": "string"
  30709. },
  30710. "warehouseid": {
  30711. "description": "仓库id",
  30712. "type": "integer"
  30713. },
  30714. "wrfactortypeid": {
  30715. "description": "仓单要素ID",
  30716. "type": "string"
  30717. },
  30718. "wrfactortypename": {
  30719. "description": "要素名称",
  30720. "type": "string"
  30721. },
  30722. "wrfactortypename2": {
  30723. "description": "要素名称(不含仓库)",
  30724. "type": "string"
  30725. },
  30726. "wrstandardcode": {
  30727. "description": "品类代码",
  30728. "type": "string"
  30729. },
  30730. "wrstandardid": {
  30731. "description": "品类id",
  30732. "type": "integer"
  30733. },
  30734. "wrstandardname": {
  30735. "description": "品类名称",
  30736. "type": "string"
  30737. }
  30738. }
  30739. },
  30740. "models.WrFilterItem": {
  30741. "type": "object",
  30742. "properties": {
  30743. "itemcode": {
  30744. "description": "代码",
  30745. "type": "string"
  30746. },
  30747. "itemid": {
  30748. "description": "项id",
  30749. "type": "integer"
  30750. },
  30751. "itemname": {
  30752. "description": "名称",
  30753. "type": "string"
  30754. },
  30755. "itemtype": {
  30756. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  30757. "type": "integer"
  30758. }
  30759. }
  30760. },
  30761. "models.WrFinanceBuyApply": {
  30762. "type": "object",
  30763. "properties": {
  30764. "applydate": {
  30765. "description": "申请时间",
  30766. "type": "string"
  30767. },
  30768. "applystatus": {
  30769. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  30770. "type": "integer"
  30771. },
  30772. "applyuserid": {
  30773. "description": "申请人",
  30774. "type": "integer"
  30775. },
  30776. "auditdate": {
  30777. "description": "审核时间",
  30778. "type": "string"
  30779. },
  30780. "auditremark": {
  30781. "description": "审核备注",
  30782. "type": "string"
  30783. },
  30784. "audituserid": {
  30785. "description": "审核人",
  30786. "type": "integer"
  30787. },
  30788. "buyaccountid": {
  30789. "description": "买方资金账号",
  30790. "type": "integer"
  30791. },
  30792. "buyorsell": {
  30793. "description": "买卖 - 0:买 1:卖",
  30794. "type": "integer"
  30795. },
  30796. "buyuserid": {
  30797. "description": "买方用户ID",
  30798. "type": "integer"
  30799. },
  30800. "buyusername": {
  30801. "description": "买方名称",
  30802. "type": "string"
  30803. },
  30804. "buywrtradeorderid": {
  30805. "description": "融资方买委托单ID",
  30806. "type": "string"
  30807. },
  30808. "deliverygoodscode": {
  30809. "description": "品种代码",
  30810. "type": "string"
  30811. },
  30812. "deliverygoodsid": {
  30813. "description": "品种ID",
  30814. "type": "integer"
  30815. },
  30816. "deliverygoodsname": {
  30817. "description": "品种名称",
  30818. "type": "string"
  30819. },
  30820. "deliverymonth": {
  30821. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  30822. "type": "string"
  30823. },
  30824. "enumdicname": {
  30825. "description": "单位名称",
  30826. "type": "string"
  30827. },
  30828. "financeaccountid": {
  30829. "description": "融资方资金帐户ID",
  30830. "type": "integer"
  30831. },
  30832. "financeapplyid": {
  30833. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30834. "type": "string"
  30835. },
  30836. "financeareauserid": {
  30837. "description": "融资方用户ID",
  30838. "type": "string"
  30839. },
  30840. "financename": {
  30841. "description": "融出方名称",
  30842. "type": "string"
  30843. },
  30844. "financetype": {
  30845. "description": "融资类型 1-融资回购",
  30846. "type": "integer"
  30847. },
  30848. "financingdays": {
  30849. "description": "天数(天)",
  30850. "type": "integer"
  30851. },
  30852. "freezebuymargin": {
  30853. "description": "冻结融资保证金(买方)",
  30854. "type": "number"
  30855. },
  30856. "handleremark": {
  30857. "description": "处理备注",
  30858. "type": "string"
  30859. },
  30860. "handlestatus": {
  30861. "description": "处理状态",
  30862. "type": "integer"
  30863. },
  30864. "interestminlen": {
  30865. "description": "最小起息天数",
  30866. "type": "integer"
  30867. },
  30868. "interestrate": {
  30869. "description": "利率",
  30870. "type": "number"
  30871. },
  30872. "interestratemode": {
  30873. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  30874. "type": "integer"
  30875. },
  30876. "interestsettlemode": {
  30877. "description": "结息方式 - 1:按日结息 3:按月结息",
  30878. "type": "integer"
  30879. },
  30880. "interestsettlevalue": {
  30881. "description": "结息方式值",
  30882. "type": "integer"
  30883. },
  30884. "isautoloan": {
  30885. "description": "是否自动放款 - 0:手动 1:自动",
  30886. "type": "integer"
  30887. },
  30888. "marginratio": {
  30889. "description": "保证金比率质押率 - [仓单质押]",
  30890. "type": "number"
  30891. },
  30892. "marketid": {
  30893. "description": "市场ID",
  30894. "type": "integer"
  30895. },
  30896. "minivalue": {
  30897. "description": "现货商品最小变动值",
  30898. "type": "integer"
  30899. },
  30900. "optioncompare": {
  30901. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30902. "type": "string"
  30903. },
  30904. "orderqty": {
  30905. "description": "委托数量(商品数量)",
  30906. "type": "number"
  30907. },
  30908. "productdetailid": {
  30909. "description": "产品组合ID",
  30910. "type": "integer"
  30911. },
  30912. "productid": {
  30913. "description": "金融产品ID",
  30914. "type": "integer"
  30915. },
  30916. "productname": {
  30917. "description": "产品名称",
  30918. "type": "string"
  30919. },
  30920. "remark": {
  30921. "description": "备注",
  30922. "type": "string"
  30923. },
  30924. "scfcontractid": {
  30925. "description": "仓单回购合同ID",
  30926. "type": "string"
  30927. },
  30928. "sellaccountid": {
  30929. "description": "卖方资金账号",
  30930. "type": "integer"
  30931. },
  30932. "selluserid": {
  30933. "description": "卖方用户ID",
  30934. "type": "integer"
  30935. },
  30936. "sellwrtradeorderid": {
  30937. "description": "卖方委托单ID",
  30938. "type": "string"
  30939. },
  30940. "tradeamount": {
  30941. "description": "成交金额(借款金额)",
  30942. "type": "number"
  30943. },
  30944. "tradedate": {
  30945. "description": "交易日(yyyyMMdd)",
  30946. "type": "string"
  30947. },
  30948. "tradeprice": {
  30949. "description": "成交价格",
  30950. "type": "number"
  30951. },
  30952. "warehouseid": {
  30953. "description": "仓库ID",
  30954. "type": "integer"
  30955. },
  30956. "warehousename": {
  30957. "description": "仓库名称",
  30958. "type": "string"
  30959. },
  30960. "wrfactortypeid": {
  30961. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30962. "type": "string"
  30963. },
  30964. "wrfactortypename": {
  30965. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30966. "type": "string"
  30967. },
  30968. "wrpricetype": {
  30969. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  30970. "type": "integer"
  30971. },
  30972. "wrstandardcode": {
  30973. "description": "现货商品代码",
  30974. "type": "string"
  30975. },
  30976. "wrstandardid": {
  30977. "description": "现货商品ID",
  30978. "type": "integer"
  30979. },
  30980. "wrstandardname": {
  30981. "description": "商品名称",
  30982. "type": "string"
  30983. },
  30984. "wrtypename": {
  30985. "description": "商品",
  30986. "type": "string"
  30987. }
  30988. }
  30989. },
  30990. "models.WrFtDeliveryGoods": {
  30991. "type": "object",
  30992. "properties": {
  30993. "deliverygoodscode": {
  30994. "description": "品种代码",
  30995. "type": "string"
  30996. },
  30997. "deliverygoodsid": {
  30998. "description": "品种ID",
  30999. "type": "integer"
  31000. },
  31001. "deliverygoodsname": {
  31002. "description": "品种名称",
  31003. "type": "string"
  31004. },
  31005. "wdlst": {
  31006. "description": "商品列表",
  31007. "type": "array",
  31008. "items": {
  31009. "$ref": "#/definitions/models.WrFtWrstandard"
  31010. }
  31011. }
  31012. }
  31013. },
  31014. "models.WrFtWrstandard": {
  31015. "type": "object",
  31016. "properties": {
  31017. "enumdicname": {
  31018. "description": "单位名称",
  31019. "type": "string"
  31020. },
  31021. "minivalue": {
  31022. "description": "最小变动值",
  31023. "type": "integer"
  31024. },
  31025. "wrstandardcode": {
  31026. "description": "现货商品代码",
  31027. "type": "string"
  31028. },
  31029. "wrstandardid": {
  31030. "description": "现货商品ID",
  31031. "type": "integer"
  31032. },
  31033. "wrstandardname": {
  31034. "description": "商品名称",
  31035. "type": "string"
  31036. }
  31037. }
  31038. },
  31039. "models.WrGoodsInfo": {
  31040. "type": "object",
  31041. "properties": {
  31042. "haswr": {
  31043. "description": "0:仓单预售 1:仓单贸易",
  31044. "type": "integer"
  31045. },
  31046. "lstitem": {
  31047. "description": "商品信息项",
  31048. "type": "array",
  31049. "items": {
  31050. "$ref": "#/definitions/models.WrTypeItem"
  31051. }
  31052. },
  31053. "lststep": {
  31054. "description": "履约规则",
  31055. "type": "array",
  31056. "items": {
  31057. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31058. }
  31059. },
  31060. "marketid": {
  31061. "description": "市场id",
  31062. "type": "integer"
  31063. }
  31064. }
  31065. },
  31066. "models.WrGoodsPerformanceStep": {
  31067. "type": "object",
  31068. "properties": {
  31069. "autoid": {
  31070. "description": "AutoID",
  31071. "type": "integer"
  31072. },
  31073. "isauto": {
  31074. "description": "是否自动 - 0:不自动 1:自动",
  31075. "type": "integer"
  31076. },
  31077. "remark": {
  31078. "description": "备注",
  31079. "type": "string"
  31080. },
  31081. "stepdate": {
  31082. "description": "天数信息(T+N)",
  31083. "type": "string"
  31084. },
  31085. "stepdays": {
  31086. "description": "距离上一步天数",
  31087. "type": "integer"
  31088. },
  31089. "stepindex": {
  31090. "description": "步骤序号",
  31091. "type": "integer"
  31092. },
  31093. "stepinfo": {
  31094. "description": "步骤信息(步骤名称+步骤值)",
  31095. "type": "string"
  31096. },
  31097. "steptypeid": {
  31098. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31099. "type": "integer"
  31100. },
  31101. "steptypename": {
  31102. "description": "步骤名称",
  31103. "type": "string"
  31104. },
  31105. "stepvalue": {
  31106. "description": "步骤值",
  31107. "type": "number"
  31108. },
  31109. "templateid": {
  31110. "description": "履约计划模板ID",
  31111. "type": "integer"
  31112. }
  31113. }
  31114. },
  31115. "models.WrHoldLB": {
  31116. "type": "object",
  31117. "properties": {
  31118. "accountid": {
  31119. "description": "持有人帐户ID",
  31120. "type": "integer"
  31121. },
  31122. "createtime": {
  31123. "description": "创建时间(过户时间)",
  31124. "type": "string"
  31125. },
  31126. "deliverygoodscode": {
  31127. "description": "品种代码",
  31128. "type": "string"
  31129. },
  31130. "deliverygoodsid": {
  31131. "description": "品种ID",
  31132. "type": "integer"
  31133. },
  31134. "deliverygoodsname": {
  31135. "description": "品种名称",
  31136. "type": "string"
  31137. },
  31138. "enableqty": {
  31139. "description": "可用数量",
  31140. "type": "number"
  31141. },
  31142. "enumdicname": {
  31143. "description": "单位名称",
  31144. "type": "string"
  31145. },
  31146. "freezerqty": {
  31147. "description": "冻结数量",
  31148. "type": "number"
  31149. },
  31150. "ladingbillid": {
  31151. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  31152. "type": "string"
  31153. },
  31154. "minivalue": {
  31155. "description": "现货商品最小变动值",
  31156. "type": "integer"
  31157. },
  31158. "optioncompare": {
  31159. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31160. "type": "string"
  31161. },
  31162. "parentsubnum": {
  31163. "description": "拆分父子单号",
  31164. "type": "integer"
  31165. },
  31166. "pledgeqty": {
  31167. "description": "质押数量",
  31168. "type": "number"
  31169. },
  31170. "qty": {
  31171. "description": "数量",
  31172. "type": "number"
  31173. },
  31174. "subnum": {
  31175. "description": "提单子单号",
  31176. "type": "integer"
  31177. },
  31178. "tradedate": {
  31179. "description": "交易日(yyyyMMdd)",
  31180. "type": "string"
  31181. },
  31182. "userid": {
  31183. "description": "持有人ID",
  31184. "type": "integer"
  31185. },
  31186. "warehouseid": {
  31187. "description": "仓库ID",
  31188. "type": "integer"
  31189. },
  31190. "warehousename": {
  31191. "description": "仓库名称",
  31192. "type": "string"
  31193. },
  31194. "wrfactortypeid": {
  31195. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31196. "type": "string"
  31197. },
  31198. "wrfactortypename": {
  31199. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31200. "type": "string"
  31201. },
  31202. "wrholdeno": {
  31203. "description": "仓单编号",
  31204. "type": "string"
  31205. },
  31206. "wrid": {
  31207. "description": "仓单变更ID",
  31208. "type": "string"
  31209. },
  31210. "wrstandardcode": {
  31211. "description": "现货商品代码",
  31212. "type": "string"
  31213. },
  31214. "wrstandardid": {
  31215. "description": "现货商品ID",
  31216. "type": "integer"
  31217. },
  31218. "wrstandardname": {
  31219. "description": "商品名称",
  31220. "type": "string"
  31221. },
  31222. "wrtypename": {
  31223. "description": "商品",
  31224. "type": "string"
  31225. }
  31226. }
  31227. },
  31228. "models.WrMarketTradeConfig": {
  31229. "type": "object",
  31230. "properties": {
  31231. "basisdownratio": {
  31232. "description": "浮动价基差下限比例(仓单贸易)",
  31233. "type": "number"
  31234. },
  31235. "basisupratio": {
  31236. "description": "浮动价基差上限比例(仓单贸易)",
  31237. "type": "number"
  31238. },
  31239. "buychargealgorithm": {
  31240. "description": "买方手续费收取方式 1:比率 2:固定",
  31241. "type": "integer"
  31242. },
  31243. "buychargealgorithm2": {
  31244. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31245. "type": "integer"
  31246. },
  31247. "buychargealgorithmvalue": {
  31248. "description": "买方手续费设置值(交易所部分)",
  31249. "type": "number"
  31250. },
  31251. "buychargealgorithmvalue2": {
  31252. "description": "买方手续费设置值(会员部分)",
  31253. "type": "number"
  31254. },
  31255. "buychargealgorithmvalue3": {
  31256. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  31257. "type": "number"
  31258. },
  31259. "buychargealgorithmvalue4": {
  31260. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  31261. "type": "number"
  31262. },
  31263. "buyfirstmarginalgorithm": {
  31264. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  31265. "type": "integer"
  31266. },
  31267. "buyfirstmarginvalue": {
  31268. "description": "买方出价保证金设置值 - [竞拍]",
  31269. "type": "number"
  31270. },
  31271. "buymarginalgorithm": {
  31272. "description": "买方保证金方式 - 1:比率 2:固定",
  31273. "type": "integer"
  31274. },
  31275. "buymarginvalue": {
  31276. "description": "买方保证金设置值",
  31277. "type": "number"
  31278. },
  31279. "buyreleaseratio": {
  31280. "description": "买方释放比率[2:分步履约]",
  31281. "type": "number"
  31282. },
  31283. "executemode": {
  31284. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  31285. "type": "integer"
  31286. },
  31287. "executeside": {
  31288. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  31289. "type": "integer"
  31290. },
  31291. "failedchargealgorithm": {
  31292. "description": "流拍手续费收取方式 1:比率 2:固定",
  31293. "type": "integer"
  31294. },
  31295. "failedchargevalue": {
  31296. "description": "流拍手续费设置值",
  31297. "type": "number"
  31298. },
  31299. "failedchargevalue2": {
  31300. "description": "流拍卖方手续费设置值",
  31301. "type": "number"
  31302. },
  31303. "holddays": {
  31304. "description": "合同期限[2:分步履约]",
  31305. "type": "integer"
  31306. },
  31307. "marketid": {
  31308. "description": "市场ID-仓单贸易、竞拍、预售",
  31309. "type": "integer"
  31310. },
  31311. "minqty": {
  31312. "description": "最小执行量[2:分步履约]",
  31313. "type": "number"
  31314. },
  31315. "modifierid": {
  31316. "description": "修改人",
  31317. "type": "integer"
  31318. },
  31319. "performancetempid": {
  31320. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  31321. "type": "integer"
  31322. },
  31323. "performancetempid2": {
  31324. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  31325. "type": "integer"
  31326. },
  31327. "performanceway": {
  31328. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  31329. "type": "integer"
  31330. },
  31331. "sellchargealgorithm": {
  31332. "description": "卖方手续费收取方式 1:比率 2:固定",
  31333. "type": "integer"
  31334. },
  31335. "sellchargealgorithm2": {
  31336. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31337. "type": "integer"
  31338. },
  31339. "sellchargealgorithmvalue": {
  31340. "description": "卖方手续费设置值(交易所部分)",
  31341. "type": "number"
  31342. },
  31343. "sellchargealgorithmvalue2": {
  31344. "description": "卖方手续费设置值(会员部分)",
  31345. "type": "number"
  31346. },
  31347. "sellchargealgorithmvalue3": {
  31348. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  31349. "type": "number"
  31350. },
  31351. "sellchargealgorithmvalue4": {
  31352. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  31353. "type": "number"
  31354. },
  31355. "sellmarginalgorithm": {
  31356. "description": "卖方保证金方式 - 1:比率 2:固定",
  31357. "type": "integer"
  31358. },
  31359. "sellmarginvalue": {
  31360. "description": "卖方保证金设置值",
  31361. "type": "number"
  31362. },
  31363. "sellmarginvalue2": {
  31364. "description": "卖方保证金设置值(无仓单)",
  31365. "type": "number"
  31366. },
  31367. "sellreleaseratio": {
  31368. "description": "卖方释放比率[2:分步履约]",
  31369. "type": "number"
  31370. },
  31371. "updatetime": {
  31372. "description": "更新时间",
  31373. "type": "string"
  31374. }
  31375. }
  31376. },
  31377. "models.WrOrderDetail": {
  31378. "type": "object",
  31379. "properties": {
  31380. "buyorsell": {
  31381. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31382. "type": "integer"
  31383. },
  31384. "cancelqty": {
  31385. "description": "撤销数量",
  31386. "type": "number"
  31387. },
  31388. "deliverygoodscode": {
  31389. "description": "品种代码",
  31390. "type": "string"
  31391. },
  31392. "deliverygoodsid": {
  31393. "description": "品种ID",
  31394. "type": "integer"
  31395. },
  31396. "deliverygoodsname": {
  31397. "description": "品种名称",
  31398. "type": "string"
  31399. },
  31400. "deliverymonth": {
  31401. "description": "交收月",
  31402. "type": "string"
  31403. },
  31404. "enumdicname": {
  31405. "description": "单位名称",
  31406. "type": "string"
  31407. },
  31408. "fixedprice": {
  31409. "description": "固定价格 - [挂牌]",
  31410. "type": "number"
  31411. },
  31412. "futupricemove": {
  31413. "description": "期货升贴水",
  31414. "type": "number"
  31415. },
  31416. "futushow": {
  31417. "description": "期货合约/升贴水",
  31418. "type": "string"
  31419. },
  31420. "goodscode": {
  31421. "description": "期货合约",
  31422. "type": "string"
  31423. },
  31424. "goodsid": {
  31425. "description": "期货商品id",
  31426. "type": "integer"
  31427. },
  31428. "goodsname": {
  31429. "description": "商品名称",
  31430. "type": "string"
  31431. },
  31432. "haswr": {
  31433. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31434. "type": "integer"
  31435. },
  31436. "marketid": {
  31437. "description": "市场ID",
  31438. "type": "integer"
  31439. },
  31440. "minivalue": {
  31441. "description": "现货商品最小变动值",
  31442. "type": "integer"
  31443. },
  31444. "optioncompare": {
  31445. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31446. "type": "string"
  31447. },
  31448. "orderqty": {
  31449. "description": "委托数量",
  31450. "type": "number"
  31451. },
  31452. "ordertime": {
  31453. "description": "委托时间(挂牌时间)",
  31454. "type": "string"
  31455. },
  31456. "pricemove": {
  31457. "description": "升贴水(浮动价时填写) - [挂牌]",
  31458. "type": "number"
  31459. },
  31460. "tradedate": {
  31461. "description": "交易日(yyyyMMdd)",
  31462. "type": "string"
  31463. },
  31464. "tradeprice": {
  31465. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  31466. "type": "number"
  31467. },
  31468. "tradeqty": {
  31469. "description": "成交数量",
  31470. "type": "number"
  31471. },
  31472. "userid": {
  31473. "description": "用户ID",
  31474. "type": "integer"
  31475. },
  31476. "warehouseid": {
  31477. "description": "仓库ID",
  31478. "type": "integer"
  31479. },
  31480. "warehousename": {
  31481. "description": "仓库名称",
  31482. "type": "string"
  31483. },
  31484. "wrfactortypeid": {
  31485. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31486. "type": "string"
  31487. },
  31488. "wrfactortypename": {
  31489. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31490. "type": "string"
  31491. },
  31492. "wrpricetype": {
  31493. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31494. "type": "integer"
  31495. },
  31496. "wrstandardcode": {
  31497. "description": "现货商品代码",
  31498. "type": "string"
  31499. },
  31500. "wrstandardid": {
  31501. "description": "现货商品ID",
  31502. "type": "integer"
  31503. },
  31504. "wrstandardname": {
  31505. "description": "商品名称",
  31506. "type": "string"
  31507. },
  31508. "wrtradeorderid": {
  31509. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31510. "type": "string"
  31511. },
  31512. "wrtradeorderstatus": {
  31513. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  31514. "type": "integer"
  31515. },
  31516. "wrtradetype": {
  31517. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31518. "type": "integer"
  31519. },
  31520. "wrtypename": {
  31521. "description": "商品",
  31522. "type": "string"
  31523. }
  31524. }
  31525. },
  31526. "models.WrOrderQuote": {
  31527. "type": "object",
  31528. "properties": {
  31529. "buyprice": {
  31530. "description": "买价",
  31531. "type": "number"
  31532. },
  31533. "buypricemove": {
  31534. "description": "买升贴水(基差)",
  31535. "type": "number"
  31536. },
  31537. "buyqty": {
  31538. "description": "买量",
  31539. "type": "number"
  31540. },
  31541. "deliverygoodscode": {
  31542. "description": "品种代码",
  31543. "type": "string"
  31544. },
  31545. "deliverygoodsid": {
  31546. "description": "品种id",
  31547. "type": "integer"
  31548. },
  31549. "deliverygoodsname": {
  31550. "description": "品种名称",
  31551. "type": "string"
  31552. },
  31553. "deliverymonth": {
  31554. "description": "交收月",
  31555. "type": "string"
  31556. },
  31557. "enumdicname": {
  31558. "description": "单位名称",
  31559. "type": "string"
  31560. },
  31561. "goodscode": {
  31562. "description": "商品合约(浮动价列表才有)",
  31563. "type": "string"
  31564. },
  31565. "goodsid": {
  31566. "description": "商品id(浮动价列表才有)",
  31567. "type": "integer"
  31568. },
  31569. "minivalue": {
  31570. "description": "现货商品最小变动值",
  31571. "type": "integer"
  31572. },
  31573. "sellprice": {
  31574. "description": "卖价",
  31575. "type": "number"
  31576. },
  31577. "sellpricemove": {
  31578. "description": "卖升贴水(基差)",
  31579. "type": "number"
  31580. },
  31581. "sellqty": {
  31582. "description": "卖量",
  31583. "type": "number"
  31584. },
  31585. "warehousecode": {
  31586. "description": "仓库代码",
  31587. "type": "string"
  31588. },
  31589. "warehouseid": {
  31590. "description": "仓库id",
  31591. "type": "integer"
  31592. },
  31593. "warehousename": {
  31594. "description": "仓库名称",
  31595. "type": "string"
  31596. },
  31597. "wrfactortypeid": {
  31598. "description": "仓单要素id",
  31599. "type": "string"
  31600. },
  31601. "wrfactortypename": {
  31602. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31603. "type": "string"
  31604. },
  31605. "wrgoodsname": {
  31606. "description": "商品(商品名称+仓库要素名称 拼接)",
  31607. "type": "string"
  31608. },
  31609. "wrstandardcode": {
  31610. "description": "商品代码",
  31611. "type": "string"
  31612. },
  31613. "wrstandardid": {
  31614. "description": "商品id",
  31615. "type": "integer"
  31616. },
  31617. "wrstandardname": {
  31618. "description": "商品名称",
  31619. "type": "string"
  31620. }
  31621. }
  31622. },
  31623. "models.WrOrderQuoteDetail": {
  31624. "type": "object",
  31625. "properties": {
  31626. "buyorsell": {
  31627. "description": "买卖 - 0:买 1:卖",
  31628. "type": "integer"
  31629. },
  31630. "delistminqty": {
  31631. "description": "起摘数量",
  31632. "type": "number"
  31633. },
  31634. "deliverymonth": {
  31635. "description": "交收月",
  31636. "type": "string"
  31637. },
  31638. "enumdicname": {
  31639. "description": "单位名称",
  31640. "type": "string"
  31641. },
  31642. "fixedprice": {
  31643. "description": "买(卖)价",
  31644. "type": "number"
  31645. },
  31646. "minivalue": {
  31647. "description": "现货商品最小变动值",
  31648. "type": "integer"
  31649. },
  31650. "orderqty": {
  31651. "description": "买(卖)量(=委托量-成交量)",
  31652. "type": "number"
  31653. },
  31654. "ordertime": {
  31655. "description": "委托时间",
  31656. "type": "string"
  31657. },
  31658. "pricemove": {
  31659. "description": "买(卖)升贴水- 基差",
  31660. "type": "number"
  31661. },
  31662. "userid": {
  31663. "description": "购买方(销售方)用户ID",
  31664. "type": "integer"
  31665. },
  31666. "username": {
  31667. "description": "购买方(销售方)",
  31668. "type": "string"
  31669. },
  31670. "wrtradeorderid": {
  31671. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31672. "type": "string"
  31673. }
  31674. }
  31675. },
  31676. "models.WrOutInApply": {
  31677. "type": "object",
  31678. "properties": {
  31679. "applyid": {
  31680. "description": "申请单id",
  31681. "type": "string"
  31682. },
  31683. "applystatus": {
  31684. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  31685. "type": "integer"
  31686. },
  31687. "applytime": {
  31688. "description": "申请时间",
  31689. "type": "string"
  31690. },
  31691. "applytype": {
  31692. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  31693. "type": "integer"
  31694. },
  31695. "deliverygoodscode": {
  31696. "description": "品种代码",
  31697. "type": "string"
  31698. },
  31699. "deliverygoodsid": {
  31700. "description": "品种ID",
  31701. "type": "integer"
  31702. },
  31703. "deliverygoodsname": {
  31704. "description": "品种名称",
  31705. "type": "string"
  31706. },
  31707. "enumdicname": {
  31708. "description": "单位名称",
  31709. "type": "string"
  31710. },
  31711. "expresscompany": {
  31712. "description": "物流公司",
  31713. "type": "string"
  31714. },
  31715. "expressnum": {
  31716. "description": "物流单号",
  31717. "type": "string"
  31718. },
  31719. "minivalue": {
  31720. "description": "现货商品最小变动值",
  31721. "type": "integer"
  31722. },
  31723. "optioncompare": {
  31724. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31725. "type": "string"
  31726. },
  31727. "qty": {
  31728. "description": "数量",
  31729. "type": "integer"
  31730. },
  31731. "userid": {
  31732. "description": "用户id",
  31733. "type": "integer"
  31734. },
  31735. "warehouseid": {
  31736. "description": "仓库ID",
  31737. "type": "integer"
  31738. },
  31739. "warehousename": {
  31740. "description": "仓库名称",
  31741. "type": "string"
  31742. },
  31743. "wrfactortypeid": {
  31744. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31745. "type": "string"
  31746. },
  31747. "wrfactortypename": {
  31748. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31749. "type": "string"
  31750. },
  31751. "wrstandardcode": {
  31752. "description": "现货商品代码",
  31753. "type": "string"
  31754. },
  31755. "wrstandardid": {
  31756. "description": "现货商品ID",
  31757. "type": "integer"
  31758. },
  31759. "wrstandardname": {
  31760. "description": "商品名称",
  31761. "type": "string"
  31762. },
  31763. "wrtypename": {
  31764. "description": "商品",
  31765. "type": "string"
  31766. }
  31767. }
  31768. },
  31769. "models.WrPerformancePlan": {
  31770. "type": "object",
  31771. "required": [
  31772. "userid"
  31773. ],
  31774. "properties": {
  31775. "activatemonth": {
  31776. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  31777. "type": "string"
  31778. },
  31779. "amount": {
  31780. "description": "履约金额(总金额)",
  31781. "type": "number"
  31782. },
  31783. "buyaccountid": {
  31784. "description": "买方账号",
  31785. "type": "integer"
  31786. },
  31787. "buyerfreezeamount": {
  31788. "description": "履约冻结(买履约)",
  31789. "type": "number"
  31790. },
  31791. "buyerfreezeamountremain": {
  31792. "description": "履约冻结剩余(买履约)",
  31793. "type": "number"
  31794. },
  31795. "buyorsell": {
  31796. "description": "买卖方向 0-买 1-卖",
  31797. "type": "integer"
  31798. },
  31799. "buypaidamount": {
  31800. "description": "买方已冻/已扣金额 (已付金额)",
  31801. "type": "number"
  31802. },
  31803. "buyusername": {
  31804. "description": "买方名字",
  31805. "type": "string"
  31806. },
  31807. "contractid": {
  31808. "description": "合同ID",
  31809. "type": "integer"
  31810. },
  31811. "createtime": {
  31812. "description": "创建时间",
  31813. "type": "string"
  31814. },
  31815. "creatorid": {
  31816. "description": "创建人",
  31817. "type": "integer"
  31818. },
  31819. "curstepdeadline": {
  31820. "description": "当前步骤到期时间",
  31821. "type": "string"
  31822. },
  31823. "curstepid": {
  31824. "description": "当前步骤ID",
  31825. "type": "string"
  31826. },
  31827. "curstepname": {
  31828. "description": "当前步骤名称",
  31829. "type": "string"
  31830. },
  31831. "deliverygoodscode": {
  31832. "description": "品种代码",
  31833. "type": "string"
  31834. },
  31835. "deliverygoodsid": {
  31836. "description": "品种ID",
  31837. "type": "integer"
  31838. },
  31839. "deliverygoodsname": {
  31840. "description": "品种名称",
  31841. "type": "string"
  31842. },
  31843. "enumdicname": {
  31844. "description": "单位名称",
  31845. "type": "string"
  31846. },
  31847. "expressfee": {
  31848. "description": "运费",
  31849. "type": "number"
  31850. },
  31851. "expressfeeconfirmed": {
  31852. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  31853. "type": "integer"
  31854. },
  31855. "hasovershort": {
  31856. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  31857. "type": "integer"
  31858. },
  31859. "haswr": {
  31860. "description": "类型 0-仓单预售 1-仓单贸易",
  31861. "type": "integer"
  31862. },
  31863. "marketid": {
  31864. "description": "市场ID",
  31865. "type": "integer"
  31866. },
  31867. "middleaccountid": {
  31868. "description": "中间商资金账号ID",
  31869. "type": "integer"
  31870. },
  31871. "middleuserid": {
  31872. "description": "中间商用户ID",
  31873. "type": "integer"
  31874. },
  31875. "minivalue": {
  31876. "description": "现货商品最小变动值",
  31877. "type": "integer"
  31878. },
  31879. "optioncompare": {
  31880. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31881. "type": "string"
  31882. },
  31883. "overshortamount": {
  31884. "description": "溢短金额",
  31885. "type": "number"
  31886. },
  31887. "overshortqty": {
  31888. "description": "溢短数量",
  31889. "type": "number"
  31890. },
  31891. "paymenttype": {
  31892. "description": "付款方式 - 1:冻结 2:扣款",
  31893. "type": "integer"
  31894. },
  31895. "performanceplanid": {
  31896. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  31897. "type": "string"
  31898. },
  31899. "performancestatus": {
  31900. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  31901. "type": "integer"
  31902. },
  31903. "performancetype": {
  31904. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  31905. "type": "integer"
  31906. },
  31907. "qty": {
  31908. "description": "履约数量",
  31909. "type": "number"
  31910. },
  31911. "relatedorderid": {
  31912. "description": "关联单号(履约类型的关联单号)",
  31913. "type": "string"
  31914. },
  31915. "remark": {
  31916. "description": "备注",
  31917. "type": "string"
  31918. },
  31919. "sellaccountid": {
  31920. "description": "卖方账号",
  31921. "type": "integer"
  31922. },
  31923. "sellerfreezeamount": {
  31924. "description": "履约冻结(卖履约)",
  31925. "type": "number"
  31926. },
  31927. "sellerfreezeamountremain": {
  31928. "description": "履约冻结剩余(卖履约)",
  31929. "type": "number"
  31930. },
  31931. "sellreceivedamount": {
  31932. "description": "卖方已收金额",
  31933. "type": "number"
  31934. },
  31935. "sellusername": {
  31936. "description": "卖方名字",
  31937. "type": "string"
  31938. },
  31939. "shipremark": {
  31940. "description": "发货备注[物流单号]",
  31941. "type": "string"
  31942. },
  31943. "starttime": {
  31944. "description": "开始时间",
  31945. "type": "string"
  31946. },
  31947. "steptypeid": {
  31948. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31949. "type": "integer"
  31950. },
  31951. "unpaidamount": {
  31952. "description": "剩余款(待支付金额)",
  31953. "type": "number"
  31954. },
  31955. "userid": {
  31956. "description": "用户id",
  31957. "type": "integer"
  31958. },
  31959. "warehouseid": {
  31960. "description": "仓库ID",
  31961. "type": "integer"
  31962. },
  31963. "warehousename": {
  31964. "description": "仓库名称",
  31965. "type": "string"
  31966. },
  31967. "wrfactortypeid": {
  31968. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31969. "type": "string"
  31970. },
  31971. "wrfactortypename": {
  31972. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31973. "type": "string"
  31974. },
  31975. "wrstandardcode": {
  31976. "description": "现货商品代码",
  31977. "type": "string"
  31978. },
  31979. "wrstandardid": {
  31980. "description": "现货商品ID",
  31981. "type": "integer"
  31982. },
  31983. "wrstandardname": {
  31984. "description": "商品名称",
  31985. "type": "string"
  31986. },
  31987. "wrtransferuserid": {
  31988. "description": "仓单受让用户",
  31989. "type": "integer"
  31990. },
  31991. "wrtypename": {
  31992. "description": "商品",
  31993. "type": "string"
  31994. }
  31995. }
  31996. },
  31997. "models.WrPerformancePlanStep": {
  31998. "type": "object",
  31999. "properties": {
  32000. "delaydays": {
  32001. "description": "延期申请天数",
  32002. "type": "integer"
  32003. },
  32004. "deliverygoodscode": {
  32005. "description": "品种代码",
  32006. "type": "string"
  32007. },
  32008. "deliverygoodsid": {
  32009. "description": "品种ID",
  32010. "type": "integer"
  32011. },
  32012. "deliverygoodsname": {
  32013. "description": "品种名称",
  32014. "type": "string"
  32015. },
  32016. "endtime": {
  32017. "description": "结束日期",
  32018. "type": "string"
  32019. },
  32020. "enumdicname": {
  32021. "description": "单位名称",
  32022. "type": "string"
  32023. },
  32024. "executeside": {
  32025. "description": "步骤执行方 - 1:买方 2:卖方",
  32026. "type": "integer"
  32027. },
  32028. "handlestatus": {
  32029. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  32030. "type": "integer"
  32031. },
  32032. "isauto": {
  32033. "description": "是否自动 - 0:不自动 1:自动",
  32034. "type": "integer"
  32035. },
  32036. "islastreceivestep": {
  32037. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  32038. "type": "integer"
  32039. },
  32040. "minivalue": {
  32041. "description": "现货商品最小变动值",
  32042. "type": "integer"
  32043. },
  32044. "optioncompare": {
  32045. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32046. "type": "string"
  32047. },
  32048. "overdays": {
  32049. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  32050. "type": "integer"
  32051. },
  32052. "performancestepid": {
  32053. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  32054. "type": "string"
  32055. },
  32056. "planid": {
  32057. "description": "所属履约计划ID",
  32058. "type": "string"
  32059. },
  32060. "realamount": {
  32061. "description": "实际完成金额",
  32062. "type": "number"
  32063. },
  32064. "relatedorderid": {
  32065. "description": "关联单号",
  32066. "type": "string"
  32067. },
  32068. "remaindays": {
  32069. "description": "剩余天数",
  32070. "type": "integer"
  32071. },
  32072. "remark": {
  32073. "description": "错误备注",
  32074. "type": "string"
  32075. },
  32076. "starttime": {
  32077. "description": "开始日期",
  32078. "type": "string"
  32079. },
  32080. "stepamount": {
  32081. "description": "步骤金额",
  32082. "type": "number"
  32083. },
  32084. "stepdays": {
  32085. "description": "距离上一步天数(分钟)",
  32086. "type": "integer"
  32087. },
  32088. "stepindex": {
  32089. "description": "步骤序号",
  32090. "type": "integer"
  32091. },
  32092. "steplanchtype": {
  32093. "description": "步骤启动类型 - 1:系统自动 2:手动",
  32094. "type": "integer"
  32095. },
  32096. "stepremark": {
  32097. "description": "步骤备注",
  32098. "type": "string"
  32099. },
  32100. "stepstatus": {
  32101. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  32102. "type": "integer"
  32103. },
  32104. "steptypeid": {
  32105. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32106. "type": "integer"
  32107. },
  32108. "steptypename": {
  32109. "description": "步骤名称",
  32110. "type": "string"
  32111. },
  32112. "stepvalue": {
  32113. "description": "步骤值",
  32114. "type": "number"
  32115. },
  32116. "warehouseid": {
  32117. "description": "仓库ID",
  32118. "type": "integer"
  32119. },
  32120. "warehousename": {
  32121. "description": "仓库名称",
  32122. "type": "string"
  32123. },
  32124. "wrfactortypeid": {
  32125. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32126. "type": "string"
  32127. },
  32128. "wrfactortypename": {
  32129. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32130. "type": "string"
  32131. },
  32132. "wrstandardcode": {
  32133. "description": "现货商品代码",
  32134. "type": "string"
  32135. },
  32136. "wrstandardid": {
  32137. "description": "现货商品ID",
  32138. "type": "integer"
  32139. },
  32140. "wrstandardname": {
  32141. "description": "商品名称",
  32142. "type": "string"
  32143. },
  32144. "wrtypename": {
  32145. "description": "商品",
  32146. "type": "string"
  32147. }
  32148. }
  32149. },
  32150. "models.WrPosition": {
  32151. "type": "object",
  32152. "properties": {
  32153. "accountid": {
  32154. "description": "帐户ID",
  32155. "type": "integer"
  32156. },
  32157. "buyexcuteqty": {
  32158. "description": "采购履约中数量",
  32159. "type": "number"
  32160. },
  32161. "creditcurqty": {
  32162. "description": "授信当前数量(预售仓单:预售当前量)",
  32163. "type": "number"
  32164. },
  32165. "creditenableqty": {
  32166. "description": "授信可用数量(预售仓单: 可用数量)",
  32167. "type": "number"
  32168. },
  32169. "creditfreezeqty": {
  32170. "description": "授信冻结数量(预售仓单: 当前数量)",
  32171. "type": "number"
  32172. },
  32173. "credittotalqty": {
  32174. "description": "授信总数量(预售仓单:预售总量)",
  32175. "type": "number"
  32176. },
  32177. "credittradeqty": {
  32178. "description": "授信成交数量(预售仓单:成交总量)",
  32179. "type": "number"
  32180. },
  32181. "deliverygoodscode": {
  32182. "description": "品种代码",
  32183. "type": "string"
  32184. },
  32185. "deliverygoodsid": {
  32186. "description": "品种ID",
  32187. "type": "integer"
  32188. },
  32189. "deliverygoodsname": {
  32190. "description": "品种名称",
  32191. "type": "string"
  32192. },
  32193. "enalbeqty": {
  32194. "description": "可用数量",
  32195. "type": "number"
  32196. },
  32197. "enumdicname": {
  32198. "description": "单位名称",
  32199. "type": "string"
  32200. },
  32201. "freezeqty": {
  32202. "description": "总冻结数量",
  32203. "type": "number"
  32204. },
  32205. "haswr": {
  32206. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32207. "type": "integer"
  32208. },
  32209. "minivalue": {
  32210. "description": "现货商品最小变动值",
  32211. "type": "integer"
  32212. },
  32213. "modifytime": {
  32214. "description": "修改时间(过户时间)",
  32215. "type": "string"
  32216. },
  32217. "optioncompare": {
  32218. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32219. "type": "string"
  32220. },
  32221. "pledgeqty": {
  32222. "description": "质押数量",
  32223. "type": "number"
  32224. },
  32225. "querytype": {
  32226. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  32227. "type": "integer"
  32228. },
  32229. "sellexcuteqty": {
  32230. "description": "销售履约中数量",
  32231. "type": "number"
  32232. },
  32233. "totalqty": {
  32234. "description": "总数量(库存数量)",
  32235. "type": "number"
  32236. },
  32237. "warehouseid": {
  32238. "description": "仓库ID",
  32239. "type": "integer"
  32240. },
  32241. "warehousename": {
  32242. "description": "仓库名称",
  32243. "type": "string"
  32244. },
  32245. "wrfactortypeid": {
  32246. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32247. "type": "string"
  32248. },
  32249. "wrfactortypename": {
  32250. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32251. "type": "string"
  32252. },
  32253. "wrpositionid": {
  32254. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  32255. "type": "string"
  32256. },
  32257. "wrpositionno": {
  32258. "description": "仓单编号",
  32259. "type": "string"
  32260. },
  32261. "wrstandardcode": {
  32262. "description": "现货商品代码",
  32263. "type": "string"
  32264. },
  32265. "wrstandardid": {
  32266. "description": "现货商品ID",
  32267. "type": "integer"
  32268. },
  32269. "wrstandardname": {
  32270. "description": "商品名称",
  32271. "type": "string"
  32272. },
  32273. "wrtypename": {
  32274. "description": "商品",
  32275. "type": "string"
  32276. },
  32277. "wruserid": {
  32278. "description": "持有人ID",
  32279. "type": "integer"
  32280. }
  32281. }
  32282. },
  32283. "models.WrQuoteOrderMyq": {
  32284. "type": "object",
  32285. "properties": {
  32286. "buyorsell": {
  32287. "description": "买卖 - 0:买 1:卖",
  32288. "type": "integer"
  32289. },
  32290. "canbargain": {
  32291. "description": "是否可议价 - 0:不可 1:可",
  32292. "type": "integer"
  32293. },
  32294. "canpart": {
  32295. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  32296. "type": "integer"
  32297. },
  32298. "delistminqty": {
  32299. "description": "起摘数量",
  32300. "type": "number"
  32301. },
  32302. "deliverymonth": {
  32303. "description": "交收月",
  32304. "type": "string"
  32305. },
  32306. "enumdicname": {
  32307. "description": "单位名称",
  32308. "type": "string"
  32309. },
  32310. "fixedprice": {
  32311. "description": "买(卖)价",
  32312. "type": "number"
  32313. },
  32314. "goodscode": {
  32315. "description": "商品合约代码",
  32316. "type": "string"
  32317. },
  32318. "marginflag": {
  32319. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  32320. "type": "integer"
  32321. },
  32322. "marginvalue": {
  32323. "description": "保证金设置值",
  32324. "type": "number"
  32325. },
  32326. "minivalue": {
  32327. "description": "现货商品最小变动值",
  32328. "type": "integer"
  32329. },
  32330. "orderqty": {
  32331. "description": "买(卖)量(=委托量-成交量)",
  32332. "type": "number"
  32333. },
  32334. "ordertime": {
  32335. "description": "委托时间",
  32336. "type": "string"
  32337. },
  32338. "performancetemplateid": {
  32339. "description": "履约模板id",
  32340. "type": "integer"
  32341. },
  32342. "pricemove": {
  32343. "description": "买(卖)升贴水- 基差",
  32344. "type": "number"
  32345. },
  32346. "templatename": {
  32347. "description": "履约模板名称",
  32348. "type": "string"
  32349. },
  32350. "userid": {
  32351. "description": "购买方(销售方)用户ID",
  32352. "type": "integer"
  32353. },
  32354. "username": {
  32355. "description": "购买方(销售方)",
  32356. "type": "string"
  32357. },
  32358. "validtime": {
  32359. "description": "有效期限",
  32360. "type": "string"
  32361. },
  32362. "validtype": {
  32363. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  32364. "type": "integer"
  32365. },
  32366. "warehousename": {
  32367. "description": "仓库名称",
  32368. "type": "string"
  32369. },
  32370. "wrtradeorderid": {
  32371. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32372. "type": "string"
  32373. },
  32374. "wrtypename": {
  32375. "description": "商品",
  32376. "type": "string"
  32377. }
  32378. }
  32379. },
  32380. "models.WrScfContract": {
  32381. "type": "object",
  32382. "properties": {
  32383. "borroweruserid": {
  32384. "description": "借款用户ID",
  32385. "type": "integer"
  32386. },
  32387. "buybackwrpositionqty": {
  32388. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  32389. "type": "number"
  32390. },
  32391. "closeinterest": {
  32392. "description": "已结利息 -\u003e 已结费用",
  32393. "type": "number"
  32394. },
  32395. "currisklevel": {
  32396. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32397. "type": "integer"
  32398. },
  32399. "deadline": {
  32400. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  32401. "type": "string"
  32402. },
  32403. "deliverygoodscode": {
  32404. "description": "品种代码",
  32405. "type": "string"
  32406. },
  32407. "deliverygoodsid": {
  32408. "description": "品种ID",
  32409. "type": "integer"
  32410. },
  32411. "deliverygoodsname": {
  32412. "description": "品种名称",
  32413. "type": "string"
  32414. },
  32415. "enumdicname": {
  32416. "description": "单位名称",
  32417. "type": "string"
  32418. },
  32419. "financingdays": {
  32420. "description": "天数(天)",
  32421. "type": "integer"
  32422. },
  32423. "initmargin": {
  32424. "description": "保证金 - [仓单回购]",
  32425. "type": "number"
  32426. },
  32427. "interestamount": {
  32428. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  32429. "type": "number"
  32430. },
  32431. "interestdebt": {
  32432. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  32433. "type": "number"
  32434. },
  32435. "interestminlen": {
  32436. "description": "最小起息天数",
  32437. "type": "integer"
  32438. },
  32439. "interestrate": {
  32440. "description": "利率",
  32441. "type": "number"
  32442. },
  32443. "interestratemode": {
  32444. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32445. "type": "integer"
  32446. },
  32447. "interestsettlemode": {
  32448. "description": "结息方式 - 1:按日结息 3:按月结息",
  32449. "type": "integer"
  32450. },
  32451. "interestsettlevalue": {
  32452. "description": "结息方式值",
  32453. "type": "integer"
  32454. },
  32455. "isautoloan": {
  32456. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  32457. "type": "integer"
  32458. },
  32459. "lastcloseinterestday": {
  32460. "description": "最近结息日(yyyyMMdd)",
  32461. "type": "string"
  32462. },
  32463. "lenderamount": {
  32464. "description": "贷款金额 -\u003e 借款金额",
  32465. "type": "number"
  32466. },
  32467. "lenderuserid": {
  32468. "description": "贷款方用户ID -\u003e 融出方用户ID",
  32469. "type": "integer"
  32470. },
  32471. "lenderusername": {
  32472. "description": "融出方",
  32473. "type": "string"
  32474. },
  32475. "marginratio": {
  32476. "description": "保证金比率质押率 - [仓单质押]",
  32477. "type": "number"
  32478. },
  32479. "marketid": {
  32480. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  32481. "type": "integer"
  32482. },
  32483. "minivalue": {
  32484. "description": "现货商品最小变动值",
  32485. "type": "integer"
  32486. },
  32487. "optioncompare": {
  32488. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32489. "type": "string"
  32490. },
  32491. "pricemove": {
  32492. "description": "估值升贴水值",
  32493. "type": "number"
  32494. },
  32495. "productdetailid": {
  32496. "description": "产品组合ID",
  32497. "type": "integer"
  32498. },
  32499. "productid": {
  32500. "description": "金融产品ID",
  32501. "type": "integer"
  32502. },
  32503. "productname": {
  32504. "description": "产品名称",
  32505. "type": "string"
  32506. },
  32507. "remainamount": {
  32508. "description": "合同剩余金额 -\u003e 剩余金额",
  32509. "type": "number"
  32510. },
  32511. "remainwrpositionqty": {
  32512. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  32513. "type": "number"
  32514. },
  32515. "remark": {
  32516. "description": "备注",
  32517. "type": "string"
  32518. },
  32519. "scfcontractid": {
  32520. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32521. "type": "string"
  32522. },
  32523. "scfcontractstatus": {
  32524. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32525. "type": "integer"
  32526. },
  32527. "scfcontracttype": {
  32528. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  32529. "type": "integer"
  32530. },
  32531. "startinterestday": {
  32532. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  32533. "type": "string"
  32534. },
  32535. "totalinterest": {
  32536. "description": "已计利息 -\u003e 已计费用",
  32537. "type": "number"
  32538. },
  32539. "unpaidinterest": {
  32540. "description": "未结费用",
  32541. "type": "number"
  32542. },
  32543. "updatetime": {
  32544. "description": "更新时间",
  32545. "type": "string"
  32546. },
  32547. "warehouseid": {
  32548. "description": "仓库ID",
  32549. "type": "integer"
  32550. },
  32551. "warehousename": {
  32552. "description": "仓库名称",
  32553. "type": "string"
  32554. },
  32555. "wrfactortypeid": {
  32556. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32557. "type": "string"
  32558. },
  32559. "wrfactortypename": {
  32560. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32561. "type": "string"
  32562. },
  32563. "wrqty": {
  32564. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  32565. "type": "number"
  32566. },
  32567. "wrstandardcode": {
  32568. "description": "现货商品代码",
  32569. "type": "string"
  32570. },
  32571. "wrstandardid": {
  32572. "description": "现货商品ID",
  32573. "type": "integer"
  32574. },
  32575. "wrstandardname": {
  32576. "description": "商品名称",
  32577. "type": "string"
  32578. },
  32579. "wrtypename": {
  32580. "description": "商品",
  32581. "type": "string"
  32582. }
  32583. }
  32584. },
  32585. "models.WrScfContractInterest": {
  32586. "type": "object",
  32587. "properties": {
  32588. "closeinterest": {
  32589. "description": "已结利息",
  32590. "type": "number"
  32591. },
  32592. "closeintereststatus": {
  32593. "description": "结息状态 - 1:未结 2:已结",
  32594. "type": "integer"
  32595. },
  32596. "closetime": {
  32597. "description": "结息时间",
  32598. "type": "string"
  32599. },
  32600. "closetradedate": {
  32601. "description": "结息交易日",
  32602. "type": "string"
  32603. },
  32604. "creatorid": {
  32605. "description": "操作人ID",
  32606. "type": "integer"
  32607. },
  32608. "dayrate": {
  32609. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  32610. "type": "number"
  32611. },
  32612. "interest": {
  32613. "description": "利息",
  32614. "type": "number"
  32615. },
  32616. "interestamount": {
  32617. "description": "计息金额",
  32618. "type": "number"
  32619. },
  32620. "interestday": {
  32621. "description": "计息日(yyyyMMdd)",
  32622. "type": "string"
  32623. },
  32624. "scfcontractid": {
  32625. "description": "SCF合同ID",
  32626. "type": "string"
  32627. },
  32628. "scfcontractinterestid": {
  32629. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  32630. "type": "integer"
  32631. },
  32632. "updatetime": {
  32633. "description": "更新时间",
  32634. "type": "string"
  32635. }
  32636. }
  32637. },
  32638. "models.WrSpecialMatchOrder": {
  32639. "type": "object",
  32640. "properties": {
  32641. "amount": {
  32642. "description": "金额 = 数量 * 价格",
  32643. "type": "number"
  32644. },
  32645. "buyorsell": {
  32646. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32647. "type": "integer"
  32648. },
  32649. "cancelqty": {
  32650. "description": "撤销数量",
  32651. "type": "number"
  32652. },
  32653. "deliverygoodscode": {
  32654. "description": "品种代码",
  32655. "type": "string"
  32656. },
  32657. "deliverygoodsid": {
  32658. "description": "品种ID",
  32659. "type": "integer"
  32660. },
  32661. "deliverygoodsname": {
  32662. "description": "品种名称",
  32663. "type": "string"
  32664. },
  32665. "enumdicname": {
  32666. "description": "单位名称",
  32667. "type": "string"
  32668. },
  32669. "fixedprice": {
  32670. "description": "固定价格(价格)",
  32671. "type": "number"
  32672. },
  32673. "haswr": {
  32674. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32675. "type": "integer"
  32676. },
  32677. "marketid": {
  32678. "description": "市场ID",
  32679. "type": "integer"
  32680. },
  32681. "matchuserid": {
  32682. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  32683. "type": "integer"
  32684. },
  32685. "matchusername": {
  32686. "description": "指定方",
  32687. "type": "string"
  32688. },
  32689. "minivalue": {
  32690. "description": "现货商品最小变动值",
  32691. "type": "integer"
  32692. },
  32693. "optioncompare": {
  32694. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32695. "type": "string"
  32696. },
  32697. "orderqty": {
  32698. "description": "委托数量",
  32699. "type": "number"
  32700. },
  32701. "ordertime": {
  32702. "description": "委托时间",
  32703. "type": "string"
  32704. },
  32705. "pricemove": {
  32706. "description": "升贴水(浮动价时填写) - [挂牌]",
  32707. "type": "number"
  32708. },
  32709. "tradedate": {
  32710. "description": "交易日(yyyyMMdd)",
  32711. "type": "string"
  32712. },
  32713. "tradeprice": {
  32714. "description": "成交价格",
  32715. "type": "number"
  32716. },
  32717. "tradeqty": {
  32718. "description": "成交数量",
  32719. "type": "number"
  32720. },
  32721. "userid": {
  32722. "description": "用户ID",
  32723. "type": "integer"
  32724. },
  32725. "username": {
  32726. "description": "发起方",
  32727. "type": "string"
  32728. },
  32729. "warehouseid": {
  32730. "description": "仓库ID",
  32731. "type": "integer"
  32732. },
  32733. "warehousename": {
  32734. "description": "仓库名称",
  32735. "type": "string"
  32736. },
  32737. "wrfactortypeid": {
  32738. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32739. "type": "string"
  32740. },
  32741. "wrfactortypename": {
  32742. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32743. "type": "string"
  32744. },
  32745. "wrpricetype": {
  32746. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32747. "type": "integer"
  32748. },
  32749. "wrstandardcode": {
  32750. "description": "现货商品代码",
  32751. "type": "string"
  32752. },
  32753. "wrstandardid": {
  32754. "description": "现货商品ID",
  32755. "type": "integer"
  32756. },
  32757. "wrstandardname": {
  32758. "description": "商品名称",
  32759. "type": "string"
  32760. },
  32761. "wrtradeorderid": {
  32762. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32763. "type": "string"
  32764. },
  32765. "wrtradeorderstatus": {
  32766. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  32767. "type": "integer"
  32768. },
  32769. "wrtradetype": {
  32770. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32771. "type": "integer"
  32772. },
  32773. "wrtypename": {
  32774. "description": "商品",
  32775. "type": "string"
  32776. }
  32777. }
  32778. },
  32779. "models.WrStandardFactoryItem": {
  32780. "type": "object",
  32781. "properties": {
  32782. "dgfactoryitemid": {
  32783. "description": "选择项id",
  32784. "type": "integer"
  32785. },
  32786. "dgfactoryitemvalue": {
  32787. "description": "要素项值",
  32788. "type": "string"
  32789. },
  32790. "warehouseid": {
  32791. "description": "仓库id",
  32792. "type": "integer"
  32793. }
  32794. }
  32795. },
  32796. "models.WrStandardFactoryItemEx": {
  32797. "type": "object",
  32798. "properties": {
  32799. "dgfactoryitemtypeid": {
  32800. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  32801. "type": "integer"
  32802. },
  32803. "itemlst": {
  32804. "description": "要素项列表",
  32805. "type": "array",
  32806. "items": {
  32807. "$ref": "#/definitions/models.WrStandardFactoryItem"
  32808. }
  32809. },
  32810. "itemtypename": {
  32811. "description": "要素项类型名称",
  32812. "type": "string"
  32813. },
  32814. "wrstandardid": {
  32815. "description": "品类",
  32816. "type": "integer"
  32817. }
  32818. }
  32819. },
  32820. "models.WrTradeDetail": {
  32821. "type": "object",
  32822. "properties": {
  32823. "accountid": {
  32824. "description": "资金账号",
  32825. "type": "integer"
  32826. },
  32827. "buyorsell": {
  32828. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32829. "type": "integer"
  32830. },
  32831. "deliverygoodscode": {
  32832. "description": "品种代码",
  32833. "type": "string"
  32834. },
  32835. "deliverygoodsid": {
  32836. "description": "品种ID",
  32837. "type": "integer"
  32838. },
  32839. "deliverygoodsname": {
  32840. "description": "品种名称",
  32841. "type": "string"
  32842. },
  32843. "deliverymonth": {
  32844. "description": "交收月",
  32845. "type": "string"
  32846. },
  32847. "enumdicname": {
  32848. "description": "单位名称",
  32849. "type": "string"
  32850. },
  32851. "haswr": {
  32852. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32853. "type": "integer"
  32854. },
  32855. "marketid": {
  32856. "description": "市场ID",
  32857. "type": "integer"
  32858. },
  32859. "matchaccountid": {
  32860. "description": "对手账号",
  32861. "type": "integer"
  32862. },
  32863. "matchusername": {
  32864. "description": "对手方",
  32865. "type": "string"
  32866. },
  32867. "minivalue": {
  32868. "description": "现货商品最小变动值",
  32869. "type": "integer"
  32870. },
  32871. "optioncompare": {
  32872. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32873. "type": "string"
  32874. },
  32875. "tradedate": {
  32876. "description": "交易日(yyyyMMdd)",
  32877. "type": "string"
  32878. },
  32879. "tradeprice": {
  32880. "description": "成交价格",
  32881. "type": "number"
  32882. },
  32883. "tradeqty": {
  32884. "description": "成交数量",
  32885. "type": "number"
  32886. },
  32887. "tradetime": {
  32888. "description": "成交时间",
  32889. "type": "string"
  32890. },
  32891. "userid": {
  32892. "description": "用户ID",
  32893. "type": "integer"
  32894. },
  32895. "warehouseid": {
  32896. "description": "仓库ID",
  32897. "type": "integer"
  32898. },
  32899. "warehousename": {
  32900. "description": "仓库名称",
  32901. "type": "string"
  32902. },
  32903. "wrfactortypeid": {
  32904. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32905. "type": "string"
  32906. },
  32907. "wrfactortypename": {
  32908. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32909. "type": "string"
  32910. },
  32911. "wrstandardcode": {
  32912. "description": "现货商品代码",
  32913. "type": "string"
  32914. },
  32915. "wrstandardid": {
  32916. "description": "现货商品ID",
  32917. "type": "integer"
  32918. },
  32919. "wrstandardname": {
  32920. "description": "商品名称",
  32921. "type": "string"
  32922. },
  32923. "wrtradedetailid": {
  32924. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  32925. "type": "string"
  32926. },
  32927. "wrtradetype": {
  32928. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32929. "type": "integer"
  32930. },
  32931. "wrtypename": {
  32932. "description": "商品",
  32933. "type": "string"
  32934. }
  32935. }
  32936. },
  32937. "models.WrTradeOrderDetail": {
  32938. "type": "object",
  32939. "properties": {
  32940. "buyorsell": {
  32941. "description": "买卖方向 0-买 1-卖",
  32942. "type": "integer"
  32943. },
  32944. "goodsid": {
  32945. "description": "商品id",
  32946. "type": "integer"
  32947. },
  32948. "orderid": {
  32949. "description": "委托单号",
  32950. "type": "string"
  32951. },
  32952. "orderprice": {
  32953. "description": "委托价格",
  32954. "type": "number"
  32955. },
  32956. "orderqty": {
  32957. "description": "委托数量",
  32958. "type": "integer"
  32959. },
  32960. "userid": {
  32961. "description": "用户id",
  32962. "type": "integer"
  32963. },
  32964. "username": {
  32965. "description": "用户名称(已脱敏)",
  32966. "type": "string"
  32967. }
  32968. }
  32969. },
  32970. "models.WrTypeItem": {
  32971. "type": "object",
  32972. "properties": {
  32973. "name": {
  32974. "description": "名称",
  32975. "type": "string"
  32976. },
  32977. "value": {
  32978. "description": "值",
  32979. "type": "string"
  32980. }
  32981. }
  32982. },
  32983. "order.QueryHisTradeDetailRsp": {
  32984. "type": "object",
  32985. "required": [
  32986. "accountid",
  32987. "buyorsell",
  32988. "goodsid",
  32989. "histradedate",
  32990. "marketid",
  32991. "memberuserid",
  32992. "orderid",
  32993. "tradeamount",
  32994. "tradedate",
  32995. "tradeid",
  32996. "tradeprice",
  32997. "tradeqty",
  32998. "tradetime"
  32999. ],
  33000. "properties": {
  33001. "accountid": {
  33002. "description": "账户ID[报价币种]",
  33003. "type": "integer"
  33004. },
  33005. "advanceratio": {
  33006. "description": "首付比率",
  33007. "type": "number"
  33008. },
  33009. "buildtype": {
  33010. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  33011. "type": "integer"
  33012. },
  33013. "buyorsell": {
  33014. "description": "方向 - 0:买 1:卖",
  33015. "type": "integer"
  33016. },
  33017. "charge": {
  33018. "description": "手续费",
  33019. "type": "number"
  33020. },
  33021. "closecharge": {
  33022. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33023. "type": "number"
  33024. },
  33025. "closeexchagechargevalue": {
  33026. "description": "平仓交易所手续费设置值",
  33027. "type": "number"
  33028. },
  33029. "closefeealgorithm": {
  33030. "description": "平仓手续费收取方式 1:比率 2:固定",
  33031. "type": "integer"
  33032. },
  33033. "closememberchargevalue": {
  33034. "description": "平仓会员手续费设置值",
  33035. "type": "number"
  33036. },
  33037. "closepl": {
  33038. "description": "平仓盈亏",
  33039. "type": "number"
  33040. },
  33041. "closepl2": {
  33042. "description": "平仓盈亏[逐笔]",
  33043. "type": "number"
  33044. },
  33045. "closeqty": {
  33046. "description": "平仓数量(先建后平操作 需要记录)",
  33047. "type": "number"
  33048. },
  33049. "creditamount": {
  33050. "description": "授信金额",
  33051. "type": "number"
  33052. },
  33053. "decimalplace": {
  33054. "description": "商品报价小数位",
  33055. "type": "integer"
  33056. },
  33057. "enumdicname": {
  33058. "description": "单位名称",
  33059. "type": "string"
  33060. },
  33061. "gcaccountid": {
  33062. "description": "账户ID[合约币种]",
  33063. "type": "integer"
  33064. },
  33065. "goodscode": {
  33066. "description": "商品代码",
  33067. "type": "string"
  33068. },
  33069. "goodsid": {
  33070. "description": "商品ID",
  33071. "type": "integer"
  33072. },
  33073. "goodsname": {
  33074. "description": "商品名称",
  33075. "type": "string"
  33076. },
  33077. "goodunitid": {
  33078. "description": "商品单位id",
  33079. "type": "integer"
  33080. },
  33081. "histradedate": {
  33082. "description": "历史交易日",
  33083. "type": "string"
  33084. },
  33085. "intclosepl": {
  33086. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  33087. "type": "integer"
  33088. },
  33089. "isconfirmexercise": {
  33090. "description": "是否确认行权- 0:否 1:是",
  33091. "type": "integer"
  33092. },
  33093. "ismain": {
  33094. "description": "是否主单 - 0:不是 1:是",
  33095. "type": "integer"
  33096. },
  33097. "ispreexercise": {
  33098. "description": "是否预申报- 0:否 1:是",
  33099. "type": "integer"
  33100. },
  33101. "isreckoned": {
  33102. "description": "是否结算 - 0:未结算 1:已结算",
  33103. "type": "integer"
  33104. },
  33105. "isvaliddata": {
  33106. "description": "是否有效 - 0:无效 1:有效",
  33107. "type": "integer"
  33108. },
  33109. "listingselecttype": {
  33110. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33111. "type": "integer"
  33112. },
  33113. "marketid": {
  33114. "description": "市场ID",
  33115. "type": "integer"
  33116. },
  33117. "marketname": {
  33118. "description": "市场名称",
  33119. "type": "string"
  33120. },
  33121. "matchaccountid": {
  33122. "description": "对手账号id",
  33123. "type": "integer"
  33124. },
  33125. "memberuserid": {
  33126. "description": "会员id 个人投资者 需要填写",
  33127. "type": "integer"
  33128. },
  33129. "opencharge": {
  33130. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33131. "type": "number"
  33132. },
  33133. "openexchagechargevalue": {
  33134. "description": "建仓交易所手续费设置值",
  33135. "type": "number"
  33136. },
  33137. "openfeealgorithm": {
  33138. "description": "建仓手续费收取方式 1:比率 2:固定",
  33139. "type": "integer"
  33140. },
  33141. "openmemberchargevalue": {
  33142. "description": "建仓会员手续费设置值",
  33143. "type": "number"
  33144. },
  33145. "openqty": {
  33146. "description": "开仓数量(先建后平操作 需要记录)",
  33147. "type": "number"
  33148. },
  33149. "optiontype": {
  33150. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33151. "type": "integer"
  33152. },
  33153. "orderid": {
  33154. "description": "委托单号",
  33155. "type": "string"
  33156. },
  33157. "payamount": {
  33158. "description": "支付金额(付款金额)",
  33159. "type": "number"
  33160. },
  33161. "performanceplanid": {
  33162. "description": "履约计划ID[期权]",
  33163. "type": "integer"
  33164. },
  33165. "performancestatus": {
  33166. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  33167. "type": "integer"
  33168. },
  33169. "preexerciseprice": {
  33170. "description": "预申报价格",
  33171. "type": "number"
  33172. },
  33173. "premium": {
  33174. "description": "权利金 - [持仓单的权利金]",
  33175. "type": "number"
  33176. },
  33177. "qtydecimalplace": {
  33178. "description": "商品报价小数位",
  33179. "type": "integer"
  33180. },
  33181. "recvamount": {
  33182. "description": "到账金额 = 成交金额 - 手续费",
  33183. "type": "number"
  33184. },
  33185. "relatedouttradeid": {
  33186. "description": "关联外部成交单ID",
  33187. "type": "integer"
  33188. },
  33189. "status": {
  33190. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  33191. "type": "integer"
  33192. },
  33193. "totalamount": {
  33194. "description": "订单总额 = 成交金额 + 手续费",
  33195. "type": "number"
  33196. },
  33197. "tradeamount": {
  33198. "description": "成交金额[账户币种,用于所有权]",
  33199. "type": "number"
  33200. },
  33201. "tradedate": {
  33202. "description": "交易日(yyyyMMdd)",
  33203. "type": "string"
  33204. },
  33205. "tradeid": {
  33206. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33207. "type": "string"
  33208. },
  33209. "trademode": {
  33210. "description": "交易模式",
  33211. "type": "integer"
  33212. },
  33213. "tradeprice": {
  33214. "description": "成交价格",
  33215. "type": "number"
  33216. },
  33217. "tradeproperty": {
  33218. "description": "交易属性",
  33219. "type": "integer"
  33220. },
  33221. "tradeqty": {
  33222. "description": "成交数量",
  33223. "type": "number"
  33224. },
  33225. "tradetime": {
  33226. "description": "成交时间",
  33227. "type": "string"
  33228. },
  33229. "tradetype": {
  33230. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  33231. "type": "integer"
  33232. }
  33233. }
  33234. },
  33235. "order.QueryHisTradeOrderDetailRsp": {
  33236. "type": "object",
  33237. "required": [
  33238. "accountid",
  33239. "buildtype",
  33240. "buyorsell",
  33241. "goodsid",
  33242. "histradedate",
  33243. "marketid",
  33244. "memberuserid",
  33245. "operatetype",
  33246. "orderid",
  33247. "orderqty",
  33248. "ordertime",
  33249. "pricemode",
  33250. "tradedate",
  33251. "validtype"
  33252. ],
  33253. "properties": {
  33254. "accountid": {
  33255. "description": "账户ID[报价币种]",
  33256. "type": "integer"
  33257. },
  33258. "buildtype": {
  33259. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  33260. "type": "integer"
  33261. },
  33262. "buyorsell": {
  33263. "description": "买卖 - 0:买 1:卖",
  33264. "type": "integer"
  33265. },
  33266. "cancelorderid": {
  33267. "description": "撤单单号(撤单时填写)",
  33268. "type": "string"
  33269. },
  33270. "cancelqty": {
  33271. "description": "撤单数量",
  33272. "type": "number"
  33273. },
  33274. "clientordertime": {
  33275. "description": "客户端委托时间",
  33276. "type": "string"
  33277. },
  33278. "clientticket": {
  33279. "description": "客户端流水号",
  33280. "type": "string"
  33281. },
  33282. "clienttype": {
  33283. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  33284. "type": "integer"
  33285. },
  33286. "closeexchagechargevalue": {
  33287. "description": "平仓交易所手续费设置值",
  33288. "type": "number"
  33289. },
  33290. "closefeealgorithm": {
  33291. "description": "平仓手续费收取方式 1:比率 2:固定",
  33292. "type": "integer"
  33293. },
  33294. "closefreezecharge": {
  33295. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  33296. "type": "number"
  33297. },
  33298. "closememberchargevalue": {
  33299. "description": "平仓会员手续费设置值",
  33300. "type": "number"
  33301. },
  33302. "closeqty": {
  33303. "description": "平仓数量(先建后平操作 需要记录)",
  33304. "type": "number"
  33305. },
  33306. "closetradeqty": {
  33307. "description": "平仓成交数量(先建后平操作,需要记录)",
  33308. "type": "number"
  33309. },
  33310. "closeunfreezecharge": {
  33311. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  33312. "type": "number"
  33313. },
  33314. "decimalplace": {
  33315. "description": "商品报价小数位",
  33316. "type": "integer"
  33317. },
  33318. "delistingtype": {
  33319. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  33320. "type": "integer"
  33321. },
  33322. "enumdicname": {
  33323. "description": "单位名称",
  33324. "type": "string"
  33325. },
  33326. "freezecharge": {
  33327. "description": "冻结手续费",
  33328. "type": "number"
  33329. },
  33330. "freezemargin": {
  33331. "description": "冻结保证金(冻结交易金额)",
  33332. "type": "number"
  33333. },
  33334. "gcaccountid": {
  33335. "description": "账户ID[合约币种]",
  33336. "type": "integer"
  33337. },
  33338. "goodscode": {
  33339. "description": "商品代码",
  33340. "type": "string"
  33341. },
  33342. "goodsid": {
  33343. "description": "商品ID",
  33344. "type": "integer"
  33345. },
  33346. "goodsname": {
  33347. "description": "商品名称",
  33348. "type": "string"
  33349. },
  33350. "goodunitid": {
  33351. "description": "商品单位id",
  33352. "type": "integer"
  33353. },
  33354. "histradedate": {
  33355. "description": "历史交易日",
  33356. "type": "string"
  33357. },
  33358. "isconfirmexercise": {
  33359. "description": "是否确认行权- 0:否 1:是",
  33360. "type": "integer"
  33361. },
  33362. "ispreexercise": {
  33363. "description": "是否预申报- 0:否 1:是",
  33364. "type": "integer"
  33365. },
  33366. "isvaliddata": {
  33367. "description": "是否有效 - 0:无效 1:有效",
  33368. "type": "integer"
  33369. },
  33370. "listingselecttype": {
  33371. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33372. "type": "integer"
  33373. },
  33374. "marginalgorithm": {
  33375. "description": "保证金收取方式 1:比率 2:固定",
  33376. "type": "integer"
  33377. },
  33378. "marginvalue": {
  33379. "description": "即市保证金设置值",
  33380. "type": "number"
  33381. },
  33382. "marketid": {
  33383. "description": "市场ID",
  33384. "type": "integer"
  33385. },
  33386. "marketmaxsub": {
  33387. "description": "市价最大偏移范围",
  33388. "type": "number"
  33389. },
  33390. "marketname": {
  33391. "description": "市场名称",
  33392. "type": "string"
  33393. },
  33394. "memberuserid": {
  33395. "description": "所属会员UserID",
  33396. "type": "integer"
  33397. },
  33398. "openexchagechargevalue": {
  33399. "description": "建仓交易所手续费设置值",
  33400. "type": "number"
  33401. },
  33402. "openfeealgorithm": {
  33403. "description": "建仓手续费收取方式 1:比率 2:固定",
  33404. "type": "integer"
  33405. },
  33406. "openfreezecharge": {
  33407. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  33408. "type": "number"
  33409. },
  33410. "openmemberchargevalue": {
  33411. "description": "建仓会员手续费设置值",
  33412. "type": "number"
  33413. },
  33414. "openqty": {
  33415. "description": "开仓数量(先建后平操作,需要记录)",
  33416. "type": "number"
  33417. },
  33418. "opentradeqty": {
  33419. "description": "开仓成交数量(先建后平操作,需要记录)",
  33420. "type": "number"
  33421. },
  33422. "openunfreezecharge": {
  33423. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  33424. "type": "number"
  33425. },
  33426. "operatetype": {
  33427. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  33428. "type": "integer"
  33429. },
  33430. "operatorid": {
  33431. "description": "登录账号(LoginID)",
  33432. "type": "integer"
  33433. },
  33434. "optiontype": {
  33435. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33436. "type": "integer"
  33437. },
  33438. "orderid": {
  33439. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33440. "type": "string"
  33441. },
  33442. "orderprice": {
  33443. "description": "委托价格",
  33444. "type": "number"
  33445. },
  33446. "orderqty": {
  33447. "description": "委托数量",
  33448. "type": "number"
  33449. },
  33450. "ordersrc": {
  33451. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  33452. "type": "integer"
  33453. },
  33454. "orderstatus": {
  33455. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33456. "type": "integer"
  33457. },
  33458. "ordertime": {
  33459. "description": "委托时间",
  33460. "type": "string"
  33461. },
  33462. "preexerciseprice": {
  33463. "description": "预申报价格",
  33464. "type": "number"
  33465. },
  33466. "premium": {
  33467. "description": "权利金",
  33468. "type": "number"
  33469. },
  33470. "preorderid": {
  33471. "description": "关联预埋单号(止盈止损单时填写)",
  33472. "type": "string"
  33473. },
  33474. "pricemode": {
  33475. "description": "取价方式 - 1:市价 2: 限价",
  33476. "type": "integer"
  33477. },
  33478. "qtydecimalplace": {
  33479. "description": "成交量小数位",
  33480. "type": "integer"
  33481. },
  33482. "quoteid": {
  33483. "description": "报价单ID",
  33484. "type": "integer"
  33485. },
  33486. "relatedid": {
  33487. "description": "关联单号(交割单)",
  33488. "type": "string"
  33489. },
  33490. "retcode": {
  33491. "description": "错误代码",
  33492. "type": "integer"
  33493. },
  33494. "sessionid": {
  33495. "description": "会话ID",
  33496. "type": "integer"
  33497. },
  33498. "tradedate": {
  33499. "description": "交易日(yyyyMMdd)",
  33500. "type": "string"
  33501. },
  33502. "trademode": {
  33503. "description": "交易模式",
  33504. "type": "integer"
  33505. },
  33506. "tradeproperty": {
  33507. "description": "交易属性",
  33508. "type": "integer"
  33509. },
  33510. "tradeqty": {
  33511. "description": "成交数量",
  33512. "type": "number"
  33513. },
  33514. "unfreezecharge": {
  33515. "description": "解冻手续费",
  33516. "type": "number"
  33517. },
  33518. "unfreezemargin": {
  33519. "description": "解冻保证金",
  33520. "type": "number"
  33521. },
  33522. "updatetime": {
  33523. "description": "更新时间",
  33524. "type": "string"
  33525. },
  33526. "uuid": {
  33527. "description": "发起端唯一id",
  33528. "type": "string"
  33529. },
  33530. "validtime": {
  33531. "description": "有效期限",
  33532. "type": "string"
  33533. },
  33534. "validtype": {
  33535. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  33536. "type": "integer"
  33537. },
  33538. "volumetype": {
  33539. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  33540. "type": "integer"
  33541. }
  33542. }
  33543. },
  33544. "order.QueryTradeDetailRsp": {
  33545. "type": "object",
  33546. "required": [
  33547. "accountid",
  33548. "buyorsell",
  33549. "goodsid",
  33550. "marketid",
  33551. "memberuserid",
  33552. "orderid",
  33553. "tradeamount",
  33554. "tradedate",
  33555. "tradeid",
  33556. "tradeprice",
  33557. "tradeqty",
  33558. "tradetime"
  33559. ],
  33560. "properties": {
  33561. "accountid": {
  33562. "description": "账户ID[报价币种]",
  33563. "type": "integer"
  33564. },
  33565. "advanceratio": {
  33566. "description": "首付比率",
  33567. "type": "number"
  33568. },
  33569. "buildtype": {
  33570. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  33571. "type": "integer"
  33572. },
  33573. "buyorsell": {
  33574. "description": "方向 - 0:买 1:卖",
  33575. "type": "integer"
  33576. },
  33577. "charge": {
  33578. "description": "手续费",
  33579. "type": "number"
  33580. },
  33581. "closecharge": {
  33582. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33583. "type": "number"
  33584. },
  33585. "closeexchagechargevalue": {
  33586. "description": "平仓交易所手续费设置值",
  33587. "type": "number"
  33588. },
  33589. "closefeealgorithm": {
  33590. "description": "平仓手续费收取方式 1:比率 2:固定",
  33591. "type": "integer"
  33592. },
  33593. "closememberchargevalue": {
  33594. "description": "平仓会员手续费设置值",
  33595. "type": "number"
  33596. },
  33597. "closepl": {
  33598. "description": "平仓盈亏",
  33599. "type": "number"
  33600. },
  33601. "closepl2": {
  33602. "description": "平仓盈亏[逐笔]",
  33603. "type": "number"
  33604. },
  33605. "closeqty": {
  33606. "description": "平仓数量(先建后平操作 需要记录)",
  33607. "type": "number"
  33608. },
  33609. "creditamount": {
  33610. "description": "授信金额",
  33611. "type": "number"
  33612. },
  33613. "decimalplace": {
  33614. "description": "商品报价小数位",
  33615. "type": "integer"
  33616. },
  33617. "enumdicname": {
  33618. "description": "单位名称",
  33619. "type": "string"
  33620. },
  33621. "gcaccountid": {
  33622. "description": "账户ID[合约币种]",
  33623. "type": "integer"
  33624. },
  33625. "goodscode": {
  33626. "description": "商品代码",
  33627. "type": "string"
  33628. },
  33629. "goodsid": {
  33630. "description": "商品ID",
  33631. "type": "integer"
  33632. },
  33633. "goodsname": {
  33634. "description": "商品名称",
  33635. "type": "string"
  33636. },
  33637. "goodunitid": {
  33638. "description": "商品单位id",
  33639. "type": "integer"
  33640. },
  33641. "intclosepl": {
  33642. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  33643. "type": "integer"
  33644. },
  33645. "isconfirmexercise": {
  33646. "description": "是否确认行权- 0:否 1:是",
  33647. "type": "integer"
  33648. },
  33649. "ismain": {
  33650. "description": "是否主单 - 0:不是 1:是",
  33651. "type": "integer"
  33652. },
  33653. "ispreexercise": {
  33654. "description": "是否预申报- 0:否 1:是",
  33655. "type": "integer"
  33656. },
  33657. "isreckoned": {
  33658. "description": "是否结算 - 0:未结算 1:已结算",
  33659. "type": "integer"
  33660. },
  33661. "listingselecttype": {
  33662. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33663. "type": "integer"
  33664. },
  33665. "marketid": {
  33666. "description": "市场ID",
  33667. "type": "integer"
  33668. },
  33669. "marketname": {
  33670. "description": "市场名称",
  33671. "type": "string"
  33672. },
  33673. "matchaccountid": {
  33674. "description": "对手账号id",
  33675. "type": "integer"
  33676. },
  33677. "memberuserid": {
  33678. "description": "会员id 个人投资者 需要填写",
  33679. "type": "integer"
  33680. },
  33681. "opencharge": {
  33682. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33683. "type": "number"
  33684. },
  33685. "openexchagechargevalue": {
  33686. "description": "建仓交易所手续费设置值",
  33687. "type": "number"
  33688. },
  33689. "openfeealgorithm": {
  33690. "description": "建仓手续费收取方式 1:比率 2:固定",
  33691. "type": "integer"
  33692. },
  33693. "openmemberchargevalue": {
  33694. "description": "建仓会员手续费设置值",
  33695. "type": "number"
  33696. },
  33697. "openqty": {
  33698. "description": "开仓数量(先建后平操作 需要记录)",
  33699. "type": "number"
  33700. },
  33701. "optiontype": {
  33702. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33703. "type": "integer"
  33704. },
  33705. "orderid": {
  33706. "description": "委托单号",
  33707. "type": "string"
  33708. },
  33709. "payamount": {
  33710. "description": "支付金额(付款金额)",
  33711. "type": "number"
  33712. },
  33713. "performanceplanid": {
  33714. "description": "履约计划ID[期权]",
  33715. "type": "integer"
  33716. },
  33717. "performancestatus": {
  33718. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  33719. "type": "integer"
  33720. },
  33721. "preexerciseprice": {
  33722. "description": "预申报价格",
  33723. "type": "number"
  33724. },
  33725. "premium": {
  33726. "description": "权利金 - [持仓单的权利金]",
  33727. "type": "number"
  33728. },
  33729. "qtydecimalplace": {
  33730. "description": "商品报价小数位",
  33731. "type": "integer"
  33732. },
  33733. "recvamount": {
  33734. "description": "到账金额 = 成交金额 - 手续费",
  33735. "type": "number"
  33736. },
  33737. "relatedouttradeid": {
  33738. "description": "关联外部成交单ID",
  33739. "type": "integer"
  33740. },
  33741. "status": {
  33742. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  33743. "type": "integer"
  33744. },
  33745. "totalamount": {
  33746. "description": "订单总额 = 成交金额 + 手续费",
  33747. "type": "number"
  33748. },
  33749. "tradeamount": {
  33750. "description": "成交金额[账户币种,用于所有权]",
  33751. "type": "number"
  33752. },
  33753. "tradedate": {
  33754. "description": "交易日(yyyyMMdd)",
  33755. "type": "string"
  33756. },
  33757. "tradeid": {
  33758. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33759. "type": "string"
  33760. },
  33761. "trademode": {
  33762. "description": "交易模式",
  33763. "type": "integer"
  33764. },
  33765. "tradeprice": {
  33766. "description": "成交价格",
  33767. "type": "number"
  33768. },
  33769. "tradeproperty": {
  33770. "description": "交易属性",
  33771. "type": "integer"
  33772. },
  33773. "tradeqty": {
  33774. "description": "成交数量",
  33775. "type": "number"
  33776. },
  33777. "tradetime": {
  33778. "description": "成交时间",
  33779. "type": "string"
  33780. },
  33781. "tradetype": {
  33782. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  33783. "type": "integer"
  33784. }
  33785. }
  33786. },
  33787. "order.QueryTradeOrderDetailRsp": {
  33788. "type": "object",
  33789. "required": [
  33790. "accountid",
  33791. "buildtype",
  33792. "buyorsell",
  33793. "goodsid",
  33794. "marketid",
  33795. "operatetype",
  33796. "orderqty",
  33797. "ordertime",
  33798. "pricemode",
  33799. "tradedate",
  33800. "validtype"
  33801. ],
  33802. "properties": {
  33803. "accountid": {
  33804. "description": "账户ID[报价币种]",
  33805. "type": "integer"
  33806. },
  33807. "buildtype": {
  33808. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  33809. "type": "integer"
  33810. },
  33811. "buyorsell": {
  33812. "description": "买卖 - 0:买 1:卖",
  33813. "type": "integer"
  33814. },
  33815. "cancelorderid": {
  33816. "description": "撤单单号(撤单时填写)",
  33817. "type": "string"
  33818. },
  33819. "cancelqty": {
  33820. "description": "撤单数量",
  33821. "type": "number"
  33822. },
  33823. "clienttype": {
  33824. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  33825. "type": "integer"
  33826. },
  33827. "closefreezecharge": {
  33828. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  33829. "type": "number"
  33830. },
  33831. "closeqty": {
  33832. "description": "平仓数量(先建后平操作 需要记录)",
  33833. "type": "number"
  33834. },
  33835. "closetradeqty": {
  33836. "description": "平仓成交数量(先建后平操作,需要记录)",
  33837. "type": "number"
  33838. },
  33839. "closeunfreezecharge": {
  33840. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  33841. "type": "number"
  33842. },
  33843. "decimalplace": {
  33844. "description": "商品报价小数位",
  33845. "type": "integer"
  33846. },
  33847. "delistingtype": {
  33848. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  33849. "type": "integer"
  33850. },
  33851. "enableqty": {
  33852. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  33853. "type": "number"
  33854. },
  33855. "enumdicname": {
  33856. "description": "单位名称",
  33857. "type": "string"
  33858. },
  33859. "freezecharge": {
  33860. "description": "冻结手续费",
  33861. "type": "number"
  33862. },
  33863. "freezemargin": {
  33864. "description": "冻结保证金(冻结交易金额)",
  33865. "type": "number"
  33866. },
  33867. "goodscode": {
  33868. "description": "商品代码",
  33869. "type": "string"
  33870. },
  33871. "goodsid": {
  33872. "description": "商品ID",
  33873. "type": "integer"
  33874. },
  33875. "goodsname": {
  33876. "description": "商品名称",
  33877. "type": "string"
  33878. },
  33879. "goodunitid": {
  33880. "description": "商品单位id",
  33881. "type": "integer"
  33882. },
  33883. "listingselecttype": {
  33884. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33885. "type": "integer"
  33886. },
  33887. "marketid": {
  33888. "description": "市场ID",
  33889. "type": "integer"
  33890. },
  33891. "marketname": {
  33892. "description": "市场名称",
  33893. "type": "string"
  33894. },
  33895. "openfreezecharge": {
  33896. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  33897. "type": "number"
  33898. },
  33899. "openqty": {
  33900. "description": "开仓数量(先建后平操作,需要记录)",
  33901. "type": "number"
  33902. },
  33903. "opentradeqty": {
  33904. "description": "开仓成交数量(先建后平操作,需要记录)",
  33905. "type": "number"
  33906. },
  33907. "openunfreezecharge": {
  33908. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  33909. "type": "number"
  33910. },
  33911. "operatetype": {
  33912. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  33913. "type": "integer"
  33914. },
  33915. "operatorid": {
  33916. "description": "登录账号(LoginID)",
  33917. "type": "integer"
  33918. },
  33919. "orderid": {
  33920. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33921. "type": "string"
  33922. },
  33923. "orderprice": {
  33924. "description": "委托价格",
  33925. "type": "number"
  33926. },
  33927. "orderqty": {
  33928. "description": "委托数量",
  33929. "type": "number"
  33930. },
  33931. "ordersrc": {
  33932. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  33933. "type": "integer"
  33934. },
  33935. "orderstatus": {
  33936. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33937. "type": "integer"
  33938. },
  33939. "ordertime": {
  33940. "description": "委托时间",
  33941. "type": "string"
  33942. },
  33943. "preorderid": {
  33944. "description": "关联预埋单号(止盈止损单时填写)",
  33945. "type": "string"
  33946. },
  33947. "pricemode": {
  33948. "description": "取价方式 - 1:市价 2: 限价",
  33949. "type": "integer"
  33950. },
  33951. "qtydecimalplace": {
  33952. "description": "商品报价小数位",
  33953. "type": "integer"
  33954. },
  33955. "relatedid": {
  33956. "description": "关联单号(交割单)",
  33957. "type": "string"
  33958. },
  33959. "tradedate": {
  33960. "description": "交易日(yyyyMMdd)",
  33961. "type": "string"
  33962. },
  33963. "trademode": {
  33964. "description": "交易模式",
  33965. "type": "integer"
  33966. },
  33967. "tradeqty": {
  33968. "description": "成交数量",
  33969. "type": "number"
  33970. },
  33971. "unfreezecharge": {
  33972. "description": "解冻手续费",
  33973. "type": "number"
  33974. },
  33975. "unfreezemargin": {
  33976. "description": "解冻保证金",
  33977. "type": "number"
  33978. },
  33979. "validtime": {
  33980. "description": "有效期限",
  33981. "type": "string"
  33982. },
  33983. "validtype": {
  33984. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  33985. "type": "integer"
  33986. },
  33987. "volumetype": {
  33988. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  33989. "type": "integer"
  33990. }
  33991. }
  33992. },
  33993. "order.QueryTradePositionRsp": {
  33994. "type": "object",
  33995. "required": [
  33996. "goodsid"
  33997. ],
  33998. "properties": {
  33999. "accountid": {
  34000. "description": "资金账户",
  34001. "type": "integer"
  34002. },
  34003. "agreeunit": {
  34004. "description": "合约单位",
  34005. "type": "number"
  34006. },
  34007. "averageprice": {
  34008. "description": "持仓均价",
  34009. "type": "number"
  34010. },
  34011. "buyorsell": {
  34012. "description": "方向 - 0:买 1:卖",
  34013. "type": "integer"
  34014. },
  34015. "closetotalqty": {
  34016. "description": "平仓总数量",
  34017. "type": "number"
  34018. },
  34019. "curholderamount": {
  34020. "description": "当前持仓总金额[商品币种]",
  34021. "type": "number"
  34022. },
  34023. "curpositionqty": {
  34024. "description": "当前持仓总数量",
  34025. "type": "number"
  34026. },
  34027. "currencyid": {
  34028. "description": "报价货币ID",
  34029. "type": "integer"
  34030. },
  34031. "curtdposition": {
  34032. "description": "期末今日头寸",
  34033. "type": "number"
  34034. },
  34035. "decimalplace": {
  34036. "description": "报价小数位",
  34037. "type": "integer"
  34038. },
  34039. "enableqty": {
  34040. "description": "可用量",
  34041. "type": "number"
  34042. },
  34043. "fretdposition": {
  34044. "description": "冻结今日头寸",
  34045. "type": "number"
  34046. },
  34047. "frozenqty": {
  34048. "description": "持仓冻结数量",
  34049. "type": "number"
  34050. },
  34051. "goodscode": {
  34052. "description": "商品代码",
  34053. "type": "string"
  34054. },
  34055. "goodsid": {
  34056. "description": "商品Id",
  34057. "type": "integer"
  34058. },
  34059. "goodsname": {
  34060. "description": "商品名称",
  34061. "type": "string"
  34062. },
  34063. "goodunit": {
  34064. "description": "报价单位",
  34065. "type": "string"
  34066. },
  34067. "goodunitid": {
  34068. "description": "报价单位ID",
  34069. "type": "integer"
  34070. },
  34071. "holderamount": {
  34072. "description": "期初持仓总金额[商品币种]",
  34073. "type": "number"
  34074. },
  34075. "lastprice": {
  34076. "description": "最新价",
  34077. "type": "number"
  34078. },
  34079. "marketamount": {
  34080. "description": "市值",
  34081. "type": "number"
  34082. },
  34083. "marketid": {
  34084. "description": "所属市场ID",
  34085. "type": "integer"
  34086. },
  34087. "openreqqty": {
  34088. "description": "开仓申请数量(用于比较最大持仓数量)",
  34089. "type": "number"
  34090. },
  34091. "opentotalqty": {
  34092. "description": "开仓总数量",
  34093. "type": "number"
  34094. },
  34095. "otherfrozenqty": {
  34096. "description": "持仓其他冻结数量(交割冻结)",
  34097. "type": "number"
  34098. },
  34099. "positionpl": {
  34100. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  34101. "type": "number"
  34102. },
  34103. "positionplrate": {
  34104. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  34105. "type": "number"
  34106. },
  34107. "positionqty": {
  34108. "description": "期初持仓数量",
  34109. "type": "number"
  34110. },
  34111. "qtydecimalplace": {
  34112. "description": "成交量小数位",
  34113. "type": "integer"
  34114. },
  34115. "tnqty": {
  34116. "description": "T+N冻结总量",
  34117. "type": "number"
  34118. },
  34119. "tnusedqty": {
  34120. "description": "T+N使用量(可以使用T+N的冻结数量)",
  34121. "type": "number"
  34122. },
  34123. "trademode": {
  34124. "description": "交易模式",
  34125. "type": "integer"
  34126. },
  34127. "usedmargin": {
  34128. "description": "占用保证金[商品币种]",
  34129. "type": "number"
  34130. }
  34131. }
  34132. },
  34133. "quote.HistoryData": {
  34134. "type": "object",
  34135. "properties": {
  34136. "c": {
  34137. "description": "收盘价",
  34138. "type": "number"
  34139. },
  34140. "f": {
  34141. "description": "是否补充数据",
  34142. "type": "boolean"
  34143. },
  34144. "h": {
  34145. "description": "最高价",
  34146. "type": "number"
  34147. },
  34148. "hv": {
  34149. "description": "持仓量",
  34150. "type": "integer"
  34151. },
  34152. "l": {
  34153. "description": "最低价",
  34154. "type": "number"
  34155. },
  34156. "o": {
  34157. "description": "开盘价",
  34158. "type": "number"
  34159. },
  34160. "s": {
  34161. "description": "结算价,日线周期(包括)以上才有",
  34162. "type": "number"
  34163. },
  34164. "ts": {
  34165. "description": "时间",
  34166. "type": "string"
  34167. },
  34168. "tt": {
  34169. "description": "总金额",
  34170. "type": "number"
  34171. },
  34172. "tv": {
  34173. "description": "总量",
  34174. "type": "integer"
  34175. }
  34176. }
  34177. },
  34178. "quote.HistoryTikData": {
  34179. "type": "object",
  34180. "properties": {
  34181. "AV": {
  34182. "description": "卖量",
  34183. "type": "integer"
  34184. },
  34185. "Ask": {
  34186. "description": "卖价",
  34187. "type": "number"
  34188. },
  34189. "BV": {
  34190. "description": "买量",
  34191. "type": "integer"
  34192. },
  34193. "Bid": {
  34194. "description": "买价",
  34195. "type": "number"
  34196. },
  34197. "HI": {
  34198. "description": "单笔持仓",
  34199. "type": "integer"
  34200. },
  34201. "HV": {
  34202. "description": "持仓量",
  34203. "type": "integer"
  34204. },
  34205. "PE": {
  34206. "description": "现价",
  34207. "type": "number"
  34208. },
  34209. "TDR": {
  34210. "description": "交易方向,0:买 1:卖",
  34211. "type": "integer"
  34212. },
  34213. "TK": {
  34214. "description": "交易类型",
  34215. "type": "integer"
  34216. },
  34217. "TS": {
  34218. "description": "行情时间文本",
  34219. "type": "string"
  34220. },
  34221. "TT": {
  34222. "description": "现金额",
  34223. "type": "number"
  34224. },
  34225. "Vol": {
  34226. "description": "现量",
  34227. "type": "integer"
  34228. }
  34229. }
  34230. },
  34231. "quote.QueryQuoteDayRsp": {
  34232. "type": "object",
  34233. "properties": {
  34234. "ask": {
  34235. "description": "卖1",
  34236. "type": "number"
  34237. },
  34238. "ask10": {
  34239. "description": "卖10",
  34240. "type": "number"
  34241. },
  34242. "ask2": {
  34243. "description": "卖2",
  34244. "type": "number"
  34245. },
  34246. "ask3": {
  34247. "description": "卖3",
  34248. "type": "number"
  34249. },
  34250. "ask4": {
  34251. "description": "卖4",
  34252. "type": "number"
  34253. },
  34254. "ask5": {
  34255. "description": "卖5",
  34256. "type": "number"
  34257. },
  34258. "ask6": {
  34259. "description": "卖6",
  34260. "type": "number"
  34261. },
  34262. "ask7": {
  34263. "description": "卖7",
  34264. "type": "number"
  34265. },
  34266. "ask8": {
  34267. "description": "卖8",
  34268. "type": "number"
  34269. },
  34270. "ask9": {
  34271. "description": "卖9",
  34272. "type": "number"
  34273. },
  34274. "askorderid": {
  34275. "description": "卖单号1",
  34276. "type": "integer"
  34277. },
  34278. "askorderid2": {
  34279. "description": "卖单号2",
  34280. "type": "integer"
  34281. },
  34282. "askorderid3": {
  34283. "description": "卖单号3",
  34284. "type": "integer"
  34285. },
  34286. "askorderid4": {
  34287. "description": "卖单号4",
  34288. "type": "integer"
  34289. },
  34290. "askorderid5": {
  34291. "description": "卖单号5",
  34292. "type": "integer"
  34293. },
  34294. "askordervolume": {
  34295. "description": "卖单量1",
  34296. "type": "integer"
  34297. },
  34298. "askordervolume10": {
  34299. "description": "卖单量10",
  34300. "type": "integer"
  34301. },
  34302. "askordervolume2": {
  34303. "description": "卖单量2",
  34304. "type": "integer"
  34305. },
  34306. "askordervolume3": {
  34307. "description": "卖单量3",
  34308. "type": "integer"
  34309. },
  34310. "askordervolume4": {
  34311. "description": "卖单量4",
  34312. "type": "integer"
  34313. },
  34314. "askordervolume5": {
  34315. "description": "卖单量5",
  34316. "type": "integer"
  34317. },
  34318. "askordervolume6": {
  34319. "description": "卖单量6",
  34320. "type": "integer"
  34321. },
  34322. "askordervolume7": {
  34323. "description": "卖单量7",
  34324. "type": "integer"
  34325. },
  34326. "askordervolume8": {
  34327. "description": "卖单量8",
  34328. "type": "integer"
  34329. },
  34330. "askordervolume9": {
  34331. "description": "卖单量9",
  34332. "type": "integer"
  34333. },
  34334. "askqueueinfo": {
  34335. "description": "大利市卖港股用",
  34336. "type": "string"
  34337. },
  34338. "askvolume": {
  34339. "description": "卖量1",
  34340. "type": "integer"
  34341. },
  34342. "askvolume10": {
  34343. "description": "卖量10",
  34344. "type": "integer"
  34345. },
  34346. "askvolume2": {
  34347. "description": "卖量2",
  34348. "type": "integer"
  34349. },
  34350. "askvolume3": {
  34351. "description": "卖量3",
  34352. "type": "integer"
  34353. },
  34354. "askvolume4": {
  34355. "description": "卖量4",
  34356. "type": "integer"
  34357. },
  34358. "askvolume5": {
  34359. "description": "卖量5",
  34360. "type": "integer"
  34361. },
  34362. "askvolume6": {
  34363. "description": "卖量6",
  34364. "type": "integer"
  34365. },
  34366. "askvolume7": {
  34367. "description": "卖量7",
  34368. "type": "integer"
  34369. },
  34370. "askvolume8": {
  34371. "description": "卖量8",
  34372. "type": "integer"
  34373. },
  34374. "askvolume9": {
  34375. "description": "卖量9",
  34376. "type": "integer"
  34377. },
  34378. "averageprice": {
  34379. "description": "均价",
  34380. "type": "number"
  34381. },
  34382. "bid": {
  34383. "description": "买1",
  34384. "type": "number"
  34385. },
  34386. "bid10": {
  34387. "description": "买10",
  34388. "type": "number"
  34389. },
  34390. "bid2": {
  34391. "description": "买2",
  34392. "type": "number"
  34393. },
  34394. "bid3": {
  34395. "description": "买3",
  34396. "type": "number"
  34397. },
  34398. "bid4": {
  34399. "description": "买4",
  34400. "type": "number"
  34401. },
  34402. "bid5": {
  34403. "description": "买5",
  34404. "type": "number"
  34405. },
  34406. "bid6": {
  34407. "description": "买6",
  34408. "type": "number"
  34409. },
  34410. "bid7": {
  34411. "description": "买7",
  34412. "type": "number"
  34413. },
  34414. "bid8": {
  34415. "description": "买8",
  34416. "type": "number"
  34417. },
  34418. "bid9": {
  34419. "description": "买9",
  34420. "type": "number"
  34421. },
  34422. "bidorderid": {
  34423. "description": "买单号1",
  34424. "type": "integer"
  34425. },
  34426. "bidorderid2": {
  34427. "description": "买单号2",
  34428. "type": "integer"
  34429. },
  34430. "bidorderid3": {
  34431. "description": "买单号3",
  34432. "type": "integer"
  34433. },
  34434. "bidorderid4": {
  34435. "description": "买单号4",
  34436. "type": "integer"
  34437. },
  34438. "bidorderid5": {
  34439. "description": "买单号5",
  34440. "type": "integer"
  34441. },
  34442. "bidordervolume": {
  34443. "description": "买单量1",
  34444. "type": "integer"
  34445. },
  34446. "bidordervolume10": {
  34447. "description": "买单量10",
  34448. "type": "integer"
  34449. },
  34450. "bidordervolume2": {
  34451. "description": "买单量2",
  34452. "type": "integer"
  34453. },
  34454. "bidordervolume3": {
  34455. "description": "买单量3",
  34456. "type": "integer"
  34457. },
  34458. "bidordervolume4": {
  34459. "description": "买单量4",
  34460. "type": "integer"
  34461. },
  34462. "bidordervolume5": {
  34463. "description": "买单量5",
  34464. "type": "integer"
  34465. },
  34466. "bidordervolume6": {
  34467. "description": "买单量6",
  34468. "type": "integer"
  34469. },
  34470. "bidordervolume7": {
  34471. "description": "买单量7",
  34472. "type": "integer"
  34473. },
  34474. "bidordervolume8": {
  34475. "description": "买单量8",
  34476. "type": "integer"
  34477. },
  34478. "bidordervolume9": {
  34479. "description": "买单量9",
  34480. "type": "integer"
  34481. },
  34482. "bidqueueinfo": {
  34483. "description": "大利市买港股用",
  34484. "type": "string"
  34485. },
  34486. "bidvolume": {
  34487. "description": "买量1",
  34488. "type": "integer"
  34489. },
  34490. "bidvolume10": {
  34491. "description": "买量10",
  34492. "type": "integer"
  34493. },
  34494. "bidvolume2": {
  34495. "description": "买量2",
  34496. "type": "integer"
  34497. },
  34498. "bidvolume3": {
  34499. "description": "买量3",
  34500. "type": "integer"
  34501. },
  34502. "bidvolume4": {
  34503. "description": "买量4",
  34504. "type": "integer"
  34505. },
  34506. "bidvolume5": {
  34507. "description": "买量5",
  34508. "type": "integer"
  34509. },
  34510. "bidvolume6": {
  34511. "description": "买量6",
  34512. "type": "integer"
  34513. },
  34514. "bidvolume7": {
  34515. "description": "买量7",
  34516. "type": "integer"
  34517. },
  34518. "bidvolume8": {
  34519. "description": "买量8",
  34520. "type": "integer"
  34521. },
  34522. "bidvolume9": {
  34523. "description": "买量9",
  34524. "type": "integer"
  34525. },
  34526. "calloptionpremiums": {
  34527. "description": "认购期权1",
  34528. "type": "integer"
  34529. },
  34530. "calloptionpremiums2": {
  34531. "description": "认购期权2",
  34532. "type": "integer"
  34533. },
  34534. "calloptionpremiums3": {
  34535. "description": "认购期权3",
  34536. "type": "integer"
  34537. },
  34538. "calloptionpremiums4": {
  34539. "description": "认购期权4",
  34540. "type": "integer"
  34541. },
  34542. "calloptionpremiums5": {
  34543. "description": "认购期权5",
  34544. "type": "integer"
  34545. },
  34546. "cleartime": {
  34547. "description": "清盘时间",
  34548. "type": "integer"
  34549. },
  34550. "exchangecode": {
  34551. "description": "交易所代码",
  34552. "type": "integer"
  34553. },
  34554. "exchangedate": {
  34555. "description": "交易日",
  34556. "type": "integer"
  34557. },
  34558. "goodscode": {
  34559. "description": "商品代码",
  34560. "type": "string"
  34561. },
  34562. "grepmarketprice": {
  34563. "description": "暗盘价 港股专用",
  34564. "type": "number"
  34565. },
  34566. "highest": {
  34567. "description": "最高价",
  34568. "type": "number"
  34569. },
  34570. "holdincrement": {
  34571. "description": "单笔持仓",
  34572. "type": "integer"
  34573. },
  34574. "holdvolume": {
  34575. "description": "持仓",
  34576. "type": "integer"
  34577. },
  34578. "iep": {
  34579. "description": "平衡价 港股专用",
  34580. "type": "number"
  34581. },
  34582. "iev": {
  34583. "description": "平衡量 港股专用",
  34584. "type": "number"
  34585. },
  34586. "inventory": {
  34587. "description": "库存",
  34588. "type": "integer"
  34589. },
  34590. "iscleared": {
  34591. "description": "是否清盘标志",
  34592. "type": "integer"
  34593. },
  34594. "issettled": {
  34595. "description": "是否结算标志",
  34596. "type": "integer"
  34597. },
  34598. "last": {
  34599. "description": "最新价",
  34600. "type": "number"
  34601. },
  34602. "lastlot": {
  34603. "description": "最新成交手数",
  34604. "type": "integer"
  34605. },
  34606. "lasttime": {
  34607. "description": "行情时间(只有现价变化行情时间才变化)",
  34608. "type": "string"
  34609. },
  34610. "lastturnover": {
  34611. "description": "最新成交金额",
  34612. "type": "number"
  34613. },
  34614. "lastvolume": {
  34615. "description": "最新成交量",
  34616. "type": "integer"
  34617. },
  34618. "limitdown": {
  34619. "description": "跌停价",
  34620. "type": "number"
  34621. },
  34622. "limitup": {
  34623. "description": "涨停价",
  34624. "type": "number"
  34625. },
  34626. "lowest": {
  34627. "description": "最低价",
  34628. "type": "number"
  34629. },
  34630. "nontotalholdervolume": {
  34631. "description": "非交易持仓量",
  34632. "type": "integer"
  34633. },
  34634. "nontotallot": {
  34635. "description": "非交易总手数",
  34636. "type": "integer"
  34637. },
  34638. "nontotalturnover": {
  34639. "description": "非交易总金额",
  34640. "type": "integer"
  34641. },
  34642. "nontotalvolume": {
  34643. "description": "非交易总量",
  34644. "type": "integer"
  34645. },
  34646. "opened": {
  34647. "description": "开盘价",
  34648. "type": "number"
  34649. },
  34650. "opentime": {
  34651. "description": "开盘时间",
  34652. "type": "string"
  34653. },
  34654. "orderid": {
  34655. "description": "序号",
  34656. "type": "integer"
  34657. },
  34658. "preclose": {
  34659. "description": "昨收",
  34660. "type": "number"
  34661. },
  34662. "preholdvolume": {
  34663. "description": "昨持仓",
  34664. "type": "integer"
  34665. },
  34666. "presettle": {
  34667. "description": "昨结价",
  34668. "type": "number"
  34669. },
  34670. "publictradetype": {
  34671. "description": "公共交易标志类型 港股专用",
  34672. "type": "string"
  34673. },
  34674. "putoptionpremiums": {
  34675. "description": "认沽期权1",
  34676. "type": "integer"
  34677. },
  34678. "putoptionpremiums2": {
  34679. "description": "认沽期权2",
  34680. "type": "integer"
  34681. },
  34682. "putoptionpremiums3": {
  34683. "description": "认沽期权3",
  34684. "type": "integer"
  34685. },
  34686. "putoptionpremiums4": {
  34687. "description": "认沽期权4",
  34688. "type": "integer"
  34689. },
  34690. "putoptionpremiums5": {
  34691. "description": "认沽期权5",
  34692. "type": "integer"
  34693. },
  34694. "settle": {
  34695. "description": "结算价",
  34696. "type": "number"
  34697. },
  34698. "strikeprice": {
  34699. "description": "发行价",
  34700. "type": "number"
  34701. },
  34702. "totalaskvolume": {
  34703. "description": "内盘",
  34704. "type": "integer"
  34705. },
  34706. "totalbidvolume": {
  34707. "description": "外盘",
  34708. "type": "integer"
  34709. },
  34710. "totallot": {
  34711. "description": "总手数",
  34712. "type": "integer"
  34713. },
  34714. "totalturnover": {
  34715. "description": "总金额",
  34716. "type": "number"
  34717. },
  34718. "totalvolume": {
  34719. "description": "总量",
  34720. "type": "integer"
  34721. },
  34722. "utclasttime": {
  34723. "description": "utc的行情时间",
  34724. "type": "string"
  34725. }
  34726. }
  34727. },
  34728. "quote.QueryTSDataRsp": {
  34729. "type": "object",
  34730. "properties": {
  34731. "Count": {
  34732. "description": "交易日应有数据个数",
  34733. "type": "integer"
  34734. },
  34735. "decimalPlace": {
  34736. "description": "小数位",
  34737. "type": "integer"
  34738. },
  34739. "endTime": {
  34740. "description": "结束时间",
  34741. "type": "string"
  34742. },
  34743. "goodsCode": {
  34744. "description": "商品代码",
  34745. "type": "string"
  34746. },
  34747. "historyDatas": {
  34748. "description": "历史数据",
  34749. "type": "array",
  34750. "items": {
  34751. "$ref": "#/definitions/quote.HistoryData"
  34752. }
  34753. },
  34754. "outGoodsCode": {
  34755. "description": "外部商品代码",
  34756. "type": "string"
  34757. },
  34758. "preSettle": {
  34759. "description": "昨结价",
  34760. "type": "number"
  34761. },
  34762. "runSteps": {
  34763. "description": "交易日开休市计划",
  34764. "type": "array",
  34765. "items": {
  34766. "$ref": "#/definitions/quote.TSDataRunStep"
  34767. }
  34768. },
  34769. "startTime": {
  34770. "description": "开始时间",
  34771. "type": "string"
  34772. },
  34773. "tradeDate": {
  34774. "description": "交易日",
  34775. "type": "string"
  34776. }
  34777. }
  34778. },
  34779. "quote.TSDataRunStep": {
  34780. "type": "object",
  34781. "properties": {
  34782. "end": {
  34783. "description": "真实结束时间",
  34784. "type": "string"
  34785. },
  34786. "endflag": {
  34787. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  34788. "type": "integer"
  34789. },
  34790. "endtime": {
  34791. "description": "结束时间(HH:mm)",
  34792. "type": "string"
  34793. },
  34794. "endweekday": {
  34795. "description": "结束周几",
  34796. "type": "integer"
  34797. },
  34798. "groupid": {
  34799. "description": "分组ID",
  34800. "type": "integer"
  34801. },
  34802. "runstep": {
  34803. "description": "运行阶段 - 2:连续交易",
  34804. "type": "integer"
  34805. },
  34806. "sectionid": {
  34807. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  34808. "type": "integer"
  34809. },
  34810. "start": {
  34811. "description": "真实开始时间",
  34812. "type": "string"
  34813. },
  34814. "startflag": {
  34815. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  34816. "type": "integer"
  34817. },
  34818. "starttime": {
  34819. "description": "起始时间(HH:mm)",
  34820. "type": "string"
  34821. },
  34822. "startweekday": {
  34823. "description": "起始周几",
  34824. "type": "integer"
  34825. },
  34826. "tradeweekday": {
  34827. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  34828. "type": "integer"
  34829. }
  34830. }
  34831. },
  34832. "szdz.QueryConvertLogRsp": {
  34833. "type": "object",
  34834. "required": [
  34835. "logid"
  34836. ],
  34837. "properties": {
  34838. "accountid": {
  34839. "description": "资金账户ID",
  34840. "type": "integer"
  34841. },
  34842. "clientticket": {
  34843. "description": "客户端流水号",
  34844. "type": "string"
  34845. },
  34846. "converttype": {
  34847. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  34848. "type": "integer"
  34849. },
  34850. "createtime": {
  34851. "description": "记账时间",
  34852. "type": "string"
  34853. },
  34854. "daymaxvalue": {
  34855. "description": "配置当日最大转入限制",
  34856. "type": "number"
  34857. },
  34858. "daymaxvalue2": {
  34859. "description": "配置当日最大转入限制(转入)",
  34860. "type": "number"
  34861. },
  34862. "goodscode": {
  34863. "description": "商品代码",
  34864. "type": "string"
  34865. },
  34866. "goodsname": {
  34867. "description": "商品名称",
  34868. "type": "string"
  34869. },
  34870. "handlestatus": {
  34871. "description": "处理状态",
  34872. "type": "integer"
  34873. },
  34874. "innergoodsid": {
  34875. "description": "内部商品ID",
  34876. "type": "integer"
  34877. },
  34878. "inratio": {
  34879. "description": "配置转入比值",
  34880. "type": "integer"
  34881. },
  34882. "invalue": {
  34883. "description": "目标值",
  34884. "type": "number"
  34885. },
  34886. "logid": {
  34887. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34888. "type": "integer"
  34889. },
  34890. "mobile": {
  34891. "description": "手机号码(加密存储)",
  34892. "type": "string"
  34893. },
  34894. "outergoodscode": {
  34895. "description": "外部商品代码[JD\\PD]",
  34896. "type": "string"
  34897. },
  34898. "outratio": {
  34899. "description": "配置转出比值",
  34900. "type": "integer"
  34901. },
  34902. "outvalue": {
  34903. "description": "源值",
  34904. "type": "number"
  34905. },
  34906. "pddecimalplace": {
  34907. "description": "PD小数位",
  34908. "type": "integer"
  34909. },
  34910. "qty": {
  34911. "description": "数量",
  34912. "type": "string"
  34913. },
  34914. "remark": {
  34915. "description": "备注",
  34916. "type": "string"
  34917. },
  34918. "sessionid": {
  34919. "description": "会话ID",
  34920. "type": "integer"
  34921. },
  34922. "timemaxvalue": {
  34923. "description": "配置单次最大转入限制",
  34924. "type": "number"
  34925. },
  34926. "timemaxvalue2": {
  34927. "description": "配置单次最大转入限制(转入)",
  34928. "type": "number"
  34929. },
  34930. "timeminvalue": {
  34931. "description": "配置单次最小数量限制",
  34932. "type": "number"
  34933. },
  34934. "timeminvalue2": {
  34935. "description": "配置单次最小数量限制(转入)",
  34936. "type": "number"
  34937. },
  34938. "tradedate": {
  34939. "description": "交易日(yyyyMMdd)",
  34940. "type": "string"
  34941. },
  34942. "userid": {
  34943. "description": "用户ID",
  34944. "type": "integer"
  34945. }
  34946. }
  34947. },
  34948. "szdz.QueryGoodsPickupRsp": {
  34949. "type": "object",
  34950. "required": [
  34951. "takeorderid"
  34952. ],
  34953. "properties": {
  34954. "accountid": {
  34955. "description": "账户ID",
  34956. "type": "integer"
  34957. },
  34958. "address": {
  34959. "description": "提货人详细地址",
  34960. "type": "string"
  34961. },
  34962. "auditer": {
  34963. "description": "审核人",
  34964. "type": "integer"
  34965. },
  34966. "audittime": {
  34967. "description": "审核时间",
  34968. "type": "string"
  34969. },
  34970. "cardnum": {
  34971. "description": "提货人证件号码",
  34972. "type": "string"
  34973. },
  34974. "cardtypeid": {
  34975. "description": "提货人证件类型",
  34976. "type": "integer"
  34977. },
  34978. "checkremark": {
  34979. "description": "审核备注",
  34980. "type": "string"
  34981. },
  34982. "goodscode": {
  34983. "description": "商品代码",
  34984. "type": "string"
  34985. },
  34986. "goodsid": {
  34987. "description": "商品ID",
  34988. "type": "integer"
  34989. },
  34990. "goodsname": {
  34991. "description": "商品名称",
  34992. "type": "string"
  34993. },
  34994. "handlestatus": {
  34995. "description": "处理状态",
  34996. "type": "integer"
  34997. },
  34998. "marketid": {
  34999. "description": "市场ID",
  35000. "type": "integer"
  35001. },
  35002. "phonenum": {
  35003. "description": "提货人联系方式",
  35004. "type": "string"
  35005. },
  35006. "qty": {
  35007. "description": "提货数量",
  35008. "type": "number"
  35009. },
  35010. "recivername": {
  35011. "description": "提货人姓名",
  35012. "type": "string"
  35013. },
  35014. "reqtime": {
  35015. "description": "更新时间",
  35016. "type": "string"
  35017. },
  35018. "takemode": {
  35019. "description": "提货方式 - 2:自提 3:配送",
  35020. "type": "integer"
  35021. },
  35022. "takeorderid": {
  35023. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35024. "type": "string"
  35025. },
  35026. "takeorderstatus": {
  35027. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  35028. "type": "integer"
  35029. },
  35030. "takeremark": {
  35031. "description": "提货备注",
  35032. "type": "string"
  35033. },
  35034. "tradedate": {
  35035. "description": "交易日(yyyyMMdd)",
  35036. "type": "string"
  35037. },
  35038. "userid": {
  35039. "description": "用户ID",
  35040. "type": "integer"
  35041. }
  35042. }
  35043. },
  35044. "szdz.QueryRecieptOrderRsp": {
  35045. "type": "object",
  35046. "required": [
  35047. "ordertime"
  35048. ],
  35049. "properties": {
  35050. "accountName": {
  35051. "description": "所属账号名称(已脱敏)",
  35052. "type": "string"
  35053. },
  35054. "accountid": {
  35055. "description": "资金账号",
  35056. "type": "integer"
  35057. },
  35058. "buyorsell": {
  35059. "description": "方向 - 0:买 1:卖",
  35060. "type": "integer"
  35061. },
  35062. "enableqty": {
  35063. "description": "可摘数量",
  35064. "type": "integer"
  35065. },
  35066. "goodscode": {
  35067. "description": "商品代码",
  35068. "type": "string"
  35069. },
  35070. "goodsid": {
  35071. "description": "商品ID",
  35072. "type": "integer"
  35073. },
  35074. "goodsname": {
  35075. "description": "商品名称",
  35076. "type": "string"
  35077. },
  35078. "orderid": {
  35079. "description": "委托单号",
  35080. "type": "string"
  35081. },
  35082. "orderprice": {
  35083. "description": "委托价格",
  35084. "type": "number"
  35085. },
  35086. "ordertime": {
  35087. "description": "委托时间",
  35088. "type": "string"
  35089. },
  35090. "tradedate": {
  35091. "description": "交易日(yyyyMMdd)",
  35092. "type": "string"
  35093. }
  35094. }
  35095. },
  35096. "szdz.QuerySZDZTradePositionRsp": {
  35097. "type": "object",
  35098. "properties": {
  35099. "accountid": {
  35100. "description": "账号Id",
  35101. "type": "integer"
  35102. },
  35103. "agreeunit": {
  35104. "description": "合约单位",
  35105. "type": "number"
  35106. },
  35107. "averageprice": {
  35108. "description": "持仓均价",
  35109. "type": "number"
  35110. },
  35111. "buyorsell": {
  35112. "description": "方向 - 0:买 1:卖",
  35113. "type": "integer"
  35114. },
  35115. "closetotalqty": {
  35116. "description": "平仓总数量",
  35117. "type": "integer"
  35118. },
  35119. "curholderamount": {
  35120. "description": "当前持仓总金额",
  35121. "type": "number"
  35122. },
  35123. "curpositionqty": {
  35124. "description": "当前持仓总数量",
  35125. "type": "integer"
  35126. },
  35127. "currencyid": {
  35128. "description": "报价货币ID",
  35129. "type": "integer"
  35130. },
  35131. "curtdposition": {
  35132. "description": "期末今日头寸",
  35133. "type": "integer"
  35134. },
  35135. "decimalplace": {
  35136. "description": "报价小数位",
  35137. "type": "integer"
  35138. },
  35139. "enableqty": {
  35140. "description": "可用量",
  35141. "type": "integer"
  35142. },
  35143. "fretdposition": {
  35144. "description": "冻结今日头寸",
  35145. "type": "integer"
  35146. },
  35147. "frozenqty": {
  35148. "description": "持仓冻结数量",
  35149. "type": "integer"
  35150. },
  35151. "goodscode": {
  35152. "description": "商品代码(内部)",
  35153. "type": "string"
  35154. },
  35155. "goodsid": {
  35156. "description": "商品Id",
  35157. "type": "integer"
  35158. },
  35159. "goodsname": {
  35160. "description": "商品名称",
  35161. "type": "string"
  35162. },
  35163. "goodunit": {
  35164. "description": "报价单位",
  35165. "type": "string"
  35166. },
  35167. "goodunitid": {
  35168. "description": "报价单位ID",
  35169. "type": "integer"
  35170. },
  35171. "holderamount": {
  35172. "description": "期初持仓总金额",
  35173. "type": "number"
  35174. },
  35175. "marketid": {
  35176. "description": "市场ID",
  35177. "type": "integer"
  35178. },
  35179. "openreqqty": {
  35180. "description": "开仓申请数量",
  35181. "type": "integer"
  35182. },
  35183. "opentotalqty": {
  35184. "description": "开仓总数量",
  35185. "type": "integer"
  35186. },
  35187. "otherfrozenqty": {
  35188. "description": "持仓其他冻结数量(交割冻结)",
  35189. "type": "integer"
  35190. },
  35191. "positionqty": {
  35192. "description": "期初持仓数量",
  35193. "type": "integer"
  35194. },
  35195. "szdz3freezqty": {
  35196. "description": "尚志大宗转换冻结总数量",
  35197. "type": "integer"
  35198. },
  35199. "tnqty": {
  35200. "description": "T+N冻结总量",
  35201. "type": "integer"
  35202. },
  35203. "tnusedqty": {
  35204. "description": "T+N使用量",
  35205. "type": "integer"
  35206. },
  35207. "trademode": {
  35208. "description": "交易模式",
  35209. "type": "integer"
  35210. },
  35211. "usedmargin": {
  35212. "description": "占用保证金",
  35213. "type": "number"
  35214. }
  35215. }
  35216. },
  35217. "taaccount.QueryAmountLogRsp": {
  35218. "type": "object",
  35219. "required": [
  35220. "accountid",
  35221. "amount",
  35222. "amountadjusttype",
  35223. "autoid",
  35224. "balance",
  35225. "createtime",
  35226. "currentbalance",
  35227. "operatetype"
  35228. ],
  35229. "properties": {
  35230. "OPERATETYPENAME": {
  35231. "description": "资金操作类型名称",
  35232. "type": "string"
  35233. },
  35234. "accountid": {
  35235. "description": "资金账户ID",
  35236. "type": "integer"
  35237. },
  35238. "agoodscode": {
  35239. "description": "竞拍商品代码",
  35240. "type": "string"
  35241. },
  35242. "agoodsname": {
  35243. "description": "竞拍商品名称",
  35244. "type": "string"
  35245. },
  35246. "amount": {
  35247. "description": "资金金额",
  35248. "type": "number"
  35249. },
  35250. "amountadjusttype": {
  35251. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  35252. "type": "integer"
  35253. },
  35254. "autoid": {
  35255. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  35256. "type": "integer"
  35257. },
  35258. "balance": {
  35259. "description": "期初余额",
  35260. "type": "number"
  35261. },
  35262. "businesscode": {
  35263. "description": "业务编号",
  35264. "type": "integer"
  35265. },
  35266. "createtime": {
  35267. "description": "发生时间",
  35268. "type": "string"
  35269. },
  35270. "currencyid": {
  35271. "description": "币种ID",
  35272. "type": "integer"
  35273. },
  35274. "currentbalance": {
  35275. "description": "期末余额(变动后金额)",
  35276. "type": "number"
  35277. },
  35278. "dgoodscode": {
  35279. "description": "交割商品代码",
  35280. "type": "string"
  35281. },
  35282. "dgoodsname": {
  35283. "description": "交割商品名称",
  35284. "type": "string"
  35285. },
  35286. "goodscode": {
  35287. "description": "商品代码",
  35288. "type": "string"
  35289. },
  35290. "goodsid": {
  35291. "description": "商品ID",
  35292. "type": "integer"
  35293. },
  35294. "goodsname": {
  35295. "description": "商品名称",
  35296. "type": "string"
  35297. },
  35298. "marketid": {
  35299. "description": "市场ID",
  35300. "type": "integer"
  35301. },
  35302. "marketname": {
  35303. "description": "市场名称",
  35304. "type": "string"
  35305. },
  35306. "moneyticket": {
  35307. "description": "资金流水号:银行端流水号",
  35308. "type": "integer"
  35309. },
  35310. "operatetype": {
  35311. "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:营销收款",
  35312. "type": "integer"
  35313. },
  35314. "relationorderid": {
  35315. "description": "关联单号",
  35316. "type": "string"
  35317. },
  35318. "remark": {
  35319. "description": "备注",
  35320. "type": "string"
  35321. },
  35322. "trademode": {
  35323. "description": "交易模式",
  35324. "type": "integer"
  35325. }
  35326. }
  35327. },
  35328. "taaccount.QueryHisAmountLogRsp": {
  35329. "type": "object",
  35330. "required": [
  35331. "accountid",
  35332. "amount",
  35333. "amountadjusttype",
  35334. "autoid",
  35335. "balance",
  35336. "createtime",
  35337. "currentbalance",
  35338. "histradedate",
  35339. "operatetype"
  35340. ],
  35341. "properties": {
  35342. "OPERATETYPENAME": {
  35343. "description": "资金操作类型名称",
  35344. "type": "string"
  35345. },
  35346. "accountid": {
  35347. "description": "资金账户ID",
  35348. "type": "integer"
  35349. },
  35350. "agoodscode": {
  35351. "description": "竞拍商品代码",
  35352. "type": "string"
  35353. },
  35354. "agoodsname": {
  35355. "description": "竞拍商品名称",
  35356. "type": "string"
  35357. },
  35358. "amount": {
  35359. "description": "资金金额",
  35360. "type": "number"
  35361. },
  35362. "amountadjusttype": {
  35363. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  35364. "type": "integer"
  35365. },
  35366. "autoid": {
  35367. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  35368. "type": "integer"
  35369. },
  35370. "balance": {
  35371. "description": "期初余额",
  35372. "type": "number"
  35373. },
  35374. "businesscode": {
  35375. "description": "业务编号",
  35376. "type": "integer"
  35377. },
  35378. "createtime": {
  35379. "description": "发生时间",
  35380. "type": "string"
  35381. },
  35382. "currencyid": {
  35383. "description": "币种ID",
  35384. "type": "integer"
  35385. },
  35386. "currentbalance": {
  35387. "description": "期末余额(变动后金额)",
  35388. "type": "number"
  35389. },
  35390. "dgoodscode": {
  35391. "description": "交割商品代码",
  35392. "type": "string"
  35393. },
  35394. "dgoodsname": {
  35395. "description": "交割商品名称",
  35396. "type": "string"
  35397. },
  35398. "goodscode": {
  35399. "description": "商品代码",
  35400. "type": "string"
  35401. },
  35402. "goodsid": {
  35403. "description": "商品ID",
  35404. "type": "integer"
  35405. },
  35406. "goodsname": {
  35407. "description": "商品名称",
  35408. "type": "string"
  35409. },
  35410. "histradedate": {
  35411. "description": "历史交易日",
  35412. "type": "string"
  35413. },
  35414. "isvaliddata": {
  35415. "description": "是否有效 - 0:无效 1:有效",
  35416. "type": "integer"
  35417. },
  35418. "marketid": {
  35419. "description": "市场ID",
  35420. "type": "integer"
  35421. },
  35422. "marketname": {
  35423. "description": "市场名称",
  35424. "type": "string"
  35425. },
  35426. "moneyticket": {
  35427. "description": "资金流水号:银行端流水号",
  35428. "type": "integer"
  35429. },
  35430. "operatetype": {
  35431. "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:营销收款",
  35432. "type": "integer"
  35433. },
  35434. "relationorderid": {
  35435. "description": "关联单号",
  35436. "type": "string"
  35437. },
  35438. "remark": {
  35439. "description": "备注",
  35440. "type": "string"
  35441. },
  35442. "trademode": {
  35443. "description": "交易模式",
  35444. "type": "integer"
  35445. }
  35446. }
  35447. },
  35448. "trade.QueryRecieptOrderRsp": {
  35449. "type": "object",
  35450. "required": [
  35451. "ordertime"
  35452. ],
  35453. "properties": {
  35454. "accountName": {
  35455. "description": "所属账号名称(已脱敏)",
  35456. "type": "string"
  35457. },
  35458. "accountid": {
  35459. "description": "资金账号",
  35460. "type": "integer"
  35461. },
  35462. "buyorsell": {
  35463. "description": "方向 - 0:买 1:卖",
  35464. "type": "integer"
  35465. },
  35466. "enableqty": {
  35467. "description": "可摘数量",
  35468. "type": "integer"
  35469. },
  35470. "goodscode": {
  35471. "description": "商品代码",
  35472. "type": "string"
  35473. },
  35474. "goodsid": {
  35475. "description": "商品ID",
  35476. "type": "integer"
  35477. },
  35478. "goodsname": {
  35479. "description": "商品名称",
  35480. "type": "string"
  35481. },
  35482. "orderid": {
  35483. "description": "委托单号",
  35484. "type": "string"
  35485. },
  35486. "orderprice": {
  35487. "description": "委托价格",
  35488. "type": "number"
  35489. },
  35490. "ordertime": {
  35491. "description": "委托时间",
  35492. "type": "string"
  35493. },
  35494. "tradedate": {
  35495. "description": "交易日(yyyyMMdd)",
  35496. "type": "string"
  35497. }
  35498. }
  35499. },
  35500. "user.LoginQueryRsp": {
  35501. "type": "object",
  35502. "properties": {
  35503. "areaRoles": {
  35504. "description": "所属角色信息",
  35505. "type": "array",
  35506. "items": {
  35507. "$ref": "#/definitions/models.Arearole"
  35508. }
  35509. },
  35510. "externalExchanges": {
  35511. "description": "外部交易所",
  35512. "type": "array",
  35513. "items": {
  35514. "$ref": "#/definitions/models.Externalexchange"
  35515. }
  35516. },
  35517. "goodsgroups": {
  35518. "description": "商品组",
  35519. "type": "array",
  35520. "items": {
  35521. "$ref": "#/definitions/models.Goodsgroup"
  35522. }
  35523. },
  35524. "loginAccount": {
  35525. "description": "登录账号",
  35526. "type": "object",
  35527. "$ref": "#/definitions/models.Loginaccount"
  35528. },
  35529. "markets": {
  35530. "description": "市场",
  35531. "type": "array",
  35532. "items": {
  35533. "$ref": "#/definitions/models.Market"
  35534. }
  35535. },
  35536. "systemParams": {
  35537. "description": "系统参数",
  35538. "type": "array",
  35539. "items": {
  35540. "$ref": "#/definitions/models.Systemparam"
  35541. }
  35542. },
  35543. "userAccount": {
  35544. "description": "用户账号",
  35545. "type": "object",
  35546. "$ref": "#/definitions/models.Useraccount"
  35547. },
  35548. "userInfo": {
  35549. "description": "用户信息",
  35550. "type": "object",
  35551. "$ref": "#/definitions/models.Userinfo"
  35552. },
  35553. "username": {
  35554. "description": "用户姓名",
  35555. "type": "string"
  35556. }
  35557. }
  35558. }
  35559. },
  35560. "securityDefinitions": {
  35561. "ApiKeyAuth": {
  35562. "type": "apiKey",
  35563. "name": "Authorization",
  35564. "in": "header"
  35565. }
  35566. }
  35567. }`
  35568. type swaggerInfo struct {
  35569. Version string
  35570. Host string
  35571. BasePath string
  35572. Schemes []string
  35573. Title string
  35574. Description string
  35575. }
  35576. // SwaggerInfo holds exported Swagger Info so clients can modify it
  35577. var SwaggerInfo = swaggerInfo{
  35578. Version: "1.0",
  35579. Host: "",
  35580. BasePath: "/api",
  35581. Schemes: []string{},
  35582. Title: "MTP2.0 查询服务 API",
  35583. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  35584. }
  35585. type s struct{}
  35586. func (s *s) ReadDoc() string {
  35587. sInfo := SwaggerInfo
  35588. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  35589. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  35590. "marshal": func(v interface{}) string {
  35591. a, _ := json.Marshal(v)
  35592. return string(a)
  35593. },
  35594. }).Parse(doc)
  35595. if err != nil {
  35596. return doc
  35597. }
  35598. var tpl bytes.Buffer
  35599. if err := t.Execute(&tpl, sInfo); err != nil {
  35600. return doc
  35601. }
  35602. return tpl.String()
  35603. }
  35604. func init() {
  35605. swag.Register(swag.Name, &s{})
  35606. }