docs.go 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetServerTime": {
  481. "get": {
  482. "produces": [
  483. "application/json"
  484. ],
  485. "tags": [
  486. "通用服务"
  487. ],
  488. "summary": "获取服务器时间",
  489. "responses": {
  490. "200": {
  491. "description": "OK",
  492. "schema": {
  493. "$ref": "#/definitions/app.Response"
  494. }
  495. },
  496. "500": {
  497. "description": "Internal Server Error",
  498. "schema": {
  499. "$ref": "#/definitions/app.Response"
  500. }
  501. }
  502. }
  503. }
  504. },
  505. "/Common/NoticeReaded": {
  506. "post": {
  507. "security": [
  508. {
  509. "ApiKeyAuth": []
  510. }
  511. ],
  512. "produces": [
  513. "application/json"
  514. ],
  515. "tags": [
  516. "通用服务"
  517. ],
  518. "summary": "通知公告设置已读请求",
  519. "parameters": [
  520. {
  521. "type": "integer",
  522. "description": "登录账号",
  523. "name": "loginID",
  524. "in": "query",
  525. "required": true
  526. },
  527. {
  528. "type": "integer",
  529. "description": "通知公告ID",
  530. "name": "noticeID",
  531. "in": "query",
  532. "required": true
  533. }
  534. ],
  535. "responses": {
  536. "200": {
  537. "description": "OK",
  538. "schema": {
  539. "$ref": "#/definitions/app.Response"
  540. }
  541. },
  542. "500": {
  543. "description": "Internal Server Error",
  544. "schema": {
  545. "$ref": "#/definitions/app.Response"
  546. }
  547. }
  548. }
  549. }
  550. },
  551. "/Common/QueryErrorInfos": {
  552. "get": {
  553. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  554. "produces": [
  555. "application/json"
  556. ],
  557. "tags": [
  558. "通用服务"
  559. ],
  560. "summary": "获取数据库错误信息",
  561. "parameters": [
  562. {
  563. "type": "string",
  564. "description": "起始行号前索引",
  565. "name": "rowNumber",
  566. "in": "query"
  567. }
  568. ],
  569. "responses": {
  570. "200": {
  571. "description": "OK",
  572. "schema": {
  573. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  574. }
  575. },
  576. "500": {
  577. "description": "Internal Server Error",
  578. "schema": {
  579. "$ref": "#/definitions/app.Response"
  580. }
  581. }
  582. }
  583. }
  584. },
  585. "/Common/QueryImageConfigs": {
  586. "get": {
  587. "produces": [
  588. "application/json"
  589. ],
  590. "tags": [
  591. "通用服务"
  592. ],
  593. "summary": "查询轮播图配置信息",
  594. "parameters": [
  595. {
  596. "type": "integer",
  597. "description": "用户id",
  598. "name": "userId",
  599. "in": "query"
  600. },
  601. {
  602. "type": "integer",
  603. "description": "类型 - 1:App首页轮播 2:我的",
  604. "name": "imageType",
  605. "in": "query"
  606. }
  607. ],
  608. "responses": {
  609. "200": {
  610. "description": "OK",
  611. "schema": {
  612. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  613. }
  614. },
  615. "500": {
  616. "description": "Internal Server Error",
  617. "schema": {
  618. "$ref": "#/definitions/app.Response"
  619. }
  620. }
  621. }
  622. }
  623. },
  624. "/Common/QueryNotice": {
  625. "get": {
  626. "security": [
  627. {
  628. "ApiKeyAuth": []
  629. }
  630. ],
  631. "produces": [
  632. "application/json"
  633. ],
  634. "tags": [
  635. "通用服务"
  636. ],
  637. "summary": "通知公告系统消息查询",
  638. "parameters": [
  639. {
  640. "type": "integer",
  641. "description": "页码",
  642. "name": "page",
  643. "in": "query"
  644. },
  645. {
  646. "type": "integer",
  647. "description": "每页条数",
  648. "name": "pagesize",
  649. "in": "query"
  650. },
  651. {
  652. "type": "integer",
  653. "description": "登录账号",
  654. "name": "loginID",
  655. "in": "query",
  656. "required": true
  657. },
  658. {
  659. "type": "integer",
  660. "description": "消息类型 - 1:公告通知 2:系统消息",
  661. "name": "msgType",
  662. "in": "query"
  663. },
  664. {
  665. "type": "boolean",
  666. "description": "是否只获取未读信息",
  667. "name": "onlyUnRead",
  668. "in": "query"
  669. },
  670. {
  671. "type": "integer",
  672. "description": "自增ID,传入后会返回这个ID后面的记录",
  673. "name": "lastID",
  674. "in": "query"
  675. }
  676. ],
  677. "responses": {
  678. "200": {
  679. "description": "OK",
  680. "schema": {
  681. "$ref": "#/definitions/common.QueryNoticeRsp"
  682. }
  683. },
  684. "500": {
  685. "description": "Internal Server Error",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. }
  690. }
  691. }
  692. },
  693. "/Common/QueryProvincesAndCities": {
  694. "get": {
  695. "produces": [
  696. "application/json"
  697. ],
  698. "tags": [
  699. "通用服务"
  700. ],
  701. "summary": "查询省市信息(不包括区)",
  702. "parameters": [
  703. {
  704. "type": "integer",
  705. "description": "省ID",
  706. "name": "provinceID",
  707. "in": "query"
  708. }
  709. ],
  710. "responses": {
  711. "200": {
  712. "description": "OK",
  713. "schema": {
  714. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  715. }
  716. },
  717. "500": {
  718. "description": "Internal Server Error",
  719. "schema": {
  720. "$ref": "#/definitions/app.Response"
  721. }
  722. }
  723. }
  724. }
  725. },
  726. "/Common/QueryTableDefine": {
  727. "get": {
  728. "produces": [
  729. "application/json"
  730. ],
  731. "tags": [
  732. "通用服务"
  733. ],
  734. "summary": "查询交易端列表头信息",
  735. "parameters": [
  736. {
  737. "type": "string",
  738. "description": "表key",
  739. "name": "tableKey",
  740. "in": "query"
  741. },
  742. {
  743. "type": "integer",
  744. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  745. "name": "tableType",
  746. "in": "query"
  747. }
  748. ],
  749. "responses": {
  750. "200": {
  751. "description": "OK",
  752. "schema": {
  753. "$ref": "#/definitions/common.QueryTableDefineRsp"
  754. }
  755. },
  756. "500": {
  757. "description": "Internal Server Error",
  758. "schema": {
  759. "$ref": "#/definitions/app.Response"
  760. }
  761. }
  762. }
  763. }
  764. },
  765. "/Common/QueryTraderMenu": {
  766. "get": {
  767. "produces": [
  768. "application/json"
  769. ],
  770. "tags": [
  771. "通用服务"
  772. ],
  773. "summary": "查询交易端菜单",
  774. "parameters": [
  775. {
  776. "type": "integer",
  777. "description": "登录账号",
  778. "name": "loginid",
  779. "in": "query",
  780. "required": true
  781. }
  782. ],
  783. "responses": {
  784. "200": {
  785. "description": "OK",
  786. "schema": {
  787. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  788. }
  789. },
  790. "500": {
  791. "description": "Internal Server Error",
  792. "schema": {
  793. "$ref": "#/definitions/app.Response"
  794. }
  795. }
  796. }
  797. }
  798. },
  799. "/Delivery/QueryDeliveryRelation": {
  800. "get": {
  801. "security": [
  802. {
  803. "ApiKeyAuth": []
  804. }
  805. ],
  806. "produces": [
  807. "application/json"
  808. ],
  809. "tags": [
  810. "交割服务"
  811. ],
  812. "summary": "查询商品交割关系表",
  813. "parameters": [
  814. {
  815. "type": "integer",
  816. "description": "商品ID",
  817. "name": "goodsid",
  818. "in": "query"
  819. },
  820. {
  821. "type": "integer",
  822. "description": "品种ID",
  823. "name": "deliverygoodsid",
  824. "in": "query"
  825. },
  826. {
  827. "type": "integer",
  828. "description": "市场ID",
  829. "name": "marketid",
  830. "in": "query"
  831. }
  832. ],
  833. "responses": {
  834. "200": {
  835. "description": "OK",
  836. "schema": {
  837. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  838. }
  839. },
  840. "500": {
  841. "description": "Internal Server Error",
  842. "schema": {
  843. "$ref": "#/definitions/app.Response"
  844. }
  845. }
  846. }
  847. }
  848. },
  849. "/Ermcp/GetErmcpGoods": {
  850. "get": {
  851. "security": [
  852. {
  853. "ApiKeyAuth": []
  854. }
  855. ],
  856. "produces": [
  857. "application/json"
  858. ],
  859. "tags": [
  860. "企业风险管理(app)"
  861. ],
  862. "summary": "查询企业风管期货商品信息",
  863. "parameters": [
  864. {
  865. "type": "string",
  866. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  867. "name": "lastUpdateTime",
  868. "in": "query"
  869. }
  870. ],
  871. "responses": {
  872. "200": {
  873. "description": "OK",
  874. "schema": {
  875. "$ref": "#/definitions/models.ErmcpGoods"
  876. }
  877. },
  878. "500": {
  879. "description": "Internal Server Error",
  880. "schema": {
  881. "$ref": "#/definitions/app.Response"
  882. }
  883. }
  884. }
  885. }
  886. },
  887. "/Ermcp/GetErmcpGoodsSortByPosition": {
  888. "get": {
  889. "security": [
  890. {
  891. "ApiKeyAuth": []
  892. }
  893. ],
  894. "produces": [
  895. "application/json"
  896. ],
  897. "tags": [
  898. "企业风险管理(app)"
  899. ],
  900. "summary": "查询企业风管期货主力、次主力商品信息",
  901. "parameters": [
  902. {
  903. "type": "string",
  904. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  905. "name": "sortIndex",
  906. "in": "query"
  907. }
  908. ],
  909. "responses": {
  910. "200": {
  911. "description": "OK",
  912. "schema": {
  913. "$ref": "#/definitions/models.Goodssortbypreposition"
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/Ermcp/GetErmcpOutAccountStatus": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "produces": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "企业风险管理(app)"
  937. ],
  938. "summary": "获取目标登录账号当前对冲账号在线状态",
  939. "parameters": [
  940. {
  941. "type": "integer",
  942. "description": "登录账号",
  943. "name": "loginID",
  944. "in": "query",
  945. "required": true
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/models.Hedgemarketopenlog"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. }
  970. ],
  971. "produces": [
  972. "application/json"
  973. ],
  974. "tags": [
  975. "企业风险管理(app)"
  976. ],
  977. "summary": "获取企业风管终端权限",
  978. "parameters": [
  979. {
  980. "type": "integer",
  981. "description": "登录账号",
  982. "name": "loginID",
  983. "in": "query",
  984. "required": true
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "$ref": "#/definitions/models.Funcmenulist"
  992. }
  993. },
  994. "500": {
  995. "description": "Internal Server Error",
  996. "schema": {
  997. "$ref": "#/definitions/app.Response"
  998. }
  999. }
  1000. }
  1001. }
  1002. },
  1003. "/Ermcp/QueryAccMgrBizGroupSet": {
  1004. "get": {
  1005. "security": [
  1006. {
  1007. "ApiKeyAuth": []
  1008. }
  1009. ],
  1010. "produces": [
  1011. "application/json"
  1012. ],
  1013. "tags": [
  1014. "企业风险管理(app)"
  1015. ],
  1016. "summary": "查询业务类型分组(账户管理/账户设置)",
  1017. "parameters": [
  1018. {
  1019. "type": "integer",
  1020. "description": "用户ID",
  1021. "name": "userid",
  1022. "in": "query",
  1023. "required": true
  1024. },
  1025. {
  1026. "type": "integer",
  1027. "description": "现货商品id",
  1028. "name": "deliverygoodsid",
  1029. "in": "query"
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrLoginUser": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "用户类型 2-机构 7-企业成员",
  1076. "name": "usertype",
  1077. "in": "query"
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1082. "name": "querytype",
  1083. "in": "query",
  1084. "required": true
  1085. }
  1086. ],
  1087. "responses": {
  1088. "200": {
  1089. "description": "OK",
  1090. "schema": {
  1091. "type": "array",
  1092. "items": {
  1093. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1094. }
  1095. }
  1096. },
  1097. "500": {
  1098. "description": "Internal Server Error",
  1099. "schema": {
  1100. "$ref": "#/definitions/app.Response"
  1101. }
  1102. }
  1103. }
  1104. }
  1105. },
  1106. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1107. "get": {
  1108. "security": [
  1109. {
  1110. "ApiKeyAuth": []
  1111. }
  1112. ],
  1113. "produces": [
  1114. "application/json"
  1115. ],
  1116. "tags": [
  1117. "企业风险管理(app)"
  1118. ],
  1119. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1120. "parameters": [
  1121. {
  1122. "type": "integer",
  1123. "description": "用户ID",
  1124. "name": "userid",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "主账号id",
  1130. "name": "accountid",
  1131. "in": "query"
  1132. }
  1133. ],
  1134. "responses": {
  1135. "200": {
  1136. "description": "OK",
  1137. "schema": {
  1138. "type": "array",
  1139. "items": {
  1140. "$ref": "#/definitions/models.MainAccountInfo"
  1141. }
  1142. }
  1143. },
  1144. "500": {
  1145. "description": "Internal Server Error",
  1146. "schema": {
  1147. "$ref": "#/definitions/app.Response"
  1148. }
  1149. }
  1150. }
  1151. }
  1152. },
  1153. "/Ermcp/QueryAccMgrRole": {
  1154. "get": {
  1155. "security": [
  1156. {
  1157. "ApiKeyAuth": []
  1158. }
  1159. ],
  1160. "produces": [
  1161. "application/json"
  1162. ],
  1163. "tags": [
  1164. "企业风险管理(app)"
  1165. ],
  1166. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1167. "parameters": [
  1168. {
  1169. "type": "integer",
  1170. "description": "用户ID",
  1171. "name": "userid",
  1172. "in": "query",
  1173. "required": true
  1174. }
  1175. ],
  1176. "responses": {
  1177. "200": {
  1178. "description": "OK",
  1179. "schema": {
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/models.ErmcpRole"
  1183. }
  1184. }
  1185. },
  1186. "500": {
  1187. "description": "Internal Server Error",
  1188. "schema": {
  1189. "$ref": "#/definitions/app.Response"
  1190. }
  1191. }
  1192. }
  1193. }
  1194. },
  1195. "/Ermcp/QueryAccMgrRoleMenu": {
  1196. "get": {
  1197. "security": [
  1198. {
  1199. "ApiKeyAuth": []
  1200. }
  1201. ],
  1202. "produces": [
  1203. "application/json"
  1204. ],
  1205. "tags": [
  1206. "企业风险管理(app)"
  1207. ],
  1208. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1209. "parameters": [
  1210. {
  1211. "type": "integer",
  1212. "description": "用户ID",
  1213. "name": "userid",
  1214. "in": "query",
  1215. "required": true
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "角色id(可多个,逗号隔开)",
  1220. "name": "roleid",
  1221. "in": "query"
  1222. },
  1223. {
  1224. "type": "integer",
  1225. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1226. "name": "menutype",
  1227. "in": "query"
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "账号id",
  1274. "name": "accountid",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaaccount": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. }
  1319. ],
  1320. "responses": {
  1321. "200": {
  1322. "description": "OK",
  1323. "schema": {
  1324. "type": "array",
  1325. "items": {
  1326. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1327. }
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/Ermcp/QueryAvaildGoodsGroup": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "produces": [
  1347. "application/json"
  1348. ],
  1349. "tags": [
  1350. "企业风险管理(app)"
  1351. ],
  1352. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1353. "parameters": [
  1354. {
  1355. "type": "integer",
  1356. "description": "所属机构ID",
  1357. "name": "userid",
  1358. "in": "query",
  1359. "required": true
  1360. }
  1361. ],
  1362. "responses": {
  1363. "200": {
  1364. "description": "OK",
  1365. "schema": {
  1366. "type": "array",
  1367. "items": {
  1368. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1369. }
  1370. }
  1371. },
  1372. "500": {
  1373. "description": "Internal Server Error",
  1374. "schema": {
  1375. "$ref": "#/definitions/app.Response"
  1376. }
  1377. }
  1378. }
  1379. }
  1380. },
  1381. "/Ermcp/QueryBusinessDj": {
  1382. "get": {
  1383. "security": [
  1384. {
  1385. "ApiKeyAuth": []
  1386. }
  1387. ],
  1388. "produces": [
  1389. "application/json"
  1390. ],
  1391. "tags": [
  1392. "企业风险管理(app)"
  1393. ],
  1394. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1395. "parameters": [
  1396. {
  1397. "type": "integer",
  1398. "description": "用户ID",
  1399. "name": "UserId",
  1400. "in": "query",
  1401. "required": true
  1402. },
  1403. {
  1404. "type": "integer",
  1405. "description": "用户类型 2-机构 7-企业成员",
  1406. "name": "usertype",
  1407. "in": "query"
  1408. },
  1409. {
  1410. "type": "string",
  1411. "description": "现货合同ID, 不填则查所有",
  1412. "name": "relatedid",
  1413. "in": "query"
  1414. },
  1415. {
  1416. "type": "string",
  1417. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1418. "name": "applystatus",
  1419. "in": "query"
  1420. }
  1421. ],
  1422. "responses": {
  1423. "200": {
  1424. "description": "OK",
  1425. "schema": {
  1426. "type": "array",
  1427. "items": {
  1428. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1429. }
  1430. }
  1431. },
  1432. "500": {
  1433. "description": "Internal Server Error",
  1434. "schema": {
  1435. "$ref": "#/definitions/app.Response"
  1436. }
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/Ermcp/QueryBusinessFp": {
  1442. "get": {
  1443. "security": [
  1444. {
  1445. "ApiKeyAuth": []
  1446. }
  1447. ],
  1448. "produces": [
  1449. "application/json"
  1450. ],
  1451. "tags": [
  1452. "企业风险管理(app)"
  1453. ],
  1454. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1455. "parameters": [
  1456. {
  1457. "type": "integer",
  1458. "description": "用户ID",
  1459. "name": "UserId",
  1460. "in": "query",
  1461. "required": true
  1462. },
  1463. {
  1464. "type": "integer",
  1465. "description": "用户类型 2-机构 7-企业成员",
  1466. "name": "usertype",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "现货合同ID, 不填则查所有",
  1472. "name": "relatedid",
  1473. "in": "query"
  1474. },
  1475. {
  1476. "type": "string",
  1477. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1478. "name": "applystatus",
  1479. "in": "query"
  1480. }
  1481. ],
  1482. "responses": {
  1483. "200": {
  1484. "description": "OK",
  1485. "schema": {
  1486. "type": "array",
  1487. "items": {
  1488. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1489. }
  1490. }
  1491. },
  1492. "500": {
  1493. "description": "Internal Server Error",
  1494. "schema": {
  1495. "$ref": "#/definitions/app.Response"
  1496. }
  1497. }
  1498. }
  1499. }
  1500. },
  1501. "/Ermcp/QueryBusinessJs": {
  1502. "get": {
  1503. "security": [
  1504. {
  1505. "ApiKeyAuth": []
  1506. }
  1507. ],
  1508. "produces": [
  1509. "application/json"
  1510. ],
  1511. "tags": [
  1512. "企业风险管理(app)"
  1513. ],
  1514. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1515. "parameters": [
  1516. {
  1517. "type": "integer",
  1518. "description": "用户ID",
  1519. "name": "UserId",
  1520. "in": "query",
  1521. "required": true
  1522. },
  1523. {
  1524. "type": "integer",
  1525. "description": "用户类型 2-机构 7-企业成员",
  1526. "name": "usertype",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "现货合同ID, 不填则查所有",
  1532. "name": "relatedid",
  1533. "in": "query"
  1534. },
  1535. {
  1536. "type": "string",
  1537. "description": "操作申请id",
  1538. "name": "operateapplyid",
  1539. "in": "query"
  1540. },
  1541. {
  1542. "type": "string",
  1543. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1544. "name": "applystatus",
  1545. "in": "query"
  1546. }
  1547. ],
  1548. "responses": {
  1549. "200": {
  1550. "description": "OK",
  1551. "schema": {
  1552. "type": "array",
  1553. "items": {
  1554. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1555. }
  1556. }
  1557. },
  1558. "500": {
  1559. "description": "Internal Server Error",
  1560. "schema": {
  1561. "$ref": "#/definitions/app.Response"
  1562. }
  1563. }
  1564. }
  1565. }
  1566. },
  1567. "/Ermcp/QueryBusinessJsEx": {
  1568. "get": {
  1569. "security": [
  1570. {
  1571. "ApiKeyAuth": []
  1572. }
  1573. ],
  1574. "produces": [
  1575. "application/json"
  1576. ],
  1577. "tags": [
  1578. "企业风险管理(app)"
  1579. ],
  1580. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1581. "parameters": [
  1582. {
  1583. "type": "integer",
  1584. "description": "用户ID",
  1585. "name": "UserId",
  1586. "in": "query",
  1587. "required": true
  1588. },
  1589. {
  1590. "type": "integer",
  1591. "description": "用户类型 2-机构 7-企业成员",
  1592. "name": "usertype",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "现货合同ID, 不填则查所有",
  1598. "name": "relatedid",
  1599. "in": "query"
  1600. },
  1601. {
  1602. "type": "string",
  1603. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1604. "name": "applystatus",
  1605. "in": "query"
  1606. }
  1607. ],
  1608. "responses": {
  1609. "200": {
  1610. "description": "OK",
  1611. "schema": {
  1612. "type": "array",
  1613. "items": {
  1614. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1615. }
  1616. }
  1617. },
  1618. "500": {
  1619. "description": "Internal Server Error",
  1620. "schema": {
  1621. "$ref": "#/definitions/app.Response"
  1622. }
  1623. }
  1624. }
  1625. }
  1626. },
  1627. "/Ermcp/QueryBusinessKx": {
  1628. "get": {
  1629. "security": [
  1630. {
  1631. "ApiKeyAuth": []
  1632. }
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "企业风险管理(app)"
  1639. ],
  1640. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1641. "parameters": [
  1642. {
  1643. "type": "integer",
  1644. "description": "用户ID",
  1645. "name": "UserId",
  1646. "in": "query",
  1647. "required": true
  1648. },
  1649. {
  1650. "type": "integer",
  1651. "description": "用户类型 2-机构 7-企业成员",
  1652. "name": "usertype",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "现货合同ID, 不填则查所有",
  1658. "name": "relatedid",
  1659. "in": "query"
  1660. },
  1661. {
  1662. "type": "string",
  1663. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1664. "name": "applystatus",
  1665. "in": "query"
  1666. }
  1667. ],
  1668. "responses": {
  1669. "200": {
  1670. "description": "OK",
  1671. "schema": {
  1672. "type": "array",
  1673. "items": {
  1674. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1675. }
  1676. }
  1677. },
  1678. "500": {
  1679. "description": "Internal Server Error",
  1680. "schema": {
  1681. "$ref": "#/definitions/app.Response"
  1682. }
  1683. }
  1684. }
  1685. }
  1686. },
  1687. "/Ermcp/QueryChangeLog": {
  1688. "get": {
  1689. "security": [
  1690. {
  1691. "ApiKeyAuth": []
  1692. }
  1693. ],
  1694. "produces": [
  1695. "application/json"
  1696. ],
  1697. "tags": [
  1698. "企业风险管理(app)"
  1699. ],
  1700. "summary": "查询变更记录",
  1701. "parameters": [
  1702. {
  1703. "type": "string",
  1704. "description": "合同ID",
  1705. "name": "RelatedId",
  1706. "in": "query",
  1707. "required": true
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryErmcpHisOrderDetails": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "获取企业风管期货历史委托单信息",
  1743. "parameters": [
  1744. {
  1745. "type": "integer",
  1746. "description": "资金账户ID",
  1747. "name": "accountID",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "string",
  1753. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1754. "name": "startDate",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1760. "name": "endDate",
  1761. "in": "query"
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1769. }
  1770. },
  1771. "500": {
  1772. "description": "Internal Server Error",
  1773. "schema": {
  1774. "$ref": "#/definitions/app.Response"
  1775. }
  1776. }
  1777. }
  1778. }
  1779. },
  1780. "/Ermcp/QueryErmcpHisTradeDetails": {
  1781. "get": {
  1782. "security": [
  1783. {
  1784. "ApiKeyAuth": []
  1785. }
  1786. ],
  1787. "produces": [
  1788. "application/json"
  1789. ],
  1790. "tags": [
  1791. "企业风险管理(app)"
  1792. ],
  1793. "summary": "获取企业风管期货历史成交单信息",
  1794. "parameters": [
  1795. {
  1796. "type": "integer",
  1797. "description": "资金账户ID",
  1798. "name": "accountID",
  1799. "in": "query",
  1800. "required": true
  1801. },
  1802. {
  1803. "type": "integer",
  1804. "description": "商品ID",
  1805. "name": "goodsID",
  1806. "in": "query"
  1807. },
  1808. {
  1809. "type": "integer",
  1810. "description": "买卖方向,0:买 1:卖",
  1811. "name": "buyOrSell",
  1812. "in": "query"
  1813. },
  1814. {
  1815. "type": "integer",
  1816. "description": "关联委托单号",
  1817. "name": "orderID",
  1818. "in": "query"
  1819. },
  1820. {
  1821. "type": "string",
  1822. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1823. "name": "startDate",
  1824. "in": "query"
  1825. },
  1826. {
  1827. "type": "string",
  1828. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1829. "name": "endDate",
  1830. "in": "query"
  1831. }
  1832. ],
  1833. "responses": {
  1834. "200": {
  1835. "description": "OK",
  1836. "schema": {
  1837. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1838. }
  1839. },
  1840. "500": {
  1841. "description": "Internal Server Error",
  1842. "schema": {
  1843. "$ref": "#/definitions/app.Response"
  1844. }
  1845. }
  1846. }
  1847. }
  1848. },
  1849. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1850. "get": {
  1851. "security": [
  1852. {
  1853. "ApiKeyAuth": []
  1854. }
  1855. ],
  1856. "produces": [
  1857. "application/json"
  1858. ],
  1859. "tags": [
  1860. "企业风险管理(app)"
  1861. ],
  1862. "summary": "获取企业风管期货内部持仓单信息",
  1863. "parameters": [
  1864. {
  1865. "type": "integer",
  1866. "description": "资金账户ID",
  1867. "name": "accountID",
  1868. "in": "query",
  1869. "required": true
  1870. },
  1871. {
  1872. "type": "integer",
  1873. "description": "商品ID",
  1874. "name": "goodsID",
  1875. "in": "query"
  1876. },
  1877. {
  1878. "type": "integer",
  1879. "description": "买卖方向,0:买 1:卖",
  1880. "name": "buyOrSell",
  1881. "in": "query"
  1882. }
  1883. ],
  1884. "responses": {
  1885. "200": {
  1886. "description": "OK",
  1887. "schema": {
  1888. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1889. }
  1890. },
  1891. "500": {
  1892. "description": "Internal Server Error",
  1893. "schema": {
  1894. "$ref": "#/definitions/app.Response"
  1895. }
  1896. }
  1897. }
  1898. }
  1899. },
  1900. "/Ermcp/QueryErmcpOrderDetails": {
  1901. "get": {
  1902. "security": [
  1903. {
  1904. "ApiKeyAuth": []
  1905. }
  1906. ],
  1907. "produces": [
  1908. "application/json"
  1909. ],
  1910. "tags": [
  1911. "企业风险管理(app)"
  1912. ],
  1913. "summary": "获取企业风管期货委托单信息",
  1914. "parameters": [
  1915. {
  1916. "type": "integer",
  1917. "description": "资金账户ID",
  1918. "name": "accountID",
  1919. "in": "query",
  1920. "required": true
  1921. }
  1922. ],
  1923. "responses": {
  1924. "200": {
  1925. "description": "OK",
  1926. "schema": {
  1927. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1928. }
  1929. },
  1930. "500": {
  1931. "description": "Internal Server Error",
  1932. "schema": {
  1933. "$ref": "#/definitions/app.Response"
  1934. }
  1935. }
  1936. }
  1937. }
  1938. },
  1939. "/Ermcp/QueryErmcpTradeDetails": {
  1940. "get": {
  1941. "security": [
  1942. {
  1943. "ApiKeyAuth": []
  1944. }
  1945. ],
  1946. "produces": [
  1947. "application/json"
  1948. ],
  1949. "tags": [
  1950. "企业风险管理(app)"
  1951. ],
  1952. "summary": "获取企业风管期货成交单信息",
  1953. "parameters": [
  1954. {
  1955. "type": "integer",
  1956. "description": "资金账户ID",
  1957. "name": "accountID",
  1958. "in": "query",
  1959. "required": true
  1960. },
  1961. {
  1962. "type": "integer",
  1963. "description": "商品ID",
  1964. "name": "goodsID",
  1965. "in": "query"
  1966. },
  1967. {
  1968. "type": "integer",
  1969. "description": "买卖方向,0:买 1:卖",
  1970. "name": "buyOrSell",
  1971. "in": "query"
  1972. },
  1973. {
  1974. "type": "integer",
  1975. "description": "关联委托单号",
  1976. "name": "orderID",
  1977. "in": "query"
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1985. }
  1986. },
  1987. "500": {
  1988. "description": "Internal Server Error",
  1989. "schema": {
  1990. "$ref": "#/definitions/app.Response"
  1991. }
  1992. }
  1993. }
  1994. }
  1995. },
  1996. "/Ermcp/QueryErmcpTradePosition": {
  1997. "get": {
  1998. "security": [
  1999. {
  2000. "ApiKeyAuth": []
  2001. }
  2002. ],
  2003. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2004. "produces": [
  2005. "application/json"
  2006. ],
  2007. "tags": [
  2008. "企业风险管理(app)"
  2009. ],
  2010. "summary": "获取企业风管期货持仓头寸信息",
  2011. "parameters": [
  2012. {
  2013. "type": "integer",
  2014. "description": "资金账户ID",
  2015. "name": "accountID",
  2016. "in": "query",
  2017. "required": true
  2018. },
  2019. {
  2020. "type": "integer",
  2021. "description": "所属市场ID",
  2022. "name": "marketID",
  2023. "in": "query"
  2024. }
  2025. ],
  2026. "responses": {
  2027. "200": {
  2028. "description": "OK",
  2029. "schema": {
  2030. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2031. }
  2032. },
  2033. "500": {
  2034. "description": "Internal Server Error",
  2035. "schema": {
  2036. "$ref": "#/definitions/app.Response"
  2037. }
  2038. }
  2039. }
  2040. }
  2041. },
  2042. "/Ermcp/QueryExposureDetail": {
  2043. "get": {
  2044. "security": [
  2045. {
  2046. "ApiKeyAuth": []
  2047. }
  2048. ],
  2049. "produces": [
  2050. "application/json"
  2051. ],
  2052. "tags": [
  2053. "企业风险管理(app)"
  2054. ],
  2055. "summary": "查询敞口现货明细",
  2056. "parameters": [
  2057. {
  2058. "type": "integer",
  2059. "description": "所属机构ID",
  2060. "name": "areaUserId",
  2061. "in": "query",
  2062. "required": true
  2063. },
  2064. {
  2065. "type": "integer",
  2066. "description": "套保商品",
  2067. "name": "middleGoodsId",
  2068. "in": "query",
  2069. "required": true
  2070. }
  2071. ],
  2072. "responses": {
  2073. "200": {
  2074. "description": "OK",
  2075. "schema": {
  2076. "type": "array",
  2077. "items": {
  2078. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2079. }
  2080. }
  2081. },
  2082. "500": {
  2083. "description": "Internal Server Error",
  2084. "schema": {
  2085. "$ref": "#/definitions/app.Response"
  2086. }
  2087. }
  2088. }
  2089. }
  2090. },
  2091. "/Ermcp/QueryExposureGoods": {
  2092. "get": {
  2093. "security": [
  2094. {
  2095. "ApiKeyAuth": []
  2096. }
  2097. ],
  2098. "produces": [
  2099. "application/json"
  2100. ],
  2101. "tags": [
  2102. "企业风险管理(app)"
  2103. ],
  2104. "summary": "查询敞口主力合约",
  2105. "parameters": [
  2106. {
  2107. "type": "integer",
  2108. "description": "套保商品id",
  2109. "name": "middlegoodsid",
  2110. "in": "query",
  2111. "required": true
  2112. }
  2113. ],
  2114. "responses": {
  2115. "200": {
  2116. "description": "OK",
  2117. "schema": {
  2118. "type": "array",
  2119. "items": {
  2120. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2121. }
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryExposureHedgePosition": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "用户id",
  2151. "name": "userid",
  2152. "in": "query",
  2153. "required": true
  2154. }
  2155. ],
  2156. "responses": {
  2157. "200": {
  2158. "description": "OK",
  2159. "schema": {
  2160. "type": "array",
  2161. "items": {
  2162. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2163. }
  2164. }
  2165. },
  2166. "500": {
  2167. "description": "Internal Server Error",
  2168. "schema": {
  2169. "$ref": "#/definitions/app.Response"
  2170. }
  2171. }
  2172. }
  2173. }
  2174. },
  2175. "/Ermcp/QueryExposureHedgePositionDetail": {
  2176. "get": {
  2177. "security": [
  2178. {
  2179. "ApiKeyAuth": []
  2180. }
  2181. ],
  2182. "produces": [
  2183. "application/json"
  2184. ],
  2185. "tags": [
  2186. "企业风险管理(app)"
  2187. ],
  2188. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2189. "parameters": [
  2190. {
  2191. "type": "integer",
  2192. "description": "所属机构ID",
  2193. "name": "userid",
  2194. "in": "query",
  2195. "required": true
  2196. },
  2197. {
  2198. "type": "integer",
  2199. "description": "商品id",
  2200. "name": "goodsId",
  2201. "in": "query",
  2202. "required": true
  2203. }
  2204. ],
  2205. "responses": {
  2206. "200": {
  2207. "description": "OK",
  2208. "schema": {
  2209. "type": "array",
  2210. "items": {
  2211. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2212. }
  2213. }
  2214. },
  2215. "500": {
  2216. "description": "Internal Server Error",
  2217. "schema": {
  2218. "$ref": "#/definitions/app.Response"
  2219. }
  2220. }
  2221. }
  2222. }
  2223. },
  2224. "/Ermcp/QueryExposureSpot": {
  2225. "get": {
  2226. "security": [
  2227. {
  2228. "ApiKeyAuth": []
  2229. }
  2230. ],
  2231. "produces": [
  2232. "application/json"
  2233. ],
  2234. "tags": [
  2235. "企业风险管理(app)"
  2236. ],
  2237. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2238. "parameters": [
  2239. {
  2240. "type": "integer",
  2241. "description": "所属机构ID",
  2242. "name": "areaUserId",
  2243. "in": "query",
  2244. "required": true
  2245. }
  2246. ],
  2247. "responses": {
  2248. "200": {
  2249. "description": "OK",
  2250. "schema": {
  2251. "type": "array",
  2252. "items": {
  2253. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2254. }
  2255. }
  2256. },
  2257. "500": {
  2258. "description": "Internal Server Error",
  2259. "schema": {
  2260. "$ref": "#/definitions/app.Response"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "/Ermcp/QueryExposureSpotDetail": {
  2267. "get": {
  2268. "security": [
  2269. {
  2270. "ApiKeyAuth": []
  2271. }
  2272. ],
  2273. "produces": [
  2274. "application/json"
  2275. ],
  2276. "tags": [
  2277. "企业风险管理(app)"
  2278. ],
  2279. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2280. "parameters": [
  2281. {
  2282. "type": "integer",
  2283. "description": "所属机构ID",
  2284. "name": "areaUserId",
  2285. "in": "query",
  2286. "required": true
  2287. },
  2288. {
  2289. "type": "integer",
  2290. "description": "现货品种ID",
  2291. "name": "wrstandardId",
  2292. "in": "query",
  2293. "required": true
  2294. }
  2295. ],
  2296. "responses": {
  2297. "200": {
  2298. "description": "OK",
  2299. "schema": {
  2300. "type": "array",
  2301. "items": {
  2302. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2303. }
  2304. }
  2305. },
  2306. "500": {
  2307. "description": "Internal Server Error",
  2308. "schema": {
  2309. "$ref": "#/definitions/app.Response"
  2310. }
  2311. }
  2312. }
  2313. }
  2314. },
  2315. "/Ermcp/QueryFuturesCompany": {
  2316. "get": {
  2317. "security": [
  2318. {
  2319. "ApiKeyAuth": []
  2320. }
  2321. ],
  2322. "produces": [
  2323. "application/json"
  2324. ],
  2325. "tags": [
  2326. "企业风险管理(app)"
  2327. ],
  2328. "summary": "查询期货公司",
  2329. "responses": {
  2330. "200": {
  2331. "description": "OK",
  2332. "schema": {
  2333. "type": "array",
  2334. "items": {
  2335. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2336. }
  2337. }
  2338. },
  2339. "500": {
  2340. "description": "Internal Server Error",
  2341. "schema": {
  2342. "$ref": "#/definitions/app.Response"
  2343. }
  2344. }
  2345. }
  2346. }
  2347. },
  2348. "/Ermcp/QueryGGConvertConfig": {
  2349. "get": {
  2350. "security": [
  2351. {
  2352. "ApiKeyAuth": []
  2353. }
  2354. ],
  2355. "produces": [
  2356. "application/json"
  2357. ],
  2358. "tags": [
  2359. "企业风险管理(app)"
  2360. ],
  2361. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2362. "parameters": [
  2363. {
  2364. "type": "integer",
  2365. "description": "品种id(不填则查所有)",
  2366. "name": "goodsgroupid",
  2367. "in": "query"
  2368. }
  2369. ],
  2370. "responses": {
  2371. "200": {
  2372. "description": "OK",
  2373. "schema": {
  2374. "type": "array",
  2375. "items": {
  2376. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2377. }
  2378. }
  2379. },
  2380. "500": {
  2381. "description": "Internal Server Error",
  2382. "schema": {
  2383. "$ref": "#/definitions/app.Response"
  2384. }
  2385. }
  2386. }
  2387. }
  2388. },
  2389. "/Ermcp/QueryGoodsBrand": {
  2390. "get": {
  2391. "security": [
  2392. {
  2393. "ApiKeyAuth": []
  2394. }
  2395. ],
  2396. "produces": [
  2397. "application/json"
  2398. ],
  2399. "tags": [
  2400. "企业风险管理(app)"
  2401. ],
  2402. "summary": "查询商品品牌",
  2403. "parameters": [
  2404. {
  2405. "type": "integer",
  2406. "description": "用户ID",
  2407. "name": "userid",
  2408. "in": "query",
  2409. "required": true
  2410. },
  2411. {
  2412. "type": "integer",
  2413. "description": "现货商品ID",
  2414. "name": "wrstandardid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsModel": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品型号",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. }
  2459. ],
  2460. "responses": {
  2461. "200": {
  2462. "description": "OK",
  2463. "schema": {
  2464. "type": "array",
  2465. "items": {
  2466. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2467. }
  2468. }
  2469. },
  2470. "500": {
  2471. "description": "Internal Server Error",
  2472. "schema": {
  2473. "$ref": "#/definitions/app.Response"
  2474. }
  2475. }
  2476. }
  2477. }
  2478. },
  2479. "/Ermcp/QueryHisExposure": {
  2480. "get": {
  2481. "security": [
  2482. {
  2483. "ApiKeyAuth": []
  2484. }
  2485. ],
  2486. "produces": [
  2487. "application/json"
  2488. ],
  2489. "tags": [
  2490. "企业风险管理(app)"
  2491. ],
  2492. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2493. "parameters": [
  2494. {
  2495. "type": "integer",
  2496. "description": "用户id",
  2497. "name": "userid",
  2498. "in": "query",
  2499. "required": true
  2500. },
  2501. {
  2502. "type": "integer",
  2503. "description": "每个品种记录数",
  2504. "name": "lastNum",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryMiddleGoods": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询套保品种(菜单:套保品种)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "状态 0-停用 1-正常",
  2553. "name": "status",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "userid",
  2596. "in": "query",
  2597. "required": true
  2598. },
  2599. {
  2600. "type": "integer",
  2601. "description": "套保品种id",
  2602. "name": "middlegoodsid",
  2603. "in": "query",
  2604. "required": true
  2605. }
  2606. ],
  2607. "responses": {
  2608. "200": {
  2609. "description": "OK",
  2610. "schema": {
  2611. "type": "array",
  2612. "items": {
  2613. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2614. }
  2615. }
  2616. },
  2617. "500": {
  2618. "description": "Internal Server Error",
  2619. "schema": {
  2620. "$ref": "#/definitions/app.Response"
  2621. }
  2622. }
  2623. }
  2624. }
  2625. },
  2626. "/Ermcp/QueryMiddleGoodsDetail": {
  2627. "get": {
  2628. "security": [
  2629. {
  2630. "ApiKeyAuth": []
  2631. }
  2632. ],
  2633. "produces": [
  2634. "application/json"
  2635. ],
  2636. "tags": [
  2637. "企业风险管理(app)"
  2638. ],
  2639. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2640. "parameters": [
  2641. {
  2642. "type": "integer",
  2643. "description": "所属机构ID",
  2644. "name": "userid",
  2645. "in": "query",
  2646. "required": true
  2647. },
  2648. {
  2649. "type": "integer",
  2650. "description": "套保品种id",
  2651. "name": "middlegoodsid",
  2652. "in": "query"
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryPendingAuditInfo": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "用户ID",
  2692. "name": "UserId",
  2693. "in": "query",
  2694. "required": true
  2695. }
  2696. ],
  2697. "responses": {
  2698. "200": {
  2699. "description": "OK",
  2700. "schema": {
  2701. "type": "array",
  2702. "items": {
  2703. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2704. }
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Ermcp/QueryRealtimeExposure": {
  2717. "get": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "企业风险管理(app)"
  2728. ],
  2729. "summary": "查询实时敞口",
  2730. "parameters": [
  2731. {
  2732. "type": "integer",
  2733. "description": "所属机构ID",
  2734. "name": "userid",
  2735. "in": "query",
  2736. "required": true
  2737. }
  2738. ],
  2739. "responses": {
  2740. "200": {
  2741. "description": "OK",
  2742. "schema": {
  2743. "type": "array",
  2744. "items": {
  2745. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2746. }
  2747. }
  2748. },
  2749. "500": {
  2750. "description": "Internal Server Error",
  2751. "schema": {
  2752. "$ref": "#/definitions/app.Response"
  2753. }
  2754. }
  2755. }
  2756. }
  2757. },
  2758. "/Ermcp/QueryRealtimeExposurePosition": {
  2759. "get": {
  2760. "security": [
  2761. {
  2762. "ApiKeyAuth": []
  2763. }
  2764. ],
  2765. "produces": [
  2766. "application/json"
  2767. ],
  2768. "tags": [
  2769. "企业风险管理(app)"
  2770. ],
  2771. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2772. "parameters": [
  2773. {
  2774. "type": "integer",
  2775. "description": "用户id",
  2776. "name": "userid",
  2777. "in": "query",
  2778. "required": true
  2779. },
  2780. {
  2781. "type": "integer",
  2782. "description": "套保商品ID",
  2783. "name": "middleGoodsId",
  2784. "in": "query",
  2785. "required": true
  2786. }
  2787. ],
  2788. "responses": {
  2789. "200": {
  2790. "description": "OK",
  2791. "schema": {
  2792. "type": "array",
  2793. "items": {
  2794. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2795. }
  2796. }
  2797. },
  2798. "500": {
  2799. "description": "Internal Server Error",
  2800. "schema": {
  2801. "$ref": "#/definitions/app.Response"
  2802. }
  2803. }
  2804. }
  2805. }
  2806. },
  2807. "/Ermcp/QueryRoleMenu": {
  2808. "get": {
  2809. "security": [
  2810. {
  2811. "ApiKeyAuth": []
  2812. }
  2813. ],
  2814. "produces": [
  2815. "application/json"
  2816. ],
  2817. "tags": [
  2818. "企业风险管理(app)"
  2819. ],
  2820. "summary": "查询角色菜单和权限",
  2821. "parameters": [
  2822. {
  2823. "type": "integer",
  2824. "description": "登录ID",
  2825. "name": "loginid",
  2826. "in": "query",
  2827. "required": true
  2828. },
  2829. {
  2830. "type": "integer",
  2831. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2832. "name": "menutype",
  2833. "in": "query"
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/models.RoleMenu"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryTradeConfigTMP": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询交易模板配置",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "所属机构id",
  2873. "name": "areauserid",
  2874. "in": "query"
  2875. }
  2876. ],
  2877. "responses": {
  2878. "200": {
  2879. "description": "OK",
  2880. "schema": {
  2881. "type": "array",
  2882. "items": {
  2883. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2884. }
  2885. }
  2886. },
  2887. "500": {
  2888. "description": "Internal Server Error",
  2889. "schema": {
  2890. "$ref": "#/definitions/app.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/Ermcp/QueryUserInfo": {
  2897. "get": {
  2898. "security": [
  2899. {
  2900. "ApiKeyAuth": []
  2901. }
  2902. ],
  2903. "produces": [
  2904. "application/json"
  2905. ],
  2906. "tags": [
  2907. "企业风险管理(app)"
  2908. ],
  2909. "summary": "查询客户资料",
  2910. "parameters": [
  2911. {
  2912. "type": "integer",
  2913. "description": "所属机构用户ID",
  2914. "name": "MemberUserID",
  2915. "in": "query",
  2916. "required": true
  2917. },
  2918. {
  2919. "type": "integer",
  2920. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2921. "name": "queryType",
  2922. "in": "query",
  2923. "required": true
  2924. }
  2925. ],
  2926. "responses": {
  2927. "200": {
  2928. "description": "OK",
  2929. "schema": {
  2930. "type": "array",
  2931. "items": {
  2932. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2933. }
  2934. }
  2935. },
  2936. "500": {
  2937. "description": "Internal Server Error",
  2938. "schema": {
  2939. "$ref": "#/definitions/app.Response"
  2940. }
  2941. }
  2942. }
  2943. }
  2944. },
  2945. "/Ermcp/QueryWarehouseInfo": {
  2946. "get": {
  2947. "security": [
  2948. {
  2949. "ApiKeyAuth": []
  2950. }
  2951. ],
  2952. "produces": [
  2953. "application/json"
  2954. ],
  2955. "tags": [
  2956. "企业风险管理(app)"
  2957. ],
  2958. "summary": "查询仓库信息",
  2959. "parameters": [
  2960. {
  2961. "type": "integer",
  2962. "description": "用户ID",
  2963. "name": "userid",
  2964. "in": "query",
  2965. "required": true
  2966. },
  2967. {
  2968. "type": "string",
  2969. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2970. "name": "status",
  2971. "in": "query"
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp3/QryAreaExpourseContractDetail": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理v3(app)"
  3005. ],
  3006. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "integer",
  3017. "description": "套保商品id",
  3018. "name": "middlegoodsid",
  3019. "in": "query",
  3020. "required": true
  3021. },
  3022. {
  3023. "type": "integer",
  3024. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3025. "name": "cycletype",
  3026. "in": "query",
  3027. "required": true
  3028. },
  3029. {
  3030. "type": "string",
  3031. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3032. "name": "cycletime",
  3033. "in": "query",
  3034. "required": true
  3035. }
  3036. ],
  3037. "responses": {
  3038. "200": {
  3039. "description": "OK",
  3040. "schema": {
  3041. "type": "array",
  3042. "items": {
  3043. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3044. }
  3045. }
  3046. },
  3047. "500": {
  3048. "description": "Internal Server Error",
  3049. "schema": {
  3050. "$ref": "#/definitions/app.Response"
  3051. }
  3052. }
  3053. }
  3054. }
  3055. },
  3056. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3057. "get": {
  3058. "security": [
  3059. {
  3060. "ApiKeyAuth": []
  3061. }
  3062. ],
  3063. "produces": [
  3064. "application/json"
  3065. ],
  3066. "tags": [
  3067. "企业风险管理v3(app)"
  3068. ],
  3069. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3070. "parameters": [
  3071. {
  3072. "type": "integer",
  3073. "description": "用户ID",
  3074. "name": "userid",
  3075. "in": "query",
  3076. "required": true
  3077. },
  3078. {
  3079. "type": "integer",
  3080. "description": "套保商品id",
  3081. "name": "middlegoodsid",
  3082. "in": "query",
  3083. "required": true
  3084. },
  3085. {
  3086. "type": "integer",
  3087. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3088. "name": "cycletype",
  3089. "in": "query",
  3090. "required": true
  3091. },
  3092. {
  3093. "type": "string",
  3094. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3095. "name": "cycletime",
  3096. "in": "query",
  3097. "required": true
  3098. }
  3099. ],
  3100. "responses": {
  3101. "200": {
  3102. "description": "OK",
  3103. "schema": {
  3104. "type": "array",
  3105. "items": {
  3106. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3107. }
  3108. }
  3109. },
  3110. "500": {
  3111. "description": "Internal Server Error",
  3112. "schema": {
  3113. "$ref": "#/definitions/app.Response"
  3114. }
  3115. }
  3116. }
  3117. }
  3118. },
  3119. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3120. "get": {
  3121. "security": [
  3122. {
  3123. "ApiKeyAuth": []
  3124. }
  3125. ],
  3126. "produces": [
  3127. "application/json"
  3128. ],
  3129. "tags": [
  3130. "企业风险管理v3(app)"
  3131. ],
  3132. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3133. "parameters": [
  3134. {
  3135. "type": "integer",
  3136. "description": "用户ID",
  3137. "name": "userid",
  3138. "in": "query",
  3139. "required": true
  3140. },
  3141. {
  3142. "type": "integer",
  3143. "description": "套保商品id",
  3144. "name": "middlegoodsid",
  3145. "in": "query",
  3146. "required": true
  3147. },
  3148. {
  3149. "type": "integer",
  3150. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3151. "name": "cycletype",
  3152. "in": "query",
  3153. "required": true
  3154. },
  3155. {
  3156. "type": "string",
  3157. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3158. "name": "cycletime",
  3159. "in": "query",
  3160. "required": true
  3161. }
  3162. ],
  3163. "responses": {
  3164. "200": {
  3165. "description": "OK",
  3166. "schema": {
  3167. "type": "array",
  3168. "items": {
  3169. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3170. }
  3171. }
  3172. },
  3173. "500": {
  3174. "description": "Internal Server Error",
  3175. "schema": {
  3176. "$ref": "#/definitions/app.Response"
  3177. }
  3178. }
  3179. }
  3180. }
  3181. },
  3182. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3183. "get": {
  3184. "security": [
  3185. {
  3186. "ApiKeyAuth": []
  3187. }
  3188. ],
  3189. "produces": [
  3190. "application/json"
  3191. ],
  3192. "tags": [
  3193. "企业风险管理v3(app)"
  3194. ],
  3195. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3196. "parameters": [
  3197. {
  3198. "type": "integer",
  3199. "description": "用户ID",
  3200. "name": "userid",
  3201. "in": "query",
  3202. "required": true
  3203. },
  3204. {
  3205. "type": "integer",
  3206. "description": "套保商品id",
  3207. "name": "middlegoodsid",
  3208. "in": "query",
  3209. "required": true
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3214. "name": "cycletype",
  3215. "in": "query",
  3216. "required": true
  3217. },
  3218. {
  3219. "type": "string",
  3220. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3221. "name": "cycletime",
  3222. "in": "query",
  3223. "required": true
  3224. }
  3225. ],
  3226. "responses": {
  3227. "200": {
  3228. "description": "OK",
  3229. "schema": {
  3230. "type": "array",
  3231. "items": {
  3232. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3233. }
  3234. }
  3235. },
  3236. "500": {
  3237. "description": "Internal Server Error",
  3238. "schema": {
  3239. "$ref": "#/definitions/app.Response"
  3240. }
  3241. }
  3242. }
  3243. }
  3244. },
  3245. "/Ermcp3/QryAreaExpourseReport": {
  3246. "get": {
  3247. "security": [
  3248. {
  3249. "ApiKeyAuth": []
  3250. }
  3251. ],
  3252. "produces": [
  3253. "application/json"
  3254. ],
  3255. "tags": [
  3256. "企业风险管理v3(app)"
  3257. ],
  3258. "summary": "查询敞口报表",
  3259. "parameters": [
  3260. {
  3261. "type": "integer",
  3262. "description": "用户ID",
  3263. "name": "userid",
  3264. "in": "query",
  3265. "required": true
  3266. },
  3267. {
  3268. "type": "integer",
  3269. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3270. "name": "querytype",
  3271. "in": "query",
  3272. "required": true
  3273. },
  3274. {
  3275. "type": "integer",
  3276. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3277. "name": "cycletype",
  3278. "in": "query",
  3279. "required": true
  3280. },
  3281. {
  3282. "type": "string",
  3283. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3284. "name": "cycletime",
  3285. "in": "query",
  3286. "required": true
  3287. }
  3288. ],
  3289. "responses": {
  3290. "200": {
  3291. "description": "OK",
  3292. "schema": {
  3293. "type": "array",
  3294. "items": {
  3295. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3296. }
  3297. }
  3298. },
  3299. "500": {
  3300. "description": "Internal Server Error",
  3301. "schema": {
  3302. "$ref": "#/definitions/app.Response"
  3303. }
  3304. }
  3305. }
  3306. }
  3307. },
  3308. "/Ermcp3/QryAreaSpotplReport": {
  3309. "get": {
  3310. "security": [
  3311. {
  3312. "ApiKeyAuth": []
  3313. }
  3314. ],
  3315. "produces": [
  3316. "application/json"
  3317. ],
  3318. "tags": [
  3319. "企业风险管理v3(app)"
  3320. ],
  3321. "summary": "查询现货报表",
  3322. "parameters": [
  3323. {
  3324. "type": "integer",
  3325. "description": "用户ID",
  3326. "name": "userid",
  3327. "in": "query",
  3328. "required": true
  3329. },
  3330. {
  3331. "type": "integer",
  3332. "description": "查询类型 1-报表 2-报表明细",
  3333. "name": "querytype",
  3334. "in": "query",
  3335. "required": true
  3336. },
  3337. {
  3338. "type": "integer",
  3339. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3340. "name": "cycletype",
  3341. "in": "query",
  3342. "required": true
  3343. },
  3344. {
  3345. "type": "string",
  3346. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3347. "name": "cycletime",
  3348. "in": "query",
  3349. "required": true
  3350. },
  3351. {
  3352. "type": "integer",
  3353. "description": "现货品种id(明细必填)",
  3354. "name": "deliverygoodsid",
  3355. "in": "query"
  3356. },
  3357. {
  3358. "type": "integer",
  3359. "description": "币种id(明细必填)",
  3360. "name": "currencyid",
  3361. "in": "query"
  3362. }
  3363. ],
  3364. "responses": {
  3365. "200": {
  3366. "description": "OK",
  3367. "schema": {
  3368. "type": "array",
  3369. "items": {
  3370. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3371. }
  3372. }
  3373. },
  3374. "500": {
  3375. "description": "Internal Server Error",
  3376. "schema": {
  3377. "$ref": "#/definitions/app.Response"
  3378. }
  3379. }
  3380. }
  3381. }
  3382. },
  3383. "/Ermcp3/QryAreaStockReport": {
  3384. "get": {
  3385. "security": [
  3386. {
  3387. "ApiKeyAuth": []
  3388. }
  3389. ],
  3390. "produces": [
  3391. "application/json"
  3392. ],
  3393. "tags": [
  3394. "企业风险管理v3(app)"
  3395. ],
  3396. "summary": "查询库存报表",
  3397. "parameters": [
  3398. {
  3399. "type": "integer",
  3400. "description": "用户ID",
  3401. "name": "userid",
  3402. "in": "query",
  3403. "required": true
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "查询类型 1-报表 2-报表明细",
  3408. "name": "querytype",
  3409. "in": "query",
  3410. "required": true
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3415. "name": "cycletype",
  3416. "in": "query",
  3417. "required": true
  3418. },
  3419. {
  3420. "type": "string",
  3421. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3422. "name": "cycletime",
  3423. "in": "query",
  3424. "required": true
  3425. },
  3426. {
  3427. "type": "string",
  3428. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3429. "name": "sumfields",
  3430. "in": "query"
  3431. },
  3432. {
  3433. "type": "integer",
  3434. "description": "品种ID",
  3435. "name": "deliverygoodsid",
  3436. "in": "query"
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "品类ID",
  3441. "name": "wrstandardid",
  3442. "in": "query"
  3443. },
  3444. {
  3445. "type": "integer",
  3446. "description": "品牌ID",
  3447. "name": "spotgoodsbrandid",
  3448. "in": "query"
  3449. },
  3450. {
  3451. "type": "integer",
  3452. "description": "仓库ID",
  3453. "name": "warehouseinfoid",
  3454. "in": "query"
  3455. }
  3456. ],
  3457. "responses": {
  3458. "200": {
  3459. "description": "OK",
  3460. "schema": {
  3461. "type": "array",
  3462. "items": {
  3463. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3464. }
  3465. }
  3466. },
  3467. "500": {
  3468. "description": "Internal Server Error",
  3469. "schema": {
  3470. "$ref": "#/definitions/app.Response"
  3471. }
  3472. }
  3473. }
  3474. }
  3475. },
  3476. "/Ermcp3/QryAreaSumPL": {
  3477. "get": {
  3478. "security": [
  3479. {
  3480. "ApiKeyAuth": []
  3481. }
  3482. ],
  3483. "produces": [
  3484. "application/json"
  3485. ],
  3486. "tags": [
  3487. "企业风险管理v3(app)"
  3488. ],
  3489. "summary": "查询汇总损益表",
  3490. "parameters": [
  3491. {
  3492. "type": "integer",
  3493. "description": "用户ID",
  3494. "name": "userid",
  3495. "in": "query",
  3496. "required": true
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "查询类型 1-报表 2-报表明细",
  3501. "name": "querytype",
  3502. "in": "query",
  3503. "required": true
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3508. "name": "cycletype",
  3509. "in": "query",
  3510. "required": true
  3511. },
  3512. {
  3513. "type": "string",
  3514. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3515. "name": "cycletime",
  3516. "in": "query",
  3517. "required": true
  3518. },
  3519. {
  3520. "type": "integer",
  3521. "description": "币种id(明细必填)",
  3522. "name": "currencyid",
  3523. "in": "query"
  3524. }
  3525. ],
  3526. "responses": {
  3527. "200": {
  3528. "description": "OK",
  3529. "schema": {
  3530. "type": "array",
  3531. "items": {
  3532. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3533. }
  3534. }
  3535. },
  3536. "500": {
  3537. "description": "Internal Server Error",
  3538. "schema": {
  3539. "$ref": "#/definitions/app.Response"
  3540. }
  3541. }
  3542. }
  3543. }
  3544. },
  3545. "/Ermcp3/QryFinanceReport": {
  3546. "get": {
  3547. "security": [
  3548. {
  3549. "ApiKeyAuth": []
  3550. }
  3551. ],
  3552. "produces": [
  3553. "application/json"
  3554. ],
  3555. "tags": [
  3556. "企业风险管理v3(app)"
  3557. ],
  3558. "summary": "查询财务报表",
  3559. "parameters": [
  3560. {
  3561. "type": "integer",
  3562. "description": "用户ID",
  3563. "name": "userid",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "查询类型 1-报表 2-报表明细",
  3570. "name": "querytype",
  3571. "in": "query",
  3572. "required": true
  3573. },
  3574. {
  3575. "type": "integer",
  3576. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3577. "name": "cycletype",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "string",
  3583. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3584. "name": "cycletime",
  3585. "in": "query",
  3586. "required": true
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "币种id(报表明细必填)",
  3591. "name": "currencyid",
  3592. "in": "query"
  3593. },
  3594. {
  3595. "type": "string",
  3596. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3597. "name": "sumfields",
  3598. "in": "query"
  3599. }
  3600. ],
  3601. "responses": {
  3602. "200": {
  3603. "description": "OK",
  3604. "schema": {
  3605. "type": "array",
  3606. "items": {
  3607. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3608. }
  3609. }
  3610. },
  3611. "500": {
  3612. "description": "Internal Server Error",
  3613. "schema": {
  3614. "$ref": "#/definitions/app.Response"
  3615. }
  3616. }
  3617. }
  3618. }
  3619. },
  3620. "/Ermcp3/QrySCMiddleGoodsReport": {
  3621. "get": {
  3622. "security": [
  3623. {
  3624. "ApiKeyAuth": []
  3625. }
  3626. ],
  3627. "produces": [
  3628. "application/json"
  3629. ],
  3630. "tags": [
  3631. "企业风险管理v3(app)"
  3632. ],
  3633. "summary": "查询定价报表",
  3634. "parameters": [
  3635. {
  3636. "type": "integer",
  3637. "description": "用户ID",
  3638. "name": "userid",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "integer",
  3644. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3645. "name": "cycletype",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "string",
  3651. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3652. "name": "cycletime",
  3653. "in": "query",
  3654. "required": true
  3655. },
  3656. {
  3657. "type": "integer",
  3658. "description": "现货合同id",
  3659. "name": "spotcontractid",
  3660. "in": "query"
  3661. },
  3662. {
  3663. "type": "integer",
  3664. "description": "套保品种id",
  3665. "name": "middlegoodsid",
  3666. "in": "query"
  3667. },
  3668. {
  3669. "type": "integer",
  3670. "description": "现货品种id",
  3671. "name": "deliverygoodsid",
  3672. "in": "query"
  3673. },
  3674. {
  3675. "type": "integer",
  3676. "description": "现货商品id",
  3677. "name": "wrstandardid",
  3678. "in": "query"
  3679. }
  3680. ],
  3681. "responses": {
  3682. "200": {
  3683. "description": "OK",
  3684. "schema": {
  3685. "type": "array",
  3686. "items": {
  3687. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3688. }
  3689. }
  3690. },
  3691. "500": {
  3692. "description": "Internal Server Error",
  3693. "schema": {
  3694. "$ref": "#/definitions/app.Response"
  3695. }
  3696. }
  3697. }
  3698. }
  3699. },
  3700. "/Ermcp3/QryTaFutureDataReport": {
  3701. "get": {
  3702. "security": [
  3703. {
  3704. "ApiKeyAuth": []
  3705. }
  3706. ],
  3707. "produces": [
  3708. "application/json"
  3709. ],
  3710. "tags": [
  3711. "企业风险管理v3(app)"
  3712. ],
  3713. "summary": "查询期货报表",
  3714. "parameters": [
  3715. {
  3716. "type": "integer",
  3717. "description": "用户ID",
  3718. "name": "userid",
  3719. "in": "query",
  3720. "required": true
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "查询类型 1-报表 2-报表明细",
  3725. "name": "querytype",
  3726. "in": "query",
  3727. "required": true
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3732. "name": "cycletype",
  3733. "in": "query",
  3734. "required": true
  3735. },
  3736. {
  3737. "type": "string",
  3738. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3739. "name": "cycletime",
  3740. "in": "query",
  3741. "required": true
  3742. },
  3743. {
  3744. "type": "integer",
  3745. "description": "币种id(查明细必填)",
  3746. "name": "currencyid",
  3747. "in": "query"
  3748. },
  3749. {
  3750. "type": "integer",
  3751. "description": "品种id(查明细必填)",
  3752. "name": "goodsgroupid",
  3753. "in": "query"
  3754. },
  3755. {
  3756. "type": "integer",
  3757. "description": "商品id(查明细必填)",
  3758. "name": "goodsid",
  3759. "in": "query"
  3760. },
  3761. {
  3762. "type": "integer",
  3763. "description": "买卖方向(查明细必填)",
  3764. "name": "buyorsell",
  3765. "in": "query"
  3766. }
  3767. ],
  3768. "responses": {
  3769. "200": {
  3770. "description": "OK",
  3771. "schema": {
  3772. "type": "array",
  3773. "items": {
  3774. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3775. }
  3776. }
  3777. },
  3778. "500": {
  3779. "description": "Internal Server Error",
  3780. "schema": {
  3781. "$ref": "#/definitions/app.Response"
  3782. }
  3783. }
  3784. }
  3785. }
  3786. },
  3787. "/Ermcp3/QueryAreaStock": {
  3788. "get": {
  3789. "security": [
  3790. {
  3791. "ApiKeyAuth": []
  3792. }
  3793. ],
  3794. "produces": [
  3795. "application/json"
  3796. ],
  3797. "tags": [
  3798. "企业风险管理v3(app)"
  3799. ],
  3800. "summary": "查询机构库存(库存管理/当前库存)",
  3801. "parameters": [
  3802. {
  3803. "type": "integer",
  3804. "description": "用户ID",
  3805. "name": "userid",
  3806. "in": "query",
  3807. "required": true
  3808. }
  3809. ],
  3810. "responses": {
  3811. "200": {
  3812. "description": "OK",
  3813. "schema": {
  3814. "type": "array",
  3815. "items": {
  3816. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3817. }
  3818. }
  3819. },
  3820. "500": {
  3821. "description": "Internal Server Error",
  3822. "schema": {
  3823. "$ref": "#/definitions/app.Response"
  3824. }
  3825. }
  3826. }
  3827. }
  3828. },
  3829. "/Ermcp3/QueryAreaStockApply": {
  3830. "get": {
  3831. "security": [
  3832. {
  3833. "ApiKeyAuth": []
  3834. }
  3835. ],
  3836. "produces": [
  3837. "application/json"
  3838. ],
  3839. "tags": [
  3840. "企业风险管理v3(app)"
  3841. ],
  3842. "summary": "查询库存申请(出入库记录|库存审核)",
  3843. "parameters": [
  3844. {
  3845. "type": "integer",
  3846. "description": "用户ID",
  3847. "name": "userid",
  3848. "in": "query",
  3849. "required": true
  3850. },
  3851. {
  3852. "type": "integer",
  3853. "description": "用户类型 2-机构 7-企业成员",
  3854. "name": "usertype",
  3855. "in": "query"
  3856. },
  3857. {
  3858. "type": "integer",
  3859. "description": "现货商品ID",
  3860. "name": "deliverygoodsid",
  3861. "in": "query"
  3862. },
  3863. {
  3864. "type": "string",
  3865. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3866. "name": "inouttype",
  3867. "in": "query"
  3868. },
  3869. {
  3870. "type": "integer",
  3871. "description": "合同ID",
  3872. "name": "spotcontractid",
  3873. "in": "query"
  3874. },
  3875. {
  3876. "type": "integer",
  3877. "description": "品类ID",
  3878. "name": "wrstandardid",
  3879. "in": "query"
  3880. },
  3881. {
  3882. "type": "integer",
  3883. "description": "品牌ID",
  3884. "name": "spotgoodsbrandid",
  3885. "in": "query"
  3886. },
  3887. {
  3888. "type": "integer",
  3889. "description": "仓库ID",
  3890. "name": "warehouseinfoid",
  3891. "in": "query"
  3892. },
  3893. {
  3894. "type": "string",
  3895. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3896. "name": "applystatus",
  3897. "in": "query"
  3898. }
  3899. ],
  3900. "responses": {
  3901. "200": {
  3902. "description": "OK",
  3903. "schema": {
  3904. "type": "array",
  3905. "items": {
  3906. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3907. }
  3908. }
  3909. },
  3910. "500": {
  3911. "description": "Internal Server Error",
  3912. "schema": {
  3913. "$ref": "#/definitions/app.Response"
  3914. }
  3915. }
  3916. }
  3917. }
  3918. },
  3919. "/Ermcp3/QueryAreaStockApplySum": {
  3920. "get": {
  3921. "security": [
  3922. {
  3923. "ApiKeyAuth": []
  3924. }
  3925. ],
  3926. "produces": [
  3927. "application/json"
  3928. ],
  3929. "tags": [
  3930. "企业风险管理v3(app)"
  3931. ],
  3932. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3933. "parameters": [
  3934. {
  3935. "type": "integer",
  3936. "description": "合同ID",
  3937. "name": "spotcontractid",
  3938. "in": "query",
  3939. "required": true
  3940. }
  3941. ],
  3942. "responses": {
  3943. "200": {
  3944. "description": "OK",
  3945. "schema": {
  3946. "type": "array",
  3947. "items": {
  3948. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3949. }
  3950. }
  3951. },
  3952. "500": {
  3953. "description": "Internal Server Error",
  3954. "schema": {
  3955. "$ref": "#/definitions/app.Response"
  3956. }
  3957. }
  3958. }
  3959. }
  3960. },
  3961. "/Ermcp3/QueryDGFactoryItem": {
  3962. "get": {
  3963. "security": [
  3964. {
  3965. "ApiKeyAuth": []
  3966. }
  3967. ],
  3968. "produces": [
  3969. "application/json"
  3970. ],
  3971. "tags": [
  3972. "企业风险管理v3(app)"
  3973. ],
  3974. "summary": "查询品种要素定义项",
  3975. "parameters": [
  3976. {
  3977. "type": "integer",
  3978. "description": "用户id",
  3979. "name": "userid",
  3980. "in": "query"
  3981. },
  3982. {
  3983. "type": "integer",
  3984. "description": "用户类型 2-机构 7-企业成员",
  3985. "name": "usertype",
  3986. "in": "query"
  3987. },
  3988. {
  3989. "type": "integer",
  3990. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3991. "name": "dgfactoryitemid",
  3992. "in": "query"
  3993. },
  3994. {
  3995. "type": "integer",
  3996. "description": "现货品种ID",
  3997. "name": "deliverygoodsid",
  3998. "in": "query"
  3999. },
  4000. {
  4001. "type": "integer",
  4002. "description": "要素项类型",
  4003. "name": "dgfactoryitemtypeid",
  4004. "in": "query"
  4005. },
  4006. {
  4007. "type": "integer",
  4008. "description": "顺序",
  4009. "name": "orderindex",
  4010. "in": "query"
  4011. }
  4012. ],
  4013. "responses": {
  4014. "200": {
  4015. "description": "OK",
  4016. "schema": {
  4017. "type": "array",
  4018. "items": {
  4019. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4020. }
  4021. }
  4022. },
  4023. "500": {
  4024. "description": "Internal Server Error",
  4025. "schema": {
  4026. "$ref": "#/definitions/app.Response"
  4027. }
  4028. }
  4029. }
  4030. }
  4031. },
  4032. "/Ermcp3/QueryDeliveryGoods": {
  4033. "get": {
  4034. "security": [
  4035. {
  4036. "ApiKeyAuth": []
  4037. }
  4038. ],
  4039. "produces": [
  4040. "application/json"
  4041. ],
  4042. "tags": [
  4043. "企业风险管理v3(app)"
  4044. ],
  4045. "summary": "查询现货商品",
  4046. "parameters": [
  4047. {
  4048. "type": "integer",
  4049. "description": "用户id",
  4050. "name": "userid",
  4051. "in": "query",
  4052. "required": true
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "用户类型 2-机构 7-企业成员",
  4057. "name": "usertype",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4063. "name": "excludecfg",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "type": "array",
  4072. "items": {
  4073. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4074. }
  4075. }
  4076. },
  4077. "500": {
  4078. "description": "Internal Server Error",
  4079. "schema": {
  4080. "$ref": "#/definitions/app.Response"
  4081. }
  4082. }
  4083. }
  4084. }
  4085. },
  4086. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4087. "get": {
  4088. "security": [
  4089. {
  4090. "ApiKeyAuth": []
  4091. }
  4092. ],
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "企业风险管理v3(app)"
  4098. ],
  4099. "summary": "查询现货商品详情",
  4100. "parameters": [
  4101. {
  4102. "type": "integer",
  4103. "description": "用户id",
  4104. "name": "userid",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "用户类型 2-机构 7-企业成员",
  4111. "name": "usertype",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "现货商品id",
  4117. "name": "deliverygoodsid",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.XHDeliveryGoods"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryExposureDetail": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询敞口现货明细",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "套保商品",
  4171. "name": "middlegoodsid",
  4172. "in": "query",
  4173. "required": true
  4174. }
  4175. ],
  4176. "responses": {
  4177. "200": {
  4178. "description": "OK",
  4179. "schema": {
  4180. "type": "array",
  4181. "items": {
  4182. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4183. }
  4184. }
  4185. },
  4186. "500": {
  4187. "description": "Internal Server Error",
  4188. "schema": {
  4189. "$ref": "#/definitions/app.Response"
  4190. }
  4191. }
  4192. }
  4193. }
  4194. },
  4195. "/Ermcp3/QueryExposureSpot": {
  4196. "get": {
  4197. "security": [
  4198. {
  4199. "ApiKeyAuth": []
  4200. }
  4201. ],
  4202. "produces": [
  4203. "application/json"
  4204. ],
  4205. "tags": [
  4206. "企业风险管理v3(app)"
  4207. ],
  4208. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4209. "parameters": [
  4210. {
  4211. "type": "integer",
  4212. "description": "用户id",
  4213. "name": "userid",
  4214. "in": "query",
  4215. "required": true
  4216. },
  4217. {
  4218. "type": "integer",
  4219. "description": "用户类型 2-机构 7-企业成员",
  4220. "name": "usertype",
  4221. "in": "query"
  4222. }
  4223. ],
  4224. "responses": {
  4225. "200": {
  4226. "description": "OK",
  4227. "schema": {
  4228. "type": "array",
  4229. "items": {
  4230. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4231. }
  4232. }
  4233. },
  4234. "500": {
  4235. "description": "Internal Server Error",
  4236. "schema": {
  4237. "$ref": "#/definitions/app.Response"
  4238. }
  4239. }
  4240. }
  4241. }
  4242. },
  4243. "/Ermcp3/QueryExposureSpotDetail": {
  4244. "get": {
  4245. "security": [
  4246. {
  4247. "ApiKeyAuth": []
  4248. }
  4249. ],
  4250. "produces": [
  4251. "application/json"
  4252. ],
  4253. "tags": [
  4254. "企业风险管理v3(app)"
  4255. ],
  4256. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4257. "parameters": [
  4258. {
  4259. "type": "integer",
  4260. "description": "用户id",
  4261. "name": "userid",
  4262. "in": "query",
  4263. "required": true
  4264. },
  4265. {
  4266. "type": "integer",
  4267. "description": "用户类型 2-机构 7-企业成员",
  4268. "name": "usertype",
  4269. "in": "query"
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "现货商品ID",
  4274. "name": "wrstandardid",
  4275. "in": "query",
  4276. "required": true
  4277. }
  4278. ],
  4279. "responses": {
  4280. "200": {
  4281. "description": "OK",
  4282. "schema": {
  4283. "type": "array",
  4284. "items": {
  4285. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4286. }
  4287. }
  4288. },
  4289. "500": {
  4290. "description": "Internal Server Error",
  4291. "schema": {
  4292. "$ref": "#/definitions/app.Response"
  4293. }
  4294. }
  4295. }
  4296. }
  4297. },
  4298. "/Ermcp3/QueryGoodsGroup": {
  4299. "get": {
  4300. "security": [
  4301. {
  4302. "ApiKeyAuth": []
  4303. }
  4304. ],
  4305. "produces": [
  4306. "application/json"
  4307. ],
  4308. "tags": [
  4309. "企业风险管理v3(app)"
  4310. ],
  4311. "summary": "查询期货商品组",
  4312. "parameters": [
  4313. {
  4314. "type": "integer",
  4315. "description": "用户id",
  4316. "name": "userid",
  4317. "in": "query",
  4318. "required": true
  4319. },
  4320. {
  4321. "type": "integer",
  4322. "description": "用户类型 2-机构 7-企业成员",
  4323. "name": "usertype",
  4324. "in": "query"
  4325. },
  4326. {
  4327. "type": "integer",
  4328. "description": "排除套保品中已关联的商品组 1-排除",
  4329. "name": "excludecfg",
  4330. "in": "query"
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsWrstandard": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询商品品类",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "现货商品id",
  4383. "name": "deliverygoodsid",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsbrand": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品牌",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. }
  4434. ],
  4435. "responses": {
  4436. "200": {
  4437. "description": "OK",
  4438. "schema": {
  4439. "type": "array",
  4440. "items": {
  4441. "$ref": "#/definitions/models.Ermcp3Brand"
  4442. }
  4443. }
  4444. },
  4445. "500": {
  4446. "description": "Internal Server Error",
  4447. "schema": {
  4448. "$ref": "#/definitions/app.Response"
  4449. }
  4450. }
  4451. }
  4452. }
  4453. },
  4454. "/Ermcp3/QueryHedgePlan": {
  4455. "get": {
  4456. "security": [
  4457. {
  4458. "ApiKeyAuth": []
  4459. }
  4460. ],
  4461. "produces": [
  4462. "application/json"
  4463. ],
  4464. "tags": [
  4465. "企业风险管理v3(app)"
  4466. ],
  4467. "summary": "查询套保计划",
  4468. "parameters": [
  4469. {
  4470. "type": "integer",
  4471. "description": "用户ID",
  4472. "name": "userid",
  4473. "in": "query",
  4474. "required": true
  4475. },
  4476. {
  4477. "type": "integer",
  4478. "description": "用户类型 2-机构 7-企业成员",
  4479. "name": "usertype",
  4480. "in": "query"
  4481. },
  4482. {
  4483. "type": "string",
  4484. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4485. "name": "hedgeplanstatus",
  4486. "in": "query",
  4487. "required": true
  4488. }
  4489. ],
  4490. "responses": {
  4491. "200": {
  4492. "description": "OK",
  4493. "schema": {
  4494. "type": "array",
  4495. "items": {
  4496. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4497. }
  4498. }
  4499. },
  4500. "500": {
  4501. "description": "Internal Server Error",
  4502. "schema": {
  4503. "$ref": "#/definitions/app.Response"
  4504. }
  4505. }
  4506. }
  4507. }
  4508. },
  4509. "/Ermcp3/QueryMiddleGoodsDetail": {
  4510. "get": {
  4511. "security": [
  4512. {
  4513. "ApiKeyAuth": []
  4514. }
  4515. ],
  4516. "produces": [
  4517. "application/json"
  4518. ],
  4519. "tags": [
  4520. "企业风险管理v3(app)"
  4521. ],
  4522. "summary": "查询套保品种详情(套保品种/商品详情)",
  4523. "parameters": [
  4524. {
  4525. "type": "integer",
  4526. "description": "用户id",
  4527. "name": "userid",
  4528. "in": "query",
  4529. "required": true
  4530. },
  4531. {
  4532. "type": "integer",
  4533. "description": "用户类型 2-机构 7-企业成员",
  4534. "name": "usertype",
  4535. "in": "query"
  4536. },
  4537. {
  4538. "type": "integer",
  4539. "description": "套保品种id",
  4540. "name": "middlegoodsid",
  4541. "in": "query"
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "type": "array",
  4549. "items": {
  4550. "$ref": "#/definitions/models.TBMiddleGoods"
  4551. }
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Ermcp3/QueryPaAreaAuditCfg": {
  4564. "get": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "produces": [
  4571. "application/json"
  4572. ],
  4573. "tags": [
  4574. "企业风险管理v3(app)"
  4575. ],
  4576. "summary": "查询审核设置",
  4577. "parameters": [
  4578. {
  4579. "type": "integer",
  4580. "description": "用户id",
  4581. "name": "userid",
  4582. "in": "query",
  4583. "required": true
  4584. }
  4585. ],
  4586. "responses": {
  4587. "200": {
  4588. "description": "OK",
  4589. "schema": {
  4590. "type": "array",
  4591. "items": {
  4592. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4593. }
  4594. }
  4595. },
  4596. "500": {
  4597. "description": "Internal Server Error",
  4598. "schema": {
  4599. "$ref": "#/definitions/app.Response"
  4600. }
  4601. }
  4602. }
  4603. }
  4604. },
  4605. "/Ermcp3/QueryPaAreaSubject": {
  4606. "get": {
  4607. "security": [
  4608. {
  4609. "ApiKeyAuth": []
  4610. }
  4611. ],
  4612. "produces": [
  4613. "application/json"
  4614. ],
  4615. "tags": [
  4616. "企业风险管理v3(app)"
  4617. ],
  4618. "summary": "查询交易主体",
  4619. "parameters": [
  4620. {
  4621. "type": "integer",
  4622. "description": "用户id",
  4623. "name": "userid",
  4624. "in": "query",
  4625. "required": true
  4626. },
  4627. {
  4628. "type": "integer",
  4629. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4630. "name": "subjectid",
  4631. "in": "query"
  4632. },
  4633. {
  4634. "type": "integer",
  4635. "description": "主体类型 - 1:交易主体 2:业务部门",
  4636. "name": "subjecttype",
  4637. "in": "query"
  4638. },
  4639. {
  4640. "type": "integer",
  4641. "description": "主体状态 - 1:正常 2: 停用",
  4642. "name": "subjectstatus",
  4643. "in": "query"
  4644. }
  4645. ],
  4646. "responses": {
  4647. "200": {
  4648. "description": "OK",
  4649. "schema": {
  4650. "type": "array",
  4651. "items": {
  4652. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4653. }
  4654. }
  4655. },
  4656. "500": {
  4657. "description": "Internal Server Error",
  4658. "schema": {
  4659. "$ref": "#/definitions/app.Response"
  4660. }
  4661. }
  4662. }
  4663. }
  4664. },
  4665. "/Ermcp3/QueryPaTradeLink": {
  4666. "get": {
  4667. "security": [
  4668. {
  4669. "ApiKeyAuth": []
  4670. }
  4671. ],
  4672. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4673. "produces": [
  4674. "application/json"
  4675. ],
  4676. "tags": [
  4677. "企业风险管理v3(app)"
  4678. ],
  4679. "summary": "查询期现单据关联",
  4680. "parameters": [
  4681. {
  4682. "type": "integer",
  4683. "description": "用户ID",
  4684. "name": "userid",
  4685. "in": "query",
  4686. "required": true
  4687. }
  4688. ],
  4689. "responses": {
  4690. "200": {
  4691. "description": "OK",
  4692. "schema": {
  4693. "type": "array",
  4694. "items": {
  4695. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4696. }
  4697. }
  4698. },
  4699. "500": {
  4700. "description": "Internal Server Error",
  4701. "schema": {
  4702. "$ref": "#/definitions/app.Response"
  4703. }
  4704. }
  4705. }
  4706. }
  4707. },
  4708. "/Ermcp3/QueryPaTradeLinkDetail": {
  4709. "get": {
  4710. "security": [
  4711. {
  4712. "ApiKeyAuth": []
  4713. }
  4714. ],
  4715. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4716. "produces": [
  4717. "application/json"
  4718. ],
  4719. "tags": [
  4720. "企业风险管理v3(app)"
  4721. ],
  4722. "summary": "查询期现关联记录",
  4723. "parameters": [
  4724. {
  4725. "type": "integer",
  4726. "description": "用户ID(填登录用户的userid)",
  4727. "name": "userid",
  4728. "in": "query",
  4729. "required": true
  4730. },
  4731. {
  4732. "type": "string",
  4733. "description": "期货订单号(模糊匹配)",
  4734. "name": "tradeid",
  4735. "in": "query"
  4736. },
  4737. {
  4738. "type": "string",
  4739. "description": "现货编号(模糊匹配)",
  4740. "name": "contractno",
  4741. "in": "query"
  4742. },
  4743. {
  4744. "type": "string",
  4745. "description": "期货账户(模糊匹配)",
  4746. "name": "taname",
  4747. "in": "query"
  4748. }
  4749. ],
  4750. "responses": {
  4751. "200": {
  4752. "description": "OK",
  4753. "schema": {
  4754. "type": "array",
  4755. "items": {
  4756. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4757. }
  4758. }
  4759. },
  4760. "500": {
  4761. "description": "Internal Server Error",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. }
  4766. }
  4767. }
  4768. },
  4769. "/Ermcp3/QueryRootUserAccount": {
  4770. "get": {
  4771. "security": [
  4772. {
  4773. "ApiKeyAuth": []
  4774. }
  4775. ],
  4776. "produces": [
  4777. "application/json"
  4778. ],
  4779. "tags": [
  4780. "企业风险管理v3(app)"
  4781. ],
  4782. "summary": "查询顶级用户信息",
  4783. "parameters": [
  4784. {
  4785. "type": "integer",
  4786. "description": "用户ID",
  4787. "name": "userid",
  4788. "in": "query",
  4789. "required": true
  4790. }
  4791. ],
  4792. "responses": {
  4793. "200": {
  4794. "description": "OK",
  4795. "schema": {
  4796. "type": "array",
  4797. "items": {
  4798. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4799. }
  4800. }
  4801. },
  4802. "500": {
  4803. "description": "Internal Server Error",
  4804. "schema": {
  4805. "$ref": "#/definitions/app.Response"
  4806. }
  4807. }
  4808. }
  4809. }
  4810. },
  4811. "/Ermcp3/QuerySCMiddleGoods": {
  4812. "get": {
  4813. "security": [
  4814. {
  4815. "ApiKeyAuth": []
  4816. }
  4817. ],
  4818. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  4819. "produces": [
  4820. "application/json"
  4821. ],
  4822. "tags": [
  4823. "企业风险管理v3(app)"
  4824. ],
  4825. "summary": "查询现货订单",
  4826. "parameters": [
  4827. {
  4828. "type": "integer",
  4829. "description": "用户ID(填登录用户的userid)",
  4830. "name": "userid",
  4831. "in": "query",
  4832. "required": true
  4833. },
  4834. {
  4835. "type": "integer",
  4836. "description": "买卖方向 0-买 1-卖",
  4837. "name": "buyorsell",
  4838. "in": "query",
  4839. "required": true
  4840. },
  4841. {
  4842. "type": "integer",
  4843. "description": "商品组id",
  4844. "name": "goodsgroupid",
  4845. "in": "query",
  4846. "required": true
  4847. },
  4848. {
  4849. "type": "string",
  4850. "description": "现货编号(模糊匹配)",
  4851. "name": "contractno",
  4852. "in": "query"
  4853. },
  4854. {
  4855. "type": "string",
  4856. "description": "对手方(模糊匹配)",
  4857. "name": "customername",
  4858. "in": "query"
  4859. },
  4860. {
  4861. "type": "string",
  4862. "description": "现货商品名称(模糊匹配)",
  4863. "name": "wrstandardname",
  4864. "in": "query"
  4865. }
  4866. ],
  4867. "responses": {
  4868. "200": {
  4869. "description": "OK",
  4870. "schema": {
  4871. "type": "array",
  4872. "items": {
  4873. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  4874. }
  4875. }
  4876. },
  4877. "500": {
  4878. "description": "Internal Server Error",
  4879. "schema": {
  4880. "$ref": "#/definitions/app.Response"
  4881. }
  4882. }
  4883. }
  4884. }
  4885. },
  4886. "/Ermcp3/QuerySpotContract": {
  4887. "get": {
  4888. "security": [
  4889. {
  4890. "ApiKeyAuth": []
  4891. }
  4892. ],
  4893. "produces": [
  4894. "application/json"
  4895. ],
  4896. "tags": [
  4897. "企业风险管理v3(app)"
  4898. ],
  4899. "summary": "查询现货合同",
  4900. "parameters": [
  4901. {
  4902. "type": "integer",
  4903. "description": "用户id(当指定contractid, userid可不填)",
  4904. "name": "userid",
  4905. "in": "query",
  4906. "required": true
  4907. },
  4908. {
  4909. "type": "integer",
  4910. "description": "用户类型 2-机构 7-企业成员",
  4911. "name": "usertype",
  4912. "in": "query"
  4913. },
  4914. {
  4915. "type": "integer",
  4916. "description": "合同类型 1-采购, -1-销售",
  4917. "name": "contracttype",
  4918. "in": "query"
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)",
  4923. "name": "querytype",
  4924. "in": "query",
  4925. "required": true
  4926. },
  4927. {
  4928. "type": "string",
  4929. "description": "合同ID(SpotContractId)",
  4930. "name": "contractid",
  4931. "in": "query"
  4932. }
  4933. ],
  4934. "responses": {
  4935. "200": {
  4936. "description": "OK",
  4937. "schema": {
  4938. "type": "array",
  4939. "items": {
  4940. "$ref": "#/definitions/models.Ermcp3Contract"
  4941. }
  4942. }
  4943. },
  4944. "500": {
  4945. "description": "Internal Server Error",
  4946. "schema": {
  4947. "$ref": "#/definitions/app.Response"
  4948. }
  4949. }
  4950. }
  4951. }
  4952. },
  4953. "/Ermcp3/QuerySpotContractBS": {
  4954. "get": {
  4955. "security": [
  4956. {
  4957. "ApiKeyAuth": []
  4958. }
  4959. ],
  4960. "produces": [
  4961. "application/json"
  4962. ],
  4963. "tags": [
  4964. "企业风险管理v3(app)"
  4965. ],
  4966. "summary": "查询合同(采购/销售)",
  4967. "parameters": [
  4968. {
  4969. "type": "integer",
  4970. "description": "用户id",
  4971. "name": "userid",
  4972. "in": "query",
  4973. "required": true
  4974. },
  4975. {
  4976. "type": "integer",
  4977. "description": "用户类型 2-机构 7-企业成员",
  4978. "name": "usertype",
  4979. "in": "query"
  4980. },
  4981. {
  4982. "type": "integer",
  4983. "description": "合同类型 1-采购, -1-销售",
  4984. "name": "contracttype",
  4985. "in": "query",
  4986. "required": true
  4987. },
  4988. {
  4989. "type": "integer",
  4990. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4991. "name": "querytype",
  4992. "in": "query",
  4993. "required": true
  4994. },
  4995. {
  4996. "type": "string",
  4997. "description": "合同ID(SpotContractId)",
  4998. "name": "contractid",
  4999. "in": "query"
  5000. }
  5001. ],
  5002. "responses": {
  5003. "200": {
  5004. "description": "OK",
  5005. "schema": {
  5006. "type": "array",
  5007. "items": {
  5008. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5009. }
  5010. }
  5011. },
  5012. "500": {
  5013. "description": "Internal Server Error",
  5014. "schema": {
  5015. "$ref": "#/definitions/app.Response"
  5016. }
  5017. }
  5018. }
  5019. }
  5020. },
  5021. "/Ermcp3/QuerySpotGoodsPrice": {
  5022. "get": {
  5023. "security": [
  5024. {
  5025. "ApiKeyAuth": []
  5026. }
  5027. ],
  5028. "produces": [
  5029. "application/json"
  5030. ],
  5031. "tags": [
  5032. "企业风险管理v3(app)"
  5033. ],
  5034. "summary": "查询现货市价(现货市价)",
  5035. "parameters": [
  5036. {
  5037. "type": "integer",
  5038. "description": "用户ID",
  5039. "name": "userid",
  5040. "in": "query",
  5041. "required": true
  5042. }
  5043. ],
  5044. "responses": {
  5045. "200": {
  5046. "description": "OK",
  5047. "schema": {
  5048. "type": "array",
  5049. "items": {
  5050. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5051. }
  5052. }
  5053. },
  5054. "500": {
  5055. "description": "Internal Server Error",
  5056. "schema": {
  5057. "$ref": "#/definitions/app.Response"
  5058. }
  5059. }
  5060. }
  5061. }
  5062. },
  5063. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5064. "get": {
  5065. "security": [
  5066. {
  5067. "ApiKeyAuth": []
  5068. }
  5069. ],
  5070. "produces": [
  5071. "application/json"
  5072. ],
  5073. "tags": [
  5074. "企业风险管理v3(app)"
  5075. ],
  5076. "summary": "查询现货市价详情(现货市价/详情)",
  5077. "parameters": [
  5078. {
  5079. "type": "integer",
  5080. "description": "用户ID",
  5081. "name": "userid",
  5082. "in": "query",
  5083. "required": true
  5084. },
  5085. {
  5086. "type": "integer",
  5087. "description": "现货商品ID",
  5088. "name": "deliverygoodsid",
  5089. "in": "query",
  5090. "required": true
  5091. },
  5092. {
  5093. "type": "integer",
  5094. "description": "品牌ID",
  5095. "name": "brandid",
  5096. "in": "query"
  5097. },
  5098. {
  5099. "type": "integer",
  5100. "description": "品类ID",
  5101. "name": "wrstandardid",
  5102. "in": "query"
  5103. }
  5104. ],
  5105. "responses": {
  5106. "200": {
  5107. "description": "OK",
  5108. "schema": {
  5109. "type": "array",
  5110. "items": {
  5111. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5112. }
  5113. }
  5114. },
  5115. "500": {
  5116. "description": "Internal Server Error",
  5117. "schema": {
  5118. "$ref": "#/definitions/app.Response"
  5119. }
  5120. }
  5121. }
  5122. }
  5123. },
  5124. "/Erms2/QueryArbitrageStrategy": {
  5125. "get": {
  5126. "security": [
  5127. {
  5128. "ApiKeyAuth": []
  5129. }
  5130. ],
  5131. "produces": [
  5132. "application/json"
  5133. ],
  5134. "tags": [
  5135. "风险管理"
  5136. ],
  5137. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5138. "parameters": [
  5139. {
  5140. "type": "integer",
  5141. "description": "账户ID",
  5142. "name": "userid",
  5143. "in": "query",
  5144. "required": true
  5145. },
  5146. {
  5147. "type": "string",
  5148. "description": "商品组ID(品种ID)",
  5149. "name": "goodsgroupid",
  5150. "in": "query"
  5151. }
  5152. ],
  5153. "responses": {
  5154. "200": {
  5155. "description": "OK",
  5156. "schema": {
  5157. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5158. }
  5159. },
  5160. "500": {
  5161. "description": "Internal Server Error",
  5162. "schema": {
  5163. "$ref": "#/definitions/app.Response"
  5164. }
  5165. }
  5166. }
  5167. }
  5168. },
  5169. "/Erms2/QueryInnerTradeDetail": {
  5170. "get": {
  5171. "security": [
  5172. {
  5173. "ApiKeyAuth": []
  5174. }
  5175. ],
  5176. "produces": [
  5177. "application/json"
  5178. ],
  5179. "tags": [
  5180. "风险管理"
  5181. ],
  5182. "summary": "查询内部成交单信息",
  5183. "parameters": [
  5184. {
  5185. "type": "integer",
  5186. "description": "资金账户",
  5187. "name": "accountid",
  5188. "in": "query",
  5189. "required": true
  5190. }
  5191. ],
  5192. "responses": {
  5193. "200": {
  5194. "description": "OK",
  5195. "schema": {
  5196. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5197. }
  5198. },
  5199. "500": {
  5200. "description": "Internal Server Error",
  5201. "schema": {
  5202. "$ref": "#/definitions/app.Response"
  5203. }
  5204. }
  5205. }
  5206. }
  5207. },
  5208. "/Erms2/QuerySpotContract": {
  5209. "get": {
  5210. "security": [
  5211. {
  5212. "ApiKeyAuth": []
  5213. }
  5214. ],
  5215. "produces": [
  5216. "application/json"
  5217. ],
  5218. "tags": [
  5219. "风险管理"
  5220. ],
  5221. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5222. "parameters": [
  5223. {
  5224. "type": "integer",
  5225. "description": "策略申请ID",
  5226. "name": "asapplyid",
  5227. "in": "query",
  5228. "required": true
  5229. },
  5230. {
  5231. "type": "integer",
  5232. "description": "现货合同ID",
  5233. "name": "spotcontractid",
  5234. "in": "query"
  5235. }
  5236. ],
  5237. "responses": {
  5238. "200": {
  5239. "description": "OK",
  5240. "schema": {
  5241. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5242. }
  5243. },
  5244. "500": {
  5245. "description": "Internal Server Error",
  5246. "schema": {
  5247. "$ref": "#/definitions/app.Response"
  5248. }
  5249. }
  5250. }
  5251. }
  5252. },
  5253. "/Erms3/AddErms2ASApply": {
  5254. "post": {
  5255. "security": [
  5256. {
  5257. "ApiKeyAuth": []
  5258. }
  5259. ],
  5260. "produces": [
  5261. "application/json"
  5262. ],
  5263. "tags": [
  5264. "风险管理v3"
  5265. ],
  5266. "summary": "新增期现套利业务申请",
  5267. "parameters": [
  5268. {
  5269. "description": "申请参数",
  5270. "name": "jsonBody",
  5271. "in": "body",
  5272. "required": true,
  5273. "schema": {
  5274. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5275. }
  5276. }
  5277. ],
  5278. "responses": {
  5279. "200": {
  5280. "description": "OK",
  5281. "schema": {
  5282. "$ref": "#/definitions/app.Response"
  5283. }
  5284. },
  5285. "500": {
  5286. "description": "Internal Server Error",
  5287. "schema": {
  5288. "$ref": "#/definitions/app.Response"
  5289. }
  5290. }
  5291. }
  5292. }
  5293. },
  5294. "/Erms3/AddErms2SpotTradeApply": {
  5295. "post": {
  5296. "security": [
  5297. {
  5298. "ApiKeyAuth": []
  5299. }
  5300. ],
  5301. "produces": [
  5302. "application/json"
  5303. ],
  5304. "tags": [
  5305. "风险管理v3"
  5306. ],
  5307. "summary": "新增现货贸易业务申请",
  5308. "parameters": [
  5309. {
  5310. "description": "申请参数",
  5311. "name": "jsonBody",
  5312. "in": "body",
  5313. "required": true,
  5314. "schema": {
  5315. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5316. }
  5317. }
  5318. ],
  5319. "responses": {
  5320. "200": {
  5321. "description": "OK",
  5322. "schema": {
  5323. "$ref": "#/definitions/app.Response"
  5324. }
  5325. },
  5326. "500": {
  5327. "description": "Internal Server Error",
  5328. "schema": {
  5329. "$ref": "#/definitions/app.Response"
  5330. }
  5331. }
  5332. }
  5333. }
  5334. },
  5335. "/Erms3/AddSpotContractApply": {
  5336. "post": {
  5337. "security": [
  5338. {
  5339. "ApiKeyAuth": []
  5340. }
  5341. ],
  5342. "produces": [
  5343. "application/json"
  5344. ],
  5345. "tags": [
  5346. "风险管理v3"
  5347. ],
  5348. "summary": "新增现货合同申请",
  5349. "parameters": [
  5350. {
  5351. "description": "申请参数",
  5352. "name": "jsonBody",
  5353. "in": "body",
  5354. "required": true,
  5355. "schema": {
  5356. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5357. }
  5358. }
  5359. ],
  5360. "responses": {
  5361. "200": {
  5362. "description": "OK",
  5363. "schema": {
  5364. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5365. }
  5366. },
  5367. "500": {
  5368. "description": "Internal Server Error",
  5369. "schema": {
  5370. "$ref": "#/definitions/app.Response"
  5371. }
  5372. }
  5373. }
  5374. }
  5375. },
  5376. "/Erms3/AddUserInfoApply": {
  5377. "post": {
  5378. "security": [
  5379. {
  5380. "ApiKeyAuth": []
  5381. }
  5382. ],
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "风险管理v3"
  5388. ],
  5389. "summary": "新增客户申请",
  5390. "parameters": [
  5391. {
  5392. "description": "用户信息",
  5393. "name": "jsonBody",
  5394. "in": "body",
  5395. "required": true,
  5396. "schema": {
  5397. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5398. }
  5399. }
  5400. ],
  5401. "responses": {
  5402. "200": {
  5403. "description": "OK",
  5404. "schema": {
  5405. "$ref": "#/definitions/app.Response"
  5406. }
  5407. },
  5408. "500": {
  5409. "description": "Internal Server Error",
  5410. "schema": {
  5411. "$ref": "#/definitions/app.Response"
  5412. }
  5413. }
  5414. }
  5415. }
  5416. },
  5417. "/Erms3/DeleteUserInfoApply": {
  5418. "get": {
  5419. "security": [
  5420. {
  5421. "ApiKeyAuth": []
  5422. }
  5423. ],
  5424. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5425. "produces": [
  5426. "application/json"
  5427. ],
  5428. "tags": [
  5429. "风险管理v3"
  5430. ],
  5431. "summary": "删除客户申请",
  5432. "parameters": [
  5433. {
  5434. "type": "integer",
  5435. "description": "用户ID",
  5436. "name": "userID",
  5437. "in": "query",
  5438. "required": true
  5439. }
  5440. ],
  5441. "responses": {
  5442. "200": {
  5443. "description": "OK",
  5444. "schema": {
  5445. "$ref": "#/definitions/app.Response"
  5446. }
  5447. },
  5448. "500": {
  5449. "description": "Internal Server Error",
  5450. "schema": {
  5451. "$ref": "#/definitions/app.Response"
  5452. }
  5453. }
  5454. }
  5455. }
  5456. },
  5457. "/Erms3/ModifyUserInfoApply": {
  5458. "post": {
  5459. "security": [
  5460. {
  5461. "ApiKeyAuth": []
  5462. }
  5463. ],
  5464. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5465. "produces": [
  5466. "application/json"
  5467. ],
  5468. "tags": [
  5469. "风险管理v3"
  5470. ],
  5471. "summary": "修改客户申请",
  5472. "parameters": [
  5473. {
  5474. "description": "用户信息",
  5475. "name": "jsonBody",
  5476. "in": "body",
  5477. "required": true,
  5478. "schema": {
  5479. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5480. }
  5481. }
  5482. ],
  5483. "responses": {
  5484. "200": {
  5485. "description": "OK",
  5486. "schema": {
  5487. "$ref": "#/definitions/app.Response"
  5488. }
  5489. },
  5490. "500": {
  5491. "description": "Internal Server Error",
  5492. "schema": {
  5493. "$ref": "#/definitions/app.Response"
  5494. }
  5495. }
  5496. }
  5497. }
  5498. },
  5499. "/Erms3/QueryBusinessInfo": {
  5500. "get": {
  5501. "security": [
  5502. {
  5503. "ApiKeyAuth": []
  5504. }
  5505. ],
  5506. "produces": [
  5507. "application/json"
  5508. ],
  5509. "tags": [
  5510. "风险管理v3"
  5511. ],
  5512. "summary": "查询业务表单数据",
  5513. "parameters": [
  5514. {
  5515. "type": "string",
  5516. "description": "资金账号ID列表,用逗号分隔",
  5517. "name": "accountids",
  5518. "in": "query",
  5519. "required": true
  5520. },
  5521. {
  5522. "type": "integer",
  5523. "description": "状态,0为未结束 1为已结束",
  5524. "name": "status",
  5525. "in": "query",
  5526. "required": true
  5527. }
  5528. ],
  5529. "responses": {
  5530. "200": {
  5531. "description": "OK",
  5532. "schema": {
  5533. "type": "array",
  5534. "items": {
  5535. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5536. }
  5537. }
  5538. },
  5539. "500": {
  5540. "description": "Internal Server Error",
  5541. "schema": {
  5542. "$ref": "#/definitions/app.Response"
  5543. }
  5544. }
  5545. }
  5546. }
  5547. },
  5548. "/Erms3/QueryPendingAuditContract": {
  5549. "get": {
  5550. "security": [
  5551. {
  5552. "ApiKeyAuth": []
  5553. }
  5554. ],
  5555. "produces": [
  5556. "application/json"
  5557. ],
  5558. "tags": [
  5559. "风险管理v3"
  5560. ],
  5561. "summary": "查询待审核合同",
  5562. "parameters": [
  5563. {
  5564. "type": "string",
  5565. "description": "资金账号ID列表,逗号隔开",
  5566. "name": "accountids",
  5567. "in": "query",
  5568. "required": true
  5569. },
  5570. {
  5571. "type": "integer",
  5572. "description": "合同类型 1-采购 -1-销售",
  5573. "name": "contracttype",
  5574. "in": "query",
  5575. "required": true
  5576. },
  5577. {
  5578. "type": "integer",
  5579. "description": "合同模式 1-普通 2-回购",
  5580. "name": "contractmode",
  5581. "in": "query",
  5582. "required": true
  5583. }
  5584. ],
  5585. "responses": {
  5586. "200": {
  5587. "description": "OK",
  5588. "schema": {
  5589. "type": "array",
  5590. "items": {
  5591. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5592. }
  5593. }
  5594. },
  5595. "500": {
  5596. "description": "Internal Server Error",
  5597. "schema": {
  5598. "$ref": "#/definitions/app.Response"
  5599. }
  5600. }
  5601. }
  5602. }
  5603. },
  5604. "/Erms3/QueryPendingBusiness": {
  5605. "get": {
  5606. "security": [
  5607. {
  5608. "ApiKeyAuth": []
  5609. }
  5610. ],
  5611. "produces": [
  5612. "application/json"
  5613. ],
  5614. "tags": [
  5615. "风险管理v3"
  5616. ],
  5617. "summary": "查询待审核基差贸易业务",
  5618. "parameters": [
  5619. {
  5620. "type": "string",
  5621. "description": "资金账号ID列表,逗号隔开",
  5622. "name": "accountids",
  5623. "in": "query",
  5624. "required": true
  5625. }
  5626. ],
  5627. "responses": {
  5628. "200": {
  5629. "description": "OK",
  5630. "schema": {
  5631. "type": "array",
  5632. "items": {
  5633. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5634. }
  5635. }
  5636. },
  5637. "500": {
  5638. "description": "Internal Server Error",
  5639. "schema": {
  5640. "$ref": "#/definitions/app.Response"
  5641. }
  5642. }
  5643. }
  5644. }
  5645. },
  5646. "/Erms3/QuerySpotContractAppleForm": {
  5647. "get": {
  5648. "security": [
  5649. {
  5650. "ApiKeyAuth": []
  5651. }
  5652. ],
  5653. "produces": [
  5654. "application/json"
  5655. ],
  5656. "tags": [
  5657. "风险管理v3"
  5658. ],
  5659. "summary": "查询合同申请表单数据",
  5660. "parameters": [
  5661. {
  5662. "type": "integer",
  5663. "description": "登录账号",
  5664. "name": "loginID",
  5665. "in": "query",
  5666. "required": true
  5667. }
  5668. ],
  5669. "responses": {
  5670. "200": {
  5671. "description": "OK",
  5672. "schema": {
  5673. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5674. }
  5675. },
  5676. "500": {
  5677. "description": "Internal Server Error",
  5678. "schema": {
  5679. "$ref": "#/definitions/app.Response"
  5680. }
  5681. }
  5682. }
  5683. }
  5684. },
  5685. "/Erms3/QuerySpotContractDetail": {
  5686. "get": {
  5687. "security": [
  5688. {
  5689. "ApiKeyAuth": []
  5690. }
  5691. ],
  5692. "produces": [
  5693. "application/json"
  5694. ],
  5695. "tags": [
  5696. "风险管理v3"
  5697. ],
  5698. "summary": "查询合同详细信息",
  5699. "parameters": [
  5700. {
  5701. "type": "string",
  5702. "description": "资金账号ID列表,用逗号分隔",
  5703. "name": "accountids",
  5704. "in": "query",
  5705. "required": true
  5706. },
  5707. {
  5708. "type": "integer",
  5709. "description": "合同类型,1为采购合同 -1为销售合同",
  5710. "name": "contracttype",
  5711. "in": "query",
  5712. "required": true
  5713. },
  5714. {
  5715. "type": "integer",
  5716. "description": "合同模式,1为普通合同 2为回购销售合同",
  5717. "name": "contractmode",
  5718. "in": "query",
  5719. "required": true
  5720. },
  5721. {
  5722. "type": "integer",
  5723. "description": "状态,0为履约中 1为已完成",
  5724. "name": "status",
  5725. "in": "query",
  5726. "required": true
  5727. }
  5728. ],
  5729. "responses": {
  5730. "200": {
  5731. "description": "OK",
  5732. "schema": {
  5733. "type": "array",
  5734. "items": {
  5735. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5736. }
  5737. }
  5738. },
  5739. "500": {
  5740. "description": "Internal Server Error",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. }
  5745. }
  5746. }
  5747. },
  5748. "/Erms3/QueryUserInfoApplies": {
  5749. "get": {
  5750. "security": [
  5751. {
  5752. "ApiKeyAuth": []
  5753. }
  5754. ],
  5755. "produces": [
  5756. "application/json"
  5757. ],
  5758. "tags": [
  5759. "风险管理v3"
  5760. ],
  5761. "summary": "客户申请信息查询",
  5762. "parameters": [
  5763. {
  5764. "type": "integer",
  5765. "description": "页码",
  5766. "name": "page",
  5767. "in": "query"
  5768. },
  5769. {
  5770. "type": "integer",
  5771. "description": "每页条数",
  5772. "name": "pagesize",
  5773. "in": "query"
  5774. },
  5775. {
  5776. "type": "string",
  5777. "description": "客户名称,支持模糊查询",
  5778. "name": "userName",
  5779. "in": "query"
  5780. }
  5781. ],
  5782. "responses": {
  5783. "200": {
  5784. "description": "OK",
  5785. "schema": {
  5786. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5787. }
  5788. },
  5789. "500": {
  5790. "description": "Internal Server Error",
  5791. "schema": {
  5792. "$ref": "#/definitions/app.Response"
  5793. }
  5794. }
  5795. }
  5796. }
  5797. },
  5798. "/Erms3/QueryUserInfos": {
  5799. "get": {
  5800. "security": [
  5801. {
  5802. "ApiKeyAuth": []
  5803. }
  5804. ],
  5805. "produces": [
  5806. "application/json"
  5807. ],
  5808. "tags": [
  5809. "风险管理v3"
  5810. ],
  5811. "summary": "客户信息查询",
  5812. "parameters": [
  5813. {
  5814. "type": "integer",
  5815. "description": "页码",
  5816. "name": "page",
  5817. "in": "query"
  5818. },
  5819. {
  5820. "type": "integer",
  5821. "description": "每页条数",
  5822. "name": "pagesize",
  5823. "in": "query"
  5824. },
  5825. {
  5826. "type": "string",
  5827. "description": "客户名称,支持模糊查询",
  5828. "name": "userName",
  5829. "in": "query"
  5830. }
  5831. ],
  5832. "responses": {
  5833. "200": {
  5834. "description": "OK",
  5835. "schema": {
  5836. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5837. }
  5838. },
  5839. "500": {
  5840. "description": "Internal Server Error",
  5841. "schema": {
  5842. "$ref": "#/definitions/app.Response"
  5843. }
  5844. }
  5845. }
  5846. }
  5847. },
  5848. "/HSBY/GetHsbyMyCount": {
  5849. "get": {
  5850. "security": [
  5851. {
  5852. "ApiKeyAuth": []
  5853. }
  5854. ],
  5855. "description": "说明: 不包括已完成的数量。",
  5856. "produces": [
  5857. "application/json"
  5858. ],
  5859. "tags": [
  5860. "定制【海商报业】"
  5861. ],
  5862. "summary": "获取我的订单与包裹数量",
  5863. "parameters": [
  5864. {
  5865. "type": "string",
  5866. "description": "资金账户列表,格式:1,2,3",
  5867. "name": "accountIDs",
  5868. "in": "query",
  5869. "required": true
  5870. }
  5871. ],
  5872. "responses": {
  5873. "200": {
  5874. "description": "OK",
  5875. "schema": {
  5876. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5877. }
  5878. },
  5879. "500": {
  5880. "description": "Internal Server Error",
  5881. "schema": {
  5882. "$ref": "#/definitions/app.Response"
  5883. }
  5884. }
  5885. }
  5886. }
  5887. },
  5888. "/HSBY/QueryClientFixedADConfigs": {
  5889. "get": {
  5890. "security": [
  5891. {
  5892. "ApiKeyAuth": []
  5893. }
  5894. ],
  5895. "produces": [
  5896. "application/json"
  5897. ],
  5898. "tags": [
  5899. "定制【海商报业】"
  5900. ],
  5901. "summary": "获取终端固定广告配置",
  5902. "responses": {
  5903. "200": {
  5904. "description": "OK",
  5905. "schema": {
  5906. "$ref": "#/definitions/models.Clientfixedadconfig"
  5907. }
  5908. },
  5909. "500": {
  5910. "description": "Internal Server Error",
  5911. "schema": {
  5912. "$ref": "#/definitions/app.Response"
  5913. }
  5914. }
  5915. }
  5916. }
  5917. },
  5918. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5919. "get": {
  5920. "security": [
  5921. {
  5922. "ApiKeyAuth": []
  5923. }
  5924. ],
  5925. "produces": [
  5926. "application/json"
  5927. ],
  5928. "tags": [
  5929. "定制【海商报业】"
  5930. ],
  5931. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5932. "parameters": [
  5933. {
  5934. "type": "integer",
  5935. "description": "页码",
  5936. "name": "page",
  5937. "in": "query"
  5938. },
  5939. {
  5940. "type": "integer",
  5941. "description": "每页条数",
  5942. "name": "pagesize",
  5943. "in": "query"
  5944. },
  5945. {
  5946. "type": "string",
  5947. "description": "资金账户列表,格式:1,2,3",
  5948. "name": "accountIDs",
  5949. "in": "query",
  5950. "required": true
  5951. }
  5952. ],
  5953. "responses": {
  5954. "200": {
  5955. "description": "OK",
  5956. "schema": {
  5957. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5958. }
  5959. },
  5960. "500": {
  5961. "description": "Internal Server Error",
  5962. "schema": {
  5963. "$ref": "#/definitions/app.Response"
  5964. }
  5965. }
  5966. }
  5967. }
  5968. },
  5969. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5970. "get": {
  5971. "security": [
  5972. {
  5973. "ApiKeyAuth": []
  5974. }
  5975. ],
  5976. "description": "说明:查询结果已按委托价格和委托时间排序",
  5977. "produces": [
  5978. "application/json"
  5979. ],
  5980. "tags": [
  5981. "定制【海商报业】"
  5982. ],
  5983. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5984. "parameters": [
  5985. {
  5986. "type": "integer",
  5987. "description": "商品ID",
  5988. "name": "goodsID",
  5989. "in": "query",
  5990. "required": true
  5991. },
  5992. {
  5993. "type": "string",
  5994. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5995. "name": "accountIDs",
  5996. "in": "query"
  5997. },
  5998. {
  5999. "type": "integer",
  6000. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6001. "name": "buyOrSell",
  6002. "in": "query"
  6003. },
  6004. {
  6005. "type": "number",
  6006. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6007. "name": "price",
  6008. "in": "query"
  6009. },
  6010. {
  6011. "type": "integer",
  6012. "description": "档位,不传则默认为3档",
  6013. "name": "speed",
  6014. "in": "query"
  6015. }
  6016. ],
  6017. "responses": {
  6018. "200": {
  6019. "description": "OK",
  6020. "schema": {
  6021. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6022. }
  6023. },
  6024. "500": {
  6025. "description": "Internal Server Error",
  6026. "schema": {
  6027. "$ref": "#/definitions/app.Response"
  6028. }
  6029. }
  6030. }
  6031. }
  6032. },
  6033. "/HSBY/QueryHsbyListingGoodsDetail": {
  6034. "get": {
  6035. "security": [
  6036. {
  6037. "ApiKeyAuth": []
  6038. }
  6039. ],
  6040. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6041. "produces": [
  6042. "application/json"
  6043. ],
  6044. "tags": [
  6045. "定制【海商报业】"
  6046. ],
  6047. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6048. "parameters": [
  6049. {
  6050. "type": "integer",
  6051. "description": "商品ID",
  6052. "name": "goodsID",
  6053. "in": "query",
  6054. "required": true
  6055. },
  6056. {
  6057. "type": "integer",
  6058. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6059. "name": "accountID",
  6060. "in": "query"
  6061. }
  6062. ],
  6063. "responses": {
  6064. "200": {
  6065. "description": "OK",
  6066. "schema": {
  6067. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6068. }
  6069. },
  6070. "500": {
  6071. "description": "Internal Server Error",
  6072. "schema": {
  6073. "$ref": "#/definitions/app.Response"
  6074. }
  6075. }
  6076. }
  6077. }
  6078. },
  6079. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6080. "get": {
  6081. "security": [
  6082. {
  6083. "ApiKeyAuth": []
  6084. }
  6085. ],
  6086. "produces": [
  6087. "application/json"
  6088. ],
  6089. "tags": [
  6090. "定制【海商报业】"
  6091. ],
  6092. "summary": "查询三级市场(商城)商品信息详情",
  6093. "parameters": [
  6094. {
  6095. "type": "integer",
  6096. "description": "委托单号",
  6097. "name": "orderID",
  6098. "in": "query",
  6099. "required": true
  6100. },
  6101. {
  6102. "type": "integer",
  6103. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6104. "name": "accountID",
  6105. "in": "query"
  6106. }
  6107. ],
  6108. "responses": {
  6109. "200": {
  6110. "description": "OK",
  6111. "schema": {
  6112. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6113. }
  6114. },
  6115. "500": {
  6116. "description": "Internal Server Error",
  6117. "schema": {
  6118. "$ref": "#/definitions/app.Response"
  6119. }
  6120. }
  6121. }
  6122. }
  6123. },
  6124. "/HSBY/QueryHsbyMarketGoodses": {
  6125. "get": {
  6126. "security": [
  6127. {
  6128. "ApiKeyAuth": []
  6129. }
  6130. ],
  6131. "produces": [
  6132. "application/json"
  6133. ],
  6134. "tags": [
  6135. "定制【海商报业】"
  6136. ],
  6137. "summary": "查询特卖商品列表(三级商城)",
  6138. "parameters": [
  6139. {
  6140. "type": "integer",
  6141. "description": "页码",
  6142. "name": "page",
  6143. "in": "query"
  6144. },
  6145. {
  6146. "type": "integer",
  6147. "description": "每页条数",
  6148. "name": "pagesize",
  6149. "in": "query"
  6150. },
  6151. {
  6152. "type": "string",
  6153. "description": "市场ID列表,格式:1,2,3",
  6154. "name": "marketIDs",
  6155. "in": "query",
  6156. "required": true
  6157. },
  6158. {
  6159. "type": "integer",
  6160. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6161. "name": "accountID",
  6162. "in": "query",
  6163. "required": true
  6164. },
  6165. {
  6166. "type": "integer",
  6167. "description": "类别ID",
  6168. "name": "categoryID",
  6169. "in": "query"
  6170. },
  6171. {
  6172. "type": "string",
  6173. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6174. "name": "goodsIDs",
  6175. "in": "query"
  6176. },
  6177. {
  6178. "type": "integer",
  6179. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6180. "name": "couponTypeID",
  6181. "in": "query"
  6182. }
  6183. ],
  6184. "responses": {
  6185. "200": {
  6186. "description": "OK",
  6187. "schema": {
  6188. "$ref": "#/definitions/models.HsbyMarketGoods"
  6189. }
  6190. },
  6191. "500": {
  6192. "description": "Internal Server Error",
  6193. "schema": {
  6194. "$ref": "#/definitions/app.Response"
  6195. }
  6196. }
  6197. }
  6198. }
  6199. },
  6200. "/HSBY/QueryHsbyMarkets": {
  6201. "get": {
  6202. "security": [
  6203. {
  6204. "ApiKeyAuth": []
  6205. }
  6206. ],
  6207. "produces": [
  6208. "application/json"
  6209. ],
  6210. "tags": [
  6211. "定制【海商报业】"
  6212. ],
  6213. "summary": "查询海商报业相关市场信息",
  6214. "responses": {
  6215. "200": {
  6216. "description": "OK",
  6217. "schema": {
  6218. "$ref": "#/definitions/models.HsbyMarketInfo"
  6219. }
  6220. },
  6221. "500": {
  6222. "description": "Internal Server Error",
  6223. "schema": {
  6224. "$ref": "#/definitions/app.Response"
  6225. }
  6226. }
  6227. }
  6228. }
  6229. },
  6230. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6231. "get": {
  6232. "security": [
  6233. {
  6234. "ApiKeyAuth": []
  6235. }
  6236. ],
  6237. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6238. "produces": [
  6239. "application/json"
  6240. ],
  6241. "tags": [
  6242. "定制【海商报业】"
  6243. ],
  6244. "summary": "查询“我的订单”信息",
  6245. "parameters": [
  6246. {
  6247. "type": "string",
  6248. "description": "资金账户列表,格式:1,2,3",
  6249. "name": "accountIDs",
  6250. "in": "query",
  6251. "required": true
  6252. }
  6253. ],
  6254. "responses": {
  6255. "200": {
  6256. "description": "OK",
  6257. "schema": {
  6258. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6259. }
  6260. },
  6261. "500": {
  6262. "description": "Internal Server Error",
  6263. "schema": {
  6264. "$ref": "#/definitions/app.Response"
  6265. }
  6266. }
  6267. }
  6268. }
  6269. },
  6270. "/HSBY/QueryHsbyMyGoods": {
  6271. "get": {
  6272. "security": [
  6273. {
  6274. "ApiKeyAuth": []
  6275. }
  6276. ],
  6277. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6278. "produces": [
  6279. "application/json"
  6280. ],
  6281. "tags": [
  6282. "定制【海商报业】"
  6283. ],
  6284. "summary": "查询“我的商品”信息",
  6285. "parameters": [
  6286. {
  6287. "type": "string",
  6288. "description": "资金账户列表,格式:1,2,3",
  6289. "name": "accountIDs",
  6290. "in": "query",
  6291. "required": true
  6292. }
  6293. ],
  6294. "responses": {
  6295. "200": {
  6296. "description": "OK",
  6297. "schema": {
  6298. "$ref": "#/definitions/models.HsbyMyGoods"
  6299. }
  6300. },
  6301. "500": {
  6302. "description": "Internal Server Error",
  6303. "schema": {
  6304. "$ref": "#/definitions/app.Response"
  6305. }
  6306. }
  6307. }
  6308. }
  6309. },
  6310. "/HSBY/QueryHsbyMyPackages": {
  6311. "get": {
  6312. "security": [
  6313. {
  6314. "ApiKeyAuth": []
  6315. }
  6316. ],
  6317. "produces": [
  6318. "application/json"
  6319. ],
  6320. "tags": [
  6321. "定制【海商报业】"
  6322. ],
  6323. "summary": "查询我的包裹信息",
  6324. "parameters": [
  6325. {
  6326. "type": "string",
  6327. "description": "资金账户列表,格式:1,2,3",
  6328. "name": "accountIDs",
  6329. "in": "query",
  6330. "required": true
  6331. },
  6332. {
  6333. "type": "integer",
  6334. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6335. "name": "takeOrderStatus",
  6336. "in": "query"
  6337. }
  6338. ],
  6339. "responses": {
  6340. "200": {
  6341. "description": "OK",
  6342. "schema": {
  6343. "$ref": "#/definitions/models.HsbyMyPackage"
  6344. }
  6345. },
  6346. "500": {
  6347. "description": "Internal Server Error",
  6348. "schema": {
  6349. "$ref": "#/definitions/app.Response"
  6350. }
  6351. }
  6352. }
  6353. }
  6354. },
  6355. "/HSBY/QueryHsbyPreGoodsDetail": {
  6356. "get": {
  6357. "security": [
  6358. {
  6359. "ApiKeyAuth": []
  6360. }
  6361. ],
  6362. "produces": [
  6363. "application/json"
  6364. ],
  6365. "tags": [
  6366. "定制【海商报业】"
  6367. ],
  6368. "summary": "查询一级市场(预售)商品信息详情",
  6369. "parameters": [
  6370. {
  6371. "type": "integer",
  6372. "description": "商品ID",
  6373. "name": "goodsID",
  6374. "in": "query",
  6375. "required": true
  6376. },
  6377. {
  6378. "type": "integer",
  6379. "description": "资金账户,主要用于获取预售商品购买上限",
  6380. "name": "accountID",
  6381. "in": "query"
  6382. }
  6383. ],
  6384. "responses": {
  6385. "200": {
  6386. "description": "OK",
  6387. "schema": {
  6388. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6389. }
  6390. },
  6391. "500": {
  6392. "description": "Internal Server Error",
  6393. "schema": {
  6394. "$ref": "#/definitions/app.Response"
  6395. }
  6396. }
  6397. }
  6398. }
  6399. },
  6400. "/HSBY/QueryHsbyPreGoodses": {
  6401. "get": {
  6402. "security": [
  6403. {
  6404. "ApiKeyAuth": []
  6405. }
  6406. ],
  6407. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6408. "produces": [
  6409. "application/json"
  6410. ],
  6411. "tags": [
  6412. "定制【海商报业】"
  6413. ],
  6414. "summary": "查询新品上市商品列表(一级市场预售)",
  6415. "parameters": [
  6416. {
  6417. "type": "integer",
  6418. "description": "页码",
  6419. "name": "page",
  6420. "in": "query"
  6421. },
  6422. {
  6423. "type": "integer",
  6424. "description": "每页条数",
  6425. "name": "pagesize",
  6426. "in": "query"
  6427. },
  6428. {
  6429. "type": "string",
  6430. "description": "市场ID列表,格式:1,2,3",
  6431. "name": "marketIDs",
  6432. "in": "query",
  6433. "required": true
  6434. },
  6435. {
  6436. "type": "integer",
  6437. "description": "目的地(省)ID",
  6438. "name": "descProvinceID",
  6439. "in": "query"
  6440. },
  6441. {
  6442. "type": "integer",
  6443. "description": "目的地(市)ID",
  6444. "name": "descCityID",
  6445. "in": "query"
  6446. }
  6447. ],
  6448. "responses": {
  6449. "200": {
  6450. "description": "OK",
  6451. "schema": {
  6452. "$ref": "#/definitions/models.HsbyPreGoods"
  6453. }
  6454. },
  6455. "500": {
  6456. "description": "Internal Server Error",
  6457. "schema": {
  6458. "$ref": "#/definitions/app.Response"
  6459. }
  6460. }
  6461. }
  6462. }
  6463. },
  6464. "/HSBY/QueryHsbySellMyDetails": {
  6465. "get": {
  6466. "security": [
  6467. {
  6468. "ApiKeyAuth": []
  6469. }
  6470. ],
  6471. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6472. "produces": [
  6473. "application/json"
  6474. ],
  6475. "tags": [
  6476. "定制【海商报业】"
  6477. ],
  6478. "summary": "查询\"我的闲置\"单据信息",
  6479. "parameters": [
  6480. {
  6481. "type": "integer",
  6482. "description": "页码",
  6483. "name": "page",
  6484. "in": "query"
  6485. },
  6486. {
  6487. "type": "integer",
  6488. "description": "每页条数",
  6489. "name": "pagesize",
  6490. "in": "query"
  6491. },
  6492. {
  6493. "type": "string",
  6494. "description": "资金账户列表,格式:1,2,3",
  6495. "name": "accountIDs",
  6496. "in": "query",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "integer",
  6501. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6502. "name": "orderType",
  6503. "in": "query"
  6504. }
  6505. ],
  6506. "responses": {
  6507. "200": {
  6508. "description": "OK",
  6509. "schema": {
  6510. "$ref": "#/definitions/models.HsbySellMyDetail"
  6511. }
  6512. },
  6513. "500": {
  6514. "description": "Internal Server Error",
  6515. "schema": {
  6516. "$ref": "#/definitions/app.Response"
  6517. }
  6518. }
  6519. }
  6520. }
  6521. },
  6522. "/HSBY/QueryHsbyTopGoodses": {
  6523. "get": {
  6524. "security": [
  6525. {
  6526. "ApiKeyAuth": []
  6527. }
  6528. ],
  6529. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6530. "produces": [
  6531. "application/json"
  6532. ],
  6533. "tags": [
  6534. "定制【海商报业】"
  6535. ],
  6536. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6537. "parameters": [
  6538. {
  6539. "type": "integer",
  6540. "description": "页码",
  6541. "name": "page",
  6542. "in": "query"
  6543. },
  6544. {
  6545. "type": "integer",
  6546. "description": "每页条数",
  6547. "name": "pagesize",
  6548. "in": "query"
  6549. },
  6550. {
  6551. "type": "string",
  6552. "description": "市场ID列表,格式:1,2,3",
  6553. "name": "marketIDs",
  6554. "in": "query",
  6555. "required": true
  6556. },
  6557. {
  6558. "type": "integer",
  6559. "description": "目的地(省)ID",
  6560. "name": "descProvinceID",
  6561. "in": "query"
  6562. },
  6563. {
  6564. "type": "integer",
  6565. "description": "目的地(市)ID",
  6566. "name": "descCityID",
  6567. "in": "query"
  6568. }
  6569. ],
  6570. "responses": {
  6571. "200": {
  6572. "description": "OK",
  6573. "schema": {
  6574. "$ref": "#/definitions/models.HsbyTopGoods"
  6575. }
  6576. },
  6577. "500": {
  6578. "description": "Internal Server Error",
  6579. "schema": {
  6580. "$ref": "#/definitions/app.Response"
  6581. }
  6582. }
  6583. }
  6584. }
  6585. },
  6586. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6587. "get": {
  6588. "security": [
  6589. {
  6590. "ApiKeyAuth": []
  6591. }
  6592. ],
  6593. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6594. "produces": [
  6595. "application/json"
  6596. ],
  6597. "tags": [
  6598. "定制【海商报业】"
  6599. ],
  6600. "summary": "查询游客三级市场(商城)商品信息详情",
  6601. "parameters": [
  6602. {
  6603. "type": "integer",
  6604. "description": "商品ID",
  6605. "name": "goodsID",
  6606. "in": "query",
  6607. "required": true
  6608. }
  6609. ],
  6610. "responses": {
  6611. "200": {
  6612. "description": "OK",
  6613. "schema": {
  6614. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6615. }
  6616. },
  6617. "500": {
  6618. "description": "Internal Server Error",
  6619. "schema": {
  6620. "$ref": "#/definitions/app.Response"
  6621. }
  6622. }
  6623. }
  6624. }
  6625. },
  6626. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6627. "get": {
  6628. "security": [
  6629. {
  6630. "ApiKeyAuth": []
  6631. }
  6632. ],
  6633. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6634. "produces": [
  6635. "application/json"
  6636. ],
  6637. "tags": [
  6638. "定制【海商报业】"
  6639. ],
  6640. "summary": "查询游客特卖商品列表(三级商城)",
  6641. "parameters": [
  6642. {
  6643. "type": "integer",
  6644. "description": "页码",
  6645. "name": "page",
  6646. "in": "query"
  6647. },
  6648. {
  6649. "type": "integer",
  6650. "description": "每页条数",
  6651. "name": "pagesize",
  6652. "in": "query"
  6653. },
  6654. {
  6655. "type": "string",
  6656. "description": "市场ID列表,格式:1,2,3",
  6657. "name": "marketIDs",
  6658. "in": "query",
  6659. "required": true
  6660. },
  6661. {
  6662. "type": "integer",
  6663. "description": "类别ID",
  6664. "name": "categoryID",
  6665. "in": "query"
  6666. },
  6667. {
  6668. "type": "string",
  6669. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6670. "name": "goodsIDs",
  6671. "in": "query"
  6672. }
  6673. ],
  6674. "responses": {
  6675. "200": {
  6676. "description": "OK",
  6677. "schema": {
  6678. "$ref": "#/definitions/models.HsbyMarketGoods"
  6679. }
  6680. },
  6681. "500": {
  6682. "description": "Internal Server Error",
  6683. "schema": {
  6684. "$ref": "#/definitions/app.Response"
  6685. }
  6686. }
  6687. }
  6688. }
  6689. },
  6690. "/HSBY/QueryMyCollectionOrders": {
  6691. "get": {
  6692. "security": [
  6693. {
  6694. "ApiKeyAuth": []
  6695. }
  6696. ],
  6697. "produces": [
  6698. "application/json"
  6699. ],
  6700. "tags": [
  6701. "定制【海商报业】"
  6702. ],
  6703. "summary": "我的闲置中收款信息查询",
  6704. "parameters": [
  6705. {
  6706. "type": "integer",
  6707. "description": "页码",
  6708. "name": "page",
  6709. "in": "query"
  6710. },
  6711. {
  6712. "type": "integer",
  6713. "description": "每页条数",
  6714. "name": "pagesize",
  6715. "in": "query"
  6716. },
  6717. {
  6718. "type": "string",
  6719. "description": "资金账户,格式:1,2,3",
  6720. "name": "accountIDs",
  6721. "in": "query",
  6722. "required": true
  6723. }
  6724. ],
  6725. "responses": {
  6726. "200": {
  6727. "description": "OK",
  6728. "schema": {
  6729. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6730. }
  6731. },
  6732. "500": {
  6733. "description": "Internal Server Error",
  6734. "schema": {
  6735. "$ref": "#/definitions/app.Response"
  6736. }
  6737. }
  6738. }
  6739. }
  6740. },
  6741. "/HSBY/QueryMyCouponHolds": {
  6742. "get": {
  6743. "security": [
  6744. {
  6745. "ApiKeyAuth": []
  6746. }
  6747. ],
  6748. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6749. "produces": [
  6750. "application/json"
  6751. ],
  6752. "tags": [
  6753. "定制【海商报业】"
  6754. ],
  6755. "summary": "我的优惠卷持仓查询",
  6756. "parameters": [
  6757. {
  6758. "type": "string",
  6759. "description": "资金账户列表,格式:1,2,3",
  6760. "name": "accountIDs",
  6761. "in": "query",
  6762. "required": true
  6763. },
  6764. {
  6765. "type": "string",
  6766. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6767. "name": "holdStatus",
  6768. "in": "query"
  6769. }
  6770. ],
  6771. "responses": {
  6772. "200": {
  6773. "description": "OK",
  6774. "schema": {
  6775. "$ref": "#/definitions/models.MyCouponHold"
  6776. }
  6777. },
  6778. "500": {
  6779. "description": "Internal Server Error",
  6780. "schema": {
  6781. "$ref": "#/definitions/app.Response"
  6782. }
  6783. }
  6784. }
  6785. }
  6786. },
  6787. "/HSBY/QueryMyCoupons": {
  6788. "get": {
  6789. "security": [
  6790. {
  6791. "ApiKeyAuth": []
  6792. }
  6793. ],
  6794. "produces": [
  6795. "application/json"
  6796. ],
  6797. "tags": [
  6798. "定制【海商报业】"
  6799. ],
  6800. "summary": "我的优惠卷查询",
  6801. "parameters": [
  6802. {
  6803. "type": "string",
  6804. "description": "资金账户列表,格式:1,2,3",
  6805. "name": "accountIDs",
  6806. "in": "query",
  6807. "required": true
  6808. },
  6809. {
  6810. "type": "integer",
  6811. "description": "商品ID, 一般与sellUserID配套传入",
  6812. "name": "goodsID",
  6813. "in": "query"
  6814. },
  6815. {
  6816. "type": "integer",
  6817. "description": "卖方UserID",
  6818. "name": "sellUserID",
  6819. "in": "query"
  6820. }
  6821. ],
  6822. "responses": {
  6823. "200": {
  6824. "description": "OK",
  6825. "schema": {
  6826. "$ref": "#/definitions/models.MyCoupon"
  6827. }
  6828. },
  6829. "500": {
  6830. "description": "Internal Server Error",
  6831. "schema": {
  6832. "$ref": "#/definitions/app.Response"
  6833. }
  6834. }
  6835. }
  6836. }
  6837. },
  6838. "/HSBY/QueryMyPayOrders": {
  6839. "get": {
  6840. "security": [
  6841. {
  6842. "ApiKeyAuth": []
  6843. }
  6844. ],
  6845. "produces": [
  6846. "application/json"
  6847. ],
  6848. "tags": [
  6849. "定制【海商报业】"
  6850. ],
  6851. "summary": "获取我的订单中待付款信息",
  6852. "parameters": [
  6853. {
  6854. "type": "integer",
  6855. "description": "页码",
  6856. "name": "page",
  6857. "in": "query"
  6858. },
  6859. {
  6860. "type": "integer",
  6861. "description": "每页条数",
  6862. "name": "pagesize",
  6863. "in": "query"
  6864. },
  6865. {
  6866. "type": "string",
  6867. "description": "资金账户列表,格式:1,2,3",
  6868. "name": "accountIDs",
  6869. "in": "query",
  6870. "required": true
  6871. },
  6872. {
  6873. "type": "integer",
  6874. "description": "买方委托单号",
  6875. "name": "buyOrderID",
  6876. "in": "query"
  6877. },
  6878. {
  6879. "type": "integer",
  6880. "description": "卖方委托单号",
  6881. "name": "sellOrderID",
  6882. "in": "query"
  6883. }
  6884. ],
  6885. "responses": {
  6886. "200": {
  6887. "description": "OK",
  6888. "schema": {
  6889. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6890. }
  6891. },
  6892. "500": {
  6893. "description": "Internal Server Error",
  6894. "schema": {
  6895. "$ref": "#/definitions/app.Response"
  6896. }
  6897. }
  6898. }
  6899. }
  6900. },
  6901. "/HSBY/QueryMyUsedCoupon": {
  6902. "get": {
  6903. "security": [
  6904. {
  6905. "ApiKeyAuth": []
  6906. }
  6907. ],
  6908. "produces": [
  6909. "application/json"
  6910. ],
  6911. "tags": [
  6912. "定制【海商报业】"
  6913. ],
  6914. "summary": "已使用优惠卷查询",
  6915. "parameters": [
  6916. {
  6917. "type": "string",
  6918. "description": "资金账户列表,格式:1,2,3",
  6919. "name": "accountIDs",
  6920. "in": "query",
  6921. "required": true
  6922. }
  6923. ],
  6924. "responses": {
  6925. "200": {
  6926. "description": "OK",
  6927. "schema": {
  6928. "$ref": "#/definitions/models.MyUsedCoupon"
  6929. }
  6930. },
  6931. "500": {
  6932. "description": "Internal Server Error",
  6933. "schema": {
  6934. "$ref": "#/definitions/app.Response"
  6935. }
  6936. }
  6937. }
  6938. }
  6939. },
  6940. "/HSBY/QueryProvincesAndCities": {
  6941. "get": {
  6942. "security": [
  6943. {
  6944. "ApiKeyAuth": []
  6945. }
  6946. ],
  6947. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6948. "produces": [
  6949. "application/json"
  6950. ],
  6951. "tags": [
  6952. "定制【海商报业】"
  6953. ],
  6954. "summary": "查询省市信息(不包括区)",
  6955. "parameters": [
  6956. {
  6957. "type": "integer",
  6958. "description": "省ID",
  6959. "name": "provinceID",
  6960. "in": "query"
  6961. }
  6962. ],
  6963. "responses": {
  6964. "200": {
  6965. "description": "OK",
  6966. "schema": {
  6967. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6968. }
  6969. },
  6970. "500": {
  6971. "description": "Internal Server Error",
  6972. "schema": {
  6973. "$ref": "#/definitions/app.Response"
  6974. }
  6975. }
  6976. }
  6977. }
  6978. },
  6979. "/HSBY/SetHsbyMyPackagesStatus": {
  6980. "post": {
  6981. "security": [
  6982. {
  6983. "ApiKeyAuth": []
  6984. }
  6985. ],
  6986. "produces": [
  6987. "application/json"
  6988. ],
  6989. "tags": [
  6990. "定制【海商报业】"
  6991. ],
  6992. "summary": "设置我的包裹已收货状态",
  6993. "parameters": [
  6994. {
  6995. "type": "string",
  6996. "description": "提货单号",
  6997. "name": "takeOrderID",
  6998. "in": "query",
  6999. "required": true
  7000. },
  7001. {
  7002. "type": "integer",
  7003. "description": "资金账号",
  7004. "name": "accountID",
  7005. "in": "query",
  7006. "required": true
  7007. }
  7008. ],
  7009. "responses": {
  7010. "200": {
  7011. "description": "OK",
  7012. "schema": {
  7013. "$ref": "#/definitions/app.Response"
  7014. }
  7015. },
  7016. "500": {
  7017. "description": "Internal Server Error",
  7018. "schema": {
  7019. "$ref": "#/definitions/app.Response"
  7020. }
  7021. }
  7022. }
  7023. }
  7024. },
  7025. "/Market/GetAllExExchanges": {
  7026. "get": {
  7027. "security": [
  7028. {
  7029. "ApiKeyAuth": []
  7030. }
  7031. ],
  7032. "produces": [
  7033. "application/json"
  7034. ],
  7035. "tags": [
  7036. "通用市场"
  7037. ],
  7038. "summary": "获取所有外部交易所信息",
  7039. "responses": {
  7040. "200": {
  7041. "description": "OK",
  7042. "schema": {
  7043. "$ref": "#/definitions/models.Goods"
  7044. }
  7045. },
  7046. "500": {
  7047. "description": "Internal Server Error",
  7048. "schema": {
  7049. "$ref": "#/definitions/app.Response"
  7050. }
  7051. }
  7052. }
  7053. }
  7054. },
  7055. "/Market/QueryGoodsesByLoginID": {
  7056. "get": {
  7057. "security": [
  7058. {
  7059. "ApiKeyAuth": []
  7060. }
  7061. ],
  7062. "produces": [
  7063. "application/json"
  7064. ],
  7065. "tags": [
  7066. "通用市场"
  7067. ],
  7068. "summary": "获取登录账号有权限的商品信息",
  7069. "parameters": [
  7070. {
  7071. "type": "integer",
  7072. "description": "登录账号",
  7073. "name": "loginID",
  7074. "in": "query",
  7075. "required": true
  7076. },
  7077. {
  7078. "type": "string",
  7079. "description": "市场ID列表,格式:1,2,3",
  7080. "name": "marketIDs",
  7081. "in": "query"
  7082. }
  7083. ],
  7084. "responses": {
  7085. "200": {
  7086. "description": "OK",
  7087. "schema": {
  7088. "$ref": "#/definitions/models.Goods"
  7089. }
  7090. },
  7091. "500": {
  7092. "description": "Internal Server Error",
  7093. "schema": {
  7094. "$ref": "#/definitions/app.Response"
  7095. }
  7096. }
  7097. }
  7098. }
  7099. },
  7100. "/Market/QueryMarketRun": {
  7101. "get": {
  7102. "security": [
  7103. {
  7104. "ApiKeyAuth": []
  7105. }
  7106. ],
  7107. "produces": [
  7108. "application/json"
  7109. ],
  7110. "tags": [
  7111. "通用市场"
  7112. ],
  7113. "summary": "查询市场运行信息",
  7114. "parameters": [
  7115. {
  7116. "type": "integer",
  7117. "description": "市场ID,不传返回所有",
  7118. "name": "marketID",
  7119. "in": "query"
  7120. }
  7121. ],
  7122. "responses": {
  7123. "200": {
  7124. "description": "OK",
  7125. "schema": {
  7126. "$ref": "#/definitions/models.Marketrun"
  7127. }
  7128. },
  7129. "500": {
  7130. "description": "Internal Server Error",
  7131. "schema": {
  7132. "$ref": "#/definitions/app.Response"
  7133. }
  7134. }
  7135. }
  7136. }
  7137. },
  7138. "/Market/QueryMarketsByLoginID": {
  7139. "get": {
  7140. "security": [
  7141. {
  7142. "ApiKeyAuth": []
  7143. }
  7144. ],
  7145. "produces": [
  7146. "application/json"
  7147. ],
  7148. "tags": [
  7149. "通用市场"
  7150. ],
  7151. "summary": "获取登录账号有权限的市场信息",
  7152. "parameters": [
  7153. {
  7154. "type": "integer",
  7155. "description": "登录账号",
  7156. "name": "loginID",
  7157. "in": "query",
  7158. "required": true
  7159. }
  7160. ],
  7161. "responses": {
  7162. "200": {
  7163. "description": "OK",
  7164. "schema": {
  7165. "$ref": "#/definitions/models.Market"
  7166. }
  7167. },
  7168. "500": {
  7169. "description": "Internal Server Error",
  7170. "schema": {
  7171. "$ref": "#/definitions/app.Response"
  7172. }
  7173. }
  7174. }
  7175. }
  7176. },
  7177. "/Order/QueryHisTradeDetail": {
  7178. "get": {
  7179. "security": [
  7180. {
  7181. "ApiKeyAuth": []
  7182. }
  7183. ],
  7184. "produces": [
  7185. "application/json"
  7186. ],
  7187. "tags": [
  7188. "通用单据"
  7189. ],
  7190. "summary": "历史成交单查询(合约市场)",
  7191. "parameters": [
  7192. {
  7193. "type": "string",
  7194. "description": "资金账户 - 格式:1,2,3",
  7195. "name": "accountID",
  7196. "in": "query",
  7197. "required": true
  7198. },
  7199. {
  7200. "type": "integer",
  7201. "description": "成交单号",
  7202. "name": "tradeID",
  7203. "in": "query"
  7204. },
  7205. {
  7206. "type": "integer",
  7207. "description": "委托单号",
  7208. "name": "orderID",
  7209. "in": "query"
  7210. },
  7211. {
  7212. "type": "integer",
  7213. "description": "商品ID",
  7214. "name": "goodsID",
  7215. "in": "query"
  7216. },
  7217. {
  7218. "type": "string",
  7219. "description": "交易模式 - 格式:1,2,3",
  7220. "name": "tradeMode",
  7221. "in": "query"
  7222. },
  7223. {
  7224. "type": "integer",
  7225. "description": "委托单据类型",
  7226. "name": "buildType",
  7227. "in": "query"
  7228. },
  7229. {
  7230. "type": "string",
  7231. "description": "成交类别 - 格式:1,2,3",
  7232. "name": "tradeType",
  7233. "in": "query"
  7234. },
  7235. {
  7236. "type": "string",
  7237. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7238. "name": "startDate",
  7239. "in": "query"
  7240. },
  7241. {
  7242. "type": "string",
  7243. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7244. "name": "endDate",
  7245. "in": "query"
  7246. }
  7247. ],
  7248. "responses": {
  7249. "200": {
  7250. "description": "OK",
  7251. "schema": {
  7252. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7253. }
  7254. },
  7255. "500": {
  7256. "description": "Internal Server Error",
  7257. "schema": {
  7258. "$ref": "#/definitions/app.Response"
  7259. }
  7260. }
  7261. }
  7262. }
  7263. },
  7264. "/Order/QueryHisTradeOrderDetail": {
  7265. "get": {
  7266. "security": [
  7267. {
  7268. "ApiKeyAuth": []
  7269. }
  7270. ],
  7271. "produces": [
  7272. "application/json"
  7273. ],
  7274. "tags": [
  7275. "通用单据"
  7276. ],
  7277. "summary": "历史委托单查询请求(合约市场)",
  7278. "parameters": [
  7279. {
  7280. "type": "string",
  7281. "description": "资金账户 - 格式:1,2,3",
  7282. "name": "accountID",
  7283. "in": "query",
  7284. "required": true
  7285. },
  7286. {
  7287. "type": "string",
  7288. "description": "交易模式 - 格式:1,2,3",
  7289. "name": "tradeMode",
  7290. "in": "query"
  7291. },
  7292. {
  7293. "type": "string",
  7294. "description": "委托状态 - 格式:1,2,3",
  7295. "name": "orderStatus",
  7296. "in": "query"
  7297. },
  7298. {
  7299. "type": "integer",
  7300. "description": "委托单号",
  7301. "name": "orderID",
  7302. "in": "query"
  7303. },
  7304. {
  7305. "type": "string",
  7306. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7307. "name": "startDate",
  7308. "in": "query"
  7309. },
  7310. {
  7311. "type": "string",
  7312. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7313. "name": "endDate",
  7314. "in": "query"
  7315. }
  7316. ],
  7317. "responses": {
  7318. "200": {
  7319. "description": "OK",
  7320. "schema": {
  7321. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7322. }
  7323. },
  7324. "500": {
  7325. "description": "Internal Server Error",
  7326. "schema": {
  7327. "$ref": "#/definitions/app.Response"
  7328. }
  7329. }
  7330. }
  7331. }
  7332. },
  7333. "/Order/QueryTradeDetail": {
  7334. "get": {
  7335. "security": [
  7336. {
  7337. "ApiKeyAuth": []
  7338. }
  7339. ],
  7340. "produces": [
  7341. "application/json"
  7342. ],
  7343. "tags": [
  7344. "通用单据"
  7345. ],
  7346. "summary": "成交单查询(合约市场)",
  7347. "parameters": [
  7348. {
  7349. "type": "string",
  7350. "description": "资金账户 - 格式:1,2,3",
  7351. "name": "accountID",
  7352. "in": "query",
  7353. "required": true
  7354. },
  7355. {
  7356. "type": "integer",
  7357. "description": "成交单号",
  7358. "name": "tradeID",
  7359. "in": "query"
  7360. },
  7361. {
  7362. "type": "integer",
  7363. "description": "委托单号",
  7364. "name": "orderID",
  7365. "in": "query"
  7366. },
  7367. {
  7368. "type": "string",
  7369. "description": "交易模式 - 格式:1,2,3",
  7370. "name": "tradeMode",
  7371. "in": "query"
  7372. },
  7373. {
  7374. "type": "integer",
  7375. "description": "委托单据类型",
  7376. "name": "buildType",
  7377. "in": "query"
  7378. },
  7379. {
  7380. "type": "string",
  7381. "description": "成交类别 - 格式:1,2,3",
  7382. "name": "tradeType",
  7383. "in": "query"
  7384. },
  7385. {
  7386. "type": "integer",
  7387. "description": "商品ID",
  7388. "name": "goodsID",
  7389. "in": "query"
  7390. }
  7391. ],
  7392. "responses": {
  7393. "200": {
  7394. "description": "OK",
  7395. "schema": {
  7396. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7397. }
  7398. },
  7399. "500": {
  7400. "description": "Internal Server Error",
  7401. "schema": {
  7402. "$ref": "#/definitions/app.Response"
  7403. }
  7404. }
  7405. }
  7406. }
  7407. },
  7408. "/Order/QueryTradeHolderDetail": {
  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. },
  7429. {
  7430. "type": "string",
  7431. "description": "资金账号, 格式 1,2,3",
  7432. "name": "accids",
  7433. "in": "query"
  7434. },
  7435. {
  7436. "type": "string",
  7437. "description": "交易模式, 格式 1,2,3",
  7438. "name": "trademodes",
  7439. "in": "query"
  7440. },
  7441. {
  7442. "type": "string",
  7443. "description": "市场id, 格式 1,2,3",
  7444. "name": "marketids",
  7445. "in": "query"
  7446. },
  7447. {
  7448. "type": "integer",
  7449. "description": "商品id",
  7450. "name": "goodsid",
  7451. "in": "query"
  7452. },
  7453. {
  7454. "type": "integer",
  7455. "description": "买卖方向 0-买 1-卖",
  7456. "name": "buyorsell",
  7457. "in": "query"
  7458. }
  7459. ],
  7460. "responses": {
  7461. "200": {
  7462. "description": "OK",
  7463. "schema": {
  7464. "type": "array",
  7465. "items": {
  7466. "$ref": "#/definitions/models.TradeHolderDetail"
  7467. }
  7468. }
  7469. },
  7470. "500": {
  7471. "description": "Internal Server Error",
  7472. "schema": {
  7473. "$ref": "#/definitions/app.Response"
  7474. }
  7475. }
  7476. }
  7477. }
  7478. },
  7479. "/Order/QueryTradeOrderDetail": {
  7480. "get": {
  7481. "security": [
  7482. {
  7483. "ApiKeyAuth": []
  7484. }
  7485. ],
  7486. "produces": [
  7487. "application/json"
  7488. ],
  7489. "tags": [
  7490. "通用单据"
  7491. ],
  7492. "summary": "委托单查询请求(合约市场)",
  7493. "parameters": [
  7494. {
  7495. "type": "string",
  7496. "description": "资金账户 - 格式:1,2,3",
  7497. "name": "accountID",
  7498. "in": "query",
  7499. "required": true
  7500. },
  7501. {
  7502. "type": "string",
  7503. "description": "交易模式 - 格式:1,2,3",
  7504. "name": "tradeMode",
  7505. "in": "query"
  7506. },
  7507. {
  7508. "type": "string",
  7509. "description": "委托状态 - 格式:1,2,3",
  7510. "name": "orderStatus",
  7511. "in": "query"
  7512. },
  7513. {
  7514. "type": "integer",
  7515. "description": "委托单号",
  7516. "name": "orderID",
  7517. "in": "query"
  7518. }
  7519. ],
  7520. "responses": {
  7521. "200": {
  7522. "description": "OK",
  7523. "schema": {
  7524. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7525. }
  7526. },
  7527. "500": {
  7528. "description": "Internal Server Error",
  7529. "schema": {
  7530. "$ref": "#/definitions/app.Response"
  7531. }
  7532. }
  7533. }
  7534. }
  7535. },
  7536. "/Order/QueryTradePosition": {
  7537. "get": {
  7538. "security": [
  7539. {
  7540. "ApiKeyAuth": []
  7541. }
  7542. ],
  7543. "produces": [
  7544. "application/json"
  7545. ],
  7546. "tags": [
  7547. "通用单据"
  7548. ],
  7549. "summary": "持仓汇总查询(合约市场)",
  7550. "parameters": [
  7551. {
  7552. "type": "string",
  7553. "description": "资金账户 - 格式:1,2,3",
  7554. "name": "accountID",
  7555. "in": "query",
  7556. "required": true
  7557. },
  7558. {
  7559. "type": "string",
  7560. "description": "交易模式 - 格式:1,2,3",
  7561. "name": "tradeMode",
  7562. "in": "query"
  7563. }
  7564. ],
  7565. "responses": {
  7566. "200": {
  7567. "description": "OK",
  7568. "schema": {
  7569. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7570. }
  7571. },
  7572. "500": {
  7573. "description": "Internal Server Error",
  7574. "schema": {
  7575. "$ref": "#/definitions/app.Response"
  7576. }
  7577. }
  7578. }
  7579. }
  7580. },
  7581. "/Qhj/QueryAccountInOutApply": {
  7582. "get": {
  7583. "security": [
  7584. {
  7585. "ApiKeyAuth": []
  7586. }
  7587. ],
  7588. "produces": [
  7589. "application/json"
  7590. ],
  7591. "tags": [
  7592. "大连千海金"
  7593. ],
  7594. "summary": "查询充值提现",
  7595. "parameters": [
  7596. {
  7597. "type": "integer",
  7598. "description": "用户ID",
  7599. "name": "userid",
  7600. "in": "query",
  7601. "required": true
  7602. },
  7603. {
  7604. "type": "string",
  7605. "description": "申请起始日期(格式yyyymmdd)",
  7606. "name": "begindate",
  7607. "in": "query"
  7608. },
  7609. {
  7610. "type": "string",
  7611. "description": "申请截止日期(格式yyyymmdd)",
  7612. "name": "enddate",
  7613. "in": "query"
  7614. },
  7615. {
  7616. "type": "string",
  7617. "description": "模糊搜索名称",
  7618. "name": "likename",
  7619. "in": "query"
  7620. }
  7621. ],
  7622. "responses": {
  7623. "200": {
  7624. "description": "OK",
  7625. "schema": {
  7626. "type": "array",
  7627. "items": {
  7628. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7629. }
  7630. }
  7631. },
  7632. "500": {
  7633. "description": "Internal Server Error",
  7634. "schema": {
  7635. "$ref": "#/definitions/app.Response"
  7636. }
  7637. }
  7638. }
  7639. }
  7640. },
  7641. "/Qhj/QueryAreaFinanceConfig": {
  7642. "get": {
  7643. "security": [
  7644. {
  7645. "ApiKeyAuth": []
  7646. }
  7647. ],
  7648. "produces": [
  7649. "application/json"
  7650. ],
  7651. "tags": [
  7652. "大连千海金"
  7653. ],
  7654. "summary": "查询企业配置表",
  7655. "parameters": [
  7656. {
  7657. "type": "integer",
  7658. "description": "机构用户ID 其他做市关系,都设置为 1",
  7659. "name": "userid",
  7660. "in": "query"
  7661. }
  7662. ],
  7663. "responses": {
  7664. "200": {
  7665. "description": "OK",
  7666. "schema": {
  7667. "type": "array",
  7668. "items": {
  7669. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7670. }
  7671. }
  7672. },
  7673. "500": {
  7674. "description": "Internal Server Error",
  7675. "schema": {
  7676. "$ref": "#/definitions/app.Response"
  7677. }
  7678. }
  7679. }
  7680. }
  7681. },
  7682. "/Qhj/QueryBankAccountSign": {
  7683. "get": {
  7684. "security": [
  7685. {
  7686. "ApiKeyAuth": []
  7687. }
  7688. ],
  7689. "produces": [
  7690. "application/json"
  7691. ],
  7692. "tags": [
  7693. "大连千海金"
  7694. ],
  7695. "summary": "查询签约银行信息(提现账户管理)",
  7696. "parameters": [
  7697. {
  7698. "type": "integer",
  7699. "description": "用户ID",
  7700. "name": "userid",
  7701. "in": "query",
  7702. "required": true
  7703. }
  7704. ],
  7705. "responses": {
  7706. "200": {
  7707. "description": "OK",
  7708. "schema": {
  7709. "type": "array",
  7710. "items": {
  7711. "$ref": "#/definitions/models.QhjBankAccountSign"
  7712. }
  7713. }
  7714. },
  7715. "500": {
  7716. "description": "Internal Server Error",
  7717. "schema": {
  7718. "$ref": "#/definitions/app.Response"
  7719. }
  7720. }
  7721. }
  7722. }
  7723. },
  7724. "/Qhj/QueryBankInfo": {
  7725. "get": {
  7726. "security": [
  7727. {
  7728. "ApiKeyAuth": []
  7729. }
  7730. ],
  7731. "produces": [
  7732. "application/json"
  7733. ],
  7734. "tags": [
  7735. "大连千海金"
  7736. ],
  7737. "summary": "查询开户行",
  7738. "responses": {
  7739. "200": {
  7740. "description": "OK",
  7741. "schema": {
  7742. "type": "array",
  7743. "items": {
  7744. "$ref": "#/definitions/models.QhjBankInfo"
  7745. }
  7746. }
  7747. },
  7748. "500": {
  7749. "description": "Internal Server Error",
  7750. "schema": {
  7751. "$ref": "#/definitions/app.Response"
  7752. }
  7753. }
  7754. }
  7755. }
  7756. },
  7757. "/Qhj/QueryBrokerApply": {
  7758. "get": {
  7759. "security": [
  7760. {
  7761. "ApiKeyAuth": []
  7762. }
  7763. ],
  7764. "produces": [
  7765. "application/json"
  7766. ],
  7767. "tags": [
  7768. "大连千海金"
  7769. ],
  7770. "summary": "查询经纪人申请",
  7771. "parameters": [
  7772. {
  7773. "type": "integer",
  7774. "description": "所属机构ID",
  7775. "name": "userid",
  7776. "in": "query"
  7777. },
  7778. {
  7779. "type": "string",
  7780. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7781. "name": "filterstatus",
  7782. "in": "query"
  7783. }
  7784. ],
  7785. "responses": {
  7786. "200": {
  7787. "description": "OK",
  7788. "schema": {
  7789. "type": "array",
  7790. "items": {
  7791. "$ref": "#/definitions/models.QhjBrokerApply"
  7792. }
  7793. }
  7794. },
  7795. "500": {
  7796. "description": "Internal Server Error",
  7797. "schema": {
  7798. "$ref": "#/definitions/app.Response"
  7799. }
  7800. }
  7801. }
  7802. }
  7803. },
  7804. "/Qhj/QueryBrokerApplyEx": {
  7805. "get": {
  7806. "security": [
  7807. {
  7808. "ApiKeyAuth": []
  7809. }
  7810. ],
  7811. "produces": [
  7812. "application/json"
  7813. ],
  7814. "tags": [
  7815. "大连千海金"
  7816. ],
  7817. "summary": "查询经纪人信息和申请记录",
  7818. "parameters": [
  7819. {
  7820. "type": "integer",
  7821. "description": "所属机构ID",
  7822. "name": "userid",
  7823. "in": "query"
  7824. }
  7825. ],
  7826. "responses": {
  7827. "200": {
  7828. "description": "OK",
  7829. "schema": {
  7830. "type": "array",
  7831. "items": {
  7832. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7833. }
  7834. }
  7835. },
  7836. "500": {
  7837. "description": "Internal Server Error",
  7838. "schema": {
  7839. "$ref": "#/definitions/app.Response"
  7840. }
  7841. }
  7842. }
  7843. }
  7844. },
  7845. "/Qhj/QueryBrokerRewardLog": {
  7846. "get": {
  7847. "security": [
  7848. {
  7849. "ApiKeyAuth": []
  7850. }
  7851. ],
  7852. "produces": [
  7853. "application/json"
  7854. ],
  7855. "tags": [
  7856. "大连千海金"
  7857. ],
  7858. "summary": "查询奖励流水(我的奖励)",
  7859. "parameters": [
  7860. {
  7861. "type": "integer",
  7862. "description": "用户ID",
  7863. "name": "userid",
  7864. "in": "query",
  7865. "required": true
  7866. },
  7867. {
  7868. "type": "string",
  7869. "description": "开始交易日(yyyymmdd)",
  7870. "name": "begindate",
  7871. "in": "query"
  7872. },
  7873. {
  7874. "type": "string",
  7875. "description": "结束交易日(yyyymmdd)",
  7876. "name": "enddate",
  7877. "in": "query"
  7878. }
  7879. ],
  7880. "responses": {
  7881. "200": {
  7882. "description": "OK",
  7883. "schema": {
  7884. "type": "array",
  7885. "items": {
  7886. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7887. }
  7888. }
  7889. },
  7890. "500": {
  7891. "description": "Internal Server Error",
  7892. "schema": {
  7893. "$ref": "#/definitions/app.Response"
  7894. }
  7895. }
  7896. }
  7897. }
  7898. },
  7899. "/Qhj/QueryContract": {
  7900. "get": {
  7901. "security": [
  7902. {
  7903. "ApiKeyAuth": []
  7904. }
  7905. ],
  7906. "produces": [
  7907. "application/json"
  7908. ],
  7909. "tags": [
  7910. "大连千海金"
  7911. ],
  7912. "summary": "查询融资明细(合同)",
  7913. "parameters": [
  7914. {
  7915. "type": "integer",
  7916. "description": "用户ID",
  7917. "name": "userid",
  7918. "in": "query"
  7919. },
  7920. {
  7921. "type": "integer",
  7922. "description": "scf合同id",
  7923. "name": "scfcontractid",
  7924. "in": "query"
  7925. }
  7926. ],
  7927. "responses": {
  7928. "200": {
  7929. "description": "OK",
  7930. "schema": {
  7931. "type": "array",
  7932. "items": {
  7933. "$ref": "#/definitions/models.QhjContract"
  7934. }
  7935. }
  7936. },
  7937. "500": {
  7938. "description": "Internal Server Error",
  7939. "schema": {
  7940. "$ref": "#/definitions/app.Response"
  7941. }
  7942. }
  7943. }
  7944. }
  7945. },
  7946. "/Qhj/QueryContractLog": {
  7947. "get": {
  7948. "security": [
  7949. {
  7950. "ApiKeyAuth": []
  7951. }
  7952. ],
  7953. "produces": [
  7954. "application/json"
  7955. ],
  7956. "tags": [
  7957. "大连千海金"
  7958. ],
  7959. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7960. "parameters": [
  7961. {
  7962. "type": "integer",
  7963. "description": "scf合同id",
  7964. "name": "scfcontractid",
  7965. "in": "query",
  7966. "required": true
  7967. },
  7968. {
  7969. "type": "string",
  7970. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7971. "name": "amounttype",
  7972. "in": "query"
  7973. }
  7974. ],
  7975. "responses": {
  7976. "200": {
  7977. "description": "OK",
  7978. "schema": {
  7979. "type": "array",
  7980. "items": {
  7981. "$ref": "#/definitions/models.QhjContractLog"
  7982. }
  7983. }
  7984. },
  7985. "500": {
  7986. "description": "Internal Server Error",
  7987. "schema": {
  7988. "$ref": "#/definitions/app.Response"
  7989. }
  7990. }
  7991. }
  7992. }
  7993. },
  7994. "/Qhj/QueryCusBankSignBank": {
  7995. "get": {
  7996. "security": [
  7997. {
  7998. "ApiKeyAuth": []
  7999. }
  8000. ],
  8001. "produces": [
  8002. "application/json"
  8003. ],
  8004. "tags": [
  8005. "大连千海金"
  8006. ],
  8007. "summary": "查询托管银行",
  8008. "responses": {
  8009. "200": {
  8010. "description": "OK",
  8011. "schema": {
  8012. "type": "array",
  8013. "items": {
  8014. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8015. }
  8016. }
  8017. },
  8018. "500": {
  8019. "description": "Internal Server Error",
  8020. "schema": {
  8021. "$ref": "#/definitions/app.Response"
  8022. }
  8023. }
  8024. }
  8025. }
  8026. },
  8027. "/Qhj/QueryCustomerInfo": {
  8028. "get": {
  8029. "security": [
  8030. {
  8031. "ApiKeyAuth": []
  8032. }
  8033. ],
  8034. "produces": [
  8035. "application/json"
  8036. ],
  8037. "tags": [
  8038. "大连千海金"
  8039. ],
  8040. "summary": "查询客户资料",
  8041. "parameters": [
  8042. {
  8043. "type": "integer",
  8044. "description": "用户ID",
  8045. "name": "userid",
  8046. "in": "query",
  8047. "required": true
  8048. },
  8049. {
  8050. "type": "integer",
  8051. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8052. "name": "querytype",
  8053. "in": "query",
  8054. "required": true
  8055. },
  8056. {
  8057. "type": "integer",
  8058. "description": "客户类型 1-个人 2-企业",
  8059. "name": "userinfotype",
  8060. "in": "query"
  8061. },
  8062. {
  8063. "type": "string",
  8064. "description": "客户名称(模糊匹配)",
  8065. "name": "customername",
  8066. "in": "query"
  8067. },
  8068. {
  8069. "type": "string",
  8070. "description": "昵称(模糊匹配)",
  8071. "name": "nickname",
  8072. "in": "query"
  8073. },
  8074. {
  8075. "type": "integer",
  8076. "description": "是否包含子级 1-包含",
  8077. "name": "includesub",
  8078. "in": "query"
  8079. }
  8080. ],
  8081. "responses": {
  8082. "200": {
  8083. "description": "OK",
  8084. "schema": {
  8085. "type": "array",
  8086. "items": {
  8087. "$ref": "#/definitions/models.QhjCustomer"
  8088. }
  8089. }
  8090. },
  8091. "500": {
  8092. "description": "Internal Server Error",
  8093. "schema": {
  8094. "$ref": "#/definitions/app.Response"
  8095. }
  8096. }
  8097. }
  8098. }
  8099. },
  8100. "/Qhj/QueryGoodsEx": {
  8101. "get": {
  8102. "security": [
  8103. {
  8104. "ApiKeyAuth": []
  8105. }
  8106. ],
  8107. "produces": [
  8108. "application/json"
  8109. ],
  8110. "tags": [
  8111. "大连千海金"
  8112. ],
  8113. "summary": "交易商品扩展表",
  8114. "parameters": [
  8115. {
  8116. "type": "integer",
  8117. "description": "商品id",
  8118. "name": "goodsid",
  8119. "in": "query"
  8120. }
  8121. ],
  8122. "responses": {
  8123. "200": {
  8124. "description": "OK",
  8125. "schema": {
  8126. "type": "array",
  8127. "items": {
  8128. "$ref": "#/definitions/models.Qhjgoodsex"
  8129. }
  8130. }
  8131. },
  8132. "500": {
  8133. "description": "Internal Server Error",
  8134. "schema": {
  8135. "$ref": "#/definitions/app.Response"
  8136. }
  8137. }
  8138. }
  8139. }
  8140. },
  8141. "/Qhj/QueryMyTeam": {
  8142. "get": {
  8143. "security": [
  8144. {
  8145. "ApiKeyAuth": []
  8146. }
  8147. ],
  8148. "produces": [
  8149. "application/json"
  8150. ],
  8151. "tags": [
  8152. "大连千海金"
  8153. ],
  8154. "summary": "查询我的团队",
  8155. "parameters": [
  8156. {
  8157. "type": "integer",
  8158. "description": "用户ID",
  8159. "name": "userid",
  8160. "in": "query",
  8161. "required": true
  8162. }
  8163. ],
  8164. "responses": {
  8165. "200": {
  8166. "description": "OK",
  8167. "schema": {
  8168. "type": "array",
  8169. "items": {
  8170. "$ref": "#/definitions/models.QhjMyTeamEx"
  8171. }
  8172. }
  8173. },
  8174. "500": {
  8175. "description": "Internal Server Error",
  8176. "schema": {
  8177. "$ref": "#/definitions/app.Response"
  8178. }
  8179. }
  8180. }
  8181. }
  8182. },
  8183. "/Qhj/QueryMyTeamOrder": {
  8184. "get": {
  8185. "security": [
  8186. {
  8187. "ApiKeyAuth": []
  8188. }
  8189. ],
  8190. "produces": [
  8191. "application/json"
  8192. ],
  8193. "tags": [
  8194. "大连千海金"
  8195. ],
  8196. "summary": "查询团队订单(我的团队/团队订单)",
  8197. "parameters": [
  8198. {
  8199. "type": "integer",
  8200. "description": "页码",
  8201. "name": "page",
  8202. "in": "query"
  8203. },
  8204. {
  8205. "type": "integer",
  8206. "description": "每页条数",
  8207. "name": "pagesize",
  8208. "in": "query"
  8209. },
  8210. {
  8211. "type": "integer",
  8212. "description": "用户ID",
  8213. "name": "userid",
  8214. "in": "query",
  8215. "required": true
  8216. },
  8217. {
  8218. "type": "integer",
  8219. "description": "交易模式",
  8220. "name": "trademode",
  8221. "in": "query"
  8222. },
  8223. {
  8224. "type": "string",
  8225. "description": "名称(模糊搜索账户)",
  8226. "name": "filtername",
  8227. "in": "query"
  8228. }
  8229. ],
  8230. "responses": {
  8231. "200": {
  8232. "description": "OK",
  8233. "schema": {
  8234. "type": "array",
  8235. "items": {
  8236. "$ref": "#/definitions/models.QhjTeamOrder"
  8237. }
  8238. }
  8239. },
  8240. "500": {
  8241. "description": "Internal Server Error",
  8242. "schema": {
  8243. "$ref": "#/definitions/app.Response"
  8244. }
  8245. }
  8246. }
  8247. }
  8248. },
  8249. "/Qhj/QueryParentAreaList": {
  8250. "get": {
  8251. "security": [
  8252. {
  8253. "ApiKeyAuth": []
  8254. }
  8255. ],
  8256. "produces": [
  8257. "application/json"
  8258. ],
  8259. "tags": [
  8260. "大连千海金"
  8261. ],
  8262. "summary": "查询所属机构列表",
  8263. "parameters": [
  8264. {
  8265. "type": "integer",
  8266. "description": "用户ID",
  8267. "name": "userid",
  8268. "in": "query",
  8269. "required": true
  8270. }
  8271. ],
  8272. "responses": {
  8273. "200": {
  8274. "description": "OK",
  8275. "schema": {
  8276. "type": "array",
  8277. "items": {
  8278. "$ref": "#/definitions/models.QhjParentAreaList"
  8279. }
  8280. }
  8281. },
  8282. "500": {
  8283. "description": "Internal Server Error",
  8284. "schema": {
  8285. "$ref": "#/definitions/app.Response"
  8286. }
  8287. }
  8288. }
  8289. }
  8290. },
  8291. "/Qhj/QueryPayOrder": {
  8292. "get": {
  8293. "security": [
  8294. {
  8295. "ApiKeyAuth": []
  8296. }
  8297. ],
  8298. "produces": [
  8299. "application/json"
  8300. ],
  8301. "tags": [
  8302. "大连千海金"
  8303. ],
  8304. "summary": "查询待付款单据",
  8305. "parameters": [
  8306. {
  8307. "type": "integer",
  8308. "description": "资金账号id",
  8309. "name": "accountid",
  8310. "in": "query",
  8311. "required": true
  8312. },
  8313. {
  8314. "type": "integer",
  8315. "description": "成交单号",
  8316. "name": "tradeid",
  8317. "in": "query"
  8318. },
  8319. {
  8320. "type": "string",
  8321. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8322. "name": "payflag",
  8323. "in": "query"
  8324. }
  8325. ],
  8326. "responses": {
  8327. "200": {
  8328. "description": "OK",
  8329. "schema": {
  8330. "type": "array",
  8331. "items": {
  8332. "$ref": "#/definitions/models.QhjPayOrder"
  8333. }
  8334. }
  8335. },
  8336. "500": {
  8337. "description": "Internal Server Error",
  8338. "schema": {
  8339. "$ref": "#/definitions/app.Response"
  8340. }
  8341. }
  8342. }
  8343. }
  8344. },
  8345. "/Qhj/QueryPickArea": {
  8346. "get": {
  8347. "security": [
  8348. {
  8349. "ApiKeyAuth": []
  8350. }
  8351. ],
  8352. "produces": [
  8353. "application/json"
  8354. ],
  8355. "tags": [
  8356. "大连千海金"
  8357. ],
  8358. "summary": "查询提货门店",
  8359. "parameters": [
  8360. {
  8361. "type": "integer",
  8362. "description": "用户ID",
  8363. "name": "userid",
  8364. "in": "query"
  8365. }
  8366. ],
  8367. "responses": {
  8368. "200": {
  8369. "description": "OK",
  8370. "schema": {
  8371. "type": "array",
  8372. "items": {
  8373. "$ref": "#/definitions/models.QhjPickArea"
  8374. }
  8375. }
  8376. },
  8377. "500": {
  8378. "description": "Internal Server Error",
  8379. "schema": {
  8380. "$ref": "#/definitions/app.Response"
  8381. }
  8382. }
  8383. }
  8384. }
  8385. },
  8386. "/Qhj/QueryPickGoods": {
  8387. "get": {
  8388. "security": [
  8389. {
  8390. "ApiKeyAuth": []
  8391. }
  8392. ],
  8393. "produces": [
  8394. "application/json"
  8395. ],
  8396. "tags": [
  8397. "大连千海金"
  8398. ],
  8399. "summary": "查询提货商品",
  8400. "parameters": [
  8401. {
  8402. "type": "integer",
  8403. "description": "交易商品id",
  8404. "name": "goodsid",
  8405. "in": "query",
  8406. "required": true
  8407. },
  8408. {
  8409. "type": "string",
  8410. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8411. "name": "status",
  8412. "in": "query"
  8413. }
  8414. ],
  8415. "responses": {
  8416. "200": {
  8417. "description": "OK",
  8418. "schema": {
  8419. "type": "array",
  8420. "items": {
  8421. "$ref": "#/definitions/models.QhjPickGoods"
  8422. }
  8423. }
  8424. },
  8425. "500": {
  8426. "description": "Internal Server Error",
  8427. "schema": {
  8428. "$ref": "#/definitions/app.Response"
  8429. }
  8430. }
  8431. }
  8432. }
  8433. },
  8434. "/Qhj/QueryRSTriggerLog": {
  8435. "get": {
  8436. "security": [
  8437. {
  8438. "ApiKeyAuth": []
  8439. }
  8440. ],
  8441. "produces": [
  8442. "application/json"
  8443. ],
  8444. "tags": [
  8445. "大连千海金"
  8446. ],
  8447. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8448. "parameters": [
  8449. {
  8450. "type": "integer",
  8451. "description": "用户ID",
  8452. "name": "userid",
  8453. "in": "query"
  8454. },
  8455. {
  8456. "type": "integer",
  8457. "description": "定投策略id",
  8458. "name": "regularlystrategyid",
  8459. "in": "query"
  8460. },
  8461. {
  8462. "type": "integer",
  8463. "description": "商品id",
  8464. "name": "goodsid",
  8465. "in": "query"
  8466. },
  8467. {
  8468. "type": "string",
  8469. "description": "开始交易日(yyyymmdd)",
  8470. "name": "begindate",
  8471. "in": "query"
  8472. },
  8473. {
  8474. "type": "string",
  8475. "description": "结束交易日(yyyymmdd)",
  8476. "name": "enddate",
  8477. "in": "query"
  8478. },
  8479. {
  8480. "type": "string",
  8481. "description": "名称(模糊搜索账户)",
  8482. "name": "filtername",
  8483. "in": "query"
  8484. }
  8485. ],
  8486. "responses": {
  8487. "200": {
  8488. "description": "OK",
  8489. "schema": {
  8490. "type": "array",
  8491. "items": {
  8492. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8493. }
  8494. }
  8495. },
  8496. "500": {
  8497. "description": "Internal Server Error",
  8498. "schema": {
  8499. "$ref": "#/definitions/app.Response"
  8500. }
  8501. }
  8502. }
  8503. }
  8504. },
  8505. "/Qhj/QueryRStrategy": {
  8506. "get": {
  8507. "security": [
  8508. {
  8509. "ApiKeyAuth": []
  8510. }
  8511. ],
  8512. "produces": [
  8513. "application/json"
  8514. ],
  8515. "tags": [
  8516. "大连千海金"
  8517. ],
  8518. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8519. "parameters": [
  8520. {
  8521. "type": "integer",
  8522. "description": "用户ID",
  8523. "name": "userid",
  8524. "in": "query"
  8525. },
  8526. {
  8527. "type": "integer",
  8528. "description": "商品id",
  8529. "name": "goodsid",
  8530. "in": "query"
  8531. },
  8532. {
  8533. "type": "string",
  8534. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8535. "name": "status",
  8536. "in": "query"
  8537. },
  8538. {
  8539. "type": "string",
  8540. "description": "名称(模糊搜索账户)",
  8541. "name": "filtername",
  8542. "in": "query"
  8543. }
  8544. ],
  8545. "responses": {
  8546. "200": {
  8547. "description": "OK",
  8548. "schema": {
  8549. "type": "array",
  8550. "items": {
  8551. "$ref": "#/definitions/models.QhjRStrategy"
  8552. }
  8553. }
  8554. },
  8555. "500": {
  8556. "description": "Internal Server Error",
  8557. "schema": {
  8558. "$ref": "#/definitions/app.Response"
  8559. }
  8560. }
  8561. }
  8562. }
  8563. },
  8564. "/Qhj/QueryReckonPriceLog": {
  8565. "get": {
  8566. "security": [
  8567. {
  8568. "ApiKeyAuth": []
  8569. }
  8570. ],
  8571. "produces": [
  8572. "application/json"
  8573. ],
  8574. "tags": [
  8575. "大连千海金"
  8576. ],
  8577. "summary": "查询定投价(结算价)",
  8578. "parameters": [
  8579. {
  8580. "type": "integer",
  8581. "description": "商品ID",
  8582. "name": "goodsid",
  8583. "in": "query"
  8584. },
  8585. {
  8586. "type": "string",
  8587. "description": "交易日 格式(yyyymmdd)",
  8588. "name": "tradedate",
  8589. "in": "query"
  8590. }
  8591. ],
  8592. "responses": {
  8593. "200": {
  8594. "description": "OK",
  8595. "schema": {
  8596. "type": "array",
  8597. "items": {
  8598. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8599. }
  8600. }
  8601. },
  8602. "500": {
  8603. "description": "Internal Server Error",
  8604. "schema": {
  8605. "$ref": "#/definitions/app.Response"
  8606. }
  8607. }
  8608. }
  8609. }
  8610. },
  8611. "/Qhj/QueryScoreLog": {
  8612. "get": {
  8613. "security": [
  8614. {
  8615. "ApiKeyAuth": []
  8616. }
  8617. ],
  8618. "produces": [
  8619. "application/json"
  8620. ],
  8621. "tags": [
  8622. "大连千海金"
  8623. ],
  8624. "summary": "查询积分流水(我的积分)",
  8625. "parameters": [
  8626. {
  8627. "type": "integer",
  8628. "description": "用户ID",
  8629. "name": "userid",
  8630. "in": "query",
  8631. "required": true
  8632. },
  8633. {
  8634. "type": "string",
  8635. "description": "开始交易日(yyyymmdd)",
  8636. "name": "begindate",
  8637. "in": "query"
  8638. },
  8639. {
  8640. "type": "string",
  8641. "description": "结束交易日(yyyymmdd)",
  8642. "name": "enddate",
  8643. "in": "query"
  8644. },
  8645. {
  8646. "type": "integer",
  8647. "description": "最近多少条",
  8648. "name": "lastnum",
  8649. "in": "query"
  8650. }
  8651. ],
  8652. "responses": {
  8653. "200": {
  8654. "description": "OK",
  8655. "schema": {
  8656. "type": "array",
  8657. "items": {
  8658. "$ref": "#/definitions/models.QhjScoreLog"
  8659. }
  8660. }
  8661. },
  8662. "500": {
  8663. "description": "Internal Server Error",
  8664. "schema": {
  8665. "$ref": "#/definitions/app.Response"
  8666. }
  8667. }
  8668. }
  8669. }
  8670. },
  8671. "/Qhj/QuerySiteColumnDetail": {
  8672. "get": {
  8673. "security": [
  8674. {
  8675. "ApiKeyAuth": []
  8676. }
  8677. ],
  8678. "produces": [
  8679. "application/json"
  8680. ],
  8681. "tags": [
  8682. "大连千海金"
  8683. ],
  8684. "summary": "查询资讯",
  8685. "parameters": [
  8686. {
  8687. "type": "integer",
  8688. "description": "用户ID",
  8689. "name": "userid",
  8690. "in": "query",
  8691. "required": true
  8692. }
  8693. ],
  8694. "responses": {
  8695. "200": {
  8696. "description": "OK",
  8697. "schema": {
  8698. "type": "array",
  8699. "items": {
  8700. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8701. }
  8702. }
  8703. },
  8704. "500": {
  8705. "description": "Internal Server Error",
  8706. "schema": {
  8707. "$ref": "#/definitions/app.Response"
  8708. }
  8709. }
  8710. }
  8711. }
  8712. },
  8713. "/Qhj/QueryTradeGoodsPickup": {
  8714. "get": {
  8715. "security": [
  8716. {
  8717. "ApiKeyAuth": []
  8718. }
  8719. ],
  8720. "produces": [
  8721. "application/json"
  8722. ],
  8723. "tags": [
  8724. "大连千海金"
  8725. ],
  8726. "summary": "查询提货",
  8727. "parameters": [
  8728. {
  8729. "type": "integer",
  8730. "description": "用户ID",
  8731. "name": "userid",
  8732. "in": "query",
  8733. "required": true
  8734. },
  8735. {
  8736. "type": "integer",
  8737. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8738. "name": "takeorderstatus",
  8739. "in": "query"
  8740. }
  8741. ],
  8742. "responses": {
  8743. "200": {
  8744. "description": "OK",
  8745. "schema": {
  8746. "type": "array",
  8747. "items": {
  8748. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8749. }
  8750. }
  8751. },
  8752. "500": {
  8753. "description": "Internal Server Error",
  8754. "schema": {
  8755. "$ref": "#/definitions/app.Response"
  8756. }
  8757. }
  8758. }
  8759. }
  8760. },
  8761. "/Qhj/QueryUserCollectConfig": {
  8762. "get": {
  8763. "security": [
  8764. {
  8765. "ApiKeyAuth": []
  8766. }
  8767. ],
  8768. "produces": [
  8769. "application/json"
  8770. ],
  8771. "tags": [
  8772. "大连千海金"
  8773. ],
  8774. "summary": "查询提现账户设置",
  8775. "parameters": [
  8776. {
  8777. "type": "integer",
  8778. "description": "用户ID",
  8779. "name": "userid",
  8780. "in": "query",
  8781. "required": true
  8782. }
  8783. ],
  8784. "responses": {
  8785. "200": {
  8786. "description": "OK",
  8787. "schema": {
  8788. "type": "array",
  8789. "items": {
  8790. "$ref": "#/definitions/models.UserCollectConfig"
  8791. }
  8792. }
  8793. },
  8794. "500": {
  8795. "description": "Internal Server Error",
  8796. "schema": {
  8797. "$ref": "#/definitions/app.Response"
  8798. }
  8799. }
  8800. }
  8801. }
  8802. },
  8803. "/Qhj/QueryUserReceiveInfo": {
  8804. "get": {
  8805. "security": [
  8806. {
  8807. "ApiKeyAuth": []
  8808. }
  8809. ],
  8810. "produces": [
  8811. "application/json"
  8812. ],
  8813. "tags": [
  8814. "大连千海金"
  8815. ],
  8816. "summary": "查询收货地址信息",
  8817. "parameters": [
  8818. {
  8819. "type": "integer",
  8820. "description": "用户ID",
  8821. "name": "userid",
  8822. "in": "query",
  8823. "required": true
  8824. }
  8825. ],
  8826. "responses": {
  8827. "200": {
  8828. "description": "OK",
  8829. "schema": {
  8830. "type": "array",
  8831. "items": {
  8832. "$ref": "#/definitions/models.UserReceiveInfo"
  8833. }
  8834. }
  8835. },
  8836. "500": {
  8837. "description": "Internal Server Error",
  8838. "schema": {
  8839. "$ref": "#/definitions/app.Response"
  8840. }
  8841. }
  8842. }
  8843. }
  8844. },
  8845. "/QhjMgr/QueryAccountInOutApply": {
  8846. "get": {
  8847. "security": [
  8848. {
  8849. "ApiKeyAuth": []
  8850. }
  8851. ],
  8852. "produces": [
  8853. "application/json"
  8854. ],
  8855. "tags": [
  8856. "大连千海金(PCWeb)"
  8857. ],
  8858. "summary": "查询充值提现",
  8859. "parameters": [
  8860. {
  8861. "type": "integer",
  8862. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8863. "name": "querytype",
  8864. "in": "query",
  8865. "required": true
  8866. },
  8867. {
  8868. "type": "integer",
  8869. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8870. "name": "applystatus",
  8871. "in": "query"
  8872. },
  8873. {
  8874. "type": "string",
  8875. "description": "申请起始日期(格式yyyymmdd)",
  8876. "name": "begindate",
  8877. "in": "query"
  8878. },
  8879. {
  8880. "type": "string",
  8881. "description": "申请截止日期(格式yyyymmdd)",
  8882. "name": "enddate",
  8883. "in": "query"
  8884. },
  8885. {
  8886. "type": "string",
  8887. "description": "模糊搜索名称",
  8888. "name": "likename",
  8889. "in": "query"
  8890. }
  8891. ],
  8892. "responses": {
  8893. "200": {
  8894. "description": "OK",
  8895. "schema": {
  8896. "type": "array",
  8897. "items": {
  8898. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8899. }
  8900. }
  8901. },
  8902. "500": {
  8903. "description": "Internal Server Error",
  8904. "schema": {
  8905. "$ref": "#/definitions/app.Response"
  8906. }
  8907. }
  8908. }
  8909. }
  8910. },
  8911. "/QhjMgr/QueryBrokerApply": {
  8912. "get": {
  8913. "security": [
  8914. {
  8915. "ApiKeyAuth": []
  8916. }
  8917. ],
  8918. "produces": [
  8919. "application/json"
  8920. ],
  8921. "tags": [
  8922. "大连千海金(PCWeb)"
  8923. ],
  8924. "summary": "查询经纪人申请",
  8925. "parameters": [
  8926. {
  8927. "type": "integer",
  8928. "description": "所属机构ID",
  8929. "name": "userid",
  8930. "in": "query"
  8931. },
  8932. {
  8933. "type": "string",
  8934. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8935. "name": "filterstatus",
  8936. "in": "query"
  8937. },
  8938. {
  8939. "type": "string",
  8940. "description": "名称(模糊匹配)",
  8941. "name": "filtername",
  8942. "in": "query"
  8943. },
  8944. {
  8945. "type": "integer",
  8946. "description": "是否包含子级 1-包含",
  8947. "name": "includesub",
  8948. "in": "query"
  8949. }
  8950. ],
  8951. "responses": {
  8952. "200": {
  8953. "description": "OK",
  8954. "schema": {
  8955. "type": "array",
  8956. "items": {
  8957. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8958. }
  8959. }
  8960. },
  8961. "500": {
  8962. "description": "Internal Server Error",
  8963. "schema": {
  8964. "$ref": "#/definitions/app.Response"
  8965. }
  8966. }
  8967. }
  8968. }
  8969. },
  8970. "/QhjMgr/QueryBrokerRewardReport": {
  8971. "get": {
  8972. "security": [
  8973. {
  8974. "ApiKeyAuth": []
  8975. }
  8976. ],
  8977. "produces": [
  8978. "application/json"
  8979. ],
  8980. "tags": [
  8981. "大连千海金(PCWeb)"
  8982. ],
  8983. "summary": "查询经纪人奖励报表(废弃)",
  8984. "parameters": [
  8985. {
  8986. "type": "integer",
  8987. "description": "所属机构ID",
  8988. "name": "userid",
  8989. "in": "query",
  8990. "required": true
  8991. },
  8992. {
  8993. "type": "integer",
  8994. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8995. "name": "cycletype",
  8996. "in": "query",
  8997. "required": true
  8998. },
  8999. {
  9000. "type": "string",
  9001. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9002. "name": "cycletime",
  9003. "in": "query",
  9004. "required": true
  9005. },
  9006. {
  9007. "type": "string",
  9008. "description": "名称(模糊匹配)",
  9009. "name": "filtername",
  9010. "in": "query"
  9011. },
  9012. {
  9013. "type": "integer",
  9014. "description": "是否包含子级 1-包含",
  9015. "name": "includesub",
  9016. "in": "query"
  9017. }
  9018. ],
  9019. "responses": {
  9020. "200": {
  9021. "description": "OK",
  9022. "schema": {
  9023. "type": "array",
  9024. "items": {
  9025. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9026. }
  9027. }
  9028. },
  9029. "500": {
  9030. "description": "Internal Server Error",
  9031. "schema": {
  9032. "$ref": "#/definitions/app.Response"
  9033. }
  9034. }
  9035. }
  9036. }
  9037. },
  9038. "/QhjMgr/QueryContract": {
  9039. "get": {
  9040. "security": [
  9041. {
  9042. "ApiKeyAuth": []
  9043. }
  9044. ],
  9045. "produces": [
  9046. "application/json"
  9047. ],
  9048. "tags": [
  9049. "大连千海金(PCWeb)"
  9050. ],
  9051. "summary": "查询融资信息(合同)",
  9052. "parameters": [
  9053. {
  9054. "type": "integer",
  9055. "description": "用户ID",
  9056. "name": "userid",
  9057. "in": "query"
  9058. },
  9059. {
  9060. "type": "integer",
  9061. "description": "商品id",
  9062. "name": "goodsid",
  9063. "in": "query"
  9064. },
  9065. {
  9066. "type": "string",
  9067. "description": "名称(模糊搜索账户)",
  9068. "name": "filtername",
  9069. "in": "query"
  9070. },
  9071. {
  9072. "type": "string",
  9073. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9074. "name": "risklevel",
  9075. "in": "query"
  9076. },
  9077. {
  9078. "type": "string",
  9079. "description": "开始交易日(yyyymmdd)",
  9080. "name": "begindate",
  9081. "in": "query"
  9082. },
  9083. {
  9084. "type": "string",
  9085. "description": "结束交易日(yyyymmdd)",
  9086. "name": "enddate",
  9087. "in": "query"
  9088. }
  9089. ],
  9090. "responses": {
  9091. "200": {
  9092. "description": "OK",
  9093. "schema": {
  9094. "type": "array",
  9095. "items": {
  9096. "$ref": "#/definitions/models.QhjMgrContract"
  9097. }
  9098. }
  9099. },
  9100. "500": {
  9101. "description": "Internal Server Error",
  9102. "schema": {
  9103. "$ref": "#/definitions/app.Response"
  9104. }
  9105. }
  9106. }
  9107. }
  9108. },
  9109. "/QhjMgr/QueryCustomerInfo": {
  9110. "get": {
  9111. "security": [
  9112. {
  9113. "ApiKeyAuth": []
  9114. }
  9115. ],
  9116. "produces": [
  9117. "application/json"
  9118. ],
  9119. "tags": [
  9120. "大连千海金(PCWeb)"
  9121. ],
  9122. "summary": "查询客户资料",
  9123. "parameters": [
  9124. {
  9125. "type": "integer",
  9126. "description": "用户ID",
  9127. "name": "userid",
  9128. "in": "query",
  9129. "required": true
  9130. },
  9131. {
  9132. "type": "integer",
  9133. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9134. "name": "querytype",
  9135. "in": "query",
  9136. "required": true
  9137. },
  9138. {
  9139. "type": "integer",
  9140. "description": "客户类型 1-个人 2-企业",
  9141. "name": "userinfotype",
  9142. "in": "query"
  9143. },
  9144. {
  9145. "type": "string",
  9146. "description": "客户名称(模糊匹配)",
  9147. "name": "customername",
  9148. "in": "query"
  9149. },
  9150. {
  9151. "type": "string",
  9152. "description": "昵称(模糊匹配)",
  9153. "name": "nickname",
  9154. "in": "query"
  9155. },
  9156. {
  9157. "type": "string",
  9158. "description": "所属客户经理(模糊匹配)",
  9159. "name": "brokername",
  9160. "in": "query"
  9161. },
  9162. {
  9163. "type": "string",
  9164. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9165. "name": "birthday",
  9166. "in": "query"
  9167. },
  9168. {
  9169. "type": "integer",
  9170. "description": "是否包含子级 1-包含",
  9171. "name": "includesub",
  9172. "in": "query"
  9173. }
  9174. ],
  9175. "responses": {
  9176. "200": {
  9177. "description": "OK",
  9178. "schema": {
  9179. "type": "array",
  9180. "items": {
  9181. "$ref": "#/definitions/models.QhjMgrCustomer"
  9182. }
  9183. }
  9184. },
  9185. "500": {
  9186. "description": "Internal Server Error",
  9187. "schema": {
  9188. "$ref": "#/definitions/app.Response"
  9189. }
  9190. }
  9191. }
  9192. }
  9193. },
  9194. "/QhjMgr/QueryPickGoods": {
  9195. "get": {
  9196. "security": [
  9197. {
  9198. "ApiKeyAuth": []
  9199. }
  9200. ],
  9201. "produces": [
  9202. "application/json"
  9203. ],
  9204. "tags": [
  9205. "大连千海金(PCWeb)"
  9206. ],
  9207. "summary": "查询提货商品",
  9208. "parameters": [
  9209. {
  9210. "type": "string",
  9211. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9212. "name": "status",
  9213. "in": "query"
  9214. }
  9215. ],
  9216. "responses": {
  9217. "200": {
  9218. "description": "OK",
  9219. "schema": {
  9220. "type": "array",
  9221. "items": {
  9222. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9223. }
  9224. }
  9225. },
  9226. "500": {
  9227. "description": "Internal Server Error",
  9228. "schema": {
  9229. "$ref": "#/definitions/app.Response"
  9230. }
  9231. }
  9232. }
  9233. }
  9234. },
  9235. "/QhjMgr/QuerySubArea": {
  9236. "get": {
  9237. "security": [
  9238. {
  9239. "ApiKeyAuth": []
  9240. }
  9241. ],
  9242. "produces": [
  9243. "application/json"
  9244. ],
  9245. "tags": [
  9246. "大连千海金(PCWeb)"
  9247. ],
  9248. "summary": "查询子机构列表",
  9249. "parameters": [
  9250. {
  9251. "type": "integer",
  9252. "description": "用户ID",
  9253. "name": "userid",
  9254. "in": "query",
  9255. "required": true
  9256. }
  9257. ],
  9258. "responses": {
  9259. "200": {
  9260. "description": "OK",
  9261. "schema": {
  9262. "type": "array",
  9263. "items": {
  9264. "$ref": "#/definitions/models.QhjMgrSubArea"
  9265. }
  9266. }
  9267. },
  9268. "500": {
  9269. "description": "Internal Server Error",
  9270. "schema": {
  9271. "$ref": "#/definitions/app.Response"
  9272. }
  9273. }
  9274. }
  9275. }
  9276. },
  9277. "/QhjMgr/QueryTradeDetail": {
  9278. "get": {
  9279. "security": [
  9280. {
  9281. "ApiKeyAuth": []
  9282. }
  9283. ],
  9284. "produces": [
  9285. "application/json"
  9286. ],
  9287. "tags": [
  9288. "大连千海金(PCWeb)"
  9289. ],
  9290. "summary": "查询成交明细",
  9291. "parameters": [
  9292. {
  9293. "type": "integer",
  9294. "description": "用户ID",
  9295. "name": "userid",
  9296. "in": "query",
  9297. "required": true
  9298. },
  9299. {
  9300. "type": "integer",
  9301. "description": "用户类型 1-个人 2-企业",
  9302. "name": "userinfotype",
  9303. "in": "query"
  9304. },
  9305. {
  9306. "type": "integer",
  9307. "description": "交易模式",
  9308. "name": "trademode",
  9309. "in": "query"
  9310. },
  9311. {
  9312. "type": "integer",
  9313. "description": "商品id",
  9314. "name": "goodsid",
  9315. "in": "query"
  9316. },
  9317. {
  9318. "type": "string",
  9319. "description": "名称(模糊搜索账户)",
  9320. "name": "filtername",
  9321. "in": "query"
  9322. },
  9323. {
  9324. "type": "string",
  9325. "description": "开始交易日(yyyymmdd)",
  9326. "name": "begindate",
  9327. "in": "query"
  9328. },
  9329. {
  9330. "type": "string",
  9331. "description": "结束交易日(yyyymmdd)",
  9332. "name": "enddate",
  9333. "in": "query"
  9334. },
  9335. {
  9336. "type": "integer",
  9337. "description": "是否包含子级 1-包含",
  9338. "name": "includesub",
  9339. "in": "query"
  9340. }
  9341. ],
  9342. "responses": {
  9343. "200": {
  9344. "description": "OK",
  9345. "schema": {
  9346. "type": "array",
  9347. "items": {
  9348. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9349. }
  9350. }
  9351. },
  9352. "500": {
  9353. "description": "Internal Server Error",
  9354. "schema": {
  9355. "$ref": "#/definitions/app.Response"
  9356. }
  9357. }
  9358. }
  9359. }
  9360. },
  9361. "/QhjMgr/QueryTradeOrderDetail": {
  9362. "get": {
  9363. "security": [
  9364. {
  9365. "ApiKeyAuth": []
  9366. }
  9367. ],
  9368. "produces": [
  9369. "application/json"
  9370. ],
  9371. "tags": [
  9372. "大连千海金(PCWeb)"
  9373. ],
  9374. "summary": "查询委托明细",
  9375. "parameters": [
  9376. {
  9377. "type": "integer",
  9378. "description": "用户ID",
  9379. "name": "userid",
  9380. "in": "query",
  9381. "required": true
  9382. },
  9383. {
  9384. "type": "integer",
  9385. "description": "用户类型 1-个人 2-企业",
  9386. "name": "userinfotype",
  9387. "in": "query"
  9388. },
  9389. {
  9390. "type": "integer",
  9391. "description": "交易模式",
  9392. "name": "trademode",
  9393. "in": "query"
  9394. },
  9395. {
  9396. "type": "integer",
  9397. "description": "商品id",
  9398. "name": "goodsid",
  9399. "in": "query"
  9400. },
  9401. {
  9402. "type": "string",
  9403. "description": "名称(模糊搜索账户)",
  9404. "name": "filtername",
  9405. "in": "query"
  9406. },
  9407. {
  9408. "type": "string",
  9409. "description": "开始交易日(yyyymmdd)",
  9410. "name": "begindate",
  9411. "in": "query"
  9412. },
  9413. {
  9414. "type": "string",
  9415. "description": "结束交易日(yyyymmdd)",
  9416. "name": "enddate",
  9417. "in": "query"
  9418. },
  9419. {
  9420. "type": "integer",
  9421. "description": "是否包含子级 1-包含",
  9422. "name": "includesub",
  9423. "in": "query"
  9424. }
  9425. ],
  9426. "responses": {
  9427. "200": {
  9428. "description": "OK",
  9429. "schema": {
  9430. "type": "array",
  9431. "items": {
  9432. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9433. }
  9434. }
  9435. },
  9436. "500": {
  9437. "description": "Internal Server Error",
  9438. "schema": {
  9439. "$ref": "#/definitions/app.Response"
  9440. }
  9441. }
  9442. }
  9443. }
  9444. },
  9445. "/QhjMgr/QueryTradePayOrder": {
  9446. "get": {
  9447. "security": [
  9448. {
  9449. "ApiKeyAuth": []
  9450. }
  9451. ],
  9452. "produces": [
  9453. "application/json"
  9454. ],
  9455. "tags": [
  9456. "大连千海金(PCWeb)"
  9457. ],
  9458. "summary": "查询待付款单",
  9459. "parameters": [
  9460. {
  9461. "type": "integer",
  9462. "description": "用户ID",
  9463. "name": "userid",
  9464. "in": "query",
  9465. "required": true
  9466. },
  9467. {
  9468. "type": "string",
  9469. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9470. "name": "payflag",
  9471. "in": "query"
  9472. },
  9473. {
  9474. "type": "integer",
  9475. "description": "用户类型 1-个人 2-企业",
  9476. "name": "userinfotype",
  9477. "in": "query"
  9478. },
  9479. {
  9480. "type": "integer",
  9481. "description": "交易模式",
  9482. "name": "trademode",
  9483. "in": "query"
  9484. },
  9485. {
  9486. "type": "integer",
  9487. "description": "商品id",
  9488. "name": "goodsid",
  9489. "in": "query"
  9490. },
  9491. {
  9492. "type": "string",
  9493. "description": "名称(模糊搜索账户)",
  9494. "name": "filtername",
  9495. "in": "query"
  9496. },
  9497. {
  9498. "type": "string",
  9499. "description": "开始交易日(yyyymmdd)",
  9500. "name": "begindate",
  9501. "in": "query"
  9502. },
  9503. {
  9504. "type": "string",
  9505. "description": "结束交易日(yyyymmdd)",
  9506. "name": "enddate",
  9507. "in": "query"
  9508. },
  9509. {
  9510. "type": "integer",
  9511. "description": "是否包含子级 1-包含",
  9512. "name": "includesub",
  9513. "in": "query"
  9514. }
  9515. ],
  9516. "responses": {
  9517. "200": {
  9518. "description": "OK",
  9519. "schema": {
  9520. "type": "array",
  9521. "items": {
  9522. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9523. }
  9524. }
  9525. },
  9526. "500": {
  9527. "description": "Internal Server Error",
  9528. "schema": {
  9529. "$ref": "#/definitions/app.Response"
  9530. }
  9531. }
  9532. }
  9533. }
  9534. },
  9535. "/QhjMgr/QueryTradePosition": {
  9536. "get": {
  9537. "security": [
  9538. {
  9539. "ApiKeyAuth": []
  9540. }
  9541. ],
  9542. "produces": [
  9543. "application/json"
  9544. ],
  9545. "tags": [
  9546. "大连千海金(PCWeb)"
  9547. ],
  9548. "summary": "查询持仓汇总",
  9549. "parameters": [
  9550. {
  9551. "type": "integer",
  9552. "description": "用户ID",
  9553. "name": "userid",
  9554. "in": "query",
  9555. "required": true
  9556. },
  9557. {
  9558. "type": "integer",
  9559. "description": "用户类型 1-个人 2-企业",
  9560. "name": "userinfotype",
  9561. "in": "query"
  9562. },
  9563. {
  9564. "type": "integer",
  9565. "description": "交易模式",
  9566. "name": "trademode",
  9567. "in": "query"
  9568. },
  9569. {
  9570. "type": "integer",
  9571. "description": "商品id",
  9572. "name": "goodsid",
  9573. "in": "query"
  9574. },
  9575. {
  9576. "type": "string",
  9577. "description": "名称(模糊搜索账户)",
  9578. "name": "filtername",
  9579. "in": "query"
  9580. },
  9581. {
  9582. "type": "integer",
  9583. "description": "是否包含子级 1-包含",
  9584. "name": "includesub",
  9585. "in": "query"
  9586. }
  9587. ],
  9588. "responses": {
  9589. "200": {
  9590. "description": "OK",
  9591. "schema": {
  9592. "type": "array",
  9593. "items": {
  9594. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9595. }
  9596. }
  9597. },
  9598. "500": {
  9599. "description": "Internal Server Error",
  9600. "schema": {
  9601. "$ref": "#/definitions/app.Response"
  9602. }
  9603. }
  9604. }
  9605. }
  9606. },
  9607. "/QhjSys/QueryAgreementChangeLog": {
  9608. "get": {
  9609. "security": [
  9610. {
  9611. "ApiKeyAuth": []
  9612. }
  9613. ],
  9614. "produces": [
  9615. "application/json"
  9616. ],
  9617. "tags": [
  9618. "大连千海金(协议和签约信息)"
  9619. ],
  9620. "summary": "查询协议配置变更流水",
  9621. "parameters": [
  9622. {
  9623. "type": "integer",
  9624. "description": "协议ID",
  9625. "name": "agreementid",
  9626. "in": "query"
  9627. },
  9628. {
  9629. "type": "integer",
  9630. "description": "协议版本号",
  9631. "name": "agreementversion",
  9632. "in": "query"
  9633. },
  9634. {
  9635. "type": "integer",
  9636. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9637. "name": "agreementtype",
  9638. "in": "query"
  9639. },
  9640. {
  9641. "type": "string",
  9642. "description": "协议编号(模糊匹配)",
  9643. "name": "agreementno",
  9644. "in": "query"
  9645. },
  9646. {
  9647. "type": "string",
  9648. "description": "协议名称(模糊匹配)",
  9649. "name": "agreementname",
  9650. "in": "query"
  9651. }
  9652. ],
  9653. "responses": {
  9654. "200": {
  9655. "description": "OK",
  9656. "schema": {
  9657. "type": "array",
  9658. "items": {
  9659. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9660. }
  9661. }
  9662. },
  9663. "500": {
  9664. "description": "Internal Server Error",
  9665. "schema": {
  9666. "$ref": "#/definitions/app.Response"
  9667. }
  9668. }
  9669. }
  9670. }
  9671. },
  9672. "/QhjSys/QueryAgreementConfig": {
  9673. "get": {
  9674. "security": [
  9675. {
  9676. "ApiKeyAuth": []
  9677. }
  9678. ],
  9679. "produces": [
  9680. "application/json"
  9681. ],
  9682. "tags": [
  9683. "大连千海金(协议和签约信息)"
  9684. ],
  9685. "summary": "查询协议配置",
  9686. "parameters": [
  9687. {
  9688. "type": "integer",
  9689. "description": "协议ID",
  9690. "name": "agreementid",
  9691. "in": "query"
  9692. },
  9693. {
  9694. "type": "integer",
  9695. "description": "协议版本号",
  9696. "name": "agreementversion",
  9697. "in": "query"
  9698. },
  9699. {
  9700. "type": "integer",
  9701. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9702. "name": "agreementtype",
  9703. "in": "query"
  9704. },
  9705. {
  9706. "type": "integer",
  9707. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9708. "name": "isvalid",
  9709. "in": "query"
  9710. },
  9711. {
  9712. "type": "string",
  9713. "description": "协议编号(模糊匹配)",
  9714. "name": "agreementno",
  9715. "in": "query"
  9716. },
  9717. {
  9718. "type": "string",
  9719. "description": "协议名称(模糊匹配)",
  9720. "name": "agreementname",
  9721. "in": "query"
  9722. }
  9723. ],
  9724. "responses": {
  9725. "200": {
  9726. "description": "OK",
  9727. "schema": {
  9728. "type": "array",
  9729. "items": {
  9730. "$ref": "#/definitions/models.QhjAgreementConfig"
  9731. }
  9732. }
  9733. },
  9734. "500": {
  9735. "description": "Internal Server Error",
  9736. "schema": {
  9737. "$ref": "#/definitions/app.Response"
  9738. }
  9739. }
  9740. }
  9741. }
  9742. },
  9743. "/QhjSys/QueryCustomerSignStatus": {
  9744. "get": {
  9745. "security": [
  9746. {
  9747. "ApiKeyAuth": []
  9748. }
  9749. ],
  9750. "produces": [
  9751. "application/json"
  9752. ],
  9753. "tags": [
  9754. "大连千海金(协议和签约信息)"
  9755. ],
  9756. "summary": "查询客户协议签约状态",
  9757. "parameters": [
  9758. {
  9759. "type": "integer",
  9760. "description": "客户ID",
  9761. "name": "userid",
  9762. "in": "query"
  9763. },
  9764. {
  9765. "type": "integer",
  9766. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9767. "name": "nodetype",
  9768. "in": "query"
  9769. },
  9770. {
  9771. "type": "integer",
  9772. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9773. "name": "goodsid",
  9774. "in": "query"
  9775. },
  9776. {
  9777. "type": "string",
  9778. "description": "创建交易日(yyyyMMdd)",
  9779. "name": "tradedate",
  9780. "in": "query"
  9781. },
  9782. {
  9783. "type": "string",
  9784. "description": "用户名称(模糊匹配)",
  9785. "name": "username",
  9786. "in": "query"
  9787. }
  9788. ],
  9789. "responses": {
  9790. "200": {
  9791. "description": "OK",
  9792. "schema": {
  9793. "type": "array",
  9794. "items": {
  9795. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9796. }
  9797. }
  9798. },
  9799. "500": {
  9800. "description": "Internal Server Error",
  9801. "schema": {
  9802. "$ref": "#/definitions/app.Response"
  9803. }
  9804. }
  9805. }
  9806. }
  9807. },
  9808. "/QhjSys/QueryNodeAgreementConfig": {
  9809. "get": {
  9810. "security": [
  9811. {
  9812. "ApiKeyAuth": []
  9813. }
  9814. ],
  9815. "produces": [
  9816. "application/json"
  9817. ],
  9818. "tags": [
  9819. "大连千海金(协议和签约信息)"
  9820. ],
  9821. "summary": "查询协议节点配置",
  9822. "parameters": [
  9823. {
  9824. "type": "integer",
  9825. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9826. "name": "configid",
  9827. "in": "query"
  9828. },
  9829. {
  9830. "type": "integer",
  9831. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9832. "name": "nodetype",
  9833. "in": "query"
  9834. },
  9835. {
  9836. "type": "integer",
  9837. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9838. "name": "goodsid",
  9839. "in": "query"
  9840. },
  9841. {
  9842. "type": "integer",
  9843. "description": "协议ID",
  9844. "name": "agreementid",
  9845. "in": "query"
  9846. },
  9847. {
  9848. "type": "integer",
  9849. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9850. "name": "agreementtype",
  9851. "in": "query"
  9852. },
  9853. {
  9854. "type": "integer",
  9855. "description": "协议版本号",
  9856. "name": "agreementversion",
  9857. "in": "query"
  9858. },
  9859. {
  9860. "type": "string",
  9861. "description": "协议编号(模糊匹配)",
  9862. "name": "agreementno",
  9863. "in": "query"
  9864. },
  9865. {
  9866. "type": "string",
  9867. "description": "协议名称(模糊匹配)",
  9868. "name": "agreementname",
  9869. "in": "query"
  9870. }
  9871. ],
  9872. "responses": {
  9873. "200": {
  9874. "description": "OK",
  9875. "schema": {
  9876. "type": "array",
  9877. "items": {
  9878. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9879. }
  9880. }
  9881. },
  9882. "500": {
  9883. "description": "Internal Server Error",
  9884. "schema": {
  9885. "$ref": "#/definitions/app.Response"
  9886. }
  9887. }
  9888. }
  9889. }
  9890. },
  9891. "/QhjSys/QueryQhjCustomerSignLog": {
  9892. "get": {
  9893. "security": [
  9894. {
  9895. "ApiKeyAuth": []
  9896. }
  9897. ],
  9898. "produces": [
  9899. "application/json"
  9900. ],
  9901. "tags": [
  9902. "大连千海金(协议和签约信息)"
  9903. ],
  9904. "summary": "查询客户协议签约流水",
  9905. "parameters": [
  9906. {
  9907. "type": "integer",
  9908. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9909. "name": "logid",
  9910. "in": "query"
  9911. },
  9912. {
  9913. "type": "integer",
  9914. "description": "客户ID",
  9915. "name": "userid",
  9916. "in": "query"
  9917. },
  9918. {
  9919. "type": "integer",
  9920. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9921. "name": "nodetype",
  9922. "in": "query"
  9923. },
  9924. {
  9925. "type": "integer",
  9926. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9927. "name": "goodsid",
  9928. "in": "query"
  9929. },
  9930. {
  9931. "type": "integer",
  9932. "description": "协议ID",
  9933. "name": "agreementid",
  9934. "in": "query"
  9935. },
  9936. {
  9937. "type": "string",
  9938. "description": "用户名称(模糊匹配)",
  9939. "name": "username",
  9940. "in": "query"
  9941. },
  9942. {
  9943. "type": "string",
  9944. "description": "协议编号(模糊匹配)",
  9945. "name": "agreementno",
  9946. "in": "query"
  9947. },
  9948. {
  9949. "type": "string",
  9950. "description": "协议名称(模糊匹配)",
  9951. "name": "agreementname",
  9952. "in": "query"
  9953. }
  9954. ],
  9955. "responses": {
  9956. "200": {
  9957. "description": "OK",
  9958. "schema": {
  9959. "type": "array",
  9960. "items": {
  9961. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9962. }
  9963. }
  9964. },
  9965. "500": {
  9966. "description": "Internal Server Error",
  9967. "schema": {
  9968. "$ref": "#/definitions/app.Response"
  9969. }
  9970. }
  9971. }
  9972. }
  9973. },
  9974. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9975. "get": {
  9976. "security": [
  9977. {
  9978. "ApiKeyAuth": []
  9979. }
  9980. ],
  9981. "produces": [
  9982. "application/json"
  9983. ],
  9984. "tags": [
  9985. "大连千海金(协议和签约信息)"
  9986. ],
  9987. "summary": "查询用户协议节点配置和状态",
  9988. "parameters": [
  9989. {
  9990. "type": "integer",
  9991. "description": "客户ID",
  9992. "name": "userid",
  9993. "in": "query"
  9994. },
  9995. {
  9996. "type": "integer",
  9997. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9998. "name": "configid",
  9999. "in": "query"
  10000. },
  10001. {
  10002. "type": "string",
  10003. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10004. "name": "nodetype",
  10005. "in": "query"
  10006. },
  10007. {
  10008. "type": "integer",
  10009. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10010. "name": "goodsid",
  10011. "in": "query"
  10012. },
  10013. {
  10014. "type": "integer",
  10015. "description": "协议ID",
  10016. "name": "agreementid",
  10017. "in": "query"
  10018. },
  10019. {
  10020. "type": "integer",
  10021. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10022. "name": "agreementtype",
  10023. "in": "query"
  10024. },
  10025. {
  10026. "type": "integer",
  10027. "description": "协议版本号",
  10028. "name": "agreementversion",
  10029. "in": "query"
  10030. },
  10031. {
  10032. "type": "string",
  10033. "description": "协议编号(模糊匹配)",
  10034. "name": "agreementno",
  10035. "in": "query"
  10036. },
  10037. {
  10038. "type": "string",
  10039. "description": "协议名称(模糊匹配)",
  10040. "name": "agreementname",
  10041. "in": "query"
  10042. }
  10043. ],
  10044. "responses": {
  10045. "200": {
  10046. "description": "OK",
  10047. "schema": {
  10048. "type": "array",
  10049. "items": {
  10050. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10051. }
  10052. }
  10053. },
  10054. "500": {
  10055. "description": "Internal Server Error",
  10056. "schema": {
  10057. "$ref": "#/definitions/app.Response"
  10058. }
  10059. }
  10060. }
  10061. }
  10062. },
  10063. "/Quote/QueryHistoryDatas": {
  10064. "get": {
  10065. "security": [
  10066. {
  10067. "ApiKeyAuth": []
  10068. }
  10069. ],
  10070. "produces": [
  10071. "application/json"
  10072. ],
  10073. "tags": [
  10074. "行情服务"
  10075. ],
  10076. "summary": "查询行情历史数据",
  10077. "parameters": [
  10078. {
  10079. "type": "integer",
  10080. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10081. "name": "cycleType",
  10082. "in": "query",
  10083. "required": true
  10084. },
  10085. {
  10086. "type": "string",
  10087. "description": "商品代码",
  10088. "name": "goodsCode",
  10089. "in": "query",
  10090. "required": true
  10091. },
  10092. {
  10093. "type": "string",
  10094. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10095. "name": "startTime",
  10096. "in": "query"
  10097. },
  10098. {
  10099. "type": "string",
  10100. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10101. "name": "endTime",
  10102. "in": "query"
  10103. },
  10104. {
  10105. "type": "integer",
  10106. "description": "条数",
  10107. "name": "count",
  10108. "in": "query"
  10109. },
  10110. {
  10111. "type": "boolean",
  10112. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10113. "name": "isAsc",
  10114. "in": "query"
  10115. }
  10116. ],
  10117. "responses": {
  10118. "200": {
  10119. "description": "OK",
  10120. "schema": {
  10121. "$ref": "#/definitions/quote.HistoryData"
  10122. }
  10123. },
  10124. "500": {
  10125. "description": "Internal Server Error",
  10126. "schema": {
  10127. "$ref": "#/definitions/app.Response"
  10128. }
  10129. }
  10130. }
  10131. }
  10132. },
  10133. "/Quote/QueryHistoryTikDatas": {
  10134. "get": {
  10135. "security": [
  10136. {
  10137. "ApiKeyAuth": []
  10138. }
  10139. ],
  10140. "produces": [
  10141. "application/json"
  10142. ],
  10143. "tags": [
  10144. "行情服务"
  10145. ],
  10146. "summary": "查询行情Tik数据",
  10147. "parameters": [
  10148. {
  10149. "type": "string",
  10150. "description": "商品代码",
  10151. "name": "goodsCode",
  10152. "in": "query",
  10153. "required": true
  10154. },
  10155. {
  10156. "type": "string",
  10157. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10158. "name": "startTime",
  10159. "in": "query"
  10160. },
  10161. {
  10162. "type": "string",
  10163. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10164. "name": "endTime",
  10165. "in": "query"
  10166. },
  10167. {
  10168. "type": "integer",
  10169. "description": "条数",
  10170. "name": "count",
  10171. "in": "query"
  10172. },
  10173. {
  10174. "type": "boolean",
  10175. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10176. "name": "isAsc",
  10177. "in": "query"
  10178. }
  10179. ],
  10180. "responses": {
  10181. "200": {
  10182. "description": "OK",
  10183. "schema": {
  10184. "$ref": "#/definitions/quote.HistoryTikData"
  10185. }
  10186. },
  10187. "500": {
  10188. "description": "Internal Server Error",
  10189. "schema": {
  10190. "$ref": "#/definitions/app.Response"
  10191. }
  10192. }
  10193. }
  10194. }
  10195. },
  10196. "/Quote/QueryQuoteDay": {
  10197. "get": {
  10198. "security": [
  10199. {
  10200. "ApiKeyAuth": []
  10201. }
  10202. ],
  10203. "produces": [
  10204. "application/json"
  10205. ],
  10206. "tags": [
  10207. "行情服务"
  10208. ],
  10209. "summary": "获取商品盘面信息",
  10210. "parameters": [
  10211. {
  10212. "type": "string",
  10213. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10214. "name": "goodsCodes",
  10215. "in": "query",
  10216. "required": true
  10217. }
  10218. ],
  10219. "responses": {
  10220. "200": {
  10221. "description": "OK",
  10222. "schema": {
  10223. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10224. }
  10225. },
  10226. "500": {
  10227. "description": "Internal Server Error",
  10228. "schema": {
  10229. "$ref": "#/definitions/app.Response"
  10230. }
  10231. }
  10232. }
  10233. }
  10234. },
  10235. "/Quote/QueryTSData": {
  10236. "get": {
  10237. "security": [
  10238. {
  10239. "ApiKeyAuth": []
  10240. }
  10241. ],
  10242. "produces": [
  10243. "application/json"
  10244. ],
  10245. "tags": [
  10246. "行情服务"
  10247. ],
  10248. "summary": "分时图数据查询",
  10249. "parameters": [
  10250. {
  10251. "type": "string",
  10252. "description": "商品代码",
  10253. "name": "goodsCode",
  10254. "in": "query",
  10255. "required": true
  10256. }
  10257. ],
  10258. "responses": {
  10259. "200": {
  10260. "description": "OK",
  10261. "schema": {
  10262. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10263. }
  10264. },
  10265. "500": {
  10266. "description": "Internal Server Error",
  10267. "schema": {
  10268. "$ref": "#/definitions/app.Response"
  10269. }
  10270. }
  10271. }
  10272. }
  10273. },
  10274. "/SZDZ/QueryConvertConfig": {
  10275. "get": {
  10276. "security": [
  10277. {
  10278. "ApiKeyAuth": []
  10279. }
  10280. ],
  10281. "produces": [
  10282. "application/json"
  10283. ],
  10284. "tags": [
  10285. "定制【尚志大宗】"
  10286. ],
  10287. "summary": "查询交易系统转换设置",
  10288. "parameters": [
  10289. {
  10290. "type": "integer",
  10291. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10292. "name": "convertType",
  10293. "in": "query"
  10294. },
  10295. {
  10296. "type": "string",
  10297. "description": "外部商品代码[JD\\PD]",
  10298. "name": "outerGoodsCode",
  10299. "in": "query"
  10300. },
  10301. {
  10302. "type": "string",
  10303. "description": "内部商品ID列表[交易],格式:1,2,3",
  10304. "name": "innerGoodsIDs",
  10305. "in": "query"
  10306. }
  10307. ],
  10308. "responses": {
  10309. "200": {
  10310. "description": "OK",
  10311. "schema": {
  10312. "$ref": "#/definitions/models.Szdz3convertconfig"
  10313. }
  10314. },
  10315. "500": {
  10316. "description": "Internal Server Error",
  10317. "schema": {
  10318. "$ref": "#/definitions/app.Response"
  10319. }
  10320. }
  10321. }
  10322. }
  10323. },
  10324. "/SZDZ/QueryConvertLog": {
  10325. "get": {
  10326. "security": [
  10327. {
  10328. "ApiKeyAuth": []
  10329. }
  10330. ],
  10331. "produces": [
  10332. "application/json"
  10333. ],
  10334. "tags": [
  10335. "定制【尚志大宗】"
  10336. ],
  10337. "summary": "交易系统转换流水查询",
  10338. "parameters": [
  10339. {
  10340. "type": "string",
  10341. "description": "资金账户 - 格式:1,2,3",
  10342. "name": "accountID",
  10343. "in": "query",
  10344. "required": true
  10345. },
  10346. {
  10347. "type": "string",
  10348. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10349. "name": "startDate",
  10350. "in": "query"
  10351. },
  10352. {
  10353. "type": "string",
  10354. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10355. "name": "endDate",
  10356. "in": "query"
  10357. }
  10358. ],
  10359. "responses": {
  10360. "200": {
  10361. "description": "OK",
  10362. "schema": {
  10363. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10364. }
  10365. },
  10366. "500": {
  10367. "description": "Internal Server Error",
  10368. "schema": {
  10369. "$ref": "#/definitions/app.Response"
  10370. }
  10371. }
  10372. }
  10373. }
  10374. },
  10375. "/SZDZ/QueryGoodsPickup": {
  10376. "get": {
  10377. "security": [
  10378. {
  10379. "ApiKeyAuth": []
  10380. }
  10381. ],
  10382. "produces": [
  10383. "application/json"
  10384. ],
  10385. "tags": [
  10386. "定制【尚志大宗】"
  10387. ],
  10388. "summary": "商品提货单查询",
  10389. "parameters": [
  10390. {
  10391. "type": "string",
  10392. "description": "资金账户 - 格式:1,2,3",
  10393. "name": "accountID",
  10394. "in": "query",
  10395. "required": true
  10396. },
  10397. {
  10398. "type": "integer",
  10399. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10400. "name": "takeOrderStatus",
  10401. "in": "query"
  10402. }
  10403. ],
  10404. "responses": {
  10405. "200": {
  10406. "description": "OK",
  10407. "schema": {
  10408. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10409. }
  10410. },
  10411. "500": {
  10412. "description": "Internal Server Error",
  10413. "schema": {
  10414. "$ref": "#/definitions/app.Response"
  10415. }
  10416. }
  10417. }
  10418. }
  10419. },
  10420. "/SZDZ/QueryRecieptOrder": {
  10421. "get": {
  10422. "security": [
  10423. {
  10424. "ApiKeyAuth": []
  10425. }
  10426. ],
  10427. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10428. "produces": [
  10429. "application/json"
  10430. ],
  10431. "tags": [
  10432. "定制【尚志大宗】"
  10433. ],
  10434. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10435. "parameters": [
  10436. {
  10437. "type": "integer",
  10438. "description": "页码",
  10439. "name": "page",
  10440. "in": "query"
  10441. },
  10442. {
  10443. "type": "integer",
  10444. "description": "每页条数",
  10445. "name": "pagesize",
  10446. "in": "query"
  10447. },
  10448. {
  10449. "type": "integer",
  10450. "description": "商品ID",
  10451. "name": "goodsID",
  10452. "in": "query",
  10453. "required": true
  10454. },
  10455. {
  10456. "type": "string",
  10457. "description": "所属账户名称",
  10458. "name": "accountName",
  10459. "in": "query"
  10460. },
  10461. {
  10462. "type": "integer",
  10463. "description": "市场ID",
  10464. "name": "marketID",
  10465. "in": "query"
  10466. },
  10467. {
  10468. "type": "integer",
  10469. "description": "方向 - 0:买 1:卖",
  10470. "name": "buyorsell",
  10471. "in": "query",
  10472. "required": true
  10473. }
  10474. ],
  10475. "responses": {
  10476. "200": {
  10477. "description": "OK",
  10478. "schema": {
  10479. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10480. }
  10481. },
  10482. "500": {
  10483. "description": "Internal Server Error",
  10484. "schema": {
  10485. "$ref": "#/definitions/app.Response"
  10486. }
  10487. }
  10488. }
  10489. }
  10490. },
  10491. "/SZDZ/QuerySZDZTradePosition": {
  10492. "get": {
  10493. "security": [
  10494. {
  10495. "ApiKeyAuth": []
  10496. }
  10497. ],
  10498. "produces": [
  10499. "application/json"
  10500. ],
  10501. "tags": [
  10502. "定制【尚志大宗】"
  10503. ],
  10504. "summary": "持仓汇总查询(尚志大宗)",
  10505. "parameters": [
  10506. {
  10507. "type": "integer",
  10508. "description": "资金账户",
  10509. "name": "accountID",
  10510. "in": "query",
  10511. "required": true
  10512. }
  10513. ],
  10514. "responses": {
  10515. "200": {
  10516. "description": "OK",
  10517. "schema": {
  10518. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10519. }
  10520. },
  10521. "500": {
  10522. "description": "Internal Server Error",
  10523. "schema": {
  10524. "$ref": "#/definitions/app.Response"
  10525. }
  10526. }
  10527. }
  10528. }
  10529. },
  10530. "/SZDZ/SearchWhite": {
  10531. "get": {
  10532. "security": [
  10533. {
  10534. "ApiKeyAuth": []
  10535. }
  10536. ],
  10537. "produces": [
  10538. "application/json"
  10539. ],
  10540. "tags": [
  10541. "定制【尚志大宗】"
  10542. ],
  10543. "summary": "搜索白名单",
  10544. "parameters": [
  10545. {
  10546. "type": "integer",
  10547. "description": "用户ID",
  10548. "name": "userID",
  10549. "in": "query",
  10550. "required": true
  10551. }
  10552. ],
  10553. "responses": {
  10554. "200": {
  10555. "description": "OK",
  10556. "schema": {
  10557. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10558. }
  10559. },
  10560. "500": {
  10561. "description": "Internal Server Error",
  10562. "schema": {
  10563. "$ref": "#/definitions/app.Response"
  10564. }
  10565. }
  10566. }
  10567. }
  10568. },
  10569. "/Search/SearchGoodses": {
  10570. "get": {
  10571. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10572. "produces": [
  10573. "application/json"
  10574. ],
  10575. "tags": [
  10576. "检索服务"
  10577. ],
  10578. "summary": "检索商品信息",
  10579. "parameters": [
  10580. {
  10581. "type": "string",
  10582. "description": "检索内容",
  10583. "name": "content",
  10584. "in": "query",
  10585. "required": true
  10586. },
  10587. {
  10588. "type": "string",
  10589. "description": "交易模式,格式:1,2,3",
  10590. "name": "tradeModes",
  10591. "in": "query"
  10592. }
  10593. ],
  10594. "responses": {
  10595. "200": {
  10596. "description": "OK",
  10597. "schema": {
  10598. "$ref": "#/definitions/models.SearchGoods"
  10599. }
  10600. },
  10601. "500": {
  10602. "description": "Internal Server Error",
  10603. "schema": {
  10604. "$ref": "#/definitions/app.Response"
  10605. }
  10606. }
  10607. }
  10608. }
  10609. },
  10610. "/TaAccount/GetTaAccounts": {
  10611. "get": {
  10612. "security": [
  10613. {
  10614. "ApiKeyAuth": []
  10615. }
  10616. ],
  10617. "produces": [
  10618. "application/json"
  10619. ],
  10620. "tags": [
  10621. "资金账户"
  10622. ],
  10623. "summary": "获取资金账户信息",
  10624. "parameters": [
  10625. {
  10626. "type": "integer",
  10627. "description": "登录账户",
  10628. "name": "loginID",
  10629. "in": "query",
  10630. "required": true
  10631. },
  10632. {
  10633. "type": "integer",
  10634. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10635. "name": "taAccountType",
  10636. "in": "query"
  10637. }
  10638. ],
  10639. "responses": {
  10640. "200": {
  10641. "description": "OK",
  10642. "schema": {
  10643. "$ref": "#/definitions/models.Taaccount"
  10644. }
  10645. },
  10646. "500": {
  10647. "description": "Internal Server Error",
  10648. "schema": {
  10649. "$ref": "#/definitions/app.Response"
  10650. }
  10651. }
  10652. }
  10653. }
  10654. },
  10655. "/TaAccount/QueryAmountLog": {
  10656. "get": {
  10657. "security": [
  10658. {
  10659. "ApiKeyAuth": []
  10660. }
  10661. ],
  10662. "produces": [
  10663. "application/json"
  10664. ],
  10665. "tags": [
  10666. "资金账户"
  10667. ],
  10668. "summary": "资金流水查询(当前)",
  10669. "parameters": [
  10670. {
  10671. "type": "integer",
  10672. "description": "页码",
  10673. "name": "page",
  10674. "in": "query"
  10675. },
  10676. {
  10677. "type": "integer",
  10678. "description": "每页条数",
  10679. "name": "pagesize",
  10680. "in": "query"
  10681. },
  10682. {
  10683. "type": "string",
  10684. "description": "资金账户 - 格式:1,2,3",
  10685. "name": "accountID",
  10686. "in": "query",
  10687. "required": true
  10688. },
  10689. {
  10690. "type": "string",
  10691. "description": "资金操作类型 - 格式:1,2,3",
  10692. "name": "OperateType",
  10693. "in": "query"
  10694. }
  10695. ],
  10696. "responses": {
  10697. "200": {
  10698. "description": "OK",
  10699. "schema": {
  10700. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10701. }
  10702. },
  10703. "500": {
  10704. "description": "Internal Server Error",
  10705. "schema": {
  10706. "$ref": "#/definitions/app.Response"
  10707. }
  10708. }
  10709. }
  10710. }
  10711. },
  10712. "/TaAccount/QueryHisAmountLog": {
  10713. "get": {
  10714. "security": [
  10715. {
  10716. "ApiKeyAuth": []
  10717. }
  10718. ],
  10719. "produces": [
  10720. "application/json"
  10721. ],
  10722. "tags": [
  10723. "资金账户"
  10724. ],
  10725. "summary": "资金流水查询(历史)",
  10726. "parameters": [
  10727. {
  10728. "type": "integer",
  10729. "description": "页码",
  10730. "name": "page",
  10731. "in": "query"
  10732. },
  10733. {
  10734. "type": "integer",
  10735. "description": "每页条数",
  10736. "name": "pagesize",
  10737. "in": "query"
  10738. },
  10739. {
  10740. "type": "string",
  10741. "description": "资金账户 - 格式:1,2,3",
  10742. "name": "accountID",
  10743. "in": "query",
  10744. "required": true
  10745. },
  10746. {
  10747. "type": "string",
  10748. "description": "资金操作类型 - 格式:1,2,3",
  10749. "name": "OperateType",
  10750. "in": "query"
  10751. },
  10752. {
  10753. "type": "string",
  10754. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10755. "name": "startDate",
  10756. "in": "query"
  10757. },
  10758. {
  10759. "type": "string",
  10760. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10761. "name": "endDate",
  10762. "in": "query"
  10763. }
  10764. ],
  10765. "responses": {
  10766. "200": {
  10767. "description": "OK",
  10768. "schema": {
  10769. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10770. }
  10771. },
  10772. "500": {
  10773. "description": "Internal Server Error",
  10774. "schema": {
  10775. "$ref": "#/definitions/app.Response"
  10776. }
  10777. }
  10778. }
  10779. }
  10780. },
  10781. "/Tjmd/QueryQuoteGoodsList": {
  10782. "get": {
  10783. "security": [
  10784. {
  10785. "ApiKeyAuth": []
  10786. }
  10787. ],
  10788. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  10789. "produces": [
  10790. "application/json"
  10791. ],
  10792. "tags": [
  10793. "天津麦顿"
  10794. ],
  10795. "summary": "查询掉期报价列表",
  10796. "parameters": [
  10797. {
  10798. "type": "integer",
  10799. "description": "用户类型",
  10800. "name": "usertype",
  10801. "in": "query",
  10802. "required": true
  10803. },
  10804. {
  10805. "type": "string",
  10806. "description": "市场id, 格式 1,2,3",
  10807. "name": "marketids",
  10808. "in": "query"
  10809. },
  10810. {
  10811. "type": "integer",
  10812. "description": "商品组id",
  10813. "name": "goodsgroupid",
  10814. "in": "query"
  10815. },
  10816. {
  10817. "type": "integer",
  10818. "description": "商品id",
  10819. "name": "goodsid",
  10820. "in": "query"
  10821. }
  10822. ],
  10823. "responses": {
  10824. "200": {
  10825. "description": "OK",
  10826. "schema": {
  10827. "type": "array",
  10828. "items": {
  10829. "$ref": "#/definitions/models.TjmdQuoteGoods"
  10830. }
  10831. }
  10832. },
  10833. "500": {
  10834. "description": "Internal Server Error",
  10835. "schema": {
  10836. "$ref": "#/definitions/app.Response"
  10837. }
  10838. }
  10839. }
  10840. }
  10841. },
  10842. "/Tjmd/QueryTjmdTodayAccountMargin": {
  10843. "get": {
  10844. "security": [
  10845. {
  10846. "ApiKeyAuth": []
  10847. }
  10848. ],
  10849. "produces": [
  10850. "application/json"
  10851. ],
  10852. "tags": [
  10853. "天津麦顿"
  10854. ],
  10855. "summary": "查询今日账户保证金配置",
  10856. "parameters": [
  10857. {
  10858. "type": "string",
  10859. "description": "市场id",
  10860. "name": "marketid",
  10861. "in": "query"
  10862. },
  10863. {
  10864. "type": "string",
  10865. "description": "商品id",
  10866. "name": "goodsid",
  10867. "in": "query"
  10868. },
  10869. {
  10870. "type": "string",
  10871. "description": "资金账号",
  10872. "name": "accountid",
  10873. "in": "query"
  10874. }
  10875. ],
  10876. "responses": {
  10877. "200": {
  10878. "description": "OK",
  10879. "schema": {
  10880. "type": "array",
  10881. "items": {
  10882. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  10883. }
  10884. }
  10885. },
  10886. "500": {
  10887. "description": "Internal Server Error",
  10888. "schema": {
  10889. "$ref": "#/definitions/app.Response"
  10890. }
  10891. }
  10892. }
  10893. }
  10894. },
  10895. "/Tjmd/QueryTjmdTradeOrderDetail": {
  10896. "get": {
  10897. "security": [
  10898. {
  10899. "ApiKeyAuth": []
  10900. }
  10901. ],
  10902. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  10903. "produces": [
  10904. "application/json"
  10905. ],
  10906. "tags": [
  10907. "天津麦顿"
  10908. ],
  10909. "summary": "查询掉期买卖大厅",
  10910. "parameters": [
  10911. {
  10912. "type": "integer",
  10913. "description": "页码",
  10914. "name": "page",
  10915. "in": "query"
  10916. },
  10917. {
  10918. "type": "integer",
  10919. "description": "每页条数",
  10920. "name": "pagesize",
  10921. "in": "query"
  10922. },
  10923. {
  10924. "type": "integer",
  10925. "description": "用户id",
  10926. "name": "userid",
  10927. "in": "query",
  10928. "required": true
  10929. },
  10930. {
  10931. "type": "integer",
  10932. "description": "用户类型",
  10933. "name": "usertype",
  10934. "in": "query",
  10935. "required": true
  10936. },
  10937. {
  10938. "type": "string",
  10939. "description": "市场id, 格式 1,2,3",
  10940. "name": "marketids",
  10941. "in": "query"
  10942. },
  10943. {
  10944. "type": "integer",
  10945. "description": "商品id",
  10946. "name": "goodsid",
  10947. "in": "query",
  10948. "required": true
  10949. },
  10950. {
  10951. "type": "integer",
  10952. "description": "买卖方向 0-买 1-卖",
  10953. "name": "buyorsell",
  10954. "in": "query",
  10955. "required": true
  10956. }
  10957. ],
  10958. "responses": {
  10959. "200": {
  10960. "description": "OK",
  10961. "schema": {
  10962. "type": "array",
  10963. "items": {
  10964. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  10965. }
  10966. }
  10967. },
  10968. "500": {
  10969. "description": "Internal Server Error",
  10970. "schema": {
  10971. "$ref": "#/definitions/app.Response"
  10972. }
  10973. }
  10974. }
  10975. }
  10976. },
  10977. "/Tjmd/QueryTjmdTransferApply": {
  10978. "get": {
  10979. "security": [
  10980. {
  10981. "ApiKeyAuth": []
  10982. }
  10983. ],
  10984. "produces": [
  10985. "application/json"
  10986. ],
  10987. "tags": [
  10988. "天津麦顿"
  10989. ],
  10990. "summary": "查询掉期协议单",
  10991. "parameters": [
  10992. {
  10993. "type": "integer",
  10994. "description": "类型 1-我的申请 2-对方申请",
  10995. "name": "applytype",
  10996. "in": "query",
  10997. "required": true
  10998. },
  10999. {
  11000. "type": "string",
  11001. "description": "市场id, 格式 1,2,3",
  11002. "name": "marketids",
  11003. "in": "query"
  11004. },
  11005. {
  11006. "type": "string",
  11007. "description": "资金账号, 格式 25000000001,25000000003",
  11008. "name": "accountids",
  11009. "in": "query"
  11010. }
  11011. ],
  11012. "responses": {
  11013. "200": {
  11014. "description": "OK",
  11015. "schema": {
  11016. "type": "array",
  11017. "items": {
  11018. "$ref": "#/definitions/models.TjmdTransferApply"
  11019. }
  11020. }
  11021. },
  11022. "500": {
  11023. "description": "Internal Server Error",
  11024. "schema": {
  11025. "$ref": "#/definitions/app.Response"
  11026. }
  11027. }
  11028. }
  11029. }
  11030. },
  11031. "/Trade/QueryRecieptOrder": {
  11032. "get": {
  11033. "security": [
  11034. {
  11035. "ApiKeyAuth": []
  11036. }
  11037. ],
  11038. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11039. "produces": [
  11040. "application/json"
  11041. ],
  11042. "tags": [
  11043. "通用交易"
  11044. ],
  11045. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11046. "parameters": [
  11047. {
  11048. "type": "integer",
  11049. "description": "页码",
  11050. "name": "page",
  11051. "in": "query"
  11052. },
  11053. {
  11054. "type": "integer",
  11055. "description": "每页条数",
  11056. "name": "pagesize",
  11057. "in": "query"
  11058. },
  11059. {
  11060. "type": "integer",
  11061. "description": "商品ID",
  11062. "name": "goodsID",
  11063. "in": "query",
  11064. "required": true
  11065. },
  11066. {
  11067. "type": "string",
  11068. "description": "所属账户名称",
  11069. "name": "accountName",
  11070. "in": "query"
  11071. },
  11072. {
  11073. "type": "integer",
  11074. "description": "市场ID",
  11075. "name": "marketID",
  11076. "in": "query"
  11077. },
  11078. {
  11079. "type": "integer",
  11080. "description": "方向 - 0:买 1:卖",
  11081. "name": "buyorsell",
  11082. "in": "query",
  11083. "required": true
  11084. }
  11085. ],
  11086. "responses": {
  11087. "200": {
  11088. "description": "OK",
  11089. "schema": {
  11090. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11091. }
  11092. },
  11093. "500": {
  11094. "description": "Internal Server Error",
  11095. "schema": {
  11096. "$ref": "#/definitions/app.Response"
  11097. }
  11098. }
  11099. }
  11100. }
  11101. },
  11102. "/User/AddMessageBoard": {
  11103. "post": {
  11104. "security": [
  11105. {
  11106. "ApiKeyAuth": []
  11107. }
  11108. ],
  11109. "produces": [
  11110. "application/json"
  11111. ],
  11112. "tags": [
  11113. "用户信息"
  11114. ],
  11115. "summary": "添加用户留言板信息",
  11116. "parameters": [
  11117. {
  11118. "type": "integer",
  11119. "description": "用户ID",
  11120. "name": "userID",
  11121. "in": "query",
  11122. "required": true
  11123. },
  11124. {
  11125. "type": "string",
  11126. "description": "留言信息",
  11127. "name": "message",
  11128. "in": "query",
  11129. "required": true
  11130. },
  11131. {
  11132. "type": "string",
  11133. "description": "联系电话",
  11134. "name": "contactNum",
  11135. "in": "query",
  11136. "required": true
  11137. }
  11138. ],
  11139. "responses": {
  11140. "200": {
  11141. "description": "OK",
  11142. "schema": {
  11143. "$ref": "#/definitions/app.Response"
  11144. }
  11145. },
  11146. "500": {
  11147. "description": "Internal Server Error",
  11148. "schema": {
  11149. "$ref": "#/definitions/app.Response"
  11150. }
  11151. }
  11152. }
  11153. }
  11154. },
  11155. "/User/AddUserFavoriteGoods": {
  11156. "post": {
  11157. "security": [
  11158. {
  11159. "ApiKeyAuth": []
  11160. }
  11161. ],
  11162. "produces": [
  11163. "application/json"
  11164. ],
  11165. "tags": [
  11166. "用户信息"
  11167. ],
  11168. "summary": "添加用户商品收藏信息",
  11169. "parameters": [
  11170. {
  11171. "type": "integer",
  11172. "description": "用户ID",
  11173. "name": "userID",
  11174. "in": "query",
  11175. "required": true
  11176. },
  11177. {
  11178. "type": "integer",
  11179. "description": "商品ID",
  11180. "name": "goodsID",
  11181. "in": "query",
  11182. "required": true
  11183. }
  11184. ],
  11185. "responses": {
  11186. "200": {
  11187. "description": "OK",
  11188. "schema": {
  11189. "$ref": "#/definitions/app.Response"
  11190. }
  11191. },
  11192. "500": {
  11193. "description": "Internal Server Error",
  11194. "schema": {
  11195. "$ref": "#/definitions/app.Response"
  11196. }
  11197. }
  11198. }
  11199. }
  11200. },
  11201. "/User/GetLoginID": {
  11202. "get": {
  11203. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11204. "produces": [
  11205. "application/json"
  11206. ],
  11207. "tags": [
  11208. "用户信息"
  11209. ],
  11210. "summary": "获取登录ID",
  11211. "parameters": [
  11212. {
  11213. "type": "string",
  11214. "description": "登录代码",
  11215. "name": "username",
  11216. "in": "query",
  11217. "required": true
  11218. }
  11219. ],
  11220. "responses": {
  11221. "200": {
  11222. "description": "OK",
  11223. "schema": {
  11224. "$ref": "#/definitions/app.Response"
  11225. }
  11226. },
  11227. "500": {
  11228. "description": "Internal Server Error",
  11229. "schema": {
  11230. "$ref": "#/definitions/app.Response"
  11231. }
  11232. }
  11233. }
  11234. }
  11235. },
  11236. "/User/GetUserAccount": {
  11237. "get": {
  11238. "security": [
  11239. {
  11240. "ApiKeyAuth": []
  11241. }
  11242. ],
  11243. "produces": [
  11244. "application/json"
  11245. ],
  11246. "tags": [
  11247. "用户信息"
  11248. ],
  11249. "summary": "获取用户账号信息",
  11250. "parameters": [
  11251. {
  11252. "type": "integer",
  11253. "description": "用户ID",
  11254. "name": "userID",
  11255. "in": "query",
  11256. "required": true
  11257. }
  11258. ],
  11259. "responses": {
  11260. "200": {
  11261. "description": "OK",
  11262. "schema": {
  11263. "$ref": "#/definitions/models.Useraccount"
  11264. }
  11265. },
  11266. "500": {
  11267. "description": "Internal Server Error",
  11268. "schema": {
  11269. "$ref": "#/definitions/app.Response"
  11270. }
  11271. }
  11272. }
  11273. }
  11274. },
  11275. "/User/GetUserAuthStatus": {
  11276. "get": {
  11277. "security": [
  11278. {
  11279. "ApiKeyAuth": []
  11280. }
  11281. ],
  11282. "produces": [
  11283. "application/json"
  11284. ],
  11285. "tags": [
  11286. "用户信息"
  11287. ],
  11288. "summary": "获取用户实名认证状态",
  11289. "parameters": [
  11290. {
  11291. "type": "integer",
  11292. "description": "用户ID",
  11293. "name": "userID",
  11294. "in": "query",
  11295. "required": true
  11296. }
  11297. ],
  11298. "responses": {
  11299. "200": {
  11300. "description": "OK",
  11301. "schema": {
  11302. "$ref": "#/definitions/app.Response"
  11303. }
  11304. },
  11305. "500": {
  11306. "description": "Internal Server Error",
  11307. "schema": {
  11308. "$ref": "#/definitions/app.Response"
  11309. }
  11310. }
  11311. }
  11312. }
  11313. },
  11314. "/User/LoginQuery": {
  11315. "get": {
  11316. "security": [
  11317. {
  11318. "ApiKeyAuth": []
  11319. }
  11320. ],
  11321. "produces": [
  11322. "application/json"
  11323. ],
  11324. "tags": [
  11325. "用户信息"
  11326. ],
  11327. "summary": "账户登录后信息查询",
  11328. "parameters": [
  11329. {
  11330. "type": "integer",
  11331. "description": "登录账号",
  11332. "name": "loginID",
  11333. "in": "query",
  11334. "required": true
  11335. }
  11336. ],
  11337. "responses": {
  11338. "200": {
  11339. "description": "OK",
  11340. "schema": {
  11341. "$ref": "#/definitions/user.LoginQueryRsp"
  11342. }
  11343. },
  11344. "500": {
  11345. "description": "Internal Server Error",
  11346. "schema": {
  11347. "$ref": "#/definitions/app.Response"
  11348. }
  11349. }
  11350. }
  11351. }
  11352. },
  11353. "/User/QueryMessageBoard": {
  11354. "get": {
  11355. "security": [
  11356. {
  11357. "ApiKeyAuth": []
  11358. }
  11359. ],
  11360. "produces": [
  11361. "application/json"
  11362. ],
  11363. "tags": [
  11364. "用户信息"
  11365. ],
  11366. "summary": "获取用户留言板信息",
  11367. "parameters": [
  11368. {
  11369. "type": "integer",
  11370. "description": "用户ID",
  11371. "name": "userID",
  11372. "in": "query",
  11373. "required": true
  11374. }
  11375. ],
  11376. "responses": {
  11377. "200": {
  11378. "description": "OK",
  11379. "schema": {
  11380. "$ref": "#/definitions/models.Messageboard"
  11381. }
  11382. },
  11383. "500": {
  11384. "description": "Internal Server Error",
  11385. "schema": {
  11386. "$ref": "#/definitions/app.Response"
  11387. }
  11388. }
  11389. }
  11390. }
  11391. },
  11392. "/User/QueryUserFavoriteGoodses": {
  11393. "get": {
  11394. "security": [
  11395. {
  11396. "ApiKeyAuth": []
  11397. }
  11398. ],
  11399. "produces": [
  11400. "application/json"
  11401. ],
  11402. "tags": [
  11403. "用户信息"
  11404. ],
  11405. "summary": "获取用户商品收藏信息",
  11406. "parameters": [
  11407. {
  11408. "type": "integer",
  11409. "description": "用户ID",
  11410. "name": "userID",
  11411. "in": "query",
  11412. "required": true
  11413. }
  11414. ],
  11415. "responses": {
  11416. "200": {
  11417. "description": "OK",
  11418. "schema": {
  11419. "$ref": "#/definitions/models.Userfavoritegoods"
  11420. }
  11421. },
  11422. "500": {
  11423. "description": "Internal Server Error",
  11424. "schema": {
  11425. "$ref": "#/definitions/app.Response"
  11426. }
  11427. }
  11428. }
  11429. }
  11430. },
  11431. "/User/QueryUserInfo": {
  11432. "get": {
  11433. "security": [
  11434. {
  11435. "ApiKeyAuth": []
  11436. }
  11437. ],
  11438. "produces": [
  11439. "application/json"
  11440. ],
  11441. "tags": [
  11442. "用户信息"
  11443. ],
  11444. "summary": "获取用户信息",
  11445. "parameters": [
  11446. {
  11447. "type": "integer",
  11448. "description": "用户ID",
  11449. "name": "userID",
  11450. "in": "query",
  11451. "required": true
  11452. },
  11453. {
  11454. "type": "boolean",
  11455. "description": "是否解密",
  11456. "name": "isDecrypt",
  11457. "in": "query"
  11458. }
  11459. ],
  11460. "responses": {
  11461. "200": {
  11462. "description": "OK",
  11463. "schema": {
  11464. "$ref": "#/definitions/models.Userinfo"
  11465. }
  11466. },
  11467. "500": {
  11468. "description": "Internal Server Error",
  11469. "schema": {
  11470. "$ref": "#/definitions/app.Response"
  11471. }
  11472. }
  11473. }
  11474. }
  11475. },
  11476. "/User/QueryUserReferNum": {
  11477. "get": {
  11478. "produces": [
  11479. "application/json"
  11480. ],
  11481. "tags": [
  11482. "用户信息"
  11483. ],
  11484. "summary": "获取用户邀请码",
  11485. "parameters": [
  11486. {
  11487. "type": "integer",
  11488. "description": "用户ID",
  11489. "name": "userID",
  11490. "in": "query",
  11491. "required": true
  11492. }
  11493. ],
  11494. "responses": {
  11495. "200": {
  11496. "description": "OK",
  11497. "schema": {
  11498. "$ref": "#/definitions/app.Response"
  11499. }
  11500. },
  11501. "500": {
  11502. "description": "Internal Server Error",
  11503. "schema": {
  11504. "$ref": "#/definitions/app.Response"
  11505. }
  11506. }
  11507. }
  11508. }
  11509. },
  11510. "/User/RemoveUserFavoriteGoods": {
  11511. "post": {
  11512. "security": [
  11513. {
  11514. "ApiKeyAuth": []
  11515. }
  11516. ],
  11517. "produces": [
  11518. "application/json"
  11519. ],
  11520. "tags": [
  11521. "用户信息"
  11522. ],
  11523. "summary": "移除用户商品收藏信息",
  11524. "parameters": [
  11525. {
  11526. "type": "integer",
  11527. "description": "用户ID",
  11528. "name": "userID",
  11529. "in": "query",
  11530. "required": true
  11531. },
  11532. {
  11533. "type": "integer",
  11534. "description": "商品ID",
  11535. "name": "goodsID",
  11536. "in": "query",
  11537. "required": true
  11538. }
  11539. ],
  11540. "responses": {
  11541. "200": {
  11542. "description": "OK",
  11543. "schema": {
  11544. "$ref": "#/definitions/app.Response"
  11545. }
  11546. },
  11547. "500": {
  11548. "description": "Internal Server Error",
  11549. "schema": {
  11550. "$ref": "#/definitions/app.Response"
  11551. }
  11552. }
  11553. }
  11554. }
  11555. },
  11556. "/User/UpdateUserAccountStatus": {
  11557. "post": {
  11558. "security": [
  11559. {
  11560. "ApiKeyAuth": []
  11561. }
  11562. ],
  11563. "produces": [
  11564. "application/json"
  11565. ],
  11566. "tags": [
  11567. "用户信息"
  11568. ],
  11569. "summary": "更新用户状态",
  11570. "parameters": [
  11571. {
  11572. "type": "integer",
  11573. "description": "用户ID",
  11574. "name": "userID",
  11575. "in": "query",
  11576. "required": true
  11577. },
  11578. {
  11579. "type": "integer",
  11580. "description": "账户状态 - 4:正常 6:注销(停用)",
  11581. "name": "accountStatus",
  11582. "in": "query",
  11583. "required": true
  11584. }
  11585. ],
  11586. "responses": {
  11587. "200": {
  11588. "description": "OK",
  11589. "schema": {
  11590. "$ref": "#/definitions/app.Response"
  11591. }
  11592. },
  11593. "500": {
  11594. "description": "Internal Server Error",
  11595. "schema": {
  11596. "$ref": "#/definitions/app.Response"
  11597. }
  11598. }
  11599. }
  11600. }
  11601. },
  11602. "/WRTrade/GetAllDeliveryGoods": {
  11603. "get": {
  11604. "security": [
  11605. {
  11606. "ApiKeyAuth": []
  11607. },
  11608. {
  11609. "ApiKeyAuth": []
  11610. }
  11611. ],
  11612. "produces": [
  11613. "application/json",
  11614. "application/json"
  11615. ],
  11616. "tags": [
  11617. "仓单贸易",
  11618. "仓单贸易"
  11619. ],
  11620. "summary": "获取带仓单分类的种类信息",
  11621. "responses": {
  11622. "200": {
  11623. "description": "OK",
  11624. "schema": {
  11625. "$ref": "#/definitions/app.Response"
  11626. }
  11627. },
  11628. "500": {
  11629. "description": "Internal Server Error",
  11630. "schema": {
  11631. "$ref": "#/definitions/app.Response"
  11632. }
  11633. }
  11634. }
  11635. }
  11636. },
  11637. "/WrTrade2/QueryFaProductDetail": {
  11638. "get": {
  11639. "security": [
  11640. {
  11641. "ApiKeyAuth": []
  11642. }
  11643. ],
  11644. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11645. "produces": [
  11646. "application/json"
  11647. ],
  11648. "tags": [
  11649. "仓单贸易v2"
  11650. ],
  11651. "summary": "查询融资产品列表",
  11652. "parameters": [
  11653. {
  11654. "type": "integer",
  11655. "description": "仓单要素id",
  11656. "name": "wrfactortypeid",
  11657. "in": "query",
  11658. "required": true
  11659. }
  11660. ],
  11661. "responses": {
  11662. "200": {
  11663. "description": "OK",
  11664. "schema": {
  11665. "type": "array",
  11666. "items": {
  11667. "$ref": "#/definitions/models.WrFAProductDetail"
  11668. }
  11669. }
  11670. },
  11671. "500": {
  11672. "description": "Internal Server Error",
  11673. "schema": {
  11674. "$ref": "#/definitions/app.Response"
  11675. }
  11676. }
  11677. }
  11678. }
  11679. },
  11680. "/WrTrade2/QueryFilterItem": {
  11681. "get": {
  11682. "security": [
  11683. {
  11684. "ApiKeyAuth": []
  11685. }
  11686. ],
  11687. "produces": [
  11688. "application/json"
  11689. ],
  11690. "tags": [
  11691. "仓单贸易v2"
  11692. ],
  11693. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11694. "parameters": [
  11695. {
  11696. "type": "string",
  11697. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11698. "name": "itype",
  11699. "in": "query",
  11700. "required": true
  11701. }
  11702. ],
  11703. "responses": {
  11704. "200": {
  11705. "description": "OK",
  11706. "schema": {
  11707. "type": "array",
  11708. "items": {
  11709. "$ref": "#/definitions/models.WrFilterItem"
  11710. }
  11711. }
  11712. },
  11713. "500": {
  11714. "description": "Internal Server Error",
  11715. "schema": {
  11716. "$ref": "#/definitions/app.Response"
  11717. }
  11718. }
  11719. }
  11720. }
  11721. },
  11722. "/WrTrade2/QueryFtDeliveryGoods": {
  11723. "get": {
  11724. "security": [
  11725. {
  11726. "ApiKeyAuth": []
  11727. }
  11728. ],
  11729. "produces": [
  11730. "application/json"
  11731. ],
  11732. "tags": [
  11733. "仓单贸易v2"
  11734. ],
  11735. "summary": "查询品种品类筛选框列表",
  11736. "responses": {
  11737. "200": {
  11738. "description": "OK",
  11739. "schema": {
  11740. "type": "array",
  11741. "items": {
  11742. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11743. }
  11744. }
  11745. },
  11746. "500": {
  11747. "description": "Internal Server Error",
  11748. "schema": {
  11749. "$ref": "#/definitions/app.Response"
  11750. }
  11751. }
  11752. }
  11753. }
  11754. },
  11755. "/WrTrade2/QueryHoldLB": {
  11756. "get": {
  11757. "security": [
  11758. {
  11759. "ApiKeyAuth": []
  11760. }
  11761. ],
  11762. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11763. "produces": [
  11764. "application/json"
  11765. ],
  11766. "tags": [
  11767. "仓单贸易v2"
  11768. ],
  11769. "summary": "查询仓单持有记录",
  11770. "parameters": [
  11771. {
  11772. "type": "integer",
  11773. "description": "资金账号",
  11774. "name": "accountid",
  11775. "in": "query",
  11776. "required": true
  11777. },
  11778. {
  11779. "type": "integer",
  11780. "description": "仓库id",
  11781. "name": "warehouseid",
  11782. "in": "query"
  11783. },
  11784. {
  11785. "type": "integer",
  11786. "description": "品种id",
  11787. "name": "deliverygoodsid",
  11788. "in": "query"
  11789. },
  11790. {
  11791. "type": "integer",
  11792. "description": "品类id",
  11793. "name": "wrstandardid",
  11794. "in": "query"
  11795. },
  11796. {
  11797. "type": "integer",
  11798. "description": "仓单要素id",
  11799. "name": "wrfactortypeid",
  11800. "in": "query"
  11801. }
  11802. ],
  11803. "responses": {
  11804. "200": {
  11805. "description": "OK",
  11806. "schema": {
  11807. "type": "array",
  11808. "items": {
  11809. "$ref": "#/definitions/models.WrHoldLB"
  11810. }
  11811. }
  11812. },
  11813. "500": {
  11814. "description": "Internal Server Error",
  11815. "schema": {
  11816. "$ref": "#/definitions/app.Response"
  11817. }
  11818. }
  11819. }
  11820. }
  11821. },
  11822. "/WrTrade2/QueryOrderQuote": {
  11823. "get": {
  11824. "security": [
  11825. {
  11826. "ApiKeyAuth": []
  11827. }
  11828. ],
  11829. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11830. "produces": [
  11831. "application/json"
  11832. ],
  11833. "tags": [
  11834. "仓单贸易v2"
  11835. ],
  11836. "summary": "查询大厅行情列表",
  11837. "parameters": [
  11838. {
  11839. "type": "integer",
  11840. "description": "页码",
  11841. "name": "page",
  11842. "in": "query"
  11843. },
  11844. {
  11845. "type": "integer",
  11846. "description": "每页条数",
  11847. "name": "pagesize",
  11848. "in": "query"
  11849. },
  11850. {
  11851. "type": "integer",
  11852. "description": "仓单贸易市场id",
  11853. "name": "marketid",
  11854. "in": "query"
  11855. },
  11856. {
  11857. "type": "integer",
  11858. "description": "价格方式 - 1:固定价 2-浮动价",
  11859. "name": "wrpricetype",
  11860. "in": "query",
  11861. "required": true
  11862. },
  11863. {
  11864. "type": "integer",
  11865. "description": "0:仓单预售 1:仓单贸易",
  11866. "name": "haswr",
  11867. "in": "query",
  11868. "required": true
  11869. },
  11870. {
  11871. "type": "string",
  11872. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11873. "name": "dgitemname",
  11874. "in": "query"
  11875. },
  11876. {
  11877. "type": "integer",
  11878. "description": "仓库id(筛选条件)",
  11879. "name": "warehouseid",
  11880. "in": "query"
  11881. },
  11882. {
  11883. "type": "integer",
  11884. "description": "品种id",
  11885. "name": "deliverygoodsid",
  11886. "in": "query"
  11887. },
  11888. {
  11889. "type": "integer",
  11890. "description": "品类id",
  11891. "name": "wrstandardid",
  11892. "in": "query"
  11893. },
  11894. {
  11895. "type": "integer",
  11896. "description": "仓单要素id",
  11897. "name": "wrfactortypeid",
  11898. "in": "query"
  11899. },
  11900. {
  11901. "type": "string",
  11902. "description": "交收月(yyyy-mm) 仓单预售填写",
  11903. "name": "deliverymonth",
  11904. "in": "query"
  11905. }
  11906. ],
  11907. "responses": {
  11908. "200": {
  11909. "description": "OK",
  11910. "schema": {
  11911. "type": "array",
  11912. "items": {
  11913. "$ref": "#/definitions/models.WrOrderQuote"
  11914. }
  11915. }
  11916. },
  11917. "500": {
  11918. "description": "Internal Server Error",
  11919. "schema": {
  11920. "$ref": "#/definitions/app.Response"
  11921. }
  11922. }
  11923. }
  11924. }
  11925. },
  11926. "/WrTrade2/QueryOrderQuoteDetail": {
  11927. "get": {
  11928. "security": [
  11929. {
  11930. "ApiKeyAuth": []
  11931. }
  11932. ],
  11933. "produces": [
  11934. "application/json"
  11935. ],
  11936. "tags": [
  11937. "仓单贸易v2"
  11938. ],
  11939. "summary": "查询买卖大厅",
  11940. "parameters": [
  11941. {
  11942. "type": "integer",
  11943. "description": "页码",
  11944. "name": "page",
  11945. "in": "query"
  11946. },
  11947. {
  11948. "type": "integer",
  11949. "description": "每页条数",
  11950. "name": "pagesize",
  11951. "in": "query"
  11952. },
  11953. {
  11954. "type": "integer",
  11955. "description": "仓单贸易市场id",
  11956. "name": "marketid",
  11957. "in": "query"
  11958. },
  11959. {
  11960. "type": "integer",
  11961. "description": "价格方式 - 1:固定价 2-浮动价",
  11962. "name": "wrpricetype",
  11963. "in": "query",
  11964. "required": true
  11965. },
  11966. {
  11967. "type": "integer",
  11968. "description": "0:仓单预售 1:仓单贸易",
  11969. "name": "haswr",
  11970. "in": "query",
  11971. "required": true
  11972. },
  11973. {
  11974. "type": "integer",
  11975. "description": "仓单要素id",
  11976. "name": "wrfactortypeid",
  11977. "in": "query",
  11978. "required": true
  11979. },
  11980. {
  11981. "type": "integer",
  11982. "description": "期货商品id(浮动价方式时填)",
  11983. "name": "goodsid",
  11984. "in": "query"
  11985. },
  11986. {
  11987. "type": "integer",
  11988. "description": "买卖方向 0-买 1-卖",
  11989. "name": "buyorsell",
  11990. "in": "query",
  11991. "required": true
  11992. },
  11993. {
  11994. "type": "string",
  11995. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11996. "name": "deliverymonth",
  11997. "in": "query"
  11998. }
  11999. ],
  12000. "responses": {
  12001. "200": {
  12002. "description": "OK",
  12003. "schema": {
  12004. "type": "array",
  12005. "items": {
  12006. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12007. }
  12008. }
  12009. },
  12010. "500": {
  12011. "description": "Internal Server Error",
  12012. "schema": {
  12013. "$ref": "#/definitions/app.Response"
  12014. }
  12015. }
  12016. }
  12017. }
  12018. },
  12019. "/WrTrade2/QueryOrderQuoteMyq": {
  12020. "get": {
  12021. "security": [
  12022. {
  12023. "ApiKeyAuth": []
  12024. }
  12025. ],
  12026. "produces": [
  12027. "application/json"
  12028. ],
  12029. "tags": [
  12030. "仓单贸易v2"
  12031. ],
  12032. "summary": "查询贸易圈挂牌大厅",
  12033. "parameters": [
  12034. {
  12035. "type": "integer",
  12036. "description": "页码",
  12037. "name": "page",
  12038. "in": "query"
  12039. },
  12040. {
  12041. "type": "integer",
  12042. "description": "每页条数",
  12043. "name": "pagesize",
  12044. "in": "query"
  12045. },
  12046. {
  12047. "type": "integer",
  12048. "description": "用户id",
  12049. "name": "userid",
  12050. "in": "query",
  12051. "required": true
  12052. },
  12053. {
  12054. "type": "integer",
  12055. "description": "仓单贸易市场id",
  12056. "name": "marketid",
  12057. "in": "query"
  12058. },
  12059. {
  12060. "type": "integer",
  12061. "description": "0:仓单预售 1:仓单贸易",
  12062. "name": "haswr",
  12063. "in": "query",
  12064. "required": true
  12065. },
  12066. {
  12067. "type": "integer",
  12068. "description": "买卖方向 0-买 1-卖",
  12069. "name": "buyorsell",
  12070. "in": "query",
  12071. "required": true
  12072. },
  12073. {
  12074. "type": "integer",
  12075. "description": "品种id",
  12076. "name": "deliverygoodsid",
  12077. "in": "query"
  12078. },
  12079. {
  12080. "type": "integer",
  12081. "description": "品类id",
  12082. "name": "wrstandardid",
  12083. "in": "query"
  12084. },
  12085. {
  12086. "type": "string",
  12087. "description": "交收月(yyyy-mm) 仓单预售填写",
  12088. "name": "deliverymonth",
  12089. "in": "query"
  12090. },
  12091. {
  12092. "type": "string",
  12093. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12094. "name": "dgitemname",
  12095. "in": "query"
  12096. }
  12097. ],
  12098. "responses": {
  12099. "200": {
  12100. "description": "OK",
  12101. "schema": {
  12102. "type": "array",
  12103. "items": {
  12104. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12105. }
  12106. }
  12107. },
  12108. "500": {
  12109. "description": "Internal Server Error",
  12110. "schema": {
  12111. "$ref": "#/definitions/app.Response"
  12112. }
  12113. }
  12114. }
  12115. }
  12116. },
  12117. "/WrTrade2/QueryPerformancePlan": {
  12118. "get": {
  12119. "security": [
  12120. {
  12121. "ApiKeyAuth": []
  12122. }
  12123. ],
  12124. "produces": [
  12125. "application/json"
  12126. ],
  12127. "tags": [
  12128. "仓单贸易v2"
  12129. ],
  12130. "summary": "查询履约信息",
  12131. "parameters": [
  12132. {
  12133. "type": "integer",
  12134. "description": "用户id",
  12135. "name": "userid",
  12136. "in": "query",
  12137. "required": true
  12138. },
  12139. {
  12140. "type": "integer",
  12141. "description": "买卖方向 0-买 1-卖",
  12142. "name": "buyorsell",
  12143. "in": "query",
  12144. "required": true
  12145. }
  12146. ],
  12147. "responses": {
  12148. "200": {
  12149. "description": "OK",
  12150. "schema": {
  12151. "type": "array",
  12152. "items": {
  12153. "$ref": "#/definitions/models.WrPerformancePlan"
  12154. }
  12155. }
  12156. },
  12157. "500": {
  12158. "description": "Internal Server Error",
  12159. "schema": {
  12160. "$ref": "#/definitions/app.Response"
  12161. }
  12162. }
  12163. }
  12164. }
  12165. },
  12166. "/WrTrade2/QueryPermancePlanTmp": {
  12167. "get": {
  12168. "security": [
  12169. {
  12170. "ApiKeyAuth": []
  12171. }
  12172. ],
  12173. "description": "返回指定用户的模板和公共模板(用户id为空)",
  12174. "produces": [
  12175. "application/json"
  12176. ],
  12177. "tags": [
  12178. "仓单贸易v2"
  12179. ],
  12180. "summary": "查询履约模板",
  12181. "parameters": [
  12182. {
  12183. "type": "integer",
  12184. "description": "用户id",
  12185. "name": "userid",
  12186. "in": "query"
  12187. },
  12188. {
  12189. "type": "string",
  12190. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12191. "name": "tmptype",
  12192. "in": "query"
  12193. },
  12194. {
  12195. "type": "integer",
  12196. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12197. "name": "includepub",
  12198. "in": "query"
  12199. }
  12200. ],
  12201. "responses": {
  12202. "200": {
  12203. "description": "OK",
  12204. "schema": {
  12205. "type": "array",
  12206. "items": {
  12207. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12208. }
  12209. }
  12210. },
  12211. "500": {
  12212. "description": "Internal Server Error",
  12213. "schema": {
  12214. "$ref": "#/definitions/app.Response"
  12215. }
  12216. }
  12217. }
  12218. }
  12219. },
  12220. "/WrTrade2/QueryWrAverageTradePrice": {
  12221. "get": {
  12222. "security": [
  12223. {
  12224. "ApiKeyAuth": []
  12225. }
  12226. ],
  12227. "produces": [
  12228. "application/json"
  12229. ],
  12230. "tags": [
  12231. "仓单贸易v2"
  12232. ],
  12233. "summary": "查询成交价(历史走势)",
  12234. "parameters": [
  12235. {
  12236. "type": "integer",
  12237. "description": "页码",
  12238. "name": "page",
  12239. "in": "query"
  12240. },
  12241. {
  12242. "type": "integer",
  12243. "description": "每页条数",
  12244. "name": "pagesize",
  12245. "in": "query"
  12246. },
  12247. {
  12248. "type": "integer",
  12249. "description": "0:仓单预售 1:仓单贸易",
  12250. "name": "haswr",
  12251. "in": "query",
  12252. "required": true
  12253. },
  12254. {
  12255. "type": "integer",
  12256. "description": "仓单要素id",
  12257. "name": "wrfactortypeid",
  12258. "in": "query",
  12259. "required": true
  12260. }
  12261. ],
  12262. "responses": {
  12263. "200": {
  12264. "description": "OK",
  12265. "schema": {
  12266. "type": "array",
  12267. "items": {
  12268. "$ref": "#/definitions/models.WrAverageTradePrice"
  12269. }
  12270. }
  12271. },
  12272. "500": {
  12273. "description": "Internal Server Error",
  12274. "schema": {
  12275. "$ref": "#/definitions/app.Response"
  12276. }
  12277. }
  12278. }
  12279. }
  12280. },
  12281. "/WrTrade2/QueryWrBsGoodsInfo": {
  12282. "get": {
  12283. "security": [
  12284. {
  12285. "ApiKeyAuth": []
  12286. }
  12287. ],
  12288. "description": "合约交易/买卖大厅/详情",
  12289. "produces": [
  12290. "application/json"
  12291. ],
  12292. "tags": [
  12293. "仓单贸易v2"
  12294. ],
  12295. "summary": "查询合约交易买卖大厅详情",
  12296. "parameters": [
  12297. {
  12298. "type": "integer",
  12299. "description": "商品id",
  12300. "name": "goodsid",
  12301. "in": "query",
  12302. "required": true
  12303. }
  12304. ],
  12305. "responses": {
  12306. "200": {
  12307. "description": "OK",
  12308. "schema": {
  12309. "type": "array",
  12310. "items": {
  12311. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12312. }
  12313. }
  12314. },
  12315. "500": {
  12316. "description": "Internal Server Error",
  12317. "schema": {
  12318. "$ref": "#/definitions/app.Response"
  12319. }
  12320. }
  12321. }
  12322. }
  12323. },
  12324. "/WrTrade2/QueryWrBuybackDetail": {
  12325. "get": {
  12326. "security": [
  12327. {
  12328. "ApiKeyAuth": []
  12329. }
  12330. ],
  12331. "produces": [
  12332. "application/json"
  12333. ],
  12334. "tags": [
  12335. "仓单贸易v2"
  12336. ],
  12337. "summary": "查询仓单回购明细",
  12338. "parameters": [
  12339. {
  12340. "type": "integer",
  12341. "description": "融资合同id",
  12342. "name": "scfcontractid",
  12343. "in": "query"
  12344. }
  12345. ],
  12346. "responses": {
  12347. "200": {
  12348. "description": "OK",
  12349. "schema": {
  12350. "type": "array",
  12351. "items": {
  12352. "$ref": "#/definitions/models.WrBuybackDetail"
  12353. }
  12354. }
  12355. },
  12356. "500": {
  12357. "description": "Internal Server Error",
  12358. "schema": {
  12359. "$ref": "#/definitions/app.Response"
  12360. }
  12361. }
  12362. }
  12363. }
  12364. },
  12365. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12366. "get": {
  12367. "security": [
  12368. {
  12369. "ApiKeyAuth": []
  12370. }
  12371. ],
  12372. "produces": [
  12373. "application/json"
  12374. ],
  12375. "tags": [
  12376. "仓单贸易v2"
  12377. ],
  12378. "summary": "查询合约交收可点选仓单",
  12379. "parameters": [
  12380. {
  12381. "type": "integer",
  12382. "description": "资金账号",
  12383. "name": "accountid",
  12384. "in": "query",
  12385. "required": true
  12386. },
  12387. {
  12388. "type": "integer",
  12389. "description": "商品id",
  12390. "name": "goodsid",
  12391. "in": "query",
  12392. "required": true
  12393. }
  12394. ],
  12395. "responses": {
  12396. "200": {
  12397. "description": "OK",
  12398. "schema": {
  12399. "type": "array",
  12400. "items": {
  12401. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12402. }
  12403. }
  12404. },
  12405. "500": {
  12406. "description": "Internal Server Error",
  12407. "schema": {
  12408. "$ref": "#/definitions/app.Response"
  12409. }
  12410. }
  12411. }
  12412. }
  12413. },
  12414. "/WrTrade2/QueryWrDeliveryDetail": {
  12415. "get": {
  12416. "security": [
  12417. {
  12418. "ApiKeyAuth": []
  12419. }
  12420. ],
  12421. "produces": [
  12422. "application/json"
  12423. ],
  12424. "tags": [
  12425. "仓单贸易v2"
  12426. ],
  12427. "summary": "查询交收",
  12428. "parameters": [
  12429. {
  12430. "type": "integer",
  12431. "description": "用户id",
  12432. "name": "userid",
  12433. "in": "query",
  12434. "required": true
  12435. },
  12436. {
  12437. "type": "integer",
  12438. "description": "资金账号id",
  12439. "name": "accountid",
  12440. "in": "query"
  12441. }
  12442. ],
  12443. "responses": {
  12444. "200": {
  12445. "description": "OK",
  12446. "schema": {
  12447. "type": "array",
  12448. "items": {
  12449. "$ref": "#/definitions/models.WrDeliveryDetail"
  12450. }
  12451. }
  12452. },
  12453. "500": {
  12454. "description": "Internal Server Error",
  12455. "schema": {
  12456. "$ref": "#/definitions/app.Response"
  12457. }
  12458. }
  12459. }
  12460. }
  12461. },
  12462. "/WrTrade2/QueryWrFactorTypeInfo": {
  12463. "get": {
  12464. "security": [
  12465. {
  12466. "ApiKeyAuth": []
  12467. }
  12468. ],
  12469. "produces": [
  12470. "application/json"
  12471. ],
  12472. "tags": [
  12473. "仓单贸易v2"
  12474. ],
  12475. "summary": "查询仓单要素详细信息",
  12476. "parameters": [
  12477. {
  12478. "type": "integer",
  12479. "description": "仓单要素id",
  12480. "name": "wrfactortypeid",
  12481. "in": "query",
  12482. "required": true
  12483. }
  12484. ],
  12485. "responses": {
  12486. "200": {
  12487. "description": "OK",
  12488. "schema": {
  12489. "type": "array",
  12490. "items": {
  12491. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12492. }
  12493. }
  12494. },
  12495. "500": {
  12496. "description": "Internal Server Error",
  12497. "schema": {
  12498. "$ref": "#/definitions/app.Response"
  12499. }
  12500. }
  12501. }
  12502. }
  12503. },
  12504. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12505. "get": {
  12506. "security": [
  12507. {
  12508. "ApiKeyAuth": []
  12509. }
  12510. ],
  12511. "produces": [
  12512. "application/json"
  12513. ],
  12514. "tags": [
  12515. "仓单贸易v2"
  12516. ],
  12517. "summary": "查询仓单要素详细信息列表项",
  12518. "parameters": [
  12519. {
  12520. "type": "integer",
  12521. "description": "仓单要素id",
  12522. "name": "wrfactortypeid",
  12523. "in": "query",
  12524. "required": true
  12525. }
  12526. ],
  12527. "responses": {
  12528. "200": {
  12529. "description": "OK",
  12530. "schema": {
  12531. "type": "array",
  12532. "items": {
  12533. "$ref": "#/definitions/models.WrTypeItem"
  12534. }
  12535. }
  12536. },
  12537. "500": {
  12538. "description": "Internal Server Error",
  12539. "schema": {
  12540. "$ref": "#/definitions/app.Response"
  12541. }
  12542. }
  12543. }
  12544. }
  12545. },
  12546. "/WrTrade2/QueryWrFinanceBuyApply": {
  12547. "get": {
  12548. "security": [
  12549. {
  12550. "ApiKeyAuth": []
  12551. }
  12552. ],
  12553. "description": "页面 融资信息+ / 申请单",
  12554. "produces": [
  12555. "application/json"
  12556. ],
  12557. "tags": [
  12558. "仓单贸易v2"
  12559. ],
  12560. "summary": "查询融资购买申请",
  12561. "parameters": [
  12562. {
  12563. "type": "integer",
  12564. "description": "用户id",
  12565. "name": "userid",
  12566. "in": "query",
  12567. "required": true
  12568. }
  12569. ],
  12570. "responses": {
  12571. "200": {
  12572. "description": "OK",
  12573. "schema": {
  12574. "type": "array",
  12575. "items": {
  12576. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12577. }
  12578. }
  12579. },
  12580. "500": {
  12581. "description": "Internal Server Error",
  12582. "schema": {
  12583. "$ref": "#/definitions/app.Response"
  12584. }
  12585. }
  12586. }
  12587. }
  12588. },
  12589. "/WrTrade2/QueryWrFriendApply": {
  12590. "get": {
  12591. "security": [
  12592. {
  12593. "ApiKeyAuth": []
  12594. }
  12595. ],
  12596. "produces": [
  12597. "application/json"
  12598. ],
  12599. "tags": [
  12600. "仓单贸易v2"
  12601. ],
  12602. "summary": "查询好友申请记录",
  12603. "parameters": [
  12604. {
  12605. "type": "integer",
  12606. "description": "用户id",
  12607. "name": "userid",
  12608. "in": "query",
  12609. "required": true
  12610. }
  12611. ],
  12612. "responses": {
  12613. "200": {
  12614. "description": "OK",
  12615. "schema": {
  12616. "type": "array",
  12617. "items": {
  12618. "$ref": "#/definitions/models.WrFriendApply"
  12619. }
  12620. }
  12621. },
  12622. "500": {
  12623. "description": "Internal Server Error",
  12624. "schema": {
  12625. "$ref": "#/definitions/app.Response"
  12626. }
  12627. }
  12628. }
  12629. }
  12630. },
  12631. "/WrTrade2/QueryWrGoodsInfo": {
  12632. "get": {
  12633. "security": [
  12634. {
  12635. "ApiKeyAuth": []
  12636. }
  12637. ],
  12638. "produces": [
  12639. "application/json"
  12640. ],
  12641. "tags": [
  12642. "仓单贸易v2"
  12643. ],
  12644. "summary": "查询仓单商品信息",
  12645. "parameters": [
  12646. {
  12647. "type": "integer",
  12648. "description": "仓单贸易市场id",
  12649. "name": "marketid",
  12650. "in": "query"
  12651. },
  12652. {
  12653. "type": "integer",
  12654. "description": "0:仓单预售 1:仓单贸易",
  12655. "name": "haswr",
  12656. "in": "query",
  12657. "required": true
  12658. },
  12659. {
  12660. "type": "integer",
  12661. "description": "仓单要素id",
  12662. "name": "wrfactortypeid",
  12663. "in": "query",
  12664. "required": true
  12665. },
  12666. {
  12667. "type": "integer",
  12668. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12669. "name": "tmplateid",
  12670. "in": "query"
  12671. }
  12672. ],
  12673. "responses": {
  12674. "200": {
  12675. "description": "OK",
  12676. "schema": {
  12677. "type": "array",
  12678. "items": {
  12679. "$ref": "#/definitions/models.WrGoodsInfo"
  12680. }
  12681. }
  12682. },
  12683. "500": {
  12684. "description": "Internal Server Error",
  12685. "schema": {
  12686. "$ref": "#/definitions/app.Response"
  12687. }
  12688. }
  12689. }
  12690. }
  12691. },
  12692. "/WrTrade2/QueryWrMarketTradeConfig": {
  12693. "get": {
  12694. "security": [
  12695. {
  12696. "ApiKeyAuth": []
  12697. }
  12698. ],
  12699. "produces": [
  12700. "application/json"
  12701. ],
  12702. "tags": [
  12703. "仓单贸易v2"
  12704. ],
  12705. "summary": "查询市场交易参数配置",
  12706. "parameters": [
  12707. {
  12708. "type": "integer",
  12709. "description": "市场id",
  12710. "name": "marketid",
  12711. "in": "query"
  12712. }
  12713. ],
  12714. "responses": {
  12715. "200": {
  12716. "description": "OK",
  12717. "schema": {
  12718. "type": "array",
  12719. "items": {
  12720. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12721. }
  12722. }
  12723. },
  12724. "500": {
  12725. "description": "Internal Server Error",
  12726. "schema": {
  12727. "$ref": "#/definitions/app.Response"
  12728. }
  12729. }
  12730. }
  12731. }
  12732. },
  12733. "/WrTrade2/QueryWrOrderDetail": {
  12734. "get": {
  12735. "security": [
  12736. {
  12737. "ApiKeyAuth": []
  12738. }
  12739. ],
  12740. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12741. "produces": [
  12742. "application/json"
  12743. ],
  12744. "tags": [
  12745. "仓单贸易v2"
  12746. ],
  12747. "summary": "查询仓单委托单(挂单)",
  12748. "parameters": [
  12749. {
  12750. "type": "integer",
  12751. "description": "页码",
  12752. "name": "page",
  12753. "in": "query"
  12754. },
  12755. {
  12756. "type": "integer",
  12757. "description": "每页条数",
  12758. "name": "pagesize",
  12759. "in": "query"
  12760. },
  12761. {
  12762. "type": "integer",
  12763. "description": "用户id",
  12764. "name": "userid",
  12765. "in": "query",
  12766. "required": true
  12767. },
  12768. {
  12769. "type": "integer",
  12770. "description": "仓单贸易市场id",
  12771. "name": "marketid",
  12772. "in": "query"
  12773. },
  12774. {
  12775. "type": "integer",
  12776. "description": "0:仓单预售 1:仓单贸易",
  12777. "name": "haswr",
  12778. "in": "query",
  12779. "required": true
  12780. }
  12781. ],
  12782. "responses": {
  12783. "200": {
  12784. "description": "OK",
  12785. "schema": {
  12786. "type": "array",
  12787. "items": {
  12788. "$ref": "#/definitions/models.WrOrderDetail"
  12789. }
  12790. }
  12791. },
  12792. "500": {
  12793. "description": "Internal Server Error",
  12794. "schema": {
  12795. "$ref": "#/definitions/app.Response"
  12796. }
  12797. }
  12798. }
  12799. }
  12800. },
  12801. "/WrTrade2/QueryWrOutInApply": {
  12802. "get": {
  12803. "security": [
  12804. {
  12805. "ApiKeyAuth": []
  12806. }
  12807. ],
  12808. "produces": [
  12809. "application/json"
  12810. ],
  12811. "tags": [
  12812. "仓单贸易v2"
  12813. ],
  12814. "summary": "查询提货申请",
  12815. "parameters": [
  12816. {
  12817. "type": "integer",
  12818. "description": "用户id",
  12819. "name": "userid",
  12820. "in": "query",
  12821. "required": true
  12822. }
  12823. ],
  12824. "responses": {
  12825. "200": {
  12826. "description": "OK",
  12827. "schema": {
  12828. "type": "array",
  12829. "items": {
  12830. "$ref": "#/definitions/models.WrOutInApply"
  12831. }
  12832. }
  12833. },
  12834. "500": {
  12835. "description": "Internal Server Error",
  12836. "schema": {
  12837. "$ref": "#/definitions/app.Response"
  12838. }
  12839. }
  12840. }
  12841. }
  12842. },
  12843. "/WrTrade2/QueryWrPerformancePlanStep": {
  12844. "get": {
  12845. "security": [
  12846. {
  12847. "ApiKeyAuth": []
  12848. }
  12849. ],
  12850. "produces": [
  12851. "application/json"
  12852. ],
  12853. "tags": [
  12854. "仓单贸易v2"
  12855. ],
  12856. "summary": "查询履约信息详情",
  12857. "parameters": [
  12858. {
  12859. "type": "integer",
  12860. "description": "履约计划id(performanceplanid)",
  12861. "name": "planid",
  12862. "in": "query",
  12863. "required": true
  12864. },
  12865. {
  12866. "type": "integer",
  12867. "description": "当前步骤id",
  12868. "name": "curstepid",
  12869. "in": "query"
  12870. }
  12871. ],
  12872. "responses": {
  12873. "200": {
  12874. "description": "OK",
  12875. "schema": {
  12876. "type": "array",
  12877. "items": {
  12878. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12879. }
  12880. }
  12881. },
  12882. "500": {
  12883. "description": "Internal Server Error",
  12884. "schema": {
  12885. "$ref": "#/definitions/app.Response"
  12886. }
  12887. }
  12888. }
  12889. }
  12890. },
  12891. "/WrTrade2/QueryWrPerformanceStepType": {
  12892. "get": {
  12893. "security": [
  12894. {
  12895. "ApiKeyAuth": []
  12896. }
  12897. ],
  12898. "produces": [
  12899. "application/json"
  12900. ],
  12901. "tags": [
  12902. "仓单贸易v2"
  12903. ],
  12904. "summary": "查询履约步骤枚举",
  12905. "responses": {
  12906. "200": {
  12907. "description": "OK",
  12908. "schema": {
  12909. "type": "array",
  12910. "items": {
  12911. "$ref": "#/definitions/models.WrPerformanceStepType"
  12912. }
  12913. }
  12914. },
  12915. "500": {
  12916. "description": "Internal Server Error",
  12917. "schema": {
  12918. "$ref": "#/definitions/app.Response"
  12919. }
  12920. }
  12921. }
  12922. }
  12923. },
  12924. "/WrTrade2/QueryWrPosition": {
  12925. "get": {
  12926. "security": [
  12927. {
  12928. "ApiKeyAuth": []
  12929. }
  12930. ],
  12931. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12932. "produces": [
  12933. "application/json"
  12934. ],
  12935. "tags": [
  12936. "仓单贸易v2"
  12937. ],
  12938. "summary": "查询现货(预售)仓单持仓",
  12939. "parameters": [
  12940. {
  12941. "type": "integer",
  12942. "description": "用户id",
  12943. "name": "userid",
  12944. "in": "query",
  12945. "required": true
  12946. },
  12947. {
  12948. "type": "integer",
  12949. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12950. "name": "querytype",
  12951. "in": "query",
  12952. "required": true
  12953. },
  12954. {
  12955. "type": "integer",
  12956. "description": "0:仓单预售 1:仓单贸易",
  12957. "name": "haswr",
  12958. "in": "query",
  12959. "required": true
  12960. },
  12961. {
  12962. "type": "string",
  12963. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12964. "name": "dgitemname",
  12965. "in": "query"
  12966. },
  12967. {
  12968. "type": "integer",
  12969. "description": "仓库id(筛选条件)",
  12970. "name": "warehouseid",
  12971. "in": "query"
  12972. },
  12973. {
  12974. "type": "integer",
  12975. "description": "品种id",
  12976. "name": "deliverygoodsid",
  12977. "in": "query"
  12978. },
  12979. {
  12980. "type": "integer",
  12981. "description": "品类id",
  12982. "name": "wrstandardid",
  12983. "in": "query"
  12984. }
  12985. ],
  12986. "responses": {
  12987. "200": {
  12988. "description": "OK",
  12989. "schema": {
  12990. "type": "array",
  12991. "items": {
  12992. "$ref": "#/definitions/models.WrPosition"
  12993. }
  12994. }
  12995. },
  12996. "500": {
  12997. "description": "Internal Server Error",
  12998. "schema": {
  12999. "$ref": "#/definitions/app.Response"
  13000. }
  13001. }
  13002. }
  13003. }
  13004. },
  13005. "/WrTrade2/QueryWrScfContract": {
  13006. "get": {
  13007. "security": [
  13008. {
  13009. "ApiKeyAuth": []
  13010. }
  13011. ],
  13012. "produces": [
  13013. "application/json"
  13014. ],
  13015. "tags": [
  13016. "仓单贸易v2"
  13017. ],
  13018. "summary": "查询仓单贸易融资合同",
  13019. "parameters": [
  13020. {
  13021. "type": "integer",
  13022. "description": "用户id",
  13023. "name": "userid",
  13024. "in": "query",
  13025. "required": true
  13026. },
  13027. {
  13028. "type": "integer",
  13029. "description": "融资合同id",
  13030. "name": "scfcontractid",
  13031. "in": "query"
  13032. }
  13033. ],
  13034. "responses": {
  13035. "200": {
  13036. "description": "OK",
  13037. "schema": {
  13038. "type": "array",
  13039. "items": {
  13040. "$ref": "#/definitions/models.WrScfContract"
  13041. }
  13042. }
  13043. },
  13044. "500": {
  13045. "description": "Internal Server Error",
  13046. "schema": {
  13047. "$ref": "#/definitions/app.Response"
  13048. }
  13049. }
  13050. }
  13051. }
  13052. },
  13053. "/WrTrade2/QueryWrScfContractInterest": {
  13054. "get": {
  13055. "security": [
  13056. {
  13057. "ApiKeyAuth": []
  13058. }
  13059. ],
  13060. "produces": [
  13061. "application/json"
  13062. ],
  13063. "tags": [
  13064. "仓单贸易v2"
  13065. ],
  13066. "summary": "查询融资合同费用明细",
  13067. "parameters": [
  13068. {
  13069. "type": "integer",
  13070. "description": "融资合同id",
  13071. "name": "scfcontractid",
  13072. "in": "query"
  13073. }
  13074. ],
  13075. "responses": {
  13076. "200": {
  13077. "description": "OK",
  13078. "schema": {
  13079. "type": "array",
  13080. "items": {
  13081. "$ref": "#/definitions/models.WrScfContractInterest"
  13082. }
  13083. }
  13084. },
  13085. "500": {
  13086. "description": "Internal Server Error",
  13087. "schema": {
  13088. "$ref": "#/definitions/app.Response"
  13089. }
  13090. }
  13091. }
  13092. }
  13093. },
  13094. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13095. "get": {
  13096. "security": [
  13097. {
  13098. "ApiKeyAuth": []
  13099. }
  13100. ],
  13101. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13102. "produces": [
  13103. "application/json"
  13104. ],
  13105. "tags": [
  13106. "仓单贸易v2"
  13107. ],
  13108. "summary": "查询指定成交",
  13109. "parameters": [
  13110. {
  13111. "type": "integer",
  13112. "description": "页码",
  13113. "name": "page",
  13114. "in": "query"
  13115. },
  13116. {
  13117. "type": "integer",
  13118. "description": "每页条数",
  13119. "name": "pagesize",
  13120. "in": "query"
  13121. },
  13122. {
  13123. "type": "integer",
  13124. "description": "用户id",
  13125. "name": "userid",
  13126. "in": "query",
  13127. "required": true
  13128. },
  13129. {
  13130. "type": "integer",
  13131. "description": "仓单贸易市场id",
  13132. "name": "marketid",
  13133. "in": "query"
  13134. },
  13135. {
  13136. "type": "integer",
  13137. "description": "0:仓单预售 1:仓单贸易",
  13138. "name": "haswr",
  13139. "in": "query",
  13140. "required": true
  13141. }
  13142. ],
  13143. "responses": {
  13144. "200": {
  13145. "description": "OK",
  13146. "schema": {
  13147. "type": "array",
  13148. "items": {
  13149. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13150. }
  13151. }
  13152. },
  13153. "500": {
  13154. "description": "Internal Server Error",
  13155. "schema": {
  13156. "$ref": "#/definitions/app.Response"
  13157. }
  13158. }
  13159. }
  13160. }
  13161. },
  13162. "/WrTrade2/QueryWrStandardFactoryItem": {
  13163. "get": {
  13164. "security": [
  13165. {
  13166. "ApiKeyAuth": []
  13167. }
  13168. ],
  13169. "produces": [
  13170. "application/json"
  13171. ],
  13172. "tags": [
  13173. "仓单贸易v2"
  13174. ],
  13175. "summary": "查询品类要素定义项",
  13176. "parameters": [
  13177. {
  13178. "type": "integer",
  13179. "description": "品类id",
  13180. "name": "wrstandardid",
  13181. "in": "query",
  13182. "required": true
  13183. }
  13184. ],
  13185. "responses": {
  13186. "200": {
  13187. "description": "OK",
  13188. "schema": {
  13189. "type": "array",
  13190. "items": {
  13191. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13192. }
  13193. }
  13194. },
  13195. "500": {
  13196. "description": "Internal Server Error",
  13197. "schema": {
  13198. "$ref": "#/definitions/app.Response"
  13199. }
  13200. }
  13201. }
  13202. }
  13203. },
  13204. "/WrTrade2/QueryWrTradeBargainApply": {
  13205. "get": {
  13206. "security": [
  13207. {
  13208. "ApiKeyAuth": []
  13209. }
  13210. ],
  13211. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13212. "produces": [
  13213. "application/json"
  13214. ],
  13215. "tags": [
  13216. "仓单贸易v2"
  13217. ],
  13218. "summary": "查询议价单",
  13219. "parameters": [
  13220. {
  13221. "type": "integer",
  13222. "description": "议价人id(摘牌方)",
  13223. "name": "userid",
  13224. "in": "query"
  13225. },
  13226. {
  13227. "type": "integer",
  13228. "description": "挂牌方id(查对方议价时,填写此项)",
  13229. "name": "matchuserid",
  13230. "in": "query"
  13231. },
  13232. {
  13233. "type": "integer",
  13234. "description": "关联委托单id",
  13235. "name": "wrtradeorderid",
  13236. "in": "query"
  13237. },
  13238. {
  13239. "type": "integer",
  13240. "description": "0:仓单预售 1:仓单贸易",
  13241. "name": "haswr",
  13242. "in": "query",
  13243. "required": true
  13244. }
  13245. ],
  13246. "responses": {
  13247. "200": {
  13248. "description": "OK",
  13249. "schema": {
  13250. "type": "array",
  13251. "items": {
  13252. "$ref": "#/definitions/models.WRTradeBargainApply"
  13253. }
  13254. }
  13255. },
  13256. "500": {
  13257. "description": "Internal Server Error",
  13258. "schema": {
  13259. "$ref": "#/definitions/app.Response"
  13260. }
  13261. }
  13262. }
  13263. }
  13264. },
  13265. "/WrTrade2/QueryWrTradeDetail": {
  13266. "get": {
  13267. "security": [
  13268. {
  13269. "ApiKeyAuth": []
  13270. }
  13271. ],
  13272. "produces": [
  13273. "application/json"
  13274. ],
  13275. "tags": [
  13276. "仓单贸易v2"
  13277. ],
  13278. "summary": "查询仓单成交明细",
  13279. "parameters": [
  13280. {
  13281. "type": "integer",
  13282. "description": "页码",
  13283. "name": "page",
  13284. "in": "query"
  13285. },
  13286. {
  13287. "type": "integer",
  13288. "description": "每页条数",
  13289. "name": "pagesize",
  13290. "in": "query"
  13291. },
  13292. {
  13293. "type": "integer",
  13294. "description": "用户id",
  13295. "name": "userid",
  13296. "in": "query",
  13297. "required": true
  13298. },
  13299. {
  13300. "type": "integer",
  13301. "description": "仓单贸易市场id",
  13302. "name": "marketid",
  13303. "in": "query"
  13304. },
  13305. {
  13306. "type": "integer",
  13307. "description": "0:仓单预售 1:仓单贸易",
  13308. "name": "haswr",
  13309. "in": "query",
  13310. "required": true
  13311. }
  13312. ],
  13313. "responses": {
  13314. "200": {
  13315. "description": "OK",
  13316. "schema": {
  13317. "type": "array",
  13318. "items": {
  13319. "$ref": "#/definitions/models.WrTradeDetail"
  13320. }
  13321. }
  13322. },
  13323. "500": {
  13324. "description": "Internal Server Error",
  13325. "schema": {
  13326. "$ref": "#/definitions/app.Response"
  13327. }
  13328. }
  13329. }
  13330. }
  13331. },
  13332. "/WrTrade2/QueryWrTradeOrderDetail": {
  13333. "get": {
  13334. "security": [
  13335. {
  13336. "ApiKeyAuth": []
  13337. }
  13338. ],
  13339. "produces": [
  13340. "application/json"
  13341. ],
  13342. "tags": [
  13343. "仓单贸易v2"
  13344. ],
  13345. "summary": "查询合约交易买卖大厅",
  13346. "parameters": [
  13347. {
  13348. "type": "integer",
  13349. "description": "页码",
  13350. "name": "page",
  13351. "in": "query"
  13352. },
  13353. {
  13354. "type": "integer",
  13355. "description": "每页条数",
  13356. "name": "pagesize",
  13357. "in": "query"
  13358. },
  13359. {
  13360. "type": "integer",
  13361. "description": "商品id",
  13362. "name": "goodsid",
  13363. "in": "query",
  13364. "required": true
  13365. },
  13366. {
  13367. "type": "integer",
  13368. "description": "买卖方向 0-买 1-卖",
  13369. "name": "buyorsell",
  13370. "in": "query",
  13371. "required": true
  13372. }
  13373. ],
  13374. "responses": {
  13375. "200": {
  13376. "description": "OK",
  13377. "schema": {
  13378. "type": "array",
  13379. "items": {
  13380. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13381. }
  13382. }
  13383. },
  13384. "500": {
  13385. "description": "Internal Server Error",
  13386. "schema": {
  13387. "$ref": "#/definitions/app.Response"
  13388. }
  13389. }
  13390. }
  13391. }
  13392. },
  13393. "/WrTrade2/QueryWrUserFriend": {
  13394. "get": {
  13395. "security": [
  13396. {
  13397. "ApiKeyAuth": []
  13398. }
  13399. ],
  13400. "produces": [
  13401. "application/json"
  13402. ],
  13403. "tags": [
  13404. "仓单贸易v2"
  13405. ],
  13406. "summary": "查询我的朋友",
  13407. "parameters": [
  13408. {
  13409. "type": "integer",
  13410. "description": "用户id",
  13411. "name": "userid",
  13412. "in": "query",
  13413. "required": true
  13414. },
  13415. {
  13416. "type": "integer",
  13417. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13418. "name": "newuserid",
  13419. "in": "query"
  13420. }
  13421. ],
  13422. "responses": {
  13423. "200": {
  13424. "description": "OK",
  13425. "schema": {
  13426. "type": "array",
  13427. "items": {
  13428. "$ref": "#/definitions/models.WrUserFriend"
  13429. }
  13430. }
  13431. },
  13432. "500": {
  13433. "description": "Internal Server Error",
  13434. "schema": {
  13435. "$ref": "#/definitions/app.Response"
  13436. }
  13437. }
  13438. }
  13439. }
  13440. },
  13441. "/ZJ/GetBankTip": {
  13442. "get": {
  13443. "produces": [
  13444. "application/json"
  13445. ],
  13446. "tags": [
  13447. "中江"
  13448. ],
  13449. "summary": "获取中江网银端出入金提示信息",
  13450. "responses": {
  13451. "200": {
  13452. "description": "OK",
  13453. "schema": {
  13454. "type": "string"
  13455. }
  13456. },
  13457. "500": {
  13458. "description": "Internal Server Error",
  13459. "schema": {
  13460. "$ref": "#/definitions/app.Response"
  13461. }
  13462. }
  13463. }
  13464. }
  13465. },
  13466. "/ZJ/GetCusBankChannels": {
  13467. "get": {
  13468. "produces": [
  13469. "application/json"
  13470. ],
  13471. "tags": [
  13472. "中江"
  13473. ],
  13474. "summary": "获取中江出入金渠道显示列表",
  13475. "responses": {
  13476. "200": {
  13477. "description": "OK",
  13478. "schema": {
  13479. "type": "array",
  13480. "items": {
  13481. "type": "string"
  13482. }
  13483. }
  13484. },
  13485. "500": {
  13486. "description": "Internal Server Error",
  13487. "schema": {
  13488. "$ref": "#/definitions/app.Response"
  13489. }
  13490. }
  13491. }
  13492. }
  13493. }
  13494. },
  13495. "definitions": {
  13496. "app.Response": {
  13497. "type": "object",
  13498. "properties": {
  13499. "code": {
  13500. "type": "integer"
  13501. },
  13502. "data": {
  13503. "type": "object"
  13504. },
  13505. "msg": {
  13506. "type": "string"
  13507. },
  13508. "page": {
  13509. "description": "页码",
  13510. "type": "integer"
  13511. },
  13512. "pagesize": {
  13513. "description": "每页条数",
  13514. "type": "integer"
  13515. },
  13516. "total": {
  13517. "description": "总条数",
  13518. "type": "integer"
  13519. }
  13520. }
  13521. },
  13522. "common.ClientMenu": {
  13523. "type": "object",
  13524. "properties": {
  13525. "children": {
  13526. "description": "子菜单列表",
  13527. "type": "array",
  13528. "items": {
  13529. "$ref": "#/definitions/common.ClientMenu"
  13530. }
  13531. },
  13532. "code": {
  13533. "description": "ID",
  13534. "type": "string"
  13535. },
  13536. "isshow": {
  13537. "description": "是否显示",
  13538. "type": "boolean"
  13539. },
  13540. "remark": {
  13541. "description": "备注",
  13542. "type": "string"
  13543. },
  13544. "rulekey": {
  13545. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13546. "type": "string"
  13547. },
  13548. "sort": {
  13549. "description": "排序",
  13550. "type": "integer"
  13551. },
  13552. "title": {
  13553. "description": "标题",
  13554. "type": "string"
  13555. },
  13556. "type": {
  13557. "description": "类型,1:菜单 2:按钮",
  13558. "type": "integer"
  13559. },
  13560. "url": {
  13561. "description": "URL",
  13562. "type": "string"
  13563. }
  13564. }
  13565. },
  13566. "common.QueryImageConfigsRsp": {
  13567. "type": "object",
  13568. "required": [
  13569. "configid"
  13570. ],
  13571. "properties": {
  13572. "areauserid": {
  13573. "description": "所属机构ID",
  13574. "type": "integer"
  13575. },
  13576. "configid": {
  13577. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13578. "type": "integer"
  13579. },
  13580. "createdate": {
  13581. "description": "创建时间",
  13582. "type": "string"
  13583. },
  13584. "creatorid": {
  13585. "description": "创建人",
  13586. "type": "integer"
  13587. },
  13588. "imagepath": {
  13589. "description": "图片",
  13590. "type": "string"
  13591. },
  13592. "imagetype": {
  13593. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13594. "type": "integer"
  13595. },
  13596. "isshow": {
  13597. "description": "是否展示 - 0:不展示 1:展示",
  13598. "type": "integer"
  13599. },
  13600. "marketid": {
  13601. "description": "市场ID",
  13602. "type": "integer"
  13603. },
  13604. "modifierid": {
  13605. "description": "操作人",
  13606. "type": "integer"
  13607. },
  13608. "sort": {
  13609. "description": "排序",
  13610. "type": "integer"
  13611. },
  13612. "title": {
  13613. "description": "标题",
  13614. "type": "string"
  13615. },
  13616. "trademode": {
  13617. "description": "交易模式",
  13618. "type": "integer"
  13619. },
  13620. "updatedate": {
  13621. "description": "修改时间",
  13622. "type": "string"
  13623. },
  13624. "url": {
  13625. "description": "链接(地址或商品ID)",
  13626. "type": "string"
  13627. },
  13628. "urltype": {
  13629. "description": "链接类型 - 1:直接地址 2:商品ID",
  13630. "type": "integer"
  13631. }
  13632. }
  13633. },
  13634. "common.QueryNoticeRsp": {
  13635. "type": "object",
  13636. "required": [
  13637. "autoid"
  13638. ],
  13639. "properties": {
  13640. "auditoruserid": {
  13641. "description": "审核人",
  13642. "type": "integer"
  13643. },
  13644. "auditremark": {
  13645. "description": "审核备注",
  13646. "type": "string"
  13647. },
  13648. "audittime": {
  13649. "description": "审核日期",
  13650. "type": "string"
  13651. },
  13652. "autoid": {
  13653. "description": "自增ID",
  13654. "type": "integer"
  13655. },
  13656. "content": {
  13657. "description": "内容",
  13658. "type": "string"
  13659. },
  13660. "createtime": {
  13661. "description": "创建时间",
  13662. "type": "string"
  13663. },
  13664. "creatorid": {
  13665. "description": "建仓人",
  13666. "type": "integer"
  13667. },
  13668. "endtime": {
  13669. "description": "结束时间",
  13670. "type": "string"
  13671. },
  13672. "istop": {
  13673. "description": "是否置顶 - 0:不置顶 1:置顶",
  13674. "type": "integer"
  13675. },
  13676. "msgiconurl": {
  13677. "description": "消息图标Url",
  13678. "type": "string"
  13679. },
  13680. "msgtype": {
  13681. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13682. "type": "integer"
  13683. },
  13684. "publisher": {
  13685. "description": "消息发布者",
  13686. "type": "string"
  13687. },
  13688. "readed": {
  13689. "description": "是否已读",
  13690. "type": "boolean"
  13691. },
  13692. "scheduletime": {
  13693. "description": "计划发送时间",
  13694. "type": "string"
  13695. },
  13696. "sendtype": {
  13697. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13698. "type": "integer"
  13699. },
  13700. "sentstatus": {
  13701. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13702. "type": "integer"
  13703. },
  13704. "title": {
  13705. "description": "标题",
  13706. "type": "string"
  13707. },
  13708. "userid": {
  13709. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13710. "type": "integer"
  13711. }
  13712. }
  13713. },
  13714. "common.QueryProvincesAndCitiesRsp": {
  13715. "type": "object",
  13716. "properties": {
  13717. "cities": {
  13718. "description": "市",
  13719. "type": "array",
  13720. "items": {
  13721. "$ref": "#/definitions/models.Division"
  13722. }
  13723. },
  13724. "province": {
  13725. "description": "省",
  13726. "$ref": "#/definitions/models.Division"
  13727. }
  13728. }
  13729. },
  13730. "common.QueryTableDefineRsp": {
  13731. "type": "object",
  13732. "required": [
  13733. "tablekey"
  13734. ],
  13735. "properties": {
  13736. "columns": {
  13737. "description": "列头信息数组",
  13738. "type": "array",
  13739. "items": {
  13740. "$ref": "#/definitions/models.Tablecolumnconfig"
  13741. }
  13742. },
  13743. "remark": {
  13744. "description": "Remark",
  13745. "type": "string"
  13746. },
  13747. "tabelmenu": {
  13748. "description": "列表菜单",
  13749. "type": "string"
  13750. },
  13751. "tablekey": {
  13752. "description": "列表Key",
  13753. "type": "string"
  13754. },
  13755. "tablename": {
  13756. "description": "列表名称",
  13757. "type": "string"
  13758. },
  13759. "tabletype": {
  13760. "description": "列表类型 - 1:管理端 2:终端",
  13761. "type": "integer"
  13762. }
  13763. }
  13764. },
  13765. "common.QueryTraderMenuRsp": {
  13766. "type": "object",
  13767. "properties": {
  13768. "OperationMenu": {
  13769. "description": "功能菜单",
  13770. "type": "array",
  13771. "items": {
  13772. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13773. }
  13774. },
  13775. "QuoteMenu": {
  13776. "description": "报价牌分类菜单",
  13777. "type": "array",
  13778. "items": {
  13779. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13780. }
  13781. }
  13782. }
  13783. },
  13784. "cptrade.Cptradepositioncancel": {
  13785. "type": "object",
  13786. "required": [
  13787. "cancelid"
  13788. ],
  13789. "properties": {
  13790. "accountid": {
  13791. "description": "申请人账户ID",
  13792. "type": "integer"
  13793. },
  13794. "applystatus": {
  13795. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13796. "type": "integer"
  13797. },
  13798. "applytime": {
  13799. "description": "申请时间",
  13800. "type": "string"
  13801. },
  13802. "cancelid": {
  13803. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13804. "type": "integer"
  13805. },
  13806. "cancelqty": {
  13807. "description": "注销数量",
  13808. "type": "integer"
  13809. },
  13810. "createtime": {
  13811. "description": "创建时间",
  13812. "type": "string"
  13813. },
  13814. "creatorid": {
  13815. "description": "创建人ID",
  13816. "type": "integer"
  13817. },
  13818. "creatorname": {
  13819. "description": "创建人",
  13820. "type": "string"
  13821. },
  13822. "goodscode": {
  13823. "description": "订单商品代码",
  13824. "type": "string"
  13825. },
  13826. "goodsid": {
  13827. "description": "商品ID",
  13828. "type": "integer"
  13829. },
  13830. "goodsname": {
  13831. "description": "订单商品名称",
  13832. "type": "string"
  13833. },
  13834. "goodunit": {
  13835. "description": "报价单位",
  13836. "type": "string"
  13837. },
  13838. "handlestatus": {
  13839. "description": "处理状态",
  13840. "type": "integer"
  13841. },
  13842. "marketid": {
  13843. "description": "市场ID",
  13844. "type": "integer"
  13845. },
  13846. "marketname": {
  13847. "description": "市场名称",
  13848. "type": "string"
  13849. },
  13850. "tradedate": {
  13851. "description": "交易日(yyyyMMdd)",
  13852. "type": "string"
  13853. },
  13854. "userid": {
  13855. "description": "申请人ID",
  13856. "type": "integer"
  13857. }
  13858. }
  13859. },
  13860. "cptrade.Cptradepresaleapply": {
  13861. "type": "object",
  13862. "required": [
  13863. "applyid"
  13864. ],
  13865. "properties": {
  13866. "accountid": {
  13867. "description": "申请人账户ID",
  13868. "type": "integer"
  13869. },
  13870. "applyid": {
  13871. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13872. "type": "integer"
  13873. },
  13874. "applyremark": {
  13875. "description": "申请备注",
  13876. "type": "string"
  13877. },
  13878. "applystatus": {
  13879. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13880. "type": "integer"
  13881. },
  13882. "applytime": {
  13883. "description": "申请时间",
  13884. "type": "string"
  13885. },
  13886. "attachmenturl": {
  13887. "description": "附件地址",
  13888. "type": "string"
  13889. },
  13890. "endtime": {
  13891. "description": "预售结束时间",
  13892. "type": "string"
  13893. },
  13894. "goodscode": {
  13895. "description": "商品代码",
  13896. "type": "string"
  13897. },
  13898. "goodsid": {
  13899. "description": "商品ID",
  13900. "type": "integer"
  13901. },
  13902. "goodsname": {
  13903. "description": "商品名称",
  13904. "type": "string"
  13905. },
  13906. "goodunit": {
  13907. "description": "报价单位",
  13908. "type": "string"
  13909. },
  13910. "handlestatus": {
  13911. "description": "处理状态",
  13912. "type": "integer"
  13913. },
  13914. "marketid": {
  13915. "description": "预售市场ID",
  13916. "type": "integer"
  13917. },
  13918. "marketname": {
  13919. "description": "预售市场名称",
  13920. "type": "string"
  13921. },
  13922. "presaleqty": {
  13923. "description": "预售数量",
  13924. "type": "integer"
  13925. },
  13926. "relatedgoodscode": {
  13927. "description": "关联交易合约代码",
  13928. "type": "string"
  13929. },
  13930. "relatedgoodsid": {
  13931. "description": "关联交易合约ID",
  13932. "type": "integer"
  13933. },
  13934. "relatedgoodsname": {
  13935. "description": "关联交易合约名称",
  13936. "type": "string"
  13937. },
  13938. "starttime": {
  13939. "description": "预售开始时间",
  13940. "type": "string"
  13941. },
  13942. "tradedate": {
  13943. "description": "交易日(yyyyMMdd)",
  13944. "type": "string"
  13945. },
  13946. "trademode": {
  13947. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13948. "type": "integer"
  13949. },
  13950. "userid": {
  13951. "description": "申请人ID",
  13952. "type": "integer"
  13953. }
  13954. }
  13955. },
  13956. "cptrade.Cptradeusergoodsdata": {
  13957. "type": "object",
  13958. "required": [
  13959. "accountid",
  13960. "goodsid"
  13961. ],
  13962. "properties": {
  13963. "EnabledQty": {
  13964. "description": "可用量",
  13965. "type": "integer"
  13966. },
  13967. "GoodsCode": {
  13968. "description": "订单商品代码",
  13969. "type": "string"
  13970. },
  13971. "GoodsName": {
  13972. "description": "订单商品名称",
  13973. "type": "string"
  13974. },
  13975. "WRStandardCode": {
  13976. "description": "仓单标准代码",
  13977. "type": "string"
  13978. },
  13979. "WRStandardName": {
  13980. "description": "仓单标准名称",
  13981. "type": "string"
  13982. },
  13983. "accountid": {
  13984. "description": "账户ID",
  13985. "type": "integer"
  13986. },
  13987. "cancelqty": {
  13988. "description": "注销量",
  13989. "type": "integer"
  13990. },
  13991. "curpresaleqty": {
  13992. "description": "当前预售量",
  13993. "type": "integer"
  13994. },
  13995. "deliveryqty": {
  13996. "description": "交割量",
  13997. "type": "integer"
  13998. },
  13999. "freezeamount": {
  14000. "description": "冻结金额",
  14001. "type": "number"
  14002. },
  14003. "goodsid": {
  14004. "description": "商品ID",
  14005. "type": "integer"
  14006. },
  14007. "goodunit": {
  14008. "description": "报价单位",
  14009. "type": "string"
  14010. },
  14011. "hasspotfreeze": {
  14012. "description": "是否有现货冻结 - 0:否 1:有",
  14013. "type": "integer"
  14014. },
  14015. "inqty": {
  14016. "description": "转入量(总数量)",
  14017. "type": "integer"
  14018. },
  14019. "marketid": {
  14020. "description": "市场ID",
  14021. "type": "integer"
  14022. },
  14023. "presaledamount": {
  14024. "description": "已预售总金额",
  14025. "type": "integer"
  14026. },
  14027. "presaledqty": {
  14028. "description": "已预售量",
  14029. "type": "integer"
  14030. },
  14031. "userid": {
  14032. "description": "用户ID",
  14033. "type": "integer"
  14034. },
  14035. "wrstandardid": {
  14036. "description": "仓单标准ID",
  14037. "type": "integer"
  14038. }
  14039. }
  14040. },
  14041. "cptrade.QueryCPTradeMyBidRsp": {
  14042. "type": "object",
  14043. "required": [
  14044. "accountid",
  14045. "goodsid",
  14046. "marketid",
  14047. "orderid",
  14048. "orderqty",
  14049. "ordertime",
  14050. "tradeprice",
  14051. "tradeqty"
  14052. ],
  14053. "properties": {
  14054. "accountid": {
  14055. "description": "账户ID[报价币种]",
  14056. "type": "integer"
  14057. },
  14058. "goodsid": {
  14059. "description": "商品ID",
  14060. "type": "integer"
  14061. },
  14062. "goodunit": {
  14063. "description": "报价单位",
  14064. "type": "string"
  14065. },
  14066. "marketid": {
  14067. "description": "市场ID",
  14068. "type": "integer"
  14069. },
  14070. "orderid": {
  14071. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14072. "type": "integer"
  14073. },
  14074. "orderprice": {
  14075. "description": "委托价格",
  14076. "type": "number"
  14077. },
  14078. "orderqty": {
  14079. "description": "委托数量",
  14080. "type": "integer"
  14081. },
  14082. "ordertime": {
  14083. "description": "委托时间",
  14084. "type": "string"
  14085. },
  14086. "ordertotalprice": {
  14087. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14088. "type": "number"
  14089. },
  14090. "ordertotalweight": {
  14091. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14092. "type": "integer"
  14093. },
  14094. "totaltotalprice": {
  14095. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14096. "type": "number"
  14097. },
  14098. "tradeprice": {
  14099. "description": "成交价格",
  14100. "type": "number"
  14101. },
  14102. "tradeqty": {
  14103. "description": "成交数量",
  14104. "type": "integer"
  14105. }
  14106. }
  14107. },
  14108. "cptrade.QueryCPTradeOrderDetailRsq": {
  14109. "type": "object",
  14110. "required": [
  14111. "accountid",
  14112. "buildtype",
  14113. "buyorsell",
  14114. "goodsid",
  14115. "marketid",
  14116. "memberuserid",
  14117. "operatetype",
  14118. "orderqty",
  14119. "ordertime",
  14120. "pricemode",
  14121. "strorderid",
  14122. "tradedate",
  14123. "validtype"
  14124. ],
  14125. "properties": {
  14126. "accountid": {
  14127. "description": "账户ID[报价币种]",
  14128. "type": "integer"
  14129. },
  14130. "buildtype": {
  14131. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14132. "type": "integer"
  14133. },
  14134. "buyorsell": {
  14135. "description": "买卖 - 0:买 1:卖",
  14136. "type": "integer"
  14137. },
  14138. "cancelorderid": {
  14139. "description": "撤单单号(撤单时填写)",
  14140. "type": "integer"
  14141. },
  14142. "cancelqty": {
  14143. "description": "撤单数量",
  14144. "type": "integer"
  14145. },
  14146. "clientordertime": {
  14147. "description": "客户端委托时间",
  14148. "type": "string"
  14149. },
  14150. "clientticket": {
  14151. "description": "客户端流水号",
  14152. "type": "string"
  14153. },
  14154. "clienttype": {
  14155. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14156. "type": "integer"
  14157. },
  14158. "closeexchagechargevalue": {
  14159. "description": "平仓交易所手续费设置值",
  14160. "type": "number"
  14161. },
  14162. "closefeealgorithm": {
  14163. "description": "平仓手续费收取方式 1:比率 2:固定",
  14164. "type": "integer"
  14165. },
  14166. "closefreezecharge": {
  14167. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14168. "type": "number"
  14169. },
  14170. "closememberchargevalue": {
  14171. "description": "平仓会员手续费设置值",
  14172. "type": "number"
  14173. },
  14174. "closeqty": {
  14175. "description": "平仓数量(先建后平操作 需要记录)",
  14176. "type": "integer"
  14177. },
  14178. "closetradeqty": {
  14179. "description": "平仓成交数量(先建后平操作,需要记录)",
  14180. "type": "integer"
  14181. },
  14182. "closeunfreezecharge": {
  14183. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14184. "type": "number"
  14185. },
  14186. "delistingtype": {
  14187. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14188. "type": "integer"
  14189. },
  14190. "freezecharge": {
  14191. "description": "冻结手续费",
  14192. "type": "number"
  14193. },
  14194. "freezemargin": {
  14195. "description": "冻结保证金(冻结交易金额)",
  14196. "type": "number"
  14197. },
  14198. "gcaccountid": {
  14199. "description": "账户ID[合约币种]",
  14200. "type": "integer"
  14201. },
  14202. "goodsid": {
  14203. "description": "商品ID",
  14204. "type": "integer"
  14205. },
  14206. "isconfirmexercise": {
  14207. "description": "是否确认行权- 0:否 1:是",
  14208. "type": "integer"
  14209. },
  14210. "ispreexercise": {
  14211. "description": "是否预申报- 0:否 1:是",
  14212. "type": "integer"
  14213. },
  14214. "listingselecttype": {
  14215. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14216. "type": "integer"
  14217. },
  14218. "marginalgorithm": {
  14219. "description": "保证金收取方式 1:比率 2:固定",
  14220. "type": "integer"
  14221. },
  14222. "marginvalue": {
  14223. "description": "即市保证金设置值",
  14224. "type": "number"
  14225. },
  14226. "marketid": {
  14227. "description": "市场ID",
  14228. "type": "integer"
  14229. },
  14230. "marketmaxsub": {
  14231. "description": "市价最大偏移范围",
  14232. "type": "number"
  14233. },
  14234. "memberuserid": {
  14235. "description": "所属会员UserID",
  14236. "type": "integer"
  14237. },
  14238. "openexchagechargevalue": {
  14239. "description": "建仓交易所手续费设置值",
  14240. "type": "number"
  14241. },
  14242. "openfeealgorithm": {
  14243. "description": "建仓手续费收取方式 1:比率 2:固定",
  14244. "type": "integer"
  14245. },
  14246. "openfreezecharge": {
  14247. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14248. "type": "number"
  14249. },
  14250. "openmemberchargevalue": {
  14251. "description": "建仓会员手续费设置值",
  14252. "type": "number"
  14253. },
  14254. "openqty": {
  14255. "description": "开仓数量(先建后平操作,需要记录)",
  14256. "type": "integer"
  14257. },
  14258. "opentradeqty": {
  14259. "description": "开仓成交数量(先建后平操作,需要记录)",
  14260. "type": "integer"
  14261. },
  14262. "openunfreezecharge": {
  14263. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14264. "type": "number"
  14265. },
  14266. "operatetype": {
  14267. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14268. "type": "integer"
  14269. },
  14270. "operatorid": {
  14271. "description": "登录账号(LoginID)",
  14272. "type": "integer"
  14273. },
  14274. "optiontype": {
  14275. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14276. "type": "integer"
  14277. },
  14278. "orderprice": {
  14279. "description": "委托价格",
  14280. "type": "number"
  14281. },
  14282. "orderqty": {
  14283. "description": "委托数量",
  14284. "type": "integer"
  14285. },
  14286. "ordersrc": {
  14287. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14288. "type": "integer"
  14289. },
  14290. "orderstatus": {
  14291. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14292. "type": "integer"
  14293. },
  14294. "ordertime": {
  14295. "description": "委托时间",
  14296. "type": "string"
  14297. },
  14298. "preexerciseprice": {
  14299. "description": "预申报价格",
  14300. "type": "number"
  14301. },
  14302. "premium": {
  14303. "description": "权利金",
  14304. "type": "number"
  14305. },
  14306. "preorderid": {
  14307. "description": "关联预埋单号(止盈止损单时填写)",
  14308. "type": "integer"
  14309. },
  14310. "pricemode": {
  14311. "description": "取价方式 - 1:市价 2: 限价",
  14312. "type": "integer"
  14313. },
  14314. "quoteid": {
  14315. "description": "报价单ID",
  14316. "type": "integer"
  14317. },
  14318. "relatedid": {
  14319. "description": "关联单号(交割单)",
  14320. "type": "integer"
  14321. },
  14322. "retcode": {
  14323. "description": "错误代码",
  14324. "type": "integer"
  14325. },
  14326. "sessionid": {
  14327. "description": "会话ID",
  14328. "type": "integer"
  14329. },
  14330. "strorderid": {
  14331. "description": "委托单号",
  14332. "type": "string"
  14333. },
  14334. "tradedate": {
  14335. "description": "交易日(yyyyMMdd)",
  14336. "type": "string"
  14337. },
  14338. "tradeproperty": {
  14339. "description": "交易属性",
  14340. "type": "integer"
  14341. },
  14342. "tradeqty": {
  14343. "description": "成交数量",
  14344. "type": "integer"
  14345. },
  14346. "unfreezecharge": {
  14347. "description": "解冻手续费",
  14348. "type": "number"
  14349. },
  14350. "unfreezemargin": {
  14351. "description": "解冻保证金",
  14352. "type": "number"
  14353. },
  14354. "updatetime": {
  14355. "description": "更新时间",
  14356. "type": "string"
  14357. },
  14358. "uuid": {
  14359. "description": "发起端唯一id",
  14360. "type": "string"
  14361. },
  14362. "validtime": {
  14363. "description": "有效期限",
  14364. "type": "string"
  14365. },
  14366. "validtype": {
  14367. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14368. "type": "integer"
  14369. },
  14370. "volumetype": {
  14371. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14372. "type": "integer"
  14373. }
  14374. }
  14375. },
  14376. "cptrade.QueryMyCPTradeGoodsRsp": {
  14377. "type": "object",
  14378. "required": [
  14379. "goodscode",
  14380. "goodsid",
  14381. "goodsname",
  14382. "marketid",
  14383. "relatedgoodscode",
  14384. "relatedgoodsname"
  14385. ],
  14386. "properties": {
  14387. "accountid": {
  14388. "description": "卖方账户ID",
  14389. "type": "integer"
  14390. },
  14391. "agreeunit": {
  14392. "description": "合约单位",
  14393. "type": "number"
  14394. },
  14395. "applyid": {
  14396. "description": "关联申请ID",
  14397. "type": "integer"
  14398. },
  14399. "attachmenturl": {
  14400. "description": "附件地址",
  14401. "type": "string"
  14402. },
  14403. "createtime": {
  14404. "description": "创建时间",
  14405. "type": "string"
  14406. },
  14407. "currencyid": {
  14408. "description": "报价货币ID",
  14409. "type": "integer"
  14410. },
  14411. "decimalplace": {
  14412. "description": "报价小数位",
  14413. "type": "integer"
  14414. },
  14415. "endtime": {
  14416. "description": "预售结束时间",
  14417. "type": "string"
  14418. },
  14419. "floorprice": {
  14420. "description": "底价[大宗式竞拍]",
  14421. "type": "number"
  14422. },
  14423. "goodscode": {
  14424. "description": "商品代码(预售)",
  14425. "type": "string"
  14426. },
  14427. "goodsdetail": {
  14428. "description": "详情[大宗]",
  14429. "type": "string"
  14430. },
  14431. "goodsid": {
  14432. "description": "商品ID(自增ID SEQ_GOODS)",
  14433. "type": "integer"
  14434. },
  14435. "goodsname": {
  14436. "description": "商品名称(预售)",
  14437. "type": "string"
  14438. },
  14439. "goodunit": {
  14440. "description": "报价单位",
  14441. "type": "string"
  14442. },
  14443. "goodunitid": {
  14444. "description": "报价单位ID",
  14445. "type": "integer"
  14446. },
  14447. "marketid": {
  14448. "description": "所属市场ID",
  14449. "type": "integer"
  14450. },
  14451. "marketname": {
  14452. "description": "预售市场名称",
  14453. "type": "string"
  14454. },
  14455. "presaledamount": {
  14456. "description": "已预售总金额(预售结束时更新)",
  14457. "type": "number"
  14458. },
  14459. "presaledqty": {
  14460. "description": "已预售量(预售结束时更新)",
  14461. "type": "integer"
  14462. },
  14463. "presalemode": {
  14464. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14465. "type": "integer"
  14466. },
  14467. "presaleqty": {
  14468. "description": "预售数量",
  14469. "type": "integer"
  14470. },
  14471. "refprice": {
  14472. "description": "参考价格[一口价]",
  14473. "type": "number"
  14474. },
  14475. "relatedgoodscode": {
  14476. "description": "商品代码(订单)",
  14477. "type": "string"
  14478. },
  14479. "relatedgoodsid": {
  14480. "description": "关联交易合约ID",
  14481. "type": "integer"
  14482. },
  14483. "relatedgoodsname": {
  14484. "description": "商品名称(订单)",
  14485. "type": "string"
  14486. },
  14487. "relatedmarketid": {
  14488. "description": "关联交易合约市场ID",
  14489. "type": "integer"
  14490. },
  14491. "sellstatus": {
  14492. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14493. "type": "integer"
  14494. },
  14495. "startprice": {
  14496. "description": "起拍价[大宗式竞拍]",
  14497. "type": "number"
  14498. },
  14499. "starttime": {
  14500. "description": "预售开始时间",
  14501. "type": "string"
  14502. },
  14503. "tradedate": {
  14504. "description": "交易日(yyyyMMdd)",
  14505. "type": "string"
  14506. },
  14507. "tradeprice": {
  14508. "description": "成交价[大宗]",
  14509. "type": "number"
  14510. },
  14511. "userid": {
  14512. "description": "卖方用户ID",
  14513. "type": "integer"
  14514. }
  14515. }
  14516. },
  14517. "cptrade.QueryPresaleGoodsExRsp": {
  14518. "type": "object",
  14519. "required": [
  14520. "goodsid"
  14521. ],
  14522. "properties": {
  14523. "attachmenturl": {
  14524. "description": "附件地址",
  14525. "type": "string"
  14526. },
  14527. "createtime": {
  14528. "description": "创建时间",
  14529. "type": "string"
  14530. },
  14531. "endtime": {
  14532. "description": "预售结束时间",
  14533. "type": "string"
  14534. },
  14535. "floorprice": {
  14536. "description": "底价[大宗式竞拍]",
  14537. "type": "number"
  14538. },
  14539. "goodsdetail": {
  14540. "description": "详情[大宗]",
  14541. "type": "string"
  14542. },
  14543. "goodsid": {
  14544. "description": "商品ID(预售)",
  14545. "type": "integer"
  14546. },
  14547. "goodunit": {
  14548. "description": "报价单位",
  14549. "type": "string"
  14550. },
  14551. "marketid": {
  14552. "description": "预售市场ID - 根据预售模式选择市场",
  14553. "type": "integer"
  14554. },
  14555. "presaledamount": {
  14556. "description": "已预售总金额(预售结束时更新)",
  14557. "type": "number"
  14558. },
  14559. "presaledqty": {
  14560. "description": "已预售量(预售结束时更新)",
  14561. "type": "integer"
  14562. },
  14563. "presalemode": {
  14564. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14565. "type": "integer"
  14566. },
  14567. "presaleqty": {
  14568. "description": "预售数量",
  14569. "type": "integer"
  14570. },
  14571. "refprice": {
  14572. "description": "参考价格[一口价]",
  14573. "type": "number"
  14574. },
  14575. "relatedgoodsid": {
  14576. "description": "关联交易合约ID",
  14577. "type": "integer"
  14578. },
  14579. "relatedmarketid": {
  14580. "description": "关联交易合约市场ID",
  14581. "type": "integer"
  14582. },
  14583. "sellstatus": {
  14584. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14585. "type": "integer"
  14586. },
  14587. "startprice": {
  14588. "description": "起拍价[大宗式竞拍]",
  14589. "type": "number"
  14590. },
  14591. "starttime": {
  14592. "description": "预售开始时间",
  14593. "type": "string"
  14594. },
  14595. "tradedate": {
  14596. "description": "交易日(yyyyMMdd)",
  14597. "type": "string"
  14598. },
  14599. "tradeprice": {
  14600. "description": "成交价[大宗]",
  14601. "type": "number"
  14602. }
  14603. }
  14604. },
  14605. "delivery.QueryDeliveryRelationRsp": {
  14606. "type": "object",
  14607. "required": [
  14608. "begindate",
  14609. "enddate",
  14610. "goodsid",
  14611. "mindeliveryqty",
  14612. "xdeliveryratio"
  14613. ],
  14614. "properties": {
  14615. "begindate": {
  14616. "description": "起始日期(yyyyMMdd)",
  14617. "type": "string"
  14618. },
  14619. "buytemplateid": {
  14620. "description": "买履约计划模板ID",
  14621. "type": "integer"
  14622. },
  14623. "deliverygoodscode": {
  14624. "description": "品种代码",
  14625. "type": "string"
  14626. },
  14627. "deliverygoodsid": {
  14628. "description": "交割商品",
  14629. "type": "integer"
  14630. },
  14631. "deliverygoodsname": {
  14632. "description": "品种名称",
  14633. "type": "string"
  14634. },
  14635. "deliverymode": {
  14636. "description": "交割方式 - 1:点选式 2:申报式",
  14637. "type": "integer"
  14638. },
  14639. "deliverypricerule": {
  14640. "description": "交割价规则- 1:行情价 2:建仓价",
  14641. "type": "integer"
  14642. },
  14643. "deliverytype": {
  14644. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14645. "type": "integer"
  14646. },
  14647. "enddate": {
  14648. "description": "结束日期(yyyyMMdd)",
  14649. "type": "string"
  14650. },
  14651. "enumdicname": {
  14652. "description": "品类单位名称",
  14653. "type": "string"
  14654. },
  14655. "goodscode": {
  14656. "description": "商品代码",
  14657. "type": "string"
  14658. },
  14659. "goodsid": {
  14660. "description": "交易合约ID",
  14661. "type": "integer"
  14662. },
  14663. "goodsname": {
  14664. "description": "商品名称",
  14665. "type": "string"
  14666. },
  14667. "marketid": {
  14668. "description": "市场ID",
  14669. "type": "integer"
  14670. },
  14671. "mindeliveryqty": {
  14672. "description": "最小交割系数(K)",
  14673. "type": "integer"
  14674. },
  14675. "p2deliveryprice": {
  14676. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14677. "type": "number"
  14678. },
  14679. "p2deliveryratio": {
  14680. "description": "P2合约系数(p)",
  14681. "type": "integer"
  14682. },
  14683. "p2goodsid": {
  14684. "description": "P2合约ID",
  14685. "type": "integer"
  14686. },
  14687. "p2pricemode": {
  14688. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14689. "type": "integer"
  14690. },
  14691. "pdeliveryprice": {
  14692. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14693. "type": "number"
  14694. },
  14695. "pdeliveryratio": {
  14696. "description": "P合约系数(n)",
  14697. "type": "integer"
  14698. },
  14699. "pgoodscode": {
  14700. "description": "p合约代码",
  14701. "type": "string"
  14702. },
  14703. "pgoodsid": {
  14704. "description": "P合约ID",
  14705. "type": "integer"
  14706. },
  14707. "ppricemode": {
  14708. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14709. "type": "integer"
  14710. },
  14711. "rratio": {
  14712. "description": "兑换系数(R)",
  14713. "type": "integer"
  14714. },
  14715. "rratio1": {
  14716. "description": "兑换系数(交易合约)(R1)",
  14717. "type": "integer"
  14718. },
  14719. "rratio2": {
  14720. "description": "兑换系数(仓单标准)(R2)",
  14721. "type": "integer"
  14722. },
  14723. "selltemplateid": {
  14724. "description": "卖履约计划模板ID",
  14725. "type": "integer"
  14726. },
  14727. "wrstandardid": {
  14728. "description": "仓单标准ID",
  14729. "type": "integer"
  14730. },
  14731. "xdeliveryratio": {
  14732. "description": "交易合约系数(m)",
  14733. "type": "integer"
  14734. }
  14735. }
  14736. },
  14737. "ermcp.ExposureDetailRsp": {
  14738. "type": "object",
  14739. "properties": {
  14740. "areauserid": {
  14741. "description": "机构ID",
  14742. "type": "integer"
  14743. },
  14744. "changeQty": {
  14745. "description": "套保变动量",
  14746. "type": "number"
  14747. },
  14748. "contracttype": {
  14749. "description": "现货合同类型 - 1:采购 -1:销售",
  14750. "type": "integer"
  14751. },
  14752. "convertfactor": {
  14753. "description": "标仓系数",
  14754. "type": "number"
  14755. },
  14756. "convertratio": {
  14757. "description": "套保系数",
  14758. "type": "number"
  14759. },
  14760. "createtime": {
  14761. "description": "时间",
  14762. "type": "string"
  14763. },
  14764. "enumdicname": {
  14765. "description": "现货商品单位名称",
  14766. "type": "string"
  14767. },
  14768. "logtype": {
  14769. "description": "类型 - 1:套保计划 2:现货合同",
  14770. "type": "integer"
  14771. },
  14772. "middlegoodsId": {
  14773. "description": "套保商品id",
  14774. "type": "integer"
  14775. },
  14776. "middlegoodscode": {
  14777. "description": "套保商品代码",
  14778. "type": "string"
  14779. },
  14780. "middlegoodsname": {
  14781. "description": "套保商品名称",
  14782. "type": "string"
  14783. },
  14784. "qty": {
  14785. "description": "数量",
  14786. "type": "number"
  14787. },
  14788. "relateNo": {
  14789. "description": "现货合同/套保计划编号",
  14790. "type": "string"
  14791. },
  14792. "wrstandardcode": {
  14793. "description": "现货商品代码",
  14794. "type": "string"
  14795. },
  14796. "wrstandardid": {
  14797. "description": "现货商品ID",
  14798. "type": "integer"
  14799. },
  14800. "wrstandardname": {
  14801. "description": "现货商品名称",
  14802. "type": "string"
  14803. }
  14804. }
  14805. },
  14806. "ermcp.ExposureHedgePosDetailRsp": {
  14807. "type": "object",
  14808. "properties": {
  14809. "buyorsell": {
  14810. "description": "买卖方向 0-买 1-卖",
  14811. "type": "integer"
  14812. },
  14813. "channelbuildtype": {
  14814. "description": "开平方向 1-建仓 2-平仓",
  14815. "type": "integer"
  14816. },
  14817. "goodscode": {
  14818. "description": "商品代码",
  14819. "type": "string"
  14820. },
  14821. "goodsname": {
  14822. "description": "商品名称",
  14823. "type": "string"
  14824. },
  14825. "hedgegoodsid": {
  14826. "description": "商品id",
  14827. "type": "integer"
  14828. },
  14829. "tradeqty": {
  14830. "description": "数量(成交数量)",
  14831. "type": "integer"
  14832. },
  14833. "tradetime": {
  14834. "description": "时间(成交时间)",
  14835. "type": "string"
  14836. }
  14837. }
  14838. },
  14839. "ermcp.ExposureHedgePositionRsp": {
  14840. "type": "object",
  14841. "properties": {
  14842. "accountid": {
  14843. "description": "资金账号[外部母账户]",
  14844. "type": "integer"
  14845. },
  14846. "curbuyposition": {
  14847. "description": "期末买头寸",
  14848. "type": "integer"
  14849. },
  14850. "cursellposition": {
  14851. "description": "期末卖头寸",
  14852. "type": "integer"
  14853. },
  14854. "curtdbuyposition": {
  14855. "description": "期末今日买头寸",
  14856. "type": "integer"
  14857. },
  14858. "curtdsellposition": {
  14859. "description": "期末今日卖头寸",
  14860. "type": "integer"
  14861. },
  14862. "curydbuyposition": {
  14863. "description": "期末上日买头寸",
  14864. "type": "integer"
  14865. },
  14866. "curydsellposition": {
  14867. "description": "期末上日卖头寸",
  14868. "type": "integer"
  14869. },
  14870. "decreaseqty": {
  14871. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14872. "type": "integer"
  14873. },
  14874. "fretdbuyposition": {
  14875. "description": "冻结今日买头寸",
  14876. "type": "integer"
  14877. },
  14878. "fretdsellposition": {
  14879. "description": "冻结今日卖头寸",
  14880. "type": "integer"
  14881. },
  14882. "freydbuyposition": {
  14883. "description": "冻结上日买头寸",
  14884. "type": "integer"
  14885. },
  14886. "freydsellposition": {
  14887. "description": "冻结上日卖头寸",
  14888. "type": "integer"
  14889. },
  14890. "goodscode": {
  14891. "description": "商品代码",
  14892. "type": "string"
  14893. },
  14894. "goodsid": {
  14895. "description": "商品id",
  14896. "type": "integer"
  14897. },
  14898. "goodsname": {
  14899. "description": "商品名称",
  14900. "type": "string"
  14901. },
  14902. "hedgeaccountcode": {
  14903. "description": "对冲账号",
  14904. "type": "string"
  14905. },
  14906. "hedgegoodsid": {
  14907. "description": "对冲合约ID",
  14908. "type": "integer"
  14909. },
  14910. "increaseqty": {
  14911. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14912. "type": "integer"
  14913. },
  14914. "marketid": {
  14915. "description": "市场ID",
  14916. "type": "integer"
  14917. },
  14918. "relateduserid": {
  14919. "description": "关联用户id",
  14920. "type": "integer"
  14921. },
  14922. "totalcurqty": {
  14923. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14924. "type": "integer"
  14925. },
  14926. "totalydqty": {
  14927. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14928. "type": "integer"
  14929. },
  14930. "tradedate": {
  14931. "description": "交易日(yyyyMMdd)",
  14932. "type": "string"
  14933. },
  14934. "ydbuyposition": {
  14935. "description": "期初买头寸",
  14936. "type": "integer"
  14937. },
  14938. "ydsellposition": {
  14939. "description": "期初卖头寸",
  14940. "type": "integer"
  14941. }
  14942. }
  14943. },
  14944. "ermcp.ExposureSpotDetailRsp": {
  14945. "type": "object",
  14946. "properties": {
  14947. "contracttype": {
  14948. "description": "合同类型 1-采购 -1-销售",
  14949. "type": "integer"
  14950. },
  14951. "createtime": {
  14952. "description": "创建时间",
  14953. "type": "string"
  14954. },
  14955. "enumdicname": {
  14956. "description": "现货商品单位名称",
  14957. "type": "string"
  14958. },
  14959. "logtype": {
  14960. "description": "记录类型 1-套保 2-现货合同",
  14961. "type": "integer"
  14962. },
  14963. "qty": {
  14964. "description": "数量",
  14965. "type": "number"
  14966. },
  14967. "recordname": {
  14968. "description": "类型名称",
  14969. "type": "string"
  14970. },
  14971. "relatedid": {
  14972. "description": "套保计划ID/现货合同ID",
  14973. "type": "string"
  14974. },
  14975. "relatedno": {
  14976. "description": "编号",
  14977. "type": "string"
  14978. },
  14979. "strtime": {
  14980. "description": "时间",
  14981. "type": "string"
  14982. },
  14983. "wrstandardcode": {
  14984. "description": "现货商品代码",
  14985. "type": "string"
  14986. },
  14987. "wrstandardname": {
  14988. "description": "现货商品名称",
  14989. "type": "string"
  14990. }
  14991. }
  14992. },
  14993. "ermcp.ExposureSpotRsp": {
  14994. "type": "object",
  14995. "properties": {
  14996. "areauserid": {
  14997. "description": "所属机构",
  14998. "type": "integer"
  14999. },
  15000. "decreaseqty": {
  15001. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15002. "type": "number"
  15003. },
  15004. "increaseqty": {
  15005. "description": "增加数量=销售计划数量+采购已定价数量",
  15006. "type": "number"
  15007. },
  15008. "oritoalspotqty": {
  15009. "description": "昨日数量",
  15010. "type": "number"
  15011. },
  15012. "totalspotqty": {
  15013. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15014. "type": "number"
  15015. },
  15016. "updatetime": {
  15017. "description": "更新时间",
  15018. "type": "string"
  15019. },
  15020. "wrstandardcode": {
  15021. "description": "现货品种代码",
  15022. "type": "string"
  15023. },
  15024. "wrstandardid": {
  15025. "description": "现货商品ID",
  15026. "type": "integer"
  15027. },
  15028. "wrstandardname": {
  15029. "description": "现货品种",
  15030. "type": "string"
  15031. }
  15032. }
  15033. },
  15034. "ermcp.HisExposureRsp": {
  15035. "type": "object",
  15036. "properties": {
  15037. "data": {
  15038. "description": "历史敞口",
  15039. "type": "array",
  15040. "items": {
  15041. "$ref": "#/definitions/models.ErmcpHisExposure"
  15042. }
  15043. },
  15044. "enumdicname": {
  15045. "description": "单位名称",
  15046. "type": "string"
  15047. },
  15048. "middlegoodscode": {
  15049. "description": "套保品种代码",
  15050. "type": "string"
  15051. },
  15052. "middlegoodsid": {
  15053. "description": "套保品种ID",
  15054. "type": "integer"
  15055. },
  15056. "middlegoodsname": {
  15057. "description": "套保品种名称",
  15058. "type": "string"
  15059. }
  15060. }
  15061. },
  15062. "ermcp.PendingAuditCntRsp": {
  15063. "type": "object",
  15064. "properties": {
  15065. "areastockqty": {
  15066. "description": "待审核数量: 库存申请",
  15067. "type": "integer"
  15068. },
  15069. "businessdjqty": {
  15070. "description": "待审核数量: 点价",
  15071. "type": "integer"
  15072. },
  15073. "businessfpqty": {
  15074. "description": "待审核数量: 发票",
  15075. "type": "integer"
  15076. },
  15077. "businessjsqty": {
  15078. "description": "待审核数量: 结算",
  15079. "type": "integer"
  15080. },
  15081. "businesskxqty": {
  15082. "description": "待审核数量: 款项",
  15083. "type": "integer"
  15084. },
  15085. "hedgeplanqty": {
  15086. "description": "待审核数量: 套保计划",
  15087. "type": "integer"
  15088. },
  15089. "spotcontractqty": {
  15090. "description": "待审核数量: 现货合同",
  15091. "type": "integer"
  15092. },
  15093. "userqty": {
  15094. "description": "待审核数量: 用户",
  15095. "type": "integer"
  15096. }
  15097. }
  15098. },
  15099. "ermcp.QryAvalidGPRsp": {
  15100. "type": "object",
  15101. "properties": {
  15102. "goodsgroupid": {
  15103. "description": "期货品种id",
  15104. "type": "integer"
  15105. },
  15106. "goodsgroupname": {
  15107. "description": "期货品种名称",
  15108. "type": "string"
  15109. },
  15110. "goodunitid": {
  15111. "description": "品种单位id",
  15112. "type": "integer"
  15113. },
  15114. "goodunitname": {
  15115. "description": "品种单位名称",
  15116. "type": "string"
  15117. },
  15118. "outergroupcode": {
  15119. "description": "期货品种代码",
  15120. "type": "string"
  15121. }
  15122. }
  15123. },
  15124. "ermcp.QryBusinessDjRsp": {
  15125. "type": "object",
  15126. "properties": {
  15127. "amount": {
  15128. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15129. "type": "number"
  15130. },
  15131. "applyid": {
  15132. "description": "申请人",
  15133. "type": "string"
  15134. },
  15135. "applyname": {
  15136. "description": "申请人名称",
  15137. "type": "string"
  15138. },
  15139. "applystatus": {
  15140. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15141. "type": "integer"
  15142. },
  15143. "applytime": {
  15144. "description": "申请时间",
  15145. "type": "string"
  15146. },
  15147. "attachurl": {
  15148. "description": "附件",
  15149. "type": "string"
  15150. },
  15151. "auditid": {
  15152. "description": "审核人ID",
  15153. "type": "string"
  15154. },
  15155. "auditname": {
  15156. "description": "审核人名称",
  15157. "type": "string"
  15158. },
  15159. "audittime": {
  15160. "description": "审核时间",
  15161. "type": "string"
  15162. },
  15163. "buyusername": {
  15164. "description": "采购方名称",
  15165. "type": "string"
  15166. },
  15167. "contractno": {
  15168. "description": "合同编号",
  15169. "type": "string"
  15170. },
  15171. "contractstatus": {
  15172. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15173. "type": "integer"
  15174. },
  15175. "contracttype": {
  15176. "description": "现货合同类型 - 1:采购 -1:销售",
  15177. "type": "integer"
  15178. },
  15179. "deliverygoodscode": {
  15180. "description": "现货品种代码",
  15181. "type": "string"
  15182. },
  15183. "deliverygoodsid": {
  15184. "description": "现货商品ID",
  15185. "type": "integer"
  15186. },
  15187. "deliverygoodsname": {
  15188. "description": "现货品种名称",
  15189. "type": "string"
  15190. },
  15191. "enumdicname": {
  15192. "description": "单位名称",
  15193. "type": "string"
  15194. },
  15195. "goodscode": {
  15196. "description": "点价合约",
  15197. "type": "string"
  15198. },
  15199. "goodsname": {
  15200. "description": "商品名称",
  15201. "type": "string"
  15202. },
  15203. "operateapplyid": {
  15204. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15205. "type": "string"
  15206. },
  15207. "operateapplytype": {
  15208. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15209. "type": "integer"
  15210. },
  15211. "pricedPrice": {
  15212. "description": "点价价格(非必填)",
  15213. "type": "number"
  15214. },
  15215. "pricedQty": {
  15216. "description": "点价数量(非必填)",
  15217. "type": "number"
  15218. },
  15219. "pricemove": {
  15220. "description": "升贴水",
  15221. "type": "number"
  15222. },
  15223. "pricetype": {
  15224. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15225. "type": "integer"
  15226. },
  15227. "relatedid": {
  15228. "description": "现货合同ID",
  15229. "type": "string"
  15230. },
  15231. "sellusername": {
  15232. "description": "销售方名字",
  15233. "type": "string"
  15234. },
  15235. "userid": {
  15236. "description": "用户ID",
  15237. "type": "integer"
  15238. },
  15239. "wrstandardcode": {
  15240. "description": "品类代码",
  15241. "type": "string"
  15242. },
  15243. "wrstandardid": {
  15244. "description": "品类id",
  15245. "type": "integer"
  15246. },
  15247. "wrstandardname": {
  15248. "description": "品类名称",
  15249. "type": "string"
  15250. }
  15251. }
  15252. },
  15253. "ermcp.QryBussinessFpRsp": {
  15254. "type": "object",
  15255. "properties": {
  15256. "applyid": {
  15257. "description": "申请人",
  15258. "type": "string"
  15259. },
  15260. "applyname": {
  15261. "description": "申请人名称",
  15262. "type": "string"
  15263. },
  15264. "applystatus": {
  15265. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15266. "type": "integer"
  15267. },
  15268. "applytime": {
  15269. "description": "申请时间",
  15270. "type": "string"
  15271. },
  15272. "attachurl": {
  15273. "description": "附件",
  15274. "type": "string"
  15275. },
  15276. "auditid": {
  15277. "description": "审核人ID",
  15278. "type": "string"
  15279. },
  15280. "auditname": {
  15281. "description": "审核人名称",
  15282. "type": "string"
  15283. },
  15284. "audittime": {
  15285. "description": "审核时间",
  15286. "type": "string"
  15287. },
  15288. "buyusername": {
  15289. "description": "采购方名称",
  15290. "type": "string"
  15291. },
  15292. "contractno": {
  15293. "description": "合同编号",
  15294. "type": "string"
  15295. },
  15296. "contractstatus": {
  15297. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15298. "type": "integer"
  15299. },
  15300. "contracttype": {
  15301. "description": "现货合同类型 - 1:采购 -1:销售",
  15302. "type": "integer"
  15303. },
  15304. "deliverygoodscode": {
  15305. "description": "现货品种代码",
  15306. "type": "string"
  15307. },
  15308. "deliverygoodsid": {
  15309. "description": "现货商品ID",
  15310. "type": "integer"
  15311. },
  15312. "deliverygoodsname": {
  15313. "description": "现货品种名称",
  15314. "type": "string"
  15315. },
  15316. "enumdicname": {
  15317. "description": "单位名称",
  15318. "type": "string"
  15319. },
  15320. "goodscode": {
  15321. "description": "点价合约",
  15322. "type": "string"
  15323. },
  15324. "goodsname": {
  15325. "description": "商品名称",
  15326. "type": "string"
  15327. },
  15328. "invoiceAmount": {
  15329. "description": "已开收票金额(销售为开票,采购为收票)",
  15330. "type": "number"
  15331. },
  15332. "operateapplyid": {
  15333. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15334. "type": "string"
  15335. },
  15336. "operateapplytype": {
  15337. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15338. "type": "integer"
  15339. },
  15340. "pricemove": {
  15341. "description": "升贴水",
  15342. "type": "number"
  15343. },
  15344. "pricetype": {
  15345. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15346. "type": "integer"
  15347. },
  15348. "relatedid": {
  15349. "description": "现货合同ID",
  15350. "type": "string"
  15351. },
  15352. "sellusername": {
  15353. "description": "销售方名字",
  15354. "type": "string"
  15355. },
  15356. "userid": {
  15357. "description": "用户ID",
  15358. "type": "integer"
  15359. },
  15360. "wrstandardcode": {
  15361. "description": "品类代码",
  15362. "type": "string"
  15363. },
  15364. "wrstandardid": {
  15365. "description": "品类id",
  15366. "type": "integer"
  15367. },
  15368. "wrstandardname": {
  15369. "description": "品类名称",
  15370. "type": "string"
  15371. }
  15372. }
  15373. },
  15374. "ermcp.QryBussinessJsExRsp": {
  15375. "type": "object",
  15376. "properties": {
  15377. "applyid": {
  15378. "description": "申请人",
  15379. "type": "string"
  15380. },
  15381. "applyname": {
  15382. "description": "申请人名称",
  15383. "type": "string"
  15384. },
  15385. "applystatus": {
  15386. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15387. "type": "integer"
  15388. },
  15389. "applytime": {
  15390. "description": "申请时间",
  15391. "type": "string"
  15392. },
  15393. "attachurl": {
  15394. "description": "附件",
  15395. "type": "string"
  15396. },
  15397. "auditid": {
  15398. "description": "审核人ID",
  15399. "type": "string"
  15400. },
  15401. "auditname": {
  15402. "description": "审核人名称",
  15403. "type": "string"
  15404. },
  15405. "audittime": {
  15406. "description": "审核时间",
  15407. "type": "string"
  15408. },
  15409. "buyusername": {
  15410. "description": "采购方名称",
  15411. "type": "string"
  15412. },
  15413. "contractno": {
  15414. "description": "合同编号",
  15415. "type": "string"
  15416. },
  15417. "contractstatus": {
  15418. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15419. "type": "integer"
  15420. },
  15421. "contracttype": {
  15422. "description": "现货合同类型 - 1:采购 -1:销售",
  15423. "type": "integer"
  15424. },
  15425. "deliverygoodscode": {
  15426. "description": "现货品种代码",
  15427. "type": "string"
  15428. },
  15429. "deliverygoodsid": {
  15430. "description": "现货商品ID",
  15431. "type": "integer"
  15432. },
  15433. "deliverygoodsname": {
  15434. "description": "现货品种名称",
  15435. "type": "string"
  15436. },
  15437. "enumdicname": {
  15438. "description": "单位名称",
  15439. "type": "string"
  15440. },
  15441. "goodscode": {
  15442. "description": "点价合约",
  15443. "type": "string"
  15444. },
  15445. "goodsname": {
  15446. "description": "商品名称",
  15447. "type": "string"
  15448. },
  15449. "operateapplyid": {
  15450. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15451. "type": "string"
  15452. },
  15453. "operateapplytype": {
  15454. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15455. "type": "integer"
  15456. },
  15457. "pricemove": {
  15458. "description": "升贴水",
  15459. "type": "number"
  15460. },
  15461. "pricetype": {
  15462. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15463. "type": "integer"
  15464. },
  15465. "reckontype": {
  15466. "description": "结算类型",
  15467. "type": "string"
  15468. },
  15469. "reckonvalue": {
  15470. "description": "值",
  15471. "type": "number"
  15472. },
  15473. "relatedid": {
  15474. "description": "现货合同ID",
  15475. "type": "string"
  15476. },
  15477. "sellusername": {
  15478. "description": "销售方名字",
  15479. "type": "string"
  15480. },
  15481. "userid": {
  15482. "description": "用户ID",
  15483. "type": "integer"
  15484. },
  15485. "wrstandardcode": {
  15486. "description": "品类代码",
  15487. "type": "string"
  15488. },
  15489. "wrstandardid": {
  15490. "description": "品类id",
  15491. "type": "integer"
  15492. },
  15493. "wrstandardname": {
  15494. "description": "品类名称",
  15495. "type": "string"
  15496. }
  15497. }
  15498. },
  15499. "ermcp.QryBussinessJsRsp": {
  15500. "type": "object",
  15501. "properties": {
  15502. "addmargin": {
  15503. "description": "追加保证金(非必填)",
  15504. "type": "number"
  15505. },
  15506. "applyid": {
  15507. "description": "申请人",
  15508. "type": "string"
  15509. },
  15510. "applyname": {
  15511. "description": "申请人名称",
  15512. "type": "string"
  15513. },
  15514. "applystatus": {
  15515. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15516. "type": "integer"
  15517. },
  15518. "applytime": {
  15519. "description": "申请时间",
  15520. "type": "string"
  15521. },
  15522. "attachurl": {
  15523. "description": "附件",
  15524. "type": "string"
  15525. },
  15526. "auditid": {
  15527. "description": "审核人ID",
  15528. "type": "string"
  15529. },
  15530. "auditname": {
  15531. "description": "审核人名称",
  15532. "type": "string"
  15533. },
  15534. "audittime": {
  15535. "description": "审核时间",
  15536. "type": "string"
  15537. },
  15538. "buyusername": {
  15539. "description": "采购方名称",
  15540. "type": "string"
  15541. },
  15542. "contractno": {
  15543. "description": "合同编号",
  15544. "type": "string"
  15545. },
  15546. "contractstatus": {
  15547. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15548. "type": "integer"
  15549. },
  15550. "contracttype": {
  15551. "description": "现货合同类型 - 1:采购 -1:销售",
  15552. "type": "integer"
  15553. },
  15554. "decmargin": {
  15555. "description": "减少保证金(非必填)",
  15556. "type": "number"
  15557. },
  15558. "deliverygoodscode": {
  15559. "description": "现货品种代码",
  15560. "type": "string"
  15561. },
  15562. "deliverygoodsid": {
  15563. "description": "现货商品ID",
  15564. "type": "integer"
  15565. },
  15566. "deliverygoodsname": {
  15567. "description": "现货品种名称",
  15568. "type": "string"
  15569. },
  15570. "enumdicname": {
  15571. "description": "单位名称",
  15572. "type": "string"
  15573. },
  15574. "goodscode": {
  15575. "description": "点价合约",
  15576. "type": "string"
  15577. },
  15578. "goodsname": {
  15579. "description": "商品名称",
  15580. "type": "string"
  15581. },
  15582. "operateapplyid": {
  15583. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15584. "type": "string"
  15585. },
  15586. "operateapplytype": {
  15587. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15588. "type": "integer"
  15589. },
  15590. "pricemove": {
  15591. "description": "升贴水",
  15592. "type": "number"
  15593. },
  15594. "pricetype": {
  15595. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15596. "type": "integer"
  15597. },
  15598. "reckonadjustamount": {
  15599. "description": "结算调整金额(非必填)",
  15600. "type": "number"
  15601. },
  15602. "reckonosamount": {
  15603. "description": "结算溢短金额(非必填)",
  15604. "type": "number"
  15605. },
  15606. "reckonotheramount": {
  15607. "description": "结算其他费用(非必填)",
  15608. "type": "number"
  15609. },
  15610. "reckonrealqty": {
  15611. "description": "结算实际数量(非必填)",
  15612. "type": "number"
  15613. },
  15614. "relatedid": {
  15615. "description": "现货合同ID",
  15616. "type": "string"
  15617. },
  15618. "sellusername": {
  15619. "description": "销售方名字",
  15620. "type": "string"
  15621. },
  15622. "userid": {
  15623. "description": "用户ID",
  15624. "type": "integer"
  15625. },
  15626. "wrstandardcode": {
  15627. "description": "品类代码",
  15628. "type": "string"
  15629. },
  15630. "wrstandardid": {
  15631. "description": "品类id",
  15632. "type": "integer"
  15633. },
  15634. "wrstandardname": {
  15635. "description": "品类名称",
  15636. "type": "string"
  15637. }
  15638. }
  15639. },
  15640. "ermcp.QryBussinessKxRsp": {
  15641. "type": "object",
  15642. "properties": {
  15643. "applyid": {
  15644. "description": "申请人",
  15645. "type": "string"
  15646. },
  15647. "applyname": {
  15648. "description": "申请人名称",
  15649. "type": "string"
  15650. },
  15651. "applystatus": {
  15652. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15653. "type": "integer"
  15654. },
  15655. "applytime": {
  15656. "description": "申请时间",
  15657. "type": "string"
  15658. },
  15659. "attachurl": {
  15660. "description": "附件",
  15661. "type": "string"
  15662. },
  15663. "auditid": {
  15664. "description": "审核人ID",
  15665. "type": "string"
  15666. },
  15667. "auditname": {
  15668. "description": "审核人名称",
  15669. "type": "string"
  15670. },
  15671. "audittime": {
  15672. "description": "审核时间",
  15673. "type": "string"
  15674. },
  15675. "buyusername": {
  15676. "description": "采购方名称",
  15677. "type": "string"
  15678. },
  15679. "contractno": {
  15680. "description": "合同编号",
  15681. "type": "string"
  15682. },
  15683. "contractstatus": {
  15684. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15685. "type": "integer"
  15686. },
  15687. "contracttype": {
  15688. "description": "现货合同类型 - 1:采购 -1:销售",
  15689. "type": "integer"
  15690. },
  15691. "deductamount": {
  15692. "description": "退款(非必填)",
  15693. "type": "number"
  15694. },
  15695. "deliverygoodscode": {
  15696. "description": "现货品种代码",
  15697. "type": "string"
  15698. },
  15699. "deliverygoodsid": {
  15700. "description": "现货商品ID",
  15701. "type": "integer"
  15702. },
  15703. "deliverygoodsname": {
  15704. "description": "现货品种名称",
  15705. "type": "string"
  15706. },
  15707. "enumdicname": {
  15708. "description": "单位名称",
  15709. "type": "string"
  15710. },
  15711. "goodscode": {
  15712. "description": "点价合约",
  15713. "type": "string"
  15714. },
  15715. "goodsname": {
  15716. "description": "商品名称",
  15717. "type": "string"
  15718. },
  15719. "kxtype": {
  15720. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15721. "type": "integer"
  15722. },
  15723. "operateapplyid": {
  15724. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15725. "type": "string"
  15726. },
  15727. "operateapplytype": {
  15728. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15729. "type": "integer"
  15730. },
  15731. "payamount": {
  15732. "description": "收付款(非必填)",
  15733. "type": "number"
  15734. },
  15735. "pricemove": {
  15736. "description": "升贴水",
  15737. "type": "number"
  15738. },
  15739. "pricetype": {
  15740. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15741. "type": "integer"
  15742. },
  15743. "relatedid": {
  15744. "description": "现货合同ID",
  15745. "type": "string"
  15746. },
  15747. "sellusername": {
  15748. "description": "销售方名字",
  15749. "type": "string"
  15750. },
  15751. "userid": {
  15752. "description": "用户ID",
  15753. "type": "integer"
  15754. },
  15755. "wrstandardcode": {
  15756. "description": "品类代码",
  15757. "type": "string"
  15758. },
  15759. "wrstandardid": {
  15760. "description": "品类id",
  15761. "type": "integer"
  15762. },
  15763. "wrstandardname": {
  15764. "description": "品类名称",
  15765. "type": "string"
  15766. }
  15767. }
  15768. },
  15769. "ermcp.QryGGCovertCfgRsp": {
  15770. "type": "object",
  15771. "properties": {
  15772. "convertratio": {
  15773. "description": "折算系数",
  15774. "type": "number"
  15775. },
  15776. "destgoodsgroupid": {
  15777. "description": "目标品种ID",
  15778. "type": "integer"
  15779. },
  15780. "dstcode": {
  15781. "description": "目录品种代码",
  15782. "type": "string"
  15783. },
  15784. "dstexchangecode": {
  15785. "description": "目标期货交易所",
  15786. "type": "string"
  15787. },
  15788. "dstname": {
  15789. "description": "目标品种名称",
  15790. "type": "string"
  15791. },
  15792. "dstunitid": {
  15793. "description": "目标品种单位ID",
  15794. "type": "integer"
  15795. },
  15796. "dstunitidname": {
  15797. "description": "目标品种单位名称",
  15798. "type": "string"
  15799. },
  15800. "modifytime": {
  15801. "description": "修改时间",
  15802. "type": "string"
  15803. },
  15804. "srccode": {
  15805. "description": "源品种代码",
  15806. "type": "string"
  15807. },
  15808. "srcexchangecode": {
  15809. "description": "源期货交易所",
  15810. "type": "string"
  15811. },
  15812. "srcgoodsgroupid": {
  15813. "description": "源品种ID",
  15814. "type": "integer"
  15815. },
  15816. "srcname": {
  15817. "description": "源品种名称",
  15818. "type": "string"
  15819. },
  15820. "srcunitid": {
  15821. "description": "源品种单位ID",
  15822. "type": "integer"
  15823. },
  15824. "srcunitidname": {
  15825. "description": "源品种单位名称",
  15826. "type": "string"
  15827. }
  15828. }
  15829. },
  15830. "ermcp.QryMGChangeLogRsp": {
  15831. "type": "object",
  15832. "properties": {
  15833. "aftervalue": {
  15834. "description": "变更后",
  15835. "type": "number"
  15836. },
  15837. "applyid": {
  15838. "description": "操作人",
  15839. "type": "integer"
  15840. },
  15841. "applyname": {
  15842. "description": "操作人名称",
  15843. "type": "string"
  15844. },
  15845. "applysrc": {
  15846. "description": "操作来源 - 1:管理端 2:终端",
  15847. "type": "integer"
  15848. },
  15849. "beforevalue": {
  15850. "description": "变更前",
  15851. "type": "number"
  15852. },
  15853. "changelogtype": {
  15854. "description": "变更流水类型 - 1:套保比率变更",
  15855. "type": "integer"
  15856. },
  15857. "handlestatus": {
  15858. "description": "处理状态",
  15859. "type": "integer"
  15860. },
  15861. "logdatetime": {
  15862. "description": "流水日期",
  15863. "type": "string"
  15864. },
  15865. "logid": {
  15866. "description": "流水ID",
  15867. "type": "integer"
  15868. },
  15869. "logremark": {
  15870. "description": "流水备注",
  15871. "type": "string"
  15872. },
  15873. "middlegoodsid": {
  15874. "description": "套保品种ID",
  15875. "type": "integer"
  15876. },
  15877. "tradedate": {
  15878. "description": "交易日(yyyyMMdd)",
  15879. "type": "string"
  15880. },
  15881. "updatetime": {
  15882. "description": "更新时间",
  15883. "type": "string"
  15884. }
  15885. }
  15886. },
  15887. "ermcp.QryMiddleGoodsDetailRsp": {
  15888. "type": "object",
  15889. "properties": {
  15890. "cvList": {
  15891. "description": "期货品种折算列表",
  15892. "type": "array",
  15893. "items": {
  15894. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15895. }
  15896. },
  15897. "mg": {
  15898. "description": "套保品种基本信息",
  15899. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15900. },
  15901. "wrcList": {
  15902. "description": "现货品种列表(现货商品折算配置)",
  15903. "type": "array",
  15904. "items": {
  15905. "$ref": "#/definitions/models.WRSConverTDetail"
  15906. }
  15907. }
  15908. }
  15909. },
  15910. "ermcp.QryMiddleGoodsRsp": {
  15911. "type": "object",
  15912. "properties": {
  15913. "areauserid": {
  15914. "description": "机构用户ID",
  15915. "type": "integer"
  15916. },
  15917. "createtime": {
  15918. "description": "修改时间",
  15919. "type": "string"
  15920. },
  15921. "enumdicname": {
  15922. "description": "单位名称",
  15923. "type": "string"
  15924. },
  15925. "evaluateratio": {
  15926. "description": "估价系数",
  15927. "type": "number"
  15928. },
  15929. "goodsgroupid": {
  15930. "description": "关联期货品种ID",
  15931. "type": "integer"
  15932. },
  15933. "goodsunitid": {
  15934. "description": "单位ID",
  15935. "type": "integer"
  15936. },
  15937. "isvalid": {
  15938. "description": "状态 0-无效(停用) 1-有效(正常)",
  15939. "type": "integer"
  15940. },
  15941. "middlegoodscode": {
  15942. "description": "套保品种代码",
  15943. "type": "string"
  15944. },
  15945. "middlegoodsid": {
  15946. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15947. "type": "integer"
  15948. },
  15949. "middlegoodsname": {
  15950. "description": "套保品种名称",
  15951. "type": "string"
  15952. },
  15953. "modifytime": {
  15954. "description": "修改时间",
  15955. "type": "string"
  15956. },
  15957. "needarbitrageratio": {
  15958. "description": "套利比例",
  15959. "type": "number"
  15960. },
  15961. "needhedgeratio": {
  15962. "description": "套保比率",
  15963. "type": "number"
  15964. },
  15965. "qtydecimalplace": {
  15966. "description": "数量小数位",
  15967. "type": "integer"
  15968. },
  15969. "relatedgoodsid": {
  15970. "description": "关联交易商品ID",
  15971. "type": "integer"
  15972. },
  15973. "relatedgoodstype": {
  15974. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15975. "type": "integer"
  15976. },
  15977. "remark": {
  15978. "description": "备注",
  15979. "type": "string"
  15980. }
  15981. }
  15982. },
  15983. "ermcp.QryOPLogRsp": {
  15984. "type": "object",
  15985. "properties": {
  15986. "aftervalue": {
  15987. "description": "变更后",
  15988. "type": "number"
  15989. },
  15990. "applyid": {
  15991. "description": "操作人ID",
  15992. "type": "string"
  15993. },
  15994. "applyname": {
  15995. "description": "操作人名称",
  15996. "type": "string"
  15997. },
  15998. "beforevalue": {
  15999. "description": "变更前",
  16000. "type": "number"
  16001. },
  16002. "biztype": {
  16003. "description": "业务类型 - 1:套保计划 2:现货合同",
  16004. "type": "integer"
  16005. },
  16006. "contracttype": {
  16007. "description": "现货合同类型 - 1:采购 -1:销售",
  16008. "type": "integer"
  16009. },
  16010. "logvalue": {
  16011. "description": "数值",
  16012. "type": "number"
  16013. },
  16014. "operatelogtype": {
  16015. "description": "操作流水类型",
  16016. "type": "integer"
  16017. },
  16018. "operatelogtypedesc": {
  16019. "description": "操作流水类型名称",
  16020. "type": "string"
  16021. },
  16022. "relatedid": {
  16023. "description": "现货合同ID\\套保计划",
  16024. "type": "string"
  16025. },
  16026. "updatetime": {
  16027. "description": "更新时间",
  16028. "type": "string"
  16029. }
  16030. }
  16031. },
  16032. "ermcp.QryUserInfoRsp": {
  16033. "type": "object",
  16034. "properties": {
  16035. "address": {
  16036. "description": "通讯地址",
  16037. "type": "string"
  16038. },
  16039. "attachment1": {
  16040. "description": "附件1",
  16041. "type": "string"
  16042. },
  16043. "audittime": {
  16044. "description": "审核时间",
  16045. "type": "string"
  16046. },
  16047. "cardbackphotourl": {
  16048. "description": "证件反面图片地址",
  16049. "type": "string"
  16050. },
  16051. "cardfrontphotourl": {
  16052. "description": "证件正面图片地址",
  16053. "type": "string"
  16054. },
  16055. "cardnum": {
  16056. "description": "证件号码",
  16057. "type": "string"
  16058. },
  16059. "cardtype": {
  16060. "description": "证件类型",
  16061. "type": "integer"
  16062. },
  16063. "cardtypename": {
  16064. "description": "证件类型名称",
  16065. "type": "string"
  16066. },
  16067. "cityid": {
  16068. "description": "市",
  16069. "type": "integer"
  16070. },
  16071. "contactname": {
  16072. "description": "联系人",
  16073. "type": "string"
  16074. },
  16075. "countryid": {
  16076. "description": "国家",
  16077. "type": "integer"
  16078. },
  16079. "createtime": {
  16080. "description": "创建时间",
  16081. "type": "string"
  16082. },
  16083. "customername": {
  16084. "description": "企业名称",
  16085. "type": "string"
  16086. },
  16087. "districtid": {
  16088. "description": "区域",
  16089. "type": "integer"
  16090. },
  16091. "email": {
  16092. "description": "邮件",
  16093. "type": "string"
  16094. },
  16095. "legalpersonname": {
  16096. "description": "法人姓名(企业)",
  16097. "type": "string"
  16098. },
  16099. "memberuserid": {
  16100. "description": "所属机构ID",
  16101. "type": "integer"
  16102. },
  16103. "mobile": {
  16104. "description": "手机号码",
  16105. "type": "string"
  16106. },
  16107. "modifytime": {
  16108. "description": "修改时间",
  16109. "type": "string"
  16110. },
  16111. "nickname": {
  16112. "description": "昵称",
  16113. "type": "string"
  16114. },
  16115. "provinceid": {
  16116. "description": "省",
  16117. "type": "integer"
  16118. },
  16119. "remark": {
  16120. "description": "备注",
  16121. "type": "string"
  16122. },
  16123. "status": {
  16124. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16125. "type": "integer"
  16126. },
  16127. "statusdesc": {
  16128. "description": "账户状态中文描述",
  16129. "type": "string"
  16130. },
  16131. "taxpayernum": {
  16132. "description": "纳税人识别号",
  16133. "type": "string"
  16134. },
  16135. "telphone": {
  16136. "description": "联系电话",
  16137. "type": "string"
  16138. },
  16139. "userid": {
  16140. "description": "用户ID",
  16141. "type": "integer"
  16142. },
  16143. "userinfotype": {
  16144. "description": "客户类型",
  16145. "type": "string"
  16146. }
  16147. }
  16148. },
  16149. "ermcp.QryWarehouseRsp": {
  16150. "type": "object",
  16151. "properties": {
  16152. "address": {
  16153. "description": "详细地址",
  16154. "type": "string"
  16155. },
  16156. "areauserid": {
  16157. "description": "所属机构",
  16158. "type": "integer"
  16159. },
  16160. "autoid": {
  16161. "description": "自增ID(仓库ID)",
  16162. "type": "integer"
  16163. },
  16164. "cityid": {
  16165. "description": "市",
  16166. "type": "integer"
  16167. },
  16168. "contactname": {
  16169. "description": "联系人",
  16170. "type": "string"
  16171. },
  16172. "contactnum": {
  16173. "description": "联系电话",
  16174. "type": "string"
  16175. },
  16176. "countryid": {
  16177. "description": "国家",
  16178. "type": "integer"
  16179. },
  16180. "createtime": {
  16181. "description": "创建时间",
  16182. "type": "string"
  16183. },
  16184. "districtid": {
  16185. "description": "区",
  16186. "type": "integer"
  16187. },
  16188. "hasvideo": {
  16189. "description": "是否有视频 - 0:无 1:有",
  16190. "type": "integer"
  16191. },
  16192. "provinceid": {
  16193. "description": "省",
  16194. "type": "integer"
  16195. },
  16196. "remark": {
  16197. "description": "审核备注",
  16198. "type": "string"
  16199. },
  16200. "videourl": {
  16201. "description": "视频地址",
  16202. "type": "string"
  16203. },
  16204. "warehousecode": {
  16205. "description": "仓库代码",
  16206. "type": "string"
  16207. },
  16208. "warehousename": {
  16209. "description": "仓库名称",
  16210. "type": "string"
  16211. },
  16212. "warehousestatus": {
  16213. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16214. "type": "integer"
  16215. },
  16216. "warehousetype": {
  16217. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16218. "type": "integer"
  16219. }
  16220. }
  16221. },
  16222. "ermcp.QueryErmcpTradePositionRsp": {
  16223. "type": "object",
  16224. "properties": {
  16225. "agreeunit": {
  16226. "description": "合约单位",
  16227. "type": "number"
  16228. },
  16229. "buyorsell": {
  16230. "description": "方向 - 0:买 1:卖",
  16231. "type": "integer"
  16232. },
  16233. "curpositionqty": {
  16234. "description": "持仓(总仓数量, 期末头寸)",
  16235. "type": "integer"
  16236. },
  16237. "curtdposition": {
  16238. "description": "今仓数量(期末今日头寸)",
  16239. "type": "integer"
  16240. },
  16241. "curtdpositionenabled": {
  16242. "description": "今仓可用",
  16243. "type": "integer"
  16244. },
  16245. "decimalplace": {
  16246. "description": "报价小数位",
  16247. "type": "integer"
  16248. },
  16249. "enableqty": {
  16250. "description": "可用(总仓可用)",
  16251. "type": "integer"
  16252. },
  16253. "exexchangename": {
  16254. "description": "外部交易所名称",
  16255. "type": "string"
  16256. },
  16257. "goodscode": {
  16258. "description": "商品代码(内部)",
  16259. "type": "string"
  16260. },
  16261. "goodsid": {
  16262. "description": "商品ID(自增ID SEQ_GOODS)",
  16263. "type": "integer"
  16264. },
  16265. "goodsname": {
  16266. "description": "商品名称",
  16267. "type": "string"
  16268. },
  16269. "last": {
  16270. "description": "现价",
  16271. "type": "number"
  16272. },
  16273. "marketid": {
  16274. "description": "所属市场ID",
  16275. "type": "integer"
  16276. },
  16277. "openaverageprice": {
  16278. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16279. "type": "number"
  16280. },
  16281. "opencost": {
  16282. "description": "开仓成本",
  16283. "type": "number"
  16284. },
  16285. "openpl": {
  16286. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16287. "type": "number"
  16288. },
  16289. "outgoodscode": {
  16290. "description": "商品代码(外部)",
  16291. "type": "string"
  16292. },
  16293. "positionaverageprice": {
  16294. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16295. "type": "number"
  16296. },
  16297. "positioncost": {
  16298. "description": "持仓成本",
  16299. "type": "number"
  16300. },
  16301. "positionpl": {
  16302. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16303. "type": "number"
  16304. },
  16305. "positionplrate": {
  16306. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16307. "type": "number"
  16308. },
  16309. "usedmargin": {
  16310. "description": "占用保证金",
  16311. "type": "number"
  16312. }
  16313. }
  16314. },
  16315. "ermcp.RealtimeExposurePositionRsp": {
  16316. "type": "object",
  16317. "properties": {
  16318. "agreeunit": {
  16319. "description": "合约单位",
  16320. "type": "string"
  16321. },
  16322. "areauserid": {
  16323. "description": "所属机构id",
  16324. "type": "integer"
  16325. },
  16326. "convertratio": {
  16327. "description": "期货品种系数(折算系数)",
  16328. "type": "number"
  16329. },
  16330. "curqty": {
  16331. "description": "当前持仓",
  16332. "type": "integer"
  16333. },
  16334. "diffhedgeqty": {
  16335. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16336. "type": "number"
  16337. },
  16338. "diffqty": {
  16339. "description": "持仓变动量=当前持仓-昨日持仓",
  16340. "type": "integer"
  16341. },
  16342. "goodscode": {
  16343. "description": "商品代码",
  16344. "type": "string"
  16345. },
  16346. "goodsid": {
  16347. "description": "商品id",
  16348. "type": "integer"
  16349. },
  16350. "goodsname": {
  16351. "description": "商品名称",
  16352. "type": "string"
  16353. },
  16354. "middlegoodsid": {
  16355. "description": "套保商品id",
  16356. "type": "integer"
  16357. },
  16358. "ydqty": {
  16359. "description": "昨日持仓",
  16360. "type": "integer"
  16361. }
  16362. }
  16363. },
  16364. "ermcp.RealtimeExposureRsp": {
  16365. "type": "object",
  16366. "properties": {
  16367. "AreaUserID": {
  16368. "description": "所属机构",
  16369. "type": "integer"
  16370. },
  16371. "BuyFutureQty": {
  16372. "description": "买入期货数量",
  16373. "type": "number"
  16374. },
  16375. "BuyPlanQty": {
  16376. "description": "采购计划数量",
  16377. "type": "number"
  16378. },
  16379. "BuyPricedQty": {
  16380. "description": "采购合同已定价数量",
  16381. "type": "number"
  16382. },
  16383. "MiddleGoodsCode": {
  16384. "description": "套保品种代码",
  16385. "type": "string"
  16386. },
  16387. "MiddleGoodsHedgeRatio": {
  16388. "description": "套保比例",
  16389. "type": "number"
  16390. },
  16391. "MiddleGoodsID": {
  16392. "description": "套保品种",
  16393. "type": "integer"
  16394. },
  16395. "MiddleGoodsName": {
  16396. "description": "套保品种名称",
  16397. "type": "string"
  16398. },
  16399. "NeedHedgeExposoure": {
  16400. "description": "应套保敞口(套保敞口)",
  16401. "type": "number"
  16402. },
  16403. "NeedHedgeRatio": {
  16404. "description": "应套保敞口比例",
  16405. "type": "number"
  16406. },
  16407. "OriBuyFutureQty": {
  16408. "description": "期初买入期货数量",
  16409. "type": "number"
  16410. },
  16411. "OriBuyPlanQty": {
  16412. "description": "期初采购计划数量",
  16413. "type": "number"
  16414. },
  16415. "OriBuyPricedQty": {
  16416. "description": "期初采购合同已定价数量",
  16417. "type": "number"
  16418. },
  16419. "OriSellFutureQty": {
  16420. "description": "期初卖出期货数量",
  16421. "type": "number"
  16422. },
  16423. "OriSellPlanQty": {
  16424. "description": "期初销售计划数量",
  16425. "type": "number"
  16426. },
  16427. "OriSellPricedQty": {
  16428. "description": "期初销售合同已定价数量",
  16429. "type": "number"
  16430. },
  16431. "SellFutureQty": {
  16432. "description": "卖出期货数量",
  16433. "type": "number"
  16434. },
  16435. "SellPlanQty": {
  16436. "description": "销售计划数量",
  16437. "type": "number"
  16438. },
  16439. "SellPricedQty": {
  16440. "description": "销售合同已定价数量",
  16441. "type": "number"
  16442. },
  16443. "TotalExposure": {
  16444. "description": "总敞口 平安:净敞口",
  16445. "type": "number"
  16446. },
  16447. "TotalFutureQty": {
  16448. "description": "期货总量 平安:保值净持仓量",
  16449. "type": "number"
  16450. },
  16451. "TotalHedgeRatio": {
  16452. "description": "敞口比例",
  16453. "type": "number"
  16454. },
  16455. "TotalNeedHedgeQty": {
  16456. "description": "应套保总量(现货应套保总量)",
  16457. "type": "number"
  16458. },
  16459. "TotalSpotQty": {
  16460. "description": "现货总量 平安:采销定价净值",
  16461. "type": "number"
  16462. },
  16463. "arbitrageqty": {
  16464. "description": "套利量",
  16465. "type": "number"
  16466. },
  16467. "diffArbitrageQty": {
  16468. "description": "套利变动量",
  16469. "type": "number"
  16470. },
  16471. "diffExposoureQty": {
  16472. "description": "变动量(套保敞口)",
  16473. "type": "number"
  16474. },
  16475. "diffFutuQty": {
  16476. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  16477. "type": "number"
  16478. },
  16479. "diffHedgeQty": {
  16480. "description": "套保变动量",
  16481. "type": "number"
  16482. },
  16483. "diffQty": {
  16484. "description": "变动量(总敞口) 平安:净敞口今日变动",
  16485. "type": "number"
  16486. },
  16487. "diffSpotHedgeQty": {
  16488. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  16489. "type": "number"
  16490. },
  16491. "diffSpotQty": {
  16492. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  16493. "type": "number"
  16494. },
  16495. "enumdicname": {
  16496. "description": "单位名称",
  16497. "type": "string"
  16498. },
  16499. "hedgeqty": {
  16500. "description": "套保量",
  16501. "type": "number"
  16502. },
  16503. "needarbitrageqty": {
  16504. "description": "应套利量",
  16505. "type": "number"
  16506. },
  16507. "needarbitrageratio": {
  16508. "description": "套利比例",
  16509. "type": "number"
  16510. },
  16511. "needhedgeqty": {
  16512. "description": "应套保量",
  16513. "type": "number"
  16514. },
  16515. "oriTotalFutuQty": {
  16516. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16517. "type": "number"
  16518. },
  16519. "oriTotalSpotQty": {
  16520. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16521. "type": "number"
  16522. },
  16523. "oriarbitrageqty": {
  16524. "description": "期初套利量",
  16525. "type": "number"
  16526. },
  16527. "orihedgeqty": {
  16528. "description": "期初套保量",
  16529. "type": "number"
  16530. },
  16531. "orineedhedgeexposoure": {
  16532. "description": "期初套保敞口",
  16533. "type": "number"
  16534. },
  16535. "oritotalexposure": {
  16536. "description": "期初总敞口",
  16537. "type": "number"
  16538. },
  16539. "oritotalfutureqty": {
  16540. "description": "期初期货总量",
  16541. "type": "number"
  16542. },
  16543. "oritotalneedhedgeqty": {
  16544. "description": "期初现货应套保量",
  16545. "type": "number"
  16546. }
  16547. }
  16548. },
  16549. "erms2.QueryArbitrageStrategyRsp": {
  16550. "type": "object",
  16551. "required": [
  16552. "asapplyid"
  16553. ],
  16554. "properties": {
  16555. "applybasis": {
  16556. "description": "申请基差",
  16557. "type": "number"
  16558. },
  16559. "asapplyid": {
  16560. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16561. "type": "string"
  16562. },
  16563. "asname": {
  16564. "description": "策略名称",
  16565. "type": "string"
  16566. },
  16567. "asno": {
  16568. "description": "策略编号",
  16569. "type": "string"
  16570. },
  16571. "basischangepl": {
  16572. "description": "基差变动损益[结算更新]",
  16573. "type": "number"
  16574. },
  16575. "biztype": {
  16576. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16577. "type": "integer"
  16578. },
  16579. "closetradedate": {
  16580. "description": "完结交易日(yyyyMMdd)",
  16581. "type": "string"
  16582. },
  16583. "curbasis": {
  16584. "description": "当前基差[结算更新]",
  16585. "type": "number"
  16586. },
  16587. "deliverygoodsid": {
  16588. "description": "现货品种ID",
  16589. "type": "integer"
  16590. },
  16591. "futureavgprice": {
  16592. "description": "期货建仓均价",
  16593. "type": "number"
  16594. },
  16595. "futurecloseamount": {
  16596. "description": "期货平仓金额",
  16597. "type": "number"
  16598. },
  16599. "futurecloseqty": {
  16600. "description": "期货平仓数量",
  16601. "type": "number"
  16602. },
  16603. "futureopenamount": {
  16604. "description": "期货开仓金额",
  16605. "type": "number"
  16606. },
  16607. "futureopenqty": {
  16608. "description": "期货开仓数量",
  16609. "type": "number"
  16610. },
  16611. "futurepl": {
  16612. "description": "期货总盈亏[结算更新]",
  16613. "type": "number"
  16614. },
  16615. "futureqty": {
  16616. "description": "期货持仓数量",
  16617. "type": "number"
  16618. },
  16619. "futurequote": {
  16620. "description": "期货额度",
  16621. "type": "number"
  16622. },
  16623. "goodsgroupid": {
  16624. "description": "期货品种ID",
  16625. "type": "integer"
  16626. },
  16627. "marketid": {
  16628. "description": "市场ID",
  16629. "type": "integer"
  16630. },
  16631. "netexposure": {
  16632. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  16633. "type": "number"
  16634. },
  16635. "netexposurepl": {
  16636. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  16637. "type": "number"
  16638. },
  16639. "netexposurerate": {
  16640. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  16641. "type": "number"
  16642. },
  16643. "openbasis": {
  16644. "description": "建仓基差",
  16645. "type": "number"
  16646. },
  16647. "pricedspotqty": {
  16648. "description": "已定价现货数量",
  16649. "type": "number"
  16650. },
  16651. "pricedspotqtynotax": {
  16652. "description": "已定价现货不含税数量",
  16653. "type": "number"
  16654. },
  16655. "remark": {
  16656. "description": "备注",
  16657. "type": "string"
  16658. },
  16659. "spotavgprice": {
  16660. "description": "现货均价",
  16661. "type": "number"
  16662. },
  16663. "spotbuyamount": {
  16664. "description": "现货采购金额",
  16665. "type": "number"
  16666. },
  16667. "spotbuyqty": {
  16668. "description": "现货采购数量",
  16669. "type": "number"
  16670. },
  16671. "spotpl": {
  16672. "description": "现货总盈亏[结算更新]",
  16673. "type": "number"
  16674. },
  16675. "spotquota": {
  16676. "description": "现货额度",
  16677. "type": "number"
  16678. },
  16679. "spotsellamount": {
  16680. "description": "现货销售金额",
  16681. "type": "number"
  16682. },
  16683. "spotsellqty": {
  16684. "description": "现货销售数量",
  16685. "type": "number"
  16686. },
  16687. "spotusedquota": {
  16688. "description": "现货占用资金",
  16689. "type": "number"
  16690. },
  16691. "strategystatus": {
  16692. "description": "策略状态 - 0:未结束 1:已结束",
  16693. "type": "integer"
  16694. },
  16695. "totalpl": {
  16696. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  16697. "type": "number"
  16698. },
  16699. "tradedate": {
  16700. "description": "交易日(yyyyMMdd)",
  16701. "type": "string"
  16702. },
  16703. "updatetime": {
  16704. "description": "更新时间",
  16705. "type": "string"
  16706. },
  16707. "usedquota": {
  16708. "description": "已占用资金",
  16709. "type": "number"
  16710. },
  16711. "userid": {
  16712. "description": "所属机构",
  16713. "type": "integer"
  16714. }
  16715. }
  16716. },
  16717. "erms2.QueryInnerTradeDetailRsp": {
  16718. "type": "object",
  16719. "required": [
  16720. "asapplyid",
  16721. "buyorsell",
  16722. "goodscode",
  16723. "goodsgroupid",
  16724. "goodsgroupname",
  16725. "goodsname",
  16726. "tradeid"
  16727. ],
  16728. "properties": {
  16729. "accountid": {
  16730. "description": "账号ID",
  16731. "type": "integer"
  16732. },
  16733. "agreeunit": {
  16734. "description": "合约单位",
  16735. "type": "number"
  16736. },
  16737. "asapplyid": {
  16738. "description": "策略申请ID",
  16739. "type": "integer"
  16740. },
  16741. "asname": {
  16742. "description": "策略名称",
  16743. "type": "string"
  16744. },
  16745. "asno": {
  16746. "description": "策略编号",
  16747. "type": "string"
  16748. },
  16749. "buyorsell": {
  16750. "description": "方向 - 0:买 1:卖",
  16751. "type": "integer"
  16752. },
  16753. "channelbuildtype": {
  16754. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16755. "type": "integer"
  16756. },
  16757. "closetype": {
  16758. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16759. "type": "integer"
  16760. },
  16761. "decimalplace": {
  16762. "description": "报价小数位",
  16763. "type": "integer"
  16764. },
  16765. "detailtype": {
  16766. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  16767. "type": "integer"
  16768. },
  16769. "exexchangecode": {
  16770. "description": "外部交易所代码",
  16771. "type": "string"
  16772. },
  16773. "exexchangename": {
  16774. "description": "外部交易所名称",
  16775. "type": "string"
  16776. },
  16777. "goodscode": {
  16778. "description": "商品代码(合约)",
  16779. "type": "string"
  16780. },
  16781. "goodsgroupid": {
  16782. "description": "商品组ID(品种ID)",
  16783. "type": "integer"
  16784. },
  16785. "goodsgroupname": {
  16786. "description": "商品组名称(品种)",
  16787. "type": "string"
  16788. },
  16789. "goodsid": {
  16790. "description": "商品ID",
  16791. "type": "integer"
  16792. },
  16793. "goodsname": {
  16794. "description": "商品名称(合约)",
  16795. "type": "string"
  16796. },
  16797. "goodunit": {
  16798. "description": "报价单位",
  16799. "type": "string"
  16800. },
  16801. "marketid": {
  16802. "description": "市场ID",
  16803. "type": "integer"
  16804. },
  16805. "orderid": {
  16806. "description": "委托单号",
  16807. "type": "string"
  16808. },
  16809. "outgoodscode": {
  16810. "description": "商品代码(外部)",
  16811. "type": "string"
  16812. },
  16813. "relatedouttradeid": {
  16814. "description": "关联外部成交单ID",
  16815. "type": "string"
  16816. },
  16817. "remark": {
  16818. "description": "备注",
  16819. "type": "string"
  16820. },
  16821. "spotcontractid": {
  16822. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  16823. "type": "integer"
  16824. },
  16825. "spotcontractno": {
  16826. "description": "现货合同编号",
  16827. "type": "string"
  16828. },
  16829. "tradeid": {
  16830. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16831. "type": "string"
  16832. },
  16833. "tradeprice": {
  16834. "description": "成交价格",
  16835. "type": "number"
  16836. },
  16837. "tradeqty": {
  16838. "description": "成交数量",
  16839. "type": "integer"
  16840. },
  16841. "tradetime": {
  16842. "description": "成交时间",
  16843. "type": "string"
  16844. },
  16845. "updatetime": {
  16846. "description": "更新时间",
  16847. "type": "string"
  16848. }
  16849. }
  16850. },
  16851. "erms2.QuerySpotContractRsp": {
  16852. "type": "object",
  16853. "required": [
  16854. "spotcontractid"
  16855. ],
  16856. "properties": {
  16857. "accountid": {
  16858. "description": "资金账户ID",
  16859. "type": "integer"
  16860. },
  16861. "areauserid": {
  16862. "description": "所属机构",
  16863. "type": "integer"
  16864. },
  16865. "closedate": {
  16866. "description": "终止日期",
  16867. "type": "string"
  16868. },
  16869. "closeremark": {
  16870. "description": "结束备注",
  16871. "type": "string"
  16872. },
  16873. "closetradedate": {
  16874. "description": "完结交易日(yyyyMMdd)",
  16875. "type": "string"
  16876. },
  16877. "closetype": {
  16878. "description": "终止类型 - 1:违约 2:提前终止",
  16879. "type": "integer"
  16880. },
  16881. "contractamount": {
  16882. "description": "合同金额",
  16883. "type": "number"
  16884. },
  16885. "contractattachment": {
  16886. "description": "合同附件",
  16887. "type": "string"
  16888. },
  16889. "contractno": {
  16890. "description": "现货合同编号",
  16891. "type": "string"
  16892. },
  16893. "contractqty": {
  16894. "description": "合同数量(数值) (用于计算)",
  16895. "type": "number"
  16896. },
  16897. "contractqtychar": {
  16898. "description": "合同数量\\已订价数量 (用于显示)",
  16899. "type": "string"
  16900. },
  16901. "contractstatus": {
  16902. "description": "合同状态 - 0:未结束 1:已结束",
  16903. "type": "integer"
  16904. },
  16905. "contracttype": {
  16906. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  16907. "type": "integer"
  16908. },
  16909. "customeraccountid": {
  16910. "description": "客户资金账户ID",
  16911. "type": "integer"
  16912. },
  16913. "customeruserid": {
  16914. "description": "客户ID",
  16915. "type": "integer"
  16916. },
  16917. "deliverygoodsdesc": {
  16918. "description": "品种说明",
  16919. "type": "string"
  16920. },
  16921. "deliverygoodsid": {
  16922. "description": "现货品种ID",
  16923. "type": "integer"
  16924. },
  16925. "handlestatus": {
  16926. "description": "处理状态",
  16927. "type": "integer"
  16928. },
  16929. "invoiceatt": {
  16930. "description": "发票附件",
  16931. "type": "string"
  16932. },
  16933. "invoicedatetime": {
  16934. "description": "开收票更新时间",
  16935. "type": "string"
  16936. },
  16937. "invoiceopentime": {
  16938. "description": "开票时间",
  16939. "type": "string"
  16940. },
  16941. "invoiceremark": {
  16942. "description": "发票备注",
  16943. "type": "string"
  16944. },
  16945. "invoicestatus": {
  16946. "description": "开收票状态 - 0:未开票 1:已开票",
  16947. "type": "integer"
  16948. },
  16949. "lastdate": {
  16950. "description": "交货时间",
  16951. "type": "string"
  16952. },
  16953. "marketid": {
  16954. "description": "市场ID",
  16955. "type": "integer"
  16956. },
  16957. "paydatetime": {
  16958. "description": "收付款更新时间",
  16959. "type": "string"
  16960. },
  16961. "payremark": {
  16962. "description": "收付款备注",
  16963. "type": "string"
  16964. },
  16965. "paystatus": {
  16966. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  16967. "type": "integer"
  16968. },
  16969. "positionqty": {
  16970. "description": "头寸数量 - 合同数量去小数部分",
  16971. "type": "integer"
  16972. },
  16973. "producttype": {
  16974. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16975. "type": "integer"
  16976. },
  16977. "relatedqty": {
  16978. "description": "已关联数量",
  16979. "type": "number"
  16980. },
  16981. "relatedstatus": {
  16982. "description": "关联完结状态 - 0:未结束 1:已结束",
  16983. "type": "integer"
  16984. },
  16985. "remark": {
  16986. "description": "备注",
  16987. "type": "string"
  16988. },
  16989. "signdate": {
  16990. "description": "签订日期",
  16991. "type": "string"
  16992. },
  16993. "spotcontractid": {
  16994. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  16995. "type": "string"
  16996. },
  16997. "spotdatetime": {
  16998. "description": "收发货更新时间",
  16999. "type": "string"
  17000. },
  17001. "spotprice": {
  17002. "description": "价格",
  17003. "type": "number"
  17004. },
  17005. "spotremark": {
  17006. "description": "收发货备注",
  17007. "type": "string"
  17008. },
  17009. "spotstatus": {
  17010. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17011. "type": "integer"
  17012. },
  17013. "tradedate": {
  17014. "description": "交易日(yyyyMMdd)",
  17015. "type": "string"
  17016. },
  17017. "userid": {
  17018. "description": "业务员用户ID",
  17019. "type": "integer"
  17020. },
  17021. "warehouseid": {
  17022. "description": "仓库ID",
  17023. "type": "integer"
  17024. },
  17025. "wrfactortypeid": {
  17026. "description": "仓单要素类型ID",
  17027. "type": "integer"
  17028. },
  17029. "wrstandardid": {
  17030. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17031. "type": "integer"
  17032. }
  17033. }
  17034. },
  17035. "erms3.AddErms2ASApplyReq": {
  17036. "type": "object",
  17037. "required": [
  17038. "asapplyid"
  17039. ],
  17040. "properties": {
  17041. "applybasis": {
  17042. "description": "申请基差",
  17043. "type": "number"
  17044. },
  17045. "applystatus": {
  17046. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17047. "type": "integer"
  17048. },
  17049. "asapplyid": {
  17050. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17051. "type": "integer"
  17052. },
  17053. "asname": {
  17054. "description": "策略名称",
  17055. "type": "string"
  17056. },
  17057. "asno": {
  17058. "description": "策略编号",
  17059. "type": "string"
  17060. },
  17061. "auditid": {
  17062. "description": "审核人",
  17063. "type": "integer"
  17064. },
  17065. "auditremark": {
  17066. "description": "审核备注",
  17067. "type": "string"
  17068. },
  17069. "audittime": {
  17070. "description": "审核时间",
  17071. "type": "string"
  17072. },
  17073. "biztype": {
  17074. "description": "业务类型 - 1:正向套利 2:反向套利",
  17075. "type": "integer"
  17076. },
  17077. "createtime": {
  17078. "description": "创建时间",
  17079. "type": "string"
  17080. },
  17081. "creatorid": {
  17082. "description": "创建人",
  17083. "type": "integer"
  17084. },
  17085. "deliverygoodsid": {
  17086. "description": "现货品种ID",
  17087. "type": "integer"
  17088. },
  17089. "futurequote": {
  17090. "description": "期货额度",
  17091. "type": "number"
  17092. },
  17093. "goodsgroupid": {
  17094. "description": "期货品种ID",
  17095. "type": "integer"
  17096. },
  17097. "marketid": {
  17098. "description": "市场ID",
  17099. "type": "integer"
  17100. },
  17101. "remark": {
  17102. "description": "备注",
  17103. "type": "string"
  17104. },
  17105. "spotquota": {
  17106. "description": "现货额度",
  17107. "type": "number"
  17108. },
  17109. "tradedate": {
  17110. "description": "交易日(yyyyMMdd)",
  17111. "type": "string"
  17112. },
  17113. "userid": {
  17114. "description": "所属机构",
  17115. "type": "integer"
  17116. }
  17117. }
  17118. },
  17119. "erms3.AddErms2SpotTradeApplyReq": {
  17120. "type": "object",
  17121. "required": [
  17122. "spottradeid"
  17123. ],
  17124. "properties": {
  17125. "applyjsondetail": {
  17126. "description": "申请明细(JSON)",
  17127. "type": "string"
  17128. },
  17129. "applystatus": {
  17130. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17131. "type": "integer"
  17132. },
  17133. "areauserid": {
  17134. "description": "所属机构",
  17135. "type": "integer"
  17136. },
  17137. "auditid": {
  17138. "description": "审核人",
  17139. "type": "integer"
  17140. },
  17141. "auditremark": {
  17142. "description": "审核备注",
  17143. "type": "string"
  17144. },
  17145. "audittime": {
  17146. "description": "审核时间",
  17147. "type": "string"
  17148. },
  17149. "createtime": {
  17150. "description": "创建时间",
  17151. "type": "string"
  17152. },
  17153. "creatorid": {
  17154. "description": "创建人",
  17155. "type": "integer"
  17156. },
  17157. "deliverygoodsid": {
  17158. "description": "现货品种ID",
  17159. "type": "integer"
  17160. },
  17161. "futureaccountid": {
  17162. "description": "期货资金账户",
  17163. "type": "integer"
  17164. },
  17165. "goodsgroupid": {
  17166. "description": "期货品种",
  17167. "type": "integer"
  17168. },
  17169. "marketid": {
  17170. "description": "市场ID",
  17171. "type": "integer"
  17172. },
  17173. "remark": {
  17174. "description": "备注",
  17175. "type": "string"
  17176. },
  17177. "spotaccountid": {
  17178. "description": "现货资金账户",
  17179. "type": "integer"
  17180. },
  17181. "spottradeid": {
  17182. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17183. "type": "integer"
  17184. },
  17185. "spottradename": {
  17186. "description": "业务名称",
  17187. "type": "string"
  17188. },
  17189. "spottradeno": {
  17190. "description": "业务编号",
  17191. "type": "string"
  17192. },
  17193. "tradedate": {
  17194. "description": "交易日(yyyyMMdd)",
  17195. "type": "string"
  17196. },
  17197. "wrstandardid": {
  17198. "description": "仓单标准ID",
  17199. "type": "integer"
  17200. }
  17201. }
  17202. },
  17203. "erms3.AddSpotContractApplyReq": {
  17204. "type": "object",
  17205. "required": [
  17206. "accountid",
  17207. "areauserid",
  17208. "contractno",
  17209. "contracttype",
  17210. "customeraccountid",
  17211. "customeruserid",
  17212. "details",
  17213. "orimargin",
  17214. "signdate"
  17215. ],
  17216. "properties": {
  17217. "accountid": {
  17218. "description": "资金账户ID",
  17219. "type": "integer"
  17220. },
  17221. "areauserid": {
  17222. "description": "所属机构",
  17223. "type": "integer"
  17224. },
  17225. "contractattachment": {
  17226. "description": "合同附件",
  17227. "type": "string"
  17228. },
  17229. "contractno": {
  17230. "description": "现货合同编号",
  17231. "type": "string"
  17232. },
  17233. "contracttype": {
  17234. "description": "现货合同类型 - 1:采购 -1:销售",
  17235. "type": "integer"
  17236. },
  17237. "creatorid": {
  17238. "description": "申请人",
  17239. "type": "integer"
  17240. },
  17241. "customeraccountid": {
  17242. "description": "客户资金账户ID",
  17243. "type": "integer"
  17244. },
  17245. "customeruserid": {
  17246. "description": "客户ID",
  17247. "type": "integer"
  17248. },
  17249. "details": {
  17250. "description": "明细",
  17251. "type": "array",
  17252. "items": {
  17253. "$ref": "#/definitions/erms3.SoptContractDetail"
  17254. }
  17255. },
  17256. "orimargin": {
  17257. "description": "初始保证金",
  17258. "type": "number"
  17259. },
  17260. "remark": {
  17261. "description": "备注",
  17262. "type": "string"
  17263. },
  17264. "signdate": {
  17265. "description": "签订日期",
  17266. "type": "string"
  17267. }
  17268. }
  17269. },
  17270. "erms3.AddSpotContractApplyRsp": {
  17271. "type": "object",
  17272. "required": [
  17273. "contractno"
  17274. ],
  17275. "properties": {
  17276. "contractno": {
  17277. "description": "现货合同编号",
  17278. "type": "string"
  17279. },
  17280. "spotcontractid": {
  17281. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17282. "type": "integer"
  17283. }
  17284. }
  17285. },
  17286. "erms3.AddUserInfoApplyReq": {
  17287. "type": "object",
  17288. "required": [
  17289. "userid"
  17290. ],
  17291. "properties": {
  17292. "accountid": {
  17293. "description": "交易系统帐号Id (加密存储)",
  17294. "type": "integer"
  17295. },
  17296. "areacode": {
  17297. "description": "机构代码",
  17298. "type": "string"
  17299. },
  17300. "areaid": {
  17301. "description": "机构Id",
  17302. "type": "integer"
  17303. },
  17304. "attachment1": {
  17305. "description": "附件1",
  17306. "type": "string"
  17307. },
  17308. "attachment2": {
  17309. "description": "附件2",
  17310. "type": "string"
  17311. },
  17312. "attachment3": {
  17313. "description": "附件3",
  17314. "type": "string"
  17315. },
  17316. "attachment4": {
  17317. "description": "附件4",
  17318. "type": "string"
  17319. },
  17320. "attachment5": {
  17321. "description": "附件5",
  17322. "type": "string"
  17323. },
  17324. "auditedby": {
  17325. "description": "审核人",
  17326. "type": "string"
  17327. },
  17328. "auditime": {
  17329. "description": "审核时间",
  17330. "type": "string"
  17331. },
  17332. "auditsrc": {
  17333. "description": "审核来源 - 1:管理端 2:终端",
  17334. "type": "integer"
  17335. },
  17336. "bankaccount": {
  17337. "description": "银行帐号 (加密存储)",
  17338. "type": "string"
  17339. },
  17340. "bankaccountname": {
  17341. "description": "收款人名称",
  17342. "type": "string"
  17343. },
  17344. "bankcardbackphotourl": {
  17345. "description": "银行卡背面照地址",
  17346. "type": "string"
  17347. },
  17348. "bankcardfrontphotourl": {
  17349. "description": "银行卡正面照地址",
  17350. "type": "string"
  17351. },
  17352. "bankid": {
  17353. "description": "银行编码",
  17354. "type": "string"
  17355. },
  17356. "bankname": {
  17357. "description": "银行名称",
  17358. "type": "string"
  17359. },
  17360. "bankpictureurl": {
  17361. "description": "银行卡正面地址",
  17362. "type": "string"
  17363. },
  17364. "biznature": {
  17365. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17366. "type": "integer"
  17367. },
  17368. "bizscope": {
  17369. "description": "企业经营范围(企业)",
  17370. "type": "string"
  17371. },
  17372. "biztype": {
  17373. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17374. "type": "integer"
  17375. },
  17376. "brokerid": {
  17377. "description": "经纪人ID(加密存储)",
  17378. "type": "string"
  17379. },
  17380. "cardaddress": {
  17381. "description": "证件地址 (加密存储)",
  17382. "type": "string"
  17383. },
  17384. "cardbackphotourl": {
  17385. "description": "背面证件照地址",
  17386. "type": "string"
  17387. },
  17388. "cardfrontphotourl": {
  17389. "description": "正面证件照地址",
  17390. "type": "string"
  17391. },
  17392. "cardnum": {
  17393. "description": "证件号码 (加密存储)",
  17394. "type": "string"
  17395. },
  17396. "cardtype": {
  17397. "description": "证件类型",
  17398. "type": "integer"
  17399. },
  17400. "cityid": {
  17401. "description": "市",
  17402. "type": "integer"
  17403. },
  17404. "company": {
  17405. "description": "公司(个人)",
  17406. "type": "string"
  17407. },
  17408. "contactcardbackphotourl": {
  17409. "description": "联系人证件背面图片地址",
  17410. "type": "string"
  17411. },
  17412. "contactcardfrontphotourl": {
  17413. "description": "联系人证件正面图片地址",
  17414. "type": "string"
  17415. },
  17416. "contactname": {
  17417. "description": "联系人",
  17418. "type": "string"
  17419. },
  17420. "countryid": {
  17421. "description": "国家",
  17422. "type": "integer"
  17423. },
  17424. "createtime": {
  17425. "description": "开户申请时间",
  17426. "type": "string"
  17427. },
  17428. "cusbankid": {
  17429. "description": "签约类型",
  17430. "type": "string"
  17431. },
  17432. "cusbankname": {
  17433. "description": "签约类型名称",
  17434. "type": "string"
  17435. },
  17436. "customername": {
  17437. "description": "客户名称(企业名称)",
  17438. "type": "string"
  17439. },
  17440. "districtid": {
  17441. "description": "地区",
  17442. "type": "integer"
  17443. },
  17444. "email": {
  17445. "description": "Email地址(加密存储)",
  17446. "type": "string"
  17447. },
  17448. "halfbodyphotourl": {
  17449. "description": "半身照地址",
  17450. "type": "string"
  17451. },
  17452. "headurl": {
  17453. "description": "头像地址",
  17454. "type": "string"
  17455. },
  17456. "ipaddress": {
  17457. "description": "IP地址",
  17458. "type": "string"
  17459. },
  17460. "isvalidate": {
  17461. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17462. "type": "string"
  17463. },
  17464. "legalcardbackphotourl": {
  17465. "description": "法人身份证背面照地址",
  17466. "type": "string"
  17467. },
  17468. "legalcardfrontphotourl": {
  17469. "description": "法人身份证正面照地址",
  17470. "type": "string"
  17471. },
  17472. "legalpersonname": {
  17473. "description": "法人姓名(企业)",
  17474. "type": "string"
  17475. },
  17476. "logincode": {
  17477. "description": "登录帐号 (加密存储)",
  17478. "type": "string"
  17479. },
  17480. "memberareaid": {
  17481. "description": "所属会员ID",
  17482. "type": "integer"
  17483. },
  17484. "mobile2": {
  17485. "description": "手机号码[明文-尚志]",
  17486. "type": "string"
  17487. },
  17488. "mobilephone": {
  17489. "description": "手机号码 (加密存储)",
  17490. "type": "string"
  17491. },
  17492. "modifiedby": {
  17493. "description": "修改人帐号",
  17494. "type": "integer"
  17495. },
  17496. "modifiedtime": {
  17497. "description": "修改时间",
  17498. "type": "string"
  17499. },
  17500. "nickname": {
  17501. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17502. "type": "string"
  17503. },
  17504. "openmode": {
  17505. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17506. "type": "integer"
  17507. },
  17508. "otherurl": {
  17509. "description": "其它图片地址[使用分号分隔]",
  17510. "type": "string"
  17511. },
  17512. "postalcode": {
  17513. "description": "邮政编码",
  17514. "type": "string"
  17515. },
  17516. "provinceid": {
  17517. "description": "省",
  17518. "type": "integer"
  17519. },
  17520. "proxystatementurl": {
  17521. "description": "授权委托书",
  17522. "type": "string"
  17523. },
  17524. "qq": {
  17525. "description": "QQ(加密存储",
  17526. "type": "string"
  17527. },
  17528. "referral": {
  17529. "description": "推荐人编码",
  17530. "type": "string"
  17531. },
  17532. "remark": {
  17533. "description": "备注",
  17534. "type": "string"
  17535. },
  17536. "removebeforestatus": {
  17537. "description": "REMOVEBEFORESTATUS",
  17538. "type": "integer"
  17539. },
  17540. "sex": {
  17541. "description": "性别 - 0:女 1:男",
  17542. "type": "integer"
  17543. },
  17544. "signedstatus": {
  17545. "description": "账户一号签签约状态",
  17546. "type": "integer"
  17547. },
  17548. "signpdfurl": {
  17549. "description": "签约pdf文件",
  17550. "type": "string"
  17551. },
  17552. "subbranch": {
  17553. "description": "开户支行",
  17554. "type": "string"
  17555. },
  17556. "taxpayernum": {
  17557. "description": "纳税人识别号",
  17558. "type": "string"
  17559. },
  17560. "telphone": {
  17561. "description": "联系电话(加密存储)",
  17562. "type": "string"
  17563. },
  17564. "userid": {
  17565. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17566. "type": "integer"
  17567. },
  17568. "userinfotype": {
  17569. "description": "用户信息类型 - 1:个人 2:企业",
  17570. "type": "integer"
  17571. },
  17572. "username": {
  17573. "description": "用户姓名",
  17574. "type": "string"
  17575. },
  17576. "userstate": {
  17577. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17578. "type": "integer"
  17579. },
  17580. "usertype": {
  17581. "description": "用户类型 - 1:投资者 2:机构",
  17582. "type": "integer"
  17583. },
  17584. "videourl": {
  17585. "description": "视频地址",
  17586. "type": "string"
  17587. },
  17588. "wechat": {
  17589. "description": "微信号 (加密存储)",
  17590. "type": "string"
  17591. }
  17592. }
  17593. },
  17594. "erms3.CustomerInfo": {
  17595. "type": "object",
  17596. "required": [
  17597. "userid"
  17598. ],
  17599. "properties": {
  17600. "accountids": {
  17601. "description": "资金账户ID列表",
  17602. "type": "array",
  17603. "items": {
  17604. "type": "integer"
  17605. }
  17606. },
  17607. "customername": {
  17608. "description": "名称(企业名称)",
  17609. "type": "string"
  17610. },
  17611. "mobile": {
  17612. "description": "手机号码",
  17613. "type": "string"
  17614. },
  17615. "userid": {
  17616. "description": "用户ID",
  17617. "type": "integer"
  17618. }
  17619. }
  17620. },
  17621. "erms3.ModifyUserInfoApplyReq": {
  17622. "type": "object",
  17623. "required": [
  17624. "userid"
  17625. ],
  17626. "properties": {
  17627. "accountid": {
  17628. "description": "交易系统帐号Id (加密存储)",
  17629. "type": "integer"
  17630. },
  17631. "areacode": {
  17632. "description": "机构代码",
  17633. "type": "string"
  17634. },
  17635. "areaid": {
  17636. "description": "机构Id",
  17637. "type": "integer"
  17638. },
  17639. "attachment1": {
  17640. "description": "附件1",
  17641. "type": "string"
  17642. },
  17643. "attachment2": {
  17644. "description": "附件2",
  17645. "type": "string"
  17646. },
  17647. "attachment3": {
  17648. "description": "附件3",
  17649. "type": "string"
  17650. },
  17651. "attachment4": {
  17652. "description": "附件4",
  17653. "type": "string"
  17654. },
  17655. "attachment5": {
  17656. "description": "附件5",
  17657. "type": "string"
  17658. },
  17659. "auditedby": {
  17660. "description": "审核人",
  17661. "type": "string"
  17662. },
  17663. "auditime": {
  17664. "description": "审核时间",
  17665. "type": "string"
  17666. },
  17667. "auditsrc": {
  17668. "description": "审核来源 - 1:管理端 2:终端",
  17669. "type": "integer"
  17670. },
  17671. "bankaccount": {
  17672. "description": "银行帐号 (加密存储)",
  17673. "type": "string"
  17674. },
  17675. "bankaccountname": {
  17676. "description": "收款人名称",
  17677. "type": "string"
  17678. },
  17679. "bankcardbackphotourl": {
  17680. "description": "银行卡背面照地址",
  17681. "type": "string"
  17682. },
  17683. "bankcardfrontphotourl": {
  17684. "description": "银行卡正面照地址",
  17685. "type": "string"
  17686. },
  17687. "bankid": {
  17688. "description": "银行编码",
  17689. "type": "string"
  17690. },
  17691. "bankname": {
  17692. "description": "银行名称",
  17693. "type": "string"
  17694. },
  17695. "bankpictureurl": {
  17696. "description": "银行卡正面地址",
  17697. "type": "string"
  17698. },
  17699. "biznature": {
  17700. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17701. "type": "integer"
  17702. },
  17703. "bizscope": {
  17704. "description": "企业经营范围(企业)",
  17705. "type": "string"
  17706. },
  17707. "biztype": {
  17708. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17709. "type": "integer"
  17710. },
  17711. "brokerid": {
  17712. "description": "经纪人ID(加密存储)",
  17713. "type": "string"
  17714. },
  17715. "cardaddress": {
  17716. "description": "证件地址 (加密存储)",
  17717. "type": "string"
  17718. },
  17719. "cardbackphotourl": {
  17720. "description": "背面证件照地址",
  17721. "type": "string"
  17722. },
  17723. "cardfrontphotourl": {
  17724. "description": "正面证件照地址",
  17725. "type": "string"
  17726. },
  17727. "cardnum": {
  17728. "description": "证件号码 (加密存储)",
  17729. "type": "string"
  17730. },
  17731. "cardtype": {
  17732. "description": "证件类型",
  17733. "type": "integer"
  17734. },
  17735. "cityid": {
  17736. "description": "市",
  17737. "type": "integer"
  17738. },
  17739. "company": {
  17740. "description": "公司(个人)",
  17741. "type": "string"
  17742. },
  17743. "contactcardbackphotourl": {
  17744. "description": "联系人证件背面图片地址",
  17745. "type": "string"
  17746. },
  17747. "contactcardfrontphotourl": {
  17748. "description": "联系人证件正面图片地址",
  17749. "type": "string"
  17750. },
  17751. "contactname": {
  17752. "description": "联系人",
  17753. "type": "string"
  17754. },
  17755. "countryid": {
  17756. "description": "国家",
  17757. "type": "integer"
  17758. },
  17759. "createtime": {
  17760. "description": "开户申请时间",
  17761. "type": "string"
  17762. },
  17763. "cusbankid": {
  17764. "description": "签约类型",
  17765. "type": "string"
  17766. },
  17767. "cusbankname": {
  17768. "description": "签约类型名称",
  17769. "type": "string"
  17770. },
  17771. "customername": {
  17772. "description": "客户名称(企业名称)",
  17773. "type": "string"
  17774. },
  17775. "districtid": {
  17776. "description": "地区",
  17777. "type": "integer"
  17778. },
  17779. "email": {
  17780. "description": "Email地址(加密存储)",
  17781. "type": "string"
  17782. },
  17783. "halfbodyphotourl": {
  17784. "description": "半身照地址",
  17785. "type": "string"
  17786. },
  17787. "headurl": {
  17788. "description": "头像地址",
  17789. "type": "string"
  17790. },
  17791. "ipaddress": {
  17792. "description": "IP地址",
  17793. "type": "string"
  17794. },
  17795. "isvalidate": {
  17796. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17797. "type": "string"
  17798. },
  17799. "legalcardbackphotourl": {
  17800. "description": "法人身份证背面照地址",
  17801. "type": "string"
  17802. },
  17803. "legalcardfrontphotourl": {
  17804. "description": "法人身份证正面照地址",
  17805. "type": "string"
  17806. },
  17807. "legalpersonname": {
  17808. "description": "法人姓名(企业)",
  17809. "type": "string"
  17810. },
  17811. "logincode": {
  17812. "description": "登录帐号 (加密存储)",
  17813. "type": "string"
  17814. },
  17815. "memberareaid": {
  17816. "description": "所属会员ID",
  17817. "type": "integer"
  17818. },
  17819. "mobile2": {
  17820. "description": "手机号码[明文-尚志]",
  17821. "type": "string"
  17822. },
  17823. "mobilephone": {
  17824. "description": "手机号码 (加密存储)",
  17825. "type": "string"
  17826. },
  17827. "modifiedby": {
  17828. "description": "修改人帐号",
  17829. "type": "integer"
  17830. },
  17831. "modifiedtime": {
  17832. "description": "修改时间",
  17833. "type": "string"
  17834. },
  17835. "nickname": {
  17836. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17837. "type": "string"
  17838. },
  17839. "openmode": {
  17840. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17841. "type": "integer"
  17842. },
  17843. "otherurl": {
  17844. "description": "其它图片地址[使用分号分隔]",
  17845. "type": "string"
  17846. },
  17847. "postalcode": {
  17848. "description": "邮政编码",
  17849. "type": "string"
  17850. },
  17851. "provinceid": {
  17852. "description": "省",
  17853. "type": "integer"
  17854. },
  17855. "proxystatementurl": {
  17856. "description": "授权委托书",
  17857. "type": "string"
  17858. },
  17859. "qq": {
  17860. "description": "QQ(加密存储",
  17861. "type": "string"
  17862. },
  17863. "referral": {
  17864. "description": "推荐人编码",
  17865. "type": "string"
  17866. },
  17867. "remark": {
  17868. "description": "备注",
  17869. "type": "string"
  17870. },
  17871. "removebeforestatus": {
  17872. "description": "REMOVEBEFORESTATUS",
  17873. "type": "integer"
  17874. },
  17875. "sex": {
  17876. "description": "性别 - 0:女 1:男",
  17877. "type": "integer"
  17878. },
  17879. "signedstatus": {
  17880. "description": "账户一号签签约状态",
  17881. "type": "integer"
  17882. },
  17883. "signpdfurl": {
  17884. "description": "签约pdf文件",
  17885. "type": "string"
  17886. },
  17887. "subbranch": {
  17888. "description": "开户支行",
  17889. "type": "string"
  17890. },
  17891. "taxpayernum": {
  17892. "description": "纳税人识别号",
  17893. "type": "string"
  17894. },
  17895. "telphone": {
  17896. "description": "联系电话(加密存储)",
  17897. "type": "string"
  17898. },
  17899. "userid": {
  17900. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17901. "type": "integer"
  17902. },
  17903. "userinfotype": {
  17904. "description": "用户信息类型 - 1:个人 2:企业",
  17905. "type": "integer"
  17906. },
  17907. "username": {
  17908. "description": "用户姓名",
  17909. "type": "string"
  17910. },
  17911. "userstate": {
  17912. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17913. "type": "integer"
  17914. },
  17915. "usertype": {
  17916. "description": "用户类型 - 1:投资者 2:机构",
  17917. "type": "integer"
  17918. },
  17919. "videourl": {
  17920. "description": "视频地址",
  17921. "type": "string"
  17922. },
  17923. "wechat": {
  17924. "description": "微信号 (加密存储)",
  17925. "type": "string"
  17926. }
  17927. }
  17928. },
  17929. "erms3.QryAuditContractRsp": {
  17930. "type": "object",
  17931. "required": [
  17932. "matchcustomername",
  17933. "spotcontractid"
  17934. ],
  17935. "properties": {
  17936. "accountid": {
  17937. "description": "交易员ID",
  17938. "type": "string"
  17939. },
  17940. "applystatus": {
  17941. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17942. "type": "integer"
  17943. },
  17944. "curdeliveryqty": {
  17945. "description": "未交收量",
  17946. "type": "integer"
  17947. },
  17948. "customername": {
  17949. "description": "采购方ID",
  17950. "type": "string"
  17951. },
  17952. "deliverygoodsid": {
  17953. "description": "品种ID",
  17954. "type": "string"
  17955. },
  17956. "deliveryqty": {
  17957. "description": "交收量",
  17958. "type": "integer"
  17959. },
  17960. "enumdicname": {
  17961. "description": "单位名称",
  17962. "type": "string"
  17963. },
  17964. "matchaccountid": {
  17965. "description": "业务员ID",
  17966. "type": "string"
  17967. },
  17968. "matchcustomername": {
  17969. "description": "销售方ID",
  17970. "type": "string"
  17971. },
  17972. "pricedqty": {
  17973. "description": "定价量",
  17974. "type": "number"
  17975. },
  17976. "signdate": {
  17977. "description": "签订日期",
  17978. "type": "string"
  17979. },
  17980. "spotcontractid": {
  17981. "description": "合同ID",
  17982. "type": "string"
  17983. },
  17984. "totaldqty": {
  17985. "description": "合同量",
  17986. "type": "number"
  17987. },
  17988. "unpricedqty": {
  17989. "description": "未定价量",
  17990. "type": "number"
  17991. },
  17992. "wrstandardname": {
  17993. "description": "商品名称",
  17994. "type": "string"
  17995. }
  17996. }
  17997. },
  17998. "erms3.QryPendingBizRsp": {
  17999. "type": "object",
  18000. "properties": {
  18001. "accountid": {
  18002. "description": "现货账户",
  18003. "type": "string"
  18004. },
  18005. "areaname": {
  18006. "description": "所属部门",
  18007. "type": "string"
  18008. },
  18009. "bizid": {
  18010. "description": "业务ID",
  18011. "type": "string"
  18012. },
  18013. "bizname": {
  18014. "description": "业务名称",
  18015. "type": "string"
  18016. },
  18017. "status": {
  18018. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18019. "type": "integer"
  18020. },
  18021. "type": {
  18022. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18023. "type": "integer"
  18024. }
  18025. }
  18026. },
  18027. "erms3.QueryBusinessInfoRsp": {
  18028. "type": "object",
  18029. "properties": {
  18030. "businessid": {
  18031. "description": "业务ID.",
  18032. "type": "integer"
  18033. },
  18034. "buyamount": {
  18035. "description": "采购额.",
  18036. "type": "number"
  18037. },
  18038. "buyqty": {
  18039. "description": "采购量.",
  18040. "type": "string"
  18041. },
  18042. "futurepl": {
  18043. "description": "期货盈亏.",
  18044. "type": "number"
  18045. },
  18046. "futureqty": {
  18047. "description": "期货敞口.",
  18048. "type": "string"
  18049. },
  18050. "goodsid": {
  18051. "description": "商品名称/商品代码.",
  18052. "type": "string"
  18053. },
  18054. "hedgingqty": {
  18055. "description": "套保量.",
  18056. "type": "string"
  18057. },
  18058. "sellamount": {
  18059. "description": "销售额.",
  18060. "type": "number"
  18061. },
  18062. "sellqty": {
  18063. "description": "销售量.",
  18064. "type": "string"
  18065. },
  18066. "spotmarketvalue": {
  18067. "description": "现货市值.",
  18068. "type": "number"
  18069. },
  18070. "spotpl": {
  18071. "description": "浮动权益.",
  18072. "type": "number"
  18073. },
  18074. "spotqty": {
  18075. "description": "现货量.",
  18076. "type": "string"
  18077. },
  18078. "statu": {
  18079. "description": "状态,0-未结束 1-已结束.",
  18080. "type": "integer"
  18081. },
  18082. "totalpl": {
  18083. "description": "总盈亏.",
  18084. "type": "number"
  18085. },
  18086. "totalqty": {
  18087. "description": "总敞口.",
  18088. "type": "string"
  18089. },
  18090. "type": {
  18091. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18092. "type": "integer"
  18093. }
  18094. }
  18095. },
  18096. "erms3.QuerySpotContractAppleFormRsp": {
  18097. "type": "object",
  18098. "properties": {
  18099. "goodses": {
  18100. "description": "合约列表",
  18101. "type": "array",
  18102. "items": {
  18103. "$ref": "#/definitions/models.GoodsIDAndName"
  18104. }
  18105. },
  18106. "oppositeusers": {
  18107. "description": "对方账号列表",
  18108. "type": "array",
  18109. "items": {
  18110. "$ref": "#/definitions/erms3.CustomerInfo"
  18111. }
  18112. },
  18113. "ouruser": {
  18114. "description": "我方账号",
  18115. "$ref": "#/definitions/erms3.CustomerInfo"
  18116. },
  18117. "warehouseinfos": {
  18118. "description": "仓库信息列表",
  18119. "type": "array",
  18120. "items": {
  18121. "$ref": "#/definitions/models.Warehouseinfo"
  18122. }
  18123. },
  18124. "wrstandards": {
  18125. "description": "仓单标准列表",
  18126. "type": "array",
  18127. "items": {
  18128. "$ref": "#/definitions/models.WRStandardInfo"
  18129. }
  18130. }
  18131. }
  18132. },
  18133. "erms3.QuerySpotContractInfoRsp": {
  18134. "type": "object",
  18135. "properties": {
  18136. "accountid": {
  18137. "description": "表示交易员ID.",
  18138. "type": "integer"
  18139. },
  18140. "curdeliveryqty": {
  18141. "description": "表示未交收量.",
  18142. "type": "number"
  18143. },
  18144. "customername": {
  18145. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18146. "type": "string"
  18147. },
  18148. "deliverygoodsid": {
  18149. "description": "表示品种ID.",
  18150. "type": "string"
  18151. },
  18152. "deliveryqty": {
  18153. "description": "表示交收量.",
  18154. "type": "number"
  18155. },
  18156. "matchaccountid": {
  18157. "description": "表示业务员ID.",
  18158. "type": "integer"
  18159. },
  18160. "matchcustomername": {
  18161. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18162. "type": "string"
  18163. },
  18164. "priceqty": {
  18165. "description": "表示定价量.",
  18166. "type": "number"
  18167. },
  18168. "relatedbizid": {
  18169. "description": "表示业务ID.",
  18170. "type": "string"
  18171. },
  18172. "signdate": {
  18173. "description": "表示签订日期.",
  18174. "type": "string"
  18175. },
  18176. "spotcontractid": {
  18177. "description": "合同ID",
  18178. "type": "string"
  18179. },
  18180. "status": {
  18181. "description": "表示状态,0-履约中 1-已完成.",
  18182. "type": "integer"
  18183. },
  18184. "totalqty": {
  18185. "description": "表示合同量.",
  18186. "type": "number"
  18187. },
  18188. "unpricedqty": {
  18189. "description": "表示未定价量.",
  18190. "type": "number"
  18191. },
  18192. "wrstandardname": {
  18193. "description": "表示商品ID.",
  18194. "type": "string"
  18195. }
  18196. }
  18197. },
  18198. "erms3.QueryUserInfoAppliesRsp": {
  18199. "type": "object",
  18200. "required": [
  18201. "userid"
  18202. ],
  18203. "properties": {
  18204. "biznature": {
  18205. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18206. "type": "integer"
  18207. },
  18208. "contactname": {
  18209. "description": "联系人",
  18210. "type": "string"
  18211. },
  18212. "createtime": {
  18213. "description": "开户申请时间",
  18214. "type": "string"
  18215. },
  18216. "userid": {
  18217. "description": "用户ID(自增ID)",
  18218. "type": "integer"
  18219. },
  18220. "userinfotype": {
  18221. "description": "用户信息类型 - 1:个人 2:企业",
  18222. "type": "integer"
  18223. },
  18224. "username": {
  18225. "description": "用户姓名",
  18226. "type": "string"
  18227. },
  18228. "userstate": {
  18229. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18230. "type": "integer"
  18231. }
  18232. }
  18233. },
  18234. "erms3.QueryUserInfosRsp": {
  18235. "type": "object",
  18236. "required": [
  18237. "userid"
  18238. ],
  18239. "properties": {
  18240. "biznature": {
  18241. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18242. "type": "integer"
  18243. },
  18244. "contactname": {
  18245. "description": "联系人",
  18246. "type": "string"
  18247. },
  18248. "customername": {
  18249. "description": "客户名称(企业名称)",
  18250. "type": "string"
  18251. },
  18252. "userid": {
  18253. "description": "用户ID",
  18254. "type": "integer"
  18255. },
  18256. "userinfotype": {
  18257. "description": "用户信息类型 - 1:个人 2:企业",
  18258. "type": "integer"
  18259. },
  18260. "userstatus": {
  18261. "description": "用户状态 - 1:正常 2:注销",
  18262. "type": "integer"
  18263. }
  18264. }
  18265. },
  18266. "erms3.SoptContractDetail": {
  18267. "type": "object",
  18268. "required": [
  18269. "deliverygoodsid",
  18270. "producttype",
  18271. "unitname",
  18272. "warehouseid",
  18273. "wrstandardid",
  18274. "wrstandardname"
  18275. ],
  18276. "properties": {
  18277. "deliverygoodsdesc": {
  18278. "description": "现货品种说明",
  18279. "type": "string"
  18280. },
  18281. "deliverygoodsid": {
  18282. "description": "现货品种ID",
  18283. "type": "integer"
  18284. },
  18285. "deliverygoodsname": {
  18286. "description": "现货品种名称",
  18287. "type": "string"
  18288. },
  18289. "pointdesc": {
  18290. "description": "点价描述",
  18291. "type": "string"
  18292. },
  18293. "producttype": {
  18294. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18295. "type": "integer"
  18296. },
  18297. "producttypename": {
  18298. "description": "产品类型名称",
  18299. "type": "string"
  18300. },
  18301. "spotPointOrderVoList": {
  18302. "description": "点价列表",
  18303. "type": "array",
  18304. "items": {
  18305. "$ref": "#/definitions/erms3.SpotPointOrder"
  18306. }
  18307. },
  18308. "spotPriceOrderList": {
  18309. "description": "定价列表",
  18310. "type": "array",
  18311. "items": {
  18312. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18313. }
  18314. },
  18315. "unitname": {
  18316. "description": "单位名称",
  18317. "type": "string"
  18318. },
  18319. "warehouseid": {
  18320. "description": "仓库ID",
  18321. "type": "integer"
  18322. },
  18323. "warehousename": {
  18324. "description": "仓库名称",
  18325. "type": "string"
  18326. },
  18327. "wrstandardid": {
  18328. "description": "交易标的ID",
  18329. "type": "integer"
  18330. },
  18331. "wrstandardname": {
  18332. "description": "交易标的名称",
  18333. "type": "string"
  18334. }
  18335. }
  18336. },
  18337. "erms3.SpotPointOrder": {
  18338. "type": "object",
  18339. "required": [
  18340. "basic",
  18341. "goodsid",
  18342. "qty"
  18343. ],
  18344. "properties": {
  18345. "basic": {
  18346. "description": "基差",
  18347. "type": "number"
  18348. },
  18349. "deliveryenddate": {
  18350. "description": "交收结束日期",
  18351. "type": "string"
  18352. },
  18353. "deliverystartdate": {
  18354. "description": "交收开始日期",
  18355. "type": "string"
  18356. },
  18357. "enddate": {
  18358. "description": "点价结束日期",
  18359. "type": "string"
  18360. },
  18361. "goodsid": {
  18362. "description": "商品ID",
  18363. "type": "integer"
  18364. },
  18365. "goodsname": {
  18366. "description": "商品名称",
  18367. "type": "string"
  18368. },
  18369. "qty": {
  18370. "description": "数量",
  18371. "type": "number"
  18372. },
  18373. "startdate": {
  18374. "description": "点价开始日期",
  18375. "type": "string"
  18376. }
  18377. }
  18378. },
  18379. "erms3.SpotPriceOrder": {
  18380. "type": "object",
  18381. "required": [
  18382. "amount",
  18383. "price",
  18384. "qty"
  18385. ],
  18386. "properties": {
  18387. "amount": {
  18388. "description": "金额",
  18389. "type": "number"
  18390. },
  18391. "deliveryenddate": {
  18392. "description": "交收结束日期",
  18393. "type": "string"
  18394. },
  18395. "deliverystartdate": {
  18396. "description": "交收开始日期",
  18397. "type": "string"
  18398. },
  18399. "price": {
  18400. "description": "价格",
  18401. "type": "number"
  18402. },
  18403. "qty": {
  18404. "description": "数量",
  18405. "type": "number"
  18406. }
  18407. }
  18408. },
  18409. "hsby.GetHsbyMyCountRsp": {
  18410. "type": "object",
  18411. "properties": {
  18412. "myCouponCount": {
  18413. "description": "我的优惠卷数量",
  18414. "type": "integer"
  18415. },
  18416. "myOrderDetailListingCount": {
  18417. "description": "我的订单求购中数量",
  18418. "type": "integer"
  18419. },
  18420. "myOrderDetailPreCount": {
  18421. "description": "我的订单抢购中数量",
  18422. "type": "integer"
  18423. },
  18424. "myPackageUnReceiveCount": {
  18425. "description": "我的包裹待收货数量",
  18426. "type": "integer"
  18427. },
  18428. "myPackageUnSendCount": {
  18429. "description": "我的包裹待发货数量",
  18430. "type": "integer"
  18431. },
  18432. "myPayOrderCount": {
  18433. "description": "我的订单待付款数量",
  18434. "type": "integer"
  18435. }
  18436. }
  18437. },
  18438. "hsby.QueryProvincesAndCitiesRsp": {
  18439. "type": "object",
  18440. "properties": {
  18441. "cities": {
  18442. "description": "市",
  18443. "type": "array",
  18444. "items": {
  18445. "$ref": "#/definitions/models.Division"
  18446. }
  18447. },
  18448. "province": {
  18449. "description": "省",
  18450. "$ref": "#/definitions/models.Division"
  18451. }
  18452. }
  18453. },
  18454. "models.Arearole": {
  18455. "type": "object",
  18456. "required": [
  18457. "roletype",
  18458. "userid"
  18459. ],
  18460. "properties": {
  18461. "createtime": {
  18462. "description": "创建时间",
  18463. "type": "string"
  18464. },
  18465. "creatorid": {
  18466. "description": "创建人ID",
  18467. "type": "integer"
  18468. },
  18469. "fromuserid": {
  18470. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18471. "type": "integer"
  18472. },
  18473. "isreturnscore": {
  18474. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18475. "type": "integer"
  18476. },
  18477. "modifierid": {
  18478. "description": "修改人ID",
  18479. "type": "integer"
  18480. },
  18481. "modifytime": {
  18482. "description": "修改时间",
  18483. "type": "string"
  18484. },
  18485. "orgtype": {
  18486. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18487. "type": "integer"
  18488. },
  18489. "outuserid": {
  18490. "description": "外部账户[场外期权做市商]",
  18491. "type": "string"
  18492. },
  18493. "parentuserid": {
  18494. "description": "上级组织机构(组织机构)",
  18495. "type": "integer"
  18496. },
  18497. "roletype": {
  18498. "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:门店",
  18499. "type": "integer"
  18500. },
  18501. "rootuserid": {
  18502. "description": "顶级组织机构用户ID(组织机构)",
  18503. "type": "integer"
  18504. },
  18505. "shoppassword": {
  18506. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18507. "type": "string"
  18508. },
  18509. "sublevelpath": {
  18510. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18511. "type": "string"
  18512. },
  18513. "suborgtype": {
  18514. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18515. "type": "integer"
  18516. },
  18517. "tradeaccountid": {
  18518. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18519. "type": "integer"
  18520. },
  18521. "transurl": {
  18522. "description": "物流地址(物流机构)",
  18523. "type": "string"
  18524. },
  18525. "userid": {
  18526. "description": "机构用户ID其他做市关系,都设置为 1",
  18527. "type": "integer"
  18528. }
  18529. }
  18530. },
  18531. "models.Clientfixedadconfig": {
  18532. "type": "object",
  18533. "required": [
  18534. "adsort",
  18535. "adtype"
  18536. ],
  18537. "properties": {
  18538. "adsort": {
  18539. "description": "排序",
  18540. "type": "integer"
  18541. },
  18542. "adtype": {
  18543. "description": "广告位类型 - 1:新品抢购(HSBY)",
  18544. "type": "integer"
  18545. },
  18546. "areauserid": {
  18547. "description": "所属机构ID",
  18548. "type": "integer"
  18549. },
  18550. "createdate": {
  18551. "description": "创建时间",
  18552. "type": "string"
  18553. },
  18554. "creatorid": {
  18555. "description": "创建人",
  18556. "type": "integer"
  18557. },
  18558. "imagepath": {
  18559. "description": "图片",
  18560. "type": "string"
  18561. },
  18562. "isshow": {
  18563. "description": "是否展示 - 0:不展示 1:展示",
  18564. "type": "integer"
  18565. },
  18566. "modifierid": {
  18567. "description": "操作人",
  18568. "type": "integer"
  18569. },
  18570. "recsize": {
  18571. "description": "推荐尺寸",
  18572. "type": "string"
  18573. },
  18574. "title": {
  18575. "description": "标题",
  18576. "type": "string"
  18577. },
  18578. "updatedate": {
  18579. "description": "更新时间",
  18580. "type": "string"
  18581. },
  18582. "urlcontent": {
  18583. "description": "链接(地址或商品ID)",
  18584. "type": "string"
  18585. },
  18586. "urltype": {
  18587. "description": "链接类型 - 1:直接地址 2:商品ID",
  18588. "type": "integer"
  18589. }
  18590. }
  18591. },
  18592. "models.Division": {
  18593. "type": "object",
  18594. "required": [
  18595. "autoid",
  18596. "divisioncode"
  18597. ],
  18598. "properties": {
  18599. "autoid": {
  18600. "description": "自增ID",
  18601. "type": "integer"
  18602. },
  18603. "divisioncode": {
  18604. "description": "行政代码",
  18605. "type": "string"
  18606. },
  18607. "divisionlevel": {
  18608. "description": "行政级别",
  18609. "type": "string"
  18610. },
  18611. "divisionname": {
  18612. "description": "行政名称",
  18613. "type": "string"
  18614. },
  18615. "modifierid": {
  18616. "description": "修改人",
  18617. "type": "integer"
  18618. },
  18619. "modifytime": {
  18620. "description": "修改时间",
  18621. "type": "string"
  18622. },
  18623. "parentcode": {
  18624. "description": "上级行政代码",
  18625. "type": "string"
  18626. },
  18627. "pathname": {
  18628. "description": "路径名称",
  18629. "type": "string"
  18630. },
  18631. "postcode": {
  18632. "description": "邮政编码",
  18633. "type": "string"
  18634. },
  18635. "separablename": {
  18636. "description": "可拆分的全称",
  18637. "type": "string"
  18638. },
  18639. "shortcode": {
  18640. "description": "地区简码",
  18641. "type": "string"
  18642. }
  18643. }
  18644. },
  18645. "models.Enumdicitem": {
  18646. "type": "object",
  18647. "required": [
  18648. "autoid",
  18649. "enumdiccode",
  18650. "enumdicid",
  18651. "enumitemname"
  18652. ],
  18653. "properties": {
  18654. "autoid": {
  18655. "description": "自增ID",
  18656. "type": "integer"
  18657. },
  18658. "bankmappedvalue": {
  18659. "description": "银行服务对应值",
  18660. "type": "string"
  18661. },
  18662. "enumdiccode": {
  18663. "description": "所属枚举代码",
  18664. "type": "string"
  18665. },
  18666. "enumdicid": {
  18667. "description": "所属枚举ID",
  18668. "type": "integer"
  18669. },
  18670. "enumdicname": {
  18671. "description": "枚举项名称",
  18672. "type": "string"
  18673. },
  18674. "enumitemname": {
  18675. "description": "枚举项值",
  18676. "type": "integer"
  18677. },
  18678. "enumitemstatus": {
  18679. "description": "枚举项状态 - 1.启用 2.不启用",
  18680. "type": "integer"
  18681. },
  18682. "enumitemvalue": {
  18683. "description": "通用值 - [币种通用简写]",
  18684. "type": "string"
  18685. },
  18686. "param1": {
  18687. "description": "参数1[币种:币种小数位]",
  18688. "type": "string"
  18689. },
  18690. "param2": {
  18691. "description": "参数1[币种:币种显示单位]",
  18692. "type": "string"
  18693. },
  18694. "remark": {
  18695. "description": "备注",
  18696. "type": "string"
  18697. }
  18698. }
  18699. },
  18700. "models.Ermcp3AreaSpot": {
  18701. "type": "object",
  18702. "properties": {
  18703. "areauserid": {
  18704. "description": "所属机构",
  18705. "type": "integer"
  18706. },
  18707. "convertratio": {
  18708. "description": "套保系数",
  18709. "type": "number"
  18710. },
  18711. "decreaseqty": {
  18712. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18713. "type": "number"
  18714. },
  18715. "enumdicname": {
  18716. "description": "单位名称",
  18717. "type": "string"
  18718. },
  18719. "increaseqty": {
  18720. "description": "增加数量=销售计划数量+采购已定价数量",
  18721. "type": "number"
  18722. },
  18723. "oritoalspotqty": {
  18724. "description": "昨日数量",
  18725. "type": "number"
  18726. },
  18727. "totalspotqty": {
  18728. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18729. "type": "number"
  18730. },
  18731. "unitid": {
  18732. "description": "现货商品单位id",
  18733. "type": "integer"
  18734. },
  18735. "updatetime": {
  18736. "description": "更新时间",
  18737. "type": "string"
  18738. },
  18739. "wrstandardcode": {
  18740. "description": "现货商品代码",
  18741. "type": "string"
  18742. },
  18743. "wrstandardid": {
  18744. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18745. "type": "integer"
  18746. },
  18747. "wrstandardname": {
  18748. "description": "现货商品名称",
  18749. "type": "string"
  18750. }
  18751. }
  18752. },
  18753. "models.Ermcp3AreaSpotDetail": {
  18754. "type": "object",
  18755. "properties": {
  18756. "contracttype": {
  18757. "description": "合同类型 1-采购 -1-销售",
  18758. "type": "integer"
  18759. },
  18760. "createtime": {
  18761. "description": "创建时间",
  18762. "type": "string"
  18763. },
  18764. "enumdicname": {
  18765. "description": "现货商品单位名称",
  18766. "type": "string"
  18767. },
  18768. "logtype": {
  18769. "description": "记录类型 1-套保 2-现货合同",
  18770. "type": "integer"
  18771. },
  18772. "qty": {
  18773. "description": "数量",
  18774. "type": "number"
  18775. },
  18776. "recordname": {
  18777. "description": "类型名称",
  18778. "type": "string"
  18779. },
  18780. "relatedid": {
  18781. "description": "套保计划ID/现货合同ID",
  18782. "type": "string"
  18783. },
  18784. "relatedno": {
  18785. "description": "编号",
  18786. "type": "string"
  18787. },
  18788. "strtime": {
  18789. "description": "时间",
  18790. "type": "string"
  18791. },
  18792. "wrstandardcode": {
  18793. "description": "现货商品代码",
  18794. "type": "string"
  18795. },
  18796. "wrstandardid": {
  18797. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18798. "type": "integer"
  18799. },
  18800. "wrstandardname": {
  18801. "description": "现货商品名称",
  18802. "type": "string"
  18803. }
  18804. }
  18805. },
  18806. "models.Ermcp3AreaSpotPLReport": {
  18807. "type": "object",
  18808. "properties": {
  18809. "accountid": {
  18810. "description": "期货账户ID (作废, 默认为0)",
  18811. "type": "integer"
  18812. },
  18813. "accountname": {
  18814. "description": "机构名称",
  18815. "type": "string"
  18816. },
  18817. "actualpl": {
  18818. "description": "现货损益",
  18819. "type": "number"
  18820. },
  18821. "areauserid": {
  18822. "description": "所属机构\\交易用户ID",
  18823. "type": "integer"
  18824. },
  18825. "begindate": {
  18826. "description": "开始交易日",
  18827. "type": "string"
  18828. },
  18829. "biztype": {
  18830. "description": "业务类型 - 1:套保 2:套利",
  18831. "type": "integer"
  18832. },
  18833. "brandname": {
  18834. "description": "品牌名称",
  18835. "type": "string"
  18836. },
  18837. "curamount": {
  18838. "description": "期末额",
  18839. "type": "number"
  18840. },
  18841. "curaverageprice": {
  18842. "description": "期末均价",
  18843. "type": "number"
  18844. },
  18845. "curbuyamount": {
  18846. "description": "期末采购总额",
  18847. "type": "number"
  18848. },
  18849. "curbuyqty": {
  18850. "description": "期末采购总量",
  18851. "type": "number"
  18852. },
  18853. "curmarketvalue": {
  18854. "description": "参考市值(期末市值)",
  18855. "type": "number"
  18856. },
  18857. "curqty": {
  18858. "description": "期末量",
  18859. "type": "number"
  18860. },
  18861. "currencyid": {
  18862. "description": "结算币种ID【原值】",
  18863. "type": "integer"
  18864. },
  18865. "currencyname": {
  18866. "description": "币种名称",
  18867. "type": "string"
  18868. },
  18869. "cursellamount": {
  18870. "description": "期末销售总额",
  18871. "type": "number"
  18872. },
  18873. "cursellqty": {
  18874. "description": "期末销售总量",
  18875. "type": "number"
  18876. },
  18877. "curspotprice": {
  18878. "description": "参考市价(最新价)",
  18879. "type": "number"
  18880. },
  18881. "cycletime": {
  18882. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18883. "type": "string"
  18884. },
  18885. "cycletype": {
  18886. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18887. "type": "integer"
  18888. },
  18889. "deliverygoodscode": {
  18890. "description": "现货商品代码",
  18891. "type": "string"
  18892. },
  18893. "deliverygoodsid": {
  18894. "description": "现货品种ID",
  18895. "type": "integer"
  18896. },
  18897. "deliverygoodsname": {
  18898. "description": "现货商品名称",
  18899. "type": "string"
  18900. },
  18901. "enddate": {
  18902. "description": "结束交易日",
  18903. "type": "string"
  18904. },
  18905. "enumdicname": {
  18906. "description": "现货商品单位名称",
  18907. "type": "string"
  18908. },
  18909. "floatpl": {
  18910. "description": "浮动损益",
  18911. "type": "number"
  18912. },
  18913. "goodsunitid": {
  18914. "description": "现货商品单位id",
  18915. "type": "integer"
  18916. },
  18917. "oriamount": {
  18918. "description": "期初额",
  18919. "type": "number"
  18920. },
  18921. "oriaverageprice": {
  18922. "description": "期初均价",
  18923. "type": "number"
  18924. },
  18925. "oribuyamount": {
  18926. "description": "期初采购总额",
  18927. "type": "number"
  18928. },
  18929. "oribuyqty": {
  18930. "description": "期初采购总量",
  18931. "type": "number"
  18932. },
  18933. "oriqty": {
  18934. "description": "期初量",
  18935. "type": "number"
  18936. },
  18937. "orisellamount": {
  18938. "description": "期初销售总额",
  18939. "type": "number"
  18940. },
  18941. "orisellqty": {
  18942. "description": "期初销售总量",
  18943. "type": "number"
  18944. },
  18945. "reckondate": {
  18946. "description": "日照时期(yyyyMMdd)",
  18947. "type": "string"
  18948. },
  18949. "spotgoodsbrandid": {
  18950. "description": "现货品牌ID",
  18951. "type": "integer"
  18952. },
  18953. "todaybuyamount": {
  18954. "description": "今日采购额(今采购额)",
  18955. "type": "number"
  18956. },
  18957. "todaybuyaverageprice": {
  18958. "description": "今日采购均价",
  18959. "type": "number"
  18960. },
  18961. "todaybuyqty": {
  18962. "description": "今日采购量(今采购量)",
  18963. "type": "number"
  18964. },
  18965. "todayinqty": {
  18966. "description": "今日入库量(今入库量)",
  18967. "type": "number"
  18968. },
  18969. "todayoutqty": {
  18970. "description": "今日出库量(今出库量)",
  18971. "type": "number"
  18972. },
  18973. "todaysellamount": {
  18974. "description": "今日销售额(今销售额)",
  18975. "type": "number"
  18976. },
  18977. "todaysellaverageprice": {
  18978. "description": "今日销售均价",
  18979. "type": "number"
  18980. },
  18981. "todaysellqty": {
  18982. "description": "今日销售量(今销售量)",
  18983. "type": "number"
  18984. },
  18985. "unitid": {
  18986. "description": "品类单位id",
  18987. "type": "integer"
  18988. },
  18989. "unitidname": {
  18990. "description": "品类单位名称",
  18991. "type": "string"
  18992. },
  18993. "updatetime": {
  18994. "description": "更新时间",
  18995. "type": "string"
  18996. },
  18997. "wrfactortypeid": {
  18998. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18999. "type": "integer"
  19000. },
  19001. "wrstandardcode": {
  19002. "description": "品类代码",
  19003. "type": "string"
  19004. },
  19005. "wrstandardid": {
  19006. "description": "现货品类ID",
  19007. "type": "integer"
  19008. },
  19009. "wrstandardname": {
  19010. "description": "品类名称",
  19011. "type": "string"
  19012. }
  19013. }
  19014. },
  19015. "models.Ermcp3AreaStock": {
  19016. "type": "object",
  19017. "required": [
  19018. "userid"
  19019. ],
  19020. "properties": {
  19021. "brandname": {
  19022. "description": "品牌名称",
  19023. "type": "string"
  19024. },
  19025. "curstock": {
  19026. "description": "期末库存量(今日量)",
  19027. "type": "number"
  19028. },
  19029. "deliverygoodscode": {
  19030. "description": "现货品种代码",
  19031. "type": "string"
  19032. },
  19033. "deliverygoodsid": {
  19034. "description": "现货品种id",
  19035. "type": "integer"
  19036. },
  19037. "deliverygoodsname": {
  19038. "description": "现货品种名称",
  19039. "type": "string"
  19040. },
  19041. "enumdicname": {
  19042. "description": "单位名称",
  19043. "type": "string"
  19044. },
  19045. "goodsunitid": {
  19046. "description": "现货商品单位id",
  19047. "type": "integer"
  19048. },
  19049. "oristock": {
  19050. "description": "期初库存量(昨日量)",
  19051. "type": "number"
  19052. },
  19053. "spotgoodsbrandid": {
  19054. "description": "现货品牌ID",
  19055. "type": "integer"
  19056. },
  19057. "todaybuyinqty": {
  19058. "description": "今日采购入库量",
  19059. "type": "number"
  19060. },
  19061. "todayproduceinqty": {
  19062. "description": "今日生产入库量",
  19063. "type": "number"
  19064. },
  19065. "todayproduceoutqty": {
  19066. "description": "今日生产出库量",
  19067. "type": "number"
  19068. },
  19069. "todayselloutqty": {
  19070. "description": "今日销售出库量",
  19071. "type": "number"
  19072. },
  19073. "unitid": {
  19074. "description": "单位id",
  19075. "type": "integer"
  19076. },
  19077. "updatetime": {
  19078. "description": "更新时间",
  19079. "type": "string"
  19080. },
  19081. "userid": {
  19082. "description": "机构ID",
  19083. "type": "integer"
  19084. },
  19085. "username": {
  19086. "description": "机构名称",
  19087. "type": "string"
  19088. },
  19089. "warehousecode": {
  19090. "description": "仓库代码",
  19091. "type": "string"
  19092. },
  19093. "warehouseinfoid": {
  19094. "description": "仓库ID",
  19095. "type": "string"
  19096. },
  19097. "warehousename": {
  19098. "description": "仓库名称",
  19099. "type": "string"
  19100. },
  19101. "warehousetype": {
  19102. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19103. "type": "integer"
  19104. },
  19105. "wrstandardcode": {
  19106. "description": "品类代码",
  19107. "type": "string"
  19108. },
  19109. "wrstandardid": {
  19110. "description": "品类ID",
  19111. "type": "string"
  19112. },
  19113. "wrstandardname": {
  19114. "description": "品类名称",
  19115. "type": "string"
  19116. }
  19117. }
  19118. },
  19119. "models.Ermcp3AreaStockApply": {
  19120. "type": "object",
  19121. "properties": {
  19122. "applyid": {
  19123. "description": "申请人",
  19124. "type": "integer"
  19125. },
  19126. "applyname": {
  19127. "description": "申请人名称",
  19128. "type": "string"
  19129. },
  19130. "applyremark": {
  19131. "description": "申请备注",
  19132. "type": "string"
  19133. },
  19134. "applysrc": {
  19135. "description": "申请来源 - 1:管理端 2:终端",
  19136. "type": "integer"
  19137. },
  19138. "applystatus": {
  19139. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19140. "type": "integer"
  19141. },
  19142. "applytime": {
  19143. "description": "申请时间",
  19144. "type": "string"
  19145. },
  19146. "auditid": {
  19147. "description": "审核人",
  19148. "type": "integer"
  19149. },
  19150. "auditname": {
  19151. "description": "审核人名称",
  19152. "type": "string"
  19153. },
  19154. "auditremark": {
  19155. "description": "审核备注",
  19156. "type": "string"
  19157. },
  19158. "auditsrc": {
  19159. "description": "审核来源 - 1:管理端 2:终端",
  19160. "type": "integer"
  19161. },
  19162. "audittime": {
  19163. "description": "审核时间",
  19164. "type": "string"
  19165. },
  19166. "audittradedate": {
  19167. "description": "审核交易日(yyyyMMdd)",
  19168. "type": "string"
  19169. },
  19170. "brandname": {
  19171. "description": "品牌名称",
  19172. "type": "string"
  19173. },
  19174. "buynickname": {
  19175. "description": "采购方昵称",
  19176. "type": "string"
  19177. },
  19178. "buyuserid": {
  19179. "description": "采购方userid",
  19180. "type": "integer"
  19181. },
  19182. "buyusername": {
  19183. "description": "采购方名称",
  19184. "type": "string"
  19185. },
  19186. "contractno": {
  19187. "description": "合同编号",
  19188. "type": "string"
  19189. },
  19190. "contractqty": {
  19191. "description": "合同量",
  19192. "type": "number"
  19193. },
  19194. "contracttype": {
  19195. "description": "现货合同类型 - 1:采购 -1:销售",
  19196. "type": "integer"
  19197. },
  19198. "deliverygoodscode": {
  19199. "description": "现货品种代码",
  19200. "type": "string"
  19201. },
  19202. "deliverygoodsid": {
  19203. "description": "现货品种id",
  19204. "type": "integer"
  19205. },
  19206. "deliverygoodsname": {
  19207. "description": "现货品种名称",
  19208. "type": "string"
  19209. },
  19210. "detailjson": {
  19211. "description": "明细数据",
  19212. "type": "string"
  19213. },
  19214. "enumdicname": {
  19215. "description": "现货商品单位名称",
  19216. "type": "string"
  19217. },
  19218. "inoutapplyid": {
  19219. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19220. "type": "string"
  19221. },
  19222. "inouttype": {
  19223. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19224. "type": "integer"
  19225. },
  19226. "pricetype": {
  19227. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19228. "type": "integer"
  19229. },
  19230. "qty": {
  19231. "description": "数量",
  19232. "type": "number"
  19233. },
  19234. "sellnickname": {
  19235. "description": "销售方昵称",
  19236. "type": "string"
  19237. },
  19238. "selluserid": {
  19239. "description": "销售方userid",
  19240. "type": "integer"
  19241. },
  19242. "sellusername": {
  19243. "description": "销售方名称",
  19244. "type": "string"
  19245. },
  19246. "spotcontractid": {
  19247. "description": "关联现货合同ID",
  19248. "type": "string"
  19249. },
  19250. "spotgoodsbrandid": {
  19251. "description": "现货品牌ID",
  19252. "type": "integer"
  19253. },
  19254. "unitid": {
  19255. "description": "单位id",
  19256. "type": "integer"
  19257. },
  19258. "userid": {
  19259. "description": "机构ID",
  19260. "type": "integer"
  19261. },
  19262. "warehousecode": {
  19263. "description": "仓库代码",
  19264. "type": "string"
  19265. },
  19266. "warehouseinfoid": {
  19267. "description": "现货仓库ID",
  19268. "type": "string"
  19269. },
  19270. "warehousename": {
  19271. "description": "仓库名称",
  19272. "type": "string"
  19273. },
  19274. "warehousetype": {
  19275. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19276. "type": "integer"
  19277. },
  19278. "wrstandardcode": {
  19279. "description": "品类代码",
  19280. "type": "string"
  19281. },
  19282. "wrstandardid": {
  19283. "description": "品类ID",
  19284. "type": "integer"
  19285. },
  19286. "wrstandardname": {
  19287. "description": "品类名称",
  19288. "type": "string"
  19289. }
  19290. }
  19291. },
  19292. "models.Ermcp3AreaStockApplySum": {
  19293. "type": "object",
  19294. "properties": {
  19295. "brandname": {
  19296. "description": "品牌名称",
  19297. "type": "string"
  19298. },
  19299. "inouttype": {
  19300. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19301. "type": "integer"
  19302. },
  19303. "spotcontractid": {
  19304. "description": "关联现货合同ID",
  19305. "type": "string"
  19306. },
  19307. "spotgoodsbrandid": {
  19308. "description": "品牌id",
  19309. "type": "integer"
  19310. },
  19311. "totalqty": {
  19312. "description": "总数量",
  19313. "type": "number"
  19314. },
  19315. "wrstandardid": {
  19316. "description": "品类id",
  19317. "type": "integer"
  19318. },
  19319. "wrstandardname": {
  19320. "description": "品类名称",
  19321. "type": "string"
  19322. }
  19323. }
  19324. },
  19325. "models.Ermcp3AreaStockReportEx": {
  19326. "type": "object",
  19327. "properties": {
  19328. "begindate": {
  19329. "description": "开始交易日",
  19330. "type": "string"
  19331. },
  19332. "brandname": {
  19333. "description": "品牌名称",
  19334. "type": "string"
  19335. },
  19336. "curstock": {
  19337. "description": "期末库存量",
  19338. "type": "number"
  19339. },
  19340. "cycletime": {
  19341. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19342. "type": "string"
  19343. },
  19344. "cycletype": {
  19345. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19346. "type": "integer"
  19347. },
  19348. "deliverygoodscode": {
  19349. "description": "现货品种代码",
  19350. "type": "string"
  19351. },
  19352. "deliverygoodsid": {
  19353. "description": "现货品种id",
  19354. "type": "integer"
  19355. },
  19356. "deliverygoodsname": {
  19357. "description": "现货品种名称",
  19358. "type": "string"
  19359. },
  19360. "diffqty": {
  19361. "description": "库存变化量 = 期末 - 期初",
  19362. "type": "number"
  19363. },
  19364. "enddate": {
  19365. "description": "结束交易日",
  19366. "type": "string"
  19367. },
  19368. "enumdicname": {
  19369. "description": "单位名称",
  19370. "type": "string"
  19371. },
  19372. "goodsunitid": {
  19373. "description": "现货单位id",
  19374. "type": "integer"
  19375. },
  19376. "oristock": {
  19377. "description": "期初库存量",
  19378. "type": "number"
  19379. },
  19380. "reckondate": {
  19381. "description": "日照时期(yyyyMMdd)",
  19382. "type": "string"
  19383. },
  19384. "spotgoodsbrandid": {
  19385. "description": "现货品牌ID",
  19386. "type": "integer"
  19387. },
  19388. "todaybuyinqty": {
  19389. "description": "今采购入库量",
  19390. "type": "number"
  19391. },
  19392. "todayproduceinqty": {
  19393. "description": "今内部入库量",
  19394. "type": "number"
  19395. },
  19396. "todayproduceoutqty": {
  19397. "description": "今内部出库量",
  19398. "type": "number"
  19399. },
  19400. "todayselloutqty": {
  19401. "description": "今销售出库量",
  19402. "type": "number"
  19403. },
  19404. "unbuyinqty": {
  19405. "description": "采购未入库量(数据库未找到相关字段?)",
  19406. "type": "number"
  19407. },
  19408. "unitid": {
  19409. "description": "品类单位id",
  19410. "type": "integer"
  19411. },
  19412. "unselloutqty": {
  19413. "description": "销售未出库量(数据库未找到相关字段?)",
  19414. "type": "number"
  19415. },
  19416. "updatetime": {
  19417. "description": "更新时间",
  19418. "type": "string"
  19419. },
  19420. "userid": {
  19421. "description": "机构ID",
  19422. "type": "integer"
  19423. },
  19424. "username": {
  19425. "description": "机构名称",
  19426. "type": "string"
  19427. },
  19428. "warehousecode": {
  19429. "description": "仓库代码",
  19430. "type": "string"
  19431. },
  19432. "warehouseinfoid": {
  19433. "description": "仓库ID",
  19434. "type": "string"
  19435. },
  19436. "warehousename": {
  19437. "description": "仓库名称",
  19438. "type": "string"
  19439. },
  19440. "warehousetype": {
  19441. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19442. "type": "integer"
  19443. },
  19444. "wrstandardcode": {
  19445. "description": "品类代码",
  19446. "type": "string"
  19447. },
  19448. "wrstandardid": {
  19449. "description": "品类ID",
  19450. "type": "integer"
  19451. },
  19452. "wrstandardname": {
  19453. "description": "品类名称",
  19454. "type": "string"
  19455. }
  19456. }
  19457. },
  19458. "models.Ermcp3ArealSumPL": {
  19459. "type": "object",
  19460. "properties": {
  19461. "accountname": {
  19462. "description": "机构名称",
  19463. "type": "string"
  19464. },
  19465. "areauserid": {
  19466. "description": "所属机构\\交易用户ID",
  19467. "type": "integer"
  19468. },
  19469. "begindate": {
  19470. "description": "开始交易日",
  19471. "type": "string"
  19472. },
  19473. "currencyid": {
  19474. "description": "结算币种ID",
  19475. "type": "integer"
  19476. },
  19477. "currencyname": {
  19478. "description": "币种名称",
  19479. "type": "string"
  19480. },
  19481. "cycletime": {
  19482. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19483. "type": "string"
  19484. },
  19485. "cycletype": {
  19486. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19487. "type": "integer"
  19488. },
  19489. "enddate": {
  19490. "description": "结束交易日",
  19491. "type": "string"
  19492. },
  19493. "enumdicname": {
  19494. "description": "单位名称(套保品种)",
  19495. "type": "string"
  19496. },
  19497. "futureactualpl": {
  19498. "description": "期货损益",
  19499. "type": "number"
  19500. },
  19501. "futurefloatpl": {
  19502. "description": "期货浮动损益",
  19503. "type": "number"
  19504. },
  19505. "goodsunitid": {
  19506. "description": "套保品种单位id",
  19507. "type": "integer"
  19508. },
  19509. "middlegoodscode": {
  19510. "description": "套保品种代码",
  19511. "type": "string"
  19512. },
  19513. "middlegoodsid": {
  19514. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19515. "type": "integer"
  19516. },
  19517. "middlegoodsname": {
  19518. "description": "套保品种名称",
  19519. "type": "string"
  19520. },
  19521. "reckondate": {
  19522. "description": "日照时期(yyyyMMdd)",
  19523. "type": "string"
  19524. },
  19525. "spotactualpl": {
  19526. "description": "现货损益",
  19527. "type": "number"
  19528. },
  19529. "spotfloatpl": {
  19530. "description": "现货浮动损益",
  19531. "type": "number"
  19532. },
  19533. "sumactualpl": {
  19534. "description": "实际损益 = (ActualPL + FutureActualPL)",
  19535. "type": "number"
  19536. },
  19537. "sumpl": {
  19538. "description": "汇总损益",
  19539. "type": "number"
  19540. },
  19541. "updatetime": {
  19542. "description": "更新时间",
  19543. "type": "string"
  19544. }
  19545. }
  19546. },
  19547. "models.Ermcp3Brand": {
  19548. "type": "object",
  19549. "properties": {
  19550. "areauserid": {
  19551. "description": "用户id",
  19552. "type": "integer"
  19553. },
  19554. "brandid": {
  19555. "description": "品牌id",
  19556. "type": "integer"
  19557. },
  19558. "brandname": {
  19559. "description": "品牌名称",
  19560. "type": "string"
  19561. },
  19562. "deliverygoodsid": {
  19563. "description": "品种ID",
  19564. "type": "integer"
  19565. }
  19566. }
  19567. },
  19568. "models.Ermcp3Contract": {
  19569. "type": "object",
  19570. "properties": {
  19571. "accountid": {
  19572. "description": "期货账户id",
  19573. "type": "string"
  19574. },
  19575. "amount": {
  19576. "description": "金额 [1:一口价、3:暂定价]",
  19577. "type": "number"
  19578. },
  19579. "attachment": {
  19580. "description": "附件",
  19581. "type": "string"
  19582. },
  19583. "auditremark": {
  19584. "description": "审核意见",
  19585. "type": "string"
  19586. },
  19587. "audittime": {
  19588. "description": "审核时间",
  19589. "type": "string"
  19590. },
  19591. "biztype": {
  19592. "description": "业务类型 1-套保 2-套利",
  19593. "type": "integer"
  19594. },
  19595. "brandname": {
  19596. "description": "品牌名称",
  19597. "type": "string"
  19598. },
  19599. "buynickname": {
  19600. "description": "销售方昵称",
  19601. "type": "string"
  19602. },
  19603. "buyuserid": {
  19604. "description": "采购方ID",
  19605. "type": "integer"
  19606. },
  19607. "buyusername": {
  19608. "description": "采购方名称",
  19609. "type": "string"
  19610. },
  19611. "contracctstatus": {
  19612. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19613. "type": "integer"
  19614. },
  19615. "contractmargin": {
  19616. "description": "合同保证金",
  19617. "type": "number"
  19618. },
  19619. "contractno": {
  19620. "description": "现货合同编号",
  19621. "type": "string"
  19622. },
  19623. "contracttype": {
  19624. "description": "现货合同类型 - 1:采购 -1:销售",
  19625. "type": "integer"
  19626. },
  19627. "convertfactor": {
  19628. "description": "标仓系数(品类)",
  19629. "type": "number"
  19630. },
  19631. "createtime": {
  19632. "description": "创建时间",
  19633. "type": "string"
  19634. },
  19635. "currencyid": {
  19636. "description": "币种id",
  19637. "type": "integer"
  19638. },
  19639. "currencyname": {
  19640. "description": "币种名称",
  19641. "type": "string"
  19642. },
  19643. "deliveryenddate": {
  19644. "description": "交收期(结束)",
  19645. "type": "string"
  19646. },
  19647. "deliverygoodscode": {
  19648. "description": "现货品种代码",
  19649. "type": "string"
  19650. },
  19651. "deliverygoodsid": {
  19652. "description": "现货品种ID",
  19653. "type": "integer"
  19654. },
  19655. "deliverygoodsname": {
  19656. "description": "现货品种名称",
  19657. "type": "string"
  19658. },
  19659. "deliverystartdate": {
  19660. "description": "交收期(开始)",
  19661. "type": "string"
  19662. },
  19663. "enddate": {
  19664. "description": "点价结束日期 [2:点价 3:暂定价]",
  19665. "type": "string"
  19666. },
  19667. "enumdicname": {
  19668. "description": "单位名称",
  19669. "type": "string"
  19670. },
  19671. "goodscode": {
  19672. "description": "点价合约代码",
  19673. "type": "string"
  19674. },
  19675. "goodsid": {
  19676. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  19677. "type": "integer"
  19678. },
  19679. "goodsname": {
  19680. "description": "点价商品名称",
  19681. "type": "string"
  19682. },
  19683. "margin": {
  19684. "description": "当前保证金",
  19685. "type": "number"
  19686. },
  19687. "meruserid": {
  19688. "description": "跟单员id",
  19689. "type": "integer"
  19690. },
  19691. "meruserlogincode": {
  19692. "description": "跟单员登录代码",
  19693. "type": "string"
  19694. },
  19695. "merusername": {
  19696. "description": "跟单员名称",
  19697. "type": "string"
  19698. },
  19699. "price": {
  19700. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  19701. "type": "number"
  19702. },
  19703. "pricemove": {
  19704. "description": "升贴水 [2:点价 3:暂定价]",
  19705. "type": "number"
  19706. },
  19707. "pricetype": {
  19708. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19709. "type": "integer"
  19710. },
  19711. "producttype": {
  19712. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19713. "type": "integer"
  19714. },
  19715. "qty": {
  19716. "description": "数量",
  19717. "type": "number"
  19718. },
  19719. "remark": {
  19720. "description": "备注",
  19721. "type": "string"
  19722. },
  19723. "saleuserid": {
  19724. "description": "业务员id",
  19725. "type": "integer"
  19726. },
  19727. "saleuserlogincode": {
  19728. "description": "业务员登录代码",
  19729. "type": "string"
  19730. },
  19731. "saleusername": {
  19732. "description": "业务员名称",
  19733. "type": "string"
  19734. },
  19735. "sellnickname": {
  19736. "description": "采购方昵称",
  19737. "type": "string"
  19738. },
  19739. "selluserid": {
  19740. "description": "销售方ID",
  19741. "type": "integer"
  19742. },
  19743. "sellusername": {
  19744. "description": "销售方名称",
  19745. "type": "string"
  19746. },
  19747. "spotcontractid": {
  19748. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  19749. "type": "string"
  19750. },
  19751. "spotgoodsbrandid": {
  19752. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19753. "type": "integer"
  19754. },
  19755. "spotgoodsdesc": {
  19756. "description": "商品型号",
  19757. "type": "string"
  19758. },
  19759. "startdate": {
  19760. "description": "点价开始日期 [2:点价 3:暂定价]",
  19761. "type": "string"
  19762. },
  19763. "subjectid": {
  19764. "description": "交易主体ID",
  19765. "type": "string"
  19766. },
  19767. "subjectname": {
  19768. "description": "交易主体名称",
  19769. "type": "string"
  19770. },
  19771. "tradeuserid": {
  19772. "description": "交易员id",
  19773. "type": "integer"
  19774. },
  19775. "tradeuserlogincode": {
  19776. "description": "交易员登录代码",
  19777. "type": "string"
  19778. },
  19779. "tradeusername": {
  19780. "description": "交易员名称",
  19781. "type": "string"
  19782. },
  19783. "unitid": {
  19784. "description": "单位id(取品类上的单位id)",
  19785. "type": "integer"
  19786. },
  19787. "updatetime": {
  19788. "description": "更新时间",
  19789. "type": "string"
  19790. },
  19791. "userid": {
  19792. "description": "所属机构ID",
  19793. "type": "integer"
  19794. },
  19795. "vatrate": {
  19796. "description": "增值税率",
  19797. "type": "number"
  19798. },
  19799. "wrstandardcode": {
  19800. "description": "品类代码",
  19801. "type": "string"
  19802. },
  19803. "wrstandardid": {
  19804. "description": "品类ID",
  19805. "type": "integer"
  19806. },
  19807. "wrstandardname": {
  19808. "description": "品类名称",
  19809. "type": "string"
  19810. }
  19811. }
  19812. },
  19813. "models.Ermcp3ExposureContractDetail": {
  19814. "type": "object",
  19815. "properties": {
  19816. "biztype": {
  19817. "description": "业务类型 1-套保 2-套利",
  19818. "type": "integer"
  19819. },
  19820. "brandname": {
  19821. "description": "品牌名称",
  19822. "type": "string"
  19823. },
  19824. "buyuserid": {
  19825. "description": "采购方id",
  19826. "type": "integer"
  19827. },
  19828. "buyusername": {
  19829. "description": "采购方名称",
  19830. "type": "string"
  19831. },
  19832. "contractno": {
  19833. "description": "合同编号",
  19834. "type": "string"
  19835. },
  19836. "contracttype": {
  19837. "description": "现货合同类型 - 1:采购 -1:销售",
  19838. "type": "integer"
  19839. },
  19840. "convertfactor": {
  19841. "description": "标仓系数",
  19842. "type": "number"
  19843. },
  19844. "convertratio": {
  19845. "description": "折算系数(套保品种)",
  19846. "type": "number"
  19847. },
  19848. "curqty": {
  19849. "description": "今定价量",
  19850. "type": "number"
  19851. },
  19852. "deliverygoodscode": {
  19853. "description": "现货商品代码",
  19854. "type": "string"
  19855. },
  19856. "deliverygoodsid": {
  19857. "description": "现货商品id",
  19858. "type": "integer"
  19859. },
  19860. "deliverygoodsname": {
  19861. "description": "现货商品名称",
  19862. "type": "string"
  19863. },
  19864. "diffhedgeqty": {
  19865. "description": "套保变动量",
  19866. "type": "number"
  19867. },
  19868. "diffneedhedgeqty": {
  19869. "description": "应套保变动量",
  19870. "type": "number"
  19871. },
  19872. "diffqty": {
  19873. "description": "套保品种今变动量",
  19874. "type": "number"
  19875. },
  19876. "enumdicname": {
  19877. "description": "单位名称",
  19878. "type": "string"
  19879. },
  19880. "mgunitname": {
  19881. "description": "套保品种单位名称",
  19882. "type": "string"
  19883. },
  19884. "middlegoodscode": {
  19885. "description": "套保品种代码",
  19886. "type": "string"
  19887. },
  19888. "middlegoodsid": {
  19889. "description": "套保品种id",
  19890. "type": "integer"
  19891. },
  19892. "middlegoodsname": {
  19893. "description": "套保品种名称",
  19894. "type": "string"
  19895. },
  19896. "needarbitrageratio": {
  19897. "description": "应套利比例",
  19898. "type": "number"
  19899. },
  19900. "needhedgeratio": {
  19901. "description": "应套保比例",
  19902. "type": "number"
  19903. },
  19904. "pricedqty": {
  19905. "description": "已定价量",
  19906. "type": "number"
  19907. },
  19908. "qty": {
  19909. "description": "合同量",
  19910. "type": "number"
  19911. },
  19912. "selluserid": {
  19913. "description": "销售方id",
  19914. "type": "integer"
  19915. },
  19916. "sellusername": {
  19917. "description": "销售方名称",
  19918. "type": "string"
  19919. },
  19920. "spotcontractid": {
  19921. "description": "合同id",
  19922. "type": "string"
  19923. },
  19924. "todaypricedqty": {
  19925. "description": "今定价量",
  19926. "type": "number"
  19927. },
  19928. "tradedate": {
  19929. "description": "交易日",
  19930. "type": "string"
  19931. },
  19932. "unitid": {
  19933. "description": "品类单位id",
  19934. "type": "integer"
  19935. },
  19936. "userid": {
  19937. "description": "机构id",
  19938. "type": "integer"
  19939. },
  19940. "username": {
  19941. "description": "交易用户",
  19942. "type": "string"
  19943. },
  19944. "wrstandardcode": {
  19945. "description": "品类代码",
  19946. "type": "string"
  19947. },
  19948. "wrstandardid": {
  19949. "description": "品类id",
  19950. "type": "integer"
  19951. },
  19952. "wrstandardname": {
  19953. "description": "品类名称",
  19954. "type": "string"
  19955. }
  19956. }
  19957. },
  19958. "models.Ermcp3ExposureDetail": {
  19959. "type": "object",
  19960. "properties": {
  19961. "areauserid": {
  19962. "description": "机构ID",
  19963. "type": "integer"
  19964. },
  19965. "changeQty": {
  19966. "description": "套保变动量",
  19967. "type": "number"
  19968. },
  19969. "contracttype": {
  19970. "description": "现货合同类型 - 1:采购 -1:销售",
  19971. "type": "integer"
  19972. },
  19973. "convertfactor": {
  19974. "description": "标仓系数",
  19975. "type": "number"
  19976. },
  19977. "convertratio": {
  19978. "description": "折算系数",
  19979. "type": "number"
  19980. },
  19981. "createtime": {
  19982. "description": "时间",
  19983. "type": "string"
  19984. },
  19985. "enumdicname": {
  19986. "description": "现货商品单位名称",
  19987. "type": "string"
  19988. },
  19989. "logtype": {
  19990. "description": "类型 - 1:套保计划 2:现货合同",
  19991. "type": "integer"
  19992. },
  19993. "mgunitid": {
  19994. "description": "套保品种单位id",
  19995. "type": "integer"
  19996. },
  19997. "mgunitidname": {
  19998. "description": "套保品种单位名称",
  19999. "type": "string"
  20000. },
  20001. "middlegoodsId": {
  20002. "description": "套保商品id",
  20003. "type": "integer"
  20004. },
  20005. "middlegoodscode": {
  20006. "description": "套保商品代码",
  20007. "type": "string"
  20008. },
  20009. "middlegoodsname": {
  20010. "description": "套保商品名称",
  20011. "type": "string"
  20012. },
  20013. "qty": {
  20014. "description": "数量",
  20015. "type": "number"
  20016. },
  20017. "relateNo": {
  20018. "description": "现货合同/套保计划编号",
  20019. "type": "string"
  20020. },
  20021. "unitid": {
  20022. "description": "现货商品单位id",
  20023. "type": "integer"
  20024. },
  20025. "wrstandardcode": {
  20026. "description": "现货商品代码",
  20027. "type": "string"
  20028. },
  20029. "wrstandardid": {
  20030. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20031. "type": "integer"
  20032. },
  20033. "wrstandardname": {
  20034. "description": "现货商品名称",
  20035. "type": "string"
  20036. }
  20037. }
  20038. },
  20039. "models.Ermcp3ExposureFutuDetail": {
  20040. "type": "object",
  20041. "properties": {
  20042. "accountid": {
  20043. "description": "交易账户id",
  20044. "type": "integer"
  20045. },
  20046. "accountname": {
  20047. "description": "交易账户",
  20048. "type": "string"
  20049. },
  20050. "begindate": {
  20051. "description": "开始交易日",
  20052. "type": "string"
  20053. },
  20054. "buyorsell": {
  20055. "description": "方向 0-买 1-卖",
  20056. "type": "integer"
  20057. },
  20058. "diffmgqty": {
  20059. "description": "套保品种今变化量",
  20060. "type": "number"
  20061. },
  20062. "diffneedqty": {
  20063. "description": "应套保总量变化量",
  20064. "type": "number"
  20065. },
  20066. "difftradeqty": {
  20067. "description": "交易品种今变化量",
  20068. "type": "number"
  20069. },
  20070. "enddate": {
  20071. "description": "结束交易日",
  20072. "type": "string"
  20073. },
  20074. "enumdicname": {
  20075. "description": "单位名称",
  20076. "type": "string"
  20077. },
  20078. "goodscode": {
  20079. "description": "商品代码",
  20080. "type": "string"
  20081. },
  20082. "goodsid": {
  20083. "description": "商品id",
  20084. "type": "integer"
  20085. },
  20086. "goodsname": {
  20087. "description": "商品名称",
  20088. "type": "string"
  20089. },
  20090. "holdqty": {
  20091. "description": "期末持仓量",
  20092. "type": "number"
  20093. },
  20094. "middlegoodscode": {
  20095. "description": "套保商品代码",
  20096. "type": "string"
  20097. },
  20098. "middlegoodsid": {
  20099. "description": "套保商品id",
  20100. "type": "integer"
  20101. },
  20102. "middlegoodsname": {
  20103. "description": "套保商品名称",
  20104. "type": "string"
  20105. },
  20106. "oriholdqty": {
  20107. "description": "期初持仓量",
  20108. "type": "number"
  20109. },
  20110. "todaycloseqty": {
  20111. "description": "今平仓量",
  20112. "type": "number"
  20113. },
  20114. "todayopenqty": {
  20115. "description": "今开仓量",
  20116. "type": "number"
  20117. },
  20118. "tradedate": {
  20119. "description": "交易日",
  20120. "type": "string"
  20121. }
  20122. }
  20123. },
  20124. "models.Ermcp3ExposureHedgeplanDetail": {
  20125. "type": "object",
  20126. "properties": {
  20127. "biztype": {
  20128. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20129. "type": "integer"
  20130. },
  20131. "changqty": {
  20132. "description": "应套保总量变化量",
  20133. "type": "number"
  20134. },
  20135. "contracttype": {
  20136. "description": "计划类型 - 1:采购 -1:销售",
  20137. "type": "integer"
  20138. },
  20139. "convertratio": {
  20140. "description": "折算系数(套保品种)",
  20141. "type": "number"
  20142. },
  20143. "deliverygoodscode": {
  20144. "description": "现货商品代码",
  20145. "type": "string"
  20146. },
  20147. "deliverygoodsid": {
  20148. "description": "现货商品id",
  20149. "type": "integer"
  20150. },
  20151. "deliverygoodsname": {
  20152. "description": "现货商吕名称",
  20153. "type": "string"
  20154. },
  20155. "dgunitid": {
  20156. "description": "现货商品单位id",
  20157. "type": "integer"
  20158. },
  20159. "dgunitidname": {
  20160. "description": "单位名称(现货商品)",
  20161. "type": "string"
  20162. },
  20163. "diffqty": {
  20164. "description": "套保品种今变动量",
  20165. "type": "number"
  20166. },
  20167. "enumdicname": {
  20168. "description": "单位名称(品类)",
  20169. "type": "string"
  20170. },
  20171. "hedgeplanid": {
  20172. "description": "套保计划id",
  20173. "type": "string"
  20174. },
  20175. "hedgeplanno": {
  20176. "description": "套保计划名称",
  20177. "type": "string"
  20178. },
  20179. "hedgeplanstatus": {
  20180. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20181. "type": "integer"
  20182. },
  20183. "mgunitidname": {
  20184. "description": "单位名称(套保商品)",
  20185. "type": "string"
  20186. },
  20187. "middlegoodscode": {
  20188. "description": "套保品种代码",
  20189. "type": "string"
  20190. },
  20191. "middlegoodsid": {
  20192. "description": "套保品种id",
  20193. "type": "integer"
  20194. },
  20195. "middlegoodsname": {
  20196. "description": "套保品种名称",
  20197. "type": "string"
  20198. },
  20199. "needarbitrageratio": {
  20200. "description": "应套利比例",
  20201. "type": "number"
  20202. },
  20203. "needhedgeratio": {
  20204. "description": "应套保比例",
  20205. "type": "number"
  20206. },
  20207. "pricedqty": {
  20208. "description": "已定价量",
  20209. "type": "number"
  20210. },
  20211. "qty": {
  20212. "description": "合同量",
  20213. "type": "number"
  20214. },
  20215. "tradedate": {
  20216. "description": "交易日(登记日)",
  20217. "type": "string"
  20218. },
  20219. "unitid": {
  20220. "description": "品类单位id",
  20221. "type": "integer"
  20222. },
  20223. "userid": {
  20224. "description": "机构id",
  20225. "type": "integer"
  20226. },
  20227. "wrstandardcode": {
  20228. "description": "品类代码",
  20229. "type": "string"
  20230. },
  20231. "wrstandardid": {
  20232. "description": "品类id",
  20233. "type": "integer"
  20234. },
  20235. "wrstandardname": {
  20236. "description": "品类名称",
  20237. "type": "string"
  20238. }
  20239. }
  20240. },
  20241. "models.Ermcp3ExposureParamChLog": {
  20242. "type": "object",
  20243. "properties": {
  20244. "accountid": {
  20245. "description": "期货账户ID (作废, 默认为0)",
  20246. "type": "integer"
  20247. },
  20248. "aftervalue": {
  20249. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20250. "type": "number"
  20251. },
  20252. "areauserid": {
  20253. "description": "所属机构\\交易用户ID",
  20254. "type": "integer"
  20255. },
  20256. "beforevalue": {
  20257. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20258. "type": "number"
  20259. },
  20260. "begindate": {
  20261. "description": "开始交易日",
  20262. "type": "string"
  20263. },
  20264. "changelogtype": {
  20265. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20266. "type": "integer"
  20267. },
  20268. "curvalue": {
  20269. "description": "当前套保\\套利量(套保总量|套利总量)",
  20270. "type": "number"
  20271. },
  20272. "diffvalue": {
  20273. "description": "应套保总量变化量",
  20274. "type": "number"
  20275. },
  20276. "enddate": {
  20277. "description": "结束交易日",
  20278. "type": "string"
  20279. },
  20280. "logdatetime": {
  20281. "description": "流水日期",
  20282. "type": "string"
  20283. },
  20284. "logid": {
  20285. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20286. "type": "string"
  20287. },
  20288. "middlegoodscode": {
  20289. "description": "套保品种代码",
  20290. "type": "string"
  20291. },
  20292. "middlegoodsid": {
  20293. "description": "套保品种",
  20294. "type": "integer"
  20295. },
  20296. "middlegoodsname": {
  20297. "description": "套保品种名称",
  20298. "type": "string"
  20299. },
  20300. "paramaftervalue": {
  20301. "description": "参数变更后(调整后参数值)",
  20302. "type": "number"
  20303. },
  20304. "parambeforevalue": {
  20305. "description": "参数变更前(调整前参数值)",
  20306. "type": "number"
  20307. },
  20308. "tradedate": {
  20309. "description": "交易日(yyyyMMdd)",
  20310. "type": "string"
  20311. }
  20312. }
  20313. },
  20314. "models.Ermcp3ExpourseReport": {
  20315. "type": "object",
  20316. "properties": {
  20317. "accountid": {
  20318. "description": "期货账户ID (作废, 默认为0)",
  20319. "type": "integer"
  20320. },
  20321. "accountname": {
  20322. "description": "机构名称",
  20323. "type": "string"
  20324. },
  20325. "arbitrageqty": {
  20326. "description": "套利量",
  20327. "type": "number"
  20328. },
  20329. "areauserid": {
  20330. "description": "所属机构\\交易用户ID",
  20331. "type": "integer"
  20332. },
  20333. "begindate": {
  20334. "description": "开始交易日",
  20335. "type": "string"
  20336. },
  20337. "buyfutureqty": {
  20338. "description": "买入期货数量",
  20339. "type": "number"
  20340. },
  20341. "buyplanqty": {
  20342. "description": "采购计划数量",
  20343. "type": "number"
  20344. },
  20345. "buypricedqty": {
  20346. "description": "采购合同已定价数量",
  20347. "type": "number"
  20348. },
  20349. "cycletime": {
  20350. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20351. "type": "string"
  20352. },
  20353. "cycletype": {
  20354. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20355. "type": "integer"
  20356. },
  20357. "diffexposure": {
  20358. "description": "变动量(套保敞口)",
  20359. "type": "number"
  20360. },
  20361. "difffutuqty": {
  20362. "description": "变动量(期货)",
  20363. "type": "number"
  20364. },
  20365. "diffhedgeqty": {
  20366. "description": "变动量(现货应套保总量)",
  20367. "type": "number"
  20368. },
  20369. "diffmgqtya": {
  20370. "description": "套保变动量",
  20371. "type": "number"
  20372. },
  20373. "diffmgqtyb": {
  20374. "description": "套利变动量",
  20375. "type": "number"
  20376. },
  20377. "diffqty": {
  20378. "description": "变动量(总敞口)",
  20379. "type": "number"
  20380. },
  20381. "diffspotqty": {
  20382. "description": "变动量(现货)",
  20383. "type": "number"
  20384. },
  20385. "enddate": {
  20386. "description": "结束交易日",
  20387. "type": "string"
  20388. },
  20389. "enumdicname": {
  20390. "description": "单位名称",
  20391. "type": "string"
  20392. },
  20393. "hedgeqty": {
  20394. "description": "套保量",
  20395. "type": "number"
  20396. },
  20397. "mgneedhedgeratio": {
  20398. "description": "套保比例(套保品的)",
  20399. "type": "number"
  20400. },
  20401. "middlegoodsid": {
  20402. "description": "套保品种ID",
  20403. "type": "integer"
  20404. },
  20405. "middlegoodsname": {
  20406. "description": "套保商品名称",
  20407. "type": "string"
  20408. },
  20409. "middlgoodscode": {
  20410. "description": "套保商品代码",
  20411. "type": "string"
  20412. },
  20413. "needarbitrageqty": {
  20414. "description": "应套利量",
  20415. "type": "number"
  20416. },
  20417. "needarbitrageratio": {
  20418. "description": "套利比例(套保品的)",
  20419. "type": "number"
  20420. },
  20421. "needhedgeexposoure": {
  20422. "description": "应套保敞口(套保敞口)",
  20423. "type": "number"
  20424. },
  20425. "needhedgeqty": {
  20426. "description": "应套保量",
  20427. "type": "number"
  20428. },
  20429. "needhedgeratio": {
  20430. "description": "应套保敞口比例",
  20431. "type": "number"
  20432. },
  20433. "oriarbitrageqty": {
  20434. "description": "期初套利量",
  20435. "type": "number"
  20436. },
  20437. "oribuyfutureqty": {
  20438. "description": "期初买入期货数量",
  20439. "type": "number"
  20440. },
  20441. "oribuyplanqty": {
  20442. "description": "期初采购计划数量",
  20443. "type": "number"
  20444. },
  20445. "oribuypricedqty": {
  20446. "description": "期初采购合同已定价数量",
  20447. "type": "number"
  20448. },
  20449. "orihedgeqty": {
  20450. "description": "期初套保量",
  20451. "type": "number"
  20452. },
  20453. "orineedarbitrageqty": {
  20454. "description": "期初应套利量",
  20455. "type": "number"
  20456. },
  20457. "orineedhedgeexposoure": {
  20458. "description": "期初应套保敞口",
  20459. "type": "number"
  20460. },
  20461. "orineedhedgeqty": {
  20462. "description": "期初应套保量",
  20463. "type": "number"
  20464. },
  20465. "orisellfutureqty": {
  20466. "description": "期初卖出期货数量",
  20467. "type": "number"
  20468. },
  20469. "orisellplanqty": {
  20470. "description": "期初销售计划数量",
  20471. "type": "number"
  20472. },
  20473. "orisellpricedqty": {
  20474. "description": "期初销售合同已定价数量",
  20475. "type": "number"
  20476. },
  20477. "oritotalexposure": {
  20478. "description": "期初实时总敞口",
  20479. "type": "number"
  20480. },
  20481. "oritotalfutureqty": {
  20482. "description": "期初期货头寸总量",
  20483. "type": "number"
  20484. },
  20485. "oritotalneedhedgeqty": {
  20486. "description": "期初应套保总量",
  20487. "type": "number"
  20488. },
  20489. "oritotalspotqty": {
  20490. "description": "期初现货头寸总量",
  20491. "type": "number"
  20492. },
  20493. "reckondate": {
  20494. "description": "日照时期(yyyyMMdd)",
  20495. "type": "string"
  20496. },
  20497. "sellfutureqty": {
  20498. "description": "卖出期货数量",
  20499. "type": "number"
  20500. },
  20501. "sellplanqty": {
  20502. "description": "销售计划数量",
  20503. "type": "number"
  20504. },
  20505. "sellpricedqty": {
  20506. "description": "销售合同已定价数量",
  20507. "type": "number"
  20508. },
  20509. "totalexposure": {
  20510. "description": "实时总敞口(总敞口)",
  20511. "type": "number"
  20512. },
  20513. "totalfutureqty": {
  20514. "description": "期货头寸总量(期货总量)",
  20515. "type": "number"
  20516. },
  20517. "totalhedgeratio": {
  20518. "description": "敞口比例",
  20519. "type": "number"
  20520. },
  20521. "totalneedhedgeqty": {
  20522. "description": "应套保总量(现货应套保总量)",
  20523. "type": "number"
  20524. },
  20525. "totalspotqty": {
  20526. "description": "现货头寸总量",
  20527. "type": "number"
  20528. },
  20529. "unitid": {
  20530. "description": "单位id",
  20531. "type": "integer"
  20532. },
  20533. "updatetime": {
  20534. "description": "更新时间",
  20535. "type": "string"
  20536. }
  20537. }
  20538. },
  20539. "models.Ermcp3FinanceReport": {
  20540. "type": "object",
  20541. "properties": {
  20542. "accountname": {
  20543. "description": "机构名称",
  20544. "type": "string"
  20545. },
  20546. "areauserid": {
  20547. "description": "所属机构\\交易用户ID",
  20548. "type": "integer"
  20549. },
  20550. "begindate": {
  20551. "description": "开始交易日",
  20552. "type": "string"
  20553. },
  20554. "biztype": {
  20555. "description": "业务类型 - 1:套保 2:套利",
  20556. "type": "integer"
  20557. },
  20558. "brandname": {
  20559. "description": "品牌名称",
  20560. "type": "string"
  20561. },
  20562. "buypreinvoicedamount": {
  20563. "description": "采购预收票额(预收票额)",
  20564. "type": "number"
  20565. },
  20566. "buyprepaidamount": {
  20567. "description": "采购预付款额(预付货款额)",
  20568. "type": "number"
  20569. },
  20570. "buytodayinvoiceamount": {
  20571. "description": "采购今收票额(今收票额)",
  20572. "type": "number"
  20573. },
  20574. "buytodayrefundamount": {
  20575. "description": "采购今收退款额(今收退款额)",
  20576. "type": "number"
  20577. },
  20578. "buytodaysettleamount": {
  20579. "description": "采购今付款额(今付货款额)",
  20580. "type": "number"
  20581. },
  20582. "buyuninvoicedamount": {
  20583. "description": "采购应收票额(应收票额)",
  20584. "type": "number"
  20585. },
  20586. "buyunpaidamount": {
  20587. "description": "采购应付款额(应付货款额)",
  20588. "type": "number"
  20589. },
  20590. "currencyid": {
  20591. "description": "结算币种ID",
  20592. "type": "integer"
  20593. },
  20594. "currencyname": {
  20595. "description": "币种名称",
  20596. "type": "string"
  20597. },
  20598. "cycletime": {
  20599. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20600. "type": "string"
  20601. },
  20602. "cycletype": {
  20603. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20604. "type": "integer"
  20605. },
  20606. "deliverygoodscode": {
  20607. "description": "现货品种代码",
  20608. "type": "string"
  20609. },
  20610. "deliverygoodsid": {
  20611. "description": "现货品种ID",
  20612. "type": "integer"
  20613. },
  20614. "deliverygoodsname": {
  20615. "description": "现货品种名称",
  20616. "type": "string"
  20617. },
  20618. "enddate": {
  20619. "description": "结束交易日",
  20620. "type": "string"
  20621. },
  20622. "reckondate": {
  20623. "description": "日照时期(yyyyMMdd)",
  20624. "type": "string"
  20625. },
  20626. "sellpreinvoicedamount": {
  20627. "description": "销售预开票额(预开票额)",
  20628. "type": "number"
  20629. },
  20630. "sellprepaidamount": {
  20631. "description": "销售预收款额(预收货款额)",
  20632. "type": "number"
  20633. },
  20634. "selltodayinvoiceamount": {
  20635. "description": "销售今开票额(今开票额)",
  20636. "type": "number"
  20637. },
  20638. "selltodayrefundamount": {
  20639. "description": "销售今付退款额(今付退款额)",
  20640. "type": "number"
  20641. },
  20642. "selltodaysettleamount": {
  20643. "description": "销售今收款额(今收货款额)",
  20644. "type": "number"
  20645. },
  20646. "selluninvoicedamount": {
  20647. "description": "销售应开票额(应开票额)",
  20648. "type": "number"
  20649. },
  20650. "sellunpaidamount": {
  20651. "description": "销售应收款额(应收货款额)",
  20652. "type": "number"
  20653. },
  20654. "spotgoodsbrandid": {
  20655. "description": "现货品牌ID",
  20656. "type": "integer"
  20657. },
  20658. "todaypaysum": {
  20659. "description": "今付款合计",
  20660. "type": "number"
  20661. },
  20662. "todayreceivesum": {
  20663. "description": "今收款合计",
  20664. "type": "number"
  20665. },
  20666. "updatetime": {
  20667. "description": "更新时间",
  20668. "type": "string"
  20669. },
  20670. "wrfactortypeid": {
  20671. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  20672. "type": "integer"
  20673. },
  20674. "wrstandardcode": {
  20675. "description": "品类代码",
  20676. "type": "string"
  20677. },
  20678. "wrstandardid": {
  20679. "description": "现货商品ID",
  20680. "type": "integer"
  20681. },
  20682. "wrstandardname": {
  20683. "description": "品类名称",
  20684. "type": "string"
  20685. }
  20686. }
  20687. },
  20688. "models.Ermcp3GoodsGroup": {
  20689. "type": "object",
  20690. "required": [
  20691. "areauserid"
  20692. ],
  20693. "properties": {
  20694. "agreeunit": {
  20695. "description": "合约单位",
  20696. "type": "number"
  20697. },
  20698. "areauserid": {
  20699. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  20700. "type": "integer"
  20701. },
  20702. "canshort": {
  20703. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20704. "type": "integer"
  20705. },
  20706. "closepricemode": {
  20707. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20708. "type": "integer"
  20709. },
  20710. "createtime": {
  20711. "description": "创建时间",
  20712. "type": "string"
  20713. },
  20714. "creatorid": {
  20715. "description": "创建人",
  20716. "type": "integer"
  20717. },
  20718. "currencyid": {
  20719. "description": "报价货币ID",
  20720. "type": "integer"
  20721. },
  20722. "decimalplace": {
  20723. "description": "报价小数位",
  20724. "type": "integer"
  20725. },
  20726. "enumdicname": {
  20727. "description": "单位名称",
  20728. "type": "string"
  20729. },
  20730. "exchangefullname": {
  20731. "description": "交易所全称",
  20732. "type": "string"
  20733. },
  20734. "excludecfg": {
  20735. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  20736. "type": "integer"
  20737. },
  20738. "exexchangecode": {
  20739. "description": "交易所代码",
  20740. "type": "string"
  20741. },
  20742. "exexchangeid": {
  20743. "description": "外部交易所ID[通道交易]",
  20744. "type": "integer"
  20745. },
  20746. "exexchangename": {
  20747. "description": "交易所名称",
  20748. "type": "string"
  20749. },
  20750. "goodsgroupid": {
  20751. "description": "商品组ID(自增ID)",
  20752. "type": "integer"
  20753. },
  20754. "goodsgroupname": {
  20755. "description": "商品组名称",
  20756. "type": "string"
  20757. },
  20758. "goodsgroupstatus": {
  20759. "description": "商品组状态 - 1:正常 2:注销",
  20760. "type": "integer"
  20761. },
  20762. "goodunitid": {
  20763. "description": "报价单位ID",
  20764. "type": "integer"
  20765. },
  20766. "groupcategroyid": {
  20767. "description": "品种分类ID",
  20768. "type": "integer"
  20769. },
  20770. "innerdealmode": {
  20771. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20772. "type": "integer"
  20773. },
  20774. "marketid": {
  20775. "description": "所属市场ID",
  20776. "type": "integer"
  20777. },
  20778. "modifierid": {
  20779. "description": "修改人",
  20780. "type": "integer"
  20781. },
  20782. "modifytime": {
  20783. "description": "修改时间",
  20784. "type": "string"
  20785. },
  20786. "outerdealmode": {
  20787. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20788. "type": "integer"
  20789. },
  20790. "outergroupcode": {
  20791. "description": "外部商品组代码[通道交易]",
  20792. "type": "string"
  20793. },
  20794. "quoteminunit": {
  20795. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20796. "type": "integer"
  20797. },
  20798. "quotesourcegroupid": {
  20799. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20800. "type": "integer"
  20801. },
  20802. "syncgoodsqty": {
  20803. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20804. "type": "integer"
  20805. }
  20806. }
  20807. },
  20808. "models.Ermcp3HedgePlan": {
  20809. "type": "object",
  20810. "properties": {
  20811. "accountid": {
  20812. "description": "资金账号",
  20813. "type": "integer"
  20814. },
  20815. "areauserid": {
  20816. "description": "用户ID",
  20817. "type": "integer"
  20818. },
  20819. "auditid": {
  20820. "description": "审核id",
  20821. "type": "integer"
  20822. },
  20823. "auditname": {
  20824. "description": "审核人名称",
  20825. "type": "string"
  20826. },
  20827. "auditremark": {
  20828. "description": "审核备注",
  20829. "type": "string"
  20830. },
  20831. "auditsrc": {
  20832. "description": "审核来源 1-管理端 2-终端",
  20833. "type": "integer"
  20834. },
  20835. "audittime": {
  20836. "description": "审核时间",
  20837. "type": "string"
  20838. },
  20839. "contracttype": {
  20840. "description": "计划类型 - 1:采购 -1:销售",
  20841. "type": "integer"
  20842. },
  20843. "convertfactor": {
  20844. "description": "标仓系数",
  20845. "type": "number"
  20846. },
  20847. "createtime": {
  20848. "description": "创建时间",
  20849. "type": "string"
  20850. },
  20851. "currencyid": {
  20852. "description": "币种id",
  20853. "type": "integer"
  20854. },
  20855. "currencyname": {
  20856. "description": "币种名称",
  20857. "type": "string"
  20858. },
  20859. "deliverygoodscode": {
  20860. "description": "现货品种代码",
  20861. "type": "string"
  20862. },
  20863. "deliverygoodsid": {
  20864. "description": "现货品种ID",
  20865. "type": "integer"
  20866. },
  20867. "deliverygoodsname": {
  20868. "description": "现货品种名称",
  20869. "type": "string"
  20870. },
  20871. "enumdicname": {
  20872. "description": "单位名称(现货商品)",
  20873. "type": "string"
  20874. },
  20875. "hedgeplanid": {
  20876. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  20877. "type": "string"
  20878. },
  20879. "hedgeplanno": {
  20880. "description": "套保计划编号(名称)",
  20881. "type": "string"
  20882. },
  20883. "hedgeplanstatus": {
  20884. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20885. "type": "integer"
  20886. },
  20887. "planqty": {
  20888. "description": "计划数量",
  20889. "type": "number"
  20890. },
  20891. "plantime": {
  20892. "description": "计划时间",
  20893. "type": "string"
  20894. },
  20895. "producttype": {
  20896. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20897. "type": "integer"
  20898. },
  20899. "remark": {
  20900. "description": "备注",
  20901. "type": "string"
  20902. },
  20903. "spotgoodsdesc": {
  20904. "description": "商品型号",
  20905. "type": "string"
  20906. },
  20907. "taaccountname": {
  20908. "description": "资金账号名称",
  20909. "type": "string"
  20910. },
  20911. "tradeuserid": {
  20912. "description": "交易用户id",
  20913. "type": "integer"
  20914. },
  20915. "tradeusername": {
  20916. "description": "交易用户名称",
  20917. "type": "string"
  20918. },
  20919. "unitid": {
  20920. "description": "单位id(现货商品)",
  20921. "type": "integer"
  20922. },
  20923. "updatetime": {
  20924. "description": "更新时间",
  20925. "type": "string"
  20926. },
  20927. "vatrate": {
  20928. "description": "增值税率",
  20929. "type": "number"
  20930. },
  20931. "wrstandardcode": {
  20932. "description": "品类代码",
  20933. "type": "string"
  20934. },
  20935. "wrstandardid": {
  20936. "description": "品类id",
  20937. "type": "integer"
  20938. },
  20939. "wrstandardname": {
  20940. "description": "品类名称",
  20941. "type": "string"
  20942. },
  20943. "wrunitid": {
  20944. "description": "品类单位id",
  20945. "type": "integer"
  20946. },
  20947. "wrunitidame": {
  20948. "description": "品类单位名称",
  20949. "type": "string"
  20950. }
  20951. }
  20952. },
  20953. "models.Ermcp3PaAreaAuditCfg": {
  20954. "type": "object",
  20955. "properties": {
  20956. "areauserid": {
  20957. "description": "用户ID",
  20958. "type": "integer"
  20959. },
  20960. "buyinauditflag": {
  20961. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  20962. "type": "integer"
  20963. },
  20964. "customerauditflag": {
  20965. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  20966. "type": "integer"
  20967. },
  20968. "deliveryauditflag": {
  20969. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  20970. "type": "integer"
  20971. },
  20972. "invoiceauditflag": {
  20973. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  20974. "type": "integer"
  20975. },
  20976. "moneyauditflag": {
  20977. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  20978. "type": "integer"
  20979. },
  20980. "operatorid": {
  20981. "description": "操作人",
  20982. "type": "integer"
  20983. },
  20984. "operatorsrc": {
  20985. "description": "操作来源 - 1:管理端 2:终端",
  20986. "type": "integer"
  20987. },
  20988. "pointpriceauditflag": {
  20989. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  20990. "type": "integer"
  20991. },
  20992. "produceinauditflag": {
  20993. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  20994. "type": "integer"
  20995. },
  20996. "produceoutauditflag": {
  20997. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  20998. "type": "integer"
  20999. },
  21000. "selloutauditflag": {
  21001. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21002. "type": "integer"
  21003. },
  21004. "spotcontractauditflag": {
  21005. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21006. "type": "integer"
  21007. },
  21008. "updatetime": {
  21009. "description": "更新时间",
  21010. "type": "string"
  21011. }
  21012. }
  21013. },
  21014. "models.Ermcp3PaAreaSubject": {
  21015. "type": "object",
  21016. "properties": {
  21017. "areauserid": {
  21018. "description": "所属机构",
  21019. "type": "integer"
  21020. },
  21021. "canmodify": {
  21022. "description": "是否可修改 - 0:否 1:是",
  21023. "type": "integer"
  21024. },
  21025. "createtime": {
  21026. "description": "创建时间",
  21027. "type": "string"
  21028. },
  21029. "creatorid": {
  21030. "description": "创建人ID",
  21031. "type": "string"
  21032. },
  21033. "creatorsrc": {
  21034. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21035. "type": "integer"
  21036. },
  21037. "modifierid": {
  21038. "description": "修改人",
  21039. "type": "string"
  21040. },
  21041. "modifiersrc": {
  21042. "description": "修改人来源 - 1:管理端 2:终端",
  21043. "type": "integer"
  21044. },
  21045. "modifytime": {
  21046. "description": "修改时间",
  21047. "type": "string"
  21048. },
  21049. "parentsubjectid": {
  21050. "description": "上级主体ID",
  21051. "type": "string"
  21052. },
  21053. "remark": {
  21054. "description": "备注",
  21055. "type": "string"
  21056. },
  21057. "subjectid": {
  21058. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21059. "type": "integer"
  21060. },
  21061. "subjectname": {
  21062. "description": "主体名称",
  21063. "type": "string"
  21064. },
  21065. "subjectstatus": {
  21066. "description": "主体状态 - 1:正常 2: 停用",
  21067. "type": "integer"
  21068. },
  21069. "subjecttype": {
  21070. "description": "主体类型 - 1:交易主体 2:业务部门",
  21071. "type": "integer"
  21072. }
  21073. }
  21074. },
  21075. "models.Ermcp3PaTradeLink": {
  21076. "type": "object",
  21077. "properties": {
  21078. "accountid": {
  21079. "description": "期货账户代码 | 账号ID",
  21080. "type": "integer"
  21081. },
  21082. "agreeunit": {
  21083. "description": "合约乘数",
  21084. "type": "number"
  21085. },
  21086. "buyorsell": {
  21087. "description": "方向 - 0:买 1:卖",
  21088. "type": "integer"
  21089. },
  21090. "channelbuildtype": {
  21091. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21092. "type": "integer"
  21093. },
  21094. "charge": {
  21095. "description": "手续费",
  21096. "type": "number"
  21097. },
  21098. "closepl": {
  21099. "description": "平仓盈亏",
  21100. "type": "number"
  21101. },
  21102. "closetype": {
  21103. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21104. "type": "integer"
  21105. },
  21106. "convertratio": {
  21107. "description": "折算系数",
  21108. "type": "number"
  21109. },
  21110. "enumdicname": {
  21111. "description": "单位名称",
  21112. "type": "string"
  21113. },
  21114. "executeprice": {
  21115. "description": "执行价 [期权]",
  21116. "type": "integer"
  21117. },
  21118. "goodscode": {
  21119. "description": "合约代码",
  21120. "type": "string"
  21121. },
  21122. "goodsgroupid": {
  21123. "description": "对冲品种ID[期货合约商品组ID]",
  21124. "type": "integer"
  21125. },
  21126. "goodsid": {
  21127. "description": "商品ID",
  21128. "type": "integer"
  21129. },
  21130. "goodsname": {
  21131. "description": "合约名称",
  21132. "type": "string"
  21133. },
  21134. "goodunitid": {
  21135. "description": "单位id",
  21136. "type": "integer"
  21137. },
  21138. "hedgeflag": {
  21139. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21140. "type": "integer"
  21141. },
  21142. "marketid": {
  21143. "description": "市场ID",
  21144. "type": "integer"
  21145. },
  21146. "middlegoodsid": {
  21147. "description": "套保品种ID",
  21148. "type": "integer"
  21149. },
  21150. "middlegoodsqty": {
  21151. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21152. "type": "number"
  21153. },
  21154. "optioncode": {
  21155. "description": "期权代码 [期权]",
  21156. "type": "string"
  21157. },
  21158. "ordertype": {
  21159. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21160. "type": "integer"
  21161. },
  21162. "ordertypename": {
  21163. "description": "订单类型",
  21164. "type": "string"
  21165. },
  21166. "parentaccountid": {
  21167. "description": "所属母账户",
  21168. "type": "integer"
  21169. },
  21170. "premium": {
  21171. "description": "权利金 [期权]",
  21172. "type": "number"
  21173. },
  21174. "relatedlot": {
  21175. "description": "已关联数量(已关联数量手) | db:关联手数",
  21176. "type": "number"
  21177. },
  21178. "relatedouttradeid": {
  21179. "description": "关联外部成交单ID",
  21180. "type": "string"
  21181. },
  21182. "relatedqty": {
  21183. "description": "关联数量",
  21184. "type": "number"
  21185. },
  21186. "spotcontractid": {
  21187. "description": "现货合同ID [4:套期保值\\10\\11]",
  21188. "type": "string"
  21189. },
  21190. "taname": {
  21191. "description": "期货账户名称",
  21192. "type": "string"
  21193. },
  21194. "tradeamount": {
  21195. "description": "成交金额(账户)",
  21196. "type": "number"
  21197. },
  21198. "tradedate": {
  21199. "description": "交易日(yyyyMMdd)",
  21200. "type": "string"
  21201. },
  21202. "tradeid": {
  21203. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21204. "type": "string"
  21205. },
  21206. "tradelot": {
  21207. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  21208. "type": "integer"
  21209. },
  21210. "tradeprice": {
  21211. "description": "成交价格",
  21212. "type": "number"
  21213. },
  21214. "tradetime": {
  21215. "description": "时间 | db:成交时间",
  21216. "type": "string"
  21217. },
  21218. "tradetype": {
  21219. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21220. "type": "integer"
  21221. },
  21222. "userid": {
  21223. "description": "所属机构 - 所属母账户的UserID",
  21224. "type": "string"
  21225. },
  21226. "username": {
  21227. "description": "用户名称",
  21228. "type": "string"
  21229. }
  21230. }
  21231. },
  21232. "models.Ermcp3RootUserAccount": {
  21233. "type": "object",
  21234. "properties": {
  21235. "accountname": {
  21236. "description": "账户名称(机构名称)",
  21237. "type": "string"
  21238. },
  21239. "accountstatus": {
  21240. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21241. "type": "integer"
  21242. },
  21243. "applysrc": {
  21244. "description": "申请来源 - 1:管理端 2:终端",
  21245. "type": "integer"
  21246. },
  21247. "auditremark": {
  21248. "description": "审核备注",
  21249. "type": "string"
  21250. },
  21251. "auditsrc": {
  21252. "description": "审核来源 - 1:管理端 2:终端",
  21253. "type": "integer"
  21254. },
  21255. "audittime": {
  21256. "description": "审核时间",
  21257. "type": "string"
  21258. },
  21259. "audituserid": {
  21260. "description": "审核人",
  21261. "type": "integer"
  21262. },
  21263. "broker": {
  21264. "description": "所属经纪人ID",
  21265. "type": "integer"
  21266. },
  21267. "canceltime": {
  21268. "description": "销户时间",
  21269. "type": "string"
  21270. },
  21271. "canceluserid": {
  21272. "description": "销户人",
  21273. "type": "integer"
  21274. },
  21275. "canrecommend": {
  21276. "description": "是否可推荐 - 0:不可 1;可",
  21277. "type": "integer"
  21278. },
  21279. "createtime": {
  21280. "description": "创建时间",
  21281. "type": "string"
  21282. },
  21283. "creatorid": {
  21284. "description": "创建人",
  21285. "type": "integer"
  21286. },
  21287. "hasauth": {
  21288. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21289. "type": "integer"
  21290. },
  21291. "isanonymous": {
  21292. "description": "是否匿名下单 - 0:否 1:是",
  21293. "type": "integer"
  21294. },
  21295. "maxinvestornum": {
  21296. "description": "最大用户数(经纪会员下投资者个数)",
  21297. "type": "integer"
  21298. },
  21299. "memberuserid": {
  21300. "description": "所属会员ID",
  21301. "type": "integer"
  21302. },
  21303. "modifierid": {
  21304. "description": "修改人",
  21305. "type": "integer"
  21306. },
  21307. "modifyremark": {
  21308. "description": "变更备注",
  21309. "type": "string"
  21310. },
  21311. "modifystatus": {
  21312. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21313. "type": "integer"
  21314. },
  21315. "modifytime": {
  21316. "description": "修改时间",
  21317. "type": "string"
  21318. },
  21319. "parenttopuser": {
  21320. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  21321. "type": "string"
  21322. },
  21323. "parentuserid": {
  21324. "description": "所属机构ID",
  21325. "type": "integer"
  21326. },
  21327. "reckonaccountid": {
  21328. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21329. "type": "integer"
  21330. },
  21331. "refercount": {
  21332. "description": "推荐总人数",
  21333. "type": "integer"
  21334. },
  21335. "refereeuserid": {
  21336. "description": "推荐人ID",
  21337. "type": "integer"
  21338. },
  21339. "refernum": {
  21340. "description": "推荐码",
  21341. "type": "string"
  21342. },
  21343. "rootuserid": {
  21344. "description": "根用户ID",
  21345. "type": "integer"
  21346. },
  21347. "subaccountlevel": {
  21348. "description": "子账户层数",
  21349. "type": "integer"
  21350. },
  21351. "subarealevelpath": {
  21352. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21353. "type": "string"
  21354. },
  21355. "userid": {
  21356. "description": "用户ID",
  21357. "type": "integer"
  21358. },
  21359. "usertype": {
  21360. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21361. "type": "integer"
  21362. }
  21363. }
  21364. },
  21365. "models.Ermcp3SCMiddleGoods": {
  21366. "type": "object",
  21367. "properties": {
  21368. "contractno": {
  21369. "description": "合同编号",
  21370. "type": "string"
  21371. },
  21372. "contracttype": {
  21373. "description": "合同类型 1:采购 -1:销售",
  21374. "type": "integer"
  21375. },
  21376. "customername": {
  21377. "description": "对手手名称",
  21378. "type": "string"
  21379. },
  21380. "customeruserid": {
  21381. "description": "对手id",
  21382. "type": "integer"
  21383. },
  21384. "middlegoodsid": {
  21385. "description": "套保品种ID",
  21386. "type": "integer"
  21387. },
  21388. "middlegoodspricedqty3": {
  21389. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  21390. "type": "number"
  21391. },
  21392. "needhedgeratio": {
  21393. "description": "套保比例",
  21394. "type": "number"
  21395. },
  21396. "pricedqty": {
  21397. "description": "已关联数量 | 已定价量",
  21398. "type": "number"
  21399. },
  21400. "spotcontractid": {
  21401. "description": "合同编号",
  21402. "type": "string"
  21403. },
  21404. "unitid": {
  21405. "description": "现货单位id",
  21406. "type": "integer"
  21407. },
  21408. "userid": {
  21409. "description": "用户id",
  21410. "type": "integer"
  21411. },
  21412. "vatrate": {
  21413. "description": "增值税率",
  21414. "type": "number"
  21415. },
  21416. "wrstandardcode": {
  21417. "description": "现货商品代码",
  21418. "type": "string"
  21419. },
  21420. "wrstandardid": {
  21421. "description": "现货商品id",
  21422. "type": "integer"
  21423. },
  21424. "wrstandardname": {
  21425. "description": "现货商品名称",
  21426. "type": "string"
  21427. }
  21428. }
  21429. },
  21430. "models.Ermcp3SCMiddleGoodsReport": {
  21431. "type": "object",
  21432. "properties": {
  21433. "begindate": {
  21434. "description": "开始交易日",
  21435. "type": "string"
  21436. },
  21437. "contractno": {
  21438. "description": "合同编号",
  21439. "type": "string"
  21440. },
  21441. "contracttype": {
  21442. "description": "合同类型 1:采购 -1:销售",
  21443. "type": "integer"
  21444. },
  21445. "convertratio": {
  21446. "description": "折算系数",
  21447. "type": "number"
  21448. },
  21449. "cycletime": {
  21450. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21451. "type": "string"
  21452. },
  21453. "cycletype": {
  21454. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21455. "type": "integer"
  21456. },
  21457. "deliverygoodscode": {
  21458. "description": "品种代码",
  21459. "type": "string"
  21460. },
  21461. "deliverygoodsid": {
  21462. "description": "现货品种ID",
  21463. "type": "integer"
  21464. },
  21465. "deliverygoodsname": {
  21466. "description": "品种名称",
  21467. "type": "string"
  21468. },
  21469. "diffprice": {
  21470. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  21471. "type": "number"
  21472. },
  21473. "diffqty": {
  21474. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  21475. "type": "number"
  21476. },
  21477. "enddate": {
  21478. "description": "结束交易日",
  21479. "type": "string"
  21480. },
  21481. "hedgeplanqty": {
  21482. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  21483. "type": "number"
  21484. },
  21485. "mathname": {
  21486. "description": "交易对手方",
  21487. "type": "string"
  21488. },
  21489. "middlegoodscode": {
  21490. "description": "套保品种代码",
  21491. "type": "string"
  21492. },
  21493. "middlegoodsid": {
  21494. "description": "套保品种ID",
  21495. "type": "integer"
  21496. },
  21497. "middlegoodsname": {
  21498. "description": "套保品种名称",
  21499. "type": "string"
  21500. },
  21501. "middlegoodspricedqty": {
  21502. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  21503. "type": "number"
  21504. },
  21505. "middlegoodspricedqty2": {
  21506. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  21507. "type": "number"
  21508. },
  21509. "middlegoodspricedqty3": {
  21510. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  21511. "type": "number"
  21512. },
  21513. "needhedgeratio": {
  21514. "description": "套保系数",
  21515. "type": "number"
  21516. },
  21517. "pricedamount": {
  21518. "description": "已定价额(现货)",
  21519. "type": "number"
  21520. },
  21521. "pricedamount2": {
  21522. "description": "已定价额(现货-基价额)",
  21523. "type": "number"
  21524. },
  21525. "pricedqty": {
  21526. "description": "已定价量(现货)",
  21527. "type": "number"
  21528. },
  21529. "reckondate": {
  21530. "description": "日照时期(yyyyMMdd)",
  21531. "type": "string"
  21532. },
  21533. "relatedmiddlegoodsamount": {
  21534. "description": "已关联额(期货)",
  21535. "type": "number"
  21536. },
  21537. "relatedmiddlegoodsqty": {
  21538. "description": "已关联量(套保品种)(期货)",
  21539. "type": "number"
  21540. },
  21541. "spotcontractid": {
  21542. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  21543. "type": "string"
  21544. },
  21545. "todayavgfutuprice": {
  21546. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty",
  21547. "type": "number"
  21548. },
  21549. "todayavgprice": {
  21550. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  21551. "type": "number"
  21552. },
  21553. "todayavgprice2": {
  21554. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  21555. "type": "number"
  21556. },
  21557. "todaypricedamount": {
  21558. "description": "今日定价额(现货)",
  21559. "type": "number"
  21560. },
  21561. "todaypricedamount2": {
  21562. "description": "今日定价额(现货-基价额)",
  21563. "type": "number"
  21564. },
  21565. "todaypricedqty": {
  21566. "description": "今日定价量(现货)",
  21567. "type": "number"
  21568. },
  21569. "todayrelatedmiddlegoodsamount": {
  21570. "description": "今日关联额(期货)",
  21571. "type": "number"
  21572. },
  21573. "todayrelatedmiddlegoodsqty": {
  21574. "description": "今日关联量(期货)",
  21575. "type": "number"
  21576. },
  21577. "updatetime": {
  21578. "description": "更新时间",
  21579. "type": "string"
  21580. },
  21581. "userid": {
  21582. "description": "合同所属用户id",
  21583. "type": "integer"
  21584. },
  21585. "vatrate": {
  21586. "description": "增值税率",
  21587. "type": "number"
  21588. },
  21589. "wrstandardcode": {
  21590. "description": "商品(品类) 代码",
  21591. "type": "string"
  21592. },
  21593. "wrstandardid": {
  21594. "description": "现货商品ID",
  21595. "type": "integer"
  21596. },
  21597. "wrstandardname": {
  21598. "description": "商品(品类) 名称",
  21599. "type": "string"
  21600. }
  21601. }
  21602. },
  21603. "models.Ermcp3SellBuyContract": {
  21604. "type": "object",
  21605. "properties": {
  21606. "accountid": {
  21607. "description": "期货账户id",
  21608. "type": "string"
  21609. },
  21610. "accountname": {
  21611. "description": "账户名称",
  21612. "type": "string"
  21613. },
  21614. "attachment": {
  21615. "description": "附件",
  21616. "type": "string"
  21617. },
  21618. "audittime": {
  21619. "description": "审核时间",
  21620. "type": "string"
  21621. },
  21622. "biztype": {
  21623. "description": "业务类型 1-套保 2-套利",
  21624. "type": "integer"
  21625. },
  21626. "brandname": {
  21627. "description": "品牌名称",
  21628. "type": "string"
  21629. },
  21630. "contracctstatus": {
  21631. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21632. "type": "integer"
  21633. },
  21634. "contractmargin": {
  21635. "description": "合同保证金",
  21636. "type": "number"
  21637. },
  21638. "contractno": {
  21639. "description": "合同编号",
  21640. "type": "string"
  21641. },
  21642. "contracttype": {
  21643. "description": "合同类型 1-采购, -1-销售",
  21644. "type": "integer"
  21645. },
  21646. "convertfactor": {
  21647. "description": "标仓系数(品类)",
  21648. "type": "number"
  21649. },
  21650. "createtime": {
  21651. "description": "创建时间",
  21652. "type": "string"
  21653. },
  21654. "currencyid": {
  21655. "description": "币种id",
  21656. "type": "integer"
  21657. },
  21658. "currencyname": {
  21659. "description": "币种名称",
  21660. "type": "string"
  21661. },
  21662. "daikaiamount": {
  21663. "description": "应收(开)票额",
  21664. "type": "number"
  21665. },
  21666. "deliveryenddate": {
  21667. "description": "交割结束日",
  21668. "type": "string"
  21669. },
  21670. "deliverygoodscode": {
  21671. "description": "现货品种代码",
  21672. "type": "string"
  21673. },
  21674. "deliverygoodsid": {
  21675. "description": "现货商品ID",
  21676. "type": "integer"
  21677. },
  21678. "deliverygoodsname": {
  21679. "description": "现货品种名称",
  21680. "type": "string"
  21681. },
  21682. "deliverystartdate": {
  21683. "description": "交割开始日",
  21684. "type": "string"
  21685. },
  21686. "enddate": {
  21687. "description": "点价结束日",
  21688. "type": "string"
  21689. },
  21690. "enumdicname": {
  21691. "description": "单位名称",
  21692. "type": "string"
  21693. },
  21694. "goodscode": {
  21695. "description": "点价商品代码",
  21696. "type": "string"
  21697. },
  21698. "goodsid": {
  21699. "description": "点价商品ID",
  21700. "type": "integer"
  21701. },
  21702. "goodsname": {
  21703. "description": "点价商品名称",
  21704. "type": "string"
  21705. },
  21706. "invoiceamount": {
  21707. "description": "已开票额",
  21708. "type": "number"
  21709. },
  21710. "loanamount": {
  21711. "description": "贷款总额=已定价额+调整金额",
  21712. "type": "number"
  21713. },
  21714. "margin": {
  21715. "description": "保证金",
  21716. "type": "number"
  21717. },
  21718. "meruserid": {
  21719. "description": "跟单员id",
  21720. "type": "integer"
  21721. },
  21722. "meruserlogincode": {
  21723. "description": "跟单员登录代码",
  21724. "type": "string"
  21725. },
  21726. "merusername": {
  21727. "description": "跟单员名称",
  21728. "type": "string"
  21729. },
  21730. "nickname": {
  21731. "description": "账户昵称",
  21732. "type": "string"
  21733. },
  21734. "payamount": {
  21735. "description": "已收付额(收款或付款)",
  21736. "type": "number"
  21737. },
  21738. "preinvoiceamount": {
  21739. "description": "预收(开)票额",
  21740. "type": "number"
  21741. },
  21742. "prepayamount": {
  21743. "description": "预收付额",
  21744. "type": "number"
  21745. },
  21746. "price": {
  21747. "description": "价格",
  21748. "type": "number"
  21749. },
  21750. "pricedamount": {
  21751. "description": "已定价额",
  21752. "type": "number"
  21753. },
  21754. "pricedavg": {
  21755. "description": "已点均价",
  21756. "type": "number"
  21757. },
  21758. "pricedqty": {
  21759. "description": "已定价量",
  21760. "type": "number"
  21761. },
  21762. "pricemove": {
  21763. "description": "升贴水",
  21764. "type": "number"
  21765. },
  21766. "pricetype": {
  21767. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21768. "type": "integer"
  21769. },
  21770. "producttype": {
  21771. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21772. "type": "integer"
  21773. },
  21774. "qty": {
  21775. "description": "合同量",
  21776. "type": "number"
  21777. },
  21778. "reckonadjustamount": {
  21779. "description": "调整金额",
  21780. "type": "number"
  21781. },
  21782. "reckonedamount": {
  21783. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  21784. "type": "number"
  21785. },
  21786. "reckonotheramount": {
  21787. "description": "其它费用",
  21788. "type": "number"
  21789. },
  21790. "reckonrealqty": {
  21791. "description": "已确定量",
  21792. "type": "number"
  21793. },
  21794. "remark": {
  21795. "description": "备注",
  21796. "type": "string"
  21797. },
  21798. "saleuserid": {
  21799. "description": "业务员id",
  21800. "type": "integer"
  21801. },
  21802. "saleuserlogincode": {
  21803. "description": "业务员登录代码",
  21804. "type": "string"
  21805. },
  21806. "saleusername": {
  21807. "description": "业务员名称",
  21808. "type": "string"
  21809. },
  21810. "spotcontractid": {
  21811. "description": "合同ID",
  21812. "type": "string"
  21813. },
  21814. "spotgoodsbrandid": {
  21815. "description": "现货品牌ID(DGFactoryItem表的ID)",
  21816. "type": "integer"
  21817. },
  21818. "spotgoodsdesc": {
  21819. "description": "商品型号(商品规格)",
  21820. "type": "string"
  21821. },
  21822. "startdate": {
  21823. "description": "点价开始日",
  21824. "type": "string"
  21825. },
  21826. "subjectid": {
  21827. "description": "交易主体ID",
  21828. "type": "string"
  21829. },
  21830. "subjectname": {
  21831. "description": "交易主体名称",
  21832. "type": "string"
  21833. },
  21834. "totalamount": {
  21835. "description": "合计总额",
  21836. "type": "number"
  21837. },
  21838. "tradeuserid": {
  21839. "description": "交易员id",
  21840. "type": "integer"
  21841. },
  21842. "tradeuserlogincode": {
  21843. "description": "交易员登录代码",
  21844. "type": "string"
  21845. },
  21846. "tradeusername": {
  21847. "description": "交易员名称",
  21848. "type": "string"
  21849. },
  21850. "unpayamount": {
  21851. "description": "应收付款额(应支付或应收款)",
  21852. "type": "number"
  21853. },
  21854. "unpricedqty": {
  21855. "description": "未定价量",
  21856. "type": "number"
  21857. },
  21858. "unsureqty": {
  21859. "description": "未确定量",
  21860. "type": "number"
  21861. },
  21862. "userid": {
  21863. "description": "机构ID",
  21864. "type": "integer"
  21865. },
  21866. "vatrate": {
  21867. "description": "增值税率",
  21868. "type": "number"
  21869. },
  21870. "wrstandardcode": {
  21871. "description": "品类代码",
  21872. "type": "string"
  21873. },
  21874. "wrstandardid": {
  21875. "description": "品类ID",
  21876. "type": "integer"
  21877. },
  21878. "wrstandardname": {
  21879. "description": "品类名称",
  21880. "type": "string"
  21881. }
  21882. }
  21883. },
  21884. "models.Ermcp3SpotGoodsPrice": {
  21885. "type": "object",
  21886. "properties": {
  21887. "areauserid": {
  21888. "description": "所属机构id",
  21889. "type": "integer"
  21890. },
  21891. "brandname": {
  21892. "description": "品牌名称",
  21893. "type": "string"
  21894. },
  21895. "currencyid": {
  21896. "description": "报价货币ID",
  21897. "type": "integer"
  21898. },
  21899. "currencyname": {
  21900. "description": "币种名称",
  21901. "type": "string"
  21902. },
  21903. "deliverygoodscode": {
  21904. "description": "现货商品代码",
  21905. "type": "string"
  21906. },
  21907. "deliverygoodsid": {
  21908. "description": "现货商品id",
  21909. "type": "integer"
  21910. },
  21911. "deliverygoodsname": {
  21912. "description": "现货商品名称",
  21913. "type": "string"
  21914. },
  21915. "enumdicname": {
  21916. "description": "现货商品单位名称",
  21917. "type": "string"
  21918. },
  21919. "gbenumdicname": {
  21920. "description": "品类单位名称",
  21921. "type": "string"
  21922. },
  21923. "gmunitid": {
  21924. "description": "品类单位id",
  21925. "type": "integer"
  21926. },
  21927. "isvalid": {
  21928. "description": "是否有效 - 0:无效 1:有效",
  21929. "type": "integer"
  21930. },
  21931. "operateid": {
  21932. "description": "最后操作人",
  21933. "type": "integer"
  21934. },
  21935. "operatesrc": {
  21936. "description": "最后操作来源 - 1:管理端 2:终端",
  21937. "type": "integer"
  21938. },
  21939. "operatetime": {
  21940. "description": "最后操作时间",
  21941. "type": "string"
  21942. },
  21943. "operatorname": {
  21944. "description": "操作人名称",
  21945. "type": "string"
  21946. },
  21947. "spotgoodsbrandid": {
  21948. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  21949. "type": "integer"
  21950. },
  21951. "spotgoodsprice": {
  21952. "description": "现货价格",
  21953. "type": "number"
  21954. },
  21955. "tradedate": {
  21956. "description": "交易日(yyyyMMdd)",
  21957. "type": "string"
  21958. },
  21959. "unitid": {
  21960. "description": "现货商品单位id",
  21961. "type": "integer"
  21962. },
  21963. "wrstandardcode": {
  21964. "description": "品类代码",
  21965. "type": "string"
  21966. },
  21967. "wrstandardid": {
  21968. "description": "现货品类ID(通用则为0)",
  21969. "type": "integer"
  21970. },
  21971. "wrstandardname": {
  21972. "description": "品类名称",
  21973. "type": "string"
  21974. }
  21975. }
  21976. },
  21977. "models.Ermcp3SpotGoodsPriceLog": {
  21978. "type": "object",
  21979. "properties": {
  21980. "areauserid": {
  21981. "description": "所属机构id",
  21982. "type": "integer"
  21983. },
  21984. "brandname": {
  21985. "description": "品牌名称",
  21986. "type": "string"
  21987. },
  21988. "currencyid": {
  21989. "description": "报价货币ID",
  21990. "type": "integer"
  21991. },
  21992. "deliverygoodscode": {
  21993. "description": "现货商品代码",
  21994. "type": "string"
  21995. },
  21996. "deliverygoodsid": {
  21997. "description": "现货商品id",
  21998. "type": "integer"
  21999. },
  22000. "deliverygoodsname": {
  22001. "description": "现货商品名称",
  22002. "type": "string"
  22003. },
  22004. "enumdicname": {
  22005. "description": "现货商品单位名称",
  22006. "type": "string"
  22007. },
  22008. "gbenumdicname": {
  22009. "description": "品类单位名称",
  22010. "type": "string"
  22011. },
  22012. "gmunitid": {
  22013. "description": "品类单位id",
  22014. "type": "integer"
  22015. },
  22016. "logid": {
  22017. "description": "日志id",
  22018. "type": "integer"
  22019. },
  22020. "operateid": {
  22021. "description": "最后操作人",
  22022. "type": "integer"
  22023. },
  22024. "operatesrc": {
  22025. "description": "最后操作来源 - 1:管理端 2:终端",
  22026. "type": "integer"
  22027. },
  22028. "operatetime": {
  22029. "description": "最后操作时间",
  22030. "type": "string"
  22031. },
  22032. "operatorname": {
  22033. "description": "操作人名称",
  22034. "type": "string"
  22035. },
  22036. "spotgoodsbrandid": {
  22037. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22038. "type": "integer"
  22039. },
  22040. "spotgoodsprice": {
  22041. "description": "现货价格",
  22042. "type": "number"
  22043. },
  22044. "tradedate": {
  22045. "description": "交易日(yyyyMMdd)",
  22046. "type": "string"
  22047. },
  22048. "unitid": {
  22049. "description": "现货商品单位id",
  22050. "type": "integer"
  22051. },
  22052. "wrstandardcode": {
  22053. "description": "品类代码",
  22054. "type": "string"
  22055. },
  22056. "wrstandardid": {
  22057. "description": "现货品类ID(通用则为0)",
  22058. "type": "integer"
  22059. },
  22060. "wrstandardname": {
  22061. "description": "品类名称",
  22062. "type": "string"
  22063. }
  22064. }
  22065. },
  22066. "models.Ermcp3TaFutuReDataReport": {
  22067. "type": "object",
  22068. "properties": {
  22069. "accountid": {
  22070. "description": "交易账户",
  22071. "type": "integer"
  22072. },
  22073. "accountname": {
  22074. "description": "交易账号名称",
  22075. "type": "string"
  22076. },
  22077. "agreeunit": {
  22078. "description": "商品合约单位",
  22079. "type": "number"
  22080. },
  22081. "begindate": {
  22082. "description": "开始交易日",
  22083. "type": "string"
  22084. },
  22085. "buyorsell": {
  22086. "description": "持仓方向",
  22087. "type": "integer"
  22088. },
  22089. "charge": {
  22090. "description": "手续费",
  22091. "type": "number"
  22092. },
  22093. "closeavgprice": {
  22094. "description": "平仓均价",
  22095. "type": "number"
  22096. },
  22097. "closepl": {
  22098. "description": "平仓损益",
  22099. "type": "number"
  22100. },
  22101. "currencyid": {
  22102. "description": "结算币种ID",
  22103. "type": "integer"
  22104. },
  22105. "currencyname": {
  22106. "description": "币种名称",
  22107. "type": "string"
  22108. },
  22109. "cycletime": {
  22110. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22111. "type": "string"
  22112. },
  22113. "cycletype": {
  22114. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22115. "type": "integer"
  22116. },
  22117. "enddate": {
  22118. "description": "结束交易日",
  22119. "type": "string"
  22120. },
  22121. "enumdicname": {
  22122. "description": "单位名称",
  22123. "type": "string"
  22124. },
  22125. "floatpl": {
  22126. "description": "浮动损益",
  22127. "type": "number"
  22128. },
  22129. "goodscode": {
  22130. "description": "交易合约代码",
  22131. "type": "string"
  22132. },
  22133. "goodsgroupid": {
  22134. "description": "交易品种",
  22135. "type": "integer"
  22136. },
  22137. "goodsgroupname": {
  22138. "description": "交易品种名称",
  22139. "type": "string"
  22140. },
  22141. "goodsgroupspotqty": {
  22142. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  22143. "type": "number"
  22144. },
  22145. "goodsid": {
  22146. "description": "交易合约",
  22147. "type": "integer"
  22148. },
  22149. "goodsname": {
  22150. "description": "交易合约名称",
  22151. "type": "string"
  22152. },
  22153. "goodunitid": {
  22154. "description": "交易合约单位id",
  22155. "type": "integer"
  22156. },
  22157. "holdamount": {
  22158. "description": "期末持仓额",
  22159. "type": "number"
  22160. },
  22161. "holdqty": {
  22162. "description": "期末持仓量",
  22163. "type": "number"
  22164. },
  22165. "lastholdamount": {
  22166. "description": "当前持仓额",
  22167. "type": "number"
  22168. },
  22169. "lastprice": {
  22170. "description": "最新价",
  22171. "type": "number"
  22172. },
  22173. "middlegoodsid": {
  22174. "description": "套保品种id",
  22175. "type": "integer"
  22176. },
  22177. "middlegoodsname": {
  22178. "description": "套保商品名称",
  22179. "type": "string"
  22180. },
  22181. "middlegoodsqty": {
  22182. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  22183. "type": "number"
  22184. },
  22185. "middlgoodscode": {
  22186. "description": "套保商品代码",
  22187. "type": "string"
  22188. },
  22189. "openamount": {
  22190. "description": "期末开仓额",
  22191. "type": "number"
  22192. },
  22193. "openavgprice": {
  22194. "description": "开仓均价",
  22195. "type": "number"
  22196. },
  22197. "oriholdamount": {
  22198. "description": "期初持仓额",
  22199. "type": "number"
  22200. },
  22201. "oriholdqty": {
  22202. "description": "期初持仓量",
  22203. "type": "number"
  22204. },
  22205. "oriopenamount": {
  22206. "description": "期初开仓额",
  22207. "type": "number"
  22208. },
  22209. "outergroupcode": {
  22210. "description": "交易品种代码",
  22211. "type": "string"
  22212. },
  22213. "qtydecimalplace": {
  22214. "description": "成交量小数位",
  22215. "type": "integer"
  22216. },
  22217. "reckondate": {
  22218. "description": "日照时期(yyyyMMdd)",
  22219. "type": "string"
  22220. },
  22221. "reckonholdamount": {
  22222. "description": "结算持仓额",
  22223. "type": "number"
  22224. },
  22225. "reckonpl": {
  22226. "description": "结算损益",
  22227. "type": "number"
  22228. },
  22229. "reckonpl2": {
  22230. "description": "结算逐笔盈亏",
  22231. "type": "number"
  22232. },
  22233. "reckonprice": {
  22234. "description": "结算价",
  22235. "type": "number"
  22236. },
  22237. "relateduserid": {
  22238. "description": "账户关联用户ID",
  22239. "type": "integer"
  22240. },
  22241. "todaycloseamount": {
  22242. "description": "今平仓额",
  22243. "type": "number"
  22244. },
  22245. "todaycloseqty": {
  22246. "description": "今平仓量",
  22247. "type": "number"
  22248. },
  22249. "todaygoodsgroupspotqty": {
  22250. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  22251. "type": "number"
  22252. },
  22253. "todaymiddlegoodsqty": {
  22254. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  22255. "type": "number"
  22256. },
  22257. "todayopenamount": {
  22258. "description": "今开仓额",
  22259. "type": "number"
  22260. },
  22261. "todayopenqty": {
  22262. "description": "今开仓量",
  22263. "type": "number"
  22264. },
  22265. "userid": {
  22266. "description": "账户所属用户ID",
  22267. "type": "integer"
  22268. }
  22269. }
  22270. },
  22271. "models.Ermcp3TradeLinkDetail": {
  22272. "type": "object",
  22273. "properties": {
  22274. "accountid": {
  22275. "description": "资金账号",
  22276. "type": "integer"
  22277. },
  22278. "agreeunit": {
  22279. "description": "合约乘数",
  22280. "type": "number"
  22281. },
  22282. "areauserid": {
  22283. "description": "所属机构",
  22284. "type": "string"
  22285. },
  22286. "bizsubjectid": {
  22287. "description": "归属业务部门ID - SubjectID",
  22288. "type": "string"
  22289. },
  22290. "buyorsell": {
  22291. "description": "方向 - 0:买 1:卖",
  22292. "type": "integer"
  22293. },
  22294. "channelbuildtype": {
  22295. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22296. "type": "integer"
  22297. },
  22298. "contractno": {
  22299. "description": "现货编号 (合同编号)",
  22300. "type": "string"
  22301. },
  22302. "convertratio": {
  22303. "description": "折算系数",
  22304. "type": "number"
  22305. },
  22306. "createtime": {
  22307. "description": "关联时间 | 创建时间",
  22308. "type": "string"
  22309. },
  22310. "creatorid": {
  22311. "description": "创建人ID",
  22312. "type": "string"
  22313. },
  22314. "creatorsrc": {
  22315. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22316. "type": "integer"
  22317. },
  22318. "enumdicname": {
  22319. "description": "单位名称",
  22320. "type": "string"
  22321. },
  22322. "goodscode": {
  22323. "description": "合约代码",
  22324. "type": "string"
  22325. },
  22326. "goodsgroupid": {
  22327. "description": "对冲品种ID[期货合约商品组ID]",
  22328. "type": "integer"
  22329. },
  22330. "goodsid": {
  22331. "description": "商品ID",
  22332. "type": "integer"
  22333. },
  22334. "goodsname": {
  22335. "description": "合约名称",
  22336. "type": "string"
  22337. },
  22338. "hedgeflag": {
  22339. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22340. "type": "integer"
  22341. },
  22342. "linkdetailid": {
  22343. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  22344. "type": "string"
  22345. },
  22346. "linkstatus": {
  22347. "description": "关联状态 - 1:成功 2:失败",
  22348. "type": "integer"
  22349. },
  22350. "middlegoodsid": {
  22351. "description": "套保品种ID",
  22352. "type": "integer"
  22353. },
  22354. "relatedlot": {
  22355. "description": "关联手数",
  22356. "type": "number"
  22357. },
  22358. "relatedmode": {
  22359. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  22360. "type": "integer"
  22361. },
  22362. "relatedqty": {
  22363. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  22364. "type": "number"
  22365. },
  22366. "retcode": {
  22367. "description": "返回码",
  22368. "type": "integer"
  22369. },
  22370. "saleuserid": {
  22371. "description": "业务员ID",
  22372. "type": "string"
  22373. },
  22374. "spotcontractid": {
  22375. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  22376. "type": "string"
  22377. },
  22378. "taname": {
  22379. "description": "期货账户",
  22380. "type": "string"
  22381. },
  22382. "tradedate": {
  22383. "description": "关联交易日(yyyyMMdd)",
  22384. "type": "string"
  22385. },
  22386. "tradeid": {
  22387. "description": "期货订单号 | 内部成交单ID",
  22388. "type": "string"
  22389. },
  22390. "tradelot": {
  22391. "description": "成交数量 | 成交手数",
  22392. "type": "integer"
  22393. },
  22394. "tradeprice": {
  22395. "description": "成交价格",
  22396. "type": "number"
  22397. },
  22398. "tradetime": {
  22399. "description": "期货成交时间",
  22400. "type": "string"
  22401. },
  22402. "tradetradedate": {
  22403. "description": "成交交易日(yyyyMMdd)",
  22404. "type": "string"
  22405. },
  22406. "username": {
  22407. "description": "用户名称",
  22408. "type": "string"
  22409. }
  22410. }
  22411. },
  22412. "models.Ermcp3Wrstandard": {
  22413. "type": "object",
  22414. "properties": {
  22415. "areauserid": {
  22416. "description": "所属机构",
  22417. "type": "integer"
  22418. },
  22419. "cantrade": {
  22420. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  22421. "type": "integer"
  22422. },
  22423. "convertfactor": {
  22424. "description": "标仓系数",
  22425. "type": "number"
  22426. },
  22427. "createtime": {
  22428. "description": "创建时间",
  22429. "type": "string"
  22430. },
  22431. "creatorid": {
  22432. "description": "创建人",
  22433. "type": "integer"
  22434. },
  22435. "deliverygoodsid": {
  22436. "description": "现货品种ID",
  22437. "type": "integer"
  22438. },
  22439. "enumdicname": {
  22440. "description": "品类单位名称",
  22441. "type": "string"
  22442. },
  22443. "isvalid": {
  22444. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  22445. "type": "integer"
  22446. },
  22447. "minivalue": {
  22448. "description": "最小变动值",
  22449. "type": "integer"
  22450. },
  22451. "minivaluedp": {
  22452. "description": "最小变动值小数位",
  22453. "type": "integer"
  22454. },
  22455. "realminivalue": {
  22456. "description": "实际最小变动值",
  22457. "type": "integer"
  22458. },
  22459. "realminivaluedp": {
  22460. "description": "实际最小变动值小数位",
  22461. "type": "integer"
  22462. },
  22463. "remark": {
  22464. "description": "备注",
  22465. "type": "string"
  22466. },
  22467. "unitid": {
  22468. "description": "品类单位ID",
  22469. "type": "integer"
  22470. },
  22471. "updatetime": {
  22472. "description": "更新时间",
  22473. "type": "string"
  22474. },
  22475. "wrstandardcode": {
  22476. "description": "品类代码",
  22477. "type": "string"
  22478. },
  22479. "wrstandardid": {
  22480. "description": "品类ID(SEQ_WRSTANDARD)",
  22481. "type": "integer"
  22482. },
  22483. "wrstandardname": {
  22484. "description": "品类名称",
  22485. "type": "string"
  22486. }
  22487. }
  22488. },
  22489. "models.ErmcpBizGroupEx": {
  22490. "type": "object",
  22491. "properties": {
  22492. "acclist": {
  22493. "description": "账号列表",
  22494. "type": "array",
  22495. "items": {
  22496. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  22497. }
  22498. },
  22499. "bizgroupid": {
  22500. "description": "业务分组id",
  22501. "type": "integer"
  22502. },
  22503. "biztype": {
  22504. "description": "业务类型 1-套保 2-套利",
  22505. "type": "integer"
  22506. },
  22507. "wrlist": {
  22508. "description": "现货商品表",
  22509. "type": "array",
  22510. "items": {
  22511. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  22512. }
  22513. }
  22514. }
  22515. },
  22516. "models.ErmcpBizGroupSpotGoods": {
  22517. "type": "object",
  22518. "properties": {
  22519. "areauserid": {
  22520. "description": "所属机构id",
  22521. "type": "integer"
  22522. },
  22523. "bizgroupid": {
  22524. "description": "分组id",
  22525. "type": "integer"
  22526. },
  22527. "biztype": {
  22528. "description": "业务类型 1-套保 2-套利",
  22529. "type": "integer"
  22530. },
  22531. "deliverygoodscode": {
  22532. "description": "现货商品代码",
  22533. "type": "string"
  22534. },
  22535. "deliverygoodsid": {
  22536. "description": "现货商品id",
  22537. "type": "integer"
  22538. },
  22539. "deliverygoodsname": {
  22540. "description": "现货商品名称",
  22541. "type": "string"
  22542. },
  22543. "unitid": {
  22544. "description": "现货商品单位id",
  22545. "type": "integer"
  22546. }
  22547. }
  22548. },
  22549. "models.ErmcpBizGroupTaAccount": {
  22550. "type": "object",
  22551. "properties": {
  22552. "accountid": {
  22553. "description": "账号id",
  22554. "type": "integer"
  22555. },
  22556. "accountname": {
  22557. "description": "账号名称",
  22558. "type": "string"
  22559. },
  22560. "areauserid": {
  22561. "description": "所属机构id",
  22562. "type": "integer"
  22563. },
  22564. "bizgroupid": {
  22565. "description": "业务分组id",
  22566. "type": "integer"
  22567. },
  22568. "ismain": {
  22569. "description": "是否主账号 1-是 0-否",
  22570. "type": "integer"
  22571. }
  22572. }
  22573. },
  22574. "models.ErmcpDGFactoryItem": {
  22575. "type": "object",
  22576. "properties": {
  22577. "areauserid": {
  22578. "description": "用户id",
  22579. "type": "integer"
  22580. },
  22581. "deliverygoodsid": {
  22582. "description": "现货品种ID",
  22583. "type": "integer"
  22584. },
  22585. "dgfactoryitemid": {
  22586. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  22587. "type": "integer"
  22588. },
  22589. "dgfactoryitemtypeid": {
  22590. "description": "要素项类型",
  22591. "type": "integer"
  22592. },
  22593. "dgfactoryitemvalue": {
  22594. "description": "要素项值(类型为仓库时填写仓库名称)",
  22595. "type": "string"
  22596. },
  22597. "isvalid": {
  22598. "description": "是否有效 - 0:无效 1:有效",
  22599. "type": "integer"
  22600. },
  22601. "orderindex": {
  22602. "description": "顺序",
  22603. "type": "integer"
  22604. },
  22605. "warehouseid": {
  22606. "description": "仓库ID(类型为仓库时填写)",
  22607. "type": "integer"
  22608. }
  22609. }
  22610. },
  22611. "models.ErmcpDeliveryGoods": {
  22612. "type": "object",
  22613. "properties": {
  22614. "agreeunit": {
  22615. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  22616. "type": "integer"
  22617. },
  22618. "areauserid": {
  22619. "description": "所属机构",
  22620. "type": "integer"
  22621. },
  22622. "auditflag": {
  22623. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  22624. "type": "integer"
  22625. },
  22626. "categoryid": {
  22627. "description": "类别ID(SEQ_WRCATEGORY)",
  22628. "type": "integer"
  22629. },
  22630. "deliverygoodscode": {
  22631. "description": "现货品种代码",
  22632. "type": "string"
  22633. },
  22634. "deliverygoodsid": {
  22635. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  22636. "type": "integer"
  22637. },
  22638. "deliverygoodsname": {
  22639. "description": "现货品种名称",
  22640. "type": "string"
  22641. },
  22642. "deliverygoodstype": {
  22643. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  22644. "type": "integer"
  22645. },
  22646. "dgstatus": {
  22647. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  22648. "type": "integer"
  22649. },
  22650. "enumdicname": {
  22651. "description": "现货品种单位名称",
  22652. "type": "string"
  22653. },
  22654. "goodsunitid": {
  22655. "description": "现货品种单位ID",
  22656. "type": "integer"
  22657. },
  22658. "isvalid": {
  22659. "description": "是否有效 - 0:无效 1:有效",
  22660. "type": "integer"
  22661. },
  22662. "qtydecimalplace": {
  22663. "description": "成交量小数位",
  22664. "type": "integer"
  22665. },
  22666. "remark": {
  22667. "description": "备注",
  22668. "type": "string"
  22669. },
  22670. "standardqty": {
  22671. "description": "标准数量(库位数量) [标准品特有]",
  22672. "type": "integer"
  22673. },
  22674. "standardqtyrange": {
  22675. "description": "标准数量偏差范围 [标准品特有]",
  22676. "type": "integer"
  22677. }
  22678. }
  22679. },
  22680. "models.ErmcpFuturesCompany": {
  22681. "type": "object",
  22682. "properties": {
  22683. "brokerid": {
  22684. "description": "经纪公司代码",
  22685. "type": "string"
  22686. },
  22687. "channeladdress": {
  22688. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  22689. "type": "string"
  22690. },
  22691. "channelid": {
  22692. "description": "对冲渠道ID",
  22693. "type": "string"
  22694. },
  22695. "createtime": {
  22696. "description": "创建时间",
  22697. "type": "string"
  22698. },
  22699. "creatorid": {
  22700. "description": "创建人",
  22701. "type": "string"
  22702. },
  22703. "fcid": {
  22704. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  22705. "type": "integer"
  22706. },
  22707. "fcname": {
  22708. "description": "期货公司名称",
  22709. "type": "string"
  22710. },
  22711. "isvalid": {
  22712. "description": "是否有效 - 0:无效 1:有效",
  22713. "type": "integer"
  22714. },
  22715. "mhpaddress": {
  22716. "description": "MHP服务地址(IP:Port)",
  22717. "type": "string"
  22718. },
  22719. "riskrulegroupid": {
  22720. "description": "风控规则组ID",
  22721. "type": "string"
  22722. },
  22723. "tradefeetmpid": {
  22724. "description": "手续费模板ID[TradeConfigTmpType为2]",
  22725. "type": "string"
  22726. },
  22727. "trademargintmpid": {
  22728. "description": "保证金模板ID [TradeConfigTmpType为1]",
  22729. "type": "string"
  22730. },
  22731. "traderatetmpid": {
  22732. "description": "汇率模板ID[TradeConfigTmpType为3]",
  22733. "type": "string"
  22734. },
  22735. "updatetime": {
  22736. "description": "更新时间",
  22737. "type": "string"
  22738. },
  22739. "updatorid": {
  22740. "description": "更新人",
  22741. "type": "string"
  22742. }
  22743. }
  22744. },
  22745. "models.ErmcpGGConvertCfg": {
  22746. "type": "object",
  22747. "properties": {
  22748. "convertratio": {
  22749. "description": "折算系数",
  22750. "type": "number"
  22751. },
  22752. "destgoodsgroupid": {
  22753. "description": "目标品种ID",
  22754. "type": "integer"
  22755. },
  22756. "dstcode": {
  22757. "description": "目录品种代码",
  22758. "type": "string"
  22759. },
  22760. "dstexchangecode": {
  22761. "description": "目标期货交易所",
  22762. "type": "string"
  22763. },
  22764. "dstname": {
  22765. "description": "目标品种名称",
  22766. "type": "string"
  22767. },
  22768. "dstunitid": {
  22769. "description": "目标品种单位ID",
  22770. "type": "integer"
  22771. },
  22772. "dstunitidname": {
  22773. "description": "目标品种单位名称",
  22774. "type": "string"
  22775. },
  22776. "modifytime": {
  22777. "description": "修改时间",
  22778. "type": "string"
  22779. },
  22780. "srccode": {
  22781. "description": "源品种代码",
  22782. "type": "string"
  22783. },
  22784. "srcexchangecode": {
  22785. "description": "源期货交易所",
  22786. "type": "string"
  22787. },
  22788. "srcgoodsgroupid": {
  22789. "description": "源品种ID",
  22790. "type": "integer"
  22791. },
  22792. "srcname": {
  22793. "description": "源品种名称",
  22794. "type": "string"
  22795. },
  22796. "srcunitid": {
  22797. "description": "源品种单位ID",
  22798. "type": "integer"
  22799. },
  22800. "srcunitidname": {
  22801. "description": "源品种单位名称",
  22802. "type": "string"
  22803. }
  22804. }
  22805. },
  22806. "models.ErmcpGoods": {
  22807. "type": "object",
  22808. "required": [
  22809. "goodscode",
  22810. "goodsid",
  22811. "goodsname",
  22812. "marketid"
  22813. ],
  22814. "properties": {
  22815. "agreeunit": {
  22816. "description": "合约单位",
  22817. "type": "number"
  22818. },
  22819. "areauserid": {
  22820. "description": "所属机构",
  22821. "type": "integer"
  22822. },
  22823. "auditaccountid": {
  22824. "description": "审核操作员账号",
  22825. "type": "integer"
  22826. },
  22827. "audittime": {
  22828. "description": "审核时间",
  22829. "type": "string"
  22830. },
  22831. "cancelaccountid": {
  22832. "description": "注销操作员账号",
  22833. "type": "integer"
  22834. },
  22835. "canceltime": {
  22836. "description": "注销时间",
  22837. "type": "string"
  22838. },
  22839. "closepricemode": {
  22840. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22841. "type": "integer"
  22842. },
  22843. "closepriceparam": {
  22844. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  22845. "type": "number"
  22846. },
  22847. "createtime": {
  22848. "description": "创建时间",
  22849. "type": "string"
  22850. },
  22851. "creatorid": {
  22852. "description": "创建人",
  22853. "type": "integer"
  22854. },
  22855. "currencyid": {
  22856. "description": "报价货币ID",
  22857. "type": "integer"
  22858. },
  22859. "cutmode": {
  22860. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22861. "type": "integer"
  22862. },
  22863. "decimalplace": {
  22864. "description": "报价小数位",
  22865. "type": "integer"
  22866. },
  22867. "delistingdate": {
  22868. "description": "商品退市时间(状态:退市) -- 已作废",
  22869. "type": "string"
  22870. },
  22871. "delistingmode": {
  22872. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22873. "type": "integer"
  22874. },
  22875. "deliveryflag": {
  22876. "description": "交割标志 - 0:不可交割 1:可交割",
  22877. "type": "integer"
  22878. },
  22879. "enumdicname": {
  22880. "description": "单位名称",
  22881. "type": "string"
  22882. },
  22883. "forceclosemode": {
  22884. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22885. "type": "integer"
  22886. },
  22887. "forceclosevalue": {
  22888. "description": "定期强平参数 [收益权]",
  22889. "type": "integer"
  22890. },
  22891. "goodscode": {
  22892. "description": "商品代码(内部)",
  22893. "type": "string"
  22894. },
  22895. "goodscurrencyid": {
  22896. "description": "合约货币ID",
  22897. "type": "integer"
  22898. },
  22899. "goodsgroupid": {
  22900. "description": "所属商品组ID",
  22901. "type": "integer"
  22902. },
  22903. "goodsid": {
  22904. "description": "商品ID(自增ID SEQ_GOODS)",
  22905. "type": "integer"
  22906. },
  22907. "goodsname": {
  22908. "description": "商品名称",
  22909. "type": "string"
  22910. },
  22911. "goodsquotetype": {
  22912. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22913. "type": "integer"
  22914. },
  22915. "goodsstatus": {
  22916. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22917. "type": "integer"
  22918. },
  22919. "goodstradetype": {
  22920. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22921. "type": "integer"
  22922. },
  22923. "goodunitid": {
  22924. "description": "报价单位ID",
  22925. "type": "integer"
  22926. },
  22927. "hasquoter": {
  22928. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  22929. "type": "integer"
  22930. },
  22931. "hqprotecttime": {
  22932. "description": "行情保护时间(秒)",
  22933. "type": "integer"
  22934. },
  22935. "innerdealmode": {
  22936. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22937. "type": "integer"
  22938. },
  22939. "isbuylimited": {
  22940. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22941. "type": "integer"
  22942. },
  22943. "isvisible": {
  22944. "description": "游客是否可见 - 0:不可见 1:可见",
  22945. "type": "integer"
  22946. },
  22947. "lasttradedate": {
  22948. "description": "最后交易日期(状态:待退市)",
  22949. "type": "string"
  22950. },
  22951. "listingdate": {
  22952. "description": "交易开始日期",
  22953. "type": "string"
  22954. },
  22955. "marketid": {
  22956. "description": "所属市场ID",
  22957. "type": "integer"
  22958. },
  22959. "modifierid": {
  22960. "description": "修改人",
  22961. "type": "integer"
  22962. },
  22963. "modifystatus": {
  22964. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  22965. "type": "integer"
  22966. },
  22967. "modifytime": {
  22968. "description": "修改时间",
  22969. "type": "string"
  22970. },
  22971. "outerdealmode": {
  22972. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22973. "type": "integer"
  22974. },
  22975. "outgoodscode": {
  22976. "description": "商品代码(外部)",
  22977. "type": "string"
  22978. },
  22979. "pictureurl": {
  22980. "description": "商品图片",
  22981. "type": "string"
  22982. },
  22983. "qtydecimalplace": {
  22984. "description": "成交量小数位",
  22985. "type": "integer"
  22986. },
  22987. "quotegear": {
  22988. "description": "行情档位(1-10)",
  22989. "type": "integer"
  22990. },
  22991. "quoteminunit": {
  22992. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22993. "type": "integer"
  22994. },
  22995. "quoteshowtype": {
  22996. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  22997. "type": "integer"
  22998. },
  22999. "quoteshowtypeinterval": {
  23000. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23001. "type": "integer"
  23002. },
  23003. "relatedgoodsid": {
  23004. "description": "关联参考商品ID",
  23005. "type": "integer"
  23006. },
  23007. "remark": {
  23008. "description": "备注",
  23009. "type": "string"
  23010. },
  23011. "trademode": {
  23012. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23013. "type": "integer"
  23014. }
  23015. }
  23016. },
  23017. "models.ErmcpGoodsBrand": {
  23018. "type": "object",
  23019. "properties": {
  23020. "areauserid": {
  23021. "description": "所属机构",
  23022. "type": "integer"
  23023. },
  23024. "brandid": {
  23025. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  23026. "type": "integer"
  23027. },
  23028. "brandname": {
  23029. "description": "品牌名称",
  23030. "type": "string"
  23031. },
  23032. "createtime": {
  23033. "description": "创建时间",
  23034. "type": "string"
  23035. },
  23036. "creatorid": {
  23037. "description": "创建人",
  23038. "type": "integer"
  23039. },
  23040. "creatorsrc": {
  23041. "description": "创建人来源 - 1:管理端 2:终端",
  23042. "type": "integer"
  23043. },
  23044. "deliverygoodsid": {
  23045. "description": "现货品种ID",
  23046. "type": "integer"
  23047. },
  23048. "isvalid": {
  23049. "description": "是否有效 - 0:无效 1:有效",
  23050. "type": "integer"
  23051. },
  23052. "updatetime": {
  23053. "description": "更新时间",
  23054. "type": "string"
  23055. },
  23056. "updatorid": {
  23057. "description": "更新人",
  23058. "type": "integer"
  23059. },
  23060. "updatorsrc": {
  23061. "description": "更新人来源 - 1:管理端 2:终端",
  23062. "type": "integer"
  23063. },
  23064. "wrstandardid": {
  23065. "description": "现货商品ID",
  23066. "type": "integer"
  23067. }
  23068. }
  23069. },
  23070. "models.ErmcpGoodsModel": {
  23071. "type": "object",
  23072. "properties": {
  23073. "areauserid": {
  23074. "description": "所属机构",
  23075. "type": "integer"
  23076. },
  23077. "convertfactor": {
  23078. "description": "标仓系数",
  23079. "type": "number"
  23080. },
  23081. "createtime": {
  23082. "description": "创建时间",
  23083. "type": "string"
  23084. },
  23085. "creatorid": {
  23086. "description": "创建人",
  23087. "type": "integer"
  23088. },
  23089. "creatorsrc": {
  23090. "description": "创建人来源 - 1:管理端 2:终端",
  23091. "type": "integer"
  23092. },
  23093. "deliverygoodsid": {
  23094. "description": "现货品种ID",
  23095. "type": "integer"
  23096. },
  23097. "isvalid": {
  23098. "description": "是否有效 - 0:无效 1:有效",
  23099. "type": "integer"
  23100. },
  23101. "modelid": {
  23102. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  23103. "type": "integer"
  23104. },
  23105. "modelname": {
  23106. "description": "型号名称",
  23107. "type": "string"
  23108. },
  23109. "updatetime": {
  23110. "description": "更新时间",
  23111. "type": "string"
  23112. },
  23113. "updatorid": {
  23114. "description": "更新人",
  23115. "type": "integer"
  23116. },
  23117. "updatorsrc": {
  23118. "description": "更新人来源 - 1:管理端 2:终端",
  23119. "type": "integer"
  23120. },
  23121. "wrstandardid": {
  23122. "description": "现货商品ID",
  23123. "type": "integer"
  23124. }
  23125. }
  23126. },
  23127. "models.ErmcpHisExposure": {
  23128. "type": "object",
  23129. "properties": {
  23130. "needhedgeexposoure": {
  23131. "description": "应套保敞口",
  23132. "type": "number"
  23133. },
  23134. "reckondate": {
  23135. "description": "日照时期(yyyyMMdd)",
  23136. "type": "string"
  23137. },
  23138. "totalexposure": {
  23139. "description": "总敞口",
  23140. "type": "number"
  23141. }
  23142. }
  23143. },
  23144. "models.ErmcpLoginTaAccount": {
  23145. "type": "object",
  23146. "properties": {
  23147. "accountid": {
  23148. "description": "账号id",
  23149. "type": "integer"
  23150. },
  23151. "accountname": {
  23152. "description": "账号名称",
  23153. "type": "string"
  23154. }
  23155. }
  23156. },
  23157. "models.ErmcpLoginUser": {
  23158. "type": "object",
  23159. "properties": {
  23160. "acclist": {
  23161. "description": "关联资金账号",
  23162. "type": "array",
  23163. "items": {
  23164. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  23165. }
  23166. },
  23167. "accountname": {
  23168. "description": "用户名称",
  23169. "type": "string"
  23170. },
  23171. "clientroleid": {
  23172. "description": "角色id(usertype=2)",
  23173. "type": "integer"
  23174. },
  23175. "createtime": {
  23176. "description": "创建时间",
  23177. "type": "string"
  23178. },
  23179. "logincode": {
  23180. "description": "登录代码",
  23181. "type": "string"
  23182. },
  23183. "loginid": {
  23184. "description": "登录id(LOGINID)",
  23185. "type": "integer"
  23186. },
  23187. "loginname": {
  23188. "description": "登录名称(loginaccount表中的accountname字段)",
  23189. "type": "string"
  23190. },
  23191. "loginstatus": {
  23192. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  23193. "type": "integer"
  23194. },
  23195. "memberuserid": {
  23196. "description": "所属会员id",
  23197. "type": "integer"
  23198. },
  23199. "mobile": {
  23200. "description": "手机号",
  23201. "type": "string"
  23202. },
  23203. "modifytime": {
  23204. "description": "修改时间",
  23205. "type": "string"
  23206. },
  23207. "password": {
  23208. "description": "密码(不可解密)",
  23209. "type": "string"
  23210. },
  23211. "rolename": {
  23212. "description": "角色名称",
  23213. "type": "string"
  23214. },
  23215. "rolestatus": {
  23216. "description": "角色状态 1-启用 2-停用",
  23217. "type": "integer"
  23218. },
  23219. "roletype": {
  23220. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  23221. "type": "string"
  23222. },
  23223. "userid": {
  23224. "description": "用户id",
  23225. "type": "integer"
  23226. },
  23227. "usertype": {
  23228. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23229. "type": "integer"
  23230. }
  23231. }
  23232. },
  23233. "models.ErmcpLoginUserEx": {
  23234. "type": "object",
  23235. "properties": {
  23236. "accountstatus": {
  23237. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23238. "type": "integer"
  23239. },
  23240. "mobile": {
  23241. "description": "手机号",
  23242. "type": "string"
  23243. },
  23244. "querytype": {
  23245. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  23246. "type": "integer"
  23247. },
  23248. "roleid": {
  23249. "description": "角色id(交易账户-\u003e用户id)",
  23250. "type": "integer"
  23251. },
  23252. "rolename": {
  23253. "description": "角色名称(交易账户-\u003e用户名称)",
  23254. "type": "string"
  23255. },
  23256. "userlist": {
  23257. "description": "用户列表",
  23258. "type": "array",
  23259. "items": {
  23260. "$ref": "#/definitions/models.ErmcpLoginUser"
  23261. }
  23262. },
  23263. "usertype": {
  23264. "description": "用户类型 2-机构 7-企业成员(云平台)",
  23265. "type": "integer"
  23266. }
  23267. }
  23268. },
  23269. "models.ErmcpMiddleGoodsModel": {
  23270. "type": "object",
  23271. "properties": {
  23272. "areauserid": {
  23273. "description": "机构用户ID",
  23274. "type": "integer"
  23275. },
  23276. "createtime": {
  23277. "description": "修改时间",
  23278. "type": "string"
  23279. },
  23280. "enumdicname": {
  23281. "description": "单位名称",
  23282. "type": "string"
  23283. },
  23284. "evaluateratio": {
  23285. "description": "估价系数",
  23286. "type": "number"
  23287. },
  23288. "goodsgroupid": {
  23289. "description": "关联期货品种ID",
  23290. "type": "integer"
  23291. },
  23292. "goodsunitid": {
  23293. "description": "单位ID",
  23294. "type": "integer"
  23295. },
  23296. "isvalid": {
  23297. "description": "状态 0-无效(停用) 1-有效(正常)",
  23298. "type": "integer"
  23299. },
  23300. "middlegoodscode": {
  23301. "description": "套保品种代码",
  23302. "type": "string"
  23303. },
  23304. "middlegoodsid": {
  23305. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23306. "type": "integer"
  23307. },
  23308. "middlegoodsname": {
  23309. "description": "套保品种名称",
  23310. "type": "string"
  23311. },
  23312. "modifytime": {
  23313. "description": "修改时间",
  23314. "type": "string"
  23315. },
  23316. "needarbitrageratio": {
  23317. "description": "套利比例",
  23318. "type": "number"
  23319. },
  23320. "needhedgeratio": {
  23321. "description": "套保比率",
  23322. "type": "number"
  23323. },
  23324. "qtydecimalplace": {
  23325. "description": "数量小数位",
  23326. "type": "integer"
  23327. },
  23328. "relatedgoodsid": {
  23329. "description": "关联交易商品ID",
  23330. "type": "integer"
  23331. },
  23332. "relatedgoodstype": {
  23333. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  23334. "type": "integer"
  23335. },
  23336. "remark": {
  23337. "description": "备注",
  23338. "type": "string"
  23339. }
  23340. }
  23341. },
  23342. "models.ErmcpMiddlegoodsRelateGoods": {
  23343. "type": "object",
  23344. "properties": {
  23345. "agreeunit": {
  23346. "description": "合约乘数",
  23347. "type": "number"
  23348. },
  23349. "convertratio": {
  23350. "description": "折算系数",
  23351. "type": "number"
  23352. },
  23353. "enumdicname": {
  23354. "description": "单位名称(交易商品)",
  23355. "type": "string"
  23356. },
  23357. "goodscode": {
  23358. "description": "交易商品代码",
  23359. "type": "string"
  23360. },
  23361. "goodsgroupid": {
  23362. "description": "交易品种id",
  23363. "type": "integer"
  23364. },
  23365. "goodsid": {
  23366. "description": "商品Id",
  23367. "type": "integer"
  23368. },
  23369. "goodsname": {
  23370. "description": "交易商品名称",
  23371. "type": "string"
  23372. },
  23373. "goodunitid": {
  23374. "description": "交易商品单位id",
  23375. "type": "integer"
  23376. },
  23377. "middlegoodsid": {
  23378. "description": "套保商品id",
  23379. "type": "integer"
  23380. },
  23381. "middlegoodsname": {
  23382. "description": "套保商品名称",
  23383. "type": "string"
  23384. },
  23385. "middlegoodsswcode": {
  23386. "description": "套保商品代码",
  23387. "type": "string"
  23388. },
  23389. "needarbitrageratio": {
  23390. "description": "应套利比例",
  23391. "type": "number"
  23392. },
  23393. "needhedgeratio": {
  23394. "description": "应套保比例",
  23395. "type": "number"
  23396. }
  23397. }
  23398. },
  23399. "models.ErmcpRole": {
  23400. "type": "object",
  23401. "properties": {
  23402. "areauserid": {
  23403. "description": "所属机构",
  23404. "type": "integer"
  23405. },
  23406. "autoid": {
  23407. "description": "角色ID(自增ID)",
  23408. "type": "integer"
  23409. },
  23410. "modifierid": {
  23411. "description": "修改人(创建人)",
  23412. "type": "integer"
  23413. },
  23414. "modifiername": {
  23415. "description": "修改人名称",
  23416. "type": "string"
  23417. },
  23418. "modifytime": {
  23419. "description": "修改时间(创建时间)",
  23420. "type": "string"
  23421. },
  23422. "rolename": {
  23423. "description": "角色名称",
  23424. "type": "string"
  23425. },
  23426. "rolestatus": {
  23427. "description": "角色状态 - 1:启用 2:停用",
  23428. "type": "integer"
  23429. },
  23430. "roletype": {
  23431. "description": "角色类型 - 1- 管理端 2- 交易端",
  23432. "type": "integer"
  23433. }
  23434. }
  23435. },
  23436. "models.ErmcpRoleMenu": {
  23437. "type": "object",
  23438. "properties": {
  23439. "iconame": {
  23440. "description": "菜单图标",
  23441. "type": "string"
  23442. },
  23443. "ishadrole": {
  23444. "description": "是否有权限",
  23445. "type": "boolean"
  23446. },
  23447. "menutype": {
  23448. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  23449. "type": "integer"
  23450. },
  23451. "parentcode": {
  23452. "description": "上级资源代码",
  23453. "type": "string"
  23454. },
  23455. "remark": {
  23456. "description": "菜单备注",
  23457. "type": "string"
  23458. },
  23459. "resourcecode": {
  23460. "description": "菜单代码",
  23461. "type": "string"
  23462. },
  23463. "resourcelevel": {
  23464. "description": "级别",
  23465. "type": "integer"
  23466. },
  23467. "resourcename": {
  23468. "description": "菜单名称",
  23469. "type": "string"
  23470. },
  23471. "roleid": {
  23472. "description": "角色id",
  23473. "type": "integer"
  23474. },
  23475. "sort": {
  23476. "description": "排序",
  23477. "type": "integer"
  23478. },
  23479. "url": {
  23480. "description": "URL",
  23481. "type": "string"
  23482. },
  23483. "userid": {
  23484. "description": "用户id",
  23485. "type": "integer"
  23486. }
  23487. }
  23488. },
  23489. "models.ErmcpRoleMenuEx": {
  23490. "type": "object",
  23491. "properties": {
  23492. "menu": {
  23493. "description": "父级菜单",
  23494. "$ref": "#/definitions/models.ErmcpRoleMenu"
  23495. },
  23496. "subMenu": {
  23497. "description": "子级菜单",
  23498. "type": "array",
  23499. "items": {
  23500. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  23501. }
  23502. }
  23503. }
  23504. },
  23505. "models.ErmcpTaAccount": {
  23506. "type": "object",
  23507. "properties": {
  23508. "accountid": {
  23509. "description": "账户id",
  23510. "type": "integer"
  23511. },
  23512. "accountname": {
  23513. "description": "账户名称",
  23514. "type": "string"
  23515. },
  23516. "currencyid": {
  23517. "description": "币种id",
  23518. "type": "integer"
  23519. },
  23520. "hedgeaccountcode": {
  23521. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  23522. "type": "string"
  23523. },
  23524. "ismain": {
  23525. "description": "是否主账户 0-否 1-是",
  23526. "type": "integer"
  23527. },
  23528. "parentaccountid": {
  23529. "description": "父账户id",
  23530. "type": "integer"
  23531. },
  23532. "relateduserid": {
  23533. "description": "关联userid",
  23534. "type": "integer"
  23535. },
  23536. "tradefeetmpid": {
  23537. "description": "手续费模板id",
  23538. "type": "integer"
  23539. },
  23540. "tradefeetmpname": {
  23541. "description": "手续费模板名称",
  23542. "type": "string"
  23543. },
  23544. "trademargintmpid": {
  23545. "description": "保证金模板id",
  23546. "type": "integer"
  23547. },
  23548. "trademargintmpname": {
  23549. "description": "保证金模板名称",
  23550. "type": "string"
  23551. },
  23552. "traderatetmpid": {
  23553. "description": "汇率模板id",
  23554. "type": "integer"
  23555. },
  23556. "traderatetmpname": {
  23557. "description": "汇率模板名称",
  23558. "type": "string"
  23559. },
  23560. "tradestatus": {
  23561. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23562. "type": "integer"
  23563. },
  23564. "userid": {
  23565. "description": "用户id",
  23566. "type": "integer"
  23567. }
  23568. }
  23569. },
  23570. "models.ErmcpTaAccountEx": {
  23571. "type": "object",
  23572. "properties": {
  23573. "mainAcc": {
  23574. "description": "主账号",
  23575. "$ref": "#/definitions/models.ErmcpTaAccountM"
  23576. },
  23577. "subacclist": {
  23578. "description": "子账号列表",
  23579. "type": "array",
  23580. "items": {
  23581. "$ref": "#/definitions/models.ErmcpTaAccount"
  23582. }
  23583. }
  23584. }
  23585. },
  23586. "models.ErmcpTaAccountInfo": {
  23587. "type": "object",
  23588. "properties": {
  23589. "accountid": {
  23590. "description": "资金账户ID",
  23591. "type": "integer"
  23592. },
  23593. "accountname": {
  23594. "description": "账户名称",
  23595. "type": "string"
  23596. },
  23597. "balance": {
  23598. "description": "期初余额",
  23599. "type": "number"
  23600. },
  23601. "capitalbalance": {
  23602. "description": "本金余额[外部子账户实际出入金余额]",
  23603. "type": "number"
  23604. },
  23605. "closepl": {
  23606. "description": "今日平仓盈亏",
  23607. "type": "number"
  23608. },
  23609. "creditdecrease": {
  23610. "description": "今日授信减少",
  23611. "type": "number"
  23612. },
  23613. "creditincrease": {
  23614. "description": "今日授信增加",
  23615. "type": "number"
  23616. },
  23617. "curdebt": {
  23618. "description": "期末欠款",
  23619. "type": "number"
  23620. },
  23621. "currencyid": {
  23622. "description": "货币ID",
  23623. "type": "integer"
  23624. },
  23625. "currentbalance": {
  23626. "description": "期末余额",
  23627. "type": "number"
  23628. },
  23629. "freezecharge": {
  23630. "description": "手续费冻结",
  23631. "type": "number"
  23632. },
  23633. "freezemargin": {
  23634. "description": "冻结保证金",
  23635. "type": "number"
  23636. },
  23637. "fromaccountid": {
  23638. "description": "所属上级账户",
  23639. "type": "integer"
  23640. },
  23641. "inamount": {
  23642. "description": "今日入金金额(包括三方入金)",
  23643. "type": "number"
  23644. },
  23645. "ismain": {
  23646. "description": "是否母账号 0:不是母账户 1:是母账户",
  23647. "type": "integer"
  23648. },
  23649. "mortgagecredit": {
  23650. "description": "授信金额",
  23651. "type": "number"
  23652. },
  23653. "oridebt": {
  23654. "description": "期初欠款",
  23655. "type": "number"
  23656. },
  23657. "orifreezecharge": {
  23658. "description": "期初手续费冻结",
  23659. "type": "number"
  23660. },
  23661. "orifreezemargin": {
  23662. "description": "期初冻结保证金",
  23663. "type": "number"
  23664. },
  23665. "orimortgagecredit": {
  23666. "description": "期初授信金额",
  23667. "type": "number"
  23668. },
  23669. "oriothercredit": {
  23670. "description": "期初其它授信金额",
  23671. "type": "number"
  23672. },
  23673. "oriotherfreezemargin": {
  23674. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  23675. "type": "number"
  23676. },
  23677. "orioutamountfreeze": {
  23678. "description": "期初出金冻结",
  23679. "type": "number"
  23680. },
  23681. "oriusedmargin": {
  23682. "description": "期初占用保证金",
  23683. "type": "number"
  23684. },
  23685. "othercredit": {
  23686. "description": "其它授信金额",
  23687. "type": "number"
  23688. },
  23689. "othercreditdecrease": {
  23690. "description": "今日其它授信减少",
  23691. "type": "number"
  23692. },
  23693. "othercreditincrease": {
  23694. "description": "今日其它授信增加",
  23695. "type": "number"
  23696. },
  23697. "otherfreezemargin": {
  23698. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  23699. "type": "number"
  23700. },
  23701. "outamount": {
  23702. "description": "今日出金金额(包括三方出金)",
  23703. "type": "number"
  23704. },
  23705. "outamountfreeze": {
  23706. "description": "出金冻结",
  23707. "type": "number"
  23708. },
  23709. "outthreshold": {
  23710. "description": "出金阈值",
  23711. "type": "number"
  23712. },
  23713. "parentaccountid": {
  23714. "description": "所属根账号",
  23715. "type": "integer"
  23716. },
  23717. "paycharge": {
  23718. "description": "今日手续费支出",
  23719. "type": "number"
  23720. },
  23721. "relateduserid": {
  23722. "description": "关联用户",
  23723. "type": "integer"
  23724. },
  23725. "signstatus": {
  23726. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  23727. "type": "integer"
  23728. },
  23729. "sublevelpath": {
  23730. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  23731. "type": "string"
  23732. },
  23733. "taaccounttype": {
  23734. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  23735. "type": "integer"
  23736. },
  23737. "thirdinamount": {
  23738. "description": "今日三方入金",
  23739. "type": "number"
  23740. },
  23741. "thirdoutamount": {
  23742. "description": "今日三方出金",
  23743. "type": "number"
  23744. },
  23745. "tradestatus": {
  23746. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23747. "type": "integer"
  23748. },
  23749. "transferamount": {
  23750. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  23751. "type": "number"
  23752. },
  23753. "usedmargin": {
  23754. "description": "占用保证金",
  23755. "type": "number"
  23756. },
  23757. "userid": {
  23758. "description": "用户ID",
  23759. "type": "integer"
  23760. }
  23761. }
  23762. },
  23763. "models.ErmcpTaAccountM": {
  23764. "type": "object",
  23765. "properties": {
  23766. "accountid": {
  23767. "description": "账户id",
  23768. "type": "integer"
  23769. },
  23770. "accountname": {
  23771. "description": "账户名称",
  23772. "type": "string"
  23773. },
  23774. "currencyid": {
  23775. "description": "币种id",
  23776. "type": "integer"
  23777. },
  23778. "fcid": {
  23779. "description": "期货公司id",
  23780. "type": "integer"
  23781. },
  23782. "fcname": {
  23783. "description": "期货公司代码",
  23784. "type": "string"
  23785. },
  23786. "hedgeaccountcode": {
  23787. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  23788. "type": "string"
  23789. },
  23790. "ismain": {
  23791. "description": "是否主账户 0-否 1-是",
  23792. "type": "integer"
  23793. },
  23794. "parentaccountid": {
  23795. "description": "父账户id",
  23796. "type": "integer"
  23797. },
  23798. "relateduserid": {
  23799. "description": "关联userid",
  23800. "type": "integer"
  23801. },
  23802. "tradefeetmpid": {
  23803. "description": "手续费模板id",
  23804. "type": "integer"
  23805. },
  23806. "tradefeetmpname": {
  23807. "description": "手续费模板名称",
  23808. "type": "string"
  23809. },
  23810. "trademargintmpid": {
  23811. "description": "保证金模板id",
  23812. "type": "integer"
  23813. },
  23814. "trademargintmpname": {
  23815. "description": "保证金模板名称",
  23816. "type": "string"
  23817. },
  23818. "traderatetmpid": {
  23819. "description": "汇率模板id",
  23820. "type": "integer"
  23821. },
  23822. "traderatetmpname": {
  23823. "description": "汇率模板名称",
  23824. "type": "string"
  23825. },
  23826. "tradestatus": {
  23827. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23828. "type": "integer"
  23829. },
  23830. "userid": {
  23831. "description": "用户id",
  23832. "type": "integer"
  23833. }
  23834. }
  23835. },
  23836. "models.ErmcpTradeConfigTMP": {
  23837. "type": "object",
  23838. "properties": {
  23839. "areauserid": {
  23840. "description": "所属机构",
  23841. "type": "integer"
  23842. },
  23843. "basiccurrencyid": {
  23844. "description": "基本币种ID[汇率] - 目标币种",
  23845. "type": "integer"
  23846. },
  23847. "mainaccountid": {
  23848. "description": "主账户ID",
  23849. "type": "integer"
  23850. },
  23851. "modifierid": {
  23852. "description": "修改人",
  23853. "type": "integer"
  23854. },
  23855. "remark": {
  23856. "description": "备注",
  23857. "type": "string"
  23858. },
  23859. "tradeconfigtmpid": {
  23860. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  23861. "type": "integer"
  23862. },
  23863. "tradeconfigtmpname": {
  23864. "description": "交易配置模板名称",
  23865. "type": "string"
  23866. },
  23867. "tradeconfigtmptype": {
  23868. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  23869. "type": "integer"
  23870. },
  23871. "updatetime": {
  23872. "description": "更新时间",
  23873. "type": "string"
  23874. }
  23875. }
  23876. },
  23877. "models.Externalexchange": {
  23878. "type": "object",
  23879. "required": [
  23880. "autoid"
  23881. ],
  23882. "properties": {
  23883. "autoid": {
  23884. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  23885. "type": "integer"
  23886. },
  23887. "exchangefullname": {
  23888. "description": "外部交易所全称",
  23889. "type": "string"
  23890. },
  23891. "exexchangecode": {
  23892. "description": "外部交易所代码",
  23893. "type": "string"
  23894. },
  23895. "exexchangename": {
  23896. "description": "外部交易所名称(简称)",
  23897. "type": "string"
  23898. },
  23899. "ismarketprice": {
  23900. "description": "是否支持市价 - 0:不支持 1:支持",
  23901. "type": "integer"
  23902. },
  23903. "quotegear": {
  23904. "description": "行情档位(1-10)",
  23905. "type": "integer"
  23906. },
  23907. "showbrokerflag": {
  23908. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  23909. "type": "integer"
  23910. },
  23911. "updatetime": {
  23912. "description": "更新时间",
  23913. "type": "string"
  23914. }
  23915. }
  23916. },
  23917. "models.Funcmenulist": {
  23918. "type": "object",
  23919. "required": [
  23920. "resourcecode"
  23921. ],
  23922. "properties": {
  23923. "iconame": {
  23924. "description": "菜单图标",
  23925. "type": "string"
  23926. },
  23927. "menutype": {
  23928. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  23929. "type": "integer"
  23930. },
  23931. "parentcode": {
  23932. "description": "上级资源代码",
  23933. "type": "string"
  23934. },
  23935. "remark": {
  23936. "description": "备注",
  23937. "type": "string"
  23938. },
  23939. "resourcecode": {
  23940. "description": "资源代码",
  23941. "type": "string"
  23942. },
  23943. "resourcelevel": {
  23944. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  23945. "type": "integer"
  23946. },
  23947. "resourcename": {
  23948. "description": "资源名",
  23949. "type": "string"
  23950. },
  23951. "sort": {
  23952. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  23953. "type": "integer"
  23954. },
  23955. "url": {
  23956. "description": "URL",
  23957. "type": "string"
  23958. }
  23959. }
  23960. },
  23961. "models.Goods": {
  23962. "type": "object",
  23963. "required": [
  23964. "goodscode",
  23965. "goodsid",
  23966. "goodsname",
  23967. "marketid"
  23968. ],
  23969. "properties": {
  23970. "agreeunit": {
  23971. "description": "合约单位",
  23972. "type": "number"
  23973. },
  23974. "areauserid": {
  23975. "description": "所属机构",
  23976. "type": "integer"
  23977. },
  23978. "auditaccountid": {
  23979. "description": "审核操作员账号",
  23980. "type": "integer"
  23981. },
  23982. "audittime": {
  23983. "description": "审核时间",
  23984. "type": "string"
  23985. },
  23986. "cancelaccountid": {
  23987. "description": "注销操作员账号",
  23988. "type": "integer"
  23989. },
  23990. "canceltime": {
  23991. "description": "注销时间",
  23992. "type": "string"
  23993. },
  23994. "closepricemode": {
  23995. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23996. "type": "integer"
  23997. },
  23998. "closepriceparam": {
  23999. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24000. "type": "number"
  24001. },
  24002. "createtime": {
  24003. "description": "创建时间",
  24004. "type": "string"
  24005. },
  24006. "creatorid": {
  24007. "description": "创建人",
  24008. "type": "integer"
  24009. },
  24010. "currencyid": {
  24011. "description": "报价货币ID",
  24012. "type": "integer"
  24013. },
  24014. "cutmode": {
  24015. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24016. "type": "integer"
  24017. },
  24018. "decimalplace": {
  24019. "description": "报价小数位",
  24020. "type": "integer"
  24021. },
  24022. "delistingdate": {
  24023. "description": "商品退市时间(状态:退市) -- 已作废",
  24024. "type": "string"
  24025. },
  24026. "delistingmode": {
  24027. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24028. "type": "integer"
  24029. },
  24030. "deliveryflag": {
  24031. "description": "交割标志 - 0:不可交割 1:可交割",
  24032. "type": "integer"
  24033. },
  24034. "forceclosemode": {
  24035. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24036. "type": "integer"
  24037. },
  24038. "forceclosevalue": {
  24039. "description": "定期强平参数 [收益权]",
  24040. "type": "integer"
  24041. },
  24042. "goodscode": {
  24043. "description": "商品代码(内部)",
  24044. "type": "string"
  24045. },
  24046. "goodscurrencyid": {
  24047. "description": "合约货币ID",
  24048. "type": "integer"
  24049. },
  24050. "goodsgroupid": {
  24051. "description": "所属商品组ID",
  24052. "type": "integer"
  24053. },
  24054. "goodsid": {
  24055. "description": "商品ID(自增ID SEQ_GOODS)",
  24056. "type": "integer"
  24057. },
  24058. "goodsname": {
  24059. "description": "商品名称",
  24060. "type": "string"
  24061. },
  24062. "goodsquotetype": {
  24063. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24064. "type": "integer"
  24065. },
  24066. "goodsstatus": {
  24067. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24068. "type": "integer"
  24069. },
  24070. "goodstradetype": {
  24071. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24072. "type": "integer"
  24073. },
  24074. "goodunitid": {
  24075. "description": "报价单位ID",
  24076. "type": "integer"
  24077. },
  24078. "hasquoter": {
  24079. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24080. "type": "integer"
  24081. },
  24082. "hqprotecttime": {
  24083. "description": "行情保护时间(秒)",
  24084. "type": "integer"
  24085. },
  24086. "innerdealmode": {
  24087. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24088. "type": "integer"
  24089. },
  24090. "isbuylimited": {
  24091. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24092. "type": "integer"
  24093. },
  24094. "isvisible": {
  24095. "description": "游客是否可见 - 0:不可见 1:可见",
  24096. "type": "integer"
  24097. },
  24098. "lasttradedate": {
  24099. "description": "最后交易日期(状态:待退市)",
  24100. "type": "string"
  24101. },
  24102. "listingdate": {
  24103. "description": "交易开始日期",
  24104. "type": "string"
  24105. },
  24106. "marketid": {
  24107. "description": "所属市场ID",
  24108. "type": "integer"
  24109. },
  24110. "modifierid": {
  24111. "description": "修改人",
  24112. "type": "integer"
  24113. },
  24114. "modifystatus": {
  24115. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24116. "type": "integer"
  24117. },
  24118. "modifytime": {
  24119. "description": "修改时间",
  24120. "type": "string"
  24121. },
  24122. "outerdealmode": {
  24123. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24124. "type": "integer"
  24125. },
  24126. "outgoodscode": {
  24127. "description": "商品代码(外部)",
  24128. "type": "string"
  24129. },
  24130. "pictureurl": {
  24131. "description": "商品图片",
  24132. "type": "string"
  24133. },
  24134. "qtydecimalplace": {
  24135. "description": "成交量小数位",
  24136. "type": "integer"
  24137. },
  24138. "quotegear": {
  24139. "description": "行情档位(1-10)",
  24140. "type": "integer"
  24141. },
  24142. "quoteminunit": {
  24143. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24144. "type": "integer"
  24145. },
  24146. "quoteshowtype": {
  24147. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24148. "type": "integer"
  24149. },
  24150. "quoteshowtypeinterval": {
  24151. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24152. "type": "integer"
  24153. },
  24154. "remark": {
  24155. "description": "备注",
  24156. "type": "string"
  24157. }
  24158. }
  24159. },
  24160. "models.GoodsIDAndName": {
  24161. "type": "object",
  24162. "required": [
  24163. "goodscode",
  24164. "goodsid",
  24165. "goodsname",
  24166. "marketid"
  24167. ],
  24168. "properties": {
  24169. "goodscode": {
  24170. "description": "商品代码(内部)",
  24171. "type": "string"
  24172. },
  24173. "goodsid": {
  24174. "description": "商品ID(自增ID SEQ_GOODS)",
  24175. "type": "integer"
  24176. },
  24177. "goodsname": {
  24178. "description": "商品名称",
  24179. "type": "string"
  24180. },
  24181. "marketid": {
  24182. "description": "所属市场ID",
  24183. "type": "integer"
  24184. }
  24185. }
  24186. },
  24187. "models.Goodsgroup": {
  24188. "type": "object",
  24189. "required": [
  24190. "goodsgroupid",
  24191. "goodsgroupname",
  24192. "goodsgroupstatus",
  24193. "marketid"
  24194. ],
  24195. "properties": {
  24196. "agreeunit": {
  24197. "description": "合约单位",
  24198. "type": "number"
  24199. },
  24200. "canshort": {
  24201. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24202. "type": "integer"
  24203. },
  24204. "closepricemode": {
  24205. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24206. "type": "integer"
  24207. },
  24208. "closepriceparam": {
  24209. "description": "强平最新价浮动比例 - 方式为2时使用",
  24210. "type": "number"
  24211. },
  24212. "createtime": {
  24213. "description": "创建时间",
  24214. "type": "string"
  24215. },
  24216. "creatorid": {
  24217. "description": "创建人",
  24218. "type": "integer"
  24219. },
  24220. "currencyid": {
  24221. "description": "报价货币ID",
  24222. "type": "integer"
  24223. },
  24224. "decimalplace": {
  24225. "description": "报价小数位",
  24226. "type": "integer"
  24227. },
  24228. "exercisetype": {
  24229. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  24230. "type": "integer"
  24231. },
  24232. "exexchangeid": {
  24233. "description": "外部交易所ID[通道交易]",
  24234. "type": "integer"
  24235. },
  24236. "goodsgroupid": {
  24237. "description": "商品组ID(自增ID)",
  24238. "type": "integer"
  24239. },
  24240. "goodsgroupname": {
  24241. "description": "商品组名称",
  24242. "type": "string"
  24243. },
  24244. "goodsgroupstatus": {
  24245. "description": "商品组状态 - 1:正常 2:注销",
  24246. "type": "integer"
  24247. },
  24248. "goodunitid": {
  24249. "description": "报价单位ID",
  24250. "type": "integer"
  24251. },
  24252. "innerdealmode": {
  24253. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24254. "type": "integer"
  24255. },
  24256. "isbuylimited": {
  24257. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24258. "type": "integer"
  24259. },
  24260. "marketid": {
  24261. "description": "所属市场ID",
  24262. "type": "integer"
  24263. },
  24264. "modifierid": {
  24265. "description": "修改人",
  24266. "type": "integer"
  24267. },
  24268. "modifytime": {
  24269. "description": "修改时间",
  24270. "type": "string"
  24271. },
  24272. "outerdealmode": {
  24273. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24274. "type": "integer"
  24275. },
  24276. "outergroupcode": {
  24277. "description": "外部商品组代码[通道交易]",
  24278. "type": "string"
  24279. },
  24280. "premiumdecimalplace": {
  24281. "description": "权利金小数位[场外期权]",
  24282. "type": "integer"
  24283. },
  24284. "premiumspreadalgorithm": {
  24285. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  24286. "type": "integer"
  24287. },
  24288. "premiumspreadvalue": {
  24289. "description": "权利金点差值[场外期权]",
  24290. "type": "number"
  24291. },
  24292. "qtydecimalplace": {
  24293. "description": "成交量小数位",
  24294. "type": "integer"
  24295. },
  24296. "quotegear": {
  24297. "description": "行情档位(1-10)",
  24298. "type": "integer"
  24299. },
  24300. "quoteminunit": {
  24301. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24302. "type": "integer"
  24303. },
  24304. "quoterid": {
  24305. "description": "报价商ID[场外期权]",
  24306. "type": "integer"
  24307. },
  24308. "quotesourcegroupid": {
  24309. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24310. "type": "integer"
  24311. },
  24312. "syncgoodsqty": {
  24313. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24314. "type": "integer"
  24315. }
  24316. }
  24317. },
  24318. "models.Goodssortbypreposition": {
  24319. "type": "object",
  24320. "required": [
  24321. "goodscode",
  24322. "tradedate"
  24323. ],
  24324. "properties": {
  24325. "goodscode": {
  24326. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  24327. "type": "string"
  24328. },
  24329. "goodsgroupcode": {
  24330. "description": "品种代码",
  24331. "type": "string"
  24332. },
  24333. "prepositionqty": {
  24334. "description": "昨持仓量",
  24335. "type": "integer"
  24336. },
  24337. "sortindex": {
  24338. "description": "排序",
  24339. "type": "integer"
  24340. },
  24341. "tradedate": {
  24342. "description": "交易日",
  24343. "type": "string"
  24344. },
  24345. "updatetime": {
  24346. "description": "更新时间",
  24347. "type": "string"
  24348. }
  24349. }
  24350. },
  24351. "models.Hedgeinnerholderdetail": {
  24352. "type": "object",
  24353. "required": [
  24354. "buyorsell",
  24355. "tradeid"
  24356. ],
  24357. "properties": {
  24358. "accountid": {
  24359. "description": "账号ID",
  24360. "type": "integer"
  24361. },
  24362. "buyorsell": {
  24363. "description": "方向 - 0:买 1:卖",
  24364. "type": "integer"
  24365. },
  24366. "freezeqty": {
  24367. "description": "冻结数量 - 按单平使用",
  24368. "type": "integer"
  24369. },
  24370. "goodsid": {
  24371. "description": "商品ID",
  24372. "type": "integer"
  24373. },
  24374. "holderamount": {
  24375. "description": "持仓金额 [商品币种]",
  24376. "type": "number"
  24377. },
  24378. "holderdays": {
  24379. "description": "剩余冻结天数",
  24380. "type": "integer"
  24381. },
  24382. "holderprice": {
  24383. "description": "持仓价格",
  24384. "type": "number"
  24385. },
  24386. "holderqty": {
  24387. "description": "持仓数量",
  24388. "type": "integer"
  24389. },
  24390. "marketid": {
  24391. "description": "市场ID",
  24392. "type": "integer"
  24393. },
  24394. "openprice": {
  24395. "description": "建仓价格",
  24396. "type": "number"
  24397. },
  24398. "openqty": {
  24399. "description": "建仓数量",
  24400. "type": "integer"
  24401. },
  24402. "parentaccountid": {
  24403. "description": "所属母账户",
  24404. "type": "integer"
  24405. },
  24406. "releaseamount": {
  24407. "description": "释放持仓金额[商品币种]",
  24408. "type": "number"
  24409. },
  24410. "tradeamount": {
  24411. "description": "成交金额[账户]",
  24412. "type": "number"
  24413. },
  24414. "tradedate": {
  24415. "description": "交易日(yyyyMMdd)",
  24416. "type": "string"
  24417. },
  24418. "tradeid": {
  24419. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24420. "type": "string"
  24421. },
  24422. "tradetime": {
  24423. "description": "交易时间",
  24424. "type": "string"
  24425. }
  24426. }
  24427. },
  24428. "models.Hedgemarketopenlog": {
  24429. "type": "object",
  24430. "required": [
  24431. "accountid"
  24432. ],
  24433. "properties": {
  24434. "accountid": {
  24435. "description": "资金账号[外部母账户]",
  24436. "type": "integer"
  24437. },
  24438. "fcname": {
  24439. "description": "期货公司名称",
  24440. "type": "string"
  24441. },
  24442. "handlestatus": {
  24443. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  24444. "type": "integer"
  24445. },
  24446. "marketid": {
  24447. "description": "市场ID",
  24448. "type": "integer"
  24449. },
  24450. "status": {
  24451. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  24452. "type": "integer"
  24453. },
  24454. "tradedate": {
  24455. "description": "交易日(yyyyMMdd)",
  24456. "type": "string"
  24457. },
  24458. "updatetime": {
  24459. "description": "更新时间",
  24460. "type": "string"
  24461. }
  24462. }
  24463. },
  24464. "models.HsbyBuyMyPayOrder": {
  24465. "type": "object",
  24466. "required": [
  24467. "goodscode",
  24468. "goodsname",
  24469. "tradeid",
  24470. "trademode"
  24471. ],
  24472. "properties": {
  24473. "agreeunit": {
  24474. "description": "合约单位",
  24475. "type": "number"
  24476. },
  24477. "buyaccountid": {
  24478. "description": "买方账号ID[报价币种]",
  24479. "type": "integer"
  24480. },
  24481. "buyorderid": {
  24482. "description": "买方委托单号",
  24483. "type": "string"
  24484. },
  24485. "createtime": {
  24486. "description": "创建时间",
  24487. "type": "string"
  24488. },
  24489. "currencysign": {
  24490. "description": "货币符号",
  24491. "type": "string"
  24492. },
  24493. "decimalplace": {
  24494. "description": "报价小数位",
  24495. "type": "integer"
  24496. },
  24497. "goodscode": {
  24498. "description": "商品代码(内部)",
  24499. "type": "string"
  24500. },
  24501. "goodsid": {
  24502. "description": "商品ID",
  24503. "type": "integer"
  24504. },
  24505. "goodsname": {
  24506. "description": "商品名称",
  24507. "type": "string"
  24508. },
  24509. "marketid": {
  24510. "description": "市场ID",
  24511. "type": "integer"
  24512. },
  24513. "offamount": {
  24514. "description": "优惠金额",
  24515. "type": "number"
  24516. },
  24517. "originalamount": {
  24518. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  24519. "type": "number"
  24520. },
  24521. "payamount": {
  24522. "description": "支付金额 = TradeAmount + TradeCharge",
  24523. "type": "number"
  24524. },
  24525. "payflag": {
  24526. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24527. "type": "integer"
  24528. },
  24529. "paylimitedtime": {
  24530. "description": "支付期限",
  24531. "type": "string"
  24532. },
  24533. "paytime": {
  24534. "description": "付款时间",
  24535. "type": "string"
  24536. },
  24537. "picurls1": {
  24538. "description": "预售商品介绍图片[多张用逗号分隔]",
  24539. "type": "string"
  24540. },
  24541. "picurls2": {
  24542. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24543. "type": "string"
  24544. },
  24545. "sellaccountid": {
  24546. "description": "卖方账号ID[报价币种]",
  24547. "type": "integer"
  24548. },
  24549. "sellorderid": {
  24550. "description": "卖方委托单号",
  24551. "type": "string"
  24552. },
  24553. "tradeamount": {
  24554. "description": "成交金额",
  24555. "type": "number"
  24556. },
  24557. "tradecharge": {
  24558. "description": "成交手续费(买方)",
  24559. "type": "number"
  24560. },
  24561. "tradedate": {
  24562. "description": "交易日(yyyyMMdd)",
  24563. "type": "string"
  24564. },
  24565. "tradeid": {
  24566. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24567. "type": "string"
  24568. },
  24569. "trademode": {
  24570. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24571. "type": "integer"
  24572. },
  24573. "tradeprice": {
  24574. "description": "成交价格",
  24575. "type": "number"
  24576. },
  24577. "tradeqty": {
  24578. "description": "成交数量",
  24579. "type": "integer"
  24580. },
  24581. "vendorname1": {
  24582. "description": "预售商品供应商名称",
  24583. "type": "string"
  24584. },
  24585. "vendorname2": {
  24586. "description": "挂牌商品供应商名称",
  24587. "type": "string"
  24588. }
  24589. }
  24590. },
  24591. "models.HsbyBuyMyTradeDetail": {
  24592. "type": "object",
  24593. "required": [
  24594. "accountid",
  24595. "buyorsell",
  24596. "goodscode",
  24597. "goodsid",
  24598. "goodsname",
  24599. "marketid",
  24600. "orderid",
  24601. "qty",
  24602. "time",
  24603. "trademode"
  24604. ],
  24605. "properties": {
  24606. "accountid": {
  24607. "description": "账户ID[报价币种]",
  24608. "type": "integer"
  24609. },
  24610. "agreeunit": {
  24611. "description": "合约单位",
  24612. "type": "number"
  24613. },
  24614. "amount": {
  24615. "description": "金额 = 价格 * 数量 * 合约单位",
  24616. "type": "number"
  24617. },
  24618. "buyorsell": {
  24619. "description": "买卖 - 0:买 1:卖",
  24620. "type": "integer"
  24621. },
  24622. "currencysign": {
  24623. "description": "货币符号",
  24624. "type": "string"
  24625. },
  24626. "decimalplace": {
  24627. "description": "报价小数位",
  24628. "type": "integer"
  24629. },
  24630. "goodscode": {
  24631. "description": "商品代码(内部)",
  24632. "type": "string"
  24633. },
  24634. "goodsid": {
  24635. "description": "商品ID",
  24636. "type": "integer"
  24637. },
  24638. "goodsname": {
  24639. "description": "商品名称",
  24640. "type": "string"
  24641. },
  24642. "marketid": {
  24643. "description": "市场ID",
  24644. "type": "integer"
  24645. },
  24646. "orderamount": {
  24647. "description": "委托金额",
  24648. "type": "number"
  24649. },
  24650. "orderid": {
  24651. "description": "单号(成交单号)",
  24652. "type": "string"
  24653. },
  24654. "picurls1": {
  24655. "description": "预售商品介绍图片[多张用逗号分隔]",
  24656. "type": "string"
  24657. },
  24658. "picurls2": {
  24659. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24660. "type": "string"
  24661. },
  24662. "price": {
  24663. "description": "价格",
  24664. "type": "number"
  24665. },
  24666. "qty": {
  24667. "description": "数量",
  24668. "type": "integer"
  24669. },
  24670. "time": {
  24671. "description": "时间",
  24672. "type": "string"
  24673. },
  24674. "trademode": {
  24675. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24676. "type": "integer"
  24677. },
  24678. "vendorname1": {
  24679. "description": "预售商品供应商名称",
  24680. "type": "string"
  24681. },
  24682. "vendorname2": {
  24683. "description": "挂牌商品供应商名称",
  24684. "type": "string"
  24685. }
  24686. }
  24687. },
  24688. "models.HsbyGoodsOrderDetail": {
  24689. "type": "object",
  24690. "required": [
  24691. "buyorsell",
  24692. "orderid",
  24693. "ordertime"
  24694. ],
  24695. "properties": {
  24696. "buyorsell": {
  24697. "description": "买卖 - 0:买 1:卖",
  24698. "type": "integer"
  24699. },
  24700. "currencysign": {
  24701. "description": "货币符号",
  24702. "type": "string"
  24703. },
  24704. "customername": {
  24705. "description": "客户名称(企业名称),已脱敏",
  24706. "type": "string"
  24707. },
  24708. "enableqty": {
  24709. "description": "可用数量",
  24710. "type": "integer"
  24711. },
  24712. "goodunit": {
  24713. "description": "报价单位",
  24714. "type": "string"
  24715. },
  24716. "orderid": {
  24717. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24718. "type": "string"
  24719. },
  24720. "orderprice": {
  24721. "description": "委托价格",
  24722. "type": "number"
  24723. },
  24724. "ordertime": {
  24725. "description": "委托时间",
  24726. "type": "string"
  24727. }
  24728. }
  24729. },
  24730. "models.HsbyListingGoodsDetail": {
  24731. "type": "object",
  24732. "required": [
  24733. "goodscode",
  24734. "goodsid",
  24735. "goodsname",
  24736. "marketid",
  24737. "trademode"
  24738. ],
  24739. "properties": {
  24740. "agreeunit": {
  24741. "description": "合约单位",
  24742. "type": "number"
  24743. },
  24744. "buymaxqty": {
  24745. "description": "购买上限 [71] - 0为不限",
  24746. "type": "integer"
  24747. },
  24748. "currency": {
  24749. "description": "货币",
  24750. "type": "string"
  24751. },
  24752. "currencysign": {
  24753. "description": "货币符号",
  24754. "type": "string"
  24755. },
  24756. "decimalplace": {
  24757. "description": "报价小数位",
  24758. "type": "integer"
  24759. },
  24760. "desccityid": {
  24761. "description": "目的地(市)ID",
  24762. "type": "integer"
  24763. },
  24764. "descprovinceid": {
  24765. "description": "目的地(省)ID",
  24766. "type": "integer"
  24767. },
  24768. "goodscode": {
  24769. "description": "商品代码(内部)",
  24770. "type": "string"
  24771. },
  24772. "goodsdesc": {
  24773. "description": "商品详情",
  24774. "type": "string"
  24775. },
  24776. "goodsid": {
  24777. "description": "商品ID(自增ID SEQ_GOODS)",
  24778. "type": "integer"
  24779. },
  24780. "goodsname": {
  24781. "description": "商品名称",
  24782. "type": "string"
  24783. },
  24784. "goodsprice": {
  24785. "description": "商品价格",
  24786. "type": "number"
  24787. },
  24788. "hotindex": {
  24789. "description": "景点热度",
  24790. "type": "integer"
  24791. },
  24792. "last": {
  24793. "description": "现价",
  24794. "type": "number"
  24795. },
  24796. "limitdown": {
  24797. "description": "跌停价",
  24798. "type": "number"
  24799. },
  24800. "limitup": {
  24801. "description": "涨停价",
  24802. "type": "number"
  24803. },
  24804. "lotsize": {
  24805. "description": "手数最小变动单位",
  24806. "type": "integer"
  24807. },
  24808. "marketid": {
  24809. "description": "所属市场ID",
  24810. "type": "integer"
  24811. },
  24812. "picurls": {
  24813. "description": "介绍图片[多张用逗号分隔]",
  24814. "type": "string"
  24815. },
  24816. "quoteminunit": {
  24817. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24818. "type": "integer"
  24819. },
  24820. "stepvalue": {
  24821. "description": "价格最小变动单位",
  24822. "type": "number"
  24823. },
  24824. "trademode": {
  24825. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24826. "type": "integer"
  24827. },
  24828. "vendorattr": {
  24829. "description": "供应商附件(多张,逗号分隔)",
  24830. "type": "string"
  24831. },
  24832. "vendorname": {
  24833. "description": "供应商名称",
  24834. "type": "string"
  24835. },
  24836. "vendorphone": {
  24837. "description": "供应商客服电话",
  24838. "type": "string"
  24839. },
  24840. "videourls": {
  24841. "description": "介绍视频[多张用逗号分隔]",
  24842. "type": "string"
  24843. }
  24844. }
  24845. },
  24846. "models.HsbyMarketGoods": {
  24847. "type": "object",
  24848. "required": [
  24849. "accountid",
  24850. "buyorsell",
  24851. "goodscode",
  24852. "goodsid",
  24853. "goodsname",
  24854. "marketid",
  24855. "orderid",
  24856. "trademode"
  24857. ],
  24858. "properties": {
  24859. "accountid": {
  24860. "description": "账户ID[报价币种]",
  24861. "type": "integer"
  24862. },
  24863. "agreeunit": {
  24864. "description": "合约单位",
  24865. "type": "number"
  24866. },
  24867. "buyorsell": {
  24868. "description": "买卖 - 0:买 1:卖",
  24869. "type": "integer"
  24870. },
  24871. "categoryid": {
  24872. "description": "类别ID(WRCATEGORY)",
  24873. "type": "integer"
  24874. },
  24875. "currency": {
  24876. "description": "货币",
  24877. "type": "string"
  24878. },
  24879. "currencysign": {
  24880. "description": "货币符号",
  24881. "type": "string"
  24882. },
  24883. "customername": {
  24884. "description": "卖家名称",
  24885. "type": "string"
  24886. },
  24887. "decimalplace": {
  24888. "description": "报价小数位",
  24889. "type": "integer"
  24890. },
  24891. "goodscode": {
  24892. "description": "商品代码(内部)",
  24893. "type": "string"
  24894. },
  24895. "goodsid": {
  24896. "description": "商品ID",
  24897. "type": "integer"
  24898. },
  24899. "goodsname": {
  24900. "description": "商品名称",
  24901. "type": "string"
  24902. },
  24903. "goodsprice": {
  24904. "description": "商品价格",
  24905. "type": "number"
  24906. },
  24907. "hascoupon": {
  24908. "description": "是否可用优惠卷",
  24909. "type": "boolean"
  24910. },
  24911. "hotindex": {
  24912. "description": "景点热度",
  24913. "type": "integer"
  24914. },
  24915. "marketid": {
  24916. "description": "市场ID",
  24917. "type": "integer"
  24918. },
  24919. "orderid": {
  24920. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24921. "type": "string"
  24922. },
  24923. "orderprice": {
  24924. "description": "委托价格",
  24925. "type": "number"
  24926. },
  24927. "orderstatus": {
  24928. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24929. "type": "integer"
  24930. },
  24931. "picurls": {
  24932. "description": "介绍图片[多张用逗号分隔]",
  24933. "type": "string"
  24934. },
  24935. "quoteminunit": {
  24936. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24937. "type": "integer"
  24938. },
  24939. "sellUserID": {
  24940. "description": "卖方UserID",
  24941. "type": "integer"
  24942. },
  24943. "trademode": {
  24944. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24945. "type": "integer"
  24946. },
  24947. "videourls": {
  24948. "description": "介绍视频[多张用逗号分隔]",
  24949. "type": "string"
  24950. }
  24951. }
  24952. },
  24953. "models.HsbyMarketGoodsDetail": {
  24954. "type": "object",
  24955. "required": [
  24956. "accountid",
  24957. "buyorsell",
  24958. "goodscode",
  24959. "goodsid",
  24960. "goodsname",
  24961. "marketid",
  24962. "orderid",
  24963. "orderqty",
  24964. "trademode"
  24965. ],
  24966. "properties": {
  24967. "accountid": {
  24968. "description": "账户ID[报价币种]",
  24969. "type": "integer"
  24970. },
  24971. "agreeunit": {
  24972. "description": "合约单位",
  24973. "type": "number"
  24974. },
  24975. "buymaxqty": {
  24976. "description": "购买上限 [71] - 0为不限",
  24977. "type": "integer"
  24978. },
  24979. "buyorsell": {
  24980. "description": "买卖 - 0:买 1:卖",
  24981. "type": "integer"
  24982. },
  24983. "cancelqty": {
  24984. "description": "撤单数量",
  24985. "type": "integer"
  24986. },
  24987. "categoryid": {
  24988. "description": "类别ID(WRCATEGORY)",
  24989. "type": "integer"
  24990. },
  24991. "currency": {
  24992. "description": "货币",
  24993. "type": "string"
  24994. },
  24995. "currencysign": {
  24996. "description": "货币符号",
  24997. "type": "string"
  24998. },
  24999. "customername": {
  25000. "description": "卖家名称",
  25001. "type": "string"
  25002. },
  25003. "decimalplace": {
  25004. "description": "报价小数位",
  25005. "type": "integer"
  25006. },
  25007. "goodscode": {
  25008. "description": "商品代码(内部)",
  25009. "type": "string"
  25010. },
  25011. "goodsdesc": {
  25012. "description": "商品详情",
  25013. "type": "string"
  25014. },
  25015. "goodsid": {
  25016. "description": "商品ID",
  25017. "type": "integer"
  25018. },
  25019. "goodsname": {
  25020. "description": "商品名称",
  25021. "type": "string"
  25022. },
  25023. "goodsprice": {
  25024. "description": "商品价格",
  25025. "type": "number"
  25026. },
  25027. "hotindex": {
  25028. "description": "景点热度",
  25029. "type": "integer"
  25030. },
  25031. "lotsize": {
  25032. "description": "手数最小变动单位",
  25033. "type": "integer"
  25034. },
  25035. "marketid": {
  25036. "description": "市场ID",
  25037. "type": "integer"
  25038. },
  25039. "orderid": {
  25040. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25041. "type": "string"
  25042. },
  25043. "orderprice": {
  25044. "description": "委托价格",
  25045. "type": "number"
  25046. },
  25047. "orderqty": {
  25048. "description": "委托数量",
  25049. "type": "integer"
  25050. },
  25051. "orderstatus": {
  25052. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25053. "type": "integer"
  25054. },
  25055. "picurls": {
  25056. "description": "介绍图片[多张用逗号分隔]",
  25057. "type": "string"
  25058. },
  25059. "quoteminunit": {
  25060. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25061. "type": "integer"
  25062. },
  25063. "sellUserID": {
  25064. "description": "卖方UserID",
  25065. "type": "integer"
  25066. },
  25067. "trademode": {
  25068. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25069. "type": "integer"
  25070. },
  25071. "tradeqty": {
  25072. "description": "成交数量",
  25073. "type": "integer"
  25074. },
  25075. "vendorattr": {
  25076. "description": "供应商附件(多张,逗号分隔)",
  25077. "type": "string"
  25078. },
  25079. "vendorname": {
  25080. "description": "供应商名称",
  25081. "type": "string"
  25082. },
  25083. "vendorphone": {
  25084. "description": "供应商客服电话",
  25085. "type": "string"
  25086. },
  25087. "videourls": {
  25088. "description": "介绍视频[多张用逗号分隔]",
  25089. "type": "string"
  25090. }
  25091. }
  25092. },
  25093. "models.HsbyMarketInfo": {
  25094. "type": "object",
  25095. "required": [
  25096. "marketid",
  25097. "marketstatus",
  25098. "trademode"
  25099. ],
  25100. "properties": {
  25101. "marketid": {
  25102. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25103. "type": "integer"
  25104. },
  25105. "marketname": {
  25106. "description": "市场名称",
  25107. "type": "string"
  25108. },
  25109. "marketstatus": {
  25110. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25111. "type": "integer"
  25112. },
  25113. "trademode": {
  25114. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25115. "type": "integer"
  25116. }
  25117. }
  25118. },
  25119. "models.HsbyMyGoods": {
  25120. "type": "object",
  25121. "required": [
  25122. "accountid",
  25123. "goodscode",
  25124. "goodsid",
  25125. "goodsname",
  25126. "marketid",
  25127. "trademode"
  25128. ],
  25129. "properties": {
  25130. "accountid": {
  25131. "description": "账号Id",
  25132. "type": "integer"
  25133. },
  25134. "agreeunit": {
  25135. "description": "合约单位",
  25136. "type": "number"
  25137. },
  25138. "buyaverageprice": {
  25139. "description": "持仓均价",
  25140. "type": "number"
  25141. },
  25142. "buycurholderamount": {
  25143. "description": "买当前持仓总金额[商品币种]",
  25144. "type": "number"
  25145. },
  25146. "buycurpositionqty": {
  25147. "description": "买当前持仓总数量",
  25148. "type": "integer"
  25149. },
  25150. "buymaxqty": {
  25151. "description": "购买上限 [71] - 0为不限",
  25152. "type": "integer"
  25153. },
  25154. "currencysign": {
  25155. "description": "货币符号",
  25156. "type": "string"
  25157. },
  25158. "decimalplace": {
  25159. "description": "报价小数位",
  25160. "type": "integer"
  25161. },
  25162. "enableqty": {
  25163. "description": "可用数量",
  25164. "type": "integer"
  25165. },
  25166. "goodscode": {
  25167. "description": "商品代码(内部)",
  25168. "type": "string"
  25169. },
  25170. "goodsid": {
  25171. "description": "商品Id",
  25172. "type": "integer"
  25173. },
  25174. "goodsname": {
  25175. "description": "商品名称",
  25176. "type": "string"
  25177. },
  25178. "goodsprice": {
  25179. "description": "商品价格",
  25180. "type": "number"
  25181. },
  25182. "goodsstatus": {
  25183. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25184. "type": "integer"
  25185. },
  25186. "last": {
  25187. "description": "现价(仅使用于挂牌点选)",
  25188. "type": "number"
  25189. },
  25190. "limitdown": {
  25191. "description": "跌停价(仅使用于挂牌点选)",
  25192. "type": "number"
  25193. },
  25194. "limitup": {
  25195. "description": "涨停价(仅使用于挂牌点选)",
  25196. "type": "number"
  25197. },
  25198. "lotsize": {
  25199. "description": "手数最小变动单位",
  25200. "type": "integer"
  25201. },
  25202. "marketid": {
  25203. "description": "所属市场ID",
  25204. "type": "integer"
  25205. },
  25206. "picurls": {
  25207. "description": "介绍图片[多张用逗号分隔]",
  25208. "type": "string"
  25209. },
  25210. "quoteminunit": {
  25211. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25212. "type": "integer"
  25213. },
  25214. "stepvalue": {
  25215. "description": "价格最小变动单位",
  25216. "type": "number"
  25217. },
  25218. "trademode": {
  25219. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25220. "type": "integer"
  25221. }
  25222. }
  25223. },
  25224. "models.HsbyMyPackage": {
  25225. "type": "object",
  25226. "required": [
  25227. "goodscode",
  25228. "goodsname",
  25229. "takeorderid",
  25230. "trademode"
  25231. ],
  25232. "properties": {
  25233. "accountid": {
  25234. "description": "账户ID",
  25235. "type": "integer"
  25236. },
  25237. "address": {
  25238. "description": "提货人详细地址",
  25239. "type": "string"
  25240. },
  25241. "agreeunit": {
  25242. "description": "合约单位",
  25243. "type": "number"
  25244. },
  25245. "amount": {
  25246. "description": "提货金额",
  25247. "type": "number"
  25248. },
  25249. "auditer": {
  25250. "description": "审核人",
  25251. "type": "integer"
  25252. },
  25253. "audittime": {
  25254. "description": "审核时间",
  25255. "type": "string"
  25256. },
  25257. "averageprice": {
  25258. "description": "均价",
  25259. "type": "number"
  25260. },
  25261. "cardnum": {
  25262. "description": "提货人证件号码",
  25263. "type": "string"
  25264. },
  25265. "cardtypeid": {
  25266. "description": "提货人证件类型",
  25267. "type": "integer"
  25268. },
  25269. "checkremark": {
  25270. "description": "审核备注",
  25271. "type": "string"
  25272. },
  25273. "currencysign": {
  25274. "description": "货币符号",
  25275. "type": "string"
  25276. },
  25277. "decimalplace": {
  25278. "description": "报价小数位",
  25279. "type": "integer"
  25280. },
  25281. "goodscode": {
  25282. "description": "商品代码(内部)",
  25283. "type": "string"
  25284. },
  25285. "goodsid": {
  25286. "description": "商品ID",
  25287. "type": "integer"
  25288. },
  25289. "goodsname": {
  25290. "description": "商品名称",
  25291. "type": "string"
  25292. },
  25293. "handlestatus": {
  25294. "description": "处理状态",
  25295. "type": "integer"
  25296. },
  25297. "marketid": {
  25298. "description": "市场ID",
  25299. "type": "integer"
  25300. },
  25301. "phonenum": {
  25302. "description": "提货人联系方式",
  25303. "type": "string"
  25304. },
  25305. "picurls": {
  25306. "description": "介绍图片[多张用逗号分隔]",
  25307. "type": "string"
  25308. },
  25309. "qty": {
  25310. "description": "提货数量",
  25311. "type": "number"
  25312. },
  25313. "recivername": {
  25314. "description": "提货人姓名",
  25315. "type": "string"
  25316. },
  25317. "reqtime": {
  25318. "description": "更新时间",
  25319. "type": "string"
  25320. },
  25321. "takemode": {
  25322. "description": "提货方式 - 2:自提 3:配送",
  25323. "type": "integer"
  25324. },
  25325. "takeorderid": {
  25326. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25327. "type": "string"
  25328. },
  25329. "takeorderstatus": {
  25330. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  25331. "type": "integer"
  25332. },
  25333. "takeremark": {
  25334. "description": "提货备注",
  25335. "type": "string"
  25336. },
  25337. "tradedate": {
  25338. "description": "交易日(yyyyMMdd)",
  25339. "type": "string"
  25340. },
  25341. "trademode": {
  25342. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25343. "type": "integer"
  25344. },
  25345. "userid": {
  25346. "description": "用户ID",
  25347. "type": "integer"
  25348. },
  25349. "vendorname": {
  25350. "description": "供应商名称",
  25351. "type": "string"
  25352. }
  25353. }
  25354. },
  25355. "models.HsbyPreGoods": {
  25356. "type": "object",
  25357. "required": [
  25358. "goodscode",
  25359. "goodsid",
  25360. "goodsname",
  25361. "marketid",
  25362. "trademode"
  25363. ],
  25364. "properties": {
  25365. "agreeunit": {
  25366. "description": "合约单位",
  25367. "type": "number"
  25368. },
  25369. "currency": {
  25370. "description": "货币",
  25371. "type": "string"
  25372. },
  25373. "currencysign": {
  25374. "description": "货币符号",
  25375. "type": "string"
  25376. },
  25377. "decimalplace": {
  25378. "description": "报价小数位",
  25379. "type": "integer"
  25380. },
  25381. "desccityid": {
  25382. "description": "目的地(市)",
  25383. "type": "integer"
  25384. },
  25385. "descprovinceid": {
  25386. "description": "目的地(省)",
  25387. "type": "integer"
  25388. },
  25389. "enableqty": {
  25390. "description": "剩余数量",
  25391. "type": "integer"
  25392. },
  25393. "goodscode": {
  25394. "description": "商品代码(内部)",
  25395. "type": "string"
  25396. },
  25397. "goodsid": {
  25398. "description": "商品ID(自增ID SEQ_GOODS)",
  25399. "type": "integer"
  25400. },
  25401. "goodsname": {
  25402. "description": "商品名称",
  25403. "type": "string"
  25404. },
  25405. "goodsstatus": {
  25406. "description": "商品状态- 2:未上市 3:上市",
  25407. "type": "integer"
  25408. },
  25409. "lasttradedate": {
  25410. "description": "最后交易日期(状态:待退市)",
  25411. "type": "string"
  25412. },
  25413. "listingdate": {
  25414. "description": "交易开始日期",
  25415. "type": "string"
  25416. },
  25417. "marketid": {
  25418. "description": "所属市场ID",
  25419. "type": "integer"
  25420. },
  25421. "picurls": {
  25422. "description": "介绍图片[多张用逗号分隔]",
  25423. "type": "string"
  25424. },
  25425. "presaledqty": {
  25426. "description": "已预售量(预售结束时更新)",
  25427. "type": "integer"
  25428. },
  25429. "presaleqty": {
  25430. "description": "预售数量",
  25431. "type": "integer"
  25432. },
  25433. "quoteminunit": {
  25434. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25435. "type": "integer"
  25436. },
  25437. "refprice": {
  25438. "description": "参考价格[一口价]",
  25439. "type": "number"
  25440. },
  25441. "relatedgoodsid": {
  25442. "description": "关联交易合约ID",
  25443. "type": "integer"
  25444. },
  25445. "trademode": {
  25446. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25447. "type": "integer"
  25448. },
  25449. "videourls": {
  25450. "description": "介绍视频[多张用逗号分隔]",
  25451. "type": "string"
  25452. }
  25453. }
  25454. },
  25455. "models.HsbyPreGoodsDetail": {
  25456. "type": "object",
  25457. "required": [
  25458. "goodscode",
  25459. "goodsid",
  25460. "goodsname",
  25461. "marketid",
  25462. "trademode"
  25463. ],
  25464. "properties": {
  25465. "agreeunit": {
  25466. "description": "合约单位",
  25467. "type": "number"
  25468. },
  25469. "buymaxqty": {
  25470. "description": "购买上限 [71] - 0为不限",
  25471. "type": "integer"
  25472. },
  25473. "currency": {
  25474. "description": "货币",
  25475. "type": "string"
  25476. },
  25477. "currencysign": {
  25478. "description": "货币符号",
  25479. "type": "string"
  25480. },
  25481. "customername": {
  25482. "description": "发行单位",
  25483. "type": "string"
  25484. },
  25485. "decimalplace": {
  25486. "description": "报价小数位",
  25487. "type": "integer"
  25488. },
  25489. "desccityid": {
  25490. "description": "目的地(市)ID",
  25491. "type": "integer"
  25492. },
  25493. "descprovinceid": {
  25494. "description": "目的地(省)ID",
  25495. "type": "integer"
  25496. },
  25497. "enableqty": {
  25498. "description": "剩余数量",
  25499. "type": "integer"
  25500. },
  25501. "goodscode": {
  25502. "description": "商品代码(内部)",
  25503. "type": "string"
  25504. },
  25505. "goodsdesc": {
  25506. "description": "商品详情",
  25507. "type": "string"
  25508. },
  25509. "goodsid": {
  25510. "description": "商品ID(自增ID SEQ_GOODS)",
  25511. "type": "integer"
  25512. },
  25513. "goodsname": {
  25514. "description": "商品名称",
  25515. "type": "string"
  25516. },
  25517. "goodsstatus": {
  25518. "description": "商品状态- 2:未上市 3:上市",
  25519. "type": "integer"
  25520. },
  25521. "goodunit": {
  25522. "description": "报价单位",
  25523. "type": "string"
  25524. },
  25525. "lasttradedate": {
  25526. "description": "最后交易日期(状态:待退市)",
  25527. "type": "string"
  25528. },
  25529. "listingdate": {
  25530. "description": "交易开始日期",
  25531. "type": "string"
  25532. },
  25533. "lotsize": {
  25534. "description": "手数最小变动单位",
  25535. "type": "integer"
  25536. },
  25537. "marketid": {
  25538. "description": "所属市场ID",
  25539. "type": "integer"
  25540. },
  25541. "picurls": {
  25542. "description": "介绍图片[多张用逗号分隔]",
  25543. "type": "string"
  25544. },
  25545. "presaledqty": {
  25546. "description": "已预售量(预售结束时更新)",
  25547. "type": "integer"
  25548. },
  25549. "presaleqty": {
  25550. "description": "预售数量",
  25551. "type": "integer"
  25552. },
  25553. "quoteminunit": {
  25554. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25555. "type": "integer"
  25556. },
  25557. "refprice": {
  25558. "description": "参考价格[一口价]",
  25559. "type": "number"
  25560. },
  25561. "relatedgoodsid": {
  25562. "description": "关联交易合约ID",
  25563. "type": "integer"
  25564. },
  25565. "stepvalue": {
  25566. "description": "价格最小变动单位",
  25567. "type": "number"
  25568. },
  25569. "trademode": {
  25570. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25571. "type": "integer"
  25572. },
  25573. "vendorattr": {
  25574. "description": "供应商附件(多张,逗号分隔)",
  25575. "type": "string"
  25576. },
  25577. "vendorname": {
  25578. "description": "供应商名称",
  25579. "type": "string"
  25580. },
  25581. "vendorphone": {
  25582. "description": "供应商客服电话",
  25583. "type": "string"
  25584. },
  25585. "videourls": {
  25586. "description": "介绍视频[多张用逗号分隔]",
  25587. "type": "string"
  25588. }
  25589. }
  25590. },
  25591. "models.HsbySellCollectionOrder": {
  25592. "type": "object",
  25593. "required": [
  25594. "goodscode",
  25595. "goodsname",
  25596. "tradeid",
  25597. "trademode"
  25598. ],
  25599. "properties": {
  25600. "agreeunit": {
  25601. "description": "合约单位",
  25602. "type": "number"
  25603. },
  25604. "buyaccountid": {
  25605. "description": "买方账号ID[报价币种]",
  25606. "type": "integer"
  25607. },
  25608. "buyorderid": {
  25609. "description": "买方委托单号",
  25610. "type": "string"
  25611. },
  25612. "createtime": {
  25613. "description": "创建时间",
  25614. "type": "string"
  25615. },
  25616. "currencysign": {
  25617. "description": "货币符号",
  25618. "type": "string"
  25619. },
  25620. "decimalplace": {
  25621. "description": "报价小数位",
  25622. "type": "integer"
  25623. },
  25624. "goodscode": {
  25625. "description": "商品代码(内部)",
  25626. "type": "string"
  25627. },
  25628. "goodsid": {
  25629. "description": "商品ID",
  25630. "type": "integer"
  25631. },
  25632. "goodsname": {
  25633. "description": "商品名称",
  25634. "type": "string"
  25635. },
  25636. "marketid": {
  25637. "description": "市场ID",
  25638. "type": "integer"
  25639. },
  25640. "offamount": {
  25641. "description": "优惠金额",
  25642. "type": "number"
  25643. },
  25644. "payamount": {
  25645. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  25646. "type": "number"
  25647. },
  25648. "payflag": {
  25649. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25650. "type": "integer"
  25651. },
  25652. "paylimitedtime": {
  25653. "description": "支付期限",
  25654. "type": "string"
  25655. },
  25656. "paytime": {
  25657. "description": "付款时间",
  25658. "type": "string"
  25659. },
  25660. "picurls": {
  25661. "description": "商品介绍图片[多张用逗号分隔]",
  25662. "type": "string"
  25663. },
  25664. "sellaccountid": {
  25665. "description": "卖方账号ID[报价币种]",
  25666. "type": "integer"
  25667. },
  25668. "sellorderid": {
  25669. "description": "卖方委托单号",
  25670. "type": "string"
  25671. },
  25672. "tradeamount": {
  25673. "description": "成交金额",
  25674. "type": "number"
  25675. },
  25676. "tradecharge": {
  25677. "description": "成交手续费(买方)",
  25678. "type": "number"
  25679. },
  25680. "tradedate": {
  25681. "description": "交易日(yyyyMMdd)",
  25682. "type": "string"
  25683. },
  25684. "tradeid": {
  25685. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25686. "type": "string"
  25687. },
  25688. "trademode": {
  25689. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25690. "type": "integer"
  25691. },
  25692. "tradeprice": {
  25693. "description": "成交价格",
  25694. "type": "number"
  25695. },
  25696. "tradeqty": {
  25697. "description": "成交数量",
  25698. "type": "integer"
  25699. }
  25700. }
  25701. },
  25702. "models.HsbySellMyDetail": {
  25703. "type": "object",
  25704. "required": [
  25705. "accountid",
  25706. "buyorsell",
  25707. "goodscode",
  25708. "goodsid",
  25709. "goodsname",
  25710. "marketid",
  25711. "orderid",
  25712. "time",
  25713. "trademode"
  25714. ],
  25715. "properties": {
  25716. "accountid": {
  25717. "description": "账户ID[报价币种]",
  25718. "type": "integer"
  25719. },
  25720. "agreeunit": {
  25721. "description": "合约单位",
  25722. "type": "number"
  25723. },
  25724. "buyorsell": {
  25725. "description": "买卖 - 0:买 1:卖",
  25726. "type": "integer"
  25727. },
  25728. "currencysign": {
  25729. "description": "货币符号",
  25730. "type": "string"
  25731. },
  25732. "decimalplace": {
  25733. "description": "报价小数位",
  25734. "type": "integer"
  25735. },
  25736. "goodscode": {
  25737. "description": "商品代码(内部)",
  25738. "type": "string"
  25739. },
  25740. "goodsid": {
  25741. "description": "商品ID",
  25742. "type": "integer"
  25743. },
  25744. "goodsname": {
  25745. "description": "商品名称",
  25746. "type": "string"
  25747. },
  25748. "marketid": {
  25749. "description": "市场ID",
  25750. "type": "integer"
  25751. },
  25752. "orderid": {
  25753. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  25754. "type": "string"
  25755. },
  25756. "ordertype": {
  25757. "description": "单据类型:0 - 发布中, 1 - 已完成",
  25758. "type": "integer"
  25759. },
  25760. "picurls": {
  25761. "description": "介绍图片[多张用逗号分隔]",
  25762. "type": "string"
  25763. },
  25764. "price": {
  25765. "description": "价格",
  25766. "type": "number"
  25767. },
  25768. "qty": {
  25769. "description": "数量",
  25770. "type": "integer"
  25771. },
  25772. "time": {
  25773. "description": "时间",
  25774. "type": "string"
  25775. },
  25776. "trademode": {
  25777. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25778. "type": "integer"
  25779. },
  25780. "vendorname": {
  25781. "description": "供应商名称",
  25782. "type": "string"
  25783. }
  25784. }
  25785. },
  25786. "models.HsbyTopGoods": {
  25787. "type": "object",
  25788. "required": [
  25789. "goodscode",
  25790. "goodsid",
  25791. "goodsname",
  25792. "marketid",
  25793. "trademode"
  25794. ],
  25795. "properties": {
  25796. "agreeunit": {
  25797. "description": "合约单位",
  25798. "type": "number"
  25799. },
  25800. "currency": {
  25801. "description": "货币",
  25802. "type": "string"
  25803. },
  25804. "currencysign": {
  25805. "description": "货币符号",
  25806. "type": "string"
  25807. },
  25808. "decimalplace": {
  25809. "description": "报价小数位",
  25810. "type": "integer"
  25811. },
  25812. "desccityid": {
  25813. "description": "目的地(市)",
  25814. "type": "integer"
  25815. },
  25816. "descprovinceid": {
  25817. "description": "目的地(省)",
  25818. "type": "integer"
  25819. },
  25820. "goodscode": {
  25821. "description": "商品代码(内部)",
  25822. "type": "string"
  25823. },
  25824. "goodsid": {
  25825. "description": "商品ID(自增ID SEQ_GOODS)",
  25826. "type": "integer"
  25827. },
  25828. "goodsname": {
  25829. "description": "商品名称",
  25830. "type": "string"
  25831. },
  25832. "hotindex": {
  25833. "description": "景点热度",
  25834. "type": "integer"
  25835. },
  25836. "last": {
  25837. "description": "现价",
  25838. "type": "number"
  25839. },
  25840. "marketid": {
  25841. "description": "所属市场ID",
  25842. "type": "integer"
  25843. },
  25844. "picurls": {
  25845. "description": "介绍图片[多张用逗号分隔]",
  25846. "type": "string"
  25847. },
  25848. "quoteminunit": {
  25849. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25850. "type": "integer"
  25851. },
  25852. "trademode": {
  25853. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25854. "type": "integer"
  25855. },
  25856. "videourls": {
  25857. "description": "介绍视频[多张用逗号分隔]",
  25858. "type": "string"
  25859. }
  25860. }
  25861. },
  25862. "models.HybsMyBuyOrderDetail": {
  25863. "type": "object",
  25864. "required": [
  25865. "accountid",
  25866. "buyorsell",
  25867. "goodscode",
  25868. "goodsid",
  25869. "goodsname",
  25870. "marketid",
  25871. "orderid",
  25872. "orderqty",
  25873. "ordertime",
  25874. "trademode"
  25875. ],
  25876. "properties": {
  25877. "accountid": {
  25878. "description": "账户ID[报价币种]",
  25879. "type": "integer"
  25880. },
  25881. "agreeunit": {
  25882. "description": "合约单位",
  25883. "type": "number"
  25884. },
  25885. "buyorsell": {
  25886. "description": "买卖 - 0:买 1:卖",
  25887. "type": "integer"
  25888. },
  25889. "cancelqty": {
  25890. "description": "撤单数量",
  25891. "type": "integer"
  25892. },
  25893. "currencysign": {
  25894. "description": "货币符号",
  25895. "type": "string"
  25896. },
  25897. "decimalplace": {
  25898. "description": "报价小数位",
  25899. "type": "integer"
  25900. },
  25901. "goodscode": {
  25902. "description": "商品代码(内部)",
  25903. "type": "string"
  25904. },
  25905. "goodsid": {
  25906. "description": "商品ID",
  25907. "type": "integer"
  25908. },
  25909. "goodsname": {
  25910. "description": "商品名称",
  25911. "type": "string"
  25912. },
  25913. "listingselecttype": {
  25914. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25915. "type": "integer"
  25916. },
  25917. "marketid": {
  25918. "description": "市场ID",
  25919. "type": "integer"
  25920. },
  25921. "mybuystatus": {
  25922. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  25923. "type": "integer"
  25924. },
  25925. "orderamount": {
  25926. "description": "委托金额",
  25927. "type": "number"
  25928. },
  25929. "orderid": {
  25930. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25931. "type": "string"
  25932. },
  25933. "orderprice": {
  25934. "description": "委托价格",
  25935. "type": "number"
  25936. },
  25937. "orderqty": {
  25938. "description": "委托数量",
  25939. "type": "integer"
  25940. },
  25941. "orderstatus": {
  25942. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25943. "type": "integer"
  25944. },
  25945. "ordertime": {
  25946. "description": "委托时间",
  25947. "type": "string"
  25948. },
  25949. "picurls1": {
  25950. "description": "预售商品介绍图片[多张用逗号分隔]",
  25951. "type": "string"
  25952. },
  25953. "picurls2": {
  25954. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25955. "type": "string"
  25956. },
  25957. "trademode": {
  25958. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25959. "type": "integer"
  25960. },
  25961. "tradeqty": {
  25962. "description": "成交数量",
  25963. "type": "integer"
  25964. },
  25965. "vendorname1": {
  25966. "description": "预售商品供应商名称",
  25967. "type": "string"
  25968. },
  25969. "vendorname2": {
  25970. "description": "挂牌商品供应商名称",
  25971. "type": "string"
  25972. }
  25973. }
  25974. },
  25975. "models.Loginaccount": {
  25976. "type": "object",
  25977. "required": [
  25978. "loginid"
  25979. ],
  25980. "properties": {
  25981. "accountname": {
  25982. "description": "账户名称",
  25983. "type": "string"
  25984. },
  25985. "canoutin": {
  25986. "description": "是否可出入金 - 0:不可 1:可",
  25987. "type": "integer"
  25988. },
  25989. "clientroleid": {
  25990. "description": "终端角色ID",
  25991. "type": "integer"
  25992. },
  25993. "haslogined": {
  25994. "description": "是否已登录 - 0:未登录 1:已登录",
  25995. "type": "integer"
  25996. },
  25997. "hasupdatedpwd": {
  25998. "description": "是否已更改密码 - 0:未修改 1:已修改",
  25999. "type": "integer"
  26000. },
  26001. "lastloginip": {
  26002. "description": "最新登录地址",
  26003. "type": "string"
  26004. },
  26005. "lastloginmode": {
  26006. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26007. "type": "integer"
  26008. },
  26009. "lastloginremark": {
  26010. "description": "最新登录描述",
  26011. "type": "string"
  26012. },
  26013. "lastlogintime": {
  26014. "description": "最新登录时间",
  26015. "type": "string"
  26016. },
  26017. "logincode": {
  26018. "description": "登录代码",
  26019. "type": "string"
  26020. },
  26021. "loginfailnum": {
  26022. "description": "连续登录失败次数(登录成功时清零)",
  26023. "type": "integer"
  26024. },
  26025. "loginid": {
  26026. "description": "登陆账号",
  26027. "type": "integer"
  26028. },
  26029. "loginport": {
  26030. "description": "最新登录端口",
  26031. "type": "integer"
  26032. },
  26033. "loginstatus": {
  26034. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26035. "type": "integer"
  26036. },
  26037. "loginusertype": {
  26038. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26039. "type": "integer"
  26040. },
  26041. "mobile": {
  26042. "description": "手机号码(加密存储)",
  26043. "type": "string"
  26044. },
  26045. "modifierid": {
  26046. "description": "修改人",
  26047. "type": "integer"
  26048. },
  26049. "modifysrc": {
  26050. "description": "审核来源 - 1:管理端 2:终端",
  26051. "type": "integer"
  26052. },
  26053. "modifytime": {
  26054. "description": "修改时间",
  26055. "type": "string"
  26056. },
  26057. "password": {
  26058. "description": "登陆密码",
  26059. "type": "string"
  26060. },
  26061. "pwdwrongcount": {
  26062. "description": "密码错误次数",
  26063. "type": "integer"
  26064. },
  26065. "relateduserid": {
  26066. "description": "关联用户ID(机构)",
  26067. "type": "integer"
  26068. },
  26069. "taaccountrighttype": {
  26070. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  26071. "type": "integer"
  26072. },
  26073. "unfreezetime": {
  26074. "description": "账户解冻时间",
  26075. "type": "string"
  26076. },
  26077. "userid": {
  26078. "description": "用户ID",
  26079. "type": "integer"
  26080. }
  26081. }
  26082. },
  26083. "models.MainAccountInfo": {
  26084. "type": "object",
  26085. "properties": {
  26086. "accountid": {
  26087. "description": "账号id",
  26088. "type": "integer"
  26089. },
  26090. "accountname": {
  26091. "description": "账号名称(taaccount表中的名称)",
  26092. "type": "string"
  26093. },
  26094. "appid": {
  26095. "description": "AppID",
  26096. "type": "string"
  26097. },
  26098. "authcode": {
  26099. "description": "授权码",
  26100. "type": "string"
  26101. },
  26102. "brokerid": {
  26103. "description": "经纪商id",
  26104. "type": "string"
  26105. },
  26106. "fcid": {
  26107. "description": "期货公司id",
  26108. "type": "integer"
  26109. },
  26110. "fcname": {
  26111. "description": "期货公司代码",
  26112. "type": "string"
  26113. },
  26114. "hedgeaccountcode": {
  26115. "description": "外部账号代码(主账号登录代码)",
  26116. "type": "string"
  26117. },
  26118. "hedgeaccountpwd": {
  26119. "description": "密码",
  26120. "type": "string"
  26121. },
  26122. "ismain": {
  26123. "description": "是否主账号",
  26124. "type": "integer"
  26125. },
  26126. "relateduserid": {
  26127. "description": "关联用户id",
  26128. "type": "integer"
  26129. },
  26130. "userid": {
  26131. "description": "关联用户id",
  26132. "type": "integer"
  26133. }
  26134. }
  26135. },
  26136. "models.Market": {
  26137. "type": "object",
  26138. "required": [
  26139. "marketid",
  26140. "marketstatus",
  26141. "openmethod",
  26142. "reckonpricealgorithm",
  26143. "trademode",
  26144. "tradeproperty"
  26145. ],
  26146. "properties": {
  26147. "auctionwrtype": {
  26148. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  26149. "type": "integer"
  26150. },
  26151. "canacceptquote": {
  26152. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  26153. "type": "integer"
  26154. },
  26155. "cangoodsexercise": {
  26156. "description": "[期权]是否可现货行权- 0:否 1:是",
  26157. "type": "integer"
  26158. },
  26159. "cangoodsexercisetype": {
  26160. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  26161. "type": "integer"
  26162. },
  26163. "canmanualquotestrike": {
  26164. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  26165. "type": "integer"
  26166. },
  26167. "canmutistage": {
  26168. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  26169. "type": "integer"
  26170. },
  26171. "canpreexercise": {
  26172. "description": "[期权]是否可预申报- 0:否 1:是",
  26173. "type": "integer"
  26174. },
  26175. "clearinterval": {
  26176. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  26177. "type": "integer"
  26178. },
  26179. "contracttmp": {
  26180. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  26181. "type": "string"
  26182. },
  26183. "exchareaid": {
  26184. "description": "所属交易所,可以没有",
  26185. "type": "integer"
  26186. },
  26187. "goodstype": {
  26188. "description": "商品类型 - 1:交易商品 2:仓单商品",
  26189. "type": "integer"
  26190. },
  26191. "hasrebate": {
  26192. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  26193. "type": "integer"
  26194. },
  26195. "hastradecredit": {
  26196. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  26197. "type": "integer"
  26198. },
  26199. "haswr": {
  26200. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  26201. "type": "integer"
  26202. },
  26203. "isdeductmargin": {
  26204. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  26205. "type": "integer"
  26206. },
  26207. "isrecordsource": {
  26208. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  26209. "type": "integer"
  26210. },
  26211. "isreleasemargin": {
  26212. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  26213. "type": "integer"
  26214. },
  26215. "marginformula": {
  26216. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26217. "type": "integer"
  26218. },
  26219. "marginformula2": {
  26220. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26221. "type": "integer"
  26222. },
  26223. "marketid": {
  26224. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26225. "type": "integer"
  26226. },
  26227. "marketname": {
  26228. "description": "市场名称",
  26229. "type": "string"
  26230. },
  26231. "marketserviceid": {
  26232. "description": "市场服务ID",
  26233. "type": "integer"
  26234. },
  26235. "marketstatus": {
  26236. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26237. "type": "integer"
  26238. },
  26239. "markettype": {
  26240. "description": "市场类型- 1:非交易服务 2:交易服务",
  26241. "type": "integer"
  26242. },
  26243. "matchermode": {
  26244. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  26245. "type": "integer"
  26246. },
  26247. "openmethod": {
  26248. "description": "开盘模式 - 0 自动 1手动",
  26249. "type": "integer"
  26250. },
  26251. "otcuserid": {
  26252. "description": "场外期权做市商[场外期权]",
  26253. "type": "integer"
  26254. },
  26255. "outersynctime": {
  26256. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  26257. "type": "string"
  26258. },
  26259. "pendingflag": {
  26260. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  26261. "type": "integer"
  26262. },
  26263. "pendingtime": {
  26264. "description": "待开市时间[通道交易-对冲](HH:mm)",
  26265. "type": "string"
  26266. },
  26267. "performancetempid": {
  26268. "description": "履约计划模板ID - 作废",
  26269. "type": "integer"
  26270. },
  26271. "premiumquotemode": {
  26272. "description": "权利金报价方式 - 1:自动 2:手动",
  26273. "type": "integer"
  26274. },
  26275. "rebateratio": {
  26276. "description": "返利比率[竞价式]",
  26277. "type": "number"
  26278. },
  26279. "reckonorder": {
  26280. "description": "结算顺序",
  26281. "type": "integer"
  26282. },
  26283. "reckonpricealgorithm": {
  26284. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  26285. "type": "integer"
  26286. },
  26287. "reckonpriceparam": {
  26288. "description": "结算价参数",
  26289. "type": "integer"
  26290. },
  26291. "reckontime": {
  26292. "description": "结算时间[通道交易-对冲](HH:mm)",
  26293. "type": "string"
  26294. },
  26295. "roleprioritytype": {
  26296. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  26297. "type": "integer"
  26298. },
  26299. "selllistingauditflag": {
  26300. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  26301. "type": "integer"
  26302. },
  26303. "trademarkettype": {
  26304. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  26305. "type": "integer"
  26306. },
  26307. "trademode": {
  26308. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26309. "type": "integer"
  26310. },
  26311. "tradeproperty": {
  26312. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  26313. "type": "integer"
  26314. },
  26315. "tradetype": {
  26316. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  26317. "type": "integer"
  26318. }
  26319. }
  26320. },
  26321. "models.Marketrun": {
  26322. "type": "object",
  26323. "required": [
  26324. "marketid",
  26325. "nexttradedate",
  26326. "reckonflag",
  26327. "runstatus",
  26328. "tradedate",
  26329. "tradedate2"
  26330. ],
  26331. "properties": {
  26332. "afternexttradedate": {
  26333. "description": "下下交易日",
  26334. "type": "string"
  26335. },
  26336. "clearquoteflag": {
  26337. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  26338. "type": "integer"
  26339. },
  26340. "lastreckondate": {
  26341. "description": "最新交易日(结算成功)",
  26342. "type": "string"
  26343. },
  26344. "machinedate": {
  26345. "description": "机器时间",
  26346. "type": "string"
  26347. },
  26348. "manualflag": {
  26349. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  26350. "type": "integer"
  26351. },
  26352. "marketid": {
  26353. "description": "市场ID",
  26354. "type": "integer"
  26355. },
  26356. "nexttradedate": {
  26357. "description": "下一交易日",
  26358. "type": "string"
  26359. },
  26360. "pretradedate": {
  26361. "description": "上一交易日",
  26362. "type": "string"
  26363. },
  26364. "reckonflag": {
  26365. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  26366. "type": "integer"
  26367. },
  26368. "runstatus": {
  26369. "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.今日免清算",
  26370. "type": "integer"
  26371. },
  26372. "sectionid": {
  26373. "description": "时间段号[多时段时用]",
  26374. "type": "integer"
  26375. },
  26376. "tradedate": {
  26377. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  26378. "type": "string"
  26379. },
  26380. "tradedate2": {
  26381. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  26382. "type": "string"
  26383. },
  26384. "updatetime": {
  26385. "description": "更新时间",
  26386. "type": "string"
  26387. }
  26388. }
  26389. },
  26390. "models.Messageboard": {
  26391. "type": "object",
  26392. "required": [
  26393. "messageboardid"
  26394. ],
  26395. "properties": {
  26396. "contactnum": {
  26397. "description": "联系电话",
  26398. "type": "string"
  26399. },
  26400. "createtime": {
  26401. "description": "创建时间",
  26402. "type": "string"
  26403. },
  26404. "message": {
  26405. "description": "留言信息",
  26406. "type": "string"
  26407. },
  26408. "messageboardid": {
  26409. "description": "留言簿ID(SEQ_MessageBoard)",
  26410. "type": "integer"
  26411. },
  26412. "userid": {
  26413. "description": "用户ID",
  26414. "type": "integer"
  26415. }
  26416. }
  26417. },
  26418. "models.MyCoupon": {
  26419. "type": "object",
  26420. "required": [
  26421. "accountid",
  26422. "coupontypeid"
  26423. ],
  26424. "properties": {
  26425. "accountid": {
  26426. "description": "资金账户ID",
  26427. "type": "integer"
  26428. },
  26429. "areauserid": {
  26430. "description": "所属机构",
  26431. "type": "integer"
  26432. },
  26433. "conditionvalue": {
  26434. "description": "条件阈值(可为0)",
  26435. "type": "number"
  26436. },
  26437. "couponcategroy": {
  26438. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  26439. "type": "integer"
  26440. },
  26441. "couponname": {
  26442. "description": "优惠券名称",
  26443. "type": "string"
  26444. },
  26445. "coupontypeid": {
  26446. "description": "优惠券类型ID",
  26447. "type": "string"
  26448. },
  26449. "couponvalue": {
  26450. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  26451. "type": "number"
  26452. },
  26453. "curfreezeqty": {
  26454. "description": "期末冻结数量",
  26455. "type": "integer"
  26456. },
  26457. "curqty": {
  26458. "description": "期末数量",
  26459. "type": "integer"
  26460. },
  26461. "isgeneral": {
  26462. "description": "是否通用券 - 0:否 1:是",
  26463. "type": "integer"
  26464. },
  26465. "isunusable": {
  26466. "description": "是否不可用",
  26467. "type": "boolean"
  26468. },
  26469. "limitedflag": {
  26470. "description": "是否指定商品 - 0:不限 1:限制",
  26471. "type": "integer"
  26472. },
  26473. "limitedgoodsids": {
  26474. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  26475. "type": "string"
  26476. },
  26477. "orifreezeqty": {
  26478. "description": "期初冻结数量",
  26479. "type": "integer"
  26480. },
  26481. "oriqty": {
  26482. "description": "期初数量",
  26483. "type": "integer"
  26484. },
  26485. "reasontype": {
  26486. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  26487. "type": "integer"
  26488. },
  26489. "todaydecrease": {
  26490. "description": "今日减少",
  26491. "type": "integer"
  26492. },
  26493. "todayincrease": {
  26494. "description": "今日增加",
  26495. "type": "integer"
  26496. },
  26497. "userid": {
  26498. "description": "用户ID",
  26499. "type": "integer"
  26500. },
  26501. "userscope": {
  26502. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  26503. "type": "string"
  26504. }
  26505. }
  26506. },
  26507. "models.MyCouponHold": {
  26508. "type": "object",
  26509. "required": [
  26510. "couponholdid"
  26511. ],
  26512. "properties": {
  26513. "accountid": {
  26514. "description": "资金账户ID",
  26515. "type": "integer"
  26516. },
  26517. "conditionvalue": {
  26518. "description": "条件阈值(可为0)",
  26519. "type": "number"
  26520. },
  26521. "couponcategroy": {
  26522. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  26523. "type": "integer"
  26524. },
  26525. "couponholdid": {
  26526. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  26527. "type": "string"
  26528. },
  26529. "couponname": {
  26530. "description": "优惠券名称",
  26531. "type": "string"
  26532. },
  26533. "coupontypeid": {
  26534. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  26535. "type": "string"
  26536. },
  26537. "couponvalue": {
  26538. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  26539. "type": "number"
  26540. },
  26541. "createtime": {
  26542. "description": "创建时间",
  26543. "type": "string"
  26544. },
  26545. "enddate": {
  26546. "description": "结束日期",
  26547. "type": "string"
  26548. },
  26549. "giveapplyid": {
  26550. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  26551. "type": "integer"
  26552. },
  26553. "holdstatus": {
  26554. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  26555. "type": "integer"
  26556. },
  26557. "isgeneral": {
  26558. "description": "是否通用券 - 0:否 1:是",
  26559. "type": "integer"
  26560. },
  26561. "limitedflag": {
  26562. "description": "是否指定商品 - 0:不限 1:限制",
  26563. "type": "integer"
  26564. },
  26565. "limitedgoodsids": {
  26566. "description": "指定商品IDs[逗号分隔]",
  26567. "type": "string"
  26568. },
  26569. "qty": {
  26570. "description": "数量(按1平铺)",
  26571. "type": "integer"
  26572. },
  26573. "startdate": {
  26574. "description": "开始日期",
  26575. "type": "string"
  26576. },
  26577. "userid": {
  26578. "description": "用户ID",
  26579. "type": "integer"
  26580. },
  26581. "userscope": {
  26582. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  26583. "type": "string"
  26584. }
  26585. }
  26586. },
  26587. "models.MyUsedCoupon": {
  26588. "type": "object",
  26589. "required": [
  26590. "coupontypeid",
  26591. "orderid"
  26592. ],
  26593. "properties": {
  26594. "accountid": {
  26595. "description": "资金账户ID(买方)",
  26596. "type": "integer"
  26597. },
  26598. "conditionvalue": {
  26599. "description": "条件阈值(可为0)",
  26600. "type": "number"
  26601. },
  26602. "couponcategroy": {
  26603. "description": "种类 - 1:现金券 2:折扣券",
  26604. "type": "integer"
  26605. },
  26606. "couponname": {
  26607. "description": "优惠券名称",
  26608. "type": "string"
  26609. },
  26610. "coupontypeid": {
  26611. "description": "优惠券类型ID(买方)",
  26612. "type": "string"
  26613. },
  26614. "couponvalue": {
  26615. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  26616. "type": "number"
  26617. },
  26618. "createtime": {
  26619. "description": "创建时间",
  26620. "type": "string"
  26621. },
  26622. "goodsid": {
  26623. "description": "商品ID",
  26624. "type": "integer"
  26625. },
  26626. "handlestatus": {
  26627. "description": "处理状态",
  26628. "type": "integer"
  26629. },
  26630. "marketid": {
  26631. "description": "市场ID",
  26632. "type": "integer"
  26633. },
  26634. "offamount": {
  26635. "description": "优惠金额",
  26636. "type": "number"
  26637. },
  26638. "orderid": {
  26639. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26640. "type": "string"
  26641. },
  26642. "sellaccountid": {
  26643. "description": "资金账户ID(卖方)",
  26644. "type": "integer"
  26645. },
  26646. "tradeamount": {
  26647. "description": "成交金额",
  26648. "type": "number"
  26649. },
  26650. "tradeid": {
  26651. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26652. "type": "string"
  26653. },
  26654. "usedqty": {
  26655. "description": "使用数量",
  26656. "type": "integer"
  26657. }
  26658. }
  26659. },
  26660. "models.OperationPrimaryMenu": {
  26661. "type": "object",
  26662. "properties": {
  26663. "Children": {
  26664. "description": "二级功能菜单",
  26665. "type": "array",
  26666. "items": {
  26667. "$ref": "#/definitions/models.OperationSecondaryMenu"
  26668. }
  26669. },
  26670. "Key": {
  26671. "description": "菜单KEY",
  26672. "type": "string"
  26673. },
  26674. "Label": {
  26675. "description": "菜单标题",
  26676. "type": "string"
  26677. }
  26678. }
  26679. },
  26680. "models.OperationSecondaryMenu": {
  26681. "type": "object",
  26682. "properties": {
  26683. "Key": {
  26684. "description": "菜单KEY",
  26685. "type": "string"
  26686. },
  26687. "Label": {
  26688. "description": "菜单标题",
  26689. "type": "string"
  26690. },
  26691. "TabList": {
  26692. "description": "三级功能菜单",
  26693. "type": "array",
  26694. "items": {
  26695. "$ref": "#/definitions/models.OperationTabMenu"
  26696. }
  26697. }
  26698. }
  26699. },
  26700. "models.OperationTabMenu": {
  26701. "type": "object",
  26702. "properties": {
  26703. "Key": {
  26704. "description": "菜单KEY",
  26705. "type": "string"
  26706. },
  26707. "Label": {
  26708. "description": "菜单标题",
  26709. "type": "string"
  26710. }
  26711. }
  26712. },
  26713. "models.QhjAccountOutInApply": {
  26714. "type": "object",
  26715. "properties": {
  26716. "accountcode": {
  26717. "description": "资金账号",
  26718. "type": "string"
  26719. },
  26720. "accountname": {
  26721. "description": "用户名称(名称)",
  26722. "type": "string"
  26723. },
  26724. "accountpwd": {
  26725. "description": "资金密码",
  26726. "type": "string"
  26727. },
  26728. "accountticket": {
  26729. "description": "最新账户服务流水号",
  26730. "type": "string"
  26731. },
  26732. "amount": {
  26733. "description": "金额",
  26734. "type": "number"
  26735. },
  26736. "applyremark": {
  26737. "description": "申请备注",
  26738. "type": "string"
  26739. },
  26740. "applystatus": {
  26741. "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: 复审通过,账户冻结金额检查中;",
  26742. "type": "integer"
  26743. },
  26744. "auditid": {
  26745. "description": "审核人",
  26746. "type": "integer"
  26747. },
  26748. "audittime": {
  26749. "description": "审核时间",
  26750. "type": "string"
  26751. },
  26752. "bank_apply_ticket": {
  26753. "description": "银行申请流水",
  26754. "type": "string"
  26755. },
  26756. "bankaccountname": {
  26757. "description": "银行账户名",
  26758. "type": "string"
  26759. },
  26760. "bankaccountno": {
  26761. "description": "银行卡号",
  26762. "type": "string"
  26763. },
  26764. "bankid": {
  26765. "description": "银行编号",
  26766. "type": "string"
  26767. },
  26768. "bankticket": {
  26769. "description": "银行流水",
  26770. "type": "string"
  26771. },
  26772. "branchbankid": {
  26773. "description": "银行支行号",
  26774. "type": "string"
  26775. },
  26776. "branchbankname": {
  26777. "description": "银行支行名称",
  26778. "type": "string"
  26779. },
  26780. "capamountout": {
  26781. "description": "出金(劣后本金) - 外部子账户",
  26782. "type": "number"
  26783. },
  26784. "certificatephotourl": {
  26785. "description": "凭证地址",
  26786. "type": "string"
  26787. },
  26788. "charge": {
  26789. "description": "手续费",
  26790. "type": "number"
  26791. },
  26792. "checkerrorflag": {
  26793. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  26794. "type": "integer"
  26795. },
  26796. "currency": {
  26797. "description": "币种",
  26798. "type": "string"
  26799. },
  26800. "cusbankid": {
  26801. "description": "托管银行编号",
  26802. "type": "string"
  26803. },
  26804. "exchticket": {
  26805. "description": "银行服务流水号",
  26806. "type": "string"
  26807. },
  26808. "executetype": {
  26809. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  26810. "type": "integer"
  26811. },
  26812. "extendinfo": {
  26813. "description": "扩展信息",
  26814. "type": "string"
  26815. },
  26816. "extoperateid": {
  26817. "description": "交易服务流水号",
  26818. "type": "integer"
  26819. },
  26820. "infamount": {
  26821. "description": "劣后金额(自有)",
  26822. "type": "number"
  26823. },
  26824. "logincode": {
  26825. "description": "登录账号(账号)",
  26826. "type": "string"
  26827. },
  26828. "netaddr": {
  26829. "description": "调转网址",
  26830. "type": "string"
  26831. },
  26832. "priamount": {
  26833. "description": "优先金额(授信)",
  26834. "type": "number"
  26835. },
  26836. "reauditid": {
  26837. "description": "复审人",
  26838. "type": "integer"
  26839. },
  26840. "reauditremark": {
  26841. "description": "复审备注",
  26842. "type": "string"
  26843. },
  26844. "reaudittime": {
  26845. "description": "复审时间",
  26846. "type": "string"
  26847. },
  26848. "relatedorderid": {
  26849. "description": "三方关联ID",
  26850. "type": "string"
  26851. },
  26852. "remark": {
  26853. "description": "备注",
  26854. "type": "string"
  26855. },
  26856. "remark2": {
  26857. "description": "备注(失败原因)",
  26858. "type": "string"
  26859. },
  26860. "soucreamount": {
  26861. "description": "原始出入金金额",
  26862. "type": "number"
  26863. },
  26864. "soucrecurrencyid": {
  26865. "description": "原始出入金币种",
  26866. "type": "integer"
  26867. },
  26868. "tradedate": {
  26869. "description": "交易日(yyyyMMdd)",
  26870. "type": "string"
  26871. },
  26872. "updatetime": {
  26873. "description": "更新时间(申请时间)",
  26874. "type": "string"
  26875. },
  26876. "userid": {
  26877. "description": "用户id",
  26878. "type": "integer"
  26879. },
  26880. "userinfotype": {
  26881. "description": "账户类型 1-个人 2-企业",
  26882. "type": "integer"
  26883. }
  26884. }
  26885. },
  26886. "models.QhjAgreementChangeLog": {
  26887. "type": "object",
  26888. "properties": {
  26889. "agreementcontent": {
  26890. "description": "协议内容",
  26891. "type": "string"
  26892. },
  26893. "agreementfrequency": {
  26894. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  26895. "type": "integer"
  26896. },
  26897. "agreementid": {
  26898. "description": "协议ID",
  26899. "type": "integer"
  26900. },
  26901. "agreementname": {
  26902. "description": "协议名称",
  26903. "type": "string"
  26904. },
  26905. "agreementno": {
  26906. "description": "协议编号",
  26907. "type": "string"
  26908. },
  26909. "agreementtype": {
  26910. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26911. "type": "integer"
  26912. },
  26913. "agreementversion": {
  26914. "description": "协议版本号",
  26915. "type": "integer"
  26916. },
  26917. "logid": {
  26918. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  26919. "type": "integer"
  26920. },
  26921. "reviserid": {
  26922. "description": "修改人",
  26923. "type": "integer"
  26924. },
  26925. "revisersrc": {
  26926. "description": "修改来源 - 1:管理端 2:终端",
  26927. "type": "integer"
  26928. },
  26929. "updatetime": {
  26930. "description": "更新时间",
  26931. "type": "string"
  26932. }
  26933. }
  26934. },
  26935. "models.QhjAgreementConfig": {
  26936. "type": "object",
  26937. "properties": {
  26938. "agreementcontent": {
  26939. "description": "协议内容",
  26940. "type": "string"
  26941. },
  26942. "agreementfrequency": {
  26943. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  26944. "type": "integer"
  26945. },
  26946. "agreementid": {
  26947. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  26948. "type": "integer"
  26949. },
  26950. "agreementname": {
  26951. "description": "协议名称",
  26952. "type": "string"
  26953. },
  26954. "agreementno": {
  26955. "description": "协议编号",
  26956. "type": "string"
  26957. },
  26958. "agreementtype": {
  26959. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26960. "type": "integer"
  26961. },
  26962. "agreementversion": {
  26963. "description": "协议版本号(从1开始每次修改加1)",
  26964. "type": "integer"
  26965. },
  26966. "createtime": {
  26967. "description": "创建时间",
  26968. "type": "string"
  26969. },
  26970. "creatorid": {
  26971. "description": "创建人",
  26972. "type": "integer"
  26973. },
  26974. "creatorsrc": {
  26975. "description": "创建来源 - 1:管理端 2:终端",
  26976. "type": "integer"
  26977. },
  26978. "isvalid": {
  26979. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  26980. "type": "integer"
  26981. },
  26982. "reviserid": {
  26983. "description": "修改人",
  26984. "type": "integer"
  26985. },
  26986. "revisersrc": {
  26987. "description": "修改来源 - 1:管理端 2:终端",
  26988. "type": "integer"
  26989. },
  26990. "updatetime": {
  26991. "description": "更新时间",
  26992. "type": "string"
  26993. }
  26994. }
  26995. },
  26996. "models.QhjAreaFinanceConfig": {
  26997. "type": "object",
  26998. "properties": {
  26999. "additionalratio": {
  27000. "description": "追加款比例",
  27001. "type": "number"
  27002. },
  27003. "advanceratio": {
  27004. "description": "预付款比例",
  27005. "type": "number"
  27006. },
  27007. "alarmratio": {
  27008. "description": "告警比例",
  27009. "type": "number"
  27010. },
  27011. "consumptiondirectreward": {
  27012. "description": "消费直推奖励值",
  27013. "type": "number"
  27014. },
  27015. "consumptionenabled": {
  27016. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27017. "type": "integer"
  27018. },
  27019. "consumptionindirectreward": {
  27020. "description": "消费间推奖励值",
  27021. "type": "number"
  27022. },
  27023. "consumptionmodel": {
  27024. "description": "消费奖励方式 - 1:比率 2:固定",
  27025. "type": "integer"
  27026. },
  27027. "customerservicenum": {
  27028. "description": "客服电话",
  27029. "type": "string"
  27030. },
  27031. "dayinterestrate": {
  27032. "description": "日利率",
  27033. "type": "number"
  27034. },
  27035. "disableconsumptiontips": {
  27036. "description": "关闭消费奖励提示",
  27037. "type": "string"
  27038. },
  27039. "modifierid": {
  27040. "description": "修改人ID",
  27041. "type": "integer"
  27042. },
  27043. "modifysrc": {
  27044. "description": "审核来源 - 1:管理端 2:终端",
  27045. "type": "integer"
  27046. },
  27047. "modifytime": {
  27048. "description": "修改时间",
  27049. "type": "string"
  27050. },
  27051. "promotionvalue": {
  27052. "description": "推广奖励值(固定)",
  27053. "type": "number"
  27054. },
  27055. "scoreconfigvalue1": {
  27056. "description": "提货积分配置1",
  27057. "type": "integer"
  27058. },
  27059. "scoreconfigvalue2": {
  27060. "description": "提货积分配置2",
  27061. "type": "integer"
  27062. },
  27063. "userid": {
  27064. "description": "机构用户ID其他做市关系,都设置为 1",
  27065. "type": "integer"
  27066. },
  27067. "username": {
  27068. "description": "用户名称",
  27069. "type": "string"
  27070. }
  27071. }
  27072. },
  27073. "models.QhjBankAccountSign": {
  27074. "type": "object",
  27075. "properties": {
  27076. "accountcode": {
  27077. "description": "资金账号",
  27078. "type": "string"
  27079. },
  27080. "accountname": {
  27081. "description": "资金账号对应的账号名(UserName)",
  27082. "type": "string"
  27083. },
  27084. "accountname2": {
  27085. "description": "资金账号对应的账号名(UserName) - 密文",
  27086. "type": "string"
  27087. },
  27088. "accounttype": {
  27089. "description": "账户类型(UserType)",
  27090. "type": "integer"
  27091. },
  27092. "applicationtime": {
  27093. "description": "最后一次更新的时间",
  27094. "type": "string"
  27095. },
  27096. "applyexchticket": {
  27097. "description": "申请流水",
  27098. "type": "string"
  27099. },
  27100. "auditid": {
  27101. "description": "审核人",
  27102. "type": "integer"
  27103. },
  27104. "audittime": {
  27105. "description": "审核时间",
  27106. "type": "string"
  27107. },
  27108. "bankaccountname": {
  27109. "description": "签约银行卡账号名",
  27110. "type": "string"
  27111. },
  27112. "bankaccountname2": {
  27113. "description": "签约银行卡账号名 - 密文",
  27114. "type": "string"
  27115. },
  27116. "bankaccountno": {
  27117. "description": "银行卡号",
  27118. "type": "string"
  27119. },
  27120. "bankaccountno2": {
  27121. "description": "银行卡号 - 密文",
  27122. "type": "string"
  27123. },
  27124. "bankaccounttype": {
  27125. "description": "银行账户类型 - 1-对私; 2-对公",
  27126. "type": "integer"
  27127. },
  27128. "bankcardtype": {
  27129. "description": "银行卡类型",
  27130. "type": "integer"
  27131. },
  27132. "bankchildaccount": {
  27133. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  27134. "type": "string"
  27135. },
  27136. "bankcity": {
  27137. "description": "开户行城市",
  27138. "type": "string"
  27139. },
  27140. "bankid": {
  27141. "description": "签约银行ID",
  27142. "type": "string"
  27143. },
  27144. "bankname": {
  27145. "description": "签约银行名称",
  27146. "type": "string"
  27147. },
  27148. "bankprovince": {
  27149. "description": "开户行省份",
  27150. "type": "string"
  27151. },
  27152. "branchbankid": {
  27153. "description": "签约银行支行号",
  27154. "type": "string"
  27155. },
  27156. "branchbankname": {
  27157. "description": "签约银行支行名称",
  27158. "type": "string"
  27159. },
  27160. "cardno": {
  27161. "description": "证件号码",
  27162. "type": "string"
  27163. },
  27164. "cardno2": {
  27165. "description": "证件号码 - 密文",
  27166. "type": "string"
  27167. },
  27168. "cardtype": {
  27169. "description": "证件类型",
  27170. "type": "string"
  27171. },
  27172. "currency": {
  27173. "description": "币种",
  27174. "type": "string"
  27175. },
  27176. "cusbankid": {
  27177. "description": "托管银行编号",
  27178. "type": "string"
  27179. },
  27180. "direct": {
  27181. "description": "方向(可以判断那方先发起的签约)",
  27182. "type": "integer"
  27183. },
  27184. "exchticket": {
  27185. "description": "最后一次签约成功的流水号",
  27186. "type": "string"
  27187. },
  27188. "extendinfo": {
  27189. "description": "扩展信息(JSON字符串)",
  27190. "type": "string"
  27191. },
  27192. "mobilephone": {
  27193. "description": "手机号",
  27194. "type": "string"
  27195. },
  27196. "mobilephone2": {
  27197. "description": "手机号 - 密文",
  27198. "type": "string"
  27199. },
  27200. "netaddr": {
  27201. "description": "调转网址",
  27202. "type": "string"
  27203. },
  27204. "relateduserid": {
  27205. "description": "关联使用者userid",
  27206. "type": "integer"
  27207. },
  27208. "signstatus": {
  27209. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  27210. "type": "integer"
  27211. },
  27212. "updatetime": {
  27213. "description": "更新时间(签解约更新时间)",
  27214. "type": "string"
  27215. }
  27216. }
  27217. },
  27218. "models.QhjBankInfo": {
  27219. "type": "object",
  27220. "properties": {
  27221. "bankid": {
  27222. "description": "银行ID",
  27223. "type": "string"
  27224. },
  27225. "bankname": {
  27226. "description": "银行名称",
  27227. "type": "string"
  27228. },
  27229. "clearbankno": {
  27230. "description": "清算系统银行编号",
  27231. "type": "string"
  27232. },
  27233. "orderindex": {
  27234. "description": "排序顺序",
  27235. "type": "integer"
  27236. },
  27237. "status": {
  27238. "description": "状态 - 0:正常 1:注销",
  27239. "type": "integer"
  27240. }
  27241. }
  27242. },
  27243. "models.QhjBrokerApply": {
  27244. "type": "object",
  27245. "properties": {
  27246. "applicantid": {
  27247. "description": "申请人",
  27248. "type": "integer"
  27249. },
  27250. "applysrc": {
  27251. "description": "申请来源 - 1:管理端 2:终端",
  27252. "type": "integer"
  27253. },
  27254. "applystatus": {
  27255. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27256. "type": "integer"
  27257. },
  27258. "applytime": {
  27259. "description": "申请时间",
  27260. "type": "string"
  27261. },
  27262. "auditorid": {
  27263. "description": "审核人",
  27264. "type": "integer"
  27265. },
  27266. "auditremark": {
  27267. "description": "审核备注",
  27268. "type": "string"
  27269. },
  27270. "auditsrc": {
  27271. "description": "审核来源 - 1:管理端 2:终端",
  27272. "type": "integer"
  27273. },
  27274. "audittime": {
  27275. "description": "审核时间",
  27276. "type": "string"
  27277. },
  27278. "audittradedate": {
  27279. "description": "审核交易日(yyyyMMdd)",
  27280. "type": "string"
  27281. },
  27282. "brokerapplyid": {
  27283. "description": "申请ID(SEQ_BROKERAPPLY)",
  27284. "type": "integer"
  27285. },
  27286. "cardbackphotourl": {
  27287. "description": "证件背面图片地址",
  27288. "type": "string"
  27289. },
  27290. "cardfrontphotourl": {
  27291. "description": "证件正面图片地址",
  27292. "type": "string"
  27293. },
  27294. "cardnum": {
  27295. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27296. "type": "string"
  27297. },
  27298. "customername": {
  27299. "description": "姓名",
  27300. "type": "string"
  27301. },
  27302. "logincode": {
  27303. "description": "登录代码",
  27304. "type": "string"
  27305. },
  27306. "mobile": {
  27307. "description": "手机号码",
  27308. "type": "string"
  27309. },
  27310. "parentuserid": {
  27311. "description": "所属机构id",
  27312. "type": "integer"
  27313. },
  27314. "parentusername": {
  27315. "description": "所属机构名称",
  27316. "type": "string"
  27317. },
  27318. "refereeuserid": {
  27319. "description": "推荐人id(经纪人)",
  27320. "type": "integer"
  27321. },
  27322. "refernum": {
  27323. "description": "推荐码",
  27324. "type": "string"
  27325. },
  27326. "remark": {
  27327. "description": "备注",
  27328. "type": "string"
  27329. },
  27330. "subarealevelpath": {
  27331. "description": "层级路径",
  27332. "type": "string"
  27333. },
  27334. "tradedate": {
  27335. "description": "交易日(yyyyMMdd)",
  27336. "type": "string"
  27337. },
  27338. "userid": {
  27339. "description": "申请人用户ID",
  27340. "type": "integer"
  27341. },
  27342. "userinfotype": {
  27343. "description": "用户类型 1-个人 2-企业",
  27344. "type": "integer"
  27345. },
  27346. "username": {
  27347. "description": "用户名称",
  27348. "type": "string"
  27349. }
  27350. }
  27351. },
  27352. "models.QhjBrokerApplyEx": {
  27353. "type": "object",
  27354. "properties": {
  27355. "applylist": {
  27356. "description": "经纪人申请记录(只返回最新一条)",
  27357. "type": "array",
  27358. "items": {
  27359. "$ref": "#/definitions/models.QhjBrokerApply"
  27360. }
  27361. },
  27362. "canrecommend": {
  27363. "description": "是否经纪人 0-不是 1-是",
  27364. "type": "integer"
  27365. },
  27366. "refernum": {
  27367. "description": "推荐码",
  27368. "type": "string"
  27369. },
  27370. "userid": {
  27371. "description": "用户id",
  27372. "type": "integer"
  27373. },
  27374. "userinfotype": {
  27375. "description": "用户类型 1-个人 2-企业",
  27376. "type": "integer"
  27377. }
  27378. }
  27379. },
  27380. "models.QhjBrokerRewardLog": {
  27381. "type": "object",
  27382. "properties": {
  27383. "accountid": {
  27384. "description": "资金账号ID",
  27385. "type": "integer"
  27386. },
  27387. "createtime": {
  27388. "description": "创建时间(时间)",
  27389. "type": "string"
  27390. },
  27391. "handlestatus": {
  27392. "description": "处理状态",
  27393. "type": "integer"
  27394. },
  27395. "logid": {
  27396. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27397. "type": "string"
  27398. },
  27399. "marketid": {
  27400. "description": "市场ID",
  27401. "type": "integer"
  27402. },
  27403. "mmaccountid": {
  27404. "description": "做市商资金账号ID",
  27405. "type": "string"
  27406. },
  27407. "mmuserid": {
  27408. "description": "做市商用户ID",
  27409. "type": "string"
  27410. },
  27411. "rewardamount": {
  27412. "description": "奖励金额",
  27413. "type": "number"
  27414. },
  27415. "rewardmodel": {
  27416. "description": "消费奖励方式 - 1:比率 2:固定",
  27417. "type": "integer"
  27418. },
  27419. "rewardtype": {
  27420. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  27421. "type": "integer"
  27422. },
  27423. "rewardvalue": {
  27424. "description": "配置奖励值",
  27425. "type": "number"
  27426. },
  27427. "srcamount": {
  27428. "description": "成交金额 [消费奖励] (金额)",
  27429. "type": "number"
  27430. },
  27431. "srcgoodsid": {
  27432. "description": "来源商品ID [消费奖励]",
  27433. "type": "string"
  27434. },
  27435. "srctime": {
  27436. "description": "来源时间 (成交时间) [消费奖励]",
  27437. "type": "string"
  27438. },
  27439. "srctradeid": {
  27440. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  27441. "type": "string"
  27442. },
  27443. "srcuserid": {
  27444. "description": "来源用户ID(推广账户)",
  27445. "type": "string"
  27446. },
  27447. "srcusername": {
  27448. "description": "推广账户名称",
  27449. "type": "string"
  27450. },
  27451. "tradedate": {
  27452. "description": "交易日(yyyyMMdd)",
  27453. "type": "string"
  27454. },
  27455. "userid": {
  27456. "description": "经纪人用户ID",
  27457. "type": "integer"
  27458. }
  27459. }
  27460. },
  27461. "models.QhjContract": {
  27462. "type": "object",
  27463. "properties": {
  27464. "contractconfirmtime": {
  27465. "description": "合同确认时间(时间)",
  27466. "type": "string"
  27467. },
  27468. "currisklevel": {
  27469. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27470. "type": "integer"
  27471. },
  27472. "decimalplace": {
  27473. "description": "商品报价小数位",
  27474. "type": "integer"
  27475. },
  27476. "enumdicname": {
  27477. "description": "单位名称",
  27478. "type": "string"
  27479. },
  27480. "goodscode": {
  27481. "description": "商品代码",
  27482. "type": "string"
  27483. },
  27484. "goodsid": {
  27485. "description": "商品ID [5:融资单]",
  27486. "type": "integer"
  27487. },
  27488. "goodsname": {
  27489. "description": "商品名称",
  27490. "type": "string"
  27491. },
  27492. "goodunitid": {
  27493. "description": "商品单位id",
  27494. "type": "integer"
  27495. },
  27496. "initmargin": {
  27497. "description": "初始保证金(首付款)",
  27498. "type": "number"
  27499. },
  27500. "lenderamount": {
  27501. "description": "贷款金额(总额|订单总额)",
  27502. "type": "number"
  27503. },
  27504. "marginratio": {
  27505. "description": "保证金比率(首付比例)",
  27506. "type": "number"
  27507. },
  27508. "payamount": {
  27509. "description": "已付(已付货款)",
  27510. "type": "number"
  27511. },
  27512. "reckonrecovermargin": {
  27513. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27514. "type": "number"
  27515. },
  27516. "recoveredmargin": {
  27517. "description": "已追缴保证金",
  27518. "type": "number"
  27519. },
  27520. "remainamount": {
  27521. "description": "合同剩余金额(融资额)",
  27522. "type": "number"
  27523. },
  27524. "scfcontractid": {
  27525. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27526. "type": "string"
  27527. },
  27528. "scfcontractstatus": {
  27529. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27530. "type": "integer"
  27531. },
  27532. "scfcontracttype": {
  27533. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27534. "type": "integer"
  27535. },
  27536. "totalinterest": {
  27537. "description": "已计总利息(利息)",
  27538. "type": "number"
  27539. },
  27540. "tradeprice": {
  27541. "description": "成交价格(成本价格)",
  27542. "type": "number"
  27543. },
  27544. "userid": {
  27545. "description": "用户ID",
  27546. "type": "integer"
  27547. },
  27548. "username": {
  27549. "description": "用户名称",
  27550. "type": "string"
  27551. },
  27552. "wrqty": {
  27553. "description": "仓单数量(数量)",
  27554. "type": "number"
  27555. }
  27556. }
  27557. },
  27558. "models.QhjContractLog": {
  27559. "type": "object",
  27560. "properties": {
  27561. "amount": {
  27562. "description": "支付金额",
  27563. "type": "number"
  27564. },
  27565. "amounttype": {
  27566. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  27567. "type": "integer"
  27568. },
  27569. "logid": {
  27570. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27571. "type": "string"
  27572. },
  27573. "remainamount": {
  27574. "description": "剩余货款",
  27575. "type": "number"
  27576. },
  27577. "scfcontractid": {
  27578. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27579. "type": "integer"
  27580. },
  27581. "updatetime": {
  27582. "description": "更新时间",
  27583. "type": "string"
  27584. }
  27585. }
  27586. },
  27587. "models.QhjCusBankSignBankEx": {
  27588. "type": "object",
  27589. "properties": {
  27590. "banklst": {
  27591. "description": "银行列表",
  27592. "type": "array",
  27593. "items": {
  27594. "$ref": "#/definitions/models.QhjBankInfo"
  27595. }
  27596. },
  27597. "canallot": {
  27598. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  27599. "type": "integer"
  27600. },
  27601. "canallotquery": {
  27602. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  27603. "type": "integer"
  27604. },
  27605. "canbindcard": {
  27606. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  27607. "type": "integer"
  27608. },
  27609. "caninamount": {
  27610. "description": "是否可入金 - 0:不可 1:可以",
  27611. "type": "integer"
  27612. },
  27613. "caninamount2": {
  27614. "description": "是否可入金(网银端) - 0:不可 1:可以",
  27615. "type": "integer"
  27616. },
  27617. "canmodifybankcard": {
  27618. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  27619. "type": "integer"
  27620. },
  27621. "canmodifyphone": {
  27622. "description": "是否可修改手机号 - 0:不可 1:可以",
  27623. "type": "integer"
  27624. },
  27625. "canmodifysigninfo": {
  27626. "description": "是否可修改签约信息 - 0:不可 1:可以",
  27627. "type": "integer"
  27628. },
  27629. "canoutamount": {
  27630. "description": "是否可出金 - 0:不可 1:可以",
  27631. "type": "integer"
  27632. },
  27633. "canoutamount2": {
  27634. "description": "是否可出金(网银端) - 0:不可 1:可以",
  27635. "type": "integer"
  27636. },
  27637. "canrelease": {
  27638. "description": "是否可解约 - 0:不可 1:可以",
  27639. "type": "integer"
  27640. },
  27641. "canrelease2": {
  27642. "description": "是否可解约(网银端) - 0:不可 1:可以",
  27643. "type": "integer"
  27644. },
  27645. "cansign": {
  27646. "description": "是否可签约 - 0:不可 1:可以",
  27647. "type": "integer"
  27648. },
  27649. "cansign2": {
  27650. "description": "是否可签约(网银端) - 0:不可 1:可以",
  27651. "type": "integer"
  27652. },
  27653. "currency": {
  27654. "description": "币种",
  27655. "type": "string"
  27656. },
  27657. "cusbankid": {
  27658. "description": "托管银行编号(对应清算中心TRAN_NO)",
  27659. "type": "string"
  27660. },
  27661. "cusbankname": {
  27662. "description": "银行业务名称",
  27663. "type": "string"
  27664. },
  27665. "cusbankshortname": {
  27666. "description": "银行业务简称",
  27667. "type": "string"
  27668. },
  27669. "exchbankid": {
  27670. "description": "交易所开户银行ID",
  27671. "type": "string"
  27672. },
  27673. "exchpaybankaccname": {
  27674. "description": "交易所支出结算账户户名",
  27675. "type": "string"
  27676. },
  27677. "exchpaybankaccno": {
  27678. "description": "交易所支出结算账户",
  27679. "type": "string"
  27680. },
  27681. "isneedcheck": {
  27682. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  27683. "type": "integer"
  27684. },
  27685. "isneedclear": {
  27686. "description": "是否需要清算 - 0:不需要 1:需要",
  27687. "type": "integer"
  27688. },
  27689. "lastcheckstatus": {
  27690. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  27691. "type": "integer"
  27692. },
  27693. "lastchecktime": {
  27694. "description": "最后对账时间",
  27695. "type": "string"
  27696. },
  27697. "lastclearstatus": {
  27698. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  27699. "type": "integer"
  27700. },
  27701. "lastcleartime": {
  27702. "description": "最后清算时间",
  27703. "type": "string"
  27704. },
  27705. "lastsignintime": {
  27706. "description": "最后签到时间",
  27707. "type": "string"
  27708. },
  27709. "lastsignouttime": {
  27710. "description": "最后签退时间",
  27711. "type": "string"
  27712. },
  27713. "riskinfo": {
  27714. "description": "签约风险提示书",
  27715. "type": "string"
  27716. },
  27717. "signstatus": {
  27718. "description": "当前签到/签退状态 - 1:签到 2:签退",
  27719. "type": "integer"
  27720. },
  27721. "tradedate": {
  27722. "description": "交易日(yyyyMMdd)",
  27723. "type": "string"
  27724. },
  27725. "updatetime": {
  27726. "description": "当前签到/签退更新时间",
  27727. "type": "string"
  27728. }
  27729. }
  27730. },
  27731. "models.QhjCustomer": {
  27732. "type": "object",
  27733. "properties": {
  27734. "address": {
  27735. "description": "通讯地址",
  27736. "type": "string"
  27737. },
  27738. "attachment1": {
  27739. "description": "附件1",
  27740. "type": "string"
  27741. },
  27742. "audittime": {
  27743. "description": "审核时间",
  27744. "type": "string"
  27745. },
  27746. "cardbackphotourl": {
  27747. "description": "证件反面图片地址",
  27748. "type": "string"
  27749. },
  27750. "cardfrontphotourl": {
  27751. "description": "证件正面图片地址",
  27752. "type": "string"
  27753. },
  27754. "cardnum": {
  27755. "description": "证件号码",
  27756. "type": "string"
  27757. },
  27758. "cardtype": {
  27759. "description": "证件类型",
  27760. "type": "integer"
  27761. },
  27762. "cardtypename": {
  27763. "description": "证件类型名称",
  27764. "type": "string"
  27765. },
  27766. "cityid": {
  27767. "description": "市",
  27768. "type": "integer"
  27769. },
  27770. "cityname": {
  27771. "description": "城市名称",
  27772. "type": "string"
  27773. },
  27774. "contactname": {
  27775. "description": "联系人",
  27776. "type": "string"
  27777. },
  27778. "countryid": {
  27779. "description": "国家",
  27780. "type": "integer"
  27781. },
  27782. "countryname": {
  27783. "description": "国家名称",
  27784. "type": "string"
  27785. },
  27786. "createtime": {
  27787. "description": "创建时间",
  27788. "type": "string"
  27789. },
  27790. "customername": {
  27791. "description": "客户名称",
  27792. "type": "string"
  27793. },
  27794. "districtid": {
  27795. "description": "区域",
  27796. "type": "integer"
  27797. },
  27798. "districtname": {
  27799. "description": "地区名称",
  27800. "type": "string"
  27801. },
  27802. "email": {
  27803. "description": "邮件",
  27804. "type": "string"
  27805. },
  27806. "legalpersonname": {
  27807. "description": "法人姓名(企业)",
  27808. "type": "string"
  27809. },
  27810. "logincode": {
  27811. "description": "登录账号(代码)",
  27812. "type": "string"
  27813. },
  27814. "memberuserid": {
  27815. "description": "所属机构ID(所属会员)",
  27816. "type": "integer"
  27817. },
  27818. "memberusername": {
  27819. "description": "所属会员名称",
  27820. "type": "string"
  27821. },
  27822. "mobile": {
  27823. "description": "手机号码",
  27824. "type": "string"
  27825. },
  27826. "modifytime": {
  27827. "description": "修改时间",
  27828. "type": "string"
  27829. },
  27830. "nickname": {
  27831. "description": "昵称",
  27832. "type": "string"
  27833. },
  27834. "parentuserid": {
  27835. "description": "上级机构(所属机构)",
  27836. "type": "integer"
  27837. },
  27838. "parentusername": {
  27839. "description": "所属机构名称",
  27840. "type": "string"
  27841. },
  27842. "provinceid": {
  27843. "description": "省",
  27844. "type": "integer"
  27845. },
  27846. "provincename": {
  27847. "description": "省名称",
  27848. "type": "string"
  27849. },
  27850. "proxystatementurl": {
  27851. "description": "授权委托书",
  27852. "type": "string"
  27853. },
  27854. "remark": {
  27855. "description": "备注",
  27856. "type": "string"
  27857. },
  27858. "status": {
  27859. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  27860. "type": "integer"
  27861. },
  27862. "statusdesc": {
  27863. "description": "账户状态中文描述",
  27864. "type": "string"
  27865. },
  27866. "taxpayernum": {
  27867. "description": "纳税人识别号",
  27868. "type": "string"
  27869. },
  27870. "telphone": {
  27871. "description": "联系电话",
  27872. "type": "string"
  27873. },
  27874. "userid": {
  27875. "description": "用户ID",
  27876. "type": "integer"
  27877. },
  27878. "userinfotype": {
  27879. "description": "客户类型 1-个人 2-企业",
  27880. "type": "integer"
  27881. },
  27882. "username": {
  27883. "description": "用户名称",
  27884. "type": "string"
  27885. }
  27886. }
  27887. },
  27888. "models.QhjCustomerSignLog": {
  27889. "type": "object",
  27890. "properties": {
  27891. "agreementcontent": {
  27892. "description": "协议内容",
  27893. "type": "string"
  27894. },
  27895. "agreementid": {
  27896. "description": "协议ID",
  27897. "type": "integer"
  27898. },
  27899. "agreementname": {
  27900. "description": "协议名称",
  27901. "type": "string"
  27902. },
  27903. "agreementno": {
  27904. "description": "协议编号",
  27905. "type": "string"
  27906. },
  27907. "agreementtype": {
  27908. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27909. "type": "integer"
  27910. },
  27911. "agreementversion": {
  27912. "description": "协议版本号",
  27913. "type": "integer"
  27914. },
  27915. "createtime": {
  27916. "description": "创建时间",
  27917. "type": "string"
  27918. },
  27919. "goodscode": {
  27920. "description": "商品代码",
  27921. "type": "string"
  27922. },
  27923. "goodsid": {
  27924. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27925. "type": "integer"
  27926. },
  27927. "goodsname": {
  27928. "description": "商品名称",
  27929. "type": "string"
  27930. },
  27931. "logid": {
  27932. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  27933. "type": "integer"
  27934. },
  27935. "nodetype": {
  27936. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27937. "type": "integer"
  27938. },
  27939. "signadressurl": {
  27940. "description": "签约文件地址",
  27941. "type": "string"
  27942. },
  27943. "signtimestamp": {
  27944. "description": "签约状态时间戳",
  27945. "type": "string"
  27946. },
  27947. "userid": {
  27948. "description": "客户ID",
  27949. "type": "integer"
  27950. },
  27951. "username": {
  27952. "description": "客户名称",
  27953. "type": "string"
  27954. }
  27955. }
  27956. },
  27957. "models.QhjCustomerSignStatus": {
  27958. "type": "object",
  27959. "properties": {
  27960. "createtime": {
  27961. "description": "创建时间",
  27962. "type": "string"
  27963. },
  27964. "goodscode": {
  27965. "description": "商品代码",
  27966. "type": "string"
  27967. },
  27968. "goodsid": {
  27969. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27970. "type": "integer"
  27971. },
  27972. "goodsname": {
  27973. "description": "商品名称",
  27974. "type": "string"
  27975. },
  27976. "nodetype": {
  27977. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  27978. "type": "integer"
  27979. },
  27980. "signtimestamp": {
  27981. "description": "签约状态时间戳",
  27982. "type": "string"
  27983. },
  27984. "tradedate": {
  27985. "description": "创建交易日(yyyyMMdd)",
  27986. "type": "string"
  27987. },
  27988. "updatetime": {
  27989. "description": "更新时间",
  27990. "type": "string"
  27991. },
  27992. "userid": {
  27993. "description": "客户ID",
  27994. "type": "integer"
  27995. },
  27996. "username": {
  27997. "description": "客户名称",
  27998. "type": "string"
  27999. }
  28000. }
  28001. },
  28002. "models.QhjMgrAccountOutInApply": {
  28003. "type": "object",
  28004. "properties": {
  28005. "accountcode": {
  28006. "description": "资金账号",
  28007. "type": "string"
  28008. },
  28009. "accountname": {
  28010. "description": "用户名称(名称)",
  28011. "type": "string"
  28012. },
  28013. "accountpwd": {
  28014. "description": "资金密码",
  28015. "type": "string"
  28016. },
  28017. "accountticket": {
  28018. "description": "最新账户服务流水号",
  28019. "type": "string"
  28020. },
  28021. "amount": {
  28022. "description": "金额",
  28023. "type": "number"
  28024. },
  28025. "applyremark": {
  28026. "description": "申请备注",
  28027. "type": "string"
  28028. },
  28029. "applystatus": {
  28030. "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: 复审通过,账户冻结金额检查中;",
  28031. "type": "integer"
  28032. },
  28033. "auditid": {
  28034. "description": "审核人",
  28035. "type": "integer"
  28036. },
  28037. "audittime": {
  28038. "description": "审核时间",
  28039. "type": "string"
  28040. },
  28041. "bank_apply_ticket": {
  28042. "description": "银行申请流水",
  28043. "type": "string"
  28044. },
  28045. "bankaccountname": {
  28046. "description": "银行账户名",
  28047. "type": "string"
  28048. },
  28049. "bankaccountno": {
  28050. "description": "银行卡号",
  28051. "type": "string"
  28052. },
  28053. "bankid": {
  28054. "description": "银行编号",
  28055. "type": "string"
  28056. },
  28057. "bankname": {
  28058. "description": "银行名称",
  28059. "type": "string"
  28060. },
  28061. "bankticket": {
  28062. "description": "银行流水",
  28063. "type": "string"
  28064. },
  28065. "branchbankid": {
  28066. "description": "银行支行号",
  28067. "type": "string"
  28068. },
  28069. "branchbankname": {
  28070. "description": "银行支行名称",
  28071. "type": "string"
  28072. },
  28073. "capamountout": {
  28074. "description": "出金(劣后本金) - 外部子账户",
  28075. "type": "number"
  28076. },
  28077. "certificatephotourl": {
  28078. "description": "凭证地址",
  28079. "type": "string"
  28080. },
  28081. "charge": {
  28082. "description": "手续费",
  28083. "type": "number"
  28084. },
  28085. "checkerrorflag": {
  28086. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28087. "type": "integer"
  28088. },
  28089. "currency": {
  28090. "description": "币种",
  28091. "type": "string"
  28092. },
  28093. "cusbankid": {
  28094. "description": "托管银行编号",
  28095. "type": "string"
  28096. },
  28097. "exchticket": {
  28098. "description": "银行服务流水号",
  28099. "type": "string"
  28100. },
  28101. "executetype": {
  28102. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28103. "type": "integer"
  28104. },
  28105. "extendinfo": {
  28106. "description": "扩展信息",
  28107. "type": "string"
  28108. },
  28109. "extoperateid": {
  28110. "description": "交易服务流水号",
  28111. "type": "integer"
  28112. },
  28113. "infamount": {
  28114. "description": "劣后金额(自有)",
  28115. "type": "number"
  28116. },
  28117. "logincode": {
  28118. "description": "登录账号(账号)",
  28119. "type": "string"
  28120. },
  28121. "netaddr": {
  28122. "description": "调转网址",
  28123. "type": "string"
  28124. },
  28125. "priamount": {
  28126. "description": "优先金额(授信)",
  28127. "type": "number"
  28128. },
  28129. "reauditid": {
  28130. "description": "复审人",
  28131. "type": "integer"
  28132. },
  28133. "reauditremark": {
  28134. "description": "复审备注",
  28135. "type": "string"
  28136. },
  28137. "reaudittime": {
  28138. "description": "复审时间",
  28139. "type": "string"
  28140. },
  28141. "relatedorderid": {
  28142. "description": "三方关联ID",
  28143. "type": "string"
  28144. },
  28145. "remark": {
  28146. "description": "备注",
  28147. "type": "string"
  28148. },
  28149. "remark2": {
  28150. "description": "备注(失败原因)",
  28151. "type": "string"
  28152. },
  28153. "soucreamount": {
  28154. "description": "原始出入金金额",
  28155. "type": "number"
  28156. },
  28157. "soucrecurrencyid": {
  28158. "description": "原始出入金币种",
  28159. "type": "integer"
  28160. },
  28161. "tradedate": {
  28162. "description": "交易日(yyyyMMdd)",
  28163. "type": "string"
  28164. },
  28165. "updatetime": {
  28166. "description": "更新时间(申请时间)",
  28167. "type": "string"
  28168. },
  28169. "userid": {
  28170. "description": "用户id",
  28171. "type": "integer"
  28172. },
  28173. "userinfotype": {
  28174. "description": "账户类型 1-个人 2-企业",
  28175. "type": "integer"
  28176. }
  28177. }
  28178. },
  28179. "models.QhjMgrBrokerApply": {
  28180. "type": "object",
  28181. "properties": {
  28182. "applicantid": {
  28183. "description": "申请人",
  28184. "type": "integer"
  28185. },
  28186. "applysrc": {
  28187. "description": "申请来源 - 1:管理端 2:终端",
  28188. "type": "integer"
  28189. },
  28190. "applystatus": {
  28191. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28192. "type": "integer"
  28193. },
  28194. "applytime": {
  28195. "description": "申请时间",
  28196. "type": "string"
  28197. },
  28198. "auditorid": {
  28199. "description": "审核人",
  28200. "type": "integer"
  28201. },
  28202. "auditremark": {
  28203. "description": "审核备注",
  28204. "type": "string"
  28205. },
  28206. "auditsrc": {
  28207. "description": "审核来源 - 1:管理端 2:终端",
  28208. "type": "integer"
  28209. },
  28210. "audittime": {
  28211. "description": "审核时间",
  28212. "type": "string"
  28213. },
  28214. "audittradedate": {
  28215. "description": "审核交易日(yyyyMMdd)",
  28216. "type": "string"
  28217. },
  28218. "brokerapplyid": {
  28219. "description": "申请ID(SEQ_BROKERAPPLY)",
  28220. "type": "integer"
  28221. },
  28222. "cardbackphotourl": {
  28223. "description": "证件背面图片地址",
  28224. "type": "string"
  28225. },
  28226. "cardfrontphotourl": {
  28227. "description": "证件正面图片地址",
  28228. "type": "string"
  28229. },
  28230. "cardnum": {
  28231. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28232. "type": "string"
  28233. },
  28234. "customername": {
  28235. "description": "姓名",
  28236. "type": "string"
  28237. },
  28238. "filterstatus": {
  28239. "description": "筛选条件",
  28240. "type": "string"
  28241. },
  28242. "logincode": {
  28243. "description": "登录代码",
  28244. "type": "string"
  28245. },
  28246. "mobile": {
  28247. "description": "手机号码",
  28248. "type": "string"
  28249. },
  28250. "parentuserid": {
  28251. "description": "所属机构id",
  28252. "type": "integer"
  28253. },
  28254. "parentusername": {
  28255. "description": "所属机构名称",
  28256. "type": "string"
  28257. },
  28258. "refereeuserid": {
  28259. "description": "推荐人id(经纪人)",
  28260. "type": "integer"
  28261. },
  28262. "refernum": {
  28263. "description": "推荐码",
  28264. "type": "string"
  28265. },
  28266. "remark": {
  28267. "description": "备注",
  28268. "type": "string"
  28269. },
  28270. "subarealevelpath": {
  28271. "description": "层级路径",
  28272. "type": "string"
  28273. },
  28274. "tradedate": {
  28275. "description": "交易日(yyyyMMdd)",
  28276. "type": "string"
  28277. },
  28278. "userid": {
  28279. "description": "申请人用户ID",
  28280. "type": "integer"
  28281. },
  28282. "userinfotype": {
  28283. "description": "用户类型 1-个人 2-企业",
  28284. "type": "integer"
  28285. },
  28286. "username": {
  28287. "description": "用户名称",
  28288. "type": "string"
  28289. }
  28290. }
  28291. },
  28292. "models.QhjMgrBrokerRewardReport": {
  28293. "type": "object",
  28294. "properties": {
  28295. "createtime": {
  28296. "description": "创建时间(注册时间)",
  28297. "type": "string"
  28298. },
  28299. "cycletime": {
  28300. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  28301. "type": "string"
  28302. },
  28303. "cycletype": {
  28304. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  28305. "type": "integer"
  28306. },
  28307. "directtotalnum": {
  28308. "description": "直推总人数【期末】",
  28309. "type": "integer"
  28310. },
  28311. "indirecttotalnum": {
  28312. "description": "间推总人数【期末】",
  28313. "type": "integer"
  28314. },
  28315. "mobile": {
  28316. "description": "电话号码",
  28317. "type": "string"
  28318. },
  28319. "refereeuserid": {
  28320. "description": "推荐人id(经纪人id)",
  28321. "type": "integer"
  28322. },
  28323. "refereeusername": {
  28324. "description": "推荐人名称(经纪人) 上级经纪人名称",
  28325. "type": "string"
  28326. },
  28327. "refernum": {
  28328. "description": "推荐码",
  28329. "type": "string"
  28330. },
  28331. "subarealevelpath": {
  28332. "description": "用户层级路径",
  28333. "type": "string"
  28334. },
  28335. "todayrewardamount": {
  28336. "description": "奖励总金额【汇总】",
  28337. "type": "number"
  28338. },
  28339. "updatetime": {
  28340. "description": "更新时间",
  28341. "type": "string"
  28342. },
  28343. "userid": {
  28344. "description": "经纪人用户ID",
  28345. "type": "integer"
  28346. },
  28347. "userinfotype": {
  28348. "description": "用户类型 1-个人 2-企业",
  28349. "type": "integer"
  28350. },
  28351. "username": {
  28352. "description": "用户名称",
  28353. "type": "string"
  28354. }
  28355. }
  28356. },
  28357. "models.QhjMgrContract": {
  28358. "type": "object",
  28359. "properties": {
  28360. "contractconfirmtime": {
  28361. "description": "合同确认时间(时间)",
  28362. "type": "string"
  28363. },
  28364. "currisklevel": {
  28365. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28366. "type": "integer"
  28367. },
  28368. "decimalplace": {
  28369. "description": "商品报价小数位",
  28370. "type": "integer"
  28371. },
  28372. "enumdicname": {
  28373. "description": "单位名称",
  28374. "type": "string"
  28375. },
  28376. "goodscode": {
  28377. "description": "商品代码",
  28378. "type": "string"
  28379. },
  28380. "goodsid": {
  28381. "description": "商品ID [5:融资单]",
  28382. "type": "integer"
  28383. },
  28384. "goodsname": {
  28385. "description": "商品名称",
  28386. "type": "string"
  28387. },
  28388. "goodunitid": {
  28389. "description": "商品单位id",
  28390. "type": "integer"
  28391. },
  28392. "initmargin": {
  28393. "description": "初始保证金(首付款)",
  28394. "type": "number"
  28395. },
  28396. "lenderamount": {
  28397. "description": "贷款金额(总额|订单总额)",
  28398. "type": "number"
  28399. },
  28400. "logincode": {
  28401. "description": "账号(登录代码)",
  28402. "type": "string"
  28403. },
  28404. "marginratio": {
  28405. "description": "保证金比率(首付比例)",
  28406. "type": "number"
  28407. },
  28408. "mobile": {
  28409. "description": "电话号码(用户资料里的电话)",
  28410. "type": "string"
  28411. },
  28412. "payamount": {
  28413. "description": "已付(已付货款)",
  28414. "type": "number"
  28415. },
  28416. "reckonrecovermargin": {
  28417. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28418. "type": "number"
  28419. },
  28420. "recoveredmargin": {
  28421. "description": "已追缴保证金",
  28422. "type": "number"
  28423. },
  28424. "remainamount": {
  28425. "description": "合同剩余金额(融资额)",
  28426. "type": "number"
  28427. },
  28428. "scfcontractid": {
  28429. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28430. "type": "string"
  28431. },
  28432. "scfcontractstatus": {
  28433. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28434. "type": "integer"
  28435. },
  28436. "scfcontracttype": {
  28437. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28438. "type": "integer"
  28439. },
  28440. "totalinterest": {
  28441. "description": "已计总利息(利息)",
  28442. "type": "number"
  28443. },
  28444. "tradedate": {
  28445. "description": "交易日",
  28446. "type": "string"
  28447. },
  28448. "tradeprice": {
  28449. "description": "成交价格(成本价格)",
  28450. "type": "number"
  28451. },
  28452. "userid": {
  28453. "description": "用户ID",
  28454. "type": "integer"
  28455. },
  28456. "userinfotype": {
  28457. "description": "用户类型 1-个人 2-企业",
  28458. "type": "integer"
  28459. },
  28460. "username": {
  28461. "description": "用户名称",
  28462. "type": "string"
  28463. },
  28464. "wrqty": {
  28465. "description": "仓单数量(数量)",
  28466. "type": "number"
  28467. }
  28468. }
  28469. },
  28470. "models.QhjMgrCustomer": {
  28471. "type": "object",
  28472. "properties": {
  28473. "address": {
  28474. "description": "通讯地址",
  28475. "type": "string"
  28476. },
  28477. "attachment1": {
  28478. "description": "附件1",
  28479. "type": "string"
  28480. },
  28481. "audittime": {
  28482. "description": "审核时间",
  28483. "type": "string"
  28484. },
  28485. "birthday": {
  28486. "description": "生日",
  28487. "type": "string"
  28488. },
  28489. "brokerid": {
  28490. "description": "所属客户经理id",
  28491. "type": "integer"
  28492. },
  28493. "brokername": {
  28494. "description": "所属客户经理名称",
  28495. "type": "string"
  28496. },
  28497. "cardbackphotourl": {
  28498. "description": "证件反面图片地址",
  28499. "type": "string"
  28500. },
  28501. "cardfrontphotourl": {
  28502. "description": "证件正面图片地址",
  28503. "type": "string"
  28504. },
  28505. "cardnum": {
  28506. "description": "证件号码",
  28507. "type": "string"
  28508. },
  28509. "cardtype": {
  28510. "description": "证件类型",
  28511. "type": "integer"
  28512. },
  28513. "cardtypename": {
  28514. "description": "证件类型名称",
  28515. "type": "string"
  28516. },
  28517. "cityid": {
  28518. "description": "市",
  28519. "type": "integer"
  28520. },
  28521. "cityname": {
  28522. "description": "城市名称",
  28523. "type": "string"
  28524. },
  28525. "contactname": {
  28526. "description": "联系人",
  28527. "type": "string"
  28528. },
  28529. "countryid": {
  28530. "description": "国家",
  28531. "type": "integer"
  28532. },
  28533. "countryname": {
  28534. "description": "国家名称",
  28535. "type": "string"
  28536. },
  28537. "createtime": {
  28538. "description": "创建时间",
  28539. "type": "string"
  28540. },
  28541. "customername": {
  28542. "description": "客户名称",
  28543. "type": "string"
  28544. },
  28545. "districtid": {
  28546. "description": "区域",
  28547. "type": "integer"
  28548. },
  28549. "districtname": {
  28550. "description": "地区名称",
  28551. "type": "string"
  28552. },
  28553. "email": {
  28554. "description": "邮件",
  28555. "type": "string"
  28556. },
  28557. "legalpersonname": {
  28558. "description": "法人姓名(企业)",
  28559. "type": "string"
  28560. },
  28561. "logincode": {
  28562. "description": "登录账号(代码)",
  28563. "type": "string"
  28564. },
  28565. "memberuserid": {
  28566. "description": "所属机构ID(所属会员)",
  28567. "type": "integer"
  28568. },
  28569. "memberusername": {
  28570. "description": "所属会员名称",
  28571. "type": "string"
  28572. },
  28573. "mobile": {
  28574. "description": "手机号码",
  28575. "type": "string"
  28576. },
  28577. "modifytime": {
  28578. "description": "修改时间",
  28579. "type": "string"
  28580. },
  28581. "nickname": {
  28582. "description": "昵称",
  28583. "type": "string"
  28584. },
  28585. "parentuserid": {
  28586. "description": "上级机构(所属机构)",
  28587. "type": "integer"
  28588. },
  28589. "parentusername": {
  28590. "description": "所属机构名称",
  28591. "type": "string"
  28592. },
  28593. "provinceid": {
  28594. "description": "省",
  28595. "type": "integer"
  28596. },
  28597. "provincename": {
  28598. "description": "省名称",
  28599. "type": "string"
  28600. },
  28601. "proxystatementurl": {
  28602. "description": "授权委托书",
  28603. "type": "string"
  28604. },
  28605. "querytype": {
  28606. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  28607. "type": "integer"
  28608. },
  28609. "remark": {
  28610. "description": "备注",
  28611. "type": "string"
  28612. },
  28613. "sex": {
  28614. "description": "性别 0-女 1-男",
  28615. "type": "integer"
  28616. },
  28617. "status": {
  28618. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28619. "type": "integer"
  28620. },
  28621. "statusdesc": {
  28622. "description": "账户状态中文描述",
  28623. "type": "string"
  28624. },
  28625. "taxpayernum": {
  28626. "description": "纳税人识别号",
  28627. "type": "string"
  28628. },
  28629. "telphone": {
  28630. "description": "联系电话",
  28631. "type": "string"
  28632. },
  28633. "userid": {
  28634. "description": "用户ID",
  28635. "type": "integer"
  28636. },
  28637. "userinfotype": {
  28638. "description": "客户类型 1-个人 2-企业",
  28639. "type": "integer"
  28640. },
  28641. "username": {
  28642. "description": "用户名称",
  28643. "type": "string"
  28644. }
  28645. }
  28646. },
  28647. "models.QhjMgrPickGoods": {
  28648. "type": "object",
  28649. "properties": {
  28650. "enumdicname": {
  28651. "description": "单位名称(提货商品)",
  28652. "type": "string"
  28653. },
  28654. "goodsid": {
  28655. "description": "商品id",
  28656. "type": "integer"
  28657. },
  28658. "imageaddress": {
  28659. "description": "图片",
  28660. "type": "string"
  28661. },
  28662. "modifierid": {
  28663. "description": "修改人",
  28664. "type": "integer"
  28665. },
  28666. "modifiername": {
  28667. "description": "修改人名称",
  28668. "type": "string"
  28669. },
  28670. "modifysrc": {
  28671. "description": "修改来源 - 1:管理端 2:终端",
  28672. "type": "integer"
  28673. },
  28674. "pickupgoodsagreeunit": {
  28675. "description": "合约乘数",
  28676. "type": "number"
  28677. },
  28678. "pickupgoodsdesc": {
  28679. "description": "描述",
  28680. "type": "string"
  28681. },
  28682. "pickupgoodsid": {
  28683. "description": "提货商品ID",
  28684. "type": "string"
  28685. },
  28686. "pickupgoodsname": {
  28687. "description": "提货商品名称",
  28688. "type": "string"
  28689. },
  28690. "pickupgoodsstatus": {
  28691. "description": "状态 - 1:正常 2:停用 3:注销",
  28692. "type": "integer"
  28693. },
  28694. "pickupgoodsunitid": {
  28695. "description": "单位ID",
  28696. "type": "integer"
  28697. },
  28698. "pickupratio": {
  28699. "description": "提货系数",
  28700. "type": "number"
  28701. },
  28702. "preparedays": {
  28703. "description": "备货期(天)",
  28704. "type": "integer"
  28705. },
  28706. "remark": {
  28707. "description": "备注",
  28708. "type": "string"
  28709. },
  28710. "updatetime": {
  28711. "description": "更新时间",
  28712. "type": "string"
  28713. }
  28714. }
  28715. },
  28716. "models.QhjMgrPositionRsp": {
  28717. "type": "object",
  28718. "properties": {
  28719. "accountid": {
  28720. "description": "账号Id",
  28721. "type": "integer"
  28722. },
  28723. "accountname": {
  28724. "description": "用户名称",
  28725. "type": "string"
  28726. },
  28727. "agreeunit": {
  28728. "description": "合约乘数",
  28729. "type": "number"
  28730. },
  28731. "averageprice": {
  28732. "description": "均价",
  28733. "type": "number"
  28734. },
  28735. "avialqty": {
  28736. "description": "可用数量",
  28737. "type": "number"
  28738. },
  28739. "decimalplace": {
  28740. "description": "报价小数位",
  28741. "type": "integer"
  28742. },
  28743. "enumdicname": {
  28744. "description": "单位名称(商品)",
  28745. "type": "string"
  28746. },
  28747. "frozenqty": {
  28748. "description": "冻结数量",
  28749. "type": "number"
  28750. },
  28751. "goodscode": {
  28752. "description": "商品代码(内部)",
  28753. "type": "string"
  28754. },
  28755. "goodsid": {
  28756. "description": "商品Id",
  28757. "type": "integer"
  28758. },
  28759. "goodsname": {
  28760. "description": "商品名称",
  28761. "type": "string"
  28762. },
  28763. "goodunitid": {
  28764. "description": "报价单位ID",
  28765. "type": "integer"
  28766. },
  28767. "holderamount": {
  28768. "description": "金额",
  28769. "type": "number"
  28770. },
  28771. "holderqty": {
  28772. "description": "持有数量",
  28773. "type": "number"
  28774. },
  28775. "holdertype": {
  28776. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  28777. "type": "integer"
  28778. },
  28779. "logincode": {
  28780. "description": "登录代码(账户)",
  28781. "type": "string"
  28782. },
  28783. "marketid": {
  28784. "description": "市场id",
  28785. "type": "integer"
  28786. },
  28787. "qtydecimalplace": {
  28788. "description": "成交量小数位",
  28789. "type": "integer"
  28790. },
  28791. "trademode": {
  28792. "description": "交易模式",
  28793. "type": "integer"
  28794. },
  28795. "userid": {
  28796. "description": "用户id",
  28797. "type": "integer"
  28798. },
  28799. "userinfotype": {
  28800. "description": "账户类型 1-个人 2-企业",
  28801. "type": "integer"
  28802. }
  28803. }
  28804. },
  28805. "models.QhjMgrSubArea": {
  28806. "type": "object",
  28807. "properties": {
  28808. "accountname": {
  28809. "description": "账户名称(机构名称)",
  28810. "type": "string"
  28811. },
  28812. "memberuserid": {
  28813. "description": "所属会员ID",
  28814. "type": "integer"
  28815. },
  28816. "parenttopuser": {
  28817. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  28818. "type": "string"
  28819. },
  28820. "parentuserid": {
  28821. "description": "所属机构ID",
  28822. "type": "integer"
  28823. },
  28824. "rootuserid": {
  28825. "description": "根用户ID",
  28826. "type": "string"
  28827. },
  28828. "subaccountlevel": {
  28829. "description": "子账户层数",
  28830. "type": "integer"
  28831. },
  28832. "subarealevelpath": {
  28833. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  28834. "type": "string"
  28835. },
  28836. "userid": {
  28837. "description": "用户ID",
  28838. "type": "integer"
  28839. },
  28840. "usertype": {
  28841. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28842. "type": "integer"
  28843. }
  28844. }
  28845. },
  28846. "models.QhjMgrTradeDetailRsp": {
  28847. "type": "object",
  28848. "properties": {
  28849. "accountid": {
  28850. "description": "资金账号",
  28851. "type": "integer"
  28852. },
  28853. "accountname": {
  28854. "description": "用户名称",
  28855. "type": "string"
  28856. },
  28857. "agreeunit": {
  28858. "description": "合约乘数",
  28859. "type": "number"
  28860. },
  28861. "buyorsell": {
  28862. "description": "成交类型(方向) 0:买 1:卖",
  28863. "type": "integer"
  28864. },
  28865. "decimalplace": {
  28866. "description": "报价小数位",
  28867. "type": "integer"
  28868. },
  28869. "enumdicname": {
  28870. "description": "单位名称(商品)",
  28871. "type": "string"
  28872. },
  28873. "goodscode": {
  28874. "description": "商品代码(内部)",
  28875. "type": "string"
  28876. },
  28877. "goodsid": {
  28878. "description": "商品id",
  28879. "type": "integer"
  28880. },
  28881. "goodsname": {
  28882. "description": "商品名称",
  28883. "type": "string"
  28884. },
  28885. "goodunitid": {
  28886. "description": "报价单位ID",
  28887. "type": "integer"
  28888. },
  28889. "logincode": {
  28890. "description": "登录代码(账户)",
  28891. "type": "string"
  28892. },
  28893. "marketid": {
  28894. "description": "市场id",
  28895. "type": "integer"
  28896. },
  28897. "orderid": {
  28898. "description": "关联委托单号",
  28899. "type": "string"
  28900. },
  28901. "qtydecimalplace": {
  28902. "description": "成交量小数位",
  28903. "type": "integer"
  28904. },
  28905. "tradeamount": {
  28906. "description": "金额",
  28907. "type": "number"
  28908. },
  28909. "tradedate": {
  28910. "description": "交易日",
  28911. "type": "string"
  28912. },
  28913. "tradeid": {
  28914. "description": "成交单号",
  28915. "type": "string"
  28916. },
  28917. "trademode": {
  28918. "description": "交易模式",
  28919. "type": "integer"
  28920. },
  28921. "tradeprice": {
  28922. "description": "价格",
  28923. "type": "number"
  28924. },
  28925. "tradeqty": {
  28926. "description": "数量",
  28927. "type": "number"
  28928. },
  28929. "tradetime": {
  28930. "description": "成交时间",
  28931. "type": "string"
  28932. },
  28933. "userid": {
  28934. "description": "用户id",
  28935. "type": "integer"
  28936. },
  28937. "userinfotype": {
  28938. "description": "账户类型 1-个人 2-企业",
  28939. "type": "integer"
  28940. }
  28941. }
  28942. },
  28943. "models.QhjMgrTradeOrderDetailRsp": {
  28944. "type": "object",
  28945. "properties": {
  28946. "accountid": {
  28947. "description": "资金账号",
  28948. "type": "integer"
  28949. },
  28950. "accountname": {
  28951. "description": "用户名称",
  28952. "type": "string"
  28953. },
  28954. "agreeunit": {
  28955. "description": "合约乘数",
  28956. "type": "number"
  28957. },
  28958. "amount": {
  28959. "description": "金额",
  28960. "type": "number"
  28961. },
  28962. "decimalplace": {
  28963. "description": "报价小数位",
  28964. "type": "integer"
  28965. },
  28966. "enumdicname": {
  28967. "description": "单位名称(商品)",
  28968. "type": "string"
  28969. },
  28970. "goodscode": {
  28971. "description": "商品代码(内部)",
  28972. "type": "string"
  28973. },
  28974. "goodsid": {
  28975. "description": "商品id",
  28976. "type": "integer"
  28977. },
  28978. "goodsname": {
  28979. "description": "商品名称",
  28980. "type": "string"
  28981. },
  28982. "goodunitid": {
  28983. "description": "报价单位ID",
  28984. "type": "integer"
  28985. },
  28986. "logincode": {
  28987. "description": "登录代码(账户)",
  28988. "type": "string"
  28989. },
  28990. "marketid": {
  28991. "description": "市场id",
  28992. "type": "integer"
  28993. },
  28994. "orderid": {
  28995. "description": "关联委托单号",
  28996. "type": "string"
  28997. },
  28998. "orderprice": {
  28999. "description": "价格",
  29000. "type": "number"
  29001. },
  29002. "orderqty": {
  29003. "description": "数量",
  29004. "type": "number"
  29005. },
  29006. "orderstatus": {
  29007. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29008. "type": "integer"
  29009. },
  29010. "ordertime": {
  29011. "description": "委托时间",
  29012. "type": "string"
  29013. },
  29014. "qtydecimalplace": {
  29015. "description": "成交量小数位",
  29016. "type": "integer"
  29017. },
  29018. "tradedate": {
  29019. "description": "交易日",
  29020. "type": "string"
  29021. },
  29022. "trademode": {
  29023. "description": "交易模式",
  29024. "type": "integer"
  29025. },
  29026. "userid": {
  29027. "description": "用户id",
  29028. "type": "integer"
  29029. },
  29030. "userinfotype": {
  29031. "description": "账户类型 1-个人 2-企业",
  29032. "type": "integer"
  29033. }
  29034. }
  29035. },
  29036. "models.QhjMgrTradePayOrder": {
  29037. "type": "object",
  29038. "properties": {
  29039. "accountname": {
  29040. "description": "用户名称",
  29041. "type": "string"
  29042. },
  29043. "advanceratio": {
  29044. "description": "首付比率",
  29045. "type": "number"
  29046. },
  29047. "agreeunit": {
  29048. "description": "合约乘数",
  29049. "type": "number"
  29050. },
  29051. "buyaccountid": {
  29052. "description": "买方账号ID[报价币种]",
  29053. "type": "integer"
  29054. },
  29055. "buyorderid": {
  29056. "description": "买方委托单号(关联单号)",
  29057. "type": "string"
  29058. },
  29059. "createtime": {
  29060. "description": "创建时间",
  29061. "type": "string"
  29062. },
  29063. "decimalplace": {
  29064. "description": "报价小数位",
  29065. "type": "integer"
  29066. },
  29067. "enumdicname": {
  29068. "description": "单位名称(商品)",
  29069. "type": "string"
  29070. },
  29071. "goodscode": {
  29072. "description": "商品代码(内部)",
  29073. "type": "string"
  29074. },
  29075. "goodsid": {
  29076. "description": "商品ID",
  29077. "type": "integer"
  29078. },
  29079. "goodsname": {
  29080. "description": "商品名称",
  29081. "type": "string"
  29082. },
  29083. "goodunitid": {
  29084. "description": "报价单位ID",
  29085. "type": "integer"
  29086. },
  29087. "logincode": {
  29088. "description": "登录代码(账户)",
  29089. "type": "string"
  29090. },
  29091. "marketid": {
  29092. "description": "市场id",
  29093. "type": "integer"
  29094. },
  29095. "offamount": {
  29096. "description": "优惠金额",
  29097. "type": "number"
  29098. },
  29099. "operatetype": {
  29100. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  29101. "type": "integer"
  29102. },
  29103. "payamount": {
  29104. "description": "支付金额(金额)",
  29105. "type": "number"
  29106. },
  29107. "payflag": {
  29108. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29109. "type": "integer"
  29110. },
  29111. "paylimitedtime": {
  29112. "description": "支付期限",
  29113. "type": "string"
  29114. },
  29115. "paytime": {
  29116. "description": "付款时间",
  29117. "type": "string"
  29118. },
  29119. "qtydecimalplace": {
  29120. "description": "成交量小数位",
  29121. "type": "integer"
  29122. },
  29123. "sellaccountid": {
  29124. "description": "卖方账号ID[报价币种]",
  29125. "type": "integer"
  29126. },
  29127. "sellorderid": {
  29128. "description": "卖方委托单号",
  29129. "type": "string"
  29130. },
  29131. "tradeamount": {
  29132. "description": "成交金额(优惠后金额)",
  29133. "type": "number"
  29134. },
  29135. "tradecharge": {
  29136. "description": "成交手续费(买方)",
  29137. "type": "number"
  29138. },
  29139. "tradedate": {
  29140. "description": "交易日(yyyyMMdd)",
  29141. "type": "string"
  29142. },
  29143. "tradeid": {
  29144. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29145. "type": "string"
  29146. },
  29147. "trademode": {
  29148. "description": "交易模式",
  29149. "type": "integer"
  29150. },
  29151. "tradeprice": {
  29152. "description": "成交价格(价格)",
  29153. "type": "number"
  29154. },
  29155. "tradeqty": {
  29156. "description": "成交数量(数量)",
  29157. "type": "number"
  29158. },
  29159. "tradetime": {
  29160. "description": "成交时间",
  29161. "type": "string"
  29162. },
  29163. "userid": {
  29164. "description": "用户id",
  29165. "type": "integer"
  29166. },
  29167. "userinfotype": {
  29168. "description": "账户类型 1-个人 2-企业",
  29169. "type": "integer"
  29170. }
  29171. }
  29172. },
  29173. "models.QhjMyTeamEx": {
  29174. "type": "object",
  29175. "properties": {
  29176. "accountname": {
  29177. "description": "用户名称",
  29178. "type": "string"
  29179. },
  29180. "accountstatus": {
  29181. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29182. "type": "integer"
  29183. },
  29184. "createtime": {
  29185. "description": "创建时间",
  29186. "type": "string"
  29187. },
  29188. "mobile": {
  29189. "description": "手机号码",
  29190. "type": "string"
  29191. },
  29192. "refereeuserid": {
  29193. "description": "推荐人id",
  29194. "type": "integer"
  29195. },
  29196. "refernum": {
  29197. "description": "推荐码",
  29198. "type": "string"
  29199. },
  29200. "subList": {
  29201. "type": "array",
  29202. "items": {
  29203. "$ref": "#/definitions/models.QhjMyTeamEx"
  29204. }
  29205. },
  29206. "userid": {
  29207. "description": "用户id",
  29208. "type": "integer"
  29209. },
  29210. "userinfotype": {
  29211. "description": "用户类型 1-个人 2-企业",
  29212. "type": "integer"
  29213. }
  29214. }
  29215. },
  29216. "models.QhjNodeAgreementConfig": {
  29217. "type": "object",
  29218. "properties": {
  29219. "agreementcontent": {
  29220. "description": "协议内容",
  29221. "type": "string"
  29222. },
  29223. "agreementid": {
  29224. "description": "协议ID",
  29225. "type": "integer"
  29226. },
  29227. "agreementname": {
  29228. "description": "协议名称",
  29229. "type": "string"
  29230. },
  29231. "agreementno": {
  29232. "description": "协议编号",
  29233. "type": "string"
  29234. },
  29235. "agreementtype": {
  29236. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29237. "type": "integer"
  29238. },
  29239. "agreementversion": {
  29240. "description": "协议版本号",
  29241. "type": "integer"
  29242. },
  29243. "configid": {
  29244. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29245. "type": "integer"
  29246. },
  29247. "createtime": {
  29248. "description": "创建时间",
  29249. "type": "string"
  29250. },
  29251. "goodsid": {
  29252. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29253. "type": "integer"
  29254. },
  29255. "nodetype": {
  29256. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29257. "type": "integer"
  29258. }
  29259. }
  29260. },
  29261. "models.QhjParentAreaList": {
  29262. "type": "object",
  29263. "properties": {
  29264. "accountname": {
  29265. "description": "账户名称(机构名称)",
  29266. "type": "string"
  29267. },
  29268. "userid": {
  29269. "description": "用户ID",
  29270. "type": "integer"
  29271. },
  29272. "usertype": {
  29273. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29274. "type": "integer"
  29275. }
  29276. }
  29277. },
  29278. "models.QhjPayOrder": {
  29279. "type": "object",
  29280. "properties": {
  29281. "advanceratio": {
  29282. "description": "首付比率",
  29283. "type": "number"
  29284. },
  29285. "buyaccountid": {
  29286. "description": "买方账号ID[报价币种]",
  29287. "type": "integer"
  29288. },
  29289. "buyorderid": {
  29290. "description": "买方委托单号",
  29291. "type": "string"
  29292. },
  29293. "createtime": {
  29294. "description": "创建时间",
  29295. "type": "string"
  29296. },
  29297. "decimalplace": {
  29298. "description": "商品报价小数位",
  29299. "type": "integer"
  29300. },
  29301. "enumdicname": {
  29302. "description": "单位名称",
  29303. "type": "string"
  29304. },
  29305. "goodscode": {
  29306. "description": "商品代码",
  29307. "type": "string"
  29308. },
  29309. "goodsid": {
  29310. "description": "商品ID",
  29311. "type": "integer"
  29312. },
  29313. "goodsname": {
  29314. "description": "商品名称",
  29315. "type": "string"
  29316. },
  29317. "goodunitid": {
  29318. "description": "商品单位id",
  29319. "type": "integer"
  29320. },
  29321. "marketid": {
  29322. "description": "市场ID",
  29323. "type": "integer"
  29324. },
  29325. "offamount": {
  29326. "description": "优惠金额",
  29327. "type": "number"
  29328. },
  29329. "operatetype": {
  29330. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  29331. "type": "integer"
  29332. },
  29333. "payamount": {
  29334. "description": "支付金额",
  29335. "type": "number"
  29336. },
  29337. "payflag": {
  29338. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29339. "type": "integer"
  29340. },
  29341. "paylimitedtime": {
  29342. "description": "支付期限",
  29343. "type": "string"
  29344. },
  29345. "paytime": {
  29346. "description": "付款时间",
  29347. "type": "string"
  29348. },
  29349. "qtydecimalplace": {
  29350. "description": "成交量小数位",
  29351. "type": "integer"
  29352. },
  29353. "sellaccountid": {
  29354. "description": "卖方账号ID[报价币种]",
  29355. "type": "integer"
  29356. },
  29357. "sellorderid": {
  29358. "description": "卖方委托单号",
  29359. "type": "string"
  29360. },
  29361. "tradeamount": {
  29362. "description": "成交金额(优惠后金额)",
  29363. "type": "number"
  29364. },
  29365. "tradecharge": {
  29366. "description": "成交手续费(买方)",
  29367. "type": "number"
  29368. },
  29369. "tradedate": {
  29370. "description": "交易日(yyyyMMdd)",
  29371. "type": "string"
  29372. },
  29373. "tradeid": {
  29374. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29375. "type": "string"
  29376. },
  29377. "tradeprice": {
  29378. "description": "成交价格",
  29379. "type": "number"
  29380. },
  29381. "tradeqty": {
  29382. "description": "成交数量",
  29383. "type": "number"
  29384. }
  29385. }
  29386. },
  29387. "models.QhjPickArea": {
  29388. "type": "object",
  29389. "properties": {
  29390. "address": {
  29391. "description": "详细地址",
  29392. "type": "string"
  29393. },
  29394. "cityid": {
  29395. "description": "市",
  29396. "type": "integer"
  29397. },
  29398. "cityname": {
  29399. "description": "城市名称",
  29400. "type": "string"
  29401. },
  29402. "countryid": {
  29403. "description": "国家",
  29404. "type": "integer"
  29405. },
  29406. "countryname": {
  29407. "description": "国家名称",
  29408. "type": "string"
  29409. },
  29410. "districtid": {
  29411. "description": "地区",
  29412. "type": "integer"
  29413. },
  29414. "districtname": {
  29415. "description": "地区名称",
  29416. "type": "string"
  29417. },
  29418. "fromuserid": {
  29419. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  29420. "type": "integer"
  29421. },
  29422. "fromusername": {
  29423. "description": "所属机构名称",
  29424. "type": "string"
  29425. },
  29426. "provinceid": {
  29427. "description": "省",
  29428. "type": "integer"
  29429. },
  29430. "provincename": {
  29431. "description": "省名称",
  29432. "type": "string"
  29433. },
  29434. "suborgtype": {
  29435. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  29436. "type": "integer"
  29437. },
  29438. "userid": {
  29439. "description": "机构用户ID 其他做市关系,都设置为 1",
  29440. "type": "integer"
  29441. },
  29442. "username": {
  29443. "description": "机构用户名称(门店门称)",
  29444. "type": "string"
  29445. }
  29446. }
  29447. },
  29448. "models.QhjPickGoods": {
  29449. "type": "object",
  29450. "properties": {
  29451. "enumdicname": {
  29452. "description": "单位名称(提货商品)",
  29453. "type": "string"
  29454. },
  29455. "goodsid": {
  29456. "description": "商品id",
  29457. "type": "integer"
  29458. },
  29459. "imageaddress": {
  29460. "description": "图片",
  29461. "type": "string"
  29462. },
  29463. "modifierid": {
  29464. "description": "修改人",
  29465. "type": "integer"
  29466. },
  29467. "modifiername": {
  29468. "description": "修改人名称",
  29469. "type": "string"
  29470. },
  29471. "modifysrc": {
  29472. "description": "修改来源 - 1:管理端 2:终端",
  29473. "type": "integer"
  29474. },
  29475. "pickupgoodsagreeunit": {
  29476. "description": "合约乘数",
  29477. "type": "number"
  29478. },
  29479. "pickupgoodsdesc": {
  29480. "description": "描述",
  29481. "type": "string"
  29482. },
  29483. "pickupgoodsid": {
  29484. "description": "提货商品ID",
  29485. "type": "string"
  29486. },
  29487. "pickupgoodsname": {
  29488. "description": "提货商品名称",
  29489. "type": "string"
  29490. },
  29491. "pickupgoodsstatus": {
  29492. "description": "状态 - 1:正常 2:停用 3:注销",
  29493. "type": "integer"
  29494. },
  29495. "pickupgoodsunitid": {
  29496. "description": "单位ID",
  29497. "type": "integer"
  29498. },
  29499. "pickupratio": {
  29500. "description": "提货系数",
  29501. "type": "number"
  29502. },
  29503. "preparedays": {
  29504. "description": "备货期(天)",
  29505. "type": "integer"
  29506. },
  29507. "remark": {
  29508. "description": "备注",
  29509. "type": "string"
  29510. },
  29511. "updatetime": {
  29512. "description": "更新时间",
  29513. "type": "string"
  29514. }
  29515. }
  29516. },
  29517. "models.QhjRSTriggerLog": {
  29518. "type": "object",
  29519. "properties": {
  29520. "accountid": {
  29521. "description": "用户资金账户",
  29522. "type": "integer"
  29523. },
  29524. "accountname": {
  29525. "description": "账号名称(ACCOUNTID对应的名称)",
  29526. "type": "string"
  29527. },
  29528. "currencyid": {
  29529. "description": "币种id",
  29530. "type": "integer"
  29531. },
  29532. "currencyname": {
  29533. "description": "币种名称",
  29534. "type": "string"
  29535. },
  29536. "decimalplace": {
  29537. "description": "商品报价小数位",
  29538. "type": "integer"
  29539. },
  29540. "enumdicname": {
  29541. "description": "单位名称",
  29542. "type": "string"
  29543. },
  29544. "goodscode": {
  29545. "description": "定投商品代码",
  29546. "type": "string"
  29547. },
  29548. "goodsid": {
  29549. "description": "定投商品ID",
  29550. "type": "integer"
  29551. },
  29552. "goodsname": {
  29553. "description": "定投商品名称",
  29554. "type": "string"
  29555. },
  29556. "goodunitid": {
  29557. "description": "定投商品单位id",
  29558. "type": "integer"
  29559. },
  29560. "logid": {
  29561. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  29562. "type": "string"
  29563. },
  29564. "logincode": {
  29565. "description": "账号(登录代码)",
  29566. "type": "string"
  29567. },
  29568. "qtydecimalplace": {
  29569. "description": "成交量小数位",
  29570. "type": "integer"
  29571. },
  29572. "regularlycycle": {
  29573. "description": "定投频率 - 1:每周 2:每月",
  29574. "type": "integer"
  29575. },
  29576. "regularlycyclevalue": {
  29577. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  29578. "type": "string"
  29579. },
  29580. "regularlymode": {
  29581. "description": "定投方式 - 1:按数量 2:按金额",
  29582. "type": "integer"
  29583. },
  29584. "regularlymodevalue": {
  29585. "description": "定投方式值 - 数量或金额",
  29586. "type": "number"
  29587. },
  29588. "regularlystrategyid": {
  29589. "description": "定投策略ID",
  29590. "type": "integer"
  29591. },
  29592. "retcode": {
  29593. "description": "错误码",
  29594. "type": "string"
  29595. },
  29596. "tradeid": {
  29597. "description": "成交单ID",
  29598. "type": "string"
  29599. },
  29600. "triggeramount": {
  29601. "description": "触发金额",
  29602. "type": "number"
  29603. },
  29604. "triggerqty": {
  29605. "description": "触发数量",
  29606. "type": "number"
  29607. },
  29608. "triggerstatus": {
  29609. "description": "触发状态 - 1:成功 2:失败",
  29610. "type": "integer"
  29611. },
  29612. "triggertime": {
  29613. "description": "触发时间",
  29614. "type": "string"
  29615. },
  29616. "triggertradedate": {
  29617. "description": "触发交易日",
  29618. "type": "string"
  29619. },
  29620. "userid": {
  29621. "description": "所属用户ID",
  29622. "type": "integer"
  29623. },
  29624. "userinfotype": {
  29625. "description": "用户类型 1-个人 2-企业",
  29626. "type": "integer"
  29627. },
  29628. "username": {
  29629. "description": "用户名称(userid对应的名称)",
  29630. "type": "string"
  29631. }
  29632. }
  29633. },
  29634. "models.QhjRStrategy": {
  29635. "type": "object",
  29636. "properties": {
  29637. "accountid": {
  29638. "description": "用户资金账户",
  29639. "type": "integer"
  29640. },
  29641. "accountname": {
  29642. "description": "账号名称(ACCOUNTID对应的名称)",
  29643. "type": "string"
  29644. },
  29645. "currencyid": {
  29646. "description": "币种id",
  29647. "type": "integer"
  29648. },
  29649. "currencyname": {
  29650. "description": "币种名称",
  29651. "type": "string"
  29652. },
  29653. "decimalplace": {
  29654. "description": "商品报价小数位",
  29655. "type": "integer"
  29656. },
  29657. "enumdicname": {
  29658. "description": "单位名称",
  29659. "type": "string"
  29660. },
  29661. "goodscode": {
  29662. "description": "定投商品代码",
  29663. "type": "string"
  29664. },
  29665. "goodsid": {
  29666. "description": "定投商品ID",
  29667. "type": "integer"
  29668. },
  29669. "goodsname": {
  29670. "description": "定投商品名称",
  29671. "type": "string"
  29672. },
  29673. "goodunitid": {
  29674. "description": "定投商品单位id",
  29675. "type": "integer"
  29676. },
  29677. "lasteffecttradedate": {
  29678. "description": "最新生效交易日",
  29679. "type": "string"
  29680. },
  29681. "laststoptradedate": {
  29682. "description": "最新暂停交易日",
  29683. "type": "string"
  29684. },
  29685. "lasttriggertradedate": {
  29686. "description": "最新触发交易日",
  29687. "type": "string"
  29688. },
  29689. "logincode": {
  29690. "description": "账号(登录代码)",
  29691. "type": "string"
  29692. },
  29693. "nexttriggeramount": {
  29694. "description": "下次触发金额",
  29695. "type": "number"
  29696. },
  29697. "nexttriggerdate": {
  29698. "description": "下次触发日期",
  29699. "type": "string"
  29700. },
  29701. "nexttriggerqty": {
  29702. "description": "下次触发数量 [按小数位放大值]",
  29703. "type": "number"
  29704. },
  29705. "qtydecimalplace": {
  29706. "description": "成交量小数位",
  29707. "type": "integer"
  29708. },
  29709. "regularlycycle": {
  29710. "description": "定投频率 - 1:每周 2:每月",
  29711. "type": "integer"
  29712. },
  29713. "regularlycyclevalue": {
  29714. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  29715. "type": "string"
  29716. },
  29717. "regularlymode": {
  29718. "description": "定投方式 - 1:按数量 2:按金额",
  29719. "type": "integer"
  29720. },
  29721. "regularlymodevalue": {
  29722. "description": "定投方式值 - 数量或金额",
  29723. "type": "number"
  29724. },
  29725. "regularlystrategyid": {
  29726. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  29727. "type": "integer"
  29728. },
  29729. "regularlystrategystatus": {
  29730. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  29731. "type": "integer"
  29732. },
  29733. "remark": {
  29734. "description": "备注",
  29735. "type": "string"
  29736. },
  29737. "triggersuccesstimes": {
  29738. "description": "累计定投成功次数",
  29739. "type": "string"
  29740. },
  29741. "triggertotalamount": {
  29742. "description": "累计定投金额(成功)",
  29743. "type": "number"
  29744. },
  29745. "triggertotalqty": {
  29746. "description": "累计定投数量(成功) [按小数位放大值]",
  29747. "type": "number"
  29748. },
  29749. "triggertotaltimes": {
  29750. "description": "累计定投总次数",
  29751. "type": "string"
  29752. },
  29753. "updatesrc": {
  29754. "description": "更新来源 - 1:管理端 2:终端",
  29755. "type": "integer"
  29756. },
  29757. "updatetime": {
  29758. "description": "更新时间",
  29759. "type": "string"
  29760. },
  29761. "updatorid": {
  29762. "description": "更新人",
  29763. "type": "string"
  29764. },
  29765. "userid": {
  29766. "description": "所属用户ID",
  29767. "type": "integer"
  29768. },
  29769. "userinfotype": {
  29770. "description": "用户类型 1-个人 2-企业",
  29771. "type": "integer"
  29772. },
  29773. "username": {
  29774. "description": "用户名称(userid对应的名称)",
  29775. "type": "string"
  29776. }
  29777. }
  29778. },
  29779. "models.QhjReckonPriceLog": {
  29780. "type": "object",
  29781. "properties": {
  29782. "decimalplace": {
  29783. "description": "商品报价小数位",
  29784. "type": "integer"
  29785. },
  29786. "goodscode": {
  29787. "description": "商品代码",
  29788. "type": "string"
  29789. },
  29790. "goodsid": {
  29791. "description": "商品ID",
  29792. "type": "integer"
  29793. },
  29794. "goodsname": {
  29795. "description": "商品名称",
  29796. "type": "string"
  29797. },
  29798. "lastreckonprice": {
  29799. "description": "上日结算价",
  29800. "type": "number"
  29801. },
  29802. "nextdnlimitprice": {
  29803. "description": "下个交易日跌停价",
  29804. "type": "number"
  29805. },
  29806. "nexttrade": {
  29807. "description": "下个交易日",
  29808. "type": "string"
  29809. },
  29810. "nextuplimitprice": {
  29811. "description": "下个交易日涨停价",
  29812. "type": "number"
  29813. },
  29814. "reckonprice": {
  29815. "description": "今日结算价(定投价)",
  29816. "type": "number"
  29817. },
  29818. "reckontime": {
  29819. "description": "结算时间",
  29820. "type": "string"
  29821. },
  29822. "totalholderqty": {
  29823. "description": "总持仓数",
  29824. "type": "integer"
  29825. },
  29826. "totalstock": {
  29827. "description": "总库存",
  29828. "type": "integer"
  29829. },
  29830. "tradedate": {
  29831. "description": "交易日",
  29832. "type": "string"
  29833. },
  29834. "updowncount": {
  29835. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  29836. "type": "integer"
  29837. },
  29838. "updownflag": {
  29839. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  29840. "type": "integer"
  29841. },
  29842. "updownrate": {
  29843. "description": "今日涨跌幅",
  29844. "type": "number"
  29845. },
  29846. "updownrate_2d": {
  29847. "description": "连续两日涨跌幅",
  29848. "type": "number"
  29849. },
  29850. "updownrate_3d": {
  29851. "description": "连续三日涨跌幅",
  29852. "type": "number"
  29853. }
  29854. }
  29855. },
  29856. "models.QhjScoreLog": {
  29857. "type": "object",
  29858. "properties": {
  29859. "accountid": {
  29860. "description": "账户ID",
  29861. "type": "integer"
  29862. },
  29863. "createtime": {
  29864. "description": "创建时间(时间)",
  29865. "type": "string"
  29866. },
  29867. "goodsid": {
  29868. "description": "商品ID",
  29869. "type": "integer"
  29870. },
  29871. "hasuploaded": {
  29872. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  29873. "type": "integer"
  29874. },
  29875. "logid": {
  29876. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29877. "type": "string"
  29878. },
  29879. "marketid": {
  29880. "description": "市场ID",
  29881. "type": "integer"
  29882. },
  29883. "relatedamount": {
  29884. "description": "关联金额",
  29885. "type": "number"
  29886. },
  29887. "relatedorderid": {
  29888. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  29889. "type": "string"
  29890. },
  29891. "scoreconfigvalue1": {
  29892. "description": "积分配置1",
  29893. "type": "integer"
  29894. },
  29895. "scoreconfigvalue2": {
  29896. "description": "积分配置1",
  29897. "type": "integer"
  29898. },
  29899. "scoretype": {
  29900. "description": "积分类型 - 1:提货积分",
  29901. "type": "integer"
  29902. },
  29903. "scorevalue": {
  29904. "description": "积分",
  29905. "type": "number"
  29906. },
  29907. "tradedate": {
  29908. "description": "交易日(yyyyMMdd)",
  29909. "type": "string"
  29910. },
  29911. "uploadedtime": {
  29912. "description": "同步时间",
  29913. "type": "string"
  29914. },
  29915. "userid": {
  29916. "description": "用户ID",
  29917. "type": "integer"
  29918. }
  29919. }
  29920. },
  29921. "models.QhjSiteColumnDetail": {
  29922. "type": "object",
  29923. "properties": {
  29924. "author": {
  29925. "description": "作者",
  29926. "type": "string"
  29927. },
  29928. "brief": {
  29929. "description": "简介",
  29930. "type": "string"
  29931. },
  29932. "columnid": {
  29933. "description": "所属栏目",
  29934. "type": "integer"
  29935. },
  29936. "context": {
  29937. "description": "内容",
  29938. "type": "string"
  29939. },
  29940. "coverimage": {
  29941. "description": "封面图片",
  29942. "type": "string"
  29943. },
  29944. "creaedate": {
  29945. "description": "创建时间",
  29946. "type": "string"
  29947. },
  29948. "creatorid": {
  29949. "description": "创建人",
  29950. "type": "integer"
  29951. },
  29952. "hits": {
  29953. "description": "点击数",
  29954. "type": "integer"
  29955. },
  29956. "id": {
  29957. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  29958. "type": "integer"
  29959. },
  29960. "isshow": {
  29961. "description": "是否展示 - 0:不展示 1:展示",
  29962. "type": "integer"
  29963. },
  29964. "istop": {
  29965. "description": "是否置顶 - 0:不置 1:置顶",
  29966. "type": "integer"
  29967. },
  29968. "modifierid": {
  29969. "description": "操作人",
  29970. "type": "integer"
  29971. },
  29972. "publishdate": {
  29973. "description": "发布日期",
  29974. "type": "string"
  29975. },
  29976. "status": {
  29977. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  29978. "type": "integer"
  29979. },
  29980. "title": {
  29981. "description": "标题",
  29982. "type": "string"
  29983. },
  29984. "updatedate": {
  29985. "description": "修改时间",
  29986. "type": "string"
  29987. },
  29988. "userid": {
  29989. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  29990. "type": "integer"
  29991. },
  29992. "username": {
  29993. "description": "用户名称",
  29994. "type": "string"
  29995. }
  29996. }
  29997. },
  29998. "models.QhjTeamOrder": {
  29999. "type": "object",
  30000. "properties": {
  30001. "accountid": {
  30002. "description": "账户ID[报价币种]",
  30003. "type": "integer"
  30004. },
  30005. "accountname": {
  30006. "description": "账户名称",
  30007. "type": "string"
  30008. },
  30009. "agreeunit": {
  30010. "description": "合约乘数",
  30011. "type": "number"
  30012. },
  30013. "buyorsell": {
  30014. "description": "方向 - 0:买 1:卖",
  30015. "type": "integer"
  30016. },
  30017. "decimalplace": {
  30018. "description": "报价小数位",
  30019. "type": "integer"
  30020. },
  30021. "enumdicname": {
  30022. "description": "单位名称",
  30023. "type": "string"
  30024. },
  30025. "goodscode": {
  30026. "description": "商品代码(内部)",
  30027. "type": "string"
  30028. },
  30029. "goodsid": {
  30030. "description": "商品ID",
  30031. "type": "integer"
  30032. },
  30033. "goodsname": {
  30034. "description": "商品名称",
  30035. "type": "string"
  30036. },
  30037. "goodunitid": {
  30038. "description": "报价单位ID",
  30039. "type": "integer"
  30040. },
  30041. "marketid": {
  30042. "description": "市场ID",
  30043. "type": "integer"
  30044. },
  30045. "marketname": {
  30046. "description": "市场名称",
  30047. "type": "string"
  30048. },
  30049. "qtydecimalplace": {
  30050. "description": "成交量小数位",
  30051. "type": "integer"
  30052. },
  30053. "refereeuserid": {
  30054. "description": "推荐人ID",
  30055. "type": "integer"
  30056. },
  30057. "tradeamount": {
  30058. "description": "成交金额[账户币种,用于所有权]",
  30059. "type": "number"
  30060. },
  30061. "tradedate": {
  30062. "description": "交易日(yyyyMMdd)",
  30063. "type": "string"
  30064. },
  30065. "trademode": {
  30066. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30067. "type": "integer"
  30068. },
  30069. "tradeprice": {
  30070. "description": "成交价格",
  30071. "type": "number"
  30072. },
  30073. "tradeqty": {
  30074. "description": "成交数量",
  30075. "type": "number"
  30076. },
  30077. "tradetime": {
  30078. "description": "成交时间",
  30079. "type": "string"
  30080. },
  30081. "userid": {
  30082. "description": "用户ID",
  30083. "type": "integer"
  30084. }
  30085. }
  30086. },
  30087. "models.QhjTradeGoodsPickup": {
  30088. "type": "object",
  30089. "properties": {
  30090. "accountid": {
  30091. "description": "账户ID",
  30092. "type": "integer"
  30093. },
  30094. "address": {
  30095. "description": "提货人详细地址",
  30096. "type": "string"
  30097. },
  30098. "amount": {
  30099. "description": "提货金额",
  30100. "type": "number"
  30101. },
  30102. "artradedate": {
  30103. "description": "自动收货交易日(yyyyMMdd)",
  30104. "type": "string"
  30105. },
  30106. "auditer": {
  30107. "description": "审核人",
  30108. "type": "integer"
  30109. },
  30110. "auditsrc": {
  30111. "description": "更新来源 - 1:管理端 2:终端",
  30112. "type": "integer"
  30113. },
  30114. "audittime": {
  30115. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  30116. "type": "string"
  30117. },
  30118. "audittradedate": {
  30119. "description": "审核交易日(yyyyMMdd)",
  30120. "type": "string"
  30121. },
  30122. "cardnum": {
  30123. "description": "提货人证件号码",
  30124. "type": "string"
  30125. },
  30126. "cardtypeid": {
  30127. "description": "提货人证件类型",
  30128. "type": "integer"
  30129. },
  30130. "checkremark": {
  30131. "description": "审核备注",
  30132. "type": "string"
  30133. },
  30134. "cityid": {
  30135. "description": "市",
  30136. "type": "integer"
  30137. },
  30138. "cityname": {
  30139. "description": "城市名称",
  30140. "type": "string"
  30141. },
  30142. "confirmtime": {
  30143. "description": "取货时间 或 收货时间",
  30144. "type": "string"
  30145. },
  30146. "countryid": {
  30147. "description": "国家",
  30148. "type": "integer"
  30149. },
  30150. "countryname": {
  30151. "description": "国家名称",
  30152. "type": "string"
  30153. },
  30154. "decimalplace": {
  30155. "description": "商品报价小数位",
  30156. "type": "integer"
  30157. },
  30158. "districtid": {
  30159. "description": "地区",
  30160. "type": "integer"
  30161. },
  30162. "districtname": {
  30163. "description": "地区名称",
  30164. "type": "string"
  30165. },
  30166. "enumdicname": {
  30167. "description": "单位名称(提货商品)",
  30168. "type": "string"
  30169. },
  30170. "expresscompany": {
  30171. "description": "物流公司",
  30172. "type": "string"
  30173. },
  30174. "expressnum": {
  30175. "description": "物流单号",
  30176. "type": "string"
  30177. },
  30178. "goodsagreeunit": {
  30179. "description": "交易商品乘数",
  30180. "type": "number"
  30181. },
  30182. "goodscode": {
  30183. "description": "商品代码",
  30184. "type": "string"
  30185. },
  30186. "goodsid": {
  30187. "description": "商品ID",
  30188. "type": "integer"
  30189. },
  30190. "goodsname": {
  30191. "description": "商品名称",
  30192. "type": "string"
  30193. },
  30194. "goodsqty": {
  30195. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  30196. "type": "number"
  30197. },
  30198. "handlestatus": {
  30199. "description": "处理状态",
  30200. "type": "integer"
  30201. },
  30202. "logincode": {
  30203. "description": "账号(登录代码, 有可能为空)",
  30204. "type": "string"
  30205. },
  30206. "marketid": {
  30207. "description": "市场ID",
  30208. "type": "integer"
  30209. },
  30210. "phonenum": {
  30211. "description": "提货人联系方式",
  30212. "type": "string"
  30213. },
  30214. "pickupgoodsagreeunit": {
  30215. "description": "提货商品合约乘数",
  30216. "type": "number"
  30217. },
  30218. "pickupgoodsid": {
  30219. "description": "提货商品ID",
  30220. "type": "string"
  30221. },
  30222. "pickupgoodsname": {
  30223. "description": "提货商品名称",
  30224. "type": "string"
  30225. },
  30226. "pickupgoodsqty": {
  30227. "description": "提货商品手数(数量)",
  30228. "type": "number"
  30229. },
  30230. "pickupgoodsunitid": {
  30231. "description": "单位ID(提货商品)",
  30232. "type": "integer"
  30233. },
  30234. "pickupratio": {
  30235. "description": "提货系数",
  30236. "type": "number"
  30237. },
  30238. "preparedays": {
  30239. "description": "备货期(天)-提货单明细表",
  30240. "type": "integer"
  30241. },
  30242. "provinceid": {
  30243. "description": "省",
  30244. "type": "integer"
  30245. },
  30246. "provincename": {
  30247. "description": "省名称",
  30248. "type": "string"
  30249. },
  30250. "qty": {
  30251. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  30252. "type": "number"
  30253. },
  30254. "qtydecimalplace": {
  30255. "description": "商品数量小数位",
  30256. "type": "integer"
  30257. },
  30258. "recivername": {
  30259. "description": "提货人姓名",
  30260. "type": "string"
  30261. },
  30262. "reqtime": {
  30263. "description": "提货申请时间",
  30264. "type": "string"
  30265. },
  30266. "storeuserid": {
  30267. "description": "门店用户ID (千海金)",
  30268. "type": "integer"
  30269. },
  30270. "storeusername": {
  30271. "description": "门店用户名称",
  30272. "type": "string"
  30273. },
  30274. "takemode": {
  30275. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  30276. "type": "integer"
  30277. },
  30278. "takeorderid": {
  30279. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  30280. "type": "string"
  30281. },
  30282. "takeorderstatus": {
  30283. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  30284. "type": "integer"
  30285. },
  30286. "takeremark": {
  30287. "description": "提货备注",
  30288. "type": "string"
  30289. },
  30290. "tradedate": {
  30291. "description": "交易日(yyyyMMdd)",
  30292. "type": "string"
  30293. },
  30294. "updatetime": {
  30295. "description": "更新时间",
  30296. "type": "string"
  30297. },
  30298. "userid": {
  30299. "description": "用户ID",
  30300. "type": "integer"
  30301. },
  30302. "userinfotype": {
  30303. "description": "客户类型 1-个人 2-企业",
  30304. "type": "integer"
  30305. },
  30306. "username": {
  30307. "description": "用户名称",
  30308. "type": "string"
  30309. }
  30310. }
  30311. },
  30312. "models.QhjUserNodeCfgAndStatus": {
  30313. "type": "object",
  30314. "properties": {
  30315. "agreementcontent": {
  30316. "description": "协议内容",
  30317. "type": "string"
  30318. },
  30319. "agreementid": {
  30320. "description": "协议ID",
  30321. "type": "integer"
  30322. },
  30323. "agreementname": {
  30324. "description": "协议名称",
  30325. "type": "string"
  30326. },
  30327. "agreementno": {
  30328. "description": "协议编号",
  30329. "type": "string"
  30330. },
  30331. "agreementtype": {
  30332. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30333. "type": "integer"
  30334. },
  30335. "agreementversion": {
  30336. "description": "协议版本号",
  30337. "type": "integer"
  30338. },
  30339. "configid": {
  30340. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30341. "type": "integer"
  30342. },
  30343. "createtime": {
  30344. "description": "创建时间",
  30345. "type": "string"
  30346. },
  30347. "goodsid": {
  30348. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30349. "type": "integer"
  30350. },
  30351. "nodetype": {
  30352. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30353. "type": "integer"
  30354. },
  30355. "signtimestamp": {
  30356. "description": "签约状态时间戳(最近一次)",
  30357. "type": "string"
  30358. },
  30359. "tradedate": {
  30360. "description": "签约交易日(yyyyMMdd)",
  30361. "type": "string"
  30362. },
  30363. "userid": {
  30364. "description": "客户ID",
  30365. "type": "integer"
  30366. }
  30367. }
  30368. },
  30369. "models.Qhjgoodsex": {
  30370. "type": "object",
  30371. "properties": {
  30372. "canfinance": {
  30373. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  30374. "type": "integer"
  30375. },
  30376. "canregularlybuy": {
  30377. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  30378. "type": "integer"
  30379. },
  30380. "defaulttradeuserid": {
  30381. "description": "默认交易用户ID",
  30382. "type": "integer"
  30383. },
  30384. "deliverygoodsid": {
  30385. "description": "现货品种ID",
  30386. "type": "integer"
  30387. },
  30388. "goodsid": {
  30389. "description": "商品ID(自增ID SEQ_GOODS)",
  30390. "type": "integer"
  30391. },
  30392. "minamount": {
  30393. "description": "最小购买金额",
  30394. "type": "number"
  30395. },
  30396. "regularlybuyminamount": {
  30397. "description": "定投最小金额",
  30398. "type": "number"
  30399. },
  30400. "regularlybuyminqty": {
  30401. "description": "定投最小数量",
  30402. "type": "number"
  30403. },
  30404. "spotgoodsbrandid": {
  30405. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  30406. "type": "integer"
  30407. },
  30408. "visibilityforenterprise": {
  30409. "description": "企业客户是否可见 - 0:不可见 1:可见",
  30410. "type": "integer"
  30411. },
  30412. "visibilityforpersonal": {
  30413. "description": "个人客户是否可见 - 0:不可见 1:可见",
  30414. "type": "integer"
  30415. },
  30416. "wrstandardid": {
  30417. "description": "现货商品ID",
  30418. "type": "integer"
  30419. }
  30420. }
  30421. },
  30422. "models.QueryErrorInfosRsp": {
  30423. "type": "object",
  30424. "required": [
  30425. "errorid"
  30426. ],
  30427. "properties": {
  30428. "description": {
  30429. "description": "异常描述",
  30430. "type": "string"
  30431. },
  30432. "errorcode": {
  30433. "description": "异常代码",
  30434. "type": "string"
  30435. },
  30436. "errorid": {
  30437. "description": "异常ID",
  30438. "type": "integer"
  30439. },
  30440. "modulecode": {
  30441. "description": "所属模块",
  30442. "type": "string"
  30443. },
  30444. "operatecode": {
  30445. "description": "所属操作",
  30446. "type": "string"
  30447. },
  30448. "rownumber": {
  30449. "description": "行号",
  30450. "type": "string"
  30451. }
  30452. }
  30453. },
  30454. "models.QueryHedgeOrderDetailRsp": {
  30455. "type": "object",
  30456. "properties": {
  30457. "accountid": {
  30458. "description": "账户ID",
  30459. "type": "integer"
  30460. },
  30461. "buyorsell": {
  30462. "description": "买卖 - 0:买 1:卖",
  30463. "type": "integer"
  30464. },
  30465. "cancellogincode": {
  30466. "description": "撤单人",
  30467. "type": "string"
  30468. },
  30469. "channelbuildtype": {
  30470. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  30471. "type": "integer"
  30472. },
  30473. "channelinnerorderstatus": {
  30474. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  30475. "type": "integer"
  30476. },
  30477. "channeloperatetype": {
  30478. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  30479. "type": "integer"
  30480. },
  30481. "closetype": {
  30482. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  30483. "type": "integer"
  30484. },
  30485. "curexchangerate": {
  30486. "description": "当前汇率",
  30487. "type": "number"
  30488. },
  30489. "exchangefullname": {
  30490. "description": "外部交易所全称",
  30491. "type": "string"
  30492. },
  30493. "goodscode": {
  30494. "description": "商品代码(内部)",
  30495. "type": "string"
  30496. },
  30497. "goodsid": {
  30498. "description": "商品ID",
  30499. "type": "integer"
  30500. },
  30501. "goodsname": {
  30502. "description": "商品名称",
  30503. "type": "string"
  30504. },
  30505. "marketid": {
  30506. "description": "市场ID",
  30507. "type": "integer"
  30508. },
  30509. "openfreezemargin": {
  30510. "description": "冻结保证金(冻结交易金额)",
  30511. "type": "number"
  30512. },
  30513. "orderid": {
  30514. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30515. "type": "string"
  30516. },
  30517. "orderlogincode": {
  30518. "description": "委托人",
  30519. "type": "string"
  30520. },
  30521. "orderprice": {
  30522. "description": "委托价格(账户)",
  30523. "type": "number"
  30524. },
  30525. "orderqty": {
  30526. "description": "委托数量",
  30527. "type": "integer"
  30528. },
  30529. "ordertime": {
  30530. "description": "委托时间",
  30531. "type": "string"
  30532. },
  30533. "pricemode": {
  30534. "description": "取价方式 - 1:市价 2: 限价",
  30535. "type": "integer"
  30536. },
  30537. "tradedate": {
  30538. "description": "交易日(yyyyMMdd)",
  30539. "type": "string"
  30540. },
  30541. "tradeqty": {
  30542. "description": "成交数量",
  30543. "type": "integer"
  30544. }
  30545. }
  30546. },
  30547. "models.QueryHedgeTradeDetailRsp": {
  30548. "type": "object",
  30549. "properties": {
  30550. "accountid": {
  30551. "description": "账号ID",
  30552. "type": "integer"
  30553. },
  30554. "buyorsell": {
  30555. "description": "方向 - 0:买 1:卖",
  30556. "type": "integer"
  30557. },
  30558. "channelbuildtype": {
  30559. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  30560. "type": "integer"
  30561. },
  30562. "closecharge": {
  30563. "description": "平仓手续费(账户)",
  30564. "type": "number"
  30565. },
  30566. "closecharge2": {
  30567. "description": "平仓手续费(商品)",
  30568. "type": "number"
  30569. },
  30570. "closepl": {
  30571. "description": "平仓盈亏(账户)",
  30572. "type": "number"
  30573. },
  30574. "closepl2": {
  30575. "description": "平仓盈亏(商品)",
  30576. "type": "number"
  30577. },
  30578. "closepl3": {
  30579. "description": "平仓盈亏(账户)(逐笔)",
  30580. "type": "number"
  30581. },
  30582. "closepl4": {
  30583. "description": "平仓盈亏(商品)(逐笔)",
  30584. "type": "number"
  30585. },
  30586. "closetype": {
  30587. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  30588. "type": "integer"
  30589. },
  30590. "curexchangerate": {
  30591. "description": "当前汇率",
  30592. "type": "number"
  30593. },
  30594. "exchangefullname": {
  30595. "description": "外部交易所全称",
  30596. "type": "string"
  30597. },
  30598. "goodscode": {
  30599. "description": "商品代码(内部)",
  30600. "type": "string"
  30601. },
  30602. "goodsid": {
  30603. "description": "商品ID",
  30604. "type": "integer"
  30605. },
  30606. "goodsname": {
  30607. "description": "商品名称",
  30608. "type": "string"
  30609. },
  30610. "marketid": {
  30611. "description": "市场ID",
  30612. "type": "integer"
  30613. },
  30614. "opencharge": {
  30615. "description": "建仓手续费(账户)",
  30616. "type": "number"
  30617. },
  30618. "opencharge2": {
  30619. "description": "建仓手续费(商品)",
  30620. "type": "number"
  30621. },
  30622. "orderid": {
  30623. "description": "委托单号",
  30624. "type": "string"
  30625. },
  30626. "orderlogincode": {
  30627. "description": "委托人",
  30628. "type": "string"
  30629. },
  30630. "tradeamount": {
  30631. "description": "成交金额(账户)",
  30632. "type": "number"
  30633. },
  30634. "tradedate": {
  30635. "description": "交易日(yyyyMMdd)",
  30636. "type": "string"
  30637. },
  30638. "tradeid": {
  30639. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30640. "type": "string"
  30641. },
  30642. "tradeprice": {
  30643. "description": "成交价格",
  30644. "type": "number"
  30645. },
  30646. "tradeqty": {
  30647. "description": "成交数量",
  30648. "type": "integer"
  30649. },
  30650. "tradetime": {
  30651. "description": "成交时间",
  30652. "type": "string"
  30653. },
  30654. "tradetype": {
  30655. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  30656. "type": "integer"
  30657. }
  30658. }
  30659. },
  30660. "models.QuotePrimaryMenu": {
  30661. "type": "object",
  30662. "properties": {
  30663. "Index": {
  30664. "description": "序号",
  30665. "type": "integer"
  30666. },
  30667. "Key": {
  30668. "description": "键名",
  30669. "type": "string"
  30670. },
  30671. "Name": {
  30672. "description": "菜单名称",
  30673. "type": "string"
  30674. },
  30675. "SubMenus": {
  30676. "description": "子菜单",
  30677. "type": "array",
  30678. "items": {
  30679. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  30680. }
  30681. },
  30682. "SubTitleType": {
  30683. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  30684. "type": "integer"
  30685. },
  30686. "TradeModes": {
  30687. "description": "包含市场交易类型",
  30688. "type": "string"
  30689. }
  30690. }
  30691. },
  30692. "models.QuoteSecondaryMenu": {
  30693. "type": "object",
  30694. "properties": {
  30695. "ExExchangeCode": {
  30696. "description": "外部交易所代码",
  30697. "type": "string"
  30698. },
  30699. "ExExchangeID": {
  30700. "description": "外部交易所ID",
  30701. "type": "integer"
  30702. },
  30703. "GoodsGroupIDs": {
  30704. "description": "商品组ID列表",
  30705. "type": "array",
  30706. "items": {
  30707. "type": "integer"
  30708. }
  30709. },
  30710. "Index": {
  30711. "description": "序号",
  30712. "type": "integer"
  30713. },
  30714. "MarketID": {
  30715. "description": "市场ID",
  30716. "type": "integer"
  30717. },
  30718. "MenuTitle": {
  30719. "description": "菜单标题(市场名称或外部交易所名称)",
  30720. "type": "string"
  30721. },
  30722. "TradeMode": {
  30723. "description": "交易模式",
  30724. "type": "integer"
  30725. }
  30726. }
  30727. },
  30728. "models.RoleMenu": {
  30729. "type": "object",
  30730. "properties": {
  30731. "hasright": {
  30732. "description": "是否有权限 0-没有权限 1-有权限",
  30733. "type": "integer"
  30734. },
  30735. "iconame": {
  30736. "description": "菜单图标",
  30737. "type": "string"
  30738. },
  30739. "menutype": {
  30740. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  30741. "type": "integer"
  30742. },
  30743. "parentcode": {
  30744. "description": "上级资源代码",
  30745. "type": "string"
  30746. },
  30747. "remark": {
  30748. "description": "菜单备注",
  30749. "type": "string"
  30750. },
  30751. "resourcecode": {
  30752. "description": "菜单代码",
  30753. "type": "string"
  30754. },
  30755. "resourcelevel": {
  30756. "description": "级别",
  30757. "type": "integer"
  30758. },
  30759. "resourcename": {
  30760. "description": "菜单名称",
  30761. "type": "string"
  30762. },
  30763. "roleid": {
  30764. "description": "角色id",
  30765. "type": "integer"
  30766. },
  30767. "sort": {
  30768. "description": "排序",
  30769. "type": "integer"
  30770. },
  30771. "subMenu": {
  30772. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  30773. "type": "array",
  30774. "items": {
  30775. "$ref": "#/definitions/models.RoleMenu"
  30776. }
  30777. },
  30778. "url": {
  30779. "description": "URL",
  30780. "type": "string"
  30781. },
  30782. "userid": {
  30783. "description": "用户id",
  30784. "type": "integer"
  30785. }
  30786. }
  30787. },
  30788. "models.SearchGoods": {
  30789. "type": "object",
  30790. "required": [
  30791. "goodscode",
  30792. "goodsid",
  30793. "goodsname",
  30794. "marketid",
  30795. "trademode"
  30796. ],
  30797. "properties": {
  30798. "goodscode": {
  30799. "description": "商品代码(内部)",
  30800. "type": "string"
  30801. },
  30802. "goodsid": {
  30803. "description": "商品ID(自增ID SEQ_GOODS)",
  30804. "type": "integer"
  30805. },
  30806. "goodsname": {
  30807. "description": "商品名称",
  30808. "type": "string"
  30809. },
  30810. "marketid": {
  30811. "description": "所属市场ID",
  30812. "type": "integer"
  30813. },
  30814. "marketname": {
  30815. "description": "市场名称",
  30816. "type": "string"
  30817. },
  30818. "trademode": {
  30819. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30820. "type": "integer"
  30821. }
  30822. }
  30823. },
  30824. "models.Systemparam": {
  30825. "type": "object",
  30826. "required": [
  30827. "paramcode"
  30828. ],
  30829. "properties": {
  30830. "loginid": {
  30831. "description": "更新用户账号,登录账号",
  30832. "type": "string"
  30833. },
  30834. "modifyflag": {
  30835. "description": "修改标志0 不允许修改 1 允许修改",
  30836. "type": "integer"
  30837. },
  30838. "paramcode": {
  30839. "description": "参数代码",
  30840. "type": "string"
  30841. },
  30842. "paramname": {
  30843. "description": "参数名",
  30844. "type": "string"
  30845. },
  30846. "paramtype": {
  30847. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  30848. "type": "integer"
  30849. },
  30850. "paramvalue": {
  30851. "description": "参数值",
  30852. "type": "string"
  30853. },
  30854. "paramvalue2": {
  30855. "description": "参数值(CLOB)",
  30856. "type": "string"
  30857. },
  30858. "regexpress": {
  30859. "description": "正则表达式",
  30860. "type": "string"
  30861. },
  30862. "remark": {
  30863. "description": "备注",
  30864. "type": "string"
  30865. },
  30866. "serverip": {
  30867. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  30868. "type": "string"
  30869. },
  30870. "showflag": {
  30871. "description": "是否显示0 不显示 1 显示",
  30872. "type": "integer"
  30873. },
  30874. "updatetime": {
  30875. "description": "更新时间",
  30876. "type": "string"
  30877. },
  30878. "userid": {
  30879. "description": "更新用户ID",
  30880. "type": "integer"
  30881. }
  30882. }
  30883. },
  30884. "models.Szdz3convertconfig": {
  30885. "type": "object",
  30886. "required": [
  30887. "converttype",
  30888. "innergoodsid",
  30889. "outergoodscode"
  30890. ],
  30891. "properties": {
  30892. "canin": {
  30893. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  30894. "type": "integer"
  30895. },
  30896. "canout": {
  30897. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  30898. "type": "integer"
  30899. },
  30900. "converttype": {
  30901. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  30902. "type": "integer"
  30903. },
  30904. "createtime": {
  30905. "description": "创建时间",
  30906. "type": "string"
  30907. },
  30908. "creatorid": {
  30909. "description": "创建人",
  30910. "type": "integer"
  30911. },
  30912. "daymaxvalue": {
  30913. "description": "当日最大转入限制",
  30914. "type": "number"
  30915. },
  30916. "freezedays": {
  30917. "description": "冻结天数 [5:花生米转交易]",
  30918. "type": "integer"
  30919. },
  30920. "innergoodsid": {
  30921. "description": "内部商品ID[交易]",
  30922. "type": "integer"
  30923. },
  30924. "inratio": {
  30925. "description": "目标值",
  30926. "type": "integer"
  30927. },
  30928. "modifierid": {
  30929. "description": "修改人",
  30930. "type": "integer"
  30931. },
  30932. "modifytime": {
  30933. "description": "修改时间",
  30934. "type": "string"
  30935. },
  30936. "outergoodscode": {
  30937. "description": "外部商品代码[JD\\PD]",
  30938. "type": "string"
  30939. },
  30940. "outratio": {
  30941. "description": "源值",
  30942. "type": "integer"
  30943. },
  30944. "pddecimalplace": {
  30945. "description": "PD小数位",
  30946. "type": "integer"
  30947. },
  30948. "timemaxvalue": {
  30949. "description": "单次最大转入限制",
  30950. "type": "number"
  30951. },
  30952. "timeminvalue": {
  30953. "description": "单次最小转入限制",
  30954. "type": "number"
  30955. }
  30956. }
  30957. },
  30958. "models.Szdz3searchwhitelist": {
  30959. "type": "object",
  30960. "required": [
  30961. "userid"
  30962. ],
  30963. "properties": {
  30964. "createtime": {
  30965. "description": "创建时间",
  30966. "type": "string"
  30967. },
  30968. "creatorid": {
  30969. "description": "创建人",
  30970. "type": "integer"
  30971. },
  30972. "modifierid": {
  30973. "description": "修改人",
  30974. "type": "integer"
  30975. },
  30976. "modifytime": {
  30977. "description": "修改时间",
  30978. "type": "string"
  30979. },
  30980. "userid": {
  30981. "description": "用户ID",
  30982. "type": "integer"
  30983. }
  30984. }
  30985. },
  30986. "models.TBGoods": {
  30987. "type": "object",
  30988. "properties": {
  30989. "agreeunit": {
  30990. "description": "合约乘数",
  30991. "type": "number"
  30992. },
  30993. "enumdicname": {
  30994. "description": "单位名称",
  30995. "type": "string"
  30996. },
  30997. "goodscode": {
  30998. "description": "商品代码(内部)",
  30999. "type": "string"
  31000. },
  31001. "goodsid": {
  31002. "description": "商品ID(自增ID SEQ_GOODS)",
  31003. "type": "integer"
  31004. },
  31005. "goodsname": {
  31006. "description": "商品名称",
  31007. "type": "string"
  31008. }
  31009. }
  31010. },
  31011. "models.TBGoodsGroup": {
  31012. "type": "object",
  31013. "properties": {
  31014. "convertratio": {
  31015. "description": "折算系数",
  31016. "type": "number"
  31017. },
  31018. "enumdicname": {
  31019. "description": "单位名称",
  31020. "type": "string"
  31021. },
  31022. "exexchangecode": {
  31023. "description": "交易所代码",
  31024. "type": "string"
  31025. },
  31026. "exexchangename": {
  31027. "description": "交易所名称",
  31028. "type": "string"
  31029. },
  31030. "gdlst": {
  31031. "description": "商品列表",
  31032. "type": "array",
  31033. "items": {
  31034. "$ref": "#/definitions/models.TBGoods"
  31035. }
  31036. },
  31037. "goodsgroupid": {
  31038. "description": "商品组ID(自增ID)",
  31039. "type": "integer"
  31040. },
  31041. "goodsgroupname": {
  31042. "description": "商品组名称",
  31043. "type": "string"
  31044. },
  31045. "goodunitid": {
  31046. "description": "报价单位ID",
  31047. "type": "integer"
  31048. }
  31049. }
  31050. },
  31051. "models.TBMiddleGoods": {
  31052. "type": "object",
  31053. "properties": {
  31054. "areauserid": {
  31055. "description": "机构用户ID",
  31056. "type": "integer"
  31057. },
  31058. "enumdicname": {
  31059. "description": "单位名称",
  31060. "type": "string"
  31061. },
  31062. "gplst": {
  31063. "description": "期货品种列表",
  31064. "type": "array",
  31065. "items": {
  31066. "$ref": "#/definitions/models.TBGoodsGroup"
  31067. }
  31068. },
  31069. "middlegoodscode": {
  31070. "description": "套保品种代码",
  31071. "type": "string"
  31072. },
  31073. "middlegoodsid": {
  31074. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  31075. "type": "integer"
  31076. },
  31077. "middlegoodsname": {
  31078. "description": "套保品种名称",
  31079. "type": "string"
  31080. },
  31081. "needarbitrageratio": {
  31082. "description": "套利比率",
  31083. "type": "number"
  31084. },
  31085. "needhedgeratio": {
  31086. "description": "套保比率",
  31087. "type": "number"
  31088. },
  31089. "wdlst": {
  31090. "description": "商品信息列表(现货品类)",
  31091. "type": "array",
  31092. "items": {
  31093. "$ref": "#/definitions/models.TBWrstandard"
  31094. }
  31095. }
  31096. }
  31097. },
  31098. "models.TBWrstandard": {
  31099. "type": "object",
  31100. "properties": {
  31101. "convertratio": {
  31102. "description": "折算系数",
  31103. "type": "number"
  31104. },
  31105. "deliverygoodsname": {
  31106. "description": "品种名称",
  31107. "type": "string"
  31108. },
  31109. "enumdicname": {
  31110. "description": "单位名称",
  31111. "type": "string"
  31112. },
  31113. "vatrate": {
  31114. "description": "增值税率",
  31115. "type": "number"
  31116. },
  31117. "wrstandardcode": {
  31118. "description": "现货商品代码",
  31119. "type": "string"
  31120. },
  31121. "wrstandardid": {
  31122. "description": "现货商品ID(SEQ_WRSTANDARD)",
  31123. "type": "integer"
  31124. },
  31125. "wrstandardname": {
  31126. "description": "现货商品名称",
  31127. "type": "string"
  31128. }
  31129. }
  31130. },
  31131. "models.Taaccount": {
  31132. "type": "object",
  31133. "required": [
  31134. "accountid",
  31135. "userid"
  31136. ],
  31137. "properties": {
  31138. "accountflag": {
  31139. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  31140. "type": "integer"
  31141. },
  31142. "accountid": {
  31143. "description": "资金账户ID",
  31144. "type": "integer"
  31145. },
  31146. "accountname": {
  31147. "description": "账户名称",
  31148. "type": "string"
  31149. },
  31150. "balance": {
  31151. "description": "期初余额",
  31152. "type": "number"
  31153. },
  31154. "capitalbalance": {
  31155. "description": "本金余额[外部子账户实际出入金余额]",
  31156. "type": "number"
  31157. },
  31158. "changeflag": {
  31159. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  31160. "type": "integer"
  31161. },
  31162. "changetime": {
  31163. "description": "账户状态变更时间",
  31164. "type": "string"
  31165. },
  31166. "closepl": {
  31167. "description": "今日平仓盈亏",
  31168. "type": "number"
  31169. },
  31170. "creditdecrease": {
  31171. "description": "今日授信减少",
  31172. "type": "number"
  31173. },
  31174. "creditincrease": {
  31175. "description": "今日授信增加",
  31176. "type": "number"
  31177. },
  31178. "curamount": {
  31179. "description": "总市值(从持仓中统计)",
  31180. "type": "number"
  31181. },
  31182. "currencyid": {
  31183. "description": "货币ID",
  31184. "type": "integer"
  31185. },
  31186. "currentbalance": {
  31187. "description": "期末余额",
  31188. "type": "number"
  31189. },
  31190. "freezecharge": {
  31191. "description": "手续费冻结",
  31192. "type": "number"
  31193. },
  31194. "freezemargin": {
  31195. "description": "冻结保证金",
  31196. "type": "number"
  31197. },
  31198. "fromaccountid": {
  31199. "description": "所属上级账户",
  31200. "type": "integer"
  31201. },
  31202. "inamount": {
  31203. "description": "今日入金金额(包括三方入金)",
  31204. "type": "number"
  31205. },
  31206. "ismain": {
  31207. "description": "是否母账号 0:不是母账户 1:是母账户",
  31208. "type": "integer"
  31209. },
  31210. "ismarketaccount": {
  31211. "description": "是否机构接单账号 0:不是 1:是",
  31212. "type": "integer"
  31213. },
  31214. "isreckonaccount": {
  31215. "description": "是否机构分润账号 0:不是 1:是",
  31216. "type": "integer"
  31217. },
  31218. "mortgagecredit": {
  31219. "description": "授信金额",
  31220. "type": "number"
  31221. },
  31222. "orifreezecharge": {
  31223. "description": "期初手续费冻结",
  31224. "type": "number"
  31225. },
  31226. "orifreezemargin": {
  31227. "description": "期初冻结保证金",
  31228. "type": "number"
  31229. },
  31230. "orimortgagecredit": {
  31231. "description": "期初授信金额",
  31232. "type": "number"
  31233. },
  31234. "oriothercredit": {
  31235. "description": "期初其它授信金额",
  31236. "type": "number"
  31237. },
  31238. "oriotherfreezemargin": {
  31239. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  31240. "type": "number"
  31241. },
  31242. "orioutamountfreeze": {
  31243. "description": "期初出金冻结",
  31244. "type": "number"
  31245. },
  31246. "oriusedmargin": {
  31247. "description": "期初占用保证金",
  31248. "type": "number"
  31249. },
  31250. "othercredit": {
  31251. "description": "其它授信金额",
  31252. "type": "number"
  31253. },
  31254. "othercreditdecrease": {
  31255. "description": "今日其它授信减少",
  31256. "type": "number"
  31257. },
  31258. "othercreditincrease": {
  31259. "description": "今日其它授信增加",
  31260. "type": "number"
  31261. },
  31262. "otherfreezemargin": {
  31263. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  31264. "type": "number"
  31265. },
  31266. "otherincome": {
  31267. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  31268. "type": "number"
  31269. },
  31270. "otherpay": {
  31271. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  31272. "type": "number"
  31273. },
  31274. "outamount": {
  31275. "description": "今日出金金额(包括三方出金)",
  31276. "type": "number"
  31277. },
  31278. "outamountfreeze": {
  31279. "description": "出金冻结",
  31280. "type": "number"
  31281. },
  31282. "outthreshold": {
  31283. "description": "出金阈值",
  31284. "type": "number"
  31285. },
  31286. "parentaccountid": {
  31287. "description": "所属根账号",
  31288. "type": "integer"
  31289. },
  31290. "paycharge": {
  31291. "description": "今日手续费支出",
  31292. "type": "number"
  31293. },
  31294. "relatedaccountstatus": {
  31295. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  31296. "type": "integer"
  31297. },
  31298. "relateduserid": {
  31299. "description": "关联用户",
  31300. "type": "integer"
  31301. },
  31302. "remainamount": {
  31303. "description": "融资额(从融资合同中统计)",
  31304. "type": "number"
  31305. },
  31306. "serivcegroup": {
  31307. "description": "服务分组",
  31308. "type": "integer"
  31309. },
  31310. "signstatus": {
  31311. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  31312. "type": "integer"
  31313. },
  31314. "sublevelpath": {
  31315. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  31316. "type": "string"
  31317. },
  31318. "taaccounttype": {
  31319. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  31320. "type": "integer"
  31321. },
  31322. "thirdinamount": {
  31323. "description": "今日三方入金",
  31324. "type": "number"
  31325. },
  31326. "thirdoutamount": {
  31327. "description": "今日三方出金",
  31328. "type": "number"
  31329. },
  31330. "tradestatus": {
  31331. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  31332. "type": "integer"
  31333. },
  31334. "tradestatuschangetime": {
  31335. "description": "激活时间",
  31336. "type": "string"
  31337. },
  31338. "transferamount": {
  31339. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  31340. "type": "number"
  31341. },
  31342. "usedmargin": {
  31343. "description": "占用保证金",
  31344. "type": "number"
  31345. },
  31346. "userid": {
  31347. "description": "用户ID",
  31348. "type": "integer"
  31349. }
  31350. }
  31351. },
  31352. "models.Tablecolumnconfig": {
  31353. "type": "object",
  31354. "required": [
  31355. "autoid"
  31356. ],
  31357. "properties": {
  31358. "aligntype": {
  31359. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  31360. "type": "integer"
  31361. },
  31362. "autoid": {
  31363. "description": "AutoID",
  31364. "type": "integer"
  31365. },
  31366. "columnfield": {
  31367. "description": "列字段",
  31368. "type": "string"
  31369. },
  31370. "columntitle": {
  31371. "description": "列Title",
  31372. "type": "string"
  31373. },
  31374. "columnwidth": {
  31375. "description": "列宽",
  31376. "type": "string"
  31377. },
  31378. "formatterstring": {
  31379. "description": "格式化字符",
  31380. "type": "string"
  31381. },
  31382. "formattertype": {
  31383. "description": "格式化类型",
  31384. "type": "string"
  31385. },
  31386. "groupname": {
  31387. "description": "表头分组名称",
  31388. "type": "string"
  31389. },
  31390. "isshow": {
  31391. "description": "是否显示 - 0:不显示 1:显示",
  31392. "type": "integer"
  31393. },
  31394. "needsummary": {
  31395. "description": "是否需要汇总 - 0:不需要 1:需要",
  31396. "type": "integer"
  31397. },
  31398. "orderindex": {
  31399. "description": "顺序",
  31400. "type": "integer"
  31401. },
  31402. "remark": {
  31403. "description": "备注",
  31404. "type": "string"
  31405. },
  31406. "summarytype": {
  31407. "description": "汇总类型 - 1:加总 2:最后一个",
  31408. "type": "integer"
  31409. },
  31410. "tablekey": {
  31411. "description": "列表Key",
  31412. "type": "string"
  31413. }
  31414. }
  31415. },
  31416. "models.TjmdQuoteGoods": {
  31417. "type": "object",
  31418. "properties": {
  31419. "buyqty": {
  31420. "description": "买量(暂不做, 无值, 保留字段)",
  31421. "type": "number"
  31422. },
  31423. "goodscode": {
  31424. "description": "合约代码",
  31425. "type": "string"
  31426. },
  31427. "goodsgroupid": {
  31428. "description": "商品组ID(自增ID)",
  31429. "type": "integer"
  31430. },
  31431. "goodsgroupname": {
  31432. "description": "商品组名称",
  31433. "type": "string"
  31434. },
  31435. "goodsid": {
  31436. "description": "合约id",
  31437. "type": "integer"
  31438. },
  31439. "goodsname": {
  31440. "description": "合约名称",
  31441. "type": "string"
  31442. },
  31443. "refgoodscode": {
  31444. "description": "标的合约代码",
  31445. "type": "string"
  31446. },
  31447. "refgoodsid": {
  31448. "description": "标的合约id",
  31449. "type": "integer"
  31450. },
  31451. "refgoodsname": {
  31452. "description": "标的合约名称",
  31453. "type": "string"
  31454. },
  31455. "sellqty": {
  31456. "description": "卖量(暂不做, 无值, 保留字段)",
  31457. "type": "number"
  31458. }
  31459. }
  31460. },
  31461. "models.TjmdTodayAccountMargin": {
  31462. "type": "object",
  31463. "properties": {
  31464. "accountid": {
  31465. "description": "账号ID",
  31466. "type": "integer"
  31467. },
  31468. "goodsid": {
  31469. "description": "商品ID",
  31470. "type": "integer"
  31471. },
  31472. "infoc": {
  31473. "description": "配置参数",
  31474. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  31475. },
  31476. "marketid": {
  31477. "description": "市场ID",
  31478. "type": "integer"
  31479. }
  31480. }
  31481. },
  31482. "models.TjmdTradeOrderDetail": {
  31483. "type": "object",
  31484. "properties": {
  31485. "buyorsell": {
  31486. "description": "买卖方向 0-买 1-卖",
  31487. "type": "integer"
  31488. },
  31489. "goodsid": {
  31490. "description": "商品id",
  31491. "type": "integer"
  31492. },
  31493. "marketmaxsub": {
  31494. "description": "市价最大偏移范围 [浮动价 - 点差]",
  31495. "type": "number"
  31496. },
  31497. "orderid": {
  31498. "description": "委托单号",
  31499. "type": "string"
  31500. },
  31501. "orderprice": {
  31502. "description": "委托价格",
  31503. "type": "number"
  31504. },
  31505. "orderqty": {
  31506. "description": "委托数量",
  31507. "type": "integer"
  31508. },
  31509. "pricemode": {
  31510. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  31511. "type": "integer"
  31512. },
  31513. "userid": {
  31514. "description": "用户id",
  31515. "type": "integer"
  31516. },
  31517. "username": {
  31518. "description": "用户名称(已脱敏)",
  31519. "type": "string"
  31520. }
  31521. }
  31522. },
  31523. "models.TjmdTransferApply": {
  31524. "type": "object",
  31525. "properties": {
  31526. "applyid": {
  31527. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  31528. "type": "integer"
  31529. },
  31530. "applystatus": {
  31531. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  31532. "type": "integer"
  31533. },
  31534. "applytime": {
  31535. "description": "申请时间(时间)",
  31536. "type": "string"
  31537. },
  31538. "auditremark": {
  31539. "description": "审核备注(拒绝原因?)",
  31540. "type": "string"
  31541. },
  31542. "buyorsell": {
  31543. "description": "买卖 - 0:买 1:卖",
  31544. "type": "integer"
  31545. },
  31546. "goodscode": {
  31547. "description": "商品代码",
  31548. "type": "string"
  31549. },
  31550. "goodsid": {
  31551. "description": "商品ID",
  31552. "type": "integer"
  31553. },
  31554. "goodsname": {
  31555. "description": "商品名称",
  31556. "type": "string"
  31557. },
  31558. "marketid": {
  31559. "description": "市场ID",
  31560. "type": "integer"
  31561. },
  31562. "qty": {
  31563. "description": "转让数量(数量)",
  31564. "type": "number"
  31565. },
  31566. "tradeid": {
  31567. "description": "成交单号(关联持仓)",
  31568. "type": "string"
  31569. },
  31570. "transferamount": {
  31571. "description": "转让总金额(金额)",
  31572. "type": "number"
  31573. },
  31574. "transferprice": {
  31575. "description": "转让价格(协议价格)",
  31576. "type": "number"
  31577. }
  31578. }
  31579. },
  31580. "models.TradeHolderDetail": {
  31581. "type": "object",
  31582. "properties": {
  31583. "accountid": {
  31584. "description": "账号ID",
  31585. "type": "integer"
  31586. },
  31587. "agreeunit": {
  31588. "description": "合约乘数",
  31589. "type": "number"
  31590. },
  31591. "buyorsell": {
  31592. "description": "方向 - 0:买 1:卖",
  31593. "type": "integer"
  31594. },
  31595. "currencyid": {
  31596. "description": "商品币种id",
  31597. "type": "integer"
  31598. },
  31599. "currencyname": {
  31600. "description": "币种名称",
  31601. "type": "string"
  31602. },
  31603. "decimalplace": {
  31604. "description": "商品价格小数位",
  31605. "type": "integer"
  31606. },
  31607. "enumdicname": {
  31608. "description": "商品单位名称",
  31609. "type": "string"
  31610. },
  31611. "expirecycle": {
  31612. "description": "行权周期(天) - 1:滚动行权时填写",
  31613. "type": "integer"
  31614. },
  31615. "expiredate": {
  31616. "description": "行权日(yyyyMMdd) - 到期日",
  31617. "type": "string"
  31618. },
  31619. "expiretype": {
  31620. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  31621. "type": "integer"
  31622. },
  31623. "freezeqty": {
  31624. "description": "冻结数量",
  31625. "type": "number"
  31626. },
  31627. "goodscode": {
  31628. "description": "商品代码",
  31629. "type": "string"
  31630. },
  31631. "goodsid": {
  31632. "description": "商品ID",
  31633. "type": "integer"
  31634. },
  31635. "goodsname": {
  31636. "description": "商品名称",
  31637. "type": "string"
  31638. },
  31639. "goodunitid": {
  31640. "description": "商品单位id",
  31641. "type": "integer"
  31642. },
  31643. "holderamount": {
  31644. "description": "持仓金额",
  31645. "type": "number"
  31646. },
  31647. "holdercredit": {
  31648. "description": "持仓授信金额",
  31649. "type": "number"
  31650. },
  31651. "holderdays": {
  31652. "description": "剩余冻结天数",
  31653. "type": "integer"
  31654. },
  31655. "holderprice": {
  31656. "description": "持仓价格",
  31657. "type": "number"
  31658. },
  31659. "holderqty": {
  31660. "description": "持仓数量",
  31661. "type": "number"
  31662. },
  31663. "isconfirmexercise": {
  31664. "description": "是否确认行权- 0:否 1:是",
  31665. "type": "integer"
  31666. },
  31667. "ispreexercise": {
  31668. "description": "是否预申报- 0:否 1:是 2:不可行权",
  31669. "type": "integer"
  31670. },
  31671. "marketid": {
  31672. "description": "市场id",
  31673. "type": "integer"
  31674. },
  31675. "marketname": {
  31676. "description": "市场名称",
  31677. "type": "string"
  31678. },
  31679. "openprice": {
  31680. "description": "建仓价格",
  31681. "type": "number"
  31682. },
  31683. "openqty": {
  31684. "description": "建仓数量",
  31685. "type": "number"
  31686. },
  31687. "optiontype": {
  31688. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31689. "type": "integer"
  31690. },
  31691. "preexerciseprice": {
  31692. "description": "预申报价格",
  31693. "type": "number"
  31694. },
  31695. "premium": {
  31696. "description": "权利金",
  31697. "type": "number"
  31698. },
  31699. "qtydecimalplace": {
  31700. "description": "商品成交量小数位",
  31701. "type": "integer"
  31702. },
  31703. "refgoodscode": {
  31704. "description": "标的合约代码",
  31705. "type": "string"
  31706. },
  31707. "refgoodsid": {
  31708. "description": "标的合约id",
  31709. "type": "integer"
  31710. },
  31711. "releaseamount": {
  31712. "description": "释放持仓金额",
  31713. "type": "number"
  31714. },
  31715. "releaseholdercredit": {
  31716. "description": "释放持仓授信金额",
  31717. "type": "number"
  31718. },
  31719. "taname": {
  31720. "description": "资金账号名称",
  31721. "type": "string"
  31722. },
  31723. "tradeamount": {
  31724. "description": "成交金额",
  31725. "type": "number"
  31726. },
  31727. "tradedate": {
  31728. "description": "交易日(yyyyMMdd)",
  31729. "type": "string"
  31730. },
  31731. "tradeid": {
  31732. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31733. "type": "string"
  31734. },
  31735. "trademode": {
  31736. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  31737. "type": "integer"
  31738. },
  31739. "tradeproperty": {
  31740. "description": "交易属性",
  31741. "type": "integer"
  31742. },
  31743. "tradetime": {
  31744. "description": "交易时间",
  31745. "type": "string"
  31746. },
  31747. "userid": {
  31748. "description": "用户id",
  31749. "type": "integer"
  31750. },
  31751. "username": {
  31752. "description": "用户名称",
  31753. "type": "string"
  31754. }
  31755. }
  31756. },
  31757. "models.UserCollectConfig": {
  31758. "type": "object",
  31759. "properties": {
  31760. "accountstatus": {
  31761. "description": "账户状态 - 1:正常 2:停用 3:注销",
  31762. "type": "integer"
  31763. },
  31764. "collectaccountname": {
  31765. "description": "收款人账户名称",
  31766. "type": "string"
  31767. },
  31768. "collectaccountno": {
  31769. "description": "收款人账户",
  31770. "type": "string"
  31771. },
  31772. "collectbankname": {
  31773. "description": "收款人开户行",
  31774. "type": "string"
  31775. },
  31776. "collectbranchbankname": {
  31777. "description": "收款人开户支行",
  31778. "type": "string"
  31779. },
  31780. "collectconfigid": {
  31781. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  31782. "type": "string"
  31783. },
  31784. "remark": {
  31785. "description": "备注",
  31786. "type": "string"
  31787. },
  31788. "userid": {
  31789. "description": "收款人用户ID",
  31790. "type": "integer"
  31791. }
  31792. }
  31793. },
  31794. "models.UserReceiveInfo": {
  31795. "type": "object",
  31796. "properties": {
  31797. "address": {
  31798. "description": "提货人详细地址",
  31799. "type": "string"
  31800. },
  31801. "autoid": {
  31802. "description": "AutoID",
  31803. "type": "integer"
  31804. },
  31805. "cardnum": {
  31806. "description": "证件号码(加密存储)",
  31807. "type": "string"
  31808. },
  31809. "cardtypeid": {
  31810. "description": "证件类型",
  31811. "type": "integer"
  31812. },
  31813. "cityid": {
  31814. "description": "市",
  31815. "type": "integer"
  31816. },
  31817. "cityname": {
  31818. "description": "城市名称",
  31819. "type": "string"
  31820. },
  31821. "countryid": {
  31822. "description": "国家",
  31823. "type": "integer"
  31824. },
  31825. "countryname": {
  31826. "description": "国家名称",
  31827. "type": "string"
  31828. },
  31829. "districtid": {
  31830. "description": "地区",
  31831. "type": "integer"
  31832. },
  31833. "districtname": {
  31834. "description": "地区名称",
  31835. "type": "string"
  31836. },
  31837. "hasencrypt": {
  31838. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31839. "type": "integer"
  31840. },
  31841. "isdefault": {
  31842. "description": "是否默认地址 - 0:否 1:是",
  31843. "type": "integer"
  31844. },
  31845. "phonenum": {
  31846. "description": "提货人联系方式(加密存储)",
  31847. "type": "string"
  31848. },
  31849. "provinceid": {
  31850. "description": "省",
  31851. "type": "integer"
  31852. },
  31853. "provincename": {
  31854. "description": "省名称",
  31855. "type": "string"
  31856. },
  31857. "receivername": {
  31858. "description": "提货人姓名",
  31859. "type": "string"
  31860. },
  31861. "takeremark": {
  31862. "description": "提货备注",
  31863. "type": "string"
  31864. },
  31865. "userid": {
  31866. "description": "用户ID",
  31867. "type": "integer"
  31868. }
  31869. }
  31870. },
  31871. "models.Useraccount": {
  31872. "type": "object",
  31873. "required": [
  31874. "userid"
  31875. ],
  31876. "properties": {
  31877. "accountname": {
  31878. "description": "账户名称(机构名称)",
  31879. "type": "string"
  31880. },
  31881. "accountstatus": {
  31882. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  31883. "type": "integer"
  31884. },
  31885. "applysrc": {
  31886. "description": "申请来源 - 1:管理端 2:终端",
  31887. "type": "integer"
  31888. },
  31889. "auditremark": {
  31890. "description": "审核备注",
  31891. "type": "string"
  31892. },
  31893. "auditsrc": {
  31894. "description": "审核来源 - 1:管理端 2:终端",
  31895. "type": "integer"
  31896. },
  31897. "audittime": {
  31898. "description": "审核时间",
  31899. "type": "string"
  31900. },
  31901. "audituserid": {
  31902. "description": "审核人",
  31903. "type": "integer"
  31904. },
  31905. "broker": {
  31906. "description": "所属经纪人ID",
  31907. "type": "integer"
  31908. },
  31909. "canceltime": {
  31910. "description": "销户时间",
  31911. "type": "string"
  31912. },
  31913. "canceluserid": {
  31914. "description": "销户人",
  31915. "type": "integer"
  31916. },
  31917. "canrecommend": {
  31918. "description": "是否可推荐 - 0:不可 1;可",
  31919. "type": "integer"
  31920. },
  31921. "createtime": {
  31922. "description": "创建时间",
  31923. "type": "string"
  31924. },
  31925. "creatorid": {
  31926. "description": "创建人",
  31927. "type": "integer"
  31928. },
  31929. "hasauth": {
  31930. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  31931. "type": "integer"
  31932. },
  31933. "isanonymous": {
  31934. "description": "是否匿名下单 - 0:否 1:是",
  31935. "type": "integer"
  31936. },
  31937. "maxinvestornum": {
  31938. "description": "最大用户数(经纪会员下投资者个数)",
  31939. "type": "integer"
  31940. },
  31941. "memberuserid": {
  31942. "description": "所属会员ID",
  31943. "type": "integer"
  31944. },
  31945. "modifierid": {
  31946. "description": "修改人",
  31947. "type": "integer"
  31948. },
  31949. "modifyremark": {
  31950. "description": "变更备注",
  31951. "type": "string"
  31952. },
  31953. "modifystatus": {
  31954. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  31955. "type": "integer"
  31956. },
  31957. "modifytime": {
  31958. "description": "修改时间",
  31959. "type": "string"
  31960. },
  31961. "parenttopuser": {
  31962. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31963. "type": "string"
  31964. },
  31965. "parentuserid": {
  31966. "description": "所属机构ID",
  31967. "type": "integer"
  31968. },
  31969. "reckonaccountid": {
  31970. "description": "默认结算资金账号ID(机构分润使用) 作废",
  31971. "type": "integer"
  31972. },
  31973. "refercount": {
  31974. "description": "推荐总人数",
  31975. "type": "integer"
  31976. },
  31977. "refereeuserid": {
  31978. "description": "推荐人ID",
  31979. "type": "integer"
  31980. },
  31981. "refernum": {
  31982. "description": "推荐码",
  31983. "type": "string"
  31984. },
  31985. "rootuserid": {
  31986. "description": "根用户ID",
  31987. "type": "integer"
  31988. },
  31989. "subaccountlevel": {
  31990. "description": "子账户层数",
  31991. "type": "integer"
  31992. },
  31993. "subarealevelpath": {
  31994. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31995. "type": "string"
  31996. },
  31997. "userid": {
  31998. "description": "用户ID",
  31999. "type": "integer"
  32000. },
  32001. "usertype": {
  32002. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32003. "type": "integer"
  32004. }
  32005. }
  32006. },
  32007. "models.Userfavoritegoods": {
  32008. "type": "object",
  32009. "required": [
  32010. "goodsid"
  32011. ],
  32012. "properties": {
  32013. "goodsid": {
  32014. "description": "商品ID",
  32015. "type": "integer"
  32016. }
  32017. }
  32018. },
  32019. "models.Userinfo": {
  32020. "type": "object",
  32021. "required": [
  32022. "userid"
  32023. ],
  32024. "properties": {
  32025. "address": {
  32026. "description": "地址",
  32027. "type": "string"
  32028. },
  32029. "attachment1": {
  32030. "description": "附件1",
  32031. "type": "string"
  32032. },
  32033. "attachment2": {
  32034. "description": "附件2",
  32035. "type": "string"
  32036. },
  32037. "bankaccount": {
  32038. "description": "银行帐号 (加密存储)",
  32039. "type": "string"
  32040. },
  32041. "bankaccountname": {
  32042. "description": "收款人名称",
  32043. "type": "string"
  32044. },
  32045. "bankcardfrontphotourl": {
  32046. "description": "银行卡正面照地址",
  32047. "type": "string"
  32048. },
  32049. "bankid": {
  32050. "description": "银行编码",
  32051. "type": "string"
  32052. },
  32053. "bankname": {
  32054. "description": "银行名称",
  32055. "type": "string"
  32056. },
  32057. "biznature": {
  32058. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  32059. "type": "integer"
  32060. },
  32061. "bizscope": {
  32062. "description": "企业经营范围(企业)",
  32063. "type": "string"
  32064. },
  32065. "cardbackphotourl": {
  32066. "description": "证件背面图片地址",
  32067. "type": "string"
  32068. },
  32069. "cardfrontphotourl": {
  32070. "description": "证件正面图片地址",
  32071. "type": "string"
  32072. },
  32073. "cardnum": {
  32074. "description": "证件号码(加密存储)",
  32075. "type": "string"
  32076. },
  32077. "cardtypeid": {
  32078. "description": "证件类型ID",
  32079. "type": "integer"
  32080. },
  32081. "cityid": {
  32082. "description": "市",
  32083. "type": "integer"
  32084. },
  32085. "company": {
  32086. "description": "公司(个人)",
  32087. "type": "string"
  32088. },
  32089. "contactname": {
  32090. "description": "联系人",
  32091. "type": "string"
  32092. },
  32093. "countryid": {
  32094. "description": "国家",
  32095. "type": "integer"
  32096. },
  32097. "createtime": {
  32098. "description": "创建时间",
  32099. "type": "string"
  32100. },
  32101. "creatorid": {
  32102. "description": "创建人",
  32103. "type": "integer"
  32104. },
  32105. "customername": {
  32106. "description": "客户名称(企业名称)",
  32107. "type": "string"
  32108. },
  32109. "districtid": {
  32110. "description": "地区",
  32111. "type": "integer"
  32112. },
  32113. "email": {
  32114. "description": "邮件(加密存储)",
  32115. "type": "string"
  32116. },
  32117. "fax": {
  32118. "description": "传真(加密存储)",
  32119. "type": "string"
  32120. },
  32121. "halfbodyphotourl": {
  32122. "description": "半身照地址",
  32123. "type": "string"
  32124. },
  32125. "hasencrypt": {
  32126. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32127. "type": "integer"
  32128. },
  32129. "headurl": {
  32130. "description": "头像地址",
  32131. "type": "string"
  32132. },
  32133. "legalcardbackphotourl": {
  32134. "description": "法人身份证背面照地址",
  32135. "type": "string"
  32136. },
  32137. "legalcardfrontphotourl": {
  32138. "description": "法人身份证正面照地址",
  32139. "type": "string"
  32140. },
  32141. "legalpersonname": {
  32142. "description": "法人姓名(企业)",
  32143. "type": "string"
  32144. },
  32145. "mobile": {
  32146. "description": "手机号码(加密存储)",
  32147. "type": "string"
  32148. },
  32149. "mobile2": {
  32150. "description": "手机号码[明文-尚志]",
  32151. "type": "string"
  32152. },
  32153. "modifierid": {
  32154. "description": "修改人",
  32155. "type": "integer"
  32156. },
  32157. "modifiertime": {
  32158. "description": "修改时间",
  32159. "type": "string"
  32160. },
  32161. "needinvoice": {
  32162. "description": "是否需要发票 - 0:不需要 1:需要",
  32163. "type": "integer"
  32164. },
  32165. "nickname": {
  32166. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32167. "type": "string"
  32168. },
  32169. "openmode": {
  32170. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  32171. "type": "integer"
  32172. },
  32173. "otherurl": {
  32174. "description": "其它图片地址[使用分号分隔]",
  32175. "type": "string"
  32176. },
  32177. "postalcode": {
  32178. "description": "邮政编码",
  32179. "type": "string"
  32180. },
  32181. "provinceid": {
  32182. "description": "省",
  32183. "type": "integer"
  32184. },
  32185. "qq": {
  32186. "description": "QQ(加密存储",
  32187. "type": "string"
  32188. },
  32189. "remark": {
  32190. "description": "备注",
  32191. "type": "string"
  32192. },
  32193. "sex": {
  32194. "description": "用户性别 0: 女 1: 男",
  32195. "type": "integer"
  32196. },
  32197. "signpdfurl": {
  32198. "description": "签约pdf文件",
  32199. "type": "string"
  32200. },
  32201. "telphone": {
  32202. "description": "联系电话(加密存储)",
  32203. "type": "string"
  32204. },
  32205. "userid": {
  32206. "description": "用户ID",
  32207. "type": "integer"
  32208. },
  32209. "userinfotype": {
  32210. "description": "用户信息类型 - 1:个人 2:企业",
  32211. "type": "integer"
  32212. },
  32213. "userstatus": {
  32214. "description": "用户状态 - 1:正常 2:注销",
  32215. "type": "integer"
  32216. },
  32217. "usertype": {
  32218. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  32219. "type": "integer"
  32220. },
  32221. "wechat": {
  32222. "description": "微信(加密存储)",
  32223. "type": "string"
  32224. },
  32225. "wskhinfo": {
  32226. "description": "开户申请信息(JSON)",
  32227. "type": "string"
  32228. }
  32229. }
  32230. },
  32231. "models.WRSConverTDetail": {
  32232. "type": "object",
  32233. "properties": {
  32234. "convertratio": {
  32235. "description": "套保系数",
  32236. "type": "number"
  32237. },
  32238. "deliverygoodscode": {
  32239. "description": "现货商品代码",
  32240. "type": "string"
  32241. },
  32242. "deliverygoodsid": {
  32243. "description": "现货品种ID",
  32244. "type": "integer"
  32245. },
  32246. "deliverygoodsname": {
  32247. "description": "现货商品名称",
  32248. "type": "string"
  32249. },
  32250. "enumdicname": {
  32251. "description": "单位名称",
  32252. "type": "string"
  32253. },
  32254. "goodsunitid": {
  32255. "description": "套保品种单位id",
  32256. "type": "integer"
  32257. },
  32258. "middlegoodscode": {
  32259. "description": "套保品种代码",
  32260. "type": "string"
  32261. },
  32262. "middlegoodsid": {
  32263. "description": "套保品种ID",
  32264. "type": "integer"
  32265. },
  32266. "middlegoodsname": {
  32267. "description": "套保品种名称",
  32268. "type": "string"
  32269. },
  32270. "modifytime": {
  32271. "description": "修改时间",
  32272. "type": "string"
  32273. },
  32274. "wrstandardid": {
  32275. "description": "品类ID",
  32276. "type": "integer"
  32277. }
  32278. }
  32279. },
  32280. "models.WRStandardInfo": {
  32281. "type": "object",
  32282. "required": [
  32283. "wrstandardid"
  32284. ],
  32285. "properties": {
  32286. "areauserid": {
  32287. "description": "所属机构",
  32288. "type": "integer"
  32289. },
  32290. "convertfactor": {
  32291. "description": "标仓系数",
  32292. "type": "number"
  32293. },
  32294. "createtime": {
  32295. "description": "创建时间",
  32296. "type": "string"
  32297. },
  32298. "creatorid": {
  32299. "description": "创建人",
  32300. "type": "integer"
  32301. },
  32302. "deliverygoodsid": {
  32303. "description": "品种ID",
  32304. "type": "integer"
  32305. },
  32306. "deliverygoodsname": {
  32307. "description": "交割商品名称",
  32308. "type": "string"
  32309. },
  32310. "factoryitemjson": {
  32311. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  32312. "type": "string"
  32313. },
  32314. "isvalid": {
  32315. "description": "是否有效 - 0:无效 1:有效",
  32316. "type": "integer"
  32317. },
  32318. "minivalue": {
  32319. "description": "最小变动值",
  32320. "type": "integer"
  32321. },
  32322. "minivaluedp": {
  32323. "description": "最小变动值小数位",
  32324. "type": "integer"
  32325. },
  32326. "realminivalue": {
  32327. "description": "实际最小变动值",
  32328. "type": "integer"
  32329. },
  32330. "realminivaluedp": {
  32331. "description": "实际最小变动值小数位",
  32332. "type": "integer"
  32333. },
  32334. "remark": {
  32335. "description": "备注",
  32336. "type": "string"
  32337. },
  32338. "unitid": {
  32339. "description": "单位ID",
  32340. "type": "integer"
  32341. },
  32342. "unitname": {
  32343. "description": "单位",
  32344. "type": "string"
  32345. },
  32346. "updatetime": {
  32347. "description": "更新时间",
  32348. "type": "string"
  32349. },
  32350. "updatorid": {
  32351. "description": "更新人",
  32352. "type": "integer"
  32353. },
  32354. "wrsstatus": {
  32355. "description": "状态 - 作废 - 0:未激活 1:正常",
  32356. "type": "integer"
  32357. },
  32358. "wrstandardcode": {
  32359. "description": "现货品类代码",
  32360. "type": "string"
  32361. },
  32362. "wrstandardid": {
  32363. "description": "现货品类ID(SEQ_WRSTANDARD)",
  32364. "type": "integer"
  32365. },
  32366. "wrstandardname": {
  32367. "description": "现货品类名称",
  32368. "type": "string"
  32369. }
  32370. }
  32371. },
  32372. "models.WRTradeBargainApply": {
  32373. "type": "object",
  32374. "properties": {
  32375. "accountid": {
  32376. "description": "摘牌资金账号",
  32377. "type": "integer"
  32378. },
  32379. "applyprice": {
  32380. "description": "申请价格(议价价格)",
  32381. "type": "string"
  32382. },
  32383. "applyqty": {
  32384. "description": "摘牌数量(议价数量)",
  32385. "type": "number"
  32386. },
  32387. "applyremark": {
  32388. "description": "申请备注",
  32389. "type": "string"
  32390. },
  32391. "applystatus": {
  32392. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32393. "type": "integer"
  32394. },
  32395. "applytime": {
  32396. "description": "申请时间(议价时间)",
  32397. "type": "string"
  32398. },
  32399. "buyorsell": {
  32400. "description": "买卖(挂牌类型) - 0:买 1:卖",
  32401. "type": "integer"
  32402. },
  32403. "confirmremark": {
  32404. "description": "确认备注",
  32405. "type": "string"
  32406. },
  32407. "confirmtime": {
  32408. "description": "确认时间",
  32409. "type": "string"
  32410. },
  32411. "confirmuserid": {
  32412. "description": "确认人",
  32413. "type": "integer"
  32414. },
  32415. "deliverygoodscode": {
  32416. "description": "品种代码",
  32417. "type": "string"
  32418. },
  32419. "deliverygoodsid": {
  32420. "description": "品种ID",
  32421. "type": "integer"
  32422. },
  32423. "deliverygoodsname": {
  32424. "description": "品种名称",
  32425. "type": "string"
  32426. },
  32427. "deliverymonth": {
  32428. "description": "交收月",
  32429. "type": "string"
  32430. },
  32431. "enumdicname": {
  32432. "description": "单位名称",
  32433. "type": "string"
  32434. },
  32435. "fixedprice": {
  32436. "description": "挂牌价格",
  32437. "type": "number"
  32438. },
  32439. "handlestatus": {
  32440. "description": "处理状态",
  32441. "type": "integer"
  32442. },
  32443. "marginvalue": {
  32444. "description": "履约保证金比例",
  32445. "type": "number"
  32446. },
  32447. "marketid": {
  32448. "description": "市场ID",
  32449. "type": "integer"
  32450. },
  32451. "matchaccountid": {
  32452. "description": "挂牌方资金账号",
  32453. "type": "integer"
  32454. },
  32455. "matchuserid": {
  32456. "description": "挂牌方用户id",
  32457. "type": "integer"
  32458. },
  32459. "matchusername": {
  32460. "description": "挂牌方用户名称(已脱敏)",
  32461. "type": "string"
  32462. },
  32463. "minivalue": {
  32464. "description": "现货商品最小变动值",
  32465. "type": "integer"
  32466. },
  32467. "optioncompare": {
  32468. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32469. "type": "string"
  32470. },
  32471. "orderqty": {
  32472. "description": "挂牌数量",
  32473. "type": "integer"
  32474. },
  32475. "refprice": {
  32476. "description": "参考价格",
  32477. "type": "string"
  32478. },
  32479. "retcode": {
  32480. "description": "委托返回代码",
  32481. "type": "integer"
  32482. },
  32483. "templatename": {
  32484. "description": "履约方式(履约模板名称)",
  32485. "type": "string"
  32486. },
  32487. "tradedate": {
  32488. "description": "交易日(yyyyMMdd)",
  32489. "type": "string"
  32490. },
  32491. "userid": {
  32492. "description": "摘牌人用户ID(议价人ID)",
  32493. "type": "integer"
  32494. },
  32495. "username": {
  32496. "description": "议价人名字(已脱敏)",
  32497. "type": "string"
  32498. },
  32499. "validtime": {
  32500. "description": "有效期限",
  32501. "type": "string"
  32502. },
  32503. "warehouseid": {
  32504. "description": "仓库ID",
  32505. "type": "integer"
  32506. },
  32507. "warehousename": {
  32508. "description": "仓库名称",
  32509. "type": "string"
  32510. },
  32511. "wrbargainid": {
  32512. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  32513. "type": "string"
  32514. },
  32515. "wrfactortypeid": {
  32516. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32517. "type": "string"
  32518. },
  32519. "wrfactortypename": {
  32520. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32521. "type": "string"
  32522. },
  32523. "wrstandardcode": {
  32524. "description": "现货商品代码",
  32525. "type": "string"
  32526. },
  32527. "wrstandardid": {
  32528. "description": "现货商品ID",
  32529. "type": "integer"
  32530. },
  32531. "wrstandardname": {
  32532. "description": "商品名称",
  32533. "type": "string"
  32534. },
  32535. "wrtradeorderid": {
  32536. "description": "关联委托单ID",
  32537. "type": "string"
  32538. },
  32539. "wrtypename": {
  32540. "description": "商品",
  32541. "type": "string"
  32542. }
  32543. }
  32544. },
  32545. "models.Warehouseinfo": {
  32546. "type": "object",
  32547. "required": [
  32548. "autoid",
  32549. "warehousecode"
  32550. ],
  32551. "properties": {
  32552. "address": {
  32553. "description": "详细地址",
  32554. "type": "string"
  32555. },
  32556. "areauserid": {
  32557. "description": "所属机构",
  32558. "type": "integer"
  32559. },
  32560. "autoid": {
  32561. "description": "自增ID",
  32562. "type": "integer"
  32563. },
  32564. "cityid": {
  32565. "description": "市",
  32566. "type": "integer"
  32567. },
  32568. "contactname": {
  32569. "description": "联系人",
  32570. "type": "string"
  32571. },
  32572. "contactnum": {
  32573. "description": "联系电话",
  32574. "type": "string"
  32575. },
  32576. "countryid": {
  32577. "description": "国家",
  32578. "type": "integer"
  32579. },
  32580. "createtime": {
  32581. "description": "创建时间",
  32582. "type": "string"
  32583. },
  32584. "districtid": {
  32585. "description": "区",
  32586. "type": "integer"
  32587. },
  32588. "hasvideo": {
  32589. "description": "是否有视频 - 0:无 1:有",
  32590. "type": "integer"
  32591. },
  32592. "provinceid": {
  32593. "description": "省",
  32594. "type": "integer"
  32595. },
  32596. "remark": {
  32597. "description": "审核备注",
  32598. "type": "string"
  32599. },
  32600. "videourl": {
  32601. "description": "视频地址",
  32602. "type": "string"
  32603. },
  32604. "warehousecode": {
  32605. "description": "仓库代码",
  32606. "type": "string"
  32607. },
  32608. "warehousename": {
  32609. "description": "仓库名称",
  32610. "type": "string"
  32611. },
  32612. "warehousestatus": {
  32613. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  32614. "type": "integer"
  32615. },
  32616. "warehousetype": {
  32617. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  32618. "type": "integer"
  32619. }
  32620. }
  32621. },
  32622. "models.WrAverageTradePrice": {
  32623. "type": "object",
  32624. "properties": {
  32625. "averageprice": {
  32626. "description": "成交均价",
  32627. "type": "number"
  32628. },
  32629. "tradedate": {
  32630. "description": "交易日yyyymm",
  32631. "type": "string"
  32632. }
  32633. }
  32634. },
  32635. "models.WrBsGoodsInfo": {
  32636. "type": "object",
  32637. "properties": {
  32638. "buyorsell": {
  32639. "description": "买卖方向 0-买 1-卖",
  32640. "type": "integer"
  32641. },
  32642. "goodsid": {
  32643. "description": "交易合约ID",
  32644. "type": "integer"
  32645. },
  32646. "lstitem": {
  32647. "description": "商品信息项",
  32648. "type": "array",
  32649. "items": {
  32650. "$ref": "#/definitions/models.WrTypeItem"
  32651. }
  32652. },
  32653. "lststep": {
  32654. "description": "履约规则",
  32655. "type": "array",
  32656. "items": {
  32657. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32658. }
  32659. }
  32660. }
  32661. },
  32662. "models.WrBuybackDetail": {
  32663. "type": "object",
  32664. "properties": {
  32665. "buybackamount": {
  32666. "description": "回购金额",
  32667. "type": "number"
  32668. },
  32669. "buybackqty": {
  32670. "description": "回购数量",
  32671. "type": "number"
  32672. },
  32673. "buybackreleasemargin": {
  32674. "description": "回购释放保证金",
  32675. "type": "number"
  32676. },
  32677. "buybacktime": {
  32678. "description": "回购时间",
  32679. "type": "string"
  32680. },
  32681. "errordesc": {
  32682. "description": "错误描述",
  32683. "type": "string"
  32684. },
  32685. "handlestatus": {
  32686. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  32687. "type": "integer"
  32688. },
  32689. "relatedwrid": {
  32690. "description": "关联仓单ID",
  32691. "type": "integer"
  32692. },
  32693. "scfcontractid": {
  32694. "description": "SCF合同ID",
  32695. "type": "string"
  32696. },
  32697. "scfwrbuybackid": {
  32698. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  32699. "type": "integer"
  32700. },
  32701. "tradedate": {
  32702. "description": "交易日(yyyyMMdd)",
  32703. "type": "string"
  32704. }
  32705. }
  32706. },
  32707. "models.WrDeliveryAvalidHoldLB": {
  32708. "type": "object",
  32709. "properties": {
  32710. "accountid": {
  32711. "description": "资金账号",
  32712. "type": "integer"
  32713. },
  32714. "avalidqty": {
  32715. "description": "数量(可点选数量)",
  32716. "type": "number"
  32717. },
  32718. "deliverygoodsid": {
  32719. "description": "品种id",
  32720. "type": "integer"
  32721. },
  32722. "enumdicname": {
  32723. "description": "单位名称",
  32724. "type": "string"
  32725. },
  32726. "goodsid": {
  32727. "description": "x合约商品id",
  32728. "type": "integer"
  32729. },
  32730. "ladingbillid": {
  32731. "description": "提单id",
  32732. "type": "string"
  32733. },
  32734. "pgoodscode": {
  32735. "description": "p商品代码(点价合约)",
  32736. "type": "string"
  32737. },
  32738. "pgoodsid": {
  32739. "description": "p商品id(点价合约)",
  32740. "type": "integer"
  32741. },
  32742. "pgoodsname": {
  32743. "description": "p商品名称(点价合约)",
  32744. "type": "string"
  32745. },
  32746. "pricemove": {
  32747. "description": "升贴水",
  32748. "type": "number"
  32749. },
  32750. "subnum": {
  32751. "description": "提单子id",
  32752. "type": "integer"
  32753. },
  32754. "userid": {
  32755. "description": "用户id",
  32756. "type": "integer"
  32757. },
  32758. "username": {
  32759. "description": "仓单持有人",
  32760. "type": "string"
  32761. },
  32762. "warehousecode": {
  32763. "description": "仓库代码",
  32764. "type": "string"
  32765. },
  32766. "warehouseid": {
  32767. "description": "仓库id",
  32768. "type": "integer"
  32769. },
  32770. "warehousename": {
  32771. "description": "仓库名称",
  32772. "type": "string"
  32773. },
  32774. "wrfactortypeid": {
  32775. "description": "仓单要素id",
  32776. "type": "string"
  32777. },
  32778. "wrstandardcode": {
  32779. "description": "品代码",
  32780. "type": "string"
  32781. },
  32782. "wrstandardid": {
  32783. "description": "品类d",
  32784. "type": "integer"
  32785. },
  32786. "wrstandardname": {
  32787. "description": "品类名称",
  32788. "type": "string"
  32789. },
  32790. "wrtypename": {
  32791. "description": "商品",
  32792. "type": "string"
  32793. },
  32794. "xgoodscode": {
  32795. "description": "x合约代码",
  32796. "type": "string"
  32797. },
  32798. "xgoodsname": {
  32799. "description": "x合约名称",
  32800. "type": "string"
  32801. }
  32802. }
  32803. },
  32804. "models.WrDeliveryDetail": {
  32805. "type": "object",
  32806. "properties": {
  32807. "accountid": {
  32808. "description": "账号ID",
  32809. "type": "integer"
  32810. },
  32811. "averageprice": {
  32812. "description": "交割均价 = 交割金额 / 交割数量",
  32813. "type": "number"
  32814. },
  32815. "buyorsell": {
  32816. "description": "方向 - 0:买 1:卖",
  32817. "type": "integer"
  32818. },
  32819. "deliveryamount": {
  32820. "description": "货款金额(X总货款+P总货款)",
  32821. "type": "number"
  32822. },
  32823. "deliveryid": {
  32824. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  32825. "type": "string"
  32826. },
  32827. "deliveryorderid": {
  32828. "description": "申报单号",
  32829. "type": "string"
  32830. },
  32831. "deliverypricemove": {
  32832. "description": "升贴水(升贴水总额)",
  32833. "type": "number"
  32834. },
  32835. "deliveryqty": {
  32836. "description": "交收数量(点选数量)",
  32837. "type": "number"
  32838. },
  32839. "deliverystatus": {
  32840. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  32841. "type": "integer"
  32842. },
  32843. "deliverytime": {
  32844. "description": "交割时间",
  32845. "type": "string"
  32846. },
  32847. "deliverytotalamount": {
  32848. "description": "交收金额",
  32849. "type": "number"
  32850. },
  32851. "enumdicname": {
  32852. "description": "单位名称",
  32853. "type": "string"
  32854. },
  32855. "matchaccountid": {
  32856. "description": "对手账号ID",
  32857. "type": "integer"
  32858. },
  32859. "matchusername": {
  32860. "description": "对手方名称(仓单持有人)",
  32861. "type": "string"
  32862. },
  32863. "p1goodsremainamount": {
  32864. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  32865. "type": "number"
  32866. },
  32867. "pdeliverycloseqty": {
  32868. "description": "p合约平仓数量",
  32869. "type": "number"
  32870. },
  32871. "pdeliveryprice": {
  32872. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  32873. "type": "number"
  32874. },
  32875. "pgoodscode": {
  32876. "description": "商品代码",
  32877. "type": "string"
  32878. },
  32879. "pgoodsid": {
  32880. "description": "p点选合约id",
  32881. "type": "integer"
  32882. },
  32883. "pgoodsname": {
  32884. "description": "商品名称",
  32885. "type": "string"
  32886. },
  32887. "ppricemode": {
  32888. "description": "点价价格方式 - 1:商品价 2:固定值",
  32889. "type": "integer"
  32890. },
  32891. "tradedate": {
  32892. "description": "交易日(yyyymmdd)",
  32893. "type": "string"
  32894. },
  32895. "userid": {
  32896. "description": "用户id",
  32897. "type": "integer"
  32898. },
  32899. "username": {
  32900. "description": "用户名称",
  32901. "type": "string"
  32902. },
  32903. "warehousename": {
  32904. "description": "仓库名称",
  32905. "type": "string"
  32906. },
  32907. "wrfactortypeid": {
  32908. "description": "仓单要素类型ID",
  32909. "type": "string"
  32910. },
  32911. "wrtypename": {
  32912. "description": "商品",
  32913. "type": "string"
  32914. },
  32915. "xdeliverycloseqty": {
  32916. "description": "合约数量",
  32917. "type": "number"
  32918. },
  32919. "xgoodsamount": {
  32920. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  32921. "type": "number"
  32922. },
  32923. "xgoodscode": {
  32924. "description": "商品代码",
  32925. "type": "string"
  32926. },
  32927. "xgoodsid": {
  32928. "description": "x交易合约ID",
  32929. "type": "integer"
  32930. },
  32931. "xgoodsname": {
  32932. "description": "商品名称",
  32933. "type": "string"
  32934. }
  32935. }
  32936. },
  32937. "models.WrFAProductDetail": {
  32938. "type": "object",
  32939. "properties": {
  32940. "accountid": {
  32941. "description": "资金账号",
  32942. "type": "integer"
  32943. },
  32944. "areauserid": {
  32945. "description": "金融机构ID",
  32946. "type": "integer"
  32947. },
  32948. "financingdays": {
  32949. "description": "天数(天)",
  32950. "type": "integer"
  32951. },
  32952. "interestminlen": {
  32953. "description": "最小起息天数",
  32954. "type": "integer"
  32955. },
  32956. "interestrate": {
  32957. "description": "利率",
  32958. "type": "number"
  32959. },
  32960. "interestratemode": {
  32961. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32962. "type": "integer"
  32963. },
  32964. "interestsettlemode": {
  32965. "description": "结息方式 - 1:按日结息 3:按月结息",
  32966. "type": "integer"
  32967. },
  32968. "interestsettlevalue": {
  32969. "description": "结息方式值",
  32970. "type": "integer"
  32971. },
  32972. "isautoloan": {
  32973. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32974. "type": "integer"
  32975. },
  32976. "loantag": {
  32977. "description": "放款标识: \"放款快\" 或者为空",
  32978. "type": "string"
  32979. },
  32980. "marginratio": {
  32981. "description": "保证金比率质押率 - [仓单质押]",
  32982. "type": "number"
  32983. },
  32984. "productdetailid": {
  32985. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32986. "type": "integer"
  32987. },
  32988. "productid": {
  32989. "description": "金融产品ID",
  32990. "type": "integer"
  32991. },
  32992. "productname": {
  32993. "description": "产品名称",
  32994. "type": "string"
  32995. },
  32996. "updatetime": {
  32997. "description": "更新时间",
  32998. "type": "string"
  32999. },
  33000. "username": {
  33001. "description": "融出方",
  33002. "type": "string"
  33003. }
  33004. }
  33005. },
  33006. "models.WrFactorTypeInfo": {
  33007. "type": "object",
  33008. "properties": {
  33009. "deliverygoodscode": {
  33010. "description": "品种代码",
  33011. "type": "string"
  33012. },
  33013. "deliverygoodsname": {
  33014. "description": "品种名称",
  33015. "type": "string"
  33016. },
  33017. "dgfactoryitemid": {
  33018. "description": "选择项id",
  33019. "type": "integer"
  33020. },
  33021. "dgfactoryitemtypeid": {
  33022. "description": "要素选择项ID (1-仓库 2-品牌)",
  33023. "type": "integer"
  33024. },
  33025. "dgfactoryitemvalue": {
  33026. "description": "要素项值",
  33027. "type": "string"
  33028. },
  33029. "itemtypename": {
  33030. "description": "要素项名称",
  33031. "type": "string"
  33032. },
  33033. "optioncompare": {
  33034. "description": "选择比较串",
  33035. "type": "string"
  33036. },
  33037. "warehouseid": {
  33038. "description": "仓库id",
  33039. "type": "integer"
  33040. },
  33041. "wrfactortypeid": {
  33042. "description": "仓单要素ID",
  33043. "type": "string"
  33044. },
  33045. "wrfactortypename": {
  33046. "description": "要素名称",
  33047. "type": "string"
  33048. },
  33049. "wrfactortypename2": {
  33050. "description": "要素名称(不含仓库)",
  33051. "type": "string"
  33052. },
  33053. "wrstandardcode": {
  33054. "description": "品类代码",
  33055. "type": "string"
  33056. },
  33057. "wrstandardid": {
  33058. "description": "品类id",
  33059. "type": "integer"
  33060. },
  33061. "wrstandardname": {
  33062. "description": "品类名称",
  33063. "type": "string"
  33064. }
  33065. }
  33066. },
  33067. "models.WrFilterItem": {
  33068. "type": "object",
  33069. "properties": {
  33070. "itemcode": {
  33071. "description": "代码",
  33072. "type": "string"
  33073. },
  33074. "itemid": {
  33075. "description": "项id",
  33076. "type": "integer"
  33077. },
  33078. "itemname": {
  33079. "description": "名称",
  33080. "type": "string"
  33081. },
  33082. "itemtype": {
  33083. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  33084. "type": "integer"
  33085. }
  33086. }
  33087. },
  33088. "models.WrFinanceBuyApply": {
  33089. "type": "object",
  33090. "properties": {
  33091. "applydate": {
  33092. "description": "申请时间",
  33093. "type": "string"
  33094. },
  33095. "applystatus": {
  33096. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  33097. "type": "integer"
  33098. },
  33099. "applyuserid": {
  33100. "description": "申请人",
  33101. "type": "integer"
  33102. },
  33103. "auditdate": {
  33104. "description": "审核时间",
  33105. "type": "string"
  33106. },
  33107. "auditremark": {
  33108. "description": "审核备注",
  33109. "type": "string"
  33110. },
  33111. "audituserid": {
  33112. "description": "审核人",
  33113. "type": "integer"
  33114. },
  33115. "buyaccountid": {
  33116. "description": "买方资金账号",
  33117. "type": "integer"
  33118. },
  33119. "buyorsell": {
  33120. "description": "买卖 - 0:买 1:卖",
  33121. "type": "integer"
  33122. },
  33123. "buyuserid": {
  33124. "description": "买方用户ID",
  33125. "type": "integer"
  33126. },
  33127. "buyusername": {
  33128. "description": "买方名称",
  33129. "type": "string"
  33130. },
  33131. "buywrtradeorderid": {
  33132. "description": "融资方买委托单ID",
  33133. "type": "string"
  33134. },
  33135. "deliverygoodscode": {
  33136. "description": "品种代码",
  33137. "type": "string"
  33138. },
  33139. "deliverygoodsid": {
  33140. "description": "品种ID",
  33141. "type": "integer"
  33142. },
  33143. "deliverygoodsname": {
  33144. "description": "品种名称",
  33145. "type": "string"
  33146. },
  33147. "deliverymonth": {
  33148. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  33149. "type": "string"
  33150. },
  33151. "enumdicname": {
  33152. "description": "单位名称",
  33153. "type": "string"
  33154. },
  33155. "financeaccountid": {
  33156. "description": "融资方资金帐户ID",
  33157. "type": "integer"
  33158. },
  33159. "financeapplyid": {
  33160. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33161. "type": "string"
  33162. },
  33163. "financeareauserid": {
  33164. "description": "融资方用户ID",
  33165. "type": "string"
  33166. },
  33167. "financename": {
  33168. "description": "融出方名称",
  33169. "type": "string"
  33170. },
  33171. "financetype": {
  33172. "description": "融资类型 1-融资回购",
  33173. "type": "integer"
  33174. },
  33175. "financingdays": {
  33176. "description": "天数(天)",
  33177. "type": "integer"
  33178. },
  33179. "freezebuymargin": {
  33180. "description": "冻结融资保证金(买方)",
  33181. "type": "number"
  33182. },
  33183. "handleremark": {
  33184. "description": "处理备注",
  33185. "type": "string"
  33186. },
  33187. "handlestatus": {
  33188. "description": "处理状态",
  33189. "type": "integer"
  33190. },
  33191. "interestminlen": {
  33192. "description": "最小起息天数",
  33193. "type": "integer"
  33194. },
  33195. "interestrate": {
  33196. "description": "利率",
  33197. "type": "number"
  33198. },
  33199. "interestratemode": {
  33200. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33201. "type": "integer"
  33202. },
  33203. "interestsettlemode": {
  33204. "description": "结息方式 - 1:按日结息 3:按月结息",
  33205. "type": "integer"
  33206. },
  33207. "interestsettlevalue": {
  33208. "description": "结息方式值",
  33209. "type": "integer"
  33210. },
  33211. "isautoloan": {
  33212. "description": "是否自动放款 - 0:手动 1:自动",
  33213. "type": "integer"
  33214. },
  33215. "marginratio": {
  33216. "description": "保证金比率质押率 - [仓单质押]",
  33217. "type": "number"
  33218. },
  33219. "marketid": {
  33220. "description": "市场ID",
  33221. "type": "integer"
  33222. },
  33223. "minivalue": {
  33224. "description": "现货商品最小变动值",
  33225. "type": "integer"
  33226. },
  33227. "optioncompare": {
  33228. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33229. "type": "string"
  33230. },
  33231. "orderqty": {
  33232. "description": "委托数量(商品数量)",
  33233. "type": "number"
  33234. },
  33235. "productdetailid": {
  33236. "description": "产品组合ID",
  33237. "type": "integer"
  33238. },
  33239. "productid": {
  33240. "description": "金融产品ID",
  33241. "type": "integer"
  33242. },
  33243. "productname": {
  33244. "description": "产品名称",
  33245. "type": "string"
  33246. },
  33247. "remark": {
  33248. "description": "备注",
  33249. "type": "string"
  33250. },
  33251. "scfcontractid": {
  33252. "description": "仓单回购合同ID",
  33253. "type": "string"
  33254. },
  33255. "sellaccountid": {
  33256. "description": "卖方资金账号",
  33257. "type": "integer"
  33258. },
  33259. "selluserid": {
  33260. "description": "卖方用户ID",
  33261. "type": "integer"
  33262. },
  33263. "sellwrtradeorderid": {
  33264. "description": "卖方委托单ID",
  33265. "type": "string"
  33266. },
  33267. "tradeamount": {
  33268. "description": "成交金额(借款金额)",
  33269. "type": "number"
  33270. },
  33271. "tradedate": {
  33272. "description": "交易日(yyyyMMdd)",
  33273. "type": "string"
  33274. },
  33275. "tradeprice": {
  33276. "description": "成交价格",
  33277. "type": "number"
  33278. },
  33279. "warehouseid": {
  33280. "description": "仓库ID",
  33281. "type": "integer"
  33282. },
  33283. "warehousename": {
  33284. "description": "仓库名称",
  33285. "type": "string"
  33286. },
  33287. "wrfactortypeid": {
  33288. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33289. "type": "string"
  33290. },
  33291. "wrfactortypename": {
  33292. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33293. "type": "string"
  33294. },
  33295. "wrpricetype": {
  33296. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  33297. "type": "integer"
  33298. },
  33299. "wrstandardcode": {
  33300. "description": "现货商品代码",
  33301. "type": "string"
  33302. },
  33303. "wrstandardid": {
  33304. "description": "现货商品ID",
  33305. "type": "integer"
  33306. },
  33307. "wrstandardname": {
  33308. "description": "商品名称",
  33309. "type": "string"
  33310. },
  33311. "wrtypename": {
  33312. "description": "商品",
  33313. "type": "string"
  33314. }
  33315. }
  33316. },
  33317. "models.WrFriendApply": {
  33318. "type": "object",
  33319. "properties": {
  33320. "applicantid": {
  33321. "description": "申请人",
  33322. "type": "integer"
  33323. },
  33324. "applyname": {
  33325. "description": "申请人名称",
  33326. "type": "string"
  33327. },
  33328. "applysrc": {
  33329. "description": "申请来源 - 1:管理端 2:终端",
  33330. "type": "integer"
  33331. },
  33332. "applystatus": {
  33333. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33334. "type": "integer"
  33335. },
  33336. "applytime": {
  33337. "description": "申请时间",
  33338. "type": "string"
  33339. },
  33340. "auditname": {
  33341. "description": "审核人名称",
  33342. "type": "string"
  33343. },
  33344. "auditorid": {
  33345. "description": "审核人",
  33346. "type": "integer"
  33347. },
  33348. "auditremark": {
  33349. "description": "审核备注",
  33350. "type": "string"
  33351. },
  33352. "auditsrc": {
  33353. "description": "审核来源 - 1:管理端 2:终端",
  33354. "type": "integer"
  33355. },
  33356. "audittime": {
  33357. "description": "审核时间",
  33358. "type": "string"
  33359. },
  33360. "friendapplyid": {
  33361. "description": "申请ID(SEQ_FRIENDAPPLY)",
  33362. "type": "string"
  33363. },
  33364. "friendname": {
  33365. "description": "好友名字(已脱敏)",
  33366. "type": "string"
  33367. },
  33368. "frienduserid": {
  33369. "description": "好友用户ID",
  33370. "type": "string"
  33371. },
  33372. "remark": {
  33373. "description": "备注",
  33374. "type": "string"
  33375. },
  33376. "userid": {
  33377. "description": "申请人用户ID",
  33378. "type": "integer"
  33379. }
  33380. }
  33381. },
  33382. "models.WrFtDeliveryGoods": {
  33383. "type": "object",
  33384. "properties": {
  33385. "deliverygoodscode": {
  33386. "description": "品种代码",
  33387. "type": "string"
  33388. },
  33389. "deliverygoodsid": {
  33390. "description": "品种ID",
  33391. "type": "integer"
  33392. },
  33393. "deliverygoodsname": {
  33394. "description": "品种名称",
  33395. "type": "string"
  33396. },
  33397. "wdlst": {
  33398. "description": "商品列表",
  33399. "type": "array",
  33400. "items": {
  33401. "$ref": "#/definitions/models.WrFtWrstandard"
  33402. }
  33403. }
  33404. }
  33405. },
  33406. "models.WrFtWrstandard": {
  33407. "type": "object",
  33408. "properties": {
  33409. "enumdicname": {
  33410. "description": "单位名称",
  33411. "type": "string"
  33412. },
  33413. "minivalue": {
  33414. "description": "最小变动值",
  33415. "type": "integer"
  33416. },
  33417. "wrstandardcode": {
  33418. "description": "现货商品代码",
  33419. "type": "string"
  33420. },
  33421. "wrstandardid": {
  33422. "description": "现货商品ID",
  33423. "type": "integer"
  33424. },
  33425. "wrstandardname": {
  33426. "description": "商品名称",
  33427. "type": "string"
  33428. }
  33429. }
  33430. },
  33431. "models.WrGoodsInfo": {
  33432. "type": "object",
  33433. "properties": {
  33434. "haswr": {
  33435. "description": "0:仓单预售 1:仓单贸易",
  33436. "type": "integer"
  33437. },
  33438. "lstitem": {
  33439. "description": "商品信息项",
  33440. "type": "array",
  33441. "items": {
  33442. "$ref": "#/definitions/models.WrTypeItem"
  33443. }
  33444. },
  33445. "lststep": {
  33446. "description": "履约规则",
  33447. "type": "array",
  33448. "items": {
  33449. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33450. }
  33451. },
  33452. "marketid": {
  33453. "description": "市场id",
  33454. "type": "integer"
  33455. }
  33456. }
  33457. },
  33458. "models.WrGoodsPerformanceStep": {
  33459. "type": "object",
  33460. "properties": {
  33461. "autoid": {
  33462. "description": "AutoID",
  33463. "type": "integer"
  33464. },
  33465. "isauto": {
  33466. "description": "是否自动 - 0:不自动 1:自动",
  33467. "type": "integer"
  33468. },
  33469. "remark": {
  33470. "description": "备注",
  33471. "type": "string"
  33472. },
  33473. "stepdate": {
  33474. "description": "天数信息(T+N)",
  33475. "type": "string"
  33476. },
  33477. "stepdays": {
  33478. "description": "距离上一步天数",
  33479. "type": "integer"
  33480. },
  33481. "stepindex": {
  33482. "description": "步骤序号",
  33483. "type": "integer"
  33484. },
  33485. "stepinfo": {
  33486. "description": "步骤信息(步骤名称+步骤值)",
  33487. "type": "string"
  33488. },
  33489. "steptypeid": {
  33490. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33491. "type": "integer"
  33492. },
  33493. "steptypename": {
  33494. "description": "步骤名称",
  33495. "type": "string"
  33496. },
  33497. "stepvalue": {
  33498. "description": "步骤值",
  33499. "type": "number"
  33500. },
  33501. "templateid": {
  33502. "description": "履约计划模板ID",
  33503. "type": "integer"
  33504. }
  33505. }
  33506. },
  33507. "models.WrHoldLB": {
  33508. "type": "object",
  33509. "properties": {
  33510. "accountid": {
  33511. "description": "持有人帐户ID",
  33512. "type": "integer"
  33513. },
  33514. "createtime": {
  33515. "description": "创建时间(过户时间)",
  33516. "type": "string"
  33517. },
  33518. "deliverygoodscode": {
  33519. "description": "品种代码",
  33520. "type": "string"
  33521. },
  33522. "deliverygoodsid": {
  33523. "description": "品种ID",
  33524. "type": "integer"
  33525. },
  33526. "deliverygoodsname": {
  33527. "description": "品种名称",
  33528. "type": "string"
  33529. },
  33530. "enableqty": {
  33531. "description": "可用数量",
  33532. "type": "number"
  33533. },
  33534. "enumdicname": {
  33535. "description": "单位名称",
  33536. "type": "string"
  33537. },
  33538. "freezerqty": {
  33539. "description": "冻结数量",
  33540. "type": "number"
  33541. },
  33542. "ladingbillid": {
  33543. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33544. "type": "string"
  33545. },
  33546. "minivalue": {
  33547. "description": "现货商品最小变动值",
  33548. "type": "integer"
  33549. },
  33550. "optioncompare": {
  33551. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33552. "type": "string"
  33553. },
  33554. "parentsubnum": {
  33555. "description": "拆分父子单号",
  33556. "type": "integer"
  33557. },
  33558. "pledgeqty": {
  33559. "description": "质押数量",
  33560. "type": "number"
  33561. },
  33562. "qty": {
  33563. "description": "数量",
  33564. "type": "number"
  33565. },
  33566. "subnum": {
  33567. "description": "提单子单号",
  33568. "type": "integer"
  33569. },
  33570. "tradedate": {
  33571. "description": "交易日(yyyyMMdd)",
  33572. "type": "string"
  33573. },
  33574. "userid": {
  33575. "description": "持有人ID",
  33576. "type": "integer"
  33577. },
  33578. "warehouseid": {
  33579. "description": "仓库ID",
  33580. "type": "integer"
  33581. },
  33582. "warehousename": {
  33583. "description": "仓库名称",
  33584. "type": "string"
  33585. },
  33586. "wrfactortypeid": {
  33587. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33588. "type": "string"
  33589. },
  33590. "wrfactortypename": {
  33591. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33592. "type": "string"
  33593. },
  33594. "wrholdeno": {
  33595. "description": "仓单编号",
  33596. "type": "string"
  33597. },
  33598. "wrid": {
  33599. "description": "仓单变更ID",
  33600. "type": "string"
  33601. },
  33602. "wrstandardcode": {
  33603. "description": "现货商品代码",
  33604. "type": "string"
  33605. },
  33606. "wrstandardid": {
  33607. "description": "现货商品ID",
  33608. "type": "integer"
  33609. },
  33610. "wrstandardname": {
  33611. "description": "商品名称",
  33612. "type": "string"
  33613. },
  33614. "wrtypename": {
  33615. "description": "商品",
  33616. "type": "string"
  33617. }
  33618. }
  33619. },
  33620. "models.WrMarketTradeConfig": {
  33621. "type": "object",
  33622. "properties": {
  33623. "basisdownratio": {
  33624. "description": "浮动价基差下限比例(仓单贸易)",
  33625. "type": "number"
  33626. },
  33627. "basisupratio": {
  33628. "description": "浮动价基差上限比例(仓单贸易)",
  33629. "type": "number"
  33630. },
  33631. "buychargealgorithm": {
  33632. "description": "买方手续费收取方式 1:比率 2:固定",
  33633. "type": "integer"
  33634. },
  33635. "buychargealgorithm2": {
  33636. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  33637. "type": "integer"
  33638. },
  33639. "buychargealgorithmvalue": {
  33640. "description": "买方手续费设置值(交易所部分)",
  33641. "type": "number"
  33642. },
  33643. "buychargealgorithmvalue2": {
  33644. "description": "买方手续费设置值(会员部分)",
  33645. "type": "number"
  33646. },
  33647. "buychargealgorithmvalue3": {
  33648. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  33649. "type": "number"
  33650. },
  33651. "buychargealgorithmvalue4": {
  33652. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  33653. "type": "number"
  33654. },
  33655. "buyfirstmarginalgorithm": {
  33656. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  33657. "type": "integer"
  33658. },
  33659. "buyfirstmarginvalue": {
  33660. "description": "买方出价保证金设置值 - [竞拍]",
  33661. "type": "number"
  33662. },
  33663. "buymarginalgorithm": {
  33664. "description": "买方保证金方式 - 1:比率 2:固定",
  33665. "type": "integer"
  33666. },
  33667. "buymarginvalue": {
  33668. "description": "买方保证金设置值",
  33669. "type": "number"
  33670. },
  33671. "buyreleaseratio": {
  33672. "description": "买方释放比率[2:分步履约]",
  33673. "type": "number"
  33674. },
  33675. "executemode": {
  33676. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  33677. "type": "integer"
  33678. },
  33679. "executeside": {
  33680. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  33681. "type": "integer"
  33682. },
  33683. "failedchargealgorithm": {
  33684. "description": "流拍手续费收取方式 1:比率 2:固定",
  33685. "type": "integer"
  33686. },
  33687. "failedchargevalue": {
  33688. "description": "流拍手续费设置值",
  33689. "type": "number"
  33690. },
  33691. "failedchargevalue2": {
  33692. "description": "流拍卖方手续费设置值",
  33693. "type": "number"
  33694. },
  33695. "holddays": {
  33696. "description": "合同期限[2:分步履约]",
  33697. "type": "integer"
  33698. },
  33699. "marketid": {
  33700. "description": "市场ID-仓单贸易、竞拍、预售",
  33701. "type": "integer"
  33702. },
  33703. "minqty": {
  33704. "description": "最小执行量[2:分步履约]",
  33705. "type": "number"
  33706. },
  33707. "modifierid": {
  33708. "description": "修改人",
  33709. "type": "integer"
  33710. },
  33711. "performancetempid": {
  33712. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  33713. "type": "integer"
  33714. },
  33715. "performancetempid2": {
  33716. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  33717. "type": "integer"
  33718. },
  33719. "performanceway": {
  33720. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  33721. "type": "integer"
  33722. },
  33723. "sellchargealgorithm": {
  33724. "description": "卖方手续费收取方式 1:比率 2:固定",
  33725. "type": "integer"
  33726. },
  33727. "sellchargealgorithm2": {
  33728. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  33729. "type": "integer"
  33730. },
  33731. "sellchargealgorithmvalue": {
  33732. "description": "卖方手续费设置值(交易所部分)",
  33733. "type": "number"
  33734. },
  33735. "sellchargealgorithmvalue2": {
  33736. "description": "卖方手续费设置值(会员部分)",
  33737. "type": "number"
  33738. },
  33739. "sellchargealgorithmvalue3": {
  33740. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  33741. "type": "number"
  33742. },
  33743. "sellchargealgorithmvalue4": {
  33744. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  33745. "type": "number"
  33746. },
  33747. "sellmarginalgorithm": {
  33748. "description": "卖方保证金方式 - 1:比率 2:固定",
  33749. "type": "integer"
  33750. },
  33751. "sellmarginvalue": {
  33752. "description": "卖方保证金设置值",
  33753. "type": "number"
  33754. },
  33755. "sellmarginvalue2": {
  33756. "description": "卖方保证金设置值(无仓单)",
  33757. "type": "number"
  33758. },
  33759. "sellreleaseratio": {
  33760. "description": "卖方释放比率[2:分步履约]",
  33761. "type": "number"
  33762. },
  33763. "updatetime": {
  33764. "description": "更新时间",
  33765. "type": "string"
  33766. }
  33767. }
  33768. },
  33769. "models.WrOrderDetail": {
  33770. "type": "object",
  33771. "properties": {
  33772. "accountid": {
  33773. "description": "交易账号(资金账号)",
  33774. "type": "integer"
  33775. },
  33776. "allfriendsflag": {
  33777. "description": "是否全好友可见 - 0:否 1:是",
  33778. "type": "integer"
  33779. },
  33780. "amount": {
  33781. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  33782. "type": "number"
  33783. },
  33784. "buyorsell": {
  33785. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33786. "type": "integer"
  33787. },
  33788. "canbargain": {
  33789. "description": "是否可议价 - 0:不可 1:可",
  33790. "type": "integer"
  33791. },
  33792. "cancelqty": {
  33793. "description": "撤销数量",
  33794. "type": "number"
  33795. },
  33796. "canpart": {
  33797. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  33798. "type": "integer"
  33799. },
  33800. "delistminqty": {
  33801. "description": "起摘数量",
  33802. "type": "integer"
  33803. },
  33804. "deliverygoodscode": {
  33805. "description": "品种代码",
  33806. "type": "string"
  33807. },
  33808. "deliverygoodsid": {
  33809. "description": "品种ID",
  33810. "type": "integer"
  33811. },
  33812. "deliverygoodsname": {
  33813. "description": "品种名称",
  33814. "type": "string"
  33815. },
  33816. "deliverymonth": {
  33817. "description": "交收月",
  33818. "type": "string"
  33819. },
  33820. "enumdicname": {
  33821. "description": "单位名称",
  33822. "type": "string"
  33823. },
  33824. "fixedprice": {
  33825. "description": "固定价格 - [挂牌]",
  33826. "type": "number"
  33827. },
  33828. "freezemargin": {
  33829. "description": "冻结保证金(保证金)",
  33830. "type": "number"
  33831. },
  33832. "futupricemove": {
  33833. "description": "期货升贴水",
  33834. "type": "number"
  33835. },
  33836. "futushow": {
  33837. "description": "期货合约/升贴水",
  33838. "type": "string"
  33839. },
  33840. "goodscode": {
  33841. "description": "期货合约",
  33842. "type": "string"
  33843. },
  33844. "goodsid": {
  33845. "description": "期货商品id",
  33846. "type": "integer"
  33847. },
  33848. "goodsname": {
  33849. "description": "商品名称",
  33850. "type": "string"
  33851. },
  33852. "haswr": {
  33853. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33854. "type": "integer"
  33855. },
  33856. "isspecified": {
  33857. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  33858. "type": "integer"
  33859. },
  33860. "ladingbillid": {
  33861. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33862. "type": "string"
  33863. },
  33864. "marginvalue": {
  33865. "description": "保证金设置值(履约保证金)",
  33866. "type": "number"
  33867. },
  33868. "marketid": {
  33869. "description": "市场ID",
  33870. "type": "integer"
  33871. },
  33872. "matchusername": {
  33873. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  33874. "type": "string"
  33875. },
  33876. "minivalue": {
  33877. "description": "现货商品最小变动值",
  33878. "type": "integer"
  33879. },
  33880. "optioncompare": {
  33881. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33882. "type": "string"
  33883. },
  33884. "orderqty": {
  33885. "description": "委托数量",
  33886. "type": "number"
  33887. },
  33888. "ordertime": {
  33889. "description": "委托时间(挂牌时间)",
  33890. "type": "string"
  33891. },
  33892. "performancetemplateid": {
  33893. "description": "履约模板id",
  33894. "type": "integer"
  33895. },
  33896. "pricemove": {
  33897. "description": "升贴水(浮动价时填写) - [挂牌]",
  33898. "type": "number"
  33899. },
  33900. "taname": {
  33901. "description": "交易用户名称(资金账号名称)",
  33902. "type": "string"
  33903. },
  33904. "tradedate": {
  33905. "description": "交易日(yyyyMMdd)",
  33906. "type": "string"
  33907. },
  33908. "tradeprice": {
  33909. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33910. "type": "number"
  33911. },
  33912. "tradeqty": {
  33913. "description": "成交数量",
  33914. "type": "number"
  33915. },
  33916. "userid": {
  33917. "description": "用户ID",
  33918. "type": "integer"
  33919. },
  33920. "validtime": {
  33921. "description": "挂牌有效期",
  33922. "type": "string"
  33923. },
  33924. "warehouseid": {
  33925. "description": "仓库ID",
  33926. "type": "integer"
  33927. },
  33928. "warehousename": {
  33929. "description": "仓库名称",
  33930. "type": "string"
  33931. },
  33932. "wrfactortypeid": {
  33933. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33934. "type": "string"
  33935. },
  33936. "wrfactortypename": {
  33937. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33938. "type": "string"
  33939. },
  33940. "wrpricetype": {
  33941. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33942. "type": "integer"
  33943. },
  33944. "wrstandardcode": {
  33945. "description": "现货商品代码",
  33946. "type": "string"
  33947. },
  33948. "wrstandardid": {
  33949. "description": "现货商品ID",
  33950. "type": "integer"
  33951. },
  33952. "wrstandardname": {
  33953. "description": "商品名称",
  33954. "type": "string"
  33955. },
  33956. "wrtradeorderid": {
  33957. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33958. "type": "string"
  33959. },
  33960. "wrtradeorderstatus": {
  33961. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  33962. "type": "integer"
  33963. },
  33964. "wrtradetype": {
  33965. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33966. "type": "integer"
  33967. },
  33968. "wrtypename": {
  33969. "description": "商品",
  33970. "type": "string"
  33971. }
  33972. }
  33973. },
  33974. "models.WrOrderQuote": {
  33975. "type": "object",
  33976. "properties": {
  33977. "buyprice": {
  33978. "description": "买价",
  33979. "type": "number"
  33980. },
  33981. "buypricemove": {
  33982. "description": "买升贴水(基差)",
  33983. "type": "number"
  33984. },
  33985. "buyqty": {
  33986. "description": "买量",
  33987. "type": "number"
  33988. },
  33989. "deliverygoodscode": {
  33990. "description": "品种代码",
  33991. "type": "string"
  33992. },
  33993. "deliverygoodsid": {
  33994. "description": "品种id",
  33995. "type": "integer"
  33996. },
  33997. "deliverygoodsname": {
  33998. "description": "品种名称",
  33999. "type": "string"
  34000. },
  34001. "deliverymonth": {
  34002. "description": "交收月",
  34003. "type": "string"
  34004. },
  34005. "enumdicname": {
  34006. "description": "单位名称",
  34007. "type": "string"
  34008. },
  34009. "goodscode": {
  34010. "description": "商品合约(浮动价列表才有)",
  34011. "type": "string"
  34012. },
  34013. "goodsid": {
  34014. "description": "商品id(浮动价列表才有)",
  34015. "type": "integer"
  34016. },
  34017. "minivalue": {
  34018. "description": "现货商品最小变动值",
  34019. "type": "integer"
  34020. },
  34021. "sellprice": {
  34022. "description": "卖价",
  34023. "type": "number"
  34024. },
  34025. "sellpricemove": {
  34026. "description": "卖升贴水(基差)",
  34027. "type": "number"
  34028. },
  34029. "sellqty": {
  34030. "description": "卖量",
  34031. "type": "number"
  34032. },
  34033. "warehousecode": {
  34034. "description": "仓库代码",
  34035. "type": "string"
  34036. },
  34037. "warehouseid": {
  34038. "description": "仓库id",
  34039. "type": "integer"
  34040. },
  34041. "warehousename": {
  34042. "description": "仓库名称",
  34043. "type": "string"
  34044. },
  34045. "wrfactortypeid": {
  34046. "description": "仓单要素id",
  34047. "type": "string"
  34048. },
  34049. "wrfactortypename": {
  34050. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34051. "type": "string"
  34052. },
  34053. "wrgoodsname": {
  34054. "description": "商品(商品名称+仓库要素名称 拼接)",
  34055. "type": "string"
  34056. },
  34057. "wrstandardcode": {
  34058. "description": "商品代码",
  34059. "type": "string"
  34060. },
  34061. "wrstandardid": {
  34062. "description": "商品id",
  34063. "type": "integer"
  34064. },
  34065. "wrstandardname": {
  34066. "description": "商品名称",
  34067. "type": "string"
  34068. }
  34069. }
  34070. },
  34071. "models.WrOrderQuoteDetail": {
  34072. "type": "object",
  34073. "properties": {
  34074. "buyorsell": {
  34075. "description": "买卖 - 0:买 1:卖",
  34076. "type": "integer"
  34077. },
  34078. "delistminqty": {
  34079. "description": "起摘数量",
  34080. "type": "number"
  34081. },
  34082. "deliverymonth": {
  34083. "description": "交收月",
  34084. "type": "string"
  34085. },
  34086. "enumdicname": {
  34087. "description": "单位名称",
  34088. "type": "string"
  34089. },
  34090. "fixedprice": {
  34091. "description": "买(卖)价",
  34092. "type": "number"
  34093. },
  34094. "minivalue": {
  34095. "description": "现货商品最小变动值",
  34096. "type": "integer"
  34097. },
  34098. "orderqty": {
  34099. "description": "买(卖)量(=委托量-成交量)",
  34100. "type": "number"
  34101. },
  34102. "ordertime": {
  34103. "description": "委托时间",
  34104. "type": "string"
  34105. },
  34106. "pricemove": {
  34107. "description": "买(卖)升贴水- 基差",
  34108. "type": "number"
  34109. },
  34110. "userid": {
  34111. "description": "购买方(销售方)用户ID",
  34112. "type": "integer"
  34113. },
  34114. "username": {
  34115. "description": "购买方(销售方)",
  34116. "type": "string"
  34117. },
  34118. "wrtradeorderid": {
  34119. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34120. "type": "string"
  34121. }
  34122. }
  34123. },
  34124. "models.WrOutInApply": {
  34125. "type": "object",
  34126. "properties": {
  34127. "applyid": {
  34128. "description": "申请单id",
  34129. "type": "string"
  34130. },
  34131. "applystatus": {
  34132. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  34133. "type": "integer"
  34134. },
  34135. "applytime": {
  34136. "description": "申请时间",
  34137. "type": "string"
  34138. },
  34139. "applytype": {
  34140. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  34141. "type": "integer"
  34142. },
  34143. "deliverygoodscode": {
  34144. "description": "品种代码",
  34145. "type": "string"
  34146. },
  34147. "deliverygoodsid": {
  34148. "description": "品种ID",
  34149. "type": "integer"
  34150. },
  34151. "deliverygoodsname": {
  34152. "description": "品种名称",
  34153. "type": "string"
  34154. },
  34155. "enumdicname": {
  34156. "description": "单位名称",
  34157. "type": "string"
  34158. },
  34159. "expresscompany": {
  34160. "description": "物流公司",
  34161. "type": "string"
  34162. },
  34163. "expressnum": {
  34164. "description": "物流单号",
  34165. "type": "string"
  34166. },
  34167. "minivalue": {
  34168. "description": "现货商品最小变动值",
  34169. "type": "integer"
  34170. },
  34171. "optioncompare": {
  34172. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34173. "type": "string"
  34174. },
  34175. "qty": {
  34176. "description": "数量",
  34177. "type": "integer"
  34178. },
  34179. "userid": {
  34180. "description": "用户id",
  34181. "type": "integer"
  34182. },
  34183. "warehouseid": {
  34184. "description": "仓库ID",
  34185. "type": "integer"
  34186. },
  34187. "warehousename": {
  34188. "description": "仓库名称",
  34189. "type": "string"
  34190. },
  34191. "wrfactortypeid": {
  34192. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34193. "type": "string"
  34194. },
  34195. "wrfactortypename": {
  34196. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34197. "type": "string"
  34198. },
  34199. "wrstandardcode": {
  34200. "description": "现货商品代码",
  34201. "type": "string"
  34202. },
  34203. "wrstandardid": {
  34204. "description": "现货商品ID",
  34205. "type": "integer"
  34206. },
  34207. "wrstandardname": {
  34208. "description": "商品名称",
  34209. "type": "string"
  34210. },
  34211. "wrtypename": {
  34212. "description": "商品",
  34213. "type": "string"
  34214. }
  34215. }
  34216. },
  34217. "models.WrPerformancePlan": {
  34218. "type": "object",
  34219. "required": [
  34220. "userid"
  34221. ],
  34222. "properties": {
  34223. "activatemonth": {
  34224. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  34225. "type": "string"
  34226. },
  34227. "amount": {
  34228. "description": "履约金额(总金额)",
  34229. "type": "number"
  34230. },
  34231. "buyaccountid": {
  34232. "description": "买方账号",
  34233. "type": "integer"
  34234. },
  34235. "buyerfreezeamount": {
  34236. "description": "履约冻结(买履约)",
  34237. "type": "number"
  34238. },
  34239. "buyerfreezeamountremain": {
  34240. "description": "履约冻结剩余(买履约)",
  34241. "type": "number"
  34242. },
  34243. "buyorsell": {
  34244. "description": "买卖方向 0-买 1-卖",
  34245. "type": "integer"
  34246. },
  34247. "buypaidamount": {
  34248. "description": "买方已冻/已扣金额 (已付金额)",
  34249. "type": "number"
  34250. },
  34251. "buyusername": {
  34252. "description": "买方名字",
  34253. "type": "string"
  34254. },
  34255. "contractid": {
  34256. "description": "合同ID",
  34257. "type": "integer"
  34258. },
  34259. "createtime": {
  34260. "description": "创建时间",
  34261. "type": "string"
  34262. },
  34263. "creatorid": {
  34264. "description": "创建人",
  34265. "type": "integer"
  34266. },
  34267. "curstepdeadline": {
  34268. "description": "当前步骤到期时间",
  34269. "type": "string"
  34270. },
  34271. "curstepid": {
  34272. "description": "当前步骤ID",
  34273. "type": "string"
  34274. },
  34275. "curstepname": {
  34276. "description": "当前步骤名称",
  34277. "type": "string"
  34278. },
  34279. "deliverygoodscode": {
  34280. "description": "品种代码",
  34281. "type": "string"
  34282. },
  34283. "deliverygoodsid": {
  34284. "description": "品种ID",
  34285. "type": "integer"
  34286. },
  34287. "deliverygoodsname": {
  34288. "description": "品种名称",
  34289. "type": "string"
  34290. },
  34291. "enumdicname": {
  34292. "description": "单位名称",
  34293. "type": "string"
  34294. },
  34295. "expressfee": {
  34296. "description": "运费",
  34297. "type": "number"
  34298. },
  34299. "expressfeeconfirmed": {
  34300. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  34301. "type": "integer"
  34302. },
  34303. "hasovershort": {
  34304. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  34305. "type": "integer"
  34306. },
  34307. "haswr": {
  34308. "description": "类型 0-仓单预售 1-仓单贸易",
  34309. "type": "integer"
  34310. },
  34311. "marketid": {
  34312. "description": "市场ID",
  34313. "type": "integer"
  34314. },
  34315. "middleaccountid": {
  34316. "description": "中间商资金账号ID",
  34317. "type": "integer"
  34318. },
  34319. "middleuserid": {
  34320. "description": "中间商用户ID",
  34321. "type": "integer"
  34322. },
  34323. "minivalue": {
  34324. "description": "现货商品最小变动值",
  34325. "type": "integer"
  34326. },
  34327. "optioncompare": {
  34328. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34329. "type": "string"
  34330. },
  34331. "overshortamount": {
  34332. "description": "溢短金额",
  34333. "type": "number"
  34334. },
  34335. "overshortqty": {
  34336. "description": "溢短数量",
  34337. "type": "number"
  34338. },
  34339. "paymenttype": {
  34340. "description": "付款方式 - 1:冻结 2:扣款",
  34341. "type": "integer"
  34342. },
  34343. "performanceplanid": {
  34344. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  34345. "type": "string"
  34346. },
  34347. "performancestatus": {
  34348. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  34349. "type": "integer"
  34350. },
  34351. "performancetype": {
  34352. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  34353. "type": "integer"
  34354. },
  34355. "qty": {
  34356. "description": "履约数量",
  34357. "type": "number"
  34358. },
  34359. "relatedorderid": {
  34360. "description": "关联单号(履约类型的关联单号)",
  34361. "type": "string"
  34362. },
  34363. "remark": {
  34364. "description": "备注",
  34365. "type": "string"
  34366. },
  34367. "sellaccountid": {
  34368. "description": "卖方账号",
  34369. "type": "integer"
  34370. },
  34371. "sellerfreezeamount": {
  34372. "description": "履约冻结(卖履约)",
  34373. "type": "number"
  34374. },
  34375. "sellerfreezeamountremain": {
  34376. "description": "履约冻结剩余(卖履约)",
  34377. "type": "number"
  34378. },
  34379. "sellreceivedamount": {
  34380. "description": "卖方已收金额",
  34381. "type": "number"
  34382. },
  34383. "sellusername": {
  34384. "description": "卖方名字",
  34385. "type": "string"
  34386. },
  34387. "shipremark": {
  34388. "description": "发货备注[物流单号]",
  34389. "type": "string"
  34390. },
  34391. "starttime": {
  34392. "description": "开始时间",
  34393. "type": "string"
  34394. },
  34395. "steptypeid": {
  34396. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34397. "type": "integer"
  34398. },
  34399. "typename": {
  34400. "description": "履约类型 名称",
  34401. "type": "string"
  34402. },
  34403. "unpaidamount": {
  34404. "description": "剩余款(待支付金额)",
  34405. "type": "number"
  34406. },
  34407. "userid": {
  34408. "description": "用户id",
  34409. "type": "integer"
  34410. },
  34411. "warehouseid": {
  34412. "description": "仓库ID",
  34413. "type": "integer"
  34414. },
  34415. "warehousename": {
  34416. "description": "仓库名称",
  34417. "type": "string"
  34418. },
  34419. "wrfactortypeid": {
  34420. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34421. "type": "string"
  34422. },
  34423. "wrfactortypename": {
  34424. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34425. "type": "string"
  34426. },
  34427. "wrstandardcode": {
  34428. "description": "现货商品代码",
  34429. "type": "string"
  34430. },
  34431. "wrstandardid": {
  34432. "description": "现货商品ID",
  34433. "type": "integer"
  34434. },
  34435. "wrstandardname": {
  34436. "description": "商品名称",
  34437. "type": "string"
  34438. },
  34439. "wrtransferuserid": {
  34440. "description": "仓单受让用户",
  34441. "type": "integer"
  34442. },
  34443. "wrtypename": {
  34444. "description": "商品",
  34445. "type": "string"
  34446. }
  34447. }
  34448. },
  34449. "models.WrPerformancePlanStep": {
  34450. "type": "object",
  34451. "properties": {
  34452. "delaydays": {
  34453. "description": "延期申请天数",
  34454. "type": "integer"
  34455. },
  34456. "deliverygoodscode": {
  34457. "description": "品种代码",
  34458. "type": "string"
  34459. },
  34460. "deliverygoodsid": {
  34461. "description": "品种ID",
  34462. "type": "integer"
  34463. },
  34464. "deliverygoodsname": {
  34465. "description": "品种名称",
  34466. "type": "string"
  34467. },
  34468. "endtime": {
  34469. "description": "结束日期",
  34470. "type": "string"
  34471. },
  34472. "enumdicname": {
  34473. "description": "单位名称",
  34474. "type": "string"
  34475. },
  34476. "executeside": {
  34477. "description": "步骤执行方 - 1:买方 2:卖方",
  34478. "type": "integer"
  34479. },
  34480. "handlestatus": {
  34481. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  34482. "type": "integer"
  34483. },
  34484. "isauto": {
  34485. "description": "是否自动 - 0:不自动 1:自动",
  34486. "type": "integer"
  34487. },
  34488. "islastreceivestep": {
  34489. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  34490. "type": "integer"
  34491. },
  34492. "minivalue": {
  34493. "description": "现货商品最小变动值",
  34494. "type": "integer"
  34495. },
  34496. "optioncompare": {
  34497. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34498. "type": "string"
  34499. },
  34500. "overdays": {
  34501. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  34502. "type": "integer"
  34503. },
  34504. "performancestepid": {
  34505. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  34506. "type": "string"
  34507. },
  34508. "planid": {
  34509. "description": "所属履约计划ID",
  34510. "type": "string"
  34511. },
  34512. "realamount": {
  34513. "description": "实际完成金额",
  34514. "type": "number"
  34515. },
  34516. "relatedorderid": {
  34517. "description": "关联单号",
  34518. "type": "string"
  34519. },
  34520. "remaindays": {
  34521. "description": "剩余天数",
  34522. "type": "integer"
  34523. },
  34524. "remark": {
  34525. "description": "错误备注",
  34526. "type": "string"
  34527. },
  34528. "starttime": {
  34529. "description": "开始日期",
  34530. "type": "string"
  34531. },
  34532. "stepamount": {
  34533. "description": "步骤金额",
  34534. "type": "number"
  34535. },
  34536. "stepdays": {
  34537. "description": "距离上一步天数(分钟)",
  34538. "type": "integer"
  34539. },
  34540. "stepindex": {
  34541. "description": "步骤序号",
  34542. "type": "integer"
  34543. },
  34544. "steplanchtype": {
  34545. "description": "步骤启动类型 - 1:系统自动 2:手动",
  34546. "type": "integer"
  34547. },
  34548. "stepremark": {
  34549. "description": "步骤备注",
  34550. "type": "string"
  34551. },
  34552. "stepstatus": {
  34553. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  34554. "type": "integer"
  34555. },
  34556. "steptypeid": {
  34557. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34558. "type": "integer"
  34559. },
  34560. "steptypename": {
  34561. "description": "步骤名称",
  34562. "type": "string"
  34563. },
  34564. "stepvalue": {
  34565. "description": "步骤值",
  34566. "type": "number"
  34567. },
  34568. "warehouseid": {
  34569. "description": "仓库ID",
  34570. "type": "integer"
  34571. },
  34572. "warehousename": {
  34573. "description": "仓库名称",
  34574. "type": "string"
  34575. },
  34576. "wrfactortypeid": {
  34577. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34578. "type": "string"
  34579. },
  34580. "wrfactortypename": {
  34581. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34582. "type": "string"
  34583. },
  34584. "wrstandardcode": {
  34585. "description": "现货商品代码",
  34586. "type": "string"
  34587. },
  34588. "wrstandardid": {
  34589. "description": "现货商品ID",
  34590. "type": "integer"
  34591. },
  34592. "wrstandardname": {
  34593. "description": "商品名称",
  34594. "type": "string"
  34595. },
  34596. "wrtypename": {
  34597. "description": "商品",
  34598. "type": "string"
  34599. }
  34600. }
  34601. },
  34602. "models.WrPerformanceStepType": {
  34603. "type": "object",
  34604. "properties": {
  34605. "canauto": {
  34606. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  34607. "type": "integer"
  34608. },
  34609. "steptypeid": {
  34610. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  34611. "type": "integer"
  34612. },
  34613. "steptypename": {
  34614. "description": "步骤类型名称",
  34615. "type": "string"
  34616. }
  34617. }
  34618. },
  34619. "models.WrPerformanceTemplateEx": {
  34620. "type": "object",
  34621. "properties": {
  34622. "autoid": {
  34623. "description": "AutoID 模板id",
  34624. "type": "integer"
  34625. },
  34626. "createtime": {
  34627. "description": "创建时间",
  34628. "type": "string"
  34629. },
  34630. "creatorid": {
  34631. "description": "创建人",
  34632. "type": "integer"
  34633. },
  34634. "lstStep": {
  34635. "description": "步骤信息列表",
  34636. "type": "array",
  34637. "items": {
  34638. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34639. }
  34640. },
  34641. "paymenttype": {
  34642. "description": "支付方式 - 1:冻结 2:扣款",
  34643. "type": "integer"
  34644. },
  34645. "takemode": {
  34646. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  34647. "type": "integer"
  34648. },
  34649. "templatename": {
  34650. "description": "模板名称",
  34651. "type": "string"
  34652. },
  34653. "templatetype": {
  34654. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  34655. "type": "integer"
  34656. },
  34657. "userid": {
  34658. "description": "所属用户",
  34659. "type": "integer"
  34660. }
  34661. }
  34662. },
  34663. "models.WrPosition": {
  34664. "type": "object",
  34665. "properties": {
  34666. "accountid": {
  34667. "description": "帐户ID",
  34668. "type": "integer"
  34669. },
  34670. "buyexcuteqty": {
  34671. "description": "采购履约中数量",
  34672. "type": "number"
  34673. },
  34674. "creditcurqty": {
  34675. "description": "授信当前数量(预售仓单:预售当前量)",
  34676. "type": "number"
  34677. },
  34678. "creditenableqty": {
  34679. "description": "授信可用数量(预售仓单: 可用数量)",
  34680. "type": "number"
  34681. },
  34682. "creditfreezeqty": {
  34683. "description": "授信冻结数量(预售仓单: 当前数量)",
  34684. "type": "number"
  34685. },
  34686. "credittotalqty": {
  34687. "description": "授信总数量(预售仓单:预售总量)",
  34688. "type": "number"
  34689. },
  34690. "credittradeqty": {
  34691. "description": "授信成交数量(预售仓单:成交总量)",
  34692. "type": "number"
  34693. },
  34694. "deliverygoodscode": {
  34695. "description": "品种代码",
  34696. "type": "string"
  34697. },
  34698. "deliverygoodsid": {
  34699. "description": "品种ID",
  34700. "type": "integer"
  34701. },
  34702. "deliverygoodsname": {
  34703. "description": "品种名称",
  34704. "type": "string"
  34705. },
  34706. "enalbeqty": {
  34707. "description": "可用数量",
  34708. "type": "number"
  34709. },
  34710. "enumdicname": {
  34711. "description": "单位名称",
  34712. "type": "string"
  34713. },
  34714. "freezeqty": {
  34715. "description": "总冻结数量",
  34716. "type": "number"
  34717. },
  34718. "haswr": {
  34719. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34720. "type": "integer"
  34721. },
  34722. "minivalue": {
  34723. "description": "现货商品最小变动值",
  34724. "type": "integer"
  34725. },
  34726. "modifytime": {
  34727. "description": "修改时间(过户时间)",
  34728. "type": "string"
  34729. },
  34730. "optioncompare": {
  34731. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34732. "type": "string"
  34733. },
  34734. "pledgeqty": {
  34735. "description": "质押数量",
  34736. "type": "number"
  34737. },
  34738. "querytype": {
  34739. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  34740. "type": "integer"
  34741. },
  34742. "sellexcuteqty": {
  34743. "description": "销售履约中数量",
  34744. "type": "number"
  34745. },
  34746. "totalqty": {
  34747. "description": "总数量(库存数量)",
  34748. "type": "number"
  34749. },
  34750. "warehouseid": {
  34751. "description": "仓库ID",
  34752. "type": "integer"
  34753. },
  34754. "warehousename": {
  34755. "description": "仓库名称",
  34756. "type": "string"
  34757. },
  34758. "wrfactortypeid": {
  34759. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34760. "type": "string"
  34761. },
  34762. "wrfactortypename": {
  34763. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34764. "type": "string"
  34765. },
  34766. "wrpositionid": {
  34767. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  34768. "type": "string"
  34769. },
  34770. "wrpositionno": {
  34771. "description": "仓单编号",
  34772. "type": "string"
  34773. },
  34774. "wrstandardcode": {
  34775. "description": "现货商品代码",
  34776. "type": "string"
  34777. },
  34778. "wrstandardid": {
  34779. "description": "现货商品ID",
  34780. "type": "integer"
  34781. },
  34782. "wrstandardname": {
  34783. "description": "商品名称",
  34784. "type": "string"
  34785. },
  34786. "wrtypename": {
  34787. "description": "商品",
  34788. "type": "string"
  34789. },
  34790. "wruserid": {
  34791. "description": "持有人ID",
  34792. "type": "integer"
  34793. }
  34794. }
  34795. },
  34796. "models.WrQuoteOrderMyq": {
  34797. "type": "object",
  34798. "properties": {
  34799. "buyorsell": {
  34800. "description": "买卖 - 0:买 1:卖",
  34801. "type": "integer"
  34802. },
  34803. "canbargain": {
  34804. "description": "是否可议价 - 0:不可 1:可",
  34805. "type": "integer"
  34806. },
  34807. "canpart": {
  34808. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  34809. "type": "integer"
  34810. },
  34811. "delistminqty": {
  34812. "description": "起摘数量",
  34813. "type": "number"
  34814. },
  34815. "deliverygoodscode": {
  34816. "description": "品种代码",
  34817. "type": "string"
  34818. },
  34819. "deliverygoodsid": {
  34820. "description": "品种ID",
  34821. "type": "integer"
  34822. },
  34823. "deliverygoodsname": {
  34824. "description": "品种名称",
  34825. "type": "string"
  34826. },
  34827. "deliverymonth": {
  34828. "description": "交收月",
  34829. "type": "string"
  34830. },
  34831. "enumdicname": {
  34832. "description": "单位名称",
  34833. "type": "string"
  34834. },
  34835. "fixedprice": {
  34836. "description": "买(卖)价",
  34837. "type": "number"
  34838. },
  34839. "goodscode": {
  34840. "description": "商品合约代码",
  34841. "type": "string"
  34842. },
  34843. "marginflag": {
  34844. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  34845. "type": "integer"
  34846. },
  34847. "marginvalue": {
  34848. "description": "保证金设置值",
  34849. "type": "number"
  34850. },
  34851. "minivalue": {
  34852. "description": "现货商品最小变动值",
  34853. "type": "integer"
  34854. },
  34855. "orderqty": {
  34856. "description": "买(卖)量(=委托量-成交量)",
  34857. "type": "number"
  34858. },
  34859. "ordertime": {
  34860. "description": "委托时间",
  34861. "type": "string"
  34862. },
  34863. "performancetemplateid": {
  34864. "description": "履约模板id",
  34865. "type": "integer"
  34866. },
  34867. "pricemove": {
  34868. "description": "买(卖)升贴水- 基差",
  34869. "type": "number"
  34870. },
  34871. "templatename": {
  34872. "description": "履约模板名称",
  34873. "type": "string"
  34874. },
  34875. "userid": {
  34876. "description": "购买方(销售方)用户ID",
  34877. "type": "integer"
  34878. },
  34879. "username": {
  34880. "description": "购买方(销售方)",
  34881. "type": "string"
  34882. },
  34883. "validtime": {
  34884. "description": "有效期限",
  34885. "type": "string"
  34886. },
  34887. "validtype": {
  34888. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  34889. "type": "integer"
  34890. },
  34891. "warehousename": {
  34892. "description": "仓库名称",
  34893. "type": "string"
  34894. },
  34895. "wrfactortypeid": {
  34896. "description": "仓单要素id",
  34897. "type": "string"
  34898. },
  34899. "wrstandardcode": {
  34900. "description": "现货商品代码",
  34901. "type": "string"
  34902. },
  34903. "wrstandardid": {
  34904. "description": "现货商品ID",
  34905. "type": "integer"
  34906. },
  34907. "wrstandardname": {
  34908. "description": "商品名称",
  34909. "type": "string"
  34910. },
  34911. "wrtradeorderid": {
  34912. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34913. "type": "string"
  34914. },
  34915. "wrtypename": {
  34916. "description": "商品",
  34917. "type": "string"
  34918. }
  34919. }
  34920. },
  34921. "models.WrScfContract": {
  34922. "type": "object",
  34923. "properties": {
  34924. "borroweruserid": {
  34925. "description": "借款用户ID",
  34926. "type": "integer"
  34927. },
  34928. "buybackwrpositionqty": {
  34929. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  34930. "type": "number"
  34931. },
  34932. "closeinterest": {
  34933. "description": "已结利息 -\u003e 已结费用",
  34934. "type": "number"
  34935. },
  34936. "currisklevel": {
  34937. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34938. "type": "integer"
  34939. },
  34940. "deadline": {
  34941. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  34942. "type": "string"
  34943. },
  34944. "deliverygoodscode": {
  34945. "description": "品种代码",
  34946. "type": "string"
  34947. },
  34948. "deliverygoodsid": {
  34949. "description": "品种ID",
  34950. "type": "integer"
  34951. },
  34952. "deliverygoodsname": {
  34953. "description": "品种名称",
  34954. "type": "string"
  34955. },
  34956. "enumdicname": {
  34957. "description": "单位名称",
  34958. "type": "string"
  34959. },
  34960. "financingdays": {
  34961. "description": "天数(天)",
  34962. "type": "integer"
  34963. },
  34964. "initmargin": {
  34965. "description": "保证金 - [仓单回购]",
  34966. "type": "number"
  34967. },
  34968. "interestamount": {
  34969. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  34970. "type": "number"
  34971. },
  34972. "interestdebt": {
  34973. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  34974. "type": "number"
  34975. },
  34976. "interestminlen": {
  34977. "description": "最小起息天数",
  34978. "type": "integer"
  34979. },
  34980. "interestrate": {
  34981. "description": "利率",
  34982. "type": "number"
  34983. },
  34984. "interestratemode": {
  34985. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34986. "type": "integer"
  34987. },
  34988. "interestsettlemode": {
  34989. "description": "结息方式 - 1:按日结息 3:按月结息",
  34990. "type": "integer"
  34991. },
  34992. "interestsettlevalue": {
  34993. "description": "结息方式值",
  34994. "type": "integer"
  34995. },
  34996. "isautoloan": {
  34997. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  34998. "type": "integer"
  34999. },
  35000. "lastcloseinterestday": {
  35001. "description": "最近结息日(yyyyMMdd)",
  35002. "type": "string"
  35003. },
  35004. "lenderamount": {
  35005. "description": "贷款金额 -\u003e 借款金额",
  35006. "type": "number"
  35007. },
  35008. "lenderuserid": {
  35009. "description": "贷款方用户ID -\u003e 融出方用户ID",
  35010. "type": "integer"
  35011. },
  35012. "lenderusername": {
  35013. "description": "融出方",
  35014. "type": "string"
  35015. },
  35016. "marginratio": {
  35017. "description": "保证金比率质押率 - [仓单质押]",
  35018. "type": "number"
  35019. },
  35020. "marketid": {
  35021. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  35022. "type": "integer"
  35023. },
  35024. "minivalue": {
  35025. "description": "现货商品最小变动值",
  35026. "type": "integer"
  35027. },
  35028. "optioncompare": {
  35029. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35030. "type": "string"
  35031. },
  35032. "pricemove": {
  35033. "description": "估值升贴水值",
  35034. "type": "number"
  35035. },
  35036. "productdetailid": {
  35037. "description": "产品组合ID",
  35038. "type": "integer"
  35039. },
  35040. "productid": {
  35041. "description": "金融产品ID",
  35042. "type": "integer"
  35043. },
  35044. "productname": {
  35045. "description": "产品名称",
  35046. "type": "string"
  35047. },
  35048. "remainamount": {
  35049. "description": "合同剩余金额 -\u003e 剩余金额",
  35050. "type": "number"
  35051. },
  35052. "remainwrpositionqty": {
  35053. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  35054. "type": "number"
  35055. },
  35056. "remark": {
  35057. "description": "备注",
  35058. "type": "string"
  35059. },
  35060. "scfcontractid": {
  35061. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35062. "type": "string"
  35063. },
  35064. "scfcontractstatus": {
  35065. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35066. "type": "integer"
  35067. },
  35068. "scfcontracttype": {
  35069. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  35070. "type": "integer"
  35071. },
  35072. "startinterestday": {
  35073. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  35074. "type": "string"
  35075. },
  35076. "totalinterest": {
  35077. "description": "已计利息 -\u003e 已计费用",
  35078. "type": "number"
  35079. },
  35080. "unpaidinterest": {
  35081. "description": "未结费用",
  35082. "type": "number"
  35083. },
  35084. "updatetime": {
  35085. "description": "更新时间",
  35086. "type": "string"
  35087. },
  35088. "warehouseid": {
  35089. "description": "仓库ID",
  35090. "type": "integer"
  35091. },
  35092. "warehousename": {
  35093. "description": "仓库名称",
  35094. "type": "string"
  35095. },
  35096. "wrfactortypeid": {
  35097. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35098. "type": "string"
  35099. },
  35100. "wrfactortypename": {
  35101. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35102. "type": "string"
  35103. },
  35104. "wrqty": {
  35105. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  35106. "type": "number"
  35107. },
  35108. "wrstandardcode": {
  35109. "description": "现货商品代码",
  35110. "type": "string"
  35111. },
  35112. "wrstandardid": {
  35113. "description": "现货商品ID",
  35114. "type": "integer"
  35115. },
  35116. "wrstandardname": {
  35117. "description": "商品名称",
  35118. "type": "string"
  35119. },
  35120. "wrtypename": {
  35121. "description": "商品",
  35122. "type": "string"
  35123. }
  35124. }
  35125. },
  35126. "models.WrScfContractInterest": {
  35127. "type": "object",
  35128. "properties": {
  35129. "closeinterest": {
  35130. "description": "已结利息",
  35131. "type": "number"
  35132. },
  35133. "closeintereststatus": {
  35134. "description": "结息状态 - 1:未结 2:已结",
  35135. "type": "integer"
  35136. },
  35137. "closetime": {
  35138. "description": "结息时间",
  35139. "type": "string"
  35140. },
  35141. "closetradedate": {
  35142. "description": "结息交易日",
  35143. "type": "string"
  35144. },
  35145. "creatorid": {
  35146. "description": "操作人ID",
  35147. "type": "integer"
  35148. },
  35149. "dayrate": {
  35150. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  35151. "type": "number"
  35152. },
  35153. "interest": {
  35154. "description": "利息",
  35155. "type": "number"
  35156. },
  35157. "interestamount": {
  35158. "description": "计息金额",
  35159. "type": "number"
  35160. },
  35161. "interestday": {
  35162. "description": "计息日(yyyyMMdd)",
  35163. "type": "string"
  35164. },
  35165. "scfcontractid": {
  35166. "description": "SCF合同ID",
  35167. "type": "string"
  35168. },
  35169. "scfcontractinterestid": {
  35170. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  35171. "type": "integer"
  35172. },
  35173. "updatetime": {
  35174. "description": "更新时间",
  35175. "type": "string"
  35176. }
  35177. }
  35178. },
  35179. "models.WrSpecialMatchOrder": {
  35180. "type": "object",
  35181. "properties": {
  35182. "amount": {
  35183. "description": "金额 = 数量 * 价格",
  35184. "type": "number"
  35185. },
  35186. "buyorsell": {
  35187. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35188. "type": "integer"
  35189. },
  35190. "cancelqty": {
  35191. "description": "撤销数量",
  35192. "type": "number"
  35193. },
  35194. "deliverygoodscode": {
  35195. "description": "品种代码",
  35196. "type": "string"
  35197. },
  35198. "deliverygoodsid": {
  35199. "description": "品种ID",
  35200. "type": "integer"
  35201. },
  35202. "deliverygoodsname": {
  35203. "description": "品种名称",
  35204. "type": "string"
  35205. },
  35206. "enumdicname": {
  35207. "description": "单位名称",
  35208. "type": "string"
  35209. },
  35210. "fixedprice": {
  35211. "description": "固定价格(价格)",
  35212. "type": "number"
  35213. },
  35214. "haswr": {
  35215. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35216. "type": "integer"
  35217. },
  35218. "marketid": {
  35219. "description": "市场ID",
  35220. "type": "integer"
  35221. },
  35222. "matchuserid": {
  35223. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  35224. "type": "integer"
  35225. },
  35226. "matchusername": {
  35227. "description": "指定方",
  35228. "type": "string"
  35229. },
  35230. "minivalue": {
  35231. "description": "现货商品最小变动值",
  35232. "type": "integer"
  35233. },
  35234. "optioncompare": {
  35235. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35236. "type": "string"
  35237. },
  35238. "orderqty": {
  35239. "description": "委托数量",
  35240. "type": "number"
  35241. },
  35242. "ordertime": {
  35243. "description": "委托时间",
  35244. "type": "string"
  35245. },
  35246. "pricemove": {
  35247. "description": "升贴水(浮动价时填写) - [挂牌]",
  35248. "type": "number"
  35249. },
  35250. "tradedate": {
  35251. "description": "交易日(yyyyMMdd)",
  35252. "type": "string"
  35253. },
  35254. "tradeprice": {
  35255. "description": "成交价格",
  35256. "type": "number"
  35257. },
  35258. "tradeqty": {
  35259. "description": "成交数量",
  35260. "type": "number"
  35261. },
  35262. "userid": {
  35263. "description": "用户ID",
  35264. "type": "integer"
  35265. },
  35266. "username": {
  35267. "description": "发起方",
  35268. "type": "string"
  35269. },
  35270. "warehouseid": {
  35271. "description": "仓库ID",
  35272. "type": "integer"
  35273. },
  35274. "warehousename": {
  35275. "description": "仓库名称",
  35276. "type": "string"
  35277. },
  35278. "wrfactortypeid": {
  35279. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35280. "type": "string"
  35281. },
  35282. "wrfactortypename": {
  35283. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35284. "type": "string"
  35285. },
  35286. "wrpricetype": {
  35287. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35288. "type": "integer"
  35289. },
  35290. "wrstandardcode": {
  35291. "description": "现货商品代码",
  35292. "type": "string"
  35293. },
  35294. "wrstandardid": {
  35295. "description": "现货商品ID",
  35296. "type": "integer"
  35297. },
  35298. "wrstandardname": {
  35299. "description": "商品名称",
  35300. "type": "string"
  35301. },
  35302. "wrtradeorderid": {
  35303. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35304. "type": "string"
  35305. },
  35306. "wrtradeorderstatus": {
  35307. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  35308. "type": "integer"
  35309. },
  35310. "wrtradetype": {
  35311. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35312. "type": "integer"
  35313. },
  35314. "wrtypename": {
  35315. "description": "商品",
  35316. "type": "string"
  35317. }
  35318. }
  35319. },
  35320. "models.WrStandardFactoryItem": {
  35321. "type": "object",
  35322. "properties": {
  35323. "dgfactoryitemid": {
  35324. "description": "选择项id",
  35325. "type": "integer"
  35326. },
  35327. "dgfactoryitemvalue": {
  35328. "description": "要素项值",
  35329. "type": "string"
  35330. },
  35331. "warehouseid": {
  35332. "description": "仓库id",
  35333. "type": "integer"
  35334. }
  35335. }
  35336. },
  35337. "models.WrStandardFactoryItemEx": {
  35338. "type": "object",
  35339. "properties": {
  35340. "dgfactoryitemtypeid": {
  35341. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  35342. "type": "integer"
  35343. },
  35344. "itemlst": {
  35345. "description": "要素项列表",
  35346. "type": "array",
  35347. "items": {
  35348. "$ref": "#/definitions/models.WrStandardFactoryItem"
  35349. }
  35350. },
  35351. "itemtypename": {
  35352. "description": "要素项类型名称",
  35353. "type": "string"
  35354. },
  35355. "wrstandardid": {
  35356. "description": "品类",
  35357. "type": "integer"
  35358. }
  35359. }
  35360. },
  35361. "models.WrTradeDetail": {
  35362. "type": "object",
  35363. "properties": {
  35364. "accountid": {
  35365. "description": "资金账号",
  35366. "type": "integer"
  35367. },
  35368. "buyorsell": {
  35369. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35370. "type": "integer"
  35371. },
  35372. "chargevalue": {
  35373. "description": "手续费",
  35374. "type": "number"
  35375. },
  35376. "deliverygoodscode": {
  35377. "description": "品种代码",
  35378. "type": "string"
  35379. },
  35380. "deliverygoodsid": {
  35381. "description": "品种ID",
  35382. "type": "integer"
  35383. },
  35384. "deliverygoodsname": {
  35385. "description": "品种名称",
  35386. "type": "string"
  35387. },
  35388. "deliverymonth": {
  35389. "description": "交收月",
  35390. "type": "string"
  35391. },
  35392. "enumdicname": {
  35393. "description": "单位名称",
  35394. "type": "string"
  35395. },
  35396. "haswr": {
  35397. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35398. "type": "integer"
  35399. },
  35400. "marketid": {
  35401. "description": "市场ID",
  35402. "type": "integer"
  35403. },
  35404. "matchaccountid": {
  35405. "description": "对手账号",
  35406. "type": "integer"
  35407. },
  35408. "matchusername": {
  35409. "description": "对手方",
  35410. "type": "string"
  35411. },
  35412. "minivalue": {
  35413. "description": "现货商品最小变动值",
  35414. "type": "integer"
  35415. },
  35416. "optioncompare": {
  35417. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35418. "type": "string"
  35419. },
  35420. "tradedate": {
  35421. "description": "交易日(yyyyMMdd)",
  35422. "type": "string"
  35423. },
  35424. "tradeprice": {
  35425. "description": "成交价格",
  35426. "type": "number"
  35427. },
  35428. "tradeqty": {
  35429. "description": "成交数量",
  35430. "type": "number"
  35431. },
  35432. "tradetime": {
  35433. "description": "成交时间",
  35434. "type": "string"
  35435. },
  35436. "userid": {
  35437. "description": "用户ID",
  35438. "type": "integer"
  35439. },
  35440. "warehouseid": {
  35441. "description": "仓库ID",
  35442. "type": "integer"
  35443. },
  35444. "warehousename": {
  35445. "description": "仓库名称",
  35446. "type": "string"
  35447. },
  35448. "wrfactortypeid": {
  35449. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35450. "type": "string"
  35451. },
  35452. "wrfactortypename": {
  35453. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35454. "type": "string"
  35455. },
  35456. "wrstandardcode": {
  35457. "description": "现货商品代码",
  35458. "type": "string"
  35459. },
  35460. "wrstandardid": {
  35461. "description": "现货商品ID",
  35462. "type": "integer"
  35463. },
  35464. "wrstandardname": {
  35465. "description": "商品名称",
  35466. "type": "string"
  35467. },
  35468. "wrtradedetailid": {
  35469. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35470. "type": "string"
  35471. },
  35472. "wrtradetype": {
  35473. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35474. "type": "integer"
  35475. },
  35476. "wrtypename": {
  35477. "description": "商品",
  35478. "type": "string"
  35479. }
  35480. }
  35481. },
  35482. "models.WrTradeOrderDetail": {
  35483. "type": "object",
  35484. "properties": {
  35485. "buyorsell": {
  35486. "description": "买卖方向 0-买 1-卖",
  35487. "type": "integer"
  35488. },
  35489. "goodsid": {
  35490. "description": "商品id",
  35491. "type": "integer"
  35492. },
  35493. "orderid": {
  35494. "description": "委托单号",
  35495. "type": "string"
  35496. },
  35497. "orderprice": {
  35498. "description": "委托价格",
  35499. "type": "number"
  35500. },
  35501. "orderqty": {
  35502. "description": "委托数量",
  35503. "type": "integer"
  35504. },
  35505. "userid": {
  35506. "description": "用户id",
  35507. "type": "integer"
  35508. },
  35509. "username": {
  35510. "description": "用户名称(已脱敏)",
  35511. "type": "string"
  35512. }
  35513. }
  35514. },
  35515. "models.WrTypeItem": {
  35516. "type": "object",
  35517. "properties": {
  35518. "name": {
  35519. "description": "名称",
  35520. "type": "string"
  35521. },
  35522. "value": {
  35523. "description": "值",
  35524. "type": "string"
  35525. }
  35526. }
  35527. },
  35528. "models.WrUserFriend": {
  35529. "type": "object",
  35530. "properties": {
  35531. "friendname": {
  35532. "description": "朋友名称(已脱敏)",
  35533. "type": "string"
  35534. },
  35535. "frienduserid": {
  35536. "description": "朋友id",
  35537. "type": "integer"
  35538. },
  35539. "isfriend": {
  35540. "description": "是否好友 0-不是 1-是",
  35541. "type": "integer"
  35542. },
  35543. "userid": {
  35544. "description": "用户id",
  35545. "type": "integer"
  35546. }
  35547. }
  35548. },
  35549. "models.XHBRAND": {
  35550. "type": "object",
  35551. "properties": {
  35552. "brandid": {
  35553. "description": "品牌id",
  35554. "type": "integer"
  35555. },
  35556. "brandname": {
  35557. "description": "品牌名称",
  35558. "type": "string"
  35559. }
  35560. }
  35561. },
  35562. "models.XHDeliveryGoods": {
  35563. "type": "object",
  35564. "properties": {
  35565. "areauserid": {
  35566. "description": "所属机构",
  35567. "type": "integer"
  35568. },
  35569. "bdlst": {
  35570. "description": "品牌列表",
  35571. "type": "array",
  35572. "items": {
  35573. "$ref": "#/definitions/models.XHBRAND"
  35574. }
  35575. },
  35576. "deliverygoodscode": {
  35577. "description": "现货品种代码",
  35578. "type": "string"
  35579. },
  35580. "deliverygoodsid": {
  35581. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35582. "type": "integer"
  35583. },
  35584. "deliverygoodsname": {
  35585. "description": "现货品种名称",
  35586. "type": "string"
  35587. },
  35588. "dgstatus": {
  35589. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  35590. "type": "integer"
  35591. },
  35592. "isvalid": {
  35593. "description": "是否有效 - 0:无效 1:有效",
  35594. "type": "integer"
  35595. },
  35596. "remark": {
  35597. "description": "备注",
  35598. "type": "string"
  35599. },
  35600. "unitid": {
  35601. "description": "单位id(目前看,数据库中是空值)",
  35602. "type": "integer"
  35603. },
  35604. "wdlst": {
  35605. "description": "品类(现货商品)列表",
  35606. "type": "array",
  35607. "items": {
  35608. "$ref": "#/definitions/models.XHWrstandard"
  35609. }
  35610. }
  35611. }
  35612. },
  35613. "models.XHMiddleGoods": {
  35614. "type": "object",
  35615. "properties": {
  35616. "convertratio": {
  35617. "description": "拆算系数",
  35618. "type": "number"
  35619. },
  35620. "enumdicname": {
  35621. "description": "单位名称",
  35622. "type": "string"
  35623. },
  35624. "gplst": {
  35625. "description": "期货品种列表",
  35626. "type": "array",
  35627. "items": {
  35628. "$ref": "#/definitions/models.TBGoodsGroup"
  35629. }
  35630. },
  35631. "middlegoodscode": {
  35632. "description": "套保品种代码",
  35633. "type": "string"
  35634. },
  35635. "middlegoodsid": {
  35636. "description": "套保品种id",
  35637. "type": "integer"
  35638. },
  35639. "middlegoodsname": {
  35640. "description": "套保品种名称",
  35641. "type": "string"
  35642. },
  35643. "unitid": {
  35644. "description": "单位id",
  35645. "type": "integer"
  35646. }
  35647. }
  35648. },
  35649. "models.XHWrstandard": {
  35650. "type": "object",
  35651. "properties": {
  35652. "deliverygoodsid": {
  35653. "description": "品种ID",
  35654. "type": "integer"
  35655. },
  35656. "enumdicname": {
  35657. "description": "单位名称",
  35658. "type": "string"
  35659. },
  35660. "mglst": {
  35661. "description": "套保品列表",
  35662. "type": "array",
  35663. "items": {
  35664. "$ref": "#/definitions/models.XHMiddleGoods"
  35665. }
  35666. },
  35667. "unitid": {
  35668. "description": "单位id",
  35669. "type": "integer"
  35670. },
  35671. "vatrate": {
  35672. "description": "增值税率",
  35673. "type": "number"
  35674. },
  35675. "wrstandardcode": {
  35676. "description": "现货商品代码",
  35677. "type": "string"
  35678. },
  35679. "wrstandardid": {
  35680. "description": "现货商品ID(SEQ_WRSTANDARD)",
  35681. "type": "integer"
  35682. },
  35683. "wrstandardname": {
  35684. "description": "现货商品名称",
  35685. "type": "string"
  35686. }
  35687. }
  35688. },
  35689. "order.QueryHisTradeDetailRsp": {
  35690. "type": "object",
  35691. "required": [
  35692. "accountid",
  35693. "buyorsell",
  35694. "goodsid",
  35695. "histradedate",
  35696. "marketid",
  35697. "memberuserid",
  35698. "orderid",
  35699. "tradeamount",
  35700. "tradedate",
  35701. "tradeid",
  35702. "tradeprice",
  35703. "tradeqty",
  35704. "tradetime"
  35705. ],
  35706. "properties": {
  35707. "accountid": {
  35708. "description": "账户ID[报价币种]",
  35709. "type": "integer"
  35710. },
  35711. "advanceratio": {
  35712. "description": "首付比率",
  35713. "type": "number"
  35714. },
  35715. "buildtype": {
  35716. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35717. "type": "integer"
  35718. },
  35719. "buyorsell": {
  35720. "description": "方向 - 0:买 1:卖",
  35721. "type": "integer"
  35722. },
  35723. "charge": {
  35724. "description": "手续费",
  35725. "type": "number"
  35726. },
  35727. "closecharge": {
  35728. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35729. "type": "number"
  35730. },
  35731. "closeexchagechargevalue": {
  35732. "description": "平仓交易所手续费设置值",
  35733. "type": "number"
  35734. },
  35735. "closefeealgorithm": {
  35736. "description": "平仓手续费收取方式 1:比率 2:固定",
  35737. "type": "integer"
  35738. },
  35739. "closememberchargevalue": {
  35740. "description": "平仓会员手续费设置值",
  35741. "type": "number"
  35742. },
  35743. "closepl": {
  35744. "description": "平仓盈亏",
  35745. "type": "number"
  35746. },
  35747. "closepl2": {
  35748. "description": "平仓盈亏[逐笔]",
  35749. "type": "number"
  35750. },
  35751. "closeqty": {
  35752. "description": "平仓数量(先建后平操作 需要记录)",
  35753. "type": "number"
  35754. },
  35755. "creditamount": {
  35756. "description": "授信金额",
  35757. "type": "number"
  35758. },
  35759. "decimalplace": {
  35760. "description": "商品报价小数位",
  35761. "type": "integer"
  35762. },
  35763. "enumdicname": {
  35764. "description": "单位名称",
  35765. "type": "string"
  35766. },
  35767. "gcaccountid": {
  35768. "description": "账户ID[合约币种]",
  35769. "type": "integer"
  35770. },
  35771. "goodscode": {
  35772. "description": "商品代码",
  35773. "type": "string"
  35774. },
  35775. "goodsid": {
  35776. "description": "商品ID",
  35777. "type": "integer"
  35778. },
  35779. "goodsname": {
  35780. "description": "商品名称",
  35781. "type": "string"
  35782. },
  35783. "goodunitid": {
  35784. "description": "商品单位id",
  35785. "type": "integer"
  35786. },
  35787. "histradedate": {
  35788. "description": "历史交易日",
  35789. "type": "string"
  35790. },
  35791. "intclosepl": {
  35792. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  35793. "type": "integer"
  35794. },
  35795. "isconfirmexercise": {
  35796. "description": "是否确认行权- 0:否 1:是",
  35797. "type": "integer"
  35798. },
  35799. "ismain": {
  35800. "description": "是否主单 - 0:不是 1:是",
  35801. "type": "integer"
  35802. },
  35803. "ispreexercise": {
  35804. "description": "是否预申报- 0:否 1:是",
  35805. "type": "integer"
  35806. },
  35807. "isreckoned": {
  35808. "description": "是否结算 - 0:未结算 1:已结算",
  35809. "type": "integer"
  35810. },
  35811. "isvaliddata": {
  35812. "description": "是否有效 - 0:无效 1:有效",
  35813. "type": "integer"
  35814. },
  35815. "listingselecttype": {
  35816. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35817. "type": "integer"
  35818. },
  35819. "marketid": {
  35820. "description": "市场ID",
  35821. "type": "integer"
  35822. },
  35823. "marketname": {
  35824. "description": "市场名称",
  35825. "type": "string"
  35826. },
  35827. "matchaccountid": {
  35828. "description": "对手账号id",
  35829. "type": "integer"
  35830. },
  35831. "memberuserid": {
  35832. "description": "会员id 个人投资者 需要填写",
  35833. "type": "integer"
  35834. },
  35835. "opencharge": {
  35836. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35837. "type": "number"
  35838. },
  35839. "openexchagechargevalue": {
  35840. "description": "建仓交易所手续费设置值",
  35841. "type": "number"
  35842. },
  35843. "openfeealgorithm": {
  35844. "description": "建仓手续费收取方式 1:比率 2:固定",
  35845. "type": "integer"
  35846. },
  35847. "openmemberchargevalue": {
  35848. "description": "建仓会员手续费设置值",
  35849. "type": "number"
  35850. },
  35851. "openqty": {
  35852. "description": "开仓数量(先建后平操作 需要记录)",
  35853. "type": "number"
  35854. },
  35855. "optiontype": {
  35856. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35857. "type": "integer"
  35858. },
  35859. "orderid": {
  35860. "description": "委托单号",
  35861. "type": "string"
  35862. },
  35863. "payamount": {
  35864. "description": "支付金额(付款金额)",
  35865. "type": "number"
  35866. },
  35867. "performanceplanid": {
  35868. "description": "履约计划ID[期权]",
  35869. "type": "integer"
  35870. },
  35871. "performancestatus": {
  35872. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35873. "type": "integer"
  35874. },
  35875. "preexerciseprice": {
  35876. "description": "预申报价格",
  35877. "type": "number"
  35878. },
  35879. "premium": {
  35880. "description": "权利金 - [持仓单的权利金]",
  35881. "type": "number"
  35882. },
  35883. "qtydecimalplace": {
  35884. "description": "商品报价小数位",
  35885. "type": "integer"
  35886. },
  35887. "recvamount": {
  35888. "description": "到账金额 = 成交金额 - 手续费",
  35889. "type": "number"
  35890. },
  35891. "relatedouttradeid": {
  35892. "description": "关联外部成交单ID",
  35893. "type": "integer"
  35894. },
  35895. "status": {
  35896. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35897. "type": "integer"
  35898. },
  35899. "totalamount": {
  35900. "description": "订单总额 = 成交金额 + 手续费",
  35901. "type": "number"
  35902. },
  35903. "tradeamount": {
  35904. "description": "成交金额[账户币种,用于所有权]",
  35905. "type": "number"
  35906. },
  35907. "tradedate": {
  35908. "description": "交易日(yyyyMMdd)",
  35909. "type": "string"
  35910. },
  35911. "tradeid": {
  35912. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35913. "type": "string"
  35914. },
  35915. "trademode": {
  35916. "description": "交易模式",
  35917. "type": "integer"
  35918. },
  35919. "tradeprice": {
  35920. "description": "成交价格",
  35921. "type": "number"
  35922. },
  35923. "tradeproperty": {
  35924. "description": "交易属性",
  35925. "type": "integer"
  35926. },
  35927. "tradeqty": {
  35928. "description": "成交数量",
  35929. "type": "number"
  35930. },
  35931. "tradetime": {
  35932. "description": "成交时间",
  35933. "type": "string"
  35934. },
  35935. "tradetype": {
  35936. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35937. "type": "integer"
  35938. }
  35939. }
  35940. },
  35941. "order.QueryHisTradeOrderDetailRsp": {
  35942. "type": "object",
  35943. "required": [
  35944. "accountid",
  35945. "buildtype",
  35946. "buyorsell",
  35947. "goodsid",
  35948. "histradedate",
  35949. "marketid",
  35950. "memberuserid",
  35951. "operatetype",
  35952. "orderid",
  35953. "orderqty",
  35954. "ordertime",
  35955. "pricemode",
  35956. "tradedate",
  35957. "validtype"
  35958. ],
  35959. "properties": {
  35960. "accountid": {
  35961. "description": "账户ID[报价币种]",
  35962. "type": "integer"
  35963. },
  35964. "buildtype": {
  35965. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35966. "type": "integer"
  35967. },
  35968. "buyorsell": {
  35969. "description": "买卖 - 0:买 1:卖",
  35970. "type": "integer"
  35971. },
  35972. "cancelorderid": {
  35973. "description": "撤单单号(撤单时填写)",
  35974. "type": "string"
  35975. },
  35976. "cancelqty": {
  35977. "description": "撤单数量",
  35978. "type": "number"
  35979. },
  35980. "clientordertime": {
  35981. "description": "客户端委托时间",
  35982. "type": "string"
  35983. },
  35984. "clientticket": {
  35985. "description": "客户端流水号",
  35986. "type": "string"
  35987. },
  35988. "clienttype": {
  35989. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35990. "type": "integer"
  35991. },
  35992. "closeexchagechargevalue": {
  35993. "description": "平仓交易所手续费设置值",
  35994. "type": "number"
  35995. },
  35996. "closefeealgorithm": {
  35997. "description": "平仓手续费收取方式 1:比率 2:固定",
  35998. "type": "integer"
  35999. },
  36000. "closefreezecharge": {
  36001. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36002. "type": "number"
  36003. },
  36004. "closememberchargevalue": {
  36005. "description": "平仓会员手续费设置值",
  36006. "type": "number"
  36007. },
  36008. "closeqty": {
  36009. "description": "平仓数量(先建后平操作 需要记录)",
  36010. "type": "number"
  36011. },
  36012. "closetradeqty": {
  36013. "description": "平仓成交数量(先建后平操作,需要记录)",
  36014. "type": "number"
  36015. },
  36016. "closeunfreezecharge": {
  36017. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36018. "type": "number"
  36019. },
  36020. "decimalplace": {
  36021. "description": "商品报价小数位",
  36022. "type": "integer"
  36023. },
  36024. "delistingtype": {
  36025. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36026. "type": "integer"
  36027. },
  36028. "enumdicname": {
  36029. "description": "单位名称",
  36030. "type": "string"
  36031. },
  36032. "freezecharge": {
  36033. "description": "冻结手续费",
  36034. "type": "number"
  36035. },
  36036. "freezemargin": {
  36037. "description": "冻结保证金(冻结交易金额)",
  36038. "type": "number"
  36039. },
  36040. "gcaccountid": {
  36041. "description": "账户ID[合约币种]",
  36042. "type": "integer"
  36043. },
  36044. "goodscode": {
  36045. "description": "商品代码",
  36046. "type": "string"
  36047. },
  36048. "goodsid": {
  36049. "description": "商品ID",
  36050. "type": "integer"
  36051. },
  36052. "goodsname": {
  36053. "description": "商品名称",
  36054. "type": "string"
  36055. },
  36056. "goodunitid": {
  36057. "description": "商品单位id",
  36058. "type": "integer"
  36059. },
  36060. "histradedate": {
  36061. "description": "历史交易日",
  36062. "type": "string"
  36063. },
  36064. "isconfirmexercise": {
  36065. "description": "是否确认行权- 0:否 1:是",
  36066. "type": "integer"
  36067. },
  36068. "ispreexercise": {
  36069. "description": "是否预申报- 0:否 1:是",
  36070. "type": "integer"
  36071. },
  36072. "isvaliddata": {
  36073. "description": "是否有效 - 0:无效 1:有效",
  36074. "type": "integer"
  36075. },
  36076. "listingselecttype": {
  36077. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36078. "type": "integer"
  36079. },
  36080. "marginalgorithm": {
  36081. "description": "保证金收取方式 1:比率 2:固定",
  36082. "type": "integer"
  36083. },
  36084. "marginvalue": {
  36085. "description": "即市保证金设置值",
  36086. "type": "number"
  36087. },
  36088. "marketid": {
  36089. "description": "市场ID",
  36090. "type": "integer"
  36091. },
  36092. "marketmaxsub": {
  36093. "description": "市价最大偏移范围",
  36094. "type": "number"
  36095. },
  36096. "marketname": {
  36097. "description": "市场名称",
  36098. "type": "string"
  36099. },
  36100. "memberuserid": {
  36101. "description": "所属会员UserID",
  36102. "type": "integer"
  36103. },
  36104. "openexchagechargevalue": {
  36105. "description": "建仓交易所手续费设置值",
  36106. "type": "number"
  36107. },
  36108. "openfeealgorithm": {
  36109. "description": "建仓手续费收取方式 1:比率 2:固定",
  36110. "type": "integer"
  36111. },
  36112. "openfreezecharge": {
  36113. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36114. "type": "number"
  36115. },
  36116. "openmemberchargevalue": {
  36117. "description": "建仓会员手续费设置值",
  36118. "type": "number"
  36119. },
  36120. "openqty": {
  36121. "description": "开仓数量(先建后平操作,需要记录)",
  36122. "type": "number"
  36123. },
  36124. "opentradeqty": {
  36125. "description": "开仓成交数量(先建后平操作,需要记录)",
  36126. "type": "number"
  36127. },
  36128. "openunfreezecharge": {
  36129. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36130. "type": "number"
  36131. },
  36132. "operatetype": {
  36133. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36134. "type": "integer"
  36135. },
  36136. "operatorid": {
  36137. "description": "登录账号(LoginID)",
  36138. "type": "integer"
  36139. },
  36140. "optiontype": {
  36141. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36142. "type": "integer"
  36143. },
  36144. "orderid": {
  36145. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36146. "type": "string"
  36147. },
  36148. "orderprice": {
  36149. "description": "委托价格",
  36150. "type": "number"
  36151. },
  36152. "orderqty": {
  36153. "description": "委托数量",
  36154. "type": "number"
  36155. },
  36156. "ordersrc": {
  36157. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36158. "type": "integer"
  36159. },
  36160. "orderstatus": {
  36161. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36162. "type": "integer"
  36163. },
  36164. "ordertime": {
  36165. "description": "委托时间",
  36166. "type": "string"
  36167. },
  36168. "preexerciseprice": {
  36169. "description": "预申报价格",
  36170. "type": "number"
  36171. },
  36172. "premium": {
  36173. "description": "权利金",
  36174. "type": "number"
  36175. },
  36176. "preorderid": {
  36177. "description": "关联预埋单号(止盈止损单时填写)",
  36178. "type": "string"
  36179. },
  36180. "pricemode": {
  36181. "description": "取价方式 - 1:市价 2: 限价",
  36182. "type": "integer"
  36183. },
  36184. "qtydecimalplace": {
  36185. "description": "成交量小数位",
  36186. "type": "integer"
  36187. },
  36188. "quoteid": {
  36189. "description": "报价单ID",
  36190. "type": "integer"
  36191. },
  36192. "relatedid": {
  36193. "description": "关联单号(交割单)",
  36194. "type": "string"
  36195. },
  36196. "retcode": {
  36197. "description": "错误代码",
  36198. "type": "integer"
  36199. },
  36200. "sessionid": {
  36201. "description": "会话ID",
  36202. "type": "integer"
  36203. },
  36204. "tradedate": {
  36205. "description": "交易日(yyyyMMdd)",
  36206. "type": "string"
  36207. },
  36208. "trademode": {
  36209. "description": "交易模式",
  36210. "type": "integer"
  36211. },
  36212. "tradeproperty": {
  36213. "description": "交易属性",
  36214. "type": "integer"
  36215. },
  36216. "tradeqty": {
  36217. "description": "成交数量",
  36218. "type": "number"
  36219. },
  36220. "unfreezecharge": {
  36221. "description": "解冻手续费",
  36222. "type": "number"
  36223. },
  36224. "unfreezemargin": {
  36225. "description": "解冻保证金",
  36226. "type": "number"
  36227. },
  36228. "updatetime": {
  36229. "description": "更新时间",
  36230. "type": "string"
  36231. },
  36232. "uuid": {
  36233. "description": "发起端唯一id",
  36234. "type": "string"
  36235. },
  36236. "validtime": {
  36237. "description": "有效期限",
  36238. "type": "string"
  36239. },
  36240. "validtype": {
  36241. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36242. "type": "integer"
  36243. },
  36244. "volumetype": {
  36245. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36246. "type": "integer"
  36247. }
  36248. }
  36249. },
  36250. "order.QueryTradeDetailRsp": {
  36251. "type": "object",
  36252. "required": [
  36253. "accountid",
  36254. "buyorsell",
  36255. "goodsid",
  36256. "marketid",
  36257. "memberuserid",
  36258. "orderid",
  36259. "tradeamount",
  36260. "tradedate",
  36261. "tradeid",
  36262. "tradeprice",
  36263. "tradeqty",
  36264. "tradetime"
  36265. ],
  36266. "properties": {
  36267. "accountid": {
  36268. "description": "账户ID[报价币种]",
  36269. "type": "integer"
  36270. },
  36271. "advanceratio": {
  36272. "description": "首付比率",
  36273. "type": "number"
  36274. },
  36275. "buildtype": {
  36276. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36277. "type": "integer"
  36278. },
  36279. "buyorsell": {
  36280. "description": "方向 - 0:买 1:卖",
  36281. "type": "integer"
  36282. },
  36283. "charge": {
  36284. "description": "手续费",
  36285. "type": "number"
  36286. },
  36287. "closecharge": {
  36288. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36289. "type": "number"
  36290. },
  36291. "closeexchagechargevalue": {
  36292. "description": "平仓交易所手续费设置值",
  36293. "type": "number"
  36294. },
  36295. "closefeealgorithm": {
  36296. "description": "平仓手续费收取方式 1:比率 2:固定",
  36297. "type": "integer"
  36298. },
  36299. "closememberchargevalue": {
  36300. "description": "平仓会员手续费设置值",
  36301. "type": "number"
  36302. },
  36303. "closepl": {
  36304. "description": "平仓盈亏",
  36305. "type": "number"
  36306. },
  36307. "closepl2": {
  36308. "description": "平仓盈亏[逐笔]",
  36309. "type": "number"
  36310. },
  36311. "closeqty": {
  36312. "description": "平仓数量(先建后平操作 需要记录)",
  36313. "type": "number"
  36314. },
  36315. "creditamount": {
  36316. "description": "授信金额",
  36317. "type": "number"
  36318. },
  36319. "decimalplace": {
  36320. "description": "商品报价小数位",
  36321. "type": "integer"
  36322. },
  36323. "enumdicname": {
  36324. "description": "单位名称",
  36325. "type": "string"
  36326. },
  36327. "gcaccountid": {
  36328. "description": "账户ID[合约币种]",
  36329. "type": "integer"
  36330. },
  36331. "goodscode": {
  36332. "description": "商品代码",
  36333. "type": "string"
  36334. },
  36335. "goodsid": {
  36336. "description": "商品ID",
  36337. "type": "integer"
  36338. },
  36339. "goodsname": {
  36340. "description": "商品名称",
  36341. "type": "string"
  36342. },
  36343. "goodunitid": {
  36344. "description": "商品单位id",
  36345. "type": "integer"
  36346. },
  36347. "intclosepl": {
  36348. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36349. "type": "integer"
  36350. },
  36351. "isconfirmexercise": {
  36352. "description": "是否确认行权- 0:否 1:是",
  36353. "type": "integer"
  36354. },
  36355. "ismain": {
  36356. "description": "是否主单 - 0:不是 1:是",
  36357. "type": "integer"
  36358. },
  36359. "ispreexercise": {
  36360. "description": "是否预申报- 0:否 1:是",
  36361. "type": "integer"
  36362. },
  36363. "isreckoned": {
  36364. "description": "是否结算 - 0:未结算 1:已结算",
  36365. "type": "integer"
  36366. },
  36367. "listingselecttype": {
  36368. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36369. "type": "integer"
  36370. },
  36371. "marketid": {
  36372. "description": "市场ID",
  36373. "type": "integer"
  36374. },
  36375. "marketname": {
  36376. "description": "市场名称",
  36377. "type": "string"
  36378. },
  36379. "matchaccountid": {
  36380. "description": "对手账号id",
  36381. "type": "integer"
  36382. },
  36383. "memberuserid": {
  36384. "description": "会员id 个人投资者 需要填写",
  36385. "type": "integer"
  36386. },
  36387. "opencharge": {
  36388. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36389. "type": "number"
  36390. },
  36391. "openexchagechargevalue": {
  36392. "description": "建仓交易所手续费设置值",
  36393. "type": "number"
  36394. },
  36395. "openfeealgorithm": {
  36396. "description": "建仓手续费收取方式 1:比率 2:固定",
  36397. "type": "integer"
  36398. },
  36399. "openmemberchargevalue": {
  36400. "description": "建仓会员手续费设置值",
  36401. "type": "number"
  36402. },
  36403. "openqty": {
  36404. "description": "开仓数量(先建后平操作 需要记录)",
  36405. "type": "number"
  36406. },
  36407. "optiontype": {
  36408. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36409. "type": "integer"
  36410. },
  36411. "orderid": {
  36412. "description": "委托单号",
  36413. "type": "string"
  36414. },
  36415. "payamount": {
  36416. "description": "支付金额(付款金额)",
  36417. "type": "number"
  36418. },
  36419. "performanceplanid": {
  36420. "description": "履约计划ID[期权]",
  36421. "type": "integer"
  36422. },
  36423. "performancestatus": {
  36424. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36425. "type": "integer"
  36426. },
  36427. "preexerciseprice": {
  36428. "description": "预申报价格",
  36429. "type": "number"
  36430. },
  36431. "premium": {
  36432. "description": "权利金 - [持仓单的权利金]",
  36433. "type": "number"
  36434. },
  36435. "qtydecimalplace": {
  36436. "description": "商品报价小数位",
  36437. "type": "integer"
  36438. },
  36439. "recvamount": {
  36440. "description": "到账金额 = 成交金额 - 手续费",
  36441. "type": "number"
  36442. },
  36443. "relatedouttradeid": {
  36444. "description": "关联外部成交单ID",
  36445. "type": "integer"
  36446. },
  36447. "status": {
  36448. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36449. "type": "integer"
  36450. },
  36451. "totalamount": {
  36452. "description": "订单总额 = 成交金额 + 手续费",
  36453. "type": "number"
  36454. },
  36455. "tradeamount": {
  36456. "description": "成交金额[账户币种,用于所有权]",
  36457. "type": "number"
  36458. },
  36459. "tradedate": {
  36460. "description": "交易日(yyyyMMdd)",
  36461. "type": "string"
  36462. },
  36463. "tradeid": {
  36464. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36465. "type": "string"
  36466. },
  36467. "trademode": {
  36468. "description": "交易模式",
  36469. "type": "integer"
  36470. },
  36471. "tradeprice": {
  36472. "description": "成交价格",
  36473. "type": "number"
  36474. },
  36475. "tradeproperty": {
  36476. "description": "交易属性",
  36477. "type": "integer"
  36478. },
  36479. "tradeqty": {
  36480. "description": "成交数量",
  36481. "type": "number"
  36482. },
  36483. "tradetime": {
  36484. "description": "成交时间",
  36485. "type": "string"
  36486. },
  36487. "tradetype": {
  36488. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36489. "type": "integer"
  36490. }
  36491. }
  36492. },
  36493. "order.QueryTradeOrderDetailRsp": {
  36494. "type": "object",
  36495. "required": [
  36496. "accountid",
  36497. "buildtype",
  36498. "buyorsell",
  36499. "goodsid",
  36500. "marketid",
  36501. "operatetype",
  36502. "orderqty",
  36503. "ordertime",
  36504. "pricemode",
  36505. "tradedate",
  36506. "validtype"
  36507. ],
  36508. "properties": {
  36509. "accountid": {
  36510. "description": "账户ID[报价币种]",
  36511. "type": "integer"
  36512. },
  36513. "buildtype": {
  36514. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36515. "type": "integer"
  36516. },
  36517. "buyorsell": {
  36518. "description": "买卖 - 0:买 1:卖",
  36519. "type": "integer"
  36520. },
  36521. "cancelorderid": {
  36522. "description": "撤单单号(撤单时填写)",
  36523. "type": "string"
  36524. },
  36525. "cancelqty": {
  36526. "description": "撤单数量",
  36527. "type": "number"
  36528. },
  36529. "clienttype": {
  36530. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36531. "type": "integer"
  36532. },
  36533. "closefreezecharge": {
  36534. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36535. "type": "number"
  36536. },
  36537. "closeqty": {
  36538. "description": "平仓数量(先建后平操作 需要记录)",
  36539. "type": "number"
  36540. },
  36541. "closetradeqty": {
  36542. "description": "平仓成交数量(先建后平操作,需要记录)",
  36543. "type": "number"
  36544. },
  36545. "closeunfreezecharge": {
  36546. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36547. "type": "number"
  36548. },
  36549. "decimalplace": {
  36550. "description": "商品报价小数位",
  36551. "type": "integer"
  36552. },
  36553. "delistingtype": {
  36554. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36555. "type": "integer"
  36556. },
  36557. "enableqty": {
  36558. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  36559. "type": "number"
  36560. },
  36561. "enumdicname": {
  36562. "description": "单位名称",
  36563. "type": "string"
  36564. },
  36565. "freezecharge": {
  36566. "description": "冻结手续费",
  36567. "type": "number"
  36568. },
  36569. "freezemargin": {
  36570. "description": "冻结保证金(冻结交易金额)",
  36571. "type": "number"
  36572. },
  36573. "goodscode": {
  36574. "description": "商品代码",
  36575. "type": "string"
  36576. },
  36577. "goodsid": {
  36578. "description": "商品ID",
  36579. "type": "integer"
  36580. },
  36581. "goodsname": {
  36582. "description": "商品名称",
  36583. "type": "string"
  36584. },
  36585. "goodunitid": {
  36586. "description": "商品单位id",
  36587. "type": "integer"
  36588. },
  36589. "listingselecttype": {
  36590. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36591. "type": "integer"
  36592. },
  36593. "marketid": {
  36594. "description": "市场ID",
  36595. "type": "integer"
  36596. },
  36597. "marketname": {
  36598. "description": "市场名称",
  36599. "type": "string"
  36600. },
  36601. "openfreezecharge": {
  36602. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36603. "type": "number"
  36604. },
  36605. "openqty": {
  36606. "description": "开仓数量(先建后平操作,需要记录)",
  36607. "type": "number"
  36608. },
  36609. "opentradeqty": {
  36610. "description": "开仓成交数量(先建后平操作,需要记录)",
  36611. "type": "number"
  36612. },
  36613. "openunfreezecharge": {
  36614. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36615. "type": "number"
  36616. },
  36617. "operatetype": {
  36618. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36619. "type": "integer"
  36620. },
  36621. "operatorid": {
  36622. "description": "登录账号(LoginID)",
  36623. "type": "integer"
  36624. },
  36625. "orderid": {
  36626. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36627. "type": "string"
  36628. },
  36629. "orderprice": {
  36630. "description": "委托价格",
  36631. "type": "number"
  36632. },
  36633. "orderqty": {
  36634. "description": "委托数量",
  36635. "type": "number"
  36636. },
  36637. "ordersrc": {
  36638. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36639. "type": "integer"
  36640. },
  36641. "orderstatus": {
  36642. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36643. "type": "integer"
  36644. },
  36645. "ordertime": {
  36646. "description": "委托时间",
  36647. "type": "string"
  36648. },
  36649. "preorderid": {
  36650. "description": "关联预埋单号(止盈止损单时填写)",
  36651. "type": "string"
  36652. },
  36653. "pricemode": {
  36654. "description": "取价方式 - 1:市价 2: 限价",
  36655. "type": "integer"
  36656. },
  36657. "qtydecimalplace": {
  36658. "description": "商品报价小数位",
  36659. "type": "integer"
  36660. },
  36661. "relatedid": {
  36662. "description": "关联单号(交割单)",
  36663. "type": "string"
  36664. },
  36665. "tradedate": {
  36666. "description": "交易日(yyyyMMdd)",
  36667. "type": "string"
  36668. },
  36669. "trademode": {
  36670. "description": "交易模式",
  36671. "type": "integer"
  36672. },
  36673. "tradeqty": {
  36674. "description": "成交数量",
  36675. "type": "number"
  36676. },
  36677. "unfreezecharge": {
  36678. "description": "解冻手续费",
  36679. "type": "number"
  36680. },
  36681. "unfreezemargin": {
  36682. "description": "解冻保证金",
  36683. "type": "number"
  36684. },
  36685. "validtime": {
  36686. "description": "有效期限",
  36687. "type": "string"
  36688. },
  36689. "validtype": {
  36690. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36691. "type": "integer"
  36692. },
  36693. "volumetype": {
  36694. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36695. "type": "integer"
  36696. }
  36697. }
  36698. },
  36699. "order.QueryTradePositionRsp": {
  36700. "type": "object",
  36701. "required": [
  36702. "goodsid"
  36703. ],
  36704. "properties": {
  36705. "accountid": {
  36706. "description": "资金账户",
  36707. "type": "integer"
  36708. },
  36709. "agreeunit": {
  36710. "description": "合约单位",
  36711. "type": "number"
  36712. },
  36713. "averageprice": {
  36714. "description": "持仓均价",
  36715. "type": "number"
  36716. },
  36717. "buyorsell": {
  36718. "description": "方向 - 0:买 1:卖",
  36719. "type": "integer"
  36720. },
  36721. "closetotalqty": {
  36722. "description": "平仓总数量",
  36723. "type": "number"
  36724. },
  36725. "curholderamount": {
  36726. "description": "当前持仓总金额[商品币种]",
  36727. "type": "number"
  36728. },
  36729. "curpositionqty": {
  36730. "description": "当前持仓总数量",
  36731. "type": "number"
  36732. },
  36733. "currencyid": {
  36734. "description": "报价货币ID",
  36735. "type": "integer"
  36736. },
  36737. "curtdposition": {
  36738. "description": "期末今日头寸",
  36739. "type": "number"
  36740. },
  36741. "decimalplace": {
  36742. "description": "报价小数位",
  36743. "type": "integer"
  36744. },
  36745. "enableqty": {
  36746. "description": "可用量",
  36747. "type": "number"
  36748. },
  36749. "fretdposition": {
  36750. "description": "冻结今日头寸",
  36751. "type": "number"
  36752. },
  36753. "frozenqty": {
  36754. "description": "持仓冻结数量",
  36755. "type": "number"
  36756. },
  36757. "goodscode": {
  36758. "description": "商品代码",
  36759. "type": "string"
  36760. },
  36761. "goodsid": {
  36762. "description": "商品Id",
  36763. "type": "integer"
  36764. },
  36765. "goodsname": {
  36766. "description": "商品名称",
  36767. "type": "string"
  36768. },
  36769. "goodunit": {
  36770. "description": "报价单位",
  36771. "type": "string"
  36772. },
  36773. "goodunitid": {
  36774. "description": "报价单位ID",
  36775. "type": "integer"
  36776. },
  36777. "holderamount": {
  36778. "description": "期初持仓总金额[商品币种]",
  36779. "type": "number"
  36780. },
  36781. "lastprice": {
  36782. "description": "最新价",
  36783. "type": "number"
  36784. },
  36785. "marketamount": {
  36786. "description": "市值",
  36787. "type": "number"
  36788. },
  36789. "marketid": {
  36790. "description": "所属市场ID",
  36791. "type": "integer"
  36792. },
  36793. "openreqqty": {
  36794. "description": "开仓申请数量(用于比较最大持仓数量)",
  36795. "type": "number"
  36796. },
  36797. "opentotalqty": {
  36798. "description": "开仓总数量",
  36799. "type": "number"
  36800. },
  36801. "otherfrozenqty": {
  36802. "description": "持仓其他冻结数量(交割冻结)",
  36803. "type": "number"
  36804. },
  36805. "positionpl": {
  36806. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  36807. "type": "number"
  36808. },
  36809. "positionplrate": {
  36810. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  36811. "type": "number"
  36812. },
  36813. "positionqty": {
  36814. "description": "期初持仓数量",
  36815. "type": "number"
  36816. },
  36817. "qtydecimalplace": {
  36818. "description": "成交量小数位",
  36819. "type": "integer"
  36820. },
  36821. "tnqty": {
  36822. "description": "T+N冻结总量",
  36823. "type": "number"
  36824. },
  36825. "tnusedqty": {
  36826. "description": "T+N使用量(可以使用T+N的冻结数量)",
  36827. "type": "number"
  36828. },
  36829. "trademode": {
  36830. "description": "交易模式",
  36831. "type": "integer"
  36832. },
  36833. "tradeproperty": {
  36834. "description": "交易属性",
  36835. "type": "integer"
  36836. },
  36837. "usedmargin": {
  36838. "description": "占用保证金[商品币种]",
  36839. "type": "number"
  36840. }
  36841. }
  36842. },
  36843. "pb.GoodsMarginCfgStruct": {
  36844. "type": "object",
  36845. "properties": {
  36846. "CustomerTypeID": {
  36847. "description": "投资者客户类型",
  36848. "type": "integer"
  36849. },
  36850. "GoodsID": {
  36851. "description": "商品ID",
  36852. "type": "integer"
  36853. },
  36854. "IsDefault": {
  36855. "description": "是否默认标志位",
  36856. "type": "integer"
  36857. },
  36858. "LockMarginValue": {
  36859. "description": "锁仓保证金",
  36860. "type": "number"
  36861. },
  36862. "MarginAlgorithm": {
  36863. "description": "保证金计算方式",
  36864. "type": "integer"
  36865. },
  36866. "MarketMarginValue": {
  36867. "description": "即市保证金值",
  36868. "type": "number"
  36869. },
  36870. "RealMarginAlgorithm": {
  36871. "description": "实付保证金计算方式",
  36872. "type": "integer"
  36873. },
  36874. "RealMarginValue": {
  36875. "description": "实付比例",
  36876. "type": "number"
  36877. },
  36878. "ReckonMarginValue": {
  36879. "description": "结算保证金值",
  36880. "type": "number"
  36881. }
  36882. }
  36883. },
  36884. "quote.HistoryData": {
  36885. "type": "object",
  36886. "properties": {
  36887. "c": {
  36888. "description": "收盘价",
  36889. "type": "number"
  36890. },
  36891. "f": {
  36892. "description": "是否补充数据",
  36893. "type": "boolean"
  36894. },
  36895. "h": {
  36896. "description": "最高价",
  36897. "type": "number"
  36898. },
  36899. "hv": {
  36900. "description": "持仓量",
  36901. "type": "integer"
  36902. },
  36903. "l": {
  36904. "description": "最低价",
  36905. "type": "number"
  36906. },
  36907. "o": {
  36908. "description": "开盘价",
  36909. "type": "number"
  36910. },
  36911. "s": {
  36912. "description": "结算价,日线周期(包括)以上才有",
  36913. "type": "number"
  36914. },
  36915. "ts": {
  36916. "description": "时间",
  36917. "type": "string"
  36918. },
  36919. "tt": {
  36920. "description": "总金额",
  36921. "type": "number"
  36922. },
  36923. "tv": {
  36924. "description": "总量(成交量)",
  36925. "type": "integer"
  36926. }
  36927. }
  36928. },
  36929. "quote.HistoryTikData": {
  36930. "type": "object",
  36931. "properties": {
  36932. "AV": {
  36933. "description": "卖量",
  36934. "type": "integer"
  36935. },
  36936. "Ask": {
  36937. "description": "卖价",
  36938. "type": "number"
  36939. },
  36940. "BV": {
  36941. "description": "买量",
  36942. "type": "integer"
  36943. },
  36944. "Bid": {
  36945. "description": "买价",
  36946. "type": "number"
  36947. },
  36948. "HI": {
  36949. "description": "单笔持仓",
  36950. "type": "integer"
  36951. },
  36952. "HV": {
  36953. "description": "持仓量",
  36954. "type": "integer"
  36955. },
  36956. "PE": {
  36957. "description": "现价",
  36958. "type": "number"
  36959. },
  36960. "TDR": {
  36961. "description": "交易方向,0:买 1:卖",
  36962. "type": "integer"
  36963. },
  36964. "TK": {
  36965. "description": "交易类型",
  36966. "type": "integer"
  36967. },
  36968. "TS": {
  36969. "description": "行情时间文本",
  36970. "type": "string"
  36971. },
  36972. "TT": {
  36973. "description": "现金额",
  36974. "type": "number"
  36975. },
  36976. "Vol": {
  36977. "description": "现量",
  36978. "type": "integer"
  36979. }
  36980. }
  36981. },
  36982. "quote.QueryQuoteDayRsp": {
  36983. "type": "object",
  36984. "properties": {
  36985. "ask": {
  36986. "description": "卖1",
  36987. "type": "number"
  36988. },
  36989. "ask10": {
  36990. "description": "卖10",
  36991. "type": "number"
  36992. },
  36993. "ask2": {
  36994. "description": "卖2",
  36995. "type": "number"
  36996. },
  36997. "ask3": {
  36998. "description": "卖3",
  36999. "type": "number"
  37000. },
  37001. "ask4": {
  37002. "description": "卖4",
  37003. "type": "number"
  37004. },
  37005. "ask5": {
  37006. "description": "卖5",
  37007. "type": "number"
  37008. },
  37009. "ask6": {
  37010. "description": "卖6",
  37011. "type": "number"
  37012. },
  37013. "ask7": {
  37014. "description": "卖7",
  37015. "type": "number"
  37016. },
  37017. "ask8": {
  37018. "description": "卖8",
  37019. "type": "number"
  37020. },
  37021. "ask9": {
  37022. "description": "卖9",
  37023. "type": "number"
  37024. },
  37025. "askorderid": {
  37026. "description": "卖单号1",
  37027. "type": "integer"
  37028. },
  37029. "askorderid2": {
  37030. "description": "卖单号2",
  37031. "type": "integer"
  37032. },
  37033. "askorderid3": {
  37034. "description": "卖单号3",
  37035. "type": "integer"
  37036. },
  37037. "askorderid4": {
  37038. "description": "卖单号4",
  37039. "type": "integer"
  37040. },
  37041. "askorderid5": {
  37042. "description": "卖单号5",
  37043. "type": "integer"
  37044. },
  37045. "askordervolume": {
  37046. "description": "卖单量1",
  37047. "type": "integer"
  37048. },
  37049. "askordervolume10": {
  37050. "description": "卖单量10",
  37051. "type": "integer"
  37052. },
  37053. "askordervolume2": {
  37054. "description": "卖单量2",
  37055. "type": "integer"
  37056. },
  37057. "askordervolume3": {
  37058. "description": "卖单量3",
  37059. "type": "integer"
  37060. },
  37061. "askordervolume4": {
  37062. "description": "卖单量4",
  37063. "type": "integer"
  37064. },
  37065. "askordervolume5": {
  37066. "description": "卖单量5",
  37067. "type": "integer"
  37068. },
  37069. "askordervolume6": {
  37070. "description": "卖单量6",
  37071. "type": "integer"
  37072. },
  37073. "askordervolume7": {
  37074. "description": "卖单量7",
  37075. "type": "integer"
  37076. },
  37077. "askordervolume8": {
  37078. "description": "卖单量8",
  37079. "type": "integer"
  37080. },
  37081. "askordervolume9": {
  37082. "description": "卖单量9",
  37083. "type": "integer"
  37084. },
  37085. "askqueueinfo": {
  37086. "description": "大利市卖港股用",
  37087. "type": "string"
  37088. },
  37089. "askvolume": {
  37090. "description": "卖量1",
  37091. "type": "integer"
  37092. },
  37093. "askvolume10": {
  37094. "description": "卖量10",
  37095. "type": "integer"
  37096. },
  37097. "askvolume2": {
  37098. "description": "卖量2",
  37099. "type": "integer"
  37100. },
  37101. "askvolume3": {
  37102. "description": "卖量3",
  37103. "type": "integer"
  37104. },
  37105. "askvolume4": {
  37106. "description": "卖量4",
  37107. "type": "integer"
  37108. },
  37109. "askvolume5": {
  37110. "description": "卖量5",
  37111. "type": "integer"
  37112. },
  37113. "askvolume6": {
  37114. "description": "卖量6",
  37115. "type": "integer"
  37116. },
  37117. "askvolume7": {
  37118. "description": "卖量7",
  37119. "type": "integer"
  37120. },
  37121. "askvolume8": {
  37122. "description": "卖量8",
  37123. "type": "integer"
  37124. },
  37125. "askvolume9": {
  37126. "description": "卖量9",
  37127. "type": "integer"
  37128. },
  37129. "averageprice": {
  37130. "description": "均价",
  37131. "type": "number"
  37132. },
  37133. "bid": {
  37134. "description": "买1",
  37135. "type": "number"
  37136. },
  37137. "bid10": {
  37138. "description": "买10",
  37139. "type": "number"
  37140. },
  37141. "bid2": {
  37142. "description": "买2",
  37143. "type": "number"
  37144. },
  37145. "bid3": {
  37146. "description": "买3",
  37147. "type": "number"
  37148. },
  37149. "bid4": {
  37150. "description": "买4",
  37151. "type": "number"
  37152. },
  37153. "bid5": {
  37154. "description": "买5",
  37155. "type": "number"
  37156. },
  37157. "bid6": {
  37158. "description": "买6",
  37159. "type": "number"
  37160. },
  37161. "bid7": {
  37162. "description": "买7",
  37163. "type": "number"
  37164. },
  37165. "bid8": {
  37166. "description": "买8",
  37167. "type": "number"
  37168. },
  37169. "bid9": {
  37170. "description": "买9",
  37171. "type": "number"
  37172. },
  37173. "bidorderid": {
  37174. "description": "买单号1",
  37175. "type": "integer"
  37176. },
  37177. "bidorderid2": {
  37178. "description": "买单号2",
  37179. "type": "integer"
  37180. },
  37181. "bidorderid3": {
  37182. "description": "买单号3",
  37183. "type": "integer"
  37184. },
  37185. "bidorderid4": {
  37186. "description": "买单号4",
  37187. "type": "integer"
  37188. },
  37189. "bidorderid5": {
  37190. "description": "买单号5",
  37191. "type": "integer"
  37192. },
  37193. "bidordervolume": {
  37194. "description": "买单量1",
  37195. "type": "integer"
  37196. },
  37197. "bidordervolume10": {
  37198. "description": "买单量10",
  37199. "type": "integer"
  37200. },
  37201. "bidordervolume2": {
  37202. "description": "买单量2",
  37203. "type": "integer"
  37204. },
  37205. "bidordervolume3": {
  37206. "description": "买单量3",
  37207. "type": "integer"
  37208. },
  37209. "bidordervolume4": {
  37210. "description": "买单量4",
  37211. "type": "integer"
  37212. },
  37213. "bidordervolume5": {
  37214. "description": "买单量5",
  37215. "type": "integer"
  37216. },
  37217. "bidordervolume6": {
  37218. "description": "买单量6",
  37219. "type": "integer"
  37220. },
  37221. "bidordervolume7": {
  37222. "description": "买单量7",
  37223. "type": "integer"
  37224. },
  37225. "bidordervolume8": {
  37226. "description": "买单量8",
  37227. "type": "integer"
  37228. },
  37229. "bidordervolume9": {
  37230. "description": "买单量9",
  37231. "type": "integer"
  37232. },
  37233. "bidqueueinfo": {
  37234. "description": "大利市买港股用",
  37235. "type": "string"
  37236. },
  37237. "bidvolume": {
  37238. "description": "买量1",
  37239. "type": "integer"
  37240. },
  37241. "bidvolume10": {
  37242. "description": "买量10",
  37243. "type": "integer"
  37244. },
  37245. "bidvolume2": {
  37246. "description": "买量2",
  37247. "type": "integer"
  37248. },
  37249. "bidvolume3": {
  37250. "description": "买量3",
  37251. "type": "integer"
  37252. },
  37253. "bidvolume4": {
  37254. "description": "买量4",
  37255. "type": "integer"
  37256. },
  37257. "bidvolume5": {
  37258. "description": "买量5",
  37259. "type": "integer"
  37260. },
  37261. "bidvolume6": {
  37262. "description": "买量6",
  37263. "type": "integer"
  37264. },
  37265. "bidvolume7": {
  37266. "description": "买量7",
  37267. "type": "integer"
  37268. },
  37269. "bidvolume8": {
  37270. "description": "买量8",
  37271. "type": "integer"
  37272. },
  37273. "bidvolume9": {
  37274. "description": "买量9",
  37275. "type": "integer"
  37276. },
  37277. "calloptionpremiums": {
  37278. "description": "认购期权1",
  37279. "type": "integer"
  37280. },
  37281. "calloptionpremiums2": {
  37282. "description": "认购期权2",
  37283. "type": "integer"
  37284. },
  37285. "calloptionpremiums3": {
  37286. "description": "认购期权3",
  37287. "type": "integer"
  37288. },
  37289. "calloptionpremiums4": {
  37290. "description": "认购期权4",
  37291. "type": "integer"
  37292. },
  37293. "calloptionpremiums5": {
  37294. "description": "认购期权5",
  37295. "type": "integer"
  37296. },
  37297. "cleartime": {
  37298. "description": "清盘时间",
  37299. "type": "integer"
  37300. },
  37301. "exchangecode": {
  37302. "description": "交易所代码",
  37303. "type": "integer"
  37304. },
  37305. "exchangedate": {
  37306. "description": "交易日",
  37307. "type": "integer"
  37308. },
  37309. "goodscode": {
  37310. "description": "商品代码",
  37311. "type": "string"
  37312. },
  37313. "grepmarketprice": {
  37314. "description": "暗盘价 港股专用",
  37315. "type": "number"
  37316. },
  37317. "highest": {
  37318. "description": "最高价",
  37319. "type": "number"
  37320. },
  37321. "holdincrement": {
  37322. "description": "单笔持仓",
  37323. "type": "integer"
  37324. },
  37325. "holdvolume": {
  37326. "description": "持仓",
  37327. "type": "integer"
  37328. },
  37329. "iep": {
  37330. "description": "平衡价 港股专用",
  37331. "type": "number"
  37332. },
  37333. "iev": {
  37334. "description": "平衡量 港股专用",
  37335. "type": "number"
  37336. },
  37337. "inventory": {
  37338. "description": "库存",
  37339. "type": "integer"
  37340. },
  37341. "iscleared": {
  37342. "description": "是否清盘标志",
  37343. "type": "integer"
  37344. },
  37345. "issettled": {
  37346. "description": "是否结算标志",
  37347. "type": "integer"
  37348. },
  37349. "last": {
  37350. "description": "最新价",
  37351. "type": "number"
  37352. },
  37353. "lastlot": {
  37354. "description": "最新成交手数",
  37355. "type": "integer"
  37356. },
  37357. "lasttime": {
  37358. "description": "行情时间(只有现价变化行情时间才变化)",
  37359. "type": "string"
  37360. },
  37361. "lastturnover": {
  37362. "description": "最新成交金额",
  37363. "type": "number"
  37364. },
  37365. "lastvolume": {
  37366. "description": "最新成交量",
  37367. "type": "integer"
  37368. },
  37369. "limitdown": {
  37370. "description": "跌停价",
  37371. "type": "number"
  37372. },
  37373. "limitup": {
  37374. "description": "涨停价",
  37375. "type": "number"
  37376. },
  37377. "lowest": {
  37378. "description": "最低价",
  37379. "type": "number"
  37380. },
  37381. "nontotalholdervolume": {
  37382. "description": "非交易持仓量",
  37383. "type": "integer"
  37384. },
  37385. "nontotallot": {
  37386. "description": "非交易总手数",
  37387. "type": "integer"
  37388. },
  37389. "nontotalturnover": {
  37390. "description": "非交易总金额",
  37391. "type": "integer"
  37392. },
  37393. "nontotalvolume": {
  37394. "description": "非交易总量",
  37395. "type": "integer"
  37396. },
  37397. "opened": {
  37398. "description": "开盘价",
  37399. "type": "number"
  37400. },
  37401. "opentime": {
  37402. "description": "开盘时间",
  37403. "type": "string"
  37404. },
  37405. "orderid": {
  37406. "description": "序号",
  37407. "type": "integer"
  37408. },
  37409. "preclose": {
  37410. "description": "昨收",
  37411. "type": "number"
  37412. },
  37413. "preholdvolume": {
  37414. "description": "昨持仓",
  37415. "type": "integer"
  37416. },
  37417. "presettle": {
  37418. "description": "昨结价",
  37419. "type": "number"
  37420. },
  37421. "publictradetype": {
  37422. "description": "公共交易标志类型 港股专用",
  37423. "type": "string"
  37424. },
  37425. "putoptionpremiums": {
  37426. "description": "认沽期权1",
  37427. "type": "integer"
  37428. },
  37429. "putoptionpremiums2": {
  37430. "description": "认沽期权2",
  37431. "type": "integer"
  37432. },
  37433. "putoptionpremiums3": {
  37434. "description": "认沽期权3",
  37435. "type": "integer"
  37436. },
  37437. "putoptionpremiums4": {
  37438. "description": "认沽期权4",
  37439. "type": "integer"
  37440. },
  37441. "putoptionpremiums5": {
  37442. "description": "认沽期权5",
  37443. "type": "integer"
  37444. },
  37445. "settle": {
  37446. "description": "结算价",
  37447. "type": "number"
  37448. },
  37449. "strikeprice": {
  37450. "description": "发行价",
  37451. "type": "number"
  37452. },
  37453. "totalaskvolume": {
  37454. "description": "内盘",
  37455. "type": "integer"
  37456. },
  37457. "totalbidvolume": {
  37458. "description": "外盘",
  37459. "type": "integer"
  37460. },
  37461. "totallot": {
  37462. "description": "总手数",
  37463. "type": "integer"
  37464. },
  37465. "totalturnover": {
  37466. "description": "总金额",
  37467. "type": "number"
  37468. },
  37469. "totalvolume": {
  37470. "description": "总量",
  37471. "type": "integer"
  37472. },
  37473. "utclasttime": {
  37474. "description": "utc的行情时间",
  37475. "type": "string"
  37476. }
  37477. }
  37478. },
  37479. "quote.QueryTSDataRsp": {
  37480. "type": "object",
  37481. "properties": {
  37482. "Count": {
  37483. "description": "交易日应有数据个数",
  37484. "type": "integer"
  37485. },
  37486. "decimalPlace": {
  37487. "description": "小数位",
  37488. "type": "integer"
  37489. },
  37490. "endTime": {
  37491. "description": "结束时间",
  37492. "type": "string"
  37493. },
  37494. "goodsCode": {
  37495. "description": "商品代码",
  37496. "type": "string"
  37497. },
  37498. "historyDatas": {
  37499. "description": "历史数据",
  37500. "type": "array",
  37501. "items": {
  37502. "$ref": "#/definitions/quote.HistoryData"
  37503. }
  37504. },
  37505. "outGoodsCode": {
  37506. "description": "外部商品代码",
  37507. "type": "string"
  37508. },
  37509. "preSettle": {
  37510. "description": "昨结价",
  37511. "type": "number"
  37512. },
  37513. "runSteps": {
  37514. "description": "交易日开休市计划",
  37515. "type": "array",
  37516. "items": {
  37517. "$ref": "#/definitions/quote.TSDataRunStep"
  37518. }
  37519. },
  37520. "startTime": {
  37521. "description": "开始时间",
  37522. "type": "string"
  37523. },
  37524. "tradeDate": {
  37525. "description": "交易日",
  37526. "type": "string"
  37527. }
  37528. }
  37529. },
  37530. "quote.TSDataRunStep": {
  37531. "type": "object",
  37532. "properties": {
  37533. "end": {
  37534. "description": "真实结束时间",
  37535. "type": "string"
  37536. },
  37537. "endflag": {
  37538. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  37539. "type": "integer"
  37540. },
  37541. "endtime": {
  37542. "description": "结束时间(HH:mm)",
  37543. "type": "string"
  37544. },
  37545. "endweekday": {
  37546. "description": "结束周几",
  37547. "type": "integer"
  37548. },
  37549. "groupid": {
  37550. "description": "分组ID",
  37551. "type": "integer"
  37552. },
  37553. "runstep": {
  37554. "description": "运行阶段 - 2:连续交易",
  37555. "type": "integer"
  37556. },
  37557. "sectionid": {
  37558. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  37559. "type": "integer"
  37560. },
  37561. "start": {
  37562. "description": "真实开始时间",
  37563. "type": "string"
  37564. },
  37565. "startflag": {
  37566. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  37567. "type": "integer"
  37568. },
  37569. "starttime": {
  37570. "description": "起始时间(HH:mm)",
  37571. "type": "string"
  37572. },
  37573. "startweekday": {
  37574. "description": "起始周几",
  37575. "type": "integer"
  37576. },
  37577. "tradeweekday": {
  37578. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  37579. "type": "integer"
  37580. }
  37581. }
  37582. },
  37583. "szdz.QueryConvertLogRsp": {
  37584. "type": "object",
  37585. "required": [
  37586. "logid"
  37587. ],
  37588. "properties": {
  37589. "accountid": {
  37590. "description": "资金账户ID",
  37591. "type": "integer"
  37592. },
  37593. "clientticket": {
  37594. "description": "客户端流水号",
  37595. "type": "string"
  37596. },
  37597. "converttype": {
  37598. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  37599. "type": "integer"
  37600. },
  37601. "createtime": {
  37602. "description": "记账时间",
  37603. "type": "string"
  37604. },
  37605. "daymaxvalue": {
  37606. "description": "配置当日最大转入限制",
  37607. "type": "number"
  37608. },
  37609. "daymaxvalue2": {
  37610. "description": "配置当日最大转入限制(转入)",
  37611. "type": "number"
  37612. },
  37613. "goodscode": {
  37614. "description": "商品代码",
  37615. "type": "string"
  37616. },
  37617. "goodsname": {
  37618. "description": "商品名称",
  37619. "type": "string"
  37620. },
  37621. "handlestatus": {
  37622. "description": "处理状态",
  37623. "type": "integer"
  37624. },
  37625. "innergoodsid": {
  37626. "description": "内部商品ID",
  37627. "type": "integer"
  37628. },
  37629. "inratio": {
  37630. "description": "配置转入比值",
  37631. "type": "integer"
  37632. },
  37633. "invalue": {
  37634. "description": "目标值",
  37635. "type": "number"
  37636. },
  37637. "logid": {
  37638. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37639. "type": "integer"
  37640. },
  37641. "mobile": {
  37642. "description": "手机号码(加密存储)",
  37643. "type": "string"
  37644. },
  37645. "outergoodscode": {
  37646. "description": "外部商品代码[JD\\PD]",
  37647. "type": "string"
  37648. },
  37649. "outratio": {
  37650. "description": "配置转出比值",
  37651. "type": "integer"
  37652. },
  37653. "outvalue": {
  37654. "description": "源值",
  37655. "type": "number"
  37656. },
  37657. "pddecimalplace": {
  37658. "description": "PD小数位",
  37659. "type": "integer"
  37660. },
  37661. "qty": {
  37662. "description": "数量",
  37663. "type": "string"
  37664. },
  37665. "remark": {
  37666. "description": "备注",
  37667. "type": "string"
  37668. },
  37669. "sessionid": {
  37670. "description": "会话ID",
  37671. "type": "integer"
  37672. },
  37673. "timemaxvalue": {
  37674. "description": "配置单次最大转入限制",
  37675. "type": "number"
  37676. },
  37677. "timemaxvalue2": {
  37678. "description": "配置单次最大转入限制(转入)",
  37679. "type": "number"
  37680. },
  37681. "timeminvalue": {
  37682. "description": "配置单次最小数量限制",
  37683. "type": "number"
  37684. },
  37685. "timeminvalue2": {
  37686. "description": "配置单次最小数量限制(转入)",
  37687. "type": "number"
  37688. },
  37689. "tradedate": {
  37690. "description": "交易日(yyyyMMdd)",
  37691. "type": "string"
  37692. },
  37693. "userid": {
  37694. "description": "用户ID",
  37695. "type": "integer"
  37696. }
  37697. }
  37698. },
  37699. "szdz.QueryGoodsPickupRsp": {
  37700. "type": "object",
  37701. "required": [
  37702. "takeorderid"
  37703. ],
  37704. "properties": {
  37705. "accountid": {
  37706. "description": "账户ID",
  37707. "type": "integer"
  37708. },
  37709. "address": {
  37710. "description": "提货人详细地址",
  37711. "type": "string"
  37712. },
  37713. "auditer": {
  37714. "description": "审核人",
  37715. "type": "integer"
  37716. },
  37717. "audittime": {
  37718. "description": "审核时间",
  37719. "type": "string"
  37720. },
  37721. "cardnum": {
  37722. "description": "提货人证件号码",
  37723. "type": "string"
  37724. },
  37725. "cardtypeid": {
  37726. "description": "提货人证件类型",
  37727. "type": "integer"
  37728. },
  37729. "checkremark": {
  37730. "description": "审核备注",
  37731. "type": "string"
  37732. },
  37733. "goodscode": {
  37734. "description": "商品代码",
  37735. "type": "string"
  37736. },
  37737. "goodsid": {
  37738. "description": "商品ID",
  37739. "type": "integer"
  37740. },
  37741. "goodsname": {
  37742. "description": "商品名称",
  37743. "type": "string"
  37744. },
  37745. "handlestatus": {
  37746. "description": "处理状态",
  37747. "type": "integer"
  37748. },
  37749. "marketid": {
  37750. "description": "市场ID",
  37751. "type": "integer"
  37752. },
  37753. "phonenum": {
  37754. "description": "提货人联系方式",
  37755. "type": "string"
  37756. },
  37757. "qty": {
  37758. "description": "提货数量",
  37759. "type": "number"
  37760. },
  37761. "recivername": {
  37762. "description": "提货人姓名",
  37763. "type": "string"
  37764. },
  37765. "reqtime": {
  37766. "description": "更新时间",
  37767. "type": "string"
  37768. },
  37769. "takemode": {
  37770. "description": "提货方式 - 2:自提 3:配送",
  37771. "type": "integer"
  37772. },
  37773. "takeorderid": {
  37774. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  37775. "type": "string"
  37776. },
  37777. "takeorderstatus": {
  37778. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  37779. "type": "integer"
  37780. },
  37781. "takeremark": {
  37782. "description": "提货备注",
  37783. "type": "string"
  37784. },
  37785. "tradedate": {
  37786. "description": "交易日(yyyyMMdd)",
  37787. "type": "string"
  37788. },
  37789. "userid": {
  37790. "description": "用户ID",
  37791. "type": "integer"
  37792. }
  37793. }
  37794. },
  37795. "szdz.QueryRecieptOrderRsp": {
  37796. "type": "object",
  37797. "required": [
  37798. "ordertime"
  37799. ],
  37800. "properties": {
  37801. "accountName": {
  37802. "description": "所属账号名称(已脱敏)",
  37803. "type": "string"
  37804. },
  37805. "accountid": {
  37806. "description": "资金账号",
  37807. "type": "integer"
  37808. },
  37809. "buyorsell": {
  37810. "description": "方向 - 0:买 1:卖",
  37811. "type": "integer"
  37812. },
  37813. "enableqty": {
  37814. "description": "可摘数量",
  37815. "type": "integer"
  37816. },
  37817. "goodscode": {
  37818. "description": "商品代码",
  37819. "type": "string"
  37820. },
  37821. "goodsid": {
  37822. "description": "商品ID",
  37823. "type": "integer"
  37824. },
  37825. "goodsname": {
  37826. "description": "商品名称",
  37827. "type": "string"
  37828. },
  37829. "orderid": {
  37830. "description": "委托单号",
  37831. "type": "string"
  37832. },
  37833. "orderprice": {
  37834. "description": "委托价格",
  37835. "type": "number"
  37836. },
  37837. "ordertime": {
  37838. "description": "委托时间",
  37839. "type": "string"
  37840. },
  37841. "tradedate": {
  37842. "description": "交易日(yyyyMMdd)",
  37843. "type": "string"
  37844. }
  37845. }
  37846. },
  37847. "szdz.QuerySZDZTradePositionRsp": {
  37848. "type": "object",
  37849. "properties": {
  37850. "accountid": {
  37851. "description": "账号Id",
  37852. "type": "integer"
  37853. },
  37854. "agreeunit": {
  37855. "description": "合约单位",
  37856. "type": "number"
  37857. },
  37858. "averageprice": {
  37859. "description": "持仓均价",
  37860. "type": "number"
  37861. },
  37862. "buyorsell": {
  37863. "description": "方向 - 0:买 1:卖",
  37864. "type": "integer"
  37865. },
  37866. "closetotalqty": {
  37867. "description": "平仓总数量",
  37868. "type": "integer"
  37869. },
  37870. "curholderamount": {
  37871. "description": "当前持仓总金额",
  37872. "type": "number"
  37873. },
  37874. "curpositionqty": {
  37875. "description": "当前持仓总数量",
  37876. "type": "integer"
  37877. },
  37878. "currencyid": {
  37879. "description": "报价货币ID",
  37880. "type": "integer"
  37881. },
  37882. "curtdposition": {
  37883. "description": "期末今日头寸",
  37884. "type": "integer"
  37885. },
  37886. "decimalplace": {
  37887. "description": "报价小数位",
  37888. "type": "integer"
  37889. },
  37890. "enableqty": {
  37891. "description": "可用量",
  37892. "type": "integer"
  37893. },
  37894. "fretdposition": {
  37895. "description": "冻结今日头寸",
  37896. "type": "integer"
  37897. },
  37898. "frozenqty": {
  37899. "description": "持仓冻结数量",
  37900. "type": "integer"
  37901. },
  37902. "goodscode": {
  37903. "description": "商品代码(内部)",
  37904. "type": "string"
  37905. },
  37906. "goodsid": {
  37907. "description": "商品Id",
  37908. "type": "integer"
  37909. },
  37910. "goodsname": {
  37911. "description": "商品名称",
  37912. "type": "string"
  37913. },
  37914. "goodunit": {
  37915. "description": "报价单位",
  37916. "type": "string"
  37917. },
  37918. "goodunitid": {
  37919. "description": "报价单位ID",
  37920. "type": "integer"
  37921. },
  37922. "holderamount": {
  37923. "description": "期初持仓总金额",
  37924. "type": "number"
  37925. },
  37926. "marketid": {
  37927. "description": "市场ID",
  37928. "type": "integer"
  37929. },
  37930. "openreqqty": {
  37931. "description": "开仓申请数量",
  37932. "type": "integer"
  37933. },
  37934. "opentotalqty": {
  37935. "description": "开仓总数量",
  37936. "type": "integer"
  37937. },
  37938. "otherfrozenqty": {
  37939. "description": "持仓其他冻结数量(交割冻结)",
  37940. "type": "integer"
  37941. },
  37942. "positionqty": {
  37943. "description": "期初持仓数量",
  37944. "type": "integer"
  37945. },
  37946. "szdz3freezqty": {
  37947. "description": "尚志大宗转换冻结总数量",
  37948. "type": "integer"
  37949. },
  37950. "tnqty": {
  37951. "description": "T+N冻结总量",
  37952. "type": "integer"
  37953. },
  37954. "tnusedqty": {
  37955. "description": "T+N使用量",
  37956. "type": "integer"
  37957. },
  37958. "trademode": {
  37959. "description": "交易模式",
  37960. "type": "integer"
  37961. },
  37962. "usedmargin": {
  37963. "description": "占用保证金",
  37964. "type": "number"
  37965. }
  37966. }
  37967. },
  37968. "taaccount.QueryAmountLogRsp": {
  37969. "type": "object",
  37970. "required": [
  37971. "accountid",
  37972. "amount",
  37973. "amountadjusttype",
  37974. "autoid",
  37975. "balance",
  37976. "createtime",
  37977. "currentbalance",
  37978. "operatetype"
  37979. ],
  37980. "properties": {
  37981. "OPERATETYPENAME": {
  37982. "description": "资金操作类型名称",
  37983. "type": "string"
  37984. },
  37985. "accountid": {
  37986. "description": "资金账户ID",
  37987. "type": "integer"
  37988. },
  37989. "agoodscode": {
  37990. "description": "竞拍商品代码",
  37991. "type": "string"
  37992. },
  37993. "agoodsname": {
  37994. "description": "竞拍商品名称",
  37995. "type": "string"
  37996. },
  37997. "amount": {
  37998. "description": "资金金额",
  37999. "type": "number"
  38000. },
  38001. "amountadjusttype": {
  38002. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38003. "type": "integer"
  38004. },
  38005. "autoid": {
  38006. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38007. "type": "integer"
  38008. },
  38009. "balance": {
  38010. "description": "期初余额",
  38011. "type": "number"
  38012. },
  38013. "businesscode": {
  38014. "description": "业务编号",
  38015. "type": "integer"
  38016. },
  38017. "createtime": {
  38018. "description": "发生时间",
  38019. "type": "string"
  38020. },
  38021. "currencyid": {
  38022. "description": "币种ID",
  38023. "type": "integer"
  38024. },
  38025. "currentbalance": {
  38026. "description": "期末余额(变动后金额)",
  38027. "type": "number"
  38028. },
  38029. "dgoodscode": {
  38030. "description": "交割商品代码",
  38031. "type": "string"
  38032. },
  38033. "dgoodsname": {
  38034. "description": "交割商品名称",
  38035. "type": "string"
  38036. },
  38037. "goodscode": {
  38038. "description": "商品代码",
  38039. "type": "string"
  38040. },
  38041. "goodsid": {
  38042. "description": "商品ID",
  38043. "type": "integer"
  38044. },
  38045. "goodsname": {
  38046. "description": "商品名称",
  38047. "type": "string"
  38048. },
  38049. "marketid": {
  38050. "description": "市场ID",
  38051. "type": "integer"
  38052. },
  38053. "marketname": {
  38054. "description": "市场名称",
  38055. "type": "string"
  38056. },
  38057. "moneyticket": {
  38058. "description": "资金流水号:银行端流水号",
  38059. "type": "integer"
  38060. },
  38061. "operatetype": {
  38062. "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:营销收款",
  38063. "type": "integer"
  38064. },
  38065. "relationorderid": {
  38066. "description": "关联单号",
  38067. "type": "string"
  38068. },
  38069. "remark": {
  38070. "description": "备注",
  38071. "type": "string"
  38072. },
  38073. "trademode": {
  38074. "description": "交易模式",
  38075. "type": "integer"
  38076. }
  38077. }
  38078. },
  38079. "taaccount.QueryHisAmountLogRsp": {
  38080. "type": "object",
  38081. "required": [
  38082. "accountid",
  38083. "amount",
  38084. "amountadjusttype",
  38085. "autoid",
  38086. "balance",
  38087. "createtime",
  38088. "currentbalance",
  38089. "histradedate",
  38090. "operatetype"
  38091. ],
  38092. "properties": {
  38093. "OPERATETYPENAME": {
  38094. "description": "资金操作类型名称",
  38095. "type": "string"
  38096. },
  38097. "accountid": {
  38098. "description": "资金账户ID",
  38099. "type": "integer"
  38100. },
  38101. "agoodscode": {
  38102. "description": "竞拍商品代码",
  38103. "type": "string"
  38104. },
  38105. "agoodsname": {
  38106. "description": "竞拍商品名称",
  38107. "type": "string"
  38108. },
  38109. "amount": {
  38110. "description": "资金金额",
  38111. "type": "number"
  38112. },
  38113. "amountadjusttype": {
  38114. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38115. "type": "integer"
  38116. },
  38117. "autoid": {
  38118. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38119. "type": "integer"
  38120. },
  38121. "balance": {
  38122. "description": "期初余额",
  38123. "type": "number"
  38124. },
  38125. "businesscode": {
  38126. "description": "业务编号",
  38127. "type": "integer"
  38128. },
  38129. "createtime": {
  38130. "description": "发生时间",
  38131. "type": "string"
  38132. },
  38133. "currencyid": {
  38134. "description": "币种ID",
  38135. "type": "integer"
  38136. },
  38137. "currentbalance": {
  38138. "description": "期末余额(变动后金额)",
  38139. "type": "number"
  38140. },
  38141. "dgoodscode": {
  38142. "description": "交割商品代码",
  38143. "type": "string"
  38144. },
  38145. "dgoodsname": {
  38146. "description": "交割商品名称",
  38147. "type": "string"
  38148. },
  38149. "goodscode": {
  38150. "description": "商品代码",
  38151. "type": "string"
  38152. },
  38153. "goodsid": {
  38154. "description": "商品ID",
  38155. "type": "integer"
  38156. },
  38157. "goodsname": {
  38158. "description": "商品名称",
  38159. "type": "string"
  38160. },
  38161. "histradedate": {
  38162. "description": "历史交易日",
  38163. "type": "string"
  38164. },
  38165. "isvaliddata": {
  38166. "description": "是否有效 - 0:无效 1:有效",
  38167. "type": "integer"
  38168. },
  38169. "marketid": {
  38170. "description": "市场ID",
  38171. "type": "integer"
  38172. },
  38173. "marketname": {
  38174. "description": "市场名称",
  38175. "type": "string"
  38176. },
  38177. "moneyticket": {
  38178. "description": "资金流水号:银行端流水号",
  38179. "type": "integer"
  38180. },
  38181. "operatetype": {
  38182. "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:营销收款",
  38183. "type": "integer"
  38184. },
  38185. "relationorderid": {
  38186. "description": "关联单号",
  38187. "type": "string"
  38188. },
  38189. "remark": {
  38190. "description": "备注",
  38191. "type": "string"
  38192. },
  38193. "trademode": {
  38194. "description": "交易模式",
  38195. "type": "integer"
  38196. }
  38197. }
  38198. },
  38199. "trade.QueryRecieptOrderRsp": {
  38200. "type": "object",
  38201. "required": [
  38202. "ordertime"
  38203. ],
  38204. "properties": {
  38205. "accountName": {
  38206. "description": "所属账号名称(已脱敏)",
  38207. "type": "string"
  38208. },
  38209. "accountid": {
  38210. "description": "资金账号",
  38211. "type": "integer"
  38212. },
  38213. "buyorsell": {
  38214. "description": "方向 - 0:买 1:卖",
  38215. "type": "integer"
  38216. },
  38217. "enableqty": {
  38218. "description": "可摘数量",
  38219. "type": "integer"
  38220. },
  38221. "goodscode": {
  38222. "description": "商品代码",
  38223. "type": "string"
  38224. },
  38225. "goodsid": {
  38226. "description": "商品ID",
  38227. "type": "integer"
  38228. },
  38229. "goodsname": {
  38230. "description": "商品名称",
  38231. "type": "string"
  38232. },
  38233. "orderid": {
  38234. "description": "委托单号",
  38235. "type": "string"
  38236. },
  38237. "orderprice": {
  38238. "description": "委托价格",
  38239. "type": "number"
  38240. },
  38241. "ordertime": {
  38242. "description": "委托时间",
  38243. "type": "string"
  38244. },
  38245. "tradedate": {
  38246. "description": "交易日(yyyyMMdd)",
  38247. "type": "string"
  38248. }
  38249. }
  38250. },
  38251. "user.LoginQueryRsp": {
  38252. "type": "object",
  38253. "properties": {
  38254. "areaRoles": {
  38255. "description": "所属角色信息",
  38256. "type": "array",
  38257. "items": {
  38258. "$ref": "#/definitions/models.Arearole"
  38259. }
  38260. },
  38261. "externalExchanges": {
  38262. "description": "外部交易所",
  38263. "type": "array",
  38264. "items": {
  38265. "$ref": "#/definitions/models.Externalexchange"
  38266. }
  38267. },
  38268. "goodsgroups": {
  38269. "description": "商品组",
  38270. "type": "array",
  38271. "items": {
  38272. "$ref": "#/definitions/models.Goodsgroup"
  38273. }
  38274. },
  38275. "loginAccount": {
  38276. "description": "登录账号",
  38277. "$ref": "#/definitions/models.Loginaccount"
  38278. },
  38279. "markets": {
  38280. "description": "市场",
  38281. "type": "array",
  38282. "items": {
  38283. "$ref": "#/definitions/models.Market"
  38284. }
  38285. },
  38286. "systemParams": {
  38287. "description": "系统参数",
  38288. "type": "array",
  38289. "items": {
  38290. "$ref": "#/definitions/models.Systemparam"
  38291. }
  38292. },
  38293. "userAccount": {
  38294. "description": "用户账号",
  38295. "$ref": "#/definitions/models.Useraccount"
  38296. },
  38297. "userInfo": {
  38298. "description": "用户信息",
  38299. "$ref": "#/definitions/models.Userinfo"
  38300. },
  38301. "username": {
  38302. "description": "用户姓名",
  38303. "type": "string"
  38304. }
  38305. }
  38306. }
  38307. },
  38308. "securityDefinitions": {
  38309. "ApiKeyAuth": {
  38310. "type": "apiKey",
  38311. "name": "Authorization",
  38312. "in": "header"
  38313. }
  38314. }
  38315. }`
  38316. type swaggerInfo struct {
  38317. Version string
  38318. Host string
  38319. BasePath string
  38320. Schemes []string
  38321. Title string
  38322. Description string
  38323. }
  38324. // SwaggerInfo holds exported Swagger Info so clients can modify it
  38325. var SwaggerInfo = swaggerInfo{
  38326. Version: "1.0",
  38327. Host: "",
  38328. BasePath: "/api",
  38329. Schemes: []string{},
  38330. Title: "MTP2.0 查询服务 API",
  38331. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  38332. }
  38333. type s struct{}
  38334. func (s *s) ReadDoc() string {
  38335. sInfo := SwaggerInfo
  38336. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  38337. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  38338. "marshal": func(v interface{}) string {
  38339. a, _ := json.Marshal(v)
  38340. return string(a)
  38341. },
  38342. }).Parse(doc)
  38343. if err != nil {
  38344. return doc
  38345. }
  38346. var tpl bytes.Buffer
  38347. if err := t.Execute(&tpl, sInfo); err != nil {
  38348. return doc
  38349. }
  38350. return tpl.String()
  38351. }
  38352. func init() {
  38353. swag.Register(swag.Name, &s{})
  38354. }