docs.go 1.3 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313
  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. "type": "integer",
  11099. "description": "仓单要素id",
  11100. "name": "wrfactortypeid",
  11101. "in": "query"
  11102. }
  11103. ],
  11104. "responses": {
  11105. "200": {
  11106. "description": "OK",
  11107. "schema": {
  11108. "type": "array",
  11109. "items": {
  11110. "$ref": "#/definitions/models.WrHoldLB"
  11111. }
  11112. }
  11113. },
  11114. "500": {
  11115. "description": "Internal Server Error",
  11116. "schema": {
  11117. "$ref": "#/definitions/app.Response"
  11118. }
  11119. }
  11120. }
  11121. }
  11122. },
  11123. "/WrTrade2/QueryOrderQuote": {
  11124. "get": {
  11125. "security": [
  11126. {
  11127. "ApiKeyAuth": []
  11128. }
  11129. ],
  11130. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11131. "produces": [
  11132. "application/json"
  11133. ],
  11134. "tags": [
  11135. "仓单贸易v2"
  11136. ],
  11137. "summary": "查询大厅行情列表",
  11138. "parameters": [
  11139. {
  11140. "type": "integer",
  11141. "description": "页码",
  11142. "name": "page",
  11143. "in": "query"
  11144. },
  11145. {
  11146. "type": "integer",
  11147. "description": "每页条数",
  11148. "name": "pagesize",
  11149. "in": "query"
  11150. },
  11151. {
  11152. "type": "integer",
  11153. "description": "仓单贸易市场id",
  11154. "name": "marketid",
  11155. "in": "query"
  11156. },
  11157. {
  11158. "type": "integer",
  11159. "description": "价格方式 - 1:固定价 2-浮动价",
  11160. "name": "wrpricetype",
  11161. "in": "query",
  11162. "required": true
  11163. },
  11164. {
  11165. "type": "integer",
  11166. "description": "0:仓单预售 1:仓单贸易",
  11167. "name": "haswr",
  11168. "in": "query",
  11169. "required": true
  11170. },
  11171. {
  11172. "type": "string",
  11173. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11174. "name": "dgitemname",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "integer",
  11179. "description": "仓库id(筛选条件)",
  11180. "name": "warehouseid",
  11181. "in": "query"
  11182. },
  11183. {
  11184. "type": "integer",
  11185. "description": "品种id",
  11186. "name": "deliverygoodsid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "integer",
  11191. "description": "品类id",
  11192. "name": "wrstandardid",
  11193. "in": "query"
  11194. },
  11195. {
  11196. "type": "integer",
  11197. "description": "仓单要素id",
  11198. "name": "wrfactortypeid",
  11199. "in": "query"
  11200. },
  11201. {
  11202. "type": "string",
  11203. "description": "交收月(yyyy-mm) 仓单预售填写",
  11204. "name": "deliverymonth",
  11205. "in": "query"
  11206. }
  11207. ],
  11208. "responses": {
  11209. "200": {
  11210. "description": "OK",
  11211. "schema": {
  11212. "type": "array",
  11213. "items": {
  11214. "$ref": "#/definitions/models.WrOrderQuote"
  11215. }
  11216. }
  11217. },
  11218. "500": {
  11219. "description": "Internal Server Error",
  11220. "schema": {
  11221. "$ref": "#/definitions/app.Response"
  11222. }
  11223. }
  11224. }
  11225. }
  11226. },
  11227. "/WrTrade2/QueryOrderQuoteDetail": {
  11228. "get": {
  11229. "security": [
  11230. {
  11231. "ApiKeyAuth": []
  11232. }
  11233. ],
  11234. "produces": [
  11235. "application/json"
  11236. ],
  11237. "tags": [
  11238. "仓单贸易v2"
  11239. ],
  11240. "summary": "查询买卖大厅",
  11241. "parameters": [
  11242. {
  11243. "type": "integer",
  11244. "description": "页码",
  11245. "name": "page",
  11246. "in": "query"
  11247. },
  11248. {
  11249. "type": "integer",
  11250. "description": "每页条数",
  11251. "name": "pagesize",
  11252. "in": "query"
  11253. },
  11254. {
  11255. "type": "integer",
  11256. "description": "仓单贸易市场id",
  11257. "name": "marketid",
  11258. "in": "query"
  11259. },
  11260. {
  11261. "type": "integer",
  11262. "description": "价格方式 - 1:固定价 2-浮动价",
  11263. "name": "wrpricetype",
  11264. "in": "query",
  11265. "required": true
  11266. },
  11267. {
  11268. "type": "integer",
  11269. "description": "0:仓单预售 1:仓单贸易",
  11270. "name": "haswr",
  11271. "in": "query",
  11272. "required": true
  11273. },
  11274. {
  11275. "type": "integer",
  11276. "description": "仓单要素id",
  11277. "name": "wrfactortypeid",
  11278. "in": "query",
  11279. "required": true
  11280. },
  11281. {
  11282. "type": "integer",
  11283. "description": "期货商品id(浮动价方式时填)",
  11284. "name": "goodsid",
  11285. "in": "query"
  11286. },
  11287. {
  11288. "type": "integer",
  11289. "description": "买卖方向 0-买 1-卖",
  11290. "name": "buyorsell",
  11291. "in": "query",
  11292. "required": true
  11293. },
  11294. {
  11295. "type": "string",
  11296. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11297. "name": "deliverymonth",
  11298. "in": "query"
  11299. }
  11300. ],
  11301. "responses": {
  11302. "200": {
  11303. "description": "OK",
  11304. "schema": {
  11305. "type": "array",
  11306. "items": {
  11307. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11308. }
  11309. }
  11310. },
  11311. "500": {
  11312. "description": "Internal Server Error",
  11313. "schema": {
  11314. "$ref": "#/definitions/app.Response"
  11315. }
  11316. }
  11317. }
  11318. }
  11319. },
  11320. "/WrTrade2/QueryOrderQuoteMyq": {
  11321. "get": {
  11322. "security": [
  11323. {
  11324. "ApiKeyAuth": []
  11325. }
  11326. ],
  11327. "produces": [
  11328. "application/json"
  11329. ],
  11330. "tags": [
  11331. "仓单贸易v2"
  11332. ],
  11333. "summary": "查询贸易圈挂牌大厅",
  11334. "parameters": [
  11335. {
  11336. "type": "integer",
  11337. "description": "页码",
  11338. "name": "page",
  11339. "in": "query"
  11340. },
  11341. {
  11342. "type": "integer",
  11343. "description": "每页条数",
  11344. "name": "pagesize",
  11345. "in": "query"
  11346. },
  11347. {
  11348. "type": "integer",
  11349. "description": "用户id",
  11350. "name": "userid",
  11351. "in": "query",
  11352. "required": true
  11353. },
  11354. {
  11355. "type": "integer",
  11356. "description": "仓单贸易市场id",
  11357. "name": "marketid",
  11358. "in": "query"
  11359. },
  11360. {
  11361. "type": "integer",
  11362. "description": "0:仓单预售 1:仓单贸易",
  11363. "name": "haswr",
  11364. "in": "query",
  11365. "required": true
  11366. },
  11367. {
  11368. "type": "integer",
  11369. "description": "买卖方向 0-买 1-卖",
  11370. "name": "buyorsell",
  11371. "in": "query",
  11372. "required": true
  11373. },
  11374. {
  11375. "type": "integer",
  11376. "description": "品种id",
  11377. "name": "deliverygoodsid",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "integer",
  11382. "description": "品类id",
  11383. "name": "wrstandardid",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "string",
  11388. "description": "交收月(yyyy-mm) 仓单预售填写",
  11389. "name": "deliverymonth",
  11390. "in": "query"
  11391. },
  11392. {
  11393. "type": "string",
  11394. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11395. "name": "dgitemname",
  11396. "in": "query"
  11397. }
  11398. ],
  11399. "responses": {
  11400. "200": {
  11401. "description": "OK",
  11402. "schema": {
  11403. "type": "array",
  11404. "items": {
  11405. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11406. }
  11407. }
  11408. },
  11409. "500": {
  11410. "description": "Internal Server Error",
  11411. "schema": {
  11412. "$ref": "#/definitions/app.Response"
  11413. }
  11414. }
  11415. }
  11416. }
  11417. },
  11418. "/WrTrade2/QueryPerformancePlan": {
  11419. "get": {
  11420. "security": [
  11421. {
  11422. "ApiKeyAuth": []
  11423. }
  11424. ],
  11425. "produces": [
  11426. "application/json"
  11427. ],
  11428. "tags": [
  11429. "仓单贸易v2"
  11430. ],
  11431. "summary": "查询履约信息",
  11432. "parameters": [
  11433. {
  11434. "type": "integer",
  11435. "description": "用户id",
  11436. "name": "userid",
  11437. "in": "query",
  11438. "required": true
  11439. },
  11440. {
  11441. "type": "integer",
  11442. "description": "买卖方向 0-买 1-卖",
  11443. "name": "buyorsell",
  11444. "in": "query",
  11445. "required": true
  11446. }
  11447. ],
  11448. "responses": {
  11449. "200": {
  11450. "description": "OK",
  11451. "schema": {
  11452. "type": "array",
  11453. "items": {
  11454. "$ref": "#/definitions/models.WrPerformancePlan"
  11455. }
  11456. }
  11457. },
  11458. "500": {
  11459. "description": "Internal Server Error",
  11460. "schema": {
  11461. "$ref": "#/definitions/app.Response"
  11462. }
  11463. }
  11464. }
  11465. }
  11466. },
  11467. "/WrTrade2/QueryPermancePlanTmp": {
  11468. "get": {
  11469. "security": [
  11470. {
  11471. "ApiKeyAuth": []
  11472. }
  11473. ],
  11474. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11475. "produces": [
  11476. "application/json"
  11477. ],
  11478. "tags": [
  11479. "仓单贸易v2"
  11480. ],
  11481. "summary": "查询履约模板",
  11482. "parameters": [
  11483. {
  11484. "type": "integer",
  11485. "description": "用户id",
  11486. "name": "userid",
  11487. "in": "query"
  11488. },
  11489. {
  11490. "type": "string",
  11491. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11492. "name": "tmptype",
  11493. "in": "query"
  11494. },
  11495. {
  11496. "type": "integer",
  11497. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11498. "name": "includepub",
  11499. "in": "query"
  11500. }
  11501. ],
  11502. "responses": {
  11503. "200": {
  11504. "description": "OK",
  11505. "schema": {
  11506. "type": "array",
  11507. "items": {
  11508. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11509. }
  11510. }
  11511. },
  11512. "500": {
  11513. "description": "Internal Server Error",
  11514. "schema": {
  11515. "$ref": "#/definitions/app.Response"
  11516. }
  11517. }
  11518. }
  11519. }
  11520. },
  11521. "/WrTrade2/QueryWrAverageTradePrice": {
  11522. "get": {
  11523. "security": [
  11524. {
  11525. "ApiKeyAuth": []
  11526. }
  11527. ],
  11528. "produces": [
  11529. "application/json"
  11530. ],
  11531. "tags": [
  11532. "仓单贸易v2"
  11533. ],
  11534. "summary": "查询成交价(历史走势)",
  11535. "parameters": [
  11536. {
  11537. "type": "integer",
  11538. "description": "页码",
  11539. "name": "page",
  11540. "in": "query"
  11541. },
  11542. {
  11543. "type": "integer",
  11544. "description": "每页条数",
  11545. "name": "pagesize",
  11546. "in": "query"
  11547. },
  11548. {
  11549. "type": "integer",
  11550. "description": "0:仓单预售 1:仓单贸易",
  11551. "name": "haswr",
  11552. "in": "query",
  11553. "required": true
  11554. },
  11555. {
  11556. "type": "integer",
  11557. "description": "仓单要素id",
  11558. "name": "wrfactortypeid",
  11559. "in": "query",
  11560. "required": true
  11561. }
  11562. ],
  11563. "responses": {
  11564. "200": {
  11565. "description": "OK",
  11566. "schema": {
  11567. "type": "array",
  11568. "items": {
  11569. "$ref": "#/definitions/models.WrAverageTradePrice"
  11570. }
  11571. }
  11572. },
  11573. "500": {
  11574. "description": "Internal Server Error",
  11575. "schema": {
  11576. "$ref": "#/definitions/app.Response"
  11577. }
  11578. }
  11579. }
  11580. }
  11581. },
  11582. "/WrTrade2/QueryWrBsGoodsInfo": {
  11583. "get": {
  11584. "security": [
  11585. {
  11586. "ApiKeyAuth": []
  11587. }
  11588. ],
  11589. "description": "合约交易/买卖大厅/详情",
  11590. "produces": [
  11591. "application/json"
  11592. ],
  11593. "tags": [
  11594. "仓单贸易v2"
  11595. ],
  11596. "summary": "查询合约交易买卖大厅详情",
  11597. "parameters": [
  11598. {
  11599. "type": "integer",
  11600. "description": "商品id",
  11601. "name": "goodsid",
  11602. "in": "query",
  11603. "required": true
  11604. }
  11605. ],
  11606. "responses": {
  11607. "200": {
  11608. "description": "OK",
  11609. "schema": {
  11610. "type": "array",
  11611. "items": {
  11612. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11613. }
  11614. }
  11615. },
  11616. "500": {
  11617. "description": "Internal Server Error",
  11618. "schema": {
  11619. "$ref": "#/definitions/app.Response"
  11620. }
  11621. }
  11622. }
  11623. }
  11624. },
  11625. "/WrTrade2/QueryWrBuybackDetail": {
  11626. "get": {
  11627. "security": [
  11628. {
  11629. "ApiKeyAuth": []
  11630. }
  11631. ],
  11632. "produces": [
  11633. "application/json"
  11634. ],
  11635. "tags": [
  11636. "仓单贸易v2"
  11637. ],
  11638. "summary": "查询仓单回购明细",
  11639. "parameters": [
  11640. {
  11641. "type": "integer",
  11642. "description": "融资合同id",
  11643. "name": "scfcontractid",
  11644. "in": "query"
  11645. }
  11646. ],
  11647. "responses": {
  11648. "200": {
  11649. "description": "OK",
  11650. "schema": {
  11651. "type": "array",
  11652. "items": {
  11653. "$ref": "#/definitions/models.WrBuybackDetail"
  11654. }
  11655. }
  11656. },
  11657. "500": {
  11658. "description": "Internal Server Error",
  11659. "schema": {
  11660. "$ref": "#/definitions/app.Response"
  11661. }
  11662. }
  11663. }
  11664. }
  11665. },
  11666. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  11667. "get": {
  11668. "security": [
  11669. {
  11670. "ApiKeyAuth": []
  11671. }
  11672. ],
  11673. "produces": [
  11674. "application/json"
  11675. ],
  11676. "tags": [
  11677. "仓单贸易v2"
  11678. ],
  11679. "summary": "查询合约交收可点选仓单",
  11680. "parameters": [
  11681. {
  11682. "type": "integer",
  11683. "description": "资金账号",
  11684. "name": "accountid",
  11685. "in": "query",
  11686. "required": true
  11687. },
  11688. {
  11689. "type": "integer",
  11690. "description": "商品id",
  11691. "name": "goodsid",
  11692. "in": "query",
  11693. "required": true
  11694. }
  11695. ],
  11696. "responses": {
  11697. "200": {
  11698. "description": "OK",
  11699. "schema": {
  11700. "type": "array",
  11701. "items": {
  11702. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  11703. }
  11704. }
  11705. },
  11706. "500": {
  11707. "description": "Internal Server Error",
  11708. "schema": {
  11709. "$ref": "#/definitions/app.Response"
  11710. }
  11711. }
  11712. }
  11713. }
  11714. },
  11715. "/WrTrade2/QueryWrDeliveryDetail": {
  11716. "get": {
  11717. "security": [
  11718. {
  11719. "ApiKeyAuth": []
  11720. }
  11721. ],
  11722. "produces": [
  11723. "application/json"
  11724. ],
  11725. "tags": [
  11726. "仓单贸易v2"
  11727. ],
  11728. "summary": "查询交收",
  11729. "parameters": [
  11730. {
  11731. "type": "integer",
  11732. "description": "用户id",
  11733. "name": "userid",
  11734. "in": "query",
  11735. "required": true
  11736. },
  11737. {
  11738. "type": "integer",
  11739. "description": "资金账号id",
  11740. "name": "accountid",
  11741. "in": "query"
  11742. }
  11743. ],
  11744. "responses": {
  11745. "200": {
  11746. "description": "OK",
  11747. "schema": {
  11748. "type": "array",
  11749. "items": {
  11750. "$ref": "#/definitions/models.WrDeliveryDetail"
  11751. }
  11752. }
  11753. },
  11754. "500": {
  11755. "description": "Internal Server Error",
  11756. "schema": {
  11757. "$ref": "#/definitions/app.Response"
  11758. }
  11759. }
  11760. }
  11761. }
  11762. },
  11763. "/WrTrade2/QueryWrFactorTypeInfo": {
  11764. "get": {
  11765. "security": [
  11766. {
  11767. "ApiKeyAuth": []
  11768. }
  11769. ],
  11770. "produces": [
  11771. "application/json"
  11772. ],
  11773. "tags": [
  11774. "仓单贸易v2"
  11775. ],
  11776. "summary": "查询仓单要素详细信息",
  11777. "parameters": [
  11778. {
  11779. "type": "integer",
  11780. "description": "仓单要素id",
  11781. "name": "wrfactortypeid",
  11782. "in": "query",
  11783. "required": true
  11784. }
  11785. ],
  11786. "responses": {
  11787. "200": {
  11788. "description": "OK",
  11789. "schema": {
  11790. "type": "array",
  11791. "items": {
  11792. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11793. }
  11794. }
  11795. },
  11796. "500": {
  11797. "description": "Internal Server Error",
  11798. "schema": {
  11799. "$ref": "#/definitions/app.Response"
  11800. }
  11801. }
  11802. }
  11803. }
  11804. },
  11805. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11806. "get": {
  11807. "security": [
  11808. {
  11809. "ApiKeyAuth": []
  11810. }
  11811. ],
  11812. "produces": [
  11813. "application/json"
  11814. ],
  11815. "tags": [
  11816. "仓单贸易v2"
  11817. ],
  11818. "summary": "查询仓单要素详细信息列表项",
  11819. "parameters": [
  11820. {
  11821. "type": "integer",
  11822. "description": "仓单要素id",
  11823. "name": "wrfactortypeid",
  11824. "in": "query",
  11825. "required": true
  11826. }
  11827. ],
  11828. "responses": {
  11829. "200": {
  11830. "description": "OK",
  11831. "schema": {
  11832. "type": "array",
  11833. "items": {
  11834. "$ref": "#/definitions/models.WrTypeItem"
  11835. }
  11836. }
  11837. },
  11838. "500": {
  11839. "description": "Internal Server Error",
  11840. "schema": {
  11841. "$ref": "#/definitions/app.Response"
  11842. }
  11843. }
  11844. }
  11845. }
  11846. },
  11847. "/WrTrade2/QueryWrFinanceBuyApply": {
  11848. "get": {
  11849. "security": [
  11850. {
  11851. "ApiKeyAuth": []
  11852. }
  11853. ],
  11854. "description": "页面 融资信息+ / 申请单",
  11855. "produces": [
  11856. "application/json"
  11857. ],
  11858. "tags": [
  11859. "仓单贸易v2"
  11860. ],
  11861. "summary": "查询融资购买申请",
  11862. "parameters": [
  11863. {
  11864. "type": "integer",
  11865. "description": "用户id",
  11866. "name": "userid",
  11867. "in": "query",
  11868. "required": true
  11869. }
  11870. ],
  11871. "responses": {
  11872. "200": {
  11873. "description": "OK",
  11874. "schema": {
  11875. "type": "array",
  11876. "items": {
  11877. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11878. }
  11879. }
  11880. },
  11881. "500": {
  11882. "description": "Internal Server Error",
  11883. "schema": {
  11884. "$ref": "#/definitions/app.Response"
  11885. }
  11886. }
  11887. }
  11888. }
  11889. },
  11890. "/WrTrade2/QueryWrFriendApply": {
  11891. "get": {
  11892. "security": [
  11893. {
  11894. "ApiKeyAuth": []
  11895. }
  11896. ],
  11897. "produces": [
  11898. "application/json"
  11899. ],
  11900. "tags": [
  11901. "仓单贸易v2"
  11902. ],
  11903. "summary": "查询好友申请记录",
  11904. "parameters": [
  11905. {
  11906. "type": "integer",
  11907. "description": "用户id",
  11908. "name": "userid",
  11909. "in": "query",
  11910. "required": true
  11911. }
  11912. ],
  11913. "responses": {
  11914. "200": {
  11915. "description": "OK",
  11916. "schema": {
  11917. "type": "array",
  11918. "items": {
  11919. "$ref": "#/definitions/models.WrFriendApply"
  11920. }
  11921. }
  11922. },
  11923. "500": {
  11924. "description": "Internal Server Error",
  11925. "schema": {
  11926. "$ref": "#/definitions/app.Response"
  11927. }
  11928. }
  11929. }
  11930. }
  11931. },
  11932. "/WrTrade2/QueryWrGoodsInfo": {
  11933. "get": {
  11934. "security": [
  11935. {
  11936. "ApiKeyAuth": []
  11937. }
  11938. ],
  11939. "produces": [
  11940. "application/json"
  11941. ],
  11942. "tags": [
  11943. "仓单贸易v2"
  11944. ],
  11945. "summary": "查询仓单商品信息",
  11946. "parameters": [
  11947. {
  11948. "type": "integer",
  11949. "description": "仓单贸易市场id",
  11950. "name": "marketid",
  11951. "in": "query"
  11952. },
  11953. {
  11954. "type": "integer",
  11955. "description": "0:仓单预售 1:仓单贸易",
  11956. "name": "haswr",
  11957. "in": "query",
  11958. "required": true
  11959. },
  11960. {
  11961. "type": "integer",
  11962. "description": "仓单要素id",
  11963. "name": "wrfactortypeid",
  11964. "in": "query",
  11965. "required": true
  11966. },
  11967. {
  11968. "type": "integer",
  11969. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  11970. "name": "tmplateid",
  11971. "in": "query"
  11972. }
  11973. ],
  11974. "responses": {
  11975. "200": {
  11976. "description": "OK",
  11977. "schema": {
  11978. "type": "array",
  11979. "items": {
  11980. "$ref": "#/definitions/models.WrGoodsInfo"
  11981. }
  11982. }
  11983. },
  11984. "500": {
  11985. "description": "Internal Server Error",
  11986. "schema": {
  11987. "$ref": "#/definitions/app.Response"
  11988. }
  11989. }
  11990. }
  11991. }
  11992. },
  11993. "/WrTrade2/QueryWrMarketTradeConfig": {
  11994. "get": {
  11995. "security": [
  11996. {
  11997. "ApiKeyAuth": []
  11998. }
  11999. ],
  12000. "produces": [
  12001. "application/json"
  12002. ],
  12003. "tags": [
  12004. "仓单贸易v2"
  12005. ],
  12006. "summary": "查询市场交易参数配置",
  12007. "parameters": [
  12008. {
  12009. "type": "integer",
  12010. "description": "市场id",
  12011. "name": "marketid",
  12012. "in": "query"
  12013. }
  12014. ],
  12015. "responses": {
  12016. "200": {
  12017. "description": "OK",
  12018. "schema": {
  12019. "type": "array",
  12020. "items": {
  12021. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12022. }
  12023. }
  12024. },
  12025. "500": {
  12026. "description": "Internal Server Error",
  12027. "schema": {
  12028. "$ref": "#/definitions/app.Response"
  12029. }
  12030. }
  12031. }
  12032. }
  12033. },
  12034. "/WrTrade2/QueryWrOrderDetail": {
  12035. "get": {
  12036. "security": [
  12037. {
  12038. "ApiKeyAuth": []
  12039. }
  12040. ],
  12041. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12042. "produces": [
  12043. "application/json"
  12044. ],
  12045. "tags": [
  12046. "仓单贸易v2"
  12047. ],
  12048. "summary": "查询仓单委托单(挂单)",
  12049. "parameters": [
  12050. {
  12051. "type": "integer",
  12052. "description": "页码",
  12053. "name": "page",
  12054. "in": "query"
  12055. },
  12056. {
  12057. "type": "integer",
  12058. "description": "每页条数",
  12059. "name": "pagesize",
  12060. "in": "query"
  12061. },
  12062. {
  12063. "type": "integer",
  12064. "description": "用户id",
  12065. "name": "userid",
  12066. "in": "query",
  12067. "required": true
  12068. },
  12069. {
  12070. "type": "integer",
  12071. "description": "仓单贸易市场id",
  12072. "name": "marketid",
  12073. "in": "query"
  12074. },
  12075. {
  12076. "type": "integer",
  12077. "description": "0:仓单预售 1:仓单贸易",
  12078. "name": "haswr",
  12079. "in": "query",
  12080. "required": true
  12081. }
  12082. ],
  12083. "responses": {
  12084. "200": {
  12085. "description": "OK",
  12086. "schema": {
  12087. "type": "array",
  12088. "items": {
  12089. "$ref": "#/definitions/models.WrOrderDetail"
  12090. }
  12091. }
  12092. },
  12093. "500": {
  12094. "description": "Internal Server Error",
  12095. "schema": {
  12096. "$ref": "#/definitions/app.Response"
  12097. }
  12098. }
  12099. }
  12100. }
  12101. },
  12102. "/WrTrade2/QueryWrOutInApply": {
  12103. "get": {
  12104. "security": [
  12105. {
  12106. "ApiKeyAuth": []
  12107. }
  12108. ],
  12109. "produces": [
  12110. "application/json"
  12111. ],
  12112. "tags": [
  12113. "仓单贸易v2"
  12114. ],
  12115. "summary": "查询提货申请",
  12116. "parameters": [
  12117. {
  12118. "type": "integer",
  12119. "description": "用户id",
  12120. "name": "userid",
  12121. "in": "query",
  12122. "required": true
  12123. }
  12124. ],
  12125. "responses": {
  12126. "200": {
  12127. "description": "OK",
  12128. "schema": {
  12129. "type": "array",
  12130. "items": {
  12131. "$ref": "#/definitions/models.WrOutInApply"
  12132. }
  12133. }
  12134. },
  12135. "500": {
  12136. "description": "Internal Server Error",
  12137. "schema": {
  12138. "$ref": "#/definitions/app.Response"
  12139. }
  12140. }
  12141. }
  12142. }
  12143. },
  12144. "/WrTrade2/QueryWrPerformancePlanStep": {
  12145. "get": {
  12146. "security": [
  12147. {
  12148. "ApiKeyAuth": []
  12149. }
  12150. ],
  12151. "produces": [
  12152. "application/json"
  12153. ],
  12154. "tags": [
  12155. "仓单贸易v2"
  12156. ],
  12157. "summary": "查询履约信息详情",
  12158. "parameters": [
  12159. {
  12160. "type": "integer",
  12161. "description": "履约计划id(performanceplanid)",
  12162. "name": "planid",
  12163. "in": "query",
  12164. "required": true
  12165. },
  12166. {
  12167. "type": "integer",
  12168. "description": "当前步骤id",
  12169. "name": "curstepid",
  12170. "in": "query"
  12171. }
  12172. ],
  12173. "responses": {
  12174. "200": {
  12175. "description": "OK",
  12176. "schema": {
  12177. "type": "array",
  12178. "items": {
  12179. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12180. }
  12181. }
  12182. },
  12183. "500": {
  12184. "description": "Internal Server Error",
  12185. "schema": {
  12186. "$ref": "#/definitions/app.Response"
  12187. }
  12188. }
  12189. }
  12190. }
  12191. },
  12192. "/WrTrade2/QueryWrPerformanceStepType": {
  12193. "get": {
  12194. "security": [
  12195. {
  12196. "ApiKeyAuth": []
  12197. }
  12198. ],
  12199. "produces": [
  12200. "application/json"
  12201. ],
  12202. "tags": [
  12203. "仓单贸易v2"
  12204. ],
  12205. "summary": "查询履约步骤枚举",
  12206. "responses": {
  12207. "200": {
  12208. "description": "OK",
  12209. "schema": {
  12210. "type": "array",
  12211. "items": {
  12212. "$ref": "#/definitions/models.WrPerformanceStepType"
  12213. }
  12214. }
  12215. },
  12216. "500": {
  12217. "description": "Internal Server Error",
  12218. "schema": {
  12219. "$ref": "#/definitions/app.Response"
  12220. }
  12221. }
  12222. }
  12223. }
  12224. },
  12225. "/WrTrade2/QueryWrPosition": {
  12226. "get": {
  12227. "security": [
  12228. {
  12229. "ApiKeyAuth": []
  12230. }
  12231. ],
  12232. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12233. "produces": [
  12234. "application/json"
  12235. ],
  12236. "tags": [
  12237. "仓单贸易v2"
  12238. ],
  12239. "summary": "查询现货(预售)仓单持仓",
  12240. "parameters": [
  12241. {
  12242. "type": "integer",
  12243. "description": "用户id",
  12244. "name": "userid",
  12245. "in": "query",
  12246. "required": true
  12247. },
  12248. {
  12249. "type": "integer",
  12250. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12251. "name": "querytype",
  12252. "in": "query",
  12253. "required": true
  12254. },
  12255. {
  12256. "type": "integer",
  12257. "description": "0:仓单预售 1:仓单贸易",
  12258. "name": "haswr",
  12259. "in": "query",
  12260. "required": true
  12261. },
  12262. {
  12263. "type": "string",
  12264. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12265. "name": "dgitemname",
  12266. "in": "query"
  12267. },
  12268. {
  12269. "type": "integer",
  12270. "description": "仓库id(筛选条件)",
  12271. "name": "warehouseid",
  12272. "in": "query"
  12273. },
  12274. {
  12275. "type": "integer",
  12276. "description": "品种id",
  12277. "name": "deliverygoodsid",
  12278. "in": "query"
  12279. },
  12280. {
  12281. "type": "integer",
  12282. "description": "品类id",
  12283. "name": "wrstandardid",
  12284. "in": "query"
  12285. }
  12286. ],
  12287. "responses": {
  12288. "200": {
  12289. "description": "OK",
  12290. "schema": {
  12291. "type": "array",
  12292. "items": {
  12293. "$ref": "#/definitions/models.WrPosition"
  12294. }
  12295. }
  12296. },
  12297. "500": {
  12298. "description": "Internal Server Error",
  12299. "schema": {
  12300. "$ref": "#/definitions/app.Response"
  12301. }
  12302. }
  12303. }
  12304. }
  12305. },
  12306. "/WrTrade2/QueryWrScfContract": {
  12307. "get": {
  12308. "security": [
  12309. {
  12310. "ApiKeyAuth": []
  12311. }
  12312. ],
  12313. "produces": [
  12314. "application/json"
  12315. ],
  12316. "tags": [
  12317. "仓单贸易v2"
  12318. ],
  12319. "summary": "查询仓单贸易融资合同",
  12320. "parameters": [
  12321. {
  12322. "type": "integer",
  12323. "description": "用户id",
  12324. "name": "userid",
  12325. "in": "query",
  12326. "required": true
  12327. },
  12328. {
  12329. "type": "integer",
  12330. "description": "融资合同id",
  12331. "name": "scfcontractid",
  12332. "in": "query"
  12333. }
  12334. ],
  12335. "responses": {
  12336. "200": {
  12337. "description": "OK",
  12338. "schema": {
  12339. "type": "array",
  12340. "items": {
  12341. "$ref": "#/definitions/models.WrScfContract"
  12342. }
  12343. }
  12344. },
  12345. "500": {
  12346. "description": "Internal Server Error",
  12347. "schema": {
  12348. "$ref": "#/definitions/app.Response"
  12349. }
  12350. }
  12351. }
  12352. }
  12353. },
  12354. "/WrTrade2/QueryWrScfContractInterest": {
  12355. "get": {
  12356. "security": [
  12357. {
  12358. "ApiKeyAuth": []
  12359. }
  12360. ],
  12361. "produces": [
  12362. "application/json"
  12363. ],
  12364. "tags": [
  12365. "仓单贸易v2"
  12366. ],
  12367. "summary": "查询融资合同费用明细",
  12368. "parameters": [
  12369. {
  12370. "type": "integer",
  12371. "description": "融资合同id",
  12372. "name": "scfcontractid",
  12373. "in": "query"
  12374. }
  12375. ],
  12376. "responses": {
  12377. "200": {
  12378. "description": "OK",
  12379. "schema": {
  12380. "type": "array",
  12381. "items": {
  12382. "$ref": "#/definitions/models.WrScfContractInterest"
  12383. }
  12384. }
  12385. },
  12386. "500": {
  12387. "description": "Internal Server Error",
  12388. "schema": {
  12389. "$ref": "#/definitions/app.Response"
  12390. }
  12391. }
  12392. }
  12393. }
  12394. },
  12395. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12396. "get": {
  12397. "security": [
  12398. {
  12399. "ApiKeyAuth": []
  12400. }
  12401. ],
  12402. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12403. "produces": [
  12404. "application/json"
  12405. ],
  12406. "tags": [
  12407. "仓单贸易v2"
  12408. ],
  12409. "summary": "查询指定成交",
  12410. "parameters": [
  12411. {
  12412. "type": "integer",
  12413. "description": "页码",
  12414. "name": "page",
  12415. "in": "query"
  12416. },
  12417. {
  12418. "type": "integer",
  12419. "description": "每页条数",
  12420. "name": "pagesize",
  12421. "in": "query"
  12422. },
  12423. {
  12424. "type": "integer",
  12425. "description": "用户id",
  12426. "name": "userid",
  12427. "in": "query",
  12428. "required": true
  12429. },
  12430. {
  12431. "type": "integer",
  12432. "description": "仓单贸易市场id",
  12433. "name": "marketid",
  12434. "in": "query"
  12435. },
  12436. {
  12437. "type": "integer",
  12438. "description": "0:仓单预售 1:仓单贸易",
  12439. "name": "haswr",
  12440. "in": "query",
  12441. "required": true
  12442. }
  12443. ],
  12444. "responses": {
  12445. "200": {
  12446. "description": "OK",
  12447. "schema": {
  12448. "type": "array",
  12449. "items": {
  12450. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12451. }
  12452. }
  12453. },
  12454. "500": {
  12455. "description": "Internal Server Error",
  12456. "schema": {
  12457. "$ref": "#/definitions/app.Response"
  12458. }
  12459. }
  12460. }
  12461. }
  12462. },
  12463. "/WrTrade2/QueryWrStandardFactoryItem": {
  12464. "get": {
  12465. "security": [
  12466. {
  12467. "ApiKeyAuth": []
  12468. }
  12469. ],
  12470. "produces": [
  12471. "application/json"
  12472. ],
  12473. "tags": [
  12474. "仓单贸易v2"
  12475. ],
  12476. "summary": "查询品类要素定义项",
  12477. "parameters": [
  12478. {
  12479. "type": "integer",
  12480. "description": "品类id",
  12481. "name": "wrstandardid",
  12482. "in": "query",
  12483. "required": true
  12484. }
  12485. ],
  12486. "responses": {
  12487. "200": {
  12488. "description": "OK",
  12489. "schema": {
  12490. "type": "array",
  12491. "items": {
  12492. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12493. }
  12494. }
  12495. },
  12496. "500": {
  12497. "description": "Internal Server Error",
  12498. "schema": {
  12499. "$ref": "#/definitions/app.Response"
  12500. }
  12501. }
  12502. }
  12503. }
  12504. },
  12505. "/WrTrade2/QueryWrTradeBargainApply": {
  12506. "get": {
  12507. "security": [
  12508. {
  12509. "ApiKeyAuth": []
  12510. }
  12511. ],
  12512. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12513. "produces": [
  12514. "application/json"
  12515. ],
  12516. "tags": [
  12517. "仓单贸易v2"
  12518. ],
  12519. "summary": "查询议价单",
  12520. "parameters": [
  12521. {
  12522. "type": "integer",
  12523. "description": "议价人id(摘牌方)",
  12524. "name": "userid",
  12525. "in": "query"
  12526. },
  12527. {
  12528. "type": "integer",
  12529. "description": "关联委托单id",
  12530. "name": "wrtradeorderid",
  12531. "in": "query"
  12532. },
  12533. {
  12534. "type": "integer",
  12535. "description": "0:仓单预售 1:仓单贸易",
  12536. "name": "haswr",
  12537. "in": "query",
  12538. "required": true
  12539. }
  12540. ],
  12541. "responses": {
  12542. "200": {
  12543. "description": "OK",
  12544. "schema": {
  12545. "type": "array",
  12546. "items": {
  12547. "$ref": "#/definitions/models.WRTradeBargainApply"
  12548. }
  12549. }
  12550. },
  12551. "500": {
  12552. "description": "Internal Server Error",
  12553. "schema": {
  12554. "$ref": "#/definitions/app.Response"
  12555. }
  12556. }
  12557. }
  12558. }
  12559. },
  12560. "/WrTrade2/QueryWrTradeDetail": {
  12561. "get": {
  12562. "security": [
  12563. {
  12564. "ApiKeyAuth": []
  12565. }
  12566. ],
  12567. "produces": [
  12568. "application/json"
  12569. ],
  12570. "tags": [
  12571. "仓单贸易v2"
  12572. ],
  12573. "summary": "查询仓单成交明细",
  12574. "parameters": [
  12575. {
  12576. "type": "integer",
  12577. "description": "页码",
  12578. "name": "page",
  12579. "in": "query"
  12580. },
  12581. {
  12582. "type": "integer",
  12583. "description": "每页条数",
  12584. "name": "pagesize",
  12585. "in": "query"
  12586. },
  12587. {
  12588. "type": "integer",
  12589. "description": "用户id",
  12590. "name": "userid",
  12591. "in": "query",
  12592. "required": true
  12593. },
  12594. {
  12595. "type": "integer",
  12596. "description": "仓单贸易市场id",
  12597. "name": "marketid",
  12598. "in": "query"
  12599. },
  12600. {
  12601. "type": "integer",
  12602. "description": "0:仓单预售 1:仓单贸易",
  12603. "name": "haswr",
  12604. "in": "query",
  12605. "required": true
  12606. }
  12607. ],
  12608. "responses": {
  12609. "200": {
  12610. "description": "OK",
  12611. "schema": {
  12612. "type": "array",
  12613. "items": {
  12614. "$ref": "#/definitions/models.WrTradeDetail"
  12615. }
  12616. }
  12617. },
  12618. "500": {
  12619. "description": "Internal Server Error",
  12620. "schema": {
  12621. "$ref": "#/definitions/app.Response"
  12622. }
  12623. }
  12624. }
  12625. }
  12626. },
  12627. "/WrTrade2/QueryWrTradeOrderDetail": {
  12628. "get": {
  12629. "security": [
  12630. {
  12631. "ApiKeyAuth": []
  12632. }
  12633. ],
  12634. "produces": [
  12635. "application/json"
  12636. ],
  12637. "tags": [
  12638. "仓单贸易v2"
  12639. ],
  12640. "summary": "查询合约交易买卖大厅",
  12641. "parameters": [
  12642. {
  12643. "type": "integer",
  12644. "description": "页码",
  12645. "name": "page",
  12646. "in": "query"
  12647. },
  12648. {
  12649. "type": "integer",
  12650. "description": "每页条数",
  12651. "name": "pagesize",
  12652. "in": "query"
  12653. },
  12654. {
  12655. "type": "integer",
  12656. "description": "商品id",
  12657. "name": "goodsid",
  12658. "in": "query",
  12659. "required": true
  12660. },
  12661. {
  12662. "type": "integer",
  12663. "description": "买卖方向 0-买 1-卖",
  12664. "name": "buyorsell",
  12665. "in": "query",
  12666. "required": true
  12667. }
  12668. ],
  12669. "responses": {
  12670. "200": {
  12671. "description": "OK",
  12672. "schema": {
  12673. "type": "array",
  12674. "items": {
  12675. "$ref": "#/definitions/models.WrTradeOrderDetail"
  12676. }
  12677. }
  12678. },
  12679. "500": {
  12680. "description": "Internal Server Error",
  12681. "schema": {
  12682. "$ref": "#/definitions/app.Response"
  12683. }
  12684. }
  12685. }
  12686. }
  12687. },
  12688. "/WrTrade2/QueryWrUserFriend": {
  12689. "get": {
  12690. "security": [
  12691. {
  12692. "ApiKeyAuth": []
  12693. }
  12694. ],
  12695. "produces": [
  12696. "application/json"
  12697. ],
  12698. "tags": [
  12699. "仓单贸易v2"
  12700. ],
  12701. "summary": "查询我的朋友",
  12702. "parameters": [
  12703. {
  12704. "type": "integer",
  12705. "description": "用户id",
  12706. "name": "userid",
  12707. "in": "query",
  12708. "required": true
  12709. },
  12710. {
  12711. "type": "integer",
  12712. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  12713. "name": "newuserid",
  12714. "in": "query"
  12715. }
  12716. ],
  12717. "responses": {
  12718. "200": {
  12719. "description": "OK",
  12720. "schema": {
  12721. "type": "array",
  12722. "items": {
  12723. "$ref": "#/definitions/models.WrUserFriend"
  12724. }
  12725. }
  12726. },
  12727. "500": {
  12728. "description": "Internal Server Error",
  12729. "schema": {
  12730. "$ref": "#/definitions/app.Response"
  12731. }
  12732. }
  12733. }
  12734. }
  12735. }
  12736. },
  12737. "definitions": {
  12738. "app.Response": {
  12739. "type": "object",
  12740. "properties": {
  12741. "code": {
  12742. "type": "integer"
  12743. },
  12744. "data": {
  12745. "type": "object"
  12746. },
  12747. "msg": {
  12748. "type": "string"
  12749. },
  12750. "page": {
  12751. "description": "页码",
  12752. "type": "integer"
  12753. },
  12754. "pagesize": {
  12755. "description": "每页条数",
  12756. "type": "integer"
  12757. },
  12758. "total": {
  12759. "description": "总条数",
  12760. "type": "integer"
  12761. }
  12762. }
  12763. },
  12764. "common.ClientMenu": {
  12765. "type": "object",
  12766. "properties": {
  12767. "children": {
  12768. "description": "子菜单列表",
  12769. "type": "array",
  12770. "items": {
  12771. "$ref": "#/definitions/common.ClientMenu"
  12772. }
  12773. },
  12774. "code": {
  12775. "description": "ID",
  12776. "type": "string"
  12777. },
  12778. "isshow": {
  12779. "description": "是否显示",
  12780. "type": "boolean"
  12781. },
  12782. "remark": {
  12783. "description": "备注",
  12784. "type": "string"
  12785. },
  12786. "rulekey": {
  12787. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  12788. "type": "string"
  12789. },
  12790. "sort": {
  12791. "description": "排序",
  12792. "type": "integer"
  12793. },
  12794. "title": {
  12795. "description": "标题",
  12796. "type": "string"
  12797. },
  12798. "type": {
  12799. "description": "类型,1:菜单 2:按钮",
  12800. "type": "integer"
  12801. },
  12802. "url": {
  12803. "description": "URL",
  12804. "type": "string"
  12805. }
  12806. }
  12807. },
  12808. "common.QueryImageConfigsRsp": {
  12809. "type": "object",
  12810. "required": [
  12811. "configid"
  12812. ],
  12813. "properties": {
  12814. "areauserid": {
  12815. "description": "所属机构ID",
  12816. "type": "integer"
  12817. },
  12818. "configid": {
  12819. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12820. "type": "integer"
  12821. },
  12822. "createdate": {
  12823. "description": "创建时间",
  12824. "type": "string"
  12825. },
  12826. "creatorid": {
  12827. "description": "创建人",
  12828. "type": "integer"
  12829. },
  12830. "imagepath": {
  12831. "description": "图片",
  12832. "type": "string"
  12833. },
  12834. "imagetype": {
  12835. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  12836. "type": "integer"
  12837. },
  12838. "isshow": {
  12839. "description": "是否展示 - 0:不展示 1:展示",
  12840. "type": "integer"
  12841. },
  12842. "marketid": {
  12843. "description": "市场ID",
  12844. "type": "integer"
  12845. },
  12846. "modifierid": {
  12847. "description": "操作人",
  12848. "type": "integer"
  12849. },
  12850. "sort": {
  12851. "description": "排序",
  12852. "type": "integer"
  12853. },
  12854. "title": {
  12855. "description": "标题",
  12856. "type": "string"
  12857. },
  12858. "trademode": {
  12859. "description": "交易模式",
  12860. "type": "integer"
  12861. },
  12862. "updatedate": {
  12863. "description": "修改时间",
  12864. "type": "string"
  12865. },
  12866. "url": {
  12867. "description": "链接(地址或商品ID)",
  12868. "type": "string"
  12869. },
  12870. "urltype": {
  12871. "description": "链接类型 - 1:直接地址 2:商品ID",
  12872. "type": "integer"
  12873. }
  12874. }
  12875. },
  12876. "common.QueryNoticeRsp": {
  12877. "type": "object",
  12878. "required": [
  12879. "autoid"
  12880. ],
  12881. "properties": {
  12882. "auditoruserid": {
  12883. "description": "审核人",
  12884. "type": "integer"
  12885. },
  12886. "auditremark": {
  12887. "description": "审核备注",
  12888. "type": "string"
  12889. },
  12890. "audittime": {
  12891. "description": "审核日期",
  12892. "type": "string"
  12893. },
  12894. "autoid": {
  12895. "description": "自增ID",
  12896. "type": "integer"
  12897. },
  12898. "content": {
  12899. "description": "内容",
  12900. "type": "string"
  12901. },
  12902. "createtime": {
  12903. "description": "创建时间",
  12904. "type": "string"
  12905. },
  12906. "creatorid": {
  12907. "description": "建仓人",
  12908. "type": "integer"
  12909. },
  12910. "endtime": {
  12911. "description": "结束时间",
  12912. "type": "string"
  12913. },
  12914. "istop": {
  12915. "description": "是否置顶 - 0:不置顶 1:置顶",
  12916. "type": "integer"
  12917. },
  12918. "msgiconurl": {
  12919. "description": "消息图标Url",
  12920. "type": "string"
  12921. },
  12922. "msgtype": {
  12923. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  12924. "type": "integer"
  12925. },
  12926. "publisher": {
  12927. "description": "消息发布者",
  12928. "type": "string"
  12929. },
  12930. "readed": {
  12931. "description": "是否已读",
  12932. "type": "boolean"
  12933. },
  12934. "scheduletime": {
  12935. "description": "计划发送时间",
  12936. "type": "string"
  12937. },
  12938. "sendtype": {
  12939. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  12940. "type": "integer"
  12941. },
  12942. "sentstatus": {
  12943. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  12944. "type": "integer"
  12945. },
  12946. "title": {
  12947. "description": "标题",
  12948. "type": "string"
  12949. },
  12950. "userid": {
  12951. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  12952. "type": "integer"
  12953. }
  12954. }
  12955. },
  12956. "common.QueryProvincesAndCitiesRsp": {
  12957. "type": "object",
  12958. "properties": {
  12959. "cities": {
  12960. "description": "市",
  12961. "type": "array",
  12962. "items": {
  12963. "$ref": "#/definitions/models.Division"
  12964. }
  12965. },
  12966. "province": {
  12967. "description": "省",
  12968. "type": "object",
  12969. "$ref": "#/definitions/models.Division"
  12970. }
  12971. }
  12972. },
  12973. "common.QueryTableDefineRsp": {
  12974. "type": "object",
  12975. "required": [
  12976. "tablekey"
  12977. ],
  12978. "properties": {
  12979. "columns": {
  12980. "description": "列头信息数组",
  12981. "type": "array",
  12982. "items": {
  12983. "$ref": "#/definitions/models.Tablecolumnconfig"
  12984. }
  12985. },
  12986. "remark": {
  12987. "description": "Remark",
  12988. "type": "string"
  12989. },
  12990. "tabelmenu": {
  12991. "description": "列表菜单",
  12992. "type": "string"
  12993. },
  12994. "tablekey": {
  12995. "description": "列表Key",
  12996. "type": "string"
  12997. },
  12998. "tablename": {
  12999. "description": "列表名称",
  13000. "type": "string"
  13001. },
  13002. "tabletype": {
  13003. "description": "列表类型 - 1:管理端 2:终端",
  13004. "type": "integer"
  13005. }
  13006. }
  13007. },
  13008. "common.QueryTraderMenuRsp": {
  13009. "type": "object",
  13010. "properties": {
  13011. "OperationMenu": {
  13012. "description": "功能菜单",
  13013. "type": "array",
  13014. "items": {
  13015. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13016. }
  13017. },
  13018. "QuoteMenu": {
  13019. "description": "报价牌分类菜单",
  13020. "type": "array",
  13021. "items": {
  13022. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13023. }
  13024. }
  13025. }
  13026. },
  13027. "cptrade.Cptradepositioncancel": {
  13028. "type": "object",
  13029. "required": [
  13030. "cancelid"
  13031. ],
  13032. "properties": {
  13033. "accountid": {
  13034. "description": "申请人账户ID",
  13035. "type": "integer"
  13036. },
  13037. "applystatus": {
  13038. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13039. "type": "integer"
  13040. },
  13041. "applytime": {
  13042. "description": "申请时间",
  13043. "type": "string"
  13044. },
  13045. "cancelid": {
  13046. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13047. "type": "integer"
  13048. },
  13049. "cancelqty": {
  13050. "description": "注销数量",
  13051. "type": "integer"
  13052. },
  13053. "createtime": {
  13054. "description": "创建时间",
  13055. "type": "string"
  13056. },
  13057. "creatorid": {
  13058. "description": "创建人ID",
  13059. "type": "integer"
  13060. },
  13061. "creatorname": {
  13062. "description": "创建人",
  13063. "type": "string"
  13064. },
  13065. "goodscode": {
  13066. "description": "订单商品代码",
  13067. "type": "string"
  13068. },
  13069. "goodsid": {
  13070. "description": "商品ID",
  13071. "type": "integer"
  13072. },
  13073. "goodsname": {
  13074. "description": "订单商品名称",
  13075. "type": "string"
  13076. },
  13077. "goodunit": {
  13078. "description": "报价单位",
  13079. "type": "string"
  13080. },
  13081. "handlestatus": {
  13082. "description": "处理状态",
  13083. "type": "integer"
  13084. },
  13085. "marketid": {
  13086. "description": "市场ID",
  13087. "type": "integer"
  13088. },
  13089. "marketname": {
  13090. "description": "市场名称",
  13091. "type": "string"
  13092. },
  13093. "tradedate": {
  13094. "description": "交易日(yyyyMMdd)",
  13095. "type": "string"
  13096. },
  13097. "userid": {
  13098. "description": "申请人ID",
  13099. "type": "integer"
  13100. }
  13101. }
  13102. },
  13103. "cptrade.Cptradepresaleapply": {
  13104. "type": "object",
  13105. "required": [
  13106. "applyid"
  13107. ],
  13108. "properties": {
  13109. "accountid": {
  13110. "description": "申请人账户ID",
  13111. "type": "integer"
  13112. },
  13113. "applyid": {
  13114. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13115. "type": "integer"
  13116. },
  13117. "applyremark": {
  13118. "description": "申请备注",
  13119. "type": "string"
  13120. },
  13121. "applystatus": {
  13122. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13123. "type": "integer"
  13124. },
  13125. "applytime": {
  13126. "description": "申请时间",
  13127. "type": "string"
  13128. },
  13129. "attachmenturl": {
  13130. "description": "附件地址",
  13131. "type": "string"
  13132. },
  13133. "endtime": {
  13134. "description": "预售结束时间",
  13135. "type": "string"
  13136. },
  13137. "goodscode": {
  13138. "description": "商品代码",
  13139. "type": "string"
  13140. },
  13141. "goodsid": {
  13142. "description": "商品ID",
  13143. "type": "integer"
  13144. },
  13145. "goodsname": {
  13146. "description": "商品名称",
  13147. "type": "string"
  13148. },
  13149. "goodunit": {
  13150. "description": "报价单位",
  13151. "type": "string"
  13152. },
  13153. "handlestatus": {
  13154. "description": "处理状态",
  13155. "type": "integer"
  13156. },
  13157. "marketid": {
  13158. "description": "预售市场ID",
  13159. "type": "integer"
  13160. },
  13161. "marketname": {
  13162. "description": "预售市场名称",
  13163. "type": "string"
  13164. },
  13165. "presaleqty": {
  13166. "description": "预售数量",
  13167. "type": "integer"
  13168. },
  13169. "relatedgoodscode": {
  13170. "description": "关联交易合约代码",
  13171. "type": "string"
  13172. },
  13173. "relatedgoodsid": {
  13174. "description": "关联交易合约ID",
  13175. "type": "integer"
  13176. },
  13177. "relatedgoodsname": {
  13178. "description": "关联交易合约名称",
  13179. "type": "string"
  13180. },
  13181. "starttime": {
  13182. "description": "预售开始时间",
  13183. "type": "string"
  13184. },
  13185. "tradedate": {
  13186. "description": "交易日(yyyyMMdd)",
  13187. "type": "string"
  13188. },
  13189. "trademode": {
  13190. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13191. "type": "integer"
  13192. },
  13193. "userid": {
  13194. "description": "申请人ID",
  13195. "type": "integer"
  13196. }
  13197. }
  13198. },
  13199. "cptrade.Cptradeusergoodsdata": {
  13200. "type": "object",
  13201. "required": [
  13202. "accountid",
  13203. "goodsid"
  13204. ],
  13205. "properties": {
  13206. "EnabledQty": {
  13207. "description": "可用量",
  13208. "type": "integer"
  13209. },
  13210. "GoodsCode": {
  13211. "description": "订单商品代码",
  13212. "type": "string"
  13213. },
  13214. "GoodsName": {
  13215. "description": "订单商品名称",
  13216. "type": "string"
  13217. },
  13218. "WRStandardCode": {
  13219. "description": "仓单标准代码",
  13220. "type": "string"
  13221. },
  13222. "WRStandardName": {
  13223. "description": "仓单标准名称",
  13224. "type": "string"
  13225. },
  13226. "accountid": {
  13227. "description": "账户ID",
  13228. "type": "integer"
  13229. },
  13230. "cancelqty": {
  13231. "description": "注销量",
  13232. "type": "integer"
  13233. },
  13234. "curpresaleqty": {
  13235. "description": "当前预售量",
  13236. "type": "integer"
  13237. },
  13238. "deliveryqty": {
  13239. "description": "交割量",
  13240. "type": "integer"
  13241. },
  13242. "freezeamount": {
  13243. "description": "冻结金额",
  13244. "type": "number"
  13245. },
  13246. "goodsid": {
  13247. "description": "商品ID",
  13248. "type": "integer"
  13249. },
  13250. "goodunit": {
  13251. "description": "报价单位",
  13252. "type": "string"
  13253. },
  13254. "hasspotfreeze": {
  13255. "description": "是否有现货冻结 - 0:否 1:有",
  13256. "type": "integer"
  13257. },
  13258. "inqty": {
  13259. "description": "转入量(总数量)",
  13260. "type": "integer"
  13261. },
  13262. "marketid": {
  13263. "description": "市场ID",
  13264. "type": "integer"
  13265. },
  13266. "presaledamount": {
  13267. "description": "已预售总金额",
  13268. "type": "integer"
  13269. },
  13270. "presaledqty": {
  13271. "description": "已预售量",
  13272. "type": "integer"
  13273. },
  13274. "userid": {
  13275. "description": "用户ID",
  13276. "type": "integer"
  13277. },
  13278. "wrstandardid": {
  13279. "description": "仓单标准ID",
  13280. "type": "integer"
  13281. }
  13282. }
  13283. },
  13284. "cptrade.QueryCPTradeMyBidRsp": {
  13285. "type": "object",
  13286. "required": [
  13287. "accountid",
  13288. "goodsid",
  13289. "marketid",
  13290. "orderid",
  13291. "orderqty",
  13292. "ordertime",
  13293. "tradeprice",
  13294. "tradeqty"
  13295. ],
  13296. "properties": {
  13297. "accountid": {
  13298. "description": "账户ID[报价币种]",
  13299. "type": "integer"
  13300. },
  13301. "goodsid": {
  13302. "description": "商品ID",
  13303. "type": "integer"
  13304. },
  13305. "goodunit": {
  13306. "description": "报价单位",
  13307. "type": "string"
  13308. },
  13309. "marketid": {
  13310. "description": "市场ID",
  13311. "type": "integer"
  13312. },
  13313. "orderid": {
  13314. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13315. "type": "integer"
  13316. },
  13317. "orderprice": {
  13318. "description": "委托价格",
  13319. "type": "number"
  13320. },
  13321. "orderqty": {
  13322. "description": "委托数量",
  13323. "type": "integer"
  13324. },
  13325. "ordertime": {
  13326. "description": "委托时间",
  13327. "type": "string"
  13328. },
  13329. "ordertotalprice": {
  13330. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13331. "type": "number"
  13332. },
  13333. "ordertotalweight": {
  13334. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13335. "type": "integer"
  13336. },
  13337. "totaltotalprice": {
  13338. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13339. "type": "number"
  13340. },
  13341. "tradeprice": {
  13342. "description": "成交价格",
  13343. "type": "number"
  13344. },
  13345. "tradeqty": {
  13346. "description": "成交数量",
  13347. "type": "integer"
  13348. }
  13349. }
  13350. },
  13351. "cptrade.QueryCPTradeOrderDetailRsq": {
  13352. "type": "object",
  13353. "required": [
  13354. "accountid",
  13355. "buildtype",
  13356. "buyorsell",
  13357. "goodsid",
  13358. "marketid",
  13359. "memberuserid",
  13360. "operatetype",
  13361. "orderqty",
  13362. "ordertime",
  13363. "pricemode",
  13364. "strorderid",
  13365. "tradedate",
  13366. "validtype"
  13367. ],
  13368. "properties": {
  13369. "accountid": {
  13370. "description": "账户ID[报价币种]",
  13371. "type": "integer"
  13372. },
  13373. "buildtype": {
  13374. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13375. "type": "integer"
  13376. },
  13377. "buyorsell": {
  13378. "description": "买卖 - 0:买 1:卖",
  13379. "type": "integer"
  13380. },
  13381. "cancelorderid": {
  13382. "description": "撤单单号(撤单时填写)",
  13383. "type": "integer"
  13384. },
  13385. "cancelqty": {
  13386. "description": "撤单数量",
  13387. "type": "integer"
  13388. },
  13389. "clientordertime": {
  13390. "description": "客户端委托时间",
  13391. "type": "string"
  13392. },
  13393. "clientticket": {
  13394. "description": "客户端流水号",
  13395. "type": "string"
  13396. },
  13397. "clienttype": {
  13398. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13399. "type": "integer"
  13400. },
  13401. "closeexchagechargevalue": {
  13402. "description": "平仓交易所手续费设置值",
  13403. "type": "number"
  13404. },
  13405. "closefeealgorithm": {
  13406. "description": "平仓手续费收取方式 1:比率 2:固定",
  13407. "type": "integer"
  13408. },
  13409. "closefreezecharge": {
  13410. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13411. "type": "number"
  13412. },
  13413. "closememberchargevalue": {
  13414. "description": "平仓会员手续费设置值",
  13415. "type": "number"
  13416. },
  13417. "closeqty": {
  13418. "description": "平仓数量(先建后平操作 需要记录)",
  13419. "type": "integer"
  13420. },
  13421. "closetradeqty": {
  13422. "description": "平仓成交数量(先建后平操作,需要记录)",
  13423. "type": "integer"
  13424. },
  13425. "closeunfreezecharge": {
  13426. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13427. "type": "number"
  13428. },
  13429. "delistingtype": {
  13430. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13431. "type": "integer"
  13432. },
  13433. "freezecharge": {
  13434. "description": "冻结手续费",
  13435. "type": "number"
  13436. },
  13437. "freezemargin": {
  13438. "description": "冻结保证金(冻结交易金额)",
  13439. "type": "number"
  13440. },
  13441. "gcaccountid": {
  13442. "description": "账户ID[合约币种]",
  13443. "type": "integer"
  13444. },
  13445. "goodsid": {
  13446. "description": "商品ID",
  13447. "type": "integer"
  13448. },
  13449. "isconfirmexercise": {
  13450. "description": "是否确认行权- 0:否 1:是",
  13451. "type": "integer"
  13452. },
  13453. "ispreexercise": {
  13454. "description": "是否预申报- 0:否 1:是",
  13455. "type": "integer"
  13456. },
  13457. "listingselecttype": {
  13458. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13459. "type": "integer"
  13460. },
  13461. "marginalgorithm": {
  13462. "description": "保证金收取方式 1:比率 2:固定",
  13463. "type": "integer"
  13464. },
  13465. "marginvalue": {
  13466. "description": "即市保证金设置值",
  13467. "type": "number"
  13468. },
  13469. "marketid": {
  13470. "description": "市场ID",
  13471. "type": "integer"
  13472. },
  13473. "marketmaxsub": {
  13474. "description": "市价最大偏移范围",
  13475. "type": "number"
  13476. },
  13477. "memberuserid": {
  13478. "description": "所属会员UserID",
  13479. "type": "integer"
  13480. },
  13481. "openexchagechargevalue": {
  13482. "description": "建仓交易所手续费设置值",
  13483. "type": "number"
  13484. },
  13485. "openfeealgorithm": {
  13486. "description": "建仓手续费收取方式 1:比率 2:固定",
  13487. "type": "integer"
  13488. },
  13489. "openfreezecharge": {
  13490. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13491. "type": "number"
  13492. },
  13493. "openmemberchargevalue": {
  13494. "description": "建仓会员手续费设置值",
  13495. "type": "number"
  13496. },
  13497. "openqty": {
  13498. "description": "开仓数量(先建后平操作,需要记录)",
  13499. "type": "integer"
  13500. },
  13501. "opentradeqty": {
  13502. "description": "开仓成交数量(先建后平操作,需要记录)",
  13503. "type": "integer"
  13504. },
  13505. "openunfreezecharge": {
  13506. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13507. "type": "number"
  13508. },
  13509. "operatetype": {
  13510. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13511. "type": "integer"
  13512. },
  13513. "operatorid": {
  13514. "description": "登录账号(LoginID)",
  13515. "type": "integer"
  13516. },
  13517. "optiontype": {
  13518. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13519. "type": "integer"
  13520. },
  13521. "orderprice": {
  13522. "description": "委托价格",
  13523. "type": "number"
  13524. },
  13525. "orderqty": {
  13526. "description": "委托数量",
  13527. "type": "integer"
  13528. },
  13529. "ordersrc": {
  13530. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13531. "type": "integer"
  13532. },
  13533. "orderstatus": {
  13534. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13535. "type": "integer"
  13536. },
  13537. "ordertime": {
  13538. "description": "委托时间",
  13539. "type": "string"
  13540. },
  13541. "preexerciseprice": {
  13542. "description": "预申报价格",
  13543. "type": "number"
  13544. },
  13545. "premium": {
  13546. "description": "权利金",
  13547. "type": "number"
  13548. },
  13549. "preorderid": {
  13550. "description": "关联预埋单号(止盈止损单时填写)",
  13551. "type": "integer"
  13552. },
  13553. "pricemode": {
  13554. "description": "取价方式 - 1:市价 2: 限价",
  13555. "type": "integer"
  13556. },
  13557. "quoteid": {
  13558. "description": "报价单ID",
  13559. "type": "integer"
  13560. },
  13561. "relatedid": {
  13562. "description": "关联单号(交割单)",
  13563. "type": "integer"
  13564. },
  13565. "retcode": {
  13566. "description": "错误代码",
  13567. "type": "integer"
  13568. },
  13569. "sessionid": {
  13570. "description": "会话ID",
  13571. "type": "integer"
  13572. },
  13573. "strorderid": {
  13574. "description": "委托单号",
  13575. "type": "string"
  13576. },
  13577. "tradedate": {
  13578. "description": "交易日(yyyyMMdd)",
  13579. "type": "string"
  13580. },
  13581. "tradeproperty": {
  13582. "description": "交易属性",
  13583. "type": "integer"
  13584. },
  13585. "tradeqty": {
  13586. "description": "成交数量",
  13587. "type": "integer"
  13588. },
  13589. "unfreezecharge": {
  13590. "description": "解冻手续费",
  13591. "type": "number"
  13592. },
  13593. "unfreezemargin": {
  13594. "description": "解冻保证金",
  13595. "type": "number"
  13596. },
  13597. "updatetime": {
  13598. "description": "更新时间",
  13599. "type": "string"
  13600. },
  13601. "uuid": {
  13602. "description": "发起端唯一id",
  13603. "type": "string"
  13604. },
  13605. "validtime": {
  13606. "description": "有效期限",
  13607. "type": "string"
  13608. },
  13609. "validtype": {
  13610. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13611. "type": "integer"
  13612. },
  13613. "volumetype": {
  13614. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13615. "type": "integer"
  13616. }
  13617. }
  13618. },
  13619. "cptrade.QueryMyCPTradeGoodsRsp": {
  13620. "type": "object",
  13621. "required": [
  13622. "goodscode",
  13623. "goodsid",
  13624. "goodsname",
  13625. "marketid",
  13626. "relatedgoodscode",
  13627. "relatedgoodsname"
  13628. ],
  13629. "properties": {
  13630. "accountid": {
  13631. "description": "卖方账户ID",
  13632. "type": "integer"
  13633. },
  13634. "agreeunit": {
  13635. "description": "合约单位",
  13636. "type": "number"
  13637. },
  13638. "applyid": {
  13639. "description": "关联申请ID",
  13640. "type": "integer"
  13641. },
  13642. "attachmenturl": {
  13643. "description": "附件地址",
  13644. "type": "string"
  13645. },
  13646. "createtime": {
  13647. "description": "创建时间",
  13648. "type": "string"
  13649. },
  13650. "currencyid": {
  13651. "description": "报价货币ID",
  13652. "type": "integer"
  13653. },
  13654. "decimalplace": {
  13655. "description": "报价小数位",
  13656. "type": "integer"
  13657. },
  13658. "endtime": {
  13659. "description": "预售结束时间",
  13660. "type": "string"
  13661. },
  13662. "floorprice": {
  13663. "description": "底价[大宗式竞拍]",
  13664. "type": "number"
  13665. },
  13666. "goodscode": {
  13667. "description": "商品代码(预售)",
  13668. "type": "string"
  13669. },
  13670. "goodsdetail": {
  13671. "description": "详情[大宗]",
  13672. "type": "string"
  13673. },
  13674. "goodsid": {
  13675. "description": "商品ID(自增ID SEQ_GOODS)",
  13676. "type": "integer"
  13677. },
  13678. "goodsname": {
  13679. "description": "商品名称(预售)",
  13680. "type": "string"
  13681. },
  13682. "goodunit": {
  13683. "description": "报价单位",
  13684. "type": "string"
  13685. },
  13686. "goodunitid": {
  13687. "description": "报价单位ID",
  13688. "type": "integer"
  13689. },
  13690. "marketid": {
  13691. "description": "所属市场ID",
  13692. "type": "integer"
  13693. },
  13694. "marketname": {
  13695. "description": "预售市场名称",
  13696. "type": "string"
  13697. },
  13698. "presaledamount": {
  13699. "description": "已预售总金额(预售结束时更新)",
  13700. "type": "number"
  13701. },
  13702. "presaledqty": {
  13703. "description": "已预售量(预售结束时更新)",
  13704. "type": "integer"
  13705. },
  13706. "presalemode": {
  13707. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13708. "type": "integer"
  13709. },
  13710. "presaleqty": {
  13711. "description": "预售数量",
  13712. "type": "integer"
  13713. },
  13714. "refprice": {
  13715. "description": "参考价格[一口价]",
  13716. "type": "number"
  13717. },
  13718. "relatedgoodscode": {
  13719. "description": "商品代码(订单)",
  13720. "type": "string"
  13721. },
  13722. "relatedgoodsid": {
  13723. "description": "关联交易合约ID",
  13724. "type": "integer"
  13725. },
  13726. "relatedgoodsname": {
  13727. "description": "商品名称(订单)",
  13728. "type": "string"
  13729. },
  13730. "relatedmarketid": {
  13731. "description": "关联交易合约市场ID",
  13732. "type": "integer"
  13733. },
  13734. "sellstatus": {
  13735. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13736. "type": "integer"
  13737. },
  13738. "startprice": {
  13739. "description": "起拍价[大宗式竞拍]",
  13740. "type": "number"
  13741. },
  13742. "starttime": {
  13743. "description": "预售开始时间",
  13744. "type": "string"
  13745. },
  13746. "tradedate": {
  13747. "description": "交易日(yyyyMMdd)",
  13748. "type": "string"
  13749. },
  13750. "tradeprice": {
  13751. "description": "成交价[大宗]",
  13752. "type": "number"
  13753. },
  13754. "userid": {
  13755. "description": "卖方用户ID",
  13756. "type": "integer"
  13757. }
  13758. }
  13759. },
  13760. "cptrade.QueryPresaleGoodsExRsp": {
  13761. "type": "object",
  13762. "required": [
  13763. "goodsid"
  13764. ],
  13765. "properties": {
  13766. "attachmenturl": {
  13767. "description": "附件地址",
  13768. "type": "string"
  13769. },
  13770. "createtime": {
  13771. "description": "创建时间",
  13772. "type": "string"
  13773. },
  13774. "endtime": {
  13775. "description": "预售结束时间",
  13776. "type": "string"
  13777. },
  13778. "floorprice": {
  13779. "description": "底价[大宗式竞拍]",
  13780. "type": "number"
  13781. },
  13782. "goodsdetail": {
  13783. "description": "详情[大宗]",
  13784. "type": "string"
  13785. },
  13786. "goodsid": {
  13787. "description": "商品ID(预售)",
  13788. "type": "integer"
  13789. },
  13790. "goodunit": {
  13791. "description": "报价单位",
  13792. "type": "string"
  13793. },
  13794. "marketid": {
  13795. "description": "预售市场ID - 根据预售模式选择市场",
  13796. "type": "integer"
  13797. },
  13798. "presaledamount": {
  13799. "description": "已预售总金额(预售结束时更新)",
  13800. "type": "number"
  13801. },
  13802. "presaledqty": {
  13803. "description": "已预售量(预售结束时更新)",
  13804. "type": "integer"
  13805. },
  13806. "presalemode": {
  13807. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13808. "type": "integer"
  13809. },
  13810. "presaleqty": {
  13811. "description": "预售数量",
  13812. "type": "integer"
  13813. },
  13814. "refprice": {
  13815. "description": "参考价格[一口价]",
  13816. "type": "number"
  13817. },
  13818. "relatedgoodsid": {
  13819. "description": "关联交易合约ID",
  13820. "type": "integer"
  13821. },
  13822. "relatedmarketid": {
  13823. "description": "关联交易合约市场ID",
  13824. "type": "integer"
  13825. },
  13826. "sellstatus": {
  13827. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13828. "type": "integer"
  13829. },
  13830. "startprice": {
  13831. "description": "起拍价[大宗式竞拍]",
  13832. "type": "number"
  13833. },
  13834. "starttime": {
  13835. "description": "预售开始时间",
  13836. "type": "string"
  13837. },
  13838. "tradedate": {
  13839. "description": "交易日(yyyyMMdd)",
  13840. "type": "string"
  13841. },
  13842. "tradeprice": {
  13843. "description": "成交价[大宗]",
  13844. "type": "number"
  13845. }
  13846. }
  13847. },
  13848. "delivery.QueryDeliveryRelationRsp": {
  13849. "type": "object",
  13850. "required": [
  13851. "begindate",
  13852. "enddate",
  13853. "goodsid",
  13854. "mindeliveryqty",
  13855. "xdeliveryratio"
  13856. ],
  13857. "properties": {
  13858. "begindate": {
  13859. "description": "起始日期(yyyyMMdd)",
  13860. "type": "string"
  13861. },
  13862. "buytemplateid": {
  13863. "description": "买履约计划模板ID",
  13864. "type": "integer"
  13865. },
  13866. "deliverygoodscode": {
  13867. "description": "品种代码",
  13868. "type": "string"
  13869. },
  13870. "deliverygoodsid": {
  13871. "description": "交割商品",
  13872. "type": "integer"
  13873. },
  13874. "deliverygoodsname": {
  13875. "description": "品种名称",
  13876. "type": "string"
  13877. },
  13878. "deliverymode": {
  13879. "description": "交割方式 - 1:点选式 2:申报式",
  13880. "type": "integer"
  13881. },
  13882. "deliverypricerule": {
  13883. "description": "交割价规则- 1:行情价 2:建仓价",
  13884. "type": "integer"
  13885. },
  13886. "deliverytype": {
  13887. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  13888. "type": "integer"
  13889. },
  13890. "enddate": {
  13891. "description": "结束日期(yyyyMMdd)",
  13892. "type": "string"
  13893. },
  13894. "enumdicname": {
  13895. "description": "品类单位名称",
  13896. "type": "string"
  13897. },
  13898. "goodscode": {
  13899. "description": "商品代码",
  13900. "type": "string"
  13901. },
  13902. "goodsid": {
  13903. "description": "交易合约ID",
  13904. "type": "integer"
  13905. },
  13906. "goodsname": {
  13907. "description": "商品名称",
  13908. "type": "string"
  13909. },
  13910. "marketid": {
  13911. "description": "市场ID",
  13912. "type": "integer"
  13913. },
  13914. "mindeliveryqty": {
  13915. "description": "最小交割系数(K)",
  13916. "type": "integer"
  13917. },
  13918. "p2deliveryprice": {
  13919. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  13920. "type": "number"
  13921. },
  13922. "p2deliveryratio": {
  13923. "description": "P2合约系数(p)",
  13924. "type": "integer"
  13925. },
  13926. "p2goodsid": {
  13927. "description": "P2合约ID",
  13928. "type": "integer"
  13929. },
  13930. "p2pricemode": {
  13931. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  13932. "type": "integer"
  13933. },
  13934. "pdeliveryprice": {
  13935. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  13936. "type": "number"
  13937. },
  13938. "pdeliveryratio": {
  13939. "description": "P合约系数(n)",
  13940. "type": "integer"
  13941. },
  13942. "pgoodscode": {
  13943. "description": "p合约代码",
  13944. "type": "string"
  13945. },
  13946. "pgoodsid": {
  13947. "description": "P合约ID",
  13948. "type": "integer"
  13949. },
  13950. "ppricemode": {
  13951. "description": "P合约价格方式 - 1:商品价 2:固定值",
  13952. "type": "integer"
  13953. },
  13954. "rratio": {
  13955. "description": "兑换系数(R)",
  13956. "type": "integer"
  13957. },
  13958. "rratio1": {
  13959. "description": "兑换系数(交易合约)(R1)",
  13960. "type": "integer"
  13961. },
  13962. "rratio2": {
  13963. "description": "兑换系数(仓单标准)(R2)",
  13964. "type": "integer"
  13965. },
  13966. "selltemplateid": {
  13967. "description": "卖履约计划模板ID",
  13968. "type": "integer"
  13969. },
  13970. "wrstandardid": {
  13971. "description": "仓单标准ID",
  13972. "type": "integer"
  13973. },
  13974. "xdeliveryratio": {
  13975. "description": "交易合约系数(m)",
  13976. "type": "integer"
  13977. }
  13978. }
  13979. },
  13980. "ermcp.ExposureDetailRsp": {
  13981. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  13982. },
  13983. "ermcp.ExposureHedgePosDetailRsp": {
  13984. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  13985. },
  13986. "ermcp.ExposureHedgePositionRsp": {
  13987. "$ref": "#/definitions/models.ErmcpHedgePosition"
  13988. },
  13989. "ermcp.ExposureSpotDetailRsp": {
  13990. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  13991. },
  13992. "ermcp.ExposureSpotRsp": {
  13993. "$ref": "#/definitions/models.AreaSpotModel"
  13994. },
  13995. "ermcp.HisExposureRsp": {
  13996. "$ref": "#/definitions/models.ErmcpHisExposureS"
  13997. },
  13998. "ermcp.PendingAuditCntRsp": {
  13999. "$ref": "#/definitions/models.ErmcpPendingAudit"
  14000. },
  14001. "ermcp.QryAvalidGPRsp": {
  14002. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  14003. },
  14004. "ermcp.QryBusinessDjRsp": {
  14005. "type": "object",
  14006. "properties": {
  14007. "amount": {
  14008. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14009. "type": "number"
  14010. },
  14011. "applyid": {
  14012. "description": "申请人",
  14013. "type": "string"
  14014. },
  14015. "applyname": {
  14016. "description": "申请人名称",
  14017. "type": "string"
  14018. },
  14019. "applystatus": {
  14020. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14021. "type": "integer"
  14022. },
  14023. "applytime": {
  14024. "description": "申请时间",
  14025. "type": "string"
  14026. },
  14027. "attachurl": {
  14028. "description": "附件",
  14029. "type": "string"
  14030. },
  14031. "auditid": {
  14032. "description": "审核人ID",
  14033. "type": "string"
  14034. },
  14035. "auditname": {
  14036. "description": "审核人名称",
  14037. "type": "string"
  14038. },
  14039. "audittime": {
  14040. "description": "审核时间",
  14041. "type": "string"
  14042. },
  14043. "buyusername": {
  14044. "description": "采购方名称",
  14045. "type": "string"
  14046. },
  14047. "contractno": {
  14048. "description": "合同编号",
  14049. "type": "string"
  14050. },
  14051. "contractstatus": {
  14052. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14053. "type": "integer"
  14054. },
  14055. "contracttype": {
  14056. "description": "现货合同类型 - 1:采购 -1:销售",
  14057. "type": "integer"
  14058. },
  14059. "deliverygoodscode": {
  14060. "description": "现货品种代码",
  14061. "type": "string"
  14062. },
  14063. "deliverygoodsid": {
  14064. "description": "现货商品ID",
  14065. "type": "integer"
  14066. },
  14067. "deliverygoodsname": {
  14068. "description": "现货品种名称",
  14069. "type": "string"
  14070. },
  14071. "enumdicname": {
  14072. "description": "单位名称",
  14073. "type": "string"
  14074. },
  14075. "goodscode": {
  14076. "description": "点价合约",
  14077. "type": "string"
  14078. },
  14079. "goodsname": {
  14080. "description": "商品名称",
  14081. "type": "string"
  14082. },
  14083. "operateapplyid": {
  14084. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14085. "type": "string"
  14086. },
  14087. "operateapplytype": {
  14088. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14089. "type": "integer"
  14090. },
  14091. "pricedPrice": {
  14092. "description": "点价价格(非必填)",
  14093. "type": "number"
  14094. },
  14095. "pricedQty": {
  14096. "description": "点价数量(非必填)",
  14097. "type": "number"
  14098. },
  14099. "pricemove": {
  14100. "description": "升贴水",
  14101. "type": "number"
  14102. },
  14103. "pricetype": {
  14104. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14105. "type": "integer"
  14106. },
  14107. "relatedid": {
  14108. "description": "现货合同ID",
  14109. "type": "string"
  14110. },
  14111. "sellusername": {
  14112. "description": "销售方名字",
  14113. "type": "string"
  14114. },
  14115. "userid": {
  14116. "description": "用户ID",
  14117. "type": "integer"
  14118. },
  14119. "wrstandardcode": {
  14120. "description": "品类代码",
  14121. "type": "string"
  14122. },
  14123. "wrstandardid": {
  14124. "description": "品类id",
  14125. "type": "integer"
  14126. },
  14127. "wrstandardname": {
  14128. "description": "品类名称",
  14129. "type": "string"
  14130. }
  14131. }
  14132. },
  14133. "ermcp.QryBussinessFpRsp": {
  14134. "type": "object",
  14135. "properties": {
  14136. "applyid": {
  14137. "description": "申请人",
  14138. "type": "string"
  14139. },
  14140. "applyname": {
  14141. "description": "申请人名称",
  14142. "type": "string"
  14143. },
  14144. "applystatus": {
  14145. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14146. "type": "integer"
  14147. },
  14148. "applytime": {
  14149. "description": "申请时间",
  14150. "type": "string"
  14151. },
  14152. "attachurl": {
  14153. "description": "附件",
  14154. "type": "string"
  14155. },
  14156. "auditid": {
  14157. "description": "审核人ID",
  14158. "type": "string"
  14159. },
  14160. "auditname": {
  14161. "description": "审核人名称",
  14162. "type": "string"
  14163. },
  14164. "audittime": {
  14165. "description": "审核时间",
  14166. "type": "string"
  14167. },
  14168. "buyusername": {
  14169. "description": "采购方名称",
  14170. "type": "string"
  14171. },
  14172. "contractno": {
  14173. "description": "合同编号",
  14174. "type": "string"
  14175. },
  14176. "contractstatus": {
  14177. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14178. "type": "integer"
  14179. },
  14180. "contracttype": {
  14181. "description": "现货合同类型 - 1:采购 -1:销售",
  14182. "type": "integer"
  14183. },
  14184. "deliverygoodscode": {
  14185. "description": "现货品种代码",
  14186. "type": "string"
  14187. },
  14188. "deliverygoodsid": {
  14189. "description": "现货商品ID",
  14190. "type": "integer"
  14191. },
  14192. "deliverygoodsname": {
  14193. "description": "现货品种名称",
  14194. "type": "string"
  14195. },
  14196. "enumdicname": {
  14197. "description": "单位名称",
  14198. "type": "string"
  14199. },
  14200. "goodscode": {
  14201. "description": "点价合约",
  14202. "type": "string"
  14203. },
  14204. "goodsname": {
  14205. "description": "商品名称",
  14206. "type": "string"
  14207. },
  14208. "invoiceAmount": {
  14209. "description": "已开收票金额(销售为开票,采购为收票)",
  14210. "type": "number"
  14211. },
  14212. "operateapplyid": {
  14213. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14214. "type": "string"
  14215. },
  14216. "operateapplytype": {
  14217. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14218. "type": "integer"
  14219. },
  14220. "pricemove": {
  14221. "description": "升贴水",
  14222. "type": "number"
  14223. },
  14224. "pricetype": {
  14225. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14226. "type": "integer"
  14227. },
  14228. "relatedid": {
  14229. "description": "现货合同ID",
  14230. "type": "string"
  14231. },
  14232. "sellusername": {
  14233. "description": "销售方名字",
  14234. "type": "string"
  14235. },
  14236. "userid": {
  14237. "description": "用户ID",
  14238. "type": "integer"
  14239. },
  14240. "wrstandardcode": {
  14241. "description": "品类代码",
  14242. "type": "string"
  14243. },
  14244. "wrstandardid": {
  14245. "description": "品类id",
  14246. "type": "integer"
  14247. },
  14248. "wrstandardname": {
  14249. "description": "品类名称",
  14250. "type": "string"
  14251. }
  14252. }
  14253. },
  14254. "ermcp.QryBussinessJsExRsp": {
  14255. "type": "object",
  14256. "properties": {
  14257. "applyid": {
  14258. "description": "申请人",
  14259. "type": "string"
  14260. },
  14261. "applyname": {
  14262. "description": "申请人名称",
  14263. "type": "string"
  14264. },
  14265. "applystatus": {
  14266. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14267. "type": "integer"
  14268. },
  14269. "applytime": {
  14270. "description": "申请时间",
  14271. "type": "string"
  14272. },
  14273. "attachurl": {
  14274. "description": "附件",
  14275. "type": "string"
  14276. },
  14277. "auditid": {
  14278. "description": "审核人ID",
  14279. "type": "string"
  14280. },
  14281. "auditname": {
  14282. "description": "审核人名称",
  14283. "type": "string"
  14284. },
  14285. "audittime": {
  14286. "description": "审核时间",
  14287. "type": "string"
  14288. },
  14289. "buyusername": {
  14290. "description": "采购方名称",
  14291. "type": "string"
  14292. },
  14293. "contractno": {
  14294. "description": "合同编号",
  14295. "type": "string"
  14296. },
  14297. "contractstatus": {
  14298. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14299. "type": "integer"
  14300. },
  14301. "contracttype": {
  14302. "description": "现货合同类型 - 1:采购 -1:销售",
  14303. "type": "integer"
  14304. },
  14305. "deliverygoodscode": {
  14306. "description": "现货品种代码",
  14307. "type": "string"
  14308. },
  14309. "deliverygoodsid": {
  14310. "description": "现货商品ID",
  14311. "type": "integer"
  14312. },
  14313. "deliverygoodsname": {
  14314. "description": "现货品种名称",
  14315. "type": "string"
  14316. },
  14317. "enumdicname": {
  14318. "description": "单位名称",
  14319. "type": "string"
  14320. },
  14321. "goodscode": {
  14322. "description": "点价合约",
  14323. "type": "string"
  14324. },
  14325. "goodsname": {
  14326. "description": "商品名称",
  14327. "type": "string"
  14328. },
  14329. "operateapplyid": {
  14330. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14331. "type": "string"
  14332. },
  14333. "operateapplytype": {
  14334. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14335. "type": "integer"
  14336. },
  14337. "pricemove": {
  14338. "description": "升贴水",
  14339. "type": "number"
  14340. },
  14341. "pricetype": {
  14342. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14343. "type": "integer"
  14344. },
  14345. "reckontype": {
  14346. "description": "结算类型",
  14347. "type": "string"
  14348. },
  14349. "reckonvalue": {
  14350. "description": "值",
  14351. "type": "number"
  14352. },
  14353. "relatedid": {
  14354. "description": "现货合同ID",
  14355. "type": "string"
  14356. },
  14357. "sellusername": {
  14358. "description": "销售方名字",
  14359. "type": "string"
  14360. },
  14361. "userid": {
  14362. "description": "用户ID",
  14363. "type": "integer"
  14364. },
  14365. "wrstandardcode": {
  14366. "description": "品类代码",
  14367. "type": "string"
  14368. },
  14369. "wrstandardid": {
  14370. "description": "品类id",
  14371. "type": "integer"
  14372. },
  14373. "wrstandardname": {
  14374. "description": "品类名称",
  14375. "type": "string"
  14376. }
  14377. }
  14378. },
  14379. "ermcp.QryBussinessJsRsp": {
  14380. "type": "object",
  14381. "properties": {
  14382. "addmargin": {
  14383. "description": "追加保证金(非必填)",
  14384. "type": "number"
  14385. },
  14386. "applyid": {
  14387. "description": "申请人",
  14388. "type": "string"
  14389. },
  14390. "applyname": {
  14391. "description": "申请人名称",
  14392. "type": "string"
  14393. },
  14394. "applystatus": {
  14395. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14396. "type": "integer"
  14397. },
  14398. "applytime": {
  14399. "description": "申请时间",
  14400. "type": "string"
  14401. },
  14402. "attachurl": {
  14403. "description": "附件",
  14404. "type": "string"
  14405. },
  14406. "auditid": {
  14407. "description": "审核人ID",
  14408. "type": "string"
  14409. },
  14410. "auditname": {
  14411. "description": "审核人名称",
  14412. "type": "string"
  14413. },
  14414. "audittime": {
  14415. "description": "审核时间",
  14416. "type": "string"
  14417. },
  14418. "buyusername": {
  14419. "description": "采购方名称",
  14420. "type": "string"
  14421. },
  14422. "contractno": {
  14423. "description": "合同编号",
  14424. "type": "string"
  14425. },
  14426. "contractstatus": {
  14427. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14428. "type": "integer"
  14429. },
  14430. "contracttype": {
  14431. "description": "现货合同类型 - 1:采购 -1:销售",
  14432. "type": "integer"
  14433. },
  14434. "decmargin": {
  14435. "description": "减少保证金(非必填)",
  14436. "type": "number"
  14437. },
  14438. "deliverygoodscode": {
  14439. "description": "现货品种代码",
  14440. "type": "string"
  14441. },
  14442. "deliverygoodsid": {
  14443. "description": "现货商品ID",
  14444. "type": "integer"
  14445. },
  14446. "deliverygoodsname": {
  14447. "description": "现货品种名称",
  14448. "type": "string"
  14449. },
  14450. "enumdicname": {
  14451. "description": "单位名称",
  14452. "type": "string"
  14453. },
  14454. "goodscode": {
  14455. "description": "点价合约",
  14456. "type": "string"
  14457. },
  14458. "goodsname": {
  14459. "description": "商品名称",
  14460. "type": "string"
  14461. },
  14462. "operateapplyid": {
  14463. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14464. "type": "string"
  14465. },
  14466. "operateapplytype": {
  14467. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14468. "type": "integer"
  14469. },
  14470. "pricemove": {
  14471. "description": "升贴水",
  14472. "type": "number"
  14473. },
  14474. "pricetype": {
  14475. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14476. "type": "integer"
  14477. },
  14478. "reckonadjustamount": {
  14479. "description": "结算调整金额(非必填)",
  14480. "type": "number"
  14481. },
  14482. "reckonosamount": {
  14483. "description": "结算溢短金额(非必填)",
  14484. "type": "number"
  14485. },
  14486. "reckonotheramount": {
  14487. "description": "结算其他费用(非必填)",
  14488. "type": "number"
  14489. },
  14490. "reckonrealqty": {
  14491. "description": "结算实际数量(非必填)",
  14492. "type": "number"
  14493. },
  14494. "relatedid": {
  14495. "description": "现货合同ID",
  14496. "type": "string"
  14497. },
  14498. "sellusername": {
  14499. "description": "销售方名字",
  14500. "type": "string"
  14501. },
  14502. "userid": {
  14503. "description": "用户ID",
  14504. "type": "integer"
  14505. },
  14506. "wrstandardcode": {
  14507. "description": "品类代码",
  14508. "type": "string"
  14509. },
  14510. "wrstandardid": {
  14511. "description": "品类id",
  14512. "type": "integer"
  14513. },
  14514. "wrstandardname": {
  14515. "description": "品类名称",
  14516. "type": "string"
  14517. }
  14518. }
  14519. },
  14520. "ermcp.QryBussinessKxRsp": {
  14521. "type": "object",
  14522. "properties": {
  14523. "applyid": {
  14524. "description": "申请人",
  14525. "type": "string"
  14526. },
  14527. "applyname": {
  14528. "description": "申请人名称",
  14529. "type": "string"
  14530. },
  14531. "applystatus": {
  14532. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14533. "type": "integer"
  14534. },
  14535. "applytime": {
  14536. "description": "申请时间",
  14537. "type": "string"
  14538. },
  14539. "attachurl": {
  14540. "description": "附件",
  14541. "type": "string"
  14542. },
  14543. "auditid": {
  14544. "description": "审核人ID",
  14545. "type": "string"
  14546. },
  14547. "auditname": {
  14548. "description": "审核人名称",
  14549. "type": "string"
  14550. },
  14551. "audittime": {
  14552. "description": "审核时间",
  14553. "type": "string"
  14554. },
  14555. "buyusername": {
  14556. "description": "采购方名称",
  14557. "type": "string"
  14558. },
  14559. "contractno": {
  14560. "description": "合同编号",
  14561. "type": "string"
  14562. },
  14563. "contractstatus": {
  14564. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14565. "type": "integer"
  14566. },
  14567. "contracttype": {
  14568. "description": "现货合同类型 - 1:采购 -1:销售",
  14569. "type": "integer"
  14570. },
  14571. "deductamount": {
  14572. "description": "退款(非必填)",
  14573. "type": "number"
  14574. },
  14575. "deliverygoodscode": {
  14576. "description": "现货品种代码",
  14577. "type": "string"
  14578. },
  14579. "deliverygoodsid": {
  14580. "description": "现货商品ID",
  14581. "type": "integer"
  14582. },
  14583. "deliverygoodsname": {
  14584. "description": "现货品种名称",
  14585. "type": "string"
  14586. },
  14587. "enumdicname": {
  14588. "description": "单位名称",
  14589. "type": "string"
  14590. },
  14591. "goodscode": {
  14592. "description": "点价合约",
  14593. "type": "string"
  14594. },
  14595. "goodsname": {
  14596. "description": "商品名称",
  14597. "type": "string"
  14598. },
  14599. "kxtype": {
  14600. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  14601. "type": "integer"
  14602. },
  14603. "operateapplyid": {
  14604. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14605. "type": "string"
  14606. },
  14607. "operateapplytype": {
  14608. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14609. "type": "integer"
  14610. },
  14611. "payamount": {
  14612. "description": "收付款(非必填)",
  14613. "type": "number"
  14614. },
  14615. "pricemove": {
  14616. "description": "升贴水",
  14617. "type": "number"
  14618. },
  14619. "pricetype": {
  14620. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14621. "type": "integer"
  14622. },
  14623. "relatedid": {
  14624. "description": "现货合同ID",
  14625. "type": "string"
  14626. },
  14627. "sellusername": {
  14628. "description": "销售方名字",
  14629. "type": "string"
  14630. },
  14631. "userid": {
  14632. "description": "用户ID",
  14633. "type": "integer"
  14634. },
  14635. "wrstandardcode": {
  14636. "description": "品类代码",
  14637. "type": "string"
  14638. },
  14639. "wrstandardid": {
  14640. "description": "品类id",
  14641. "type": "integer"
  14642. },
  14643. "wrstandardname": {
  14644. "description": "品类名称",
  14645. "type": "string"
  14646. }
  14647. }
  14648. },
  14649. "ermcp.QryGGCovertCfgRsp": {
  14650. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  14651. },
  14652. "ermcp.QryMGChangeLogRsp": {
  14653. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  14654. },
  14655. "ermcp.QryMiddleGoodsDetailRsp": {
  14656. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  14657. },
  14658. "ermcp.QryMiddleGoodsRsp": {
  14659. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14660. },
  14661. "ermcp.QryOPLogRsp": {
  14662. "$ref": "#/definitions/models.ErmcpOPLogModel"
  14663. },
  14664. "ermcp.QryUserInfoRsp": {
  14665. "$ref": "#/definitions/models.ErmcpUserModel"
  14666. },
  14667. "ermcp.QryWarehouseRsp": {
  14668. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  14669. },
  14670. "ermcp.QueryErmcpTradePositionRsp": {
  14671. "type": "object",
  14672. "properties": {
  14673. "agreeunit": {
  14674. "description": "合约单位",
  14675. "type": "number"
  14676. },
  14677. "buyorsell": {
  14678. "description": "方向 - 0:买 1:卖",
  14679. "type": "integer"
  14680. },
  14681. "curpositionqty": {
  14682. "description": "持仓(总仓数量, 期末头寸)",
  14683. "type": "integer"
  14684. },
  14685. "curtdposition": {
  14686. "description": "今仓数量(期末今日头寸)",
  14687. "type": "integer"
  14688. },
  14689. "curtdpositionenabled": {
  14690. "description": "今仓可用",
  14691. "type": "integer"
  14692. },
  14693. "decimalplace": {
  14694. "description": "报价小数位",
  14695. "type": "integer"
  14696. },
  14697. "enableqty": {
  14698. "description": "可用(总仓可用)",
  14699. "type": "integer"
  14700. },
  14701. "exexchangename": {
  14702. "description": "外部交易所名称",
  14703. "type": "string"
  14704. },
  14705. "goodscode": {
  14706. "description": "商品代码(内部)",
  14707. "type": "string"
  14708. },
  14709. "goodsid": {
  14710. "description": "商品ID(自增ID SEQ_GOODS)",
  14711. "type": "integer"
  14712. },
  14713. "goodsname": {
  14714. "description": "商品名称",
  14715. "type": "string"
  14716. },
  14717. "last": {
  14718. "description": "现价",
  14719. "type": "number"
  14720. },
  14721. "marketid": {
  14722. "description": "所属市场ID",
  14723. "type": "integer"
  14724. },
  14725. "openaverageprice": {
  14726. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  14727. "type": "number"
  14728. },
  14729. "opencost": {
  14730. "description": "开仓成本",
  14731. "type": "number"
  14732. },
  14733. "openpl": {
  14734. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14735. "type": "number"
  14736. },
  14737. "outgoodscode": {
  14738. "description": "商品代码(外部)",
  14739. "type": "string"
  14740. },
  14741. "positionaverageprice": {
  14742. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  14743. "type": "number"
  14744. },
  14745. "positioncost": {
  14746. "description": "持仓成本",
  14747. "type": "number"
  14748. },
  14749. "positionpl": {
  14750. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14751. "type": "number"
  14752. },
  14753. "positionplrate": {
  14754. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  14755. "type": "number"
  14756. },
  14757. "usedmargin": {
  14758. "description": "占用保证金",
  14759. "type": "number"
  14760. }
  14761. }
  14762. },
  14763. "ermcp.RealtimeExposurePositionRsp": {
  14764. "$ref": "#/definitions/models.ErmcpExposurePostion"
  14765. },
  14766. "ermcp.RealtimeExposureRsp": {
  14767. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  14768. },
  14769. "erms2.QueryArbitrageStrategyRsp": {
  14770. "type": "object",
  14771. "required": [
  14772. "asapplyid"
  14773. ],
  14774. "properties": {
  14775. "applybasis": {
  14776. "description": "申请基差",
  14777. "type": "number"
  14778. },
  14779. "asapplyid": {
  14780. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  14781. "type": "string"
  14782. },
  14783. "asname": {
  14784. "description": "策略名称",
  14785. "type": "string"
  14786. },
  14787. "asno": {
  14788. "description": "策略编号",
  14789. "type": "string"
  14790. },
  14791. "basischangepl": {
  14792. "description": "基差变动损益[结算更新]",
  14793. "type": "number"
  14794. },
  14795. "biztype": {
  14796. "description": "业务类型 - 1:正向套利 -1:反向套利",
  14797. "type": "integer"
  14798. },
  14799. "closetradedate": {
  14800. "description": "完结交易日(yyyyMMdd)",
  14801. "type": "string"
  14802. },
  14803. "curbasis": {
  14804. "description": "当前基差[结算更新]",
  14805. "type": "number"
  14806. },
  14807. "deliverygoodsid": {
  14808. "description": "现货品种ID",
  14809. "type": "integer"
  14810. },
  14811. "futureavgprice": {
  14812. "description": "期货建仓均价",
  14813. "type": "number"
  14814. },
  14815. "futurecloseamount": {
  14816. "description": "期货平仓金额",
  14817. "type": "number"
  14818. },
  14819. "futurecloseqty": {
  14820. "description": "期货平仓数量",
  14821. "type": "number"
  14822. },
  14823. "futureopenamount": {
  14824. "description": "期货开仓金额",
  14825. "type": "number"
  14826. },
  14827. "futureopenqty": {
  14828. "description": "期货开仓数量",
  14829. "type": "number"
  14830. },
  14831. "futurepl": {
  14832. "description": "期货总盈亏[结算更新]",
  14833. "type": "number"
  14834. },
  14835. "futureqty": {
  14836. "description": "期货持仓数量",
  14837. "type": "number"
  14838. },
  14839. "futurequote": {
  14840. "description": "期货额度",
  14841. "type": "number"
  14842. },
  14843. "goodsgroupid": {
  14844. "description": "期货品种ID",
  14845. "type": "integer"
  14846. },
  14847. "marketid": {
  14848. "description": "市场ID",
  14849. "type": "integer"
  14850. },
  14851. "netexposure": {
  14852. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  14853. "type": "number"
  14854. },
  14855. "netexposurepl": {
  14856. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  14857. "type": "number"
  14858. },
  14859. "netexposurerate": {
  14860. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  14861. "type": "number"
  14862. },
  14863. "openbasis": {
  14864. "description": "建仓基差",
  14865. "type": "number"
  14866. },
  14867. "pricedspotqty": {
  14868. "description": "已定价现货数量",
  14869. "type": "number"
  14870. },
  14871. "pricedspotqtynotax": {
  14872. "description": "已定价现货不含税数量",
  14873. "type": "number"
  14874. },
  14875. "remark": {
  14876. "description": "备注",
  14877. "type": "string"
  14878. },
  14879. "spotavgprice": {
  14880. "description": "现货均价",
  14881. "type": "number"
  14882. },
  14883. "spotbuyamount": {
  14884. "description": "现货采购金额",
  14885. "type": "number"
  14886. },
  14887. "spotbuyqty": {
  14888. "description": "现货采购数量",
  14889. "type": "number"
  14890. },
  14891. "spotpl": {
  14892. "description": "现货总盈亏[结算更新]",
  14893. "type": "number"
  14894. },
  14895. "spotquota": {
  14896. "description": "现货额度",
  14897. "type": "number"
  14898. },
  14899. "spotsellamount": {
  14900. "description": "现货销售金额",
  14901. "type": "number"
  14902. },
  14903. "spotsellqty": {
  14904. "description": "现货销售数量",
  14905. "type": "number"
  14906. },
  14907. "spotusedquota": {
  14908. "description": "现货占用资金",
  14909. "type": "number"
  14910. },
  14911. "strategystatus": {
  14912. "description": "策略状态 - 0:未结束 1:已结束",
  14913. "type": "integer"
  14914. },
  14915. "totalpl": {
  14916. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  14917. "type": "number"
  14918. },
  14919. "tradedate": {
  14920. "description": "交易日(yyyyMMdd)",
  14921. "type": "string"
  14922. },
  14923. "updatetime": {
  14924. "description": "更新时间",
  14925. "type": "string"
  14926. },
  14927. "usedquota": {
  14928. "description": "已占用资金",
  14929. "type": "number"
  14930. },
  14931. "userid": {
  14932. "description": "所属机构",
  14933. "type": "integer"
  14934. }
  14935. }
  14936. },
  14937. "erms2.QueryInnerTradeDetailRsp": {
  14938. "type": "object",
  14939. "required": [
  14940. "asapplyid",
  14941. "buyorsell",
  14942. "goodscode",
  14943. "goodsgroupid",
  14944. "goodsgroupname",
  14945. "goodsname",
  14946. "tradeid"
  14947. ],
  14948. "properties": {
  14949. "accountid": {
  14950. "description": "账号ID",
  14951. "type": "integer"
  14952. },
  14953. "agreeunit": {
  14954. "description": "合约单位",
  14955. "type": "number"
  14956. },
  14957. "asapplyid": {
  14958. "description": "策略申请ID",
  14959. "type": "integer"
  14960. },
  14961. "asname": {
  14962. "description": "策略名称",
  14963. "type": "string"
  14964. },
  14965. "asno": {
  14966. "description": "策略编号",
  14967. "type": "string"
  14968. },
  14969. "buyorsell": {
  14970. "description": "方向 - 0:买 1:卖",
  14971. "type": "integer"
  14972. },
  14973. "channelbuildtype": {
  14974. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14975. "type": "integer"
  14976. },
  14977. "closetype": {
  14978. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14979. "type": "integer"
  14980. },
  14981. "decimalplace": {
  14982. "description": "报价小数位",
  14983. "type": "integer"
  14984. },
  14985. "detailtype": {
  14986. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  14987. "type": "integer"
  14988. },
  14989. "exexchangecode": {
  14990. "description": "外部交易所代码",
  14991. "type": "string"
  14992. },
  14993. "exexchangename": {
  14994. "description": "外部交易所名称",
  14995. "type": "string"
  14996. },
  14997. "goodscode": {
  14998. "description": "商品代码(合约)",
  14999. "type": "string"
  15000. },
  15001. "goodsgroupid": {
  15002. "description": "商品组ID(品种ID)",
  15003. "type": "integer"
  15004. },
  15005. "goodsgroupname": {
  15006. "description": "商品组名称(品种)",
  15007. "type": "string"
  15008. },
  15009. "goodsid": {
  15010. "description": "商品ID",
  15011. "type": "integer"
  15012. },
  15013. "goodsname": {
  15014. "description": "商品名称(合约)",
  15015. "type": "string"
  15016. },
  15017. "goodunit": {
  15018. "description": "报价单位",
  15019. "type": "string"
  15020. },
  15021. "marketid": {
  15022. "description": "市场ID",
  15023. "type": "integer"
  15024. },
  15025. "orderid": {
  15026. "description": "委托单号",
  15027. "type": "string"
  15028. },
  15029. "outgoodscode": {
  15030. "description": "商品代码(外部)",
  15031. "type": "string"
  15032. },
  15033. "relatedouttradeid": {
  15034. "description": "关联外部成交单ID",
  15035. "type": "string"
  15036. },
  15037. "remark": {
  15038. "description": "备注",
  15039. "type": "string"
  15040. },
  15041. "spotcontractid": {
  15042. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  15043. "type": "integer"
  15044. },
  15045. "spotcontractno": {
  15046. "description": "现货合同编号",
  15047. "type": "string"
  15048. },
  15049. "tradeid": {
  15050. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15051. "type": "string"
  15052. },
  15053. "tradeprice": {
  15054. "description": "成交价格",
  15055. "type": "number"
  15056. },
  15057. "tradeqty": {
  15058. "description": "成交数量",
  15059. "type": "integer"
  15060. },
  15061. "tradetime": {
  15062. "description": "成交时间",
  15063. "type": "string"
  15064. },
  15065. "updatetime": {
  15066. "description": "更新时间",
  15067. "type": "string"
  15068. }
  15069. }
  15070. },
  15071. "erms2.QuerySpotContractRsp": {
  15072. "type": "object",
  15073. "required": [
  15074. "spotcontractid"
  15075. ],
  15076. "properties": {
  15077. "accountid": {
  15078. "description": "资金账户ID",
  15079. "type": "integer"
  15080. },
  15081. "areauserid": {
  15082. "description": "所属机构",
  15083. "type": "integer"
  15084. },
  15085. "closedate": {
  15086. "description": "终止日期",
  15087. "type": "string"
  15088. },
  15089. "closeremark": {
  15090. "description": "结束备注",
  15091. "type": "string"
  15092. },
  15093. "closetradedate": {
  15094. "description": "完结交易日(yyyyMMdd)",
  15095. "type": "string"
  15096. },
  15097. "closetype": {
  15098. "description": "终止类型 - 1:违约 2:提前终止",
  15099. "type": "integer"
  15100. },
  15101. "contractamount": {
  15102. "description": "合同金额",
  15103. "type": "number"
  15104. },
  15105. "contractattachment": {
  15106. "description": "合同附件",
  15107. "type": "string"
  15108. },
  15109. "contractno": {
  15110. "description": "现货合同编号",
  15111. "type": "string"
  15112. },
  15113. "contractqty": {
  15114. "description": "合同数量(数值) (用于计算)",
  15115. "type": "number"
  15116. },
  15117. "contractqtychar": {
  15118. "description": "合同数量\\已订价数量 (用于显示)",
  15119. "type": "string"
  15120. },
  15121. "contractstatus": {
  15122. "description": "合同状态 - 0:未结束 1:已结束",
  15123. "type": "integer"
  15124. },
  15125. "contracttype": {
  15126. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  15127. "type": "integer"
  15128. },
  15129. "customeraccountid": {
  15130. "description": "客户资金账户ID",
  15131. "type": "integer"
  15132. },
  15133. "customeruserid": {
  15134. "description": "客户ID",
  15135. "type": "integer"
  15136. },
  15137. "deliverygoodsdesc": {
  15138. "description": "品种说明",
  15139. "type": "string"
  15140. },
  15141. "deliverygoodsid": {
  15142. "description": "现货品种ID",
  15143. "type": "integer"
  15144. },
  15145. "handlestatus": {
  15146. "description": "处理状态",
  15147. "type": "integer"
  15148. },
  15149. "invoiceatt": {
  15150. "description": "发票附件",
  15151. "type": "string"
  15152. },
  15153. "invoicedatetime": {
  15154. "description": "开收票更新时间",
  15155. "type": "string"
  15156. },
  15157. "invoiceopentime": {
  15158. "description": "开票时间",
  15159. "type": "string"
  15160. },
  15161. "invoiceremark": {
  15162. "description": "发票备注",
  15163. "type": "string"
  15164. },
  15165. "invoicestatus": {
  15166. "description": "开收票状态 - 0:未开票 1:已开票",
  15167. "type": "integer"
  15168. },
  15169. "lastdate": {
  15170. "description": "交货时间",
  15171. "type": "string"
  15172. },
  15173. "marketid": {
  15174. "description": "市场ID",
  15175. "type": "integer"
  15176. },
  15177. "paydatetime": {
  15178. "description": "收付款更新时间",
  15179. "type": "string"
  15180. },
  15181. "payremark": {
  15182. "description": "收付款备注",
  15183. "type": "string"
  15184. },
  15185. "paystatus": {
  15186. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  15187. "type": "integer"
  15188. },
  15189. "positionqty": {
  15190. "description": "头寸数量 - 合同数量去小数部分",
  15191. "type": "integer"
  15192. },
  15193. "producttype": {
  15194. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15195. "type": "integer"
  15196. },
  15197. "relatedqty": {
  15198. "description": "已关联数量",
  15199. "type": "number"
  15200. },
  15201. "relatedstatus": {
  15202. "description": "关联完结状态 - 0:未结束 1:已结束",
  15203. "type": "integer"
  15204. },
  15205. "remark": {
  15206. "description": "备注",
  15207. "type": "string"
  15208. },
  15209. "signdate": {
  15210. "description": "签订日期",
  15211. "type": "string"
  15212. },
  15213. "spotcontractid": {
  15214. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  15215. "type": "string"
  15216. },
  15217. "spotdatetime": {
  15218. "description": "收发货更新时间",
  15219. "type": "string"
  15220. },
  15221. "spotprice": {
  15222. "description": "价格",
  15223. "type": "number"
  15224. },
  15225. "spotremark": {
  15226. "description": "收发货备注",
  15227. "type": "string"
  15228. },
  15229. "spotstatus": {
  15230. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  15231. "type": "integer"
  15232. },
  15233. "tradedate": {
  15234. "description": "交易日(yyyyMMdd)",
  15235. "type": "string"
  15236. },
  15237. "userid": {
  15238. "description": "业务员用户ID",
  15239. "type": "integer"
  15240. },
  15241. "warehouseid": {
  15242. "description": "仓库ID",
  15243. "type": "integer"
  15244. },
  15245. "wrfactortypeid": {
  15246. "description": "仓单要素类型ID",
  15247. "type": "integer"
  15248. },
  15249. "wrstandardid": {
  15250. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15251. "type": "integer"
  15252. }
  15253. }
  15254. },
  15255. "erms3.AddErms2ASApplyReq": {
  15256. "type": "object",
  15257. "required": [
  15258. "asapplyid"
  15259. ],
  15260. "properties": {
  15261. "applybasis": {
  15262. "description": "申请基差",
  15263. "type": "number"
  15264. },
  15265. "applystatus": {
  15266. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15267. "type": "integer"
  15268. },
  15269. "asapplyid": {
  15270. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  15271. "type": "integer"
  15272. },
  15273. "asname": {
  15274. "description": "策略名称",
  15275. "type": "string"
  15276. },
  15277. "asno": {
  15278. "description": "策略编号",
  15279. "type": "string"
  15280. },
  15281. "auditid": {
  15282. "description": "审核人",
  15283. "type": "integer"
  15284. },
  15285. "auditremark": {
  15286. "description": "审核备注",
  15287. "type": "string"
  15288. },
  15289. "audittime": {
  15290. "description": "审核时间",
  15291. "type": "string"
  15292. },
  15293. "biztype": {
  15294. "description": "业务类型 - 1:正向套利 2:反向套利",
  15295. "type": "integer"
  15296. },
  15297. "createtime": {
  15298. "description": "创建时间",
  15299. "type": "string"
  15300. },
  15301. "creatorid": {
  15302. "description": "创建人",
  15303. "type": "integer"
  15304. },
  15305. "deliverygoodsid": {
  15306. "description": "现货品种ID",
  15307. "type": "integer"
  15308. },
  15309. "futurequote": {
  15310. "description": "期货额度",
  15311. "type": "number"
  15312. },
  15313. "goodsgroupid": {
  15314. "description": "期货品种ID",
  15315. "type": "integer"
  15316. },
  15317. "marketid": {
  15318. "description": "市场ID",
  15319. "type": "integer"
  15320. },
  15321. "remark": {
  15322. "description": "备注",
  15323. "type": "string"
  15324. },
  15325. "spotquota": {
  15326. "description": "现货额度",
  15327. "type": "number"
  15328. },
  15329. "tradedate": {
  15330. "description": "交易日(yyyyMMdd)",
  15331. "type": "string"
  15332. },
  15333. "userid": {
  15334. "description": "所属机构",
  15335. "type": "integer"
  15336. }
  15337. }
  15338. },
  15339. "erms3.AddErms2SpotTradeApplyReq": {
  15340. "type": "object",
  15341. "required": [
  15342. "spottradeid"
  15343. ],
  15344. "properties": {
  15345. "applyjsondetail": {
  15346. "description": "申请明细(JSON)",
  15347. "type": "string"
  15348. },
  15349. "applystatus": {
  15350. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15351. "type": "integer"
  15352. },
  15353. "areauserid": {
  15354. "description": "所属机构",
  15355. "type": "integer"
  15356. },
  15357. "auditid": {
  15358. "description": "审核人",
  15359. "type": "integer"
  15360. },
  15361. "auditremark": {
  15362. "description": "审核备注",
  15363. "type": "string"
  15364. },
  15365. "audittime": {
  15366. "description": "审核时间",
  15367. "type": "string"
  15368. },
  15369. "createtime": {
  15370. "description": "创建时间",
  15371. "type": "string"
  15372. },
  15373. "creatorid": {
  15374. "description": "创建人",
  15375. "type": "integer"
  15376. },
  15377. "deliverygoodsid": {
  15378. "description": "现货品种ID",
  15379. "type": "integer"
  15380. },
  15381. "futureaccountid": {
  15382. "description": "期货资金账户",
  15383. "type": "integer"
  15384. },
  15385. "goodsgroupid": {
  15386. "description": "期货品种",
  15387. "type": "integer"
  15388. },
  15389. "marketid": {
  15390. "description": "市场ID",
  15391. "type": "integer"
  15392. },
  15393. "remark": {
  15394. "description": "备注",
  15395. "type": "string"
  15396. },
  15397. "spotaccountid": {
  15398. "description": "现货资金账户",
  15399. "type": "integer"
  15400. },
  15401. "spottradeid": {
  15402. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15403. "type": "integer"
  15404. },
  15405. "spottradename": {
  15406. "description": "业务名称",
  15407. "type": "string"
  15408. },
  15409. "spottradeno": {
  15410. "description": "业务编号",
  15411. "type": "string"
  15412. },
  15413. "tradedate": {
  15414. "description": "交易日(yyyyMMdd)",
  15415. "type": "string"
  15416. },
  15417. "wrstandardid": {
  15418. "description": "仓单标准ID",
  15419. "type": "integer"
  15420. }
  15421. }
  15422. },
  15423. "erms3.AddSpotContractApplyReq": {
  15424. "type": "object",
  15425. "required": [
  15426. "accountid",
  15427. "areauserid",
  15428. "contractno",
  15429. "contracttype",
  15430. "customeraccountid",
  15431. "customeruserid",
  15432. "details",
  15433. "orimargin",
  15434. "signdate"
  15435. ],
  15436. "properties": {
  15437. "accountid": {
  15438. "description": "资金账户ID",
  15439. "type": "integer"
  15440. },
  15441. "areauserid": {
  15442. "description": "所属机构",
  15443. "type": "integer"
  15444. },
  15445. "contractattachment": {
  15446. "description": "合同附件",
  15447. "type": "string"
  15448. },
  15449. "contractno": {
  15450. "description": "现货合同编号",
  15451. "type": "string"
  15452. },
  15453. "contracttype": {
  15454. "description": "现货合同类型 - 1:采购 -1:销售",
  15455. "type": "integer"
  15456. },
  15457. "creatorid": {
  15458. "description": "申请人",
  15459. "type": "integer"
  15460. },
  15461. "customeraccountid": {
  15462. "description": "客户资金账户ID",
  15463. "type": "integer"
  15464. },
  15465. "customeruserid": {
  15466. "description": "客户ID",
  15467. "type": "integer"
  15468. },
  15469. "details": {
  15470. "description": "明细",
  15471. "type": "array",
  15472. "items": {
  15473. "$ref": "#/definitions/erms3.SoptContractDetail"
  15474. }
  15475. },
  15476. "orimargin": {
  15477. "description": "初始保证金",
  15478. "type": "number"
  15479. },
  15480. "remark": {
  15481. "description": "备注",
  15482. "type": "string"
  15483. },
  15484. "signdate": {
  15485. "description": "签订日期",
  15486. "type": "string"
  15487. }
  15488. }
  15489. },
  15490. "erms3.AddSpotContractApplyRsp": {
  15491. "type": "object",
  15492. "required": [
  15493. "contractno"
  15494. ],
  15495. "properties": {
  15496. "contractno": {
  15497. "description": "现货合同编号",
  15498. "type": "string"
  15499. },
  15500. "spotcontractid": {
  15501. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15502. "type": "integer"
  15503. }
  15504. }
  15505. },
  15506. "erms3.AddUserInfoApplyReq": {
  15507. "type": "object",
  15508. "required": [
  15509. "userid"
  15510. ],
  15511. "properties": {
  15512. "accountid": {
  15513. "description": "交易系统帐号Id (加密存储)",
  15514. "type": "integer"
  15515. },
  15516. "areacode": {
  15517. "description": "机构代码",
  15518. "type": "string"
  15519. },
  15520. "areaid": {
  15521. "description": "机构Id",
  15522. "type": "integer"
  15523. },
  15524. "attachment1": {
  15525. "description": "附件1",
  15526. "type": "string"
  15527. },
  15528. "attachment2": {
  15529. "description": "附件2",
  15530. "type": "string"
  15531. },
  15532. "attachment3": {
  15533. "description": "附件3",
  15534. "type": "string"
  15535. },
  15536. "attachment4": {
  15537. "description": "附件4",
  15538. "type": "string"
  15539. },
  15540. "attachment5": {
  15541. "description": "附件5",
  15542. "type": "string"
  15543. },
  15544. "auditedby": {
  15545. "description": "审核人",
  15546. "type": "string"
  15547. },
  15548. "auditime": {
  15549. "description": "审核时间",
  15550. "type": "string"
  15551. },
  15552. "auditsrc": {
  15553. "description": "审核来源 - 1:管理端 2:终端",
  15554. "type": "integer"
  15555. },
  15556. "bankaccount": {
  15557. "description": "银行帐号 (加密存储)",
  15558. "type": "string"
  15559. },
  15560. "bankaccountname": {
  15561. "description": "收款人名称",
  15562. "type": "string"
  15563. },
  15564. "bankcardbackphotourl": {
  15565. "description": "银行卡背面照地址",
  15566. "type": "string"
  15567. },
  15568. "bankcardfrontphotourl": {
  15569. "description": "银行卡正面照地址",
  15570. "type": "string"
  15571. },
  15572. "bankid": {
  15573. "description": "银行编码",
  15574. "type": "string"
  15575. },
  15576. "bankname": {
  15577. "description": "银行名称",
  15578. "type": "string"
  15579. },
  15580. "bankpictureurl": {
  15581. "description": "银行卡正面地址",
  15582. "type": "string"
  15583. },
  15584. "biznature": {
  15585. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15586. "type": "integer"
  15587. },
  15588. "bizscope": {
  15589. "description": "企业经营范围(企业)",
  15590. "type": "string"
  15591. },
  15592. "biztype": {
  15593. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15594. "type": "integer"
  15595. },
  15596. "brokerid": {
  15597. "description": "经纪人ID(加密存储)",
  15598. "type": "string"
  15599. },
  15600. "cardaddress": {
  15601. "description": "证件地址 (加密存储)",
  15602. "type": "string"
  15603. },
  15604. "cardbackphotourl": {
  15605. "description": "背面证件照地址",
  15606. "type": "string"
  15607. },
  15608. "cardfrontphotourl": {
  15609. "description": "正面证件照地址",
  15610. "type": "string"
  15611. },
  15612. "cardnum": {
  15613. "description": "证件号码 (加密存储)",
  15614. "type": "string"
  15615. },
  15616. "cardtype": {
  15617. "description": "证件类型",
  15618. "type": "integer"
  15619. },
  15620. "cityid": {
  15621. "description": "市",
  15622. "type": "integer"
  15623. },
  15624. "company": {
  15625. "description": "公司(个人)",
  15626. "type": "string"
  15627. },
  15628. "contactcardbackphotourl": {
  15629. "description": "联系人证件背面图片地址",
  15630. "type": "string"
  15631. },
  15632. "contactcardfrontphotourl": {
  15633. "description": "联系人证件正面图片地址",
  15634. "type": "string"
  15635. },
  15636. "contactname": {
  15637. "description": "联系人",
  15638. "type": "string"
  15639. },
  15640. "countryid": {
  15641. "description": "国家",
  15642. "type": "integer"
  15643. },
  15644. "createtime": {
  15645. "description": "开户申请时间",
  15646. "type": "string"
  15647. },
  15648. "cusbankid": {
  15649. "description": "签约类型",
  15650. "type": "string"
  15651. },
  15652. "cusbankname": {
  15653. "description": "签约类型名称",
  15654. "type": "string"
  15655. },
  15656. "customername": {
  15657. "description": "客户名称(企业名称)",
  15658. "type": "string"
  15659. },
  15660. "districtid": {
  15661. "description": "地区",
  15662. "type": "integer"
  15663. },
  15664. "email": {
  15665. "description": "Email地址(加密存储)",
  15666. "type": "string"
  15667. },
  15668. "halfbodyphotourl": {
  15669. "description": "半身照地址",
  15670. "type": "string"
  15671. },
  15672. "headurl": {
  15673. "description": "头像地址",
  15674. "type": "string"
  15675. },
  15676. "ipaddress": {
  15677. "description": "IP地址",
  15678. "type": "string"
  15679. },
  15680. "isvalidate": {
  15681. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15682. "type": "string"
  15683. },
  15684. "legalcardbackphotourl": {
  15685. "description": "法人身份证背面照地址",
  15686. "type": "string"
  15687. },
  15688. "legalcardfrontphotourl": {
  15689. "description": "法人身份证正面照地址",
  15690. "type": "string"
  15691. },
  15692. "legalpersonname": {
  15693. "description": "法人姓名(企业)",
  15694. "type": "string"
  15695. },
  15696. "logincode": {
  15697. "description": "登录帐号 (加密存储)",
  15698. "type": "string"
  15699. },
  15700. "memberareaid": {
  15701. "description": "所属会员ID",
  15702. "type": "integer"
  15703. },
  15704. "mobile2": {
  15705. "description": "手机号码[明文-尚志]",
  15706. "type": "string"
  15707. },
  15708. "mobilephone": {
  15709. "description": "手机号码 (加密存储)",
  15710. "type": "string"
  15711. },
  15712. "modifiedby": {
  15713. "description": "修改人帐号",
  15714. "type": "integer"
  15715. },
  15716. "modifiedtime": {
  15717. "description": "修改时间",
  15718. "type": "string"
  15719. },
  15720. "nickname": {
  15721. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15722. "type": "string"
  15723. },
  15724. "openmode": {
  15725. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15726. "type": "integer"
  15727. },
  15728. "otherurl": {
  15729. "description": "其它图片地址[使用分号分隔]",
  15730. "type": "string"
  15731. },
  15732. "postalcode": {
  15733. "description": "邮政编码",
  15734. "type": "string"
  15735. },
  15736. "provinceid": {
  15737. "description": "省",
  15738. "type": "integer"
  15739. },
  15740. "proxystatementurl": {
  15741. "description": "授权委托书",
  15742. "type": "string"
  15743. },
  15744. "qq": {
  15745. "description": "QQ(加密存储",
  15746. "type": "string"
  15747. },
  15748. "referral": {
  15749. "description": "推荐人编码",
  15750. "type": "string"
  15751. },
  15752. "remark": {
  15753. "description": "备注",
  15754. "type": "string"
  15755. },
  15756. "removebeforestatus": {
  15757. "description": "REMOVEBEFORESTATUS",
  15758. "type": "integer"
  15759. },
  15760. "sex": {
  15761. "description": "性别 - 0:女 1:男",
  15762. "type": "integer"
  15763. },
  15764. "signedstatus": {
  15765. "description": "账户一号签签约状态",
  15766. "type": "integer"
  15767. },
  15768. "signpdfurl": {
  15769. "description": "签约pdf文件",
  15770. "type": "string"
  15771. },
  15772. "subbranch": {
  15773. "description": "开户支行",
  15774. "type": "string"
  15775. },
  15776. "taxpayernum": {
  15777. "description": "纳税人识别号",
  15778. "type": "string"
  15779. },
  15780. "telphone": {
  15781. "description": "联系电话(加密存储)",
  15782. "type": "string"
  15783. },
  15784. "userid": {
  15785. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15786. "type": "integer"
  15787. },
  15788. "userinfotype": {
  15789. "description": "用户信息类型 - 1:个人 2:企业",
  15790. "type": "integer"
  15791. },
  15792. "username": {
  15793. "description": "用户姓名",
  15794. "type": "string"
  15795. },
  15796. "userstate": {
  15797. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15798. "type": "integer"
  15799. },
  15800. "usertype": {
  15801. "description": "用户类型 - 1:投资者 2:机构",
  15802. "type": "integer"
  15803. },
  15804. "videourl": {
  15805. "description": "视频地址",
  15806. "type": "string"
  15807. },
  15808. "wechat": {
  15809. "description": "微信号 (加密存储)",
  15810. "type": "string"
  15811. }
  15812. }
  15813. },
  15814. "erms3.CustomerInfo": {
  15815. "type": "object",
  15816. "required": [
  15817. "userid"
  15818. ],
  15819. "properties": {
  15820. "accountids": {
  15821. "description": "资金账户ID列表",
  15822. "type": "array",
  15823. "items": {
  15824. "type": "integer"
  15825. }
  15826. },
  15827. "customername": {
  15828. "description": "名称(企业名称)",
  15829. "type": "string"
  15830. },
  15831. "mobile": {
  15832. "description": "手机号码",
  15833. "type": "string"
  15834. },
  15835. "userid": {
  15836. "description": "用户ID",
  15837. "type": "integer"
  15838. }
  15839. }
  15840. },
  15841. "erms3.ModifyUserInfoApplyReq": {
  15842. "type": "object",
  15843. "required": [
  15844. "userid"
  15845. ],
  15846. "properties": {
  15847. "accountid": {
  15848. "description": "交易系统帐号Id (加密存储)",
  15849. "type": "integer"
  15850. },
  15851. "areacode": {
  15852. "description": "机构代码",
  15853. "type": "string"
  15854. },
  15855. "areaid": {
  15856. "description": "机构Id",
  15857. "type": "integer"
  15858. },
  15859. "attachment1": {
  15860. "description": "附件1",
  15861. "type": "string"
  15862. },
  15863. "attachment2": {
  15864. "description": "附件2",
  15865. "type": "string"
  15866. },
  15867. "attachment3": {
  15868. "description": "附件3",
  15869. "type": "string"
  15870. },
  15871. "attachment4": {
  15872. "description": "附件4",
  15873. "type": "string"
  15874. },
  15875. "attachment5": {
  15876. "description": "附件5",
  15877. "type": "string"
  15878. },
  15879. "auditedby": {
  15880. "description": "审核人",
  15881. "type": "string"
  15882. },
  15883. "auditime": {
  15884. "description": "审核时间",
  15885. "type": "string"
  15886. },
  15887. "auditsrc": {
  15888. "description": "审核来源 - 1:管理端 2:终端",
  15889. "type": "integer"
  15890. },
  15891. "bankaccount": {
  15892. "description": "银行帐号 (加密存储)",
  15893. "type": "string"
  15894. },
  15895. "bankaccountname": {
  15896. "description": "收款人名称",
  15897. "type": "string"
  15898. },
  15899. "bankcardbackphotourl": {
  15900. "description": "银行卡背面照地址",
  15901. "type": "string"
  15902. },
  15903. "bankcardfrontphotourl": {
  15904. "description": "银行卡正面照地址",
  15905. "type": "string"
  15906. },
  15907. "bankid": {
  15908. "description": "银行编码",
  15909. "type": "string"
  15910. },
  15911. "bankname": {
  15912. "description": "银行名称",
  15913. "type": "string"
  15914. },
  15915. "bankpictureurl": {
  15916. "description": "银行卡正面地址",
  15917. "type": "string"
  15918. },
  15919. "biznature": {
  15920. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15921. "type": "integer"
  15922. },
  15923. "bizscope": {
  15924. "description": "企业经营范围(企业)",
  15925. "type": "string"
  15926. },
  15927. "biztype": {
  15928. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15929. "type": "integer"
  15930. },
  15931. "brokerid": {
  15932. "description": "经纪人ID(加密存储)",
  15933. "type": "string"
  15934. },
  15935. "cardaddress": {
  15936. "description": "证件地址 (加密存储)",
  15937. "type": "string"
  15938. },
  15939. "cardbackphotourl": {
  15940. "description": "背面证件照地址",
  15941. "type": "string"
  15942. },
  15943. "cardfrontphotourl": {
  15944. "description": "正面证件照地址",
  15945. "type": "string"
  15946. },
  15947. "cardnum": {
  15948. "description": "证件号码 (加密存储)",
  15949. "type": "string"
  15950. },
  15951. "cardtype": {
  15952. "description": "证件类型",
  15953. "type": "integer"
  15954. },
  15955. "cityid": {
  15956. "description": "市",
  15957. "type": "integer"
  15958. },
  15959. "company": {
  15960. "description": "公司(个人)",
  15961. "type": "string"
  15962. },
  15963. "contactcardbackphotourl": {
  15964. "description": "联系人证件背面图片地址",
  15965. "type": "string"
  15966. },
  15967. "contactcardfrontphotourl": {
  15968. "description": "联系人证件正面图片地址",
  15969. "type": "string"
  15970. },
  15971. "contactname": {
  15972. "description": "联系人",
  15973. "type": "string"
  15974. },
  15975. "countryid": {
  15976. "description": "国家",
  15977. "type": "integer"
  15978. },
  15979. "createtime": {
  15980. "description": "开户申请时间",
  15981. "type": "string"
  15982. },
  15983. "cusbankid": {
  15984. "description": "签约类型",
  15985. "type": "string"
  15986. },
  15987. "cusbankname": {
  15988. "description": "签约类型名称",
  15989. "type": "string"
  15990. },
  15991. "customername": {
  15992. "description": "客户名称(企业名称)",
  15993. "type": "string"
  15994. },
  15995. "districtid": {
  15996. "description": "地区",
  15997. "type": "integer"
  15998. },
  15999. "email": {
  16000. "description": "Email地址(加密存储)",
  16001. "type": "string"
  16002. },
  16003. "halfbodyphotourl": {
  16004. "description": "半身照地址",
  16005. "type": "string"
  16006. },
  16007. "headurl": {
  16008. "description": "头像地址",
  16009. "type": "string"
  16010. },
  16011. "ipaddress": {
  16012. "description": "IP地址",
  16013. "type": "string"
  16014. },
  16015. "isvalidate": {
  16016. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16017. "type": "string"
  16018. },
  16019. "legalcardbackphotourl": {
  16020. "description": "法人身份证背面照地址",
  16021. "type": "string"
  16022. },
  16023. "legalcardfrontphotourl": {
  16024. "description": "法人身份证正面照地址",
  16025. "type": "string"
  16026. },
  16027. "legalpersonname": {
  16028. "description": "法人姓名(企业)",
  16029. "type": "string"
  16030. },
  16031. "logincode": {
  16032. "description": "登录帐号 (加密存储)",
  16033. "type": "string"
  16034. },
  16035. "memberareaid": {
  16036. "description": "所属会员ID",
  16037. "type": "integer"
  16038. },
  16039. "mobile2": {
  16040. "description": "手机号码[明文-尚志]",
  16041. "type": "string"
  16042. },
  16043. "mobilephone": {
  16044. "description": "手机号码 (加密存储)",
  16045. "type": "string"
  16046. },
  16047. "modifiedby": {
  16048. "description": "修改人帐号",
  16049. "type": "integer"
  16050. },
  16051. "modifiedtime": {
  16052. "description": "修改时间",
  16053. "type": "string"
  16054. },
  16055. "nickname": {
  16056. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16057. "type": "string"
  16058. },
  16059. "openmode": {
  16060. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16061. "type": "integer"
  16062. },
  16063. "otherurl": {
  16064. "description": "其它图片地址[使用分号分隔]",
  16065. "type": "string"
  16066. },
  16067. "postalcode": {
  16068. "description": "邮政编码",
  16069. "type": "string"
  16070. },
  16071. "provinceid": {
  16072. "description": "省",
  16073. "type": "integer"
  16074. },
  16075. "proxystatementurl": {
  16076. "description": "授权委托书",
  16077. "type": "string"
  16078. },
  16079. "qq": {
  16080. "description": "QQ(加密存储",
  16081. "type": "string"
  16082. },
  16083. "referral": {
  16084. "description": "推荐人编码",
  16085. "type": "string"
  16086. },
  16087. "remark": {
  16088. "description": "备注",
  16089. "type": "string"
  16090. },
  16091. "removebeforestatus": {
  16092. "description": "REMOVEBEFORESTATUS",
  16093. "type": "integer"
  16094. },
  16095. "sex": {
  16096. "description": "性别 - 0:女 1:男",
  16097. "type": "integer"
  16098. },
  16099. "signedstatus": {
  16100. "description": "账户一号签签约状态",
  16101. "type": "integer"
  16102. },
  16103. "signpdfurl": {
  16104. "description": "签约pdf文件",
  16105. "type": "string"
  16106. },
  16107. "subbranch": {
  16108. "description": "开户支行",
  16109. "type": "string"
  16110. },
  16111. "taxpayernum": {
  16112. "description": "纳税人识别号",
  16113. "type": "string"
  16114. },
  16115. "telphone": {
  16116. "description": "联系电话(加密存储)",
  16117. "type": "string"
  16118. },
  16119. "userid": {
  16120. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16121. "type": "integer"
  16122. },
  16123. "userinfotype": {
  16124. "description": "用户信息类型 - 1:个人 2:企业",
  16125. "type": "integer"
  16126. },
  16127. "username": {
  16128. "description": "用户姓名",
  16129. "type": "string"
  16130. },
  16131. "userstate": {
  16132. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16133. "type": "integer"
  16134. },
  16135. "usertype": {
  16136. "description": "用户类型 - 1:投资者 2:机构",
  16137. "type": "integer"
  16138. },
  16139. "videourl": {
  16140. "description": "视频地址",
  16141. "type": "string"
  16142. },
  16143. "wechat": {
  16144. "description": "微信号 (加密存储)",
  16145. "type": "string"
  16146. }
  16147. }
  16148. },
  16149. "erms3.QryAuditContractRsp": {
  16150. "type": "object",
  16151. "required": [
  16152. "matchcustomername",
  16153. "spotcontractid"
  16154. ],
  16155. "properties": {
  16156. "accountid": {
  16157. "description": "交易员ID",
  16158. "type": "string"
  16159. },
  16160. "applystatus": {
  16161. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16162. "type": "integer"
  16163. },
  16164. "curdeliveryqty": {
  16165. "description": "未交收量",
  16166. "type": "integer"
  16167. },
  16168. "customername": {
  16169. "description": "采购方ID",
  16170. "type": "string"
  16171. },
  16172. "deliverygoodsid": {
  16173. "description": "品种ID",
  16174. "type": "string"
  16175. },
  16176. "deliveryqty": {
  16177. "description": "交收量",
  16178. "type": "integer"
  16179. },
  16180. "enumdicname": {
  16181. "description": "单位名称",
  16182. "type": "string"
  16183. },
  16184. "matchaccountid": {
  16185. "description": "业务员ID",
  16186. "type": "string"
  16187. },
  16188. "matchcustomername": {
  16189. "description": "销售方ID",
  16190. "type": "string"
  16191. },
  16192. "pricedqty": {
  16193. "description": "定价量",
  16194. "type": "number"
  16195. },
  16196. "signdate": {
  16197. "description": "签订日期",
  16198. "type": "string"
  16199. },
  16200. "spotcontractid": {
  16201. "description": "合同ID",
  16202. "type": "string"
  16203. },
  16204. "totaldqty": {
  16205. "description": "合同量",
  16206. "type": "number"
  16207. },
  16208. "unpricedqty": {
  16209. "description": "未定价量",
  16210. "type": "number"
  16211. },
  16212. "wrstandardname": {
  16213. "description": "商品名称",
  16214. "type": "string"
  16215. }
  16216. }
  16217. },
  16218. "erms3.QryPendingBizRsp": {
  16219. "$ref": "#/definitions/models.PendingAuditBizModel"
  16220. },
  16221. "erms3.QueryBusinessInfoRsp": {
  16222. "type": "object",
  16223. "properties": {
  16224. "businessid": {
  16225. "description": "业务ID.",
  16226. "type": "integer"
  16227. },
  16228. "buyamount": {
  16229. "description": "采购额.",
  16230. "type": "number"
  16231. },
  16232. "buyqty": {
  16233. "description": "采购量.",
  16234. "type": "string"
  16235. },
  16236. "futurepl": {
  16237. "description": "期货盈亏.",
  16238. "type": "number"
  16239. },
  16240. "futureqty": {
  16241. "description": "期货敞口.",
  16242. "type": "string"
  16243. },
  16244. "goodsid": {
  16245. "description": "商品名称/商品代码.",
  16246. "type": "string"
  16247. },
  16248. "hedgingqty": {
  16249. "description": "套保量.",
  16250. "type": "string"
  16251. },
  16252. "sellamount": {
  16253. "description": "销售额.",
  16254. "type": "number"
  16255. },
  16256. "sellqty": {
  16257. "description": "销售量.",
  16258. "type": "string"
  16259. },
  16260. "spotmarketvalue": {
  16261. "description": "现货市值.",
  16262. "type": "number"
  16263. },
  16264. "spotpl": {
  16265. "description": "浮动权益.",
  16266. "type": "number"
  16267. },
  16268. "spotqty": {
  16269. "description": "现货量.",
  16270. "type": "string"
  16271. },
  16272. "statu": {
  16273. "description": "状态,0-未结束 1-已结束.",
  16274. "type": "integer"
  16275. },
  16276. "totalpl": {
  16277. "description": "总盈亏.",
  16278. "type": "number"
  16279. },
  16280. "totalqty": {
  16281. "description": "总敞口.",
  16282. "type": "string"
  16283. },
  16284. "type": {
  16285. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  16286. "type": "integer"
  16287. }
  16288. }
  16289. },
  16290. "erms3.QuerySpotContractAppleFormRsp": {
  16291. "type": "object",
  16292. "properties": {
  16293. "goodses": {
  16294. "description": "合约列表",
  16295. "type": "array",
  16296. "items": {
  16297. "$ref": "#/definitions/models.GoodsIDAndName"
  16298. }
  16299. },
  16300. "oppositeusers": {
  16301. "description": "对方账号列表",
  16302. "type": "array",
  16303. "items": {
  16304. "$ref": "#/definitions/erms3.CustomerInfo"
  16305. }
  16306. },
  16307. "ouruser": {
  16308. "description": "我方账号",
  16309. "type": "object",
  16310. "$ref": "#/definitions/erms3.CustomerInfo"
  16311. },
  16312. "warehouseinfos": {
  16313. "description": "仓库信息列表",
  16314. "type": "array",
  16315. "items": {
  16316. "$ref": "#/definitions/models.Warehouseinfo"
  16317. }
  16318. },
  16319. "wrstandards": {
  16320. "description": "仓单标准列表",
  16321. "type": "array",
  16322. "items": {
  16323. "$ref": "#/definitions/models.WRStandardInfo"
  16324. }
  16325. }
  16326. }
  16327. },
  16328. "erms3.QuerySpotContractInfoRsp": {
  16329. "type": "object",
  16330. "properties": {
  16331. "accountid": {
  16332. "description": "表示交易员ID.",
  16333. "type": "integer"
  16334. },
  16335. "curdeliveryqty": {
  16336. "description": "表示未交收量.",
  16337. "type": "number"
  16338. },
  16339. "customername": {
  16340. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16341. "type": "string"
  16342. },
  16343. "deliverygoodsid": {
  16344. "description": "表示品种ID.",
  16345. "type": "string"
  16346. },
  16347. "deliveryqty": {
  16348. "description": "表示交收量.",
  16349. "type": "number"
  16350. },
  16351. "matchaccountid": {
  16352. "description": "表示业务员ID.",
  16353. "type": "integer"
  16354. },
  16355. "matchcustomername": {
  16356. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16357. "type": "string"
  16358. },
  16359. "priceqty": {
  16360. "description": "表示定价量.",
  16361. "type": "number"
  16362. },
  16363. "relatedbizid": {
  16364. "description": "表示业务ID.",
  16365. "type": "string"
  16366. },
  16367. "signdate": {
  16368. "description": "表示签订日期.",
  16369. "type": "string"
  16370. },
  16371. "spotcontractid": {
  16372. "description": "合同ID",
  16373. "type": "string"
  16374. },
  16375. "status": {
  16376. "description": "表示状态,0-履约中 1-已完成.",
  16377. "type": "integer"
  16378. },
  16379. "totalqty": {
  16380. "description": "表示合同量.",
  16381. "type": "number"
  16382. },
  16383. "unpricedqty": {
  16384. "description": "表示未定价量.",
  16385. "type": "number"
  16386. },
  16387. "wrstandardname": {
  16388. "description": "表示商品ID.",
  16389. "type": "string"
  16390. }
  16391. }
  16392. },
  16393. "erms3.QueryUserInfoAppliesRsp": {
  16394. "type": "object",
  16395. "required": [
  16396. "userid"
  16397. ],
  16398. "properties": {
  16399. "biznature": {
  16400. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16401. "type": "integer"
  16402. },
  16403. "contactname": {
  16404. "description": "联系人",
  16405. "type": "string"
  16406. },
  16407. "createtime": {
  16408. "description": "开户申请时间",
  16409. "type": "string"
  16410. },
  16411. "userid": {
  16412. "description": "用户ID(自增ID)",
  16413. "type": "integer"
  16414. },
  16415. "userinfotype": {
  16416. "description": "用户信息类型 - 1:个人 2:企业",
  16417. "type": "integer"
  16418. },
  16419. "username": {
  16420. "description": "用户姓名",
  16421. "type": "string"
  16422. },
  16423. "userstate": {
  16424. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16425. "type": "integer"
  16426. }
  16427. }
  16428. },
  16429. "erms3.QueryUserInfosRsp": {
  16430. "type": "object",
  16431. "required": [
  16432. "userid"
  16433. ],
  16434. "properties": {
  16435. "biznature": {
  16436. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16437. "type": "integer"
  16438. },
  16439. "contactname": {
  16440. "description": "联系人",
  16441. "type": "string"
  16442. },
  16443. "customername": {
  16444. "description": "客户名称(企业名称)",
  16445. "type": "string"
  16446. },
  16447. "userid": {
  16448. "description": "用户ID",
  16449. "type": "integer"
  16450. },
  16451. "userinfotype": {
  16452. "description": "用户信息类型 - 1:个人 2:企业",
  16453. "type": "integer"
  16454. },
  16455. "userstatus": {
  16456. "description": "用户状态 - 1:正常 2:注销",
  16457. "type": "integer"
  16458. }
  16459. }
  16460. },
  16461. "erms3.SoptContractDetail": {
  16462. "type": "object",
  16463. "required": [
  16464. "deliverygoodsid",
  16465. "producttype",
  16466. "unitname",
  16467. "warehouseid",
  16468. "wrstandardid",
  16469. "wrstandardname"
  16470. ],
  16471. "properties": {
  16472. "deliverygoodsdesc": {
  16473. "description": "现货品种说明",
  16474. "type": "string"
  16475. },
  16476. "deliverygoodsid": {
  16477. "description": "现货品种ID",
  16478. "type": "integer"
  16479. },
  16480. "deliverygoodsname": {
  16481. "description": "现货品种名称",
  16482. "type": "string"
  16483. },
  16484. "pointdesc": {
  16485. "description": "点价描述",
  16486. "type": "string"
  16487. },
  16488. "producttype": {
  16489. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16490. "type": "integer"
  16491. },
  16492. "producttypename": {
  16493. "description": "产品类型名称",
  16494. "type": "string"
  16495. },
  16496. "spotPointOrderVoList": {
  16497. "description": "点价列表",
  16498. "type": "array",
  16499. "items": {
  16500. "$ref": "#/definitions/erms3.SpotPointOrder"
  16501. }
  16502. },
  16503. "spotPriceOrderList": {
  16504. "description": "定价列表",
  16505. "type": "array",
  16506. "items": {
  16507. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16508. }
  16509. },
  16510. "unitname": {
  16511. "description": "单位名称",
  16512. "type": "string"
  16513. },
  16514. "warehouseid": {
  16515. "description": "仓库ID",
  16516. "type": "integer"
  16517. },
  16518. "warehousename": {
  16519. "description": "仓库名称",
  16520. "type": "string"
  16521. },
  16522. "wrstandardid": {
  16523. "description": "交易标的ID",
  16524. "type": "integer"
  16525. },
  16526. "wrstandardname": {
  16527. "description": "交易标的名称",
  16528. "type": "string"
  16529. }
  16530. }
  16531. },
  16532. "erms3.SpotPointOrder": {
  16533. "type": "object",
  16534. "required": [
  16535. "basic",
  16536. "goodsid",
  16537. "qty"
  16538. ],
  16539. "properties": {
  16540. "basic": {
  16541. "description": "基差",
  16542. "type": "number"
  16543. },
  16544. "deliveryenddate": {
  16545. "description": "交收结束日期",
  16546. "type": "string"
  16547. },
  16548. "deliverystartdate": {
  16549. "description": "交收开始日期",
  16550. "type": "string"
  16551. },
  16552. "enddate": {
  16553. "description": "点价结束日期",
  16554. "type": "string"
  16555. },
  16556. "goodsid": {
  16557. "description": "商品ID",
  16558. "type": "integer"
  16559. },
  16560. "goodsname": {
  16561. "description": "商品名称",
  16562. "type": "string"
  16563. },
  16564. "qty": {
  16565. "description": "数量",
  16566. "type": "number"
  16567. },
  16568. "startdate": {
  16569. "description": "点价开始日期",
  16570. "type": "string"
  16571. }
  16572. }
  16573. },
  16574. "erms3.SpotPriceOrder": {
  16575. "type": "object",
  16576. "required": [
  16577. "amount",
  16578. "price",
  16579. "qty"
  16580. ],
  16581. "properties": {
  16582. "amount": {
  16583. "description": "金额",
  16584. "type": "number"
  16585. },
  16586. "deliveryenddate": {
  16587. "description": "交收结束日期",
  16588. "type": "string"
  16589. },
  16590. "deliverystartdate": {
  16591. "description": "交收开始日期",
  16592. "type": "string"
  16593. },
  16594. "price": {
  16595. "description": "价格",
  16596. "type": "number"
  16597. },
  16598. "qty": {
  16599. "description": "数量",
  16600. "type": "number"
  16601. }
  16602. }
  16603. },
  16604. "hsby.GetHsbyMyCountRsp": {
  16605. "type": "object",
  16606. "properties": {
  16607. "myCouponCount": {
  16608. "description": "我的优惠卷数量",
  16609. "type": "integer"
  16610. },
  16611. "myOrderDetailListingCount": {
  16612. "description": "我的订单求购中数量",
  16613. "type": "integer"
  16614. },
  16615. "myOrderDetailPreCount": {
  16616. "description": "我的订单抢购中数量",
  16617. "type": "integer"
  16618. },
  16619. "myPackageUnReceiveCount": {
  16620. "description": "我的包裹待收货数量",
  16621. "type": "integer"
  16622. },
  16623. "myPackageUnSendCount": {
  16624. "description": "我的包裹待发货数量",
  16625. "type": "integer"
  16626. },
  16627. "myPayOrderCount": {
  16628. "description": "我的订单待付款数量",
  16629. "type": "integer"
  16630. }
  16631. }
  16632. },
  16633. "hsby.QueryProvincesAndCitiesRsp": {
  16634. "type": "object",
  16635. "properties": {
  16636. "cities": {
  16637. "description": "市",
  16638. "type": "array",
  16639. "items": {
  16640. "$ref": "#/definitions/models.Division"
  16641. }
  16642. },
  16643. "province": {
  16644. "description": "省",
  16645. "type": "object",
  16646. "$ref": "#/definitions/models.Division"
  16647. }
  16648. }
  16649. },
  16650. "models.AreaSpotModel": {
  16651. "type": "object",
  16652. "properties": {
  16653. "areauserid": {
  16654. "description": "所属机构",
  16655. "type": "integer"
  16656. },
  16657. "decreaseqty": {
  16658. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16659. "type": "number"
  16660. },
  16661. "increaseqty": {
  16662. "description": "增加数量=销售计划数量+采购已定价数量",
  16663. "type": "number"
  16664. },
  16665. "oritoalspotqty": {
  16666. "description": "昨日数量",
  16667. "type": "number"
  16668. },
  16669. "totalspotqty": {
  16670. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16671. "type": "number"
  16672. },
  16673. "updatetime": {
  16674. "description": "更新时间",
  16675. "type": "string"
  16676. },
  16677. "wrstandardcode": {
  16678. "description": "现货品种代码",
  16679. "type": "string"
  16680. },
  16681. "wrstandardid": {
  16682. "description": "现货商品ID",
  16683. "type": "integer"
  16684. },
  16685. "wrstandardname": {
  16686. "description": "现货品种",
  16687. "type": "string"
  16688. }
  16689. }
  16690. },
  16691. "models.Arearole": {
  16692. "type": "object",
  16693. "required": [
  16694. "roletype",
  16695. "userid"
  16696. ],
  16697. "properties": {
  16698. "createtime": {
  16699. "description": "创建时间",
  16700. "type": "string"
  16701. },
  16702. "creatorid": {
  16703. "description": "创建人ID",
  16704. "type": "integer"
  16705. },
  16706. "fromuserid": {
  16707. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  16708. "type": "integer"
  16709. },
  16710. "isreturnscore": {
  16711. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  16712. "type": "integer"
  16713. },
  16714. "modifierid": {
  16715. "description": "修改人ID",
  16716. "type": "integer"
  16717. },
  16718. "modifytime": {
  16719. "description": "修改时间",
  16720. "type": "string"
  16721. },
  16722. "orgtype": {
  16723. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  16724. "type": "integer"
  16725. },
  16726. "outuserid": {
  16727. "description": "外部账户[场外期权做市商]",
  16728. "type": "string"
  16729. },
  16730. "parentuserid": {
  16731. "description": "上级组织机构(组织机构)",
  16732. "type": "integer"
  16733. },
  16734. "roletype": {
  16735. "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:门店",
  16736. "type": "integer"
  16737. },
  16738. "rootuserid": {
  16739. "description": "顶级组织机构用户ID(组织机构)",
  16740. "type": "integer"
  16741. },
  16742. "shoppassword": {
  16743. "description": "商城店铺登陆密码(商城店铺角色使用)",
  16744. "type": "string"
  16745. },
  16746. "sublevelpath": {
  16747. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  16748. "type": "string"
  16749. },
  16750. "suborgtype": {
  16751. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  16752. "type": "integer"
  16753. },
  16754. "tradeaccountid": {
  16755. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  16756. "type": "integer"
  16757. },
  16758. "transurl": {
  16759. "description": "物流地址(物流机构)",
  16760. "type": "string"
  16761. },
  16762. "userid": {
  16763. "description": "机构用户ID其他做市关系,都设置为 1",
  16764. "type": "integer"
  16765. }
  16766. }
  16767. },
  16768. "models.Clientfixedadconfig": {
  16769. "type": "object",
  16770. "required": [
  16771. "adsort",
  16772. "adtype"
  16773. ],
  16774. "properties": {
  16775. "adsort": {
  16776. "description": "排序",
  16777. "type": "integer"
  16778. },
  16779. "adtype": {
  16780. "description": "广告位类型 - 1:新品抢购(HSBY)",
  16781. "type": "integer"
  16782. },
  16783. "areauserid": {
  16784. "description": "所属机构ID",
  16785. "type": "integer"
  16786. },
  16787. "createdate": {
  16788. "description": "创建时间",
  16789. "type": "string"
  16790. },
  16791. "creatorid": {
  16792. "description": "创建人",
  16793. "type": "integer"
  16794. },
  16795. "imagepath": {
  16796. "description": "图片",
  16797. "type": "string"
  16798. },
  16799. "isshow": {
  16800. "description": "是否展示 - 0:不展示 1:展示",
  16801. "type": "integer"
  16802. },
  16803. "modifierid": {
  16804. "description": "操作人",
  16805. "type": "integer"
  16806. },
  16807. "recsize": {
  16808. "description": "推荐尺寸",
  16809. "type": "string"
  16810. },
  16811. "title": {
  16812. "description": "标题",
  16813. "type": "string"
  16814. },
  16815. "updatedate": {
  16816. "description": "更新时间",
  16817. "type": "string"
  16818. },
  16819. "urlcontent": {
  16820. "description": "链接(地址或商品ID)",
  16821. "type": "string"
  16822. },
  16823. "urltype": {
  16824. "description": "链接类型 - 1:直接地址 2:商品ID",
  16825. "type": "integer"
  16826. }
  16827. }
  16828. },
  16829. "models.Division": {
  16830. "type": "object",
  16831. "required": [
  16832. "autoid",
  16833. "divisioncode"
  16834. ],
  16835. "properties": {
  16836. "autoid": {
  16837. "description": "自增ID",
  16838. "type": "integer"
  16839. },
  16840. "divisioncode": {
  16841. "description": "行政代码",
  16842. "type": "string"
  16843. },
  16844. "divisionlevel": {
  16845. "description": "行政级别",
  16846. "type": "string"
  16847. },
  16848. "divisionname": {
  16849. "description": "行政名称",
  16850. "type": "string"
  16851. },
  16852. "modifierid": {
  16853. "description": "修改人",
  16854. "type": "integer"
  16855. },
  16856. "modifytime": {
  16857. "description": "修改时间",
  16858. "type": "string"
  16859. },
  16860. "parentcode": {
  16861. "description": "上级行政代码",
  16862. "type": "string"
  16863. },
  16864. "pathname": {
  16865. "description": "路径名称",
  16866. "type": "string"
  16867. },
  16868. "postcode": {
  16869. "description": "邮政编码",
  16870. "type": "string"
  16871. },
  16872. "separablename": {
  16873. "description": "可拆分的全称",
  16874. "type": "string"
  16875. },
  16876. "shortcode": {
  16877. "description": "地区简码",
  16878. "type": "string"
  16879. }
  16880. }
  16881. },
  16882. "models.Enumdicitem": {
  16883. "type": "object",
  16884. "required": [
  16885. "autoid",
  16886. "enumdiccode",
  16887. "enumdicid",
  16888. "enumitemname"
  16889. ],
  16890. "properties": {
  16891. "autoid": {
  16892. "description": "自增ID",
  16893. "type": "integer"
  16894. },
  16895. "bankmappedvalue": {
  16896. "description": "银行服务对应值",
  16897. "type": "string"
  16898. },
  16899. "enumdiccode": {
  16900. "description": "所属枚举代码",
  16901. "type": "string"
  16902. },
  16903. "enumdicid": {
  16904. "description": "所属枚举ID",
  16905. "type": "integer"
  16906. },
  16907. "enumdicname": {
  16908. "description": "枚举项名称",
  16909. "type": "string"
  16910. },
  16911. "enumitemname": {
  16912. "description": "枚举项值",
  16913. "type": "integer"
  16914. },
  16915. "enumitemstatus": {
  16916. "description": "枚举项状态 - 1.启用 2.不启用",
  16917. "type": "integer"
  16918. },
  16919. "enumitemvalue": {
  16920. "description": "通用值 - [币种通用简写]",
  16921. "type": "string"
  16922. },
  16923. "param1": {
  16924. "description": "参数1[币种:币种小数位]",
  16925. "type": "string"
  16926. },
  16927. "param2": {
  16928. "description": "参数1[币种:币种显示单位]",
  16929. "type": "string"
  16930. },
  16931. "remark": {
  16932. "description": "备注",
  16933. "type": "string"
  16934. }
  16935. }
  16936. },
  16937. "models.Ermcp3AreaSpot": {
  16938. "type": "object",
  16939. "properties": {
  16940. "areauserid": {
  16941. "description": "所属机构",
  16942. "type": "integer"
  16943. },
  16944. "decreaseqty": {
  16945. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16946. "type": "number"
  16947. },
  16948. "deliverygoodscode": {
  16949. "description": "现货品种代码",
  16950. "type": "string"
  16951. },
  16952. "deliverygoodsid": {
  16953. "description": "现货品种id",
  16954. "type": "integer"
  16955. },
  16956. "deliverygoodsname": {
  16957. "description": "现货品种名称",
  16958. "type": "string"
  16959. },
  16960. "enumdicname": {
  16961. "description": "单位名称",
  16962. "type": "string"
  16963. },
  16964. "goodsunitid": {
  16965. "description": "现货品种单位id",
  16966. "type": "integer"
  16967. },
  16968. "increaseqty": {
  16969. "description": "增加数量=销售计划数量+采购已定价数量",
  16970. "type": "number"
  16971. },
  16972. "oritoalspotqty": {
  16973. "description": "昨日数量",
  16974. "type": "number"
  16975. },
  16976. "totalspotqty": {
  16977. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16978. "type": "number"
  16979. },
  16980. "updatetime": {
  16981. "description": "更新时间",
  16982. "type": "string"
  16983. }
  16984. }
  16985. },
  16986. "models.Ermcp3AreaSpotDetail": {
  16987. "type": "object",
  16988. "properties": {
  16989. "contracttype": {
  16990. "description": "合同类型 1-采购 -1-销售",
  16991. "type": "integer"
  16992. },
  16993. "createtime": {
  16994. "description": "创建时间",
  16995. "type": "string"
  16996. },
  16997. "deliverygoodscode": {
  16998. "description": "现货品种代码",
  16999. "type": "string"
  17000. },
  17001. "deliverygoodsid": {
  17002. "description": "现货品种id",
  17003. "type": "integer"
  17004. },
  17005. "deliverygoodsname": {
  17006. "description": "现货品种名称",
  17007. "type": "string"
  17008. },
  17009. "enumdicname": {
  17010. "description": "现货商品单位名称",
  17011. "type": "string"
  17012. },
  17013. "logtype": {
  17014. "description": "记录类型 1-套保 2-现货合同",
  17015. "type": "integer"
  17016. },
  17017. "qty": {
  17018. "description": "数量",
  17019. "type": "number"
  17020. },
  17021. "recordname": {
  17022. "description": "类型名称",
  17023. "type": "string"
  17024. },
  17025. "relatedid": {
  17026. "description": "套保计划ID/现货合同ID",
  17027. "type": "string"
  17028. },
  17029. "relatedno": {
  17030. "description": "编号",
  17031. "type": "string"
  17032. },
  17033. "strtime": {
  17034. "description": "时间",
  17035. "type": "string"
  17036. }
  17037. }
  17038. },
  17039. "models.Ermcp3AreaSpotPLReport": {
  17040. "type": "object",
  17041. "properties": {
  17042. "accountid": {
  17043. "description": "期货账户ID (作废, 默认为0)",
  17044. "type": "integer"
  17045. },
  17046. "accountname": {
  17047. "description": "机构名称",
  17048. "type": "string"
  17049. },
  17050. "actualpl": {
  17051. "description": "现货损益",
  17052. "type": "number"
  17053. },
  17054. "areauserid": {
  17055. "description": "所属机构\\交易用户ID",
  17056. "type": "integer"
  17057. },
  17058. "begindate": {
  17059. "description": "开始交易日",
  17060. "type": "string"
  17061. },
  17062. "biztype": {
  17063. "description": "业务类型 - 1:套保 2:套利",
  17064. "type": "integer"
  17065. },
  17066. "brandname": {
  17067. "description": "品牌名称",
  17068. "type": "string"
  17069. },
  17070. "curamount": {
  17071. "description": "期末额",
  17072. "type": "number"
  17073. },
  17074. "curaverageprice": {
  17075. "description": "期末均价",
  17076. "type": "number"
  17077. },
  17078. "curbuyamount": {
  17079. "description": "期末采购总额",
  17080. "type": "number"
  17081. },
  17082. "curbuyqty": {
  17083. "description": "期末采购总量",
  17084. "type": "number"
  17085. },
  17086. "curmarketvalue": {
  17087. "description": "参考市值(期末市值)",
  17088. "type": "number"
  17089. },
  17090. "curqty": {
  17091. "description": "期末量",
  17092. "type": "number"
  17093. },
  17094. "currencyid": {
  17095. "description": "结算币种ID【原值】",
  17096. "type": "integer"
  17097. },
  17098. "currencyname": {
  17099. "description": "币种名称",
  17100. "type": "string"
  17101. },
  17102. "cursellamount": {
  17103. "description": "期末销售总额",
  17104. "type": "number"
  17105. },
  17106. "cursellqty": {
  17107. "description": "期末销售总量",
  17108. "type": "number"
  17109. },
  17110. "curspotprice": {
  17111. "description": "参考市价(最新价)",
  17112. "type": "number"
  17113. },
  17114. "cycletime": {
  17115. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17116. "type": "string"
  17117. },
  17118. "cycletype": {
  17119. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17120. "type": "integer"
  17121. },
  17122. "deliverygoodscode": {
  17123. "description": "现货商品代码",
  17124. "type": "string"
  17125. },
  17126. "deliverygoodsid": {
  17127. "description": "现货品种ID",
  17128. "type": "integer"
  17129. },
  17130. "deliverygoodsname": {
  17131. "description": "现货商品名称",
  17132. "type": "string"
  17133. },
  17134. "enddate": {
  17135. "description": "结束交易日",
  17136. "type": "string"
  17137. },
  17138. "enumdicname": {
  17139. "description": "现货商品单位名称",
  17140. "type": "string"
  17141. },
  17142. "floatpl": {
  17143. "description": "浮动损益",
  17144. "type": "number"
  17145. },
  17146. "goodsunitid": {
  17147. "description": "现货商品单位id",
  17148. "type": "integer"
  17149. },
  17150. "oriamount": {
  17151. "description": "期初额",
  17152. "type": "number"
  17153. },
  17154. "oriaverageprice": {
  17155. "description": "期初均价",
  17156. "type": "number"
  17157. },
  17158. "oribuyamount": {
  17159. "description": "期初采购总额",
  17160. "type": "number"
  17161. },
  17162. "oribuyqty": {
  17163. "description": "期初采购总量",
  17164. "type": "number"
  17165. },
  17166. "oriqty": {
  17167. "description": "期初量",
  17168. "type": "number"
  17169. },
  17170. "orisellamount": {
  17171. "description": "期初销售总额",
  17172. "type": "number"
  17173. },
  17174. "orisellqty": {
  17175. "description": "期初销售总量",
  17176. "type": "number"
  17177. },
  17178. "reckondate": {
  17179. "description": "日照时期(yyyyMMdd)",
  17180. "type": "string"
  17181. },
  17182. "spotgoodsbrandid": {
  17183. "description": "现货品牌ID",
  17184. "type": "integer"
  17185. },
  17186. "todaybuyamount": {
  17187. "description": "今日采购额(今采购额)",
  17188. "type": "number"
  17189. },
  17190. "todaybuyaverageprice": {
  17191. "description": "今日采购均价",
  17192. "type": "number"
  17193. },
  17194. "todaybuyqty": {
  17195. "description": "今日采购量(今采购量)",
  17196. "type": "number"
  17197. },
  17198. "todayinqty": {
  17199. "description": "今日入库量(今入库量)",
  17200. "type": "number"
  17201. },
  17202. "todayoutqty": {
  17203. "description": "今日出库量(今出库量)",
  17204. "type": "number"
  17205. },
  17206. "todaysellamount": {
  17207. "description": "今日销售额(今销售额)",
  17208. "type": "number"
  17209. },
  17210. "todaysellaverageprice": {
  17211. "description": "今日销售均价",
  17212. "type": "number"
  17213. },
  17214. "todaysellqty": {
  17215. "description": "今日销售量(今销售量)",
  17216. "type": "number"
  17217. },
  17218. "unitid": {
  17219. "description": "品类单位id",
  17220. "type": "integer"
  17221. },
  17222. "unitidname": {
  17223. "description": "品类单位名称",
  17224. "type": "string"
  17225. },
  17226. "updatetime": {
  17227. "description": "更新时间",
  17228. "type": "string"
  17229. },
  17230. "wrfactortypeid": {
  17231. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17232. "type": "integer"
  17233. },
  17234. "wrstandardcode": {
  17235. "description": "品类代码",
  17236. "type": "string"
  17237. },
  17238. "wrstandardid": {
  17239. "description": "现货品类ID",
  17240. "type": "integer"
  17241. },
  17242. "wrstandardname": {
  17243. "description": "品类名称",
  17244. "type": "string"
  17245. }
  17246. }
  17247. },
  17248. "models.Ermcp3AreaStock": {
  17249. "type": "object",
  17250. "required": [
  17251. "userid"
  17252. ],
  17253. "properties": {
  17254. "brandname": {
  17255. "description": "品牌名称",
  17256. "type": "string"
  17257. },
  17258. "curstock": {
  17259. "description": "期末库存量(今日量)",
  17260. "type": "number"
  17261. },
  17262. "deliverygoodscode": {
  17263. "description": "现货品种代码",
  17264. "type": "string"
  17265. },
  17266. "deliverygoodsid": {
  17267. "description": "现货品种id",
  17268. "type": "integer"
  17269. },
  17270. "deliverygoodsname": {
  17271. "description": "现货品种名称",
  17272. "type": "string"
  17273. },
  17274. "enumdicname": {
  17275. "description": "单位名称",
  17276. "type": "string"
  17277. },
  17278. "goodsunitid": {
  17279. "description": "现货商品单位id",
  17280. "type": "integer"
  17281. },
  17282. "oristock": {
  17283. "description": "期初库存量(昨日量)",
  17284. "type": "number"
  17285. },
  17286. "spotgoodsbrandid": {
  17287. "description": "现货品牌ID",
  17288. "type": "integer"
  17289. },
  17290. "todaybuyinqty": {
  17291. "description": "今日采购入库量",
  17292. "type": "number"
  17293. },
  17294. "todayproduceinqty": {
  17295. "description": "今日生产入库量",
  17296. "type": "number"
  17297. },
  17298. "todayproduceoutqty": {
  17299. "description": "今日生产出库量",
  17300. "type": "number"
  17301. },
  17302. "todayselloutqty": {
  17303. "description": "今日销售出库量",
  17304. "type": "number"
  17305. },
  17306. "unitid": {
  17307. "description": "单位id",
  17308. "type": "integer"
  17309. },
  17310. "updatetime": {
  17311. "description": "更新时间",
  17312. "type": "string"
  17313. },
  17314. "userid": {
  17315. "description": "机构ID",
  17316. "type": "integer"
  17317. },
  17318. "username": {
  17319. "description": "机构名称",
  17320. "type": "string"
  17321. },
  17322. "warehousecode": {
  17323. "description": "仓库代码",
  17324. "type": "string"
  17325. },
  17326. "warehouseinfoid": {
  17327. "description": "仓库ID",
  17328. "type": "string"
  17329. },
  17330. "warehousename": {
  17331. "description": "仓库名称",
  17332. "type": "string"
  17333. },
  17334. "warehousetype": {
  17335. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17336. "type": "integer"
  17337. },
  17338. "wrstandardcode": {
  17339. "description": "品类代码",
  17340. "type": "string"
  17341. },
  17342. "wrstandardid": {
  17343. "description": "品类ID",
  17344. "type": "string"
  17345. },
  17346. "wrstandardname": {
  17347. "description": "品类名称",
  17348. "type": "string"
  17349. }
  17350. }
  17351. },
  17352. "models.Ermcp3AreaStockApply": {
  17353. "type": "object",
  17354. "properties": {
  17355. "applyid": {
  17356. "description": "申请人",
  17357. "type": "integer"
  17358. },
  17359. "applyname": {
  17360. "description": "申请人名称",
  17361. "type": "string"
  17362. },
  17363. "applyremark": {
  17364. "description": "申请备注",
  17365. "type": "string"
  17366. },
  17367. "applysrc": {
  17368. "description": "申请来源 - 1:管理端 2:终端",
  17369. "type": "integer"
  17370. },
  17371. "applystatus": {
  17372. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17373. "type": "integer"
  17374. },
  17375. "applytime": {
  17376. "description": "申请时间",
  17377. "type": "string"
  17378. },
  17379. "auditid": {
  17380. "description": "审核人",
  17381. "type": "integer"
  17382. },
  17383. "auditname": {
  17384. "description": "审核人名称",
  17385. "type": "string"
  17386. },
  17387. "auditremark": {
  17388. "description": "审核备注",
  17389. "type": "string"
  17390. },
  17391. "auditsrc": {
  17392. "description": "审核来源 - 1:管理端 2:终端",
  17393. "type": "integer"
  17394. },
  17395. "audittime": {
  17396. "description": "审核时间",
  17397. "type": "string"
  17398. },
  17399. "audittradedate": {
  17400. "description": "审核交易日(yyyyMMdd)",
  17401. "type": "string"
  17402. },
  17403. "brandname": {
  17404. "description": "品牌名称",
  17405. "type": "string"
  17406. },
  17407. "buynickname": {
  17408. "description": "采购方昵称",
  17409. "type": "string"
  17410. },
  17411. "buyuserid": {
  17412. "description": "采购方userid",
  17413. "type": "integer"
  17414. },
  17415. "buyusername": {
  17416. "description": "采购方名称",
  17417. "type": "string"
  17418. },
  17419. "contractno": {
  17420. "description": "合同编号",
  17421. "type": "string"
  17422. },
  17423. "contractqty": {
  17424. "description": "合同量",
  17425. "type": "number"
  17426. },
  17427. "contracttype": {
  17428. "description": "现货合同类型 - 1:采购 -1:销售",
  17429. "type": "integer"
  17430. },
  17431. "deliverygoodscode": {
  17432. "description": "现货品种代码",
  17433. "type": "string"
  17434. },
  17435. "deliverygoodsid": {
  17436. "description": "现货品种id",
  17437. "type": "integer"
  17438. },
  17439. "deliverygoodsname": {
  17440. "description": "现货品种名称",
  17441. "type": "string"
  17442. },
  17443. "detailjson": {
  17444. "description": "明细数据",
  17445. "type": "string"
  17446. },
  17447. "enumdicname": {
  17448. "description": "现货商品单位名称",
  17449. "type": "string"
  17450. },
  17451. "inoutapplyid": {
  17452. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17453. "type": "string"
  17454. },
  17455. "inouttype": {
  17456. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17457. "type": "integer"
  17458. },
  17459. "pricetype": {
  17460. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17461. "type": "integer"
  17462. },
  17463. "qty": {
  17464. "description": "数量",
  17465. "type": "number"
  17466. },
  17467. "sellnickname": {
  17468. "description": "销售方昵称",
  17469. "type": "string"
  17470. },
  17471. "selluserid": {
  17472. "description": "销售方userid",
  17473. "type": "integer"
  17474. },
  17475. "sellusername": {
  17476. "description": "销售方名称",
  17477. "type": "string"
  17478. },
  17479. "spotcontractid": {
  17480. "description": "关联现货合同ID",
  17481. "type": "string"
  17482. },
  17483. "spotgoodsbrandid": {
  17484. "description": "现货品牌ID",
  17485. "type": "integer"
  17486. },
  17487. "unitid": {
  17488. "description": "单位id",
  17489. "type": "integer"
  17490. },
  17491. "userid": {
  17492. "description": "机构ID",
  17493. "type": "integer"
  17494. },
  17495. "warehousecode": {
  17496. "description": "仓库代码",
  17497. "type": "string"
  17498. },
  17499. "warehouseinfoid": {
  17500. "description": "现货仓库ID",
  17501. "type": "string"
  17502. },
  17503. "warehousename": {
  17504. "description": "仓库名称",
  17505. "type": "string"
  17506. },
  17507. "warehousetype": {
  17508. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17509. "type": "integer"
  17510. },
  17511. "wrstandardcode": {
  17512. "description": "品类代码",
  17513. "type": "string"
  17514. },
  17515. "wrstandardid": {
  17516. "description": "品类ID",
  17517. "type": "integer"
  17518. },
  17519. "wrstandardname": {
  17520. "description": "品类名称",
  17521. "type": "string"
  17522. }
  17523. }
  17524. },
  17525. "models.Ermcp3AreaStockApplySum": {
  17526. "type": "object",
  17527. "properties": {
  17528. "brandname": {
  17529. "description": "品牌名称",
  17530. "type": "string"
  17531. },
  17532. "inouttype": {
  17533. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17534. "type": "integer"
  17535. },
  17536. "spotcontractid": {
  17537. "description": "关联现货合同ID",
  17538. "type": "string"
  17539. },
  17540. "spotgoodsbrandid": {
  17541. "description": "品牌id",
  17542. "type": "integer"
  17543. },
  17544. "totalqty": {
  17545. "description": "总数量",
  17546. "type": "number"
  17547. },
  17548. "wrstandardid": {
  17549. "description": "品类id",
  17550. "type": "integer"
  17551. },
  17552. "wrstandardname": {
  17553. "description": "品类名称",
  17554. "type": "string"
  17555. }
  17556. }
  17557. },
  17558. "models.Ermcp3AreaStockReportEx": {
  17559. "type": "object",
  17560. "properties": {
  17561. "begindate": {
  17562. "description": "开始交易日",
  17563. "type": "string"
  17564. },
  17565. "brandname": {
  17566. "description": "品牌名称",
  17567. "type": "string"
  17568. },
  17569. "curstock": {
  17570. "description": "期末库存量",
  17571. "type": "number"
  17572. },
  17573. "cycletime": {
  17574. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17575. "type": "string"
  17576. },
  17577. "cycletype": {
  17578. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17579. "type": "integer"
  17580. },
  17581. "deliverygoodscode": {
  17582. "description": "现货品种代码",
  17583. "type": "string"
  17584. },
  17585. "deliverygoodsid": {
  17586. "description": "现货品种id",
  17587. "type": "integer"
  17588. },
  17589. "deliverygoodsname": {
  17590. "description": "现货品种名称",
  17591. "type": "string"
  17592. },
  17593. "diffqty": {
  17594. "description": "库存变化量 = 期末 - 期初",
  17595. "type": "number"
  17596. },
  17597. "enddate": {
  17598. "description": "结束交易日",
  17599. "type": "string"
  17600. },
  17601. "enumdicname": {
  17602. "description": "单位名称",
  17603. "type": "string"
  17604. },
  17605. "goodsunitid": {
  17606. "description": "现货单位id",
  17607. "type": "integer"
  17608. },
  17609. "oristock": {
  17610. "description": "期初库存量",
  17611. "type": "number"
  17612. },
  17613. "reckondate": {
  17614. "description": "日照时期(yyyyMMdd)",
  17615. "type": "string"
  17616. },
  17617. "spotgoodsbrandid": {
  17618. "description": "现货品牌ID",
  17619. "type": "integer"
  17620. },
  17621. "todaybuyinqty": {
  17622. "description": "今采购入库量",
  17623. "type": "number"
  17624. },
  17625. "todayproduceinqty": {
  17626. "description": "今内部入库量",
  17627. "type": "number"
  17628. },
  17629. "todayproduceoutqty": {
  17630. "description": "今内部出库量",
  17631. "type": "number"
  17632. },
  17633. "todayselloutqty": {
  17634. "description": "今销售出库量",
  17635. "type": "number"
  17636. },
  17637. "unbuyinqty": {
  17638. "description": "采购未入库量(数据库未找到相关字段?)",
  17639. "type": "number"
  17640. },
  17641. "unitid": {
  17642. "description": "品类单位id",
  17643. "type": "integer"
  17644. },
  17645. "unselloutqty": {
  17646. "description": "销售未出库量(数据库未找到相关字段?)",
  17647. "type": "number"
  17648. },
  17649. "updatetime": {
  17650. "description": "更新时间",
  17651. "type": "string"
  17652. },
  17653. "userid": {
  17654. "description": "机构ID",
  17655. "type": "integer"
  17656. },
  17657. "username": {
  17658. "description": "机构名称",
  17659. "type": "string"
  17660. },
  17661. "warehousecode": {
  17662. "description": "仓库代码",
  17663. "type": "string"
  17664. },
  17665. "warehouseinfoid": {
  17666. "description": "仓库ID",
  17667. "type": "string"
  17668. },
  17669. "warehousename": {
  17670. "description": "仓库名称",
  17671. "type": "string"
  17672. },
  17673. "warehousetype": {
  17674. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17675. "type": "integer"
  17676. },
  17677. "wrstandardcode": {
  17678. "description": "品类代码",
  17679. "type": "string"
  17680. },
  17681. "wrstandardid": {
  17682. "description": "品类ID",
  17683. "type": "integer"
  17684. },
  17685. "wrstandardname": {
  17686. "description": "品类名称",
  17687. "type": "string"
  17688. }
  17689. }
  17690. },
  17691. "models.Ermcp3ArealSumPL": {
  17692. "type": "object",
  17693. "properties": {
  17694. "accountname": {
  17695. "description": "机构名称",
  17696. "type": "string"
  17697. },
  17698. "areauserid": {
  17699. "description": "所属机构\\交易用户ID",
  17700. "type": "integer"
  17701. },
  17702. "begindate": {
  17703. "description": "开始交易日",
  17704. "type": "string"
  17705. },
  17706. "currencyid": {
  17707. "description": "结算币种ID",
  17708. "type": "integer"
  17709. },
  17710. "currencyname": {
  17711. "description": "币种名称",
  17712. "type": "string"
  17713. },
  17714. "cycletime": {
  17715. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17716. "type": "string"
  17717. },
  17718. "cycletype": {
  17719. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17720. "type": "integer"
  17721. },
  17722. "enddate": {
  17723. "description": "结束交易日",
  17724. "type": "string"
  17725. },
  17726. "enumdicname": {
  17727. "description": "单位名称(套保品种)",
  17728. "type": "string"
  17729. },
  17730. "futureactualpl": {
  17731. "description": "期货损益",
  17732. "type": "number"
  17733. },
  17734. "futurefloatpl": {
  17735. "description": "期货浮动损益",
  17736. "type": "number"
  17737. },
  17738. "goodsunitid": {
  17739. "description": "套保品种单位id",
  17740. "type": "integer"
  17741. },
  17742. "middlegoodscode": {
  17743. "description": "套保品种代码",
  17744. "type": "string"
  17745. },
  17746. "middlegoodsid": {
  17747. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17748. "type": "integer"
  17749. },
  17750. "middlegoodsname": {
  17751. "description": "套保品种名称",
  17752. "type": "string"
  17753. },
  17754. "reckondate": {
  17755. "description": "日照时期(yyyyMMdd)",
  17756. "type": "string"
  17757. },
  17758. "spotactualpl": {
  17759. "description": "现货损益",
  17760. "type": "number"
  17761. },
  17762. "spotfloatpl": {
  17763. "description": "现货浮动损益",
  17764. "type": "number"
  17765. },
  17766. "sumactualpl": {
  17767. "description": "实际损益 = (ActualPL + FutureActualPL)",
  17768. "type": "number"
  17769. },
  17770. "sumpl": {
  17771. "description": "汇总损益",
  17772. "type": "number"
  17773. },
  17774. "updatetime": {
  17775. "description": "更新时间",
  17776. "type": "string"
  17777. }
  17778. }
  17779. },
  17780. "models.Ermcp3Brand": {
  17781. "type": "object",
  17782. "properties": {
  17783. "areauserid": {
  17784. "description": "用户id",
  17785. "type": "integer"
  17786. },
  17787. "brandid": {
  17788. "description": "品牌id",
  17789. "type": "integer"
  17790. },
  17791. "brandname": {
  17792. "description": "品牌名称",
  17793. "type": "string"
  17794. },
  17795. "deliverygoodsid": {
  17796. "description": "品种ID",
  17797. "type": "integer"
  17798. }
  17799. }
  17800. },
  17801. "models.Ermcp3Contract": {
  17802. "type": "object",
  17803. "properties": {
  17804. "accountid": {
  17805. "description": "期货账户id",
  17806. "type": "string"
  17807. },
  17808. "amount": {
  17809. "description": "金额 [1:一口价、3:暂定价]",
  17810. "type": "number"
  17811. },
  17812. "attachment": {
  17813. "description": "附件",
  17814. "type": "string"
  17815. },
  17816. "auditremark": {
  17817. "description": "审核意见",
  17818. "type": "string"
  17819. },
  17820. "audittime": {
  17821. "description": "审核时间",
  17822. "type": "string"
  17823. },
  17824. "biztype": {
  17825. "description": "业务类型 1-套保 2-套利",
  17826. "type": "integer"
  17827. },
  17828. "brandname": {
  17829. "description": "品牌名称",
  17830. "type": "string"
  17831. },
  17832. "buynickname": {
  17833. "description": "销售方昵称",
  17834. "type": "string"
  17835. },
  17836. "buyuserid": {
  17837. "description": "采购方ID",
  17838. "type": "integer"
  17839. },
  17840. "buyusername": {
  17841. "description": "采购方名称",
  17842. "type": "string"
  17843. },
  17844. "contracctstatus": {
  17845. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17846. "type": "integer"
  17847. },
  17848. "contractmargin": {
  17849. "description": "合同保证金",
  17850. "type": "number"
  17851. },
  17852. "contractno": {
  17853. "description": "现货合同编号",
  17854. "type": "string"
  17855. },
  17856. "contracttype": {
  17857. "description": "现货合同类型 - 1:采购 -1:销售",
  17858. "type": "integer"
  17859. },
  17860. "convertfactor": {
  17861. "description": "标仓系数(品类)",
  17862. "type": "number"
  17863. },
  17864. "createtime": {
  17865. "description": "创建时间",
  17866. "type": "string"
  17867. },
  17868. "currencyid": {
  17869. "description": "币种id",
  17870. "type": "integer"
  17871. },
  17872. "currencyname": {
  17873. "description": "币种名称",
  17874. "type": "string"
  17875. },
  17876. "deliveryenddate": {
  17877. "description": "交收期(结束)",
  17878. "type": "string"
  17879. },
  17880. "deliverygoodscode": {
  17881. "description": "现货品种代码",
  17882. "type": "string"
  17883. },
  17884. "deliverygoodsid": {
  17885. "description": "现货品种ID",
  17886. "type": "integer"
  17887. },
  17888. "deliverygoodsname": {
  17889. "description": "现货品种名称",
  17890. "type": "string"
  17891. },
  17892. "deliverystartdate": {
  17893. "description": "交收期(开始)",
  17894. "type": "string"
  17895. },
  17896. "enddate": {
  17897. "description": "点价结束日期 [2:点价 3:暂定价]",
  17898. "type": "string"
  17899. },
  17900. "enumdicname": {
  17901. "description": "单位名称",
  17902. "type": "string"
  17903. },
  17904. "goodscode": {
  17905. "description": "点价合约代码",
  17906. "type": "string"
  17907. },
  17908. "goodsid": {
  17909. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17910. "type": "integer"
  17911. },
  17912. "goodsname": {
  17913. "description": "点价商品名称",
  17914. "type": "string"
  17915. },
  17916. "margin": {
  17917. "description": "当前保证金",
  17918. "type": "number"
  17919. },
  17920. "meruserid": {
  17921. "description": "跟单员id",
  17922. "type": "integer"
  17923. },
  17924. "meruserlogincode": {
  17925. "description": "跟单员登录代码",
  17926. "type": "string"
  17927. },
  17928. "merusername": {
  17929. "description": "跟单员名称",
  17930. "type": "string"
  17931. },
  17932. "price": {
  17933. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17934. "type": "number"
  17935. },
  17936. "pricemove": {
  17937. "description": "升贴水 [2:点价 3:暂定价]",
  17938. "type": "number"
  17939. },
  17940. "pricetype": {
  17941. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17942. "type": "integer"
  17943. },
  17944. "producttype": {
  17945. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17946. "type": "integer"
  17947. },
  17948. "qty": {
  17949. "description": "数量",
  17950. "type": "number"
  17951. },
  17952. "remark": {
  17953. "description": "备注",
  17954. "type": "string"
  17955. },
  17956. "saleuserid": {
  17957. "description": "业务员id",
  17958. "type": "integer"
  17959. },
  17960. "saleuserlogincode": {
  17961. "description": "业务员登录代码",
  17962. "type": "string"
  17963. },
  17964. "saleusername": {
  17965. "description": "业务员名称",
  17966. "type": "string"
  17967. },
  17968. "sellnickname": {
  17969. "description": "采购方昵称",
  17970. "type": "string"
  17971. },
  17972. "selluserid": {
  17973. "description": "销售方ID",
  17974. "type": "integer"
  17975. },
  17976. "sellusername": {
  17977. "description": "销售方名称",
  17978. "type": "string"
  17979. },
  17980. "spotcontractid": {
  17981. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17982. "type": "string"
  17983. },
  17984. "spotgoodsbrandid": {
  17985. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17986. "type": "integer"
  17987. },
  17988. "spotgoodsdesc": {
  17989. "description": "商品型号",
  17990. "type": "string"
  17991. },
  17992. "startdate": {
  17993. "description": "点价开始日期 [2:点价 3:暂定价]",
  17994. "type": "string"
  17995. },
  17996. "tradeuserid": {
  17997. "description": "交易员id",
  17998. "type": "integer"
  17999. },
  18000. "tradeuserlogincode": {
  18001. "description": "交易员登录代码",
  18002. "type": "string"
  18003. },
  18004. "tradeusername": {
  18005. "description": "交易员名称",
  18006. "type": "string"
  18007. },
  18008. "unitid": {
  18009. "description": "单位id(取品类上的单位id)",
  18010. "type": "integer"
  18011. },
  18012. "updatetime": {
  18013. "description": "更新时间",
  18014. "type": "string"
  18015. },
  18016. "userid": {
  18017. "description": "所属机构ID",
  18018. "type": "integer"
  18019. },
  18020. "wrstandardcode": {
  18021. "description": "品类代码",
  18022. "type": "string"
  18023. },
  18024. "wrstandardid": {
  18025. "description": "品类ID",
  18026. "type": "integer"
  18027. },
  18028. "wrstandardname": {
  18029. "description": "品类名称",
  18030. "type": "string"
  18031. }
  18032. }
  18033. },
  18034. "models.Ermcp3ExposureContractDetail": {
  18035. "type": "object",
  18036. "properties": {
  18037. "biztype": {
  18038. "description": "业务类型 1-套保 2-套利",
  18039. "type": "integer"
  18040. },
  18041. "brandname": {
  18042. "description": "品牌名称",
  18043. "type": "string"
  18044. },
  18045. "buyuserid": {
  18046. "description": "采购方id",
  18047. "type": "integer"
  18048. },
  18049. "buyusername": {
  18050. "description": "采购方名称",
  18051. "type": "string"
  18052. },
  18053. "contractno": {
  18054. "description": "合同编号",
  18055. "type": "string"
  18056. },
  18057. "contracttype": {
  18058. "description": "现货合同类型 - 1:采购 -1:销售",
  18059. "type": "integer"
  18060. },
  18061. "convertfactor": {
  18062. "description": "标仓系数",
  18063. "type": "number"
  18064. },
  18065. "convertratio": {
  18066. "description": "折算系数(套保品种)",
  18067. "type": "number"
  18068. },
  18069. "curqty": {
  18070. "description": "今定价量",
  18071. "type": "number"
  18072. },
  18073. "deliverygoodscode": {
  18074. "description": "现货商品代码",
  18075. "type": "string"
  18076. },
  18077. "deliverygoodsid": {
  18078. "description": "现货商品id",
  18079. "type": "integer"
  18080. },
  18081. "deliverygoodsname": {
  18082. "description": "现货商品名称",
  18083. "type": "string"
  18084. },
  18085. "diffhedgeqty": {
  18086. "description": "套保变动量",
  18087. "type": "number"
  18088. },
  18089. "diffneedhedgeqty": {
  18090. "description": "应套保变动量",
  18091. "type": "number"
  18092. },
  18093. "diffqty": {
  18094. "description": "套保品种今变动量",
  18095. "type": "number"
  18096. },
  18097. "enumdicname": {
  18098. "description": "单位名称",
  18099. "type": "string"
  18100. },
  18101. "mgunitname": {
  18102. "description": "套保品种单位名称",
  18103. "type": "string"
  18104. },
  18105. "middlegoodscode": {
  18106. "description": "套保品种代码",
  18107. "type": "string"
  18108. },
  18109. "middlegoodsid": {
  18110. "description": "套保品种id",
  18111. "type": "integer"
  18112. },
  18113. "middlegoodsname": {
  18114. "description": "套保品种名称",
  18115. "type": "string"
  18116. },
  18117. "needarbitrageratio": {
  18118. "description": "应套利比例",
  18119. "type": "number"
  18120. },
  18121. "needhedgeratio": {
  18122. "description": "应套保比例",
  18123. "type": "number"
  18124. },
  18125. "pricedqty": {
  18126. "description": "已定价量",
  18127. "type": "number"
  18128. },
  18129. "qty": {
  18130. "description": "合同量",
  18131. "type": "number"
  18132. },
  18133. "selluserid": {
  18134. "description": "销售方id",
  18135. "type": "integer"
  18136. },
  18137. "sellusername": {
  18138. "description": "销售方名称",
  18139. "type": "string"
  18140. },
  18141. "spotcontractid": {
  18142. "description": "合同id",
  18143. "type": "string"
  18144. },
  18145. "todaypricedqty": {
  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. "username": {
  18162. "description": "交易用户",
  18163. "type": "string"
  18164. },
  18165. "wrstandardcode": {
  18166. "description": "品类代码",
  18167. "type": "string"
  18168. },
  18169. "wrstandardid": {
  18170. "description": "品类id",
  18171. "type": "integer"
  18172. },
  18173. "wrstandardname": {
  18174. "description": "品类名称",
  18175. "type": "string"
  18176. }
  18177. }
  18178. },
  18179. "models.Ermcp3ExposureDetail": {
  18180. "type": "object",
  18181. "properties": {
  18182. "areauserid": {
  18183. "description": "机构ID",
  18184. "type": "integer"
  18185. },
  18186. "changeQty": {
  18187. "description": "套保变动量",
  18188. "type": "number"
  18189. },
  18190. "contracttype": {
  18191. "description": "现货合同类型 - 1:采购 -1:销售",
  18192. "type": "integer"
  18193. },
  18194. "convertfactor": {
  18195. "description": "标仓系数",
  18196. "type": "number"
  18197. },
  18198. "convertratio": {
  18199. "description": "套保系数",
  18200. "type": "number"
  18201. },
  18202. "createtime": {
  18203. "description": "时间",
  18204. "type": "string"
  18205. },
  18206. "deliverygoodscode": {
  18207. "description": "现货品种代码",
  18208. "type": "string"
  18209. },
  18210. "deliverygoodsid": {
  18211. "description": "现货品种id",
  18212. "type": "integer"
  18213. },
  18214. "deliverygoodsname": {
  18215. "description": "现货品种名称",
  18216. "type": "string"
  18217. },
  18218. "enumdicname": {
  18219. "description": "现货商品单位名称",
  18220. "type": "string"
  18221. },
  18222. "logtype": {
  18223. "description": "类型 - 1:套保计划 2:现货合同",
  18224. "type": "integer"
  18225. },
  18226. "mgunitid": {
  18227. "description": "套保品种单位id",
  18228. "type": "integer"
  18229. },
  18230. "mgunitidname": {
  18231. "description": "套保品种单位名称",
  18232. "type": "string"
  18233. },
  18234. "middlegoodsId": {
  18235. "description": "套保商品id",
  18236. "type": "integer"
  18237. },
  18238. "middlegoodscode": {
  18239. "description": "套保商品代码",
  18240. "type": "string"
  18241. },
  18242. "middlegoodsname": {
  18243. "description": "套保商品名称",
  18244. "type": "string"
  18245. },
  18246. "qty": {
  18247. "description": "数量",
  18248. "type": "number"
  18249. },
  18250. "relateNo": {
  18251. "description": "现货合同/套保计划编号",
  18252. "type": "string"
  18253. }
  18254. }
  18255. },
  18256. "models.Ermcp3ExposureFutuDetail": {
  18257. "type": "object",
  18258. "properties": {
  18259. "accountid": {
  18260. "description": "交易账户id",
  18261. "type": "integer"
  18262. },
  18263. "accountname": {
  18264. "description": "交易账户",
  18265. "type": "string"
  18266. },
  18267. "begindate": {
  18268. "description": "开始交易日",
  18269. "type": "string"
  18270. },
  18271. "buyorsell": {
  18272. "description": "方向 0-买 1-卖",
  18273. "type": "integer"
  18274. },
  18275. "diffmgqty": {
  18276. "description": "套保品种今变化量",
  18277. "type": "number"
  18278. },
  18279. "diffneedqty": {
  18280. "description": "应套保总量变化量",
  18281. "type": "number"
  18282. },
  18283. "difftradeqty": {
  18284. "description": "交易品种今变化量",
  18285. "type": "number"
  18286. },
  18287. "enddate": {
  18288. "description": "结束交易日",
  18289. "type": "string"
  18290. },
  18291. "enumdicname": {
  18292. "description": "单位名称",
  18293. "type": "string"
  18294. },
  18295. "goodscode": {
  18296. "description": "商品代码",
  18297. "type": "string"
  18298. },
  18299. "goodsid": {
  18300. "description": "商品id",
  18301. "type": "integer"
  18302. },
  18303. "goodsname": {
  18304. "description": "商品名称",
  18305. "type": "string"
  18306. },
  18307. "holdqty": {
  18308. "description": "期末持仓量",
  18309. "type": "number"
  18310. },
  18311. "middlegoodscode": {
  18312. "description": "套保商品代码",
  18313. "type": "string"
  18314. },
  18315. "middlegoodsid": {
  18316. "description": "套保商品id",
  18317. "type": "integer"
  18318. },
  18319. "middlegoodsname": {
  18320. "description": "套保商品名称",
  18321. "type": "string"
  18322. },
  18323. "oriholdqty": {
  18324. "description": "期初持仓量",
  18325. "type": "number"
  18326. },
  18327. "todaycloseqty": {
  18328. "description": "今平仓量",
  18329. "type": "number"
  18330. },
  18331. "todayopenqty": {
  18332. "description": "今开仓量",
  18333. "type": "number"
  18334. },
  18335. "tradedate": {
  18336. "description": "交易日",
  18337. "type": "string"
  18338. }
  18339. }
  18340. },
  18341. "models.Ermcp3ExposureHedgeplanDetail": {
  18342. "type": "object",
  18343. "properties": {
  18344. "biztype": {
  18345. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18346. "type": "integer"
  18347. },
  18348. "changqty": {
  18349. "description": "应套保总量变化量",
  18350. "type": "number"
  18351. },
  18352. "contracttype": {
  18353. "description": "计划类型 - 1:采购 -1:销售",
  18354. "type": "integer"
  18355. },
  18356. "convertratio": {
  18357. "description": "折算系数(套保品种)",
  18358. "type": "number"
  18359. },
  18360. "deliverygoodscode": {
  18361. "description": "现货商品代码",
  18362. "type": "string"
  18363. },
  18364. "deliverygoodsid": {
  18365. "description": "现货商品id",
  18366. "type": "integer"
  18367. },
  18368. "deliverygoodsname": {
  18369. "description": "现货商吕名称",
  18370. "type": "string"
  18371. },
  18372. "dgunitid": {
  18373. "description": "现货商品单位id",
  18374. "type": "integer"
  18375. },
  18376. "dgunitidname": {
  18377. "description": "单位名称(现货商品)",
  18378. "type": "string"
  18379. },
  18380. "diffqty": {
  18381. "description": "套保品种今变动量",
  18382. "type": "number"
  18383. },
  18384. "enumdicname": {
  18385. "description": "单位名称(品类)",
  18386. "type": "string"
  18387. },
  18388. "hedgeplanid": {
  18389. "description": "套保计划id",
  18390. "type": "string"
  18391. },
  18392. "hedgeplanno": {
  18393. "description": "套保计划名称",
  18394. "type": "string"
  18395. },
  18396. "hedgeplanstatus": {
  18397. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18398. "type": "integer"
  18399. },
  18400. "mgunitidname": {
  18401. "description": "单位名称(套保商品)",
  18402. "type": "string"
  18403. },
  18404. "middlegoodscode": {
  18405. "description": "套保品种代码",
  18406. "type": "string"
  18407. },
  18408. "middlegoodsid": {
  18409. "description": "套保品种id",
  18410. "type": "integer"
  18411. },
  18412. "middlegoodsname": {
  18413. "description": "套保品种名称",
  18414. "type": "string"
  18415. },
  18416. "needarbitrageratio": {
  18417. "description": "应套利比例",
  18418. "type": "number"
  18419. },
  18420. "needhedgeratio": {
  18421. "description": "应套保比例",
  18422. "type": "number"
  18423. },
  18424. "pricedqty": {
  18425. "description": "已定价量",
  18426. "type": "number"
  18427. },
  18428. "qty": {
  18429. "description": "合同量",
  18430. "type": "number"
  18431. },
  18432. "tradedate": {
  18433. "description": "交易日(登记日)",
  18434. "type": "string"
  18435. },
  18436. "unitid": {
  18437. "description": "品类单位id",
  18438. "type": "integer"
  18439. },
  18440. "userid": {
  18441. "description": "机构id",
  18442. "type": "integer"
  18443. },
  18444. "wrstandardcode": {
  18445. "description": "品类代码",
  18446. "type": "string"
  18447. },
  18448. "wrstandardid": {
  18449. "description": "品类id",
  18450. "type": "integer"
  18451. },
  18452. "wrstandardname": {
  18453. "description": "品类名称",
  18454. "type": "string"
  18455. }
  18456. }
  18457. },
  18458. "models.Ermcp3ExposureParamChLog": {
  18459. "type": "object",
  18460. "properties": {
  18461. "accountid": {
  18462. "description": "期货账户ID (作废, 默认为0)",
  18463. "type": "integer"
  18464. },
  18465. "aftervalue": {
  18466. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18467. "type": "number"
  18468. },
  18469. "areauserid": {
  18470. "description": "所属机构\\交易用户ID",
  18471. "type": "integer"
  18472. },
  18473. "beforevalue": {
  18474. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18475. "type": "number"
  18476. },
  18477. "begindate": {
  18478. "description": "开始交易日",
  18479. "type": "string"
  18480. },
  18481. "changelogtype": {
  18482. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18483. "type": "integer"
  18484. },
  18485. "curvalue": {
  18486. "description": "当前套保\\套利量(套保总量|套利总量)",
  18487. "type": "number"
  18488. },
  18489. "diffvalue": {
  18490. "description": "应套保总量变化量",
  18491. "type": "number"
  18492. },
  18493. "enddate": {
  18494. "description": "结束交易日",
  18495. "type": "string"
  18496. },
  18497. "logdatetime": {
  18498. "description": "流水日期",
  18499. "type": "string"
  18500. },
  18501. "logid": {
  18502. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18503. "type": "string"
  18504. },
  18505. "middlegoodscode": {
  18506. "description": "套保品种代码",
  18507. "type": "string"
  18508. },
  18509. "middlegoodsid": {
  18510. "description": "套保品种",
  18511. "type": "integer"
  18512. },
  18513. "middlegoodsname": {
  18514. "description": "套保品种名称",
  18515. "type": "string"
  18516. },
  18517. "paramaftervalue": {
  18518. "description": "参数变更后(调整后参数值)",
  18519. "type": "number"
  18520. },
  18521. "parambeforevalue": {
  18522. "description": "参数变更前(调整前参数值)",
  18523. "type": "number"
  18524. },
  18525. "tradedate": {
  18526. "description": "交易日(yyyyMMdd)",
  18527. "type": "string"
  18528. }
  18529. }
  18530. },
  18531. "models.Ermcp3ExpourseReport": {
  18532. "type": "object",
  18533. "properties": {
  18534. "accountid": {
  18535. "description": "期货账户ID (作废, 默认为0)",
  18536. "type": "integer"
  18537. },
  18538. "accountname": {
  18539. "description": "机构名称",
  18540. "type": "string"
  18541. },
  18542. "arbitrageqty": {
  18543. "description": "套利量",
  18544. "type": "number"
  18545. },
  18546. "areauserid": {
  18547. "description": "所属机构\\交易用户ID",
  18548. "type": "integer"
  18549. },
  18550. "begindate": {
  18551. "description": "开始交易日",
  18552. "type": "string"
  18553. },
  18554. "buyfutureqty": {
  18555. "description": "买入期货数量",
  18556. "type": "number"
  18557. },
  18558. "buyplanqty": {
  18559. "description": "采购计划数量",
  18560. "type": "number"
  18561. },
  18562. "buypricedqty": {
  18563. "description": "采购合同已定价数量",
  18564. "type": "number"
  18565. },
  18566. "cycletime": {
  18567. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18568. "type": "string"
  18569. },
  18570. "cycletype": {
  18571. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18572. "type": "integer"
  18573. },
  18574. "diffexposure": {
  18575. "description": "变动量(套保敞口)",
  18576. "type": "number"
  18577. },
  18578. "difffutuqty": {
  18579. "description": "变动量(期货)",
  18580. "type": "number"
  18581. },
  18582. "diffhedgeqty": {
  18583. "description": "变动量(现货应套保总量)",
  18584. "type": "number"
  18585. },
  18586. "diffmgqtya": {
  18587. "description": "套保变动量",
  18588. "type": "number"
  18589. },
  18590. "diffmgqtyb": {
  18591. "description": "套利变动量",
  18592. "type": "number"
  18593. },
  18594. "diffqty": {
  18595. "description": "变动量(总敞口)",
  18596. "type": "number"
  18597. },
  18598. "diffspotqty": {
  18599. "description": "变动量(现货)",
  18600. "type": "number"
  18601. },
  18602. "enddate": {
  18603. "description": "结束交易日",
  18604. "type": "string"
  18605. },
  18606. "enumdicname": {
  18607. "description": "单位名称",
  18608. "type": "string"
  18609. },
  18610. "hedgeqty": {
  18611. "description": "套保量",
  18612. "type": "number"
  18613. },
  18614. "mgneedhedgeratio": {
  18615. "description": "套保比例(套保品的)",
  18616. "type": "number"
  18617. },
  18618. "middlegoodsid": {
  18619. "description": "套保品种ID",
  18620. "type": "integer"
  18621. },
  18622. "middlegoodsname": {
  18623. "description": "套保商品名称",
  18624. "type": "string"
  18625. },
  18626. "middlgoodscode": {
  18627. "description": "套保商品代码",
  18628. "type": "string"
  18629. },
  18630. "needarbitrageqty": {
  18631. "description": "应套利量",
  18632. "type": "number"
  18633. },
  18634. "needarbitrageratio": {
  18635. "description": "套利比例(套保品的)",
  18636. "type": "number"
  18637. },
  18638. "needhedgeexposoure": {
  18639. "description": "应套保敞口(套保敞口)",
  18640. "type": "number"
  18641. },
  18642. "needhedgeqty": {
  18643. "description": "应套保量",
  18644. "type": "number"
  18645. },
  18646. "needhedgeratio": {
  18647. "description": "应套保敞口比例",
  18648. "type": "number"
  18649. },
  18650. "oriarbitrageqty": {
  18651. "description": "期初套利量",
  18652. "type": "number"
  18653. },
  18654. "oribuyfutureqty": {
  18655. "description": "期初买入期货数量",
  18656. "type": "number"
  18657. },
  18658. "oribuyplanqty": {
  18659. "description": "期初采购计划数量",
  18660. "type": "number"
  18661. },
  18662. "oribuypricedqty": {
  18663. "description": "期初采购合同已定价数量",
  18664. "type": "number"
  18665. },
  18666. "orihedgeqty": {
  18667. "description": "期初套保量",
  18668. "type": "number"
  18669. },
  18670. "orineedarbitrageqty": {
  18671. "description": "期初应套利量",
  18672. "type": "number"
  18673. },
  18674. "orineedhedgeexposoure": {
  18675. "description": "期初应套保敞口",
  18676. "type": "number"
  18677. },
  18678. "orineedhedgeqty": {
  18679. "description": "期初应套保量",
  18680. "type": "number"
  18681. },
  18682. "orisellfutureqty": {
  18683. "description": "期初卖出期货数量",
  18684. "type": "number"
  18685. },
  18686. "orisellplanqty": {
  18687. "description": "期初销售计划数量",
  18688. "type": "number"
  18689. },
  18690. "orisellpricedqty": {
  18691. "description": "期初销售合同已定价数量",
  18692. "type": "number"
  18693. },
  18694. "oritotalexposure": {
  18695. "description": "期初实时总敞口",
  18696. "type": "number"
  18697. },
  18698. "oritotalfutureqty": {
  18699. "description": "期初期货头寸总量",
  18700. "type": "number"
  18701. },
  18702. "oritotalneedhedgeqty": {
  18703. "description": "期初应套保总量",
  18704. "type": "number"
  18705. },
  18706. "oritotalspotqty": {
  18707. "description": "期初现货头寸总量",
  18708. "type": "number"
  18709. },
  18710. "reckondate": {
  18711. "description": "日照时期(yyyyMMdd)",
  18712. "type": "string"
  18713. },
  18714. "sellfutureqty": {
  18715. "description": "卖出期货数量",
  18716. "type": "number"
  18717. },
  18718. "sellplanqty": {
  18719. "description": "销售计划数量",
  18720. "type": "number"
  18721. },
  18722. "sellpricedqty": {
  18723. "description": "销售合同已定价数量",
  18724. "type": "number"
  18725. },
  18726. "totalexposure": {
  18727. "description": "实时总敞口(总敞口)",
  18728. "type": "number"
  18729. },
  18730. "totalfutureqty": {
  18731. "description": "期货头寸总量(期货总量)",
  18732. "type": "number"
  18733. },
  18734. "totalhedgeratio": {
  18735. "description": "敞口比例",
  18736. "type": "number"
  18737. },
  18738. "totalneedhedgeqty": {
  18739. "description": "应套保总量(现货应套保总量)",
  18740. "type": "number"
  18741. },
  18742. "totalspotqty": {
  18743. "description": "现货头寸总量",
  18744. "type": "number"
  18745. },
  18746. "unitid": {
  18747. "description": "单位id",
  18748. "type": "integer"
  18749. },
  18750. "updatetime": {
  18751. "description": "更新时间",
  18752. "type": "string"
  18753. }
  18754. }
  18755. },
  18756. "models.Ermcp3FinanceReport": {
  18757. "type": "object",
  18758. "properties": {
  18759. "accountname": {
  18760. "description": "机构名称",
  18761. "type": "string"
  18762. },
  18763. "areauserid": {
  18764. "description": "所属机构\\交易用户ID",
  18765. "type": "integer"
  18766. },
  18767. "begindate": {
  18768. "description": "开始交易日",
  18769. "type": "string"
  18770. },
  18771. "biztype": {
  18772. "description": "业务类型 - 1:套保 2:套利",
  18773. "type": "integer"
  18774. },
  18775. "brandname": {
  18776. "description": "品牌名称",
  18777. "type": "string"
  18778. },
  18779. "buypreinvoicedamount": {
  18780. "description": "采购预收票额(预收票额)",
  18781. "type": "number"
  18782. },
  18783. "buyprepaidamount": {
  18784. "description": "采购预付款额(预付货款额)",
  18785. "type": "number"
  18786. },
  18787. "buytodayinvoiceamount": {
  18788. "description": "采购今收票额(今收票额)",
  18789. "type": "number"
  18790. },
  18791. "buytodayrefundamount": {
  18792. "description": "采购今收退款额(今收退款额)",
  18793. "type": "number"
  18794. },
  18795. "buytodaysettleamount": {
  18796. "description": "采购今付款额(今付货款额)",
  18797. "type": "number"
  18798. },
  18799. "buyuninvoicedamount": {
  18800. "description": "采购应收票额(应收票额)",
  18801. "type": "number"
  18802. },
  18803. "buyunpaidamount": {
  18804. "description": "采购应付款额(应付货款额)",
  18805. "type": "number"
  18806. },
  18807. "currencyid": {
  18808. "description": "结算币种ID",
  18809. "type": "integer"
  18810. },
  18811. "currencyname": {
  18812. "description": "币种名称",
  18813. "type": "string"
  18814. },
  18815. "cycletime": {
  18816. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18817. "type": "string"
  18818. },
  18819. "cycletype": {
  18820. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18821. "type": "integer"
  18822. },
  18823. "deliverygoodscode": {
  18824. "description": "现货品种代码",
  18825. "type": "string"
  18826. },
  18827. "deliverygoodsid": {
  18828. "description": "现货品种ID",
  18829. "type": "integer"
  18830. },
  18831. "deliverygoodsname": {
  18832. "description": "现货品种名称",
  18833. "type": "string"
  18834. },
  18835. "enddate": {
  18836. "description": "结束交易日",
  18837. "type": "string"
  18838. },
  18839. "reckondate": {
  18840. "description": "日照时期(yyyyMMdd)",
  18841. "type": "string"
  18842. },
  18843. "sellpreinvoicedamount": {
  18844. "description": "销售预开票额(预开票额)",
  18845. "type": "number"
  18846. },
  18847. "sellprepaidamount": {
  18848. "description": "销售预收款额(预收货款额)",
  18849. "type": "number"
  18850. },
  18851. "selltodayinvoiceamount": {
  18852. "description": "销售今开票额(今开票额)",
  18853. "type": "number"
  18854. },
  18855. "selltodayrefundamount": {
  18856. "description": "销售今付退款额(今付退款额)",
  18857. "type": "number"
  18858. },
  18859. "selltodaysettleamount": {
  18860. "description": "销售今收款额(今收货款额)",
  18861. "type": "number"
  18862. },
  18863. "selluninvoicedamount": {
  18864. "description": "销售应开票额(应开票额)",
  18865. "type": "number"
  18866. },
  18867. "sellunpaidamount": {
  18868. "description": "销售应收款额(应收货款额)",
  18869. "type": "number"
  18870. },
  18871. "spotgoodsbrandid": {
  18872. "description": "现货品牌ID",
  18873. "type": "integer"
  18874. },
  18875. "todaypaysum": {
  18876. "description": "今付款合计",
  18877. "type": "number"
  18878. },
  18879. "todayreceivesum": {
  18880. "description": "今收款合计",
  18881. "type": "number"
  18882. },
  18883. "updatetime": {
  18884. "description": "更新时间",
  18885. "type": "string"
  18886. },
  18887. "wrfactortypeid": {
  18888. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18889. "type": "integer"
  18890. },
  18891. "wrstandardcode": {
  18892. "description": "品类代码",
  18893. "type": "string"
  18894. },
  18895. "wrstandardid": {
  18896. "description": "现货商品ID",
  18897. "type": "integer"
  18898. },
  18899. "wrstandardname": {
  18900. "description": "品类名称",
  18901. "type": "string"
  18902. }
  18903. }
  18904. },
  18905. "models.Ermcp3Goods": {
  18906. "type": "object",
  18907. "properties": {
  18908. "agreeunit": {
  18909. "description": "合约单位(合约乘数)",
  18910. "type": "number"
  18911. },
  18912. "enumdicname": {
  18913. "description": "单位名称",
  18914. "type": "string"
  18915. },
  18916. "exexchangecode": {
  18917. "description": "交易所代码",
  18918. "type": "string"
  18919. },
  18920. "goodscode": {
  18921. "description": "期货商品代码",
  18922. "type": "string"
  18923. },
  18924. "goodsid": {
  18925. "description": "期货商品id",
  18926. "type": "integer"
  18927. },
  18928. "goodsname": {
  18929. "description": "期货商品名称",
  18930. "type": "string"
  18931. }
  18932. }
  18933. },
  18934. "models.Ermcp3GoodsGroup": {
  18935. "type": "object",
  18936. "required": [
  18937. "areauserid"
  18938. ],
  18939. "properties": {
  18940. "agreeunit": {
  18941. "description": "合约单位",
  18942. "type": "number"
  18943. },
  18944. "areauserid": {
  18945. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  18946. "type": "integer"
  18947. },
  18948. "canshort": {
  18949. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18950. "type": "integer"
  18951. },
  18952. "closepricemode": {
  18953. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18954. "type": "integer"
  18955. },
  18956. "createtime": {
  18957. "description": "创建时间",
  18958. "type": "string"
  18959. },
  18960. "creatorid": {
  18961. "description": "创建人",
  18962. "type": "integer"
  18963. },
  18964. "currencyid": {
  18965. "description": "报价货币ID",
  18966. "type": "integer"
  18967. },
  18968. "decimalplace": {
  18969. "description": "报价小数位",
  18970. "type": "integer"
  18971. },
  18972. "enumdicname": {
  18973. "description": "单位名称",
  18974. "type": "string"
  18975. },
  18976. "exchangefullname": {
  18977. "description": "交易所全称",
  18978. "type": "string"
  18979. },
  18980. "excludecfg": {
  18981. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  18982. "type": "integer"
  18983. },
  18984. "exexchangecode": {
  18985. "description": "交易所代码",
  18986. "type": "string"
  18987. },
  18988. "exexchangeid": {
  18989. "description": "外部交易所ID[通道交易]",
  18990. "type": "integer"
  18991. },
  18992. "exexchangename": {
  18993. "description": "交易所名称",
  18994. "type": "string"
  18995. },
  18996. "goodsgroupid": {
  18997. "description": "商品组ID(自增ID)",
  18998. "type": "integer"
  18999. },
  19000. "goodsgroupname": {
  19001. "description": "商品组名称",
  19002. "type": "string"
  19003. },
  19004. "goodsgroupstatus": {
  19005. "description": "商品组状态 - 1:正常 2:注销",
  19006. "type": "integer"
  19007. },
  19008. "goodunitid": {
  19009. "description": "报价单位ID",
  19010. "type": "integer"
  19011. },
  19012. "groupcategroyid": {
  19013. "description": "品种分类ID",
  19014. "type": "integer"
  19015. },
  19016. "innerdealmode": {
  19017. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19018. "type": "integer"
  19019. },
  19020. "marketid": {
  19021. "description": "所属市场ID",
  19022. "type": "integer"
  19023. },
  19024. "modifierid": {
  19025. "description": "修改人",
  19026. "type": "integer"
  19027. },
  19028. "modifytime": {
  19029. "description": "修改时间",
  19030. "type": "string"
  19031. },
  19032. "outerdealmode": {
  19033. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19034. "type": "integer"
  19035. },
  19036. "outergroupcode": {
  19037. "description": "外部商品组代码[通道交易]",
  19038. "type": "string"
  19039. },
  19040. "quoteminunit": {
  19041. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19042. "type": "integer"
  19043. },
  19044. "quotesourcegroupid": {
  19045. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19046. "type": "integer"
  19047. },
  19048. "syncgoodsqty": {
  19049. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19050. "type": "integer"
  19051. }
  19052. }
  19053. },
  19054. "models.Ermcp3GoodsGroupEx": {
  19055. "type": "object",
  19056. "properties": {
  19057. "convertratio": {
  19058. "description": "折算系数(品种系数)",
  19059. "type": "number"
  19060. },
  19061. "enumdicname": {
  19062. "description": "单位名称",
  19063. "type": "string"
  19064. },
  19065. "exexchangecode": {
  19066. "description": "交易所代码",
  19067. "type": "string"
  19068. },
  19069. "glist": {
  19070. "description": "合约列表",
  19071. "type": "array",
  19072. "items": {
  19073. "$ref": "#/definitions/models.Ermcp3Goods"
  19074. }
  19075. },
  19076. "goodsgroupid": {
  19077. "description": "商品组id",
  19078. "type": "integer"
  19079. },
  19080. "goodsgroupname": {
  19081. "description": "商品组名称",
  19082. "type": "string"
  19083. },
  19084. "goodsunitid": {
  19085. "description": "单位id",
  19086. "type": "integer"
  19087. },
  19088. "middlegoodsid": {
  19089. "description": "套保商品id",
  19090. "type": "integer"
  19091. }
  19092. }
  19093. },
  19094. "models.Ermcp3HedgePlan": {
  19095. "type": "object",
  19096. "properties": {
  19097. "accountid": {
  19098. "description": "资金账号",
  19099. "type": "integer"
  19100. },
  19101. "areauserid": {
  19102. "description": "用户ID",
  19103. "type": "integer"
  19104. },
  19105. "auditid": {
  19106. "description": "审核id",
  19107. "type": "integer"
  19108. },
  19109. "auditname": {
  19110. "description": "审核人名称",
  19111. "type": "string"
  19112. },
  19113. "auditremark": {
  19114. "description": "审核备注",
  19115. "type": "string"
  19116. },
  19117. "auditsrc": {
  19118. "description": "审核来源 1-管理端 2-终端",
  19119. "type": "integer"
  19120. },
  19121. "audittime": {
  19122. "description": "审核时间",
  19123. "type": "string"
  19124. },
  19125. "contracttype": {
  19126. "description": "计划类型 - 1:采购 -1:销售",
  19127. "type": "integer"
  19128. },
  19129. "convertfactor": {
  19130. "description": "标仓系数",
  19131. "type": "number"
  19132. },
  19133. "createtime": {
  19134. "description": "创建时间",
  19135. "type": "string"
  19136. },
  19137. "currencyid": {
  19138. "description": "币种id",
  19139. "type": "integer"
  19140. },
  19141. "currencyname": {
  19142. "description": "币种名称",
  19143. "type": "string"
  19144. },
  19145. "deliverygoodscode": {
  19146. "description": "现货品种代码",
  19147. "type": "string"
  19148. },
  19149. "deliverygoodsid": {
  19150. "description": "现货品种ID",
  19151. "type": "integer"
  19152. },
  19153. "deliverygoodsname": {
  19154. "description": "现货品种名称",
  19155. "type": "string"
  19156. },
  19157. "enumdicname": {
  19158. "description": "单位名称(现货商品)",
  19159. "type": "string"
  19160. },
  19161. "hedgeplanid": {
  19162. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  19163. "type": "string"
  19164. },
  19165. "hedgeplanno": {
  19166. "description": "套保计划编号(名称)",
  19167. "type": "string"
  19168. },
  19169. "hedgeplanstatus": {
  19170. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19171. "type": "integer"
  19172. },
  19173. "planqty": {
  19174. "description": "计划数量",
  19175. "type": "number"
  19176. },
  19177. "plantime": {
  19178. "description": "计划时间",
  19179. "type": "string"
  19180. },
  19181. "producttype": {
  19182. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19183. "type": "integer"
  19184. },
  19185. "remark": {
  19186. "description": "备注",
  19187. "type": "string"
  19188. },
  19189. "spotgoodsdesc": {
  19190. "description": "商品型号",
  19191. "type": "string"
  19192. },
  19193. "taaccountname": {
  19194. "description": "资金账号名称",
  19195. "type": "string"
  19196. },
  19197. "tradeuserid": {
  19198. "description": "交易用户id",
  19199. "type": "integer"
  19200. },
  19201. "tradeusername": {
  19202. "description": "交易用户名称",
  19203. "type": "string"
  19204. },
  19205. "unitid": {
  19206. "description": "单位id(现货商品)",
  19207. "type": "integer"
  19208. },
  19209. "updatetime": {
  19210. "description": "更新时间",
  19211. "type": "string"
  19212. },
  19213. "wrstandardcode": {
  19214. "description": "品类代码",
  19215. "type": "string"
  19216. },
  19217. "wrstandardid": {
  19218. "description": "品类id",
  19219. "type": "integer"
  19220. },
  19221. "wrstandardname": {
  19222. "description": "品类名称",
  19223. "type": "string"
  19224. },
  19225. "wrunitid": {
  19226. "description": "品类单位id",
  19227. "type": "integer"
  19228. },
  19229. "wrunitidame": {
  19230. "description": "品类单位名称",
  19231. "type": "string"
  19232. }
  19233. }
  19234. },
  19235. "models.Ermcp3MiddleGoodsDetail2": {
  19236. "type": "object",
  19237. "properties": {
  19238. "convertratio": {
  19239. "description": "套保系数(折算系数)",
  19240. "type": "number"
  19241. },
  19242. "gplist": {
  19243. "description": "关联商品组列表",
  19244. "type": "array",
  19245. "items": {
  19246. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  19247. }
  19248. },
  19249. "mg": {
  19250. "description": "套保商品信息",
  19251. "type": "object",
  19252. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19253. }
  19254. }
  19255. },
  19256. "models.Ermcp3MiddleGoodsDetailEx": {
  19257. "type": "object",
  19258. "properties": {
  19259. "dglist": {
  19260. "description": "关联的现货品种列表",
  19261. "type": "array",
  19262. "items": {
  19263. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  19264. }
  19265. },
  19266. "gplist": {
  19267. "description": "关联商品组列表",
  19268. "type": "array",
  19269. "items": {
  19270. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  19271. }
  19272. },
  19273. "mg": {
  19274. "description": "套保商品信息",
  19275. "type": "object",
  19276. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19277. }
  19278. }
  19279. },
  19280. "models.Ermcp3RootUserAccount": {
  19281. "type": "object",
  19282. "properties": {
  19283. "accountname": {
  19284. "description": "账户名称(机构名称)",
  19285. "type": "string"
  19286. },
  19287. "accountstatus": {
  19288. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19289. "type": "integer"
  19290. },
  19291. "applysrc": {
  19292. "description": "申请来源 - 1:管理端 2:终端",
  19293. "type": "integer"
  19294. },
  19295. "auditremark": {
  19296. "description": "审核备注",
  19297. "type": "string"
  19298. },
  19299. "auditsrc": {
  19300. "description": "审核来源 - 1:管理端 2:终端",
  19301. "type": "integer"
  19302. },
  19303. "audittime": {
  19304. "description": "审核时间",
  19305. "type": "string"
  19306. },
  19307. "audituserid": {
  19308. "description": "审核人",
  19309. "type": "integer"
  19310. },
  19311. "broker": {
  19312. "description": "所属经纪人ID",
  19313. "type": "integer"
  19314. },
  19315. "canceltime": {
  19316. "description": "销户时间",
  19317. "type": "string"
  19318. },
  19319. "canceluserid": {
  19320. "description": "销户人",
  19321. "type": "integer"
  19322. },
  19323. "canrecommend": {
  19324. "description": "是否可推荐 - 0:不可 1;可",
  19325. "type": "integer"
  19326. },
  19327. "createtime": {
  19328. "description": "创建时间",
  19329. "type": "string"
  19330. },
  19331. "creatorid": {
  19332. "description": "创建人",
  19333. "type": "integer"
  19334. },
  19335. "hasauth": {
  19336. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19337. "type": "integer"
  19338. },
  19339. "isanonymous": {
  19340. "description": "是否匿名下单 - 0:否 1:是",
  19341. "type": "integer"
  19342. },
  19343. "maxinvestornum": {
  19344. "description": "最大用户数(经纪会员下投资者个数)",
  19345. "type": "integer"
  19346. },
  19347. "memberuserid": {
  19348. "description": "所属会员ID",
  19349. "type": "integer"
  19350. },
  19351. "modifierid": {
  19352. "description": "修改人",
  19353. "type": "integer"
  19354. },
  19355. "modifyremark": {
  19356. "description": "变更备注",
  19357. "type": "string"
  19358. },
  19359. "modifystatus": {
  19360. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19361. "type": "integer"
  19362. },
  19363. "modifytime": {
  19364. "description": "修改时间",
  19365. "type": "string"
  19366. },
  19367. "parenttopuser": {
  19368. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19369. "type": "string"
  19370. },
  19371. "parentuserid": {
  19372. "description": "所属机构ID",
  19373. "type": "integer"
  19374. },
  19375. "reckonaccountid": {
  19376. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19377. "type": "integer"
  19378. },
  19379. "refercount": {
  19380. "description": "推荐总人数",
  19381. "type": "integer"
  19382. },
  19383. "refereeuserid": {
  19384. "description": "推荐人ID",
  19385. "type": "integer"
  19386. },
  19387. "refernum": {
  19388. "description": "推荐码",
  19389. "type": "string"
  19390. },
  19391. "rootuserid": {
  19392. "description": "根用户ID",
  19393. "type": "integer"
  19394. },
  19395. "subaccountlevel": {
  19396. "description": "子账户层数",
  19397. "type": "integer"
  19398. },
  19399. "subarealevelpath": {
  19400. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19401. "type": "string"
  19402. },
  19403. "userid": {
  19404. "description": "用户ID",
  19405. "type": "integer"
  19406. },
  19407. "usertype": {
  19408. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19409. "type": "integer"
  19410. }
  19411. }
  19412. },
  19413. "models.Ermcp3SellBuyContract": {
  19414. "type": "object",
  19415. "properties": {
  19416. "accountid": {
  19417. "description": "期货账户id",
  19418. "type": "string"
  19419. },
  19420. "accountname": {
  19421. "description": "账户名称",
  19422. "type": "string"
  19423. },
  19424. "attachment": {
  19425. "description": "附件",
  19426. "type": "string"
  19427. },
  19428. "audittime": {
  19429. "description": "审核时间",
  19430. "type": "string"
  19431. },
  19432. "biztype": {
  19433. "description": "业务类型 1-套保 2-套利",
  19434. "type": "integer"
  19435. },
  19436. "brandname": {
  19437. "description": "品牌名称",
  19438. "type": "string"
  19439. },
  19440. "contracctstatus": {
  19441. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19442. "type": "integer"
  19443. },
  19444. "contractmargin": {
  19445. "description": "合同保证金",
  19446. "type": "number"
  19447. },
  19448. "contractno": {
  19449. "description": "合同编号",
  19450. "type": "string"
  19451. },
  19452. "contracttype": {
  19453. "description": "合同类型 1-采购, -1-销售",
  19454. "type": "integer"
  19455. },
  19456. "convertfactor": {
  19457. "description": "标仓系数(品类)",
  19458. "type": "number"
  19459. },
  19460. "createtime": {
  19461. "description": "创建时间",
  19462. "type": "string"
  19463. },
  19464. "currencyid": {
  19465. "description": "币种id",
  19466. "type": "integer"
  19467. },
  19468. "currencyname": {
  19469. "description": "币种名称",
  19470. "type": "string"
  19471. },
  19472. "daikaiamount": {
  19473. "description": "应收(开)票额",
  19474. "type": "number"
  19475. },
  19476. "deliveryenddate": {
  19477. "description": "交割结束日",
  19478. "type": "string"
  19479. },
  19480. "deliverygoodscode": {
  19481. "description": "现货品种代码",
  19482. "type": "string"
  19483. },
  19484. "deliverygoodsid": {
  19485. "description": "现货商品ID",
  19486. "type": "integer"
  19487. },
  19488. "deliverygoodsname": {
  19489. "description": "现货品种名称",
  19490. "type": "string"
  19491. },
  19492. "deliverystartdate": {
  19493. "description": "交割开始日",
  19494. "type": "string"
  19495. },
  19496. "enddate": {
  19497. "description": "点价结束日",
  19498. "type": "string"
  19499. },
  19500. "enumdicname": {
  19501. "description": "单位名称",
  19502. "type": "string"
  19503. },
  19504. "goodscode": {
  19505. "description": "点价商品代码",
  19506. "type": "string"
  19507. },
  19508. "goodsid": {
  19509. "description": "点价商品ID",
  19510. "type": "integer"
  19511. },
  19512. "goodsname": {
  19513. "description": "点价商品名称",
  19514. "type": "string"
  19515. },
  19516. "invoiceamount": {
  19517. "description": "已开票额",
  19518. "type": "number"
  19519. },
  19520. "loanamount": {
  19521. "description": "贷款总额=已定价额+调整金额",
  19522. "type": "number"
  19523. },
  19524. "margin": {
  19525. "description": "保证金",
  19526. "type": "number"
  19527. },
  19528. "meruserid": {
  19529. "description": "跟单员id",
  19530. "type": "integer"
  19531. },
  19532. "meruserlogincode": {
  19533. "description": "跟单员登录代码",
  19534. "type": "string"
  19535. },
  19536. "merusername": {
  19537. "description": "跟单员名称",
  19538. "type": "string"
  19539. },
  19540. "nickname": {
  19541. "description": "账户昵称",
  19542. "type": "string"
  19543. },
  19544. "payamount": {
  19545. "description": "已收付额(收款或付款)",
  19546. "type": "number"
  19547. },
  19548. "preinvoiceamount": {
  19549. "description": "预收(开)票额",
  19550. "type": "number"
  19551. },
  19552. "prepayamount": {
  19553. "description": "预收付额",
  19554. "type": "number"
  19555. },
  19556. "price": {
  19557. "description": "价格",
  19558. "type": "number"
  19559. },
  19560. "pricedamount": {
  19561. "description": "已定价额",
  19562. "type": "number"
  19563. },
  19564. "pricedavg": {
  19565. "description": "已点均价",
  19566. "type": "number"
  19567. },
  19568. "pricedqty": {
  19569. "description": "已定价量",
  19570. "type": "number"
  19571. },
  19572. "pricemove": {
  19573. "description": "升贴水",
  19574. "type": "number"
  19575. },
  19576. "pricetype": {
  19577. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19578. "type": "integer"
  19579. },
  19580. "producttype": {
  19581. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19582. "type": "integer"
  19583. },
  19584. "qty": {
  19585. "description": "合同量",
  19586. "type": "number"
  19587. },
  19588. "reckonadjustamount": {
  19589. "description": "调整金额",
  19590. "type": "number"
  19591. },
  19592. "reckonedamount": {
  19593. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  19594. "type": "number"
  19595. },
  19596. "reckonotheramount": {
  19597. "description": "其它费用",
  19598. "type": "number"
  19599. },
  19600. "reckonrealqty": {
  19601. "description": "已确定量",
  19602. "type": "number"
  19603. },
  19604. "remark": {
  19605. "description": "备注",
  19606. "type": "string"
  19607. },
  19608. "saleuserid": {
  19609. "description": "业务员id",
  19610. "type": "integer"
  19611. },
  19612. "saleuserlogincode": {
  19613. "description": "业务员登录代码",
  19614. "type": "string"
  19615. },
  19616. "saleusername": {
  19617. "description": "业务员名称",
  19618. "type": "string"
  19619. },
  19620. "spotcontractid": {
  19621. "description": "合同ID",
  19622. "type": "string"
  19623. },
  19624. "spotgoodsbrandid": {
  19625. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19626. "type": "integer"
  19627. },
  19628. "spotgoodsdesc": {
  19629. "description": "商品型号(商品规格)",
  19630. "type": "string"
  19631. },
  19632. "startdate": {
  19633. "description": "点价开始日",
  19634. "type": "string"
  19635. },
  19636. "totalamount": {
  19637. "description": "合计总额",
  19638. "type": "number"
  19639. },
  19640. "tradeuserid": {
  19641. "description": "交易员id",
  19642. "type": "integer"
  19643. },
  19644. "tradeuserlogincode": {
  19645. "description": "交易员登录代码",
  19646. "type": "string"
  19647. },
  19648. "tradeusername": {
  19649. "description": "交易员名称",
  19650. "type": "string"
  19651. },
  19652. "unpayamount": {
  19653. "description": "应收付款额(应支付或应收款)",
  19654. "type": "number"
  19655. },
  19656. "unpricedqty": {
  19657. "description": "未定价量",
  19658. "type": "number"
  19659. },
  19660. "unsureqty": {
  19661. "description": "未确定量",
  19662. "type": "number"
  19663. },
  19664. "userid": {
  19665. "description": "机构ID",
  19666. "type": "integer"
  19667. },
  19668. "wrstandardcode": {
  19669. "description": "品类代码",
  19670. "type": "string"
  19671. },
  19672. "wrstandardid": {
  19673. "description": "品类ID",
  19674. "type": "integer"
  19675. },
  19676. "wrstandardname": {
  19677. "description": "品类名称",
  19678. "type": "string"
  19679. }
  19680. }
  19681. },
  19682. "models.Ermcp3SpotGoodsPrice": {
  19683. "type": "object",
  19684. "properties": {
  19685. "areauserid": {
  19686. "description": "所属机构id",
  19687. "type": "integer"
  19688. },
  19689. "brandname": {
  19690. "description": "品牌名称",
  19691. "type": "string"
  19692. },
  19693. "currencyid": {
  19694. "description": "报价货币ID",
  19695. "type": "integer"
  19696. },
  19697. "currencyname": {
  19698. "description": "币种名称",
  19699. "type": "string"
  19700. },
  19701. "deliverygoodscode": {
  19702. "description": "现货商品代码",
  19703. "type": "string"
  19704. },
  19705. "deliverygoodsid": {
  19706. "description": "现货商品id",
  19707. "type": "integer"
  19708. },
  19709. "deliverygoodsname": {
  19710. "description": "现货商品名称",
  19711. "type": "string"
  19712. },
  19713. "enumdicname": {
  19714. "description": "现货商品单位名称",
  19715. "type": "string"
  19716. },
  19717. "gbenumdicname": {
  19718. "description": "品类单位名称",
  19719. "type": "string"
  19720. },
  19721. "gmunitid": {
  19722. "description": "品类单位id",
  19723. "type": "integer"
  19724. },
  19725. "isvalid": {
  19726. "description": "是否有效 - 0:无效 1:有效",
  19727. "type": "integer"
  19728. },
  19729. "operateid": {
  19730. "description": "最后操作人",
  19731. "type": "integer"
  19732. },
  19733. "operatesrc": {
  19734. "description": "最后操作来源 - 1:管理端 2:终端",
  19735. "type": "integer"
  19736. },
  19737. "operatetime": {
  19738. "description": "最后操作时间",
  19739. "type": "string"
  19740. },
  19741. "operatorname": {
  19742. "description": "操作人名称",
  19743. "type": "string"
  19744. },
  19745. "spotgoodsbrandid": {
  19746. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19747. "type": "integer"
  19748. },
  19749. "spotgoodsprice": {
  19750. "description": "现货价格",
  19751. "type": "number"
  19752. },
  19753. "tradedate": {
  19754. "description": "交易日(yyyyMMdd)",
  19755. "type": "string"
  19756. },
  19757. "unitid": {
  19758. "description": "现货商品单位id",
  19759. "type": "integer"
  19760. },
  19761. "wrstandardcode": {
  19762. "description": "品类代码",
  19763. "type": "string"
  19764. },
  19765. "wrstandardid": {
  19766. "description": "现货品类ID(通用则为0)",
  19767. "type": "integer"
  19768. },
  19769. "wrstandardname": {
  19770. "description": "品类名称",
  19771. "type": "string"
  19772. }
  19773. }
  19774. },
  19775. "models.Ermcp3SpotGoodsPriceLog": {
  19776. "type": "object",
  19777. "properties": {
  19778. "areauserid": {
  19779. "description": "所属机构id",
  19780. "type": "integer"
  19781. },
  19782. "brandname": {
  19783. "description": "品牌名称",
  19784. "type": "string"
  19785. },
  19786. "currencyid": {
  19787. "description": "报价货币ID",
  19788. "type": "integer"
  19789. },
  19790. "deliverygoodscode": {
  19791. "description": "现货商品代码",
  19792. "type": "string"
  19793. },
  19794. "deliverygoodsid": {
  19795. "description": "现货商品id",
  19796. "type": "integer"
  19797. },
  19798. "deliverygoodsname": {
  19799. "description": "现货商品名称",
  19800. "type": "string"
  19801. },
  19802. "enumdicname": {
  19803. "description": "现货商品单位名称",
  19804. "type": "string"
  19805. },
  19806. "gbenumdicname": {
  19807. "description": "品类单位名称",
  19808. "type": "string"
  19809. },
  19810. "gmunitid": {
  19811. "description": "品类单位id",
  19812. "type": "integer"
  19813. },
  19814. "logid": {
  19815. "description": "日志id",
  19816. "type": "integer"
  19817. },
  19818. "operateid": {
  19819. "description": "最后操作人",
  19820. "type": "integer"
  19821. },
  19822. "operatesrc": {
  19823. "description": "最后操作来源 - 1:管理端 2:终端",
  19824. "type": "integer"
  19825. },
  19826. "operatetime": {
  19827. "description": "最后操作时间",
  19828. "type": "string"
  19829. },
  19830. "operatorname": {
  19831. "description": "操作人名称",
  19832. "type": "string"
  19833. },
  19834. "spotgoodsbrandid": {
  19835. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19836. "type": "integer"
  19837. },
  19838. "spotgoodsprice": {
  19839. "description": "现货价格",
  19840. "type": "number"
  19841. },
  19842. "tradedate": {
  19843. "description": "交易日(yyyyMMdd)",
  19844. "type": "string"
  19845. },
  19846. "unitid": {
  19847. "description": "现货商品单位id",
  19848. "type": "integer"
  19849. },
  19850. "wrstandardcode": {
  19851. "description": "品类代码",
  19852. "type": "string"
  19853. },
  19854. "wrstandardid": {
  19855. "description": "现货品类ID(通用则为0)",
  19856. "type": "integer"
  19857. },
  19858. "wrstandardname": {
  19859. "description": "品类名称",
  19860. "type": "string"
  19861. }
  19862. }
  19863. },
  19864. "models.Ermcp3TaFutuReDataReport": {
  19865. "type": "object",
  19866. "properties": {
  19867. "accountid": {
  19868. "description": "交易账户",
  19869. "type": "integer"
  19870. },
  19871. "accountname": {
  19872. "description": "交易账号名称",
  19873. "type": "string"
  19874. },
  19875. "agreeunit": {
  19876. "description": "商品合约单位",
  19877. "type": "number"
  19878. },
  19879. "begindate": {
  19880. "description": "开始交易日",
  19881. "type": "string"
  19882. },
  19883. "buyorsell": {
  19884. "description": "持仓方向",
  19885. "type": "integer"
  19886. },
  19887. "charge": {
  19888. "description": "手续费",
  19889. "type": "number"
  19890. },
  19891. "closeavgprice": {
  19892. "description": "平仓均价",
  19893. "type": "number"
  19894. },
  19895. "closepl": {
  19896. "description": "平仓损益",
  19897. "type": "number"
  19898. },
  19899. "currencyid": {
  19900. "description": "结算币种ID",
  19901. "type": "integer"
  19902. },
  19903. "currencyname": {
  19904. "description": "币种名称",
  19905. "type": "string"
  19906. },
  19907. "cycletime": {
  19908. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19909. "type": "string"
  19910. },
  19911. "cycletype": {
  19912. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19913. "type": "integer"
  19914. },
  19915. "enddate": {
  19916. "description": "结束交易日",
  19917. "type": "string"
  19918. },
  19919. "enumdicname": {
  19920. "description": "单位名称",
  19921. "type": "string"
  19922. },
  19923. "floatpl": {
  19924. "description": "浮动损益",
  19925. "type": "number"
  19926. },
  19927. "goodscode": {
  19928. "description": "交易合约代码",
  19929. "type": "string"
  19930. },
  19931. "goodsgroupid": {
  19932. "description": "交易品种",
  19933. "type": "integer"
  19934. },
  19935. "goodsgroupname": {
  19936. "description": "交易品种名称",
  19937. "type": "string"
  19938. },
  19939. "goodsgroupspotqty": {
  19940. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  19941. "type": "number"
  19942. },
  19943. "goodsid": {
  19944. "description": "交易合约",
  19945. "type": "integer"
  19946. },
  19947. "goodsname": {
  19948. "description": "交易合约名称",
  19949. "type": "string"
  19950. },
  19951. "goodunitid": {
  19952. "description": "交易合约单位id",
  19953. "type": "integer"
  19954. },
  19955. "holdamount": {
  19956. "description": "期末持仓额",
  19957. "type": "number"
  19958. },
  19959. "holdqty": {
  19960. "description": "期末持仓量",
  19961. "type": "number"
  19962. },
  19963. "lastholdamount": {
  19964. "description": "当前持仓额",
  19965. "type": "number"
  19966. },
  19967. "lastprice": {
  19968. "description": "最新价",
  19969. "type": "number"
  19970. },
  19971. "middlegoodsid": {
  19972. "description": "套保品种id",
  19973. "type": "integer"
  19974. },
  19975. "middlegoodsname": {
  19976. "description": "套保商品名称",
  19977. "type": "string"
  19978. },
  19979. "middlegoodsqty": {
  19980. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  19981. "type": "number"
  19982. },
  19983. "middlgoodscode": {
  19984. "description": "套保商品代码",
  19985. "type": "string"
  19986. },
  19987. "openamount": {
  19988. "description": "期末开仓额",
  19989. "type": "number"
  19990. },
  19991. "openavgprice": {
  19992. "description": "开仓均价",
  19993. "type": "number"
  19994. },
  19995. "oriholdamount": {
  19996. "description": "期初持仓额",
  19997. "type": "number"
  19998. },
  19999. "oriholdqty": {
  20000. "description": "期初持仓量",
  20001. "type": "number"
  20002. },
  20003. "oriopenamount": {
  20004. "description": "期初开仓额",
  20005. "type": "number"
  20006. },
  20007. "outergroupcode": {
  20008. "description": "交易品种代码",
  20009. "type": "string"
  20010. },
  20011. "qtydecimalplace": {
  20012. "description": "成交量小数位",
  20013. "type": "integer"
  20014. },
  20015. "reckondate": {
  20016. "description": "日照时期(yyyyMMdd)",
  20017. "type": "string"
  20018. },
  20019. "reckonholdamount": {
  20020. "description": "结算持仓额",
  20021. "type": "number"
  20022. },
  20023. "reckonpl": {
  20024. "description": "结算损益",
  20025. "type": "number"
  20026. },
  20027. "reckonpl2": {
  20028. "description": "结算逐笔盈亏",
  20029. "type": "number"
  20030. },
  20031. "reckonprice": {
  20032. "description": "结算价",
  20033. "type": "number"
  20034. },
  20035. "relateduserid": {
  20036. "description": "账户关联用户ID",
  20037. "type": "integer"
  20038. },
  20039. "todaycloseamount": {
  20040. "description": "今平仓额",
  20041. "type": "number"
  20042. },
  20043. "todaycloseqty": {
  20044. "description": "今平仓量",
  20045. "type": "number"
  20046. },
  20047. "todaygoodsgroupspotqty": {
  20048. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  20049. "type": "number"
  20050. },
  20051. "todaymiddlegoodsqty": {
  20052. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  20053. "type": "number"
  20054. },
  20055. "todayopenamount": {
  20056. "description": "今开仓额",
  20057. "type": "number"
  20058. },
  20059. "todayopenqty": {
  20060. "description": "今开仓量",
  20061. "type": "number"
  20062. },
  20063. "userid": {
  20064. "description": "账户所属用户ID",
  20065. "type": "integer"
  20066. }
  20067. }
  20068. },
  20069. "models.Ermcp3Wrstandard": {
  20070. "type": "object",
  20071. "properties": {
  20072. "areauserid": {
  20073. "description": "所属机构",
  20074. "type": "integer"
  20075. },
  20076. "cantrade": {
  20077. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  20078. "type": "integer"
  20079. },
  20080. "convertfactor": {
  20081. "description": "标仓系数",
  20082. "type": "number"
  20083. },
  20084. "createtime": {
  20085. "description": "创建时间",
  20086. "type": "string"
  20087. },
  20088. "creatorid": {
  20089. "description": "创建人",
  20090. "type": "integer"
  20091. },
  20092. "deliverygoodsid": {
  20093. "description": "现货品种ID",
  20094. "type": "integer"
  20095. },
  20096. "enumdicname": {
  20097. "description": "品类单位名称",
  20098. "type": "string"
  20099. },
  20100. "isvalid": {
  20101. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  20102. "type": "integer"
  20103. },
  20104. "minivalue": {
  20105. "description": "最小变动值",
  20106. "type": "integer"
  20107. },
  20108. "minivaluedp": {
  20109. "description": "最小变动值小数位",
  20110. "type": "integer"
  20111. },
  20112. "realminivalue": {
  20113. "description": "实际最小变动值",
  20114. "type": "integer"
  20115. },
  20116. "realminivaluedp": {
  20117. "description": "实际最小变动值小数位",
  20118. "type": "integer"
  20119. },
  20120. "remark": {
  20121. "description": "备注",
  20122. "type": "string"
  20123. },
  20124. "unitid": {
  20125. "description": "品类单位ID",
  20126. "type": "integer"
  20127. },
  20128. "updatetime": {
  20129. "description": "更新时间",
  20130. "type": "string"
  20131. },
  20132. "wrstandardcode": {
  20133. "description": "品类代码",
  20134. "type": "string"
  20135. },
  20136. "wrstandardid": {
  20137. "description": "品类ID(SEQ_WRSTANDARD)",
  20138. "type": "integer"
  20139. },
  20140. "wrstandardname": {
  20141. "description": "品类名称",
  20142. "type": "string"
  20143. }
  20144. }
  20145. },
  20146. "models.ErmcpAreaSpotDetailModel": {
  20147. "type": "object",
  20148. "properties": {
  20149. "contracttype": {
  20150. "description": "合同类型 1-采购 -1-销售",
  20151. "type": "integer"
  20152. },
  20153. "createtime": {
  20154. "description": "创建时间",
  20155. "type": "string"
  20156. },
  20157. "enumdicname": {
  20158. "description": "现货商品单位名称",
  20159. "type": "string"
  20160. },
  20161. "logtype": {
  20162. "description": "记录类型 1-套保 2-现货合同",
  20163. "type": "integer"
  20164. },
  20165. "qty": {
  20166. "description": "数量",
  20167. "type": "number"
  20168. },
  20169. "recordname": {
  20170. "description": "类型名称",
  20171. "type": "string"
  20172. },
  20173. "relatedid": {
  20174. "description": "套保计划ID/现货合同ID",
  20175. "type": "string"
  20176. },
  20177. "relatedno": {
  20178. "description": "编号",
  20179. "type": "string"
  20180. },
  20181. "strtime": {
  20182. "description": "时间",
  20183. "type": "string"
  20184. },
  20185. "wrstandardcode": {
  20186. "description": "现货商品代码",
  20187. "type": "string"
  20188. },
  20189. "wrstandardname": {
  20190. "description": "现货商品名称",
  20191. "type": "string"
  20192. }
  20193. }
  20194. },
  20195. "models.ErmcpAvalidGoodsGroupModel": {
  20196. "type": "object",
  20197. "properties": {
  20198. "goodsgroupid": {
  20199. "description": "期货品种id",
  20200. "type": "integer"
  20201. },
  20202. "goodsgroupname": {
  20203. "description": "期货品种名称",
  20204. "type": "string"
  20205. },
  20206. "goodunitid": {
  20207. "description": "品种单位id",
  20208. "type": "integer"
  20209. },
  20210. "goodunitname": {
  20211. "description": "品种单位名称",
  20212. "type": "string"
  20213. },
  20214. "outergroupcode": {
  20215. "description": "期货品种代码",
  20216. "type": "string"
  20217. }
  20218. }
  20219. },
  20220. "models.ErmcpBizGroupEx": {
  20221. "type": "object",
  20222. "properties": {
  20223. "acclist": {
  20224. "description": "账号列表",
  20225. "type": "array",
  20226. "items": {
  20227. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  20228. }
  20229. },
  20230. "bizgroupid": {
  20231. "description": "业务分组id",
  20232. "type": "integer"
  20233. },
  20234. "biztype": {
  20235. "description": "业务类型 1-套保 2-套利",
  20236. "type": "integer"
  20237. },
  20238. "wrlist": {
  20239. "description": "现货商品表",
  20240. "type": "array",
  20241. "items": {
  20242. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  20243. }
  20244. }
  20245. }
  20246. },
  20247. "models.ErmcpBizGroupSpotGoods": {
  20248. "type": "object",
  20249. "properties": {
  20250. "areauserid": {
  20251. "description": "所属机构id",
  20252. "type": "integer"
  20253. },
  20254. "bizgroupid": {
  20255. "description": "分组id",
  20256. "type": "integer"
  20257. },
  20258. "biztype": {
  20259. "description": "业务类型 1-套保 2-套利",
  20260. "type": "integer"
  20261. },
  20262. "deliverygoodscode": {
  20263. "description": "现货商品代码",
  20264. "type": "string"
  20265. },
  20266. "deliverygoodsid": {
  20267. "description": "现货商品id",
  20268. "type": "integer"
  20269. },
  20270. "deliverygoodsname": {
  20271. "description": "现货商品名称",
  20272. "type": "string"
  20273. },
  20274. "unitid": {
  20275. "description": "现货商品单位id",
  20276. "type": "integer"
  20277. }
  20278. }
  20279. },
  20280. "models.ErmcpBizGroupTaAccount": {
  20281. "type": "object",
  20282. "properties": {
  20283. "accountid": {
  20284. "description": "账号id",
  20285. "type": "integer"
  20286. },
  20287. "accountname": {
  20288. "description": "账号名称",
  20289. "type": "string"
  20290. },
  20291. "areauserid": {
  20292. "description": "所属机构id",
  20293. "type": "integer"
  20294. },
  20295. "bizgroupid": {
  20296. "description": "业务分组id",
  20297. "type": "integer"
  20298. },
  20299. "ismain": {
  20300. "description": "是否主账号 1-是 0-否",
  20301. "type": "integer"
  20302. }
  20303. }
  20304. },
  20305. "models.ErmcpDGFactoryItem": {
  20306. "type": "object",
  20307. "properties": {
  20308. "areauserid": {
  20309. "description": "用户id",
  20310. "type": "integer"
  20311. },
  20312. "deliverygoodsid": {
  20313. "description": "现货品种ID",
  20314. "type": "integer"
  20315. },
  20316. "dgfactoryitemid": {
  20317. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20318. "type": "integer"
  20319. },
  20320. "dgfactoryitemtypeid": {
  20321. "description": "要素项类型",
  20322. "type": "integer"
  20323. },
  20324. "dgfactoryitemvalue": {
  20325. "description": "要素项值(类型为仓库时填写仓库名称)",
  20326. "type": "string"
  20327. },
  20328. "isvalid": {
  20329. "description": "是否有效 - 0:无效 1:有效",
  20330. "type": "integer"
  20331. },
  20332. "orderindex": {
  20333. "description": "顺序",
  20334. "type": "integer"
  20335. },
  20336. "warehouseid": {
  20337. "description": "仓库ID(类型为仓库时填写)",
  20338. "type": "integer"
  20339. }
  20340. }
  20341. },
  20342. "models.ErmcpDeliveryGoods": {
  20343. "type": "object",
  20344. "properties": {
  20345. "agreeunit": {
  20346. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20347. "type": "integer"
  20348. },
  20349. "areauserid": {
  20350. "description": "所属机构",
  20351. "type": "integer"
  20352. },
  20353. "auditflag": {
  20354. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20355. "type": "integer"
  20356. },
  20357. "categoryid": {
  20358. "description": "类别ID(SEQ_WRCATEGORY)",
  20359. "type": "integer"
  20360. },
  20361. "deliverygoodscode": {
  20362. "description": "现货品种代码",
  20363. "type": "string"
  20364. },
  20365. "deliverygoodsid": {
  20366. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20367. "type": "integer"
  20368. },
  20369. "deliverygoodsname": {
  20370. "description": "现货品种名称",
  20371. "type": "string"
  20372. },
  20373. "deliverygoodstype": {
  20374. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20375. "type": "integer"
  20376. },
  20377. "dgstatus": {
  20378. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20379. "type": "integer"
  20380. },
  20381. "enumdicname": {
  20382. "description": "现货品种单位名称",
  20383. "type": "string"
  20384. },
  20385. "goodsunitid": {
  20386. "description": "现货品种单位ID",
  20387. "type": "integer"
  20388. },
  20389. "isvalid": {
  20390. "description": "是否有效 - 0:无效 1:有效",
  20391. "type": "integer"
  20392. },
  20393. "qtydecimalplace": {
  20394. "description": "成交量小数位",
  20395. "type": "integer"
  20396. },
  20397. "remark": {
  20398. "description": "备注",
  20399. "type": "string"
  20400. },
  20401. "standardqty": {
  20402. "description": "标准数量(库位数量) [标准品特有]",
  20403. "type": "integer"
  20404. },
  20405. "standardqtyrange": {
  20406. "description": "标准数量偏差范围 [标准品特有]",
  20407. "type": "integer"
  20408. }
  20409. }
  20410. },
  20411. "models.ErmcpDeliveryGoodsDetail2": {
  20412. "type": "object",
  20413. "properties": {
  20414. "convertratio": {
  20415. "description": "套保系数(折算系数)",
  20416. "type": "number"
  20417. },
  20418. "data": {
  20419. "description": "现货商品基本信息(交割品种)",
  20420. "type": "object",
  20421. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20422. },
  20423. "gblist": {
  20424. "description": "品牌列表",
  20425. "type": "array",
  20426. "items": {
  20427. "$ref": "#/definitions/models.Ermcp3Brand"
  20428. }
  20429. },
  20430. "gmlist": {
  20431. "description": "品类列表(仓单标准)",
  20432. "type": "array",
  20433. "items": {
  20434. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20435. }
  20436. }
  20437. }
  20438. },
  20439. "models.ErmcpDeliveryGoodsDetailEx": {
  20440. "type": "object",
  20441. "properties": {
  20442. "data": {
  20443. "description": "现货商品基本信息(交割品种)",
  20444. "type": "object",
  20445. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20446. },
  20447. "gblist": {
  20448. "description": "品牌列表",
  20449. "type": "array",
  20450. "items": {
  20451. "$ref": "#/definitions/models.Ermcp3Brand"
  20452. }
  20453. },
  20454. "gmlist": {
  20455. "description": "品类列表(仓单标准)",
  20456. "type": "array",
  20457. "items": {
  20458. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20459. }
  20460. },
  20461. "mgList": {
  20462. "description": "套保列表",
  20463. "type": "array",
  20464. "items": {
  20465. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  20466. }
  20467. }
  20468. }
  20469. },
  20470. "models.ErmcpExposureDetailModel": {
  20471. "type": "object",
  20472. "properties": {
  20473. "areauserid": {
  20474. "description": "机构ID",
  20475. "type": "integer"
  20476. },
  20477. "changeQty": {
  20478. "description": "套保变动量",
  20479. "type": "number"
  20480. },
  20481. "contracttype": {
  20482. "description": "现货合同类型 - 1:采购 -1:销售",
  20483. "type": "integer"
  20484. },
  20485. "convertfactor": {
  20486. "description": "标仓系数",
  20487. "type": "number"
  20488. },
  20489. "convertratio": {
  20490. "description": "套保系数",
  20491. "type": "number"
  20492. },
  20493. "createtime": {
  20494. "description": "时间",
  20495. "type": "string"
  20496. },
  20497. "enumdicname": {
  20498. "description": "现货商品单位名称",
  20499. "type": "string"
  20500. },
  20501. "logtype": {
  20502. "description": "类型 - 1:套保计划 2:现货合同",
  20503. "type": "integer"
  20504. },
  20505. "middlegoodsId": {
  20506. "description": "套保商品id",
  20507. "type": "integer"
  20508. },
  20509. "middlegoodscode": {
  20510. "description": "套保商品代码",
  20511. "type": "string"
  20512. },
  20513. "middlegoodsname": {
  20514. "description": "套保商品名称",
  20515. "type": "string"
  20516. },
  20517. "qty": {
  20518. "description": "数量",
  20519. "type": "number"
  20520. },
  20521. "relateNo": {
  20522. "description": "现货合同/套保计划编号",
  20523. "type": "string"
  20524. },
  20525. "wrstandardcode": {
  20526. "description": "现货商品代码",
  20527. "type": "string"
  20528. },
  20529. "wrstandardid": {
  20530. "description": "现货商品ID",
  20531. "type": "integer"
  20532. },
  20533. "wrstandardname": {
  20534. "description": "现货商品名称",
  20535. "type": "string"
  20536. }
  20537. }
  20538. },
  20539. "models.ErmcpExposurePostion": {
  20540. "type": "object",
  20541. "properties": {
  20542. "agreeunit": {
  20543. "description": "合约单位",
  20544. "type": "string"
  20545. },
  20546. "areauserid": {
  20547. "description": "所属机构id",
  20548. "type": "integer"
  20549. },
  20550. "convertratio": {
  20551. "description": "期货品种系数(折算系数)",
  20552. "type": "number"
  20553. },
  20554. "curqty": {
  20555. "description": "当前持仓",
  20556. "type": "integer"
  20557. },
  20558. "diffhedgeqty": {
  20559. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20560. "type": "number"
  20561. },
  20562. "diffqty": {
  20563. "description": "持仓变动量=当前持仓-昨日持仓",
  20564. "type": "integer"
  20565. },
  20566. "goodscode": {
  20567. "description": "商品代码",
  20568. "type": "string"
  20569. },
  20570. "goodsid": {
  20571. "description": "商品id",
  20572. "type": "integer"
  20573. },
  20574. "goodsname": {
  20575. "description": "商品名称",
  20576. "type": "string"
  20577. },
  20578. "middlegoodsid": {
  20579. "description": "套保商品id",
  20580. "type": "integer"
  20581. },
  20582. "ydqty": {
  20583. "description": "昨日持仓",
  20584. "type": "integer"
  20585. }
  20586. }
  20587. },
  20588. "models.ErmcpFuturesCompany": {
  20589. "type": "object",
  20590. "properties": {
  20591. "brokerid": {
  20592. "description": "经纪公司代码",
  20593. "type": "string"
  20594. },
  20595. "channeladdress": {
  20596. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  20597. "type": "string"
  20598. },
  20599. "channelid": {
  20600. "description": "对冲渠道ID",
  20601. "type": "string"
  20602. },
  20603. "createtime": {
  20604. "description": "创建时间",
  20605. "type": "string"
  20606. },
  20607. "creatorid": {
  20608. "description": "创建人",
  20609. "type": "string"
  20610. },
  20611. "fcid": {
  20612. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  20613. "type": "integer"
  20614. },
  20615. "fcname": {
  20616. "description": "期货公司名称",
  20617. "type": "string"
  20618. },
  20619. "isvalid": {
  20620. "description": "是否有效 - 0:无效 1:有效",
  20621. "type": "integer"
  20622. },
  20623. "mhpaddress": {
  20624. "description": "MHP服务地址(IP:Port)",
  20625. "type": "string"
  20626. },
  20627. "riskrulegroupid": {
  20628. "description": "风控规则组ID",
  20629. "type": "string"
  20630. },
  20631. "tradefeetmpid": {
  20632. "description": "手续费模板ID[TradeConfigTmpType为2]",
  20633. "type": "string"
  20634. },
  20635. "trademargintmpid": {
  20636. "description": "保证金模板ID [TradeConfigTmpType为1]",
  20637. "type": "string"
  20638. },
  20639. "traderatetmpid": {
  20640. "description": "汇率模板ID[TradeConfigTmpType为3]",
  20641. "type": "string"
  20642. },
  20643. "updatetime": {
  20644. "description": "更新时间",
  20645. "type": "string"
  20646. },
  20647. "updatorid": {
  20648. "description": "更新人",
  20649. "type": "string"
  20650. }
  20651. }
  20652. },
  20653. "models.ErmcpGGConvertCfg": {
  20654. "type": "object",
  20655. "properties": {
  20656. "convertratio": {
  20657. "description": "折算系数",
  20658. "type": "number"
  20659. },
  20660. "destgoodsgroupid": {
  20661. "description": "目标品种ID",
  20662. "type": "integer"
  20663. },
  20664. "dstcode": {
  20665. "description": "目录品种代码",
  20666. "type": "string"
  20667. },
  20668. "dstexchangecode": {
  20669. "description": "目标期货交易所",
  20670. "type": "string"
  20671. },
  20672. "dstname": {
  20673. "description": "目标品种名称",
  20674. "type": "string"
  20675. },
  20676. "dstunitid": {
  20677. "description": "目标品种单位ID",
  20678. "type": "integer"
  20679. },
  20680. "dstunitidname": {
  20681. "description": "目标品种单位名称",
  20682. "type": "string"
  20683. },
  20684. "modifytime": {
  20685. "description": "修改时间",
  20686. "type": "string"
  20687. },
  20688. "srccode": {
  20689. "description": "源品种代码",
  20690. "type": "string"
  20691. },
  20692. "srcexchangecode": {
  20693. "description": "源期货交易所",
  20694. "type": "string"
  20695. },
  20696. "srcgoodsgroupid": {
  20697. "description": "源品种ID",
  20698. "type": "integer"
  20699. },
  20700. "srcname": {
  20701. "description": "源品种名称",
  20702. "type": "string"
  20703. },
  20704. "srcunitid": {
  20705. "description": "源品种单位ID",
  20706. "type": "integer"
  20707. },
  20708. "srcunitidname": {
  20709. "description": "源品种单位名称",
  20710. "type": "string"
  20711. }
  20712. }
  20713. },
  20714. "models.ErmcpGoods": {
  20715. "type": "object",
  20716. "required": [
  20717. "goodscode",
  20718. "goodsid",
  20719. "goodsname",
  20720. "marketid"
  20721. ],
  20722. "properties": {
  20723. "agreeunit": {
  20724. "description": "合约单位",
  20725. "type": "number"
  20726. },
  20727. "areauserid": {
  20728. "description": "所属机构",
  20729. "type": "integer"
  20730. },
  20731. "auditaccountid": {
  20732. "description": "审核操作员账号",
  20733. "type": "integer"
  20734. },
  20735. "audittime": {
  20736. "description": "审核时间",
  20737. "type": "string"
  20738. },
  20739. "cancelaccountid": {
  20740. "description": "注销操作员账号",
  20741. "type": "integer"
  20742. },
  20743. "canceltime": {
  20744. "description": "注销时间",
  20745. "type": "string"
  20746. },
  20747. "closepricemode": {
  20748. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20749. "type": "integer"
  20750. },
  20751. "closepriceparam": {
  20752. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20753. "type": "number"
  20754. },
  20755. "createtime": {
  20756. "description": "创建时间",
  20757. "type": "string"
  20758. },
  20759. "creatorid": {
  20760. "description": "创建人",
  20761. "type": "integer"
  20762. },
  20763. "currencyid": {
  20764. "description": "报价货币ID",
  20765. "type": "integer"
  20766. },
  20767. "cutmode": {
  20768. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20769. "type": "integer"
  20770. },
  20771. "decimalplace": {
  20772. "description": "报价小数位",
  20773. "type": "integer"
  20774. },
  20775. "delistingdate": {
  20776. "description": "商品退市时间(状态:退市) -- 已作废",
  20777. "type": "string"
  20778. },
  20779. "delistingmode": {
  20780. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20781. "type": "integer"
  20782. },
  20783. "deliveryflag": {
  20784. "description": "交割标志 - 0:不可交割 1:可交割",
  20785. "type": "integer"
  20786. },
  20787. "enumdicname": {
  20788. "description": "单位名称",
  20789. "type": "string"
  20790. },
  20791. "forceclosemode": {
  20792. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20793. "type": "integer"
  20794. },
  20795. "forceclosevalue": {
  20796. "description": "定期强平参数 [收益权]",
  20797. "type": "integer"
  20798. },
  20799. "goodscode": {
  20800. "description": "商品代码(内部)",
  20801. "type": "string"
  20802. },
  20803. "goodscurrencyid": {
  20804. "description": "合约货币ID",
  20805. "type": "integer"
  20806. },
  20807. "goodsgroupid": {
  20808. "description": "所属商品组ID",
  20809. "type": "integer"
  20810. },
  20811. "goodsid": {
  20812. "description": "商品ID(自增ID SEQ_GOODS)",
  20813. "type": "integer"
  20814. },
  20815. "goodsname": {
  20816. "description": "商品名称",
  20817. "type": "string"
  20818. },
  20819. "goodsquotetype": {
  20820. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20821. "type": "integer"
  20822. },
  20823. "goodsstatus": {
  20824. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20825. "type": "integer"
  20826. },
  20827. "goodstradetype": {
  20828. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20829. "type": "integer"
  20830. },
  20831. "goodunitid": {
  20832. "description": "报价单位ID",
  20833. "type": "integer"
  20834. },
  20835. "hasquoter": {
  20836. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20837. "type": "integer"
  20838. },
  20839. "hqprotecttime": {
  20840. "description": "行情保护时间(秒)",
  20841. "type": "integer"
  20842. },
  20843. "innerdealmode": {
  20844. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20845. "type": "integer"
  20846. },
  20847. "isbuylimited": {
  20848. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20849. "type": "integer"
  20850. },
  20851. "isvisible": {
  20852. "description": "游客是否可见 - 0:不可见 1:可见",
  20853. "type": "integer"
  20854. },
  20855. "lasttradedate": {
  20856. "description": "最后交易日期(状态:待退市)",
  20857. "type": "string"
  20858. },
  20859. "listingdate": {
  20860. "description": "交易开始日期",
  20861. "type": "string"
  20862. },
  20863. "marketid": {
  20864. "description": "所属市场ID",
  20865. "type": "integer"
  20866. },
  20867. "modifierid": {
  20868. "description": "修改人",
  20869. "type": "integer"
  20870. },
  20871. "modifystatus": {
  20872. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20873. "type": "integer"
  20874. },
  20875. "modifytime": {
  20876. "description": "修改时间",
  20877. "type": "string"
  20878. },
  20879. "outerdealmode": {
  20880. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20881. "type": "integer"
  20882. },
  20883. "outgoodscode": {
  20884. "description": "商品代码(外部)",
  20885. "type": "string"
  20886. },
  20887. "pictureurl": {
  20888. "description": "商品图片",
  20889. "type": "string"
  20890. },
  20891. "qtydecimalplace": {
  20892. "description": "成交量小数位",
  20893. "type": "integer"
  20894. },
  20895. "quotegear": {
  20896. "description": "行情档位(1-10)",
  20897. "type": "integer"
  20898. },
  20899. "quoteminunit": {
  20900. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20901. "type": "integer"
  20902. },
  20903. "quoteshowtype": {
  20904. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20905. "type": "integer"
  20906. },
  20907. "quoteshowtypeinterval": {
  20908. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20909. "type": "integer"
  20910. },
  20911. "relatedgoodsid": {
  20912. "description": "关联参考商品ID",
  20913. "type": "integer"
  20914. },
  20915. "remark": {
  20916. "description": "备注",
  20917. "type": "string"
  20918. },
  20919. "trademode": {
  20920. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20921. "type": "integer"
  20922. }
  20923. }
  20924. },
  20925. "models.ErmcpGoodsBrand": {
  20926. "type": "object",
  20927. "properties": {
  20928. "areauserid": {
  20929. "description": "所属机构",
  20930. "type": "integer"
  20931. },
  20932. "brandid": {
  20933. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  20934. "type": "integer"
  20935. },
  20936. "brandname": {
  20937. "description": "品牌名称",
  20938. "type": "string"
  20939. },
  20940. "createtime": {
  20941. "description": "创建时间",
  20942. "type": "string"
  20943. },
  20944. "creatorid": {
  20945. "description": "创建人",
  20946. "type": "integer"
  20947. },
  20948. "creatorsrc": {
  20949. "description": "创建人来源 - 1:管理端 2:终端",
  20950. "type": "integer"
  20951. },
  20952. "deliverygoodsid": {
  20953. "description": "现货品种ID",
  20954. "type": "integer"
  20955. },
  20956. "isvalid": {
  20957. "description": "是否有效 - 0:无效 1:有效",
  20958. "type": "integer"
  20959. },
  20960. "updatetime": {
  20961. "description": "更新时间",
  20962. "type": "string"
  20963. },
  20964. "updatorid": {
  20965. "description": "更新人",
  20966. "type": "integer"
  20967. },
  20968. "updatorsrc": {
  20969. "description": "更新人来源 - 1:管理端 2:终端",
  20970. "type": "integer"
  20971. },
  20972. "wrstandardid": {
  20973. "description": "现货商品ID",
  20974. "type": "integer"
  20975. }
  20976. }
  20977. },
  20978. "models.ErmcpGoodsModel": {
  20979. "type": "object",
  20980. "properties": {
  20981. "areauserid": {
  20982. "description": "所属机构",
  20983. "type": "integer"
  20984. },
  20985. "convertfactor": {
  20986. "description": "标仓系数",
  20987. "type": "number"
  20988. },
  20989. "createtime": {
  20990. "description": "创建时间",
  20991. "type": "string"
  20992. },
  20993. "creatorid": {
  20994. "description": "创建人",
  20995. "type": "integer"
  20996. },
  20997. "creatorsrc": {
  20998. "description": "创建人来源 - 1:管理端 2:终端",
  20999. "type": "integer"
  21000. },
  21001. "deliverygoodsid": {
  21002. "description": "现货品种ID",
  21003. "type": "integer"
  21004. },
  21005. "isvalid": {
  21006. "description": "是否有效 - 0:无效 1:有效",
  21007. "type": "integer"
  21008. },
  21009. "modelid": {
  21010. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  21011. "type": "integer"
  21012. },
  21013. "modelname": {
  21014. "description": "型号名称",
  21015. "type": "string"
  21016. },
  21017. "updatetime": {
  21018. "description": "更新时间",
  21019. "type": "string"
  21020. },
  21021. "updatorid": {
  21022. "description": "更新人",
  21023. "type": "integer"
  21024. },
  21025. "updatorsrc": {
  21026. "description": "更新人来源 - 1:管理端 2:终端",
  21027. "type": "integer"
  21028. },
  21029. "wrstandardid": {
  21030. "description": "现货商品ID",
  21031. "type": "integer"
  21032. }
  21033. }
  21034. },
  21035. "models.ErmcpHedgePosition": {
  21036. "type": "object",
  21037. "properties": {
  21038. "accountid": {
  21039. "description": "资金账号[外部母账户]",
  21040. "type": "integer"
  21041. },
  21042. "curbuyposition": {
  21043. "description": "期末买头寸",
  21044. "type": "integer"
  21045. },
  21046. "cursellposition": {
  21047. "description": "期末卖头寸",
  21048. "type": "integer"
  21049. },
  21050. "curtdbuyposition": {
  21051. "description": "期末今日买头寸",
  21052. "type": "integer"
  21053. },
  21054. "curtdsellposition": {
  21055. "description": "期末今日卖头寸",
  21056. "type": "integer"
  21057. },
  21058. "curydbuyposition": {
  21059. "description": "期末上日买头寸",
  21060. "type": "integer"
  21061. },
  21062. "curydsellposition": {
  21063. "description": "期末上日卖头寸",
  21064. "type": "integer"
  21065. },
  21066. "decreaseqty": {
  21067. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  21068. "type": "integer"
  21069. },
  21070. "fretdbuyposition": {
  21071. "description": "冻结今日买头寸",
  21072. "type": "integer"
  21073. },
  21074. "fretdsellposition": {
  21075. "description": "冻结今日卖头寸",
  21076. "type": "integer"
  21077. },
  21078. "freydbuyposition": {
  21079. "description": "冻结上日买头寸",
  21080. "type": "integer"
  21081. },
  21082. "freydsellposition": {
  21083. "description": "冻结上日卖头寸",
  21084. "type": "integer"
  21085. },
  21086. "goodscode": {
  21087. "description": "商品代码",
  21088. "type": "string"
  21089. },
  21090. "goodsid": {
  21091. "description": "商品id",
  21092. "type": "integer"
  21093. },
  21094. "goodsname": {
  21095. "description": "商品名称",
  21096. "type": "string"
  21097. },
  21098. "hedgeaccountcode": {
  21099. "description": "对冲账号",
  21100. "type": "string"
  21101. },
  21102. "hedgegoodsid": {
  21103. "description": "对冲合约ID",
  21104. "type": "integer"
  21105. },
  21106. "increaseqty": {
  21107. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  21108. "type": "integer"
  21109. },
  21110. "marketid": {
  21111. "description": "市场ID",
  21112. "type": "integer"
  21113. },
  21114. "relateduserid": {
  21115. "description": "关联用户id",
  21116. "type": "integer"
  21117. },
  21118. "totalcurqty": {
  21119. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  21120. "type": "integer"
  21121. },
  21122. "totalydqty": {
  21123. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  21124. "type": "integer"
  21125. },
  21126. "tradedate": {
  21127. "description": "交易日(yyyyMMdd)",
  21128. "type": "string"
  21129. },
  21130. "ydbuyposition": {
  21131. "description": "期初买头寸",
  21132. "type": "integer"
  21133. },
  21134. "ydsellposition": {
  21135. "description": "期初卖头寸",
  21136. "type": "integer"
  21137. }
  21138. }
  21139. },
  21140. "models.ErmcpHedgePositionDetail": {
  21141. "type": "object",
  21142. "properties": {
  21143. "buyorsell": {
  21144. "description": "买卖方向 0-买 1-卖",
  21145. "type": "integer"
  21146. },
  21147. "channelbuildtype": {
  21148. "description": "开平方向 1-建仓 2-平仓",
  21149. "type": "integer"
  21150. },
  21151. "goodscode": {
  21152. "description": "商品代码",
  21153. "type": "string"
  21154. },
  21155. "goodsname": {
  21156. "description": "商品名称",
  21157. "type": "string"
  21158. },
  21159. "hedgegoodsid": {
  21160. "description": "商品id",
  21161. "type": "integer"
  21162. },
  21163. "tradeqty": {
  21164. "description": "数量(成交数量)",
  21165. "type": "integer"
  21166. },
  21167. "tradetime": {
  21168. "description": "时间(成交时间)",
  21169. "type": "string"
  21170. }
  21171. }
  21172. },
  21173. "models.ErmcpHisExposure": {
  21174. "type": "object",
  21175. "properties": {
  21176. "needhedgeexposoure": {
  21177. "description": "应套保敞口",
  21178. "type": "number"
  21179. },
  21180. "reckondate": {
  21181. "description": "日照时期(yyyyMMdd)",
  21182. "type": "string"
  21183. },
  21184. "totalexposure": {
  21185. "description": "总敞口",
  21186. "type": "number"
  21187. }
  21188. }
  21189. },
  21190. "models.ErmcpHisExposureS": {
  21191. "type": "object",
  21192. "properties": {
  21193. "data": {
  21194. "description": "历史敞口",
  21195. "type": "array",
  21196. "items": {
  21197. "$ref": "#/definitions/models.ErmcpHisExposure"
  21198. }
  21199. },
  21200. "enumdicname": {
  21201. "description": "单位名称",
  21202. "type": "string"
  21203. },
  21204. "middlegoodscode": {
  21205. "description": "套保品种代码",
  21206. "type": "string"
  21207. },
  21208. "middlegoodsid": {
  21209. "description": "套保品种ID",
  21210. "type": "integer"
  21211. },
  21212. "middlegoodsname": {
  21213. "description": "套保品种名称",
  21214. "type": "string"
  21215. }
  21216. }
  21217. },
  21218. "models.ErmcpLoginTaAccount": {
  21219. "type": "object",
  21220. "properties": {
  21221. "accountid": {
  21222. "description": "账号id",
  21223. "type": "integer"
  21224. },
  21225. "accountname": {
  21226. "description": "账号名称",
  21227. "type": "string"
  21228. }
  21229. }
  21230. },
  21231. "models.ErmcpLoginUser": {
  21232. "type": "object",
  21233. "properties": {
  21234. "acclist": {
  21235. "description": "关联资金账号",
  21236. "type": "array",
  21237. "items": {
  21238. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  21239. }
  21240. },
  21241. "accountname": {
  21242. "description": "用户名称",
  21243. "type": "string"
  21244. },
  21245. "clientroleid": {
  21246. "description": "角色id(usertype=2)",
  21247. "type": "integer"
  21248. },
  21249. "createtime": {
  21250. "description": "创建时间",
  21251. "type": "string"
  21252. },
  21253. "logincode": {
  21254. "description": "登录代码",
  21255. "type": "string"
  21256. },
  21257. "loginid": {
  21258. "description": "登录id(LOGINID)",
  21259. "type": "integer"
  21260. },
  21261. "loginname": {
  21262. "description": "登录名称(loginaccount表中的accountname字段)",
  21263. "type": "string"
  21264. },
  21265. "loginstatus": {
  21266. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  21267. "type": "integer"
  21268. },
  21269. "memberuserid": {
  21270. "description": "所属会员id",
  21271. "type": "integer"
  21272. },
  21273. "mobile": {
  21274. "description": "手机号",
  21275. "type": "string"
  21276. },
  21277. "modifytime": {
  21278. "description": "修改时间",
  21279. "type": "string"
  21280. },
  21281. "password": {
  21282. "description": "密码(不可解密)",
  21283. "type": "string"
  21284. },
  21285. "rolename": {
  21286. "description": "角色名称",
  21287. "type": "string"
  21288. },
  21289. "rolestatus": {
  21290. "description": "角色状态 1-启用 2-停用",
  21291. "type": "integer"
  21292. },
  21293. "roletype": {
  21294. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  21295. "type": "string"
  21296. },
  21297. "userid": {
  21298. "description": "用户id",
  21299. "type": "integer"
  21300. },
  21301. "usertype": {
  21302. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21303. "type": "integer"
  21304. }
  21305. }
  21306. },
  21307. "models.ErmcpLoginUserEx": {
  21308. "type": "object",
  21309. "properties": {
  21310. "accountstatus": {
  21311. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21312. "type": "integer"
  21313. },
  21314. "mobile": {
  21315. "description": "手机号",
  21316. "type": "string"
  21317. },
  21318. "querytype": {
  21319. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  21320. "type": "integer"
  21321. },
  21322. "roleid": {
  21323. "description": "角色id(交易账户-\u003e用户id)",
  21324. "type": "integer"
  21325. },
  21326. "rolename": {
  21327. "description": "角色名称(交易账户-\u003e用户名称)",
  21328. "type": "string"
  21329. },
  21330. "userlist": {
  21331. "description": "用户列表",
  21332. "type": "array",
  21333. "items": {
  21334. "$ref": "#/definitions/models.ErmcpLoginUser"
  21335. }
  21336. },
  21337. "usertype": {
  21338. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21339. "type": "integer"
  21340. }
  21341. }
  21342. },
  21343. "models.ErmcpMiddleGoodsChangeLog": {
  21344. "type": "object",
  21345. "properties": {
  21346. "aftervalue": {
  21347. "description": "变更后",
  21348. "type": "number"
  21349. },
  21350. "applyid": {
  21351. "description": "操作人",
  21352. "type": "integer"
  21353. },
  21354. "applyname": {
  21355. "description": "操作人名称",
  21356. "type": "string"
  21357. },
  21358. "applysrc": {
  21359. "description": "操作来源 - 1:管理端 2:终端",
  21360. "type": "integer"
  21361. },
  21362. "beforevalue": {
  21363. "description": "变更前",
  21364. "type": "number"
  21365. },
  21366. "changelogtype": {
  21367. "description": "变更流水类型 - 1:套保比率变更",
  21368. "type": "integer"
  21369. },
  21370. "handlestatus": {
  21371. "description": "处理状态",
  21372. "type": "integer"
  21373. },
  21374. "logdatetime": {
  21375. "description": "流水日期",
  21376. "type": "string"
  21377. },
  21378. "logid": {
  21379. "description": "流水ID",
  21380. "type": "integer"
  21381. },
  21382. "logremark": {
  21383. "description": "流水备注",
  21384. "type": "string"
  21385. },
  21386. "middlegoodsid": {
  21387. "description": "套保品种ID",
  21388. "type": "integer"
  21389. },
  21390. "tradedate": {
  21391. "description": "交易日(yyyyMMdd)",
  21392. "type": "string"
  21393. },
  21394. "updatetime": {
  21395. "description": "更新时间",
  21396. "type": "string"
  21397. }
  21398. }
  21399. },
  21400. "models.ErmcpMiddleGoodsDetail": {
  21401. "type": "object",
  21402. "properties": {
  21403. "cvList": {
  21404. "description": "期货品种折算列表",
  21405. "type": "array",
  21406. "items": {
  21407. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21408. }
  21409. },
  21410. "mg": {
  21411. "description": "套保品种基本信息",
  21412. "type": "object",
  21413. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21414. },
  21415. "wrcList": {
  21416. "description": "现货品种列表(现货商品折算配置)",
  21417. "type": "array",
  21418. "items": {
  21419. "$ref": "#/definitions/models.WRSConverTDetail"
  21420. }
  21421. }
  21422. }
  21423. },
  21424. "models.ErmcpMiddleGoodsModel": {
  21425. "type": "object",
  21426. "properties": {
  21427. "areauserid": {
  21428. "description": "机构用户ID",
  21429. "type": "integer"
  21430. },
  21431. "createtime": {
  21432. "description": "修改时间",
  21433. "type": "string"
  21434. },
  21435. "enumdicname": {
  21436. "description": "单位名称",
  21437. "type": "string"
  21438. },
  21439. "evaluateratio": {
  21440. "description": "估价系数",
  21441. "type": "number"
  21442. },
  21443. "goodsgroupid": {
  21444. "description": "关联期货品种ID",
  21445. "type": "integer"
  21446. },
  21447. "goodsunitid": {
  21448. "description": "单位ID",
  21449. "type": "integer"
  21450. },
  21451. "isvalid": {
  21452. "description": "状态 0-无效(停用) 1-有效(正常)",
  21453. "type": "integer"
  21454. },
  21455. "middlegoodscode": {
  21456. "description": "套保品种代码",
  21457. "type": "string"
  21458. },
  21459. "middlegoodsid": {
  21460. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21461. "type": "integer"
  21462. },
  21463. "middlegoodsname": {
  21464. "description": "套保品种名称",
  21465. "type": "string"
  21466. },
  21467. "modifytime": {
  21468. "description": "修改时间",
  21469. "type": "string"
  21470. },
  21471. "needarbitrageratio": {
  21472. "description": "套利比例",
  21473. "type": "number"
  21474. },
  21475. "needhedgeratio": {
  21476. "description": "套保比率",
  21477. "type": "number"
  21478. },
  21479. "qtydecimalplace": {
  21480. "description": "数量小数位",
  21481. "type": "integer"
  21482. },
  21483. "relatedgoodsid": {
  21484. "description": "关联交易商品ID",
  21485. "type": "integer"
  21486. },
  21487. "relatedgoodstype": {
  21488. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21489. "type": "integer"
  21490. },
  21491. "remark": {
  21492. "description": "备注",
  21493. "type": "string"
  21494. }
  21495. }
  21496. },
  21497. "models.ErmcpMiddlegoodsRelateGoods": {
  21498. "type": "object",
  21499. "properties": {
  21500. "agreeunit": {
  21501. "description": "合约乘数",
  21502. "type": "number"
  21503. },
  21504. "convertratio": {
  21505. "description": "折算系数",
  21506. "type": "number"
  21507. },
  21508. "enumdicname": {
  21509. "description": "单位名称(交易商品)",
  21510. "type": "string"
  21511. },
  21512. "goodscode": {
  21513. "description": "交易商品代码",
  21514. "type": "string"
  21515. },
  21516. "goodsgroupid": {
  21517. "description": "交易品种id",
  21518. "type": "integer"
  21519. },
  21520. "goodsid": {
  21521. "description": "商品Id",
  21522. "type": "integer"
  21523. },
  21524. "goodsname": {
  21525. "description": "交易商品名称",
  21526. "type": "string"
  21527. },
  21528. "goodunitid": {
  21529. "description": "交易商品单位id",
  21530. "type": "integer"
  21531. },
  21532. "middlegoodsid": {
  21533. "description": "套保商品id",
  21534. "type": "integer"
  21535. },
  21536. "middlegoodsname": {
  21537. "description": "套保商品名称",
  21538. "type": "string"
  21539. },
  21540. "middlegoodsswcode": {
  21541. "description": "套保商品代码",
  21542. "type": "string"
  21543. },
  21544. "needarbitrageratio": {
  21545. "description": "应套利比例",
  21546. "type": "number"
  21547. },
  21548. "needhedgeratio": {
  21549. "description": "应套保比例",
  21550. "type": "number"
  21551. }
  21552. }
  21553. },
  21554. "models.ErmcpOPLogModel": {
  21555. "type": "object",
  21556. "properties": {
  21557. "aftervalue": {
  21558. "description": "变更后",
  21559. "type": "number"
  21560. },
  21561. "applyid": {
  21562. "description": "操作人ID",
  21563. "type": "string"
  21564. },
  21565. "applyname": {
  21566. "description": "操作人名称",
  21567. "type": "string"
  21568. },
  21569. "beforevalue": {
  21570. "description": "变更前",
  21571. "type": "number"
  21572. },
  21573. "biztype": {
  21574. "description": "业务类型 - 1:套保计划 2:现货合同",
  21575. "type": "integer"
  21576. },
  21577. "contracttype": {
  21578. "description": "现货合同类型 - 1:采购 -1:销售",
  21579. "type": "integer"
  21580. },
  21581. "logvalue": {
  21582. "description": "数值",
  21583. "type": "number"
  21584. },
  21585. "operatelogtype": {
  21586. "description": "操作流水类型",
  21587. "type": "integer"
  21588. },
  21589. "operatelogtypedesc": {
  21590. "description": "操作流水类型名称",
  21591. "type": "string"
  21592. },
  21593. "relatedid": {
  21594. "description": "现货合同ID\\套保计划",
  21595. "type": "string"
  21596. },
  21597. "updatetime": {
  21598. "description": "更新时间",
  21599. "type": "string"
  21600. }
  21601. }
  21602. },
  21603. "models.ErmcpPendingAudit": {
  21604. "type": "object",
  21605. "properties": {
  21606. "areastockqty": {
  21607. "description": "待审核数量: 库存申请",
  21608. "type": "integer"
  21609. },
  21610. "businessdjqty": {
  21611. "description": "待审核数量: 点价",
  21612. "type": "integer"
  21613. },
  21614. "businessfpqty": {
  21615. "description": "待审核数量: 发票",
  21616. "type": "integer"
  21617. },
  21618. "businessjsqty": {
  21619. "description": "待审核数量: 结算",
  21620. "type": "integer"
  21621. },
  21622. "businesskxqty": {
  21623. "description": "待审核数量: 款项",
  21624. "type": "integer"
  21625. },
  21626. "hedgeplanqty": {
  21627. "description": "待审核数量: 套保计划",
  21628. "type": "integer"
  21629. },
  21630. "spotcontractqty": {
  21631. "description": "待审核数量: 现货合同",
  21632. "type": "integer"
  21633. },
  21634. "userqty": {
  21635. "description": "待审核数量: 用户",
  21636. "type": "integer"
  21637. }
  21638. }
  21639. },
  21640. "models.ErmcpRealExposureModel": {
  21641. "type": "object",
  21642. "properties": {
  21643. "AreaUserID": {
  21644. "description": "所属机构",
  21645. "type": "integer"
  21646. },
  21647. "BuyFutureQty": {
  21648. "description": "买入期货数量",
  21649. "type": "number"
  21650. },
  21651. "BuyPlanQty": {
  21652. "description": "采购计划数量",
  21653. "type": "number"
  21654. },
  21655. "BuyPricedQty": {
  21656. "description": "采购合同已定价数量",
  21657. "type": "number"
  21658. },
  21659. "MiddleGoodsCode": {
  21660. "description": "套保品种代码",
  21661. "type": "string"
  21662. },
  21663. "MiddleGoodsHedgeRatio": {
  21664. "description": "套保比例",
  21665. "type": "number"
  21666. },
  21667. "MiddleGoodsID": {
  21668. "description": "套保品种",
  21669. "type": "integer"
  21670. },
  21671. "MiddleGoodsName": {
  21672. "description": "套保品种名称",
  21673. "type": "string"
  21674. },
  21675. "NeedHedgeExposoure": {
  21676. "description": "应套保敞口(套保敞口)",
  21677. "type": "number"
  21678. },
  21679. "NeedHedgeRatio": {
  21680. "description": "应套保敞口比例",
  21681. "type": "number"
  21682. },
  21683. "OriBuyFutureQty": {
  21684. "description": "期初买入期货数量",
  21685. "type": "number"
  21686. },
  21687. "OriBuyPlanQty": {
  21688. "description": "期初采购计划数量",
  21689. "type": "number"
  21690. },
  21691. "OriBuyPricedQty": {
  21692. "description": "期初采购合同已定价数量",
  21693. "type": "number"
  21694. },
  21695. "OriSellFutureQty": {
  21696. "description": "期初卖出期货数量",
  21697. "type": "number"
  21698. },
  21699. "OriSellPlanQty": {
  21700. "description": "期初销售计划数量",
  21701. "type": "number"
  21702. },
  21703. "OriSellPricedQty": {
  21704. "description": "期初销售合同已定价数量",
  21705. "type": "number"
  21706. },
  21707. "SellFutureQty": {
  21708. "description": "卖出期货数量",
  21709. "type": "number"
  21710. },
  21711. "SellPlanQty": {
  21712. "description": "销售计划数量",
  21713. "type": "number"
  21714. },
  21715. "SellPricedQty": {
  21716. "description": "销售合同已定价数量",
  21717. "type": "number"
  21718. },
  21719. "TotalExposure": {
  21720. "description": "总敞口",
  21721. "type": "number"
  21722. },
  21723. "TotalFutureQty": {
  21724. "description": "期货总量",
  21725. "type": "number"
  21726. },
  21727. "TotalHedgeRatio": {
  21728. "description": "敞口比例",
  21729. "type": "number"
  21730. },
  21731. "TotalNeedHedgeQty": {
  21732. "description": "应套保总量(现货应套保总量)",
  21733. "type": "number"
  21734. },
  21735. "TotalSpotQty": {
  21736. "description": "现货总量",
  21737. "type": "number"
  21738. },
  21739. "arbitrageqty": {
  21740. "description": "套利量",
  21741. "type": "number"
  21742. },
  21743. "diffArbitrageQty": {
  21744. "description": "套利变动量",
  21745. "type": "number"
  21746. },
  21747. "diffExposoureQty": {
  21748. "description": "变动量(套保敞口)",
  21749. "type": "number"
  21750. },
  21751. "diffFutuQty": {
  21752. "description": "变动量(期货总量)",
  21753. "type": "number"
  21754. },
  21755. "diffHedgeQty": {
  21756. "description": "套保变动量",
  21757. "type": "number"
  21758. },
  21759. "diffQty": {
  21760. "description": "变动量(总敞口)",
  21761. "type": "number"
  21762. },
  21763. "diffSpotHedgeQty": {
  21764. "description": "变动量(现货应套保总量)",
  21765. "type": "number"
  21766. },
  21767. "diffSpotQty": {
  21768. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  21769. "type": "number"
  21770. },
  21771. "enumdicname": {
  21772. "description": "单位名称",
  21773. "type": "string"
  21774. },
  21775. "hedgeqty": {
  21776. "description": "套保量",
  21777. "type": "number"
  21778. },
  21779. "needarbitrageqty": {
  21780. "description": "应套利量",
  21781. "type": "number"
  21782. },
  21783. "needarbitrageratio": {
  21784. "description": "套利比例",
  21785. "type": "number"
  21786. },
  21787. "needhedgeqty": {
  21788. "description": "应套保量",
  21789. "type": "number"
  21790. },
  21791. "oriTotalFutuQty": {
  21792. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  21793. "type": "number"
  21794. },
  21795. "oriTotalSpotQty": {
  21796. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  21797. "type": "number"
  21798. },
  21799. "oriarbitrageqty": {
  21800. "description": "期初套利量",
  21801. "type": "number"
  21802. },
  21803. "orihedgeqty": {
  21804. "description": "期初套保量",
  21805. "type": "number"
  21806. },
  21807. "orineedhedgeexposoure": {
  21808. "description": "期初套保敞口",
  21809. "type": "number"
  21810. },
  21811. "oritotalexposure": {
  21812. "description": "期初总敞口",
  21813. "type": "number"
  21814. },
  21815. "oritotalfutureqty": {
  21816. "description": "期初期货总量",
  21817. "type": "number"
  21818. },
  21819. "oritotalneedhedgeqty": {
  21820. "description": "期初现货应套保量",
  21821. "type": "number"
  21822. }
  21823. }
  21824. },
  21825. "models.ErmcpRole": {
  21826. "type": "object",
  21827. "properties": {
  21828. "areauserid": {
  21829. "description": "所属机构",
  21830. "type": "integer"
  21831. },
  21832. "autoid": {
  21833. "description": "角色ID(自增ID)",
  21834. "type": "integer"
  21835. },
  21836. "modifierid": {
  21837. "description": "修改人(创建人)",
  21838. "type": "integer"
  21839. },
  21840. "modifiername": {
  21841. "description": "修改人名称",
  21842. "type": "string"
  21843. },
  21844. "modifytime": {
  21845. "description": "修改时间(创建时间)",
  21846. "type": "string"
  21847. },
  21848. "rolename": {
  21849. "description": "角色名称",
  21850. "type": "string"
  21851. },
  21852. "rolestatus": {
  21853. "description": "角色状态 - 1:启用 2:停用",
  21854. "type": "integer"
  21855. },
  21856. "roletype": {
  21857. "description": "角色类型 - 1- 管理端 2- 交易端",
  21858. "type": "integer"
  21859. }
  21860. }
  21861. },
  21862. "models.ErmcpRoleMenu": {
  21863. "type": "object",
  21864. "properties": {
  21865. "iconame": {
  21866. "description": "菜单图标",
  21867. "type": "string"
  21868. },
  21869. "ishadrole": {
  21870. "description": "是否有权限",
  21871. "type": "boolean"
  21872. },
  21873. "menutype": {
  21874. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  21875. "type": "integer"
  21876. },
  21877. "parentcode": {
  21878. "description": "上级资源代码",
  21879. "type": "string"
  21880. },
  21881. "remark": {
  21882. "description": "菜单备注",
  21883. "type": "string"
  21884. },
  21885. "resourcecode": {
  21886. "description": "菜单代码",
  21887. "type": "string"
  21888. },
  21889. "resourcelevel": {
  21890. "description": "级别",
  21891. "type": "integer"
  21892. },
  21893. "resourcename": {
  21894. "description": "菜单名称",
  21895. "type": "string"
  21896. },
  21897. "roleid": {
  21898. "description": "角色id",
  21899. "type": "integer"
  21900. },
  21901. "sort": {
  21902. "description": "排序",
  21903. "type": "integer"
  21904. },
  21905. "url": {
  21906. "description": "URL",
  21907. "type": "string"
  21908. },
  21909. "userid": {
  21910. "description": "用户id",
  21911. "type": "integer"
  21912. }
  21913. }
  21914. },
  21915. "models.ErmcpRoleMenuEx": {
  21916. "type": "object",
  21917. "properties": {
  21918. "menu": {
  21919. "description": "父级菜单",
  21920. "type": "object",
  21921. "$ref": "#/definitions/models.ErmcpRoleMenu"
  21922. },
  21923. "subMenu": {
  21924. "description": "子级菜单",
  21925. "type": "array",
  21926. "items": {
  21927. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  21928. }
  21929. }
  21930. }
  21931. },
  21932. "models.ErmcpTaAccount": {
  21933. "type": "object",
  21934. "properties": {
  21935. "accountid": {
  21936. "description": "账户id",
  21937. "type": "integer"
  21938. },
  21939. "accountname": {
  21940. "description": "账户名称",
  21941. "type": "string"
  21942. },
  21943. "currencyid": {
  21944. "description": "币种id",
  21945. "type": "integer"
  21946. },
  21947. "hedgeaccountcode": {
  21948. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21949. "type": "string"
  21950. },
  21951. "ismain": {
  21952. "description": "是否主账户 0-否 1-是",
  21953. "type": "integer"
  21954. },
  21955. "parentaccountid": {
  21956. "description": "父账户id",
  21957. "type": "integer"
  21958. },
  21959. "relateduserid": {
  21960. "description": "关联userid",
  21961. "type": "integer"
  21962. },
  21963. "tradefeetmpid": {
  21964. "description": "手续费模板id",
  21965. "type": "integer"
  21966. },
  21967. "tradefeetmpname": {
  21968. "description": "手续费模板名称",
  21969. "type": "string"
  21970. },
  21971. "trademargintmpid": {
  21972. "description": "保证金模板id",
  21973. "type": "integer"
  21974. },
  21975. "trademargintmpname": {
  21976. "description": "保证金模板名称",
  21977. "type": "string"
  21978. },
  21979. "traderatetmpid": {
  21980. "description": "汇率模板id",
  21981. "type": "integer"
  21982. },
  21983. "traderatetmpname": {
  21984. "description": "汇率模板名称",
  21985. "type": "string"
  21986. },
  21987. "tradestatus": {
  21988. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21989. "type": "integer"
  21990. },
  21991. "userid": {
  21992. "description": "用户id",
  21993. "type": "integer"
  21994. }
  21995. }
  21996. },
  21997. "models.ErmcpTaAccountEx": {
  21998. "type": "object",
  21999. "properties": {
  22000. "mainAcc": {
  22001. "description": "主账号",
  22002. "type": "object",
  22003. "$ref": "#/definitions/models.ErmcpTaAccountM"
  22004. },
  22005. "subacclist": {
  22006. "description": "子账号列表",
  22007. "type": "array",
  22008. "items": {
  22009. "$ref": "#/definitions/models.ErmcpTaAccount"
  22010. }
  22011. }
  22012. }
  22013. },
  22014. "models.ErmcpTaAccountInfo": {
  22015. "type": "object",
  22016. "properties": {
  22017. "accountid": {
  22018. "description": "资金账户ID",
  22019. "type": "integer"
  22020. },
  22021. "accountname": {
  22022. "description": "账户名称",
  22023. "type": "string"
  22024. },
  22025. "balance": {
  22026. "description": "期初余额",
  22027. "type": "number"
  22028. },
  22029. "capitalbalance": {
  22030. "description": "本金余额[外部子账户实际出入金余额]",
  22031. "type": "number"
  22032. },
  22033. "closepl": {
  22034. "description": "今日平仓盈亏",
  22035. "type": "number"
  22036. },
  22037. "creditdecrease": {
  22038. "description": "今日授信减少",
  22039. "type": "number"
  22040. },
  22041. "creditincrease": {
  22042. "description": "今日授信增加",
  22043. "type": "number"
  22044. },
  22045. "curdebt": {
  22046. "description": "期末欠款",
  22047. "type": "number"
  22048. },
  22049. "currencyid": {
  22050. "description": "货币ID",
  22051. "type": "integer"
  22052. },
  22053. "currentbalance": {
  22054. "description": "期末余额",
  22055. "type": "number"
  22056. },
  22057. "freezecharge": {
  22058. "description": "手续费冻结",
  22059. "type": "number"
  22060. },
  22061. "freezemargin": {
  22062. "description": "冻结保证金",
  22063. "type": "number"
  22064. },
  22065. "fromaccountid": {
  22066. "description": "所属上级账户",
  22067. "type": "integer"
  22068. },
  22069. "inamount": {
  22070. "description": "今日入金金额(包括三方入金)",
  22071. "type": "number"
  22072. },
  22073. "ismain": {
  22074. "description": "是否母账号 0:不是母账户 1:是母账户",
  22075. "type": "integer"
  22076. },
  22077. "mortgagecredit": {
  22078. "description": "授信金额",
  22079. "type": "number"
  22080. },
  22081. "oridebt": {
  22082. "description": "期初欠款",
  22083. "type": "number"
  22084. },
  22085. "orifreezecharge": {
  22086. "description": "期初手续费冻结",
  22087. "type": "number"
  22088. },
  22089. "orifreezemargin": {
  22090. "description": "期初冻结保证金",
  22091. "type": "number"
  22092. },
  22093. "orimortgagecredit": {
  22094. "description": "期初授信金额",
  22095. "type": "number"
  22096. },
  22097. "oriothercredit": {
  22098. "description": "期初其它授信金额",
  22099. "type": "number"
  22100. },
  22101. "oriotherfreezemargin": {
  22102. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22103. "type": "number"
  22104. },
  22105. "orioutamountfreeze": {
  22106. "description": "期初出金冻结",
  22107. "type": "number"
  22108. },
  22109. "oriusedmargin": {
  22110. "description": "期初占用保证金",
  22111. "type": "number"
  22112. },
  22113. "othercredit": {
  22114. "description": "其它授信金额",
  22115. "type": "number"
  22116. },
  22117. "othercreditdecrease": {
  22118. "description": "今日其它授信减少",
  22119. "type": "number"
  22120. },
  22121. "othercreditincrease": {
  22122. "description": "今日其它授信增加",
  22123. "type": "number"
  22124. },
  22125. "otherfreezemargin": {
  22126. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22127. "type": "number"
  22128. },
  22129. "outamount": {
  22130. "description": "今日出金金额(包括三方出金)",
  22131. "type": "number"
  22132. },
  22133. "outamountfreeze": {
  22134. "description": "出金冻结",
  22135. "type": "number"
  22136. },
  22137. "outthreshold": {
  22138. "description": "出金阈值",
  22139. "type": "number"
  22140. },
  22141. "parentaccountid": {
  22142. "description": "所属根账号",
  22143. "type": "integer"
  22144. },
  22145. "paycharge": {
  22146. "description": "今日手续费支出",
  22147. "type": "number"
  22148. },
  22149. "relateduserid": {
  22150. "description": "关联用户",
  22151. "type": "integer"
  22152. },
  22153. "signstatus": {
  22154. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22155. "type": "integer"
  22156. },
  22157. "sublevelpath": {
  22158. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22159. "type": "string"
  22160. },
  22161. "taaccounttype": {
  22162. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22163. "type": "integer"
  22164. },
  22165. "thirdinamount": {
  22166. "description": "今日三方入金",
  22167. "type": "number"
  22168. },
  22169. "thirdoutamount": {
  22170. "description": "今日三方出金",
  22171. "type": "number"
  22172. },
  22173. "tradestatus": {
  22174. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22175. "type": "integer"
  22176. },
  22177. "transferamount": {
  22178. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22179. "type": "number"
  22180. },
  22181. "usedmargin": {
  22182. "description": "占用保证金",
  22183. "type": "number"
  22184. },
  22185. "userid": {
  22186. "description": "用户ID",
  22187. "type": "integer"
  22188. }
  22189. }
  22190. },
  22191. "models.ErmcpTaAccountM": {
  22192. "type": "object",
  22193. "properties": {
  22194. "accountid": {
  22195. "description": "账户id",
  22196. "type": "integer"
  22197. },
  22198. "accountname": {
  22199. "description": "账户名称",
  22200. "type": "string"
  22201. },
  22202. "currencyid": {
  22203. "description": "币种id",
  22204. "type": "integer"
  22205. },
  22206. "fcid": {
  22207. "description": "期货公司id",
  22208. "type": "integer"
  22209. },
  22210. "fcname": {
  22211. "description": "期货公司代码",
  22212. "type": "string"
  22213. },
  22214. "hedgeaccountcode": {
  22215. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22216. "type": "string"
  22217. },
  22218. "ismain": {
  22219. "description": "是否主账户 0-否 1-是",
  22220. "type": "integer"
  22221. },
  22222. "parentaccountid": {
  22223. "description": "父账户id",
  22224. "type": "integer"
  22225. },
  22226. "relateduserid": {
  22227. "description": "关联userid",
  22228. "type": "integer"
  22229. },
  22230. "tradefeetmpid": {
  22231. "description": "手续费模板id",
  22232. "type": "integer"
  22233. },
  22234. "tradefeetmpname": {
  22235. "description": "手续费模板名称",
  22236. "type": "string"
  22237. },
  22238. "trademargintmpid": {
  22239. "description": "保证金模板id",
  22240. "type": "integer"
  22241. },
  22242. "trademargintmpname": {
  22243. "description": "保证金模板名称",
  22244. "type": "string"
  22245. },
  22246. "traderatetmpid": {
  22247. "description": "汇率模板id",
  22248. "type": "integer"
  22249. },
  22250. "traderatetmpname": {
  22251. "description": "汇率模板名称",
  22252. "type": "string"
  22253. },
  22254. "tradestatus": {
  22255. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22256. "type": "integer"
  22257. },
  22258. "userid": {
  22259. "description": "用户id",
  22260. "type": "integer"
  22261. }
  22262. }
  22263. },
  22264. "models.ErmcpTradeConfigTMP": {
  22265. "type": "object",
  22266. "properties": {
  22267. "areauserid": {
  22268. "description": "所属机构",
  22269. "type": "integer"
  22270. },
  22271. "basiccurrencyid": {
  22272. "description": "基本币种ID[汇率] - 目标币种",
  22273. "type": "integer"
  22274. },
  22275. "mainaccountid": {
  22276. "description": "主账户ID",
  22277. "type": "integer"
  22278. },
  22279. "modifierid": {
  22280. "description": "修改人",
  22281. "type": "integer"
  22282. },
  22283. "remark": {
  22284. "description": "备注",
  22285. "type": "string"
  22286. },
  22287. "tradeconfigtmpid": {
  22288. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  22289. "type": "integer"
  22290. },
  22291. "tradeconfigtmpname": {
  22292. "description": "交易配置模板名称",
  22293. "type": "string"
  22294. },
  22295. "tradeconfigtmptype": {
  22296. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  22297. "type": "integer"
  22298. },
  22299. "updatetime": {
  22300. "description": "更新时间",
  22301. "type": "string"
  22302. }
  22303. }
  22304. },
  22305. "models.ErmcpUserModel": {
  22306. "type": "object",
  22307. "properties": {
  22308. "address": {
  22309. "description": "通讯地址",
  22310. "type": "string"
  22311. },
  22312. "attachment1": {
  22313. "description": "附件1",
  22314. "type": "string"
  22315. },
  22316. "audittime": {
  22317. "description": "审核时间",
  22318. "type": "string"
  22319. },
  22320. "cardbackphotourl": {
  22321. "description": "证件反面图片地址",
  22322. "type": "string"
  22323. },
  22324. "cardfrontphotourl": {
  22325. "description": "证件正面图片地址",
  22326. "type": "string"
  22327. },
  22328. "cardnum": {
  22329. "description": "证件号码",
  22330. "type": "string"
  22331. },
  22332. "cardtype": {
  22333. "description": "证件类型",
  22334. "type": "integer"
  22335. },
  22336. "cardtypename": {
  22337. "description": "证件类型名称",
  22338. "type": "string"
  22339. },
  22340. "cityid": {
  22341. "description": "市",
  22342. "type": "integer"
  22343. },
  22344. "contactname": {
  22345. "description": "联系人",
  22346. "type": "string"
  22347. },
  22348. "countryid": {
  22349. "description": "国家",
  22350. "type": "integer"
  22351. },
  22352. "createtime": {
  22353. "description": "创建时间",
  22354. "type": "string"
  22355. },
  22356. "customername": {
  22357. "description": "企业名称",
  22358. "type": "string"
  22359. },
  22360. "districtid": {
  22361. "description": "区域",
  22362. "type": "integer"
  22363. },
  22364. "email": {
  22365. "description": "邮件",
  22366. "type": "string"
  22367. },
  22368. "legalpersonname": {
  22369. "description": "法人姓名(企业)",
  22370. "type": "string"
  22371. },
  22372. "memberuserid": {
  22373. "description": "所属机构ID",
  22374. "type": "integer"
  22375. },
  22376. "mobile": {
  22377. "description": "手机号码",
  22378. "type": "string"
  22379. },
  22380. "modifytime": {
  22381. "description": "修改时间",
  22382. "type": "string"
  22383. },
  22384. "nickname": {
  22385. "description": "昵称",
  22386. "type": "string"
  22387. },
  22388. "provinceid": {
  22389. "description": "省",
  22390. "type": "integer"
  22391. },
  22392. "remark": {
  22393. "description": "备注",
  22394. "type": "string"
  22395. },
  22396. "status": {
  22397. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22398. "type": "integer"
  22399. },
  22400. "statusdesc": {
  22401. "description": "账户状态中文描述",
  22402. "type": "string"
  22403. },
  22404. "taxpayernum": {
  22405. "description": "纳税人识别号",
  22406. "type": "string"
  22407. },
  22408. "telphone": {
  22409. "description": "联系电话",
  22410. "type": "string"
  22411. },
  22412. "userid": {
  22413. "description": "用户ID",
  22414. "type": "integer"
  22415. },
  22416. "userinfotype": {
  22417. "description": "客户类型",
  22418. "type": "string"
  22419. }
  22420. }
  22421. },
  22422. "models.ErmcpWareHouseInfo": {
  22423. "type": "object",
  22424. "properties": {
  22425. "address": {
  22426. "description": "详细地址",
  22427. "type": "string"
  22428. },
  22429. "areauserid": {
  22430. "description": "所属机构",
  22431. "type": "integer"
  22432. },
  22433. "autoid": {
  22434. "description": "自增ID(仓库ID)",
  22435. "type": "integer"
  22436. },
  22437. "cityid": {
  22438. "description": "市",
  22439. "type": "integer"
  22440. },
  22441. "contactname": {
  22442. "description": "联系人",
  22443. "type": "string"
  22444. },
  22445. "contactnum": {
  22446. "description": "联系电话",
  22447. "type": "string"
  22448. },
  22449. "countryid": {
  22450. "description": "国家",
  22451. "type": "integer"
  22452. },
  22453. "createtime": {
  22454. "description": "创建时间",
  22455. "type": "string"
  22456. },
  22457. "districtid": {
  22458. "description": "区",
  22459. "type": "integer"
  22460. },
  22461. "hasvideo": {
  22462. "description": "是否有视频 - 0:无 1:有",
  22463. "type": "integer"
  22464. },
  22465. "provinceid": {
  22466. "description": "省",
  22467. "type": "integer"
  22468. },
  22469. "remark": {
  22470. "description": "审核备注",
  22471. "type": "string"
  22472. },
  22473. "videourl": {
  22474. "description": "视频地址",
  22475. "type": "string"
  22476. },
  22477. "warehousecode": {
  22478. "description": "仓库代码",
  22479. "type": "string"
  22480. },
  22481. "warehousename": {
  22482. "description": "仓库名称",
  22483. "type": "string"
  22484. },
  22485. "warehousestatus": {
  22486. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22487. "type": "integer"
  22488. },
  22489. "warehousetype": {
  22490. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22491. "type": "integer"
  22492. }
  22493. }
  22494. },
  22495. "models.Externalexchange": {
  22496. "type": "object",
  22497. "required": [
  22498. "autoid"
  22499. ],
  22500. "properties": {
  22501. "autoid": {
  22502. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22503. "type": "integer"
  22504. },
  22505. "exchangefullname": {
  22506. "description": "外部交易所全称",
  22507. "type": "string"
  22508. },
  22509. "exexchangecode": {
  22510. "description": "外部交易所代码",
  22511. "type": "string"
  22512. },
  22513. "exexchangename": {
  22514. "description": "外部交易所名称(简称)",
  22515. "type": "string"
  22516. },
  22517. "ismarketprice": {
  22518. "description": "是否支持市价 - 0:不支持 1:支持",
  22519. "type": "integer"
  22520. },
  22521. "quotegear": {
  22522. "description": "行情档位(1-10)",
  22523. "type": "integer"
  22524. },
  22525. "showbrokerflag": {
  22526. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22527. "type": "integer"
  22528. },
  22529. "updatetime": {
  22530. "description": "更新时间",
  22531. "type": "string"
  22532. }
  22533. }
  22534. },
  22535. "models.Funcmenulist": {
  22536. "type": "object",
  22537. "required": [
  22538. "resourcecode"
  22539. ],
  22540. "properties": {
  22541. "iconame": {
  22542. "description": "菜单图标",
  22543. "type": "string"
  22544. },
  22545. "menutype": {
  22546. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22547. "type": "integer"
  22548. },
  22549. "parentcode": {
  22550. "description": "上级资源代码",
  22551. "type": "string"
  22552. },
  22553. "remark": {
  22554. "description": "备注",
  22555. "type": "string"
  22556. },
  22557. "resourcecode": {
  22558. "description": "资源代码",
  22559. "type": "string"
  22560. },
  22561. "resourcelevel": {
  22562. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22563. "type": "integer"
  22564. },
  22565. "resourcename": {
  22566. "description": "资源名",
  22567. "type": "string"
  22568. },
  22569. "sort": {
  22570. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  22571. "type": "integer"
  22572. },
  22573. "url": {
  22574. "description": "URL",
  22575. "type": "string"
  22576. }
  22577. }
  22578. },
  22579. "models.Goods": {
  22580. "type": "object",
  22581. "required": [
  22582. "goodscode",
  22583. "goodsid",
  22584. "goodsname",
  22585. "marketid"
  22586. ],
  22587. "properties": {
  22588. "agreeunit": {
  22589. "description": "合约单位",
  22590. "type": "number"
  22591. },
  22592. "areauserid": {
  22593. "description": "所属机构",
  22594. "type": "integer"
  22595. },
  22596. "auditaccountid": {
  22597. "description": "审核操作员账号",
  22598. "type": "integer"
  22599. },
  22600. "audittime": {
  22601. "description": "审核时间",
  22602. "type": "string"
  22603. },
  22604. "cancelaccountid": {
  22605. "description": "注销操作员账号",
  22606. "type": "integer"
  22607. },
  22608. "canceltime": {
  22609. "description": "注销时间",
  22610. "type": "string"
  22611. },
  22612. "closepricemode": {
  22613. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22614. "type": "integer"
  22615. },
  22616. "closepriceparam": {
  22617. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  22618. "type": "number"
  22619. },
  22620. "createtime": {
  22621. "description": "创建时间",
  22622. "type": "string"
  22623. },
  22624. "creatorid": {
  22625. "description": "创建人",
  22626. "type": "integer"
  22627. },
  22628. "currencyid": {
  22629. "description": "报价货币ID",
  22630. "type": "integer"
  22631. },
  22632. "cutmode": {
  22633. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22634. "type": "integer"
  22635. },
  22636. "decimalplace": {
  22637. "description": "报价小数位",
  22638. "type": "integer"
  22639. },
  22640. "delistingdate": {
  22641. "description": "商品退市时间(状态:退市) -- 已作废",
  22642. "type": "string"
  22643. },
  22644. "delistingmode": {
  22645. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22646. "type": "integer"
  22647. },
  22648. "deliveryflag": {
  22649. "description": "交割标志 - 0:不可交割 1:可交割",
  22650. "type": "integer"
  22651. },
  22652. "forceclosemode": {
  22653. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22654. "type": "integer"
  22655. },
  22656. "forceclosevalue": {
  22657. "description": "定期强平参数 [收益权]",
  22658. "type": "integer"
  22659. },
  22660. "goodscode": {
  22661. "description": "商品代码(内部)",
  22662. "type": "string"
  22663. },
  22664. "goodscurrencyid": {
  22665. "description": "合约货币ID",
  22666. "type": "integer"
  22667. },
  22668. "goodsgroupid": {
  22669. "description": "所属商品组ID",
  22670. "type": "integer"
  22671. },
  22672. "goodsid": {
  22673. "description": "商品ID(自增ID SEQ_GOODS)",
  22674. "type": "integer"
  22675. },
  22676. "goodsname": {
  22677. "description": "商品名称",
  22678. "type": "string"
  22679. },
  22680. "goodsquotetype": {
  22681. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22682. "type": "integer"
  22683. },
  22684. "goodsstatus": {
  22685. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22686. "type": "integer"
  22687. },
  22688. "goodstradetype": {
  22689. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22690. "type": "integer"
  22691. },
  22692. "goodunitid": {
  22693. "description": "报价单位ID",
  22694. "type": "integer"
  22695. },
  22696. "hasquoter": {
  22697. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  22698. "type": "integer"
  22699. },
  22700. "hqprotecttime": {
  22701. "description": "行情保护时间(秒)",
  22702. "type": "integer"
  22703. },
  22704. "innerdealmode": {
  22705. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22706. "type": "integer"
  22707. },
  22708. "isbuylimited": {
  22709. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22710. "type": "integer"
  22711. },
  22712. "isvisible": {
  22713. "description": "游客是否可见 - 0:不可见 1:可见",
  22714. "type": "integer"
  22715. },
  22716. "lasttradedate": {
  22717. "description": "最后交易日期(状态:待退市)",
  22718. "type": "string"
  22719. },
  22720. "listingdate": {
  22721. "description": "交易开始日期",
  22722. "type": "string"
  22723. },
  22724. "marketid": {
  22725. "description": "所属市场ID",
  22726. "type": "integer"
  22727. },
  22728. "modifierid": {
  22729. "description": "修改人",
  22730. "type": "integer"
  22731. },
  22732. "modifystatus": {
  22733. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  22734. "type": "integer"
  22735. },
  22736. "modifytime": {
  22737. "description": "修改时间",
  22738. "type": "string"
  22739. },
  22740. "outerdealmode": {
  22741. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22742. "type": "integer"
  22743. },
  22744. "outgoodscode": {
  22745. "description": "商品代码(外部)",
  22746. "type": "string"
  22747. },
  22748. "pictureurl": {
  22749. "description": "商品图片",
  22750. "type": "string"
  22751. },
  22752. "qtydecimalplace": {
  22753. "description": "成交量小数位",
  22754. "type": "integer"
  22755. },
  22756. "quotegear": {
  22757. "description": "行情档位(1-10)",
  22758. "type": "integer"
  22759. },
  22760. "quoteminunit": {
  22761. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22762. "type": "integer"
  22763. },
  22764. "quoteshowtype": {
  22765. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  22766. "type": "integer"
  22767. },
  22768. "quoteshowtypeinterval": {
  22769. "description": "行情报价间隔时间(秒)(成交价时为0)",
  22770. "type": "integer"
  22771. },
  22772. "remark": {
  22773. "description": "备注",
  22774. "type": "string"
  22775. }
  22776. }
  22777. },
  22778. "models.GoodsIDAndName": {
  22779. "type": "object",
  22780. "required": [
  22781. "goodscode",
  22782. "goodsid",
  22783. "goodsname",
  22784. "marketid"
  22785. ],
  22786. "properties": {
  22787. "goodscode": {
  22788. "description": "商品代码(内部)",
  22789. "type": "string"
  22790. },
  22791. "goodsid": {
  22792. "description": "商品ID(自增ID SEQ_GOODS)",
  22793. "type": "integer"
  22794. },
  22795. "goodsname": {
  22796. "description": "商品名称",
  22797. "type": "string"
  22798. },
  22799. "marketid": {
  22800. "description": "所属市场ID",
  22801. "type": "integer"
  22802. }
  22803. }
  22804. },
  22805. "models.Goodsgroup": {
  22806. "type": "object",
  22807. "required": [
  22808. "goodsgroupid",
  22809. "goodsgroupname",
  22810. "goodsgroupstatus",
  22811. "marketid"
  22812. ],
  22813. "properties": {
  22814. "agreeunit": {
  22815. "description": "合约单位",
  22816. "type": "number"
  22817. },
  22818. "canshort": {
  22819. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22820. "type": "integer"
  22821. },
  22822. "closepricemode": {
  22823. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22824. "type": "integer"
  22825. },
  22826. "closepriceparam": {
  22827. "description": "强平最新价浮动比例 - 方式为2时使用",
  22828. "type": "number"
  22829. },
  22830. "createtime": {
  22831. "description": "创建时间",
  22832. "type": "string"
  22833. },
  22834. "creatorid": {
  22835. "description": "创建人",
  22836. "type": "integer"
  22837. },
  22838. "currencyid": {
  22839. "description": "报价货币ID",
  22840. "type": "integer"
  22841. },
  22842. "decimalplace": {
  22843. "description": "报价小数位",
  22844. "type": "integer"
  22845. },
  22846. "exercisetype": {
  22847. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  22848. "type": "integer"
  22849. },
  22850. "exexchangeid": {
  22851. "description": "外部交易所ID[通道交易]",
  22852. "type": "integer"
  22853. },
  22854. "goodsgroupid": {
  22855. "description": "商品组ID(自增ID)",
  22856. "type": "integer"
  22857. },
  22858. "goodsgroupname": {
  22859. "description": "商品组名称",
  22860. "type": "string"
  22861. },
  22862. "goodsgroupstatus": {
  22863. "description": "商品组状态 - 1:正常 2:注销",
  22864. "type": "integer"
  22865. },
  22866. "goodunitid": {
  22867. "description": "报价单位ID",
  22868. "type": "integer"
  22869. },
  22870. "innerdealmode": {
  22871. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22872. "type": "integer"
  22873. },
  22874. "isbuylimited": {
  22875. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22876. "type": "integer"
  22877. },
  22878. "marketid": {
  22879. "description": "所属市场ID",
  22880. "type": "integer"
  22881. },
  22882. "modifierid": {
  22883. "description": "修改人",
  22884. "type": "integer"
  22885. },
  22886. "modifytime": {
  22887. "description": "修改时间",
  22888. "type": "string"
  22889. },
  22890. "outerdealmode": {
  22891. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22892. "type": "integer"
  22893. },
  22894. "outergroupcode": {
  22895. "description": "外部商品组代码[通道交易]",
  22896. "type": "string"
  22897. },
  22898. "premiumdecimalplace": {
  22899. "description": "权利金小数位[场外期权]",
  22900. "type": "integer"
  22901. },
  22902. "premiumspreadalgorithm": {
  22903. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  22904. "type": "integer"
  22905. },
  22906. "premiumspreadvalue": {
  22907. "description": "权利金点差值[场外期权]",
  22908. "type": "number"
  22909. },
  22910. "qtydecimalplace": {
  22911. "description": "成交量小数位",
  22912. "type": "integer"
  22913. },
  22914. "quotegear": {
  22915. "description": "行情档位(1-10)",
  22916. "type": "integer"
  22917. },
  22918. "quoteminunit": {
  22919. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22920. "type": "integer"
  22921. },
  22922. "quoterid": {
  22923. "description": "报价商ID[场外期权]",
  22924. "type": "integer"
  22925. },
  22926. "quotesourcegroupid": {
  22927. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22928. "type": "integer"
  22929. },
  22930. "syncgoodsqty": {
  22931. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22932. "type": "integer"
  22933. }
  22934. }
  22935. },
  22936. "models.Goodssortbypreposition": {
  22937. "type": "object",
  22938. "required": [
  22939. "goodscode",
  22940. "tradedate"
  22941. ],
  22942. "properties": {
  22943. "goodscode": {
  22944. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  22945. "type": "string"
  22946. },
  22947. "goodsgroupcode": {
  22948. "description": "品种代码",
  22949. "type": "string"
  22950. },
  22951. "prepositionqty": {
  22952. "description": "昨持仓量",
  22953. "type": "integer"
  22954. },
  22955. "sortindex": {
  22956. "description": "排序",
  22957. "type": "integer"
  22958. },
  22959. "tradedate": {
  22960. "description": "交易日",
  22961. "type": "string"
  22962. },
  22963. "updatetime": {
  22964. "description": "更新时间",
  22965. "type": "string"
  22966. }
  22967. }
  22968. },
  22969. "models.Hedgeinnerholderdetail": {
  22970. "type": "object",
  22971. "required": [
  22972. "buyorsell",
  22973. "tradeid"
  22974. ],
  22975. "properties": {
  22976. "accountid": {
  22977. "description": "账号ID",
  22978. "type": "integer"
  22979. },
  22980. "buyorsell": {
  22981. "description": "方向 - 0:买 1:卖",
  22982. "type": "integer"
  22983. },
  22984. "freezeqty": {
  22985. "description": "冻结数量 - 按单平使用",
  22986. "type": "integer"
  22987. },
  22988. "goodsid": {
  22989. "description": "商品ID",
  22990. "type": "integer"
  22991. },
  22992. "holderamount": {
  22993. "description": "持仓金额 [商品币种]",
  22994. "type": "number"
  22995. },
  22996. "holderdays": {
  22997. "description": "剩余冻结天数",
  22998. "type": "integer"
  22999. },
  23000. "holderprice": {
  23001. "description": "持仓价格",
  23002. "type": "number"
  23003. },
  23004. "holderqty": {
  23005. "description": "持仓数量",
  23006. "type": "integer"
  23007. },
  23008. "marketid": {
  23009. "description": "市场ID",
  23010. "type": "integer"
  23011. },
  23012. "openprice": {
  23013. "description": "建仓价格",
  23014. "type": "number"
  23015. },
  23016. "openqty": {
  23017. "description": "建仓数量",
  23018. "type": "integer"
  23019. },
  23020. "parentaccountid": {
  23021. "description": "所属母账户",
  23022. "type": "integer"
  23023. },
  23024. "releaseamount": {
  23025. "description": "释放持仓金额[商品币种]",
  23026. "type": "number"
  23027. },
  23028. "tradeamount": {
  23029. "description": "成交金额[账户]",
  23030. "type": "number"
  23031. },
  23032. "tradedate": {
  23033. "description": "交易日(yyyyMMdd)",
  23034. "type": "string"
  23035. },
  23036. "tradeid": {
  23037. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23038. "type": "string"
  23039. },
  23040. "tradetime": {
  23041. "description": "交易时间",
  23042. "type": "string"
  23043. }
  23044. }
  23045. },
  23046. "models.Hedgemarketopenlog": {
  23047. "type": "object",
  23048. "required": [
  23049. "accountid"
  23050. ],
  23051. "properties": {
  23052. "accountid": {
  23053. "description": "资金账号[外部母账户]",
  23054. "type": "integer"
  23055. },
  23056. "fcname": {
  23057. "description": "期货公司名称",
  23058. "type": "string"
  23059. },
  23060. "handlestatus": {
  23061. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23062. "type": "integer"
  23063. },
  23064. "marketid": {
  23065. "description": "市场ID",
  23066. "type": "integer"
  23067. },
  23068. "status": {
  23069. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23070. "type": "integer"
  23071. },
  23072. "tradedate": {
  23073. "description": "交易日(yyyyMMdd)",
  23074. "type": "string"
  23075. },
  23076. "updatetime": {
  23077. "description": "更新时间",
  23078. "type": "string"
  23079. }
  23080. }
  23081. },
  23082. "models.HsbyBuyMyPayOrder": {
  23083. "type": "object",
  23084. "required": [
  23085. "goodscode",
  23086. "goodsname",
  23087. "tradeid",
  23088. "trademode"
  23089. ],
  23090. "properties": {
  23091. "agreeunit": {
  23092. "description": "合约单位",
  23093. "type": "number"
  23094. },
  23095. "buyaccountid": {
  23096. "description": "买方账号ID[报价币种]",
  23097. "type": "integer"
  23098. },
  23099. "buyorderid": {
  23100. "description": "买方委托单号",
  23101. "type": "string"
  23102. },
  23103. "createtime": {
  23104. "description": "创建时间",
  23105. "type": "string"
  23106. },
  23107. "currencysign": {
  23108. "description": "货币符号",
  23109. "type": "string"
  23110. },
  23111. "decimalplace": {
  23112. "description": "报价小数位",
  23113. "type": "integer"
  23114. },
  23115. "goodscode": {
  23116. "description": "商品代码(内部)",
  23117. "type": "string"
  23118. },
  23119. "goodsid": {
  23120. "description": "商品ID",
  23121. "type": "integer"
  23122. },
  23123. "goodsname": {
  23124. "description": "商品名称",
  23125. "type": "string"
  23126. },
  23127. "marketid": {
  23128. "description": "市场ID",
  23129. "type": "integer"
  23130. },
  23131. "offamount": {
  23132. "description": "优惠金额",
  23133. "type": "number"
  23134. },
  23135. "originalamount": {
  23136. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23137. "type": "number"
  23138. },
  23139. "payamount": {
  23140. "description": "支付金额 = TradeAmount + TradeCharge",
  23141. "type": "number"
  23142. },
  23143. "payflag": {
  23144. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23145. "type": "integer"
  23146. },
  23147. "paylimitedtime": {
  23148. "description": "支付期限",
  23149. "type": "string"
  23150. },
  23151. "paytime": {
  23152. "description": "付款时间",
  23153. "type": "string"
  23154. },
  23155. "picurls1": {
  23156. "description": "预售商品介绍图片[多张用逗号分隔]",
  23157. "type": "string"
  23158. },
  23159. "picurls2": {
  23160. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23161. "type": "string"
  23162. },
  23163. "sellaccountid": {
  23164. "description": "卖方账号ID[报价币种]",
  23165. "type": "integer"
  23166. },
  23167. "sellorderid": {
  23168. "description": "卖方委托单号",
  23169. "type": "string"
  23170. },
  23171. "tradeamount": {
  23172. "description": "成交金额",
  23173. "type": "number"
  23174. },
  23175. "tradecharge": {
  23176. "description": "成交手续费(买方)",
  23177. "type": "number"
  23178. },
  23179. "tradedate": {
  23180. "description": "交易日(yyyyMMdd)",
  23181. "type": "string"
  23182. },
  23183. "tradeid": {
  23184. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23185. "type": "string"
  23186. },
  23187. "trademode": {
  23188. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23189. "type": "integer"
  23190. },
  23191. "tradeprice": {
  23192. "description": "成交价格",
  23193. "type": "number"
  23194. },
  23195. "tradeqty": {
  23196. "description": "成交数量",
  23197. "type": "integer"
  23198. },
  23199. "vendorname1": {
  23200. "description": "预售商品供应商名称",
  23201. "type": "string"
  23202. },
  23203. "vendorname2": {
  23204. "description": "挂牌商品供应商名称",
  23205. "type": "string"
  23206. }
  23207. }
  23208. },
  23209. "models.HsbyBuyMyTradeDetail": {
  23210. "type": "object",
  23211. "required": [
  23212. "accountid",
  23213. "buyorsell",
  23214. "goodscode",
  23215. "goodsid",
  23216. "goodsname",
  23217. "marketid",
  23218. "orderid",
  23219. "qty",
  23220. "time",
  23221. "trademode"
  23222. ],
  23223. "properties": {
  23224. "accountid": {
  23225. "description": "账户ID[报价币种]",
  23226. "type": "integer"
  23227. },
  23228. "agreeunit": {
  23229. "description": "合约单位",
  23230. "type": "number"
  23231. },
  23232. "amount": {
  23233. "description": "金额 = 价格 * 数量 * 合约单位",
  23234. "type": "number"
  23235. },
  23236. "buyorsell": {
  23237. "description": "买卖 - 0:买 1:卖",
  23238. "type": "integer"
  23239. },
  23240. "currencysign": {
  23241. "description": "货币符号",
  23242. "type": "string"
  23243. },
  23244. "decimalplace": {
  23245. "description": "报价小数位",
  23246. "type": "integer"
  23247. },
  23248. "goodscode": {
  23249. "description": "商品代码(内部)",
  23250. "type": "string"
  23251. },
  23252. "goodsid": {
  23253. "description": "商品ID",
  23254. "type": "integer"
  23255. },
  23256. "goodsname": {
  23257. "description": "商品名称",
  23258. "type": "string"
  23259. },
  23260. "marketid": {
  23261. "description": "市场ID",
  23262. "type": "integer"
  23263. },
  23264. "orderamount": {
  23265. "description": "委托金额",
  23266. "type": "number"
  23267. },
  23268. "orderid": {
  23269. "description": "单号(成交单号)",
  23270. "type": "string"
  23271. },
  23272. "picurls1": {
  23273. "description": "预售商品介绍图片[多张用逗号分隔]",
  23274. "type": "string"
  23275. },
  23276. "picurls2": {
  23277. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23278. "type": "string"
  23279. },
  23280. "price": {
  23281. "description": "价格",
  23282. "type": "number"
  23283. },
  23284. "qty": {
  23285. "description": "数量",
  23286. "type": "integer"
  23287. },
  23288. "time": {
  23289. "description": "时间",
  23290. "type": "string"
  23291. },
  23292. "trademode": {
  23293. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23294. "type": "integer"
  23295. },
  23296. "vendorname1": {
  23297. "description": "预售商品供应商名称",
  23298. "type": "string"
  23299. },
  23300. "vendorname2": {
  23301. "description": "挂牌商品供应商名称",
  23302. "type": "string"
  23303. }
  23304. }
  23305. },
  23306. "models.HsbyGoodsOrderDetail": {
  23307. "type": "object",
  23308. "required": [
  23309. "buyorsell",
  23310. "orderid",
  23311. "ordertime"
  23312. ],
  23313. "properties": {
  23314. "buyorsell": {
  23315. "description": "买卖 - 0:买 1:卖",
  23316. "type": "integer"
  23317. },
  23318. "currencysign": {
  23319. "description": "货币符号",
  23320. "type": "string"
  23321. },
  23322. "customername": {
  23323. "description": "客户名称(企业名称),已脱敏",
  23324. "type": "string"
  23325. },
  23326. "enableqty": {
  23327. "description": "可用数量",
  23328. "type": "integer"
  23329. },
  23330. "goodunit": {
  23331. "description": "报价单位",
  23332. "type": "string"
  23333. },
  23334. "orderid": {
  23335. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23336. "type": "string"
  23337. },
  23338. "orderprice": {
  23339. "description": "委托价格",
  23340. "type": "number"
  23341. },
  23342. "ordertime": {
  23343. "description": "委托时间",
  23344. "type": "string"
  23345. }
  23346. }
  23347. },
  23348. "models.HsbyListingGoodsDetail": {
  23349. "type": "object",
  23350. "required": [
  23351. "goodscode",
  23352. "goodsid",
  23353. "goodsname",
  23354. "marketid",
  23355. "trademode"
  23356. ],
  23357. "properties": {
  23358. "agreeunit": {
  23359. "description": "合约单位",
  23360. "type": "number"
  23361. },
  23362. "buymaxqty": {
  23363. "description": "购买上限 [71] - 0为不限",
  23364. "type": "integer"
  23365. },
  23366. "currency": {
  23367. "description": "货币",
  23368. "type": "string"
  23369. },
  23370. "currencysign": {
  23371. "description": "货币符号",
  23372. "type": "string"
  23373. },
  23374. "decimalplace": {
  23375. "description": "报价小数位",
  23376. "type": "integer"
  23377. },
  23378. "desccityid": {
  23379. "description": "目的地(市)ID",
  23380. "type": "integer"
  23381. },
  23382. "descprovinceid": {
  23383. "description": "目的地(省)ID",
  23384. "type": "integer"
  23385. },
  23386. "goodscode": {
  23387. "description": "商品代码(内部)",
  23388. "type": "string"
  23389. },
  23390. "goodsdesc": {
  23391. "description": "商品详情",
  23392. "type": "string"
  23393. },
  23394. "goodsid": {
  23395. "description": "商品ID(自增ID SEQ_GOODS)",
  23396. "type": "integer"
  23397. },
  23398. "goodsname": {
  23399. "description": "商品名称",
  23400. "type": "string"
  23401. },
  23402. "goodsprice": {
  23403. "description": "商品价格",
  23404. "type": "number"
  23405. },
  23406. "hotindex": {
  23407. "description": "景点热度",
  23408. "type": "integer"
  23409. },
  23410. "last": {
  23411. "description": "现价",
  23412. "type": "number"
  23413. },
  23414. "limitdown": {
  23415. "description": "跌停价",
  23416. "type": "number"
  23417. },
  23418. "limitup": {
  23419. "description": "涨停价",
  23420. "type": "number"
  23421. },
  23422. "lotsize": {
  23423. "description": "手数最小变动单位",
  23424. "type": "integer"
  23425. },
  23426. "marketid": {
  23427. "description": "所属市场ID",
  23428. "type": "integer"
  23429. },
  23430. "picurls": {
  23431. "description": "介绍图片[多张用逗号分隔]",
  23432. "type": "string"
  23433. },
  23434. "quoteminunit": {
  23435. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23436. "type": "integer"
  23437. },
  23438. "stepvalue": {
  23439. "description": "价格最小变动单位",
  23440. "type": "number"
  23441. },
  23442. "trademode": {
  23443. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23444. "type": "integer"
  23445. },
  23446. "vendorattr": {
  23447. "description": "供应商附件(多张,逗号分隔)",
  23448. "type": "string"
  23449. },
  23450. "vendorname": {
  23451. "description": "供应商名称",
  23452. "type": "string"
  23453. },
  23454. "vendorphone": {
  23455. "description": "供应商客服电话",
  23456. "type": "string"
  23457. },
  23458. "videourls": {
  23459. "description": "介绍视频[多张用逗号分隔]",
  23460. "type": "string"
  23461. }
  23462. }
  23463. },
  23464. "models.HsbyMarketGoods": {
  23465. "type": "object",
  23466. "required": [
  23467. "accountid",
  23468. "buyorsell",
  23469. "goodscode",
  23470. "goodsid",
  23471. "goodsname",
  23472. "marketid",
  23473. "orderid",
  23474. "trademode"
  23475. ],
  23476. "properties": {
  23477. "accountid": {
  23478. "description": "账户ID[报价币种]",
  23479. "type": "integer"
  23480. },
  23481. "agreeunit": {
  23482. "description": "合约单位",
  23483. "type": "number"
  23484. },
  23485. "buyorsell": {
  23486. "description": "买卖 - 0:买 1:卖",
  23487. "type": "integer"
  23488. },
  23489. "categoryid": {
  23490. "description": "类别ID(WRCATEGORY)",
  23491. "type": "integer"
  23492. },
  23493. "currency": {
  23494. "description": "货币",
  23495. "type": "string"
  23496. },
  23497. "currencysign": {
  23498. "description": "货币符号",
  23499. "type": "string"
  23500. },
  23501. "customername": {
  23502. "description": "卖家名称",
  23503. "type": "string"
  23504. },
  23505. "decimalplace": {
  23506. "description": "报价小数位",
  23507. "type": "integer"
  23508. },
  23509. "goodscode": {
  23510. "description": "商品代码(内部)",
  23511. "type": "string"
  23512. },
  23513. "goodsid": {
  23514. "description": "商品ID",
  23515. "type": "integer"
  23516. },
  23517. "goodsname": {
  23518. "description": "商品名称",
  23519. "type": "string"
  23520. },
  23521. "goodsprice": {
  23522. "description": "商品价格",
  23523. "type": "number"
  23524. },
  23525. "hascoupon": {
  23526. "description": "是否可用优惠卷",
  23527. "type": "boolean"
  23528. },
  23529. "hotindex": {
  23530. "description": "景点热度",
  23531. "type": "integer"
  23532. },
  23533. "marketid": {
  23534. "description": "市场ID",
  23535. "type": "integer"
  23536. },
  23537. "orderid": {
  23538. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23539. "type": "string"
  23540. },
  23541. "orderprice": {
  23542. "description": "委托价格",
  23543. "type": "number"
  23544. },
  23545. "orderstatus": {
  23546. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23547. "type": "integer"
  23548. },
  23549. "picurls": {
  23550. "description": "介绍图片[多张用逗号分隔]",
  23551. "type": "string"
  23552. },
  23553. "quoteminunit": {
  23554. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23555. "type": "integer"
  23556. },
  23557. "sellUserID": {
  23558. "description": "卖方UserID",
  23559. "type": "integer"
  23560. },
  23561. "trademode": {
  23562. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23563. "type": "integer"
  23564. },
  23565. "videourls": {
  23566. "description": "介绍视频[多张用逗号分隔]",
  23567. "type": "string"
  23568. }
  23569. }
  23570. },
  23571. "models.HsbyMarketGoodsDetail": {
  23572. "type": "object",
  23573. "required": [
  23574. "accountid",
  23575. "buyorsell",
  23576. "goodscode",
  23577. "goodsid",
  23578. "goodsname",
  23579. "marketid",
  23580. "orderid",
  23581. "orderqty",
  23582. "trademode"
  23583. ],
  23584. "properties": {
  23585. "accountid": {
  23586. "description": "账户ID[报价币种]",
  23587. "type": "integer"
  23588. },
  23589. "agreeunit": {
  23590. "description": "合约单位",
  23591. "type": "number"
  23592. },
  23593. "buymaxqty": {
  23594. "description": "购买上限 [71] - 0为不限",
  23595. "type": "integer"
  23596. },
  23597. "buyorsell": {
  23598. "description": "买卖 - 0:买 1:卖",
  23599. "type": "integer"
  23600. },
  23601. "cancelqty": {
  23602. "description": "撤单数量",
  23603. "type": "integer"
  23604. },
  23605. "categoryid": {
  23606. "description": "类别ID(WRCATEGORY)",
  23607. "type": "integer"
  23608. },
  23609. "currency": {
  23610. "description": "货币",
  23611. "type": "string"
  23612. },
  23613. "currencysign": {
  23614. "description": "货币符号",
  23615. "type": "string"
  23616. },
  23617. "customername": {
  23618. "description": "卖家名称",
  23619. "type": "string"
  23620. },
  23621. "decimalplace": {
  23622. "description": "报价小数位",
  23623. "type": "integer"
  23624. },
  23625. "goodscode": {
  23626. "description": "商品代码(内部)",
  23627. "type": "string"
  23628. },
  23629. "goodsdesc": {
  23630. "description": "商品详情",
  23631. "type": "string"
  23632. },
  23633. "goodsid": {
  23634. "description": "商品ID",
  23635. "type": "integer"
  23636. },
  23637. "goodsname": {
  23638. "description": "商品名称",
  23639. "type": "string"
  23640. },
  23641. "goodsprice": {
  23642. "description": "商品价格",
  23643. "type": "number"
  23644. },
  23645. "hotindex": {
  23646. "description": "景点热度",
  23647. "type": "integer"
  23648. },
  23649. "lotsize": {
  23650. "description": "手数最小变动单位",
  23651. "type": "integer"
  23652. },
  23653. "marketid": {
  23654. "description": "市场ID",
  23655. "type": "integer"
  23656. },
  23657. "orderid": {
  23658. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23659. "type": "string"
  23660. },
  23661. "orderprice": {
  23662. "description": "委托价格",
  23663. "type": "number"
  23664. },
  23665. "orderqty": {
  23666. "description": "委托数量",
  23667. "type": "integer"
  23668. },
  23669. "orderstatus": {
  23670. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23671. "type": "integer"
  23672. },
  23673. "picurls": {
  23674. "description": "介绍图片[多张用逗号分隔]",
  23675. "type": "string"
  23676. },
  23677. "quoteminunit": {
  23678. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23679. "type": "integer"
  23680. },
  23681. "sellUserID": {
  23682. "description": "卖方UserID",
  23683. "type": "integer"
  23684. },
  23685. "trademode": {
  23686. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23687. "type": "integer"
  23688. },
  23689. "tradeqty": {
  23690. "description": "成交数量",
  23691. "type": "integer"
  23692. },
  23693. "vendorattr": {
  23694. "description": "供应商附件(多张,逗号分隔)",
  23695. "type": "string"
  23696. },
  23697. "vendorname": {
  23698. "description": "供应商名称",
  23699. "type": "string"
  23700. },
  23701. "vendorphone": {
  23702. "description": "供应商客服电话",
  23703. "type": "string"
  23704. },
  23705. "videourls": {
  23706. "description": "介绍视频[多张用逗号分隔]",
  23707. "type": "string"
  23708. }
  23709. }
  23710. },
  23711. "models.HsbyMarketInfo": {
  23712. "type": "object",
  23713. "required": [
  23714. "marketid",
  23715. "marketstatus",
  23716. "trademode"
  23717. ],
  23718. "properties": {
  23719. "marketid": {
  23720. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23721. "type": "integer"
  23722. },
  23723. "marketname": {
  23724. "description": "市场名称",
  23725. "type": "string"
  23726. },
  23727. "marketstatus": {
  23728. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23729. "type": "integer"
  23730. },
  23731. "trademode": {
  23732. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23733. "type": "integer"
  23734. }
  23735. }
  23736. },
  23737. "models.HsbyMyGoods": {
  23738. "type": "object",
  23739. "required": [
  23740. "accountid",
  23741. "goodscode",
  23742. "goodsid",
  23743. "goodsname",
  23744. "marketid",
  23745. "trademode"
  23746. ],
  23747. "properties": {
  23748. "accountid": {
  23749. "description": "账号Id",
  23750. "type": "integer"
  23751. },
  23752. "agreeunit": {
  23753. "description": "合约单位",
  23754. "type": "number"
  23755. },
  23756. "buyaverageprice": {
  23757. "description": "持仓均价",
  23758. "type": "number"
  23759. },
  23760. "buycurholderamount": {
  23761. "description": "买当前持仓总金额[商品币种]",
  23762. "type": "number"
  23763. },
  23764. "buycurpositionqty": {
  23765. "description": "买当前持仓总数量",
  23766. "type": "integer"
  23767. },
  23768. "buymaxqty": {
  23769. "description": "购买上限 [71] - 0为不限",
  23770. "type": "integer"
  23771. },
  23772. "currencysign": {
  23773. "description": "货币符号",
  23774. "type": "string"
  23775. },
  23776. "decimalplace": {
  23777. "description": "报价小数位",
  23778. "type": "integer"
  23779. },
  23780. "enableqty": {
  23781. "description": "可用数量",
  23782. "type": "integer"
  23783. },
  23784. "goodscode": {
  23785. "description": "商品代码(内部)",
  23786. "type": "string"
  23787. },
  23788. "goodsid": {
  23789. "description": "商品Id",
  23790. "type": "integer"
  23791. },
  23792. "goodsname": {
  23793. "description": "商品名称",
  23794. "type": "string"
  23795. },
  23796. "goodsprice": {
  23797. "description": "商品价格",
  23798. "type": "number"
  23799. },
  23800. "goodsstatus": {
  23801. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23802. "type": "integer"
  23803. },
  23804. "last": {
  23805. "description": "现价(仅使用于挂牌点选)",
  23806. "type": "number"
  23807. },
  23808. "limitdown": {
  23809. "description": "跌停价(仅使用于挂牌点选)",
  23810. "type": "number"
  23811. },
  23812. "limitup": {
  23813. "description": "涨停价(仅使用于挂牌点选)",
  23814. "type": "number"
  23815. },
  23816. "lotsize": {
  23817. "description": "手数最小变动单位",
  23818. "type": "integer"
  23819. },
  23820. "marketid": {
  23821. "description": "所属市场ID",
  23822. "type": "integer"
  23823. },
  23824. "picurls": {
  23825. "description": "介绍图片[多张用逗号分隔]",
  23826. "type": "string"
  23827. },
  23828. "quoteminunit": {
  23829. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23830. "type": "integer"
  23831. },
  23832. "stepvalue": {
  23833. "description": "价格最小变动单位",
  23834. "type": "number"
  23835. },
  23836. "trademode": {
  23837. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23838. "type": "integer"
  23839. }
  23840. }
  23841. },
  23842. "models.HsbyMyPackage": {
  23843. "type": "object",
  23844. "required": [
  23845. "goodscode",
  23846. "goodsname",
  23847. "takeorderid",
  23848. "trademode"
  23849. ],
  23850. "properties": {
  23851. "accountid": {
  23852. "description": "账户ID",
  23853. "type": "integer"
  23854. },
  23855. "address": {
  23856. "description": "提货人详细地址",
  23857. "type": "string"
  23858. },
  23859. "agreeunit": {
  23860. "description": "合约单位",
  23861. "type": "number"
  23862. },
  23863. "amount": {
  23864. "description": "提货金额",
  23865. "type": "number"
  23866. },
  23867. "auditer": {
  23868. "description": "审核人",
  23869. "type": "integer"
  23870. },
  23871. "audittime": {
  23872. "description": "审核时间",
  23873. "type": "string"
  23874. },
  23875. "averageprice": {
  23876. "description": "均价",
  23877. "type": "number"
  23878. },
  23879. "cardnum": {
  23880. "description": "提货人证件号码",
  23881. "type": "string"
  23882. },
  23883. "cardtypeid": {
  23884. "description": "提货人证件类型",
  23885. "type": "integer"
  23886. },
  23887. "checkremark": {
  23888. "description": "审核备注",
  23889. "type": "string"
  23890. },
  23891. "currencysign": {
  23892. "description": "货币符号",
  23893. "type": "string"
  23894. },
  23895. "decimalplace": {
  23896. "description": "报价小数位",
  23897. "type": "integer"
  23898. },
  23899. "goodscode": {
  23900. "description": "商品代码(内部)",
  23901. "type": "string"
  23902. },
  23903. "goodsid": {
  23904. "description": "商品ID",
  23905. "type": "integer"
  23906. },
  23907. "goodsname": {
  23908. "description": "商品名称",
  23909. "type": "string"
  23910. },
  23911. "handlestatus": {
  23912. "description": "处理状态",
  23913. "type": "integer"
  23914. },
  23915. "marketid": {
  23916. "description": "市场ID",
  23917. "type": "integer"
  23918. },
  23919. "phonenum": {
  23920. "description": "提货人联系方式",
  23921. "type": "string"
  23922. },
  23923. "picurls": {
  23924. "description": "介绍图片[多张用逗号分隔]",
  23925. "type": "string"
  23926. },
  23927. "qty": {
  23928. "description": "提货数量",
  23929. "type": "number"
  23930. },
  23931. "recivername": {
  23932. "description": "提货人姓名",
  23933. "type": "string"
  23934. },
  23935. "reqtime": {
  23936. "description": "更新时间",
  23937. "type": "string"
  23938. },
  23939. "takemode": {
  23940. "description": "提货方式 - 2:自提 3:配送",
  23941. "type": "integer"
  23942. },
  23943. "takeorderid": {
  23944. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23945. "type": "string"
  23946. },
  23947. "takeorderstatus": {
  23948. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23949. "type": "integer"
  23950. },
  23951. "takeremark": {
  23952. "description": "提货备注",
  23953. "type": "string"
  23954. },
  23955. "tradedate": {
  23956. "description": "交易日(yyyyMMdd)",
  23957. "type": "string"
  23958. },
  23959. "trademode": {
  23960. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23961. "type": "integer"
  23962. },
  23963. "userid": {
  23964. "description": "用户ID",
  23965. "type": "integer"
  23966. },
  23967. "vendorname": {
  23968. "description": "供应商名称",
  23969. "type": "string"
  23970. }
  23971. }
  23972. },
  23973. "models.HsbyPreGoods": {
  23974. "type": "object",
  23975. "required": [
  23976. "goodscode",
  23977. "goodsid",
  23978. "goodsname",
  23979. "marketid",
  23980. "trademode"
  23981. ],
  23982. "properties": {
  23983. "agreeunit": {
  23984. "description": "合约单位",
  23985. "type": "number"
  23986. },
  23987. "currency": {
  23988. "description": "货币",
  23989. "type": "string"
  23990. },
  23991. "currencysign": {
  23992. "description": "货币符号",
  23993. "type": "string"
  23994. },
  23995. "decimalplace": {
  23996. "description": "报价小数位",
  23997. "type": "integer"
  23998. },
  23999. "desccityid": {
  24000. "description": "目的地(市)",
  24001. "type": "integer"
  24002. },
  24003. "descprovinceid": {
  24004. "description": "目的地(省)",
  24005. "type": "integer"
  24006. },
  24007. "enableqty": {
  24008. "description": "剩余数量",
  24009. "type": "integer"
  24010. },
  24011. "goodscode": {
  24012. "description": "商品代码(内部)",
  24013. "type": "string"
  24014. },
  24015. "goodsid": {
  24016. "description": "商品ID(自增ID SEQ_GOODS)",
  24017. "type": "integer"
  24018. },
  24019. "goodsname": {
  24020. "description": "商品名称",
  24021. "type": "string"
  24022. },
  24023. "goodsstatus": {
  24024. "description": "商品状态- 2:未上市 3:上市",
  24025. "type": "integer"
  24026. },
  24027. "lasttradedate": {
  24028. "description": "最后交易日期(状态:待退市)",
  24029. "type": "string"
  24030. },
  24031. "listingdate": {
  24032. "description": "交易开始日期",
  24033. "type": "string"
  24034. },
  24035. "marketid": {
  24036. "description": "所属市场ID",
  24037. "type": "integer"
  24038. },
  24039. "picurls": {
  24040. "description": "介绍图片[多张用逗号分隔]",
  24041. "type": "string"
  24042. },
  24043. "presaledqty": {
  24044. "description": "已预售量(预售结束时更新)",
  24045. "type": "integer"
  24046. },
  24047. "presaleqty": {
  24048. "description": "预售数量",
  24049. "type": "integer"
  24050. },
  24051. "quoteminunit": {
  24052. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24053. "type": "integer"
  24054. },
  24055. "refprice": {
  24056. "description": "参考价格[一口价]",
  24057. "type": "number"
  24058. },
  24059. "relatedgoodsid": {
  24060. "description": "关联交易合约ID",
  24061. "type": "integer"
  24062. },
  24063. "trademode": {
  24064. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24065. "type": "integer"
  24066. },
  24067. "videourls": {
  24068. "description": "介绍视频[多张用逗号分隔]",
  24069. "type": "string"
  24070. }
  24071. }
  24072. },
  24073. "models.HsbyPreGoodsDetail": {
  24074. "type": "object",
  24075. "required": [
  24076. "goodscode",
  24077. "goodsid",
  24078. "goodsname",
  24079. "marketid",
  24080. "trademode"
  24081. ],
  24082. "properties": {
  24083. "agreeunit": {
  24084. "description": "合约单位",
  24085. "type": "number"
  24086. },
  24087. "buymaxqty": {
  24088. "description": "购买上限 [71] - 0为不限",
  24089. "type": "integer"
  24090. },
  24091. "currency": {
  24092. "description": "货币",
  24093. "type": "string"
  24094. },
  24095. "currencysign": {
  24096. "description": "货币符号",
  24097. "type": "string"
  24098. },
  24099. "customername": {
  24100. "description": "发行单位",
  24101. "type": "string"
  24102. },
  24103. "decimalplace": {
  24104. "description": "报价小数位",
  24105. "type": "integer"
  24106. },
  24107. "desccityid": {
  24108. "description": "目的地(市)ID",
  24109. "type": "integer"
  24110. },
  24111. "descprovinceid": {
  24112. "description": "目的地(省)ID",
  24113. "type": "integer"
  24114. },
  24115. "enableqty": {
  24116. "description": "剩余数量",
  24117. "type": "integer"
  24118. },
  24119. "goodscode": {
  24120. "description": "商品代码(内部)",
  24121. "type": "string"
  24122. },
  24123. "goodsdesc": {
  24124. "description": "商品详情",
  24125. "type": "string"
  24126. },
  24127. "goodsid": {
  24128. "description": "商品ID(自增ID SEQ_GOODS)",
  24129. "type": "integer"
  24130. },
  24131. "goodsname": {
  24132. "description": "商品名称",
  24133. "type": "string"
  24134. },
  24135. "goodsstatus": {
  24136. "description": "商品状态- 2:未上市 3:上市",
  24137. "type": "integer"
  24138. },
  24139. "goodunit": {
  24140. "description": "报价单位",
  24141. "type": "string"
  24142. },
  24143. "lasttradedate": {
  24144. "description": "最后交易日期(状态:待退市)",
  24145. "type": "string"
  24146. },
  24147. "listingdate": {
  24148. "description": "交易开始日期",
  24149. "type": "string"
  24150. },
  24151. "lotsize": {
  24152. "description": "手数最小变动单位",
  24153. "type": "integer"
  24154. },
  24155. "marketid": {
  24156. "description": "所属市场ID",
  24157. "type": "integer"
  24158. },
  24159. "picurls": {
  24160. "description": "介绍图片[多张用逗号分隔]",
  24161. "type": "string"
  24162. },
  24163. "presaledqty": {
  24164. "description": "已预售量(预售结束时更新)",
  24165. "type": "integer"
  24166. },
  24167. "presaleqty": {
  24168. "description": "预售数量",
  24169. "type": "integer"
  24170. },
  24171. "quoteminunit": {
  24172. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24173. "type": "integer"
  24174. },
  24175. "refprice": {
  24176. "description": "参考价格[一口价]",
  24177. "type": "number"
  24178. },
  24179. "relatedgoodsid": {
  24180. "description": "关联交易合约ID",
  24181. "type": "integer"
  24182. },
  24183. "stepvalue": {
  24184. "description": "价格最小变动单位",
  24185. "type": "number"
  24186. },
  24187. "trademode": {
  24188. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24189. "type": "integer"
  24190. },
  24191. "vendorattr": {
  24192. "description": "供应商附件(多张,逗号分隔)",
  24193. "type": "string"
  24194. },
  24195. "vendorname": {
  24196. "description": "供应商名称",
  24197. "type": "string"
  24198. },
  24199. "vendorphone": {
  24200. "description": "供应商客服电话",
  24201. "type": "string"
  24202. },
  24203. "videourls": {
  24204. "description": "介绍视频[多张用逗号分隔]",
  24205. "type": "string"
  24206. }
  24207. }
  24208. },
  24209. "models.HsbySellCollectionOrder": {
  24210. "type": "object",
  24211. "required": [
  24212. "goodscode",
  24213. "goodsname",
  24214. "tradeid",
  24215. "trademode"
  24216. ],
  24217. "properties": {
  24218. "agreeunit": {
  24219. "description": "合约单位",
  24220. "type": "number"
  24221. },
  24222. "buyaccountid": {
  24223. "description": "买方账号ID[报价币种]",
  24224. "type": "integer"
  24225. },
  24226. "buyorderid": {
  24227. "description": "买方委托单号",
  24228. "type": "string"
  24229. },
  24230. "createtime": {
  24231. "description": "创建时间",
  24232. "type": "string"
  24233. },
  24234. "currencysign": {
  24235. "description": "货币符号",
  24236. "type": "string"
  24237. },
  24238. "decimalplace": {
  24239. "description": "报价小数位",
  24240. "type": "integer"
  24241. },
  24242. "goodscode": {
  24243. "description": "商品代码(内部)",
  24244. "type": "string"
  24245. },
  24246. "goodsid": {
  24247. "description": "商品ID",
  24248. "type": "integer"
  24249. },
  24250. "goodsname": {
  24251. "description": "商品名称",
  24252. "type": "string"
  24253. },
  24254. "marketid": {
  24255. "description": "市场ID",
  24256. "type": "integer"
  24257. },
  24258. "offamount": {
  24259. "description": "优惠金额",
  24260. "type": "number"
  24261. },
  24262. "payamount": {
  24263. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24264. "type": "number"
  24265. },
  24266. "payflag": {
  24267. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24268. "type": "integer"
  24269. },
  24270. "paylimitedtime": {
  24271. "description": "支付期限",
  24272. "type": "string"
  24273. },
  24274. "paytime": {
  24275. "description": "付款时间",
  24276. "type": "string"
  24277. },
  24278. "picurls": {
  24279. "description": "商品介绍图片[多张用逗号分隔]",
  24280. "type": "string"
  24281. },
  24282. "sellaccountid": {
  24283. "description": "卖方账号ID[报价币种]",
  24284. "type": "integer"
  24285. },
  24286. "sellorderid": {
  24287. "description": "卖方委托单号",
  24288. "type": "string"
  24289. },
  24290. "tradeamount": {
  24291. "description": "成交金额",
  24292. "type": "number"
  24293. },
  24294. "tradecharge": {
  24295. "description": "成交手续费(买方)",
  24296. "type": "number"
  24297. },
  24298. "tradedate": {
  24299. "description": "交易日(yyyyMMdd)",
  24300. "type": "string"
  24301. },
  24302. "tradeid": {
  24303. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24304. "type": "string"
  24305. },
  24306. "trademode": {
  24307. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24308. "type": "integer"
  24309. },
  24310. "tradeprice": {
  24311. "description": "成交价格",
  24312. "type": "number"
  24313. },
  24314. "tradeqty": {
  24315. "description": "成交数量",
  24316. "type": "integer"
  24317. }
  24318. }
  24319. },
  24320. "models.HsbySellMyDetail": {
  24321. "type": "object",
  24322. "required": [
  24323. "accountid",
  24324. "buyorsell",
  24325. "goodscode",
  24326. "goodsid",
  24327. "goodsname",
  24328. "marketid",
  24329. "orderid",
  24330. "time",
  24331. "trademode"
  24332. ],
  24333. "properties": {
  24334. "accountid": {
  24335. "description": "账户ID[报价币种]",
  24336. "type": "integer"
  24337. },
  24338. "agreeunit": {
  24339. "description": "合约单位",
  24340. "type": "number"
  24341. },
  24342. "buyorsell": {
  24343. "description": "买卖 - 0:买 1:卖",
  24344. "type": "integer"
  24345. },
  24346. "currencysign": {
  24347. "description": "货币符号",
  24348. "type": "string"
  24349. },
  24350. "decimalplace": {
  24351. "description": "报价小数位",
  24352. "type": "integer"
  24353. },
  24354. "goodscode": {
  24355. "description": "商品代码(内部)",
  24356. "type": "string"
  24357. },
  24358. "goodsid": {
  24359. "description": "商品ID",
  24360. "type": "integer"
  24361. },
  24362. "goodsname": {
  24363. "description": "商品名称",
  24364. "type": "string"
  24365. },
  24366. "marketid": {
  24367. "description": "市场ID",
  24368. "type": "integer"
  24369. },
  24370. "orderid": {
  24371. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24372. "type": "string"
  24373. },
  24374. "ordertype": {
  24375. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24376. "type": "integer"
  24377. },
  24378. "picurls": {
  24379. "description": "介绍图片[多张用逗号分隔]",
  24380. "type": "string"
  24381. },
  24382. "price": {
  24383. "description": "价格",
  24384. "type": "number"
  24385. },
  24386. "qty": {
  24387. "description": "数量",
  24388. "type": "integer"
  24389. },
  24390. "time": {
  24391. "description": "时间",
  24392. "type": "string"
  24393. },
  24394. "trademode": {
  24395. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24396. "type": "integer"
  24397. },
  24398. "vendorname": {
  24399. "description": "供应商名称",
  24400. "type": "string"
  24401. }
  24402. }
  24403. },
  24404. "models.HsbyTopGoods": {
  24405. "type": "object",
  24406. "required": [
  24407. "goodscode",
  24408. "goodsid",
  24409. "goodsname",
  24410. "marketid",
  24411. "trademode"
  24412. ],
  24413. "properties": {
  24414. "agreeunit": {
  24415. "description": "合约单位",
  24416. "type": "number"
  24417. },
  24418. "currency": {
  24419. "description": "货币",
  24420. "type": "string"
  24421. },
  24422. "currencysign": {
  24423. "description": "货币符号",
  24424. "type": "string"
  24425. },
  24426. "decimalplace": {
  24427. "description": "报价小数位",
  24428. "type": "integer"
  24429. },
  24430. "desccityid": {
  24431. "description": "目的地(市)",
  24432. "type": "integer"
  24433. },
  24434. "descprovinceid": {
  24435. "description": "目的地(省)",
  24436. "type": "integer"
  24437. },
  24438. "goodscode": {
  24439. "description": "商品代码(内部)",
  24440. "type": "string"
  24441. },
  24442. "goodsid": {
  24443. "description": "商品ID(自增ID SEQ_GOODS)",
  24444. "type": "integer"
  24445. },
  24446. "goodsname": {
  24447. "description": "商品名称",
  24448. "type": "string"
  24449. },
  24450. "hotindex": {
  24451. "description": "景点热度",
  24452. "type": "integer"
  24453. },
  24454. "last": {
  24455. "description": "现价",
  24456. "type": "number"
  24457. },
  24458. "marketid": {
  24459. "description": "所属市场ID",
  24460. "type": "integer"
  24461. },
  24462. "picurls": {
  24463. "description": "介绍图片[多张用逗号分隔]",
  24464. "type": "string"
  24465. },
  24466. "quoteminunit": {
  24467. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24468. "type": "integer"
  24469. },
  24470. "trademode": {
  24471. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24472. "type": "integer"
  24473. },
  24474. "videourls": {
  24475. "description": "介绍视频[多张用逗号分隔]",
  24476. "type": "string"
  24477. }
  24478. }
  24479. },
  24480. "models.HybsMyBuyOrderDetail": {
  24481. "type": "object",
  24482. "required": [
  24483. "accountid",
  24484. "buyorsell",
  24485. "goodscode",
  24486. "goodsid",
  24487. "goodsname",
  24488. "marketid",
  24489. "orderid",
  24490. "orderqty",
  24491. "ordertime",
  24492. "trademode"
  24493. ],
  24494. "properties": {
  24495. "accountid": {
  24496. "description": "账户ID[报价币种]",
  24497. "type": "integer"
  24498. },
  24499. "agreeunit": {
  24500. "description": "合约单位",
  24501. "type": "number"
  24502. },
  24503. "buyorsell": {
  24504. "description": "买卖 - 0:买 1:卖",
  24505. "type": "integer"
  24506. },
  24507. "cancelqty": {
  24508. "description": "撤单数量",
  24509. "type": "integer"
  24510. },
  24511. "currencysign": {
  24512. "description": "货币符号",
  24513. "type": "string"
  24514. },
  24515. "decimalplace": {
  24516. "description": "报价小数位",
  24517. "type": "integer"
  24518. },
  24519. "goodscode": {
  24520. "description": "商品代码(内部)",
  24521. "type": "string"
  24522. },
  24523. "goodsid": {
  24524. "description": "商品ID",
  24525. "type": "integer"
  24526. },
  24527. "goodsname": {
  24528. "description": "商品名称",
  24529. "type": "string"
  24530. },
  24531. "listingselecttype": {
  24532. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24533. "type": "integer"
  24534. },
  24535. "marketid": {
  24536. "description": "市场ID",
  24537. "type": "integer"
  24538. },
  24539. "mybuystatus": {
  24540. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24541. "type": "integer"
  24542. },
  24543. "orderamount": {
  24544. "description": "委托金额",
  24545. "type": "number"
  24546. },
  24547. "orderid": {
  24548. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24549. "type": "string"
  24550. },
  24551. "orderprice": {
  24552. "description": "委托价格",
  24553. "type": "number"
  24554. },
  24555. "orderqty": {
  24556. "description": "委托数量",
  24557. "type": "integer"
  24558. },
  24559. "orderstatus": {
  24560. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24561. "type": "integer"
  24562. },
  24563. "ordertime": {
  24564. "description": "委托时间",
  24565. "type": "string"
  24566. },
  24567. "picurls1": {
  24568. "description": "预售商品介绍图片[多张用逗号分隔]",
  24569. "type": "string"
  24570. },
  24571. "picurls2": {
  24572. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24573. "type": "string"
  24574. },
  24575. "trademode": {
  24576. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24577. "type": "integer"
  24578. },
  24579. "tradeqty": {
  24580. "description": "成交数量",
  24581. "type": "integer"
  24582. },
  24583. "vendorname1": {
  24584. "description": "预售商品供应商名称",
  24585. "type": "string"
  24586. },
  24587. "vendorname2": {
  24588. "description": "挂牌商品供应商名称",
  24589. "type": "string"
  24590. }
  24591. }
  24592. },
  24593. "models.Loginaccount": {
  24594. "type": "object",
  24595. "required": [
  24596. "loginid"
  24597. ],
  24598. "properties": {
  24599. "accountname": {
  24600. "description": "账户名称",
  24601. "type": "string"
  24602. },
  24603. "canoutin": {
  24604. "description": "是否可出入金 - 0:不可 1:可",
  24605. "type": "integer"
  24606. },
  24607. "clientroleid": {
  24608. "description": "终端角色ID",
  24609. "type": "integer"
  24610. },
  24611. "haslogined": {
  24612. "description": "是否已登录 - 0:未登录 1:已登录",
  24613. "type": "integer"
  24614. },
  24615. "hasupdatedpwd": {
  24616. "description": "是否已更改密码 - 0:未修改 1:已修改",
  24617. "type": "integer"
  24618. },
  24619. "lastloginip": {
  24620. "description": "最新登录地址",
  24621. "type": "string"
  24622. },
  24623. "lastloginmode": {
  24624. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24625. "type": "integer"
  24626. },
  24627. "lastloginremark": {
  24628. "description": "最新登录描述",
  24629. "type": "string"
  24630. },
  24631. "lastlogintime": {
  24632. "description": "最新登录时间",
  24633. "type": "string"
  24634. },
  24635. "logincode": {
  24636. "description": "登录代码",
  24637. "type": "string"
  24638. },
  24639. "loginfailnum": {
  24640. "description": "连续登录失败次数(登录成功时清零)",
  24641. "type": "integer"
  24642. },
  24643. "loginid": {
  24644. "description": "登陆账号",
  24645. "type": "integer"
  24646. },
  24647. "loginport": {
  24648. "description": "最新登录端口",
  24649. "type": "integer"
  24650. },
  24651. "loginstatus": {
  24652. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  24653. "type": "integer"
  24654. },
  24655. "loginusertype": {
  24656. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  24657. "type": "integer"
  24658. },
  24659. "mobile": {
  24660. "description": "手机号码(加密存储)",
  24661. "type": "string"
  24662. },
  24663. "modifierid": {
  24664. "description": "修改人",
  24665. "type": "integer"
  24666. },
  24667. "modifysrc": {
  24668. "description": "审核来源 - 1:管理端 2:终端",
  24669. "type": "integer"
  24670. },
  24671. "modifytime": {
  24672. "description": "修改时间",
  24673. "type": "string"
  24674. },
  24675. "password": {
  24676. "description": "登陆密码",
  24677. "type": "string"
  24678. },
  24679. "pwdwrongcount": {
  24680. "description": "密码错误次数",
  24681. "type": "integer"
  24682. },
  24683. "relateduserid": {
  24684. "description": "关联用户ID(机构)",
  24685. "type": "integer"
  24686. },
  24687. "taaccountrighttype": {
  24688. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  24689. "type": "integer"
  24690. },
  24691. "unfreezetime": {
  24692. "description": "账户解冻时间",
  24693. "type": "string"
  24694. },
  24695. "userid": {
  24696. "description": "用户ID",
  24697. "type": "integer"
  24698. }
  24699. }
  24700. },
  24701. "models.MainAccountInfo": {
  24702. "type": "object",
  24703. "properties": {
  24704. "accountid": {
  24705. "description": "账号id",
  24706. "type": "integer"
  24707. },
  24708. "accountname": {
  24709. "description": "账号名称(taaccount表中的名称)",
  24710. "type": "string"
  24711. },
  24712. "appid": {
  24713. "description": "AppID",
  24714. "type": "string"
  24715. },
  24716. "authcode": {
  24717. "description": "授权码",
  24718. "type": "string"
  24719. },
  24720. "brokerid": {
  24721. "description": "经纪商id",
  24722. "type": "string"
  24723. },
  24724. "fcid": {
  24725. "description": "期货公司id",
  24726. "type": "integer"
  24727. },
  24728. "fcname": {
  24729. "description": "期货公司代码",
  24730. "type": "string"
  24731. },
  24732. "hedgeaccountcode": {
  24733. "description": "外部账号代码(主账号登录代码)",
  24734. "type": "string"
  24735. },
  24736. "hedgeaccountpwd": {
  24737. "description": "密码",
  24738. "type": "string"
  24739. },
  24740. "ismain": {
  24741. "description": "是否主账号",
  24742. "type": "integer"
  24743. },
  24744. "relateduserid": {
  24745. "description": "关联用户id",
  24746. "type": "integer"
  24747. },
  24748. "userid": {
  24749. "description": "关联用户id",
  24750. "type": "integer"
  24751. }
  24752. }
  24753. },
  24754. "models.Market": {
  24755. "type": "object",
  24756. "required": [
  24757. "marketid",
  24758. "marketstatus",
  24759. "openmethod",
  24760. "reckonpricealgorithm",
  24761. "trademode",
  24762. "tradeproperty"
  24763. ],
  24764. "properties": {
  24765. "auctionwrtype": {
  24766. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  24767. "type": "integer"
  24768. },
  24769. "canacceptquote": {
  24770. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  24771. "type": "integer"
  24772. },
  24773. "cangoodsexercise": {
  24774. "description": "[期权]是否可现货行权- 0:否 1:是",
  24775. "type": "integer"
  24776. },
  24777. "cangoodsexercisetype": {
  24778. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  24779. "type": "integer"
  24780. },
  24781. "canmanualquotestrike": {
  24782. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  24783. "type": "integer"
  24784. },
  24785. "canmutistage": {
  24786. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  24787. "type": "integer"
  24788. },
  24789. "canpreexercise": {
  24790. "description": "[期权]是否可预申报- 0:否 1:是",
  24791. "type": "integer"
  24792. },
  24793. "clearinterval": {
  24794. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  24795. "type": "integer"
  24796. },
  24797. "contracttmp": {
  24798. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  24799. "type": "string"
  24800. },
  24801. "exchareaid": {
  24802. "description": "所属交易所,可以没有",
  24803. "type": "integer"
  24804. },
  24805. "goodstype": {
  24806. "description": "商品类型 - 1:交易商品 2:仓单商品",
  24807. "type": "integer"
  24808. },
  24809. "hasrebate": {
  24810. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  24811. "type": "integer"
  24812. },
  24813. "hastradecredit": {
  24814. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  24815. "type": "integer"
  24816. },
  24817. "haswr": {
  24818. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  24819. "type": "integer"
  24820. },
  24821. "isdeductmargin": {
  24822. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  24823. "type": "integer"
  24824. },
  24825. "isrecordsource": {
  24826. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  24827. "type": "integer"
  24828. },
  24829. "isreleasemargin": {
  24830. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  24831. "type": "integer"
  24832. },
  24833. "marginformula": {
  24834. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24835. "type": "integer"
  24836. },
  24837. "marginformula2": {
  24838. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24839. "type": "integer"
  24840. },
  24841. "marketid": {
  24842. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24843. "type": "integer"
  24844. },
  24845. "marketname": {
  24846. "description": "市场名称",
  24847. "type": "string"
  24848. },
  24849. "marketserviceid": {
  24850. "description": "市场服务ID",
  24851. "type": "integer"
  24852. },
  24853. "marketstatus": {
  24854. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24855. "type": "integer"
  24856. },
  24857. "markettype": {
  24858. "description": "市场类型- 1:非交易服务 2:交易服务",
  24859. "type": "integer"
  24860. },
  24861. "matchermode": {
  24862. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  24863. "type": "integer"
  24864. },
  24865. "openmethod": {
  24866. "description": "开盘模式 - 0 自动 1手动",
  24867. "type": "integer"
  24868. },
  24869. "otcuserid": {
  24870. "description": "场外期权做市商[场外期权]",
  24871. "type": "integer"
  24872. },
  24873. "outersynctime": {
  24874. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  24875. "type": "string"
  24876. },
  24877. "pendingflag": {
  24878. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  24879. "type": "integer"
  24880. },
  24881. "pendingtime": {
  24882. "description": "待开市时间[通道交易-对冲](HH:mm)",
  24883. "type": "string"
  24884. },
  24885. "performancetempid": {
  24886. "description": "履约计划模板ID - 作废",
  24887. "type": "integer"
  24888. },
  24889. "premiumquotemode": {
  24890. "description": "权利金报价方式 - 1:自动 2:手动",
  24891. "type": "integer"
  24892. },
  24893. "rebateratio": {
  24894. "description": "返利比率[竞价式]",
  24895. "type": "number"
  24896. },
  24897. "reckonorder": {
  24898. "description": "结算顺序",
  24899. "type": "integer"
  24900. },
  24901. "reckonpricealgorithm": {
  24902. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  24903. "type": "integer"
  24904. },
  24905. "reckonpriceparam": {
  24906. "description": "结算价参数",
  24907. "type": "integer"
  24908. },
  24909. "reckontime": {
  24910. "description": "结算时间[通道交易-对冲](HH:mm)",
  24911. "type": "string"
  24912. },
  24913. "roleprioritytype": {
  24914. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  24915. "type": "integer"
  24916. },
  24917. "selllistingauditflag": {
  24918. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  24919. "type": "integer"
  24920. },
  24921. "trademarkettype": {
  24922. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  24923. "type": "integer"
  24924. },
  24925. "trademode": {
  24926. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24927. "type": "integer"
  24928. },
  24929. "tradeproperty": {
  24930. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  24931. "type": "integer"
  24932. },
  24933. "tradetype": {
  24934. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  24935. "type": "integer"
  24936. }
  24937. }
  24938. },
  24939. "models.Marketrun": {
  24940. "type": "object",
  24941. "required": [
  24942. "marketid",
  24943. "nexttradedate",
  24944. "reckonflag",
  24945. "runstatus",
  24946. "tradedate",
  24947. "tradedate2"
  24948. ],
  24949. "properties": {
  24950. "afternexttradedate": {
  24951. "description": "下下交易日",
  24952. "type": "string"
  24953. },
  24954. "clearquoteflag": {
  24955. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  24956. "type": "integer"
  24957. },
  24958. "lastreckondate": {
  24959. "description": "最新交易日(结算成功)",
  24960. "type": "string"
  24961. },
  24962. "machinedate": {
  24963. "description": "机器时间",
  24964. "type": "string"
  24965. },
  24966. "manualflag": {
  24967. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  24968. "type": "integer"
  24969. },
  24970. "marketid": {
  24971. "description": "市场ID",
  24972. "type": "integer"
  24973. },
  24974. "nexttradedate": {
  24975. "description": "下一交易日",
  24976. "type": "string"
  24977. },
  24978. "pretradedate": {
  24979. "description": "上一交易日",
  24980. "type": "string"
  24981. },
  24982. "reckonflag": {
  24983. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  24984. "type": "integer"
  24985. },
  24986. "runstatus": {
  24987. "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.今日免清算",
  24988. "type": "integer"
  24989. },
  24990. "sectionid": {
  24991. "description": "时间段号[多时段时用]",
  24992. "type": "integer"
  24993. },
  24994. "tradedate": {
  24995. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  24996. "type": "string"
  24997. },
  24998. "tradedate2": {
  24999. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  25000. "type": "string"
  25001. },
  25002. "updatetime": {
  25003. "description": "更新时间",
  25004. "type": "string"
  25005. }
  25006. }
  25007. },
  25008. "models.Messageboard": {
  25009. "type": "object",
  25010. "required": [
  25011. "messageboardid"
  25012. ],
  25013. "properties": {
  25014. "contactnum": {
  25015. "description": "联系电话",
  25016. "type": "string"
  25017. },
  25018. "createtime": {
  25019. "description": "创建时间",
  25020. "type": "string"
  25021. },
  25022. "message": {
  25023. "description": "留言信息",
  25024. "type": "string"
  25025. },
  25026. "messageboardid": {
  25027. "description": "留言簿ID(SEQ_MessageBoard)",
  25028. "type": "integer"
  25029. },
  25030. "userid": {
  25031. "description": "用户ID",
  25032. "type": "integer"
  25033. }
  25034. }
  25035. },
  25036. "models.MyCoupon": {
  25037. "type": "object",
  25038. "required": [
  25039. "accountid",
  25040. "coupontypeid"
  25041. ],
  25042. "properties": {
  25043. "accountid": {
  25044. "description": "资金账户ID",
  25045. "type": "integer"
  25046. },
  25047. "areauserid": {
  25048. "description": "所属机构",
  25049. "type": "integer"
  25050. },
  25051. "conditionvalue": {
  25052. "description": "条件阈值(可为0)",
  25053. "type": "number"
  25054. },
  25055. "couponcategroy": {
  25056. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25057. "type": "integer"
  25058. },
  25059. "couponname": {
  25060. "description": "优惠券名称",
  25061. "type": "string"
  25062. },
  25063. "coupontypeid": {
  25064. "description": "优惠券类型ID",
  25065. "type": "string"
  25066. },
  25067. "couponvalue": {
  25068. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25069. "type": "number"
  25070. },
  25071. "curfreezeqty": {
  25072. "description": "期末冻结数量",
  25073. "type": "integer"
  25074. },
  25075. "curqty": {
  25076. "description": "期末数量",
  25077. "type": "integer"
  25078. },
  25079. "isgeneral": {
  25080. "description": "是否通用券 - 0:否 1:是",
  25081. "type": "integer"
  25082. },
  25083. "isunusable": {
  25084. "description": "是否不可用",
  25085. "type": "boolean"
  25086. },
  25087. "limitedflag": {
  25088. "description": "是否指定商品 - 0:不限 1:限制",
  25089. "type": "integer"
  25090. },
  25091. "limitedgoodsids": {
  25092. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25093. "type": "string"
  25094. },
  25095. "orifreezeqty": {
  25096. "description": "期初冻结数量",
  25097. "type": "integer"
  25098. },
  25099. "oriqty": {
  25100. "description": "期初数量",
  25101. "type": "integer"
  25102. },
  25103. "reasontype": {
  25104. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25105. "type": "integer"
  25106. },
  25107. "todaydecrease": {
  25108. "description": "今日减少",
  25109. "type": "integer"
  25110. },
  25111. "todayincrease": {
  25112. "description": "今日增加",
  25113. "type": "integer"
  25114. },
  25115. "userid": {
  25116. "description": "用户ID",
  25117. "type": "integer"
  25118. },
  25119. "userscope": {
  25120. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25121. "type": "string"
  25122. }
  25123. }
  25124. },
  25125. "models.MyCouponHold": {
  25126. "type": "object",
  25127. "required": [
  25128. "couponholdid"
  25129. ],
  25130. "properties": {
  25131. "accountid": {
  25132. "description": "资金账户ID",
  25133. "type": "integer"
  25134. },
  25135. "conditionvalue": {
  25136. "description": "条件阈值(可为0)",
  25137. "type": "number"
  25138. },
  25139. "couponcategroy": {
  25140. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25141. "type": "integer"
  25142. },
  25143. "couponholdid": {
  25144. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25145. "type": "string"
  25146. },
  25147. "couponname": {
  25148. "description": "优惠券名称",
  25149. "type": "string"
  25150. },
  25151. "coupontypeid": {
  25152. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25153. "type": "string"
  25154. },
  25155. "couponvalue": {
  25156. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25157. "type": "number"
  25158. },
  25159. "createtime": {
  25160. "description": "创建时间",
  25161. "type": "string"
  25162. },
  25163. "enddate": {
  25164. "description": "结束日期",
  25165. "type": "string"
  25166. },
  25167. "giveapplyid": {
  25168. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25169. "type": "integer"
  25170. },
  25171. "holdstatus": {
  25172. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25173. "type": "integer"
  25174. },
  25175. "isgeneral": {
  25176. "description": "是否通用券 - 0:否 1:是",
  25177. "type": "integer"
  25178. },
  25179. "limitedflag": {
  25180. "description": "是否指定商品 - 0:不限 1:限制",
  25181. "type": "integer"
  25182. },
  25183. "limitedgoodsids": {
  25184. "description": "指定商品IDs[逗号分隔]",
  25185. "type": "string"
  25186. },
  25187. "qty": {
  25188. "description": "数量(按1平铺)",
  25189. "type": "integer"
  25190. },
  25191. "startdate": {
  25192. "description": "开始日期",
  25193. "type": "string"
  25194. },
  25195. "userid": {
  25196. "description": "用户ID",
  25197. "type": "integer"
  25198. },
  25199. "userscope": {
  25200. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25201. "type": "string"
  25202. }
  25203. }
  25204. },
  25205. "models.MyUsedCoupon": {
  25206. "type": "object",
  25207. "required": [
  25208. "coupontypeid",
  25209. "orderid"
  25210. ],
  25211. "properties": {
  25212. "accountid": {
  25213. "description": "资金账户ID(买方)",
  25214. "type": "integer"
  25215. },
  25216. "conditionvalue": {
  25217. "description": "条件阈值(可为0)",
  25218. "type": "number"
  25219. },
  25220. "couponcategroy": {
  25221. "description": "种类 - 1:现金券 2:折扣券",
  25222. "type": "integer"
  25223. },
  25224. "couponname": {
  25225. "description": "优惠券名称",
  25226. "type": "string"
  25227. },
  25228. "coupontypeid": {
  25229. "description": "优惠券类型ID(买方)",
  25230. "type": "string"
  25231. },
  25232. "couponvalue": {
  25233. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25234. "type": "number"
  25235. },
  25236. "createtime": {
  25237. "description": "创建时间",
  25238. "type": "string"
  25239. },
  25240. "goodsid": {
  25241. "description": "商品ID",
  25242. "type": "integer"
  25243. },
  25244. "handlestatus": {
  25245. "description": "处理状态",
  25246. "type": "integer"
  25247. },
  25248. "marketid": {
  25249. "description": "市场ID",
  25250. "type": "integer"
  25251. },
  25252. "offamount": {
  25253. "description": "优惠金额",
  25254. "type": "number"
  25255. },
  25256. "orderid": {
  25257. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25258. "type": "string"
  25259. },
  25260. "sellaccountid": {
  25261. "description": "资金账户ID(卖方)",
  25262. "type": "integer"
  25263. },
  25264. "tradeamount": {
  25265. "description": "成交金额",
  25266. "type": "number"
  25267. },
  25268. "tradeid": {
  25269. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25270. "type": "string"
  25271. },
  25272. "usedqty": {
  25273. "description": "使用数量",
  25274. "type": "integer"
  25275. }
  25276. }
  25277. },
  25278. "models.OperationPrimaryMenu": {
  25279. "type": "object",
  25280. "properties": {
  25281. "Children": {
  25282. "description": "二级功能菜单",
  25283. "type": "array",
  25284. "items": {
  25285. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25286. }
  25287. },
  25288. "Key": {
  25289. "description": "菜单KEY",
  25290. "type": "string"
  25291. },
  25292. "Label": {
  25293. "description": "菜单标题",
  25294. "type": "string"
  25295. }
  25296. }
  25297. },
  25298. "models.OperationSecondaryMenu": {
  25299. "type": "object",
  25300. "properties": {
  25301. "Key": {
  25302. "description": "菜单KEY",
  25303. "type": "string"
  25304. },
  25305. "Label": {
  25306. "description": "菜单标题",
  25307. "type": "string"
  25308. },
  25309. "TabList": {
  25310. "description": "三级功能菜单",
  25311. "type": "array",
  25312. "items": {
  25313. "$ref": "#/definitions/models.OperationTabMenu"
  25314. }
  25315. }
  25316. }
  25317. },
  25318. "models.OperationTabMenu": {
  25319. "type": "object",
  25320. "properties": {
  25321. "Key": {
  25322. "description": "菜单KEY",
  25323. "type": "string"
  25324. },
  25325. "Label": {
  25326. "description": "菜单标题",
  25327. "type": "string"
  25328. }
  25329. }
  25330. },
  25331. "models.PendingAuditBizModel": {
  25332. "type": "object",
  25333. "properties": {
  25334. "accountid": {
  25335. "description": "现货账户",
  25336. "type": "string"
  25337. },
  25338. "areaname": {
  25339. "description": "所属部门",
  25340. "type": "string"
  25341. },
  25342. "bizid": {
  25343. "description": "业务ID",
  25344. "type": "string"
  25345. },
  25346. "bizname": {
  25347. "description": "业务名称",
  25348. "type": "string"
  25349. },
  25350. "status": {
  25351. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25352. "type": "integer"
  25353. },
  25354. "type": {
  25355. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25356. "type": "integer"
  25357. }
  25358. }
  25359. },
  25360. "models.QhjAccountOutInApply": {
  25361. "type": "object",
  25362. "properties": {
  25363. "accountcode": {
  25364. "description": "资金账号",
  25365. "type": "string"
  25366. },
  25367. "accountname": {
  25368. "description": "用户名称(名称)",
  25369. "type": "string"
  25370. },
  25371. "accountpwd": {
  25372. "description": "资金密码",
  25373. "type": "string"
  25374. },
  25375. "accountticket": {
  25376. "description": "最新账户服务流水号",
  25377. "type": "string"
  25378. },
  25379. "amount": {
  25380. "description": "金额",
  25381. "type": "number"
  25382. },
  25383. "applyremark": {
  25384. "description": "申请备注",
  25385. "type": "string"
  25386. },
  25387. "applystatus": {
  25388. "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: 复审通过,账户冻结金额检查中;",
  25389. "type": "integer"
  25390. },
  25391. "auditid": {
  25392. "description": "审核人",
  25393. "type": "integer"
  25394. },
  25395. "audittime": {
  25396. "description": "审核时间",
  25397. "type": "string"
  25398. },
  25399. "bank_apply_ticket": {
  25400. "description": "银行申请流水",
  25401. "type": "string"
  25402. },
  25403. "bankaccountname": {
  25404. "description": "银行账户名",
  25405. "type": "string"
  25406. },
  25407. "bankaccountno": {
  25408. "description": "银行卡号",
  25409. "type": "string"
  25410. },
  25411. "bankid": {
  25412. "description": "银行编号",
  25413. "type": "string"
  25414. },
  25415. "bankticket": {
  25416. "description": "银行流水",
  25417. "type": "string"
  25418. },
  25419. "branchbankid": {
  25420. "description": "银行支行号",
  25421. "type": "string"
  25422. },
  25423. "branchbankname": {
  25424. "description": "银行支行名称",
  25425. "type": "string"
  25426. },
  25427. "capamountout": {
  25428. "description": "出金(劣后本金) - 外部子账户",
  25429. "type": "number"
  25430. },
  25431. "certificatephotourl": {
  25432. "description": "凭证地址",
  25433. "type": "string"
  25434. },
  25435. "charge": {
  25436. "description": "手续费",
  25437. "type": "number"
  25438. },
  25439. "checkerrorflag": {
  25440. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25441. "type": "integer"
  25442. },
  25443. "currency": {
  25444. "description": "币种",
  25445. "type": "string"
  25446. },
  25447. "cusbankid": {
  25448. "description": "托管银行编号",
  25449. "type": "string"
  25450. },
  25451. "exchticket": {
  25452. "description": "银行服务流水号",
  25453. "type": "string"
  25454. },
  25455. "executetype": {
  25456. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25457. "type": "integer"
  25458. },
  25459. "extendinfo": {
  25460. "description": "扩展信息",
  25461. "type": "string"
  25462. },
  25463. "extoperateid": {
  25464. "description": "交易服务流水号",
  25465. "type": "integer"
  25466. },
  25467. "infamount": {
  25468. "description": "劣后金额(自有)",
  25469. "type": "number"
  25470. },
  25471. "logincode": {
  25472. "description": "登录账号(账号)",
  25473. "type": "string"
  25474. },
  25475. "netaddr": {
  25476. "description": "调转网址",
  25477. "type": "string"
  25478. },
  25479. "priamount": {
  25480. "description": "优先金额(授信)",
  25481. "type": "number"
  25482. },
  25483. "reauditid": {
  25484. "description": "复审人",
  25485. "type": "integer"
  25486. },
  25487. "reauditremark": {
  25488. "description": "复审备注",
  25489. "type": "string"
  25490. },
  25491. "reaudittime": {
  25492. "description": "复审时间",
  25493. "type": "string"
  25494. },
  25495. "relatedorderid": {
  25496. "description": "三方关联ID",
  25497. "type": "string"
  25498. },
  25499. "remark": {
  25500. "description": "备注",
  25501. "type": "string"
  25502. },
  25503. "remark2": {
  25504. "description": "备注(失败原因)",
  25505. "type": "string"
  25506. },
  25507. "soucreamount": {
  25508. "description": "原始出入金金额",
  25509. "type": "number"
  25510. },
  25511. "soucrecurrencyid": {
  25512. "description": "原始出入金币种",
  25513. "type": "integer"
  25514. },
  25515. "tradedate": {
  25516. "description": "交易日(yyyyMMdd)",
  25517. "type": "string"
  25518. },
  25519. "updatetime": {
  25520. "description": "更新时间(申请时间)",
  25521. "type": "string"
  25522. },
  25523. "userid": {
  25524. "description": "用户id",
  25525. "type": "integer"
  25526. },
  25527. "userinfotype": {
  25528. "description": "账户类型 1-个人 2-企业",
  25529. "type": "integer"
  25530. }
  25531. }
  25532. },
  25533. "models.QhjAgreementChangeLog": {
  25534. "type": "object",
  25535. "properties": {
  25536. "agreementcontent": {
  25537. "description": "协议内容",
  25538. "type": "string"
  25539. },
  25540. "agreementfrequency": {
  25541. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25542. "type": "integer"
  25543. },
  25544. "agreementid": {
  25545. "description": "协议ID",
  25546. "type": "integer"
  25547. },
  25548. "agreementname": {
  25549. "description": "协议名称",
  25550. "type": "string"
  25551. },
  25552. "agreementno": {
  25553. "description": "协议编号",
  25554. "type": "string"
  25555. },
  25556. "agreementtype": {
  25557. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25558. "type": "integer"
  25559. },
  25560. "agreementversion": {
  25561. "description": "协议版本号",
  25562. "type": "integer"
  25563. },
  25564. "logid": {
  25565. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25566. "type": "integer"
  25567. },
  25568. "reviserid": {
  25569. "description": "修改人",
  25570. "type": "integer"
  25571. },
  25572. "revisersrc": {
  25573. "description": "修改来源 - 1:管理端 2:终端",
  25574. "type": "integer"
  25575. },
  25576. "updatetime": {
  25577. "description": "更新时间",
  25578. "type": "string"
  25579. }
  25580. }
  25581. },
  25582. "models.QhjAgreementConfig": {
  25583. "type": "object",
  25584. "properties": {
  25585. "agreementcontent": {
  25586. "description": "协议内容",
  25587. "type": "string"
  25588. },
  25589. "agreementfrequency": {
  25590. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25591. "type": "integer"
  25592. },
  25593. "agreementid": {
  25594. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  25595. "type": "integer"
  25596. },
  25597. "agreementname": {
  25598. "description": "协议名称",
  25599. "type": "string"
  25600. },
  25601. "agreementno": {
  25602. "description": "协议编号",
  25603. "type": "string"
  25604. },
  25605. "agreementtype": {
  25606. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25607. "type": "integer"
  25608. },
  25609. "agreementversion": {
  25610. "description": "协议版本号(从1开始每次修改加1)",
  25611. "type": "integer"
  25612. },
  25613. "createtime": {
  25614. "description": "创建时间",
  25615. "type": "string"
  25616. },
  25617. "creatorid": {
  25618. "description": "创建人",
  25619. "type": "integer"
  25620. },
  25621. "creatorsrc": {
  25622. "description": "创建来源 - 1:管理端 2:终端",
  25623. "type": "integer"
  25624. },
  25625. "isvalid": {
  25626. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  25627. "type": "integer"
  25628. },
  25629. "reviserid": {
  25630. "description": "修改人",
  25631. "type": "integer"
  25632. },
  25633. "revisersrc": {
  25634. "description": "修改来源 - 1:管理端 2:终端",
  25635. "type": "integer"
  25636. },
  25637. "updatetime": {
  25638. "description": "更新时间",
  25639. "type": "string"
  25640. }
  25641. }
  25642. },
  25643. "models.QhjAreaFinanceConfig": {
  25644. "type": "object",
  25645. "properties": {
  25646. "additionalratio": {
  25647. "description": "追加款比例",
  25648. "type": "number"
  25649. },
  25650. "advanceratio": {
  25651. "description": "预付款比例",
  25652. "type": "number"
  25653. },
  25654. "alarmratio": {
  25655. "description": "告警比例",
  25656. "type": "number"
  25657. },
  25658. "consumptiondirectreward": {
  25659. "description": "消费直推奖励值",
  25660. "type": "number"
  25661. },
  25662. "consumptionenabled": {
  25663. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  25664. "type": "integer"
  25665. },
  25666. "consumptionindirectreward": {
  25667. "description": "消费间推奖励值",
  25668. "type": "number"
  25669. },
  25670. "consumptionmodel": {
  25671. "description": "消费奖励方式 - 1:比率 2:固定",
  25672. "type": "integer"
  25673. },
  25674. "customerservicenum": {
  25675. "description": "客服电话",
  25676. "type": "string"
  25677. },
  25678. "dayinterestrate": {
  25679. "description": "日利率",
  25680. "type": "number"
  25681. },
  25682. "disableconsumptiontips": {
  25683. "description": "关闭消费奖励提示",
  25684. "type": "string"
  25685. },
  25686. "modifierid": {
  25687. "description": "修改人ID",
  25688. "type": "integer"
  25689. },
  25690. "modifysrc": {
  25691. "description": "审核来源 - 1:管理端 2:终端",
  25692. "type": "integer"
  25693. },
  25694. "modifytime": {
  25695. "description": "修改时间",
  25696. "type": "string"
  25697. },
  25698. "promotionvalue": {
  25699. "description": "推广奖励值(固定)",
  25700. "type": "number"
  25701. },
  25702. "scoreconfigvalue1": {
  25703. "description": "提货积分配置1",
  25704. "type": "integer"
  25705. },
  25706. "scoreconfigvalue2": {
  25707. "description": "提货积分配置2",
  25708. "type": "integer"
  25709. },
  25710. "userid": {
  25711. "description": "机构用户ID其他做市关系,都设置为 1",
  25712. "type": "integer"
  25713. },
  25714. "username": {
  25715. "description": "用户名称",
  25716. "type": "string"
  25717. }
  25718. }
  25719. },
  25720. "models.QhjBankAccountSign": {
  25721. "type": "object",
  25722. "properties": {
  25723. "accountcode": {
  25724. "description": "资金账号",
  25725. "type": "string"
  25726. },
  25727. "accountname": {
  25728. "description": "资金账号对应的账号名(UserName)",
  25729. "type": "string"
  25730. },
  25731. "accountname2": {
  25732. "description": "资金账号对应的账号名(UserName) - 密文",
  25733. "type": "string"
  25734. },
  25735. "accounttype": {
  25736. "description": "账户类型(UserType)",
  25737. "type": "integer"
  25738. },
  25739. "applicationtime": {
  25740. "description": "最后一次更新的时间",
  25741. "type": "string"
  25742. },
  25743. "applyexchticket": {
  25744. "description": "申请流水",
  25745. "type": "string"
  25746. },
  25747. "auditid": {
  25748. "description": "审核人",
  25749. "type": "integer"
  25750. },
  25751. "audittime": {
  25752. "description": "审核时间",
  25753. "type": "string"
  25754. },
  25755. "bankaccountname": {
  25756. "description": "签约银行卡账号名",
  25757. "type": "string"
  25758. },
  25759. "bankaccountname2": {
  25760. "description": "签约银行卡账号名 - 密文",
  25761. "type": "string"
  25762. },
  25763. "bankaccountno": {
  25764. "description": "银行卡号",
  25765. "type": "string"
  25766. },
  25767. "bankaccountno2": {
  25768. "description": "银行卡号 - 密文",
  25769. "type": "string"
  25770. },
  25771. "bankaccounttype": {
  25772. "description": "银行账户类型 - 1-对私; 2-对公",
  25773. "type": "integer"
  25774. },
  25775. "bankcardtype": {
  25776. "description": "银行卡类型",
  25777. "type": "integer"
  25778. },
  25779. "bankchildaccount": {
  25780. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  25781. "type": "string"
  25782. },
  25783. "bankcity": {
  25784. "description": "开户行城市",
  25785. "type": "string"
  25786. },
  25787. "bankid": {
  25788. "description": "签约银行ID",
  25789. "type": "string"
  25790. },
  25791. "bankname": {
  25792. "description": "签约银行名称",
  25793. "type": "string"
  25794. },
  25795. "bankprovince": {
  25796. "description": "开户行省份",
  25797. "type": "string"
  25798. },
  25799. "branchbankid": {
  25800. "description": "签约银行支行号",
  25801. "type": "string"
  25802. },
  25803. "branchbankname": {
  25804. "description": "签约银行支行名称",
  25805. "type": "string"
  25806. },
  25807. "cardno": {
  25808. "description": "证件号码",
  25809. "type": "string"
  25810. },
  25811. "cardno2": {
  25812. "description": "证件号码 - 密文",
  25813. "type": "string"
  25814. },
  25815. "cardtype": {
  25816. "description": "证件类型",
  25817. "type": "string"
  25818. },
  25819. "currency": {
  25820. "description": "币种",
  25821. "type": "string"
  25822. },
  25823. "cusbankid": {
  25824. "description": "托管银行编号",
  25825. "type": "string"
  25826. },
  25827. "direct": {
  25828. "description": "方向(可以判断那方先发起的签约)",
  25829. "type": "integer"
  25830. },
  25831. "exchticket": {
  25832. "description": "最后一次签约成功的流水号",
  25833. "type": "string"
  25834. },
  25835. "extendinfo": {
  25836. "description": "扩展信息(JSON字符串)",
  25837. "type": "string"
  25838. },
  25839. "mobilephone": {
  25840. "description": "手机号",
  25841. "type": "string"
  25842. },
  25843. "mobilephone2": {
  25844. "description": "手机号 - 密文",
  25845. "type": "string"
  25846. },
  25847. "netaddr": {
  25848. "description": "调转网址",
  25849. "type": "string"
  25850. },
  25851. "relateduserid": {
  25852. "description": "关联使用者userid",
  25853. "type": "integer"
  25854. },
  25855. "signstatus": {
  25856. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  25857. "type": "integer"
  25858. },
  25859. "updatetime": {
  25860. "description": "更新时间(签解约更新时间)",
  25861. "type": "string"
  25862. }
  25863. }
  25864. },
  25865. "models.QhjBankInfo": {
  25866. "type": "object",
  25867. "properties": {
  25868. "bankid": {
  25869. "description": "银行ID",
  25870. "type": "string"
  25871. },
  25872. "bankname": {
  25873. "description": "银行名称",
  25874. "type": "string"
  25875. },
  25876. "clearbankno": {
  25877. "description": "清算系统银行编号",
  25878. "type": "string"
  25879. },
  25880. "orderindex": {
  25881. "description": "排序顺序",
  25882. "type": "integer"
  25883. },
  25884. "status": {
  25885. "description": "状态 - 0:正常 1:注销",
  25886. "type": "integer"
  25887. }
  25888. }
  25889. },
  25890. "models.QhjBrokerApply": {
  25891. "type": "object",
  25892. "properties": {
  25893. "applicantid": {
  25894. "description": "申请人",
  25895. "type": "integer"
  25896. },
  25897. "applysrc": {
  25898. "description": "申请来源 - 1:管理端 2:终端",
  25899. "type": "integer"
  25900. },
  25901. "applystatus": {
  25902. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25903. "type": "integer"
  25904. },
  25905. "applytime": {
  25906. "description": "申请时间",
  25907. "type": "string"
  25908. },
  25909. "auditorid": {
  25910. "description": "审核人",
  25911. "type": "integer"
  25912. },
  25913. "auditremark": {
  25914. "description": "审核备注",
  25915. "type": "string"
  25916. },
  25917. "auditsrc": {
  25918. "description": "审核来源 - 1:管理端 2:终端",
  25919. "type": "integer"
  25920. },
  25921. "audittime": {
  25922. "description": "审核时间",
  25923. "type": "string"
  25924. },
  25925. "audittradedate": {
  25926. "description": "审核交易日(yyyyMMdd)",
  25927. "type": "string"
  25928. },
  25929. "brokerapplyid": {
  25930. "description": "申请ID(SEQ_BROKERAPPLY)",
  25931. "type": "integer"
  25932. },
  25933. "cardbackphotourl": {
  25934. "description": "证件背面图片地址",
  25935. "type": "string"
  25936. },
  25937. "cardfrontphotourl": {
  25938. "description": "证件正面图片地址",
  25939. "type": "string"
  25940. },
  25941. "cardnum": {
  25942. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25943. "type": "string"
  25944. },
  25945. "customername": {
  25946. "description": "姓名",
  25947. "type": "string"
  25948. },
  25949. "logincode": {
  25950. "description": "登录代码",
  25951. "type": "string"
  25952. },
  25953. "mobile": {
  25954. "description": "手机号码",
  25955. "type": "string"
  25956. },
  25957. "parentuserid": {
  25958. "description": "所属机构id",
  25959. "type": "integer"
  25960. },
  25961. "parentusername": {
  25962. "description": "所属机构名称",
  25963. "type": "string"
  25964. },
  25965. "refereeuserid": {
  25966. "description": "推荐人id(经纪人)",
  25967. "type": "integer"
  25968. },
  25969. "refernum": {
  25970. "description": "推荐码",
  25971. "type": "string"
  25972. },
  25973. "remark": {
  25974. "description": "备注",
  25975. "type": "string"
  25976. },
  25977. "subarealevelpath": {
  25978. "description": "层级路径",
  25979. "type": "string"
  25980. },
  25981. "tradedate": {
  25982. "description": "交易日(yyyyMMdd)",
  25983. "type": "string"
  25984. },
  25985. "userid": {
  25986. "description": "申请人用户ID",
  25987. "type": "integer"
  25988. },
  25989. "userinfotype": {
  25990. "description": "用户类型 1-个人 2-企业",
  25991. "type": "integer"
  25992. },
  25993. "username": {
  25994. "description": "用户名称",
  25995. "type": "string"
  25996. }
  25997. }
  25998. },
  25999. "models.QhjBrokerApplyEx": {
  26000. "type": "object",
  26001. "properties": {
  26002. "applylist": {
  26003. "description": "经纪人申请记录(只返回最新一条)",
  26004. "type": "array",
  26005. "items": {
  26006. "$ref": "#/definitions/models.QhjBrokerApply"
  26007. }
  26008. },
  26009. "canrecommend": {
  26010. "description": "是否经纪人 0-不是 1-是",
  26011. "type": "integer"
  26012. },
  26013. "refernum": {
  26014. "description": "推荐码",
  26015. "type": "string"
  26016. },
  26017. "userid": {
  26018. "description": "用户id",
  26019. "type": "integer"
  26020. },
  26021. "userinfotype": {
  26022. "description": "用户类型 1-个人 2-企业",
  26023. "type": "integer"
  26024. }
  26025. }
  26026. },
  26027. "models.QhjBrokerRewardLog": {
  26028. "type": "object",
  26029. "properties": {
  26030. "accountid": {
  26031. "description": "资金账号ID",
  26032. "type": "integer"
  26033. },
  26034. "createtime": {
  26035. "description": "创建时间(时间)",
  26036. "type": "string"
  26037. },
  26038. "handlestatus": {
  26039. "description": "处理状态",
  26040. "type": "integer"
  26041. },
  26042. "logid": {
  26043. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26044. "type": "string"
  26045. },
  26046. "marketid": {
  26047. "description": "市场ID",
  26048. "type": "integer"
  26049. },
  26050. "mmaccountid": {
  26051. "description": "做市商资金账号ID",
  26052. "type": "string"
  26053. },
  26054. "mmuserid": {
  26055. "description": "做市商用户ID",
  26056. "type": "string"
  26057. },
  26058. "rewardamount": {
  26059. "description": "奖励金额",
  26060. "type": "number"
  26061. },
  26062. "rewardmodel": {
  26063. "description": "消费奖励方式 - 1:比率 2:固定",
  26064. "type": "integer"
  26065. },
  26066. "rewardtype": {
  26067. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26068. "type": "integer"
  26069. },
  26070. "rewardvalue": {
  26071. "description": "配置奖励值",
  26072. "type": "number"
  26073. },
  26074. "srcamount": {
  26075. "description": "成交金额 [消费奖励] (金额)",
  26076. "type": "number"
  26077. },
  26078. "srcgoodsid": {
  26079. "description": "来源商品ID [消费奖励]",
  26080. "type": "string"
  26081. },
  26082. "srctime": {
  26083. "description": "来源时间 (成交时间) [消费奖励]",
  26084. "type": "string"
  26085. },
  26086. "srctradeid": {
  26087. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26088. "type": "string"
  26089. },
  26090. "srcuserid": {
  26091. "description": "来源用户ID(推广账户)",
  26092. "type": "string"
  26093. },
  26094. "srcusername": {
  26095. "description": "推广账户名称",
  26096. "type": "string"
  26097. },
  26098. "tradedate": {
  26099. "description": "交易日(yyyyMMdd)",
  26100. "type": "string"
  26101. },
  26102. "userid": {
  26103. "description": "经纪人用户ID",
  26104. "type": "integer"
  26105. }
  26106. }
  26107. },
  26108. "models.QhjContract": {
  26109. "type": "object",
  26110. "properties": {
  26111. "contractconfirmtime": {
  26112. "description": "合同确认时间(时间)",
  26113. "type": "string"
  26114. },
  26115. "currisklevel": {
  26116. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26117. "type": "integer"
  26118. },
  26119. "decimalplace": {
  26120. "description": "商品报价小数位",
  26121. "type": "integer"
  26122. },
  26123. "enumdicname": {
  26124. "description": "单位名称",
  26125. "type": "string"
  26126. },
  26127. "goodscode": {
  26128. "description": "商品代码",
  26129. "type": "string"
  26130. },
  26131. "goodsid": {
  26132. "description": "商品ID [5:融资单]",
  26133. "type": "integer"
  26134. },
  26135. "goodsname": {
  26136. "description": "商品名称",
  26137. "type": "string"
  26138. },
  26139. "goodunitid": {
  26140. "description": "商品单位id",
  26141. "type": "integer"
  26142. },
  26143. "initmargin": {
  26144. "description": "初始保证金(首付款)",
  26145. "type": "number"
  26146. },
  26147. "lenderamount": {
  26148. "description": "贷款金额(总额|订单总额)",
  26149. "type": "number"
  26150. },
  26151. "marginratio": {
  26152. "description": "保证金比率(首付比例)",
  26153. "type": "number"
  26154. },
  26155. "payamount": {
  26156. "description": "已付(已付货款)",
  26157. "type": "number"
  26158. },
  26159. "reckonrecovermargin": {
  26160. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26161. "type": "number"
  26162. },
  26163. "recoveredmargin": {
  26164. "description": "已追缴保证金",
  26165. "type": "number"
  26166. },
  26167. "remainamount": {
  26168. "description": "合同剩余金额(融资额)",
  26169. "type": "number"
  26170. },
  26171. "scfcontractid": {
  26172. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26173. "type": "string"
  26174. },
  26175. "scfcontractstatus": {
  26176. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26177. "type": "integer"
  26178. },
  26179. "scfcontracttype": {
  26180. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26181. "type": "integer"
  26182. },
  26183. "totalinterest": {
  26184. "description": "已计总利息(利息)",
  26185. "type": "number"
  26186. },
  26187. "tradeprice": {
  26188. "description": "成交价格(成本价格)",
  26189. "type": "number"
  26190. },
  26191. "userid": {
  26192. "description": "用户ID",
  26193. "type": "integer"
  26194. },
  26195. "username": {
  26196. "description": "用户名称",
  26197. "type": "string"
  26198. },
  26199. "wrqty": {
  26200. "description": "仓单数量(数量)",
  26201. "type": "number"
  26202. }
  26203. }
  26204. },
  26205. "models.QhjContractLog": {
  26206. "type": "object",
  26207. "properties": {
  26208. "amount": {
  26209. "description": "支付金额",
  26210. "type": "number"
  26211. },
  26212. "amounttype": {
  26213. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26214. "type": "integer"
  26215. },
  26216. "logid": {
  26217. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26218. "type": "string"
  26219. },
  26220. "remainamount": {
  26221. "description": "剩余货款",
  26222. "type": "number"
  26223. },
  26224. "scfcontractid": {
  26225. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26226. "type": "integer"
  26227. },
  26228. "updatetime": {
  26229. "description": "更新时间",
  26230. "type": "string"
  26231. }
  26232. }
  26233. },
  26234. "models.QhjCusBankSignBankEx": {
  26235. "type": "object",
  26236. "properties": {
  26237. "banklst": {
  26238. "description": "银行列表",
  26239. "type": "array",
  26240. "items": {
  26241. "$ref": "#/definitions/models.QhjBankInfo"
  26242. }
  26243. },
  26244. "canallot": {
  26245. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26246. "type": "integer"
  26247. },
  26248. "canallotquery": {
  26249. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26250. "type": "integer"
  26251. },
  26252. "canbindcard": {
  26253. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26254. "type": "integer"
  26255. },
  26256. "caninamount": {
  26257. "description": "是否可入金 - 0:不可 1:可以",
  26258. "type": "integer"
  26259. },
  26260. "caninamount2": {
  26261. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26262. "type": "integer"
  26263. },
  26264. "canmodifybankcard": {
  26265. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26266. "type": "integer"
  26267. },
  26268. "canmodifyphone": {
  26269. "description": "是否可修改手机号 - 0:不可 1:可以",
  26270. "type": "integer"
  26271. },
  26272. "canmodifysigninfo": {
  26273. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26274. "type": "integer"
  26275. },
  26276. "canoutamount": {
  26277. "description": "是否可出金 - 0:不可 1:可以",
  26278. "type": "integer"
  26279. },
  26280. "canoutamount2": {
  26281. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26282. "type": "integer"
  26283. },
  26284. "canrelease": {
  26285. "description": "是否可解约 - 0:不可 1:可以",
  26286. "type": "integer"
  26287. },
  26288. "canrelease2": {
  26289. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26290. "type": "integer"
  26291. },
  26292. "cansign": {
  26293. "description": "是否可签约 - 0:不可 1:可以",
  26294. "type": "integer"
  26295. },
  26296. "cansign2": {
  26297. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26298. "type": "integer"
  26299. },
  26300. "currency": {
  26301. "description": "币种",
  26302. "type": "string"
  26303. },
  26304. "cusbankid": {
  26305. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26306. "type": "string"
  26307. },
  26308. "cusbankname": {
  26309. "description": "银行业务名称",
  26310. "type": "string"
  26311. },
  26312. "cusbankshortname": {
  26313. "description": "银行业务简称",
  26314. "type": "string"
  26315. },
  26316. "exchbankid": {
  26317. "description": "交易所开户银行ID",
  26318. "type": "string"
  26319. },
  26320. "exchpaybankaccname": {
  26321. "description": "交易所支出结算账户户名",
  26322. "type": "string"
  26323. },
  26324. "exchpaybankaccno": {
  26325. "description": "交易所支出结算账户",
  26326. "type": "string"
  26327. },
  26328. "isneedcheck": {
  26329. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26330. "type": "integer"
  26331. },
  26332. "isneedclear": {
  26333. "description": "是否需要清算 - 0:不需要 1:需要",
  26334. "type": "integer"
  26335. },
  26336. "lastcheckstatus": {
  26337. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26338. "type": "integer"
  26339. },
  26340. "lastchecktime": {
  26341. "description": "最后对账时间",
  26342. "type": "string"
  26343. },
  26344. "lastclearstatus": {
  26345. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26346. "type": "integer"
  26347. },
  26348. "lastcleartime": {
  26349. "description": "最后清算时间",
  26350. "type": "string"
  26351. },
  26352. "lastsignintime": {
  26353. "description": "最后签到时间",
  26354. "type": "string"
  26355. },
  26356. "lastsignouttime": {
  26357. "description": "最后签退时间",
  26358. "type": "string"
  26359. },
  26360. "riskinfo": {
  26361. "description": "签约风险提示书",
  26362. "type": "string"
  26363. },
  26364. "signstatus": {
  26365. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26366. "type": "integer"
  26367. },
  26368. "tradedate": {
  26369. "description": "交易日(yyyyMMdd)",
  26370. "type": "string"
  26371. },
  26372. "updatetime": {
  26373. "description": "当前签到/签退更新时间",
  26374. "type": "string"
  26375. }
  26376. }
  26377. },
  26378. "models.QhjCustomer": {
  26379. "type": "object",
  26380. "properties": {
  26381. "address": {
  26382. "description": "通讯地址",
  26383. "type": "string"
  26384. },
  26385. "attachment1": {
  26386. "description": "附件1",
  26387. "type": "string"
  26388. },
  26389. "audittime": {
  26390. "description": "审核时间",
  26391. "type": "string"
  26392. },
  26393. "cardbackphotourl": {
  26394. "description": "证件反面图片地址",
  26395. "type": "string"
  26396. },
  26397. "cardfrontphotourl": {
  26398. "description": "证件正面图片地址",
  26399. "type": "string"
  26400. },
  26401. "cardnum": {
  26402. "description": "证件号码",
  26403. "type": "string"
  26404. },
  26405. "cardtype": {
  26406. "description": "证件类型",
  26407. "type": "integer"
  26408. },
  26409. "cardtypename": {
  26410. "description": "证件类型名称",
  26411. "type": "string"
  26412. },
  26413. "cityid": {
  26414. "description": "市",
  26415. "type": "integer"
  26416. },
  26417. "cityname": {
  26418. "description": "城市名称",
  26419. "type": "string"
  26420. },
  26421. "contactname": {
  26422. "description": "联系人",
  26423. "type": "string"
  26424. },
  26425. "countryid": {
  26426. "description": "国家",
  26427. "type": "integer"
  26428. },
  26429. "countryname": {
  26430. "description": "国家名称",
  26431. "type": "string"
  26432. },
  26433. "createtime": {
  26434. "description": "创建时间",
  26435. "type": "string"
  26436. },
  26437. "customername": {
  26438. "description": "客户名称",
  26439. "type": "string"
  26440. },
  26441. "districtid": {
  26442. "description": "区域",
  26443. "type": "integer"
  26444. },
  26445. "districtname": {
  26446. "description": "地区名称",
  26447. "type": "string"
  26448. },
  26449. "email": {
  26450. "description": "邮件",
  26451. "type": "string"
  26452. },
  26453. "legalpersonname": {
  26454. "description": "法人姓名(企业)",
  26455. "type": "string"
  26456. },
  26457. "logincode": {
  26458. "description": "登录账号(代码)",
  26459. "type": "string"
  26460. },
  26461. "memberuserid": {
  26462. "description": "所属机构ID(所属会员)",
  26463. "type": "integer"
  26464. },
  26465. "memberusername": {
  26466. "description": "所属会员名称",
  26467. "type": "string"
  26468. },
  26469. "mobile": {
  26470. "description": "手机号码",
  26471. "type": "string"
  26472. },
  26473. "modifytime": {
  26474. "description": "修改时间",
  26475. "type": "string"
  26476. },
  26477. "nickname": {
  26478. "description": "昵称",
  26479. "type": "string"
  26480. },
  26481. "parentuserid": {
  26482. "description": "上级机构(所属机构)",
  26483. "type": "integer"
  26484. },
  26485. "parentusername": {
  26486. "description": "所属机构名称",
  26487. "type": "string"
  26488. },
  26489. "provinceid": {
  26490. "description": "省",
  26491. "type": "integer"
  26492. },
  26493. "provincename": {
  26494. "description": "省名称",
  26495. "type": "string"
  26496. },
  26497. "proxystatementurl": {
  26498. "description": "授权委托书",
  26499. "type": "string"
  26500. },
  26501. "remark": {
  26502. "description": "备注",
  26503. "type": "string"
  26504. },
  26505. "status": {
  26506. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26507. "type": "integer"
  26508. },
  26509. "statusdesc": {
  26510. "description": "账户状态中文描述",
  26511. "type": "string"
  26512. },
  26513. "taxpayernum": {
  26514. "description": "纳税人识别号",
  26515. "type": "string"
  26516. },
  26517. "telphone": {
  26518. "description": "联系电话",
  26519. "type": "string"
  26520. },
  26521. "userid": {
  26522. "description": "用户ID",
  26523. "type": "integer"
  26524. },
  26525. "userinfotype": {
  26526. "description": "客户类型 1-个人 2-企业",
  26527. "type": "integer"
  26528. },
  26529. "username": {
  26530. "description": "用户名称",
  26531. "type": "string"
  26532. }
  26533. }
  26534. },
  26535. "models.QhjCustomerSignLog": {
  26536. "type": "object",
  26537. "properties": {
  26538. "agreementcontent": {
  26539. "description": "协议内容",
  26540. "type": "string"
  26541. },
  26542. "agreementid": {
  26543. "description": "协议ID",
  26544. "type": "integer"
  26545. },
  26546. "agreementname": {
  26547. "description": "协议名称",
  26548. "type": "string"
  26549. },
  26550. "agreementno": {
  26551. "description": "协议编号",
  26552. "type": "string"
  26553. },
  26554. "agreementtype": {
  26555. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26556. "type": "integer"
  26557. },
  26558. "agreementversion": {
  26559. "description": "协议版本号",
  26560. "type": "integer"
  26561. },
  26562. "createtime": {
  26563. "description": "创建时间",
  26564. "type": "string"
  26565. },
  26566. "goodscode": {
  26567. "description": "商品代码",
  26568. "type": "string"
  26569. },
  26570. "goodsid": {
  26571. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26572. "type": "integer"
  26573. },
  26574. "goodsname": {
  26575. "description": "商品名称",
  26576. "type": "string"
  26577. },
  26578. "logid": {
  26579. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  26580. "type": "integer"
  26581. },
  26582. "nodetype": {
  26583. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26584. "type": "integer"
  26585. },
  26586. "signadressurl": {
  26587. "description": "签约文件地址",
  26588. "type": "string"
  26589. },
  26590. "signtimestamp": {
  26591. "description": "签约状态时间戳",
  26592. "type": "string"
  26593. },
  26594. "userid": {
  26595. "description": "客户ID",
  26596. "type": "integer"
  26597. },
  26598. "username": {
  26599. "description": "客户名称",
  26600. "type": "string"
  26601. }
  26602. }
  26603. },
  26604. "models.QhjCustomerSignStatus": {
  26605. "type": "object",
  26606. "properties": {
  26607. "createtime": {
  26608. "description": "创建时间",
  26609. "type": "string"
  26610. },
  26611. "goodscode": {
  26612. "description": "商品代码",
  26613. "type": "string"
  26614. },
  26615. "goodsid": {
  26616. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26617. "type": "integer"
  26618. },
  26619. "goodsname": {
  26620. "description": "商品名称",
  26621. "type": "string"
  26622. },
  26623. "nodetype": {
  26624. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  26625. "type": "integer"
  26626. },
  26627. "signtimestamp": {
  26628. "description": "签约状态时间戳",
  26629. "type": "string"
  26630. },
  26631. "tradedate": {
  26632. "description": "创建交易日(yyyyMMdd)",
  26633. "type": "string"
  26634. },
  26635. "updatetime": {
  26636. "description": "更新时间",
  26637. "type": "string"
  26638. },
  26639. "userid": {
  26640. "description": "客户ID",
  26641. "type": "integer"
  26642. },
  26643. "username": {
  26644. "description": "客户名称",
  26645. "type": "string"
  26646. }
  26647. }
  26648. },
  26649. "models.QhjMgrAccountOutInApply": {
  26650. "type": "object",
  26651. "properties": {
  26652. "accountcode": {
  26653. "description": "资金账号",
  26654. "type": "string"
  26655. },
  26656. "accountname": {
  26657. "description": "用户名称(名称)",
  26658. "type": "string"
  26659. },
  26660. "accountpwd": {
  26661. "description": "资金密码",
  26662. "type": "string"
  26663. },
  26664. "accountticket": {
  26665. "description": "最新账户服务流水号",
  26666. "type": "string"
  26667. },
  26668. "amount": {
  26669. "description": "金额",
  26670. "type": "number"
  26671. },
  26672. "applyremark": {
  26673. "description": "申请备注",
  26674. "type": "string"
  26675. },
  26676. "applystatus": {
  26677. "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: 复审通过,账户冻结金额检查中;",
  26678. "type": "integer"
  26679. },
  26680. "auditid": {
  26681. "description": "审核人",
  26682. "type": "integer"
  26683. },
  26684. "audittime": {
  26685. "description": "审核时间",
  26686. "type": "string"
  26687. },
  26688. "bank_apply_ticket": {
  26689. "description": "银行申请流水",
  26690. "type": "string"
  26691. },
  26692. "bankaccountname": {
  26693. "description": "银行账户名",
  26694. "type": "string"
  26695. },
  26696. "bankaccountno": {
  26697. "description": "银行卡号",
  26698. "type": "string"
  26699. },
  26700. "bankid": {
  26701. "description": "银行编号",
  26702. "type": "string"
  26703. },
  26704. "bankname": {
  26705. "description": "银行名称",
  26706. "type": "string"
  26707. },
  26708. "bankticket": {
  26709. "description": "银行流水",
  26710. "type": "string"
  26711. },
  26712. "branchbankid": {
  26713. "description": "银行支行号",
  26714. "type": "string"
  26715. },
  26716. "branchbankname": {
  26717. "description": "银行支行名称",
  26718. "type": "string"
  26719. },
  26720. "capamountout": {
  26721. "description": "出金(劣后本金) - 外部子账户",
  26722. "type": "number"
  26723. },
  26724. "certificatephotourl": {
  26725. "description": "凭证地址",
  26726. "type": "string"
  26727. },
  26728. "charge": {
  26729. "description": "手续费",
  26730. "type": "number"
  26731. },
  26732. "checkerrorflag": {
  26733. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  26734. "type": "integer"
  26735. },
  26736. "currency": {
  26737. "description": "币种",
  26738. "type": "string"
  26739. },
  26740. "cusbankid": {
  26741. "description": "托管银行编号",
  26742. "type": "string"
  26743. },
  26744. "exchticket": {
  26745. "description": "银行服务流水号",
  26746. "type": "string"
  26747. },
  26748. "executetype": {
  26749. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  26750. "type": "integer"
  26751. },
  26752. "extendinfo": {
  26753. "description": "扩展信息",
  26754. "type": "string"
  26755. },
  26756. "extoperateid": {
  26757. "description": "交易服务流水号",
  26758. "type": "integer"
  26759. },
  26760. "infamount": {
  26761. "description": "劣后金额(自有)",
  26762. "type": "number"
  26763. },
  26764. "logincode": {
  26765. "description": "登录账号(账号)",
  26766. "type": "string"
  26767. },
  26768. "netaddr": {
  26769. "description": "调转网址",
  26770. "type": "string"
  26771. },
  26772. "priamount": {
  26773. "description": "优先金额(授信)",
  26774. "type": "number"
  26775. },
  26776. "reauditid": {
  26777. "description": "复审人",
  26778. "type": "integer"
  26779. },
  26780. "reauditremark": {
  26781. "description": "复审备注",
  26782. "type": "string"
  26783. },
  26784. "reaudittime": {
  26785. "description": "复审时间",
  26786. "type": "string"
  26787. },
  26788. "relatedorderid": {
  26789. "description": "三方关联ID",
  26790. "type": "string"
  26791. },
  26792. "remark": {
  26793. "description": "备注",
  26794. "type": "string"
  26795. },
  26796. "remark2": {
  26797. "description": "备注(失败原因)",
  26798. "type": "string"
  26799. },
  26800. "soucreamount": {
  26801. "description": "原始出入金金额",
  26802. "type": "number"
  26803. },
  26804. "soucrecurrencyid": {
  26805. "description": "原始出入金币种",
  26806. "type": "integer"
  26807. },
  26808. "tradedate": {
  26809. "description": "交易日(yyyyMMdd)",
  26810. "type": "string"
  26811. },
  26812. "updatetime": {
  26813. "description": "更新时间(申请时间)",
  26814. "type": "string"
  26815. },
  26816. "userid": {
  26817. "description": "用户id",
  26818. "type": "integer"
  26819. },
  26820. "userinfotype": {
  26821. "description": "账户类型 1-个人 2-企业",
  26822. "type": "integer"
  26823. }
  26824. }
  26825. },
  26826. "models.QhjMgrBrokerApply": {
  26827. "type": "object",
  26828. "properties": {
  26829. "applicantid": {
  26830. "description": "申请人",
  26831. "type": "integer"
  26832. },
  26833. "applysrc": {
  26834. "description": "申请来源 - 1:管理端 2:终端",
  26835. "type": "integer"
  26836. },
  26837. "applystatus": {
  26838. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26839. "type": "integer"
  26840. },
  26841. "applytime": {
  26842. "description": "申请时间",
  26843. "type": "string"
  26844. },
  26845. "auditorid": {
  26846. "description": "审核人",
  26847. "type": "integer"
  26848. },
  26849. "auditremark": {
  26850. "description": "审核备注",
  26851. "type": "string"
  26852. },
  26853. "auditsrc": {
  26854. "description": "审核来源 - 1:管理端 2:终端",
  26855. "type": "integer"
  26856. },
  26857. "audittime": {
  26858. "description": "审核时间",
  26859. "type": "string"
  26860. },
  26861. "audittradedate": {
  26862. "description": "审核交易日(yyyyMMdd)",
  26863. "type": "string"
  26864. },
  26865. "brokerapplyid": {
  26866. "description": "申请ID(SEQ_BROKERAPPLY)",
  26867. "type": "integer"
  26868. },
  26869. "cardbackphotourl": {
  26870. "description": "证件背面图片地址",
  26871. "type": "string"
  26872. },
  26873. "cardfrontphotourl": {
  26874. "description": "证件正面图片地址",
  26875. "type": "string"
  26876. },
  26877. "cardnum": {
  26878. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26879. "type": "string"
  26880. },
  26881. "customername": {
  26882. "description": "姓名",
  26883. "type": "string"
  26884. },
  26885. "filterstatus": {
  26886. "description": "筛选条件",
  26887. "type": "string"
  26888. },
  26889. "logincode": {
  26890. "description": "登录代码",
  26891. "type": "string"
  26892. },
  26893. "mobile": {
  26894. "description": "手机号码",
  26895. "type": "string"
  26896. },
  26897. "parentuserid": {
  26898. "description": "所属机构id",
  26899. "type": "integer"
  26900. },
  26901. "parentusername": {
  26902. "description": "所属机构名称",
  26903. "type": "string"
  26904. },
  26905. "refereeuserid": {
  26906. "description": "推荐人id(经纪人)",
  26907. "type": "integer"
  26908. },
  26909. "refernum": {
  26910. "description": "推荐码",
  26911. "type": "string"
  26912. },
  26913. "remark": {
  26914. "description": "备注",
  26915. "type": "string"
  26916. },
  26917. "subarealevelpath": {
  26918. "description": "层级路径",
  26919. "type": "string"
  26920. },
  26921. "tradedate": {
  26922. "description": "交易日(yyyyMMdd)",
  26923. "type": "string"
  26924. },
  26925. "userid": {
  26926. "description": "申请人用户ID",
  26927. "type": "integer"
  26928. },
  26929. "userinfotype": {
  26930. "description": "用户类型 1-个人 2-企业",
  26931. "type": "integer"
  26932. },
  26933. "username": {
  26934. "description": "用户名称",
  26935. "type": "string"
  26936. }
  26937. }
  26938. },
  26939. "models.QhjMgrBrokerRewardReport": {
  26940. "type": "object",
  26941. "properties": {
  26942. "createtime": {
  26943. "description": "创建时间(注册时间)",
  26944. "type": "string"
  26945. },
  26946. "cycletime": {
  26947. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  26948. "type": "string"
  26949. },
  26950. "cycletype": {
  26951. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26952. "type": "integer"
  26953. },
  26954. "directtotalnum": {
  26955. "description": "直推总人数【期末】",
  26956. "type": "integer"
  26957. },
  26958. "indirecttotalnum": {
  26959. "description": "间推总人数【期末】",
  26960. "type": "integer"
  26961. },
  26962. "mobile": {
  26963. "description": "电话号码",
  26964. "type": "string"
  26965. },
  26966. "refereeuserid": {
  26967. "description": "推荐人id(经纪人id)",
  26968. "type": "integer"
  26969. },
  26970. "refereeusername": {
  26971. "description": "推荐人名称(经纪人) 上级经纪人名称",
  26972. "type": "string"
  26973. },
  26974. "refernum": {
  26975. "description": "推荐码",
  26976. "type": "string"
  26977. },
  26978. "subarealevelpath": {
  26979. "description": "用户层级路径",
  26980. "type": "string"
  26981. },
  26982. "todayrewardamount": {
  26983. "description": "奖励总金额【汇总】",
  26984. "type": "number"
  26985. },
  26986. "updatetime": {
  26987. "description": "更新时间",
  26988. "type": "string"
  26989. },
  26990. "userid": {
  26991. "description": "经纪人用户ID",
  26992. "type": "integer"
  26993. },
  26994. "userinfotype": {
  26995. "description": "用户类型 1-个人 2-企业",
  26996. "type": "integer"
  26997. },
  26998. "username": {
  26999. "description": "用户名称",
  27000. "type": "string"
  27001. }
  27002. }
  27003. },
  27004. "models.QhjMgrContract": {
  27005. "type": "object",
  27006. "properties": {
  27007. "contractconfirmtime": {
  27008. "description": "合同确认时间(时间)",
  27009. "type": "string"
  27010. },
  27011. "currisklevel": {
  27012. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27013. "type": "integer"
  27014. },
  27015. "decimalplace": {
  27016. "description": "商品报价小数位",
  27017. "type": "integer"
  27018. },
  27019. "enumdicname": {
  27020. "description": "单位名称",
  27021. "type": "string"
  27022. },
  27023. "goodscode": {
  27024. "description": "商品代码",
  27025. "type": "string"
  27026. },
  27027. "goodsid": {
  27028. "description": "商品ID [5:融资单]",
  27029. "type": "integer"
  27030. },
  27031. "goodsname": {
  27032. "description": "商品名称",
  27033. "type": "string"
  27034. },
  27035. "goodunitid": {
  27036. "description": "商品单位id",
  27037. "type": "integer"
  27038. },
  27039. "initmargin": {
  27040. "description": "初始保证金(首付款)",
  27041. "type": "number"
  27042. },
  27043. "lenderamount": {
  27044. "description": "贷款金额(总额|订单总额)",
  27045. "type": "number"
  27046. },
  27047. "logincode": {
  27048. "description": "账号(登录代码)",
  27049. "type": "string"
  27050. },
  27051. "marginratio": {
  27052. "description": "保证金比率(首付比例)",
  27053. "type": "number"
  27054. },
  27055. "mobile": {
  27056. "description": "电话号码(用户资料里的电话)",
  27057. "type": "string"
  27058. },
  27059. "payamount": {
  27060. "description": "已付(已付货款)",
  27061. "type": "number"
  27062. },
  27063. "reckonrecovermargin": {
  27064. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27065. "type": "number"
  27066. },
  27067. "recoveredmargin": {
  27068. "description": "已追缴保证金",
  27069. "type": "number"
  27070. },
  27071. "remainamount": {
  27072. "description": "合同剩余金额(融资额)",
  27073. "type": "number"
  27074. },
  27075. "scfcontractid": {
  27076. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27077. "type": "string"
  27078. },
  27079. "scfcontractstatus": {
  27080. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27081. "type": "integer"
  27082. },
  27083. "scfcontracttype": {
  27084. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27085. "type": "integer"
  27086. },
  27087. "totalinterest": {
  27088. "description": "已计总利息(利息)",
  27089. "type": "number"
  27090. },
  27091. "tradedate": {
  27092. "description": "交易日",
  27093. "type": "string"
  27094. },
  27095. "tradeprice": {
  27096. "description": "成交价格(成本价格)",
  27097. "type": "number"
  27098. },
  27099. "userid": {
  27100. "description": "用户ID",
  27101. "type": "integer"
  27102. },
  27103. "userinfotype": {
  27104. "description": "用户类型 1-个人 2-企业",
  27105. "type": "integer"
  27106. },
  27107. "username": {
  27108. "description": "用户名称",
  27109. "type": "string"
  27110. },
  27111. "wrqty": {
  27112. "description": "仓单数量(数量)",
  27113. "type": "number"
  27114. }
  27115. }
  27116. },
  27117. "models.QhjMgrCustomer": {
  27118. "type": "object",
  27119. "properties": {
  27120. "address": {
  27121. "description": "通讯地址",
  27122. "type": "string"
  27123. },
  27124. "attachment1": {
  27125. "description": "附件1",
  27126. "type": "string"
  27127. },
  27128. "audittime": {
  27129. "description": "审核时间",
  27130. "type": "string"
  27131. },
  27132. "cardbackphotourl": {
  27133. "description": "证件反面图片地址",
  27134. "type": "string"
  27135. },
  27136. "cardfrontphotourl": {
  27137. "description": "证件正面图片地址",
  27138. "type": "string"
  27139. },
  27140. "cardnum": {
  27141. "description": "证件号码",
  27142. "type": "string"
  27143. },
  27144. "cardtype": {
  27145. "description": "证件类型",
  27146. "type": "integer"
  27147. },
  27148. "cardtypename": {
  27149. "description": "证件类型名称",
  27150. "type": "string"
  27151. },
  27152. "cityid": {
  27153. "description": "市",
  27154. "type": "integer"
  27155. },
  27156. "cityname": {
  27157. "description": "城市名称",
  27158. "type": "string"
  27159. },
  27160. "contactname": {
  27161. "description": "联系人",
  27162. "type": "string"
  27163. },
  27164. "countryid": {
  27165. "description": "国家",
  27166. "type": "integer"
  27167. },
  27168. "countryname": {
  27169. "description": "国家名称",
  27170. "type": "string"
  27171. },
  27172. "createtime": {
  27173. "description": "创建时间",
  27174. "type": "string"
  27175. },
  27176. "customername": {
  27177. "description": "客户名称",
  27178. "type": "string"
  27179. },
  27180. "districtid": {
  27181. "description": "区域",
  27182. "type": "integer"
  27183. },
  27184. "districtname": {
  27185. "description": "地区名称",
  27186. "type": "string"
  27187. },
  27188. "email": {
  27189. "description": "邮件",
  27190. "type": "string"
  27191. },
  27192. "legalpersonname": {
  27193. "description": "法人姓名(企业)",
  27194. "type": "string"
  27195. },
  27196. "logincode": {
  27197. "description": "登录账号(代码)",
  27198. "type": "string"
  27199. },
  27200. "memberuserid": {
  27201. "description": "所属机构ID(所属会员)",
  27202. "type": "integer"
  27203. },
  27204. "memberusername": {
  27205. "description": "所属会员名称",
  27206. "type": "string"
  27207. },
  27208. "mobile": {
  27209. "description": "手机号码",
  27210. "type": "string"
  27211. },
  27212. "modifytime": {
  27213. "description": "修改时间",
  27214. "type": "string"
  27215. },
  27216. "nickname": {
  27217. "description": "昵称",
  27218. "type": "string"
  27219. },
  27220. "parentuserid": {
  27221. "description": "上级机构(所属机构)",
  27222. "type": "integer"
  27223. },
  27224. "parentusername": {
  27225. "description": "所属机构名称",
  27226. "type": "string"
  27227. },
  27228. "provinceid": {
  27229. "description": "省",
  27230. "type": "integer"
  27231. },
  27232. "provincename": {
  27233. "description": "省名称",
  27234. "type": "string"
  27235. },
  27236. "proxystatementurl": {
  27237. "description": "授权委托书",
  27238. "type": "string"
  27239. },
  27240. "querytype": {
  27241. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27242. "type": "integer"
  27243. },
  27244. "remark": {
  27245. "description": "备注",
  27246. "type": "string"
  27247. },
  27248. "status": {
  27249. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27250. "type": "integer"
  27251. },
  27252. "statusdesc": {
  27253. "description": "账户状态中文描述",
  27254. "type": "string"
  27255. },
  27256. "taxpayernum": {
  27257. "description": "纳税人识别号",
  27258. "type": "string"
  27259. },
  27260. "telphone": {
  27261. "description": "联系电话",
  27262. "type": "string"
  27263. },
  27264. "userid": {
  27265. "description": "用户ID",
  27266. "type": "integer"
  27267. },
  27268. "userinfotype": {
  27269. "description": "客户类型 1-个人 2-企业",
  27270. "type": "integer"
  27271. },
  27272. "username": {
  27273. "description": "用户名称",
  27274. "type": "string"
  27275. }
  27276. }
  27277. },
  27278. "models.QhjMgrPickGoods": {
  27279. "type": "object",
  27280. "properties": {
  27281. "enumdicname": {
  27282. "description": "单位名称(提货商品)",
  27283. "type": "string"
  27284. },
  27285. "goodsid": {
  27286. "description": "商品id",
  27287. "type": "integer"
  27288. },
  27289. "imageaddress": {
  27290. "description": "图片",
  27291. "type": "string"
  27292. },
  27293. "modifierid": {
  27294. "description": "修改人",
  27295. "type": "integer"
  27296. },
  27297. "modifiername": {
  27298. "description": "修改人名称",
  27299. "type": "string"
  27300. },
  27301. "modifysrc": {
  27302. "description": "修改来源 - 1:管理端 2:终端",
  27303. "type": "integer"
  27304. },
  27305. "pickupgoodsagreeunit": {
  27306. "description": "合约乘数",
  27307. "type": "number"
  27308. },
  27309. "pickupgoodsdesc": {
  27310. "description": "描述",
  27311. "type": "string"
  27312. },
  27313. "pickupgoodsid": {
  27314. "description": "提货商品ID",
  27315. "type": "string"
  27316. },
  27317. "pickupgoodsname": {
  27318. "description": "提货商品名称",
  27319. "type": "string"
  27320. },
  27321. "pickupgoodsstatus": {
  27322. "description": "状态 - 1:正常 2:停用 3:注销",
  27323. "type": "integer"
  27324. },
  27325. "pickupgoodsunitid": {
  27326. "description": "单位ID",
  27327. "type": "integer"
  27328. },
  27329. "pickupratio": {
  27330. "description": "提货系数",
  27331. "type": "number"
  27332. },
  27333. "preparedays": {
  27334. "description": "备货期(天)",
  27335. "type": "integer"
  27336. },
  27337. "remark": {
  27338. "description": "备注",
  27339. "type": "string"
  27340. },
  27341. "updatetime": {
  27342. "description": "更新时间",
  27343. "type": "string"
  27344. }
  27345. }
  27346. },
  27347. "models.QhjMgrPositionRsp": {
  27348. "type": "object",
  27349. "properties": {
  27350. "accountid": {
  27351. "description": "账号Id",
  27352. "type": "integer"
  27353. },
  27354. "accountname": {
  27355. "description": "用户名称",
  27356. "type": "string"
  27357. },
  27358. "agreeunit": {
  27359. "description": "合约乘数",
  27360. "type": "number"
  27361. },
  27362. "averageprice": {
  27363. "description": "均价",
  27364. "type": "number"
  27365. },
  27366. "avialqty": {
  27367. "description": "可用数量",
  27368. "type": "number"
  27369. },
  27370. "decimalplace": {
  27371. "description": "报价小数位",
  27372. "type": "integer"
  27373. },
  27374. "enumdicname": {
  27375. "description": "单位名称(商品)",
  27376. "type": "string"
  27377. },
  27378. "frozenqty": {
  27379. "description": "冻结数量",
  27380. "type": "number"
  27381. },
  27382. "goodscode": {
  27383. "description": "商品代码(内部)",
  27384. "type": "string"
  27385. },
  27386. "goodsid": {
  27387. "description": "商品Id",
  27388. "type": "integer"
  27389. },
  27390. "goodsname": {
  27391. "description": "商品名称",
  27392. "type": "string"
  27393. },
  27394. "goodunitid": {
  27395. "description": "报价单位ID",
  27396. "type": "integer"
  27397. },
  27398. "holderamount": {
  27399. "description": "金额",
  27400. "type": "number"
  27401. },
  27402. "holderqty": {
  27403. "description": "持有数量",
  27404. "type": "number"
  27405. },
  27406. "holdertype": {
  27407. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27408. "type": "integer"
  27409. },
  27410. "logincode": {
  27411. "description": "登录代码(账户)",
  27412. "type": "string"
  27413. },
  27414. "marketid": {
  27415. "description": "市场id",
  27416. "type": "integer"
  27417. },
  27418. "qtydecimalplace": {
  27419. "description": "成交量小数位",
  27420. "type": "integer"
  27421. },
  27422. "trademode": {
  27423. "description": "交易模式",
  27424. "type": "integer"
  27425. },
  27426. "userid": {
  27427. "description": "用户id",
  27428. "type": "integer"
  27429. },
  27430. "userinfotype": {
  27431. "description": "账户类型 1-个人 2-企业",
  27432. "type": "integer"
  27433. }
  27434. }
  27435. },
  27436. "models.QhjMgrSubArea": {
  27437. "type": "object",
  27438. "properties": {
  27439. "accountname": {
  27440. "description": "账户名称(机构名称)",
  27441. "type": "string"
  27442. },
  27443. "memberuserid": {
  27444. "description": "所属会员ID",
  27445. "type": "integer"
  27446. },
  27447. "parenttopuser": {
  27448. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27449. "type": "string"
  27450. },
  27451. "parentuserid": {
  27452. "description": "所属机构ID",
  27453. "type": "integer"
  27454. },
  27455. "rootuserid": {
  27456. "description": "根用户ID",
  27457. "type": "string"
  27458. },
  27459. "subaccountlevel": {
  27460. "description": "子账户层数",
  27461. "type": "integer"
  27462. },
  27463. "subarealevelpath": {
  27464. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27465. "type": "string"
  27466. },
  27467. "userid": {
  27468. "description": "用户ID",
  27469. "type": "integer"
  27470. },
  27471. "usertype": {
  27472. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27473. "type": "integer"
  27474. }
  27475. }
  27476. },
  27477. "models.QhjMgrTradeDetailRsp": {
  27478. "type": "object",
  27479. "properties": {
  27480. "accountid": {
  27481. "description": "资金账号",
  27482. "type": "integer"
  27483. },
  27484. "accountname": {
  27485. "description": "用户名称",
  27486. "type": "string"
  27487. },
  27488. "agreeunit": {
  27489. "description": "合约乘数",
  27490. "type": "number"
  27491. },
  27492. "buyorsell": {
  27493. "description": "成交类型(方向) 0:买 1:卖",
  27494. "type": "integer"
  27495. },
  27496. "decimalplace": {
  27497. "description": "报价小数位",
  27498. "type": "integer"
  27499. },
  27500. "enumdicname": {
  27501. "description": "单位名称(商品)",
  27502. "type": "string"
  27503. },
  27504. "goodscode": {
  27505. "description": "商品代码(内部)",
  27506. "type": "string"
  27507. },
  27508. "goodsid": {
  27509. "description": "商品id",
  27510. "type": "integer"
  27511. },
  27512. "goodsname": {
  27513. "description": "商品名称",
  27514. "type": "string"
  27515. },
  27516. "goodunitid": {
  27517. "description": "报价单位ID",
  27518. "type": "integer"
  27519. },
  27520. "logincode": {
  27521. "description": "登录代码(账户)",
  27522. "type": "string"
  27523. },
  27524. "marketid": {
  27525. "description": "市场id",
  27526. "type": "integer"
  27527. },
  27528. "orderid": {
  27529. "description": "关联委托单号",
  27530. "type": "string"
  27531. },
  27532. "qtydecimalplace": {
  27533. "description": "成交量小数位",
  27534. "type": "integer"
  27535. },
  27536. "tradeamount": {
  27537. "description": "金额",
  27538. "type": "number"
  27539. },
  27540. "tradedate": {
  27541. "description": "交易日",
  27542. "type": "string"
  27543. },
  27544. "tradeid": {
  27545. "description": "成交单号",
  27546. "type": "string"
  27547. },
  27548. "trademode": {
  27549. "description": "交易模式",
  27550. "type": "integer"
  27551. },
  27552. "tradeprice": {
  27553. "description": "价格",
  27554. "type": "number"
  27555. },
  27556. "tradeqty": {
  27557. "description": "数量",
  27558. "type": "number"
  27559. },
  27560. "tradetime": {
  27561. "description": "成交时间",
  27562. "type": "string"
  27563. },
  27564. "userid": {
  27565. "description": "用户id",
  27566. "type": "integer"
  27567. },
  27568. "userinfotype": {
  27569. "description": "账户类型 1-个人 2-企业",
  27570. "type": "integer"
  27571. }
  27572. }
  27573. },
  27574. "models.QhjMgrTradeOrderDetailRsp": {
  27575. "type": "object",
  27576. "properties": {
  27577. "accountid": {
  27578. "description": "资金账号",
  27579. "type": "integer"
  27580. },
  27581. "accountname": {
  27582. "description": "用户名称",
  27583. "type": "string"
  27584. },
  27585. "agreeunit": {
  27586. "description": "合约乘数",
  27587. "type": "number"
  27588. },
  27589. "amount": {
  27590. "description": "金额",
  27591. "type": "number"
  27592. },
  27593. "decimalplace": {
  27594. "description": "报价小数位",
  27595. "type": "integer"
  27596. },
  27597. "enumdicname": {
  27598. "description": "单位名称(商品)",
  27599. "type": "string"
  27600. },
  27601. "goodscode": {
  27602. "description": "商品代码(内部)",
  27603. "type": "string"
  27604. },
  27605. "goodsid": {
  27606. "description": "商品id",
  27607. "type": "integer"
  27608. },
  27609. "goodsname": {
  27610. "description": "商品名称",
  27611. "type": "string"
  27612. },
  27613. "goodunitid": {
  27614. "description": "报价单位ID",
  27615. "type": "integer"
  27616. },
  27617. "logincode": {
  27618. "description": "登录代码(账户)",
  27619. "type": "string"
  27620. },
  27621. "marketid": {
  27622. "description": "市场id",
  27623. "type": "integer"
  27624. },
  27625. "orderid": {
  27626. "description": "关联委托单号",
  27627. "type": "string"
  27628. },
  27629. "orderprice": {
  27630. "description": "价格",
  27631. "type": "number"
  27632. },
  27633. "orderqty": {
  27634. "description": "数量",
  27635. "type": "number"
  27636. },
  27637. "orderstatus": {
  27638. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27639. "type": "integer"
  27640. },
  27641. "ordertime": {
  27642. "description": "委托时间",
  27643. "type": "string"
  27644. },
  27645. "qtydecimalplace": {
  27646. "description": "成交量小数位",
  27647. "type": "integer"
  27648. },
  27649. "tradedate": {
  27650. "description": "交易日",
  27651. "type": "string"
  27652. },
  27653. "trademode": {
  27654. "description": "交易模式",
  27655. "type": "integer"
  27656. },
  27657. "userid": {
  27658. "description": "用户id",
  27659. "type": "integer"
  27660. },
  27661. "userinfotype": {
  27662. "description": "账户类型 1-个人 2-企业",
  27663. "type": "integer"
  27664. }
  27665. }
  27666. },
  27667. "models.QhjMgrTradePayOrder": {
  27668. "type": "object",
  27669. "properties": {
  27670. "accountname": {
  27671. "description": "用户名称",
  27672. "type": "string"
  27673. },
  27674. "advanceratio": {
  27675. "description": "首付比率",
  27676. "type": "number"
  27677. },
  27678. "agreeunit": {
  27679. "description": "合约乘数",
  27680. "type": "number"
  27681. },
  27682. "buyaccountid": {
  27683. "description": "买方账号ID[报价币种]",
  27684. "type": "integer"
  27685. },
  27686. "buyorderid": {
  27687. "description": "买方委托单号(关联单号)",
  27688. "type": "string"
  27689. },
  27690. "createtime": {
  27691. "description": "创建时间",
  27692. "type": "string"
  27693. },
  27694. "decimalplace": {
  27695. "description": "报价小数位",
  27696. "type": "integer"
  27697. },
  27698. "enumdicname": {
  27699. "description": "单位名称(商品)",
  27700. "type": "string"
  27701. },
  27702. "goodscode": {
  27703. "description": "商品代码(内部)",
  27704. "type": "string"
  27705. },
  27706. "goodsid": {
  27707. "description": "商品ID",
  27708. "type": "integer"
  27709. },
  27710. "goodsname": {
  27711. "description": "商品名称",
  27712. "type": "string"
  27713. },
  27714. "goodunitid": {
  27715. "description": "报价单位ID",
  27716. "type": "integer"
  27717. },
  27718. "logincode": {
  27719. "description": "登录代码(账户)",
  27720. "type": "string"
  27721. },
  27722. "marketid": {
  27723. "description": "市场id",
  27724. "type": "integer"
  27725. },
  27726. "offamount": {
  27727. "description": "优惠金额",
  27728. "type": "number"
  27729. },
  27730. "operatetype": {
  27731. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27732. "type": "integer"
  27733. },
  27734. "payamount": {
  27735. "description": "支付金额(金额)",
  27736. "type": "number"
  27737. },
  27738. "payflag": {
  27739. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27740. "type": "integer"
  27741. },
  27742. "paylimitedtime": {
  27743. "description": "支付期限",
  27744. "type": "string"
  27745. },
  27746. "paytime": {
  27747. "description": "付款时间",
  27748. "type": "string"
  27749. },
  27750. "qtydecimalplace": {
  27751. "description": "成交量小数位",
  27752. "type": "integer"
  27753. },
  27754. "sellaccountid": {
  27755. "description": "卖方账号ID[报价币种]",
  27756. "type": "integer"
  27757. },
  27758. "sellorderid": {
  27759. "description": "卖方委托单号",
  27760. "type": "string"
  27761. },
  27762. "tradeamount": {
  27763. "description": "成交金额(优惠后金额)",
  27764. "type": "number"
  27765. },
  27766. "tradecharge": {
  27767. "description": "成交手续费(买方)",
  27768. "type": "number"
  27769. },
  27770. "tradedate": {
  27771. "description": "交易日(yyyyMMdd)",
  27772. "type": "string"
  27773. },
  27774. "tradeid": {
  27775. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27776. "type": "string"
  27777. },
  27778. "trademode": {
  27779. "description": "交易模式",
  27780. "type": "integer"
  27781. },
  27782. "tradeprice": {
  27783. "description": "成交价格(价格)",
  27784. "type": "number"
  27785. },
  27786. "tradeqty": {
  27787. "description": "成交数量(数量)",
  27788. "type": "number"
  27789. },
  27790. "tradetime": {
  27791. "description": "成交时间",
  27792. "type": "string"
  27793. },
  27794. "userid": {
  27795. "description": "用户id",
  27796. "type": "integer"
  27797. },
  27798. "userinfotype": {
  27799. "description": "账户类型 1-个人 2-企业",
  27800. "type": "integer"
  27801. }
  27802. }
  27803. },
  27804. "models.QhjMyTeamEx": {
  27805. "type": "object",
  27806. "properties": {
  27807. "accountname": {
  27808. "description": "用户名称",
  27809. "type": "string"
  27810. },
  27811. "accountstatus": {
  27812. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27813. "type": "integer"
  27814. },
  27815. "createtime": {
  27816. "description": "创建时间",
  27817. "type": "string"
  27818. },
  27819. "mobile": {
  27820. "description": "手机号码",
  27821. "type": "string"
  27822. },
  27823. "refereeuserid": {
  27824. "description": "推荐人id",
  27825. "type": "integer"
  27826. },
  27827. "refernum": {
  27828. "description": "推荐码",
  27829. "type": "string"
  27830. },
  27831. "subList": {
  27832. "type": "array",
  27833. "items": {
  27834. "$ref": "#/definitions/models.QhjMyTeamEx"
  27835. }
  27836. },
  27837. "userid": {
  27838. "description": "用户id",
  27839. "type": "integer"
  27840. },
  27841. "userinfotype": {
  27842. "description": "用户类型 1-个人 2-企业",
  27843. "type": "integer"
  27844. }
  27845. }
  27846. },
  27847. "models.QhjNodeAgreementConfig": {
  27848. "type": "object",
  27849. "properties": {
  27850. "agreementcontent": {
  27851. "description": "协议内容",
  27852. "type": "string"
  27853. },
  27854. "agreementid": {
  27855. "description": "协议ID",
  27856. "type": "integer"
  27857. },
  27858. "agreementname": {
  27859. "description": "协议名称",
  27860. "type": "string"
  27861. },
  27862. "agreementno": {
  27863. "description": "协议编号",
  27864. "type": "string"
  27865. },
  27866. "agreementtype": {
  27867. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27868. "type": "integer"
  27869. },
  27870. "agreementversion": {
  27871. "description": "协议版本号",
  27872. "type": "integer"
  27873. },
  27874. "configid": {
  27875. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27876. "type": "integer"
  27877. },
  27878. "createtime": {
  27879. "description": "创建时间",
  27880. "type": "string"
  27881. },
  27882. "goodsid": {
  27883. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27884. "type": "integer"
  27885. },
  27886. "nodetype": {
  27887. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27888. "type": "integer"
  27889. }
  27890. }
  27891. },
  27892. "models.QhjParentAreaList": {
  27893. "type": "object",
  27894. "properties": {
  27895. "accountname": {
  27896. "description": "账户名称(机构名称)",
  27897. "type": "string"
  27898. },
  27899. "userid": {
  27900. "description": "用户ID",
  27901. "type": "integer"
  27902. },
  27903. "usertype": {
  27904. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27905. "type": "integer"
  27906. }
  27907. }
  27908. },
  27909. "models.QhjPayOrder": {
  27910. "type": "object",
  27911. "properties": {
  27912. "advanceratio": {
  27913. "description": "首付比率",
  27914. "type": "number"
  27915. },
  27916. "buyaccountid": {
  27917. "description": "买方账号ID[报价币种]",
  27918. "type": "integer"
  27919. },
  27920. "buyorderid": {
  27921. "description": "买方委托单号",
  27922. "type": "string"
  27923. },
  27924. "createtime": {
  27925. "description": "创建时间",
  27926. "type": "string"
  27927. },
  27928. "decimalplace": {
  27929. "description": "商品报价小数位",
  27930. "type": "integer"
  27931. },
  27932. "enumdicname": {
  27933. "description": "单位名称",
  27934. "type": "string"
  27935. },
  27936. "goodscode": {
  27937. "description": "商品代码",
  27938. "type": "string"
  27939. },
  27940. "goodsid": {
  27941. "description": "商品ID",
  27942. "type": "integer"
  27943. },
  27944. "goodsname": {
  27945. "description": "商品名称",
  27946. "type": "string"
  27947. },
  27948. "goodunitid": {
  27949. "description": "商品单位id",
  27950. "type": "integer"
  27951. },
  27952. "marketid": {
  27953. "description": "市场ID",
  27954. "type": "integer"
  27955. },
  27956. "offamount": {
  27957. "description": "优惠金额",
  27958. "type": "number"
  27959. },
  27960. "operatetype": {
  27961. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27962. "type": "integer"
  27963. },
  27964. "payamount": {
  27965. "description": "支付金额",
  27966. "type": "number"
  27967. },
  27968. "payflag": {
  27969. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27970. "type": "integer"
  27971. },
  27972. "paylimitedtime": {
  27973. "description": "支付期限",
  27974. "type": "string"
  27975. },
  27976. "paytime": {
  27977. "description": "付款时间",
  27978. "type": "string"
  27979. },
  27980. "qtydecimalplace": {
  27981. "description": "成交量小数位",
  27982. "type": "integer"
  27983. },
  27984. "sellaccountid": {
  27985. "description": "卖方账号ID[报价币种]",
  27986. "type": "integer"
  27987. },
  27988. "sellorderid": {
  27989. "description": "卖方委托单号",
  27990. "type": "string"
  27991. },
  27992. "tradeamount": {
  27993. "description": "成交金额(优惠后金额)",
  27994. "type": "number"
  27995. },
  27996. "tradecharge": {
  27997. "description": "成交手续费(买方)",
  27998. "type": "number"
  27999. },
  28000. "tradedate": {
  28001. "description": "交易日(yyyyMMdd)",
  28002. "type": "string"
  28003. },
  28004. "tradeid": {
  28005. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28006. "type": "string"
  28007. },
  28008. "tradeprice": {
  28009. "description": "成交价格",
  28010. "type": "number"
  28011. },
  28012. "tradeqty": {
  28013. "description": "成交数量",
  28014. "type": "number"
  28015. }
  28016. }
  28017. },
  28018. "models.QhjPickArea": {
  28019. "type": "object",
  28020. "properties": {
  28021. "address": {
  28022. "description": "详细地址",
  28023. "type": "string"
  28024. },
  28025. "cityid": {
  28026. "description": "市",
  28027. "type": "integer"
  28028. },
  28029. "cityname": {
  28030. "description": "城市名称",
  28031. "type": "string"
  28032. },
  28033. "countryid": {
  28034. "description": "国家",
  28035. "type": "integer"
  28036. },
  28037. "countryname": {
  28038. "description": "国家名称",
  28039. "type": "string"
  28040. },
  28041. "districtid": {
  28042. "description": "地区",
  28043. "type": "integer"
  28044. },
  28045. "districtname": {
  28046. "description": "地区名称",
  28047. "type": "string"
  28048. },
  28049. "fromuserid": {
  28050. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28051. "type": "integer"
  28052. },
  28053. "fromusername": {
  28054. "description": "所属机构名称",
  28055. "type": "string"
  28056. },
  28057. "provinceid": {
  28058. "description": "省",
  28059. "type": "integer"
  28060. },
  28061. "provincename": {
  28062. "description": "省名称",
  28063. "type": "string"
  28064. },
  28065. "suborgtype": {
  28066. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28067. "type": "integer"
  28068. },
  28069. "userid": {
  28070. "description": "机构用户ID 其他做市关系,都设置为 1",
  28071. "type": "integer"
  28072. },
  28073. "username": {
  28074. "description": "机构用户名称(门店门称)",
  28075. "type": "string"
  28076. }
  28077. }
  28078. },
  28079. "models.QhjPickGoods": {
  28080. "type": "object",
  28081. "properties": {
  28082. "enumdicname": {
  28083. "description": "单位名称(提货商品)",
  28084. "type": "string"
  28085. },
  28086. "goodsid": {
  28087. "description": "商品id",
  28088. "type": "integer"
  28089. },
  28090. "imageaddress": {
  28091. "description": "图片",
  28092. "type": "string"
  28093. },
  28094. "modifierid": {
  28095. "description": "修改人",
  28096. "type": "integer"
  28097. },
  28098. "modifiername": {
  28099. "description": "修改人名称",
  28100. "type": "string"
  28101. },
  28102. "modifysrc": {
  28103. "description": "修改来源 - 1:管理端 2:终端",
  28104. "type": "integer"
  28105. },
  28106. "pickupgoodsagreeunit": {
  28107. "description": "合约乘数",
  28108. "type": "number"
  28109. },
  28110. "pickupgoodsdesc": {
  28111. "description": "描述",
  28112. "type": "string"
  28113. },
  28114. "pickupgoodsid": {
  28115. "description": "提货商品ID",
  28116. "type": "string"
  28117. },
  28118. "pickupgoodsname": {
  28119. "description": "提货商品名称",
  28120. "type": "string"
  28121. },
  28122. "pickupgoodsstatus": {
  28123. "description": "状态 - 1:正常 2:停用 3:注销",
  28124. "type": "integer"
  28125. },
  28126. "pickupgoodsunitid": {
  28127. "description": "单位ID",
  28128. "type": "integer"
  28129. },
  28130. "pickupratio": {
  28131. "description": "提货系数",
  28132. "type": "number"
  28133. },
  28134. "preparedays": {
  28135. "description": "备货期(天)",
  28136. "type": "integer"
  28137. },
  28138. "remark": {
  28139. "description": "备注",
  28140. "type": "string"
  28141. },
  28142. "updatetime": {
  28143. "description": "更新时间",
  28144. "type": "string"
  28145. }
  28146. }
  28147. },
  28148. "models.QhjRSTriggerLog": {
  28149. "type": "object",
  28150. "properties": {
  28151. "accountid": {
  28152. "description": "用户资金账户",
  28153. "type": "integer"
  28154. },
  28155. "accountname": {
  28156. "description": "账号名称(ACCOUNTID对应的名称)",
  28157. "type": "string"
  28158. },
  28159. "currencyid": {
  28160. "description": "币种id",
  28161. "type": "integer"
  28162. },
  28163. "currencyname": {
  28164. "description": "币种名称",
  28165. "type": "string"
  28166. },
  28167. "decimalplace": {
  28168. "description": "商品报价小数位",
  28169. "type": "integer"
  28170. },
  28171. "enumdicname": {
  28172. "description": "单位名称",
  28173. "type": "string"
  28174. },
  28175. "goodscode": {
  28176. "description": "定投商品代码",
  28177. "type": "string"
  28178. },
  28179. "goodsid": {
  28180. "description": "定投商品ID",
  28181. "type": "integer"
  28182. },
  28183. "goodsname": {
  28184. "description": "定投商品名称",
  28185. "type": "string"
  28186. },
  28187. "goodunitid": {
  28188. "description": "定投商品单位id",
  28189. "type": "integer"
  28190. },
  28191. "logid": {
  28192. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28193. "type": "string"
  28194. },
  28195. "logincode": {
  28196. "description": "账号(登录代码)",
  28197. "type": "string"
  28198. },
  28199. "qtydecimalplace": {
  28200. "description": "成交量小数位",
  28201. "type": "integer"
  28202. },
  28203. "regularlycycle": {
  28204. "description": "定投频率 - 1:每周 2:每月",
  28205. "type": "integer"
  28206. },
  28207. "regularlycyclevalue": {
  28208. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28209. "type": "string"
  28210. },
  28211. "regularlymode": {
  28212. "description": "定投方式 - 1:按数量 2:按金额",
  28213. "type": "integer"
  28214. },
  28215. "regularlymodevalue": {
  28216. "description": "定投方式值 - 数量或金额",
  28217. "type": "number"
  28218. },
  28219. "regularlystrategyid": {
  28220. "description": "定投策略ID",
  28221. "type": "integer"
  28222. },
  28223. "retcode": {
  28224. "description": "错误码",
  28225. "type": "string"
  28226. },
  28227. "tradeid": {
  28228. "description": "成交单ID",
  28229. "type": "string"
  28230. },
  28231. "triggeramount": {
  28232. "description": "触发金额",
  28233. "type": "number"
  28234. },
  28235. "triggerqty": {
  28236. "description": "触发数量",
  28237. "type": "number"
  28238. },
  28239. "triggerstatus": {
  28240. "description": "触发状态 - 1:成功 2:失败",
  28241. "type": "integer"
  28242. },
  28243. "triggertime": {
  28244. "description": "触发时间",
  28245. "type": "string"
  28246. },
  28247. "triggertradedate": {
  28248. "description": "触发交易日",
  28249. "type": "string"
  28250. },
  28251. "userid": {
  28252. "description": "所属用户ID",
  28253. "type": "integer"
  28254. },
  28255. "userinfotype": {
  28256. "description": "用户类型 1-个人 2-企业",
  28257. "type": "integer"
  28258. },
  28259. "username": {
  28260. "description": "用户名称(userid对应的名称)",
  28261. "type": "string"
  28262. }
  28263. }
  28264. },
  28265. "models.QhjRStrategy": {
  28266. "type": "object",
  28267. "properties": {
  28268. "accountid": {
  28269. "description": "用户资金账户",
  28270. "type": "integer"
  28271. },
  28272. "accountname": {
  28273. "description": "账号名称(ACCOUNTID对应的名称)",
  28274. "type": "string"
  28275. },
  28276. "currencyid": {
  28277. "description": "币种id",
  28278. "type": "integer"
  28279. },
  28280. "currencyname": {
  28281. "description": "币种名称",
  28282. "type": "string"
  28283. },
  28284. "decimalplace": {
  28285. "description": "商品报价小数位",
  28286. "type": "integer"
  28287. },
  28288. "enumdicname": {
  28289. "description": "单位名称",
  28290. "type": "string"
  28291. },
  28292. "goodscode": {
  28293. "description": "定投商品代码",
  28294. "type": "string"
  28295. },
  28296. "goodsid": {
  28297. "description": "定投商品ID",
  28298. "type": "integer"
  28299. },
  28300. "goodsname": {
  28301. "description": "定投商品名称",
  28302. "type": "string"
  28303. },
  28304. "goodunitid": {
  28305. "description": "定投商品单位id",
  28306. "type": "integer"
  28307. },
  28308. "lasteffecttradedate": {
  28309. "description": "最新生效交易日",
  28310. "type": "string"
  28311. },
  28312. "laststoptradedate": {
  28313. "description": "最新暂停交易日",
  28314. "type": "string"
  28315. },
  28316. "lasttriggertradedate": {
  28317. "description": "最新触发交易日",
  28318. "type": "string"
  28319. },
  28320. "logincode": {
  28321. "description": "账号(登录代码)",
  28322. "type": "string"
  28323. },
  28324. "nexttriggeramount": {
  28325. "description": "下次触发金额",
  28326. "type": "number"
  28327. },
  28328. "nexttriggerdate": {
  28329. "description": "下次触发日期",
  28330. "type": "string"
  28331. },
  28332. "nexttriggerqty": {
  28333. "description": "下次触发数量 [按小数位放大值]",
  28334. "type": "number"
  28335. },
  28336. "qtydecimalplace": {
  28337. "description": "成交量小数位",
  28338. "type": "integer"
  28339. },
  28340. "regularlycycle": {
  28341. "description": "定投频率 - 1:每周 2:每月",
  28342. "type": "integer"
  28343. },
  28344. "regularlycyclevalue": {
  28345. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28346. "type": "string"
  28347. },
  28348. "regularlymode": {
  28349. "description": "定投方式 - 1:按数量 2:按金额",
  28350. "type": "integer"
  28351. },
  28352. "regularlymodevalue": {
  28353. "description": "定投方式值 - 数量或金额",
  28354. "type": "number"
  28355. },
  28356. "regularlystrategyid": {
  28357. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28358. "type": "integer"
  28359. },
  28360. "regularlystrategystatus": {
  28361. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28362. "type": "integer"
  28363. },
  28364. "remark": {
  28365. "description": "备注",
  28366. "type": "string"
  28367. },
  28368. "triggersuccesstimes": {
  28369. "description": "累计定投成功次数",
  28370. "type": "string"
  28371. },
  28372. "triggertotalamount": {
  28373. "description": "累计定投金额(成功)",
  28374. "type": "number"
  28375. },
  28376. "triggertotalqty": {
  28377. "description": "累计定投数量(成功) [按小数位放大值]",
  28378. "type": "number"
  28379. },
  28380. "triggertotaltimes": {
  28381. "description": "累计定投总次数",
  28382. "type": "string"
  28383. },
  28384. "updatesrc": {
  28385. "description": "更新来源 - 1:管理端 2:终端",
  28386. "type": "integer"
  28387. },
  28388. "updatetime": {
  28389. "description": "更新时间",
  28390. "type": "string"
  28391. },
  28392. "updatorid": {
  28393. "description": "更新人",
  28394. "type": "string"
  28395. },
  28396. "userid": {
  28397. "description": "所属用户ID",
  28398. "type": "integer"
  28399. },
  28400. "userinfotype": {
  28401. "description": "用户类型 1-个人 2-企业",
  28402. "type": "integer"
  28403. },
  28404. "username": {
  28405. "description": "用户名称(userid对应的名称)",
  28406. "type": "string"
  28407. }
  28408. }
  28409. },
  28410. "models.QhjReckonPriceLog": {
  28411. "type": "object",
  28412. "properties": {
  28413. "decimalplace": {
  28414. "description": "商品报价小数位",
  28415. "type": "integer"
  28416. },
  28417. "goodscode": {
  28418. "description": "商品代码",
  28419. "type": "string"
  28420. },
  28421. "goodsid": {
  28422. "description": "商品ID",
  28423. "type": "integer"
  28424. },
  28425. "goodsname": {
  28426. "description": "商品名称",
  28427. "type": "string"
  28428. },
  28429. "lastreckonprice": {
  28430. "description": "上日结算价",
  28431. "type": "number"
  28432. },
  28433. "nextdnlimitprice": {
  28434. "description": "下个交易日跌停价",
  28435. "type": "number"
  28436. },
  28437. "nexttrade": {
  28438. "description": "下个交易日",
  28439. "type": "string"
  28440. },
  28441. "nextuplimitprice": {
  28442. "description": "下个交易日涨停价",
  28443. "type": "number"
  28444. },
  28445. "reckonprice": {
  28446. "description": "今日结算价(定投价)",
  28447. "type": "number"
  28448. },
  28449. "reckontime": {
  28450. "description": "结算时间",
  28451. "type": "string"
  28452. },
  28453. "totalholderqty": {
  28454. "description": "总持仓数",
  28455. "type": "integer"
  28456. },
  28457. "totalstock": {
  28458. "description": "总库存",
  28459. "type": "integer"
  28460. },
  28461. "tradedate": {
  28462. "description": "交易日",
  28463. "type": "string"
  28464. },
  28465. "updowncount": {
  28466. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28467. "type": "integer"
  28468. },
  28469. "updownflag": {
  28470. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28471. "type": "integer"
  28472. },
  28473. "updownrate": {
  28474. "description": "今日涨跌幅",
  28475. "type": "number"
  28476. },
  28477. "updownrate_2d": {
  28478. "description": "连续两日涨跌幅",
  28479. "type": "number"
  28480. },
  28481. "updownrate_3d": {
  28482. "description": "连续三日涨跌幅",
  28483. "type": "number"
  28484. }
  28485. }
  28486. },
  28487. "models.QhjScoreLog": {
  28488. "type": "object",
  28489. "properties": {
  28490. "accountid": {
  28491. "description": "账户ID",
  28492. "type": "integer"
  28493. },
  28494. "createtime": {
  28495. "description": "创建时间(时间)",
  28496. "type": "string"
  28497. },
  28498. "goodsid": {
  28499. "description": "商品ID",
  28500. "type": "integer"
  28501. },
  28502. "hasuploaded": {
  28503. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28504. "type": "integer"
  28505. },
  28506. "logid": {
  28507. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28508. "type": "string"
  28509. },
  28510. "marketid": {
  28511. "description": "市场ID",
  28512. "type": "integer"
  28513. },
  28514. "relatedamount": {
  28515. "description": "关联金额",
  28516. "type": "number"
  28517. },
  28518. "relatedorderid": {
  28519. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28520. "type": "string"
  28521. },
  28522. "scoreconfigvalue1": {
  28523. "description": "积分配置1",
  28524. "type": "integer"
  28525. },
  28526. "scoreconfigvalue2": {
  28527. "description": "积分配置1",
  28528. "type": "integer"
  28529. },
  28530. "scoretype": {
  28531. "description": "积分类型 - 1:提货积分",
  28532. "type": "integer"
  28533. },
  28534. "scorevalue": {
  28535. "description": "积分",
  28536. "type": "number"
  28537. },
  28538. "tradedate": {
  28539. "description": "交易日(yyyyMMdd)",
  28540. "type": "string"
  28541. },
  28542. "uploadedtime": {
  28543. "description": "同步时间",
  28544. "type": "string"
  28545. },
  28546. "userid": {
  28547. "description": "用户ID",
  28548. "type": "integer"
  28549. }
  28550. }
  28551. },
  28552. "models.QhjSiteColumnDetail": {
  28553. "type": "object",
  28554. "properties": {
  28555. "author": {
  28556. "description": "作者",
  28557. "type": "string"
  28558. },
  28559. "brief": {
  28560. "description": "简介",
  28561. "type": "string"
  28562. },
  28563. "columnid": {
  28564. "description": "所属栏目",
  28565. "type": "integer"
  28566. },
  28567. "context": {
  28568. "description": "内容",
  28569. "type": "string"
  28570. },
  28571. "coverimage": {
  28572. "description": "封面图片",
  28573. "type": "string"
  28574. },
  28575. "creaedate": {
  28576. "description": "创建时间",
  28577. "type": "string"
  28578. },
  28579. "creatorid": {
  28580. "description": "创建人",
  28581. "type": "integer"
  28582. },
  28583. "hits": {
  28584. "description": "点击数",
  28585. "type": "integer"
  28586. },
  28587. "id": {
  28588. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  28589. "type": "integer"
  28590. },
  28591. "isshow": {
  28592. "description": "是否展示 - 0:不展示 1:展示",
  28593. "type": "integer"
  28594. },
  28595. "istop": {
  28596. "description": "是否置顶 - 0:不置 1:置顶",
  28597. "type": "integer"
  28598. },
  28599. "modifierid": {
  28600. "description": "操作人",
  28601. "type": "integer"
  28602. },
  28603. "publishdate": {
  28604. "description": "发布日期",
  28605. "type": "string"
  28606. },
  28607. "status": {
  28608. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  28609. "type": "integer"
  28610. },
  28611. "title": {
  28612. "description": "标题",
  28613. "type": "string"
  28614. },
  28615. "updatedate": {
  28616. "description": "修改时间",
  28617. "type": "string"
  28618. },
  28619. "userid": {
  28620. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  28621. "type": "integer"
  28622. },
  28623. "username": {
  28624. "description": "用户名称",
  28625. "type": "string"
  28626. }
  28627. }
  28628. },
  28629. "models.QhjTeamOrder": {
  28630. "type": "object",
  28631. "properties": {
  28632. "accountid": {
  28633. "description": "账户ID[报价币种]",
  28634. "type": "integer"
  28635. },
  28636. "accountname": {
  28637. "description": "账户名称",
  28638. "type": "string"
  28639. },
  28640. "agreeunit": {
  28641. "description": "合约乘数",
  28642. "type": "number"
  28643. },
  28644. "buyorsell": {
  28645. "description": "方向 - 0:买 1:卖",
  28646. "type": "integer"
  28647. },
  28648. "decimalplace": {
  28649. "description": "报价小数位",
  28650. "type": "integer"
  28651. },
  28652. "enumdicname": {
  28653. "description": "单位名称",
  28654. "type": "string"
  28655. },
  28656. "goodscode": {
  28657. "description": "商品代码(内部)",
  28658. "type": "string"
  28659. },
  28660. "goodsid": {
  28661. "description": "商品ID",
  28662. "type": "integer"
  28663. },
  28664. "goodsname": {
  28665. "description": "商品名称",
  28666. "type": "string"
  28667. },
  28668. "goodunitid": {
  28669. "description": "报价单位ID",
  28670. "type": "integer"
  28671. },
  28672. "marketid": {
  28673. "description": "市场ID",
  28674. "type": "integer"
  28675. },
  28676. "marketname": {
  28677. "description": "市场名称",
  28678. "type": "string"
  28679. },
  28680. "qtydecimalplace": {
  28681. "description": "成交量小数位",
  28682. "type": "integer"
  28683. },
  28684. "refereeuserid": {
  28685. "description": "推荐人ID",
  28686. "type": "integer"
  28687. },
  28688. "tradeamount": {
  28689. "description": "成交金额[账户币种,用于所有权]",
  28690. "type": "number"
  28691. },
  28692. "tradedate": {
  28693. "description": "交易日(yyyyMMdd)",
  28694. "type": "string"
  28695. },
  28696. "trademode": {
  28697. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28698. "type": "integer"
  28699. },
  28700. "tradeprice": {
  28701. "description": "成交价格",
  28702. "type": "number"
  28703. },
  28704. "tradeqty": {
  28705. "description": "成交数量",
  28706. "type": "number"
  28707. },
  28708. "tradetime": {
  28709. "description": "成交时间",
  28710. "type": "string"
  28711. },
  28712. "userid": {
  28713. "description": "用户ID",
  28714. "type": "integer"
  28715. }
  28716. }
  28717. },
  28718. "models.QhjTradeGoodsPickup": {
  28719. "type": "object",
  28720. "properties": {
  28721. "accountid": {
  28722. "description": "账户ID",
  28723. "type": "integer"
  28724. },
  28725. "address": {
  28726. "description": "提货人详细地址",
  28727. "type": "string"
  28728. },
  28729. "amount": {
  28730. "description": "提货金额",
  28731. "type": "number"
  28732. },
  28733. "artradedate": {
  28734. "description": "自动收货交易日(yyyyMMdd)",
  28735. "type": "string"
  28736. },
  28737. "auditer": {
  28738. "description": "审核人",
  28739. "type": "integer"
  28740. },
  28741. "auditsrc": {
  28742. "description": "更新来源 - 1:管理端 2:终端",
  28743. "type": "integer"
  28744. },
  28745. "audittime": {
  28746. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  28747. "type": "string"
  28748. },
  28749. "audittradedate": {
  28750. "description": "审核交易日(yyyyMMdd)",
  28751. "type": "string"
  28752. },
  28753. "cardnum": {
  28754. "description": "提货人证件号码",
  28755. "type": "string"
  28756. },
  28757. "cardtypeid": {
  28758. "description": "提货人证件类型",
  28759. "type": "integer"
  28760. },
  28761. "checkremark": {
  28762. "description": "审核备注",
  28763. "type": "string"
  28764. },
  28765. "cityid": {
  28766. "description": "市",
  28767. "type": "integer"
  28768. },
  28769. "cityname": {
  28770. "description": "城市名称",
  28771. "type": "string"
  28772. },
  28773. "confirmtime": {
  28774. "description": "取货时间 或 收货时间",
  28775. "type": "string"
  28776. },
  28777. "countryid": {
  28778. "description": "国家",
  28779. "type": "integer"
  28780. },
  28781. "countryname": {
  28782. "description": "国家名称",
  28783. "type": "string"
  28784. },
  28785. "decimalplace": {
  28786. "description": "商品报价小数位",
  28787. "type": "integer"
  28788. },
  28789. "districtid": {
  28790. "description": "地区",
  28791. "type": "integer"
  28792. },
  28793. "districtname": {
  28794. "description": "地区名称",
  28795. "type": "string"
  28796. },
  28797. "enumdicname": {
  28798. "description": "单位名称(提货商品)",
  28799. "type": "string"
  28800. },
  28801. "expresscompany": {
  28802. "description": "物流公司",
  28803. "type": "string"
  28804. },
  28805. "expressnum": {
  28806. "description": "物流单号",
  28807. "type": "string"
  28808. },
  28809. "goodsagreeunit": {
  28810. "description": "交易商品乘数",
  28811. "type": "number"
  28812. },
  28813. "goodscode": {
  28814. "description": "商品代码",
  28815. "type": "string"
  28816. },
  28817. "goodsid": {
  28818. "description": "商品ID",
  28819. "type": "integer"
  28820. },
  28821. "goodsname": {
  28822. "description": "商品名称",
  28823. "type": "string"
  28824. },
  28825. "goodsqty": {
  28826. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  28827. "type": "number"
  28828. },
  28829. "handlestatus": {
  28830. "description": "处理状态",
  28831. "type": "integer"
  28832. },
  28833. "logincode": {
  28834. "description": "账号(登录代码, 有可能为空)",
  28835. "type": "string"
  28836. },
  28837. "marketid": {
  28838. "description": "市场ID",
  28839. "type": "integer"
  28840. },
  28841. "phonenum": {
  28842. "description": "提货人联系方式",
  28843. "type": "string"
  28844. },
  28845. "pickupgoodsagreeunit": {
  28846. "description": "提货商品合约乘数",
  28847. "type": "number"
  28848. },
  28849. "pickupgoodsid": {
  28850. "description": "提货商品ID",
  28851. "type": "string"
  28852. },
  28853. "pickupgoodsname": {
  28854. "description": "提货商品名称",
  28855. "type": "string"
  28856. },
  28857. "pickupgoodsqty": {
  28858. "description": "提货商品手数(数量)",
  28859. "type": "number"
  28860. },
  28861. "pickupgoodsunitid": {
  28862. "description": "单位ID(提货商品)",
  28863. "type": "integer"
  28864. },
  28865. "pickupratio": {
  28866. "description": "提货系数",
  28867. "type": "number"
  28868. },
  28869. "preparedays": {
  28870. "description": "备货期(天)-提货单明细表",
  28871. "type": "integer"
  28872. },
  28873. "provinceid": {
  28874. "description": "省",
  28875. "type": "integer"
  28876. },
  28877. "provincename": {
  28878. "description": "省名称",
  28879. "type": "string"
  28880. },
  28881. "qty": {
  28882. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  28883. "type": "number"
  28884. },
  28885. "qtydecimalplace": {
  28886. "description": "商品数量小数位",
  28887. "type": "integer"
  28888. },
  28889. "recivername": {
  28890. "description": "提货人姓名",
  28891. "type": "string"
  28892. },
  28893. "reqtime": {
  28894. "description": "提货申请时间",
  28895. "type": "string"
  28896. },
  28897. "storeuserid": {
  28898. "description": "门店用户ID (千海金)",
  28899. "type": "integer"
  28900. },
  28901. "storeusername": {
  28902. "description": "门店用户名称",
  28903. "type": "string"
  28904. },
  28905. "takemode": {
  28906. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  28907. "type": "integer"
  28908. },
  28909. "takeorderid": {
  28910. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28911. "type": "string"
  28912. },
  28913. "takeorderstatus": {
  28914. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  28915. "type": "integer"
  28916. },
  28917. "takeremark": {
  28918. "description": "提货备注",
  28919. "type": "string"
  28920. },
  28921. "tradedate": {
  28922. "description": "交易日(yyyyMMdd)",
  28923. "type": "string"
  28924. },
  28925. "updatetime": {
  28926. "description": "更新时间",
  28927. "type": "string"
  28928. },
  28929. "userid": {
  28930. "description": "用户ID",
  28931. "type": "integer"
  28932. },
  28933. "userinfotype": {
  28934. "description": "客户类型 1-个人 2-企业",
  28935. "type": "integer"
  28936. },
  28937. "username": {
  28938. "description": "用户名称",
  28939. "type": "string"
  28940. }
  28941. }
  28942. },
  28943. "models.QhjUserNodeCfgAndStatus": {
  28944. "type": "object",
  28945. "properties": {
  28946. "agreementcontent": {
  28947. "description": "协议内容",
  28948. "type": "string"
  28949. },
  28950. "agreementid": {
  28951. "description": "协议ID",
  28952. "type": "integer"
  28953. },
  28954. "agreementname": {
  28955. "description": "协议名称",
  28956. "type": "string"
  28957. },
  28958. "agreementno": {
  28959. "description": "协议编号",
  28960. "type": "string"
  28961. },
  28962. "agreementtype": {
  28963. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28964. "type": "integer"
  28965. },
  28966. "agreementversion": {
  28967. "description": "协议版本号",
  28968. "type": "integer"
  28969. },
  28970. "configid": {
  28971. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28972. "type": "integer"
  28973. },
  28974. "createtime": {
  28975. "description": "创建时间",
  28976. "type": "string"
  28977. },
  28978. "goodsid": {
  28979. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28980. "type": "integer"
  28981. },
  28982. "nodetype": {
  28983. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28984. "type": "integer"
  28985. },
  28986. "signtimestamp": {
  28987. "description": "签约状态时间戳(最近一次)",
  28988. "type": "string"
  28989. },
  28990. "tradedate": {
  28991. "description": "签约交易日(yyyyMMdd)",
  28992. "type": "string"
  28993. },
  28994. "userid": {
  28995. "description": "客户ID",
  28996. "type": "integer"
  28997. }
  28998. }
  28999. },
  29000. "models.Qhjgoodsex": {
  29001. "type": "object",
  29002. "properties": {
  29003. "canfinance": {
  29004. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29005. "type": "integer"
  29006. },
  29007. "canregularlybuy": {
  29008. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29009. "type": "integer"
  29010. },
  29011. "defaulttradeuserid": {
  29012. "description": "默认交易用户ID",
  29013. "type": "integer"
  29014. },
  29015. "deliverygoodsid": {
  29016. "description": "现货品种ID",
  29017. "type": "integer"
  29018. },
  29019. "goodsid": {
  29020. "description": "商品ID(自增ID SEQ_GOODS)",
  29021. "type": "integer"
  29022. },
  29023. "minamount": {
  29024. "description": "最小购买金额",
  29025. "type": "number"
  29026. },
  29027. "regularlybuyminamount": {
  29028. "description": "定投最小金额",
  29029. "type": "number"
  29030. },
  29031. "regularlybuyminqty": {
  29032. "description": "定投最小数量",
  29033. "type": "number"
  29034. },
  29035. "spotgoodsbrandid": {
  29036. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29037. "type": "integer"
  29038. },
  29039. "visibilityforenterprise": {
  29040. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29041. "type": "integer"
  29042. },
  29043. "visibilityforpersonal": {
  29044. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29045. "type": "integer"
  29046. },
  29047. "wrstandardid": {
  29048. "description": "现货商品ID",
  29049. "type": "integer"
  29050. }
  29051. }
  29052. },
  29053. "models.QueryErrorInfosRsp": {
  29054. "type": "object",
  29055. "required": [
  29056. "errorid"
  29057. ],
  29058. "properties": {
  29059. "description": {
  29060. "description": "异常描述",
  29061. "type": "string"
  29062. },
  29063. "errorcode": {
  29064. "description": "异常代码",
  29065. "type": "string"
  29066. },
  29067. "errorid": {
  29068. "description": "异常ID",
  29069. "type": "integer"
  29070. },
  29071. "modulecode": {
  29072. "description": "所属模块",
  29073. "type": "string"
  29074. },
  29075. "operatecode": {
  29076. "description": "所属操作",
  29077. "type": "string"
  29078. },
  29079. "rownumber": {
  29080. "description": "行号",
  29081. "type": "string"
  29082. }
  29083. }
  29084. },
  29085. "models.QueryHedgeOrderDetailRsp": {
  29086. "type": "object",
  29087. "properties": {
  29088. "accountid": {
  29089. "description": "账户ID",
  29090. "type": "integer"
  29091. },
  29092. "buyorsell": {
  29093. "description": "买卖 - 0:买 1:卖",
  29094. "type": "integer"
  29095. },
  29096. "cancellogincode": {
  29097. "description": "撤单人",
  29098. "type": "string"
  29099. },
  29100. "channelbuildtype": {
  29101. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29102. "type": "integer"
  29103. },
  29104. "channelinnerorderstatus": {
  29105. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29106. "type": "integer"
  29107. },
  29108. "channeloperatetype": {
  29109. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29110. "type": "integer"
  29111. },
  29112. "closetype": {
  29113. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29114. "type": "integer"
  29115. },
  29116. "curexchangerate": {
  29117. "description": "当前汇率",
  29118. "type": "number"
  29119. },
  29120. "exchangefullname": {
  29121. "description": "外部交易所全称",
  29122. "type": "string"
  29123. },
  29124. "goodscode": {
  29125. "description": "商品代码(内部)",
  29126. "type": "string"
  29127. },
  29128. "goodsid": {
  29129. "description": "商品ID",
  29130. "type": "integer"
  29131. },
  29132. "goodsname": {
  29133. "description": "商品名称",
  29134. "type": "string"
  29135. },
  29136. "marketid": {
  29137. "description": "市场ID",
  29138. "type": "integer"
  29139. },
  29140. "openfreezemargin": {
  29141. "description": "冻结保证金(冻结交易金额)",
  29142. "type": "number"
  29143. },
  29144. "orderid": {
  29145. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29146. "type": "string"
  29147. },
  29148. "orderlogincode": {
  29149. "description": "委托人",
  29150. "type": "string"
  29151. },
  29152. "orderprice": {
  29153. "description": "委托价格(账户)",
  29154. "type": "number"
  29155. },
  29156. "orderqty": {
  29157. "description": "委托数量",
  29158. "type": "integer"
  29159. },
  29160. "ordertime": {
  29161. "description": "委托时间",
  29162. "type": "string"
  29163. },
  29164. "pricemode": {
  29165. "description": "取价方式 - 1:市价 2: 限价",
  29166. "type": "integer"
  29167. },
  29168. "tradedate": {
  29169. "description": "交易日(yyyyMMdd)",
  29170. "type": "string"
  29171. },
  29172. "tradeqty": {
  29173. "description": "成交数量",
  29174. "type": "integer"
  29175. }
  29176. }
  29177. },
  29178. "models.QueryHedgeTradeDetailRsp": {
  29179. "type": "object",
  29180. "properties": {
  29181. "accountid": {
  29182. "description": "账号ID",
  29183. "type": "integer"
  29184. },
  29185. "buyorsell": {
  29186. "description": "方向 - 0:买 1:卖",
  29187. "type": "integer"
  29188. },
  29189. "channelbuildtype": {
  29190. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29191. "type": "integer"
  29192. },
  29193. "closecharge": {
  29194. "description": "平仓手续费(账户)",
  29195. "type": "number"
  29196. },
  29197. "closecharge2": {
  29198. "description": "平仓手续费(商品)",
  29199. "type": "number"
  29200. },
  29201. "closepl": {
  29202. "description": "平仓盈亏(账户)",
  29203. "type": "number"
  29204. },
  29205. "closepl2": {
  29206. "description": "平仓盈亏(商品)",
  29207. "type": "number"
  29208. },
  29209. "closepl3": {
  29210. "description": "平仓盈亏(账户)(逐笔)",
  29211. "type": "number"
  29212. },
  29213. "closepl4": {
  29214. "description": "平仓盈亏(商品)(逐笔)",
  29215. "type": "number"
  29216. },
  29217. "closetype": {
  29218. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29219. "type": "integer"
  29220. },
  29221. "curexchangerate": {
  29222. "description": "当前汇率",
  29223. "type": "number"
  29224. },
  29225. "exchangefullname": {
  29226. "description": "外部交易所全称",
  29227. "type": "string"
  29228. },
  29229. "goodscode": {
  29230. "description": "商品代码(内部)",
  29231. "type": "string"
  29232. },
  29233. "goodsid": {
  29234. "description": "商品ID",
  29235. "type": "integer"
  29236. },
  29237. "goodsname": {
  29238. "description": "商品名称",
  29239. "type": "string"
  29240. },
  29241. "marketid": {
  29242. "description": "市场ID",
  29243. "type": "integer"
  29244. },
  29245. "opencharge": {
  29246. "description": "建仓手续费(账户)",
  29247. "type": "number"
  29248. },
  29249. "opencharge2": {
  29250. "description": "建仓手续费(商品)",
  29251. "type": "number"
  29252. },
  29253. "orderid": {
  29254. "description": "委托单号",
  29255. "type": "string"
  29256. },
  29257. "orderlogincode": {
  29258. "description": "委托人",
  29259. "type": "string"
  29260. },
  29261. "tradeamount": {
  29262. "description": "成交金额(账户)",
  29263. "type": "number"
  29264. },
  29265. "tradedate": {
  29266. "description": "交易日(yyyyMMdd)",
  29267. "type": "string"
  29268. },
  29269. "tradeid": {
  29270. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29271. "type": "string"
  29272. },
  29273. "tradeprice": {
  29274. "description": "成交价格",
  29275. "type": "number"
  29276. },
  29277. "tradeqty": {
  29278. "description": "成交数量",
  29279. "type": "integer"
  29280. },
  29281. "tradetime": {
  29282. "description": "成交时间",
  29283. "type": "string"
  29284. },
  29285. "tradetype": {
  29286. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29287. "type": "integer"
  29288. }
  29289. }
  29290. },
  29291. "models.QuotePrimaryMenu": {
  29292. "type": "object",
  29293. "properties": {
  29294. "Index": {
  29295. "description": "序号",
  29296. "type": "integer"
  29297. },
  29298. "Key": {
  29299. "description": "键名",
  29300. "type": "string"
  29301. },
  29302. "Name": {
  29303. "description": "菜单名称",
  29304. "type": "string"
  29305. },
  29306. "SubMenus": {
  29307. "description": "子菜单",
  29308. "type": "array",
  29309. "items": {
  29310. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29311. }
  29312. },
  29313. "SubTitleType": {
  29314. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29315. "type": "integer"
  29316. },
  29317. "TradeModes": {
  29318. "description": "包含市场交易类型",
  29319. "type": "string"
  29320. }
  29321. }
  29322. },
  29323. "models.QuoteSecondaryMenu": {
  29324. "type": "object",
  29325. "properties": {
  29326. "ExExchangeCode": {
  29327. "description": "外部交易所代码",
  29328. "type": "string"
  29329. },
  29330. "ExExchangeID": {
  29331. "description": "外部交易所ID",
  29332. "type": "integer"
  29333. },
  29334. "GoodsGroupIDs": {
  29335. "description": "商品组ID列表",
  29336. "type": "array",
  29337. "items": {
  29338. "type": "integer"
  29339. }
  29340. },
  29341. "Index": {
  29342. "description": "序号",
  29343. "type": "integer"
  29344. },
  29345. "MarketID": {
  29346. "description": "市场ID",
  29347. "type": "integer"
  29348. },
  29349. "MenuTitle": {
  29350. "description": "菜单标题(市场名称或外部交易所名称)",
  29351. "type": "string"
  29352. },
  29353. "TradeMode": {
  29354. "description": "交易模式",
  29355. "type": "integer"
  29356. }
  29357. }
  29358. },
  29359. "models.RoleMenu": {
  29360. "type": "object",
  29361. "properties": {
  29362. "hasright": {
  29363. "description": "是否有权限 0-没有权限 1-有权限",
  29364. "type": "integer"
  29365. },
  29366. "iconame": {
  29367. "description": "菜单图标",
  29368. "type": "string"
  29369. },
  29370. "menutype": {
  29371. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29372. "type": "integer"
  29373. },
  29374. "parentcode": {
  29375. "description": "上级资源代码",
  29376. "type": "string"
  29377. },
  29378. "remark": {
  29379. "description": "菜单备注",
  29380. "type": "string"
  29381. },
  29382. "resourcecode": {
  29383. "description": "菜单代码",
  29384. "type": "string"
  29385. },
  29386. "resourcelevel": {
  29387. "description": "级别",
  29388. "type": "integer"
  29389. },
  29390. "resourcename": {
  29391. "description": "菜单名称",
  29392. "type": "string"
  29393. },
  29394. "roleid": {
  29395. "description": "角色id",
  29396. "type": "integer"
  29397. },
  29398. "sort": {
  29399. "description": "排序",
  29400. "type": "integer"
  29401. },
  29402. "subMenu": {
  29403. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29404. "type": "array",
  29405. "items": {
  29406. "$ref": "#/definitions/models.RoleMenu"
  29407. }
  29408. },
  29409. "url": {
  29410. "description": "URL",
  29411. "type": "string"
  29412. },
  29413. "userid": {
  29414. "description": "用户id",
  29415. "type": "integer"
  29416. }
  29417. }
  29418. },
  29419. "models.SearchGoods": {
  29420. "type": "object",
  29421. "required": [
  29422. "goodscode",
  29423. "goodsid",
  29424. "goodsname",
  29425. "marketid",
  29426. "trademode"
  29427. ],
  29428. "properties": {
  29429. "goodscode": {
  29430. "description": "商品代码(内部)",
  29431. "type": "string"
  29432. },
  29433. "goodsid": {
  29434. "description": "商品ID(自增ID SEQ_GOODS)",
  29435. "type": "integer"
  29436. },
  29437. "goodsname": {
  29438. "description": "商品名称",
  29439. "type": "string"
  29440. },
  29441. "marketid": {
  29442. "description": "所属市场ID",
  29443. "type": "integer"
  29444. },
  29445. "marketname": {
  29446. "description": "市场名称",
  29447. "type": "string"
  29448. },
  29449. "trademode": {
  29450. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29451. "type": "integer"
  29452. }
  29453. }
  29454. },
  29455. "models.Systemparam": {
  29456. "type": "object",
  29457. "required": [
  29458. "paramcode"
  29459. ],
  29460. "properties": {
  29461. "loginid": {
  29462. "description": "更新用户账号,登录账号",
  29463. "type": "string"
  29464. },
  29465. "modifyflag": {
  29466. "description": "修改标志0 不允许修改 1 允许修改",
  29467. "type": "integer"
  29468. },
  29469. "paramcode": {
  29470. "description": "参数代码",
  29471. "type": "string"
  29472. },
  29473. "paramname": {
  29474. "description": "参数名",
  29475. "type": "string"
  29476. },
  29477. "paramtype": {
  29478. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29479. "type": "integer"
  29480. },
  29481. "paramvalue": {
  29482. "description": "参数值",
  29483. "type": "string"
  29484. },
  29485. "paramvalue2": {
  29486. "description": "参数值(CLOB)",
  29487. "type": "string"
  29488. },
  29489. "regexpress": {
  29490. "description": "正则表达式",
  29491. "type": "string"
  29492. },
  29493. "remark": {
  29494. "description": "备注",
  29495. "type": "string"
  29496. },
  29497. "serverip": {
  29498. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29499. "type": "string"
  29500. },
  29501. "showflag": {
  29502. "description": "是否显示0 不显示 1 显示",
  29503. "type": "integer"
  29504. },
  29505. "updatetime": {
  29506. "description": "更新时间",
  29507. "type": "string"
  29508. },
  29509. "userid": {
  29510. "description": "更新用户ID",
  29511. "type": "integer"
  29512. }
  29513. }
  29514. },
  29515. "models.Szdz3convertconfig": {
  29516. "type": "object",
  29517. "required": [
  29518. "converttype",
  29519. "innergoodsid",
  29520. "outergoodscode"
  29521. ],
  29522. "properties": {
  29523. "canin": {
  29524. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29525. "type": "integer"
  29526. },
  29527. "canout": {
  29528. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29529. "type": "integer"
  29530. },
  29531. "converttype": {
  29532. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29533. "type": "integer"
  29534. },
  29535. "createtime": {
  29536. "description": "创建时间",
  29537. "type": "string"
  29538. },
  29539. "creatorid": {
  29540. "description": "创建人",
  29541. "type": "integer"
  29542. },
  29543. "daymaxvalue": {
  29544. "description": "当日最大转入限制",
  29545. "type": "number"
  29546. },
  29547. "freezedays": {
  29548. "description": "冻结天数 [5:花生米转交易]",
  29549. "type": "integer"
  29550. },
  29551. "innergoodsid": {
  29552. "description": "内部商品ID[交易]",
  29553. "type": "integer"
  29554. },
  29555. "inratio": {
  29556. "description": "目标值",
  29557. "type": "integer"
  29558. },
  29559. "modifierid": {
  29560. "description": "修改人",
  29561. "type": "integer"
  29562. },
  29563. "modifytime": {
  29564. "description": "修改时间",
  29565. "type": "string"
  29566. },
  29567. "outergoodscode": {
  29568. "description": "外部商品代码[JD\\PD]",
  29569. "type": "string"
  29570. },
  29571. "outratio": {
  29572. "description": "源值",
  29573. "type": "integer"
  29574. },
  29575. "pddecimalplace": {
  29576. "description": "PD小数位",
  29577. "type": "integer"
  29578. },
  29579. "timemaxvalue": {
  29580. "description": "单次最大转入限制",
  29581. "type": "number"
  29582. },
  29583. "timeminvalue": {
  29584. "description": "单次最小转入限制",
  29585. "type": "number"
  29586. }
  29587. }
  29588. },
  29589. "models.Szdz3searchwhitelist": {
  29590. "type": "object",
  29591. "required": [
  29592. "userid"
  29593. ],
  29594. "properties": {
  29595. "createtime": {
  29596. "description": "创建时间",
  29597. "type": "string"
  29598. },
  29599. "creatorid": {
  29600. "description": "创建人",
  29601. "type": "integer"
  29602. },
  29603. "modifierid": {
  29604. "description": "修改人",
  29605. "type": "integer"
  29606. },
  29607. "modifytime": {
  29608. "description": "修改时间",
  29609. "type": "string"
  29610. },
  29611. "userid": {
  29612. "description": "用户ID",
  29613. "type": "integer"
  29614. }
  29615. }
  29616. },
  29617. "models.Taaccount": {
  29618. "type": "object",
  29619. "required": [
  29620. "accountid",
  29621. "userid"
  29622. ],
  29623. "properties": {
  29624. "accountflag": {
  29625. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29626. "type": "integer"
  29627. },
  29628. "accountid": {
  29629. "description": "资金账户ID",
  29630. "type": "integer"
  29631. },
  29632. "accountname": {
  29633. "description": "账户名称",
  29634. "type": "string"
  29635. },
  29636. "balance": {
  29637. "description": "期初余额",
  29638. "type": "number"
  29639. },
  29640. "capitalbalance": {
  29641. "description": "本金余额[外部子账户实际出入金余额]",
  29642. "type": "number"
  29643. },
  29644. "changeflag": {
  29645. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29646. "type": "integer"
  29647. },
  29648. "changetime": {
  29649. "description": "账户状态变更时间",
  29650. "type": "string"
  29651. },
  29652. "closepl": {
  29653. "description": "今日平仓盈亏",
  29654. "type": "number"
  29655. },
  29656. "creditdecrease": {
  29657. "description": "今日授信减少",
  29658. "type": "number"
  29659. },
  29660. "creditincrease": {
  29661. "description": "今日授信增加",
  29662. "type": "number"
  29663. },
  29664. "curamount": {
  29665. "description": "总市值(从持仓中统计)",
  29666. "type": "number"
  29667. },
  29668. "currencyid": {
  29669. "description": "货币ID",
  29670. "type": "integer"
  29671. },
  29672. "currentbalance": {
  29673. "description": "期末余额",
  29674. "type": "number"
  29675. },
  29676. "freezecharge": {
  29677. "description": "手续费冻结",
  29678. "type": "number"
  29679. },
  29680. "freezemargin": {
  29681. "description": "冻结保证金",
  29682. "type": "number"
  29683. },
  29684. "fromaccountid": {
  29685. "description": "所属上级账户",
  29686. "type": "integer"
  29687. },
  29688. "inamount": {
  29689. "description": "今日入金金额(包括三方入金)",
  29690. "type": "number"
  29691. },
  29692. "ismain": {
  29693. "description": "是否母账号 0:不是母账户 1:是母账户",
  29694. "type": "integer"
  29695. },
  29696. "ismarketaccount": {
  29697. "description": "是否机构接单账号 0:不是 1:是",
  29698. "type": "integer"
  29699. },
  29700. "isreckonaccount": {
  29701. "description": "是否机构分润账号 0:不是 1:是",
  29702. "type": "integer"
  29703. },
  29704. "mortgagecredit": {
  29705. "description": "授信金额",
  29706. "type": "number"
  29707. },
  29708. "orifreezecharge": {
  29709. "description": "期初手续费冻结",
  29710. "type": "number"
  29711. },
  29712. "orifreezemargin": {
  29713. "description": "期初冻结保证金",
  29714. "type": "number"
  29715. },
  29716. "orimortgagecredit": {
  29717. "description": "期初授信金额",
  29718. "type": "number"
  29719. },
  29720. "oriothercredit": {
  29721. "description": "期初其它授信金额",
  29722. "type": "number"
  29723. },
  29724. "oriotherfreezemargin": {
  29725. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29726. "type": "number"
  29727. },
  29728. "orioutamountfreeze": {
  29729. "description": "期初出金冻结",
  29730. "type": "number"
  29731. },
  29732. "oriusedmargin": {
  29733. "description": "期初占用保证金",
  29734. "type": "number"
  29735. },
  29736. "othercredit": {
  29737. "description": "其它授信金额",
  29738. "type": "number"
  29739. },
  29740. "othercreditdecrease": {
  29741. "description": "今日其它授信减少",
  29742. "type": "number"
  29743. },
  29744. "othercreditincrease": {
  29745. "description": "今日其它授信增加",
  29746. "type": "number"
  29747. },
  29748. "otherfreezemargin": {
  29749. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29750. "type": "number"
  29751. },
  29752. "otherincome": {
  29753. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  29754. "type": "number"
  29755. },
  29756. "otherpay": {
  29757. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  29758. "type": "number"
  29759. },
  29760. "outamount": {
  29761. "description": "今日出金金额(包括三方出金)",
  29762. "type": "number"
  29763. },
  29764. "outamountfreeze": {
  29765. "description": "出金冻结",
  29766. "type": "number"
  29767. },
  29768. "outthreshold": {
  29769. "description": "出金阈值",
  29770. "type": "number"
  29771. },
  29772. "parentaccountid": {
  29773. "description": "所属根账号",
  29774. "type": "integer"
  29775. },
  29776. "paycharge": {
  29777. "description": "今日手续费支出",
  29778. "type": "number"
  29779. },
  29780. "relatedaccountstatus": {
  29781. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  29782. "type": "integer"
  29783. },
  29784. "relateduserid": {
  29785. "description": "关联用户",
  29786. "type": "integer"
  29787. },
  29788. "remainamount": {
  29789. "description": "融资额(从融资合同中统计)",
  29790. "type": "number"
  29791. },
  29792. "serivcegroup": {
  29793. "description": "服务分组",
  29794. "type": "integer"
  29795. },
  29796. "signstatus": {
  29797. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29798. "type": "integer"
  29799. },
  29800. "sublevelpath": {
  29801. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29802. "type": "string"
  29803. },
  29804. "taaccounttype": {
  29805. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29806. "type": "integer"
  29807. },
  29808. "thirdinamount": {
  29809. "description": "今日三方入金",
  29810. "type": "number"
  29811. },
  29812. "thirdoutamount": {
  29813. "description": "今日三方出金",
  29814. "type": "number"
  29815. },
  29816. "tradestatus": {
  29817. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29818. "type": "integer"
  29819. },
  29820. "tradestatuschangetime": {
  29821. "description": "激活时间",
  29822. "type": "string"
  29823. },
  29824. "transferamount": {
  29825. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29826. "type": "number"
  29827. },
  29828. "usedmargin": {
  29829. "description": "占用保证金",
  29830. "type": "number"
  29831. },
  29832. "userid": {
  29833. "description": "用户ID",
  29834. "type": "integer"
  29835. }
  29836. }
  29837. },
  29838. "models.Tablecolumnconfig": {
  29839. "type": "object",
  29840. "required": [
  29841. "autoid"
  29842. ],
  29843. "properties": {
  29844. "aligntype": {
  29845. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  29846. "type": "integer"
  29847. },
  29848. "autoid": {
  29849. "description": "AutoID",
  29850. "type": "integer"
  29851. },
  29852. "columnfield": {
  29853. "description": "列字段",
  29854. "type": "string"
  29855. },
  29856. "columntitle": {
  29857. "description": "列Title",
  29858. "type": "string"
  29859. },
  29860. "columnwidth": {
  29861. "description": "列宽",
  29862. "type": "string"
  29863. },
  29864. "formatterstring": {
  29865. "description": "格式化字符",
  29866. "type": "string"
  29867. },
  29868. "formattertype": {
  29869. "description": "格式化类型",
  29870. "type": "string"
  29871. },
  29872. "groupname": {
  29873. "description": "表头分组名称",
  29874. "type": "string"
  29875. },
  29876. "isshow": {
  29877. "description": "是否显示 - 0:不显示 1:显示",
  29878. "type": "integer"
  29879. },
  29880. "needsummary": {
  29881. "description": "是否需要汇总 - 0:不需要 1:需要",
  29882. "type": "integer"
  29883. },
  29884. "orderindex": {
  29885. "description": "顺序",
  29886. "type": "integer"
  29887. },
  29888. "remark": {
  29889. "description": "备注",
  29890. "type": "string"
  29891. },
  29892. "summarytype": {
  29893. "description": "汇总类型 - 1:加总 2:最后一个",
  29894. "type": "integer"
  29895. },
  29896. "tablekey": {
  29897. "description": "列表Key",
  29898. "type": "string"
  29899. }
  29900. }
  29901. },
  29902. "models.UserCollectConfig": {
  29903. "type": "object",
  29904. "properties": {
  29905. "accountstatus": {
  29906. "description": "账户状态 - 1:正常 2:停用 3:注销",
  29907. "type": "integer"
  29908. },
  29909. "collectaccountname": {
  29910. "description": "收款人账户名称",
  29911. "type": "string"
  29912. },
  29913. "collectaccountno": {
  29914. "description": "收款人账户",
  29915. "type": "string"
  29916. },
  29917. "collectbankname": {
  29918. "description": "收款人开户行",
  29919. "type": "string"
  29920. },
  29921. "collectbranchbankname": {
  29922. "description": "收款人开户支行",
  29923. "type": "string"
  29924. },
  29925. "collectconfigid": {
  29926. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  29927. "type": "string"
  29928. },
  29929. "remark": {
  29930. "description": "备注",
  29931. "type": "string"
  29932. },
  29933. "userid": {
  29934. "description": "收款人用户ID",
  29935. "type": "integer"
  29936. }
  29937. }
  29938. },
  29939. "models.UserReceiveInfo": {
  29940. "type": "object",
  29941. "properties": {
  29942. "address": {
  29943. "description": "提货人详细地址",
  29944. "type": "string"
  29945. },
  29946. "autoid": {
  29947. "description": "AutoID",
  29948. "type": "integer"
  29949. },
  29950. "cardnum": {
  29951. "description": "证件号码(加密存储)",
  29952. "type": "string"
  29953. },
  29954. "cardtypeid": {
  29955. "description": "证件类型",
  29956. "type": "integer"
  29957. },
  29958. "cityid": {
  29959. "description": "市",
  29960. "type": "integer"
  29961. },
  29962. "cityname": {
  29963. "description": "城市名称",
  29964. "type": "string"
  29965. },
  29966. "countryid": {
  29967. "description": "国家",
  29968. "type": "integer"
  29969. },
  29970. "countryname": {
  29971. "description": "国家名称",
  29972. "type": "string"
  29973. },
  29974. "districtid": {
  29975. "description": "地区",
  29976. "type": "integer"
  29977. },
  29978. "districtname": {
  29979. "description": "地区名称",
  29980. "type": "string"
  29981. },
  29982. "hasencrypt": {
  29983. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29984. "type": "integer"
  29985. },
  29986. "isdefault": {
  29987. "description": "是否默认地址 - 0:否 1:是",
  29988. "type": "integer"
  29989. },
  29990. "phonenum": {
  29991. "description": "提货人联系方式(加密存储)",
  29992. "type": "string"
  29993. },
  29994. "provinceid": {
  29995. "description": "省",
  29996. "type": "integer"
  29997. },
  29998. "provincename": {
  29999. "description": "省名称",
  30000. "type": "string"
  30001. },
  30002. "receivername": {
  30003. "description": "提货人姓名",
  30004. "type": "string"
  30005. },
  30006. "takeremark": {
  30007. "description": "提货备注",
  30008. "type": "string"
  30009. },
  30010. "userid": {
  30011. "description": "用户ID",
  30012. "type": "integer"
  30013. }
  30014. }
  30015. },
  30016. "models.Useraccount": {
  30017. "type": "object",
  30018. "required": [
  30019. "userid"
  30020. ],
  30021. "properties": {
  30022. "accountname": {
  30023. "description": "账户名称(机构名称)",
  30024. "type": "string"
  30025. },
  30026. "accountstatus": {
  30027. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30028. "type": "integer"
  30029. },
  30030. "applysrc": {
  30031. "description": "申请来源 - 1:管理端 2:终端",
  30032. "type": "integer"
  30033. },
  30034. "auditremark": {
  30035. "description": "审核备注",
  30036. "type": "string"
  30037. },
  30038. "auditsrc": {
  30039. "description": "审核来源 - 1:管理端 2:终端",
  30040. "type": "integer"
  30041. },
  30042. "audittime": {
  30043. "description": "审核时间",
  30044. "type": "string"
  30045. },
  30046. "audituserid": {
  30047. "description": "审核人",
  30048. "type": "integer"
  30049. },
  30050. "broker": {
  30051. "description": "所属经纪人ID",
  30052. "type": "integer"
  30053. },
  30054. "canceltime": {
  30055. "description": "销户时间",
  30056. "type": "string"
  30057. },
  30058. "canceluserid": {
  30059. "description": "销户人",
  30060. "type": "integer"
  30061. },
  30062. "canrecommend": {
  30063. "description": "是否可推荐 - 0:不可 1;可",
  30064. "type": "integer"
  30065. },
  30066. "createtime": {
  30067. "description": "创建时间",
  30068. "type": "string"
  30069. },
  30070. "creatorid": {
  30071. "description": "创建人",
  30072. "type": "integer"
  30073. },
  30074. "hasauth": {
  30075. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30076. "type": "integer"
  30077. },
  30078. "isanonymous": {
  30079. "description": "是否匿名下单 - 0:否 1:是",
  30080. "type": "integer"
  30081. },
  30082. "maxinvestornum": {
  30083. "description": "最大用户数(经纪会员下投资者个数)",
  30084. "type": "integer"
  30085. },
  30086. "memberuserid": {
  30087. "description": "所属会员ID",
  30088. "type": "integer"
  30089. },
  30090. "modifierid": {
  30091. "description": "修改人",
  30092. "type": "integer"
  30093. },
  30094. "modifyremark": {
  30095. "description": "变更备注",
  30096. "type": "string"
  30097. },
  30098. "modifystatus": {
  30099. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  30100. "type": "integer"
  30101. },
  30102. "modifytime": {
  30103. "description": "修改时间",
  30104. "type": "string"
  30105. },
  30106. "parenttopuser": {
  30107. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30108. "type": "string"
  30109. },
  30110. "parentuserid": {
  30111. "description": "所属机构ID",
  30112. "type": "integer"
  30113. },
  30114. "reckonaccountid": {
  30115. "description": "默认结算资金账号ID(机构分润使用) 作废",
  30116. "type": "integer"
  30117. },
  30118. "refercount": {
  30119. "description": "推荐总人数",
  30120. "type": "integer"
  30121. },
  30122. "refereeuserid": {
  30123. "description": "推荐人ID",
  30124. "type": "integer"
  30125. },
  30126. "refernum": {
  30127. "description": "推荐码",
  30128. "type": "string"
  30129. },
  30130. "rootuserid": {
  30131. "description": "根用户ID",
  30132. "type": "integer"
  30133. },
  30134. "subaccountlevel": {
  30135. "description": "子账户层数",
  30136. "type": "integer"
  30137. },
  30138. "subarealevelpath": {
  30139. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30140. "type": "string"
  30141. },
  30142. "userid": {
  30143. "description": "用户ID",
  30144. "type": "integer"
  30145. },
  30146. "usertype": {
  30147. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30148. "type": "integer"
  30149. }
  30150. }
  30151. },
  30152. "models.Userfavoritegoods": {
  30153. "type": "object",
  30154. "required": [
  30155. "goodsid"
  30156. ],
  30157. "properties": {
  30158. "goodsid": {
  30159. "description": "商品ID",
  30160. "type": "integer"
  30161. }
  30162. }
  30163. },
  30164. "models.Userinfo": {
  30165. "type": "object",
  30166. "required": [
  30167. "userid"
  30168. ],
  30169. "properties": {
  30170. "address": {
  30171. "description": "地址",
  30172. "type": "string"
  30173. },
  30174. "attachment1": {
  30175. "description": "附件1",
  30176. "type": "string"
  30177. },
  30178. "attachment2": {
  30179. "description": "附件2",
  30180. "type": "string"
  30181. },
  30182. "bankaccount": {
  30183. "description": "银行帐号 (加密存储)",
  30184. "type": "string"
  30185. },
  30186. "bankaccountname": {
  30187. "description": "收款人名称",
  30188. "type": "string"
  30189. },
  30190. "bankcardfrontphotourl": {
  30191. "description": "银行卡正面照地址",
  30192. "type": "string"
  30193. },
  30194. "bankid": {
  30195. "description": "银行编码",
  30196. "type": "string"
  30197. },
  30198. "bankname": {
  30199. "description": "银行名称",
  30200. "type": "string"
  30201. },
  30202. "biznature": {
  30203. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  30204. "type": "integer"
  30205. },
  30206. "bizscope": {
  30207. "description": "企业经营范围(企业)",
  30208. "type": "string"
  30209. },
  30210. "cardbackphotourl": {
  30211. "description": "证件背面图片地址",
  30212. "type": "string"
  30213. },
  30214. "cardfrontphotourl": {
  30215. "description": "证件正面图片地址",
  30216. "type": "string"
  30217. },
  30218. "cardnum": {
  30219. "description": "证件号码(加密存储)",
  30220. "type": "string"
  30221. },
  30222. "cardtypeid": {
  30223. "description": "证件类型ID",
  30224. "type": "integer"
  30225. },
  30226. "cityid": {
  30227. "description": "市",
  30228. "type": "integer"
  30229. },
  30230. "company": {
  30231. "description": "公司(个人)",
  30232. "type": "string"
  30233. },
  30234. "contactname": {
  30235. "description": "联系人",
  30236. "type": "string"
  30237. },
  30238. "countryid": {
  30239. "description": "国家",
  30240. "type": "integer"
  30241. },
  30242. "createtime": {
  30243. "description": "创建时间",
  30244. "type": "string"
  30245. },
  30246. "creatorid": {
  30247. "description": "创建人",
  30248. "type": "integer"
  30249. },
  30250. "customername": {
  30251. "description": "客户名称(企业名称)",
  30252. "type": "string"
  30253. },
  30254. "districtid": {
  30255. "description": "地区",
  30256. "type": "integer"
  30257. },
  30258. "email": {
  30259. "description": "邮件(加密存储)",
  30260. "type": "string"
  30261. },
  30262. "fax": {
  30263. "description": "传真(加密存储)",
  30264. "type": "string"
  30265. },
  30266. "halfbodyphotourl": {
  30267. "description": "半身照地址",
  30268. "type": "string"
  30269. },
  30270. "hasencrypt": {
  30271. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30272. "type": "integer"
  30273. },
  30274. "headurl": {
  30275. "description": "头像地址",
  30276. "type": "string"
  30277. },
  30278. "legalcardbackphotourl": {
  30279. "description": "法人身份证背面照地址",
  30280. "type": "string"
  30281. },
  30282. "legalcardfrontphotourl": {
  30283. "description": "法人身份证正面照地址",
  30284. "type": "string"
  30285. },
  30286. "legalpersonname": {
  30287. "description": "法人姓名(企业)",
  30288. "type": "string"
  30289. },
  30290. "mobile": {
  30291. "description": "手机号码(加密存储)",
  30292. "type": "string"
  30293. },
  30294. "mobile2": {
  30295. "description": "手机号码[明文-尚志]",
  30296. "type": "string"
  30297. },
  30298. "modifierid": {
  30299. "description": "修改人",
  30300. "type": "integer"
  30301. },
  30302. "modifiertime": {
  30303. "description": "修改时间",
  30304. "type": "string"
  30305. },
  30306. "needinvoice": {
  30307. "description": "是否需要发票 - 0:不需要 1:需要",
  30308. "type": "integer"
  30309. },
  30310. "nickname": {
  30311. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  30312. "type": "string"
  30313. },
  30314. "openmode": {
  30315. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  30316. "type": "integer"
  30317. },
  30318. "otherurl": {
  30319. "description": "其它图片地址[使用分号分隔]",
  30320. "type": "string"
  30321. },
  30322. "postalcode": {
  30323. "description": "邮政编码",
  30324. "type": "string"
  30325. },
  30326. "provinceid": {
  30327. "description": "省",
  30328. "type": "integer"
  30329. },
  30330. "qq": {
  30331. "description": "QQ(加密存储",
  30332. "type": "string"
  30333. },
  30334. "remark": {
  30335. "description": "备注",
  30336. "type": "string"
  30337. },
  30338. "sex": {
  30339. "description": "用户性别 0: 女 1: 男",
  30340. "type": "integer"
  30341. },
  30342. "signpdfurl": {
  30343. "description": "签约pdf文件",
  30344. "type": "string"
  30345. },
  30346. "telphone": {
  30347. "description": "联系电话(加密存储)",
  30348. "type": "string"
  30349. },
  30350. "userid": {
  30351. "description": "用户ID",
  30352. "type": "integer"
  30353. },
  30354. "userinfotype": {
  30355. "description": "用户信息类型 - 1:个人 2:企业",
  30356. "type": "integer"
  30357. },
  30358. "userstatus": {
  30359. "description": "用户状态 - 1:正常 2:注销",
  30360. "type": "integer"
  30361. },
  30362. "usertype": {
  30363. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  30364. "type": "integer"
  30365. },
  30366. "wechat": {
  30367. "description": "微信(加密存储)",
  30368. "type": "string"
  30369. },
  30370. "wskhinfo": {
  30371. "description": "开户申请信息(JSON)",
  30372. "type": "string"
  30373. }
  30374. }
  30375. },
  30376. "models.WRSConverTDetail": {
  30377. "type": "object",
  30378. "properties": {
  30379. "convertratio": {
  30380. "description": "套保系数",
  30381. "type": "number"
  30382. },
  30383. "deliverygoodscode": {
  30384. "description": "现货商品代码",
  30385. "type": "string"
  30386. },
  30387. "deliverygoodsid": {
  30388. "description": "现货品种ID",
  30389. "type": "integer"
  30390. },
  30391. "deliverygoodsname": {
  30392. "description": "现货商品名称",
  30393. "type": "string"
  30394. },
  30395. "enumdicname": {
  30396. "description": "单位名称",
  30397. "type": "string"
  30398. },
  30399. "goodsunitid": {
  30400. "description": "套保品种单位id",
  30401. "type": "integer"
  30402. },
  30403. "middlegoodscode": {
  30404. "description": "套保品种代码",
  30405. "type": "string"
  30406. },
  30407. "middlegoodsid": {
  30408. "description": "套保品种ID",
  30409. "type": "integer"
  30410. },
  30411. "middlegoodsname": {
  30412. "description": "套保品种名称",
  30413. "type": "string"
  30414. },
  30415. "modifytime": {
  30416. "description": "修改时间",
  30417. "type": "string"
  30418. },
  30419. "wrstandardid": {
  30420. "description": "品类ID",
  30421. "type": "integer"
  30422. }
  30423. }
  30424. },
  30425. "models.WRStandardInfo": {
  30426. "type": "object",
  30427. "required": [
  30428. "wrstandardid"
  30429. ],
  30430. "properties": {
  30431. "areauserid": {
  30432. "description": "所属机构",
  30433. "type": "integer"
  30434. },
  30435. "convertfactor": {
  30436. "description": "标仓系数",
  30437. "type": "number"
  30438. },
  30439. "createtime": {
  30440. "description": "创建时间",
  30441. "type": "string"
  30442. },
  30443. "creatorid": {
  30444. "description": "创建人",
  30445. "type": "integer"
  30446. },
  30447. "deliverygoodsid": {
  30448. "description": "品种ID",
  30449. "type": "integer"
  30450. },
  30451. "deliverygoodsname": {
  30452. "description": "交割商品名称",
  30453. "type": "string"
  30454. },
  30455. "factoryitemjson": {
  30456. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  30457. "type": "string"
  30458. },
  30459. "isvalid": {
  30460. "description": "是否有效 - 0:无效 1:有效",
  30461. "type": "integer"
  30462. },
  30463. "minivalue": {
  30464. "description": "最小变动值",
  30465. "type": "integer"
  30466. },
  30467. "minivaluedp": {
  30468. "description": "最小变动值小数位",
  30469. "type": "integer"
  30470. },
  30471. "realminivalue": {
  30472. "description": "实际最小变动值",
  30473. "type": "integer"
  30474. },
  30475. "realminivaluedp": {
  30476. "description": "实际最小变动值小数位",
  30477. "type": "integer"
  30478. },
  30479. "remark": {
  30480. "description": "备注",
  30481. "type": "string"
  30482. },
  30483. "unitid": {
  30484. "description": "单位ID",
  30485. "type": "integer"
  30486. },
  30487. "unitname": {
  30488. "description": "单位",
  30489. "type": "string"
  30490. },
  30491. "updatetime": {
  30492. "description": "更新时间",
  30493. "type": "string"
  30494. },
  30495. "updatorid": {
  30496. "description": "更新人",
  30497. "type": "integer"
  30498. },
  30499. "wrsstatus": {
  30500. "description": "状态 - 作废 - 0:未激活 1:正常",
  30501. "type": "integer"
  30502. },
  30503. "wrstandardcode": {
  30504. "description": "现货品类代码",
  30505. "type": "string"
  30506. },
  30507. "wrstandardid": {
  30508. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30509. "type": "integer"
  30510. },
  30511. "wrstandardname": {
  30512. "description": "现货品类名称",
  30513. "type": "string"
  30514. }
  30515. }
  30516. },
  30517. "models.WRTradeBargainApply": {
  30518. "type": "object",
  30519. "properties": {
  30520. "accountid": {
  30521. "description": "摘牌资金账号",
  30522. "type": "integer"
  30523. },
  30524. "applyprice": {
  30525. "description": "申请价格(议价价格)",
  30526. "type": "string"
  30527. },
  30528. "applyqty": {
  30529. "description": "摘牌数量(议价数量)",
  30530. "type": "number"
  30531. },
  30532. "applyremark": {
  30533. "description": "申请备注",
  30534. "type": "string"
  30535. },
  30536. "applystatus": {
  30537. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30538. "type": "integer"
  30539. },
  30540. "applytime": {
  30541. "description": "申请时间(议价时间)",
  30542. "type": "string"
  30543. },
  30544. "buyorsell": {
  30545. "description": "买卖(挂牌类型) - 0:买 1:卖",
  30546. "type": "integer"
  30547. },
  30548. "confirmremark": {
  30549. "description": "确认备注",
  30550. "type": "string"
  30551. },
  30552. "confirmtime": {
  30553. "description": "确认时间",
  30554. "type": "string"
  30555. },
  30556. "confirmuserid": {
  30557. "description": "确认人",
  30558. "type": "integer"
  30559. },
  30560. "deliverygoodscode": {
  30561. "description": "品种代码",
  30562. "type": "string"
  30563. },
  30564. "deliverygoodsid": {
  30565. "description": "品种ID",
  30566. "type": "integer"
  30567. },
  30568. "deliverygoodsname": {
  30569. "description": "品种名称",
  30570. "type": "string"
  30571. },
  30572. "deliverymonth": {
  30573. "description": "交收月",
  30574. "type": "string"
  30575. },
  30576. "enumdicname": {
  30577. "description": "单位名称",
  30578. "type": "string"
  30579. },
  30580. "fixedprice": {
  30581. "description": "挂牌价格",
  30582. "type": "number"
  30583. },
  30584. "handlestatus": {
  30585. "description": "处理状态",
  30586. "type": "integer"
  30587. },
  30588. "marginvalue": {
  30589. "description": "履约保证金比例",
  30590. "type": "number"
  30591. },
  30592. "marketid": {
  30593. "description": "市场ID",
  30594. "type": "integer"
  30595. },
  30596. "matchaccountid": {
  30597. "description": "挂牌方资金账号",
  30598. "type": "integer"
  30599. },
  30600. "matchuserid": {
  30601. "description": "挂牌方用户id",
  30602. "type": "integer"
  30603. },
  30604. "matchusername": {
  30605. "description": "挂牌方用户名称(已脱敏)",
  30606. "type": "string"
  30607. },
  30608. "minivalue": {
  30609. "description": "现货商品最小变动值",
  30610. "type": "integer"
  30611. },
  30612. "optioncompare": {
  30613. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30614. "type": "string"
  30615. },
  30616. "orderqty": {
  30617. "description": "挂牌数量",
  30618. "type": "integer"
  30619. },
  30620. "refprice": {
  30621. "description": "参考价格",
  30622. "type": "string"
  30623. },
  30624. "retcode": {
  30625. "description": "委托返回代码",
  30626. "type": "integer"
  30627. },
  30628. "templatename": {
  30629. "description": "履约方式(履约模板名称)",
  30630. "type": "string"
  30631. },
  30632. "tradedate": {
  30633. "description": "交易日(yyyyMMdd)",
  30634. "type": "string"
  30635. },
  30636. "userid": {
  30637. "description": "摘牌人用户ID(议价人ID)",
  30638. "type": "integer"
  30639. },
  30640. "username": {
  30641. "description": "议价人名字(已脱敏)",
  30642. "type": "string"
  30643. },
  30644. "validtime": {
  30645. "description": "有效期限",
  30646. "type": "string"
  30647. },
  30648. "warehouseid": {
  30649. "description": "仓库ID",
  30650. "type": "integer"
  30651. },
  30652. "warehousename": {
  30653. "description": "仓库名称",
  30654. "type": "string"
  30655. },
  30656. "wrbargainid": {
  30657. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  30658. "type": "string"
  30659. },
  30660. "wrfactortypeid": {
  30661. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30662. "type": "string"
  30663. },
  30664. "wrfactortypename": {
  30665. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30666. "type": "string"
  30667. },
  30668. "wrstandardcode": {
  30669. "description": "现货商品代码",
  30670. "type": "string"
  30671. },
  30672. "wrstandardid": {
  30673. "description": "现货商品ID",
  30674. "type": "integer"
  30675. },
  30676. "wrstandardname": {
  30677. "description": "商品名称",
  30678. "type": "string"
  30679. },
  30680. "wrtradeorderid": {
  30681. "description": "关联委托单ID",
  30682. "type": "string"
  30683. },
  30684. "wrtypename": {
  30685. "description": "商品",
  30686. "type": "string"
  30687. }
  30688. }
  30689. },
  30690. "models.Warehouseinfo": {
  30691. "type": "object",
  30692. "required": [
  30693. "autoid",
  30694. "warehousecode"
  30695. ],
  30696. "properties": {
  30697. "address": {
  30698. "description": "详细地址",
  30699. "type": "string"
  30700. },
  30701. "areauserid": {
  30702. "description": "所属机构",
  30703. "type": "integer"
  30704. },
  30705. "autoid": {
  30706. "description": "自增ID",
  30707. "type": "integer"
  30708. },
  30709. "cityid": {
  30710. "description": "市",
  30711. "type": "integer"
  30712. },
  30713. "contactname": {
  30714. "description": "联系人",
  30715. "type": "string"
  30716. },
  30717. "contactnum": {
  30718. "description": "联系电话",
  30719. "type": "string"
  30720. },
  30721. "countryid": {
  30722. "description": "国家",
  30723. "type": "integer"
  30724. },
  30725. "createtime": {
  30726. "description": "创建时间",
  30727. "type": "string"
  30728. },
  30729. "districtid": {
  30730. "description": "区",
  30731. "type": "integer"
  30732. },
  30733. "hasvideo": {
  30734. "description": "是否有视频 - 0:无 1:有",
  30735. "type": "integer"
  30736. },
  30737. "provinceid": {
  30738. "description": "省",
  30739. "type": "integer"
  30740. },
  30741. "remark": {
  30742. "description": "审核备注",
  30743. "type": "string"
  30744. },
  30745. "videourl": {
  30746. "description": "视频地址",
  30747. "type": "string"
  30748. },
  30749. "warehousecode": {
  30750. "description": "仓库代码",
  30751. "type": "string"
  30752. },
  30753. "warehousename": {
  30754. "description": "仓库名称",
  30755. "type": "string"
  30756. },
  30757. "warehousestatus": {
  30758. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30759. "type": "integer"
  30760. },
  30761. "warehousetype": {
  30762. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30763. "type": "integer"
  30764. }
  30765. }
  30766. },
  30767. "models.WrAverageTradePrice": {
  30768. "type": "object",
  30769. "properties": {
  30770. "averageprice": {
  30771. "description": "成交均价",
  30772. "type": "number"
  30773. },
  30774. "tradedate": {
  30775. "description": "交易日yyyymm",
  30776. "type": "string"
  30777. }
  30778. }
  30779. },
  30780. "models.WrBsGoodsInfo": {
  30781. "type": "object",
  30782. "properties": {
  30783. "buyorsell": {
  30784. "description": "买卖方向 0-买 1-卖",
  30785. "type": "integer"
  30786. },
  30787. "goodsid": {
  30788. "description": "交易合约ID",
  30789. "type": "integer"
  30790. },
  30791. "lstitem": {
  30792. "description": "商品信息项",
  30793. "type": "array",
  30794. "items": {
  30795. "$ref": "#/definitions/models.WrTypeItem"
  30796. }
  30797. },
  30798. "lststep": {
  30799. "description": "履约规则",
  30800. "type": "array",
  30801. "items": {
  30802. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  30803. }
  30804. }
  30805. }
  30806. },
  30807. "models.WrBuybackDetail": {
  30808. "type": "object",
  30809. "properties": {
  30810. "buybackamount": {
  30811. "description": "回购金额",
  30812. "type": "number"
  30813. },
  30814. "buybackqty": {
  30815. "description": "回购数量",
  30816. "type": "number"
  30817. },
  30818. "buybackreleasemargin": {
  30819. "description": "回购释放保证金",
  30820. "type": "number"
  30821. },
  30822. "buybacktime": {
  30823. "description": "回购时间",
  30824. "type": "string"
  30825. },
  30826. "errordesc": {
  30827. "description": "错误描述",
  30828. "type": "string"
  30829. },
  30830. "handlestatus": {
  30831. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  30832. "type": "integer"
  30833. },
  30834. "relatedwrid": {
  30835. "description": "关联仓单ID",
  30836. "type": "integer"
  30837. },
  30838. "scfcontractid": {
  30839. "description": "SCF合同ID",
  30840. "type": "string"
  30841. },
  30842. "scfwrbuybackid": {
  30843. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  30844. "type": "integer"
  30845. },
  30846. "tradedate": {
  30847. "description": "交易日(yyyyMMdd)",
  30848. "type": "string"
  30849. }
  30850. }
  30851. },
  30852. "models.WrDeliveryAvalidHoldLB": {
  30853. "type": "object",
  30854. "properties": {
  30855. "accountid": {
  30856. "description": "资金账号",
  30857. "type": "integer"
  30858. },
  30859. "avalidqty": {
  30860. "description": "数量(可点选数量)",
  30861. "type": "number"
  30862. },
  30863. "deliverygoodsid": {
  30864. "description": "品种id",
  30865. "type": "integer"
  30866. },
  30867. "enumdicname": {
  30868. "description": "单位名称",
  30869. "type": "string"
  30870. },
  30871. "goodsid": {
  30872. "description": "x合约商品id",
  30873. "type": "integer"
  30874. },
  30875. "ladingbillid": {
  30876. "description": "提单id",
  30877. "type": "string"
  30878. },
  30879. "pgoodscode": {
  30880. "description": "p商品代码(点价合约)",
  30881. "type": "string"
  30882. },
  30883. "pgoodsid": {
  30884. "description": "p商品id(点价合约)",
  30885. "type": "integer"
  30886. },
  30887. "pgoodsname": {
  30888. "description": "p商品名称(点价合约)",
  30889. "type": "string"
  30890. },
  30891. "pricemove": {
  30892. "description": "升贴水",
  30893. "type": "number"
  30894. },
  30895. "subnum": {
  30896. "description": "提单子id",
  30897. "type": "integer"
  30898. },
  30899. "userid": {
  30900. "description": "用户id",
  30901. "type": "integer"
  30902. },
  30903. "username": {
  30904. "description": "仓单持有人",
  30905. "type": "string"
  30906. },
  30907. "warehousecode": {
  30908. "description": "仓库代码",
  30909. "type": "string"
  30910. },
  30911. "warehouseid": {
  30912. "description": "仓库id",
  30913. "type": "integer"
  30914. },
  30915. "warehousename": {
  30916. "description": "仓库名称",
  30917. "type": "string"
  30918. },
  30919. "wrfactortypeid": {
  30920. "description": "仓单要素id",
  30921. "type": "string"
  30922. },
  30923. "wrstandardcode": {
  30924. "description": "品代码",
  30925. "type": "string"
  30926. },
  30927. "wrstandardid": {
  30928. "description": "品类d",
  30929. "type": "integer"
  30930. },
  30931. "wrstandardname": {
  30932. "description": "品类名称",
  30933. "type": "string"
  30934. },
  30935. "wrtypename": {
  30936. "description": "商品",
  30937. "type": "string"
  30938. },
  30939. "xgoodscode": {
  30940. "description": "x合约代码",
  30941. "type": "string"
  30942. },
  30943. "xgoodsname": {
  30944. "description": "x合约名称",
  30945. "type": "string"
  30946. }
  30947. }
  30948. },
  30949. "models.WrDeliveryDetail": {
  30950. "type": "object",
  30951. "properties": {
  30952. "accountid": {
  30953. "description": "账号ID",
  30954. "type": "integer"
  30955. },
  30956. "averageprice": {
  30957. "description": "交割均价 = 交割金额 / 交割数量",
  30958. "type": "number"
  30959. },
  30960. "buyorsell": {
  30961. "description": "方向 - 0:买 1:卖",
  30962. "type": "integer"
  30963. },
  30964. "deliveryamount": {
  30965. "description": "货款金额(X总货款+P总货款)",
  30966. "type": "number"
  30967. },
  30968. "deliveryid": {
  30969. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  30970. "type": "string"
  30971. },
  30972. "deliveryorderid": {
  30973. "description": "申报单号",
  30974. "type": "string"
  30975. },
  30976. "deliverypricemove": {
  30977. "description": "升贴水(升贴水总额)",
  30978. "type": "number"
  30979. },
  30980. "deliveryqty": {
  30981. "description": "交收数量(点选数量)",
  30982. "type": "number"
  30983. },
  30984. "deliverystatus": {
  30985. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  30986. "type": "integer"
  30987. },
  30988. "deliverytime": {
  30989. "description": "交割时间",
  30990. "type": "string"
  30991. },
  30992. "deliverytotalamount": {
  30993. "description": "交收金额",
  30994. "type": "number"
  30995. },
  30996. "enumdicname": {
  30997. "description": "单位名称",
  30998. "type": "string"
  30999. },
  31000. "matchaccountid": {
  31001. "description": "对手账号ID",
  31002. "type": "integer"
  31003. },
  31004. "matchusername": {
  31005. "description": "对手方名称(仓单持有人)",
  31006. "type": "string"
  31007. },
  31008. "p1goodsremainamount": {
  31009. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31010. "type": "number"
  31011. },
  31012. "pdeliverycloseqty": {
  31013. "description": "p合约平仓数量",
  31014. "type": "number"
  31015. },
  31016. "pdeliveryprice": {
  31017. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31018. "type": "number"
  31019. },
  31020. "pgoodscode": {
  31021. "description": "商品代码",
  31022. "type": "string"
  31023. },
  31024. "pgoodsid": {
  31025. "description": "p点选合约id",
  31026. "type": "integer"
  31027. },
  31028. "pgoodsname": {
  31029. "description": "商品名称",
  31030. "type": "string"
  31031. },
  31032. "ppricemode": {
  31033. "description": "点价价格方式 - 1:商品价 2:固定值",
  31034. "type": "integer"
  31035. },
  31036. "tradedate": {
  31037. "description": "交易日(yyyymmdd)",
  31038. "type": "string"
  31039. },
  31040. "userid": {
  31041. "description": "用户id",
  31042. "type": "integer"
  31043. },
  31044. "username": {
  31045. "description": "用户名称",
  31046. "type": "string"
  31047. },
  31048. "warehousename": {
  31049. "description": "仓库名称",
  31050. "type": "string"
  31051. },
  31052. "wrfactortypeid": {
  31053. "description": "仓单要素类型ID",
  31054. "type": "string"
  31055. },
  31056. "wrtypename": {
  31057. "description": "商品",
  31058. "type": "string"
  31059. },
  31060. "xdeliverycloseqty": {
  31061. "description": "合约数量",
  31062. "type": "number"
  31063. },
  31064. "xgoodsamount": {
  31065. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  31066. "type": "number"
  31067. },
  31068. "xgoodscode": {
  31069. "description": "商品代码",
  31070. "type": "string"
  31071. },
  31072. "xgoodsid": {
  31073. "description": "x交易合约ID",
  31074. "type": "integer"
  31075. },
  31076. "xgoodsname": {
  31077. "description": "商品名称",
  31078. "type": "string"
  31079. }
  31080. }
  31081. },
  31082. "models.WrFAProductDetail": {
  31083. "type": "object",
  31084. "properties": {
  31085. "accountid": {
  31086. "description": "资金账号",
  31087. "type": "integer"
  31088. },
  31089. "areauserid": {
  31090. "description": "金融机构ID",
  31091. "type": "integer"
  31092. },
  31093. "financingdays": {
  31094. "description": "天数(天)",
  31095. "type": "integer"
  31096. },
  31097. "interestminlen": {
  31098. "description": "最小起息天数",
  31099. "type": "integer"
  31100. },
  31101. "interestrate": {
  31102. "description": "利率",
  31103. "type": "number"
  31104. },
  31105. "interestratemode": {
  31106. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31107. "type": "integer"
  31108. },
  31109. "interestsettlemode": {
  31110. "description": "结息方式 - 1:按日结息 3:按月结息",
  31111. "type": "integer"
  31112. },
  31113. "interestsettlevalue": {
  31114. "description": "结息方式值",
  31115. "type": "integer"
  31116. },
  31117. "isautoloan": {
  31118. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  31119. "type": "integer"
  31120. },
  31121. "loantag": {
  31122. "description": "放款标识: \"放款快\" 或者为空",
  31123. "type": "string"
  31124. },
  31125. "marginratio": {
  31126. "description": "保证金比率质押率 - [仓单质押]",
  31127. "type": "number"
  31128. },
  31129. "productdetailid": {
  31130. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  31131. "type": "integer"
  31132. },
  31133. "productid": {
  31134. "description": "金融产品ID",
  31135. "type": "integer"
  31136. },
  31137. "productname": {
  31138. "description": "产品名称",
  31139. "type": "string"
  31140. },
  31141. "updatetime": {
  31142. "description": "更新时间",
  31143. "type": "string"
  31144. },
  31145. "username": {
  31146. "description": "融出方",
  31147. "type": "string"
  31148. }
  31149. }
  31150. },
  31151. "models.WrFactorTypeInfo": {
  31152. "type": "object",
  31153. "properties": {
  31154. "deliverygoodscode": {
  31155. "description": "品种代码",
  31156. "type": "string"
  31157. },
  31158. "deliverygoodsname": {
  31159. "description": "品种名称",
  31160. "type": "string"
  31161. },
  31162. "dgfactoryitemid": {
  31163. "description": "选择项id",
  31164. "type": "integer"
  31165. },
  31166. "dgfactoryitemtypeid": {
  31167. "description": "要素选择项ID (1-仓库 2-品牌)",
  31168. "type": "integer"
  31169. },
  31170. "dgfactoryitemvalue": {
  31171. "description": "要素项值",
  31172. "type": "string"
  31173. },
  31174. "itemtypename": {
  31175. "description": "要素项名称",
  31176. "type": "string"
  31177. },
  31178. "optioncompare": {
  31179. "description": "选择比较串",
  31180. "type": "string"
  31181. },
  31182. "warehouseid": {
  31183. "description": "仓库id",
  31184. "type": "integer"
  31185. },
  31186. "wrfactortypeid": {
  31187. "description": "仓单要素ID",
  31188. "type": "string"
  31189. },
  31190. "wrfactortypename": {
  31191. "description": "要素名称",
  31192. "type": "string"
  31193. },
  31194. "wrfactortypename2": {
  31195. "description": "要素名称(不含仓库)",
  31196. "type": "string"
  31197. },
  31198. "wrstandardcode": {
  31199. "description": "品类代码",
  31200. "type": "string"
  31201. },
  31202. "wrstandardid": {
  31203. "description": "品类id",
  31204. "type": "integer"
  31205. },
  31206. "wrstandardname": {
  31207. "description": "品类名称",
  31208. "type": "string"
  31209. }
  31210. }
  31211. },
  31212. "models.WrFilterItem": {
  31213. "type": "object",
  31214. "properties": {
  31215. "itemcode": {
  31216. "description": "代码",
  31217. "type": "string"
  31218. },
  31219. "itemid": {
  31220. "description": "项id",
  31221. "type": "integer"
  31222. },
  31223. "itemname": {
  31224. "description": "名称",
  31225. "type": "string"
  31226. },
  31227. "itemtype": {
  31228. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  31229. "type": "integer"
  31230. }
  31231. }
  31232. },
  31233. "models.WrFinanceBuyApply": {
  31234. "type": "object",
  31235. "properties": {
  31236. "applydate": {
  31237. "description": "申请时间",
  31238. "type": "string"
  31239. },
  31240. "applystatus": {
  31241. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  31242. "type": "integer"
  31243. },
  31244. "applyuserid": {
  31245. "description": "申请人",
  31246. "type": "integer"
  31247. },
  31248. "auditdate": {
  31249. "description": "审核时间",
  31250. "type": "string"
  31251. },
  31252. "auditremark": {
  31253. "description": "审核备注",
  31254. "type": "string"
  31255. },
  31256. "audituserid": {
  31257. "description": "审核人",
  31258. "type": "integer"
  31259. },
  31260. "buyaccountid": {
  31261. "description": "买方资金账号",
  31262. "type": "integer"
  31263. },
  31264. "buyorsell": {
  31265. "description": "买卖 - 0:买 1:卖",
  31266. "type": "integer"
  31267. },
  31268. "buyuserid": {
  31269. "description": "买方用户ID",
  31270. "type": "integer"
  31271. },
  31272. "buyusername": {
  31273. "description": "买方名称",
  31274. "type": "string"
  31275. },
  31276. "buywrtradeorderid": {
  31277. "description": "融资方买委托单ID",
  31278. "type": "string"
  31279. },
  31280. "deliverygoodscode": {
  31281. "description": "品种代码",
  31282. "type": "string"
  31283. },
  31284. "deliverygoodsid": {
  31285. "description": "品种ID",
  31286. "type": "integer"
  31287. },
  31288. "deliverygoodsname": {
  31289. "description": "品种名称",
  31290. "type": "string"
  31291. },
  31292. "deliverymonth": {
  31293. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  31294. "type": "string"
  31295. },
  31296. "enumdicname": {
  31297. "description": "单位名称",
  31298. "type": "string"
  31299. },
  31300. "financeaccountid": {
  31301. "description": "融资方资金帐户ID",
  31302. "type": "integer"
  31303. },
  31304. "financeapplyid": {
  31305. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31306. "type": "string"
  31307. },
  31308. "financeareauserid": {
  31309. "description": "融资方用户ID",
  31310. "type": "string"
  31311. },
  31312. "financename": {
  31313. "description": "融出方名称",
  31314. "type": "string"
  31315. },
  31316. "financetype": {
  31317. "description": "融资类型 1-融资回购",
  31318. "type": "integer"
  31319. },
  31320. "financingdays": {
  31321. "description": "天数(天)",
  31322. "type": "integer"
  31323. },
  31324. "freezebuymargin": {
  31325. "description": "冻结融资保证金(买方)",
  31326. "type": "number"
  31327. },
  31328. "handleremark": {
  31329. "description": "处理备注",
  31330. "type": "string"
  31331. },
  31332. "handlestatus": {
  31333. "description": "处理状态",
  31334. "type": "integer"
  31335. },
  31336. "interestminlen": {
  31337. "description": "最小起息天数",
  31338. "type": "integer"
  31339. },
  31340. "interestrate": {
  31341. "description": "利率",
  31342. "type": "number"
  31343. },
  31344. "interestratemode": {
  31345. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31346. "type": "integer"
  31347. },
  31348. "interestsettlemode": {
  31349. "description": "结息方式 - 1:按日结息 3:按月结息",
  31350. "type": "integer"
  31351. },
  31352. "interestsettlevalue": {
  31353. "description": "结息方式值",
  31354. "type": "integer"
  31355. },
  31356. "isautoloan": {
  31357. "description": "是否自动放款 - 0:手动 1:自动",
  31358. "type": "integer"
  31359. },
  31360. "marginratio": {
  31361. "description": "保证金比率质押率 - [仓单质押]",
  31362. "type": "number"
  31363. },
  31364. "marketid": {
  31365. "description": "市场ID",
  31366. "type": "integer"
  31367. },
  31368. "minivalue": {
  31369. "description": "现货商品最小变动值",
  31370. "type": "integer"
  31371. },
  31372. "optioncompare": {
  31373. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31374. "type": "string"
  31375. },
  31376. "orderqty": {
  31377. "description": "委托数量(商品数量)",
  31378. "type": "number"
  31379. },
  31380. "productdetailid": {
  31381. "description": "产品组合ID",
  31382. "type": "integer"
  31383. },
  31384. "productid": {
  31385. "description": "金融产品ID",
  31386. "type": "integer"
  31387. },
  31388. "productname": {
  31389. "description": "产品名称",
  31390. "type": "string"
  31391. },
  31392. "remark": {
  31393. "description": "备注",
  31394. "type": "string"
  31395. },
  31396. "scfcontractid": {
  31397. "description": "仓单回购合同ID",
  31398. "type": "string"
  31399. },
  31400. "sellaccountid": {
  31401. "description": "卖方资金账号",
  31402. "type": "integer"
  31403. },
  31404. "selluserid": {
  31405. "description": "卖方用户ID",
  31406. "type": "integer"
  31407. },
  31408. "sellwrtradeorderid": {
  31409. "description": "卖方委托单ID",
  31410. "type": "string"
  31411. },
  31412. "tradeamount": {
  31413. "description": "成交金额(借款金额)",
  31414. "type": "number"
  31415. },
  31416. "tradedate": {
  31417. "description": "交易日(yyyyMMdd)",
  31418. "type": "string"
  31419. },
  31420. "tradeprice": {
  31421. "description": "成交价格",
  31422. "type": "number"
  31423. },
  31424. "warehouseid": {
  31425. "description": "仓库ID",
  31426. "type": "integer"
  31427. },
  31428. "warehousename": {
  31429. "description": "仓库名称",
  31430. "type": "string"
  31431. },
  31432. "wrfactortypeid": {
  31433. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31434. "type": "string"
  31435. },
  31436. "wrfactortypename": {
  31437. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31438. "type": "string"
  31439. },
  31440. "wrpricetype": {
  31441. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  31442. "type": "integer"
  31443. },
  31444. "wrstandardcode": {
  31445. "description": "现货商品代码",
  31446. "type": "string"
  31447. },
  31448. "wrstandardid": {
  31449. "description": "现货商品ID",
  31450. "type": "integer"
  31451. },
  31452. "wrstandardname": {
  31453. "description": "商品名称",
  31454. "type": "string"
  31455. },
  31456. "wrtypename": {
  31457. "description": "商品",
  31458. "type": "string"
  31459. }
  31460. }
  31461. },
  31462. "models.WrFriendApply": {
  31463. "type": "object",
  31464. "properties": {
  31465. "applicantid": {
  31466. "description": "申请人",
  31467. "type": "integer"
  31468. },
  31469. "applyname": {
  31470. "description": "申请人名称",
  31471. "type": "string"
  31472. },
  31473. "applysrc": {
  31474. "description": "申请来源 - 1:管理端 2:终端",
  31475. "type": "integer"
  31476. },
  31477. "applystatus": {
  31478. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  31479. "type": "integer"
  31480. },
  31481. "applytime": {
  31482. "description": "申请时间",
  31483. "type": "string"
  31484. },
  31485. "auditname": {
  31486. "description": "审核人名称",
  31487. "type": "string"
  31488. },
  31489. "auditorid": {
  31490. "description": "审核人",
  31491. "type": "integer"
  31492. },
  31493. "auditremark": {
  31494. "description": "审核备注",
  31495. "type": "string"
  31496. },
  31497. "auditsrc": {
  31498. "description": "审核来源 - 1:管理端 2:终端",
  31499. "type": "integer"
  31500. },
  31501. "audittime": {
  31502. "description": "审核时间",
  31503. "type": "string"
  31504. },
  31505. "friendapplyid": {
  31506. "description": "申请ID(SEQ_FRIENDAPPLY)",
  31507. "type": "string"
  31508. },
  31509. "friendname": {
  31510. "description": "好友名字(已脱敏)",
  31511. "type": "string"
  31512. },
  31513. "frienduserid": {
  31514. "description": "好友用户ID",
  31515. "type": "string"
  31516. },
  31517. "remark": {
  31518. "description": "备注",
  31519. "type": "string"
  31520. },
  31521. "userid": {
  31522. "description": "申请人用户ID",
  31523. "type": "integer"
  31524. }
  31525. }
  31526. },
  31527. "models.WrFtDeliveryGoods": {
  31528. "type": "object",
  31529. "properties": {
  31530. "deliverygoodscode": {
  31531. "description": "品种代码",
  31532. "type": "string"
  31533. },
  31534. "deliverygoodsid": {
  31535. "description": "品种ID",
  31536. "type": "integer"
  31537. },
  31538. "deliverygoodsname": {
  31539. "description": "品种名称",
  31540. "type": "string"
  31541. },
  31542. "wdlst": {
  31543. "description": "商品列表",
  31544. "type": "array",
  31545. "items": {
  31546. "$ref": "#/definitions/models.WrFtWrstandard"
  31547. }
  31548. }
  31549. }
  31550. },
  31551. "models.WrFtWrstandard": {
  31552. "type": "object",
  31553. "properties": {
  31554. "enumdicname": {
  31555. "description": "单位名称",
  31556. "type": "string"
  31557. },
  31558. "minivalue": {
  31559. "description": "最小变动值",
  31560. "type": "integer"
  31561. },
  31562. "wrstandardcode": {
  31563. "description": "现货商品代码",
  31564. "type": "string"
  31565. },
  31566. "wrstandardid": {
  31567. "description": "现货商品ID",
  31568. "type": "integer"
  31569. },
  31570. "wrstandardname": {
  31571. "description": "商品名称",
  31572. "type": "string"
  31573. }
  31574. }
  31575. },
  31576. "models.WrGoodsInfo": {
  31577. "type": "object",
  31578. "properties": {
  31579. "haswr": {
  31580. "description": "0:仓单预售 1:仓单贸易",
  31581. "type": "integer"
  31582. },
  31583. "lstitem": {
  31584. "description": "商品信息项",
  31585. "type": "array",
  31586. "items": {
  31587. "$ref": "#/definitions/models.WrTypeItem"
  31588. }
  31589. },
  31590. "lststep": {
  31591. "description": "履约规则",
  31592. "type": "array",
  31593. "items": {
  31594. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31595. }
  31596. },
  31597. "marketid": {
  31598. "description": "市场id",
  31599. "type": "integer"
  31600. }
  31601. }
  31602. },
  31603. "models.WrGoodsPerformanceStep": {
  31604. "type": "object",
  31605. "properties": {
  31606. "autoid": {
  31607. "description": "AutoID",
  31608. "type": "integer"
  31609. },
  31610. "isauto": {
  31611. "description": "是否自动 - 0:不自动 1:自动",
  31612. "type": "integer"
  31613. },
  31614. "remark": {
  31615. "description": "备注",
  31616. "type": "string"
  31617. },
  31618. "stepdate": {
  31619. "description": "天数信息(T+N)",
  31620. "type": "string"
  31621. },
  31622. "stepdays": {
  31623. "description": "距离上一步天数",
  31624. "type": "integer"
  31625. },
  31626. "stepindex": {
  31627. "description": "步骤序号",
  31628. "type": "integer"
  31629. },
  31630. "stepinfo": {
  31631. "description": "步骤信息(步骤名称+步骤值)",
  31632. "type": "string"
  31633. },
  31634. "steptypeid": {
  31635. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31636. "type": "integer"
  31637. },
  31638. "steptypename": {
  31639. "description": "步骤名称",
  31640. "type": "string"
  31641. },
  31642. "stepvalue": {
  31643. "description": "步骤值",
  31644. "type": "number"
  31645. },
  31646. "templateid": {
  31647. "description": "履约计划模板ID",
  31648. "type": "integer"
  31649. }
  31650. }
  31651. },
  31652. "models.WrHoldLB": {
  31653. "type": "object",
  31654. "properties": {
  31655. "accountid": {
  31656. "description": "持有人帐户ID",
  31657. "type": "integer"
  31658. },
  31659. "createtime": {
  31660. "description": "创建时间(过户时间)",
  31661. "type": "string"
  31662. },
  31663. "deliverygoodscode": {
  31664. "description": "品种代码",
  31665. "type": "string"
  31666. },
  31667. "deliverygoodsid": {
  31668. "description": "品种ID",
  31669. "type": "integer"
  31670. },
  31671. "deliverygoodsname": {
  31672. "description": "品种名称",
  31673. "type": "string"
  31674. },
  31675. "enableqty": {
  31676. "description": "可用数量",
  31677. "type": "number"
  31678. },
  31679. "enumdicname": {
  31680. "description": "单位名称",
  31681. "type": "string"
  31682. },
  31683. "freezerqty": {
  31684. "description": "冻结数量",
  31685. "type": "number"
  31686. },
  31687. "ladingbillid": {
  31688. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  31689. "type": "string"
  31690. },
  31691. "minivalue": {
  31692. "description": "现货商品最小变动值",
  31693. "type": "integer"
  31694. },
  31695. "optioncompare": {
  31696. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31697. "type": "string"
  31698. },
  31699. "parentsubnum": {
  31700. "description": "拆分父子单号",
  31701. "type": "integer"
  31702. },
  31703. "pledgeqty": {
  31704. "description": "质押数量",
  31705. "type": "number"
  31706. },
  31707. "qty": {
  31708. "description": "数量",
  31709. "type": "number"
  31710. },
  31711. "subnum": {
  31712. "description": "提单子单号",
  31713. "type": "integer"
  31714. },
  31715. "tradedate": {
  31716. "description": "交易日(yyyyMMdd)",
  31717. "type": "string"
  31718. },
  31719. "userid": {
  31720. "description": "持有人ID",
  31721. "type": "integer"
  31722. },
  31723. "warehouseid": {
  31724. "description": "仓库ID",
  31725. "type": "integer"
  31726. },
  31727. "warehousename": {
  31728. "description": "仓库名称",
  31729. "type": "string"
  31730. },
  31731. "wrfactortypeid": {
  31732. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31733. "type": "string"
  31734. },
  31735. "wrfactortypename": {
  31736. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31737. "type": "string"
  31738. },
  31739. "wrholdeno": {
  31740. "description": "仓单编号",
  31741. "type": "string"
  31742. },
  31743. "wrid": {
  31744. "description": "仓单变更ID",
  31745. "type": "string"
  31746. },
  31747. "wrstandardcode": {
  31748. "description": "现货商品代码",
  31749. "type": "string"
  31750. },
  31751. "wrstandardid": {
  31752. "description": "现货商品ID",
  31753. "type": "integer"
  31754. },
  31755. "wrstandardname": {
  31756. "description": "商品名称",
  31757. "type": "string"
  31758. },
  31759. "wrtypename": {
  31760. "description": "商品",
  31761. "type": "string"
  31762. }
  31763. }
  31764. },
  31765. "models.WrMarketTradeConfig": {
  31766. "type": "object",
  31767. "properties": {
  31768. "basisdownratio": {
  31769. "description": "浮动价基差下限比例(仓单贸易)",
  31770. "type": "number"
  31771. },
  31772. "basisupratio": {
  31773. "description": "浮动价基差上限比例(仓单贸易)",
  31774. "type": "number"
  31775. },
  31776. "buychargealgorithm": {
  31777. "description": "买方手续费收取方式 1:比率 2:固定",
  31778. "type": "integer"
  31779. },
  31780. "buychargealgorithm2": {
  31781. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31782. "type": "integer"
  31783. },
  31784. "buychargealgorithmvalue": {
  31785. "description": "买方手续费设置值(交易所部分)",
  31786. "type": "number"
  31787. },
  31788. "buychargealgorithmvalue2": {
  31789. "description": "买方手续费设置值(会员部分)",
  31790. "type": "number"
  31791. },
  31792. "buychargealgorithmvalue3": {
  31793. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  31794. "type": "number"
  31795. },
  31796. "buychargealgorithmvalue4": {
  31797. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  31798. "type": "number"
  31799. },
  31800. "buyfirstmarginalgorithm": {
  31801. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  31802. "type": "integer"
  31803. },
  31804. "buyfirstmarginvalue": {
  31805. "description": "买方出价保证金设置值 - [竞拍]",
  31806. "type": "number"
  31807. },
  31808. "buymarginalgorithm": {
  31809. "description": "买方保证金方式 - 1:比率 2:固定",
  31810. "type": "integer"
  31811. },
  31812. "buymarginvalue": {
  31813. "description": "买方保证金设置值",
  31814. "type": "number"
  31815. },
  31816. "buyreleaseratio": {
  31817. "description": "买方释放比率[2:分步履约]",
  31818. "type": "number"
  31819. },
  31820. "executemode": {
  31821. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  31822. "type": "integer"
  31823. },
  31824. "executeside": {
  31825. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  31826. "type": "integer"
  31827. },
  31828. "failedchargealgorithm": {
  31829. "description": "流拍手续费收取方式 1:比率 2:固定",
  31830. "type": "integer"
  31831. },
  31832. "failedchargevalue": {
  31833. "description": "流拍手续费设置值",
  31834. "type": "number"
  31835. },
  31836. "failedchargevalue2": {
  31837. "description": "流拍卖方手续费设置值",
  31838. "type": "number"
  31839. },
  31840. "holddays": {
  31841. "description": "合同期限[2:分步履约]",
  31842. "type": "integer"
  31843. },
  31844. "marketid": {
  31845. "description": "市场ID-仓单贸易、竞拍、预售",
  31846. "type": "integer"
  31847. },
  31848. "minqty": {
  31849. "description": "最小执行量[2:分步履约]",
  31850. "type": "number"
  31851. },
  31852. "modifierid": {
  31853. "description": "修改人",
  31854. "type": "integer"
  31855. },
  31856. "performancetempid": {
  31857. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  31858. "type": "integer"
  31859. },
  31860. "performancetempid2": {
  31861. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  31862. "type": "integer"
  31863. },
  31864. "performanceway": {
  31865. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  31866. "type": "integer"
  31867. },
  31868. "sellchargealgorithm": {
  31869. "description": "卖方手续费收取方式 1:比率 2:固定",
  31870. "type": "integer"
  31871. },
  31872. "sellchargealgorithm2": {
  31873. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31874. "type": "integer"
  31875. },
  31876. "sellchargealgorithmvalue": {
  31877. "description": "卖方手续费设置值(交易所部分)",
  31878. "type": "number"
  31879. },
  31880. "sellchargealgorithmvalue2": {
  31881. "description": "卖方手续费设置值(会员部分)",
  31882. "type": "number"
  31883. },
  31884. "sellchargealgorithmvalue3": {
  31885. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  31886. "type": "number"
  31887. },
  31888. "sellchargealgorithmvalue4": {
  31889. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  31890. "type": "number"
  31891. },
  31892. "sellmarginalgorithm": {
  31893. "description": "卖方保证金方式 - 1:比率 2:固定",
  31894. "type": "integer"
  31895. },
  31896. "sellmarginvalue": {
  31897. "description": "卖方保证金设置值",
  31898. "type": "number"
  31899. },
  31900. "sellmarginvalue2": {
  31901. "description": "卖方保证金设置值(无仓单)",
  31902. "type": "number"
  31903. },
  31904. "sellreleaseratio": {
  31905. "description": "卖方释放比率[2:分步履约]",
  31906. "type": "number"
  31907. },
  31908. "updatetime": {
  31909. "description": "更新时间",
  31910. "type": "string"
  31911. }
  31912. }
  31913. },
  31914. "models.WrOrderDetail": {
  31915. "type": "object",
  31916. "properties": {
  31917. "accountid": {
  31918. "description": "交易账号(资金账号)",
  31919. "type": "integer"
  31920. },
  31921. "allfriendsflag": {
  31922. "description": "是否全好友可见 - 0:否 1:是",
  31923. "type": "integer"
  31924. },
  31925. "amount": {
  31926. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  31927. "type": "number"
  31928. },
  31929. "buyorsell": {
  31930. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31931. "type": "integer"
  31932. },
  31933. "canbargain": {
  31934. "description": "是否可议价 - 0:不可 1:可",
  31935. "type": "integer"
  31936. },
  31937. "cancelqty": {
  31938. "description": "撤销数量",
  31939. "type": "number"
  31940. },
  31941. "canpart": {
  31942. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  31943. "type": "integer"
  31944. },
  31945. "delistminqty": {
  31946. "description": "起摘数量",
  31947. "type": "integer"
  31948. },
  31949. "deliverygoodscode": {
  31950. "description": "品种代码",
  31951. "type": "string"
  31952. },
  31953. "deliverygoodsid": {
  31954. "description": "品种ID",
  31955. "type": "integer"
  31956. },
  31957. "deliverygoodsname": {
  31958. "description": "品种名称",
  31959. "type": "string"
  31960. },
  31961. "deliverymonth": {
  31962. "description": "交收月",
  31963. "type": "string"
  31964. },
  31965. "enumdicname": {
  31966. "description": "单位名称",
  31967. "type": "string"
  31968. },
  31969. "fixedprice": {
  31970. "description": "固定价格 - [挂牌]",
  31971. "type": "number"
  31972. },
  31973. "freezemargin": {
  31974. "description": "冻结保证金(保证金)",
  31975. "type": "number"
  31976. },
  31977. "futupricemove": {
  31978. "description": "期货升贴水",
  31979. "type": "number"
  31980. },
  31981. "futushow": {
  31982. "description": "期货合约/升贴水",
  31983. "type": "string"
  31984. },
  31985. "goodscode": {
  31986. "description": "期货合约",
  31987. "type": "string"
  31988. },
  31989. "goodsid": {
  31990. "description": "期货商品id",
  31991. "type": "integer"
  31992. },
  31993. "goodsname": {
  31994. "description": "商品名称",
  31995. "type": "string"
  31996. },
  31997. "haswr": {
  31998. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31999. "type": "integer"
  32000. },
  32001. "isspecified": {
  32002. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  32003. "type": "integer"
  32004. },
  32005. "marginvalue": {
  32006. "description": "保证金设置值(履约保证金)",
  32007. "type": "number"
  32008. },
  32009. "marketid": {
  32010. "description": "市场ID",
  32011. "type": "integer"
  32012. },
  32013. "matchuserid": {
  32014. "description": "对手方id",
  32015. "type": "integer"
  32016. },
  32017. "matchusername": {
  32018. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  32019. "type": "string"
  32020. },
  32021. "minivalue": {
  32022. "description": "现货商品最小变动值",
  32023. "type": "integer"
  32024. },
  32025. "optioncompare": {
  32026. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32027. "type": "string"
  32028. },
  32029. "orderqty": {
  32030. "description": "委托数量",
  32031. "type": "number"
  32032. },
  32033. "ordertime": {
  32034. "description": "委托时间(挂牌时间)",
  32035. "type": "string"
  32036. },
  32037. "pricemove": {
  32038. "description": "升贴水(浮动价时填写) - [挂牌]",
  32039. "type": "number"
  32040. },
  32041. "taname": {
  32042. "description": "交易用户名称(资金账号名称)",
  32043. "type": "string"
  32044. },
  32045. "tradedate": {
  32046. "description": "交易日(yyyyMMdd)",
  32047. "type": "string"
  32048. },
  32049. "tradeprice": {
  32050. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32051. "type": "number"
  32052. },
  32053. "tradeqty": {
  32054. "description": "成交数量",
  32055. "type": "number"
  32056. },
  32057. "userid": {
  32058. "description": "用户ID",
  32059. "type": "integer"
  32060. },
  32061. "warehouseid": {
  32062. "description": "仓库ID",
  32063. "type": "integer"
  32064. },
  32065. "warehousename": {
  32066. "description": "仓库名称",
  32067. "type": "string"
  32068. },
  32069. "wrfactortypeid": {
  32070. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32071. "type": "string"
  32072. },
  32073. "wrfactortypename": {
  32074. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32075. "type": "string"
  32076. },
  32077. "wrpricetype": {
  32078. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32079. "type": "integer"
  32080. },
  32081. "wrstandardcode": {
  32082. "description": "现货商品代码",
  32083. "type": "string"
  32084. },
  32085. "wrstandardid": {
  32086. "description": "现货商品ID",
  32087. "type": "integer"
  32088. },
  32089. "wrstandardname": {
  32090. "description": "商品名称",
  32091. "type": "string"
  32092. },
  32093. "wrtradeorderid": {
  32094. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32095. "type": "string"
  32096. },
  32097. "wrtradeorderstatus": {
  32098. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  32099. "type": "integer"
  32100. },
  32101. "wrtradetype": {
  32102. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32103. "type": "integer"
  32104. },
  32105. "wrtypename": {
  32106. "description": "商品",
  32107. "type": "string"
  32108. }
  32109. }
  32110. },
  32111. "models.WrOrderQuote": {
  32112. "type": "object",
  32113. "properties": {
  32114. "buyprice": {
  32115. "description": "买价",
  32116. "type": "number"
  32117. },
  32118. "buypricemove": {
  32119. "description": "买升贴水(基差)",
  32120. "type": "number"
  32121. },
  32122. "buyqty": {
  32123. "description": "买量",
  32124. "type": "number"
  32125. },
  32126. "deliverygoodscode": {
  32127. "description": "品种代码",
  32128. "type": "string"
  32129. },
  32130. "deliverygoodsid": {
  32131. "description": "品种id",
  32132. "type": "integer"
  32133. },
  32134. "deliverygoodsname": {
  32135. "description": "品种名称",
  32136. "type": "string"
  32137. },
  32138. "deliverymonth": {
  32139. "description": "交收月",
  32140. "type": "string"
  32141. },
  32142. "enumdicname": {
  32143. "description": "单位名称",
  32144. "type": "string"
  32145. },
  32146. "goodscode": {
  32147. "description": "商品合约(浮动价列表才有)",
  32148. "type": "string"
  32149. },
  32150. "goodsid": {
  32151. "description": "商品id(浮动价列表才有)",
  32152. "type": "integer"
  32153. },
  32154. "minivalue": {
  32155. "description": "现货商品最小变动值",
  32156. "type": "integer"
  32157. },
  32158. "sellprice": {
  32159. "description": "卖价",
  32160. "type": "number"
  32161. },
  32162. "sellpricemove": {
  32163. "description": "卖升贴水(基差)",
  32164. "type": "number"
  32165. },
  32166. "sellqty": {
  32167. "description": "卖量",
  32168. "type": "number"
  32169. },
  32170. "warehousecode": {
  32171. "description": "仓库代码",
  32172. "type": "string"
  32173. },
  32174. "warehouseid": {
  32175. "description": "仓库id",
  32176. "type": "integer"
  32177. },
  32178. "warehousename": {
  32179. "description": "仓库名称",
  32180. "type": "string"
  32181. },
  32182. "wrfactortypeid": {
  32183. "description": "仓单要素id",
  32184. "type": "string"
  32185. },
  32186. "wrfactortypename": {
  32187. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32188. "type": "string"
  32189. },
  32190. "wrgoodsname": {
  32191. "description": "商品(商品名称+仓库要素名称 拼接)",
  32192. "type": "string"
  32193. },
  32194. "wrstandardcode": {
  32195. "description": "商品代码",
  32196. "type": "string"
  32197. },
  32198. "wrstandardid": {
  32199. "description": "商品id",
  32200. "type": "integer"
  32201. },
  32202. "wrstandardname": {
  32203. "description": "商品名称",
  32204. "type": "string"
  32205. }
  32206. }
  32207. },
  32208. "models.WrOrderQuoteDetail": {
  32209. "type": "object",
  32210. "properties": {
  32211. "buyorsell": {
  32212. "description": "买卖 - 0:买 1:卖",
  32213. "type": "integer"
  32214. },
  32215. "delistminqty": {
  32216. "description": "起摘数量",
  32217. "type": "number"
  32218. },
  32219. "deliverymonth": {
  32220. "description": "交收月",
  32221. "type": "string"
  32222. },
  32223. "enumdicname": {
  32224. "description": "单位名称",
  32225. "type": "string"
  32226. },
  32227. "fixedprice": {
  32228. "description": "买(卖)价",
  32229. "type": "number"
  32230. },
  32231. "minivalue": {
  32232. "description": "现货商品最小变动值",
  32233. "type": "integer"
  32234. },
  32235. "orderqty": {
  32236. "description": "买(卖)量(=委托量-成交量)",
  32237. "type": "number"
  32238. },
  32239. "ordertime": {
  32240. "description": "委托时间",
  32241. "type": "string"
  32242. },
  32243. "pricemove": {
  32244. "description": "买(卖)升贴水- 基差",
  32245. "type": "number"
  32246. },
  32247. "userid": {
  32248. "description": "购买方(销售方)用户ID",
  32249. "type": "integer"
  32250. },
  32251. "username": {
  32252. "description": "购买方(销售方)",
  32253. "type": "string"
  32254. },
  32255. "wrtradeorderid": {
  32256. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32257. "type": "string"
  32258. }
  32259. }
  32260. },
  32261. "models.WrOutInApply": {
  32262. "type": "object",
  32263. "properties": {
  32264. "applyid": {
  32265. "description": "申请单id",
  32266. "type": "string"
  32267. },
  32268. "applystatus": {
  32269. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  32270. "type": "integer"
  32271. },
  32272. "applytime": {
  32273. "description": "申请时间",
  32274. "type": "string"
  32275. },
  32276. "applytype": {
  32277. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  32278. "type": "integer"
  32279. },
  32280. "deliverygoodscode": {
  32281. "description": "品种代码",
  32282. "type": "string"
  32283. },
  32284. "deliverygoodsid": {
  32285. "description": "品种ID",
  32286. "type": "integer"
  32287. },
  32288. "deliverygoodsname": {
  32289. "description": "品种名称",
  32290. "type": "string"
  32291. },
  32292. "enumdicname": {
  32293. "description": "单位名称",
  32294. "type": "string"
  32295. },
  32296. "expresscompany": {
  32297. "description": "物流公司",
  32298. "type": "string"
  32299. },
  32300. "expressnum": {
  32301. "description": "物流单号",
  32302. "type": "string"
  32303. },
  32304. "minivalue": {
  32305. "description": "现货商品最小变动值",
  32306. "type": "integer"
  32307. },
  32308. "optioncompare": {
  32309. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32310. "type": "string"
  32311. },
  32312. "qty": {
  32313. "description": "数量",
  32314. "type": "integer"
  32315. },
  32316. "userid": {
  32317. "description": "用户id",
  32318. "type": "integer"
  32319. },
  32320. "warehouseid": {
  32321. "description": "仓库ID",
  32322. "type": "integer"
  32323. },
  32324. "warehousename": {
  32325. "description": "仓库名称",
  32326. "type": "string"
  32327. },
  32328. "wrfactortypeid": {
  32329. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32330. "type": "string"
  32331. },
  32332. "wrfactortypename": {
  32333. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32334. "type": "string"
  32335. },
  32336. "wrstandardcode": {
  32337. "description": "现货商品代码",
  32338. "type": "string"
  32339. },
  32340. "wrstandardid": {
  32341. "description": "现货商品ID",
  32342. "type": "integer"
  32343. },
  32344. "wrstandardname": {
  32345. "description": "商品名称",
  32346. "type": "string"
  32347. },
  32348. "wrtypename": {
  32349. "description": "商品",
  32350. "type": "string"
  32351. }
  32352. }
  32353. },
  32354. "models.WrPerformancePlan": {
  32355. "type": "object",
  32356. "required": [
  32357. "userid"
  32358. ],
  32359. "properties": {
  32360. "activatemonth": {
  32361. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  32362. "type": "string"
  32363. },
  32364. "amount": {
  32365. "description": "履约金额(总金额)",
  32366. "type": "number"
  32367. },
  32368. "buyaccountid": {
  32369. "description": "买方账号",
  32370. "type": "integer"
  32371. },
  32372. "buyerfreezeamount": {
  32373. "description": "履约冻结(买履约)",
  32374. "type": "number"
  32375. },
  32376. "buyerfreezeamountremain": {
  32377. "description": "履约冻结剩余(买履约)",
  32378. "type": "number"
  32379. },
  32380. "buyorsell": {
  32381. "description": "买卖方向 0-买 1-卖",
  32382. "type": "integer"
  32383. },
  32384. "buypaidamount": {
  32385. "description": "买方已冻/已扣金额 (已付金额)",
  32386. "type": "number"
  32387. },
  32388. "buyusername": {
  32389. "description": "买方名字",
  32390. "type": "string"
  32391. },
  32392. "contractid": {
  32393. "description": "合同ID",
  32394. "type": "integer"
  32395. },
  32396. "createtime": {
  32397. "description": "创建时间",
  32398. "type": "string"
  32399. },
  32400. "creatorid": {
  32401. "description": "创建人",
  32402. "type": "integer"
  32403. },
  32404. "curstepdeadline": {
  32405. "description": "当前步骤到期时间",
  32406. "type": "string"
  32407. },
  32408. "curstepid": {
  32409. "description": "当前步骤ID",
  32410. "type": "string"
  32411. },
  32412. "curstepname": {
  32413. "description": "当前步骤名称",
  32414. "type": "string"
  32415. },
  32416. "deliverygoodscode": {
  32417. "description": "品种代码",
  32418. "type": "string"
  32419. },
  32420. "deliverygoodsid": {
  32421. "description": "品种ID",
  32422. "type": "integer"
  32423. },
  32424. "deliverygoodsname": {
  32425. "description": "品种名称",
  32426. "type": "string"
  32427. },
  32428. "enumdicname": {
  32429. "description": "单位名称",
  32430. "type": "string"
  32431. },
  32432. "expressfee": {
  32433. "description": "运费",
  32434. "type": "number"
  32435. },
  32436. "expressfeeconfirmed": {
  32437. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  32438. "type": "integer"
  32439. },
  32440. "hasovershort": {
  32441. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  32442. "type": "integer"
  32443. },
  32444. "haswr": {
  32445. "description": "类型 0-仓单预售 1-仓单贸易",
  32446. "type": "integer"
  32447. },
  32448. "marketid": {
  32449. "description": "市场ID",
  32450. "type": "integer"
  32451. },
  32452. "middleaccountid": {
  32453. "description": "中间商资金账号ID",
  32454. "type": "integer"
  32455. },
  32456. "middleuserid": {
  32457. "description": "中间商用户ID",
  32458. "type": "integer"
  32459. },
  32460. "minivalue": {
  32461. "description": "现货商品最小变动值",
  32462. "type": "integer"
  32463. },
  32464. "optioncompare": {
  32465. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32466. "type": "string"
  32467. },
  32468. "overshortamount": {
  32469. "description": "溢短金额",
  32470. "type": "number"
  32471. },
  32472. "overshortqty": {
  32473. "description": "溢短数量",
  32474. "type": "number"
  32475. },
  32476. "paymenttype": {
  32477. "description": "付款方式 - 1:冻结 2:扣款",
  32478. "type": "integer"
  32479. },
  32480. "performanceplanid": {
  32481. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  32482. "type": "string"
  32483. },
  32484. "performancestatus": {
  32485. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  32486. "type": "integer"
  32487. },
  32488. "performancetype": {
  32489. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  32490. "type": "integer"
  32491. },
  32492. "qty": {
  32493. "description": "履约数量",
  32494. "type": "number"
  32495. },
  32496. "relatedorderid": {
  32497. "description": "关联单号(履约类型的关联单号)",
  32498. "type": "string"
  32499. },
  32500. "remark": {
  32501. "description": "备注",
  32502. "type": "string"
  32503. },
  32504. "sellaccountid": {
  32505. "description": "卖方账号",
  32506. "type": "integer"
  32507. },
  32508. "sellerfreezeamount": {
  32509. "description": "履约冻结(卖履约)",
  32510. "type": "number"
  32511. },
  32512. "sellerfreezeamountremain": {
  32513. "description": "履约冻结剩余(卖履约)",
  32514. "type": "number"
  32515. },
  32516. "sellreceivedamount": {
  32517. "description": "卖方已收金额",
  32518. "type": "number"
  32519. },
  32520. "sellusername": {
  32521. "description": "卖方名字",
  32522. "type": "string"
  32523. },
  32524. "shipremark": {
  32525. "description": "发货备注[物流单号]",
  32526. "type": "string"
  32527. },
  32528. "starttime": {
  32529. "description": "开始时间",
  32530. "type": "string"
  32531. },
  32532. "steptypeid": {
  32533. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32534. "type": "integer"
  32535. },
  32536. "unpaidamount": {
  32537. "description": "剩余款(待支付金额)",
  32538. "type": "number"
  32539. },
  32540. "userid": {
  32541. "description": "用户id",
  32542. "type": "integer"
  32543. },
  32544. "warehouseid": {
  32545. "description": "仓库ID",
  32546. "type": "integer"
  32547. },
  32548. "warehousename": {
  32549. "description": "仓库名称",
  32550. "type": "string"
  32551. },
  32552. "wrfactortypeid": {
  32553. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32554. "type": "string"
  32555. },
  32556. "wrfactortypename": {
  32557. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32558. "type": "string"
  32559. },
  32560. "wrstandardcode": {
  32561. "description": "现货商品代码",
  32562. "type": "string"
  32563. },
  32564. "wrstandardid": {
  32565. "description": "现货商品ID",
  32566. "type": "integer"
  32567. },
  32568. "wrstandardname": {
  32569. "description": "商品名称",
  32570. "type": "string"
  32571. },
  32572. "wrtransferuserid": {
  32573. "description": "仓单受让用户",
  32574. "type": "integer"
  32575. },
  32576. "wrtypename": {
  32577. "description": "商品",
  32578. "type": "string"
  32579. }
  32580. }
  32581. },
  32582. "models.WrPerformancePlanStep": {
  32583. "type": "object",
  32584. "properties": {
  32585. "delaydays": {
  32586. "description": "延期申请天数",
  32587. "type": "integer"
  32588. },
  32589. "deliverygoodscode": {
  32590. "description": "品种代码",
  32591. "type": "string"
  32592. },
  32593. "deliverygoodsid": {
  32594. "description": "品种ID",
  32595. "type": "integer"
  32596. },
  32597. "deliverygoodsname": {
  32598. "description": "品种名称",
  32599. "type": "string"
  32600. },
  32601. "endtime": {
  32602. "description": "结束日期",
  32603. "type": "string"
  32604. },
  32605. "enumdicname": {
  32606. "description": "单位名称",
  32607. "type": "string"
  32608. },
  32609. "executeside": {
  32610. "description": "步骤执行方 - 1:买方 2:卖方",
  32611. "type": "integer"
  32612. },
  32613. "handlestatus": {
  32614. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  32615. "type": "integer"
  32616. },
  32617. "isauto": {
  32618. "description": "是否自动 - 0:不自动 1:自动",
  32619. "type": "integer"
  32620. },
  32621. "islastreceivestep": {
  32622. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  32623. "type": "integer"
  32624. },
  32625. "minivalue": {
  32626. "description": "现货商品最小变动值",
  32627. "type": "integer"
  32628. },
  32629. "optioncompare": {
  32630. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32631. "type": "string"
  32632. },
  32633. "overdays": {
  32634. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  32635. "type": "integer"
  32636. },
  32637. "performancestepid": {
  32638. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  32639. "type": "string"
  32640. },
  32641. "planid": {
  32642. "description": "所属履约计划ID",
  32643. "type": "string"
  32644. },
  32645. "realamount": {
  32646. "description": "实际完成金额",
  32647. "type": "number"
  32648. },
  32649. "relatedorderid": {
  32650. "description": "关联单号",
  32651. "type": "string"
  32652. },
  32653. "remaindays": {
  32654. "description": "剩余天数",
  32655. "type": "integer"
  32656. },
  32657. "remark": {
  32658. "description": "错误备注",
  32659. "type": "string"
  32660. },
  32661. "starttime": {
  32662. "description": "开始日期",
  32663. "type": "string"
  32664. },
  32665. "stepamount": {
  32666. "description": "步骤金额",
  32667. "type": "number"
  32668. },
  32669. "stepdays": {
  32670. "description": "距离上一步天数(分钟)",
  32671. "type": "integer"
  32672. },
  32673. "stepindex": {
  32674. "description": "步骤序号",
  32675. "type": "integer"
  32676. },
  32677. "steplanchtype": {
  32678. "description": "步骤启动类型 - 1:系统自动 2:手动",
  32679. "type": "integer"
  32680. },
  32681. "stepremark": {
  32682. "description": "步骤备注",
  32683. "type": "string"
  32684. },
  32685. "stepstatus": {
  32686. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  32687. "type": "integer"
  32688. },
  32689. "steptypeid": {
  32690. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32691. "type": "integer"
  32692. },
  32693. "steptypename": {
  32694. "description": "步骤名称",
  32695. "type": "string"
  32696. },
  32697. "stepvalue": {
  32698. "description": "步骤值",
  32699. "type": "number"
  32700. },
  32701. "warehouseid": {
  32702. "description": "仓库ID",
  32703. "type": "integer"
  32704. },
  32705. "warehousename": {
  32706. "description": "仓库名称",
  32707. "type": "string"
  32708. },
  32709. "wrfactortypeid": {
  32710. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32711. "type": "string"
  32712. },
  32713. "wrfactortypename": {
  32714. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32715. "type": "string"
  32716. },
  32717. "wrstandardcode": {
  32718. "description": "现货商品代码",
  32719. "type": "string"
  32720. },
  32721. "wrstandardid": {
  32722. "description": "现货商品ID",
  32723. "type": "integer"
  32724. },
  32725. "wrstandardname": {
  32726. "description": "商品名称",
  32727. "type": "string"
  32728. },
  32729. "wrtypename": {
  32730. "description": "商品",
  32731. "type": "string"
  32732. }
  32733. }
  32734. },
  32735. "models.WrPerformanceStepType": {
  32736. "type": "object",
  32737. "properties": {
  32738. "canauto": {
  32739. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  32740. "type": "integer"
  32741. },
  32742. "steptypeid": {
  32743. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  32744. "type": "integer"
  32745. },
  32746. "steptypename": {
  32747. "description": "步骤类型名称",
  32748. "type": "string"
  32749. }
  32750. }
  32751. },
  32752. "models.WrPerformanceTemplateEx": {
  32753. "type": "object",
  32754. "properties": {
  32755. "autoid": {
  32756. "description": "AutoID 模板id",
  32757. "type": "integer"
  32758. },
  32759. "createtime": {
  32760. "description": "创建时间",
  32761. "type": "string"
  32762. },
  32763. "creatorid": {
  32764. "description": "创建人",
  32765. "type": "integer"
  32766. },
  32767. "lstStep": {
  32768. "description": "步骤信息列表",
  32769. "type": "array",
  32770. "items": {
  32771. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32772. }
  32773. },
  32774. "paymenttype": {
  32775. "description": "支付方式 - 1:冻结 2:扣款",
  32776. "type": "integer"
  32777. },
  32778. "takemode": {
  32779. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  32780. "type": "integer"
  32781. },
  32782. "templatename": {
  32783. "description": "模板名称",
  32784. "type": "string"
  32785. },
  32786. "templatetype": {
  32787. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  32788. "type": "integer"
  32789. },
  32790. "userid": {
  32791. "description": "所属用户",
  32792. "type": "integer"
  32793. }
  32794. }
  32795. },
  32796. "models.WrPosition": {
  32797. "type": "object",
  32798. "properties": {
  32799. "accountid": {
  32800. "description": "帐户ID",
  32801. "type": "integer"
  32802. },
  32803. "buyexcuteqty": {
  32804. "description": "采购履约中数量",
  32805. "type": "number"
  32806. },
  32807. "creditcurqty": {
  32808. "description": "授信当前数量(预售仓单:预售当前量)",
  32809. "type": "number"
  32810. },
  32811. "creditenableqty": {
  32812. "description": "授信可用数量(预售仓单: 可用数量)",
  32813. "type": "number"
  32814. },
  32815. "creditfreezeqty": {
  32816. "description": "授信冻结数量(预售仓单: 当前数量)",
  32817. "type": "number"
  32818. },
  32819. "credittotalqty": {
  32820. "description": "授信总数量(预售仓单:预售总量)",
  32821. "type": "number"
  32822. },
  32823. "credittradeqty": {
  32824. "description": "授信成交数量(预售仓单:成交总量)",
  32825. "type": "number"
  32826. },
  32827. "deliverygoodscode": {
  32828. "description": "品种代码",
  32829. "type": "string"
  32830. },
  32831. "deliverygoodsid": {
  32832. "description": "品种ID",
  32833. "type": "integer"
  32834. },
  32835. "deliverygoodsname": {
  32836. "description": "品种名称",
  32837. "type": "string"
  32838. },
  32839. "enalbeqty": {
  32840. "description": "可用数量",
  32841. "type": "number"
  32842. },
  32843. "enumdicname": {
  32844. "description": "单位名称",
  32845. "type": "string"
  32846. },
  32847. "freezeqty": {
  32848. "description": "总冻结数量",
  32849. "type": "number"
  32850. },
  32851. "haswr": {
  32852. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32853. "type": "integer"
  32854. },
  32855. "minivalue": {
  32856. "description": "现货商品最小变动值",
  32857. "type": "integer"
  32858. },
  32859. "modifytime": {
  32860. "description": "修改时间(过户时间)",
  32861. "type": "string"
  32862. },
  32863. "optioncompare": {
  32864. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32865. "type": "string"
  32866. },
  32867. "pledgeqty": {
  32868. "description": "质押数量",
  32869. "type": "number"
  32870. },
  32871. "querytype": {
  32872. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  32873. "type": "integer"
  32874. },
  32875. "sellexcuteqty": {
  32876. "description": "销售履约中数量",
  32877. "type": "number"
  32878. },
  32879. "totalqty": {
  32880. "description": "总数量(库存数量)",
  32881. "type": "number"
  32882. },
  32883. "warehouseid": {
  32884. "description": "仓库ID",
  32885. "type": "integer"
  32886. },
  32887. "warehousename": {
  32888. "description": "仓库名称",
  32889. "type": "string"
  32890. },
  32891. "wrfactortypeid": {
  32892. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32893. "type": "string"
  32894. },
  32895. "wrfactortypename": {
  32896. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32897. "type": "string"
  32898. },
  32899. "wrpositionid": {
  32900. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  32901. "type": "string"
  32902. },
  32903. "wrpositionno": {
  32904. "description": "仓单编号",
  32905. "type": "string"
  32906. },
  32907. "wrstandardcode": {
  32908. "description": "现货商品代码",
  32909. "type": "string"
  32910. },
  32911. "wrstandardid": {
  32912. "description": "现货商品ID",
  32913. "type": "integer"
  32914. },
  32915. "wrstandardname": {
  32916. "description": "商品名称",
  32917. "type": "string"
  32918. },
  32919. "wrtypename": {
  32920. "description": "商品",
  32921. "type": "string"
  32922. },
  32923. "wruserid": {
  32924. "description": "持有人ID",
  32925. "type": "integer"
  32926. }
  32927. }
  32928. },
  32929. "models.WrQuoteOrderMyq": {
  32930. "type": "object",
  32931. "properties": {
  32932. "buyorsell": {
  32933. "description": "买卖 - 0:买 1:卖",
  32934. "type": "integer"
  32935. },
  32936. "canbargain": {
  32937. "description": "是否可议价 - 0:不可 1:可",
  32938. "type": "integer"
  32939. },
  32940. "canpart": {
  32941. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  32942. "type": "integer"
  32943. },
  32944. "delistminqty": {
  32945. "description": "起摘数量",
  32946. "type": "number"
  32947. },
  32948. "deliverygoodscode": {
  32949. "description": "品种代码",
  32950. "type": "string"
  32951. },
  32952. "deliverygoodsid": {
  32953. "description": "品种ID",
  32954. "type": "integer"
  32955. },
  32956. "deliverygoodsname": {
  32957. "description": "品种名称",
  32958. "type": "string"
  32959. },
  32960. "deliverymonth": {
  32961. "description": "交收月",
  32962. "type": "string"
  32963. },
  32964. "enumdicname": {
  32965. "description": "单位名称",
  32966. "type": "string"
  32967. },
  32968. "fixedprice": {
  32969. "description": "买(卖)价",
  32970. "type": "number"
  32971. },
  32972. "goodscode": {
  32973. "description": "商品合约代码",
  32974. "type": "string"
  32975. },
  32976. "marginflag": {
  32977. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  32978. "type": "integer"
  32979. },
  32980. "marginvalue": {
  32981. "description": "保证金设置值",
  32982. "type": "number"
  32983. },
  32984. "minivalue": {
  32985. "description": "现货商品最小变动值",
  32986. "type": "integer"
  32987. },
  32988. "orderqty": {
  32989. "description": "买(卖)量(=委托量-成交量)",
  32990. "type": "number"
  32991. },
  32992. "ordertime": {
  32993. "description": "委托时间",
  32994. "type": "string"
  32995. },
  32996. "performancetemplateid": {
  32997. "description": "履约模板id",
  32998. "type": "integer"
  32999. },
  33000. "pricemove": {
  33001. "description": "买(卖)升贴水- 基差",
  33002. "type": "number"
  33003. },
  33004. "templatename": {
  33005. "description": "履约模板名称",
  33006. "type": "string"
  33007. },
  33008. "userid": {
  33009. "description": "购买方(销售方)用户ID",
  33010. "type": "integer"
  33011. },
  33012. "username": {
  33013. "description": "购买方(销售方)",
  33014. "type": "string"
  33015. },
  33016. "validtime": {
  33017. "description": "有效期限",
  33018. "type": "string"
  33019. },
  33020. "validtype": {
  33021. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33022. "type": "integer"
  33023. },
  33024. "warehousename": {
  33025. "description": "仓库名称",
  33026. "type": "string"
  33027. },
  33028. "wrfactortypeid": {
  33029. "description": "仓单要素id",
  33030. "type": "string"
  33031. },
  33032. "wrstandardcode": {
  33033. "description": "现货商品代码",
  33034. "type": "string"
  33035. },
  33036. "wrstandardid": {
  33037. "description": "现货商品ID",
  33038. "type": "integer"
  33039. },
  33040. "wrstandardname": {
  33041. "description": "商品名称",
  33042. "type": "string"
  33043. },
  33044. "wrtradeorderid": {
  33045. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33046. "type": "string"
  33047. },
  33048. "wrtypename": {
  33049. "description": "商品",
  33050. "type": "string"
  33051. }
  33052. }
  33053. },
  33054. "models.WrScfContract": {
  33055. "type": "object",
  33056. "properties": {
  33057. "borroweruserid": {
  33058. "description": "借款用户ID",
  33059. "type": "integer"
  33060. },
  33061. "buybackwrpositionqty": {
  33062. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  33063. "type": "number"
  33064. },
  33065. "closeinterest": {
  33066. "description": "已结利息 -\u003e 已结费用",
  33067. "type": "number"
  33068. },
  33069. "currisklevel": {
  33070. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33071. "type": "integer"
  33072. },
  33073. "deadline": {
  33074. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  33075. "type": "string"
  33076. },
  33077. "deliverygoodscode": {
  33078. "description": "品种代码",
  33079. "type": "string"
  33080. },
  33081. "deliverygoodsid": {
  33082. "description": "品种ID",
  33083. "type": "integer"
  33084. },
  33085. "deliverygoodsname": {
  33086. "description": "品种名称",
  33087. "type": "string"
  33088. },
  33089. "enumdicname": {
  33090. "description": "单位名称",
  33091. "type": "string"
  33092. },
  33093. "financingdays": {
  33094. "description": "天数(天)",
  33095. "type": "integer"
  33096. },
  33097. "initmargin": {
  33098. "description": "保证金 - [仓单回购]",
  33099. "type": "number"
  33100. },
  33101. "interestamount": {
  33102. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  33103. "type": "number"
  33104. },
  33105. "interestdebt": {
  33106. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  33107. "type": "number"
  33108. },
  33109. "interestminlen": {
  33110. "description": "最小起息天数",
  33111. "type": "integer"
  33112. },
  33113. "interestrate": {
  33114. "description": "利率",
  33115. "type": "number"
  33116. },
  33117. "interestratemode": {
  33118. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33119. "type": "integer"
  33120. },
  33121. "interestsettlemode": {
  33122. "description": "结息方式 - 1:按日结息 3:按月结息",
  33123. "type": "integer"
  33124. },
  33125. "interestsettlevalue": {
  33126. "description": "结息方式值",
  33127. "type": "integer"
  33128. },
  33129. "isautoloan": {
  33130. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  33131. "type": "integer"
  33132. },
  33133. "lastcloseinterestday": {
  33134. "description": "最近结息日(yyyyMMdd)",
  33135. "type": "string"
  33136. },
  33137. "lenderamount": {
  33138. "description": "贷款金额 -\u003e 借款金额",
  33139. "type": "number"
  33140. },
  33141. "lenderuserid": {
  33142. "description": "贷款方用户ID -\u003e 融出方用户ID",
  33143. "type": "integer"
  33144. },
  33145. "lenderusername": {
  33146. "description": "融出方",
  33147. "type": "string"
  33148. },
  33149. "marginratio": {
  33150. "description": "保证金比率质押率 - [仓单质押]",
  33151. "type": "number"
  33152. },
  33153. "marketid": {
  33154. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  33155. "type": "integer"
  33156. },
  33157. "minivalue": {
  33158. "description": "现货商品最小变动值",
  33159. "type": "integer"
  33160. },
  33161. "optioncompare": {
  33162. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33163. "type": "string"
  33164. },
  33165. "pricemove": {
  33166. "description": "估值升贴水值",
  33167. "type": "number"
  33168. },
  33169. "productdetailid": {
  33170. "description": "产品组合ID",
  33171. "type": "integer"
  33172. },
  33173. "productid": {
  33174. "description": "金融产品ID",
  33175. "type": "integer"
  33176. },
  33177. "productname": {
  33178. "description": "产品名称",
  33179. "type": "string"
  33180. },
  33181. "remainamount": {
  33182. "description": "合同剩余金额 -\u003e 剩余金额",
  33183. "type": "number"
  33184. },
  33185. "remainwrpositionqty": {
  33186. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  33187. "type": "number"
  33188. },
  33189. "remark": {
  33190. "description": "备注",
  33191. "type": "string"
  33192. },
  33193. "scfcontractid": {
  33194. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33195. "type": "string"
  33196. },
  33197. "scfcontractstatus": {
  33198. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33199. "type": "integer"
  33200. },
  33201. "scfcontracttype": {
  33202. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  33203. "type": "integer"
  33204. },
  33205. "startinterestday": {
  33206. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  33207. "type": "string"
  33208. },
  33209. "totalinterest": {
  33210. "description": "已计利息 -\u003e 已计费用",
  33211. "type": "number"
  33212. },
  33213. "unpaidinterest": {
  33214. "description": "未结费用",
  33215. "type": "number"
  33216. },
  33217. "updatetime": {
  33218. "description": "更新时间",
  33219. "type": "string"
  33220. },
  33221. "warehouseid": {
  33222. "description": "仓库ID",
  33223. "type": "integer"
  33224. },
  33225. "warehousename": {
  33226. "description": "仓库名称",
  33227. "type": "string"
  33228. },
  33229. "wrfactortypeid": {
  33230. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33231. "type": "string"
  33232. },
  33233. "wrfactortypename": {
  33234. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33235. "type": "string"
  33236. },
  33237. "wrqty": {
  33238. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  33239. "type": "number"
  33240. },
  33241. "wrstandardcode": {
  33242. "description": "现货商品代码",
  33243. "type": "string"
  33244. },
  33245. "wrstandardid": {
  33246. "description": "现货商品ID",
  33247. "type": "integer"
  33248. },
  33249. "wrstandardname": {
  33250. "description": "商品名称",
  33251. "type": "string"
  33252. },
  33253. "wrtypename": {
  33254. "description": "商品",
  33255. "type": "string"
  33256. }
  33257. }
  33258. },
  33259. "models.WrScfContractInterest": {
  33260. "type": "object",
  33261. "properties": {
  33262. "closeinterest": {
  33263. "description": "已结利息",
  33264. "type": "number"
  33265. },
  33266. "closeintereststatus": {
  33267. "description": "结息状态 - 1:未结 2:已结",
  33268. "type": "integer"
  33269. },
  33270. "closetime": {
  33271. "description": "结息时间",
  33272. "type": "string"
  33273. },
  33274. "closetradedate": {
  33275. "description": "结息交易日",
  33276. "type": "string"
  33277. },
  33278. "creatorid": {
  33279. "description": "操作人ID",
  33280. "type": "integer"
  33281. },
  33282. "dayrate": {
  33283. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  33284. "type": "number"
  33285. },
  33286. "interest": {
  33287. "description": "利息",
  33288. "type": "number"
  33289. },
  33290. "interestamount": {
  33291. "description": "计息金额",
  33292. "type": "number"
  33293. },
  33294. "interestday": {
  33295. "description": "计息日(yyyyMMdd)",
  33296. "type": "string"
  33297. },
  33298. "scfcontractid": {
  33299. "description": "SCF合同ID",
  33300. "type": "string"
  33301. },
  33302. "scfcontractinterestid": {
  33303. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  33304. "type": "integer"
  33305. },
  33306. "updatetime": {
  33307. "description": "更新时间",
  33308. "type": "string"
  33309. }
  33310. }
  33311. },
  33312. "models.WrSpecialMatchOrder": {
  33313. "type": "object",
  33314. "properties": {
  33315. "amount": {
  33316. "description": "金额 = 数量 * 价格",
  33317. "type": "number"
  33318. },
  33319. "buyorsell": {
  33320. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33321. "type": "integer"
  33322. },
  33323. "cancelqty": {
  33324. "description": "撤销数量",
  33325. "type": "number"
  33326. },
  33327. "deliverygoodscode": {
  33328. "description": "品种代码",
  33329. "type": "string"
  33330. },
  33331. "deliverygoodsid": {
  33332. "description": "品种ID",
  33333. "type": "integer"
  33334. },
  33335. "deliverygoodsname": {
  33336. "description": "品种名称",
  33337. "type": "string"
  33338. },
  33339. "enumdicname": {
  33340. "description": "单位名称",
  33341. "type": "string"
  33342. },
  33343. "fixedprice": {
  33344. "description": "固定价格(价格)",
  33345. "type": "number"
  33346. },
  33347. "haswr": {
  33348. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33349. "type": "integer"
  33350. },
  33351. "marketid": {
  33352. "description": "市场ID",
  33353. "type": "integer"
  33354. },
  33355. "matchuserid": {
  33356. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  33357. "type": "integer"
  33358. },
  33359. "matchusername": {
  33360. "description": "指定方",
  33361. "type": "string"
  33362. },
  33363. "minivalue": {
  33364. "description": "现货商品最小变动值",
  33365. "type": "integer"
  33366. },
  33367. "optioncompare": {
  33368. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33369. "type": "string"
  33370. },
  33371. "orderqty": {
  33372. "description": "委托数量",
  33373. "type": "number"
  33374. },
  33375. "ordertime": {
  33376. "description": "委托时间",
  33377. "type": "string"
  33378. },
  33379. "pricemove": {
  33380. "description": "升贴水(浮动价时填写) - [挂牌]",
  33381. "type": "number"
  33382. },
  33383. "tradedate": {
  33384. "description": "交易日(yyyyMMdd)",
  33385. "type": "string"
  33386. },
  33387. "tradeprice": {
  33388. "description": "成交价格",
  33389. "type": "number"
  33390. },
  33391. "tradeqty": {
  33392. "description": "成交数量",
  33393. "type": "number"
  33394. },
  33395. "userid": {
  33396. "description": "用户ID",
  33397. "type": "integer"
  33398. },
  33399. "username": {
  33400. "description": "发起方",
  33401. "type": "string"
  33402. },
  33403. "warehouseid": {
  33404. "description": "仓库ID",
  33405. "type": "integer"
  33406. },
  33407. "warehousename": {
  33408. "description": "仓库名称",
  33409. "type": "string"
  33410. },
  33411. "wrfactortypeid": {
  33412. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33413. "type": "string"
  33414. },
  33415. "wrfactortypename": {
  33416. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33417. "type": "string"
  33418. },
  33419. "wrpricetype": {
  33420. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33421. "type": "integer"
  33422. },
  33423. "wrstandardcode": {
  33424. "description": "现货商品代码",
  33425. "type": "string"
  33426. },
  33427. "wrstandardid": {
  33428. "description": "现货商品ID",
  33429. "type": "integer"
  33430. },
  33431. "wrstandardname": {
  33432. "description": "商品名称",
  33433. "type": "string"
  33434. },
  33435. "wrtradeorderid": {
  33436. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33437. "type": "string"
  33438. },
  33439. "wrtradeorderstatus": {
  33440. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  33441. "type": "integer"
  33442. },
  33443. "wrtradetype": {
  33444. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33445. "type": "integer"
  33446. },
  33447. "wrtypename": {
  33448. "description": "商品",
  33449. "type": "string"
  33450. }
  33451. }
  33452. },
  33453. "models.WrStandardFactoryItem": {
  33454. "type": "object",
  33455. "properties": {
  33456. "dgfactoryitemid": {
  33457. "description": "选择项id",
  33458. "type": "integer"
  33459. },
  33460. "dgfactoryitemvalue": {
  33461. "description": "要素项值",
  33462. "type": "string"
  33463. },
  33464. "warehouseid": {
  33465. "description": "仓库id",
  33466. "type": "integer"
  33467. }
  33468. }
  33469. },
  33470. "models.WrStandardFactoryItemEx": {
  33471. "type": "object",
  33472. "properties": {
  33473. "dgfactoryitemtypeid": {
  33474. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  33475. "type": "integer"
  33476. },
  33477. "itemlst": {
  33478. "description": "要素项列表",
  33479. "type": "array",
  33480. "items": {
  33481. "$ref": "#/definitions/models.WrStandardFactoryItem"
  33482. }
  33483. },
  33484. "itemtypename": {
  33485. "description": "要素项类型名称",
  33486. "type": "string"
  33487. },
  33488. "wrstandardid": {
  33489. "description": "品类",
  33490. "type": "integer"
  33491. }
  33492. }
  33493. },
  33494. "models.WrTradeDetail": {
  33495. "type": "object",
  33496. "properties": {
  33497. "accountid": {
  33498. "description": "资金账号",
  33499. "type": "integer"
  33500. },
  33501. "buyorsell": {
  33502. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33503. "type": "integer"
  33504. },
  33505. "deliverygoodscode": {
  33506. "description": "品种代码",
  33507. "type": "string"
  33508. },
  33509. "deliverygoodsid": {
  33510. "description": "品种ID",
  33511. "type": "integer"
  33512. },
  33513. "deliverygoodsname": {
  33514. "description": "品种名称",
  33515. "type": "string"
  33516. },
  33517. "deliverymonth": {
  33518. "description": "交收月",
  33519. "type": "string"
  33520. },
  33521. "enumdicname": {
  33522. "description": "单位名称",
  33523. "type": "string"
  33524. },
  33525. "haswr": {
  33526. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33527. "type": "integer"
  33528. },
  33529. "marketid": {
  33530. "description": "市场ID",
  33531. "type": "integer"
  33532. },
  33533. "matchaccountid": {
  33534. "description": "对手账号",
  33535. "type": "integer"
  33536. },
  33537. "matchusername": {
  33538. "description": "对手方",
  33539. "type": "string"
  33540. },
  33541. "minivalue": {
  33542. "description": "现货商品最小变动值",
  33543. "type": "integer"
  33544. },
  33545. "optioncompare": {
  33546. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33547. "type": "string"
  33548. },
  33549. "tradedate": {
  33550. "description": "交易日(yyyyMMdd)",
  33551. "type": "string"
  33552. },
  33553. "tradeprice": {
  33554. "description": "成交价格",
  33555. "type": "number"
  33556. },
  33557. "tradeqty": {
  33558. "description": "成交数量",
  33559. "type": "number"
  33560. },
  33561. "tradetime": {
  33562. "description": "成交时间",
  33563. "type": "string"
  33564. },
  33565. "userid": {
  33566. "description": "用户ID",
  33567. "type": "integer"
  33568. },
  33569. "warehouseid": {
  33570. "description": "仓库ID",
  33571. "type": "integer"
  33572. },
  33573. "warehousename": {
  33574. "description": "仓库名称",
  33575. "type": "string"
  33576. },
  33577. "wrfactortypeid": {
  33578. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33579. "type": "string"
  33580. },
  33581. "wrfactortypename": {
  33582. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33583. "type": "string"
  33584. },
  33585. "wrstandardcode": {
  33586. "description": "现货商品代码",
  33587. "type": "string"
  33588. },
  33589. "wrstandardid": {
  33590. "description": "现货商品ID",
  33591. "type": "integer"
  33592. },
  33593. "wrstandardname": {
  33594. "description": "商品名称",
  33595. "type": "string"
  33596. },
  33597. "wrtradedetailid": {
  33598. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  33599. "type": "string"
  33600. },
  33601. "wrtradetype": {
  33602. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33603. "type": "integer"
  33604. },
  33605. "wrtypename": {
  33606. "description": "商品",
  33607. "type": "string"
  33608. }
  33609. }
  33610. },
  33611. "models.WrTradeOrderDetail": {
  33612. "type": "object",
  33613. "properties": {
  33614. "buyorsell": {
  33615. "description": "买卖方向 0-买 1-卖",
  33616. "type": "integer"
  33617. },
  33618. "goodsid": {
  33619. "description": "商品id",
  33620. "type": "integer"
  33621. },
  33622. "orderid": {
  33623. "description": "委托单号",
  33624. "type": "string"
  33625. },
  33626. "orderprice": {
  33627. "description": "委托价格",
  33628. "type": "number"
  33629. },
  33630. "orderqty": {
  33631. "description": "委托数量",
  33632. "type": "integer"
  33633. },
  33634. "userid": {
  33635. "description": "用户id",
  33636. "type": "integer"
  33637. },
  33638. "username": {
  33639. "description": "用户名称(已脱敏)",
  33640. "type": "string"
  33641. }
  33642. }
  33643. },
  33644. "models.WrTypeItem": {
  33645. "type": "object",
  33646. "properties": {
  33647. "name": {
  33648. "description": "名称",
  33649. "type": "string"
  33650. },
  33651. "value": {
  33652. "description": "值",
  33653. "type": "string"
  33654. }
  33655. }
  33656. },
  33657. "models.WrUserFriend": {
  33658. "type": "object",
  33659. "properties": {
  33660. "friendname": {
  33661. "description": "朋友名称(已脱敏)",
  33662. "type": "string"
  33663. },
  33664. "frienduserid": {
  33665. "description": "朋友id",
  33666. "type": "integer"
  33667. },
  33668. "isfriend": {
  33669. "description": "是否好友 0-不是 1-是",
  33670. "type": "integer"
  33671. },
  33672. "userid": {
  33673. "description": "用户id",
  33674. "type": "integer"
  33675. }
  33676. }
  33677. },
  33678. "order.QueryHisTradeDetailRsp": {
  33679. "type": "object",
  33680. "required": [
  33681. "accountid",
  33682. "buyorsell",
  33683. "goodsid",
  33684. "histradedate",
  33685. "marketid",
  33686. "memberuserid",
  33687. "orderid",
  33688. "tradeamount",
  33689. "tradedate",
  33690. "tradeid",
  33691. "tradeprice",
  33692. "tradeqty",
  33693. "tradetime"
  33694. ],
  33695. "properties": {
  33696. "accountid": {
  33697. "description": "账户ID[报价币种]",
  33698. "type": "integer"
  33699. },
  33700. "advanceratio": {
  33701. "description": "首付比率",
  33702. "type": "number"
  33703. },
  33704. "buildtype": {
  33705. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  33706. "type": "integer"
  33707. },
  33708. "buyorsell": {
  33709. "description": "方向 - 0:买 1:卖",
  33710. "type": "integer"
  33711. },
  33712. "charge": {
  33713. "description": "手续费",
  33714. "type": "number"
  33715. },
  33716. "closecharge": {
  33717. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33718. "type": "number"
  33719. },
  33720. "closeexchagechargevalue": {
  33721. "description": "平仓交易所手续费设置值",
  33722. "type": "number"
  33723. },
  33724. "closefeealgorithm": {
  33725. "description": "平仓手续费收取方式 1:比率 2:固定",
  33726. "type": "integer"
  33727. },
  33728. "closememberchargevalue": {
  33729. "description": "平仓会员手续费设置值",
  33730. "type": "number"
  33731. },
  33732. "closepl": {
  33733. "description": "平仓盈亏",
  33734. "type": "number"
  33735. },
  33736. "closepl2": {
  33737. "description": "平仓盈亏[逐笔]",
  33738. "type": "number"
  33739. },
  33740. "closeqty": {
  33741. "description": "平仓数量(先建后平操作 需要记录)",
  33742. "type": "number"
  33743. },
  33744. "creditamount": {
  33745. "description": "授信金额",
  33746. "type": "number"
  33747. },
  33748. "decimalplace": {
  33749. "description": "商品报价小数位",
  33750. "type": "integer"
  33751. },
  33752. "enumdicname": {
  33753. "description": "单位名称",
  33754. "type": "string"
  33755. },
  33756. "gcaccountid": {
  33757. "description": "账户ID[合约币种]",
  33758. "type": "integer"
  33759. },
  33760. "goodscode": {
  33761. "description": "商品代码",
  33762. "type": "string"
  33763. },
  33764. "goodsid": {
  33765. "description": "商品ID",
  33766. "type": "integer"
  33767. },
  33768. "goodsname": {
  33769. "description": "商品名称",
  33770. "type": "string"
  33771. },
  33772. "goodunitid": {
  33773. "description": "商品单位id",
  33774. "type": "integer"
  33775. },
  33776. "histradedate": {
  33777. "description": "历史交易日",
  33778. "type": "string"
  33779. },
  33780. "intclosepl": {
  33781. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  33782. "type": "integer"
  33783. },
  33784. "isconfirmexercise": {
  33785. "description": "是否确认行权- 0:否 1:是",
  33786. "type": "integer"
  33787. },
  33788. "ismain": {
  33789. "description": "是否主单 - 0:不是 1:是",
  33790. "type": "integer"
  33791. },
  33792. "ispreexercise": {
  33793. "description": "是否预申报- 0:否 1:是",
  33794. "type": "integer"
  33795. },
  33796. "isreckoned": {
  33797. "description": "是否结算 - 0:未结算 1:已结算",
  33798. "type": "integer"
  33799. },
  33800. "isvaliddata": {
  33801. "description": "是否有效 - 0:无效 1:有效",
  33802. "type": "integer"
  33803. },
  33804. "listingselecttype": {
  33805. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33806. "type": "integer"
  33807. },
  33808. "marketid": {
  33809. "description": "市场ID",
  33810. "type": "integer"
  33811. },
  33812. "marketname": {
  33813. "description": "市场名称",
  33814. "type": "string"
  33815. },
  33816. "matchaccountid": {
  33817. "description": "对手账号id",
  33818. "type": "integer"
  33819. },
  33820. "memberuserid": {
  33821. "description": "会员id 个人投资者 需要填写",
  33822. "type": "integer"
  33823. },
  33824. "opencharge": {
  33825. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33826. "type": "number"
  33827. },
  33828. "openexchagechargevalue": {
  33829. "description": "建仓交易所手续费设置值",
  33830. "type": "number"
  33831. },
  33832. "openfeealgorithm": {
  33833. "description": "建仓手续费收取方式 1:比率 2:固定",
  33834. "type": "integer"
  33835. },
  33836. "openmemberchargevalue": {
  33837. "description": "建仓会员手续费设置值",
  33838. "type": "number"
  33839. },
  33840. "openqty": {
  33841. "description": "开仓数量(先建后平操作 需要记录)",
  33842. "type": "number"
  33843. },
  33844. "optiontype": {
  33845. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33846. "type": "integer"
  33847. },
  33848. "orderid": {
  33849. "description": "委托单号",
  33850. "type": "string"
  33851. },
  33852. "payamount": {
  33853. "description": "支付金额(付款金额)",
  33854. "type": "number"
  33855. },
  33856. "performanceplanid": {
  33857. "description": "履约计划ID[期权]",
  33858. "type": "integer"
  33859. },
  33860. "performancestatus": {
  33861. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  33862. "type": "integer"
  33863. },
  33864. "preexerciseprice": {
  33865. "description": "预申报价格",
  33866. "type": "number"
  33867. },
  33868. "premium": {
  33869. "description": "权利金 - [持仓单的权利金]",
  33870. "type": "number"
  33871. },
  33872. "qtydecimalplace": {
  33873. "description": "商品报价小数位",
  33874. "type": "integer"
  33875. },
  33876. "recvamount": {
  33877. "description": "到账金额 = 成交金额 - 手续费",
  33878. "type": "number"
  33879. },
  33880. "relatedouttradeid": {
  33881. "description": "关联外部成交单ID",
  33882. "type": "integer"
  33883. },
  33884. "status": {
  33885. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  33886. "type": "integer"
  33887. },
  33888. "totalamount": {
  33889. "description": "订单总额 = 成交金额 + 手续费",
  33890. "type": "number"
  33891. },
  33892. "tradeamount": {
  33893. "description": "成交金额[账户币种,用于所有权]",
  33894. "type": "number"
  33895. },
  33896. "tradedate": {
  33897. "description": "交易日(yyyyMMdd)",
  33898. "type": "string"
  33899. },
  33900. "tradeid": {
  33901. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33902. "type": "string"
  33903. },
  33904. "trademode": {
  33905. "description": "交易模式",
  33906. "type": "integer"
  33907. },
  33908. "tradeprice": {
  33909. "description": "成交价格",
  33910. "type": "number"
  33911. },
  33912. "tradeproperty": {
  33913. "description": "交易属性",
  33914. "type": "integer"
  33915. },
  33916. "tradeqty": {
  33917. "description": "成交数量",
  33918. "type": "number"
  33919. },
  33920. "tradetime": {
  33921. "description": "成交时间",
  33922. "type": "string"
  33923. },
  33924. "tradetype": {
  33925. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  33926. "type": "integer"
  33927. }
  33928. }
  33929. },
  33930. "order.QueryHisTradeOrderDetailRsp": {
  33931. "type": "object",
  33932. "required": [
  33933. "accountid",
  33934. "buildtype",
  33935. "buyorsell",
  33936. "goodsid",
  33937. "histradedate",
  33938. "marketid",
  33939. "memberuserid",
  33940. "operatetype",
  33941. "orderid",
  33942. "orderqty",
  33943. "ordertime",
  33944. "pricemode",
  33945. "tradedate",
  33946. "validtype"
  33947. ],
  33948. "properties": {
  33949. "accountid": {
  33950. "description": "账户ID[报价币种]",
  33951. "type": "integer"
  33952. },
  33953. "buildtype": {
  33954. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  33955. "type": "integer"
  33956. },
  33957. "buyorsell": {
  33958. "description": "买卖 - 0:买 1:卖",
  33959. "type": "integer"
  33960. },
  33961. "cancelorderid": {
  33962. "description": "撤单单号(撤单时填写)",
  33963. "type": "string"
  33964. },
  33965. "cancelqty": {
  33966. "description": "撤单数量",
  33967. "type": "number"
  33968. },
  33969. "clientordertime": {
  33970. "description": "客户端委托时间",
  33971. "type": "string"
  33972. },
  33973. "clientticket": {
  33974. "description": "客户端流水号",
  33975. "type": "string"
  33976. },
  33977. "clienttype": {
  33978. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  33979. "type": "integer"
  33980. },
  33981. "closeexchagechargevalue": {
  33982. "description": "平仓交易所手续费设置值",
  33983. "type": "number"
  33984. },
  33985. "closefeealgorithm": {
  33986. "description": "平仓手续费收取方式 1:比率 2:固定",
  33987. "type": "integer"
  33988. },
  33989. "closefreezecharge": {
  33990. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  33991. "type": "number"
  33992. },
  33993. "closememberchargevalue": {
  33994. "description": "平仓会员手续费设置值",
  33995. "type": "number"
  33996. },
  33997. "closeqty": {
  33998. "description": "平仓数量(先建后平操作 需要记录)",
  33999. "type": "number"
  34000. },
  34001. "closetradeqty": {
  34002. "description": "平仓成交数量(先建后平操作,需要记录)",
  34003. "type": "number"
  34004. },
  34005. "closeunfreezecharge": {
  34006. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  34007. "type": "number"
  34008. },
  34009. "decimalplace": {
  34010. "description": "商品报价小数位",
  34011. "type": "integer"
  34012. },
  34013. "delistingtype": {
  34014. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  34015. "type": "integer"
  34016. },
  34017. "enumdicname": {
  34018. "description": "单位名称",
  34019. "type": "string"
  34020. },
  34021. "freezecharge": {
  34022. "description": "冻结手续费",
  34023. "type": "number"
  34024. },
  34025. "freezemargin": {
  34026. "description": "冻结保证金(冻结交易金额)",
  34027. "type": "number"
  34028. },
  34029. "gcaccountid": {
  34030. "description": "账户ID[合约币种]",
  34031. "type": "integer"
  34032. },
  34033. "goodscode": {
  34034. "description": "商品代码",
  34035. "type": "string"
  34036. },
  34037. "goodsid": {
  34038. "description": "商品ID",
  34039. "type": "integer"
  34040. },
  34041. "goodsname": {
  34042. "description": "商品名称",
  34043. "type": "string"
  34044. },
  34045. "goodunitid": {
  34046. "description": "商品单位id",
  34047. "type": "integer"
  34048. },
  34049. "histradedate": {
  34050. "description": "历史交易日",
  34051. "type": "string"
  34052. },
  34053. "isconfirmexercise": {
  34054. "description": "是否确认行权- 0:否 1:是",
  34055. "type": "integer"
  34056. },
  34057. "ispreexercise": {
  34058. "description": "是否预申报- 0:否 1:是",
  34059. "type": "integer"
  34060. },
  34061. "isvaliddata": {
  34062. "description": "是否有效 - 0:无效 1:有效",
  34063. "type": "integer"
  34064. },
  34065. "listingselecttype": {
  34066. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34067. "type": "integer"
  34068. },
  34069. "marginalgorithm": {
  34070. "description": "保证金收取方式 1:比率 2:固定",
  34071. "type": "integer"
  34072. },
  34073. "marginvalue": {
  34074. "description": "即市保证金设置值",
  34075. "type": "number"
  34076. },
  34077. "marketid": {
  34078. "description": "市场ID",
  34079. "type": "integer"
  34080. },
  34081. "marketmaxsub": {
  34082. "description": "市价最大偏移范围",
  34083. "type": "number"
  34084. },
  34085. "marketname": {
  34086. "description": "市场名称",
  34087. "type": "string"
  34088. },
  34089. "memberuserid": {
  34090. "description": "所属会员UserID",
  34091. "type": "integer"
  34092. },
  34093. "openexchagechargevalue": {
  34094. "description": "建仓交易所手续费设置值",
  34095. "type": "number"
  34096. },
  34097. "openfeealgorithm": {
  34098. "description": "建仓手续费收取方式 1:比率 2:固定",
  34099. "type": "integer"
  34100. },
  34101. "openfreezecharge": {
  34102. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  34103. "type": "number"
  34104. },
  34105. "openmemberchargevalue": {
  34106. "description": "建仓会员手续费设置值",
  34107. "type": "number"
  34108. },
  34109. "openqty": {
  34110. "description": "开仓数量(先建后平操作,需要记录)",
  34111. "type": "number"
  34112. },
  34113. "opentradeqty": {
  34114. "description": "开仓成交数量(先建后平操作,需要记录)",
  34115. "type": "number"
  34116. },
  34117. "openunfreezecharge": {
  34118. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  34119. "type": "number"
  34120. },
  34121. "operatetype": {
  34122. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  34123. "type": "integer"
  34124. },
  34125. "operatorid": {
  34126. "description": "登录账号(LoginID)",
  34127. "type": "integer"
  34128. },
  34129. "optiontype": {
  34130. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34131. "type": "integer"
  34132. },
  34133. "orderid": {
  34134. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34135. "type": "string"
  34136. },
  34137. "orderprice": {
  34138. "description": "委托价格",
  34139. "type": "number"
  34140. },
  34141. "orderqty": {
  34142. "description": "委托数量",
  34143. "type": "number"
  34144. },
  34145. "ordersrc": {
  34146. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  34147. "type": "integer"
  34148. },
  34149. "orderstatus": {
  34150. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34151. "type": "integer"
  34152. },
  34153. "ordertime": {
  34154. "description": "委托时间",
  34155. "type": "string"
  34156. },
  34157. "preexerciseprice": {
  34158. "description": "预申报价格",
  34159. "type": "number"
  34160. },
  34161. "premium": {
  34162. "description": "权利金",
  34163. "type": "number"
  34164. },
  34165. "preorderid": {
  34166. "description": "关联预埋单号(止盈止损单时填写)",
  34167. "type": "string"
  34168. },
  34169. "pricemode": {
  34170. "description": "取价方式 - 1:市价 2: 限价",
  34171. "type": "integer"
  34172. },
  34173. "qtydecimalplace": {
  34174. "description": "成交量小数位",
  34175. "type": "integer"
  34176. },
  34177. "quoteid": {
  34178. "description": "报价单ID",
  34179. "type": "integer"
  34180. },
  34181. "relatedid": {
  34182. "description": "关联单号(交割单)",
  34183. "type": "string"
  34184. },
  34185. "retcode": {
  34186. "description": "错误代码",
  34187. "type": "integer"
  34188. },
  34189. "sessionid": {
  34190. "description": "会话ID",
  34191. "type": "integer"
  34192. },
  34193. "tradedate": {
  34194. "description": "交易日(yyyyMMdd)",
  34195. "type": "string"
  34196. },
  34197. "trademode": {
  34198. "description": "交易模式",
  34199. "type": "integer"
  34200. },
  34201. "tradeproperty": {
  34202. "description": "交易属性",
  34203. "type": "integer"
  34204. },
  34205. "tradeqty": {
  34206. "description": "成交数量",
  34207. "type": "number"
  34208. },
  34209. "unfreezecharge": {
  34210. "description": "解冻手续费",
  34211. "type": "number"
  34212. },
  34213. "unfreezemargin": {
  34214. "description": "解冻保证金",
  34215. "type": "number"
  34216. },
  34217. "updatetime": {
  34218. "description": "更新时间",
  34219. "type": "string"
  34220. },
  34221. "uuid": {
  34222. "description": "发起端唯一id",
  34223. "type": "string"
  34224. },
  34225. "validtime": {
  34226. "description": "有效期限",
  34227. "type": "string"
  34228. },
  34229. "validtype": {
  34230. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  34231. "type": "integer"
  34232. },
  34233. "volumetype": {
  34234. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  34235. "type": "integer"
  34236. }
  34237. }
  34238. },
  34239. "order.QueryTradeDetailRsp": {
  34240. "type": "object",
  34241. "required": [
  34242. "accountid",
  34243. "buyorsell",
  34244. "goodsid",
  34245. "marketid",
  34246. "memberuserid",
  34247. "orderid",
  34248. "tradeamount",
  34249. "tradedate",
  34250. "tradeid",
  34251. "tradeprice",
  34252. "tradeqty",
  34253. "tradetime"
  34254. ],
  34255. "properties": {
  34256. "accountid": {
  34257. "description": "账户ID[报价币种]",
  34258. "type": "integer"
  34259. },
  34260. "advanceratio": {
  34261. "description": "首付比率",
  34262. "type": "number"
  34263. },
  34264. "buildtype": {
  34265. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34266. "type": "integer"
  34267. },
  34268. "buyorsell": {
  34269. "description": "方向 - 0:买 1:卖",
  34270. "type": "integer"
  34271. },
  34272. "charge": {
  34273. "description": "手续费",
  34274. "type": "number"
  34275. },
  34276. "closecharge": {
  34277. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34278. "type": "number"
  34279. },
  34280. "closeexchagechargevalue": {
  34281. "description": "平仓交易所手续费设置值",
  34282. "type": "number"
  34283. },
  34284. "closefeealgorithm": {
  34285. "description": "平仓手续费收取方式 1:比率 2:固定",
  34286. "type": "integer"
  34287. },
  34288. "closememberchargevalue": {
  34289. "description": "平仓会员手续费设置值",
  34290. "type": "number"
  34291. },
  34292. "closepl": {
  34293. "description": "平仓盈亏",
  34294. "type": "number"
  34295. },
  34296. "closepl2": {
  34297. "description": "平仓盈亏[逐笔]",
  34298. "type": "number"
  34299. },
  34300. "closeqty": {
  34301. "description": "平仓数量(先建后平操作 需要记录)",
  34302. "type": "number"
  34303. },
  34304. "creditamount": {
  34305. "description": "授信金额",
  34306. "type": "number"
  34307. },
  34308. "decimalplace": {
  34309. "description": "商品报价小数位",
  34310. "type": "integer"
  34311. },
  34312. "enumdicname": {
  34313. "description": "单位名称",
  34314. "type": "string"
  34315. },
  34316. "gcaccountid": {
  34317. "description": "账户ID[合约币种]",
  34318. "type": "integer"
  34319. },
  34320. "goodscode": {
  34321. "description": "商品代码",
  34322. "type": "string"
  34323. },
  34324. "goodsid": {
  34325. "description": "商品ID",
  34326. "type": "integer"
  34327. },
  34328. "goodsname": {
  34329. "description": "商品名称",
  34330. "type": "string"
  34331. },
  34332. "goodunitid": {
  34333. "description": "商品单位id",
  34334. "type": "integer"
  34335. },
  34336. "intclosepl": {
  34337. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34338. "type": "integer"
  34339. },
  34340. "isconfirmexercise": {
  34341. "description": "是否确认行权- 0:否 1:是",
  34342. "type": "integer"
  34343. },
  34344. "ismain": {
  34345. "description": "是否主单 - 0:不是 1:是",
  34346. "type": "integer"
  34347. },
  34348. "ispreexercise": {
  34349. "description": "是否预申报- 0:否 1:是",
  34350. "type": "integer"
  34351. },
  34352. "isreckoned": {
  34353. "description": "是否结算 - 0:未结算 1:已结算",
  34354. "type": "integer"
  34355. },
  34356. "listingselecttype": {
  34357. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34358. "type": "integer"
  34359. },
  34360. "marketid": {
  34361. "description": "市场ID",
  34362. "type": "integer"
  34363. },
  34364. "marketname": {
  34365. "description": "市场名称",
  34366. "type": "string"
  34367. },
  34368. "matchaccountid": {
  34369. "description": "对手账号id",
  34370. "type": "integer"
  34371. },
  34372. "memberuserid": {
  34373. "description": "会员id 个人投资者 需要填写",
  34374. "type": "integer"
  34375. },
  34376. "opencharge": {
  34377. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34378. "type": "number"
  34379. },
  34380. "openexchagechargevalue": {
  34381. "description": "建仓交易所手续费设置值",
  34382. "type": "number"
  34383. },
  34384. "openfeealgorithm": {
  34385. "description": "建仓手续费收取方式 1:比率 2:固定",
  34386. "type": "integer"
  34387. },
  34388. "openmemberchargevalue": {
  34389. "description": "建仓会员手续费设置值",
  34390. "type": "number"
  34391. },
  34392. "openqty": {
  34393. "description": "开仓数量(先建后平操作 需要记录)",
  34394. "type": "number"
  34395. },
  34396. "optiontype": {
  34397. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34398. "type": "integer"
  34399. },
  34400. "orderid": {
  34401. "description": "委托单号",
  34402. "type": "string"
  34403. },
  34404. "payamount": {
  34405. "description": "支付金额(付款金额)",
  34406. "type": "number"
  34407. },
  34408. "performanceplanid": {
  34409. "description": "履约计划ID[期权]",
  34410. "type": "integer"
  34411. },
  34412. "performancestatus": {
  34413. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34414. "type": "integer"
  34415. },
  34416. "preexerciseprice": {
  34417. "description": "预申报价格",
  34418. "type": "number"
  34419. },
  34420. "premium": {
  34421. "description": "权利金 - [持仓单的权利金]",
  34422. "type": "number"
  34423. },
  34424. "qtydecimalplace": {
  34425. "description": "商品报价小数位",
  34426. "type": "integer"
  34427. },
  34428. "recvamount": {
  34429. "description": "到账金额 = 成交金额 - 手续费",
  34430. "type": "number"
  34431. },
  34432. "relatedouttradeid": {
  34433. "description": "关联外部成交单ID",
  34434. "type": "integer"
  34435. },
  34436. "status": {
  34437. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34438. "type": "integer"
  34439. },
  34440. "totalamount": {
  34441. "description": "订单总额 = 成交金额 + 手续费",
  34442. "type": "number"
  34443. },
  34444. "tradeamount": {
  34445. "description": "成交金额[账户币种,用于所有权]",
  34446. "type": "number"
  34447. },
  34448. "tradedate": {
  34449. "description": "交易日(yyyyMMdd)",
  34450. "type": "string"
  34451. },
  34452. "tradeid": {
  34453. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34454. "type": "string"
  34455. },
  34456. "trademode": {
  34457. "description": "交易模式",
  34458. "type": "integer"
  34459. },
  34460. "tradeprice": {
  34461. "description": "成交价格",
  34462. "type": "number"
  34463. },
  34464. "tradeproperty": {
  34465. "description": "交易属性",
  34466. "type": "integer"
  34467. },
  34468. "tradeqty": {
  34469. "description": "成交数量",
  34470. "type": "number"
  34471. },
  34472. "tradetime": {
  34473. "description": "成交时间",
  34474. "type": "string"
  34475. },
  34476. "tradetype": {
  34477. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34478. "type": "integer"
  34479. }
  34480. }
  34481. },
  34482. "order.QueryTradeOrderDetailRsp": {
  34483. "type": "object",
  34484. "required": [
  34485. "accountid",
  34486. "buildtype",
  34487. "buyorsell",
  34488. "goodsid",
  34489. "marketid",
  34490. "operatetype",
  34491. "orderqty",
  34492. "ordertime",
  34493. "pricemode",
  34494. "tradedate",
  34495. "validtype"
  34496. ],
  34497. "properties": {
  34498. "accountid": {
  34499. "description": "账户ID[报价币种]",
  34500. "type": "integer"
  34501. },
  34502. "buildtype": {
  34503. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  34504. "type": "integer"
  34505. },
  34506. "buyorsell": {
  34507. "description": "买卖 - 0:买 1:卖",
  34508. "type": "integer"
  34509. },
  34510. "cancelorderid": {
  34511. "description": "撤单单号(撤单时填写)",
  34512. "type": "string"
  34513. },
  34514. "cancelqty": {
  34515. "description": "撤单数量",
  34516. "type": "number"
  34517. },
  34518. "clienttype": {
  34519. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  34520. "type": "integer"
  34521. },
  34522. "closefreezecharge": {
  34523. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  34524. "type": "number"
  34525. },
  34526. "closeqty": {
  34527. "description": "平仓数量(先建后平操作 需要记录)",
  34528. "type": "number"
  34529. },
  34530. "closetradeqty": {
  34531. "description": "平仓成交数量(先建后平操作,需要记录)",
  34532. "type": "number"
  34533. },
  34534. "closeunfreezecharge": {
  34535. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  34536. "type": "number"
  34537. },
  34538. "decimalplace": {
  34539. "description": "商品报价小数位",
  34540. "type": "integer"
  34541. },
  34542. "delistingtype": {
  34543. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  34544. "type": "integer"
  34545. },
  34546. "enableqty": {
  34547. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  34548. "type": "number"
  34549. },
  34550. "enumdicname": {
  34551. "description": "单位名称",
  34552. "type": "string"
  34553. },
  34554. "freezecharge": {
  34555. "description": "冻结手续费",
  34556. "type": "number"
  34557. },
  34558. "freezemargin": {
  34559. "description": "冻结保证金(冻结交易金额)",
  34560. "type": "number"
  34561. },
  34562. "goodscode": {
  34563. "description": "商品代码",
  34564. "type": "string"
  34565. },
  34566. "goodsid": {
  34567. "description": "商品ID",
  34568. "type": "integer"
  34569. },
  34570. "goodsname": {
  34571. "description": "商品名称",
  34572. "type": "string"
  34573. },
  34574. "goodunitid": {
  34575. "description": "商品单位id",
  34576. "type": "integer"
  34577. },
  34578. "listingselecttype": {
  34579. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34580. "type": "integer"
  34581. },
  34582. "marketid": {
  34583. "description": "市场ID",
  34584. "type": "integer"
  34585. },
  34586. "marketname": {
  34587. "description": "市场名称",
  34588. "type": "string"
  34589. },
  34590. "openfreezecharge": {
  34591. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  34592. "type": "number"
  34593. },
  34594. "openqty": {
  34595. "description": "开仓数量(先建后平操作,需要记录)",
  34596. "type": "number"
  34597. },
  34598. "opentradeqty": {
  34599. "description": "开仓成交数量(先建后平操作,需要记录)",
  34600. "type": "number"
  34601. },
  34602. "openunfreezecharge": {
  34603. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  34604. "type": "number"
  34605. },
  34606. "operatetype": {
  34607. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  34608. "type": "integer"
  34609. },
  34610. "operatorid": {
  34611. "description": "登录账号(LoginID)",
  34612. "type": "integer"
  34613. },
  34614. "orderid": {
  34615. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34616. "type": "string"
  34617. },
  34618. "orderprice": {
  34619. "description": "委托价格",
  34620. "type": "number"
  34621. },
  34622. "orderqty": {
  34623. "description": "委托数量",
  34624. "type": "number"
  34625. },
  34626. "ordersrc": {
  34627. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  34628. "type": "integer"
  34629. },
  34630. "orderstatus": {
  34631. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34632. "type": "integer"
  34633. },
  34634. "ordertime": {
  34635. "description": "委托时间",
  34636. "type": "string"
  34637. },
  34638. "preorderid": {
  34639. "description": "关联预埋单号(止盈止损单时填写)",
  34640. "type": "string"
  34641. },
  34642. "pricemode": {
  34643. "description": "取价方式 - 1:市价 2: 限价",
  34644. "type": "integer"
  34645. },
  34646. "qtydecimalplace": {
  34647. "description": "商品报价小数位",
  34648. "type": "integer"
  34649. },
  34650. "relatedid": {
  34651. "description": "关联单号(交割单)",
  34652. "type": "string"
  34653. },
  34654. "tradedate": {
  34655. "description": "交易日(yyyyMMdd)",
  34656. "type": "string"
  34657. },
  34658. "trademode": {
  34659. "description": "交易模式",
  34660. "type": "integer"
  34661. },
  34662. "tradeqty": {
  34663. "description": "成交数量",
  34664. "type": "number"
  34665. },
  34666. "unfreezecharge": {
  34667. "description": "解冻手续费",
  34668. "type": "number"
  34669. },
  34670. "unfreezemargin": {
  34671. "description": "解冻保证金",
  34672. "type": "number"
  34673. },
  34674. "validtime": {
  34675. "description": "有效期限",
  34676. "type": "string"
  34677. },
  34678. "validtype": {
  34679. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  34680. "type": "integer"
  34681. },
  34682. "volumetype": {
  34683. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  34684. "type": "integer"
  34685. }
  34686. }
  34687. },
  34688. "order.QueryTradePositionRsp": {
  34689. "type": "object",
  34690. "required": [
  34691. "goodsid"
  34692. ],
  34693. "properties": {
  34694. "accountid": {
  34695. "description": "资金账户",
  34696. "type": "integer"
  34697. },
  34698. "agreeunit": {
  34699. "description": "合约单位",
  34700. "type": "number"
  34701. },
  34702. "averageprice": {
  34703. "description": "持仓均价",
  34704. "type": "number"
  34705. },
  34706. "buyorsell": {
  34707. "description": "方向 - 0:买 1:卖",
  34708. "type": "integer"
  34709. },
  34710. "closetotalqty": {
  34711. "description": "平仓总数量",
  34712. "type": "number"
  34713. },
  34714. "curholderamount": {
  34715. "description": "当前持仓总金额[商品币种]",
  34716. "type": "number"
  34717. },
  34718. "curpositionqty": {
  34719. "description": "当前持仓总数量",
  34720. "type": "number"
  34721. },
  34722. "currencyid": {
  34723. "description": "报价货币ID",
  34724. "type": "integer"
  34725. },
  34726. "curtdposition": {
  34727. "description": "期末今日头寸",
  34728. "type": "number"
  34729. },
  34730. "decimalplace": {
  34731. "description": "报价小数位",
  34732. "type": "integer"
  34733. },
  34734. "enableqty": {
  34735. "description": "可用量",
  34736. "type": "number"
  34737. },
  34738. "fretdposition": {
  34739. "description": "冻结今日头寸",
  34740. "type": "number"
  34741. },
  34742. "frozenqty": {
  34743. "description": "持仓冻结数量",
  34744. "type": "number"
  34745. },
  34746. "goodscode": {
  34747. "description": "商品代码",
  34748. "type": "string"
  34749. },
  34750. "goodsid": {
  34751. "description": "商品Id",
  34752. "type": "integer"
  34753. },
  34754. "goodsname": {
  34755. "description": "商品名称",
  34756. "type": "string"
  34757. },
  34758. "goodunit": {
  34759. "description": "报价单位",
  34760. "type": "string"
  34761. },
  34762. "goodunitid": {
  34763. "description": "报价单位ID",
  34764. "type": "integer"
  34765. },
  34766. "holderamount": {
  34767. "description": "期初持仓总金额[商品币种]",
  34768. "type": "number"
  34769. },
  34770. "lastprice": {
  34771. "description": "最新价",
  34772. "type": "number"
  34773. },
  34774. "marketamount": {
  34775. "description": "市值",
  34776. "type": "number"
  34777. },
  34778. "marketid": {
  34779. "description": "所属市场ID",
  34780. "type": "integer"
  34781. },
  34782. "openreqqty": {
  34783. "description": "开仓申请数量(用于比较最大持仓数量)",
  34784. "type": "number"
  34785. },
  34786. "opentotalqty": {
  34787. "description": "开仓总数量",
  34788. "type": "number"
  34789. },
  34790. "otherfrozenqty": {
  34791. "description": "持仓其他冻结数量(交割冻结)",
  34792. "type": "number"
  34793. },
  34794. "positionpl": {
  34795. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  34796. "type": "number"
  34797. },
  34798. "positionplrate": {
  34799. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  34800. "type": "number"
  34801. },
  34802. "positionqty": {
  34803. "description": "期初持仓数量",
  34804. "type": "number"
  34805. },
  34806. "qtydecimalplace": {
  34807. "description": "成交量小数位",
  34808. "type": "integer"
  34809. },
  34810. "tnqty": {
  34811. "description": "T+N冻结总量",
  34812. "type": "number"
  34813. },
  34814. "tnusedqty": {
  34815. "description": "T+N使用量(可以使用T+N的冻结数量)",
  34816. "type": "number"
  34817. },
  34818. "trademode": {
  34819. "description": "交易模式",
  34820. "type": "integer"
  34821. },
  34822. "usedmargin": {
  34823. "description": "占用保证金[商品币种]",
  34824. "type": "number"
  34825. }
  34826. }
  34827. },
  34828. "quote.HistoryData": {
  34829. "type": "object",
  34830. "properties": {
  34831. "c": {
  34832. "description": "收盘价",
  34833. "type": "number"
  34834. },
  34835. "f": {
  34836. "description": "是否补充数据",
  34837. "type": "boolean"
  34838. },
  34839. "h": {
  34840. "description": "最高价",
  34841. "type": "number"
  34842. },
  34843. "hv": {
  34844. "description": "持仓量",
  34845. "type": "integer"
  34846. },
  34847. "l": {
  34848. "description": "最低价",
  34849. "type": "number"
  34850. },
  34851. "o": {
  34852. "description": "开盘价",
  34853. "type": "number"
  34854. },
  34855. "s": {
  34856. "description": "结算价,日线周期(包括)以上才有",
  34857. "type": "number"
  34858. },
  34859. "ts": {
  34860. "description": "时间",
  34861. "type": "string"
  34862. },
  34863. "tt": {
  34864. "description": "总金额",
  34865. "type": "number"
  34866. },
  34867. "tv": {
  34868. "description": "总量",
  34869. "type": "integer"
  34870. }
  34871. }
  34872. },
  34873. "quote.HistoryTikData": {
  34874. "type": "object",
  34875. "properties": {
  34876. "AV": {
  34877. "description": "卖量",
  34878. "type": "integer"
  34879. },
  34880. "Ask": {
  34881. "description": "卖价",
  34882. "type": "number"
  34883. },
  34884. "BV": {
  34885. "description": "买量",
  34886. "type": "integer"
  34887. },
  34888. "Bid": {
  34889. "description": "买价",
  34890. "type": "number"
  34891. },
  34892. "HI": {
  34893. "description": "单笔持仓",
  34894. "type": "integer"
  34895. },
  34896. "HV": {
  34897. "description": "持仓量",
  34898. "type": "integer"
  34899. },
  34900. "PE": {
  34901. "description": "现价",
  34902. "type": "number"
  34903. },
  34904. "TDR": {
  34905. "description": "交易方向,0:买 1:卖",
  34906. "type": "integer"
  34907. },
  34908. "TK": {
  34909. "description": "交易类型",
  34910. "type": "integer"
  34911. },
  34912. "TS": {
  34913. "description": "行情时间文本",
  34914. "type": "string"
  34915. },
  34916. "TT": {
  34917. "description": "现金额",
  34918. "type": "number"
  34919. },
  34920. "Vol": {
  34921. "description": "现量",
  34922. "type": "integer"
  34923. }
  34924. }
  34925. },
  34926. "quote.QueryQuoteDayRsp": {
  34927. "type": "object",
  34928. "properties": {
  34929. "ask": {
  34930. "description": "卖1",
  34931. "type": "number"
  34932. },
  34933. "ask10": {
  34934. "description": "卖10",
  34935. "type": "number"
  34936. },
  34937. "ask2": {
  34938. "description": "卖2",
  34939. "type": "number"
  34940. },
  34941. "ask3": {
  34942. "description": "卖3",
  34943. "type": "number"
  34944. },
  34945. "ask4": {
  34946. "description": "卖4",
  34947. "type": "number"
  34948. },
  34949. "ask5": {
  34950. "description": "卖5",
  34951. "type": "number"
  34952. },
  34953. "ask6": {
  34954. "description": "卖6",
  34955. "type": "number"
  34956. },
  34957. "ask7": {
  34958. "description": "卖7",
  34959. "type": "number"
  34960. },
  34961. "ask8": {
  34962. "description": "卖8",
  34963. "type": "number"
  34964. },
  34965. "ask9": {
  34966. "description": "卖9",
  34967. "type": "number"
  34968. },
  34969. "askorderid": {
  34970. "description": "卖单号1",
  34971. "type": "integer"
  34972. },
  34973. "askorderid2": {
  34974. "description": "卖单号2",
  34975. "type": "integer"
  34976. },
  34977. "askorderid3": {
  34978. "description": "卖单号3",
  34979. "type": "integer"
  34980. },
  34981. "askorderid4": {
  34982. "description": "卖单号4",
  34983. "type": "integer"
  34984. },
  34985. "askorderid5": {
  34986. "description": "卖单号5",
  34987. "type": "integer"
  34988. },
  34989. "askordervolume": {
  34990. "description": "卖单量1",
  34991. "type": "integer"
  34992. },
  34993. "askordervolume10": {
  34994. "description": "卖单量10",
  34995. "type": "integer"
  34996. },
  34997. "askordervolume2": {
  34998. "description": "卖单量2",
  34999. "type": "integer"
  35000. },
  35001. "askordervolume3": {
  35002. "description": "卖单量3",
  35003. "type": "integer"
  35004. },
  35005. "askordervolume4": {
  35006. "description": "卖单量4",
  35007. "type": "integer"
  35008. },
  35009. "askordervolume5": {
  35010. "description": "卖单量5",
  35011. "type": "integer"
  35012. },
  35013. "askordervolume6": {
  35014. "description": "卖单量6",
  35015. "type": "integer"
  35016. },
  35017. "askordervolume7": {
  35018. "description": "卖单量7",
  35019. "type": "integer"
  35020. },
  35021. "askordervolume8": {
  35022. "description": "卖单量8",
  35023. "type": "integer"
  35024. },
  35025. "askordervolume9": {
  35026. "description": "卖单量9",
  35027. "type": "integer"
  35028. },
  35029. "askqueueinfo": {
  35030. "description": "大利市卖港股用",
  35031. "type": "string"
  35032. },
  35033. "askvolume": {
  35034. "description": "卖量1",
  35035. "type": "integer"
  35036. },
  35037. "askvolume10": {
  35038. "description": "卖量10",
  35039. "type": "integer"
  35040. },
  35041. "askvolume2": {
  35042. "description": "卖量2",
  35043. "type": "integer"
  35044. },
  35045. "askvolume3": {
  35046. "description": "卖量3",
  35047. "type": "integer"
  35048. },
  35049. "askvolume4": {
  35050. "description": "卖量4",
  35051. "type": "integer"
  35052. },
  35053. "askvolume5": {
  35054. "description": "卖量5",
  35055. "type": "integer"
  35056. },
  35057. "askvolume6": {
  35058. "description": "卖量6",
  35059. "type": "integer"
  35060. },
  35061. "askvolume7": {
  35062. "description": "卖量7",
  35063. "type": "integer"
  35064. },
  35065. "askvolume8": {
  35066. "description": "卖量8",
  35067. "type": "integer"
  35068. },
  35069. "askvolume9": {
  35070. "description": "卖量9",
  35071. "type": "integer"
  35072. },
  35073. "averageprice": {
  35074. "description": "均价",
  35075. "type": "number"
  35076. },
  35077. "bid": {
  35078. "description": "买1",
  35079. "type": "number"
  35080. },
  35081. "bid10": {
  35082. "description": "买10",
  35083. "type": "number"
  35084. },
  35085. "bid2": {
  35086. "description": "买2",
  35087. "type": "number"
  35088. },
  35089. "bid3": {
  35090. "description": "买3",
  35091. "type": "number"
  35092. },
  35093. "bid4": {
  35094. "description": "买4",
  35095. "type": "number"
  35096. },
  35097. "bid5": {
  35098. "description": "买5",
  35099. "type": "number"
  35100. },
  35101. "bid6": {
  35102. "description": "买6",
  35103. "type": "number"
  35104. },
  35105. "bid7": {
  35106. "description": "买7",
  35107. "type": "number"
  35108. },
  35109. "bid8": {
  35110. "description": "买8",
  35111. "type": "number"
  35112. },
  35113. "bid9": {
  35114. "description": "买9",
  35115. "type": "number"
  35116. },
  35117. "bidorderid": {
  35118. "description": "买单号1",
  35119. "type": "integer"
  35120. },
  35121. "bidorderid2": {
  35122. "description": "买单号2",
  35123. "type": "integer"
  35124. },
  35125. "bidorderid3": {
  35126. "description": "买单号3",
  35127. "type": "integer"
  35128. },
  35129. "bidorderid4": {
  35130. "description": "买单号4",
  35131. "type": "integer"
  35132. },
  35133. "bidorderid5": {
  35134. "description": "买单号5",
  35135. "type": "integer"
  35136. },
  35137. "bidordervolume": {
  35138. "description": "买单量1",
  35139. "type": "integer"
  35140. },
  35141. "bidordervolume10": {
  35142. "description": "买单量10",
  35143. "type": "integer"
  35144. },
  35145. "bidordervolume2": {
  35146. "description": "买单量2",
  35147. "type": "integer"
  35148. },
  35149. "bidordervolume3": {
  35150. "description": "买单量3",
  35151. "type": "integer"
  35152. },
  35153. "bidordervolume4": {
  35154. "description": "买单量4",
  35155. "type": "integer"
  35156. },
  35157. "bidordervolume5": {
  35158. "description": "买单量5",
  35159. "type": "integer"
  35160. },
  35161. "bidordervolume6": {
  35162. "description": "买单量6",
  35163. "type": "integer"
  35164. },
  35165. "bidordervolume7": {
  35166. "description": "买单量7",
  35167. "type": "integer"
  35168. },
  35169. "bidordervolume8": {
  35170. "description": "买单量8",
  35171. "type": "integer"
  35172. },
  35173. "bidordervolume9": {
  35174. "description": "买单量9",
  35175. "type": "integer"
  35176. },
  35177. "bidqueueinfo": {
  35178. "description": "大利市买港股用",
  35179. "type": "string"
  35180. },
  35181. "bidvolume": {
  35182. "description": "买量1",
  35183. "type": "integer"
  35184. },
  35185. "bidvolume10": {
  35186. "description": "买量10",
  35187. "type": "integer"
  35188. },
  35189. "bidvolume2": {
  35190. "description": "买量2",
  35191. "type": "integer"
  35192. },
  35193. "bidvolume3": {
  35194. "description": "买量3",
  35195. "type": "integer"
  35196. },
  35197. "bidvolume4": {
  35198. "description": "买量4",
  35199. "type": "integer"
  35200. },
  35201. "bidvolume5": {
  35202. "description": "买量5",
  35203. "type": "integer"
  35204. },
  35205. "bidvolume6": {
  35206. "description": "买量6",
  35207. "type": "integer"
  35208. },
  35209. "bidvolume7": {
  35210. "description": "买量7",
  35211. "type": "integer"
  35212. },
  35213. "bidvolume8": {
  35214. "description": "买量8",
  35215. "type": "integer"
  35216. },
  35217. "bidvolume9": {
  35218. "description": "买量9",
  35219. "type": "integer"
  35220. },
  35221. "calloptionpremiums": {
  35222. "description": "认购期权1",
  35223. "type": "integer"
  35224. },
  35225. "calloptionpremiums2": {
  35226. "description": "认购期权2",
  35227. "type": "integer"
  35228. },
  35229. "calloptionpremiums3": {
  35230. "description": "认购期权3",
  35231. "type": "integer"
  35232. },
  35233. "calloptionpremiums4": {
  35234. "description": "认购期权4",
  35235. "type": "integer"
  35236. },
  35237. "calloptionpremiums5": {
  35238. "description": "认购期权5",
  35239. "type": "integer"
  35240. },
  35241. "cleartime": {
  35242. "description": "清盘时间",
  35243. "type": "integer"
  35244. },
  35245. "exchangecode": {
  35246. "description": "交易所代码",
  35247. "type": "integer"
  35248. },
  35249. "exchangedate": {
  35250. "description": "交易日",
  35251. "type": "integer"
  35252. },
  35253. "goodscode": {
  35254. "description": "商品代码",
  35255. "type": "string"
  35256. },
  35257. "grepmarketprice": {
  35258. "description": "暗盘价 港股专用",
  35259. "type": "number"
  35260. },
  35261. "highest": {
  35262. "description": "最高价",
  35263. "type": "number"
  35264. },
  35265. "holdincrement": {
  35266. "description": "单笔持仓",
  35267. "type": "integer"
  35268. },
  35269. "holdvolume": {
  35270. "description": "持仓",
  35271. "type": "integer"
  35272. },
  35273. "iep": {
  35274. "description": "平衡价 港股专用",
  35275. "type": "number"
  35276. },
  35277. "iev": {
  35278. "description": "平衡量 港股专用",
  35279. "type": "number"
  35280. },
  35281. "inventory": {
  35282. "description": "库存",
  35283. "type": "integer"
  35284. },
  35285. "iscleared": {
  35286. "description": "是否清盘标志",
  35287. "type": "integer"
  35288. },
  35289. "issettled": {
  35290. "description": "是否结算标志",
  35291. "type": "integer"
  35292. },
  35293. "last": {
  35294. "description": "最新价",
  35295. "type": "number"
  35296. },
  35297. "lastlot": {
  35298. "description": "最新成交手数",
  35299. "type": "integer"
  35300. },
  35301. "lasttime": {
  35302. "description": "行情时间(只有现价变化行情时间才变化)",
  35303. "type": "string"
  35304. },
  35305. "lastturnover": {
  35306. "description": "最新成交金额",
  35307. "type": "number"
  35308. },
  35309. "lastvolume": {
  35310. "description": "最新成交量",
  35311. "type": "integer"
  35312. },
  35313. "limitdown": {
  35314. "description": "跌停价",
  35315. "type": "number"
  35316. },
  35317. "limitup": {
  35318. "description": "涨停价",
  35319. "type": "number"
  35320. },
  35321. "lowest": {
  35322. "description": "最低价",
  35323. "type": "number"
  35324. },
  35325. "nontotalholdervolume": {
  35326. "description": "非交易持仓量",
  35327. "type": "integer"
  35328. },
  35329. "nontotallot": {
  35330. "description": "非交易总手数",
  35331. "type": "integer"
  35332. },
  35333. "nontotalturnover": {
  35334. "description": "非交易总金额",
  35335. "type": "integer"
  35336. },
  35337. "nontotalvolume": {
  35338. "description": "非交易总量",
  35339. "type": "integer"
  35340. },
  35341. "opened": {
  35342. "description": "开盘价",
  35343. "type": "number"
  35344. },
  35345. "opentime": {
  35346. "description": "开盘时间",
  35347. "type": "string"
  35348. },
  35349. "orderid": {
  35350. "description": "序号",
  35351. "type": "integer"
  35352. },
  35353. "preclose": {
  35354. "description": "昨收",
  35355. "type": "number"
  35356. },
  35357. "preholdvolume": {
  35358. "description": "昨持仓",
  35359. "type": "integer"
  35360. },
  35361. "presettle": {
  35362. "description": "昨结价",
  35363. "type": "number"
  35364. },
  35365. "publictradetype": {
  35366. "description": "公共交易标志类型 港股专用",
  35367. "type": "string"
  35368. },
  35369. "putoptionpremiums": {
  35370. "description": "认沽期权1",
  35371. "type": "integer"
  35372. },
  35373. "putoptionpremiums2": {
  35374. "description": "认沽期权2",
  35375. "type": "integer"
  35376. },
  35377. "putoptionpremiums3": {
  35378. "description": "认沽期权3",
  35379. "type": "integer"
  35380. },
  35381. "putoptionpremiums4": {
  35382. "description": "认沽期权4",
  35383. "type": "integer"
  35384. },
  35385. "putoptionpremiums5": {
  35386. "description": "认沽期权5",
  35387. "type": "integer"
  35388. },
  35389. "settle": {
  35390. "description": "结算价",
  35391. "type": "number"
  35392. },
  35393. "strikeprice": {
  35394. "description": "发行价",
  35395. "type": "number"
  35396. },
  35397. "totalaskvolume": {
  35398. "description": "内盘",
  35399. "type": "integer"
  35400. },
  35401. "totalbidvolume": {
  35402. "description": "外盘",
  35403. "type": "integer"
  35404. },
  35405. "totallot": {
  35406. "description": "总手数",
  35407. "type": "integer"
  35408. },
  35409. "totalturnover": {
  35410. "description": "总金额",
  35411. "type": "number"
  35412. },
  35413. "totalvolume": {
  35414. "description": "总量",
  35415. "type": "integer"
  35416. },
  35417. "utclasttime": {
  35418. "description": "utc的行情时间",
  35419. "type": "string"
  35420. }
  35421. }
  35422. },
  35423. "quote.QueryTSDataRsp": {
  35424. "type": "object",
  35425. "properties": {
  35426. "Count": {
  35427. "description": "交易日应有数据个数",
  35428. "type": "integer"
  35429. },
  35430. "decimalPlace": {
  35431. "description": "小数位",
  35432. "type": "integer"
  35433. },
  35434. "endTime": {
  35435. "description": "结束时间",
  35436. "type": "string"
  35437. },
  35438. "goodsCode": {
  35439. "description": "商品代码",
  35440. "type": "string"
  35441. },
  35442. "historyDatas": {
  35443. "description": "历史数据",
  35444. "type": "array",
  35445. "items": {
  35446. "$ref": "#/definitions/quote.HistoryData"
  35447. }
  35448. },
  35449. "outGoodsCode": {
  35450. "description": "外部商品代码",
  35451. "type": "string"
  35452. },
  35453. "preSettle": {
  35454. "description": "昨结价",
  35455. "type": "number"
  35456. },
  35457. "runSteps": {
  35458. "description": "交易日开休市计划",
  35459. "type": "array",
  35460. "items": {
  35461. "$ref": "#/definitions/quote.TSDataRunStep"
  35462. }
  35463. },
  35464. "startTime": {
  35465. "description": "开始时间",
  35466. "type": "string"
  35467. },
  35468. "tradeDate": {
  35469. "description": "交易日",
  35470. "type": "string"
  35471. }
  35472. }
  35473. },
  35474. "quote.TSDataRunStep": {
  35475. "type": "object",
  35476. "properties": {
  35477. "end": {
  35478. "description": "真实结束时间",
  35479. "type": "string"
  35480. },
  35481. "endflag": {
  35482. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  35483. "type": "integer"
  35484. },
  35485. "endtime": {
  35486. "description": "结束时间(HH:mm)",
  35487. "type": "string"
  35488. },
  35489. "endweekday": {
  35490. "description": "结束周几",
  35491. "type": "integer"
  35492. },
  35493. "groupid": {
  35494. "description": "分组ID",
  35495. "type": "integer"
  35496. },
  35497. "runstep": {
  35498. "description": "运行阶段 - 2:连续交易",
  35499. "type": "integer"
  35500. },
  35501. "sectionid": {
  35502. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  35503. "type": "integer"
  35504. },
  35505. "start": {
  35506. "description": "真实开始时间",
  35507. "type": "string"
  35508. },
  35509. "startflag": {
  35510. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  35511. "type": "integer"
  35512. },
  35513. "starttime": {
  35514. "description": "起始时间(HH:mm)",
  35515. "type": "string"
  35516. },
  35517. "startweekday": {
  35518. "description": "起始周几",
  35519. "type": "integer"
  35520. },
  35521. "tradeweekday": {
  35522. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  35523. "type": "integer"
  35524. }
  35525. }
  35526. },
  35527. "szdz.QueryConvertLogRsp": {
  35528. "type": "object",
  35529. "required": [
  35530. "logid"
  35531. ],
  35532. "properties": {
  35533. "accountid": {
  35534. "description": "资金账户ID",
  35535. "type": "integer"
  35536. },
  35537. "clientticket": {
  35538. "description": "客户端流水号",
  35539. "type": "string"
  35540. },
  35541. "converttype": {
  35542. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  35543. "type": "integer"
  35544. },
  35545. "createtime": {
  35546. "description": "记账时间",
  35547. "type": "string"
  35548. },
  35549. "daymaxvalue": {
  35550. "description": "配置当日最大转入限制",
  35551. "type": "number"
  35552. },
  35553. "daymaxvalue2": {
  35554. "description": "配置当日最大转入限制(转入)",
  35555. "type": "number"
  35556. },
  35557. "goodscode": {
  35558. "description": "商品代码",
  35559. "type": "string"
  35560. },
  35561. "goodsname": {
  35562. "description": "商品名称",
  35563. "type": "string"
  35564. },
  35565. "handlestatus": {
  35566. "description": "处理状态",
  35567. "type": "integer"
  35568. },
  35569. "innergoodsid": {
  35570. "description": "内部商品ID",
  35571. "type": "integer"
  35572. },
  35573. "inratio": {
  35574. "description": "配置转入比值",
  35575. "type": "integer"
  35576. },
  35577. "invalue": {
  35578. "description": "目标值",
  35579. "type": "number"
  35580. },
  35581. "logid": {
  35582. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35583. "type": "integer"
  35584. },
  35585. "mobile": {
  35586. "description": "手机号码(加密存储)",
  35587. "type": "string"
  35588. },
  35589. "outergoodscode": {
  35590. "description": "外部商品代码[JD\\PD]",
  35591. "type": "string"
  35592. },
  35593. "outratio": {
  35594. "description": "配置转出比值",
  35595. "type": "integer"
  35596. },
  35597. "outvalue": {
  35598. "description": "源值",
  35599. "type": "number"
  35600. },
  35601. "pddecimalplace": {
  35602. "description": "PD小数位",
  35603. "type": "integer"
  35604. },
  35605. "qty": {
  35606. "description": "数量",
  35607. "type": "string"
  35608. },
  35609. "remark": {
  35610. "description": "备注",
  35611. "type": "string"
  35612. },
  35613. "sessionid": {
  35614. "description": "会话ID",
  35615. "type": "integer"
  35616. },
  35617. "timemaxvalue": {
  35618. "description": "配置单次最大转入限制",
  35619. "type": "number"
  35620. },
  35621. "timemaxvalue2": {
  35622. "description": "配置单次最大转入限制(转入)",
  35623. "type": "number"
  35624. },
  35625. "timeminvalue": {
  35626. "description": "配置单次最小数量限制",
  35627. "type": "number"
  35628. },
  35629. "timeminvalue2": {
  35630. "description": "配置单次最小数量限制(转入)",
  35631. "type": "number"
  35632. },
  35633. "tradedate": {
  35634. "description": "交易日(yyyyMMdd)",
  35635. "type": "string"
  35636. },
  35637. "userid": {
  35638. "description": "用户ID",
  35639. "type": "integer"
  35640. }
  35641. }
  35642. },
  35643. "szdz.QueryGoodsPickupRsp": {
  35644. "type": "object",
  35645. "required": [
  35646. "takeorderid"
  35647. ],
  35648. "properties": {
  35649. "accountid": {
  35650. "description": "账户ID",
  35651. "type": "integer"
  35652. },
  35653. "address": {
  35654. "description": "提货人详细地址",
  35655. "type": "string"
  35656. },
  35657. "auditer": {
  35658. "description": "审核人",
  35659. "type": "integer"
  35660. },
  35661. "audittime": {
  35662. "description": "审核时间",
  35663. "type": "string"
  35664. },
  35665. "cardnum": {
  35666. "description": "提货人证件号码",
  35667. "type": "string"
  35668. },
  35669. "cardtypeid": {
  35670. "description": "提货人证件类型",
  35671. "type": "integer"
  35672. },
  35673. "checkremark": {
  35674. "description": "审核备注",
  35675. "type": "string"
  35676. },
  35677. "goodscode": {
  35678. "description": "商品代码",
  35679. "type": "string"
  35680. },
  35681. "goodsid": {
  35682. "description": "商品ID",
  35683. "type": "integer"
  35684. },
  35685. "goodsname": {
  35686. "description": "商品名称",
  35687. "type": "string"
  35688. },
  35689. "handlestatus": {
  35690. "description": "处理状态",
  35691. "type": "integer"
  35692. },
  35693. "marketid": {
  35694. "description": "市场ID",
  35695. "type": "integer"
  35696. },
  35697. "phonenum": {
  35698. "description": "提货人联系方式",
  35699. "type": "string"
  35700. },
  35701. "qty": {
  35702. "description": "提货数量",
  35703. "type": "number"
  35704. },
  35705. "recivername": {
  35706. "description": "提货人姓名",
  35707. "type": "string"
  35708. },
  35709. "reqtime": {
  35710. "description": "更新时间",
  35711. "type": "string"
  35712. },
  35713. "takemode": {
  35714. "description": "提货方式 - 2:自提 3:配送",
  35715. "type": "integer"
  35716. },
  35717. "takeorderid": {
  35718. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35719. "type": "string"
  35720. },
  35721. "takeorderstatus": {
  35722. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  35723. "type": "integer"
  35724. },
  35725. "takeremark": {
  35726. "description": "提货备注",
  35727. "type": "string"
  35728. },
  35729. "tradedate": {
  35730. "description": "交易日(yyyyMMdd)",
  35731. "type": "string"
  35732. },
  35733. "userid": {
  35734. "description": "用户ID",
  35735. "type": "integer"
  35736. }
  35737. }
  35738. },
  35739. "szdz.QueryRecieptOrderRsp": {
  35740. "type": "object",
  35741. "required": [
  35742. "ordertime"
  35743. ],
  35744. "properties": {
  35745. "accountName": {
  35746. "description": "所属账号名称(已脱敏)",
  35747. "type": "string"
  35748. },
  35749. "accountid": {
  35750. "description": "资金账号",
  35751. "type": "integer"
  35752. },
  35753. "buyorsell": {
  35754. "description": "方向 - 0:买 1:卖",
  35755. "type": "integer"
  35756. },
  35757. "enableqty": {
  35758. "description": "可摘数量",
  35759. "type": "integer"
  35760. },
  35761. "goodscode": {
  35762. "description": "商品代码",
  35763. "type": "string"
  35764. },
  35765. "goodsid": {
  35766. "description": "商品ID",
  35767. "type": "integer"
  35768. },
  35769. "goodsname": {
  35770. "description": "商品名称",
  35771. "type": "string"
  35772. },
  35773. "orderid": {
  35774. "description": "委托单号",
  35775. "type": "string"
  35776. },
  35777. "orderprice": {
  35778. "description": "委托价格",
  35779. "type": "number"
  35780. },
  35781. "ordertime": {
  35782. "description": "委托时间",
  35783. "type": "string"
  35784. },
  35785. "tradedate": {
  35786. "description": "交易日(yyyyMMdd)",
  35787. "type": "string"
  35788. }
  35789. }
  35790. },
  35791. "szdz.QuerySZDZTradePositionRsp": {
  35792. "type": "object",
  35793. "properties": {
  35794. "accountid": {
  35795. "description": "账号Id",
  35796. "type": "integer"
  35797. },
  35798. "agreeunit": {
  35799. "description": "合约单位",
  35800. "type": "number"
  35801. },
  35802. "averageprice": {
  35803. "description": "持仓均价",
  35804. "type": "number"
  35805. },
  35806. "buyorsell": {
  35807. "description": "方向 - 0:买 1:卖",
  35808. "type": "integer"
  35809. },
  35810. "closetotalqty": {
  35811. "description": "平仓总数量",
  35812. "type": "integer"
  35813. },
  35814. "curholderamount": {
  35815. "description": "当前持仓总金额",
  35816. "type": "number"
  35817. },
  35818. "curpositionqty": {
  35819. "description": "当前持仓总数量",
  35820. "type": "integer"
  35821. },
  35822. "currencyid": {
  35823. "description": "报价货币ID",
  35824. "type": "integer"
  35825. },
  35826. "curtdposition": {
  35827. "description": "期末今日头寸",
  35828. "type": "integer"
  35829. },
  35830. "decimalplace": {
  35831. "description": "报价小数位",
  35832. "type": "integer"
  35833. },
  35834. "enableqty": {
  35835. "description": "可用量",
  35836. "type": "integer"
  35837. },
  35838. "fretdposition": {
  35839. "description": "冻结今日头寸",
  35840. "type": "integer"
  35841. },
  35842. "frozenqty": {
  35843. "description": "持仓冻结数量",
  35844. "type": "integer"
  35845. },
  35846. "goodscode": {
  35847. "description": "商品代码(内部)",
  35848. "type": "string"
  35849. },
  35850. "goodsid": {
  35851. "description": "商品Id",
  35852. "type": "integer"
  35853. },
  35854. "goodsname": {
  35855. "description": "商品名称",
  35856. "type": "string"
  35857. },
  35858. "goodunit": {
  35859. "description": "报价单位",
  35860. "type": "string"
  35861. },
  35862. "goodunitid": {
  35863. "description": "报价单位ID",
  35864. "type": "integer"
  35865. },
  35866. "holderamount": {
  35867. "description": "期初持仓总金额",
  35868. "type": "number"
  35869. },
  35870. "marketid": {
  35871. "description": "市场ID",
  35872. "type": "integer"
  35873. },
  35874. "openreqqty": {
  35875. "description": "开仓申请数量",
  35876. "type": "integer"
  35877. },
  35878. "opentotalqty": {
  35879. "description": "开仓总数量",
  35880. "type": "integer"
  35881. },
  35882. "otherfrozenqty": {
  35883. "description": "持仓其他冻结数量(交割冻结)",
  35884. "type": "integer"
  35885. },
  35886. "positionqty": {
  35887. "description": "期初持仓数量",
  35888. "type": "integer"
  35889. },
  35890. "szdz3freezqty": {
  35891. "description": "尚志大宗转换冻结总数量",
  35892. "type": "integer"
  35893. },
  35894. "tnqty": {
  35895. "description": "T+N冻结总量",
  35896. "type": "integer"
  35897. },
  35898. "tnusedqty": {
  35899. "description": "T+N使用量",
  35900. "type": "integer"
  35901. },
  35902. "trademode": {
  35903. "description": "交易模式",
  35904. "type": "integer"
  35905. },
  35906. "usedmargin": {
  35907. "description": "占用保证金",
  35908. "type": "number"
  35909. }
  35910. }
  35911. },
  35912. "taaccount.QueryAmountLogRsp": {
  35913. "type": "object",
  35914. "required": [
  35915. "accountid",
  35916. "amount",
  35917. "amountadjusttype",
  35918. "autoid",
  35919. "balance",
  35920. "createtime",
  35921. "currentbalance",
  35922. "operatetype"
  35923. ],
  35924. "properties": {
  35925. "OPERATETYPENAME": {
  35926. "description": "资金操作类型名称",
  35927. "type": "string"
  35928. },
  35929. "accountid": {
  35930. "description": "资金账户ID",
  35931. "type": "integer"
  35932. },
  35933. "agoodscode": {
  35934. "description": "竞拍商品代码",
  35935. "type": "string"
  35936. },
  35937. "agoodsname": {
  35938. "description": "竞拍商品名称",
  35939. "type": "string"
  35940. },
  35941. "amount": {
  35942. "description": "资金金额",
  35943. "type": "number"
  35944. },
  35945. "amountadjusttype": {
  35946. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  35947. "type": "integer"
  35948. },
  35949. "autoid": {
  35950. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  35951. "type": "integer"
  35952. },
  35953. "balance": {
  35954. "description": "期初余额",
  35955. "type": "number"
  35956. },
  35957. "businesscode": {
  35958. "description": "业务编号",
  35959. "type": "integer"
  35960. },
  35961. "createtime": {
  35962. "description": "发生时间",
  35963. "type": "string"
  35964. },
  35965. "currencyid": {
  35966. "description": "币种ID",
  35967. "type": "integer"
  35968. },
  35969. "currentbalance": {
  35970. "description": "期末余额(变动后金额)",
  35971. "type": "number"
  35972. },
  35973. "dgoodscode": {
  35974. "description": "交割商品代码",
  35975. "type": "string"
  35976. },
  35977. "dgoodsname": {
  35978. "description": "交割商品名称",
  35979. "type": "string"
  35980. },
  35981. "goodscode": {
  35982. "description": "商品代码",
  35983. "type": "string"
  35984. },
  35985. "goodsid": {
  35986. "description": "商品ID",
  35987. "type": "integer"
  35988. },
  35989. "goodsname": {
  35990. "description": "商品名称",
  35991. "type": "string"
  35992. },
  35993. "marketid": {
  35994. "description": "市场ID",
  35995. "type": "integer"
  35996. },
  35997. "marketname": {
  35998. "description": "市场名称",
  35999. "type": "string"
  36000. },
  36001. "moneyticket": {
  36002. "description": "资金流水号:银行端流水号",
  36003. "type": "integer"
  36004. },
  36005. "operatetype": {
  36006. "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:营销收款",
  36007. "type": "integer"
  36008. },
  36009. "relationorderid": {
  36010. "description": "关联单号",
  36011. "type": "string"
  36012. },
  36013. "remark": {
  36014. "description": "备注",
  36015. "type": "string"
  36016. },
  36017. "trademode": {
  36018. "description": "交易模式",
  36019. "type": "integer"
  36020. }
  36021. }
  36022. },
  36023. "taaccount.QueryHisAmountLogRsp": {
  36024. "type": "object",
  36025. "required": [
  36026. "accountid",
  36027. "amount",
  36028. "amountadjusttype",
  36029. "autoid",
  36030. "balance",
  36031. "createtime",
  36032. "currentbalance",
  36033. "histradedate",
  36034. "operatetype"
  36035. ],
  36036. "properties": {
  36037. "OPERATETYPENAME": {
  36038. "description": "资金操作类型名称",
  36039. "type": "string"
  36040. },
  36041. "accountid": {
  36042. "description": "资金账户ID",
  36043. "type": "integer"
  36044. },
  36045. "agoodscode": {
  36046. "description": "竞拍商品代码",
  36047. "type": "string"
  36048. },
  36049. "agoodsname": {
  36050. "description": "竞拍商品名称",
  36051. "type": "string"
  36052. },
  36053. "amount": {
  36054. "description": "资金金额",
  36055. "type": "number"
  36056. },
  36057. "amountadjusttype": {
  36058. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  36059. "type": "integer"
  36060. },
  36061. "autoid": {
  36062. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  36063. "type": "integer"
  36064. },
  36065. "balance": {
  36066. "description": "期初余额",
  36067. "type": "number"
  36068. },
  36069. "businesscode": {
  36070. "description": "业务编号",
  36071. "type": "integer"
  36072. },
  36073. "createtime": {
  36074. "description": "发生时间",
  36075. "type": "string"
  36076. },
  36077. "currencyid": {
  36078. "description": "币种ID",
  36079. "type": "integer"
  36080. },
  36081. "currentbalance": {
  36082. "description": "期末余额(变动后金额)",
  36083. "type": "number"
  36084. },
  36085. "dgoodscode": {
  36086. "description": "交割商品代码",
  36087. "type": "string"
  36088. },
  36089. "dgoodsname": {
  36090. "description": "交割商品名称",
  36091. "type": "string"
  36092. },
  36093. "goodscode": {
  36094. "description": "商品代码",
  36095. "type": "string"
  36096. },
  36097. "goodsid": {
  36098. "description": "商品ID",
  36099. "type": "integer"
  36100. },
  36101. "goodsname": {
  36102. "description": "商品名称",
  36103. "type": "string"
  36104. },
  36105. "histradedate": {
  36106. "description": "历史交易日",
  36107. "type": "string"
  36108. },
  36109. "isvaliddata": {
  36110. "description": "是否有效 - 0:无效 1:有效",
  36111. "type": "integer"
  36112. },
  36113. "marketid": {
  36114. "description": "市场ID",
  36115. "type": "integer"
  36116. },
  36117. "marketname": {
  36118. "description": "市场名称",
  36119. "type": "string"
  36120. },
  36121. "moneyticket": {
  36122. "description": "资金流水号:银行端流水号",
  36123. "type": "integer"
  36124. },
  36125. "operatetype": {
  36126. "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:营销收款",
  36127. "type": "integer"
  36128. },
  36129. "relationorderid": {
  36130. "description": "关联单号",
  36131. "type": "string"
  36132. },
  36133. "remark": {
  36134. "description": "备注",
  36135. "type": "string"
  36136. },
  36137. "trademode": {
  36138. "description": "交易模式",
  36139. "type": "integer"
  36140. }
  36141. }
  36142. },
  36143. "trade.QueryRecieptOrderRsp": {
  36144. "type": "object",
  36145. "required": [
  36146. "ordertime"
  36147. ],
  36148. "properties": {
  36149. "accountName": {
  36150. "description": "所属账号名称(已脱敏)",
  36151. "type": "string"
  36152. },
  36153. "accountid": {
  36154. "description": "资金账号",
  36155. "type": "integer"
  36156. },
  36157. "buyorsell": {
  36158. "description": "方向 - 0:买 1:卖",
  36159. "type": "integer"
  36160. },
  36161. "enableqty": {
  36162. "description": "可摘数量",
  36163. "type": "integer"
  36164. },
  36165. "goodscode": {
  36166. "description": "商品代码",
  36167. "type": "string"
  36168. },
  36169. "goodsid": {
  36170. "description": "商品ID",
  36171. "type": "integer"
  36172. },
  36173. "goodsname": {
  36174. "description": "商品名称",
  36175. "type": "string"
  36176. },
  36177. "orderid": {
  36178. "description": "委托单号",
  36179. "type": "string"
  36180. },
  36181. "orderprice": {
  36182. "description": "委托价格",
  36183. "type": "number"
  36184. },
  36185. "ordertime": {
  36186. "description": "委托时间",
  36187. "type": "string"
  36188. },
  36189. "tradedate": {
  36190. "description": "交易日(yyyyMMdd)",
  36191. "type": "string"
  36192. }
  36193. }
  36194. },
  36195. "user.LoginQueryRsp": {
  36196. "type": "object",
  36197. "properties": {
  36198. "areaRoles": {
  36199. "description": "所属角色信息",
  36200. "type": "array",
  36201. "items": {
  36202. "$ref": "#/definitions/models.Arearole"
  36203. }
  36204. },
  36205. "externalExchanges": {
  36206. "description": "外部交易所",
  36207. "type": "array",
  36208. "items": {
  36209. "$ref": "#/definitions/models.Externalexchange"
  36210. }
  36211. },
  36212. "goodsgroups": {
  36213. "description": "商品组",
  36214. "type": "array",
  36215. "items": {
  36216. "$ref": "#/definitions/models.Goodsgroup"
  36217. }
  36218. },
  36219. "loginAccount": {
  36220. "description": "登录账号",
  36221. "type": "object",
  36222. "$ref": "#/definitions/models.Loginaccount"
  36223. },
  36224. "markets": {
  36225. "description": "市场",
  36226. "type": "array",
  36227. "items": {
  36228. "$ref": "#/definitions/models.Market"
  36229. }
  36230. },
  36231. "systemParams": {
  36232. "description": "系统参数",
  36233. "type": "array",
  36234. "items": {
  36235. "$ref": "#/definitions/models.Systemparam"
  36236. }
  36237. },
  36238. "userAccount": {
  36239. "description": "用户账号",
  36240. "type": "object",
  36241. "$ref": "#/definitions/models.Useraccount"
  36242. },
  36243. "userInfo": {
  36244. "description": "用户信息",
  36245. "type": "object",
  36246. "$ref": "#/definitions/models.Userinfo"
  36247. },
  36248. "username": {
  36249. "description": "用户姓名",
  36250. "type": "string"
  36251. }
  36252. }
  36253. }
  36254. },
  36255. "securityDefinitions": {
  36256. "ApiKeyAuth": {
  36257. "type": "apiKey",
  36258. "name": "Authorization",
  36259. "in": "header"
  36260. }
  36261. }
  36262. }`
  36263. type swaggerInfo struct {
  36264. Version string
  36265. Host string
  36266. BasePath string
  36267. Schemes []string
  36268. Title string
  36269. Description string
  36270. }
  36271. // SwaggerInfo holds exported Swagger Info so clients can modify it
  36272. var SwaggerInfo = swaggerInfo{
  36273. Version: "1.0",
  36274. Host: "",
  36275. BasePath: "/api",
  36276. Schemes: []string{},
  36277. Title: "MTP2.0 查询服务 API",
  36278. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  36279. }
  36280. type s struct{}
  36281. func (s *s) ReadDoc() string {
  36282. sInfo := SwaggerInfo
  36283. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  36284. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  36285. "marshal": func(v interface{}) string {
  36286. a, _ := json.Marshal(v)
  36287. return string(a)
  36288. },
  36289. }).Parse(doc)
  36290. if err != nil {
  36291. return doc
  36292. }
  36293. var tpl bytes.Buffer
  36294. if err := t.Execute(&tpl, sInfo); err != nil {
  36295. return doc
  36296. }
  36297. return tpl.String()
  36298. }
  36299. func init() {
  36300. swag.Register(swag.Name, &s{})
  36301. }