docs.go 1.5 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392
  1. // Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "text/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{escape .Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "integer",
  914. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  915. "name": "userid",
  916. "in": "query"
  917. },
  918. {
  919. "type": "string",
  920. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  921. "name": "lastUpdateTime",
  922. "in": "query"
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.ErmcpGoods"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpGoodsSortByPosition": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "查询企业风管期货主力、次主力商品信息",
  955. "parameters": [
  956. {
  957. "type": "string",
  958. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  959. "name": "sortIndex",
  960. "in": "query"
  961. }
  962. ],
  963. "responses": {
  964. "200": {
  965. "description": "OK",
  966. "schema": {
  967. "$ref": "#/definitions/models.Goodssortbypreposition"
  968. }
  969. },
  970. "500": {
  971. "description": "Internal Server Error",
  972. "schema": {
  973. "$ref": "#/definitions/app.Response"
  974. }
  975. }
  976. }
  977. }
  978. },
  979. "/Ermcp/GetErmcpOutAccountStatus": {
  980. "get": {
  981. "security": [
  982. {
  983. "ApiKeyAuth": []
  984. }
  985. ],
  986. "produces": [
  987. "application/json"
  988. ],
  989. "tags": [
  990. "企业风险管理(app)"
  991. ],
  992. "summary": "获取目标登录账号当前对冲账号在线状态",
  993. "parameters": [
  994. {
  995. "type": "integer",
  996. "description": "登录账号",
  997. "name": "loginID",
  998. "in": "query",
  999. "required": true
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "OK",
  1005. "schema": {
  1006. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1007. }
  1008. },
  1009. "500": {
  1010. "description": "Internal Server Error",
  1011. "schema": {
  1012. "$ref": "#/definitions/app.Response"
  1013. }
  1014. }
  1015. }
  1016. }
  1017. },
  1018. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1019. "get": {
  1020. "security": [
  1021. {
  1022. "ApiKeyAuth": []
  1023. }
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "企业风险管理(app)"
  1030. ],
  1031. "summary": "获取企业风管终端权限",
  1032. "parameters": [
  1033. {
  1034. "type": "integer",
  1035. "description": "登录账号",
  1036. "name": "loginID",
  1037. "in": "query",
  1038. "required": true
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/models.Funcmenulist"
  1046. }
  1047. },
  1048. "500": {
  1049. "description": "Internal Server Error",
  1050. "schema": {
  1051. "$ref": "#/definitions/app.Response"
  1052. }
  1053. }
  1054. }
  1055. }
  1056. },
  1057. "/Ermcp/QueryAccMgrBizGroupSet": {
  1058. "get": {
  1059. "security": [
  1060. {
  1061. "ApiKeyAuth": []
  1062. }
  1063. ],
  1064. "produces": [
  1065. "application/json"
  1066. ],
  1067. "tags": [
  1068. "企业风险管理(app)"
  1069. ],
  1070. "summary": "查询业务类型分组(账户管理/账户设置)",
  1071. "parameters": [
  1072. {
  1073. "type": "integer",
  1074. "description": "用户ID",
  1075. "name": "userid",
  1076. "in": "query",
  1077. "required": true
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "现货商品id",
  1082. "name": "deliverygoodsid",
  1083. "in": "query"
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "type": "array",
  1091. "items": {
  1092. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1093. }
  1094. }
  1095. },
  1096. "500": {
  1097. "description": "Internal Server Error",
  1098. "schema": {
  1099. "$ref": "#/definitions/app.Response"
  1100. }
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "/Ermcp/QueryAccMgrLoginUser": {
  1106. "get": {
  1107. "security": [
  1108. {
  1109. "ApiKeyAuth": []
  1110. }
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "企业风险管理(app)"
  1117. ],
  1118. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1119. "parameters": [
  1120. {
  1121. "type": "integer",
  1122. "description": "用户ID",
  1123. "name": "userid",
  1124. "in": "query",
  1125. "required": true
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "用户类型 2-机构 7-企业成员",
  1130. "name": "usertype",
  1131. "in": "query"
  1132. },
  1133. {
  1134. "type": "integer",
  1135. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1136. "name": "querytype",
  1137. "in": "query",
  1138. "required": true
  1139. }
  1140. ],
  1141. "responses": {
  1142. "200": {
  1143. "description": "OK",
  1144. "schema": {
  1145. "type": "array",
  1146. "items": {
  1147. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1148. }
  1149. }
  1150. },
  1151. "500": {
  1152. "description": "Internal Server Error",
  1153. "schema": {
  1154. "$ref": "#/definitions/app.Response"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1161. "get": {
  1162. "security": [
  1163. {
  1164. "ApiKeyAuth": []
  1165. }
  1166. ],
  1167. "produces": [
  1168. "application/json"
  1169. ],
  1170. "tags": [
  1171. "企业风险管理(app)"
  1172. ],
  1173. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1174. "parameters": [
  1175. {
  1176. "type": "integer",
  1177. "description": "用户ID",
  1178. "name": "userid",
  1179. "in": "query"
  1180. },
  1181. {
  1182. "type": "integer",
  1183. "description": "主账号id",
  1184. "name": "accountid",
  1185. "in": "query"
  1186. }
  1187. ],
  1188. "responses": {
  1189. "200": {
  1190. "description": "OK",
  1191. "schema": {
  1192. "type": "array",
  1193. "items": {
  1194. "$ref": "#/definitions/models.MainAccountInfo"
  1195. }
  1196. }
  1197. },
  1198. "500": {
  1199. "description": "Internal Server Error",
  1200. "schema": {
  1201. "$ref": "#/definitions/app.Response"
  1202. }
  1203. }
  1204. }
  1205. }
  1206. },
  1207. "/Ermcp/QueryAccMgrRole": {
  1208. "get": {
  1209. "security": [
  1210. {
  1211. "ApiKeyAuth": []
  1212. }
  1213. ],
  1214. "produces": [
  1215. "application/json"
  1216. ],
  1217. "tags": [
  1218. "企业风险管理(app)"
  1219. ],
  1220. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1221. "parameters": [
  1222. {
  1223. "type": "integer",
  1224. "description": "用户ID",
  1225. "name": "userid",
  1226. "in": "query",
  1227. "required": true
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRole"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrRoleMenu": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "string",
  1273. "description": "角色id(可多个,逗号隔开)",
  1274. "name": "roleid",
  1275. "in": "query"
  1276. },
  1277. {
  1278. "type": "integer",
  1279. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1280. "name": "menutype",
  1281. "in": "query"
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "账号id",
  1328. "name": "accountid",
  1329. "in": "query"
  1330. }
  1331. ],
  1332. "responses": {
  1333. "200": {
  1334. "description": "OK",
  1335. "schema": {
  1336. "type": "array",
  1337. "items": {
  1338. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1339. }
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/Ermcp/QueryAccMgrTaaccount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "企业风险管理(app)"
  1363. ],
  1364. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1365. "parameters": [
  1366. {
  1367. "type": "integer",
  1368. "description": "用户ID",
  1369. "name": "userid",
  1370. "in": "query",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "OK",
  1377. "schema": {
  1378. "type": "array",
  1379. "items": {
  1380. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1381. }
  1382. }
  1383. },
  1384. "500": {
  1385. "description": "Internal Server Error",
  1386. "schema": {
  1387. "$ref": "#/definitions/app.Response"
  1388. }
  1389. }
  1390. }
  1391. }
  1392. },
  1393. "/Ermcp/QueryAvaildGoodsGroup": {
  1394. "get": {
  1395. "security": [
  1396. {
  1397. "ApiKeyAuth": []
  1398. }
  1399. ],
  1400. "produces": [
  1401. "application/json"
  1402. ],
  1403. "tags": [
  1404. "企业风险管理(app)"
  1405. ],
  1406. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1407. "parameters": [
  1408. {
  1409. "type": "integer",
  1410. "description": "所属机构ID",
  1411. "name": "userid",
  1412. "in": "query",
  1413. "required": true
  1414. }
  1415. ],
  1416. "responses": {
  1417. "200": {
  1418. "description": "OK",
  1419. "schema": {
  1420. "type": "array",
  1421. "items": {
  1422. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1423. }
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Ermcp/QueryBusinessDj": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "企业风险管理(app)"
  1447. ],
  1448. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "用户ID",
  1453. "name": "UserId",
  1454. "in": "query",
  1455. "required": true
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "用户类型 2-机构 7-企业成员",
  1460. "name": "usertype",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "现货合同ID, 不填则查所有",
  1466. "name": "relatedid",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1472. "name": "applystatus",
  1473. "in": "query"
  1474. }
  1475. ],
  1476. "responses": {
  1477. "200": {
  1478. "description": "OK",
  1479. "schema": {
  1480. "type": "array",
  1481. "items": {
  1482. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1483. }
  1484. }
  1485. },
  1486. "500": {
  1487. "description": "Internal Server Error",
  1488. "schema": {
  1489. "$ref": "#/definitions/app.Response"
  1490. }
  1491. }
  1492. }
  1493. }
  1494. },
  1495. "/Ermcp/QueryBusinessFp": {
  1496. "get": {
  1497. "security": [
  1498. {
  1499. "ApiKeyAuth": []
  1500. }
  1501. ],
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "企业风险管理(app)"
  1507. ],
  1508. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "用户ID",
  1513. "name": "UserId",
  1514. "in": "query",
  1515. "required": true
  1516. },
  1517. {
  1518. "type": "integer",
  1519. "description": "用户类型 2-机构 7-企业成员",
  1520. "name": "usertype",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "现货合同ID, 不填则查所有",
  1526. "name": "relatedid",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1532. "name": "applystatus",
  1533. "in": "query"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "OK",
  1539. "schema": {
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1543. }
  1544. }
  1545. },
  1546. "500": {
  1547. "description": "Internal Server Error",
  1548. "schema": {
  1549. "$ref": "#/definitions/app.Response"
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "/Ermcp/QueryBusinessJs": {
  1556. "get": {
  1557. "security": [
  1558. {
  1559. "ApiKeyAuth": []
  1560. }
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "企业风险管理(app)"
  1567. ],
  1568. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "用户ID",
  1573. "name": "UserId",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "用户类型 2-机构 7-企业成员",
  1580. "name": "usertype",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "现货合同ID, 不填则查所有",
  1586. "name": "relatedid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "操作申请id",
  1592. "name": "operateapplyid",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1598. "name": "applystatus",
  1599. "in": "query"
  1600. }
  1601. ],
  1602. "responses": {
  1603. "200": {
  1604. "description": "OK",
  1605. "schema": {
  1606. "type": "array",
  1607. "items": {
  1608. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1609. }
  1610. }
  1611. },
  1612. "500": {
  1613. "description": "Internal Server Error",
  1614. "schema": {
  1615. "$ref": "#/definitions/app.Response"
  1616. }
  1617. }
  1618. }
  1619. }
  1620. },
  1621. "/Ermcp/QueryBusinessJsEx": {
  1622. "get": {
  1623. "security": [
  1624. {
  1625. "ApiKeyAuth": []
  1626. }
  1627. ],
  1628. "produces": [
  1629. "application/json"
  1630. ],
  1631. "tags": [
  1632. "企业风险管理(app)"
  1633. ],
  1634. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1635. "parameters": [
  1636. {
  1637. "type": "integer",
  1638. "description": "用户ID",
  1639. "name": "UserId",
  1640. "in": "query",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "integer",
  1645. "description": "用户类型 2-机构 7-企业成员",
  1646. "name": "usertype",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "现货合同ID, 不填则查所有",
  1652. "name": "relatedid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1658. "name": "applystatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "type": "array",
  1667. "items": {
  1668. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1669. }
  1670. }
  1671. },
  1672. "500": {
  1673. "description": "Internal Server Error",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. }
  1678. }
  1679. }
  1680. },
  1681. "/Ermcp/QueryBusinessKx": {
  1682. "get": {
  1683. "security": [
  1684. {
  1685. "ApiKeyAuth": []
  1686. }
  1687. ],
  1688. "produces": [
  1689. "application/json"
  1690. ],
  1691. "tags": [
  1692. "企业风险管理(app)"
  1693. ],
  1694. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1695. "parameters": [
  1696. {
  1697. "type": "integer",
  1698. "description": "用户ID",
  1699. "name": "UserId",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "用户类型 2-机构 7-企业成员",
  1706. "name": "usertype",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "现货合同ID, 不填则查所有",
  1712. "name": "relatedid",
  1713. "in": "query"
  1714. },
  1715. {
  1716. "type": "string",
  1717. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1718. "name": "applystatus",
  1719. "in": "query"
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "type": "array",
  1727. "items": {
  1728. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1729. }
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryChangeLog": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询变更记录",
  1755. "parameters": [
  1756. {
  1757. "type": "string",
  1758. "description": "合同ID",
  1759. "name": "RelatedId",
  1760. "in": "query",
  1761. "required": true
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryErmcpHisOrderDetails": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "获取企业风管期货历史委托单信息",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "资金账户ID",
  1801. "name": "accountID",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "startDate",
  1809. "in": "query"
  1810. },
  1811. {
  1812. "type": "string",
  1813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1814. "name": "endDate",
  1815. "in": "query"
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1823. }
  1824. },
  1825. "500": {
  1826. "description": "Internal Server Error",
  1827. "schema": {
  1828. "$ref": "#/definitions/app.Response"
  1829. }
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "/Ermcp/QueryErmcpHisTradeDetails": {
  1835. "get": {
  1836. "security": [
  1837. {
  1838. "ApiKeyAuth": []
  1839. }
  1840. ],
  1841. "produces": [
  1842. "application/json"
  1843. ],
  1844. "tags": [
  1845. "企业风险管理(app)"
  1846. ],
  1847. "summary": "获取企业风管期货历史成交单信息",
  1848. "parameters": [
  1849. {
  1850. "type": "integer",
  1851. "description": "资金账户ID",
  1852. "name": "accountID",
  1853. "in": "query",
  1854. "required": true
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "商品ID",
  1859. "name": "goodsID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "买卖方向,0:买 1:卖",
  1865. "name": "buyOrSell",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "description": "关联委托单号",
  1871. "name": "orderID",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "startDate",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "string",
  1882. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1883. "name": "endDate",
  1884. "in": "query"
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1892. }
  1893. },
  1894. "500": {
  1895. "description": "Internal Server Error",
  1896. "schema": {
  1897. "$ref": "#/definitions/app.Response"
  1898. }
  1899. }
  1900. }
  1901. }
  1902. },
  1903. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1904. "get": {
  1905. "security": [
  1906. {
  1907. "ApiKeyAuth": []
  1908. }
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "企业风险管理(app)"
  1915. ],
  1916. "summary": "获取企业风管期货内部持仓单信息",
  1917. "parameters": [
  1918. {
  1919. "type": "integer",
  1920. "description": "资金账户ID",
  1921. "name": "accountID",
  1922. "in": "query",
  1923. "required": true
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "商品ID",
  1928. "name": "goodsID",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "integer",
  1933. "description": "买卖方向,0:买 1:卖",
  1934. "name": "buyOrSell",
  1935. "in": "query"
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1943. }
  1944. },
  1945. "500": {
  1946. "description": "Internal Server Error",
  1947. "schema": {
  1948. "$ref": "#/definitions/app.Response"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "/Ermcp/QueryErmcpOrderDetails": {
  1955. "get": {
  1956. "security": [
  1957. {
  1958. "ApiKeyAuth": []
  1959. }
  1960. ],
  1961. "produces": [
  1962. "application/json"
  1963. ],
  1964. "tags": [
  1965. "企业风险管理(app)"
  1966. ],
  1967. "summary": "获取企业风管期货委托单信息",
  1968. "parameters": [
  1969. {
  1970. "type": "integer",
  1971. "description": "资金账户ID",
  1972. "name": "accountID",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/Ermcp/QueryErmcpTradeDetails": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "企业风险管理(app)"
  2005. ],
  2006. "summary": "获取企业风管期货成交单信息",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "资金账户ID",
  2011. "name": "accountID",
  2012. "in": "query",
  2013. "required": true
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "商品ID",
  2018. "name": "goodsID",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "买卖方向,0:买 1:卖",
  2024. "name": "buyOrSell",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "关联委托单号",
  2030. "name": "orderID",
  2031. "in": "query"
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2039. }
  2040. },
  2041. "500": {
  2042. "description": "Internal Server Error",
  2043. "schema": {
  2044. "$ref": "#/definitions/app.Response"
  2045. }
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "/Ermcp/QueryErmcpTradePosition": {
  2051. "get": {
  2052. "security": [
  2053. {
  2054. "ApiKeyAuth": []
  2055. }
  2056. ],
  2057. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "企业风险管理(app)"
  2063. ],
  2064. "summary": "获取企业风管期货持仓头寸信息",
  2065. "parameters": [
  2066. {
  2067. "type": "integer",
  2068. "description": "资金账户ID",
  2069. "name": "accountID",
  2070. "in": "query",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "所属市场ID",
  2076. "name": "marketID",
  2077. "in": "query"
  2078. }
  2079. ],
  2080. "responses": {
  2081. "200": {
  2082. "description": "OK",
  2083. "schema": {
  2084. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2085. }
  2086. },
  2087. "500": {
  2088. "description": "Internal Server Error",
  2089. "schema": {
  2090. "$ref": "#/definitions/app.Response"
  2091. }
  2092. }
  2093. }
  2094. }
  2095. },
  2096. "/Ermcp/QueryExposureDetail": {
  2097. "get": {
  2098. "security": [
  2099. {
  2100. "ApiKeyAuth": []
  2101. }
  2102. ],
  2103. "produces": [
  2104. "application/json"
  2105. ],
  2106. "tags": [
  2107. "企业风险管理(app)"
  2108. ],
  2109. "summary": "查询敞口现货明细",
  2110. "parameters": [
  2111. {
  2112. "type": "integer",
  2113. "description": "所属机构ID",
  2114. "name": "areaUserId",
  2115. "in": "query",
  2116. "required": true
  2117. },
  2118. {
  2119. "type": "integer",
  2120. "description": "套保商品",
  2121. "name": "middleGoodsId",
  2122. "in": "query",
  2123. "required": true
  2124. }
  2125. ],
  2126. "responses": {
  2127. "200": {
  2128. "description": "OK",
  2129. "schema": {
  2130. "type": "array",
  2131. "items": {
  2132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2133. }
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Ermcp/QueryExposureGoods": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "企业风险管理(app)"
  2157. ],
  2158. "summary": "查询敞口主力合约",
  2159. "parameters": [
  2160. {
  2161. "type": "integer",
  2162. "description": "套保商品id",
  2163. "name": "middlegoodsid",
  2164. "in": "query",
  2165. "required": true
  2166. }
  2167. ],
  2168. "responses": {
  2169. "200": {
  2170. "description": "OK",
  2171. "schema": {
  2172. "type": "array",
  2173. "items": {
  2174. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2175. }
  2176. }
  2177. },
  2178. "500": {
  2179. "description": "Internal Server Error",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. }
  2184. }
  2185. }
  2186. },
  2187. "/Ermcp/QueryExposureHedgePosition": {
  2188. "get": {
  2189. "security": [
  2190. {
  2191. "ApiKeyAuth": []
  2192. }
  2193. ],
  2194. "produces": [
  2195. "application/json"
  2196. ],
  2197. "tags": [
  2198. "企业风险管理(app)"
  2199. ],
  2200. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2201. "parameters": [
  2202. {
  2203. "type": "integer",
  2204. "description": "用户id",
  2205. "name": "userid",
  2206. "in": "query",
  2207. "required": true
  2208. }
  2209. ],
  2210. "responses": {
  2211. "200": {
  2212. "description": "OK",
  2213. "schema": {
  2214. "type": "array",
  2215. "items": {
  2216. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2217. }
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/Ermcp/QueryExposureHedgePositionDetail": {
  2230. "get": {
  2231. "security": [
  2232. {
  2233. "ApiKeyAuth": []
  2234. }
  2235. ],
  2236. "produces": [
  2237. "application/json"
  2238. ],
  2239. "tags": [
  2240. "企业风险管理(app)"
  2241. ],
  2242. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2243. "parameters": [
  2244. {
  2245. "type": "integer",
  2246. "description": "所属机构ID",
  2247. "name": "userid",
  2248. "in": "query",
  2249. "required": true
  2250. },
  2251. {
  2252. "type": "integer",
  2253. "description": "商品id",
  2254. "name": "goodsId",
  2255. "in": "query",
  2256. "required": true
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "type": "array",
  2264. "items": {
  2265. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2266. }
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/Ermcp/QueryExposureSpot": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "produces": [
  2286. "application/json"
  2287. ],
  2288. "tags": [
  2289. "企业风险管理(app)"
  2290. ],
  2291. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2292. "parameters": [
  2293. {
  2294. "type": "integer",
  2295. "description": "所属机构ID",
  2296. "name": "areaUserId",
  2297. "in": "query",
  2298. "required": true
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "type": "array",
  2306. "items": {
  2307. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2308. }
  2309. }
  2310. },
  2311. "500": {
  2312. "description": "Internal Server Error",
  2313. "schema": {
  2314. "$ref": "#/definitions/app.Response"
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "/Ermcp/QueryExposureSpotDetail": {
  2321. "get": {
  2322. "security": [
  2323. {
  2324. "ApiKeyAuth": []
  2325. }
  2326. ],
  2327. "produces": [
  2328. "application/json"
  2329. ],
  2330. "tags": [
  2331. "企业风险管理(app)"
  2332. ],
  2333. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2334. "parameters": [
  2335. {
  2336. "type": "integer",
  2337. "description": "所属机构ID",
  2338. "name": "areaUserId",
  2339. "in": "query",
  2340. "required": true
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "现货品种ID",
  2345. "name": "wrstandardId",
  2346. "in": "query",
  2347. "required": true
  2348. }
  2349. ],
  2350. "responses": {
  2351. "200": {
  2352. "description": "OK",
  2353. "schema": {
  2354. "type": "array",
  2355. "items": {
  2356. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2357. }
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/app.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "/Ermcp/QueryFuturesCompany": {
  2370. "get": {
  2371. "security": [
  2372. {
  2373. "ApiKeyAuth": []
  2374. }
  2375. ],
  2376. "produces": [
  2377. "application/json"
  2378. ],
  2379. "tags": [
  2380. "企业风险管理(app)"
  2381. ],
  2382. "summary": "查询期货公司",
  2383. "responses": {
  2384. "200": {
  2385. "description": "OK",
  2386. "schema": {
  2387. "type": "array",
  2388. "items": {
  2389. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2390. }
  2391. }
  2392. },
  2393. "500": {
  2394. "description": "Internal Server Error",
  2395. "schema": {
  2396. "$ref": "#/definitions/app.Response"
  2397. }
  2398. }
  2399. }
  2400. }
  2401. },
  2402. "/Ermcp/QueryGGConvertConfig": {
  2403. "get": {
  2404. "security": [
  2405. {
  2406. "ApiKeyAuth": []
  2407. }
  2408. ],
  2409. "produces": [
  2410. "application/json"
  2411. ],
  2412. "tags": [
  2413. "企业风险管理(app)"
  2414. ],
  2415. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2416. "parameters": [
  2417. {
  2418. "type": "integer",
  2419. "description": "品种id(不填则查所有)",
  2420. "name": "goodsgroupid",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryGoodsBrand": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询商品品牌",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "userid",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "现货商品ID",
  2468. "name": "wrstandardid",
  2469. "in": "query"
  2470. }
  2471. ],
  2472. "responses": {
  2473. "200": {
  2474. "description": "OK",
  2475. "schema": {
  2476. "type": "array",
  2477. "items": {
  2478. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2479. }
  2480. }
  2481. },
  2482. "500": {
  2483. "description": "Internal Server Error",
  2484. "schema": {
  2485. "$ref": "#/definitions/app.Response"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/Ermcp/QueryGoodsModel": {
  2492. "get": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "企业风险管理(app)"
  2503. ],
  2504. "summary": "查询商品型号",
  2505. "parameters": [
  2506. {
  2507. "type": "integer",
  2508. "description": "用户ID",
  2509. "name": "userid",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "type": "array",
  2519. "items": {
  2520. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2521. }
  2522. }
  2523. },
  2524. "500": {
  2525. "description": "Internal Server Error",
  2526. "schema": {
  2527. "$ref": "#/definitions/app.Response"
  2528. }
  2529. }
  2530. }
  2531. }
  2532. },
  2533. "/Ermcp/QueryHisExposure": {
  2534. "get": {
  2535. "security": [
  2536. {
  2537. "ApiKeyAuth": []
  2538. }
  2539. ],
  2540. "produces": [
  2541. "application/json"
  2542. ],
  2543. "tags": [
  2544. "企业风险管理(app)"
  2545. ],
  2546. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2547. "parameters": [
  2548. {
  2549. "type": "integer",
  2550. "description": "用户id",
  2551. "name": "userid",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每个品种记录数",
  2558. "name": "lastNum",
  2559. "in": "query",
  2560. "required": true
  2561. }
  2562. ],
  2563. "responses": {
  2564. "200": {
  2565. "description": "OK",
  2566. "schema": {
  2567. "type": "array",
  2568. "items": {
  2569. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2570. }
  2571. }
  2572. },
  2573. "500": {
  2574. "description": "Internal Server Error",
  2575. "schema": {
  2576. "$ref": "#/definitions/app.Response"
  2577. }
  2578. }
  2579. }
  2580. }
  2581. },
  2582. "/Ermcp/QueryMiddleGoods": {
  2583. "get": {
  2584. "security": [
  2585. {
  2586. "ApiKeyAuth": []
  2587. }
  2588. ],
  2589. "produces": [
  2590. "application/json"
  2591. ],
  2592. "tags": [
  2593. "企业风险管理(app)"
  2594. ],
  2595. "summary": "查询套保品种(菜单:套保品种)",
  2596. "parameters": [
  2597. {
  2598. "type": "integer",
  2599. "description": "所属机构ID",
  2600. "name": "userid",
  2601. "in": "query",
  2602. "required": true
  2603. },
  2604. {
  2605. "type": "integer",
  2606. "description": "状态 0-停用 1-正常",
  2607. "name": "status",
  2608. "in": "query",
  2609. "required": true
  2610. }
  2611. ],
  2612. "responses": {
  2613. "200": {
  2614. "description": "OK",
  2615. "schema": {
  2616. "type": "array",
  2617. "items": {
  2618. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2619. }
  2620. }
  2621. },
  2622. "500": {
  2623. "description": "Internal Server Error",
  2624. "schema": {
  2625. "$ref": "#/definitions/app.Response"
  2626. }
  2627. }
  2628. }
  2629. }
  2630. },
  2631. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2632. "get": {
  2633. "security": [
  2634. {
  2635. "ApiKeyAuth": []
  2636. }
  2637. ],
  2638. "produces": [
  2639. "application/json"
  2640. ],
  2641. "tags": [
  2642. "企业风险管理(app)"
  2643. ],
  2644. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2645. "parameters": [
  2646. {
  2647. "type": "integer",
  2648. "description": "所属机构ID",
  2649. "name": "userid",
  2650. "in": "query",
  2651. "required": true
  2652. },
  2653. {
  2654. "type": "integer",
  2655. "description": "套保品种id",
  2656. "name": "middlegoodsid",
  2657. "in": "query",
  2658. "required": true
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "type": "array",
  2666. "items": {
  2667. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2668. }
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/Ermcp/QueryMiddleGoodsDetail": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "企业风险管理(app)"
  2692. ],
  2693. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "所属机构ID",
  2698. "name": "userid",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "套保品种id",
  2705. "name": "middlegoodsid",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "type": "array",
  2714. "items": {
  2715. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2716. }
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Ermcp/QueryPendingAuditInfo": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "企业风险管理(app)"
  2740. ],
  2741. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "用户ID",
  2746. "name": "UserId",
  2747. "in": "query",
  2748. "required": true
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "type": "array",
  2756. "items": {
  2757. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2758. }
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/Ermcp/QueryRealtimeExposure": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "企业风险管理(app)"
  2782. ],
  2783. "summary": "查询实时敞口",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "所属机构ID",
  2788. "name": "userid",
  2789. "in": "query",
  2790. "required": true
  2791. }
  2792. ],
  2793. "responses": {
  2794. "200": {
  2795. "description": "OK",
  2796. "schema": {
  2797. "type": "array",
  2798. "items": {
  2799. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2800. }
  2801. }
  2802. },
  2803. "500": {
  2804. "description": "Internal Server Error",
  2805. "schema": {
  2806. "$ref": "#/definitions/app.Response"
  2807. }
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "/Ermcp/QueryRealtimeExposurePosition": {
  2813. "get": {
  2814. "security": [
  2815. {
  2816. "ApiKeyAuth": []
  2817. }
  2818. ],
  2819. "produces": [
  2820. "application/json"
  2821. ],
  2822. "tags": [
  2823. "企业风险管理(app)"
  2824. ],
  2825. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2826. "parameters": [
  2827. {
  2828. "type": "integer",
  2829. "description": "用户id",
  2830. "name": "userid",
  2831. "in": "query",
  2832. "required": true
  2833. },
  2834. {
  2835. "type": "integer",
  2836. "description": "套保商品ID",
  2837. "name": "middleGoodsId",
  2838. "in": "query",
  2839. "required": true
  2840. }
  2841. ],
  2842. "responses": {
  2843. "200": {
  2844. "description": "OK",
  2845. "schema": {
  2846. "type": "array",
  2847. "items": {
  2848. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2849. }
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Ermcp/QueryRoleMenu": {
  2862. "get": {
  2863. "security": [
  2864. {
  2865. "ApiKeyAuth": []
  2866. }
  2867. ],
  2868. "produces": [
  2869. "application/json"
  2870. ],
  2871. "tags": [
  2872. "企业风险管理(app)"
  2873. ],
  2874. "summary": "查询角色菜单和权限",
  2875. "parameters": [
  2876. {
  2877. "type": "integer",
  2878. "description": "登录ID",
  2879. "name": "loginid",
  2880. "in": "query",
  2881. "required": true
  2882. },
  2883. {
  2884. "type": "integer",
  2885. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2886. "name": "menutype",
  2887. "in": "query"
  2888. }
  2889. ],
  2890. "responses": {
  2891. "200": {
  2892. "description": "OK",
  2893. "schema": {
  2894. "type": "array",
  2895. "items": {
  2896. "$ref": "#/definitions/models.RoleMenu"
  2897. }
  2898. }
  2899. },
  2900. "500": {
  2901. "description": "Internal Server Error",
  2902. "schema": {
  2903. "$ref": "#/definitions/app.Response"
  2904. }
  2905. }
  2906. }
  2907. }
  2908. },
  2909. "/Ermcp/QueryTradeConfigTMP": {
  2910. "get": {
  2911. "security": [
  2912. {
  2913. "ApiKeyAuth": []
  2914. }
  2915. ],
  2916. "produces": [
  2917. "application/json"
  2918. ],
  2919. "tags": [
  2920. "企业风险管理(app)"
  2921. ],
  2922. "summary": "查询交易模板配置",
  2923. "parameters": [
  2924. {
  2925. "type": "integer",
  2926. "description": "所属机构id",
  2927. "name": "areauserid",
  2928. "in": "query"
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryUserInfo": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询客户资料",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构用户ID",
  2968. "name": "MemberUserID",
  2969. "in": "query",
  2970. "required": true
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2975. "name": "queryType",
  2976. "in": "query",
  2977. "required": true
  2978. }
  2979. ],
  2980. "responses": {
  2981. "200": {
  2982. "description": "OK",
  2983. "schema": {
  2984. "type": "array",
  2985. "items": {
  2986. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2987. }
  2988. }
  2989. },
  2990. "500": {
  2991. "description": "Internal Server Error",
  2992. "schema": {
  2993. "$ref": "#/definitions/app.Response"
  2994. }
  2995. }
  2996. }
  2997. }
  2998. },
  2999. "/Ermcp/QueryWarehouseInfo": {
  3000. "get": {
  3001. "security": [
  3002. {
  3003. "ApiKeyAuth": []
  3004. }
  3005. ],
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "企业风险管理(app)"
  3011. ],
  3012. "summary": "查询仓库信息",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "用户ID",
  3017. "name": "userid",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3024. "name": "status",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QryAreaExpourseContractDetail": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "套保商品id",
  3072. "name": "middlegoodsid",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3079. "name": "cycletype",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "string",
  3085. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3086. "name": "cycletime",
  3087. "in": "query",
  3088. "required": true
  3089. }
  3090. ],
  3091. "responses": {
  3092. "200": {
  3093. "description": "OK",
  3094. "schema": {
  3095. "type": "array",
  3096. "items": {
  3097. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3098. }
  3099. }
  3100. },
  3101. "500": {
  3102. "description": "Internal Server Error",
  3103. "schema": {
  3104. "$ref": "#/definitions/app.Response"
  3105. }
  3106. }
  3107. }
  3108. }
  3109. },
  3110. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3111. "get": {
  3112. "security": [
  3113. {
  3114. "ApiKeyAuth": []
  3115. }
  3116. ],
  3117. "produces": [
  3118. "application/json"
  3119. ],
  3120. "tags": [
  3121. "企业风险管理v3(app)"
  3122. ],
  3123. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3124. "parameters": [
  3125. {
  3126. "type": "integer",
  3127. "description": "用户ID",
  3128. "name": "userid",
  3129. "in": "query",
  3130. "required": true
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "套保商品id",
  3135. "name": "middlegoodsid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3142. "name": "cycletype",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3149. "name": "cycletime",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理v3(app)"
  3185. ],
  3186. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "套保商品id",
  3198. "name": "middlegoodsid",
  3199. "in": "query",
  3200. "required": true
  3201. },
  3202. {
  3203. "type": "integer",
  3204. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3205. "name": "cycletype",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "string",
  3211. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3212. "name": "cycletime",
  3213. "in": "query",
  3214. "required": true
  3215. }
  3216. ],
  3217. "responses": {
  3218. "200": {
  3219. "description": "OK",
  3220. "schema": {
  3221. "type": "array",
  3222. "items": {
  3223. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3224. }
  3225. }
  3226. },
  3227. "500": {
  3228. "description": "Internal Server Error",
  3229. "schema": {
  3230. "$ref": "#/definitions/app.Response"
  3231. }
  3232. }
  3233. }
  3234. }
  3235. },
  3236. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3237. "get": {
  3238. "security": [
  3239. {
  3240. "ApiKeyAuth": []
  3241. }
  3242. ],
  3243. "produces": [
  3244. "application/json"
  3245. ],
  3246. "tags": [
  3247. "企业风险管理v3(app)"
  3248. ],
  3249. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3250. "parameters": [
  3251. {
  3252. "type": "integer",
  3253. "description": "用户ID",
  3254. "name": "userid",
  3255. "in": "query",
  3256. "required": true
  3257. },
  3258. {
  3259. "type": "integer",
  3260. "description": "套保商品id",
  3261. "name": "middlegoodsid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3268. "name": "cycletype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "string",
  3274. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3275. "name": "cycletime",
  3276. "in": "query",
  3277. "required": true
  3278. }
  3279. ],
  3280. "responses": {
  3281. "200": {
  3282. "description": "OK",
  3283. "schema": {
  3284. "type": "array",
  3285. "items": {
  3286. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3287. }
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/Ermcp3/QryAreaExpourseReport": {
  3300. "get": {
  3301. "security": [
  3302. {
  3303. "ApiKeyAuth": []
  3304. }
  3305. ],
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "企业风险管理v3(app)"
  3311. ],
  3312. "summary": "查询敞口报表",
  3313. "parameters": [
  3314. {
  3315. "type": "integer",
  3316. "description": "用户ID",
  3317. "name": "userid",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3324. "name": "querytype",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3331. "name": "cycletype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "string",
  3337. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3338. "name": "cycletime",
  3339. "in": "query",
  3340. "required": true
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "type": "array",
  3348. "items": {
  3349. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3350. }
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/Ermcp3/QryAreaSpotplReport": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3370. "produces": [
  3371. "application/json"
  3372. ],
  3373. "tags": [
  3374. "企业风险管理v3(app)"
  3375. ],
  3376. "summary": "查询现货报表",
  3377. "parameters": [
  3378. {
  3379. "type": "integer",
  3380. "description": "用户ID",
  3381. "name": "userid",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "查询类型 1-报表 2-报表明细",
  3388. "name": "querytype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "integer",
  3394. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3395. "name": "cycletype",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "string",
  3401. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3402. "name": "cycletime",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "现货品种id(明细必填)",
  3409. "name": "deliverygoodsid",
  3410. "in": "query"
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "币种id(明细必填)",
  3415. "name": "currencyid",
  3416. "in": "query"
  3417. },
  3418. {
  3419. "type": "integer",
  3420. "description": "日/周/月报表汇总维度 1:品种+品类",
  3421. "name": "sumflag",
  3422. "in": "query"
  3423. }
  3424. ],
  3425. "responses": {
  3426. "200": {
  3427. "description": "OK",
  3428. "schema": {
  3429. "type": "array",
  3430. "items": {
  3431. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3432. }
  3433. }
  3434. },
  3435. "500": {
  3436. "description": "Internal Server Error",
  3437. "schema": {
  3438. "$ref": "#/definitions/app.Response"
  3439. }
  3440. }
  3441. }
  3442. }
  3443. },
  3444. "/Ermcp3/QryAreaStockReport": {
  3445. "get": {
  3446. "security": [
  3447. {
  3448. "ApiKeyAuth": []
  3449. }
  3450. ],
  3451. "produces": [
  3452. "application/json"
  3453. ],
  3454. "tags": [
  3455. "企业风险管理v3(app)"
  3456. ],
  3457. "summary": "查询库存报表",
  3458. "parameters": [
  3459. {
  3460. "type": "integer",
  3461. "description": "用户ID",
  3462. "name": "userid",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "查询类型 1-报表 2-报表明细",
  3469. "name": "querytype",
  3470. "in": "query",
  3471. "required": true
  3472. },
  3473. {
  3474. "type": "integer",
  3475. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3476. "name": "cycletype",
  3477. "in": "query",
  3478. "required": true
  3479. },
  3480. {
  3481. "type": "string",
  3482. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3483. "name": "cycletime",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "string",
  3489. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3490. "name": "sumfields",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "品种ID",
  3496. "name": "deliverygoodsid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "品类ID",
  3502. "name": "wrstandardid",
  3503. "in": "query"
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "品牌ID",
  3508. "name": "spotgoodsbrandid",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "仓库ID",
  3514. "name": "warehouseinfoid",
  3515. "in": "query"
  3516. }
  3517. ],
  3518. "responses": {
  3519. "200": {
  3520. "description": "OK",
  3521. "schema": {
  3522. "type": "array",
  3523. "items": {
  3524. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3525. }
  3526. }
  3527. },
  3528. "500": {
  3529. "description": "Internal Server Error",
  3530. "schema": {
  3531. "$ref": "#/definitions/app.Response"
  3532. }
  3533. }
  3534. }
  3535. }
  3536. },
  3537. "/Ermcp3/QryAreaSumPL": {
  3538. "get": {
  3539. "security": [
  3540. {
  3541. "ApiKeyAuth": []
  3542. }
  3543. ],
  3544. "produces": [
  3545. "application/json"
  3546. ],
  3547. "tags": [
  3548. "企业风险管理v3(app)"
  3549. ],
  3550. "summary": "查询汇总损益表",
  3551. "parameters": [
  3552. {
  3553. "type": "integer",
  3554. "description": "用户ID",
  3555. "name": "userid",
  3556. "in": "query",
  3557. "required": true
  3558. },
  3559. {
  3560. "type": "integer",
  3561. "description": "查询类型 1-报表 2-报表明细",
  3562. "name": "querytype",
  3563. "in": "query",
  3564. "required": true
  3565. },
  3566. {
  3567. "type": "integer",
  3568. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3569. "name": "cycletype",
  3570. "in": "query",
  3571. "required": true
  3572. },
  3573. {
  3574. "type": "string",
  3575. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3576. "name": "cycletime",
  3577. "in": "query",
  3578. "required": true
  3579. },
  3580. {
  3581. "type": "integer",
  3582. "description": "币种id(明细必填)",
  3583. "name": "currencyid",
  3584. "in": "query"
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "OK",
  3590. "schema": {
  3591. "type": "array",
  3592. "items": {
  3593. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3594. }
  3595. }
  3596. },
  3597. "500": {
  3598. "description": "Internal Server Error",
  3599. "schema": {
  3600. "$ref": "#/definitions/app.Response"
  3601. }
  3602. }
  3603. }
  3604. }
  3605. },
  3606. "/Ermcp3/QryFinanceReport": {
  3607. "get": {
  3608. "security": [
  3609. {
  3610. "ApiKeyAuth": []
  3611. }
  3612. ],
  3613. "produces": [
  3614. "application/json"
  3615. ],
  3616. "tags": [
  3617. "企业风险管理v3(app)"
  3618. ],
  3619. "summary": "查询财务报表",
  3620. "parameters": [
  3621. {
  3622. "type": "integer",
  3623. "description": "用户ID",
  3624. "name": "userid",
  3625. "in": "query",
  3626. "required": true
  3627. },
  3628. {
  3629. "type": "integer",
  3630. "description": "查询类型 1-报表 2-报表明细",
  3631. "name": "querytype",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "integer",
  3637. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3638. "name": "cycletype",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3645. "name": "cycletime",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "integer",
  3651. "description": "币种id(报表明细必填)",
  3652. "name": "currencyid",
  3653. "in": "query"
  3654. },
  3655. {
  3656. "type": "string",
  3657. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3658. "name": "sumfields",
  3659. "in": "query"
  3660. }
  3661. ],
  3662. "responses": {
  3663. "200": {
  3664. "description": "OK",
  3665. "schema": {
  3666. "type": "array",
  3667. "items": {
  3668. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3669. }
  3670. }
  3671. },
  3672. "500": {
  3673. "description": "Internal Server Error",
  3674. "schema": {
  3675. "$ref": "#/definitions/app.Response"
  3676. }
  3677. }
  3678. }
  3679. }
  3680. },
  3681. "/Ermcp3/QrySCMiddleGoodsReport": {
  3682. "get": {
  3683. "security": [
  3684. {
  3685. "ApiKeyAuth": []
  3686. }
  3687. ],
  3688. "produces": [
  3689. "application/json"
  3690. ],
  3691. "tags": [
  3692. "企业风险管理v3(app)"
  3693. ],
  3694. "summary": "查询定价报表",
  3695. "parameters": [
  3696. {
  3697. "type": "integer",
  3698. "description": "用户ID",
  3699. "name": "userid",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "integer",
  3705. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3706. "name": "cycletype",
  3707. "in": "query",
  3708. "required": true
  3709. },
  3710. {
  3711. "type": "string",
  3712. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3713. "name": "cycletime",
  3714. "in": "query",
  3715. "required": true
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "合同id",
  3720. "name": "spotcontractid",
  3721. "in": "query"
  3722. },
  3723. {
  3724. "type": "integer",
  3725. "description": "套保品种id",
  3726. "name": "middlegoodsid",
  3727. "in": "query"
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "现货品种id",
  3732. "name": "deliverygoodsid",
  3733. "in": "query"
  3734. },
  3735. {
  3736. "type": "integer",
  3737. "description": "现货商品id",
  3738. "name": "wrstandardid",
  3739. "in": "query"
  3740. },
  3741. {
  3742. "type": "string",
  3743. "description": "合同编号(模糊匹配)",
  3744. "name": "contractno",
  3745. "in": "query"
  3746. }
  3747. ],
  3748. "responses": {
  3749. "200": {
  3750. "description": "OK",
  3751. "schema": {
  3752. "type": "array",
  3753. "items": {
  3754. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3755. }
  3756. }
  3757. },
  3758. "500": {
  3759. "description": "Internal Server Error",
  3760. "schema": {
  3761. "$ref": "#/definitions/app.Response"
  3762. }
  3763. }
  3764. }
  3765. }
  3766. },
  3767. "/Ermcp3/QryTaFutureDataReport": {
  3768. "get": {
  3769. "security": [
  3770. {
  3771. "ApiKeyAuth": []
  3772. }
  3773. ],
  3774. "produces": [
  3775. "application/json"
  3776. ],
  3777. "tags": [
  3778. "企业风险管理v3(app)"
  3779. ],
  3780. "summary": "查询期货报表",
  3781. "parameters": [
  3782. {
  3783. "type": "integer",
  3784. "description": "用户ID",
  3785. "name": "userid",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "查询类型 1-报表 2-报表明细",
  3792. "name": "querytype",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3799. "name": "cycletype",
  3800. "in": "query",
  3801. "required": true
  3802. },
  3803. {
  3804. "type": "string",
  3805. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3806. "name": "cycletime",
  3807. "in": "query",
  3808. "required": true
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "币种id(查明细必填)",
  3813. "name": "currencyid",
  3814. "in": "query"
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "品种id(查明细必填)",
  3819. "name": "goodsgroupid",
  3820. "in": "query"
  3821. },
  3822. {
  3823. "type": "integer",
  3824. "description": "商品id(查明细必填)",
  3825. "name": "goodsid",
  3826. "in": "query"
  3827. },
  3828. {
  3829. "type": "integer",
  3830. "description": "买卖方向(查明细必填)",
  3831. "name": "buyorsell",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp3/QueryAreaStock": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理v3(app)"
  3866. ],
  3867. "summary": "查询机构库存(库存管理/当前库存)",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "用户ID",
  3872. "name": "userid",
  3873. "in": "query",
  3874. "required": true
  3875. }
  3876. ],
  3877. "responses": {
  3878. "200": {
  3879. "description": "OK",
  3880. "schema": {
  3881. "type": "array",
  3882. "items": {
  3883. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3884. }
  3885. }
  3886. },
  3887. "500": {
  3888. "description": "Internal Server Error",
  3889. "schema": {
  3890. "$ref": "#/definitions/app.Response"
  3891. }
  3892. }
  3893. }
  3894. }
  3895. },
  3896. "/Ermcp3/QueryAreaStockApply": {
  3897. "get": {
  3898. "security": [
  3899. {
  3900. "ApiKeyAuth": []
  3901. }
  3902. ],
  3903. "produces": [
  3904. "application/json"
  3905. ],
  3906. "tags": [
  3907. "企业风险管理v3(app)"
  3908. ],
  3909. "summary": "查询库存申请(出入库记录|库存审核)",
  3910. "parameters": [
  3911. {
  3912. "type": "integer",
  3913. "description": "用户ID",
  3914. "name": "userid",
  3915. "in": "query",
  3916. "required": true
  3917. },
  3918. {
  3919. "type": "integer",
  3920. "description": "用户类型 2-机构 7-企业成员",
  3921. "name": "usertype",
  3922. "in": "query"
  3923. },
  3924. {
  3925. "type": "integer",
  3926. "description": "现货商品ID",
  3927. "name": "deliverygoodsid",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "string",
  3932. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3933. "name": "inouttype",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "integer",
  3938. "description": "合同ID",
  3939. "name": "spotcontractid",
  3940. "in": "query"
  3941. },
  3942. {
  3943. "type": "integer",
  3944. "description": "品类ID",
  3945. "name": "wrstandardid",
  3946. "in": "query"
  3947. },
  3948. {
  3949. "type": "integer",
  3950. "description": "品牌ID",
  3951. "name": "spotgoodsbrandid",
  3952. "in": "query"
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "仓库ID",
  3957. "name": "warehouseinfoid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3963. "name": "applystatus",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QueryAreaStockApplySum": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "合同ID",
  4004. "name": "spotcontractid",
  4005. "in": "query",
  4006. "required": true
  4007. }
  4008. ],
  4009. "responses": {
  4010. "200": {
  4011. "description": "OK",
  4012. "schema": {
  4013. "type": "array",
  4014. "items": {
  4015. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4016. }
  4017. }
  4018. },
  4019. "500": {
  4020. "description": "Internal Server Error",
  4021. "schema": {
  4022. "$ref": "#/definitions/app.Response"
  4023. }
  4024. }
  4025. }
  4026. }
  4027. },
  4028. "/Ermcp3/QueryDGFactoryItem": {
  4029. "get": {
  4030. "security": [
  4031. {
  4032. "ApiKeyAuth": []
  4033. }
  4034. ],
  4035. "produces": [
  4036. "application/json"
  4037. ],
  4038. "tags": [
  4039. "企业风险管理v3(app)"
  4040. ],
  4041. "summary": "查询品种要素定义项",
  4042. "parameters": [
  4043. {
  4044. "type": "integer",
  4045. "description": "用户id",
  4046. "name": "userid",
  4047. "in": "query"
  4048. },
  4049. {
  4050. "type": "integer",
  4051. "description": "用户类型 2-机构 7-企业成员",
  4052. "name": "usertype",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "integer",
  4057. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4058. "name": "dgfactoryitemid",
  4059. "in": "query"
  4060. },
  4061. {
  4062. "type": "integer",
  4063. "description": "现货品种ID",
  4064. "name": "deliverygoodsid",
  4065. "in": "query"
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "要素项类型",
  4070. "name": "dgfactoryitemtypeid",
  4071. "in": "query"
  4072. },
  4073. {
  4074. "type": "integer",
  4075. "description": "顺序",
  4076. "name": "orderindex",
  4077. "in": "query"
  4078. }
  4079. ],
  4080. "responses": {
  4081. "200": {
  4082. "description": "OK",
  4083. "schema": {
  4084. "type": "array",
  4085. "items": {
  4086. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4087. }
  4088. }
  4089. },
  4090. "500": {
  4091. "description": "Internal Server Error",
  4092. "schema": {
  4093. "$ref": "#/definitions/app.Response"
  4094. }
  4095. }
  4096. }
  4097. }
  4098. },
  4099. "/Ermcp3/QueryDeliveryGoods": {
  4100. "get": {
  4101. "security": [
  4102. {
  4103. "ApiKeyAuth": []
  4104. }
  4105. ],
  4106. "produces": [
  4107. "application/json"
  4108. ],
  4109. "tags": [
  4110. "企业风险管理v3(app)"
  4111. ],
  4112. "summary": "查询现货商品",
  4113. "parameters": [
  4114. {
  4115. "type": "integer",
  4116. "description": "用户id",
  4117. "name": "userid",
  4118. "in": "query",
  4119. "required": true
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "用户类型 2-机构 7-企业成员",
  4124. "name": "usertype",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4130. "name": "excludecfg",
  4131. "in": "query"
  4132. }
  4133. ],
  4134. "responses": {
  4135. "200": {
  4136. "description": "OK",
  4137. "schema": {
  4138. "type": "array",
  4139. "items": {
  4140. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4141. }
  4142. }
  4143. },
  4144. "500": {
  4145. "description": "Internal Server Error",
  4146. "schema": {
  4147. "$ref": "#/definitions/app.Response"
  4148. }
  4149. }
  4150. }
  4151. }
  4152. },
  4153. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4154. "get": {
  4155. "security": [
  4156. {
  4157. "ApiKeyAuth": []
  4158. }
  4159. ],
  4160. "produces": [
  4161. "application/json"
  4162. ],
  4163. "tags": [
  4164. "企业风险管理v3(app)"
  4165. ],
  4166. "summary": "查询现货商品详情",
  4167. "parameters": [
  4168. {
  4169. "type": "integer",
  4170. "description": "用户id",
  4171. "name": "userid",
  4172. "in": "query",
  4173. "required": true
  4174. },
  4175. {
  4176. "type": "integer",
  4177. "description": "用户类型 2-机构 7-企业成员",
  4178. "name": "usertype",
  4179. "in": "query"
  4180. },
  4181. {
  4182. "type": "integer",
  4183. "description": "现货商品id",
  4184. "name": "deliverygoodsid",
  4185. "in": "query"
  4186. },
  4187. {
  4188. "type": "integer",
  4189. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4190. "name": "filtersubempty",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.XHDeliveryGoods"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询现货合同期现配置信息",
  4227. "parameters": [
  4228. {
  4229. "type": "string",
  4230. "description": "合同id",
  4231. "name": "spotcontractid",
  4232. "in": "query",
  4233. "required": true
  4234. }
  4235. ],
  4236. "responses": {
  4237. "200": {
  4238. "description": "OK",
  4239. "schema": {
  4240. "type": "array",
  4241. "items": {
  4242. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4243. }
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Ermcp3/QueryExposureDetail": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "produces": [
  4263. "application/json"
  4264. ],
  4265. "tags": [
  4266. "企业风险管理v3(app)"
  4267. ],
  4268. "summary": "查询敞口现货明细",
  4269. "parameters": [
  4270. {
  4271. "type": "integer",
  4272. "description": "用户id",
  4273. "name": "userid",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "用户类型 2-机构 7-企业成员",
  4280. "name": "usertype",
  4281. "in": "query"
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "套保商品",
  4286. "name": "middlegoodsid",
  4287. "in": "query",
  4288. "required": true
  4289. }
  4290. ],
  4291. "responses": {
  4292. "200": {
  4293. "description": "OK",
  4294. "schema": {
  4295. "type": "array",
  4296. "items": {
  4297. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4298. }
  4299. }
  4300. },
  4301. "500": {
  4302. "description": "Internal Server Error",
  4303. "schema": {
  4304. "$ref": "#/definitions/app.Response"
  4305. }
  4306. }
  4307. }
  4308. }
  4309. },
  4310. "/Ermcp3/QueryExposureSpot": {
  4311. "get": {
  4312. "security": [
  4313. {
  4314. "ApiKeyAuth": []
  4315. }
  4316. ],
  4317. "produces": [
  4318. "application/json"
  4319. ],
  4320. "tags": [
  4321. "企业风险管理v3(app)"
  4322. ],
  4323. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4324. "parameters": [
  4325. {
  4326. "type": "integer",
  4327. "description": "用户id",
  4328. "name": "userid",
  4329. "in": "query",
  4330. "required": true
  4331. },
  4332. {
  4333. "type": "integer",
  4334. "description": "用户类型 2-机构 7-企业成员",
  4335. "name": "usertype",
  4336. "in": "query"
  4337. }
  4338. ],
  4339. "responses": {
  4340. "200": {
  4341. "description": "OK",
  4342. "schema": {
  4343. "type": "array",
  4344. "items": {
  4345. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4346. }
  4347. }
  4348. },
  4349. "500": {
  4350. "description": "Internal Server Error",
  4351. "schema": {
  4352. "$ref": "#/definitions/app.Response"
  4353. }
  4354. }
  4355. }
  4356. }
  4357. },
  4358. "/Ermcp3/QueryExposureSpotDetail": {
  4359. "get": {
  4360. "security": [
  4361. {
  4362. "ApiKeyAuth": []
  4363. }
  4364. ],
  4365. "produces": [
  4366. "application/json"
  4367. ],
  4368. "tags": [
  4369. "企业风险管理v3(app)"
  4370. ],
  4371. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4372. "parameters": [
  4373. {
  4374. "type": "integer",
  4375. "description": "用户id",
  4376. "name": "userid",
  4377. "in": "query",
  4378. "required": true
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "用户类型 2-机构 7-企业成员",
  4383. "name": "usertype",
  4384. "in": "query"
  4385. },
  4386. {
  4387. "type": "integer",
  4388. "description": "现货商品ID",
  4389. "name": "wrstandardid",
  4390. "in": "query",
  4391. "required": true
  4392. }
  4393. ],
  4394. "responses": {
  4395. "200": {
  4396. "description": "OK",
  4397. "schema": {
  4398. "type": "array",
  4399. "items": {
  4400. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4401. }
  4402. }
  4403. },
  4404. "500": {
  4405. "description": "Internal Server Error",
  4406. "schema": {
  4407. "$ref": "#/definitions/app.Response"
  4408. }
  4409. }
  4410. }
  4411. }
  4412. },
  4413. "/Ermcp3/QueryGoodsGroup": {
  4414. "get": {
  4415. "security": [
  4416. {
  4417. "ApiKeyAuth": []
  4418. }
  4419. ],
  4420. "produces": [
  4421. "application/json"
  4422. ],
  4423. "tags": [
  4424. "企业风险管理v3(app)"
  4425. ],
  4426. "summary": "查询期货商品组",
  4427. "parameters": [
  4428. {
  4429. "type": "integer",
  4430. "description": "用户id",
  4431. "name": "userid",
  4432. "in": "query",
  4433. "required": true
  4434. },
  4435. {
  4436. "type": "integer",
  4437. "description": "用户类型 2-机构 7-企业成员",
  4438. "name": "usertype",
  4439. "in": "query"
  4440. },
  4441. {
  4442. "type": "integer",
  4443. "description": "排除套保品中已关联的商品组 1-排除",
  4444. "name": "excludecfg",
  4445. "in": "query"
  4446. }
  4447. ],
  4448. "responses": {
  4449. "200": {
  4450. "description": "OK",
  4451. "schema": {
  4452. "type": "array",
  4453. "items": {
  4454. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4455. }
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/Ermcp3/QueryGoodsWrstandard": {
  4468. "get": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "企业风险管理v3(app)"
  4479. ],
  4480. "summary": "查询商品品类",
  4481. "parameters": [
  4482. {
  4483. "type": "integer",
  4484. "description": "用户id",
  4485. "name": "userid",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "用户类型 2-机构 7-企业成员",
  4492. "name": "usertype",
  4493. "in": "query"
  4494. },
  4495. {
  4496. "type": "integer",
  4497. "description": "现货商品id",
  4498. "name": "deliverygoodsid",
  4499. "in": "query"
  4500. }
  4501. ],
  4502. "responses": {
  4503. "200": {
  4504. "description": "OK",
  4505. "schema": {
  4506. "type": "array",
  4507. "items": {
  4508. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4509. }
  4510. }
  4511. },
  4512. "500": {
  4513. "description": "Internal Server Error",
  4514. "schema": {
  4515. "$ref": "#/definitions/app.Response"
  4516. }
  4517. }
  4518. }
  4519. }
  4520. },
  4521. "/Ermcp3/QueryGoodsbrand": {
  4522. "get": {
  4523. "security": [
  4524. {
  4525. "ApiKeyAuth": []
  4526. }
  4527. ],
  4528. "produces": [
  4529. "application/json"
  4530. ],
  4531. "tags": [
  4532. "企业风险管理v3(app)"
  4533. ],
  4534. "summary": "查询商品品牌",
  4535. "parameters": [
  4536. {
  4537. "type": "integer",
  4538. "description": "用户id",
  4539. "name": "userid",
  4540. "in": "query",
  4541. "required": true
  4542. },
  4543. {
  4544. "type": "integer",
  4545. "description": "用户类型 2-机构 7-企业成员",
  4546. "name": "usertype",
  4547. "in": "query"
  4548. }
  4549. ],
  4550. "responses": {
  4551. "200": {
  4552. "description": "OK",
  4553. "schema": {
  4554. "type": "array",
  4555. "items": {
  4556. "$ref": "#/definitions/models.Ermcp3Brand"
  4557. }
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. },
  4569. "/Ermcp3/QueryHPMiddleGoods": {
  4570. "get": {
  4571. "security": [
  4572. {
  4573. "ApiKeyAuth": []
  4574. }
  4575. ],
  4576. "produces": [
  4577. "application/json"
  4578. ],
  4579. "tags": [
  4580. "企业风险管理v3(app)"
  4581. ],
  4582. "summary": "查询可关联套保计划",
  4583. "parameters": [
  4584. {
  4585. "type": "integer",
  4586. "description": "用户ID(填登录用户的userid)",
  4587. "name": "userid",
  4588. "in": "query",
  4589. "required": true
  4590. },
  4591. {
  4592. "type": "integer",
  4593. "description": "买卖方向 0-买 1-卖",
  4594. "name": "buyorsell",
  4595. "in": "query",
  4596. "required": true
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "商品组id",
  4601. "name": "goodsgroupid",
  4602. "in": "query",
  4603. "required": true
  4604. },
  4605. {
  4606. "type": "string",
  4607. "description": "套保计划编号(模糊匹配)",
  4608. "name": "hedgeplanno",
  4609. "in": "query"
  4610. },
  4611. {
  4612. "type": "string",
  4613. "description": "现货商品名称(模糊匹配)",
  4614. "name": "wrstandardname",
  4615. "in": "query"
  4616. }
  4617. ],
  4618. "responses": {
  4619. "200": {
  4620. "description": "OK",
  4621. "schema": {
  4622. "type": "array",
  4623. "items": {
  4624. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4625. }
  4626. }
  4627. },
  4628. "500": {
  4629. "description": "Internal Server Error",
  4630. "schema": {
  4631. "$ref": "#/definitions/app.Response"
  4632. }
  4633. }
  4634. }
  4635. }
  4636. },
  4637. "/Ermcp3/QueryHedgePlan": {
  4638. "get": {
  4639. "security": [
  4640. {
  4641. "ApiKeyAuth": []
  4642. }
  4643. ],
  4644. "produces": [
  4645. "application/json"
  4646. ],
  4647. "tags": [
  4648. "企业风险管理v3(app)"
  4649. ],
  4650. "summary": "查询套保计划",
  4651. "parameters": [
  4652. {
  4653. "type": "integer",
  4654. "description": "用户ID",
  4655. "name": "userid",
  4656. "in": "query",
  4657. "required": true
  4658. },
  4659. {
  4660. "type": "integer",
  4661. "description": "用户类型 2-机构 7-企业成员",
  4662. "name": "usertype",
  4663. "in": "query"
  4664. },
  4665. {
  4666. "type": "string",
  4667. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4668. "name": "hedgeplanstatus",
  4669. "in": "query",
  4670. "required": true
  4671. }
  4672. ],
  4673. "responses": {
  4674. "200": {
  4675. "description": "OK",
  4676. "schema": {
  4677. "type": "array",
  4678. "items": {
  4679. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4680. }
  4681. }
  4682. },
  4683. "500": {
  4684. "description": "Internal Server Error",
  4685. "schema": {
  4686. "$ref": "#/definitions/app.Response"
  4687. }
  4688. }
  4689. }
  4690. }
  4691. },
  4692. "/Ermcp3/QueryInnerTradeLink": {
  4693. "get": {
  4694. "security": [
  4695. {
  4696. "ApiKeyAuth": []
  4697. }
  4698. ],
  4699. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4700. "produces": [
  4701. "application/json"
  4702. ],
  4703. "tags": [
  4704. "企业风险管理v3(app)"
  4705. ],
  4706. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4707. "parameters": [
  4708. {
  4709. "type": "integer",
  4710. "description": "外部成交单号",
  4711. "name": "outtradeid",
  4712. "in": "query",
  4713. "required": true
  4714. }
  4715. ],
  4716. "responses": {
  4717. "200": {
  4718. "description": "OK",
  4719. "schema": {
  4720. "type": "array",
  4721. "items": {
  4722. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4723. }
  4724. }
  4725. },
  4726. "500": {
  4727. "description": "Internal Server Error",
  4728. "schema": {
  4729. "$ref": "#/definitions/app.Response"
  4730. }
  4731. }
  4732. }
  4733. }
  4734. },
  4735. "/Ermcp3/QueryMiddleGoodsDetail": {
  4736. "get": {
  4737. "security": [
  4738. {
  4739. "ApiKeyAuth": []
  4740. }
  4741. ],
  4742. "produces": [
  4743. "application/json"
  4744. ],
  4745. "tags": [
  4746. "企业风险管理v3(app)"
  4747. ],
  4748. "summary": "查询套保品种详情(套保品种/商品详情)",
  4749. "parameters": [
  4750. {
  4751. "type": "integer",
  4752. "description": "用户id",
  4753. "name": "userid",
  4754. "in": "query",
  4755. "required": true
  4756. },
  4757. {
  4758. "type": "integer",
  4759. "description": "用户类型 2-机构 7-企业成员",
  4760. "name": "usertype",
  4761. "in": "query"
  4762. },
  4763. {
  4764. "type": "integer",
  4765. "description": "套保品种id",
  4766. "name": "middlegoodsid",
  4767. "in": "query"
  4768. }
  4769. ],
  4770. "responses": {
  4771. "200": {
  4772. "description": "OK",
  4773. "schema": {
  4774. "type": "array",
  4775. "items": {
  4776. "$ref": "#/definitions/models.TBMiddleGoods"
  4777. }
  4778. }
  4779. },
  4780. "500": {
  4781. "description": "Internal Server Error",
  4782. "schema": {
  4783. "$ref": "#/definitions/app.Response"
  4784. }
  4785. }
  4786. }
  4787. }
  4788. },
  4789. "/Ermcp3/QueryOutTradeLink": {
  4790. "get": {
  4791. "security": [
  4792. {
  4793. "ApiKeyAuth": []
  4794. }
  4795. ],
  4796. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4797. "produces": [
  4798. "application/json"
  4799. ],
  4800. "tags": [
  4801. "企业风险管理v3(app)"
  4802. ],
  4803. "summary": "查询外部成交单关联",
  4804. "parameters": [
  4805. {
  4806. "type": "integer",
  4807. "description": "用户ID(填登录用户的userid)",
  4808. "name": "userid",
  4809. "in": "query",
  4810. "required": true
  4811. },
  4812. {
  4813. "type": "string",
  4814. "description": "外部订单号(模糊匹配)",
  4815. "name": "outtradeid",
  4816. "in": "query"
  4817. },
  4818. {
  4819. "type": "string",
  4820. "description": "合约名称/代码(模糊匹配)",
  4821. "name": "goodsname",
  4822. "in": "query"
  4823. },
  4824. {
  4825. "type": "integer",
  4826. "description": "关联状态 0-未关联 1-已关联",
  4827. "name": "hasinnerorder",
  4828. "in": "query"
  4829. }
  4830. ],
  4831. "responses": {
  4832. "200": {
  4833. "description": "OK",
  4834. "schema": {
  4835. "type": "array",
  4836. "items": {
  4837. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4838. }
  4839. }
  4840. },
  4841. "500": {
  4842. "description": "Internal Server Error",
  4843. "schema": {
  4844. "$ref": "#/definitions/app.Response"
  4845. }
  4846. }
  4847. }
  4848. }
  4849. },
  4850. "/Ermcp3/QueryPaAreaAuditCfg": {
  4851. "get": {
  4852. "security": [
  4853. {
  4854. "ApiKeyAuth": []
  4855. }
  4856. ],
  4857. "produces": [
  4858. "application/json"
  4859. ],
  4860. "tags": [
  4861. "企业风险管理v3(app)"
  4862. ],
  4863. "summary": "查询审核设置",
  4864. "parameters": [
  4865. {
  4866. "type": "integer",
  4867. "description": "用户id",
  4868. "name": "userid",
  4869. "in": "query",
  4870. "required": true
  4871. }
  4872. ],
  4873. "responses": {
  4874. "200": {
  4875. "description": "OK",
  4876. "schema": {
  4877. "type": "array",
  4878. "items": {
  4879. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4880. }
  4881. }
  4882. },
  4883. "500": {
  4884. "description": "Internal Server Error",
  4885. "schema": {
  4886. "$ref": "#/definitions/app.Response"
  4887. }
  4888. }
  4889. }
  4890. }
  4891. },
  4892. "/Ermcp3/QueryPaAreaSubject": {
  4893. "get": {
  4894. "security": [
  4895. {
  4896. "ApiKeyAuth": []
  4897. }
  4898. ],
  4899. "produces": [
  4900. "application/json"
  4901. ],
  4902. "tags": [
  4903. "企业风险管理v3(app)"
  4904. ],
  4905. "summary": "查询交易主体",
  4906. "parameters": [
  4907. {
  4908. "type": "integer",
  4909. "description": "用户id",
  4910. "name": "userid",
  4911. "in": "query",
  4912. "required": true
  4913. },
  4914. {
  4915. "type": "integer",
  4916. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4917. "name": "subjectid",
  4918. "in": "query"
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "主体类型 - 1:交易主体 2:业务部门",
  4923. "name": "subjecttype",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "integer",
  4928. "description": "主体状态 - 1:正常 2: 停用",
  4929. "name": "subjectstatus",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "type": "array",
  4938. "items": {
  4939. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4940. }
  4941. }
  4942. },
  4943. "500": {
  4944. "description": "Internal Server Error",
  4945. "schema": {
  4946. "$ref": "#/definitions/app.Response"
  4947. }
  4948. }
  4949. }
  4950. }
  4951. },
  4952. "/Ermcp3/QueryPaTradeLink": {
  4953. "get": {
  4954. "security": [
  4955. {
  4956. "ApiKeyAuth": []
  4957. }
  4958. ],
  4959. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4960. "produces": [
  4961. "application/json"
  4962. ],
  4963. "tags": [
  4964. "企业风险管理v3(app)"
  4965. ],
  4966. "summary": "查询期现单据关联",
  4967. "parameters": [
  4968. {
  4969. "type": "integer",
  4970. "description": "用户ID",
  4971. "name": "userid",
  4972. "in": "query",
  4973. "required": true
  4974. }
  4975. ],
  4976. "responses": {
  4977. "200": {
  4978. "description": "OK",
  4979. "schema": {
  4980. "type": "array",
  4981. "items": {
  4982. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4983. }
  4984. }
  4985. },
  4986. "500": {
  4987. "description": "Internal Server Error",
  4988. "schema": {
  4989. "$ref": "#/definitions/app.Response"
  4990. }
  4991. }
  4992. }
  4993. }
  4994. },
  4995. "/Ermcp3/QueryPaTradeLinkDetail": {
  4996. "get": {
  4997. "security": [
  4998. {
  4999. "ApiKeyAuth": []
  5000. }
  5001. ],
  5002. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5003. "produces": [
  5004. "application/json"
  5005. ],
  5006. "tags": [
  5007. "企业风险管理v3(app)"
  5008. ],
  5009. "summary": "查询期现关联记录",
  5010. "parameters": [
  5011. {
  5012. "type": "integer",
  5013. "description": "用户ID(填登录用户的userid)",
  5014. "name": "userid",
  5015. "in": "query",
  5016. "required": true
  5017. },
  5018. {
  5019. "type": "integer",
  5020. "description": "关联状态 1:成功 2:失败 3:解绑",
  5021. "name": "linkstatus",
  5022. "in": "query"
  5023. },
  5024. {
  5025. "type": "string",
  5026. "description": "期货订单号(模糊匹配)",
  5027. "name": "tradeid",
  5028. "in": "query"
  5029. },
  5030. {
  5031. "type": "string",
  5032. "description": "现货编号(模糊匹配)",
  5033. "name": "contractno",
  5034. "in": "query"
  5035. },
  5036. {
  5037. "type": "string",
  5038. "description": "期货账户(模糊匹配)",
  5039. "name": "taname",
  5040. "in": "query"
  5041. }
  5042. ],
  5043. "responses": {
  5044. "200": {
  5045. "description": "OK",
  5046. "schema": {
  5047. "type": "array",
  5048. "items": {
  5049. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5050. }
  5051. }
  5052. },
  5053. "500": {
  5054. "description": "Internal Server Error",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "/Ermcp3/QueryParamChangeApp": {
  5063. "get": {
  5064. "security": [
  5065. {
  5066. "ApiKeyAuth": []
  5067. }
  5068. ],
  5069. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  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. },
  5091. {
  5092. "type": "integer",
  5093. "description": "现货商品id",
  5094. "name": "wrstandardid",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "integer",
  5099. "description": "套保商品id",
  5100. "name": "middlegoodsid",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "操作类型 1:新增 2:修改",
  5106. "name": "operatetype",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "integer",
  5111. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5112. "name": "paramchangetype",
  5113. "in": "query"
  5114. },
  5115. {
  5116. "type": "string",
  5117. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5118. "name": "ftstatus",
  5119. "in": "query"
  5120. }
  5121. ],
  5122. "responses": {
  5123. "200": {
  5124. "description": "OK",
  5125. "schema": {
  5126. "type": "array",
  5127. "items": {
  5128. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5129. }
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/Ermcp3/QueryRootUserAccount": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "企业风险管理v3(app)"
  5153. ],
  5154. "summary": "查询顶级用户信息",
  5155. "parameters": [
  5156. {
  5157. "type": "integer",
  5158. "description": "用户ID",
  5159. "name": "userid",
  5160. "in": "query",
  5161. "required": true
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "type": "array",
  5169. "items": {
  5170. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5171. }
  5172. }
  5173. },
  5174. "500": {
  5175. "description": "Internal Server Error",
  5176. "schema": {
  5177. "$ref": "#/definitions/app.Response"
  5178. }
  5179. }
  5180. }
  5181. }
  5182. },
  5183. "/Ermcp3/QuerySCMiddleGoods": {
  5184. "get": {
  5185. "security": [
  5186. {
  5187. "ApiKeyAuth": []
  5188. }
  5189. ],
  5190. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5191. "produces": [
  5192. "application/json"
  5193. ],
  5194. "tags": [
  5195. "企业风险管理v3(app)"
  5196. ],
  5197. "summary": "查询现货订单",
  5198. "parameters": [
  5199. {
  5200. "type": "integer",
  5201. "description": "用户ID(填登录用户的userid)",
  5202. "name": "userid",
  5203. "in": "query",
  5204. "required": true
  5205. },
  5206. {
  5207. "type": "integer",
  5208. "description": "买卖方向 0-买 1-卖",
  5209. "name": "buyorsell",
  5210. "in": "query",
  5211. "required": true
  5212. },
  5213. {
  5214. "type": "integer",
  5215. "description": "商品组id",
  5216. "name": "goodsgroupid",
  5217. "in": "query",
  5218. "required": true
  5219. },
  5220. {
  5221. "type": "integer",
  5222. "description": "业务类型 1:套保 2:套利",
  5223. "name": "biztype",
  5224. "in": "query"
  5225. },
  5226. {
  5227. "type": "string",
  5228. "description": "现货编号(模糊匹配)",
  5229. "name": "contractno",
  5230. "in": "query"
  5231. },
  5232. {
  5233. "type": "string",
  5234. "description": "对手方(模糊匹配)",
  5235. "name": "customername",
  5236. "in": "query"
  5237. },
  5238. {
  5239. "type": "string",
  5240. "description": "现货商品名称(模糊匹配)",
  5241. "name": "wrstandardname",
  5242. "in": "query"
  5243. }
  5244. ],
  5245. "responses": {
  5246. "200": {
  5247. "description": "OK",
  5248. "schema": {
  5249. "type": "array",
  5250. "items": {
  5251. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5252. }
  5253. }
  5254. },
  5255. "500": {
  5256. "description": "Internal Server Error",
  5257. "schema": {
  5258. "$ref": "#/definitions/app.Response"
  5259. }
  5260. }
  5261. }
  5262. }
  5263. },
  5264. "/Ermcp3/QuerySpotContract": {
  5265. "get": {
  5266. "security": [
  5267. {
  5268. "ApiKeyAuth": []
  5269. }
  5270. ],
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "企业风险管理v3(app)"
  5276. ],
  5277. "summary": "查询现货合同",
  5278. "parameters": [
  5279. {
  5280. "type": "integer",
  5281. "description": "用户id(当指定contractid, userid可不填)",
  5282. "name": "userid",
  5283. "in": "query",
  5284. "required": true
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "用户类型 2-机构 7-企业成员",
  5289. "name": "usertype",
  5290. "in": "query"
  5291. },
  5292. {
  5293. "type": "integer",
  5294. "description": "合同类型 1-采购, -1-销售",
  5295. "name": "contracttype",
  5296. "in": "query"
  5297. },
  5298. {
  5299. "type": "string",
  5300. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5301. "name": "querytype",
  5302. "in": "query"
  5303. },
  5304. {
  5305. "type": "string",
  5306. "description": "合同ID(SpotContractId)",
  5307. "name": "contractid",
  5308. "in": "query"
  5309. },
  5310. {
  5311. "type": "string",
  5312. "description": "合同编号(模糊匹配)",
  5313. "name": "contractno",
  5314. "in": "query"
  5315. },
  5316. {
  5317. "type": "string",
  5318. "description": "商品名称(模糊匹配)",
  5319. "name": "wrstandardname",
  5320. "in": "query"
  5321. },
  5322. {
  5323. "type": "string",
  5324. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5325. "name": "status",
  5326. "in": "query"
  5327. },
  5328. {
  5329. "type": "integer",
  5330. "description": "是否只查今日的合同 1-查今日合同",
  5331. "name": "istoday",
  5332. "in": "query"
  5333. }
  5334. ],
  5335. "responses": {
  5336. "200": {
  5337. "description": "OK",
  5338. "schema": {
  5339. "type": "array",
  5340. "items": {
  5341. "$ref": "#/definitions/models.Ermcp3Contract"
  5342. }
  5343. }
  5344. },
  5345. "500": {
  5346. "description": "Internal Server Error",
  5347. "schema": {
  5348. "$ref": "#/definitions/app.Response"
  5349. }
  5350. }
  5351. }
  5352. }
  5353. },
  5354. "/Ermcp3/QuerySpotContractBS": {
  5355. "get": {
  5356. "security": [
  5357. {
  5358. "ApiKeyAuth": []
  5359. }
  5360. ],
  5361. "produces": [
  5362. "application/json"
  5363. ],
  5364. "tags": [
  5365. "企业风险管理v3(app)"
  5366. ],
  5367. "summary": "查询合同(采购/销售)",
  5368. "parameters": [
  5369. {
  5370. "type": "integer",
  5371. "description": "用户id",
  5372. "name": "userid",
  5373. "in": "query",
  5374. "required": true
  5375. },
  5376. {
  5377. "type": "integer",
  5378. "description": "用户类型 2-机构 7-企业成员",
  5379. "name": "usertype",
  5380. "in": "query"
  5381. },
  5382. {
  5383. "type": "integer",
  5384. "description": "合同类型 1-采购, -1-销售",
  5385. "name": "contracttype",
  5386. "in": "query",
  5387. "required": true
  5388. },
  5389. {
  5390. "type": "integer",
  5391. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5392. "name": "querytype",
  5393. "in": "query"
  5394. },
  5395. {
  5396. "type": "string",
  5397. "description": "合同ID(SpotContractId)",
  5398. "name": "contractid",
  5399. "in": "query"
  5400. },
  5401. {
  5402. "type": "string",
  5403. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5404. "name": "status",
  5405. "in": "query"
  5406. },
  5407. {
  5408. "type": "integer",
  5409. "description": "是否只查今日的合同 1-查今日合同",
  5410. "name": "istoday",
  5411. "in": "query"
  5412. }
  5413. ],
  5414. "responses": {
  5415. "200": {
  5416. "description": "OK",
  5417. "schema": {
  5418. "type": "array",
  5419. "items": {
  5420. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5421. }
  5422. }
  5423. },
  5424. "500": {
  5425. "description": "Internal Server Error",
  5426. "schema": {
  5427. "$ref": "#/definitions/app.Response"
  5428. }
  5429. }
  5430. }
  5431. }
  5432. },
  5433. "/Ermcp3/QuerySpotGoodsPrice": {
  5434. "get": {
  5435. "security": [
  5436. {
  5437. "ApiKeyAuth": []
  5438. }
  5439. ],
  5440. "produces": [
  5441. "application/json"
  5442. ],
  5443. "tags": [
  5444. "企业风险管理v3(app)"
  5445. ],
  5446. "summary": "查询现货市价(现货市价)",
  5447. "parameters": [
  5448. {
  5449. "type": "integer",
  5450. "description": "用户ID",
  5451. "name": "userid",
  5452. "in": "query",
  5453. "required": true
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "type": "array",
  5461. "items": {
  5462. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5463. }
  5464. }
  5465. },
  5466. "500": {
  5467. "description": "Internal Server Error",
  5468. "schema": {
  5469. "$ref": "#/definitions/app.Response"
  5470. }
  5471. }
  5472. }
  5473. }
  5474. },
  5475. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5476. "get": {
  5477. "security": [
  5478. {
  5479. "ApiKeyAuth": []
  5480. }
  5481. ],
  5482. "produces": [
  5483. "application/json"
  5484. ],
  5485. "tags": [
  5486. "企业风险管理v3(app)"
  5487. ],
  5488. "summary": "查询现货市价详情(现货市价/详情)",
  5489. "parameters": [
  5490. {
  5491. "type": "integer",
  5492. "description": "用户ID",
  5493. "name": "userid",
  5494. "in": "query",
  5495. "required": true
  5496. },
  5497. {
  5498. "type": "integer",
  5499. "description": "现货商品ID",
  5500. "name": "deliverygoodsid",
  5501. "in": "query",
  5502. "required": true
  5503. },
  5504. {
  5505. "type": "integer",
  5506. "description": "品牌ID",
  5507. "name": "brandid",
  5508. "in": "query"
  5509. },
  5510. {
  5511. "type": "integer",
  5512. "description": "品类ID",
  5513. "name": "wrstandardid",
  5514. "in": "query"
  5515. }
  5516. ],
  5517. "responses": {
  5518. "200": {
  5519. "description": "OK",
  5520. "schema": {
  5521. "type": "array",
  5522. "items": {
  5523. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5524. }
  5525. }
  5526. },
  5527. "500": {
  5528. "description": "Internal Server Error",
  5529. "schema": {
  5530. "$ref": "#/definitions/app.Response"
  5531. }
  5532. }
  5533. }
  5534. }
  5535. },
  5536. "/Ermcp3/QuerySubTaaccount": {
  5537. "get": {
  5538. "security": [
  5539. {
  5540. "ApiKeyAuth": []
  5541. }
  5542. ],
  5543. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5544. "produces": [
  5545. "application/json"
  5546. ],
  5547. "tags": [
  5548. "企业风险管理v3(app)"
  5549. ],
  5550. "summary": "查询期货子账户",
  5551. "parameters": [
  5552. {
  5553. "type": "integer",
  5554. "description": "母账号id",
  5555. "name": "parentaccountid",
  5556. "in": "query"
  5557. },
  5558. {
  5559. "type": "string",
  5560. "description": "母账号代码",
  5561. "name": "parentaccountcode",
  5562. "in": "query"
  5563. }
  5564. ],
  5565. "responses": {
  5566. "200": {
  5567. "description": "OK",
  5568. "schema": {
  5569. "type": "array",
  5570. "items": {
  5571. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5572. }
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Erms2/QueryArbitrageStrategy": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "风险管理"
  5596. ],
  5597. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5598. "parameters": [
  5599. {
  5600. "type": "integer",
  5601. "description": "账户ID",
  5602. "name": "userid",
  5603. "in": "query",
  5604. "required": true
  5605. },
  5606. {
  5607. "type": "string",
  5608. "description": "商品组ID(品种ID)",
  5609. "name": "goodsgroupid",
  5610. "in": "query"
  5611. }
  5612. ],
  5613. "responses": {
  5614. "200": {
  5615. "description": "OK",
  5616. "schema": {
  5617. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5618. }
  5619. },
  5620. "500": {
  5621. "description": "Internal Server Error",
  5622. "schema": {
  5623. "$ref": "#/definitions/app.Response"
  5624. }
  5625. }
  5626. }
  5627. }
  5628. },
  5629. "/Erms2/QueryInnerTradeDetail": {
  5630. "get": {
  5631. "security": [
  5632. {
  5633. "ApiKeyAuth": []
  5634. }
  5635. ],
  5636. "produces": [
  5637. "application/json"
  5638. ],
  5639. "tags": [
  5640. "风险管理"
  5641. ],
  5642. "summary": "查询内部成交单信息",
  5643. "parameters": [
  5644. {
  5645. "type": "integer",
  5646. "description": "资金账户",
  5647. "name": "accountid",
  5648. "in": "query",
  5649. "required": true
  5650. }
  5651. ],
  5652. "responses": {
  5653. "200": {
  5654. "description": "OK",
  5655. "schema": {
  5656. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5657. }
  5658. },
  5659. "500": {
  5660. "description": "Internal Server Error",
  5661. "schema": {
  5662. "$ref": "#/definitions/app.Response"
  5663. }
  5664. }
  5665. }
  5666. }
  5667. },
  5668. "/Erms2/QuerySpotContract": {
  5669. "get": {
  5670. "security": [
  5671. {
  5672. "ApiKeyAuth": []
  5673. }
  5674. ],
  5675. "produces": [
  5676. "application/json"
  5677. ],
  5678. "tags": [
  5679. "风险管理"
  5680. ],
  5681. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5682. "parameters": [
  5683. {
  5684. "type": "integer",
  5685. "description": "策略申请ID",
  5686. "name": "asapplyid",
  5687. "in": "query",
  5688. "required": true
  5689. },
  5690. {
  5691. "type": "integer",
  5692. "description": "现货合同ID",
  5693. "name": "spotcontractid",
  5694. "in": "query"
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/Erms3/AddErms2ASApply": {
  5714. "post": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "produces": [
  5721. "application/json"
  5722. ],
  5723. "tags": [
  5724. "风险管理v3"
  5725. ],
  5726. "summary": "新增期现套利业务申请",
  5727. "parameters": [
  5728. {
  5729. "description": "申请参数",
  5730. "name": "jsonBody",
  5731. "in": "body",
  5732. "required": true,
  5733. "schema": {
  5734. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5735. }
  5736. }
  5737. ],
  5738. "responses": {
  5739. "200": {
  5740. "description": "OK",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. },
  5745. "500": {
  5746. "description": "Internal Server Error",
  5747. "schema": {
  5748. "$ref": "#/definitions/app.Response"
  5749. }
  5750. }
  5751. }
  5752. }
  5753. },
  5754. "/Erms3/AddErms2SpotTradeApply": {
  5755. "post": {
  5756. "security": [
  5757. {
  5758. "ApiKeyAuth": []
  5759. }
  5760. ],
  5761. "produces": [
  5762. "application/json"
  5763. ],
  5764. "tags": [
  5765. "风险管理v3"
  5766. ],
  5767. "summary": "新增现货贸易业务申请",
  5768. "parameters": [
  5769. {
  5770. "description": "申请参数",
  5771. "name": "jsonBody",
  5772. "in": "body",
  5773. "required": true,
  5774. "schema": {
  5775. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5776. }
  5777. }
  5778. ],
  5779. "responses": {
  5780. "200": {
  5781. "description": "OK",
  5782. "schema": {
  5783. "$ref": "#/definitions/app.Response"
  5784. }
  5785. },
  5786. "500": {
  5787. "description": "Internal Server Error",
  5788. "schema": {
  5789. "$ref": "#/definitions/app.Response"
  5790. }
  5791. }
  5792. }
  5793. }
  5794. },
  5795. "/Erms3/AddSpotContractApply": {
  5796. "post": {
  5797. "security": [
  5798. {
  5799. "ApiKeyAuth": []
  5800. }
  5801. ],
  5802. "produces": [
  5803. "application/json"
  5804. ],
  5805. "tags": [
  5806. "风险管理v3"
  5807. ],
  5808. "summary": "新增现货合同申请",
  5809. "parameters": [
  5810. {
  5811. "description": "申请参数",
  5812. "name": "jsonBody",
  5813. "in": "body",
  5814. "required": true,
  5815. "schema": {
  5816. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5817. }
  5818. }
  5819. ],
  5820. "responses": {
  5821. "200": {
  5822. "description": "OK",
  5823. "schema": {
  5824. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5825. }
  5826. },
  5827. "500": {
  5828. "description": "Internal Server Error",
  5829. "schema": {
  5830. "$ref": "#/definitions/app.Response"
  5831. }
  5832. }
  5833. }
  5834. }
  5835. },
  5836. "/Erms3/AddUserInfoApply": {
  5837. "post": {
  5838. "security": [
  5839. {
  5840. "ApiKeyAuth": []
  5841. }
  5842. ],
  5843. "produces": [
  5844. "application/json"
  5845. ],
  5846. "tags": [
  5847. "风险管理v3"
  5848. ],
  5849. "summary": "新增客户申请",
  5850. "parameters": [
  5851. {
  5852. "description": "用户信息",
  5853. "name": "jsonBody",
  5854. "in": "body",
  5855. "required": true,
  5856. "schema": {
  5857. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5858. }
  5859. }
  5860. ],
  5861. "responses": {
  5862. "200": {
  5863. "description": "OK",
  5864. "schema": {
  5865. "$ref": "#/definitions/app.Response"
  5866. }
  5867. },
  5868. "500": {
  5869. "description": "Internal Server Error",
  5870. "schema": {
  5871. "$ref": "#/definitions/app.Response"
  5872. }
  5873. }
  5874. }
  5875. }
  5876. },
  5877. "/Erms3/DeleteUserInfoApply": {
  5878. "get": {
  5879. "security": [
  5880. {
  5881. "ApiKeyAuth": []
  5882. }
  5883. ],
  5884. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5885. "produces": [
  5886. "application/json"
  5887. ],
  5888. "tags": [
  5889. "风险管理v3"
  5890. ],
  5891. "summary": "删除客户申请",
  5892. "parameters": [
  5893. {
  5894. "type": "integer",
  5895. "description": "用户ID",
  5896. "name": "userID",
  5897. "in": "query",
  5898. "required": true
  5899. }
  5900. ],
  5901. "responses": {
  5902. "200": {
  5903. "description": "OK",
  5904. "schema": {
  5905. "$ref": "#/definitions/app.Response"
  5906. }
  5907. },
  5908. "500": {
  5909. "description": "Internal Server Error",
  5910. "schema": {
  5911. "$ref": "#/definitions/app.Response"
  5912. }
  5913. }
  5914. }
  5915. }
  5916. },
  5917. "/Erms3/ModifyUserInfoApply": {
  5918. "post": {
  5919. "security": [
  5920. {
  5921. "ApiKeyAuth": []
  5922. }
  5923. ],
  5924. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5925. "produces": [
  5926. "application/json"
  5927. ],
  5928. "tags": [
  5929. "风险管理v3"
  5930. ],
  5931. "summary": "修改客户申请",
  5932. "parameters": [
  5933. {
  5934. "description": "用户信息",
  5935. "name": "jsonBody",
  5936. "in": "body",
  5937. "required": true,
  5938. "schema": {
  5939. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5940. }
  5941. }
  5942. ],
  5943. "responses": {
  5944. "200": {
  5945. "description": "OK",
  5946. "schema": {
  5947. "$ref": "#/definitions/app.Response"
  5948. }
  5949. },
  5950. "500": {
  5951. "description": "Internal Server Error",
  5952. "schema": {
  5953. "$ref": "#/definitions/app.Response"
  5954. }
  5955. }
  5956. }
  5957. }
  5958. },
  5959. "/Erms3/QueryBusinessInfo": {
  5960. "get": {
  5961. "security": [
  5962. {
  5963. "ApiKeyAuth": []
  5964. }
  5965. ],
  5966. "produces": [
  5967. "application/json"
  5968. ],
  5969. "tags": [
  5970. "风险管理v3"
  5971. ],
  5972. "summary": "查询业务表单数据",
  5973. "parameters": [
  5974. {
  5975. "type": "string",
  5976. "description": "资金账号ID列表,用逗号分隔",
  5977. "name": "accountids",
  5978. "in": "query",
  5979. "required": true
  5980. },
  5981. {
  5982. "type": "integer",
  5983. "description": "状态,0为未结束 1为已结束",
  5984. "name": "status",
  5985. "in": "query",
  5986. "required": true
  5987. }
  5988. ],
  5989. "responses": {
  5990. "200": {
  5991. "description": "OK",
  5992. "schema": {
  5993. "type": "array",
  5994. "items": {
  5995. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5996. }
  5997. }
  5998. },
  5999. "500": {
  6000. "description": "Internal Server Error",
  6001. "schema": {
  6002. "$ref": "#/definitions/app.Response"
  6003. }
  6004. }
  6005. }
  6006. }
  6007. },
  6008. "/Erms3/QueryPendingAuditContract": {
  6009. "get": {
  6010. "security": [
  6011. {
  6012. "ApiKeyAuth": []
  6013. }
  6014. ],
  6015. "produces": [
  6016. "application/json"
  6017. ],
  6018. "tags": [
  6019. "风险管理v3"
  6020. ],
  6021. "summary": "查询待审核合同",
  6022. "parameters": [
  6023. {
  6024. "type": "string",
  6025. "description": "资金账号ID列表,逗号隔开",
  6026. "name": "accountids",
  6027. "in": "query",
  6028. "required": true
  6029. },
  6030. {
  6031. "type": "integer",
  6032. "description": "合同类型 1-采购 -1-销售",
  6033. "name": "contracttype",
  6034. "in": "query",
  6035. "required": true
  6036. },
  6037. {
  6038. "type": "integer",
  6039. "description": "合同模式 1-普通 2-回购",
  6040. "name": "contractmode",
  6041. "in": "query",
  6042. "required": true
  6043. }
  6044. ],
  6045. "responses": {
  6046. "200": {
  6047. "description": "OK",
  6048. "schema": {
  6049. "type": "array",
  6050. "items": {
  6051. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6052. }
  6053. }
  6054. },
  6055. "500": {
  6056. "description": "Internal Server Error",
  6057. "schema": {
  6058. "$ref": "#/definitions/app.Response"
  6059. }
  6060. }
  6061. }
  6062. }
  6063. },
  6064. "/Erms3/QueryPendingBusiness": {
  6065. "get": {
  6066. "security": [
  6067. {
  6068. "ApiKeyAuth": []
  6069. }
  6070. ],
  6071. "produces": [
  6072. "application/json"
  6073. ],
  6074. "tags": [
  6075. "风险管理v3"
  6076. ],
  6077. "summary": "查询待审核基差贸易业务",
  6078. "parameters": [
  6079. {
  6080. "type": "string",
  6081. "description": "资金账号ID列表,逗号隔开",
  6082. "name": "accountids",
  6083. "in": "query",
  6084. "required": true
  6085. }
  6086. ],
  6087. "responses": {
  6088. "200": {
  6089. "description": "OK",
  6090. "schema": {
  6091. "type": "array",
  6092. "items": {
  6093. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6094. }
  6095. }
  6096. },
  6097. "500": {
  6098. "description": "Internal Server Error",
  6099. "schema": {
  6100. "$ref": "#/definitions/app.Response"
  6101. }
  6102. }
  6103. }
  6104. }
  6105. },
  6106. "/Erms3/QuerySpotContractAppleForm": {
  6107. "get": {
  6108. "security": [
  6109. {
  6110. "ApiKeyAuth": []
  6111. }
  6112. ],
  6113. "produces": [
  6114. "application/json"
  6115. ],
  6116. "tags": [
  6117. "风险管理v3"
  6118. ],
  6119. "summary": "查询合同申请表单数据",
  6120. "parameters": [
  6121. {
  6122. "type": "integer",
  6123. "description": "登录账号",
  6124. "name": "loginID",
  6125. "in": "query",
  6126. "required": true
  6127. }
  6128. ],
  6129. "responses": {
  6130. "200": {
  6131. "description": "OK",
  6132. "schema": {
  6133. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6134. }
  6135. },
  6136. "500": {
  6137. "description": "Internal Server Error",
  6138. "schema": {
  6139. "$ref": "#/definitions/app.Response"
  6140. }
  6141. }
  6142. }
  6143. }
  6144. },
  6145. "/Erms3/QuerySpotContractDetail": {
  6146. "get": {
  6147. "security": [
  6148. {
  6149. "ApiKeyAuth": []
  6150. }
  6151. ],
  6152. "produces": [
  6153. "application/json"
  6154. ],
  6155. "tags": [
  6156. "风险管理v3"
  6157. ],
  6158. "summary": "查询合同详细信息",
  6159. "parameters": [
  6160. {
  6161. "type": "string",
  6162. "description": "资金账号ID列表,用逗号分隔",
  6163. "name": "accountids",
  6164. "in": "query",
  6165. "required": true
  6166. },
  6167. {
  6168. "type": "integer",
  6169. "description": "合同类型,1为采购合同 -1为销售合同",
  6170. "name": "contracttype",
  6171. "in": "query",
  6172. "required": true
  6173. },
  6174. {
  6175. "type": "integer",
  6176. "description": "合同模式,1为普通合同 2为回购销售合同",
  6177. "name": "contractmode",
  6178. "in": "query",
  6179. "required": true
  6180. },
  6181. {
  6182. "type": "integer",
  6183. "description": "状态,0为履约中 1为已完成",
  6184. "name": "status",
  6185. "in": "query",
  6186. "required": true
  6187. }
  6188. ],
  6189. "responses": {
  6190. "200": {
  6191. "description": "OK",
  6192. "schema": {
  6193. "type": "array",
  6194. "items": {
  6195. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6196. }
  6197. }
  6198. },
  6199. "500": {
  6200. "description": "Internal Server Error",
  6201. "schema": {
  6202. "$ref": "#/definitions/app.Response"
  6203. }
  6204. }
  6205. }
  6206. }
  6207. },
  6208. "/Erms3/QueryUserInfoApplies": {
  6209. "get": {
  6210. "security": [
  6211. {
  6212. "ApiKeyAuth": []
  6213. }
  6214. ],
  6215. "produces": [
  6216. "application/json"
  6217. ],
  6218. "tags": [
  6219. "风险管理v3"
  6220. ],
  6221. "summary": "客户申请信息查询",
  6222. "parameters": [
  6223. {
  6224. "type": "integer",
  6225. "description": "页码",
  6226. "name": "page",
  6227. "in": "query"
  6228. },
  6229. {
  6230. "type": "integer",
  6231. "description": "每页条数",
  6232. "name": "pagesize",
  6233. "in": "query"
  6234. },
  6235. {
  6236. "type": "string",
  6237. "description": "客户名称,支持模糊查询",
  6238. "name": "userName",
  6239. "in": "query"
  6240. }
  6241. ],
  6242. "responses": {
  6243. "200": {
  6244. "description": "OK",
  6245. "schema": {
  6246. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6247. }
  6248. },
  6249. "500": {
  6250. "description": "Internal Server Error",
  6251. "schema": {
  6252. "$ref": "#/definitions/app.Response"
  6253. }
  6254. }
  6255. }
  6256. }
  6257. },
  6258. "/Erms3/QueryUserInfos": {
  6259. "get": {
  6260. "security": [
  6261. {
  6262. "ApiKeyAuth": []
  6263. }
  6264. ],
  6265. "produces": [
  6266. "application/json"
  6267. ],
  6268. "tags": [
  6269. "风险管理v3"
  6270. ],
  6271. "summary": "客户信息查询",
  6272. "parameters": [
  6273. {
  6274. "type": "integer",
  6275. "description": "页码",
  6276. "name": "page",
  6277. "in": "query"
  6278. },
  6279. {
  6280. "type": "integer",
  6281. "description": "每页条数",
  6282. "name": "pagesize",
  6283. "in": "query"
  6284. },
  6285. {
  6286. "type": "string",
  6287. "description": "客户名称,支持模糊查询",
  6288. "name": "userName",
  6289. "in": "query"
  6290. }
  6291. ],
  6292. "responses": {
  6293. "200": {
  6294. "description": "OK",
  6295. "schema": {
  6296. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6297. }
  6298. },
  6299. "500": {
  6300. "description": "Internal Server Error",
  6301. "schema": {
  6302. "$ref": "#/definitions/app.Response"
  6303. }
  6304. }
  6305. }
  6306. }
  6307. },
  6308. "/HSBY/GetHsbyMyCount": {
  6309. "get": {
  6310. "security": [
  6311. {
  6312. "ApiKeyAuth": []
  6313. }
  6314. ],
  6315. "description": "说明: 不包括已完成的数量。",
  6316. "produces": [
  6317. "application/json"
  6318. ],
  6319. "tags": [
  6320. "定制【海商报业】"
  6321. ],
  6322. "summary": "获取我的订单与包裹数量",
  6323. "parameters": [
  6324. {
  6325. "type": "string",
  6326. "description": "资金账户列表,格式:1,2,3",
  6327. "name": "accountIDs",
  6328. "in": "query",
  6329. "required": true
  6330. }
  6331. ],
  6332. "responses": {
  6333. "200": {
  6334. "description": "OK",
  6335. "schema": {
  6336. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6337. }
  6338. },
  6339. "500": {
  6340. "description": "Internal Server Error",
  6341. "schema": {
  6342. "$ref": "#/definitions/app.Response"
  6343. }
  6344. }
  6345. }
  6346. }
  6347. },
  6348. "/HSBY/QueryClientFixedADConfigs": {
  6349. "get": {
  6350. "security": [
  6351. {
  6352. "ApiKeyAuth": []
  6353. }
  6354. ],
  6355. "produces": [
  6356. "application/json"
  6357. ],
  6358. "tags": [
  6359. "定制【海商报业】"
  6360. ],
  6361. "summary": "获取终端固定广告配置",
  6362. "responses": {
  6363. "200": {
  6364. "description": "OK",
  6365. "schema": {
  6366. "$ref": "#/definitions/models.Clientfixedadconfig"
  6367. }
  6368. },
  6369. "500": {
  6370. "description": "Internal Server Error",
  6371. "schema": {
  6372. "$ref": "#/definitions/app.Response"
  6373. }
  6374. }
  6375. }
  6376. }
  6377. },
  6378. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6379. "get": {
  6380. "security": [
  6381. {
  6382. "ApiKeyAuth": []
  6383. }
  6384. ],
  6385. "produces": [
  6386. "application/json"
  6387. ],
  6388. "tags": [
  6389. "定制【海商报业】"
  6390. ],
  6391. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6392. "parameters": [
  6393. {
  6394. "type": "integer",
  6395. "description": "页码",
  6396. "name": "page",
  6397. "in": "query"
  6398. },
  6399. {
  6400. "type": "integer",
  6401. "description": "每页条数",
  6402. "name": "pagesize",
  6403. "in": "query"
  6404. },
  6405. {
  6406. "type": "string",
  6407. "description": "资金账户列表,格式:1,2,3",
  6408. "name": "accountIDs",
  6409. "in": "query",
  6410. "required": true
  6411. }
  6412. ],
  6413. "responses": {
  6414. "200": {
  6415. "description": "OK",
  6416. "schema": {
  6417. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6418. }
  6419. },
  6420. "500": {
  6421. "description": "Internal Server Error",
  6422. "schema": {
  6423. "$ref": "#/definitions/app.Response"
  6424. }
  6425. }
  6426. }
  6427. }
  6428. },
  6429. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6430. "get": {
  6431. "security": [
  6432. {
  6433. "ApiKeyAuth": []
  6434. }
  6435. ],
  6436. "description": "说明:查询结果已按委托价格和委托时间排序",
  6437. "produces": [
  6438. "application/json"
  6439. ],
  6440. "tags": [
  6441. "定制【海商报业】"
  6442. ],
  6443. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6444. "parameters": [
  6445. {
  6446. "type": "integer",
  6447. "description": "商品ID",
  6448. "name": "goodsID",
  6449. "in": "query",
  6450. "required": true
  6451. },
  6452. {
  6453. "type": "string",
  6454. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6455. "name": "accountIDs",
  6456. "in": "query"
  6457. },
  6458. {
  6459. "type": "integer",
  6460. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6461. "name": "buyOrSell",
  6462. "in": "query"
  6463. },
  6464. {
  6465. "type": "number",
  6466. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6467. "name": "price",
  6468. "in": "query"
  6469. },
  6470. {
  6471. "type": "integer",
  6472. "description": "档位,不传则默认为3档",
  6473. "name": "speed",
  6474. "in": "query"
  6475. }
  6476. ],
  6477. "responses": {
  6478. "200": {
  6479. "description": "OK",
  6480. "schema": {
  6481. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6482. }
  6483. },
  6484. "500": {
  6485. "description": "Internal Server Error",
  6486. "schema": {
  6487. "$ref": "#/definitions/app.Response"
  6488. }
  6489. }
  6490. }
  6491. }
  6492. },
  6493. "/HSBY/QueryHsbyListingGoodsDetail": {
  6494. "get": {
  6495. "security": [
  6496. {
  6497. "ApiKeyAuth": []
  6498. }
  6499. ],
  6500. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6501. "produces": [
  6502. "application/json"
  6503. ],
  6504. "tags": [
  6505. "定制【海商报业】"
  6506. ],
  6507. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6508. "parameters": [
  6509. {
  6510. "type": "integer",
  6511. "description": "商品ID",
  6512. "name": "goodsID",
  6513. "in": "query",
  6514. "required": true
  6515. },
  6516. {
  6517. "type": "integer",
  6518. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6519. "name": "accountID",
  6520. "in": "query"
  6521. }
  6522. ],
  6523. "responses": {
  6524. "200": {
  6525. "description": "OK",
  6526. "schema": {
  6527. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6528. }
  6529. },
  6530. "500": {
  6531. "description": "Internal Server Error",
  6532. "schema": {
  6533. "$ref": "#/definitions/app.Response"
  6534. }
  6535. }
  6536. }
  6537. }
  6538. },
  6539. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6540. "get": {
  6541. "security": [
  6542. {
  6543. "ApiKeyAuth": []
  6544. }
  6545. ],
  6546. "produces": [
  6547. "application/json"
  6548. ],
  6549. "tags": [
  6550. "定制【海商报业】"
  6551. ],
  6552. "summary": "查询三级市场(商城)商品信息详情",
  6553. "parameters": [
  6554. {
  6555. "type": "integer",
  6556. "description": "委托单号",
  6557. "name": "orderID",
  6558. "in": "query",
  6559. "required": true
  6560. },
  6561. {
  6562. "type": "integer",
  6563. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6564. "name": "accountID",
  6565. "in": "query"
  6566. }
  6567. ],
  6568. "responses": {
  6569. "200": {
  6570. "description": "OK",
  6571. "schema": {
  6572. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6573. }
  6574. },
  6575. "500": {
  6576. "description": "Internal Server Error",
  6577. "schema": {
  6578. "$ref": "#/definitions/app.Response"
  6579. }
  6580. }
  6581. }
  6582. }
  6583. },
  6584. "/HSBY/QueryHsbyMarketGoodses": {
  6585. "get": {
  6586. "security": [
  6587. {
  6588. "ApiKeyAuth": []
  6589. }
  6590. ],
  6591. "produces": [
  6592. "application/json"
  6593. ],
  6594. "tags": [
  6595. "定制【海商报业】"
  6596. ],
  6597. "summary": "查询特卖商品列表(三级商城)",
  6598. "parameters": [
  6599. {
  6600. "type": "integer",
  6601. "description": "页码",
  6602. "name": "page",
  6603. "in": "query"
  6604. },
  6605. {
  6606. "type": "integer",
  6607. "description": "每页条数",
  6608. "name": "pagesize",
  6609. "in": "query"
  6610. },
  6611. {
  6612. "type": "string",
  6613. "description": "市场ID列表,格式:1,2,3",
  6614. "name": "marketIDs",
  6615. "in": "query",
  6616. "required": true
  6617. },
  6618. {
  6619. "type": "integer",
  6620. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6621. "name": "accountID",
  6622. "in": "query",
  6623. "required": true
  6624. },
  6625. {
  6626. "type": "integer",
  6627. "description": "类别ID",
  6628. "name": "categoryID",
  6629. "in": "query"
  6630. },
  6631. {
  6632. "type": "string",
  6633. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6634. "name": "goodsIDs",
  6635. "in": "query"
  6636. },
  6637. {
  6638. "type": "integer",
  6639. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6640. "name": "couponTypeID",
  6641. "in": "query"
  6642. }
  6643. ],
  6644. "responses": {
  6645. "200": {
  6646. "description": "OK",
  6647. "schema": {
  6648. "$ref": "#/definitions/models.HsbyMarketGoods"
  6649. }
  6650. },
  6651. "500": {
  6652. "description": "Internal Server Error",
  6653. "schema": {
  6654. "$ref": "#/definitions/app.Response"
  6655. }
  6656. }
  6657. }
  6658. }
  6659. },
  6660. "/HSBY/QueryHsbyMarkets": {
  6661. "get": {
  6662. "security": [
  6663. {
  6664. "ApiKeyAuth": []
  6665. }
  6666. ],
  6667. "produces": [
  6668. "application/json"
  6669. ],
  6670. "tags": [
  6671. "定制【海商报业】"
  6672. ],
  6673. "summary": "查询海商报业相关市场信息",
  6674. "responses": {
  6675. "200": {
  6676. "description": "OK",
  6677. "schema": {
  6678. "$ref": "#/definitions/models.HsbyMarketInfo"
  6679. }
  6680. },
  6681. "500": {
  6682. "description": "Internal Server Error",
  6683. "schema": {
  6684. "$ref": "#/definitions/app.Response"
  6685. }
  6686. }
  6687. }
  6688. }
  6689. },
  6690. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6691. "get": {
  6692. "security": [
  6693. {
  6694. "ApiKeyAuth": []
  6695. }
  6696. ],
  6697. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6698. "produces": [
  6699. "application/json"
  6700. ],
  6701. "tags": [
  6702. "定制【海商报业】"
  6703. ],
  6704. "summary": "查询“我的订单”信息",
  6705. "parameters": [
  6706. {
  6707. "type": "string",
  6708. "description": "资金账户列表,格式:1,2,3",
  6709. "name": "accountIDs",
  6710. "in": "query",
  6711. "required": true
  6712. }
  6713. ],
  6714. "responses": {
  6715. "200": {
  6716. "description": "OK",
  6717. "schema": {
  6718. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6719. }
  6720. },
  6721. "500": {
  6722. "description": "Internal Server Error",
  6723. "schema": {
  6724. "$ref": "#/definitions/app.Response"
  6725. }
  6726. }
  6727. }
  6728. }
  6729. },
  6730. "/HSBY/QueryHsbyMyGoods": {
  6731. "get": {
  6732. "security": [
  6733. {
  6734. "ApiKeyAuth": []
  6735. }
  6736. ],
  6737. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6738. "produces": [
  6739. "application/json"
  6740. ],
  6741. "tags": [
  6742. "定制【海商报业】"
  6743. ],
  6744. "summary": "查询“我的商品”信息",
  6745. "parameters": [
  6746. {
  6747. "type": "string",
  6748. "description": "资金账户列表,格式:1,2,3",
  6749. "name": "accountIDs",
  6750. "in": "query",
  6751. "required": true
  6752. }
  6753. ],
  6754. "responses": {
  6755. "200": {
  6756. "description": "OK",
  6757. "schema": {
  6758. "$ref": "#/definitions/models.HsbyMyGoods"
  6759. }
  6760. },
  6761. "500": {
  6762. "description": "Internal Server Error",
  6763. "schema": {
  6764. "$ref": "#/definitions/app.Response"
  6765. }
  6766. }
  6767. }
  6768. }
  6769. },
  6770. "/HSBY/QueryHsbyMyPackages": {
  6771. "get": {
  6772. "security": [
  6773. {
  6774. "ApiKeyAuth": []
  6775. }
  6776. ],
  6777. "produces": [
  6778. "application/json"
  6779. ],
  6780. "tags": [
  6781. "定制【海商报业】"
  6782. ],
  6783. "summary": "查询我的包裹信息",
  6784. "parameters": [
  6785. {
  6786. "type": "string",
  6787. "description": "资金账户列表,格式:1,2,3",
  6788. "name": "accountIDs",
  6789. "in": "query",
  6790. "required": true
  6791. },
  6792. {
  6793. "type": "integer",
  6794. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6795. "name": "takeOrderStatus",
  6796. "in": "query"
  6797. }
  6798. ],
  6799. "responses": {
  6800. "200": {
  6801. "description": "OK",
  6802. "schema": {
  6803. "$ref": "#/definitions/models.HsbyMyPackage"
  6804. }
  6805. },
  6806. "500": {
  6807. "description": "Internal Server Error",
  6808. "schema": {
  6809. "$ref": "#/definitions/app.Response"
  6810. }
  6811. }
  6812. }
  6813. }
  6814. },
  6815. "/HSBY/QueryHsbyPreGoodsDetail": {
  6816. "get": {
  6817. "security": [
  6818. {
  6819. "ApiKeyAuth": []
  6820. }
  6821. ],
  6822. "produces": [
  6823. "application/json"
  6824. ],
  6825. "tags": [
  6826. "定制【海商报业】"
  6827. ],
  6828. "summary": "查询一级市场(预售)商品信息详情",
  6829. "parameters": [
  6830. {
  6831. "type": "integer",
  6832. "description": "商品ID",
  6833. "name": "goodsID",
  6834. "in": "query",
  6835. "required": true
  6836. },
  6837. {
  6838. "type": "integer",
  6839. "description": "资金账户,主要用于获取预售商品购买上限",
  6840. "name": "accountID",
  6841. "in": "query"
  6842. }
  6843. ],
  6844. "responses": {
  6845. "200": {
  6846. "description": "OK",
  6847. "schema": {
  6848. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6849. }
  6850. },
  6851. "500": {
  6852. "description": "Internal Server Error",
  6853. "schema": {
  6854. "$ref": "#/definitions/app.Response"
  6855. }
  6856. }
  6857. }
  6858. }
  6859. },
  6860. "/HSBY/QueryHsbyPreGoodses": {
  6861. "get": {
  6862. "security": [
  6863. {
  6864. "ApiKeyAuth": []
  6865. }
  6866. ],
  6867. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6868. "produces": [
  6869. "application/json"
  6870. ],
  6871. "tags": [
  6872. "定制【海商报业】"
  6873. ],
  6874. "summary": "查询新品上市商品列表(一级市场预售)",
  6875. "parameters": [
  6876. {
  6877. "type": "integer",
  6878. "description": "页码",
  6879. "name": "page",
  6880. "in": "query"
  6881. },
  6882. {
  6883. "type": "integer",
  6884. "description": "每页条数",
  6885. "name": "pagesize",
  6886. "in": "query"
  6887. },
  6888. {
  6889. "type": "string",
  6890. "description": "市场ID列表,格式:1,2,3",
  6891. "name": "marketIDs",
  6892. "in": "query",
  6893. "required": true
  6894. },
  6895. {
  6896. "type": "integer",
  6897. "description": "目的地(省)ID",
  6898. "name": "descProvinceID",
  6899. "in": "query"
  6900. },
  6901. {
  6902. "type": "integer",
  6903. "description": "目的地(市)ID",
  6904. "name": "descCityID",
  6905. "in": "query"
  6906. }
  6907. ],
  6908. "responses": {
  6909. "200": {
  6910. "description": "OK",
  6911. "schema": {
  6912. "$ref": "#/definitions/models.HsbyPreGoods"
  6913. }
  6914. },
  6915. "500": {
  6916. "description": "Internal Server Error",
  6917. "schema": {
  6918. "$ref": "#/definitions/app.Response"
  6919. }
  6920. }
  6921. }
  6922. }
  6923. },
  6924. "/HSBY/QueryHsbySellMyDetails": {
  6925. "get": {
  6926. "security": [
  6927. {
  6928. "ApiKeyAuth": []
  6929. }
  6930. ],
  6931. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6932. "produces": [
  6933. "application/json"
  6934. ],
  6935. "tags": [
  6936. "定制【海商报业】"
  6937. ],
  6938. "summary": "查询\"我的闲置\"单据信息",
  6939. "parameters": [
  6940. {
  6941. "type": "integer",
  6942. "description": "页码",
  6943. "name": "page",
  6944. "in": "query"
  6945. },
  6946. {
  6947. "type": "integer",
  6948. "description": "每页条数",
  6949. "name": "pagesize",
  6950. "in": "query"
  6951. },
  6952. {
  6953. "type": "string",
  6954. "description": "资金账户列表,格式:1,2,3",
  6955. "name": "accountIDs",
  6956. "in": "query",
  6957. "required": true
  6958. },
  6959. {
  6960. "type": "integer",
  6961. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6962. "name": "orderType",
  6963. "in": "query"
  6964. }
  6965. ],
  6966. "responses": {
  6967. "200": {
  6968. "description": "OK",
  6969. "schema": {
  6970. "$ref": "#/definitions/models.HsbySellMyDetail"
  6971. }
  6972. },
  6973. "500": {
  6974. "description": "Internal Server Error",
  6975. "schema": {
  6976. "$ref": "#/definitions/app.Response"
  6977. }
  6978. }
  6979. }
  6980. }
  6981. },
  6982. "/HSBY/QueryHsbyTopGoodses": {
  6983. "get": {
  6984. "security": [
  6985. {
  6986. "ApiKeyAuth": []
  6987. }
  6988. ],
  6989. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6990. "produces": [
  6991. "application/json"
  6992. ],
  6993. "tags": [
  6994. "定制【海商报业】"
  6995. ],
  6996. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6997. "parameters": [
  6998. {
  6999. "type": "integer",
  7000. "description": "页码",
  7001. "name": "page",
  7002. "in": "query"
  7003. },
  7004. {
  7005. "type": "integer",
  7006. "description": "每页条数",
  7007. "name": "pagesize",
  7008. "in": "query"
  7009. },
  7010. {
  7011. "type": "string",
  7012. "description": "市场ID列表,格式:1,2,3",
  7013. "name": "marketIDs",
  7014. "in": "query",
  7015. "required": true
  7016. },
  7017. {
  7018. "type": "integer",
  7019. "description": "目的地(省)ID",
  7020. "name": "descProvinceID",
  7021. "in": "query"
  7022. },
  7023. {
  7024. "type": "integer",
  7025. "description": "目的地(市)ID",
  7026. "name": "descCityID",
  7027. "in": "query"
  7028. }
  7029. ],
  7030. "responses": {
  7031. "200": {
  7032. "description": "OK",
  7033. "schema": {
  7034. "$ref": "#/definitions/models.HsbyTopGoods"
  7035. }
  7036. },
  7037. "500": {
  7038. "description": "Internal Server Error",
  7039. "schema": {
  7040. "$ref": "#/definitions/app.Response"
  7041. }
  7042. }
  7043. }
  7044. }
  7045. },
  7046. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7047. "get": {
  7048. "security": [
  7049. {
  7050. "ApiKeyAuth": []
  7051. }
  7052. ],
  7053. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7054. "produces": [
  7055. "application/json"
  7056. ],
  7057. "tags": [
  7058. "定制【海商报业】"
  7059. ],
  7060. "summary": "查询游客三级市场(商城)商品信息详情",
  7061. "parameters": [
  7062. {
  7063. "type": "integer",
  7064. "description": "商品ID",
  7065. "name": "goodsID",
  7066. "in": "query",
  7067. "required": true
  7068. }
  7069. ],
  7070. "responses": {
  7071. "200": {
  7072. "description": "OK",
  7073. "schema": {
  7074. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7075. }
  7076. },
  7077. "500": {
  7078. "description": "Internal Server Error",
  7079. "schema": {
  7080. "$ref": "#/definitions/app.Response"
  7081. }
  7082. }
  7083. }
  7084. }
  7085. },
  7086. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7087. "get": {
  7088. "security": [
  7089. {
  7090. "ApiKeyAuth": []
  7091. }
  7092. ],
  7093. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7094. "produces": [
  7095. "application/json"
  7096. ],
  7097. "tags": [
  7098. "定制【海商报业】"
  7099. ],
  7100. "summary": "查询游客特卖商品列表(三级商城)",
  7101. "parameters": [
  7102. {
  7103. "type": "integer",
  7104. "description": "页码",
  7105. "name": "page",
  7106. "in": "query"
  7107. },
  7108. {
  7109. "type": "integer",
  7110. "description": "每页条数",
  7111. "name": "pagesize",
  7112. "in": "query"
  7113. },
  7114. {
  7115. "type": "string",
  7116. "description": "市场ID列表,格式:1,2,3",
  7117. "name": "marketIDs",
  7118. "in": "query",
  7119. "required": true
  7120. },
  7121. {
  7122. "type": "integer",
  7123. "description": "类别ID",
  7124. "name": "categoryID",
  7125. "in": "query"
  7126. },
  7127. {
  7128. "type": "string",
  7129. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7130. "name": "goodsIDs",
  7131. "in": "query"
  7132. }
  7133. ],
  7134. "responses": {
  7135. "200": {
  7136. "description": "OK",
  7137. "schema": {
  7138. "$ref": "#/definitions/models.HsbyMarketGoods"
  7139. }
  7140. },
  7141. "500": {
  7142. "description": "Internal Server Error",
  7143. "schema": {
  7144. "$ref": "#/definitions/app.Response"
  7145. }
  7146. }
  7147. }
  7148. }
  7149. },
  7150. "/HSBY/QueryMyCollectionOrders": {
  7151. "get": {
  7152. "security": [
  7153. {
  7154. "ApiKeyAuth": []
  7155. }
  7156. ],
  7157. "produces": [
  7158. "application/json"
  7159. ],
  7160. "tags": [
  7161. "定制【海商报业】"
  7162. ],
  7163. "summary": "我的闲置中收款信息查询",
  7164. "parameters": [
  7165. {
  7166. "type": "integer",
  7167. "description": "页码",
  7168. "name": "page",
  7169. "in": "query"
  7170. },
  7171. {
  7172. "type": "integer",
  7173. "description": "每页条数",
  7174. "name": "pagesize",
  7175. "in": "query"
  7176. },
  7177. {
  7178. "type": "string",
  7179. "description": "资金账户,格式:1,2,3",
  7180. "name": "accountIDs",
  7181. "in": "query",
  7182. "required": true
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/HSBY/QueryMyCouponHolds": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7209. "produces": [
  7210. "application/json"
  7211. ],
  7212. "tags": [
  7213. "定制【海商报业】"
  7214. ],
  7215. "summary": "我的优惠卷持仓查询",
  7216. "parameters": [
  7217. {
  7218. "type": "string",
  7219. "description": "资金账户列表,格式:1,2,3",
  7220. "name": "accountIDs",
  7221. "in": "query",
  7222. "required": true
  7223. },
  7224. {
  7225. "type": "string",
  7226. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7227. "name": "holdStatus",
  7228. "in": "query"
  7229. }
  7230. ],
  7231. "responses": {
  7232. "200": {
  7233. "description": "OK",
  7234. "schema": {
  7235. "$ref": "#/definitions/models.MyCouponHold"
  7236. }
  7237. },
  7238. "500": {
  7239. "description": "Internal Server Error",
  7240. "schema": {
  7241. "$ref": "#/definitions/app.Response"
  7242. }
  7243. }
  7244. }
  7245. }
  7246. },
  7247. "/HSBY/QueryMyCoupons": {
  7248. "get": {
  7249. "security": [
  7250. {
  7251. "ApiKeyAuth": []
  7252. }
  7253. ],
  7254. "produces": [
  7255. "application/json"
  7256. ],
  7257. "tags": [
  7258. "定制【海商报业】"
  7259. ],
  7260. "summary": "我的优惠卷查询",
  7261. "parameters": [
  7262. {
  7263. "type": "string",
  7264. "description": "资金账户列表,格式:1,2,3",
  7265. "name": "accountIDs",
  7266. "in": "query",
  7267. "required": true
  7268. },
  7269. {
  7270. "type": "integer",
  7271. "description": "商品ID, 一般与sellUserID配套传入",
  7272. "name": "goodsID",
  7273. "in": "query"
  7274. },
  7275. {
  7276. "type": "integer",
  7277. "description": "卖方UserID",
  7278. "name": "sellUserID",
  7279. "in": "query"
  7280. }
  7281. ],
  7282. "responses": {
  7283. "200": {
  7284. "description": "OK",
  7285. "schema": {
  7286. "$ref": "#/definitions/models.MyCoupon"
  7287. }
  7288. },
  7289. "500": {
  7290. "description": "Internal Server Error",
  7291. "schema": {
  7292. "$ref": "#/definitions/app.Response"
  7293. }
  7294. }
  7295. }
  7296. }
  7297. },
  7298. "/HSBY/QueryMyPayOrders": {
  7299. "get": {
  7300. "security": [
  7301. {
  7302. "ApiKeyAuth": []
  7303. }
  7304. ],
  7305. "produces": [
  7306. "application/json"
  7307. ],
  7308. "tags": [
  7309. "定制【海商报业】"
  7310. ],
  7311. "summary": "获取我的订单中待付款信息",
  7312. "parameters": [
  7313. {
  7314. "type": "integer",
  7315. "description": "页码",
  7316. "name": "page",
  7317. "in": "query"
  7318. },
  7319. {
  7320. "type": "integer",
  7321. "description": "每页条数",
  7322. "name": "pagesize",
  7323. "in": "query"
  7324. },
  7325. {
  7326. "type": "string",
  7327. "description": "资金账户列表,格式:1,2,3",
  7328. "name": "accountIDs",
  7329. "in": "query",
  7330. "required": true
  7331. },
  7332. {
  7333. "type": "integer",
  7334. "description": "买方委托单号",
  7335. "name": "buyOrderID",
  7336. "in": "query"
  7337. },
  7338. {
  7339. "type": "integer",
  7340. "description": "卖方委托单号",
  7341. "name": "sellOrderID",
  7342. "in": "query"
  7343. }
  7344. ],
  7345. "responses": {
  7346. "200": {
  7347. "description": "OK",
  7348. "schema": {
  7349. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7350. }
  7351. },
  7352. "500": {
  7353. "description": "Internal Server Error",
  7354. "schema": {
  7355. "$ref": "#/definitions/app.Response"
  7356. }
  7357. }
  7358. }
  7359. }
  7360. },
  7361. "/HSBY/QueryMyUsedCoupon": {
  7362. "get": {
  7363. "security": [
  7364. {
  7365. "ApiKeyAuth": []
  7366. }
  7367. ],
  7368. "produces": [
  7369. "application/json"
  7370. ],
  7371. "tags": [
  7372. "定制【海商报业】"
  7373. ],
  7374. "summary": "已使用优惠卷查询",
  7375. "parameters": [
  7376. {
  7377. "type": "string",
  7378. "description": "资金账户列表,格式:1,2,3",
  7379. "name": "accountIDs",
  7380. "in": "query",
  7381. "required": true
  7382. }
  7383. ],
  7384. "responses": {
  7385. "200": {
  7386. "description": "OK",
  7387. "schema": {
  7388. "$ref": "#/definitions/models.MyUsedCoupon"
  7389. }
  7390. },
  7391. "500": {
  7392. "description": "Internal Server Error",
  7393. "schema": {
  7394. "$ref": "#/definitions/app.Response"
  7395. }
  7396. }
  7397. }
  7398. }
  7399. },
  7400. "/HSBY/QueryProvincesAndCities": {
  7401. "get": {
  7402. "security": [
  7403. {
  7404. "ApiKeyAuth": []
  7405. }
  7406. ],
  7407. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7408. "produces": [
  7409. "application/json"
  7410. ],
  7411. "tags": [
  7412. "定制【海商报业】"
  7413. ],
  7414. "summary": "查询省市信息(不包括区)",
  7415. "parameters": [
  7416. {
  7417. "type": "integer",
  7418. "description": "省ID",
  7419. "name": "provinceID",
  7420. "in": "query"
  7421. }
  7422. ],
  7423. "responses": {
  7424. "200": {
  7425. "description": "OK",
  7426. "schema": {
  7427. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7428. }
  7429. },
  7430. "500": {
  7431. "description": "Internal Server Error",
  7432. "schema": {
  7433. "$ref": "#/definitions/app.Response"
  7434. }
  7435. }
  7436. }
  7437. }
  7438. },
  7439. "/HSBY/SetHsbyMyPackagesStatus": {
  7440. "post": {
  7441. "security": [
  7442. {
  7443. "ApiKeyAuth": []
  7444. }
  7445. ],
  7446. "produces": [
  7447. "application/json"
  7448. ],
  7449. "tags": [
  7450. "定制【海商报业】"
  7451. ],
  7452. "summary": "设置我的包裹已收货状态",
  7453. "parameters": [
  7454. {
  7455. "type": "string",
  7456. "description": "提货单号",
  7457. "name": "takeOrderID",
  7458. "in": "query",
  7459. "required": true
  7460. },
  7461. {
  7462. "type": "integer",
  7463. "description": "资金账号",
  7464. "name": "accountID",
  7465. "in": "query",
  7466. "required": true
  7467. }
  7468. ],
  7469. "responses": {
  7470. "200": {
  7471. "description": "OK",
  7472. "schema": {
  7473. "$ref": "#/definitions/app.Response"
  7474. }
  7475. },
  7476. "500": {
  7477. "description": "Internal Server Error",
  7478. "schema": {
  7479. "$ref": "#/definitions/app.Response"
  7480. }
  7481. }
  7482. }
  7483. }
  7484. },
  7485. "/Market/GetAllExExchanges": {
  7486. "get": {
  7487. "security": [
  7488. {
  7489. "ApiKeyAuth": []
  7490. }
  7491. ],
  7492. "produces": [
  7493. "application/json"
  7494. ],
  7495. "tags": [
  7496. "通用市场"
  7497. ],
  7498. "summary": "获取所有外部交易所信息",
  7499. "responses": {
  7500. "200": {
  7501. "description": "OK",
  7502. "schema": {
  7503. "$ref": "#/definitions/models.Goods"
  7504. }
  7505. },
  7506. "500": {
  7507. "description": "Internal Server Error",
  7508. "schema": {
  7509. "$ref": "#/definitions/app.Response"
  7510. }
  7511. }
  7512. }
  7513. }
  7514. },
  7515. "/Market/QueryGoodsesByLoginID": {
  7516. "get": {
  7517. "security": [
  7518. {
  7519. "ApiKeyAuth": []
  7520. }
  7521. ],
  7522. "produces": [
  7523. "application/json"
  7524. ],
  7525. "tags": [
  7526. "通用市场"
  7527. ],
  7528. "summary": "获取登录账号有权限的商品信息",
  7529. "parameters": [
  7530. {
  7531. "type": "integer",
  7532. "description": "登录账号",
  7533. "name": "loginID",
  7534. "in": "query",
  7535. "required": true
  7536. },
  7537. {
  7538. "type": "string",
  7539. "description": "市场ID列表,格式:1,2,3",
  7540. "name": "marketIDs",
  7541. "in": "query"
  7542. }
  7543. ],
  7544. "responses": {
  7545. "200": {
  7546. "description": "OK",
  7547. "schema": {
  7548. "$ref": "#/definitions/models.Goods"
  7549. }
  7550. },
  7551. "500": {
  7552. "description": "Internal Server Error",
  7553. "schema": {
  7554. "$ref": "#/definitions/app.Response"
  7555. }
  7556. }
  7557. }
  7558. }
  7559. },
  7560. "/Market/QueryMarketRun": {
  7561. "get": {
  7562. "security": [
  7563. {
  7564. "ApiKeyAuth": []
  7565. }
  7566. ],
  7567. "produces": [
  7568. "application/json"
  7569. ],
  7570. "tags": [
  7571. "通用市场"
  7572. ],
  7573. "summary": "查询市场运行信息",
  7574. "parameters": [
  7575. {
  7576. "type": "integer",
  7577. "description": "市场ID,不传返回所有",
  7578. "name": "marketID",
  7579. "in": "query"
  7580. }
  7581. ],
  7582. "responses": {
  7583. "200": {
  7584. "description": "OK",
  7585. "schema": {
  7586. "$ref": "#/definitions/models.Marketrun"
  7587. }
  7588. },
  7589. "500": {
  7590. "description": "Internal Server Error",
  7591. "schema": {
  7592. "$ref": "#/definitions/app.Response"
  7593. }
  7594. }
  7595. }
  7596. }
  7597. },
  7598. "/Market/QueryMarketsByLoginID": {
  7599. "get": {
  7600. "security": [
  7601. {
  7602. "ApiKeyAuth": []
  7603. }
  7604. ],
  7605. "produces": [
  7606. "application/json"
  7607. ],
  7608. "tags": [
  7609. "通用市场"
  7610. ],
  7611. "summary": "获取登录账号有权限的市场信息",
  7612. "parameters": [
  7613. {
  7614. "type": "integer",
  7615. "description": "登录账号",
  7616. "name": "loginID",
  7617. "in": "query",
  7618. "required": true
  7619. }
  7620. ],
  7621. "responses": {
  7622. "200": {
  7623. "description": "OK",
  7624. "schema": {
  7625. "$ref": "#/definitions/models.Market"
  7626. }
  7627. },
  7628. "500": {
  7629. "description": "Internal Server Error",
  7630. "schema": {
  7631. "$ref": "#/definitions/app.Response"
  7632. }
  7633. }
  7634. }
  7635. }
  7636. },
  7637. "/Order/QueryHisTradeDetail": {
  7638. "get": {
  7639. "security": [
  7640. {
  7641. "ApiKeyAuth": []
  7642. }
  7643. ],
  7644. "produces": [
  7645. "application/json"
  7646. ],
  7647. "tags": [
  7648. "通用单据"
  7649. ],
  7650. "summary": "历史成交单查询(合约市场)",
  7651. "parameters": [
  7652. {
  7653. "type": "string",
  7654. "description": "资金账户 - 格式:1,2,3",
  7655. "name": "accountID",
  7656. "in": "query",
  7657. "required": true
  7658. },
  7659. {
  7660. "type": "integer",
  7661. "description": "成交单号",
  7662. "name": "tradeID",
  7663. "in": "query"
  7664. },
  7665. {
  7666. "type": "integer",
  7667. "description": "委托单号",
  7668. "name": "orderID",
  7669. "in": "query"
  7670. },
  7671. {
  7672. "type": "integer",
  7673. "description": "商品ID",
  7674. "name": "goodsID",
  7675. "in": "query"
  7676. },
  7677. {
  7678. "type": "string",
  7679. "description": "交易模式 - 格式:1,2,3",
  7680. "name": "tradeMode",
  7681. "in": "query"
  7682. },
  7683. {
  7684. "type": "integer",
  7685. "description": "委托单据类型",
  7686. "name": "buildType",
  7687. "in": "query"
  7688. },
  7689. {
  7690. "type": "string",
  7691. "description": "成交类别 - 格式:1,2,3",
  7692. "name": "tradeType",
  7693. "in": "query"
  7694. },
  7695. {
  7696. "type": "string",
  7697. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7698. "name": "startDate",
  7699. "in": "query"
  7700. },
  7701. {
  7702. "type": "string",
  7703. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7704. "name": "endDate",
  7705. "in": "query"
  7706. }
  7707. ],
  7708. "responses": {
  7709. "200": {
  7710. "description": "OK",
  7711. "schema": {
  7712. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7713. }
  7714. },
  7715. "500": {
  7716. "description": "Internal Server Error",
  7717. "schema": {
  7718. "$ref": "#/definitions/app.Response"
  7719. }
  7720. }
  7721. }
  7722. }
  7723. },
  7724. "/Order/QueryHisTradeOrderDetail": {
  7725. "get": {
  7726. "security": [
  7727. {
  7728. "ApiKeyAuth": []
  7729. }
  7730. ],
  7731. "produces": [
  7732. "application/json"
  7733. ],
  7734. "tags": [
  7735. "通用单据"
  7736. ],
  7737. "summary": "历史委托单查询请求(合约市场)",
  7738. "parameters": [
  7739. {
  7740. "type": "string",
  7741. "description": "资金账户 - 格式:1,2,3",
  7742. "name": "accountID",
  7743. "in": "query",
  7744. "required": true
  7745. },
  7746. {
  7747. "type": "string",
  7748. "description": "交易模式 - 格式:1,2,3",
  7749. "name": "tradeMode",
  7750. "in": "query"
  7751. },
  7752. {
  7753. "type": "string",
  7754. "description": "委托状态 - 格式:1,2,3",
  7755. "name": "orderStatus",
  7756. "in": "query"
  7757. },
  7758. {
  7759. "type": "integer",
  7760. "description": "委托单号",
  7761. "name": "orderID",
  7762. "in": "query"
  7763. },
  7764. {
  7765. "type": "string",
  7766. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7767. "name": "startDate",
  7768. "in": "query"
  7769. },
  7770. {
  7771. "type": "string",
  7772. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7773. "name": "endDate",
  7774. "in": "query"
  7775. }
  7776. ],
  7777. "responses": {
  7778. "200": {
  7779. "description": "OK",
  7780. "schema": {
  7781. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7782. }
  7783. },
  7784. "500": {
  7785. "description": "Internal Server Error",
  7786. "schema": {
  7787. "$ref": "#/definitions/app.Response"
  7788. }
  7789. }
  7790. }
  7791. }
  7792. },
  7793. "/Order/QueryTradeDetail": {
  7794. "get": {
  7795. "security": [
  7796. {
  7797. "ApiKeyAuth": []
  7798. }
  7799. ],
  7800. "produces": [
  7801. "application/json"
  7802. ],
  7803. "tags": [
  7804. "通用单据"
  7805. ],
  7806. "summary": "成交单查询(合约市场)",
  7807. "parameters": [
  7808. {
  7809. "type": "string",
  7810. "description": "资金账户 - 格式:1,2,3",
  7811. "name": "accountID",
  7812. "in": "query",
  7813. "required": true
  7814. },
  7815. {
  7816. "type": "integer",
  7817. "description": "成交单号",
  7818. "name": "tradeID",
  7819. "in": "query"
  7820. },
  7821. {
  7822. "type": "integer",
  7823. "description": "委托单号",
  7824. "name": "orderID",
  7825. "in": "query"
  7826. },
  7827. {
  7828. "type": "string",
  7829. "description": "交易模式 - 格式:1,2,3",
  7830. "name": "tradeMode",
  7831. "in": "query"
  7832. },
  7833. {
  7834. "type": "integer",
  7835. "description": "委托单据类型",
  7836. "name": "buildType",
  7837. "in": "query"
  7838. },
  7839. {
  7840. "type": "string",
  7841. "description": "成交类别 - 格式:1,2,3",
  7842. "name": "tradeType",
  7843. "in": "query"
  7844. },
  7845. {
  7846. "type": "integer",
  7847. "description": "商品ID",
  7848. "name": "goodsID",
  7849. "in": "query"
  7850. }
  7851. ],
  7852. "responses": {
  7853. "200": {
  7854. "description": "OK",
  7855. "schema": {
  7856. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7857. }
  7858. },
  7859. "500": {
  7860. "description": "Internal Server Error",
  7861. "schema": {
  7862. "$ref": "#/definitions/app.Response"
  7863. }
  7864. }
  7865. }
  7866. }
  7867. },
  7868. "/Order/QueryTradeHolderDetail": {
  7869. "get": {
  7870. "security": [
  7871. {
  7872. "ApiKeyAuth": []
  7873. }
  7874. ],
  7875. "produces": [
  7876. "application/json"
  7877. ],
  7878. "tags": [
  7879. "通用单据"
  7880. ],
  7881. "summary": "查询持仓明细",
  7882. "parameters": [
  7883. {
  7884. "type": "integer",
  7885. "description": "用户id",
  7886. "name": "userid",
  7887. "in": "query"
  7888. },
  7889. {
  7890. "type": "string",
  7891. "description": "资金账号, 格式 1,2,3",
  7892. "name": "accids",
  7893. "in": "query"
  7894. },
  7895. {
  7896. "type": "string",
  7897. "description": "交易模式, 格式 1,2,3",
  7898. "name": "trademodes",
  7899. "in": "query"
  7900. },
  7901. {
  7902. "type": "string",
  7903. "description": "市场id, 格式 1,2,3",
  7904. "name": "marketids",
  7905. "in": "query"
  7906. },
  7907. {
  7908. "type": "integer",
  7909. "description": "商品id",
  7910. "name": "goodsid",
  7911. "in": "query"
  7912. },
  7913. {
  7914. "type": "integer",
  7915. "description": "买卖方向 0-买 1-卖",
  7916. "name": "buyorsell",
  7917. "in": "query"
  7918. }
  7919. ],
  7920. "responses": {
  7921. "200": {
  7922. "description": "OK",
  7923. "schema": {
  7924. "type": "array",
  7925. "items": {
  7926. "$ref": "#/definitions/models.TradeHolderDetail"
  7927. }
  7928. }
  7929. },
  7930. "500": {
  7931. "description": "Internal Server Error",
  7932. "schema": {
  7933. "$ref": "#/definitions/app.Response"
  7934. }
  7935. }
  7936. }
  7937. }
  7938. },
  7939. "/Order/QueryTradeOrderDetail": {
  7940. "get": {
  7941. "security": [
  7942. {
  7943. "ApiKeyAuth": []
  7944. }
  7945. ],
  7946. "produces": [
  7947. "application/json"
  7948. ],
  7949. "tags": [
  7950. "通用单据"
  7951. ],
  7952. "summary": "委托单查询请求(合约市场)",
  7953. "parameters": [
  7954. {
  7955. "type": "string",
  7956. "description": "资金账户 - 格式:1,2,3",
  7957. "name": "accountID",
  7958. "in": "query",
  7959. "required": true
  7960. },
  7961. {
  7962. "type": "string",
  7963. "description": "交易模式 - 格式:1,2,3",
  7964. "name": "tradeMode",
  7965. "in": "query"
  7966. },
  7967. {
  7968. "type": "string",
  7969. "description": "委托状态 - 格式:1,2,3",
  7970. "name": "orderStatus",
  7971. "in": "query"
  7972. },
  7973. {
  7974. "type": "integer",
  7975. "description": "委托单号",
  7976. "name": "orderID",
  7977. "in": "query"
  7978. }
  7979. ],
  7980. "responses": {
  7981. "200": {
  7982. "description": "OK",
  7983. "schema": {
  7984. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7985. }
  7986. },
  7987. "500": {
  7988. "description": "Internal Server Error",
  7989. "schema": {
  7990. "$ref": "#/definitions/app.Response"
  7991. }
  7992. }
  7993. }
  7994. }
  7995. },
  7996. "/Order/QueryTradePosition": {
  7997. "get": {
  7998. "security": [
  7999. {
  8000. "ApiKeyAuth": []
  8001. }
  8002. ],
  8003. "produces": [
  8004. "application/json"
  8005. ],
  8006. "tags": [
  8007. "通用单据"
  8008. ],
  8009. "summary": "持仓汇总查询(合约市场)",
  8010. "parameters": [
  8011. {
  8012. "type": "string",
  8013. "description": "资金账户 - 格式:1,2,3",
  8014. "name": "accountID",
  8015. "in": "query",
  8016. "required": true
  8017. },
  8018. {
  8019. "type": "string",
  8020. "description": "交易模式 - 格式:1,2,3",
  8021. "name": "tradeMode",
  8022. "in": "query"
  8023. }
  8024. ],
  8025. "responses": {
  8026. "200": {
  8027. "description": "OK",
  8028. "schema": {
  8029. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8030. }
  8031. },
  8032. "500": {
  8033. "description": "Internal Server Error",
  8034. "schema": {
  8035. "$ref": "#/definitions/app.Response"
  8036. }
  8037. }
  8038. }
  8039. }
  8040. },
  8041. "/Qhj/QueryAccountInOutApply": {
  8042. "get": {
  8043. "security": [
  8044. {
  8045. "ApiKeyAuth": []
  8046. }
  8047. ],
  8048. "produces": [
  8049. "application/json"
  8050. ],
  8051. "tags": [
  8052. "大连千海金"
  8053. ],
  8054. "summary": "查询充值提现",
  8055. "parameters": [
  8056. {
  8057. "type": "integer",
  8058. "description": "用户ID",
  8059. "name": "userid",
  8060. "in": "query",
  8061. "required": true
  8062. },
  8063. {
  8064. "type": "string",
  8065. "description": "申请起始日期(格式yyyymmdd)",
  8066. "name": "begindate",
  8067. "in": "query"
  8068. },
  8069. {
  8070. "type": "string",
  8071. "description": "申请截止日期(格式yyyymmdd)",
  8072. "name": "enddate",
  8073. "in": "query"
  8074. },
  8075. {
  8076. "type": "string",
  8077. "description": "模糊搜索名称",
  8078. "name": "likename",
  8079. "in": "query"
  8080. }
  8081. ],
  8082. "responses": {
  8083. "200": {
  8084. "description": "OK",
  8085. "schema": {
  8086. "type": "array",
  8087. "items": {
  8088. "$ref": "#/definitions/models.QhjAccountOutInApply"
  8089. }
  8090. }
  8091. },
  8092. "500": {
  8093. "description": "Internal Server Error",
  8094. "schema": {
  8095. "$ref": "#/definitions/app.Response"
  8096. }
  8097. }
  8098. }
  8099. }
  8100. },
  8101. "/Qhj/QueryAreaFinanceConfig": {
  8102. "get": {
  8103. "security": [
  8104. {
  8105. "ApiKeyAuth": []
  8106. }
  8107. ],
  8108. "produces": [
  8109. "application/json"
  8110. ],
  8111. "tags": [
  8112. "大连千海金"
  8113. ],
  8114. "summary": "查询企业配置表",
  8115. "parameters": [
  8116. {
  8117. "type": "integer",
  8118. "description": "机构用户ID 其他做市关系,都设置为 1",
  8119. "name": "userid",
  8120. "in": "query"
  8121. }
  8122. ],
  8123. "responses": {
  8124. "200": {
  8125. "description": "OK",
  8126. "schema": {
  8127. "type": "array",
  8128. "items": {
  8129. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8130. }
  8131. }
  8132. },
  8133. "500": {
  8134. "description": "Internal Server Error",
  8135. "schema": {
  8136. "$ref": "#/definitions/app.Response"
  8137. }
  8138. }
  8139. }
  8140. }
  8141. },
  8142. "/Qhj/QueryBankAccountSign": {
  8143. "get": {
  8144. "security": [
  8145. {
  8146. "ApiKeyAuth": []
  8147. }
  8148. ],
  8149. "produces": [
  8150. "application/json"
  8151. ],
  8152. "tags": [
  8153. "大连千海金"
  8154. ],
  8155. "summary": "查询签约银行信息(提现账户管理)",
  8156. "parameters": [
  8157. {
  8158. "type": "integer",
  8159. "description": "用户ID",
  8160. "name": "userid",
  8161. "in": "query",
  8162. "required": true
  8163. }
  8164. ],
  8165. "responses": {
  8166. "200": {
  8167. "description": "OK",
  8168. "schema": {
  8169. "type": "array",
  8170. "items": {
  8171. "$ref": "#/definitions/models.QhjBankAccountSign"
  8172. }
  8173. }
  8174. },
  8175. "500": {
  8176. "description": "Internal Server Error",
  8177. "schema": {
  8178. "$ref": "#/definitions/app.Response"
  8179. }
  8180. }
  8181. }
  8182. }
  8183. },
  8184. "/Qhj/QueryBankInfo": {
  8185. "get": {
  8186. "security": [
  8187. {
  8188. "ApiKeyAuth": []
  8189. }
  8190. ],
  8191. "produces": [
  8192. "application/json"
  8193. ],
  8194. "tags": [
  8195. "大连千海金"
  8196. ],
  8197. "summary": "查询开户行",
  8198. "responses": {
  8199. "200": {
  8200. "description": "OK",
  8201. "schema": {
  8202. "type": "array",
  8203. "items": {
  8204. "$ref": "#/definitions/models.QhjBankInfo"
  8205. }
  8206. }
  8207. },
  8208. "500": {
  8209. "description": "Internal Server Error",
  8210. "schema": {
  8211. "$ref": "#/definitions/app.Response"
  8212. }
  8213. }
  8214. }
  8215. }
  8216. },
  8217. "/Qhj/QueryBrokerApply": {
  8218. "get": {
  8219. "security": [
  8220. {
  8221. "ApiKeyAuth": []
  8222. }
  8223. ],
  8224. "produces": [
  8225. "application/json"
  8226. ],
  8227. "tags": [
  8228. "大连千海金"
  8229. ],
  8230. "summary": "查询经纪人申请",
  8231. "parameters": [
  8232. {
  8233. "type": "integer",
  8234. "description": "所属机构ID",
  8235. "name": "userid",
  8236. "in": "query"
  8237. },
  8238. {
  8239. "type": "string",
  8240. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8241. "name": "filterstatus",
  8242. "in": "query"
  8243. }
  8244. ],
  8245. "responses": {
  8246. "200": {
  8247. "description": "OK",
  8248. "schema": {
  8249. "type": "array",
  8250. "items": {
  8251. "$ref": "#/definitions/models.QhjBrokerApply"
  8252. }
  8253. }
  8254. },
  8255. "500": {
  8256. "description": "Internal Server Error",
  8257. "schema": {
  8258. "$ref": "#/definitions/app.Response"
  8259. }
  8260. }
  8261. }
  8262. }
  8263. },
  8264. "/Qhj/QueryBrokerApplyEx": {
  8265. "get": {
  8266. "security": [
  8267. {
  8268. "ApiKeyAuth": []
  8269. }
  8270. ],
  8271. "produces": [
  8272. "application/json"
  8273. ],
  8274. "tags": [
  8275. "大连千海金"
  8276. ],
  8277. "summary": "查询经纪人信息和申请记录",
  8278. "parameters": [
  8279. {
  8280. "type": "integer",
  8281. "description": "所属机构ID",
  8282. "name": "userid",
  8283. "in": "query"
  8284. }
  8285. ],
  8286. "responses": {
  8287. "200": {
  8288. "description": "OK",
  8289. "schema": {
  8290. "type": "array",
  8291. "items": {
  8292. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8293. }
  8294. }
  8295. },
  8296. "500": {
  8297. "description": "Internal Server Error",
  8298. "schema": {
  8299. "$ref": "#/definitions/app.Response"
  8300. }
  8301. }
  8302. }
  8303. }
  8304. },
  8305. "/Qhj/QueryBrokerRewardLog": {
  8306. "get": {
  8307. "security": [
  8308. {
  8309. "ApiKeyAuth": []
  8310. }
  8311. ],
  8312. "produces": [
  8313. "application/json"
  8314. ],
  8315. "tags": [
  8316. "大连千海金"
  8317. ],
  8318. "summary": "查询奖励流水(我的奖励)",
  8319. "parameters": [
  8320. {
  8321. "type": "integer",
  8322. "description": "用户ID",
  8323. "name": "userid",
  8324. "in": "query",
  8325. "required": true
  8326. },
  8327. {
  8328. "type": "string",
  8329. "description": "开始交易日(yyyymmdd)",
  8330. "name": "begindate",
  8331. "in": "query"
  8332. },
  8333. {
  8334. "type": "string",
  8335. "description": "结束交易日(yyyymmdd)",
  8336. "name": "enddate",
  8337. "in": "query"
  8338. }
  8339. ],
  8340. "responses": {
  8341. "200": {
  8342. "description": "OK",
  8343. "schema": {
  8344. "type": "array",
  8345. "items": {
  8346. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8347. }
  8348. }
  8349. },
  8350. "500": {
  8351. "description": "Internal Server Error",
  8352. "schema": {
  8353. "$ref": "#/definitions/app.Response"
  8354. }
  8355. }
  8356. }
  8357. }
  8358. },
  8359. "/Qhj/QueryContract": {
  8360. "get": {
  8361. "security": [
  8362. {
  8363. "ApiKeyAuth": []
  8364. }
  8365. ],
  8366. "produces": [
  8367. "application/json"
  8368. ],
  8369. "tags": [
  8370. "大连千海金"
  8371. ],
  8372. "summary": "查询融资明细(合同)",
  8373. "parameters": [
  8374. {
  8375. "type": "integer",
  8376. "description": "用户ID",
  8377. "name": "userid",
  8378. "in": "query"
  8379. },
  8380. {
  8381. "type": "integer",
  8382. "description": "scf合同id",
  8383. "name": "scfcontractid",
  8384. "in": "query"
  8385. }
  8386. ],
  8387. "responses": {
  8388. "200": {
  8389. "description": "OK",
  8390. "schema": {
  8391. "type": "array",
  8392. "items": {
  8393. "$ref": "#/definitions/models.QhjContract"
  8394. }
  8395. }
  8396. },
  8397. "500": {
  8398. "description": "Internal Server Error",
  8399. "schema": {
  8400. "$ref": "#/definitions/app.Response"
  8401. }
  8402. }
  8403. }
  8404. }
  8405. },
  8406. "/Qhj/QueryContractLog": {
  8407. "get": {
  8408. "security": [
  8409. {
  8410. "ApiKeyAuth": []
  8411. }
  8412. ],
  8413. "produces": [
  8414. "application/json"
  8415. ],
  8416. "tags": [
  8417. "大连千海金"
  8418. ],
  8419. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8420. "parameters": [
  8421. {
  8422. "type": "integer",
  8423. "description": "scf合同id",
  8424. "name": "scfcontractid",
  8425. "in": "query",
  8426. "required": true
  8427. },
  8428. {
  8429. "type": "string",
  8430. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8431. "name": "amounttype",
  8432. "in": "query"
  8433. }
  8434. ],
  8435. "responses": {
  8436. "200": {
  8437. "description": "OK",
  8438. "schema": {
  8439. "type": "array",
  8440. "items": {
  8441. "$ref": "#/definitions/models.QhjContractLog"
  8442. }
  8443. }
  8444. },
  8445. "500": {
  8446. "description": "Internal Server Error",
  8447. "schema": {
  8448. "$ref": "#/definitions/app.Response"
  8449. }
  8450. }
  8451. }
  8452. }
  8453. },
  8454. "/Qhj/QueryCusBankSignBank": {
  8455. "get": {
  8456. "security": [
  8457. {
  8458. "ApiKeyAuth": []
  8459. }
  8460. ],
  8461. "produces": [
  8462. "application/json"
  8463. ],
  8464. "tags": [
  8465. "大连千海金"
  8466. ],
  8467. "summary": "查询托管银行",
  8468. "responses": {
  8469. "200": {
  8470. "description": "OK",
  8471. "schema": {
  8472. "type": "array",
  8473. "items": {
  8474. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8475. }
  8476. }
  8477. },
  8478. "500": {
  8479. "description": "Internal Server Error",
  8480. "schema": {
  8481. "$ref": "#/definitions/app.Response"
  8482. }
  8483. }
  8484. }
  8485. }
  8486. },
  8487. "/Qhj/QueryCustomerInfo": {
  8488. "get": {
  8489. "security": [
  8490. {
  8491. "ApiKeyAuth": []
  8492. }
  8493. ],
  8494. "produces": [
  8495. "application/json"
  8496. ],
  8497. "tags": [
  8498. "大连千海金"
  8499. ],
  8500. "summary": "查询客户资料",
  8501. "parameters": [
  8502. {
  8503. "type": "integer",
  8504. "description": "用户ID",
  8505. "name": "userid",
  8506. "in": "query",
  8507. "required": true
  8508. },
  8509. {
  8510. "type": "integer",
  8511. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8512. "name": "querytype",
  8513. "in": "query",
  8514. "required": true
  8515. },
  8516. {
  8517. "type": "integer",
  8518. "description": "客户类型 1-个人 2-企业",
  8519. "name": "userinfotype",
  8520. "in": "query"
  8521. },
  8522. {
  8523. "type": "string",
  8524. "description": "客户名称(模糊匹配)",
  8525. "name": "customername",
  8526. "in": "query"
  8527. },
  8528. {
  8529. "type": "string",
  8530. "description": "昵称(模糊匹配)",
  8531. "name": "nickname",
  8532. "in": "query"
  8533. },
  8534. {
  8535. "type": "integer",
  8536. "description": "是否包含子级 1-包含",
  8537. "name": "includesub",
  8538. "in": "query"
  8539. }
  8540. ],
  8541. "responses": {
  8542. "200": {
  8543. "description": "OK",
  8544. "schema": {
  8545. "type": "array",
  8546. "items": {
  8547. "$ref": "#/definitions/models.QhjCustomer"
  8548. }
  8549. }
  8550. },
  8551. "500": {
  8552. "description": "Internal Server Error",
  8553. "schema": {
  8554. "$ref": "#/definitions/app.Response"
  8555. }
  8556. }
  8557. }
  8558. }
  8559. },
  8560. "/Qhj/QueryGoodsEx": {
  8561. "get": {
  8562. "security": [
  8563. {
  8564. "ApiKeyAuth": []
  8565. }
  8566. ],
  8567. "produces": [
  8568. "application/json"
  8569. ],
  8570. "tags": [
  8571. "大连千海金"
  8572. ],
  8573. "summary": "交易商品扩展表",
  8574. "parameters": [
  8575. {
  8576. "type": "integer",
  8577. "description": "商品id",
  8578. "name": "goodsid",
  8579. "in": "query"
  8580. }
  8581. ],
  8582. "responses": {
  8583. "200": {
  8584. "description": "OK",
  8585. "schema": {
  8586. "type": "array",
  8587. "items": {
  8588. "$ref": "#/definitions/models.Qhjgoodsex"
  8589. }
  8590. }
  8591. },
  8592. "500": {
  8593. "description": "Internal Server Error",
  8594. "schema": {
  8595. "$ref": "#/definitions/app.Response"
  8596. }
  8597. }
  8598. }
  8599. }
  8600. },
  8601. "/Qhj/QueryMyTeam": {
  8602. "get": {
  8603. "security": [
  8604. {
  8605. "ApiKeyAuth": []
  8606. }
  8607. ],
  8608. "produces": [
  8609. "application/json"
  8610. ],
  8611. "tags": [
  8612. "大连千海金"
  8613. ],
  8614. "summary": "查询我的团队",
  8615. "parameters": [
  8616. {
  8617. "type": "integer",
  8618. "description": "用户ID",
  8619. "name": "userid",
  8620. "in": "query",
  8621. "required": true
  8622. }
  8623. ],
  8624. "responses": {
  8625. "200": {
  8626. "description": "OK",
  8627. "schema": {
  8628. "type": "array",
  8629. "items": {
  8630. "$ref": "#/definitions/models.QhjMyTeamEx"
  8631. }
  8632. }
  8633. },
  8634. "500": {
  8635. "description": "Internal Server Error",
  8636. "schema": {
  8637. "$ref": "#/definitions/app.Response"
  8638. }
  8639. }
  8640. }
  8641. }
  8642. },
  8643. "/Qhj/QueryMyTeamOrder": {
  8644. "get": {
  8645. "security": [
  8646. {
  8647. "ApiKeyAuth": []
  8648. }
  8649. ],
  8650. "produces": [
  8651. "application/json"
  8652. ],
  8653. "tags": [
  8654. "大连千海金"
  8655. ],
  8656. "summary": "查询团队订单(我的团队/团队订单)",
  8657. "parameters": [
  8658. {
  8659. "type": "integer",
  8660. "description": "页码",
  8661. "name": "page",
  8662. "in": "query"
  8663. },
  8664. {
  8665. "type": "integer",
  8666. "description": "每页条数",
  8667. "name": "pagesize",
  8668. "in": "query"
  8669. },
  8670. {
  8671. "type": "integer",
  8672. "description": "用户ID",
  8673. "name": "userid",
  8674. "in": "query",
  8675. "required": true
  8676. },
  8677. {
  8678. "type": "integer",
  8679. "description": "交易模式",
  8680. "name": "trademode",
  8681. "in": "query"
  8682. },
  8683. {
  8684. "type": "string",
  8685. "description": "名称(模糊搜索账户)",
  8686. "name": "filtername",
  8687. "in": "query"
  8688. }
  8689. ],
  8690. "responses": {
  8691. "200": {
  8692. "description": "OK",
  8693. "schema": {
  8694. "type": "array",
  8695. "items": {
  8696. "$ref": "#/definitions/models.QhjTeamOrder"
  8697. }
  8698. }
  8699. },
  8700. "500": {
  8701. "description": "Internal Server Error",
  8702. "schema": {
  8703. "$ref": "#/definitions/app.Response"
  8704. }
  8705. }
  8706. }
  8707. }
  8708. },
  8709. "/Qhj/QueryParentAreaList": {
  8710. "get": {
  8711. "security": [
  8712. {
  8713. "ApiKeyAuth": []
  8714. }
  8715. ],
  8716. "produces": [
  8717. "application/json"
  8718. ],
  8719. "tags": [
  8720. "大连千海金"
  8721. ],
  8722. "summary": "查询所属机构列表",
  8723. "parameters": [
  8724. {
  8725. "type": "integer",
  8726. "description": "用户ID",
  8727. "name": "userid",
  8728. "in": "query",
  8729. "required": true
  8730. }
  8731. ],
  8732. "responses": {
  8733. "200": {
  8734. "description": "OK",
  8735. "schema": {
  8736. "type": "array",
  8737. "items": {
  8738. "$ref": "#/definitions/models.QhjParentAreaList"
  8739. }
  8740. }
  8741. },
  8742. "500": {
  8743. "description": "Internal Server Error",
  8744. "schema": {
  8745. "$ref": "#/definitions/app.Response"
  8746. }
  8747. }
  8748. }
  8749. }
  8750. },
  8751. "/Qhj/QueryPayOrder": {
  8752. "get": {
  8753. "security": [
  8754. {
  8755. "ApiKeyAuth": []
  8756. }
  8757. ],
  8758. "produces": [
  8759. "application/json"
  8760. ],
  8761. "tags": [
  8762. "大连千海金"
  8763. ],
  8764. "summary": "查询待付款单据",
  8765. "parameters": [
  8766. {
  8767. "type": "integer",
  8768. "description": "资金账号id",
  8769. "name": "accountid",
  8770. "in": "query",
  8771. "required": true
  8772. },
  8773. {
  8774. "type": "integer",
  8775. "description": "成交单号",
  8776. "name": "tradeid",
  8777. "in": "query"
  8778. },
  8779. {
  8780. "type": "string",
  8781. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8782. "name": "payflag",
  8783. "in": "query"
  8784. }
  8785. ],
  8786. "responses": {
  8787. "200": {
  8788. "description": "OK",
  8789. "schema": {
  8790. "type": "array",
  8791. "items": {
  8792. "$ref": "#/definitions/models.QhjPayOrder"
  8793. }
  8794. }
  8795. },
  8796. "500": {
  8797. "description": "Internal Server Error",
  8798. "schema": {
  8799. "$ref": "#/definitions/app.Response"
  8800. }
  8801. }
  8802. }
  8803. }
  8804. },
  8805. "/Qhj/QueryPickArea": {
  8806. "get": {
  8807. "security": [
  8808. {
  8809. "ApiKeyAuth": []
  8810. }
  8811. ],
  8812. "produces": [
  8813. "application/json"
  8814. ],
  8815. "tags": [
  8816. "大连千海金"
  8817. ],
  8818. "summary": "查询提货门店",
  8819. "parameters": [
  8820. {
  8821. "type": "integer",
  8822. "description": "用户ID",
  8823. "name": "userid",
  8824. "in": "query"
  8825. }
  8826. ],
  8827. "responses": {
  8828. "200": {
  8829. "description": "OK",
  8830. "schema": {
  8831. "type": "array",
  8832. "items": {
  8833. "$ref": "#/definitions/models.QhjPickArea"
  8834. }
  8835. }
  8836. },
  8837. "500": {
  8838. "description": "Internal Server Error",
  8839. "schema": {
  8840. "$ref": "#/definitions/app.Response"
  8841. }
  8842. }
  8843. }
  8844. }
  8845. },
  8846. "/Qhj/QueryPickGoods": {
  8847. "get": {
  8848. "security": [
  8849. {
  8850. "ApiKeyAuth": []
  8851. }
  8852. ],
  8853. "produces": [
  8854. "application/json"
  8855. ],
  8856. "tags": [
  8857. "大连千海金"
  8858. ],
  8859. "summary": "查询提货商品",
  8860. "parameters": [
  8861. {
  8862. "type": "integer",
  8863. "description": "交易商品id",
  8864. "name": "goodsid",
  8865. "in": "query",
  8866. "required": true
  8867. },
  8868. {
  8869. "type": "string",
  8870. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8871. "name": "status",
  8872. "in": "query"
  8873. }
  8874. ],
  8875. "responses": {
  8876. "200": {
  8877. "description": "OK",
  8878. "schema": {
  8879. "type": "array",
  8880. "items": {
  8881. "$ref": "#/definitions/models.QhjPickGoods"
  8882. }
  8883. }
  8884. },
  8885. "500": {
  8886. "description": "Internal Server Error",
  8887. "schema": {
  8888. "$ref": "#/definitions/app.Response"
  8889. }
  8890. }
  8891. }
  8892. }
  8893. },
  8894. "/Qhj/QueryRSTriggerLog": {
  8895. "get": {
  8896. "security": [
  8897. {
  8898. "ApiKeyAuth": []
  8899. }
  8900. ],
  8901. "produces": [
  8902. "application/json"
  8903. ],
  8904. "tags": [
  8905. "大连千海金"
  8906. ],
  8907. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8908. "parameters": [
  8909. {
  8910. "type": "integer",
  8911. "description": "用户ID",
  8912. "name": "userid",
  8913. "in": "query"
  8914. },
  8915. {
  8916. "type": "integer",
  8917. "description": "定投策略id",
  8918. "name": "regularlystrategyid",
  8919. "in": "query"
  8920. },
  8921. {
  8922. "type": "integer",
  8923. "description": "商品id",
  8924. "name": "goodsid",
  8925. "in": "query"
  8926. },
  8927. {
  8928. "type": "string",
  8929. "description": "开始交易日(yyyymmdd)",
  8930. "name": "begindate",
  8931. "in": "query"
  8932. },
  8933. {
  8934. "type": "string",
  8935. "description": "结束交易日(yyyymmdd)",
  8936. "name": "enddate",
  8937. "in": "query"
  8938. },
  8939. {
  8940. "type": "string",
  8941. "description": "名称(模糊搜索账户)",
  8942. "name": "filtername",
  8943. "in": "query"
  8944. }
  8945. ],
  8946. "responses": {
  8947. "200": {
  8948. "description": "OK",
  8949. "schema": {
  8950. "type": "array",
  8951. "items": {
  8952. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8953. }
  8954. }
  8955. },
  8956. "500": {
  8957. "description": "Internal Server Error",
  8958. "schema": {
  8959. "$ref": "#/definitions/app.Response"
  8960. }
  8961. }
  8962. }
  8963. }
  8964. },
  8965. "/Qhj/QueryRStrategy": {
  8966. "get": {
  8967. "security": [
  8968. {
  8969. "ApiKeyAuth": []
  8970. }
  8971. ],
  8972. "produces": [
  8973. "application/json"
  8974. ],
  8975. "tags": [
  8976. "大连千海金"
  8977. ],
  8978. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8979. "parameters": [
  8980. {
  8981. "type": "integer",
  8982. "description": "用户ID",
  8983. "name": "userid",
  8984. "in": "query"
  8985. },
  8986. {
  8987. "type": "integer",
  8988. "description": "商品id",
  8989. "name": "goodsid",
  8990. "in": "query"
  8991. },
  8992. {
  8993. "type": "string",
  8994. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8995. "name": "status",
  8996. "in": "query"
  8997. },
  8998. {
  8999. "type": "string",
  9000. "description": "名称(模糊搜索账户)",
  9001. "name": "filtername",
  9002. "in": "query"
  9003. }
  9004. ],
  9005. "responses": {
  9006. "200": {
  9007. "description": "OK",
  9008. "schema": {
  9009. "type": "array",
  9010. "items": {
  9011. "$ref": "#/definitions/models.QhjRStrategy"
  9012. }
  9013. }
  9014. },
  9015. "500": {
  9016. "description": "Internal Server Error",
  9017. "schema": {
  9018. "$ref": "#/definitions/app.Response"
  9019. }
  9020. }
  9021. }
  9022. }
  9023. },
  9024. "/Qhj/QueryReckonPriceLog": {
  9025. "get": {
  9026. "security": [
  9027. {
  9028. "ApiKeyAuth": []
  9029. }
  9030. ],
  9031. "produces": [
  9032. "application/json"
  9033. ],
  9034. "tags": [
  9035. "大连千海金"
  9036. ],
  9037. "summary": "查询定投价(结算价)",
  9038. "parameters": [
  9039. {
  9040. "type": "integer",
  9041. "description": "商品ID",
  9042. "name": "goodsid",
  9043. "in": "query"
  9044. },
  9045. {
  9046. "type": "string",
  9047. "description": "交易日 格式(yyyymmdd)",
  9048. "name": "tradedate",
  9049. "in": "query"
  9050. }
  9051. ],
  9052. "responses": {
  9053. "200": {
  9054. "description": "OK",
  9055. "schema": {
  9056. "type": "array",
  9057. "items": {
  9058. "$ref": "#/definitions/models.QhjReckonPriceLog"
  9059. }
  9060. }
  9061. },
  9062. "500": {
  9063. "description": "Internal Server Error",
  9064. "schema": {
  9065. "$ref": "#/definitions/app.Response"
  9066. }
  9067. }
  9068. }
  9069. }
  9070. },
  9071. "/Qhj/QueryScoreLog": {
  9072. "get": {
  9073. "security": [
  9074. {
  9075. "ApiKeyAuth": []
  9076. }
  9077. ],
  9078. "produces": [
  9079. "application/json"
  9080. ],
  9081. "tags": [
  9082. "大连千海金"
  9083. ],
  9084. "summary": "查询积分流水(我的积分)",
  9085. "parameters": [
  9086. {
  9087. "type": "integer",
  9088. "description": "用户ID",
  9089. "name": "userid",
  9090. "in": "query",
  9091. "required": true
  9092. },
  9093. {
  9094. "type": "string",
  9095. "description": "开始交易日(yyyymmdd)",
  9096. "name": "begindate",
  9097. "in": "query"
  9098. },
  9099. {
  9100. "type": "string",
  9101. "description": "结束交易日(yyyymmdd)",
  9102. "name": "enddate",
  9103. "in": "query"
  9104. },
  9105. {
  9106. "type": "integer",
  9107. "description": "最近多少条",
  9108. "name": "lastnum",
  9109. "in": "query"
  9110. }
  9111. ],
  9112. "responses": {
  9113. "200": {
  9114. "description": "OK",
  9115. "schema": {
  9116. "type": "array",
  9117. "items": {
  9118. "$ref": "#/definitions/models.QhjScoreLog"
  9119. }
  9120. }
  9121. },
  9122. "500": {
  9123. "description": "Internal Server Error",
  9124. "schema": {
  9125. "$ref": "#/definitions/app.Response"
  9126. }
  9127. }
  9128. }
  9129. }
  9130. },
  9131. "/Qhj/QuerySiteColumnDetail": {
  9132. "get": {
  9133. "security": [
  9134. {
  9135. "ApiKeyAuth": []
  9136. }
  9137. ],
  9138. "produces": [
  9139. "application/json"
  9140. ],
  9141. "tags": [
  9142. "大连千海金"
  9143. ],
  9144. "summary": "查询资讯",
  9145. "parameters": [
  9146. {
  9147. "type": "integer",
  9148. "description": "用户ID",
  9149. "name": "userid",
  9150. "in": "query",
  9151. "required": true
  9152. }
  9153. ],
  9154. "responses": {
  9155. "200": {
  9156. "description": "OK",
  9157. "schema": {
  9158. "type": "array",
  9159. "items": {
  9160. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9161. }
  9162. }
  9163. },
  9164. "500": {
  9165. "description": "Internal Server Error",
  9166. "schema": {
  9167. "$ref": "#/definitions/app.Response"
  9168. }
  9169. }
  9170. }
  9171. }
  9172. },
  9173. "/Qhj/QueryTradeGoodsPickup": {
  9174. "get": {
  9175. "security": [
  9176. {
  9177. "ApiKeyAuth": []
  9178. }
  9179. ],
  9180. "produces": [
  9181. "application/json"
  9182. ],
  9183. "tags": [
  9184. "大连千海金"
  9185. ],
  9186. "summary": "查询提货",
  9187. "parameters": [
  9188. {
  9189. "type": "integer",
  9190. "description": "用户ID",
  9191. "name": "userid",
  9192. "in": "query",
  9193. "required": true
  9194. },
  9195. {
  9196. "type": "integer",
  9197. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9198. "name": "takeorderstatus",
  9199. "in": "query"
  9200. }
  9201. ],
  9202. "responses": {
  9203. "200": {
  9204. "description": "OK",
  9205. "schema": {
  9206. "type": "array",
  9207. "items": {
  9208. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9209. }
  9210. }
  9211. },
  9212. "500": {
  9213. "description": "Internal Server Error",
  9214. "schema": {
  9215. "$ref": "#/definitions/app.Response"
  9216. }
  9217. }
  9218. }
  9219. }
  9220. },
  9221. "/Qhj/QueryUserCollectConfig": {
  9222. "get": {
  9223. "security": [
  9224. {
  9225. "ApiKeyAuth": []
  9226. }
  9227. ],
  9228. "produces": [
  9229. "application/json"
  9230. ],
  9231. "tags": [
  9232. "大连千海金"
  9233. ],
  9234. "summary": "查询提现账户设置",
  9235. "parameters": [
  9236. {
  9237. "type": "integer",
  9238. "description": "用户ID",
  9239. "name": "userid",
  9240. "in": "query",
  9241. "required": true
  9242. }
  9243. ],
  9244. "responses": {
  9245. "200": {
  9246. "description": "OK",
  9247. "schema": {
  9248. "type": "array",
  9249. "items": {
  9250. "$ref": "#/definitions/models.UserCollectConfig"
  9251. }
  9252. }
  9253. },
  9254. "500": {
  9255. "description": "Internal Server Error",
  9256. "schema": {
  9257. "$ref": "#/definitions/app.Response"
  9258. }
  9259. }
  9260. }
  9261. }
  9262. },
  9263. "/Qhj/QueryUserReceiveInfo": {
  9264. "get": {
  9265. "security": [
  9266. {
  9267. "ApiKeyAuth": []
  9268. }
  9269. ],
  9270. "produces": [
  9271. "application/json"
  9272. ],
  9273. "tags": [
  9274. "大连千海金"
  9275. ],
  9276. "summary": "查询收货地址信息",
  9277. "parameters": [
  9278. {
  9279. "type": "integer",
  9280. "description": "用户ID",
  9281. "name": "userid",
  9282. "in": "query",
  9283. "required": true
  9284. }
  9285. ],
  9286. "responses": {
  9287. "200": {
  9288. "description": "OK",
  9289. "schema": {
  9290. "type": "array",
  9291. "items": {
  9292. "$ref": "#/definitions/models.UserReceiveInfo"
  9293. }
  9294. }
  9295. },
  9296. "500": {
  9297. "description": "Internal Server Error",
  9298. "schema": {
  9299. "$ref": "#/definitions/app.Response"
  9300. }
  9301. }
  9302. }
  9303. }
  9304. },
  9305. "/QhjMgr/QueryAccountInOutApply": {
  9306. "get": {
  9307. "security": [
  9308. {
  9309. "ApiKeyAuth": []
  9310. }
  9311. ],
  9312. "produces": [
  9313. "application/json"
  9314. ],
  9315. "tags": [
  9316. "大连千海金(PCWeb)"
  9317. ],
  9318. "summary": "查询充值提现",
  9319. "parameters": [
  9320. {
  9321. "type": "integer",
  9322. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9323. "name": "querytype",
  9324. "in": "query",
  9325. "required": true
  9326. },
  9327. {
  9328. "type": "integer",
  9329. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9330. "name": "applystatus",
  9331. "in": "query"
  9332. },
  9333. {
  9334. "type": "string",
  9335. "description": "申请起始日期(格式yyyymmdd)",
  9336. "name": "begindate",
  9337. "in": "query"
  9338. },
  9339. {
  9340. "type": "string",
  9341. "description": "申请截止日期(格式yyyymmdd)",
  9342. "name": "enddate",
  9343. "in": "query"
  9344. },
  9345. {
  9346. "type": "string",
  9347. "description": "模糊搜索名称",
  9348. "name": "likename",
  9349. "in": "query"
  9350. }
  9351. ],
  9352. "responses": {
  9353. "200": {
  9354. "description": "OK",
  9355. "schema": {
  9356. "type": "array",
  9357. "items": {
  9358. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9359. }
  9360. }
  9361. },
  9362. "500": {
  9363. "description": "Internal Server Error",
  9364. "schema": {
  9365. "$ref": "#/definitions/app.Response"
  9366. }
  9367. }
  9368. }
  9369. }
  9370. },
  9371. "/QhjMgr/QueryBrokerApply": {
  9372. "get": {
  9373. "security": [
  9374. {
  9375. "ApiKeyAuth": []
  9376. }
  9377. ],
  9378. "produces": [
  9379. "application/json"
  9380. ],
  9381. "tags": [
  9382. "大连千海金(PCWeb)"
  9383. ],
  9384. "summary": "查询经纪人申请",
  9385. "parameters": [
  9386. {
  9387. "type": "integer",
  9388. "description": "所属机构ID",
  9389. "name": "userid",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "string",
  9394. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9395. "name": "filterstatus",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "string",
  9400. "description": "名称(模糊匹配)",
  9401. "name": "filtername",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "integer",
  9406. "description": "是否包含子级 1-包含",
  9407. "name": "includesub",
  9408. "in": "query"
  9409. }
  9410. ],
  9411. "responses": {
  9412. "200": {
  9413. "description": "OK",
  9414. "schema": {
  9415. "type": "array",
  9416. "items": {
  9417. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9418. }
  9419. }
  9420. },
  9421. "500": {
  9422. "description": "Internal Server Error",
  9423. "schema": {
  9424. "$ref": "#/definitions/app.Response"
  9425. }
  9426. }
  9427. }
  9428. }
  9429. },
  9430. "/QhjMgr/QueryBrokerRewardReport": {
  9431. "get": {
  9432. "security": [
  9433. {
  9434. "ApiKeyAuth": []
  9435. }
  9436. ],
  9437. "produces": [
  9438. "application/json"
  9439. ],
  9440. "tags": [
  9441. "大连千海金(PCWeb)"
  9442. ],
  9443. "summary": "查询经纪人奖励报表(废弃)",
  9444. "parameters": [
  9445. {
  9446. "type": "integer",
  9447. "description": "所属机构ID",
  9448. "name": "userid",
  9449. "in": "query",
  9450. "required": true
  9451. },
  9452. {
  9453. "type": "integer",
  9454. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9455. "name": "cycletype",
  9456. "in": "query",
  9457. "required": true
  9458. },
  9459. {
  9460. "type": "string",
  9461. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9462. "name": "cycletime",
  9463. "in": "query",
  9464. "required": true
  9465. },
  9466. {
  9467. "type": "string",
  9468. "description": "名称(模糊匹配)",
  9469. "name": "filtername",
  9470. "in": "query"
  9471. },
  9472. {
  9473. "type": "integer",
  9474. "description": "是否包含子级 1-包含",
  9475. "name": "includesub",
  9476. "in": "query"
  9477. }
  9478. ],
  9479. "responses": {
  9480. "200": {
  9481. "description": "OK",
  9482. "schema": {
  9483. "type": "array",
  9484. "items": {
  9485. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9486. }
  9487. }
  9488. },
  9489. "500": {
  9490. "description": "Internal Server Error",
  9491. "schema": {
  9492. "$ref": "#/definitions/app.Response"
  9493. }
  9494. }
  9495. }
  9496. }
  9497. },
  9498. "/QhjMgr/QueryContract": {
  9499. "get": {
  9500. "security": [
  9501. {
  9502. "ApiKeyAuth": []
  9503. }
  9504. ],
  9505. "produces": [
  9506. "application/json"
  9507. ],
  9508. "tags": [
  9509. "大连千海金(PCWeb)"
  9510. ],
  9511. "summary": "查询融资信息(合同)",
  9512. "parameters": [
  9513. {
  9514. "type": "integer",
  9515. "description": "用户ID",
  9516. "name": "userid",
  9517. "in": "query"
  9518. },
  9519. {
  9520. "type": "integer",
  9521. "description": "商品id",
  9522. "name": "goodsid",
  9523. "in": "query"
  9524. },
  9525. {
  9526. "type": "string",
  9527. "description": "名称(模糊搜索账户)",
  9528. "name": "filtername",
  9529. "in": "query"
  9530. },
  9531. {
  9532. "type": "string",
  9533. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9534. "name": "risklevel",
  9535. "in": "query"
  9536. },
  9537. {
  9538. "type": "string",
  9539. "description": "开始交易日(yyyymmdd)",
  9540. "name": "begindate",
  9541. "in": "query"
  9542. },
  9543. {
  9544. "type": "string",
  9545. "description": "结束交易日(yyyymmdd)",
  9546. "name": "enddate",
  9547. "in": "query"
  9548. }
  9549. ],
  9550. "responses": {
  9551. "200": {
  9552. "description": "OK",
  9553. "schema": {
  9554. "type": "array",
  9555. "items": {
  9556. "$ref": "#/definitions/models.QhjMgrContract"
  9557. }
  9558. }
  9559. },
  9560. "500": {
  9561. "description": "Internal Server Error",
  9562. "schema": {
  9563. "$ref": "#/definitions/app.Response"
  9564. }
  9565. }
  9566. }
  9567. }
  9568. },
  9569. "/QhjMgr/QueryCustomerInfo": {
  9570. "get": {
  9571. "security": [
  9572. {
  9573. "ApiKeyAuth": []
  9574. }
  9575. ],
  9576. "produces": [
  9577. "application/json"
  9578. ],
  9579. "tags": [
  9580. "大连千海金(PCWeb)"
  9581. ],
  9582. "summary": "查询客户资料",
  9583. "parameters": [
  9584. {
  9585. "type": "integer",
  9586. "description": "用户ID",
  9587. "name": "userid",
  9588. "in": "query",
  9589. "required": true
  9590. },
  9591. {
  9592. "type": "integer",
  9593. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9594. "name": "querytype",
  9595. "in": "query",
  9596. "required": true
  9597. },
  9598. {
  9599. "type": "integer",
  9600. "description": "客户类型 1-个人 2-企业",
  9601. "name": "userinfotype",
  9602. "in": "query"
  9603. },
  9604. {
  9605. "type": "string",
  9606. "description": "客户名称(模糊匹配)",
  9607. "name": "customername",
  9608. "in": "query"
  9609. },
  9610. {
  9611. "type": "string",
  9612. "description": "昵称(模糊匹配)",
  9613. "name": "nickname",
  9614. "in": "query"
  9615. },
  9616. {
  9617. "type": "string",
  9618. "description": "所属客户经理(模糊匹配)",
  9619. "name": "brokername",
  9620. "in": "query"
  9621. },
  9622. {
  9623. "type": "string",
  9624. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9625. "name": "birthday",
  9626. "in": "query"
  9627. },
  9628. {
  9629. "type": "integer",
  9630. "description": "是否包含子级 1-包含",
  9631. "name": "includesub",
  9632. "in": "query"
  9633. }
  9634. ],
  9635. "responses": {
  9636. "200": {
  9637. "description": "OK",
  9638. "schema": {
  9639. "type": "array",
  9640. "items": {
  9641. "$ref": "#/definitions/models.QhjMgrCustomer"
  9642. }
  9643. }
  9644. },
  9645. "500": {
  9646. "description": "Internal Server Error",
  9647. "schema": {
  9648. "$ref": "#/definitions/app.Response"
  9649. }
  9650. }
  9651. }
  9652. }
  9653. },
  9654. "/QhjMgr/QueryPickGoods": {
  9655. "get": {
  9656. "security": [
  9657. {
  9658. "ApiKeyAuth": []
  9659. }
  9660. ],
  9661. "produces": [
  9662. "application/json"
  9663. ],
  9664. "tags": [
  9665. "大连千海金(PCWeb)"
  9666. ],
  9667. "summary": "查询提货商品",
  9668. "parameters": [
  9669. {
  9670. "type": "string",
  9671. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9672. "name": "status",
  9673. "in": "query"
  9674. }
  9675. ],
  9676. "responses": {
  9677. "200": {
  9678. "description": "OK",
  9679. "schema": {
  9680. "type": "array",
  9681. "items": {
  9682. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9683. }
  9684. }
  9685. },
  9686. "500": {
  9687. "description": "Internal Server Error",
  9688. "schema": {
  9689. "$ref": "#/definitions/app.Response"
  9690. }
  9691. }
  9692. }
  9693. }
  9694. },
  9695. "/QhjMgr/QuerySubArea": {
  9696. "get": {
  9697. "security": [
  9698. {
  9699. "ApiKeyAuth": []
  9700. }
  9701. ],
  9702. "produces": [
  9703. "application/json"
  9704. ],
  9705. "tags": [
  9706. "大连千海金(PCWeb)"
  9707. ],
  9708. "summary": "查询子机构列表",
  9709. "parameters": [
  9710. {
  9711. "type": "integer",
  9712. "description": "用户ID",
  9713. "name": "userid",
  9714. "in": "query",
  9715. "required": true
  9716. }
  9717. ],
  9718. "responses": {
  9719. "200": {
  9720. "description": "OK",
  9721. "schema": {
  9722. "type": "array",
  9723. "items": {
  9724. "$ref": "#/definitions/models.QhjMgrSubArea"
  9725. }
  9726. }
  9727. },
  9728. "500": {
  9729. "description": "Internal Server Error",
  9730. "schema": {
  9731. "$ref": "#/definitions/app.Response"
  9732. }
  9733. }
  9734. }
  9735. }
  9736. },
  9737. "/QhjMgr/QueryTradeDetail": {
  9738. "get": {
  9739. "security": [
  9740. {
  9741. "ApiKeyAuth": []
  9742. }
  9743. ],
  9744. "produces": [
  9745. "application/json"
  9746. ],
  9747. "tags": [
  9748. "大连千海金(PCWeb)"
  9749. ],
  9750. "summary": "查询成交明细",
  9751. "parameters": [
  9752. {
  9753. "type": "integer",
  9754. "description": "用户ID",
  9755. "name": "userid",
  9756. "in": "query",
  9757. "required": true
  9758. },
  9759. {
  9760. "type": "integer",
  9761. "description": "用户类型 1-个人 2-企业",
  9762. "name": "userinfotype",
  9763. "in": "query"
  9764. },
  9765. {
  9766. "type": "integer",
  9767. "description": "交易模式",
  9768. "name": "trademode",
  9769. "in": "query"
  9770. },
  9771. {
  9772. "type": "integer",
  9773. "description": "商品id",
  9774. "name": "goodsid",
  9775. "in": "query"
  9776. },
  9777. {
  9778. "type": "string",
  9779. "description": "名称(模糊搜索账户)",
  9780. "name": "filtername",
  9781. "in": "query"
  9782. },
  9783. {
  9784. "type": "string",
  9785. "description": "开始交易日(yyyymmdd)",
  9786. "name": "begindate",
  9787. "in": "query"
  9788. },
  9789. {
  9790. "type": "string",
  9791. "description": "结束交易日(yyyymmdd)",
  9792. "name": "enddate",
  9793. "in": "query"
  9794. },
  9795. {
  9796. "type": "integer",
  9797. "description": "是否包含子级 1-包含",
  9798. "name": "includesub",
  9799. "in": "query"
  9800. }
  9801. ],
  9802. "responses": {
  9803. "200": {
  9804. "description": "OK",
  9805. "schema": {
  9806. "type": "array",
  9807. "items": {
  9808. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9809. }
  9810. }
  9811. },
  9812. "500": {
  9813. "description": "Internal Server Error",
  9814. "schema": {
  9815. "$ref": "#/definitions/app.Response"
  9816. }
  9817. }
  9818. }
  9819. }
  9820. },
  9821. "/QhjMgr/QueryTradeOrderDetail": {
  9822. "get": {
  9823. "security": [
  9824. {
  9825. "ApiKeyAuth": []
  9826. }
  9827. ],
  9828. "produces": [
  9829. "application/json"
  9830. ],
  9831. "tags": [
  9832. "大连千海金(PCWeb)"
  9833. ],
  9834. "summary": "查询委托明细",
  9835. "parameters": [
  9836. {
  9837. "type": "integer",
  9838. "description": "用户ID",
  9839. "name": "userid",
  9840. "in": "query",
  9841. "required": true
  9842. },
  9843. {
  9844. "type": "integer",
  9845. "description": "用户类型 1-个人 2-企业",
  9846. "name": "userinfotype",
  9847. "in": "query"
  9848. },
  9849. {
  9850. "type": "integer",
  9851. "description": "交易模式",
  9852. "name": "trademode",
  9853. "in": "query"
  9854. },
  9855. {
  9856. "type": "integer",
  9857. "description": "商品id",
  9858. "name": "goodsid",
  9859. "in": "query"
  9860. },
  9861. {
  9862. "type": "string",
  9863. "description": "名称(模糊搜索账户)",
  9864. "name": "filtername",
  9865. "in": "query"
  9866. },
  9867. {
  9868. "type": "string",
  9869. "description": "开始交易日(yyyymmdd)",
  9870. "name": "begindate",
  9871. "in": "query"
  9872. },
  9873. {
  9874. "type": "string",
  9875. "description": "结束交易日(yyyymmdd)",
  9876. "name": "enddate",
  9877. "in": "query"
  9878. },
  9879. {
  9880. "type": "integer",
  9881. "description": "是否包含子级 1-包含",
  9882. "name": "includesub",
  9883. "in": "query"
  9884. }
  9885. ],
  9886. "responses": {
  9887. "200": {
  9888. "description": "OK",
  9889. "schema": {
  9890. "type": "array",
  9891. "items": {
  9892. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9893. }
  9894. }
  9895. },
  9896. "500": {
  9897. "description": "Internal Server Error",
  9898. "schema": {
  9899. "$ref": "#/definitions/app.Response"
  9900. }
  9901. }
  9902. }
  9903. }
  9904. },
  9905. "/QhjMgr/QueryTradePayOrder": {
  9906. "get": {
  9907. "security": [
  9908. {
  9909. "ApiKeyAuth": []
  9910. }
  9911. ],
  9912. "produces": [
  9913. "application/json"
  9914. ],
  9915. "tags": [
  9916. "大连千海金(PCWeb)"
  9917. ],
  9918. "summary": "查询待付款单",
  9919. "parameters": [
  9920. {
  9921. "type": "integer",
  9922. "description": "用户ID",
  9923. "name": "userid",
  9924. "in": "query",
  9925. "required": true
  9926. },
  9927. {
  9928. "type": "string",
  9929. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9930. "name": "payflag",
  9931. "in": "query"
  9932. },
  9933. {
  9934. "type": "integer",
  9935. "description": "用户类型 1-个人 2-企业",
  9936. "name": "userinfotype",
  9937. "in": "query"
  9938. },
  9939. {
  9940. "type": "integer",
  9941. "description": "交易模式",
  9942. "name": "trademode",
  9943. "in": "query"
  9944. },
  9945. {
  9946. "type": "integer",
  9947. "description": "商品id",
  9948. "name": "goodsid",
  9949. "in": "query"
  9950. },
  9951. {
  9952. "type": "string",
  9953. "description": "名称(模糊搜索账户)",
  9954. "name": "filtername",
  9955. "in": "query"
  9956. },
  9957. {
  9958. "type": "string",
  9959. "description": "开始交易日(yyyymmdd)",
  9960. "name": "begindate",
  9961. "in": "query"
  9962. },
  9963. {
  9964. "type": "string",
  9965. "description": "结束交易日(yyyymmdd)",
  9966. "name": "enddate",
  9967. "in": "query"
  9968. },
  9969. {
  9970. "type": "integer",
  9971. "description": "是否包含子级 1-包含",
  9972. "name": "includesub",
  9973. "in": "query"
  9974. }
  9975. ],
  9976. "responses": {
  9977. "200": {
  9978. "description": "OK",
  9979. "schema": {
  9980. "type": "array",
  9981. "items": {
  9982. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9983. }
  9984. }
  9985. },
  9986. "500": {
  9987. "description": "Internal Server Error",
  9988. "schema": {
  9989. "$ref": "#/definitions/app.Response"
  9990. }
  9991. }
  9992. }
  9993. }
  9994. },
  9995. "/QhjMgr/QueryTradePosition": {
  9996. "get": {
  9997. "security": [
  9998. {
  9999. "ApiKeyAuth": []
  10000. }
  10001. ],
  10002. "produces": [
  10003. "application/json"
  10004. ],
  10005. "tags": [
  10006. "大连千海金(PCWeb)"
  10007. ],
  10008. "summary": "查询持仓汇总",
  10009. "parameters": [
  10010. {
  10011. "type": "integer",
  10012. "description": "用户ID",
  10013. "name": "userid",
  10014. "in": "query",
  10015. "required": true
  10016. },
  10017. {
  10018. "type": "integer",
  10019. "description": "用户类型 1-个人 2-企业",
  10020. "name": "userinfotype",
  10021. "in": "query"
  10022. },
  10023. {
  10024. "type": "integer",
  10025. "description": "交易模式",
  10026. "name": "trademode",
  10027. "in": "query"
  10028. },
  10029. {
  10030. "type": "integer",
  10031. "description": "商品id",
  10032. "name": "goodsid",
  10033. "in": "query"
  10034. },
  10035. {
  10036. "type": "string",
  10037. "description": "名称(模糊搜索账户)",
  10038. "name": "filtername",
  10039. "in": "query"
  10040. },
  10041. {
  10042. "type": "integer",
  10043. "description": "是否包含子级 1-包含",
  10044. "name": "includesub",
  10045. "in": "query"
  10046. }
  10047. ],
  10048. "responses": {
  10049. "200": {
  10050. "description": "OK",
  10051. "schema": {
  10052. "type": "array",
  10053. "items": {
  10054. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  10055. }
  10056. }
  10057. },
  10058. "500": {
  10059. "description": "Internal Server Error",
  10060. "schema": {
  10061. "$ref": "#/definitions/app.Response"
  10062. }
  10063. }
  10064. }
  10065. }
  10066. },
  10067. "/QhjSys/QueryAgreementChangeLog": {
  10068. "get": {
  10069. "security": [
  10070. {
  10071. "ApiKeyAuth": []
  10072. }
  10073. ],
  10074. "produces": [
  10075. "application/json"
  10076. ],
  10077. "tags": [
  10078. "大连千海金(协议和签约信息)"
  10079. ],
  10080. "summary": "查询协议配置变更流水",
  10081. "parameters": [
  10082. {
  10083. "type": "integer",
  10084. "description": "协议ID",
  10085. "name": "agreementid",
  10086. "in": "query"
  10087. },
  10088. {
  10089. "type": "integer",
  10090. "description": "协议版本号",
  10091. "name": "agreementversion",
  10092. "in": "query"
  10093. },
  10094. {
  10095. "type": "integer",
  10096. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10097. "name": "agreementtype",
  10098. "in": "query"
  10099. },
  10100. {
  10101. "type": "string",
  10102. "description": "协议编号(模糊匹配)",
  10103. "name": "agreementno",
  10104. "in": "query"
  10105. },
  10106. {
  10107. "type": "string",
  10108. "description": "协议名称(模糊匹配)",
  10109. "name": "agreementname",
  10110. "in": "query"
  10111. }
  10112. ],
  10113. "responses": {
  10114. "200": {
  10115. "description": "OK",
  10116. "schema": {
  10117. "type": "array",
  10118. "items": {
  10119. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  10120. }
  10121. }
  10122. },
  10123. "500": {
  10124. "description": "Internal Server Error",
  10125. "schema": {
  10126. "$ref": "#/definitions/app.Response"
  10127. }
  10128. }
  10129. }
  10130. }
  10131. },
  10132. "/QhjSys/QueryAgreementConfig": {
  10133. "get": {
  10134. "security": [
  10135. {
  10136. "ApiKeyAuth": []
  10137. }
  10138. ],
  10139. "produces": [
  10140. "application/json"
  10141. ],
  10142. "tags": [
  10143. "大连千海金(协议和签约信息)"
  10144. ],
  10145. "summary": "查询协议配置",
  10146. "parameters": [
  10147. {
  10148. "type": "integer",
  10149. "description": "协议ID",
  10150. "name": "agreementid",
  10151. "in": "query"
  10152. },
  10153. {
  10154. "type": "integer",
  10155. "description": "协议版本号",
  10156. "name": "agreementversion",
  10157. "in": "query"
  10158. },
  10159. {
  10160. "type": "integer",
  10161. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10162. "name": "agreementtype",
  10163. "in": "query"
  10164. },
  10165. {
  10166. "type": "integer",
  10167. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10168. "name": "isvalid",
  10169. "in": "query"
  10170. },
  10171. {
  10172. "type": "string",
  10173. "description": "协议编号(模糊匹配)",
  10174. "name": "agreementno",
  10175. "in": "query"
  10176. },
  10177. {
  10178. "type": "string",
  10179. "description": "协议名称(模糊匹配)",
  10180. "name": "agreementname",
  10181. "in": "query"
  10182. }
  10183. ],
  10184. "responses": {
  10185. "200": {
  10186. "description": "OK",
  10187. "schema": {
  10188. "type": "array",
  10189. "items": {
  10190. "$ref": "#/definitions/models.QhjAgreementConfig"
  10191. }
  10192. }
  10193. },
  10194. "500": {
  10195. "description": "Internal Server Error",
  10196. "schema": {
  10197. "$ref": "#/definitions/app.Response"
  10198. }
  10199. }
  10200. }
  10201. }
  10202. },
  10203. "/QhjSys/QueryCustomerSignStatus": {
  10204. "get": {
  10205. "security": [
  10206. {
  10207. "ApiKeyAuth": []
  10208. }
  10209. ],
  10210. "produces": [
  10211. "application/json"
  10212. ],
  10213. "tags": [
  10214. "大连千海金(协议和签约信息)"
  10215. ],
  10216. "summary": "查询客户协议签约状态",
  10217. "parameters": [
  10218. {
  10219. "type": "integer",
  10220. "description": "客户ID",
  10221. "name": "userid",
  10222. "in": "query"
  10223. },
  10224. {
  10225. "type": "integer",
  10226. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10227. "name": "nodetype",
  10228. "in": "query"
  10229. },
  10230. {
  10231. "type": "integer",
  10232. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10233. "name": "goodsid",
  10234. "in": "query"
  10235. },
  10236. {
  10237. "type": "string",
  10238. "description": "创建交易日(yyyyMMdd)",
  10239. "name": "tradedate",
  10240. "in": "query"
  10241. },
  10242. {
  10243. "type": "string",
  10244. "description": "用户名称(模糊匹配)",
  10245. "name": "username",
  10246. "in": "query"
  10247. }
  10248. ],
  10249. "responses": {
  10250. "200": {
  10251. "description": "OK",
  10252. "schema": {
  10253. "type": "array",
  10254. "items": {
  10255. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10256. }
  10257. }
  10258. },
  10259. "500": {
  10260. "description": "Internal Server Error",
  10261. "schema": {
  10262. "$ref": "#/definitions/app.Response"
  10263. }
  10264. }
  10265. }
  10266. }
  10267. },
  10268. "/QhjSys/QueryNodeAgreementConfig": {
  10269. "get": {
  10270. "security": [
  10271. {
  10272. "ApiKeyAuth": []
  10273. }
  10274. ],
  10275. "produces": [
  10276. "application/json"
  10277. ],
  10278. "tags": [
  10279. "大连千海金(协议和签约信息)"
  10280. ],
  10281. "summary": "查询协议节点配置",
  10282. "parameters": [
  10283. {
  10284. "type": "integer",
  10285. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10286. "name": "configid",
  10287. "in": "query"
  10288. },
  10289. {
  10290. "type": "integer",
  10291. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10292. "name": "nodetype",
  10293. "in": "query"
  10294. },
  10295. {
  10296. "type": "integer",
  10297. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10298. "name": "goodsid",
  10299. "in": "query"
  10300. },
  10301. {
  10302. "type": "integer",
  10303. "description": "协议ID",
  10304. "name": "agreementid",
  10305. "in": "query"
  10306. },
  10307. {
  10308. "type": "integer",
  10309. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10310. "name": "agreementtype",
  10311. "in": "query"
  10312. },
  10313. {
  10314. "type": "integer",
  10315. "description": "协议版本号",
  10316. "name": "agreementversion",
  10317. "in": "query"
  10318. },
  10319. {
  10320. "type": "string",
  10321. "description": "协议编号(模糊匹配)",
  10322. "name": "agreementno",
  10323. "in": "query"
  10324. },
  10325. {
  10326. "type": "string",
  10327. "description": "协议名称(模糊匹配)",
  10328. "name": "agreementname",
  10329. "in": "query"
  10330. }
  10331. ],
  10332. "responses": {
  10333. "200": {
  10334. "description": "OK",
  10335. "schema": {
  10336. "type": "array",
  10337. "items": {
  10338. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10339. }
  10340. }
  10341. },
  10342. "500": {
  10343. "description": "Internal Server Error",
  10344. "schema": {
  10345. "$ref": "#/definitions/app.Response"
  10346. }
  10347. }
  10348. }
  10349. }
  10350. },
  10351. "/QhjSys/QueryQhjCustomerSignLog": {
  10352. "get": {
  10353. "security": [
  10354. {
  10355. "ApiKeyAuth": []
  10356. }
  10357. ],
  10358. "produces": [
  10359. "application/json"
  10360. ],
  10361. "tags": [
  10362. "大连千海金(协议和签约信息)"
  10363. ],
  10364. "summary": "查询客户协议签约流水",
  10365. "parameters": [
  10366. {
  10367. "type": "integer",
  10368. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10369. "name": "logid",
  10370. "in": "query"
  10371. },
  10372. {
  10373. "type": "integer",
  10374. "description": "客户ID",
  10375. "name": "userid",
  10376. "in": "query"
  10377. },
  10378. {
  10379. "type": "integer",
  10380. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10381. "name": "nodetype",
  10382. "in": "query"
  10383. },
  10384. {
  10385. "type": "integer",
  10386. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10387. "name": "goodsid",
  10388. "in": "query"
  10389. },
  10390. {
  10391. "type": "integer",
  10392. "description": "协议ID",
  10393. "name": "agreementid",
  10394. "in": "query"
  10395. },
  10396. {
  10397. "type": "string",
  10398. "description": "用户名称(模糊匹配)",
  10399. "name": "username",
  10400. "in": "query"
  10401. },
  10402. {
  10403. "type": "string",
  10404. "description": "协议编号(模糊匹配)",
  10405. "name": "agreementno",
  10406. "in": "query"
  10407. },
  10408. {
  10409. "type": "string",
  10410. "description": "协议名称(模糊匹配)",
  10411. "name": "agreementname",
  10412. "in": "query"
  10413. }
  10414. ],
  10415. "responses": {
  10416. "200": {
  10417. "description": "OK",
  10418. "schema": {
  10419. "type": "array",
  10420. "items": {
  10421. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10422. }
  10423. }
  10424. },
  10425. "500": {
  10426. "description": "Internal Server Error",
  10427. "schema": {
  10428. "$ref": "#/definitions/app.Response"
  10429. }
  10430. }
  10431. }
  10432. }
  10433. },
  10434. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10435. "get": {
  10436. "security": [
  10437. {
  10438. "ApiKeyAuth": []
  10439. }
  10440. ],
  10441. "produces": [
  10442. "application/json"
  10443. ],
  10444. "tags": [
  10445. "大连千海金(协议和签约信息)"
  10446. ],
  10447. "summary": "查询用户协议节点配置和状态",
  10448. "parameters": [
  10449. {
  10450. "type": "integer",
  10451. "description": "客户ID",
  10452. "name": "userid",
  10453. "in": "query"
  10454. },
  10455. {
  10456. "type": "integer",
  10457. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10458. "name": "configid",
  10459. "in": "query"
  10460. },
  10461. {
  10462. "type": "string",
  10463. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10464. "name": "nodetype",
  10465. "in": "query"
  10466. },
  10467. {
  10468. "type": "integer",
  10469. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10470. "name": "goodsid",
  10471. "in": "query"
  10472. },
  10473. {
  10474. "type": "integer",
  10475. "description": "协议ID",
  10476. "name": "agreementid",
  10477. "in": "query"
  10478. },
  10479. {
  10480. "type": "integer",
  10481. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10482. "name": "agreementtype",
  10483. "in": "query"
  10484. },
  10485. {
  10486. "type": "integer",
  10487. "description": "协议版本号",
  10488. "name": "agreementversion",
  10489. "in": "query"
  10490. },
  10491. {
  10492. "type": "string",
  10493. "description": "协议编号(模糊匹配)",
  10494. "name": "agreementno",
  10495. "in": "query"
  10496. },
  10497. {
  10498. "type": "string",
  10499. "description": "协议名称(模糊匹配)",
  10500. "name": "agreementname",
  10501. "in": "query"
  10502. }
  10503. ],
  10504. "responses": {
  10505. "200": {
  10506. "description": "OK",
  10507. "schema": {
  10508. "type": "array",
  10509. "items": {
  10510. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10511. }
  10512. }
  10513. },
  10514. "500": {
  10515. "description": "Internal Server Error",
  10516. "schema": {
  10517. "$ref": "#/definitions/app.Response"
  10518. }
  10519. }
  10520. }
  10521. }
  10522. },
  10523. "/Quote/QueryHistoryDatas": {
  10524. "get": {
  10525. "security": [
  10526. {
  10527. "ApiKeyAuth": []
  10528. }
  10529. ],
  10530. "produces": [
  10531. "application/json"
  10532. ],
  10533. "tags": [
  10534. "行情服务"
  10535. ],
  10536. "summary": "查询行情历史数据",
  10537. "parameters": [
  10538. {
  10539. "type": "integer",
  10540. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  10541. "name": "cycleType",
  10542. "in": "query",
  10543. "required": true
  10544. },
  10545. {
  10546. "type": "string",
  10547. "description": "商品代码",
  10548. "name": "goodsCode",
  10549. "in": "query",
  10550. "required": true
  10551. },
  10552. {
  10553. "type": "string",
  10554. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10555. "name": "startTime",
  10556. "in": "query"
  10557. },
  10558. {
  10559. "type": "string",
  10560. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10561. "name": "endTime",
  10562. "in": "query"
  10563. },
  10564. {
  10565. "type": "integer",
  10566. "description": "条数",
  10567. "name": "count",
  10568. "in": "query"
  10569. },
  10570. {
  10571. "type": "boolean",
  10572. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10573. "name": "isAsc",
  10574. "in": "query"
  10575. }
  10576. ],
  10577. "responses": {
  10578. "200": {
  10579. "description": "OK",
  10580. "schema": {
  10581. "$ref": "#/definitions/quote.HistoryData"
  10582. }
  10583. },
  10584. "500": {
  10585. "description": "Internal Server Error",
  10586. "schema": {
  10587. "$ref": "#/definitions/app.Response"
  10588. }
  10589. }
  10590. }
  10591. }
  10592. },
  10593. "/Quote/QueryHistoryTikDatas": {
  10594. "get": {
  10595. "security": [
  10596. {
  10597. "ApiKeyAuth": []
  10598. }
  10599. ],
  10600. "produces": [
  10601. "application/json"
  10602. ],
  10603. "tags": [
  10604. "行情服务"
  10605. ],
  10606. "summary": "查询行情Tik数据",
  10607. "parameters": [
  10608. {
  10609. "type": "string",
  10610. "description": "商品代码",
  10611. "name": "goodsCode",
  10612. "in": "query",
  10613. "required": true
  10614. },
  10615. {
  10616. "type": "string",
  10617. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10618. "name": "startTime",
  10619. "in": "query"
  10620. },
  10621. {
  10622. "type": "string",
  10623. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10624. "name": "endTime",
  10625. "in": "query"
  10626. },
  10627. {
  10628. "type": "integer",
  10629. "description": "条数",
  10630. "name": "count",
  10631. "in": "query"
  10632. },
  10633. {
  10634. "type": "boolean",
  10635. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10636. "name": "isAsc",
  10637. "in": "query"
  10638. }
  10639. ],
  10640. "responses": {
  10641. "200": {
  10642. "description": "OK",
  10643. "schema": {
  10644. "$ref": "#/definitions/quote.HistoryTikData"
  10645. }
  10646. },
  10647. "500": {
  10648. "description": "Internal Server Error",
  10649. "schema": {
  10650. "$ref": "#/definitions/app.Response"
  10651. }
  10652. }
  10653. }
  10654. }
  10655. },
  10656. "/Quote/QueryQuoteDay": {
  10657. "get": {
  10658. "security": [
  10659. {
  10660. "ApiKeyAuth": []
  10661. }
  10662. ],
  10663. "produces": [
  10664. "application/json"
  10665. ],
  10666. "tags": [
  10667. "行情服务"
  10668. ],
  10669. "summary": "获取商品盘面信息",
  10670. "parameters": [
  10671. {
  10672. "type": "string",
  10673. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10674. "name": "goodsCodes",
  10675. "in": "query"
  10676. }
  10677. ],
  10678. "responses": {
  10679. "200": {
  10680. "description": "OK",
  10681. "schema": {
  10682. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10683. }
  10684. },
  10685. "500": {
  10686. "description": "Internal Server Error",
  10687. "schema": {
  10688. "$ref": "#/definitions/app.Response"
  10689. }
  10690. }
  10691. }
  10692. }
  10693. },
  10694. "/Quote/QueryTSData": {
  10695. "get": {
  10696. "security": [
  10697. {
  10698. "ApiKeyAuth": []
  10699. }
  10700. ],
  10701. "produces": [
  10702. "application/json"
  10703. ],
  10704. "tags": [
  10705. "行情服务"
  10706. ],
  10707. "summary": "分时图数据查询",
  10708. "parameters": [
  10709. {
  10710. "type": "string",
  10711. "description": "商品代码",
  10712. "name": "goodsCode",
  10713. "in": "query",
  10714. "required": true
  10715. }
  10716. ],
  10717. "responses": {
  10718. "200": {
  10719. "description": "OK",
  10720. "schema": {
  10721. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10722. }
  10723. },
  10724. "500": {
  10725. "description": "Internal Server Error",
  10726. "schema": {
  10727. "$ref": "#/definitions/app.Response"
  10728. }
  10729. }
  10730. }
  10731. }
  10732. },
  10733. "/SZDZ/QueryConvertConfig": {
  10734. "get": {
  10735. "security": [
  10736. {
  10737. "ApiKeyAuth": []
  10738. }
  10739. ],
  10740. "produces": [
  10741. "application/json"
  10742. ],
  10743. "tags": [
  10744. "定制【尚志大宗】"
  10745. ],
  10746. "summary": "查询交易系统转换设置",
  10747. "parameters": [
  10748. {
  10749. "type": "integer",
  10750. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10751. "name": "convertType",
  10752. "in": "query"
  10753. },
  10754. {
  10755. "type": "string",
  10756. "description": "外部商品代码[JD\\PD]",
  10757. "name": "outerGoodsCode",
  10758. "in": "query"
  10759. },
  10760. {
  10761. "type": "string",
  10762. "description": "内部商品ID列表[交易],格式:1,2,3",
  10763. "name": "innerGoodsIDs",
  10764. "in": "query"
  10765. }
  10766. ],
  10767. "responses": {
  10768. "200": {
  10769. "description": "OK",
  10770. "schema": {
  10771. "$ref": "#/definitions/models.Szdz3convertconfig"
  10772. }
  10773. },
  10774. "500": {
  10775. "description": "Internal Server Error",
  10776. "schema": {
  10777. "$ref": "#/definitions/app.Response"
  10778. }
  10779. }
  10780. }
  10781. }
  10782. },
  10783. "/SZDZ/QueryConvertLog": {
  10784. "get": {
  10785. "security": [
  10786. {
  10787. "ApiKeyAuth": []
  10788. }
  10789. ],
  10790. "produces": [
  10791. "application/json"
  10792. ],
  10793. "tags": [
  10794. "定制【尚志大宗】"
  10795. ],
  10796. "summary": "交易系统转换流水查询",
  10797. "parameters": [
  10798. {
  10799. "type": "string",
  10800. "description": "资金账户 - 格式:1,2,3",
  10801. "name": "accountID",
  10802. "in": "query",
  10803. "required": true
  10804. },
  10805. {
  10806. "type": "string",
  10807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10808. "name": "startDate",
  10809. "in": "query"
  10810. },
  10811. {
  10812. "type": "string",
  10813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10814. "name": "endDate",
  10815. "in": "query"
  10816. }
  10817. ],
  10818. "responses": {
  10819. "200": {
  10820. "description": "OK",
  10821. "schema": {
  10822. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10823. }
  10824. },
  10825. "500": {
  10826. "description": "Internal Server Error",
  10827. "schema": {
  10828. "$ref": "#/definitions/app.Response"
  10829. }
  10830. }
  10831. }
  10832. }
  10833. },
  10834. "/SZDZ/QueryGoodsPickup": {
  10835. "get": {
  10836. "security": [
  10837. {
  10838. "ApiKeyAuth": []
  10839. }
  10840. ],
  10841. "produces": [
  10842. "application/json"
  10843. ],
  10844. "tags": [
  10845. "定制【尚志大宗】"
  10846. ],
  10847. "summary": "商品提货单查询",
  10848. "parameters": [
  10849. {
  10850. "type": "string",
  10851. "description": "资金账户 - 格式:1,2,3",
  10852. "name": "accountID",
  10853. "in": "query",
  10854. "required": true
  10855. },
  10856. {
  10857. "type": "integer",
  10858. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10859. "name": "takeOrderStatus",
  10860. "in": "query"
  10861. }
  10862. ],
  10863. "responses": {
  10864. "200": {
  10865. "description": "OK",
  10866. "schema": {
  10867. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10868. }
  10869. },
  10870. "500": {
  10871. "description": "Internal Server Error",
  10872. "schema": {
  10873. "$ref": "#/definitions/app.Response"
  10874. }
  10875. }
  10876. }
  10877. }
  10878. },
  10879. "/SZDZ/QueryRecieptOrder": {
  10880. "get": {
  10881. "security": [
  10882. {
  10883. "ApiKeyAuth": []
  10884. }
  10885. ],
  10886. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10887. "produces": [
  10888. "application/json"
  10889. ],
  10890. "tags": [
  10891. "定制【尚志大宗】"
  10892. ],
  10893. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10894. "parameters": [
  10895. {
  10896. "type": "integer",
  10897. "description": "页码",
  10898. "name": "page",
  10899. "in": "query"
  10900. },
  10901. {
  10902. "type": "integer",
  10903. "description": "每页条数",
  10904. "name": "pagesize",
  10905. "in": "query"
  10906. },
  10907. {
  10908. "type": "integer",
  10909. "description": "商品ID",
  10910. "name": "goodsID",
  10911. "in": "query",
  10912. "required": true
  10913. },
  10914. {
  10915. "type": "string",
  10916. "description": "所属账户名称",
  10917. "name": "accountName",
  10918. "in": "query"
  10919. },
  10920. {
  10921. "type": "integer",
  10922. "description": "市场ID",
  10923. "name": "marketID",
  10924. "in": "query"
  10925. },
  10926. {
  10927. "type": "integer",
  10928. "description": "方向 - 0:买 1:卖",
  10929. "name": "buyorsell",
  10930. "in": "query",
  10931. "required": true
  10932. }
  10933. ],
  10934. "responses": {
  10935. "200": {
  10936. "description": "OK",
  10937. "schema": {
  10938. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10939. }
  10940. },
  10941. "500": {
  10942. "description": "Internal Server Error",
  10943. "schema": {
  10944. "$ref": "#/definitions/app.Response"
  10945. }
  10946. }
  10947. }
  10948. }
  10949. },
  10950. "/SZDZ/QuerySZDZTradePosition": {
  10951. "get": {
  10952. "security": [
  10953. {
  10954. "ApiKeyAuth": []
  10955. }
  10956. ],
  10957. "produces": [
  10958. "application/json"
  10959. ],
  10960. "tags": [
  10961. "定制【尚志大宗】"
  10962. ],
  10963. "summary": "持仓汇总查询(尚志大宗)",
  10964. "parameters": [
  10965. {
  10966. "type": "integer",
  10967. "description": "资金账户",
  10968. "name": "accountID",
  10969. "in": "query",
  10970. "required": true
  10971. }
  10972. ],
  10973. "responses": {
  10974. "200": {
  10975. "description": "OK",
  10976. "schema": {
  10977. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10978. }
  10979. },
  10980. "500": {
  10981. "description": "Internal Server Error",
  10982. "schema": {
  10983. "$ref": "#/definitions/app.Response"
  10984. }
  10985. }
  10986. }
  10987. }
  10988. },
  10989. "/SZDZ/SearchWhite": {
  10990. "get": {
  10991. "security": [
  10992. {
  10993. "ApiKeyAuth": []
  10994. }
  10995. ],
  10996. "produces": [
  10997. "application/json"
  10998. ],
  10999. "tags": [
  11000. "定制【尚志大宗】"
  11001. ],
  11002. "summary": "搜索白名单",
  11003. "parameters": [
  11004. {
  11005. "type": "integer",
  11006. "description": "用户ID",
  11007. "name": "userID",
  11008. "in": "query",
  11009. "required": true
  11010. }
  11011. ],
  11012. "responses": {
  11013. "200": {
  11014. "description": "OK",
  11015. "schema": {
  11016. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  11017. }
  11018. },
  11019. "500": {
  11020. "description": "Internal Server Error",
  11021. "schema": {
  11022. "$ref": "#/definitions/app.Response"
  11023. }
  11024. }
  11025. }
  11026. }
  11027. },
  11028. "/Search/SearchGoodses": {
  11029. "get": {
  11030. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  11031. "produces": [
  11032. "application/json"
  11033. ],
  11034. "tags": [
  11035. "检索服务"
  11036. ],
  11037. "summary": "检索商品信息",
  11038. "parameters": [
  11039. {
  11040. "type": "string",
  11041. "description": "检索内容",
  11042. "name": "content",
  11043. "in": "query",
  11044. "required": true
  11045. },
  11046. {
  11047. "type": "string",
  11048. "description": "交易模式,格式:1,2,3",
  11049. "name": "tradeModes",
  11050. "in": "query"
  11051. }
  11052. ],
  11053. "responses": {
  11054. "200": {
  11055. "description": "OK",
  11056. "schema": {
  11057. "$ref": "#/definitions/models.SearchGoods"
  11058. }
  11059. },
  11060. "500": {
  11061. "description": "Internal Server Error",
  11062. "schema": {
  11063. "$ref": "#/definitions/app.Response"
  11064. }
  11065. }
  11066. }
  11067. }
  11068. },
  11069. "/TaAccount/GetTaAccounts": {
  11070. "get": {
  11071. "security": [
  11072. {
  11073. "ApiKeyAuth": []
  11074. }
  11075. ],
  11076. "produces": [
  11077. "application/json"
  11078. ],
  11079. "tags": [
  11080. "资金账户"
  11081. ],
  11082. "summary": "获取资金账户信息",
  11083. "parameters": [
  11084. {
  11085. "type": "integer",
  11086. "description": "登录账户",
  11087. "name": "loginID",
  11088. "in": "query",
  11089. "required": true
  11090. },
  11091. {
  11092. "type": "integer",
  11093. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  11094. "name": "taAccountType",
  11095. "in": "query"
  11096. }
  11097. ],
  11098. "responses": {
  11099. "200": {
  11100. "description": "OK",
  11101. "schema": {
  11102. "$ref": "#/definitions/models.Taaccount"
  11103. }
  11104. },
  11105. "500": {
  11106. "description": "Internal Server Error",
  11107. "schema": {
  11108. "$ref": "#/definitions/app.Response"
  11109. }
  11110. }
  11111. }
  11112. }
  11113. },
  11114. "/TaAccount/QueryAmountLog": {
  11115. "get": {
  11116. "security": [
  11117. {
  11118. "ApiKeyAuth": []
  11119. }
  11120. ],
  11121. "produces": [
  11122. "application/json"
  11123. ],
  11124. "tags": [
  11125. "资金账户"
  11126. ],
  11127. "summary": "资金流水查询(当前)",
  11128. "parameters": [
  11129. {
  11130. "type": "integer",
  11131. "description": "页码",
  11132. "name": "page",
  11133. "in": "query"
  11134. },
  11135. {
  11136. "type": "integer",
  11137. "description": "每页条数",
  11138. "name": "pagesize",
  11139. "in": "query"
  11140. },
  11141. {
  11142. "type": "string",
  11143. "description": "资金账户 - 格式:1,2,3",
  11144. "name": "accountID",
  11145. "in": "query",
  11146. "required": true
  11147. },
  11148. {
  11149. "type": "string",
  11150. "description": "资金操作类型 - 格式:1,2,3",
  11151. "name": "OperateType",
  11152. "in": "query"
  11153. }
  11154. ],
  11155. "responses": {
  11156. "200": {
  11157. "description": "OK",
  11158. "schema": {
  11159. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11160. }
  11161. },
  11162. "500": {
  11163. "description": "Internal Server Error",
  11164. "schema": {
  11165. "$ref": "#/definitions/app.Response"
  11166. }
  11167. }
  11168. }
  11169. }
  11170. },
  11171. "/TaAccount/QueryHisAmountLog": {
  11172. "get": {
  11173. "security": [
  11174. {
  11175. "ApiKeyAuth": []
  11176. }
  11177. ],
  11178. "produces": [
  11179. "application/json"
  11180. ],
  11181. "tags": [
  11182. "资金账户"
  11183. ],
  11184. "summary": "资金流水查询(历史)",
  11185. "parameters": [
  11186. {
  11187. "type": "integer",
  11188. "description": "页码",
  11189. "name": "page",
  11190. "in": "query"
  11191. },
  11192. {
  11193. "type": "integer",
  11194. "description": "每页条数",
  11195. "name": "pagesize",
  11196. "in": "query"
  11197. },
  11198. {
  11199. "type": "string",
  11200. "description": "资金账户 - 格式:1,2,3",
  11201. "name": "accountID",
  11202. "in": "query",
  11203. "required": true
  11204. },
  11205. {
  11206. "type": "string",
  11207. "description": "资金操作类型 - 格式:1,2,3",
  11208. "name": "OperateType",
  11209. "in": "query"
  11210. },
  11211. {
  11212. "type": "string",
  11213. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11214. "name": "startDate",
  11215. "in": "query"
  11216. },
  11217. {
  11218. "type": "string",
  11219. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11220. "name": "endDate",
  11221. "in": "query"
  11222. }
  11223. ],
  11224. "responses": {
  11225. "200": {
  11226. "description": "OK",
  11227. "schema": {
  11228. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11229. }
  11230. },
  11231. "500": {
  11232. "description": "Internal Server Error",
  11233. "schema": {
  11234. "$ref": "#/definitions/app.Response"
  11235. }
  11236. }
  11237. }
  11238. }
  11239. },
  11240. "/Tjmd/QueryQuoteGoodsList": {
  11241. "get": {
  11242. "security": [
  11243. {
  11244. "ApiKeyAuth": []
  11245. }
  11246. ],
  11247. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11248. "produces": [
  11249. "application/json"
  11250. ],
  11251. "tags": [
  11252. "天津麦顿"
  11253. ],
  11254. "summary": "查询掉期报价列表",
  11255. "parameters": [
  11256. {
  11257. "type": "integer",
  11258. "description": "用户类型",
  11259. "name": "usertype",
  11260. "in": "query",
  11261. "required": true
  11262. },
  11263. {
  11264. "type": "string",
  11265. "description": "市场id, 格式 1,2,3",
  11266. "name": "marketids",
  11267. "in": "query"
  11268. },
  11269. {
  11270. "type": "integer",
  11271. "description": "商品组id",
  11272. "name": "goodsgroupid",
  11273. "in": "query"
  11274. },
  11275. {
  11276. "type": "integer",
  11277. "description": "商品id",
  11278. "name": "goodsid",
  11279. "in": "query"
  11280. }
  11281. ],
  11282. "responses": {
  11283. "200": {
  11284. "description": "OK",
  11285. "schema": {
  11286. "type": "array",
  11287. "items": {
  11288. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11289. }
  11290. }
  11291. },
  11292. "500": {
  11293. "description": "Internal Server Error",
  11294. "schema": {
  11295. "$ref": "#/definitions/app.Response"
  11296. }
  11297. }
  11298. }
  11299. }
  11300. },
  11301. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  11302. "get": {
  11303. "security": [
  11304. {
  11305. "ApiKeyAuth": []
  11306. }
  11307. ],
  11308. "produces": [
  11309. "application/json"
  11310. ],
  11311. "tags": [
  11312. "天津麦顿"
  11313. ],
  11314. "summary": "掉期商品订单详情(交易确认书)",
  11315. "parameters": [
  11316. {
  11317. "type": "string",
  11318. "description": "成交单号",
  11319. "name": "tradeid",
  11320. "in": "query",
  11321. "required": true
  11322. }
  11323. ],
  11324. "responses": {
  11325. "200": {
  11326. "description": "OK",
  11327. "schema": {
  11328. "type": "array",
  11329. "items": {
  11330. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  11331. }
  11332. }
  11333. },
  11334. "500": {
  11335. "description": "Internal Server Error",
  11336. "schema": {
  11337. "$ref": "#/definitions/app.Response"
  11338. }
  11339. }
  11340. }
  11341. }
  11342. },
  11343. "/Tjmd/QueryTjmdMarketSection": {
  11344. "get": {
  11345. "security": [
  11346. {
  11347. "ApiKeyAuth": []
  11348. }
  11349. ],
  11350. "produces": [
  11351. "application/json"
  11352. ],
  11353. "tags": [
  11354. "天津麦顿"
  11355. ],
  11356. "summary": "查询市场板块",
  11357. "responses": {
  11358. "200": {
  11359. "description": "OK",
  11360. "schema": {
  11361. "type": "array",
  11362. "items": {
  11363. "$ref": "#/definitions/models.TjmdMarketSection"
  11364. }
  11365. }
  11366. },
  11367. "500": {
  11368. "description": "Internal Server Error",
  11369. "schema": {
  11370. "$ref": "#/definitions/app.Response"
  11371. }
  11372. }
  11373. }
  11374. }
  11375. },
  11376. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11377. "get": {
  11378. "security": [
  11379. {
  11380. "ApiKeyAuth": []
  11381. }
  11382. ],
  11383. "produces": [
  11384. "application/json"
  11385. ],
  11386. "tags": [
  11387. "天津麦顿"
  11388. ],
  11389. "summary": "查询今日账户保证金配置",
  11390. "parameters": [
  11391. {
  11392. "type": "string",
  11393. "description": "市场id",
  11394. "name": "marketid",
  11395. "in": "query"
  11396. },
  11397. {
  11398. "type": "string",
  11399. "description": "商品id",
  11400. "name": "goodsid",
  11401. "in": "query"
  11402. },
  11403. {
  11404. "type": "string",
  11405. "description": "资金账号",
  11406. "name": "accountid",
  11407. "in": "query"
  11408. }
  11409. ],
  11410. "responses": {
  11411. "200": {
  11412. "description": "OK",
  11413. "schema": {
  11414. "type": "array",
  11415. "items": {
  11416. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11417. }
  11418. }
  11419. },
  11420. "500": {
  11421. "description": "Internal Server Error",
  11422. "schema": {
  11423. "$ref": "#/definitions/app.Response"
  11424. }
  11425. }
  11426. }
  11427. }
  11428. },
  11429. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11430. "get": {
  11431. "security": [
  11432. {
  11433. "ApiKeyAuth": []
  11434. }
  11435. ],
  11436. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11437. "produces": [
  11438. "application/json"
  11439. ],
  11440. "tags": [
  11441. "天津麦顿"
  11442. ],
  11443. "summary": "查询掉期买卖大厅",
  11444. "parameters": [
  11445. {
  11446. "type": "integer",
  11447. "description": "页码",
  11448. "name": "page",
  11449. "in": "query"
  11450. },
  11451. {
  11452. "type": "integer",
  11453. "description": "每页条数",
  11454. "name": "pagesize",
  11455. "in": "query"
  11456. },
  11457. {
  11458. "type": "integer",
  11459. "description": "用户id",
  11460. "name": "userid",
  11461. "in": "query",
  11462. "required": true
  11463. },
  11464. {
  11465. "type": "integer",
  11466. "description": "用户类型",
  11467. "name": "usertype",
  11468. "in": "query",
  11469. "required": true
  11470. },
  11471. {
  11472. "type": "string",
  11473. "description": "市场id, 格式 1,2,3",
  11474. "name": "marketids",
  11475. "in": "query"
  11476. },
  11477. {
  11478. "type": "integer",
  11479. "description": "商品id",
  11480. "name": "goodsid",
  11481. "in": "query",
  11482. "required": true
  11483. },
  11484. {
  11485. "type": "integer",
  11486. "description": "买卖方向 0-买 1-卖",
  11487. "name": "buyorsell",
  11488. "in": "query",
  11489. "required": true
  11490. }
  11491. ],
  11492. "responses": {
  11493. "200": {
  11494. "description": "OK",
  11495. "schema": {
  11496. "type": "array",
  11497. "items": {
  11498. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11499. }
  11500. }
  11501. },
  11502. "500": {
  11503. "description": "Internal Server Error",
  11504. "schema": {
  11505. "$ref": "#/definitions/app.Response"
  11506. }
  11507. }
  11508. }
  11509. }
  11510. },
  11511. "/Tjmd/QueryTjmdTransferApply": {
  11512. "get": {
  11513. "security": [
  11514. {
  11515. "ApiKeyAuth": []
  11516. }
  11517. ],
  11518. "produces": [
  11519. "application/json"
  11520. ],
  11521. "tags": [
  11522. "天津麦顿"
  11523. ],
  11524. "summary": "查询掉期协议单",
  11525. "parameters": [
  11526. {
  11527. "type": "integer",
  11528. "description": "类型 1-我的申请 2-对方申请",
  11529. "name": "applytype",
  11530. "in": "query",
  11531. "required": true
  11532. },
  11533. {
  11534. "type": "string",
  11535. "description": "市场id, 格式 1,2,3",
  11536. "name": "marketids",
  11537. "in": "query"
  11538. },
  11539. {
  11540. "type": "string",
  11541. "description": "资金账号, 格式 25000000001,25000000003",
  11542. "name": "accountids",
  11543. "in": "query"
  11544. },
  11545. {
  11546. "type": "string",
  11547. "description": "开始交易日(yyyymmdd)",
  11548. "name": "begindate",
  11549. "in": "query"
  11550. },
  11551. {
  11552. "type": "string",
  11553. "description": "结束交易日(yyyymmdd)",
  11554. "name": "enddate",
  11555. "in": "query"
  11556. }
  11557. ],
  11558. "responses": {
  11559. "200": {
  11560. "description": "OK",
  11561. "schema": {
  11562. "type": "array",
  11563. "items": {
  11564. "$ref": "#/definitions/models.TjmdTransferApply"
  11565. }
  11566. }
  11567. },
  11568. "500": {
  11569. "description": "Internal Server Error",
  11570. "schema": {
  11571. "$ref": "#/definitions/app.Response"
  11572. }
  11573. }
  11574. }
  11575. }
  11576. },
  11577. "/Trade/QueryRecieptOrder": {
  11578. "get": {
  11579. "security": [
  11580. {
  11581. "ApiKeyAuth": []
  11582. }
  11583. ],
  11584. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11585. "produces": [
  11586. "application/json"
  11587. ],
  11588. "tags": [
  11589. "通用交易"
  11590. ],
  11591. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11592. "parameters": [
  11593. {
  11594. "type": "integer",
  11595. "description": "页码",
  11596. "name": "page",
  11597. "in": "query"
  11598. },
  11599. {
  11600. "type": "integer",
  11601. "description": "每页条数",
  11602. "name": "pagesize",
  11603. "in": "query"
  11604. },
  11605. {
  11606. "type": "integer",
  11607. "description": "商品ID",
  11608. "name": "goodsID",
  11609. "in": "query",
  11610. "required": true
  11611. },
  11612. {
  11613. "type": "string",
  11614. "description": "所属账户名称",
  11615. "name": "accountName",
  11616. "in": "query"
  11617. },
  11618. {
  11619. "type": "integer",
  11620. "description": "市场ID",
  11621. "name": "marketID",
  11622. "in": "query"
  11623. },
  11624. {
  11625. "type": "integer",
  11626. "description": "方向 - 0:买 1:卖",
  11627. "name": "buyorsell",
  11628. "in": "query",
  11629. "required": true
  11630. }
  11631. ],
  11632. "responses": {
  11633. "200": {
  11634. "description": "OK",
  11635. "schema": {
  11636. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11637. }
  11638. },
  11639. "500": {
  11640. "description": "Internal Server Error",
  11641. "schema": {
  11642. "$ref": "#/definitions/app.Response"
  11643. }
  11644. }
  11645. }
  11646. }
  11647. },
  11648. "/User/AddMessageBoard": {
  11649. "post": {
  11650. "security": [
  11651. {
  11652. "ApiKeyAuth": []
  11653. }
  11654. ],
  11655. "produces": [
  11656. "application/json"
  11657. ],
  11658. "tags": [
  11659. "用户信息"
  11660. ],
  11661. "summary": "添加用户留言板信息",
  11662. "parameters": [
  11663. {
  11664. "type": "integer",
  11665. "description": "用户ID",
  11666. "name": "userID",
  11667. "in": "query",
  11668. "required": true
  11669. },
  11670. {
  11671. "type": "string",
  11672. "description": "留言信息",
  11673. "name": "message",
  11674. "in": "query",
  11675. "required": true
  11676. },
  11677. {
  11678. "type": "string",
  11679. "description": "联系电话",
  11680. "name": "contactNum",
  11681. "in": "query",
  11682. "required": true
  11683. }
  11684. ],
  11685. "responses": {
  11686. "200": {
  11687. "description": "OK",
  11688. "schema": {
  11689. "$ref": "#/definitions/app.Response"
  11690. }
  11691. },
  11692. "500": {
  11693. "description": "Internal Server Error",
  11694. "schema": {
  11695. "$ref": "#/definitions/app.Response"
  11696. }
  11697. }
  11698. }
  11699. }
  11700. },
  11701. "/User/AddUserFavoriteGoods": {
  11702. "post": {
  11703. "security": [
  11704. {
  11705. "ApiKeyAuth": []
  11706. }
  11707. ],
  11708. "produces": [
  11709. "application/json"
  11710. ],
  11711. "tags": [
  11712. "用户信息"
  11713. ],
  11714. "summary": "添加用户商品收藏信息",
  11715. "parameters": [
  11716. {
  11717. "type": "integer",
  11718. "description": "用户ID",
  11719. "name": "userID",
  11720. "in": "query",
  11721. "required": true
  11722. },
  11723. {
  11724. "type": "integer",
  11725. "description": "商品ID",
  11726. "name": "goodsID",
  11727. "in": "query",
  11728. "required": true
  11729. }
  11730. ],
  11731. "responses": {
  11732. "200": {
  11733. "description": "OK",
  11734. "schema": {
  11735. "$ref": "#/definitions/app.Response"
  11736. }
  11737. },
  11738. "500": {
  11739. "description": "Internal Server Error",
  11740. "schema": {
  11741. "$ref": "#/definitions/app.Response"
  11742. }
  11743. }
  11744. }
  11745. }
  11746. },
  11747. "/User/GetLoginID": {
  11748. "get": {
  11749. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11750. "produces": [
  11751. "application/json"
  11752. ],
  11753. "tags": [
  11754. "用户信息"
  11755. ],
  11756. "summary": "获取登录ID",
  11757. "parameters": [
  11758. {
  11759. "type": "string",
  11760. "description": "登录代码",
  11761. "name": "username",
  11762. "in": "query",
  11763. "required": true
  11764. }
  11765. ],
  11766. "responses": {
  11767. "200": {
  11768. "description": "OK",
  11769. "schema": {
  11770. "$ref": "#/definitions/app.Response"
  11771. }
  11772. },
  11773. "500": {
  11774. "description": "Internal Server Error",
  11775. "schema": {
  11776. "$ref": "#/definitions/app.Response"
  11777. }
  11778. }
  11779. }
  11780. }
  11781. },
  11782. "/User/GetUserAccount": {
  11783. "get": {
  11784. "security": [
  11785. {
  11786. "ApiKeyAuth": []
  11787. }
  11788. ],
  11789. "produces": [
  11790. "application/json"
  11791. ],
  11792. "tags": [
  11793. "用户信息"
  11794. ],
  11795. "summary": "获取用户账号信息",
  11796. "parameters": [
  11797. {
  11798. "type": "integer",
  11799. "description": "用户ID",
  11800. "name": "userID",
  11801. "in": "query",
  11802. "required": true
  11803. }
  11804. ],
  11805. "responses": {
  11806. "200": {
  11807. "description": "OK",
  11808. "schema": {
  11809. "$ref": "#/definitions/models.Useraccount"
  11810. }
  11811. },
  11812. "500": {
  11813. "description": "Internal Server Error",
  11814. "schema": {
  11815. "$ref": "#/definitions/app.Response"
  11816. }
  11817. }
  11818. }
  11819. }
  11820. },
  11821. "/User/GetUserAuthStatus": {
  11822. "get": {
  11823. "security": [
  11824. {
  11825. "ApiKeyAuth": []
  11826. }
  11827. ],
  11828. "produces": [
  11829. "application/json"
  11830. ],
  11831. "tags": [
  11832. "用户信息"
  11833. ],
  11834. "summary": "获取用户实名认证状态",
  11835. "parameters": [
  11836. {
  11837. "type": "integer",
  11838. "description": "用户ID",
  11839. "name": "userID",
  11840. "in": "query",
  11841. "required": true
  11842. }
  11843. ],
  11844. "responses": {
  11845. "200": {
  11846. "description": "OK",
  11847. "schema": {
  11848. "$ref": "#/definitions/app.Response"
  11849. }
  11850. },
  11851. "500": {
  11852. "description": "Internal Server Error",
  11853. "schema": {
  11854. "$ref": "#/definitions/app.Response"
  11855. }
  11856. }
  11857. }
  11858. }
  11859. },
  11860. "/User/LoginQuery": {
  11861. "get": {
  11862. "security": [
  11863. {
  11864. "ApiKeyAuth": []
  11865. }
  11866. ],
  11867. "produces": [
  11868. "application/json"
  11869. ],
  11870. "tags": [
  11871. "用户信息"
  11872. ],
  11873. "summary": "账户登录后信息查询",
  11874. "parameters": [
  11875. {
  11876. "type": "integer",
  11877. "description": "登录账号",
  11878. "name": "loginID",
  11879. "in": "query",
  11880. "required": true
  11881. }
  11882. ],
  11883. "responses": {
  11884. "200": {
  11885. "description": "OK",
  11886. "schema": {
  11887. "$ref": "#/definitions/user.LoginQueryRsp"
  11888. }
  11889. },
  11890. "500": {
  11891. "description": "Internal Server Error",
  11892. "schema": {
  11893. "$ref": "#/definitions/app.Response"
  11894. }
  11895. }
  11896. }
  11897. }
  11898. },
  11899. "/User/QueryMessageBoard": {
  11900. "get": {
  11901. "security": [
  11902. {
  11903. "ApiKeyAuth": []
  11904. }
  11905. ],
  11906. "produces": [
  11907. "application/json"
  11908. ],
  11909. "tags": [
  11910. "用户信息"
  11911. ],
  11912. "summary": "获取用户留言板信息",
  11913. "parameters": [
  11914. {
  11915. "type": "integer",
  11916. "description": "用户ID",
  11917. "name": "userID",
  11918. "in": "query",
  11919. "required": true
  11920. }
  11921. ],
  11922. "responses": {
  11923. "200": {
  11924. "description": "OK",
  11925. "schema": {
  11926. "$ref": "#/definitions/models.Messageboard"
  11927. }
  11928. },
  11929. "500": {
  11930. "description": "Internal Server Error",
  11931. "schema": {
  11932. "$ref": "#/definitions/app.Response"
  11933. }
  11934. }
  11935. }
  11936. }
  11937. },
  11938. "/User/QueryUserFavoriteGoodses": {
  11939. "get": {
  11940. "security": [
  11941. {
  11942. "ApiKeyAuth": []
  11943. }
  11944. ],
  11945. "produces": [
  11946. "application/json"
  11947. ],
  11948. "tags": [
  11949. "用户信息"
  11950. ],
  11951. "summary": "获取用户商品收藏信息",
  11952. "parameters": [
  11953. {
  11954. "type": "integer",
  11955. "description": "用户ID",
  11956. "name": "userID",
  11957. "in": "query",
  11958. "required": true
  11959. }
  11960. ],
  11961. "responses": {
  11962. "200": {
  11963. "description": "OK",
  11964. "schema": {
  11965. "$ref": "#/definitions/models.Userfavoritegoods"
  11966. }
  11967. },
  11968. "500": {
  11969. "description": "Internal Server Error",
  11970. "schema": {
  11971. "$ref": "#/definitions/app.Response"
  11972. }
  11973. }
  11974. }
  11975. }
  11976. },
  11977. "/User/QueryUserInfo": {
  11978. "get": {
  11979. "security": [
  11980. {
  11981. "ApiKeyAuth": []
  11982. }
  11983. ],
  11984. "produces": [
  11985. "application/json"
  11986. ],
  11987. "tags": [
  11988. "用户信息"
  11989. ],
  11990. "summary": "获取用户信息",
  11991. "parameters": [
  11992. {
  11993. "type": "integer",
  11994. "description": "用户ID",
  11995. "name": "userID",
  11996. "in": "query",
  11997. "required": true
  11998. },
  11999. {
  12000. "type": "boolean",
  12001. "description": "是否解密",
  12002. "name": "isDecrypt",
  12003. "in": "query"
  12004. }
  12005. ],
  12006. "responses": {
  12007. "200": {
  12008. "description": "OK",
  12009. "schema": {
  12010. "$ref": "#/definitions/models.Userinfo"
  12011. }
  12012. },
  12013. "500": {
  12014. "description": "Internal Server Error",
  12015. "schema": {
  12016. "$ref": "#/definitions/app.Response"
  12017. }
  12018. }
  12019. }
  12020. }
  12021. },
  12022. "/User/QueryUserReferNum": {
  12023. "get": {
  12024. "produces": [
  12025. "application/json"
  12026. ],
  12027. "tags": [
  12028. "用户信息"
  12029. ],
  12030. "summary": "获取用户邀请码",
  12031. "parameters": [
  12032. {
  12033. "type": "integer",
  12034. "description": "用户ID",
  12035. "name": "userID",
  12036. "in": "query",
  12037. "required": true
  12038. }
  12039. ],
  12040. "responses": {
  12041. "200": {
  12042. "description": "OK",
  12043. "schema": {
  12044. "$ref": "#/definitions/app.Response"
  12045. }
  12046. },
  12047. "500": {
  12048. "description": "Internal Server Error",
  12049. "schema": {
  12050. "$ref": "#/definitions/app.Response"
  12051. }
  12052. }
  12053. }
  12054. }
  12055. },
  12056. "/User/RemoveUserFavoriteGoods": {
  12057. "post": {
  12058. "security": [
  12059. {
  12060. "ApiKeyAuth": []
  12061. }
  12062. ],
  12063. "produces": [
  12064. "application/json"
  12065. ],
  12066. "tags": [
  12067. "用户信息"
  12068. ],
  12069. "summary": "移除用户商品收藏信息",
  12070. "parameters": [
  12071. {
  12072. "type": "integer",
  12073. "description": "用户ID",
  12074. "name": "userID",
  12075. "in": "query",
  12076. "required": true
  12077. },
  12078. {
  12079. "type": "integer",
  12080. "description": "商品ID",
  12081. "name": "goodsID",
  12082. "in": "query",
  12083. "required": true
  12084. }
  12085. ],
  12086. "responses": {
  12087. "200": {
  12088. "description": "OK",
  12089. "schema": {
  12090. "$ref": "#/definitions/app.Response"
  12091. }
  12092. },
  12093. "500": {
  12094. "description": "Internal Server Error",
  12095. "schema": {
  12096. "$ref": "#/definitions/app.Response"
  12097. }
  12098. }
  12099. }
  12100. }
  12101. },
  12102. "/User/UpdateUserAccountStatus": {
  12103. "post": {
  12104. "security": [
  12105. {
  12106. "ApiKeyAuth": []
  12107. }
  12108. ],
  12109. "produces": [
  12110. "application/json"
  12111. ],
  12112. "tags": [
  12113. "用户信息"
  12114. ],
  12115. "summary": "更新用户状态",
  12116. "parameters": [
  12117. {
  12118. "type": "integer",
  12119. "description": "用户ID",
  12120. "name": "userID",
  12121. "in": "query",
  12122. "required": true
  12123. },
  12124. {
  12125. "type": "integer",
  12126. "description": "账户状态 - 4:正常 6:注销(停用)",
  12127. "name": "accountStatus",
  12128. "in": "query",
  12129. "required": true
  12130. }
  12131. ],
  12132. "responses": {
  12133. "200": {
  12134. "description": "OK",
  12135. "schema": {
  12136. "$ref": "#/definitions/app.Response"
  12137. }
  12138. },
  12139. "500": {
  12140. "description": "Internal Server Error",
  12141. "schema": {
  12142. "$ref": "#/definitions/app.Response"
  12143. }
  12144. }
  12145. }
  12146. }
  12147. },
  12148. "/WRTrade/GetAllDeliveryGoods": {
  12149. "get": {
  12150. "security": [
  12151. {
  12152. "ApiKeyAuth": []
  12153. }
  12154. ],
  12155. "produces": [
  12156. "application/json"
  12157. ],
  12158. "tags": [
  12159. "仓单贸易",
  12160. "仓单贸易"
  12161. ],
  12162. "summary": "获取带仓单分类的种类信息",
  12163. "responses": {
  12164. "200": {
  12165. "description": "OK",
  12166. "schema": {
  12167. "$ref": "#/definitions/app.Response"
  12168. }
  12169. },
  12170. "500": {
  12171. "description": "Internal Server Error",
  12172. "schema": {
  12173. "$ref": "#/definitions/app.Response"
  12174. }
  12175. }
  12176. }
  12177. }
  12178. },
  12179. "/WrTrade2/QueryDeliveryGoodsSection": {
  12180. "get": {
  12181. "security": [
  12182. {
  12183. "ApiKeyAuth": []
  12184. }
  12185. ],
  12186. "produces": [
  12187. "application/json"
  12188. ],
  12189. "tags": [
  12190. "仓单贸易v2"
  12191. ],
  12192. "summary": "查询板块(分类)",
  12193. "responses": {
  12194. "200": {
  12195. "description": "OK",
  12196. "schema": {
  12197. "type": "array",
  12198. "items": {
  12199. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12200. }
  12201. }
  12202. },
  12203. "500": {
  12204. "description": "Internal Server Error",
  12205. "schema": {
  12206. "$ref": "#/definitions/app.Response"
  12207. }
  12208. }
  12209. }
  12210. }
  12211. },
  12212. "/WrTrade2/QueryFaProductDetail": {
  12213. "get": {
  12214. "security": [
  12215. {
  12216. "ApiKeyAuth": []
  12217. }
  12218. ],
  12219. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12220. "produces": [
  12221. "application/json"
  12222. ],
  12223. "tags": [
  12224. "仓单贸易v2"
  12225. ],
  12226. "summary": "查询融资产品列表",
  12227. "parameters": [
  12228. {
  12229. "type": "integer",
  12230. "description": "仓单要素id",
  12231. "name": "wrfactortypeid",
  12232. "in": "query",
  12233. "required": true
  12234. }
  12235. ],
  12236. "responses": {
  12237. "200": {
  12238. "description": "OK",
  12239. "schema": {
  12240. "type": "array",
  12241. "items": {
  12242. "$ref": "#/definitions/models.WrFAProductDetail"
  12243. }
  12244. }
  12245. },
  12246. "500": {
  12247. "description": "Internal Server Error",
  12248. "schema": {
  12249. "$ref": "#/definitions/app.Response"
  12250. }
  12251. }
  12252. }
  12253. }
  12254. },
  12255. "/WrTrade2/QueryFilterItem": {
  12256. "get": {
  12257. "security": [
  12258. {
  12259. "ApiKeyAuth": []
  12260. }
  12261. ],
  12262. "produces": [
  12263. "application/json"
  12264. ],
  12265. "tags": [
  12266. "仓单贸易v2"
  12267. ],
  12268. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12269. "parameters": [
  12270. {
  12271. "type": "string",
  12272. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12273. "name": "itype",
  12274. "in": "query",
  12275. "required": true
  12276. }
  12277. ],
  12278. "responses": {
  12279. "200": {
  12280. "description": "OK",
  12281. "schema": {
  12282. "type": "array",
  12283. "items": {
  12284. "$ref": "#/definitions/models.WrFilterItem"
  12285. }
  12286. }
  12287. },
  12288. "500": {
  12289. "description": "Internal Server Error",
  12290. "schema": {
  12291. "$ref": "#/definitions/app.Response"
  12292. }
  12293. }
  12294. }
  12295. }
  12296. },
  12297. "/WrTrade2/QueryFtDeliveryGoods": {
  12298. "get": {
  12299. "security": [
  12300. {
  12301. "ApiKeyAuth": []
  12302. }
  12303. ],
  12304. "produces": [
  12305. "application/json"
  12306. ],
  12307. "tags": [
  12308. "仓单贸易v2"
  12309. ],
  12310. "summary": "查询品种品类筛选框列表",
  12311. "responses": {
  12312. "200": {
  12313. "description": "OK",
  12314. "schema": {
  12315. "type": "array",
  12316. "items": {
  12317. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12318. }
  12319. }
  12320. },
  12321. "500": {
  12322. "description": "Internal Server Error",
  12323. "schema": {
  12324. "$ref": "#/definitions/app.Response"
  12325. }
  12326. }
  12327. }
  12328. }
  12329. },
  12330. "/WrTrade2/QueryHoldLB": {
  12331. "get": {
  12332. "security": [
  12333. {
  12334. "ApiKeyAuth": []
  12335. }
  12336. ],
  12337. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12338. "produces": [
  12339. "application/json"
  12340. ],
  12341. "tags": [
  12342. "仓单贸易v2"
  12343. ],
  12344. "summary": "查询仓单持有记录",
  12345. "parameters": [
  12346. {
  12347. "type": "integer",
  12348. "description": "资金账号",
  12349. "name": "accountid",
  12350. "in": "query",
  12351. "required": true
  12352. },
  12353. {
  12354. "type": "integer",
  12355. "description": "仓库id",
  12356. "name": "warehouseid",
  12357. "in": "query"
  12358. },
  12359. {
  12360. "type": "integer",
  12361. "description": "品种id",
  12362. "name": "deliverygoodsid",
  12363. "in": "query"
  12364. },
  12365. {
  12366. "type": "integer",
  12367. "description": "品类id",
  12368. "name": "wrstandardid",
  12369. "in": "query"
  12370. },
  12371. {
  12372. "type": "integer",
  12373. "description": "仓单要素id",
  12374. "name": "wrfactortypeid",
  12375. "in": "query"
  12376. },
  12377. {
  12378. "type": "string",
  12379. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12380. "name": "dgitemname",
  12381. "in": "query"
  12382. }
  12383. ],
  12384. "responses": {
  12385. "200": {
  12386. "description": "OK",
  12387. "schema": {
  12388. "type": "array",
  12389. "items": {
  12390. "$ref": "#/definitions/models.WrHoldLB"
  12391. }
  12392. }
  12393. },
  12394. "500": {
  12395. "description": "Internal Server Error",
  12396. "schema": {
  12397. "$ref": "#/definitions/app.Response"
  12398. }
  12399. }
  12400. }
  12401. }
  12402. },
  12403. "/WrTrade2/QueryOrderQuote": {
  12404. "get": {
  12405. "security": [
  12406. {
  12407. "ApiKeyAuth": []
  12408. }
  12409. ],
  12410. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12411. "produces": [
  12412. "application/json"
  12413. ],
  12414. "tags": [
  12415. "仓单贸易v2"
  12416. ],
  12417. "summary": "查询大厅行情列表",
  12418. "parameters": [
  12419. {
  12420. "type": "integer",
  12421. "description": "页码",
  12422. "name": "page",
  12423. "in": "query"
  12424. },
  12425. {
  12426. "type": "integer",
  12427. "description": "每页条数",
  12428. "name": "pagesize",
  12429. "in": "query"
  12430. },
  12431. {
  12432. "type": "integer",
  12433. "description": "仓单贸易市场id",
  12434. "name": "marketid",
  12435. "in": "query"
  12436. },
  12437. {
  12438. "type": "integer",
  12439. "description": "价格方式 - 1:固定价 2-浮动价",
  12440. "name": "wrpricetype",
  12441. "in": "query",
  12442. "required": true
  12443. },
  12444. {
  12445. "type": "integer",
  12446. "description": "0:仓单预售 1:仓单贸易",
  12447. "name": "haswr",
  12448. "in": "query"
  12449. },
  12450. {
  12451. "type": "string",
  12452. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12453. "name": "dgitemname",
  12454. "in": "query"
  12455. },
  12456. {
  12457. "type": "integer",
  12458. "description": "仓库id(筛选条件)",
  12459. "name": "warehouseid",
  12460. "in": "query"
  12461. },
  12462. {
  12463. "type": "integer",
  12464. "description": "品种id",
  12465. "name": "deliverygoodsid",
  12466. "in": "query"
  12467. },
  12468. {
  12469. "type": "integer",
  12470. "description": "品类id",
  12471. "name": "wrstandardid",
  12472. "in": "query"
  12473. },
  12474. {
  12475. "type": "integer",
  12476. "description": "品牌id(dgfactoryitemid)",
  12477. "name": "brandid",
  12478. "in": "query"
  12479. },
  12480. {
  12481. "type": "integer",
  12482. "description": "年份id(dgfactoryitemid)",
  12483. "name": "yearsid",
  12484. "in": "query"
  12485. },
  12486. {
  12487. "type": "integer",
  12488. "description": "仓单要素id",
  12489. "name": "wrfactortypeid",
  12490. "in": "query"
  12491. },
  12492. {
  12493. "type": "string",
  12494. "description": "交收月(yyyy-mm) 仓单预售填写",
  12495. "name": "deliverymonth",
  12496. "in": "query"
  12497. }
  12498. ],
  12499. "responses": {
  12500. "200": {
  12501. "description": "OK",
  12502. "schema": {
  12503. "type": "array",
  12504. "items": {
  12505. "$ref": "#/definitions/models.WrOrderQuote"
  12506. }
  12507. }
  12508. },
  12509. "500": {
  12510. "description": "Internal Server Error",
  12511. "schema": {
  12512. "$ref": "#/definitions/app.Response"
  12513. }
  12514. }
  12515. }
  12516. }
  12517. },
  12518. "/WrTrade2/QueryOrderQuoteDetail": {
  12519. "get": {
  12520. "security": [
  12521. {
  12522. "ApiKeyAuth": []
  12523. }
  12524. ],
  12525. "produces": [
  12526. "application/json"
  12527. ],
  12528. "tags": [
  12529. "仓单贸易v2"
  12530. ],
  12531. "summary": "查询买卖大厅",
  12532. "parameters": [
  12533. {
  12534. "type": "integer",
  12535. "description": "页码",
  12536. "name": "page",
  12537. "in": "query"
  12538. },
  12539. {
  12540. "type": "integer",
  12541. "description": "每页条数",
  12542. "name": "pagesize",
  12543. "in": "query"
  12544. },
  12545. {
  12546. "type": "integer",
  12547. "description": "仓单贸易市场id",
  12548. "name": "marketid",
  12549. "in": "query"
  12550. },
  12551. {
  12552. "type": "integer",
  12553. "description": "价格方式 - 1:固定价 2-浮动价",
  12554. "name": "wrpricetype",
  12555. "in": "query",
  12556. "required": true
  12557. },
  12558. {
  12559. "type": "integer",
  12560. "description": "0:仓单预售 1:仓单贸易",
  12561. "name": "haswr",
  12562. "in": "query"
  12563. },
  12564. {
  12565. "type": "integer",
  12566. "description": "仓单要素id",
  12567. "name": "wrfactortypeid",
  12568. "in": "query",
  12569. "required": true
  12570. },
  12571. {
  12572. "type": "integer",
  12573. "description": "期货商品id(浮动价方式时填)",
  12574. "name": "goodsid",
  12575. "in": "query"
  12576. },
  12577. {
  12578. "type": "integer",
  12579. "description": "买卖方向 0-买 1-卖",
  12580. "name": "buyorsell",
  12581. "in": "query",
  12582. "required": true
  12583. },
  12584. {
  12585. "type": "string",
  12586. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12587. "name": "deliverymonth",
  12588. "in": "query"
  12589. }
  12590. ],
  12591. "responses": {
  12592. "200": {
  12593. "description": "OK",
  12594. "schema": {
  12595. "type": "array",
  12596. "items": {
  12597. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12598. }
  12599. }
  12600. },
  12601. "500": {
  12602. "description": "Internal Server Error",
  12603. "schema": {
  12604. "$ref": "#/definitions/app.Response"
  12605. }
  12606. }
  12607. }
  12608. }
  12609. },
  12610. "/WrTrade2/QueryOrderQuoteMyq": {
  12611. "get": {
  12612. "security": [
  12613. {
  12614. "ApiKeyAuth": []
  12615. }
  12616. ],
  12617. "produces": [
  12618. "application/json"
  12619. ],
  12620. "tags": [
  12621. "仓单贸易v2"
  12622. ],
  12623. "summary": "查询贸易圈挂牌大厅",
  12624. "parameters": [
  12625. {
  12626. "type": "integer",
  12627. "description": "页码",
  12628. "name": "page",
  12629. "in": "query"
  12630. },
  12631. {
  12632. "type": "integer",
  12633. "description": "每页条数",
  12634. "name": "pagesize",
  12635. "in": "query"
  12636. },
  12637. {
  12638. "type": "integer",
  12639. "description": "用户id",
  12640. "name": "userid",
  12641. "in": "query",
  12642. "required": true
  12643. },
  12644. {
  12645. "type": "integer",
  12646. "description": "仓单贸易市场id",
  12647. "name": "marketid",
  12648. "in": "query"
  12649. },
  12650. {
  12651. "type": "integer",
  12652. "description": "0:仓单预售 1:仓单贸易",
  12653. "name": "haswr",
  12654. "in": "query"
  12655. },
  12656. {
  12657. "type": "integer",
  12658. "description": "买卖方向 0-买 1-卖",
  12659. "name": "buyorsell",
  12660. "in": "query",
  12661. "required": true
  12662. },
  12663. {
  12664. "type": "integer",
  12665. "description": "品种id",
  12666. "name": "deliverygoodsid",
  12667. "in": "query"
  12668. },
  12669. {
  12670. "type": "integer",
  12671. "description": "品类id",
  12672. "name": "wrstandardid",
  12673. "in": "query"
  12674. },
  12675. {
  12676. "type": "string",
  12677. "description": "交收月(yyyy-mm) 仓单预售填写",
  12678. "name": "deliverymonth",
  12679. "in": "query"
  12680. },
  12681. {
  12682. "type": "string",
  12683. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12684. "name": "dgitemname",
  12685. "in": "query"
  12686. }
  12687. ],
  12688. "responses": {
  12689. "200": {
  12690. "description": "OK",
  12691. "schema": {
  12692. "type": "array",
  12693. "items": {
  12694. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12695. }
  12696. }
  12697. },
  12698. "500": {
  12699. "description": "Internal Server Error",
  12700. "schema": {
  12701. "$ref": "#/definitions/app.Response"
  12702. }
  12703. }
  12704. }
  12705. }
  12706. },
  12707. "/WrTrade2/QueryPerformancePlan": {
  12708. "get": {
  12709. "security": [
  12710. {
  12711. "ApiKeyAuth": []
  12712. }
  12713. ],
  12714. "produces": [
  12715. "application/json"
  12716. ],
  12717. "tags": [
  12718. "仓单贸易v2"
  12719. ],
  12720. "summary": "查询履约信息",
  12721. "parameters": [
  12722. {
  12723. "type": "integer",
  12724. "description": "用户id",
  12725. "name": "userid",
  12726. "in": "query",
  12727. "required": true
  12728. },
  12729. {
  12730. "type": "integer",
  12731. "description": "买卖方向 0-买 1-卖",
  12732. "name": "buyorsell",
  12733. "in": "query",
  12734. "required": true
  12735. },
  12736. {
  12737. "type": "string",
  12738. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12739. "name": "status",
  12740. "in": "query"
  12741. },
  12742. {
  12743. "type": "string",
  12744. "description": "开始交易日(yyyymmdd)",
  12745. "name": "begindate",
  12746. "in": "query"
  12747. },
  12748. {
  12749. "type": "string",
  12750. "description": "结束交易日(yyyymmdd)",
  12751. "name": "enddate",
  12752. "in": "query"
  12753. }
  12754. ],
  12755. "responses": {
  12756. "200": {
  12757. "description": "OK",
  12758. "schema": {
  12759. "type": "array",
  12760. "items": {
  12761. "$ref": "#/definitions/models.WrPerformancePlan"
  12762. }
  12763. }
  12764. },
  12765. "500": {
  12766. "description": "Internal Server Error",
  12767. "schema": {
  12768. "$ref": "#/definitions/app.Response"
  12769. }
  12770. }
  12771. }
  12772. }
  12773. },
  12774. "/WrTrade2/QueryPermancePlanTmp": {
  12775. "get": {
  12776. "security": [
  12777. {
  12778. "ApiKeyAuth": []
  12779. }
  12780. ],
  12781. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12782. "produces": [
  12783. "application/json"
  12784. ],
  12785. "tags": [
  12786. "仓单贸易v2"
  12787. ],
  12788. "summary": "查询履约模板",
  12789. "parameters": [
  12790. {
  12791. "type": "integer",
  12792. "description": "用户id",
  12793. "name": "userid",
  12794. "in": "query"
  12795. },
  12796. {
  12797. "type": "string",
  12798. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12799. "name": "tmptype",
  12800. "in": "query"
  12801. },
  12802. {
  12803. "type": "integer",
  12804. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12805. "name": "includepub",
  12806. "in": "query"
  12807. },
  12808. {
  12809. "type": "integer",
  12810. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12811. "name": "marketid",
  12812. "in": "query"
  12813. }
  12814. ],
  12815. "responses": {
  12816. "200": {
  12817. "description": "OK",
  12818. "schema": {
  12819. "type": "array",
  12820. "items": {
  12821. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12822. }
  12823. }
  12824. },
  12825. "500": {
  12826. "description": "Internal Server Error",
  12827. "schema": {
  12828. "$ref": "#/definitions/app.Response"
  12829. }
  12830. }
  12831. }
  12832. }
  12833. },
  12834. "/WrTrade2/QuerySiteColumnDetail": {
  12835. "get": {
  12836. "security": [
  12837. {
  12838. "ApiKeyAuth": []
  12839. }
  12840. ],
  12841. "produces": [
  12842. "application/json"
  12843. ],
  12844. "tags": [
  12845. "仓单贸易v2"
  12846. ],
  12847. "summary": "查询资讯",
  12848. "parameters": [
  12849. {
  12850. "type": "integer",
  12851. "description": "页码",
  12852. "name": "page",
  12853. "in": "query"
  12854. },
  12855. {
  12856. "type": "integer",
  12857. "description": "每页条数",
  12858. "name": "pagesize",
  12859. "in": "query"
  12860. },
  12861. {
  12862. "type": "integer",
  12863. "description": "所属栏目id",
  12864. "name": "columnid",
  12865. "in": "query"
  12866. }
  12867. ],
  12868. "responses": {
  12869. "200": {
  12870. "description": "OK",
  12871. "schema": {
  12872. "type": "array",
  12873. "items": {
  12874. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12875. }
  12876. }
  12877. },
  12878. "500": {
  12879. "description": "Internal Server Error",
  12880. "schema": {
  12881. "$ref": "#/definitions/app.Response"
  12882. }
  12883. }
  12884. }
  12885. }
  12886. },
  12887. "/WrTrade2/QuerySpotGroupTradeSum": {
  12888. "get": {
  12889. "security": [
  12890. {
  12891. "ApiKeyAuth": []
  12892. }
  12893. ],
  12894. "produces": [
  12895. "application/json"
  12896. ],
  12897. "tags": [
  12898. "仓单贸易v2"
  12899. ],
  12900. "summary": "查询指数",
  12901. "responses": {
  12902. "200": {
  12903. "description": "OK",
  12904. "schema": {
  12905. "type": "array",
  12906. "items": {
  12907. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12908. }
  12909. }
  12910. },
  12911. "500": {
  12912. "description": "Internal Server Error",
  12913. "schema": {
  12914. "$ref": "#/definitions/app.Response"
  12915. }
  12916. }
  12917. }
  12918. }
  12919. },
  12920. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12921. "get": {
  12922. "security": [
  12923. {
  12924. "ApiKeyAuth": []
  12925. }
  12926. ],
  12927. "description": "查询的结果将会按日期 从小到大 排序",
  12928. "produces": [
  12929. "application/json"
  12930. ],
  12931. "tags": [
  12932. "仓单贸易v2"
  12933. ],
  12934. "summary": "查询指数详细(价格走势图)",
  12935. "parameters": [
  12936. {
  12937. "type": "integer",
  12938. "description": "现货商品id",
  12939. "name": "deliverygoodsid",
  12940. "in": "query",
  12941. "required": true
  12942. },
  12943. {
  12944. "type": "integer",
  12945. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12946. "name": "lastnum",
  12947. "in": "query"
  12948. }
  12949. ],
  12950. "responses": {
  12951. "200": {
  12952. "description": "OK",
  12953. "schema": {
  12954. "type": "array",
  12955. "items": {
  12956. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12957. }
  12958. }
  12959. },
  12960. "500": {
  12961. "description": "Internal Server Error",
  12962. "schema": {
  12963. "$ref": "#/definitions/app.Response"
  12964. }
  12965. }
  12966. }
  12967. }
  12968. },
  12969. "/WrTrade2/QueryWrAverageTradePrice": {
  12970. "get": {
  12971. "security": [
  12972. {
  12973. "ApiKeyAuth": []
  12974. }
  12975. ],
  12976. "produces": [
  12977. "application/json"
  12978. ],
  12979. "tags": [
  12980. "仓单贸易v2"
  12981. ],
  12982. "summary": "查询成交价(历史走势)",
  12983. "parameters": [
  12984. {
  12985. "type": "integer",
  12986. "description": "页码",
  12987. "name": "page",
  12988. "in": "query"
  12989. },
  12990. {
  12991. "type": "integer",
  12992. "description": "每页条数",
  12993. "name": "pagesize",
  12994. "in": "query"
  12995. },
  12996. {
  12997. "type": "integer",
  12998. "description": "0:仓单预售 1:仓单贸易",
  12999. "name": "haswr",
  13000. "in": "query",
  13001. "required": true
  13002. },
  13003. {
  13004. "type": "integer",
  13005. "description": "仓单要素id",
  13006. "name": "wrfactortypeid",
  13007. "in": "query",
  13008. "required": true
  13009. }
  13010. ],
  13011. "responses": {
  13012. "200": {
  13013. "description": "OK",
  13014. "schema": {
  13015. "type": "array",
  13016. "items": {
  13017. "$ref": "#/definitions/models.WrAverageTradePrice"
  13018. }
  13019. }
  13020. },
  13021. "500": {
  13022. "description": "Internal Server Error",
  13023. "schema": {
  13024. "$ref": "#/definitions/app.Response"
  13025. }
  13026. }
  13027. }
  13028. }
  13029. },
  13030. "/WrTrade2/QueryWrBrandAndYears": {
  13031. "get": {
  13032. "security": [
  13033. {
  13034. "ApiKeyAuth": []
  13035. }
  13036. ],
  13037. "produces": [
  13038. "application/json"
  13039. ],
  13040. "tags": [
  13041. "仓单贸易v2"
  13042. ],
  13043. "summary": "查询品牌和年份",
  13044. "responses": {
  13045. "200": {
  13046. "description": "OK",
  13047. "schema": {
  13048. "type": "array",
  13049. "items": {
  13050. "$ref": "#/definitions/models.WrBrandAndYears"
  13051. }
  13052. }
  13053. },
  13054. "500": {
  13055. "description": "Internal Server Error",
  13056. "schema": {
  13057. "$ref": "#/definitions/app.Response"
  13058. }
  13059. }
  13060. }
  13061. }
  13062. },
  13063. "/WrTrade2/QueryWrBsGoodsInfo": {
  13064. "get": {
  13065. "security": [
  13066. {
  13067. "ApiKeyAuth": []
  13068. }
  13069. ],
  13070. "description": "合约交易/买卖大厅/详情",
  13071. "produces": [
  13072. "application/json"
  13073. ],
  13074. "tags": [
  13075. "仓单贸易v2"
  13076. ],
  13077. "summary": "查询合约交易买卖大厅详情",
  13078. "parameters": [
  13079. {
  13080. "type": "integer",
  13081. "description": "商品id",
  13082. "name": "goodsid",
  13083. "in": "query",
  13084. "required": true
  13085. }
  13086. ],
  13087. "responses": {
  13088. "200": {
  13089. "description": "OK",
  13090. "schema": {
  13091. "type": "array",
  13092. "items": {
  13093. "$ref": "#/definitions/models.WrBsGoodsInfo"
  13094. }
  13095. }
  13096. },
  13097. "500": {
  13098. "description": "Internal Server Error",
  13099. "schema": {
  13100. "$ref": "#/definitions/app.Response"
  13101. }
  13102. }
  13103. }
  13104. }
  13105. },
  13106. "/WrTrade2/QueryWrBuybackDetail": {
  13107. "get": {
  13108. "security": [
  13109. {
  13110. "ApiKeyAuth": []
  13111. }
  13112. ],
  13113. "produces": [
  13114. "application/json"
  13115. ],
  13116. "tags": [
  13117. "仓单贸易v2"
  13118. ],
  13119. "summary": "查询仓单回购明细",
  13120. "parameters": [
  13121. {
  13122. "type": "integer",
  13123. "description": "融资合同id",
  13124. "name": "scfcontractid",
  13125. "in": "query"
  13126. }
  13127. ],
  13128. "responses": {
  13129. "200": {
  13130. "description": "OK",
  13131. "schema": {
  13132. "type": "array",
  13133. "items": {
  13134. "$ref": "#/definitions/models.WrBuybackDetail"
  13135. }
  13136. }
  13137. },
  13138. "500": {
  13139. "description": "Internal Server Error",
  13140. "schema": {
  13141. "$ref": "#/definitions/app.Response"
  13142. }
  13143. }
  13144. }
  13145. }
  13146. },
  13147. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  13148. "get": {
  13149. "security": [
  13150. {
  13151. "ApiKeyAuth": []
  13152. }
  13153. ],
  13154. "produces": [
  13155. "application/json"
  13156. ],
  13157. "tags": [
  13158. "仓单贸易v2"
  13159. ],
  13160. "summary": "查询固定广告配置",
  13161. "responses": {
  13162. "200": {
  13163. "description": "OK",
  13164. "schema": {
  13165. "type": "array",
  13166. "items": {
  13167. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  13168. }
  13169. }
  13170. },
  13171. "500": {
  13172. "description": "Internal Server Error",
  13173. "schema": {
  13174. "$ref": "#/definitions/app.Response"
  13175. }
  13176. }
  13177. }
  13178. }
  13179. },
  13180. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  13181. "get": {
  13182. "security": [
  13183. {
  13184. "ApiKeyAuth": []
  13185. }
  13186. ],
  13187. "produces": [
  13188. "application/json"
  13189. ],
  13190. "tags": [
  13191. "仓单贸易v2"
  13192. ],
  13193. "summary": "查询合约交收可点选仓单",
  13194. "parameters": [
  13195. {
  13196. "type": "integer",
  13197. "description": "资金账号",
  13198. "name": "accountid",
  13199. "in": "query",
  13200. "required": true
  13201. },
  13202. {
  13203. "type": "integer",
  13204. "description": "商品id",
  13205. "name": "goodsid",
  13206. "in": "query",
  13207. "required": true
  13208. }
  13209. ],
  13210. "responses": {
  13211. "200": {
  13212. "description": "OK",
  13213. "schema": {
  13214. "type": "array",
  13215. "items": {
  13216. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  13217. }
  13218. }
  13219. },
  13220. "500": {
  13221. "description": "Internal Server Error",
  13222. "schema": {
  13223. "$ref": "#/definitions/app.Response"
  13224. }
  13225. }
  13226. }
  13227. }
  13228. },
  13229. "/WrTrade2/QueryWrDeliveryDetail": {
  13230. "get": {
  13231. "security": [
  13232. {
  13233. "ApiKeyAuth": []
  13234. }
  13235. ],
  13236. "produces": [
  13237. "application/json"
  13238. ],
  13239. "tags": [
  13240. "仓单贸易v2"
  13241. ],
  13242. "summary": "查询交收",
  13243. "parameters": [
  13244. {
  13245. "type": "integer",
  13246. "description": "用户id",
  13247. "name": "userid",
  13248. "in": "query",
  13249. "required": true
  13250. },
  13251. {
  13252. "type": "integer",
  13253. "description": "资金账号id",
  13254. "name": "accountid",
  13255. "in": "query"
  13256. },
  13257. {
  13258. "type": "string",
  13259. "description": "开始交易日(yyyymmdd)",
  13260. "name": "begindate",
  13261. "in": "query"
  13262. },
  13263. {
  13264. "type": "string",
  13265. "description": "结束交易日(yyyymmdd)",
  13266. "name": "enddate",
  13267. "in": "query"
  13268. }
  13269. ],
  13270. "responses": {
  13271. "200": {
  13272. "description": "OK",
  13273. "schema": {
  13274. "type": "array",
  13275. "items": {
  13276. "$ref": "#/definitions/models.WrDeliveryDetail"
  13277. }
  13278. }
  13279. },
  13280. "500": {
  13281. "description": "Internal Server Error",
  13282. "schema": {
  13283. "$ref": "#/definitions/app.Response"
  13284. }
  13285. }
  13286. }
  13287. }
  13288. },
  13289. "/WrTrade2/QueryWrDraftUserInfo": {
  13290. "get": {
  13291. "security": [
  13292. {
  13293. "ApiKeyAuth": []
  13294. }
  13295. ],
  13296. "produces": [
  13297. "application/json"
  13298. ],
  13299. "tags": [
  13300. "仓单贸易v2"
  13301. ],
  13302. "summary": "查询实名认证信息",
  13303. "parameters": [
  13304. {
  13305. "type": "integer",
  13306. "description": "用户ID",
  13307. "name": "userid",
  13308. "in": "query",
  13309. "required": true
  13310. },
  13311. {
  13312. "type": "integer",
  13313. "description": "用户状态 1:正常 2:注销",
  13314. "name": "userstatus",
  13315. "in": "query"
  13316. }
  13317. ],
  13318. "responses": {
  13319. "200": {
  13320. "description": "OK",
  13321. "schema": {
  13322. "type": "array",
  13323. "items": {
  13324. "$ref": "#/definitions/models.WrDraftUserInfo"
  13325. }
  13326. }
  13327. },
  13328. "500": {
  13329. "description": "Internal Server Error",
  13330. "schema": {
  13331. "$ref": "#/definitions/app.Response"
  13332. }
  13333. }
  13334. }
  13335. }
  13336. },
  13337. "/WrTrade2/QueryWrFactorTypeInfo": {
  13338. "get": {
  13339. "security": [
  13340. {
  13341. "ApiKeyAuth": []
  13342. }
  13343. ],
  13344. "produces": [
  13345. "application/json"
  13346. ],
  13347. "tags": [
  13348. "仓单贸易v2"
  13349. ],
  13350. "summary": "查询仓单要素详细信息",
  13351. "parameters": [
  13352. {
  13353. "type": "integer",
  13354. "description": "仓单要素id",
  13355. "name": "wrfactortypeid",
  13356. "in": "query",
  13357. "required": true
  13358. }
  13359. ],
  13360. "responses": {
  13361. "200": {
  13362. "description": "OK",
  13363. "schema": {
  13364. "type": "array",
  13365. "items": {
  13366. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13367. }
  13368. }
  13369. },
  13370. "500": {
  13371. "description": "Internal Server Error",
  13372. "schema": {
  13373. "$ref": "#/definitions/app.Response"
  13374. }
  13375. }
  13376. }
  13377. }
  13378. },
  13379. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13380. "get": {
  13381. "security": [
  13382. {
  13383. "ApiKeyAuth": []
  13384. }
  13385. ],
  13386. "produces": [
  13387. "application/json"
  13388. ],
  13389. "tags": [
  13390. "仓单贸易v2"
  13391. ],
  13392. "summary": "查询仓单要素详细信息列表项",
  13393. "parameters": [
  13394. {
  13395. "type": "integer",
  13396. "description": "仓单要素id",
  13397. "name": "wrfactortypeid",
  13398. "in": "query",
  13399. "required": true
  13400. }
  13401. ],
  13402. "responses": {
  13403. "200": {
  13404. "description": "OK",
  13405. "schema": {
  13406. "type": "array",
  13407. "items": {
  13408. "$ref": "#/definitions/models.WrTypeItem"
  13409. }
  13410. }
  13411. },
  13412. "500": {
  13413. "description": "Internal Server Error",
  13414. "schema": {
  13415. "$ref": "#/definitions/app.Response"
  13416. }
  13417. }
  13418. }
  13419. }
  13420. },
  13421. "/WrTrade2/QueryWrFinanceBuyApply": {
  13422. "get": {
  13423. "security": [
  13424. {
  13425. "ApiKeyAuth": []
  13426. }
  13427. ],
  13428. "description": "页面 融资信息+ / 申请单",
  13429. "produces": [
  13430. "application/json"
  13431. ],
  13432. "tags": [
  13433. "仓单贸易v2"
  13434. ],
  13435. "summary": "查询融资购买申请",
  13436. "parameters": [
  13437. {
  13438. "type": "integer",
  13439. "description": "用户id",
  13440. "name": "userid",
  13441. "in": "query",
  13442. "required": true
  13443. }
  13444. ],
  13445. "responses": {
  13446. "200": {
  13447. "description": "OK",
  13448. "schema": {
  13449. "type": "array",
  13450. "items": {
  13451. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13452. }
  13453. }
  13454. },
  13455. "500": {
  13456. "description": "Internal Server Error",
  13457. "schema": {
  13458. "$ref": "#/definitions/app.Response"
  13459. }
  13460. }
  13461. }
  13462. }
  13463. },
  13464. "/WrTrade2/QueryWrFriendApply": {
  13465. "get": {
  13466. "security": [
  13467. {
  13468. "ApiKeyAuth": []
  13469. }
  13470. ],
  13471. "produces": [
  13472. "application/json"
  13473. ],
  13474. "tags": [
  13475. "仓单贸易v2"
  13476. ],
  13477. "summary": "查询好友申请记录",
  13478. "parameters": [
  13479. {
  13480. "type": "integer",
  13481. "description": "用户id",
  13482. "name": "userid",
  13483. "in": "query",
  13484. "required": true
  13485. }
  13486. ],
  13487. "responses": {
  13488. "200": {
  13489. "description": "OK",
  13490. "schema": {
  13491. "type": "array",
  13492. "items": {
  13493. "$ref": "#/definitions/models.WrFriendApply"
  13494. }
  13495. }
  13496. },
  13497. "500": {
  13498. "description": "Internal Server Error",
  13499. "schema": {
  13500. "$ref": "#/definitions/app.Response"
  13501. }
  13502. }
  13503. }
  13504. }
  13505. },
  13506. "/WrTrade2/QueryWrGoodsInfo": {
  13507. "get": {
  13508. "security": [
  13509. {
  13510. "ApiKeyAuth": []
  13511. }
  13512. ],
  13513. "produces": [
  13514. "application/json"
  13515. ],
  13516. "tags": [
  13517. "仓单贸易v2"
  13518. ],
  13519. "summary": "查询仓单商品信息",
  13520. "parameters": [
  13521. {
  13522. "type": "integer",
  13523. "description": "仓单贸易市场id",
  13524. "name": "marketid",
  13525. "in": "query"
  13526. },
  13527. {
  13528. "type": "integer",
  13529. "description": "0:仓单预售 1:仓单贸易",
  13530. "name": "haswr",
  13531. "in": "query",
  13532. "required": true
  13533. },
  13534. {
  13535. "type": "integer",
  13536. "description": "仓单要素id",
  13537. "name": "wrfactortypeid",
  13538. "in": "query",
  13539. "required": true
  13540. },
  13541. {
  13542. "type": "integer",
  13543. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13544. "name": "tmplateid",
  13545. "in": "query"
  13546. }
  13547. ],
  13548. "responses": {
  13549. "200": {
  13550. "description": "OK",
  13551. "schema": {
  13552. "type": "array",
  13553. "items": {
  13554. "$ref": "#/definitions/models.WrGoodsInfo"
  13555. }
  13556. }
  13557. },
  13558. "500": {
  13559. "description": "Internal Server Error",
  13560. "schema": {
  13561. "$ref": "#/definitions/app.Response"
  13562. }
  13563. }
  13564. }
  13565. }
  13566. },
  13567. "/WrTrade2/QueryWrMarketTradeConfig": {
  13568. "get": {
  13569. "security": [
  13570. {
  13571. "ApiKeyAuth": []
  13572. }
  13573. ],
  13574. "produces": [
  13575. "application/json"
  13576. ],
  13577. "tags": [
  13578. "仓单贸易v2"
  13579. ],
  13580. "summary": "查询市场交易参数配置",
  13581. "parameters": [
  13582. {
  13583. "type": "integer",
  13584. "description": "市场id",
  13585. "name": "marketid",
  13586. "in": "query"
  13587. }
  13588. ],
  13589. "responses": {
  13590. "200": {
  13591. "description": "OK",
  13592. "schema": {
  13593. "type": "array",
  13594. "items": {
  13595. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13596. }
  13597. }
  13598. },
  13599. "500": {
  13600. "description": "Internal Server Error",
  13601. "schema": {
  13602. "$ref": "#/definitions/app.Response"
  13603. }
  13604. }
  13605. }
  13606. }
  13607. },
  13608. "/WrTrade2/QueryWrOrderDetail": {
  13609. "get": {
  13610. "security": [
  13611. {
  13612. "ApiKeyAuth": []
  13613. }
  13614. ],
  13615. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  13616. "produces": [
  13617. "application/json"
  13618. ],
  13619. "tags": [
  13620. "仓单贸易v2"
  13621. ],
  13622. "summary": "查询仓单委托单",
  13623. "parameters": [
  13624. {
  13625. "type": "integer",
  13626. "description": "页码",
  13627. "name": "page",
  13628. "in": "query"
  13629. },
  13630. {
  13631. "type": "integer",
  13632. "description": "每页条数",
  13633. "name": "pagesize",
  13634. "in": "query"
  13635. },
  13636. {
  13637. "type": "integer",
  13638. "description": "用户id",
  13639. "name": "userid",
  13640. "in": "query",
  13641. "required": true
  13642. },
  13643. {
  13644. "type": "integer",
  13645. "description": "仓单贸易市场id",
  13646. "name": "marketid",
  13647. "in": "query"
  13648. },
  13649. {
  13650. "type": "integer",
  13651. "description": "0:仓单预售 1:仓单贸易",
  13652. "name": "haswr",
  13653. "in": "query",
  13654. "required": true
  13655. },
  13656. {
  13657. "type": "integer",
  13658. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  13659. "name": "bcancel",
  13660. "in": "query"
  13661. },
  13662. {
  13663. "type": "integer",
  13664. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  13665. "name": "wrtradetype",
  13666. "in": "query"
  13667. },
  13668. {
  13669. "type": "string",
  13670. "description": "开始交易日(yyyymmdd)",
  13671. "name": "begindate",
  13672. "in": "query"
  13673. },
  13674. {
  13675. "type": "string",
  13676. "description": "结束交易日(yyyymmdd)",
  13677. "name": "enddate",
  13678. "in": "query"
  13679. }
  13680. ],
  13681. "responses": {
  13682. "200": {
  13683. "description": "OK",
  13684. "schema": {
  13685. "type": "array",
  13686. "items": {
  13687. "$ref": "#/definitions/models.WrOrderDetail"
  13688. }
  13689. }
  13690. },
  13691. "500": {
  13692. "description": "Internal Server Error",
  13693. "schema": {
  13694. "$ref": "#/definitions/app.Response"
  13695. }
  13696. }
  13697. }
  13698. }
  13699. },
  13700. "/WrTrade2/QueryWrOutInApply": {
  13701. "get": {
  13702. "security": [
  13703. {
  13704. "ApiKeyAuth": []
  13705. }
  13706. ],
  13707. "produces": [
  13708. "application/json"
  13709. ],
  13710. "tags": [
  13711. "仓单贸易v2"
  13712. ],
  13713. "summary": "查询提货申请",
  13714. "parameters": [
  13715. {
  13716. "type": "integer",
  13717. "description": "用户id",
  13718. "name": "userid",
  13719. "in": "query",
  13720. "required": true
  13721. },
  13722. {
  13723. "type": "string",
  13724. "description": "开始交易日(yyyymmdd)",
  13725. "name": "begindate",
  13726. "in": "query"
  13727. },
  13728. {
  13729. "type": "string",
  13730. "description": "结束交易日(yyyymmdd)",
  13731. "name": "enddate",
  13732. "in": "query"
  13733. }
  13734. ],
  13735. "responses": {
  13736. "200": {
  13737. "description": "OK",
  13738. "schema": {
  13739. "type": "array",
  13740. "items": {
  13741. "$ref": "#/definitions/models.WrOutInApply"
  13742. }
  13743. }
  13744. },
  13745. "500": {
  13746. "description": "Internal Server Error",
  13747. "schema": {
  13748. "$ref": "#/definitions/app.Response"
  13749. }
  13750. }
  13751. }
  13752. }
  13753. },
  13754. "/WrTrade2/QueryWrPerformancePlanStep": {
  13755. "get": {
  13756. "security": [
  13757. {
  13758. "ApiKeyAuth": []
  13759. }
  13760. ],
  13761. "produces": [
  13762. "application/json"
  13763. ],
  13764. "tags": [
  13765. "仓单贸易v2"
  13766. ],
  13767. "summary": "查询履约信息详情",
  13768. "parameters": [
  13769. {
  13770. "type": "integer",
  13771. "description": "履约计划id(performanceplanid)",
  13772. "name": "planid",
  13773. "in": "query",
  13774. "required": true
  13775. },
  13776. {
  13777. "type": "integer",
  13778. "description": "当前步骤id",
  13779. "name": "curstepid",
  13780. "in": "query"
  13781. }
  13782. ],
  13783. "responses": {
  13784. "200": {
  13785. "description": "OK",
  13786. "schema": {
  13787. "type": "array",
  13788. "items": {
  13789. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13790. }
  13791. }
  13792. },
  13793. "500": {
  13794. "description": "Internal Server Error",
  13795. "schema": {
  13796. "$ref": "#/definitions/app.Response"
  13797. }
  13798. }
  13799. }
  13800. }
  13801. },
  13802. "/WrTrade2/QueryWrPerformanceStepType": {
  13803. "get": {
  13804. "security": [
  13805. {
  13806. "ApiKeyAuth": []
  13807. }
  13808. ],
  13809. "produces": [
  13810. "application/json"
  13811. ],
  13812. "tags": [
  13813. "仓单贸易v2"
  13814. ],
  13815. "summary": "查询履约步骤枚举",
  13816. "responses": {
  13817. "200": {
  13818. "description": "OK",
  13819. "schema": {
  13820. "type": "array",
  13821. "items": {
  13822. "$ref": "#/definitions/models.WrPerformanceStepType"
  13823. }
  13824. }
  13825. },
  13826. "500": {
  13827. "description": "Internal Server Error",
  13828. "schema": {
  13829. "$ref": "#/definitions/app.Response"
  13830. }
  13831. }
  13832. }
  13833. }
  13834. },
  13835. "/WrTrade2/QueryWrPosition": {
  13836. "get": {
  13837. "security": [
  13838. {
  13839. "ApiKeyAuth": []
  13840. }
  13841. ],
  13842. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13843. "produces": [
  13844. "application/json"
  13845. ],
  13846. "tags": [
  13847. "仓单贸易v2"
  13848. ],
  13849. "summary": "查询现货(预售)仓单持仓",
  13850. "parameters": [
  13851. {
  13852. "type": "integer",
  13853. "description": "用户id",
  13854. "name": "userid",
  13855. "in": "query",
  13856. "required": true
  13857. },
  13858. {
  13859. "type": "integer",
  13860. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13861. "name": "querytype",
  13862. "in": "query",
  13863. "required": true
  13864. },
  13865. {
  13866. "type": "integer",
  13867. "description": "0:仓单预售 1:仓单贸易",
  13868. "name": "haswr",
  13869. "in": "query",
  13870. "required": true
  13871. },
  13872. {
  13873. "type": "string",
  13874. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13875. "name": "dgitemname",
  13876. "in": "query"
  13877. },
  13878. {
  13879. "type": "integer",
  13880. "description": "仓库id(筛选条件)",
  13881. "name": "warehouseid",
  13882. "in": "query"
  13883. },
  13884. {
  13885. "type": "integer",
  13886. "description": "品种id",
  13887. "name": "deliverygoodsid",
  13888. "in": "query"
  13889. },
  13890. {
  13891. "type": "integer",
  13892. "description": "品类id",
  13893. "name": "wrstandardid",
  13894. "in": "query"
  13895. }
  13896. ],
  13897. "responses": {
  13898. "200": {
  13899. "description": "OK",
  13900. "schema": {
  13901. "type": "array",
  13902. "items": {
  13903. "$ref": "#/definitions/models.WrPosition"
  13904. }
  13905. }
  13906. },
  13907. "500": {
  13908. "description": "Internal Server Error",
  13909. "schema": {
  13910. "$ref": "#/definitions/app.Response"
  13911. }
  13912. }
  13913. }
  13914. }
  13915. },
  13916. "/WrTrade2/QueryWrPreSaleInfo": {
  13917. "get": {
  13918. "security": [
  13919. {
  13920. "ApiKeyAuth": []
  13921. }
  13922. ],
  13923. "produces": [
  13924. "application/json"
  13925. ],
  13926. "tags": [
  13927. "仓单贸易v2"
  13928. ],
  13929. "summary": "查询新品发布",
  13930. "parameters": [
  13931. {
  13932. "type": "integer",
  13933. "description": "市场id",
  13934. "name": "marketid",
  13935. "in": "query"
  13936. },
  13937. {
  13938. "type": "string",
  13939. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  13940. "name": "presalestatus",
  13941. "in": "query"
  13942. },
  13943. {
  13944. "type": "integer",
  13945. "description": "摇号标识 - 0:未摇号 1:已摇号",
  13946. "name": "lotteryflag",
  13947. "in": "query"
  13948. },
  13949. {
  13950. "type": "integer",
  13951. "description": "最近多少条记录(按创建时间倒序)",
  13952. "name": "lastnum",
  13953. "in": "query"
  13954. }
  13955. ],
  13956. "responses": {
  13957. "200": {
  13958. "description": "OK",
  13959. "schema": {
  13960. "type": "array",
  13961. "items": {
  13962. "$ref": "#/definitions/models.WrPreSaleInfo"
  13963. }
  13964. }
  13965. },
  13966. "500": {
  13967. "description": "Internal Server Error",
  13968. "schema": {
  13969. "$ref": "#/definitions/app.Response"
  13970. }
  13971. }
  13972. }
  13973. }
  13974. },
  13975. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  13976. "get": {
  13977. "security": [
  13978. {
  13979. "ApiKeyAuth": []
  13980. }
  13981. ],
  13982. "produces": [
  13983. "application/json"
  13984. ],
  13985. "tags": [
  13986. "仓单贸易v2"
  13987. ],
  13988. "summary": "查询价格走势",
  13989. "parameters": [
  13990. {
  13991. "type": "integer",
  13992. "description": "市场id",
  13993. "name": "marketid",
  13994. "in": "query",
  13995. "required": true
  13996. },
  13997. {
  13998. "type": "integer",
  13999. "description": "现货商品id",
  14000. "name": "wrstandardid",
  14001. "in": "query",
  14002. "required": true
  14003. },
  14004. {
  14005. "type": "string",
  14006. "description": "开始交易日(yyyymmdd)",
  14007. "name": "begindate",
  14008. "in": "query"
  14009. },
  14010. {
  14011. "type": "string",
  14012. "description": "结束交易日(yyyymmdd)",
  14013. "name": "enddate",
  14014. "in": "query"
  14015. },
  14016. {
  14017. "type": "integer",
  14018. "description": "最近多少条记录(按交易日倒序)",
  14019. "name": "lastnum",
  14020. "in": "query"
  14021. }
  14022. ],
  14023. "responses": {
  14024. "200": {
  14025. "description": "OK",
  14026. "schema": {
  14027. "type": "array",
  14028. "items": {
  14029. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  14030. }
  14031. }
  14032. },
  14033. "500": {
  14034. "description": "Internal Server Error",
  14035. "schema": {
  14036. "$ref": "#/definitions/app.Response"
  14037. }
  14038. }
  14039. }
  14040. }
  14041. },
  14042. "/WrTrade2/QueryWrScfContract": {
  14043. "get": {
  14044. "security": [
  14045. {
  14046. "ApiKeyAuth": []
  14047. }
  14048. ],
  14049. "produces": [
  14050. "application/json"
  14051. ],
  14052. "tags": [
  14053. "仓单贸易v2"
  14054. ],
  14055. "summary": "查询仓单贸易融资合同",
  14056. "parameters": [
  14057. {
  14058. "type": "integer",
  14059. "description": "用户id",
  14060. "name": "userid",
  14061. "in": "query",
  14062. "required": true
  14063. },
  14064. {
  14065. "type": "integer",
  14066. "description": "融资合同id",
  14067. "name": "scfcontractid",
  14068. "in": "query"
  14069. }
  14070. ],
  14071. "responses": {
  14072. "200": {
  14073. "description": "OK",
  14074. "schema": {
  14075. "type": "array",
  14076. "items": {
  14077. "$ref": "#/definitions/models.WrScfContract"
  14078. }
  14079. }
  14080. },
  14081. "500": {
  14082. "description": "Internal Server Error",
  14083. "schema": {
  14084. "$ref": "#/definitions/app.Response"
  14085. }
  14086. }
  14087. }
  14088. }
  14089. },
  14090. "/WrTrade2/QueryWrScfContractInterest": {
  14091. "get": {
  14092. "security": [
  14093. {
  14094. "ApiKeyAuth": []
  14095. }
  14096. ],
  14097. "produces": [
  14098. "application/json"
  14099. ],
  14100. "tags": [
  14101. "仓单贸易v2"
  14102. ],
  14103. "summary": "查询融资合同费用明细",
  14104. "parameters": [
  14105. {
  14106. "type": "integer",
  14107. "description": "融资合同id",
  14108. "name": "scfcontractid",
  14109. "in": "query"
  14110. }
  14111. ],
  14112. "responses": {
  14113. "200": {
  14114. "description": "OK",
  14115. "schema": {
  14116. "type": "array",
  14117. "items": {
  14118. "$ref": "#/definitions/models.WrScfContractInterest"
  14119. }
  14120. }
  14121. },
  14122. "500": {
  14123. "description": "Internal Server Error",
  14124. "schema": {
  14125. "$ref": "#/definitions/app.Response"
  14126. }
  14127. }
  14128. }
  14129. }
  14130. },
  14131. "/WrTrade2/QueryWrSearchUser": {
  14132. "get": {
  14133. "security": [
  14134. {
  14135. "ApiKeyAuth": []
  14136. }
  14137. ],
  14138. "produces": [
  14139. "application/json"
  14140. ],
  14141. "tags": [
  14142. "仓单贸易v2"
  14143. ],
  14144. "summary": "查询用户",
  14145. "parameters": [
  14146. {
  14147. "type": "string",
  14148. "description": "用户名称(模糊匹配)",
  14149. "name": "username",
  14150. "in": "query",
  14151. "required": true
  14152. }
  14153. ],
  14154. "responses": {
  14155. "200": {
  14156. "description": "OK",
  14157. "schema": {
  14158. "type": "array",
  14159. "items": {
  14160. "$ref": "#/definitions/models.WrSearchUser"
  14161. }
  14162. }
  14163. },
  14164. "500": {
  14165. "description": "Internal Server Error",
  14166. "schema": {
  14167. "$ref": "#/definitions/app.Response"
  14168. }
  14169. }
  14170. }
  14171. }
  14172. },
  14173. "/WrTrade2/QueryWrSpecialMatchOrder": {
  14174. "get": {
  14175. "security": [
  14176. {
  14177. "ApiKeyAuth": []
  14178. }
  14179. ],
  14180. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  14181. "produces": [
  14182. "application/json"
  14183. ],
  14184. "tags": [
  14185. "仓单贸易v2"
  14186. ],
  14187. "summary": "查询指定成交",
  14188. "parameters": [
  14189. {
  14190. "type": "integer",
  14191. "description": "页码",
  14192. "name": "page",
  14193. "in": "query"
  14194. },
  14195. {
  14196. "type": "integer",
  14197. "description": "每页条数",
  14198. "name": "pagesize",
  14199. "in": "query"
  14200. },
  14201. {
  14202. "type": "integer",
  14203. "description": "用户id",
  14204. "name": "userid",
  14205. "in": "query",
  14206. "required": true
  14207. },
  14208. {
  14209. "type": "integer",
  14210. "description": "仓单贸易市场id",
  14211. "name": "marketid",
  14212. "in": "query"
  14213. },
  14214. {
  14215. "type": "integer",
  14216. "description": "0:仓单预售 1:仓单贸易",
  14217. "name": "haswr",
  14218. "in": "query",
  14219. "required": true
  14220. },
  14221. {
  14222. "type": "integer",
  14223. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  14224. "name": "isspecified",
  14225. "in": "query"
  14226. }
  14227. ],
  14228. "responses": {
  14229. "200": {
  14230. "description": "OK",
  14231. "schema": {
  14232. "type": "array",
  14233. "items": {
  14234. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  14235. }
  14236. }
  14237. },
  14238. "500": {
  14239. "description": "Internal Server Error",
  14240. "schema": {
  14241. "$ref": "#/definitions/app.Response"
  14242. }
  14243. }
  14244. }
  14245. }
  14246. },
  14247. "/WrTrade2/QueryWrStandardFactoryItem": {
  14248. "get": {
  14249. "security": [
  14250. {
  14251. "ApiKeyAuth": []
  14252. }
  14253. ],
  14254. "produces": [
  14255. "application/json"
  14256. ],
  14257. "tags": [
  14258. "仓单贸易v2"
  14259. ],
  14260. "summary": "查询品类要素定义项",
  14261. "parameters": [
  14262. {
  14263. "type": "integer",
  14264. "description": "品类id",
  14265. "name": "wrstandardid",
  14266. "in": "query",
  14267. "required": true
  14268. }
  14269. ],
  14270. "responses": {
  14271. "200": {
  14272. "description": "OK",
  14273. "schema": {
  14274. "type": "array",
  14275. "items": {
  14276. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  14277. }
  14278. }
  14279. },
  14280. "500": {
  14281. "description": "Internal Server Error",
  14282. "schema": {
  14283. "$ref": "#/definitions/app.Response"
  14284. }
  14285. }
  14286. }
  14287. }
  14288. },
  14289. "/WrTrade2/QueryWrTradeBargainApply": {
  14290. "get": {
  14291. "security": [
  14292. {
  14293. "ApiKeyAuth": []
  14294. }
  14295. ],
  14296. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  14297. "produces": [
  14298. "application/json"
  14299. ],
  14300. "tags": [
  14301. "仓单贸易v2"
  14302. ],
  14303. "summary": "查询议价单",
  14304. "parameters": [
  14305. {
  14306. "type": "integer",
  14307. "description": "议价人id(摘牌方)",
  14308. "name": "userid",
  14309. "in": "query"
  14310. },
  14311. {
  14312. "type": "integer",
  14313. "description": "挂牌方id(查对方议价时,填写此项)",
  14314. "name": "matchuserid",
  14315. "in": "query"
  14316. },
  14317. {
  14318. "type": "integer",
  14319. "description": "关联委托单id",
  14320. "name": "wrtradeorderid",
  14321. "in": "query"
  14322. },
  14323. {
  14324. "type": "integer",
  14325. "description": "0:仓单预售 1:仓单贸易",
  14326. "name": "haswr",
  14327. "in": "query",
  14328. "required": true
  14329. },
  14330. {
  14331. "type": "string",
  14332. "description": "开始交易日(yyyymmdd)",
  14333. "name": "begindate",
  14334. "in": "query"
  14335. },
  14336. {
  14337. "type": "string",
  14338. "description": "结束交易日(yyyymmdd)",
  14339. "name": "enddate",
  14340. "in": "query"
  14341. }
  14342. ],
  14343. "responses": {
  14344. "200": {
  14345. "description": "OK",
  14346. "schema": {
  14347. "type": "array",
  14348. "items": {
  14349. "$ref": "#/definitions/models.WRTradeBargainApply"
  14350. }
  14351. }
  14352. },
  14353. "500": {
  14354. "description": "Internal Server Error",
  14355. "schema": {
  14356. "$ref": "#/definitions/app.Response"
  14357. }
  14358. }
  14359. }
  14360. }
  14361. },
  14362. "/WrTrade2/QueryWrTradeDetail": {
  14363. "get": {
  14364. "security": [
  14365. {
  14366. "ApiKeyAuth": []
  14367. }
  14368. ],
  14369. "produces": [
  14370. "application/json"
  14371. ],
  14372. "tags": [
  14373. "仓单贸易v2"
  14374. ],
  14375. "summary": "查询仓单成交明细",
  14376. "parameters": [
  14377. {
  14378. "type": "integer",
  14379. "description": "页码",
  14380. "name": "page",
  14381. "in": "query"
  14382. },
  14383. {
  14384. "type": "integer",
  14385. "description": "每页条数",
  14386. "name": "pagesize",
  14387. "in": "query"
  14388. },
  14389. {
  14390. "type": "integer",
  14391. "description": "用户id",
  14392. "name": "userid",
  14393. "in": "query",
  14394. "required": true
  14395. },
  14396. {
  14397. "type": "integer",
  14398. "description": "仓单贸易市场id",
  14399. "name": "marketid",
  14400. "in": "query"
  14401. },
  14402. {
  14403. "type": "integer",
  14404. "description": "0:仓单预售 1:仓单贸易",
  14405. "name": "haswr",
  14406. "in": "query",
  14407. "required": true
  14408. },
  14409. {
  14410. "type": "string",
  14411. "description": "开始交易日(yyyymmdd)",
  14412. "name": "begindate",
  14413. "in": "query"
  14414. },
  14415. {
  14416. "type": "string",
  14417. "description": "结束交易日(yyyymmdd)",
  14418. "name": "enddate",
  14419. "in": "query"
  14420. }
  14421. ],
  14422. "responses": {
  14423. "200": {
  14424. "description": "OK",
  14425. "schema": {
  14426. "type": "array",
  14427. "items": {
  14428. "$ref": "#/definitions/models.WrTradeDetail"
  14429. }
  14430. }
  14431. },
  14432. "500": {
  14433. "description": "Internal Server Error",
  14434. "schema": {
  14435. "$ref": "#/definitions/app.Response"
  14436. }
  14437. }
  14438. }
  14439. }
  14440. },
  14441. "/WrTrade2/QueryWrTradeOrderDetail": {
  14442. "get": {
  14443. "security": [
  14444. {
  14445. "ApiKeyAuth": []
  14446. }
  14447. ],
  14448. "produces": [
  14449. "application/json"
  14450. ],
  14451. "tags": [
  14452. "仓单贸易v2"
  14453. ],
  14454. "summary": "查询合约交易买卖大厅",
  14455. "parameters": [
  14456. {
  14457. "type": "integer",
  14458. "description": "页码",
  14459. "name": "page",
  14460. "in": "query"
  14461. },
  14462. {
  14463. "type": "integer",
  14464. "description": "每页条数",
  14465. "name": "pagesize",
  14466. "in": "query"
  14467. },
  14468. {
  14469. "type": "integer",
  14470. "description": "商品id",
  14471. "name": "goodsid",
  14472. "in": "query",
  14473. "required": true
  14474. },
  14475. {
  14476. "type": "integer",
  14477. "description": "买卖方向 0-买 1-卖",
  14478. "name": "buyorsell",
  14479. "in": "query",
  14480. "required": true
  14481. }
  14482. ],
  14483. "responses": {
  14484. "200": {
  14485. "description": "OK",
  14486. "schema": {
  14487. "type": "array",
  14488. "items": {
  14489. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14490. }
  14491. }
  14492. },
  14493. "500": {
  14494. "description": "Internal Server Error",
  14495. "schema": {
  14496. "$ref": "#/definitions/app.Response"
  14497. }
  14498. }
  14499. }
  14500. }
  14501. },
  14502. "/WrTrade2/QueryWrUserFriend": {
  14503. "get": {
  14504. "security": [
  14505. {
  14506. "ApiKeyAuth": []
  14507. }
  14508. ],
  14509. "produces": [
  14510. "application/json"
  14511. ],
  14512. "tags": [
  14513. "仓单贸易v2"
  14514. ],
  14515. "summary": "查询我的朋友",
  14516. "parameters": [
  14517. {
  14518. "type": "integer",
  14519. "description": "用户id",
  14520. "name": "userid",
  14521. "in": "query",
  14522. "required": true
  14523. },
  14524. {
  14525. "type": "integer",
  14526. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14527. "name": "newuserid",
  14528. "in": "query"
  14529. }
  14530. ],
  14531. "responses": {
  14532. "200": {
  14533. "description": "OK",
  14534. "schema": {
  14535. "type": "array",
  14536. "items": {
  14537. "$ref": "#/definitions/models.WrUserFriend"
  14538. }
  14539. }
  14540. },
  14541. "500": {
  14542. "description": "Internal Server Error",
  14543. "schema": {
  14544. "$ref": "#/definitions/app.Response"
  14545. }
  14546. }
  14547. }
  14548. }
  14549. },
  14550. "/WrTrade2/QueryWrUserReceiptInfo": {
  14551. "get": {
  14552. "security": [
  14553. {
  14554. "ApiKeyAuth": []
  14555. }
  14556. ],
  14557. "produces": [
  14558. "application/json"
  14559. ],
  14560. "tags": [
  14561. "仓单贸易v2"
  14562. ],
  14563. "summary": "查询发票信息",
  14564. "parameters": [
  14565. {
  14566. "type": "integer",
  14567. "description": "用户id",
  14568. "name": "userid",
  14569. "in": "query"
  14570. },
  14571. {
  14572. "type": "integer",
  14573. "description": "发票类型 - 1:个人 2:企业",
  14574. "name": "receipttype",
  14575. "in": "query"
  14576. }
  14577. ],
  14578. "responses": {
  14579. "200": {
  14580. "description": "OK",
  14581. "schema": {
  14582. "type": "array",
  14583. "items": {
  14584. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14585. }
  14586. }
  14587. },
  14588. "500": {
  14589. "description": "Internal Server Error",
  14590. "schema": {
  14591. "$ref": "#/definitions/app.Response"
  14592. }
  14593. }
  14594. }
  14595. }
  14596. },
  14597. "/ZJ/GetBankTip": {
  14598. "get": {
  14599. "produces": [
  14600. "application/json"
  14601. ],
  14602. "tags": [
  14603. "中江"
  14604. ],
  14605. "summary": "获取中江网银端出入金提示信息",
  14606. "responses": {
  14607. "200": {
  14608. "description": "OK",
  14609. "schema": {
  14610. "type": "string"
  14611. }
  14612. },
  14613. "500": {
  14614. "description": "Internal Server Error",
  14615. "schema": {
  14616. "$ref": "#/definitions/app.Response"
  14617. }
  14618. }
  14619. }
  14620. }
  14621. },
  14622. "/ZJ/GetCusBankChannels": {
  14623. "get": {
  14624. "produces": [
  14625. "application/json"
  14626. ],
  14627. "tags": [
  14628. "中江"
  14629. ],
  14630. "summary": "获取中江出入金渠道显示列表",
  14631. "responses": {
  14632. "200": {
  14633. "description": "OK",
  14634. "schema": {
  14635. "type": "array",
  14636. "items": {
  14637. "type": "string"
  14638. }
  14639. }
  14640. },
  14641. "500": {
  14642. "description": "Internal Server Error",
  14643. "schema": {
  14644. "$ref": "#/definitions/app.Response"
  14645. }
  14646. }
  14647. }
  14648. }
  14649. }
  14650. },
  14651. "definitions": {
  14652. "app.Response": {
  14653. "type": "object",
  14654. "properties": {
  14655. "code": {
  14656. "type": "integer"
  14657. },
  14658. "data": {},
  14659. "msg": {
  14660. "type": "string"
  14661. },
  14662. "page": {
  14663. "description": "页码",
  14664. "type": "integer"
  14665. },
  14666. "pagesize": {
  14667. "description": "每页条数",
  14668. "type": "integer"
  14669. },
  14670. "total": {
  14671. "description": "总条数",
  14672. "type": "integer"
  14673. }
  14674. }
  14675. },
  14676. "common.ClientMenu": {
  14677. "type": "object",
  14678. "properties": {
  14679. "children": {
  14680. "description": "子菜单列表",
  14681. "type": "array",
  14682. "items": {
  14683. "$ref": "#/definitions/common.ClientMenu"
  14684. }
  14685. },
  14686. "code": {
  14687. "description": "ID",
  14688. "type": "string"
  14689. },
  14690. "isshow": {
  14691. "description": "是否显示",
  14692. "type": "boolean"
  14693. },
  14694. "remark": {
  14695. "description": "备注",
  14696. "type": "string"
  14697. },
  14698. "rulekey": {
  14699. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14700. "type": "string"
  14701. },
  14702. "sort": {
  14703. "description": "排序",
  14704. "type": "integer"
  14705. },
  14706. "title": {
  14707. "description": "标题",
  14708. "type": "string"
  14709. },
  14710. "type": {
  14711. "description": "类型,1:菜单 2:按钮",
  14712. "type": "integer"
  14713. },
  14714. "url": {
  14715. "description": "URL",
  14716. "type": "string"
  14717. }
  14718. }
  14719. },
  14720. "common.PCWebMenu": {
  14721. "type": "object",
  14722. "properties": {
  14723. "auth": {
  14724. "description": "页面权限列表",
  14725. "type": "array",
  14726. "items": {
  14727. "$ref": "#/definitions/common.PCWebMenuAuth"
  14728. }
  14729. },
  14730. "children": {
  14731. "description": "子菜单列表",
  14732. "type": "array",
  14733. "items": {
  14734. "$ref": "#/definitions/common.PCWebMenu"
  14735. }
  14736. },
  14737. "code": {
  14738. "description": "ID,新版本中权限KEY也是这个字段",
  14739. "type": "string"
  14740. },
  14741. "component": {
  14742. "description": "路由组件",
  14743. "type": "string"
  14744. },
  14745. "isshow": {
  14746. "description": "是否显示",
  14747. "type": "boolean"
  14748. },
  14749. "path": {
  14750. "description": "路由路径",
  14751. "type": "string"
  14752. },
  14753. "remark": {
  14754. "description": "备注",
  14755. "type": "string"
  14756. },
  14757. "rulekey": {
  14758. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14759. "type": "string"
  14760. },
  14761. "sort": {
  14762. "description": "排序",
  14763. "type": "integer"
  14764. },
  14765. "title": {
  14766. "description": "标题",
  14767. "type": "string"
  14768. },
  14769. "url": {
  14770. "description": "URL",
  14771. "type": "string"
  14772. }
  14773. }
  14774. },
  14775. "common.PCWebMenuAuth": {
  14776. "type": "object",
  14777. "properties": {
  14778. "code": {
  14779. "description": "ID,新版本中权限KEY也是这个字段",
  14780. "type": "string"
  14781. },
  14782. "isshow": {
  14783. "description": "是否显示",
  14784. "type": "boolean"
  14785. },
  14786. "label": {
  14787. "description": "标题",
  14788. "type": "string"
  14789. },
  14790. "remark": {
  14791. "description": "备注",
  14792. "type": "string"
  14793. },
  14794. "rulekey": {
  14795. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14796. "type": "string"
  14797. }
  14798. }
  14799. },
  14800. "common.QueryImageConfigsRsp": {
  14801. "type": "object",
  14802. "required": [
  14803. "configid"
  14804. ],
  14805. "properties": {
  14806. "areauserid": {
  14807. "description": "所属机构ID",
  14808. "type": "integer"
  14809. },
  14810. "configid": {
  14811. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14812. "type": "integer"
  14813. },
  14814. "createdate": {
  14815. "description": "创建时间",
  14816. "type": "string"
  14817. },
  14818. "creatorid": {
  14819. "description": "创建人",
  14820. "type": "integer"
  14821. },
  14822. "imagedetailpath": {
  14823. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  14824. "type": "string"
  14825. },
  14826. "imagepath": {
  14827. "description": "图片",
  14828. "type": "string"
  14829. },
  14830. "imagetype": {
  14831. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14832. "type": "integer"
  14833. },
  14834. "isshow": {
  14835. "description": "是否展示 - 0:不展示 1:展示",
  14836. "type": "integer"
  14837. },
  14838. "marketid": {
  14839. "description": "市场ID",
  14840. "type": "integer"
  14841. },
  14842. "modifierid": {
  14843. "description": "操作人",
  14844. "type": "integer"
  14845. },
  14846. "sort": {
  14847. "description": "排序",
  14848. "type": "integer"
  14849. },
  14850. "title": {
  14851. "description": "标题",
  14852. "type": "string"
  14853. },
  14854. "trademode": {
  14855. "description": "交易模式",
  14856. "type": "integer"
  14857. },
  14858. "updatedate": {
  14859. "description": "修改时间",
  14860. "type": "string"
  14861. },
  14862. "url": {
  14863. "description": "链接(地址或商品ID)",
  14864. "type": "string"
  14865. },
  14866. "urltype": {
  14867. "description": "链接类型 - 1:直接地址 2:商品ID",
  14868. "type": "integer"
  14869. }
  14870. }
  14871. },
  14872. "common.QueryNoticeRsp": {
  14873. "type": "object",
  14874. "required": [
  14875. "autoid"
  14876. ],
  14877. "properties": {
  14878. "auditoruserid": {
  14879. "description": "审核人",
  14880. "type": "integer"
  14881. },
  14882. "auditremark": {
  14883. "description": "审核备注",
  14884. "type": "string"
  14885. },
  14886. "audittime": {
  14887. "description": "审核日期",
  14888. "type": "string"
  14889. },
  14890. "autoid": {
  14891. "description": "自增ID",
  14892. "type": "integer"
  14893. },
  14894. "content": {
  14895. "description": "内容",
  14896. "type": "string"
  14897. },
  14898. "createtime": {
  14899. "description": "创建时间",
  14900. "type": "string"
  14901. },
  14902. "creatorid": {
  14903. "description": "建仓人",
  14904. "type": "integer"
  14905. },
  14906. "endtime": {
  14907. "description": "结束时间",
  14908. "type": "string"
  14909. },
  14910. "istop": {
  14911. "description": "是否置顶 - 0:不置顶 1:置顶",
  14912. "type": "integer"
  14913. },
  14914. "msgiconurl": {
  14915. "description": "消息图标Url",
  14916. "type": "string"
  14917. },
  14918. "msgtype": {
  14919. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14920. "type": "integer"
  14921. },
  14922. "publisher": {
  14923. "description": "消息发布者",
  14924. "type": "string"
  14925. },
  14926. "readed": {
  14927. "description": "是否已读",
  14928. "type": "boolean"
  14929. },
  14930. "scheduletime": {
  14931. "description": "计划发送时间",
  14932. "type": "string"
  14933. },
  14934. "sendtype": {
  14935. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14936. "type": "integer"
  14937. },
  14938. "sentstatus": {
  14939. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14940. "type": "integer"
  14941. },
  14942. "title": {
  14943. "description": "标题",
  14944. "type": "string"
  14945. },
  14946. "userid": {
  14947. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14948. "type": "integer"
  14949. }
  14950. }
  14951. },
  14952. "common.QueryProvincesAndCitiesRsp": {
  14953. "type": "object",
  14954. "properties": {
  14955. "cities": {
  14956. "description": "市",
  14957. "type": "array",
  14958. "items": {
  14959. "$ref": "#/definitions/models.Division"
  14960. }
  14961. },
  14962. "province": {
  14963. "description": "省",
  14964. "$ref": "#/definitions/models.Division"
  14965. }
  14966. }
  14967. },
  14968. "common.QueryTableDefineRsp": {
  14969. "type": "object",
  14970. "required": [
  14971. "tablekey"
  14972. ],
  14973. "properties": {
  14974. "columns": {
  14975. "description": "列头信息数组",
  14976. "type": "array",
  14977. "items": {
  14978. "$ref": "#/definitions/models.Tablecolumnconfig"
  14979. }
  14980. },
  14981. "remark": {
  14982. "description": "Remark",
  14983. "type": "string"
  14984. },
  14985. "tabelmenu": {
  14986. "description": "列表菜单",
  14987. "type": "string"
  14988. },
  14989. "tablekey": {
  14990. "description": "列表Key",
  14991. "type": "string"
  14992. },
  14993. "tablename": {
  14994. "description": "列表名称",
  14995. "type": "string"
  14996. },
  14997. "tabletype": {
  14998. "description": "列表类型 - 1:管理端 2:终端",
  14999. "type": "integer"
  15000. }
  15001. }
  15002. },
  15003. "common.QueryTraderMenuRsp": {
  15004. "type": "object",
  15005. "properties": {
  15006. "OperationMenu": {
  15007. "description": "功能菜单",
  15008. "type": "array",
  15009. "items": {
  15010. "$ref": "#/definitions/models.OperationPrimaryMenu"
  15011. }
  15012. },
  15013. "QuoteMenu": {
  15014. "description": "报价牌分类菜单",
  15015. "type": "array",
  15016. "items": {
  15017. "$ref": "#/definitions/models.QuotePrimaryMenu"
  15018. }
  15019. }
  15020. }
  15021. },
  15022. "cptrade.Cptradepositioncancel": {
  15023. "type": "object",
  15024. "required": [
  15025. "cancelid"
  15026. ],
  15027. "properties": {
  15028. "accountid": {
  15029. "description": "申请人账户ID",
  15030. "type": "integer"
  15031. },
  15032. "applystatus": {
  15033. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  15034. "type": "integer"
  15035. },
  15036. "applytime": {
  15037. "description": "申请时间",
  15038. "type": "string"
  15039. },
  15040. "cancelid": {
  15041. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  15042. "type": "integer"
  15043. },
  15044. "cancelqty": {
  15045. "description": "注销数量",
  15046. "type": "integer"
  15047. },
  15048. "createtime": {
  15049. "description": "创建时间",
  15050. "type": "string"
  15051. },
  15052. "creatorid": {
  15053. "description": "创建人ID",
  15054. "type": "integer"
  15055. },
  15056. "creatorname": {
  15057. "description": "创建人",
  15058. "type": "string"
  15059. },
  15060. "goodscode": {
  15061. "description": "订单商品代码",
  15062. "type": "string"
  15063. },
  15064. "goodsid": {
  15065. "description": "商品ID",
  15066. "type": "integer"
  15067. },
  15068. "goodsname": {
  15069. "description": "订单商品名称",
  15070. "type": "string"
  15071. },
  15072. "goodunit": {
  15073. "description": "报价单位",
  15074. "type": "string"
  15075. },
  15076. "handlestatus": {
  15077. "description": "处理状态",
  15078. "type": "integer"
  15079. },
  15080. "marketid": {
  15081. "description": "市场ID",
  15082. "type": "integer"
  15083. },
  15084. "marketname": {
  15085. "description": "市场名称",
  15086. "type": "string"
  15087. },
  15088. "tradedate": {
  15089. "description": "交易日(yyyyMMdd)",
  15090. "type": "string"
  15091. },
  15092. "userid": {
  15093. "description": "申请人ID",
  15094. "type": "integer"
  15095. }
  15096. }
  15097. },
  15098. "cptrade.Cptradepresaleapply": {
  15099. "type": "object",
  15100. "required": [
  15101. "applyid"
  15102. ],
  15103. "properties": {
  15104. "accountid": {
  15105. "description": "申请人账户ID",
  15106. "type": "integer"
  15107. },
  15108. "applyid": {
  15109. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  15110. "type": "integer"
  15111. },
  15112. "applyremark": {
  15113. "description": "申请备注",
  15114. "type": "string"
  15115. },
  15116. "applystatus": {
  15117. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  15118. "type": "integer"
  15119. },
  15120. "applytime": {
  15121. "description": "申请时间",
  15122. "type": "string"
  15123. },
  15124. "attachmenturl": {
  15125. "description": "附件地址",
  15126. "type": "string"
  15127. },
  15128. "endtime": {
  15129. "description": "预售结束时间",
  15130. "type": "string"
  15131. },
  15132. "goodscode": {
  15133. "description": "商品代码",
  15134. "type": "string"
  15135. },
  15136. "goodsid": {
  15137. "description": "商品ID",
  15138. "type": "integer"
  15139. },
  15140. "goodsname": {
  15141. "description": "商品名称",
  15142. "type": "string"
  15143. },
  15144. "goodunit": {
  15145. "description": "报价单位",
  15146. "type": "string"
  15147. },
  15148. "handlestatus": {
  15149. "description": "处理状态",
  15150. "type": "integer"
  15151. },
  15152. "marketid": {
  15153. "description": "预售市场ID",
  15154. "type": "integer"
  15155. },
  15156. "marketname": {
  15157. "description": "预售市场名称",
  15158. "type": "string"
  15159. },
  15160. "presaleqty": {
  15161. "description": "预售数量",
  15162. "type": "integer"
  15163. },
  15164. "relatedgoodscode": {
  15165. "description": "关联交易合约代码",
  15166. "type": "string"
  15167. },
  15168. "relatedgoodsid": {
  15169. "description": "关联交易合约ID",
  15170. "type": "integer"
  15171. },
  15172. "relatedgoodsname": {
  15173. "description": "关联交易合约名称",
  15174. "type": "string"
  15175. },
  15176. "starttime": {
  15177. "description": "预售开始时间",
  15178. "type": "string"
  15179. },
  15180. "tradedate": {
  15181. "description": "交易日(yyyyMMdd)",
  15182. "type": "string"
  15183. },
  15184. "trademode": {
  15185. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  15186. "type": "integer"
  15187. },
  15188. "userid": {
  15189. "description": "申请人ID",
  15190. "type": "integer"
  15191. }
  15192. }
  15193. },
  15194. "cptrade.Cptradeusergoodsdata": {
  15195. "type": "object",
  15196. "required": [
  15197. "accountid",
  15198. "goodsid"
  15199. ],
  15200. "properties": {
  15201. "EnabledQty": {
  15202. "description": "可用量",
  15203. "type": "integer"
  15204. },
  15205. "GoodsCode": {
  15206. "description": "订单商品代码",
  15207. "type": "string"
  15208. },
  15209. "GoodsName": {
  15210. "description": "订单商品名称",
  15211. "type": "string"
  15212. },
  15213. "WRStandardCode": {
  15214. "description": "仓单标准代码",
  15215. "type": "string"
  15216. },
  15217. "WRStandardName": {
  15218. "description": "仓单标准名称",
  15219. "type": "string"
  15220. },
  15221. "accountid": {
  15222. "description": "账户ID",
  15223. "type": "integer"
  15224. },
  15225. "cancelqty": {
  15226. "description": "注销量",
  15227. "type": "integer"
  15228. },
  15229. "curpresaleqty": {
  15230. "description": "当前预售量",
  15231. "type": "integer"
  15232. },
  15233. "deliveryqty": {
  15234. "description": "交割量",
  15235. "type": "integer"
  15236. },
  15237. "freezeamount": {
  15238. "description": "冻结金额",
  15239. "type": "number"
  15240. },
  15241. "goodsid": {
  15242. "description": "商品ID",
  15243. "type": "integer"
  15244. },
  15245. "goodunit": {
  15246. "description": "报价单位",
  15247. "type": "string"
  15248. },
  15249. "hasspotfreeze": {
  15250. "description": "是否有现货冻结 - 0:否 1:有",
  15251. "type": "integer"
  15252. },
  15253. "inqty": {
  15254. "description": "转入量(总数量)",
  15255. "type": "integer"
  15256. },
  15257. "marketid": {
  15258. "description": "市场ID",
  15259. "type": "integer"
  15260. },
  15261. "presaledamount": {
  15262. "description": "已预售总金额",
  15263. "type": "integer"
  15264. },
  15265. "presaledqty": {
  15266. "description": "已预售量",
  15267. "type": "integer"
  15268. },
  15269. "userid": {
  15270. "description": "用户ID",
  15271. "type": "integer"
  15272. },
  15273. "wrstandardid": {
  15274. "description": "仓单标准ID",
  15275. "type": "integer"
  15276. }
  15277. }
  15278. },
  15279. "cptrade.QueryCPTradeMyBidRsp": {
  15280. "type": "object",
  15281. "required": [
  15282. "accountid",
  15283. "goodsid",
  15284. "marketid",
  15285. "orderid",
  15286. "orderqty",
  15287. "ordertime",
  15288. "tradeprice",
  15289. "tradeqty"
  15290. ],
  15291. "properties": {
  15292. "accountid": {
  15293. "description": "账户ID[报价币种]",
  15294. "type": "integer"
  15295. },
  15296. "goodsid": {
  15297. "description": "商品ID",
  15298. "type": "integer"
  15299. },
  15300. "goodunit": {
  15301. "description": "报价单位",
  15302. "type": "string"
  15303. },
  15304. "marketid": {
  15305. "description": "市场ID",
  15306. "type": "integer"
  15307. },
  15308. "orderid": {
  15309. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15310. "type": "integer"
  15311. },
  15312. "orderprice": {
  15313. "description": "委托价格",
  15314. "type": "number"
  15315. },
  15316. "orderqty": {
  15317. "description": "委托数量",
  15318. "type": "integer"
  15319. },
  15320. "ordertime": {
  15321. "description": "委托时间",
  15322. "type": "string"
  15323. },
  15324. "ordertotalprice": {
  15325. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  15326. "type": "number"
  15327. },
  15328. "ordertotalweight": {
  15329. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  15330. "type": "integer"
  15331. },
  15332. "totaltotalprice": {
  15333. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  15334. "type": "number"
  15335. },
  15336. "tradeprice": {
  15337. "description": "成交价格",
  15338. "type": "number"
  15339. },
  15340. "tradeqty": {
  15341. "description": "成交数量",
  15342. "type": "integer"
  15343. }
  15344. }
  15345. },
  15346. "cptrade.QueryCPTradeOrderDetailRsq": {
  15347. "type": "object",
  15348. "required": [
  15349. "accountid",
  15350. "buildtype",
  15351. "buyorsell",
  15352. "goodsid",
  15353. "marketid",
  15354. "memberuserid",
  15355. "operatetype",
  15356. "orderqty",
  15357. "ordertime",
  15358. "pricemode",
  15359. "strorderid",
  15360. "tradedate",
  15361. "validtype"
  15362. ],
  15363. "properties": {
  15364. "accountid": {
  15365. "description": "账户ID[报价币种]",
  15366. "type": "integer"
  15367. },
  15368. "buildtype": {
  15369. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15370. "type": "integer"
  15371. },
  15372. "buyorsell": {
  15373. "description": "买卖 - 0:买 1:卖",
  15374. "type": "integer"
  15375. },
  15376. "cancelorderid": {
  15377. "description": "撤单单号(撤单时填写)",
  15378. "type": "integer"
  15379. },
  15380. "cancelqty": {
  15381. "description": "撤单数量",
  15382. "type": "integer"
  15383. },
  15384. "clientordertime": {
  15385. "description": "客户端委托时间",
  15386. "type": "string"
  15387. },
  15388. "clientticket": {
  15389. "description": "客户端流水号",
  15390. "type": "string"
  15391. },
  15392. "clienttype": {
  15393. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15394. "type": "integer"
  15395. },
  15396. "closeexchagechargevalue": {
  15397. "description": "平仓交易所手续费设置值",
  15398. "type": "number"
  15399. },
  15400. "closefeealgorithm": {
  15401. "description": "平仓手续费收取方式 1:比率 2:固定",
  15402. "type": "integer"
  15403. },
  15404. "closefreezecharge": {
  15405. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15406. "type": "number"
  15407. },
  15408. "closememberchargevalue": {
  15409. "description": "平仓会员手续费设置值",
  15410. "type": "number"
  15411. },
  15412. "closeqty": {
  15413. "description": "平仓数量(先建后平操作 需要记录)",
  15414. "type": "integer"
  15415. },
  15416. "closetradeqty": {
  15417. "description": "平仓成交数量(先建后平操作,需要记录)",
  15418. "type": "integer"
  15419. },
  15420. "closeunfreezecharge": {
  15421. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15422. "type": "number"
  15423. },
  15424. "delistingtype": {
  15425. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15426. "type": "integer"
  15427. },
  15428. "freezecharge": {
  15429. "description": "冻结手续费",
  15430. "type": "number"
  15431. },
  15432. "freezemargin": {
  15433. "description": "冻结保证金(冻结交易金额)",
  15434. "type": "number"
  15435. },
  15436. "gcaccountid": {
  15437. "description": "账户ID[合约币种]",
  15438. "type": "integer"
  15439. },
  15440. "goodsid": {
  15441. "description": "商品ID",
  15442. "type": "integer"
  15443. },
  15444. "isconfirmexercise": {
  15445. "description": "是否确认行权- 0:否 1:是",
  15446. "type": "integer"
  15447. },
  15448. "ispreexercise": {
  15449. "description": "是否预申报- 0:否 1:是",
  15450. "type": "integer"
  15451. },
  15452. "listingselecttype": {
  15453. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15454. "type": "integer"
  15455. },
  15456. "marginalgorithm": {
  15457. "description": "保证金收取方式 1:比率 2:固定",
  15458. "type": "integer"
  15459. },
  15460. "marginvalue": {
  15461. "description": "即市保证金设置值",
  15462. "type": "number"
  15463. },
  15464. "marketid": {
  15465. "description": "市场ID",
  15466. "type": "integer"
  15467. },
  15468. "marketmaxsub": {
  15469. "description": "市价最大偏移范围",
  15470. "type": "number"
  15471. },
  15472. "memberuserid": {
  15473. "description": "所属会员UserID",
  15474. "type": "integer"
  15475. },
  15476. "openexchagechargevalue": {
  15477. "description": "建仓交易所手续费设置值",
  15478. "type": "number"
  15479. },
  15480. "openfeealgorithm": {
  15481. "description": "建仓手续费收取方式 1:比率 2:固定",
  15482. "type": "integer"
  15483. },
  15484. "openfreezecharge": {
  15485. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15486. "type": "number"
  15487. },
  15488. "openmemberchargevalue": {
  15489. "description": "建仓会员手续费设置值",
  15490. "type": "number"
  15491. },
  15492. "openqty": {
  15493. "description": "开仓数量(先建后平操作,需要记录)",
  15494. "type": "integer"
  15495. },
  15496. "opentradeqty": {
  15497. "description": "开仓成交数量(先建后平操作,需要记录)",
  15498. "type": "integer"
  15499. },
  15500. "openunfreezecharge": {
  15501. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15502. "type": "number"
  15503. },
  15504. "operatetype": {
  15505. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15506. "type": "integer"
  15507. },
  15508. "operatorid": {
  15509. "description": "登录账号(LoginID)",
  15510. "type": "integer"
  15511. },
  15512. "optiontype": {
  15513. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15514. "type": "integer"
  15515. },
  15516. "orderprice": {
  15517. "description": "委托价格",
  15518. "type": "number"
  15519. },
  15520. "orderqty": {
  15521. "description": "委托数量",
  15522. "type": "integer"
  15523. },
  15524. "ordersrc": {
  15525. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15526. "type": "integer"
  15527. },
  15528. "orderstatus": {
  15529. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15530. "type": "integer"
  15531. },
  15532. "ordertime": {
  15533. "description": "委托时间",
  15534. "type": "string"
  15535. },
  15536. "preexerciseprice": {
  15537. "description": "预申报价格",
  15538. "type": "number"
  15539. },
  15540. "premium": {
  15541. "description": "权利金",
  15542. "type": "number"
  15543. },
  15544. "preorderid": {
  15545. "description": "关联预埋单号(止盈止损单时填写)",
  15546. "type": "integer"
  15547. },
  15548. "pricemode": {
  15549. "description": "取价方式 - 1:市价 2: 限价",
  15550. "type": "integer"
  15551. },
  15552. "quoteid": {
  15553. "description": "报价单ID",
  15554. "type": "integer"
  15555. },
  15556. "relatedid": {
  15557. "description": "关联单号(交割单)",
  15558. "type": "integer"
  15559. },
  15560. "retcode": {
  15561. "description": "错误代码",
  15562. "type": "integer"
  15563. },
  15564. "sessionid": {
  15565. "description": "会话ID",
  15566. "type": "integer"
  15567. },
  15568. "strorderid": {
  15569. "description": "委托单号",
  15570. "type": "string"
  15571. },
  15572. "tradedate": {
  15573. "description": "交易日(yyyyMMdd)",
  15574. "type": "string"
  15575. },
  15576. "tradeproperty": {
  15577. "description": "交易属性",
  15578. "type": "integer"
  15579. },
  15580. "tradeqty": {
  15581. "description": "成交数量",
  15582. "type": "integer"
  15583. },
  15584. "unfreezecharge": {
  15585. "description": "解冻手续费",
  15586. "type": "number"
  15587. },
  15588. "unfreezemargin": {
  15589. "description": "解冻保证金",
  15590. "type": "number"
  15591. },
  15592. "updatetime": {
  15593. "description": "更新时间",
  15594. "type": "string"
  15595. },
  15596. "uuid": {
  15597. "description": "发起端唯一id",
  15598. "type": "string"
  15599. },
  15600. "validtime": {
  15601. "description": "有效期限",
  15602. "type": "string"
  15603. },
  15604. "validtype": {
  15605. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15606. "type": "integer"
  15607. },
  15608. "volumetype": {
  15609. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15610. "type": "integer"
  15611. }
  15612. }
  15613. },
  15614. "cptrade.QueryMyCPTradeGoodsRsp": {
  15615. "type": "object",
  15616. "required": [
  15617. "goodscode",
  15618. "goodsid",
  15619. "goodsname",
  15620. "marketid",
  15621. "relatedgoodscode",
  15622. "relatedgoodsname"
  15623. ],
  15624. "properties": {
  15625. "accountid": {
  15626. "description": "卖方账户ID",
  15627. "type": "integer"
  15628. },
  15629. "agreeunit": {
  15630. "description": "合约单位",
  15631. "type": "number"
  15632. },
  15633. "applyid": {
  15634. "description": "关联申请ID",
  15635. "type": "integer"
  15636. },
  15637. "attachmenturl": {
  15638. "description": "附件地址",
  15639. "type": "string"
  15640. },
  15641. "createtime": {
  15642. "description": "创建时间",
  15643. "type": "string"
  15644. },
  15645. "currencyid": {
  15646. "description": "报价货币ID",
  15647. "type": "integer"
  15648. },
  15649. "decimalplace": {
  15650. "description": "报价小数位",
  15651. "type": "integer"
  15652. },
  15653. "endtime": {
  15654. "description": "预售结束时间",
  15655. "type": "string"
  15656. },
  15657. "floorprice": {
  15658. "description": "底价[大宗式竞拍]",
  15659. "type": "number"
  15660. },
  15661. "goodscode": {
  15662. "description": "商品代码(预售)",
  15663. "type": "string"
  15664. },
  15665. "goodsdetail": {
  15666. "description": "详情[大宗]",
  15667. "type": "string"
  15668. },
  15669. "goodsid": {
  15670. "description": "商品ID(自增ID SEQ_GOODS)",
  15671. "type": "integer"
  15672. },
  15673. "goodsname": {
  15674. "description": "商品名称(预售)",
  15675. "type": "string"
  15676. },
  15677. "goodunit": {
  15678. "description": "报价单位",
  15679. "type": "string"
  15680. },
  15681. "goodunitid": {
  15682. "description": "报价单位ID",
  15683. "type": "integer"
  15684. },
  15685. "marketid": {
  15686. "description": "所属市场ID",
  15687. "type": "integer"
  15688. },
  15689. "marketname": {
  15690. "description": "预售市场名称",
  15691. "type": "string"
  15692. },
  15693. "presaledamount": {
  15694. "description": "已预售总金额(预售结束时更新)",
  15695. "type": "number"
  15696. },
  15697. "presaledqty": {
  15698. "description": "已预售量(预售结束时更新)",
  15699. "type": "integer"
  15700. },
  15701. "presalemode": {
  15702. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15703. "type": "integer"
  15704. },
  15705. "presaleqty": {
  15706. "description": "预售数量",
  15707. "type": "integer"
  15708. },
  15709. "refprice": {
  15710. "description": "参考价格[一口价]",
  15711. "type": "number"
  15712. },
  15713. "relatedgoodscode": {
  15714. "description": "商品代码(订单)",
  15715. "type": "string"
  15716. },
  15717. "relatedgoodsid": {
  15718. "description": "关联交易合约ID",
  15719. "type": "integer"
  15720. },
  15721. "relatedgoodsname": {
  15722. "description": "商品名称(订单)",
  15723. "type": "string"
  15724. },
  15725. "relatedmarketid": {
  15726. "description": "关联交易合约市场ID",
  15727. "type": "integer"
  15728. },
  15729. "sellstatus": {
  15730. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15731. "type": "integer"
  15732. },
  15733. "startprice": {
  15734. "description": "起拍价[大宗式竞拍]",
  15735. "type": "number"
  15736. },
  15737. "starttime": {
  15738. "description": "预售开始时间",
  15739. "type": "string"
  15740. },
  15741. "tradedate": {
  15742. "description": "交易日(yyyyMMdd)",
  15743. "type": "string"
  15744. },
  15745. "tradeprice": {
  15746. "description": "成交价[大宗]",
  15747. "type": "number"
  15748. },
  15749. "userid": {
  15750. "description": "卖方用户ID",
  15751. "type": "integer"
  15752. }
  15753. }
  15754. },
  15755. "cptrade.QueryPresaleGoodsExRsp": {
  15756. "type": "object",
  15757. "required": [
  15758. "goodsid"
  15759. ],
  15760. "properties": {
  15761. "attachmenturl": {
  15762. "description": "附件地址",
  15763. "type": "string"
  15764. },
  15765. "createtime": {
  15766. "description": "创建时间",
  15767. "type": "string"
  15768. },
  15769. "endtime": {
  15770. "description": "预售结束时间",
  15771. "type": "string"
  15772. },
  15773. "floorprice": {
  15774. "description": "底价[大宗式竞拍]",
  15775. "type": "number"
  15776. },
  15777. "goodsdetail": {
  15778. "description": "详情[大宗]",
  15779. "type": "string"
  15780. },
  15781. "goodsid": {
  15782. "description": "商品ID(预售)",
  15783. "type": "integer"
  15784. },
  15785. "goodunit": {
  15786. "description": "报价单位",
  15787. "type": "string"
  15788. },
  15789. "marketid": {
  15790. "description": "预售市场ID - 根据预售模式选择市场",
  15791. "type": "integer"
  15792. },
  15793. "presaledamount": {
  15794. "description": "已预售总金额(预售结束时更新)",
  15795. "type": "number"
  15796. },
  15797. "presaledqty": {
  15798. "description": "已预售量(预售结束时更新)",
  15799. "type": "integer"
  15800. },
  15801. "presalemode": {
  15802. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15803. "type": "integer"
  15804. },
  15805. "presaleqty": {
  15806. "description": "预售数量",
  15807. "type": "integer"
  15808. },
  15809. "refprice": {
  15810. "description": "参考价格[一口价]",
  15811. "type": "number"
  15812. },
  15813. "relatedgoodsid": {
  15814. "description": "关联交易合约ID",
  15815. "type": "integer"
  15816. },
  15817. "relatedmarketid": {
  15818. "description": "关联交易合约市场ID",
  15819. "type": "integer"
  15820. },
  15821. "sellstatus": {
  15822. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15823. "type": "integer"
  15824. },
  15825. "startprice": {
  15826. "description": "起拍价[大宗式竞拍]",
  15827. "type": "number"
  15828. },
  15829. "starttime": {
  15830. "description": "预售开始时间",
  15831. "type": "string"
  15832. },
  15833. "tradedate": {
  15834. "description": "交易日(yyyyMMdd)",
  15835. "type": "string"
  15836. },
  15837. "tradeprice": {
  15838. "description": "成交价[大宗]",
  15839. "type": "number"
  15840. }
  15841. }
  15842. },
  15843. "delivery.QueryDeliveryRelationRsp": {
  15844. "type": "object",
  15845. "required": [
  15846. "begindate",
  15847. "enddate",
  15848. "goodsid",
  15849. "mindeliveryqty",
  15850. "xdeliveryratio"
  15851. ],
  15852. "properties": {
  15853. "begindate": {
  15854. "description": "起始日期(yyyyMMdd)",
  15855. "type": "string"
  15856. },
  15857. "buytemplateid": {
  15858. "description": "买履约计划模板ID",
  15859. "type": "integer"
  15860. },
  15861. "deliverygoodscode": {
  15862. "description": "品种代码",
  15863. "type": "string"
  15864. },
  15865. "deliverygoodsid": {
  15866. "description": "交割商品",
  15867. "type": "integer"
  15868. },
  15869. "deliverygoodsname": {
  15870. "description": "品种名称",
  15871. "type": "string"
  15872. },
  15873. "deliverymode": {
  15874. "description": "交割方式 - 1:点选式 2:申报式",
  15875. "type": "integer"
  15876. },
  15877. "deliverypricerule": {
  15878. "description": "交割价规则- 1:行情价 2:建仓价",
  15879. "type": "integer"
  15880. },
  15881. "deliverytype": {
  15882. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15883. "type": "integer"
  15884. },
  15885. "enddate": {
  15886. "description": "结束日期(yyyyMMdd)",
  15887. "type": "string"
  15888. },
  15889. "enumdicname": {
  15890. "description": "品类单位名称",
  15891. "type": "string"
  15892. },
  15893. "goodscode": {
  15894. "description": "商品代码",
  15895. "type": "string"
  15896. },
  15897. "goodsid": {
  15898. "description": "交易合约ID",
  15899. "type": "integer"
  15900. },
  15901. "goodsname": {
  15902. "description": "商品名称",
  15903. "type": "string"
  15904. },
  15905. "marketid": {
  15906. "description": "市场ID",
  15907. "type": "integer"
  15908. },
  15909. "mindeliveryqty": {
  15910. "description": "最小交割系数(K)",
  15911. "type": "integer"
  15912. },
  15913. "p2deliveryprice": {
  15914. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15915. "type": "number"
  15916. },
  15917. "p2deliveryratio": {
  15918. "description": "P2合约系数(p)",
  15919. "type": "integer"
  15920. },
  15921. "p2goodsid": {
  15922. "description": "P2合约ID",
  15923. "type": "integer"
  15924. },
  15925. "p2pricemode": {
  15926. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15927. "type": "integer"
  15928. },
  15929. "pdeliveryprice": {
  15930. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15931. "type": "number"
  15932. },
  15933. "pdeliveryratio": {
  15934. "description": "P合约系数(n)",
  15935. "type": "integer"
  15936. },
  15937. "pgoodscode": {
  15938. "description": "p合约代码",
  15939. "type": "string"
  15940. },
  15941. "pgoodsid": {
  15942. "description": "P合约ID",
  15943. "type": "integer"
  15944. },
  15945. "ppricemode": {
  15946. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15947. "type": "integer"
  15948. },
  15949. "rratio": {
  15950. "description": "兑换系数(R)",
  15951. "type": "integer"
  15952. },
  15953. "rratio1": {
  15954. "description": "兑换系数(交易合约)(R1)",
  15955. "type": "integer"
  15956. },
  15957. "rratio2": {
  15958. "description": "兑换系数(仓单标准)(R2)",
  15959. "type": "integer"
  15960. },
  15961. "selltemplateid": {
  15962. "description": "卖履约计划模板ID",
  15963. "type": "integer"
  15964. },
  15965. "wrstandardid": {
  15966. "description": "仓单标准ID",
  15967. "type": "integer"
  15968. },
  15969. "xdeliveryratio": {
  15970. "description": "交易合约系数(m)",
  15971. "type": "integer"
  15972. }
  15973. }
  15974. },
  15975. "ermcp.ExposureDetailRsp": {
  15976. "type": "object",
  15977. "properties": {
  15978. "areauserid": {
  15979. "description": "机构ID",
  15980. "type": "integer"
  15981. },
  15982. "changeQty": {
  15983. "description": "套保变动量",
  15984. "type": "number"
  15985. },
  15986. "contracttype": {
  15987. "description": "现货合同类型 - 1:采购 -1:销售",
  15988. "type": "integer"
  15989. },
  15990. "convertfactor": {
  15991. "description": "标仓系数",
  15992. "type": "number"
  15993. },
  15994. "convertratio": {
  15995. "description": "套保系数",
  15996. "type": "number"
  15997. },
  15998. "createtime": {
  15999. "description": "时间",
  16000. "type": "string"
  16001. },
  16002. "enumdicname": {
  16003. "description": "现货商品单位名称",
  16004. "type": "string"
  16005. },
  16006. "logtype": {
  16007. "description": "类型 - 1:套保计划 2:现货合同",
  16008. "type": "integer"
  16009. },
  16010. "middlegoodsId": {
  16011. "description": "套保商品id",
  16012. "type": "integer"
  16013. },
  16014. "middlegoodscode": {
  16015. "description": "套保商品代码",
  16016. "type": "string"
  16017. },
  16018. "middlegoodsname": {
  16019. "description": "套保商品名称",
  16020. "type": "string"
  16021. },
  16022. "qty": {
  16023. "description": "数量",
  16024. "type": "number"
  16025. },
  16026. "relateNo": {
  16027. "description": "现货合同/套保计划编号",
  16028. "type": "string"
  16029. },
  16030. "wrstandardcode": {
  16031. "description": "现货商品代码",
  16032. "type": "string"
  16033. },
  16034. "wrstandardid": {
  16035. "description": "现货商品ID",
  16036. "type": "integer"
  16037. },
  16038. "wrstandardname": {
  16039. "description": "现货商品名称",
  16040. "type": "string"
  16041. }
  16042. }
  16043. },
  16044. "ermcp.ExposureHedgePosDetailRsp": {
  16045. "type": "object",
  16046. "properties": {
  16047. "buyorsell": {
  16048. "description": "买卖方向 0-买 1-卖",
  16049. "type": "integer"
  16050. },
  16051. "channelbuildtype": {
  16052. "description": "开平方向 1-建仓 2-平仓",
  16053. "type": "integer"
  16054. },
  16055. "goodscode": {
  16056. "description": "商品代码",
  16057. "type": "string"
  16058. },
  16059. "goodsname": {
  16060. "description": "商品名称",
  16061. "type": "string"
  16062. },
  16063. "hedgegoodsid": {
  16064. "description": "商品id",
  16065. "type": "integer"
  16066. },
  16067. "tradeqty": {
  16068. "description": "数量(成交数量)",
  16069. "type": "integer"
  16070. },
  16071. "tradetime": {
  16072. "description": "时间(成交时间)",
  16073. "type": "string"
  16074. }
  16075. }
  16076. },
  16077. "ermcp.ExposureHedgePositionRsp": {
  16078. "type": "object",
  16079. "properties": {
  16080. "accountid": {
  16081. "description": "资金账号[外部母账户]",
  16082. "type": "integer"
  16083. },
  16084. "curbuyposition": {
  16085. "description": "期末买头寸",
  16086. "type": "integer"
  16087. },
  16088. "cursellposition": {
  16089. "description": "期末卖头寸",
  16090. "type": "integer"
  16091. },
  16092. "curtdbuyposition": {
  16093. "description": "期末今日买头寸",
  16094. "type": "integer"
  16095. },
  16096. "curtdsellposition": {
  16097. "description": "期末今日卖头寸",
  16098. "type": "integer"
  16099. },
  16100. "curydbuyposition": {
  16101. "description": "期末上日买头寸",
  16102. "type": "integer"
  16103. },
  16104. "curydsellposition": {
  16105. "description": "期末上日卖头寸",
  16106. "type": "integer"
  16107. },
  16108. "decreaseqty": {
  16109. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16110. "type": "integer"
  16111. },
  16112. "fretdbuyposition": {
  16113. "description": "冻结今日买头寸",
  16114. "type": "integer"
  16115. },
  16116. "fretdsellposition": {
  16117. "description": "冻结今日卖头寸",
  16118. "type": "integer"
  16119. },
  16120. "freydbuyposition": {
  16121. "description": "冻结上日买头寸",
  16122. "type": "integer"
  16123. },
  16124. "freydsellposition": {
  16125. "description": "冻结上日卖头寸",
  16126. "type": "integer"
  16127. },
  16128. "goodscode": {
  16129. "description": "商品代码",
  16130. "type": "string"
  16131. },
  16132. "goodsid": {
  16133. "description": "商品id",
  16134. "type": "integer"
  16135. },
  16136. "goodsname": {
  16137. "description": "商品名称",
  16138. "type": "string"
  16139. },
  16140. "hedgeaccountcode": {
  16141. "description": "对冲账号",
  16142. "type": "string"
  16143. },
  16144. "hedgegoodsid": {
  16145. "description": "对冲合约ID",
  16146. "type": "integer"
  16147. },
  16148. "increaseqty": {
  16149. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16150. "type": "integer"
  16151. },
  16152. "marketid": {
  16153. "description": "市场ID",
  16154. "type": "integer"
  16155. },
  16156. "relateduserid": {
  16157. "description": "关联用户id",
  16158. "type": "integer"
  16159. },
  16160. "totalcurqty": {
  16161. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16162. "type": "integer"
  16163. },
  16164. "totalydqty": {
  16165. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16166. "type": "integer"
  16167. },
  16168. "tradedate": {
  16169. "description": "交易日(yyyyMMdd)",
  16170. "type": "string"
  16171. },
  16172. "ydbuyposition": {
  16173. "description": "期初买头寸",
  16174. "type": "integer"
  16175. },
  16176. "ydsellposition": {
  16177. "description": "期初卖头寸",
  16178. "type": "integer"
  16179. }
  16180. }
  16181. },
  16182. "ermcp.ExposureSpotDetailRsp": {
  16183. "type": "object",
  16184. "properties": {
  16185. "contracttype": {
  16186. "description": "合同类型 1-采购 -1-销售",
  16187. "type": "integer"
  16188. },
  16189. "createtime": {
  16190. "description": "创建时间",
  16191. "type": "string"
  16192. },
  16193. "enumdicname": {
  16194. "description": "现货商品单位名称",
  16195. "type": "string"
  16196. },
  16197. "logtype": {
  16198. "description": "记录类型 1-套保 2-现货合同",
  16199. "type": "integer"
  16200. },
  16201. "qty": {
  16202. "description": "数量",
  16203. "type": "number"
  16204. },
  16205. "recordname": {
  16206. "description": "类型名称",
  16207. "type": "string"
  16208. },
  16209. "relatedid": {
  16210. "description": "套保计划ID/现货合同ID",
  16211. "type": "string"
  16212. },
  16213. "relatedno": {
  16214. "description": "编号",
  16215. "type": "string"
  16216. },
  16217. "strtime": {
  16218. "description": "时间",
  16219. "type": "string"
  16220. },
  16221. "wrstandardcode": {
  16222. "description": "现货商品代码",
  16223. "type": "string"
  16224. },
  16225. "wrstandardname": {
  16226. "description": "现货商品名称",
  16227. "type": "string"
  16228. }
  16229. }
  16230. },
  16231. "ermcp.ExposureSpotRsp": {
  16232. "type": "object",
  16233. "properties": {
  16234. "areauserid": {
  16235. "description": "所属机构",
  16236. "type": "integer"
  16237. },
  16238. "decreaseqty": {
  16239. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16240. "type": "number"
  16241. },
  16242. "increaseqty": {
  16243. "description": "增加数量=销售计划数量+采购已定价数量",
  16244. "type": "number"
  16245. },
  16246. "oritoalspotqty": {
  16247. "description": "昨日数量",
  16248. "type": "number"
  16249. },
  16250. "totalspotqty": {
  16251. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16252. "type": "number"
  16253. },
  16254. "updatetime": {
  16255. "description": "更新时间",
  16256. "type": "string"
  16257. },
  16258. "wrstandardcode": {
  16259. "description": "现货品种代码",
  16260. "type": "string"
  16261. },
  16262. "wrstandardid": {
  16263. "description": "现货商品ID",
  16264. "type": "integer"
  16265. },
  16266. "wrstandardname": {
  16267. "description": "现货品种",
  16268. "type": "string"
  16269. }
  16270. }
  16271. },
  16272. "ermcp.HisExposureRsp": {
  16273. "type": "object",
  16274. "properties": {
  16275. "data": {
  16276. "description": "历史敞口",
  16277. "type": "array",
  16278. "items": {
  16279. "$ref": "#/definitions/models.ErmcpHisExposure"
  16280. }
  16281. },
  16282. "enumdicname": {
  16283. "description": "单位名称",
  16284. "type": "string"
  16285. },
  16286. "middlegoodscode": {
  16287. "description": "套保品种代码",
  16288. "type": "string"
  16289. },
  16290. "middlegoodsid": {
  16291. "description": "套保品种ID",
  16292. "type": "integer"
  16293. },
  16294. "middlegoodsname": {
  16295. "description": "套保品种名称",
  16296. "type": "string"
  16297. }
  16298. }
  16299. },
  16300. "ermcp.PendingAuditCntRsp": {
  16301. "type": "object",
  16302. "properties": {
  16303. "areastockqty": {
  16304. "description": "待审核数量: 库存申请",
  16305. "type": "integer"
  16306. },
  16307. "businessdjqty": {
  16308. "description": "待审核数量: 点价",
  16309. "type": "integer"
  16310. },
  16311. "businessfpqty": {
  16312. "description": "待审核数量: 发票",
  16313. "type": "integer"
  16314. },
  16315. "businessjsqty": {
  16316. "description": "待审核数量: 结算",
  16317. "type": "integer"
  16318. },
  16319. "businesskxqty": {
  16320. "description": "待审核数量: 款项",
  16321. "type": "integer"
  16322. },
  16323. "hedgeplanqty": {
  16324. "description": "待审核数量: 套保计划",
  16325. "type": "integer"
  16326. },
  16327. "spotcontractqty": {
  16328. "description": "待审核数量: 现货合同",
  16329. "type": "integer"
  16330. },
  16331. "userqty": {
  16332. "description": "待审核数量: 用户",
  16333. "type": "integer"
  16334. }
  16335. }
  16336. },
  16337. "ermcp.QryAvalidGPRsp": {
  16338. "type": "object",
  16339. "properties": {
  16340. "goodsgroupid": {
  16341. "description": "期货品种id",
  16342. "type": "integer"
  16343. },
  16344. "goodsgroupname": {
  16345. "description": "期货品种名称",
  16346. "type": "string"
  16347. },
  16348. "goodunitid": {
  16349. "description": "品种单位id",
  16350. "type": "integer"
  16351. },
  16352. "goodunitname": {
  16353. "description": "品种单位名称",
  16354. "type": "string"
  16355. },
  16356. "outergroupcode": {
  16357. "description": "期货品种代码",
  16358. "type": "string"
  16359. }
  16360. }
  16361. },
  16362. "ermcp.QryBusinessDjRsp": {
  16363. "type": "object",
  16364. "properties": {
  16365. "amount": {
  16366. "description": "点价金额=(点价价格+升贴水)*点价数量",
  16367. "type": "number"
  16368. },
  16369. "applyid": {
  16370. "description": "申请人",
  16371. "type": "string"
  16372. },
  16373. "applyname": {
  16374. "description": "申请人名称",
  16375. "type": "string"
  16376. },
  16377. "applystatus": {
  16378. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16379. "type": "integer"
  16380. },
  16381. "applytime": {
  16382. "description": "申请时间",
  16383. "type": "string"
  16384. },
  16385. "attachurl": {
  16386. "description": "附件",
  16387. "type": "string"
  16388. },
  16389. "auditid": {
  16390. "description": "审核人ID",
  16391. "type": "string"
  16392. },
  16393. "auditname": {
  16394. "description": "审核人名称",
  16395. "type": "string"
  16396. },
  16397. "auditremark": {
  16398. "description": "审核备注",
  16399. "type": "string"
  16400. },
  16401. "audittime": {
  16402. "description": "审核时间",
  16403. "type": "string"
  16404. },
  16405. "buyusername": {
  16406. "description": "采购方名称",
  16407. "type": "string"
  16408. },
  16409. "contractno": {
  16410. "description": "合同编号",
  16411. "type": "string"
  16412. },
  16413. "contractstatus": {
  16414. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16415. "type": "integer"
  16416. },
  16417. "contracttype": {
  16418. "description": "现货合同类型 - 1:采购 -1:销售",
  16419. "type": "integer"
  16420. },
  16421. "deliverygoodscode": {
  16422. "description": "现货品种代码",
  16423. "type": "string"
  16424. },
  16425. "deliverygoodsid": {
  16426. "description": "现货商品ID",
  16427. "type": "integer"
  16428. },
  16429. "deliverygoodsname": {
  16430. "description": "现货品种名称",
  16431. "type": "string"
  16432. },
  16433. "enumdicname": {
  16434. "description": "单位名称",
  16435. "type": "string"
  16436. },
  16437. "goodscode": {
  16438. "description": "点价合约",
  16439. "type": "string"
  16440. },
  16441. "goodsname": {
  16442. "description": "商品名称",
  16443. "type": "string"
  16444. },
  16445. "operateapplyid": {
  16446. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16447. "type": "string"
  16448. },
  16449. "operateapplytype": {
  16450. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16451. "type": "integer"
  16452. },
  16453. "pricedPrice": {
  16454. "description": "点价价格(非必填)",
  16455. "type": "number"
  16456. },
  16457. "pricedQty": {
  16458. "description": "点价数量(非必填)",
  16459. "type": "number"
  16460. },
  16461. "pricemove": {
  16462. "description": "升贴水",
  16463. "type": "number"
  16464. },
  16465. "pricetype": {
  16466. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16467. "type": "integer"
  16468. },
  16469. "relatedid": {
  16470. "description": "现货合同ID",
  16471. "type": "string"
  16472. },
  16473. "sellusername": {
  16474. "description": "销售方名字",
  16475. "type": "string"
  16476. },
  16477. "userid": {
  16478. "description": "用户ID",
  16479. "type": "integer"
  16480. },
  16481. "wrstandardcode": {
  16482. "description": "品类代码",
  16483. "type": "string"
  16484. },
  16485. "wrstandardid": {
  16486. "description": "品类id",
  16487. "type": "integer"
  16488. },
  16489. "wrstandardname": {
  16490. "description": "品类名称",
  16491. "type": "string"
  16492. }
  16493. }
  16494. },
  16495. "ermcp.QryBussinessFpRsp": {
  16496. "type": "object",
  16497. "properties": {
  16498. "applyid": {
  16499. "description": "申请人",
  16500. "type": "string"
  16501. },
  16502. "applyname": {
  16503. "description": "申请人名称",
  16504. "type": "string"
  16505. },
  16506. "applystatus": {
  16507. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16508. "type": "integer"
  16509. },
  16510. "applytime": {
  16511. "description": "申请时间",
  16512. "type": "string"
  16513. },
  16514. "attachurl": {
  16515. "description": "附件",
  16516. "type": "string"
  16517. },
  16518. "auditid": {
  16519. "description": "审核人ID",
  16520. "type": "string"
  16521. },
  16522. "auditname": {
  16523. "description": "审核人名称",
  16524. "type": "string"
  16525. },
  16526. "auditremark": {
  16527. "description": "审核备注",
  16528. "type": "string"
  16529. },
  16530. "audittime": {
  16531. "description": "审核时间",
  16532. "type": "string"
  16533. },
  16534. "buyusername": {
  16535. "description": "采购方名称",
  16536. "type": "string"
  16537. },
  16538. "contractno": {
  16539. "description": "合同编号",
  16540. "type": "string"
  16541. },
  16542. "contractstatus": {
  16543. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16544. "type": "integer"
  16545. },
  16546. "contracttype": {
  16547. "description": "现货合同类型 - 1:采购 -1:销售",
  16548. "type": "integer"
  16549. },
  16550. "deliverygoodscode": {
  16551. "description": "现货品种代码",
  16552. "type": "string"
  16553. },
  16554. "deliverygoodsid": {
  16555. "description": "现货商品ID",
  16556. "type": "integer"
  16557. },
  16558. "deliverygoodsname": {
  16559. "description": "现货品种名称",
  16560. "type": "string"
  16561. },
  16562. "enumdicname": {
  16563. "description": "单位名称",
  16564. "type": "string"
  16565. },
  16566. "goodscode": {
  16567. "description": "点价合约",
  16568. "type": "string"
  16569. },
  16570. "goodsname": {
  16571. "description": "商品名称",
  16572. "type": "string"
  16573. },
  16574. "invoiceamount": {
  16575. "description": "已开收票金额(销售为开票,采购为收票)",
  16576. "type": "number"
  16577. },
  16578. "operateapplyid": {
  16579. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16580. "type": "string"
  16581. },
  16582. "operateapplytype": {
  16583. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16584. "type": "integer"
  16585. },
  16586. "pricemove": {
  16587. "description": "升贴水",
  16588. "type": "number"
  16589. },
  16590. "pricetype": {
  16591. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16592. "type": "integer"
  16593. },
  16594. "relatedid": {
  16595. "description": "现货合同ID",
  16596. "type": "string"
  16597. },
  16598. "sellusername": {
  16599. "description": "销售方名字",
  16600. "type": "string"
  16601. },
  16602. "userid": {
  16603. "description": "用户ID",
  16604. "type": "integer"
  16605. },
  16606. "wrstandardcode": {
  16607. "description": "品类代码",
  16608. "type": "string"
  16609. },
  16610. "wrstandardid": {
  16611. "description": "品类id",
  16612. "type": "integer"
  16613. },
  16614. "wrstandardname": {
  16615. "description": "品类名称",
  16616. "type": "string"
  16617. }
  16618. }
  16619. },
  16620. "ermcp.QryBussinessJsExRsp": {
  16621. "type": "object",
  16622. "properties": {
  16623. "applyid": {
  16624. "description": "申请人",
  16625. "type": "string"
  16626. },
  16627. "applyname": {
  16628. "description": "申请人名称",
  16629. "type": "string"
  16630. },
  16631. "applystatus": {
  16632. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16633. "type": "integer"
  16634. },
  16635. "applytime": {
  16636. "description": "申请时间",
  16637. "type": "string"
  16638. },
  16639. "attachurl": {
  16640. "description": "附件",
  16641. "type": "string"
  16642. },
  16643. "auditid": {
  16644. "description": "审核人ID",
  16645. "type": "string"
  16646. },
  16647. "auditname": {
  16648. "description": "审核人名称",
  16649. "type": "string"
  16650. },
  16651. "auditremark": {
  16652. "description": "审核备注",
  16653. "type": "string"
  16654. },
  16655. "audittime": {
  16656. "description": "审核时间",
  16657. "type": "string"
  16658. },
  16659. "buyusername": {
  16660. "description": "采购方名称",
  16661. "type": "string"
  16662. },
  16663. "contractno": {
  16664. "description": "合同编号",
  16665. "type": "string"
  16666. },
  16667. "contractstatus": {
  16668. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16669. "type": "integer"
  16670. },
  16671. "contracttype": {
  16672. "description": "现货合同类型 - 1:采购 -1:销售",
  16673. "type": "integer"
  16674. },
  16675. "deliverygoodscode": {
  16676. "description": "现货品种代码",
  16677. "type": "string"
  16678. },
  16679. "deliverygoodsid": {
  16680. "description": "现货商品ID",
  16681. "type": "integer"
  16682. },
  16683. "deliverygoodsname": {
  16684. "description": "现货品种名称",
  16685. "type": "string"
  16686. },
  16687. "enumdicname": {
  16688. "description": "单位名称",
  16689. "type": "string"
  16690. },
  16691. "goodscode": {
  16692. "description": "点价合约",
  16693. "type": "string"
  16694. },
  16695. "goodsname": {
  16696. "description": "商品名称",
  16697. "type": "string"
  16698. },
  16699. "operateapplyid": {
  16700. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16701. "type": "string"
  16702. },
  16703. "operateapplytype": {
  16704. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16705. "type": "integer"
  16706. },
  16707. "pricemove": {
  16708. "description": "升贴水",
  16709. "type": "number"
  16710. },
  16711. "pricetype": {
  16712. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16713. "type": "integer"
  16714. },
  16715. "reckontype": {
  16716. "description": "结算类型",
  16717. "type": "string"
  16718. },
  16719. "reckonvalue": {
  16720. "description": "值",
  16721. "type": "number"
  16722. },
  16723. "relatedid": {
  16724. "description": "现货合同ID",
  16725. "type": "string"
  16726. },
  16727. "sellusername": {
  16728. "description": "销售方名字",
  16729. "type": "string"
  16730. },
  16731. "userid": {
  16732. "description": "用户ID",
  16733. "type": "integer"
  16734. },
  16735. "wrstandardcode": {
  16736. "description": "品类代码",
  16737. "type": "string"
  16738. },
  16739. "wrstandardid": {
  16740. "description": "品类id",
  16741. "type": "integer"
  16742. },
  16743. "wrstandardname": {
  16744. "description": "品类名称",
  16745. "type": "string"
  16746. }
  16747. }
  16748. },
  16749. "ermcp.QryBussinessJsRsp": {
  16750. "type": "object",
  16751. "properties": {
  16752. "addmargin": {
  16753. "description": "追加保证金(非必填)",
  16754. "type": "number"
  16755. },
  16756. "applyid": {
  16757. "description": "申请人",
  16758. "type": "string"
  16759. },
  16760. "applyname": {
  16761. "description": "申请人名称",
  16762. "type": "string"
  16763. },
  16764. "applystatus": {
  16765. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16766. "type": "integer"
  16767. },
  16768. "applytime": {
  16769. "description": "申请时间",
  16770. "type": "string"
  16771. },
  16772. "attachurl": {
  16773. "description": "附件",
  16774. "type": "string"
  16775. },
  16776. "auditid": {
  16777. "description": "审核人ID",
  16778. "type": "string"
  16779. },
  16780. "auditname": {
  16781. "description": "审核人名称",
  16782. "type": "string"
  16783. },
  16784. "auditremark": {
  16785. "description": "审核备注",
  16786. "type": "string"
  16787. },
  16788. "audittime": {
  16789. "description": "审核时间",
  16790. "type": "string"
  16791. },
  16792. "buyusername": {
  16793. "description": "采购方名称",
  16794. "type": "string"
  16795. },
  16796. "contractno": {
  16797. "description": "合同编号",
  16798. "type": "string"
  16799. },
  16800. "contractstatus": {
  16801. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16802. "type": "integer"
  16803. },
  16804. "contracttype": {
  16805. "description": "现货合同类型 - 1:采购 -1:销售",
  16806. "type": "integer"
  16807. },
  16808. "decmargin": {
  16809. "description": "减少保证金(非必填)",
  16810. "type": "number"
  16811. },
  16812. "deliverygoodscode": {
  16813. "description": "现货品种代码",
  16814. "type": "string"
  16815. },
  16816. "deliverygoodsid": {
  16817. "description": "现货商品ID",
  16818. "type": "integer"
  16819. },
  16820. "deliverygoodsname": {
  16821. "description": "现货品种名称",
  16822. "type": "string"
  16823. },
  16824. "enumdicname": {
  16825. "description": "单位名称",
  16826. "type": "string"
  16827. },
  16828. "goodscode": {
  16829. "description": "点价合约",
  16830. "type": "string"
  16831. },
  16832. "goodsname": {
  16833. "description": "商品名称",
  16834. "type": "string"
  16835. },
  16836. "operateapplyid": {
  16837. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16838. "type": "string"
  16839. },
  16840. "operateapplytype": {
  16841. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16842. "type": "integer"
  16843. },
  16844. "pricemove": {
  16845. "description": "升贴水",
  16846. "type": "number"
  16847. },
  16848. "pricetype": {
  16849. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16850. "type": "integer"
  16851. },
  16852. "reckonadjustamount": {
  16853. "description": "结算调整金额(非必填)",
  16854. "type": "number"
  16855. },
  16856. "reckonosamount": {
  16857. "description": "结算溢短金额(非必填)",
  16858. "type": "number"
  16859. },
  16860. "reckonotheramount": {
  16861. "description": "结算其他费用(非必填)",
  16862. "type": "number"
  16863. },
  16864. "reckonrealqty": {
  16865. "description": "结算实际数量(非必填)",
  16866. "type": "number"
  16867. },
  16868. "relatedid": {
  16869. "description": "现货合同ID",
  16870. "type": "string"
  16871. },
  16872. "sellusername": {
  16873. "description": "销售方名字",
  16874. "type": "string"
  16875. },
  16876. "userid": {
  16877. "description": "用户ID",
  16878. "type": "integer"
  16879. },
  16880. "wrstandardcode": {
  16881. "description": "品类代码",
  16882. "type": "string"
  16883. },
  16884. "wrstandardid": {
  16885. "description": "品类id",
  16886. "type": "integer"
  16887. },
  16888. "wrstandardname": {
  16889. "description": "品类名称",
  16890. "type": "string"
  16891. }
  16892. }
  16893. },
  16894. "ermcp.QryBussinessKxRsp": {
  16895. "type": "object",
  16896. "properties": {
  16897. "applyid": {
  16898. "description": "申请人",
  16899. "type": "string"
  16900. },
  16901. "applyname": {
  16902. "description": "申请人名称",
  16903. "type": "string"
  16904. },
  16905. "applystatus": {
  16906. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16907. "type": "integer"
  16908. },
  16909. "applytime": {
  16910. "description": "申请时间",
  16911. "type": "string"
  16912. },
  16913. "attachurl": {
  16914. "description": "附件",
  16915. "type": "string"
  16916. },
  16917. "auditid": {
  16918. "description": "审核人ID",
  16919. "type": "string"
  16920. },
  16921. "auditname": {
  16922. "description": "审核人名称",
  16923. "type": "string"
  16924. },
  16925. "auditremark": {
  16926. "description": "审核备注",
  16927. "type": "string"
  16928. },
  16929. "audittime": {
  16930. "description": "审核时间",
  16931. "type": "string"
  16932. },
  16933. "buyusername": {
  16934. "description": "采购方名称",
  16935. "type": "string"
  16936. },
  16937. "contractno": {
  16938. "description": "合同编号",
  16939. "type": "string"
  16940. },
  16941. "contractstatus": {
  16942. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16943. "type": "integer"
  16944. },
  16945. "contracttype": {
  16946. "description": "现货合同类型 - 1:采购 -1:销售",
  16947. "type": "integer"
  16948. },
  16949. "deductamount": {
  16950. "description": "退款(非必填)",
  16951. "type": "number"
  16952. },
  16953. "deliverygoodscode": {
  16954. "description": "现货品种代码",
  16955. "type": "string"
  16956. },
  16957. "deliverygoodsid": {
  16958. "description": "现货商品ID",
  16959. "type": "integer"
  16960. },
  16961. "deliverygoodsname": {
  16962. "description": "现货品种名称",
  16963. "type": "string"
  16964. },
  16965. "enumdicname": {
  16966. "description": "单位名称",
  16967. "type": "string"
  16968. },
  16969. "goodscode": {
  16970. "description": "点价合约",
  16971. "type": "string"
  16972. },
  16973. "goodsname": {
  16974. "description": "商品名称",
  16975. "type": "string"
  16976. },
  16977. "kxtype": {
  16978. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16979. "type": "integer"
  16980. },
  16981. "operateapplyid": {
  16982. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16983. "type": "string"
  16984. },
  16985. "operateapplytype": {
  16986. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16987. "type": "integer"
  16988. },
  16989. "payamount": {
  16990. "description": "收付款(非必填)",
  16991. "type": "number"
  16992. },
  16993. "pricemove": {
  16994. "description": "升贴水",
  16995. "type": "number"
  16996. },
  16997. "pricetype": {
  16998. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16999. "type": "integer"
  17000. },
  17001. "relatedid": {
  17002. "description": "现货合同ID",
  17003. "type": "string"
  17004. },
  17005. "sellusername": {
  17006. "description": "销售方名字",
  17007. "type": "string"
  17008. },
  17009. "userid": {
  17010. "description": "用户ID",
  17011. "type": "integer"
  17012. },
  17013. "wrstandardcode": {
  17014. "description": "品类代码",
  17015. "type": "string"
  17016. },
  17017. "wrstandardid": {
  17018. "description": "品类id",
  17019. "type": "integer"
  17020. },
  17021. "wrstandardname": {
  17022. "description": "品类名称",
  17023. "type": "string"
  17024. }
  17025. }
  17026. },
  17027. "ermcp.QryGGCovertCfgRsp": {
  17028. "type": "object",
  17029. "properties": {
  17030. "convertratio": {
  17031. "description": "折算系数",
  17032. "type": "number"
  17033. },
  17034. "destgoodsgroupid": {
  17035. "description": "目标品种ID",
  17036. "type": "integer"
  17037. },
  17038. "dstcode": {
  17039. "description": "目录品种代码",
  17040. "type": "string"
  17041. },
  17042. "dstexchangecode": {
  17043. "description": "目标期货交易所",
  17044. "type": "string"
  17045. },
  17046. "dstname": {
  17047. "description": "目标品种名称",
  17048. "type": "string"
  17049. },
  17050. "dstunitid": {
  17051. "description": "目标品种单位ID",
  17052. "type": "integer"
  17053. },
  17054. "dstunitidname": {
  17055. "description": "目标品种单位名称",
  17056. "type": "string"
  17057. },
  17058. "modifytime": {
  17059. "description": "修改时间",
  17060. "type": "string"
  17061. },
  17062. "srccode": {
  17063. "description": "源品种代码",
  17064. "type": "string"
  17065. },
  17066. "srcexchangecode": {
  17067. "description": "源期货交易所",
  17068. "type": "string"
  17069. },
  17070. "srcgoodsgroupid": {
  17071. "description": "源品种ID",
  17072. "type": "integer"
  17073. },
  17074. "srcname": {
  17075. "description": "源品种名称",
  17076. "type": "string"
  17077. },
  17078. "srcunitid": {
  17079. "description": "源品种单位ID",
  17080. "type": "integer"
  17081. },
  17082. "srcunitidname": {
  17083. "description": "源品种单位名称",
  17084. "type": "string"
  17085. }
  17086. }
  17087. },
  17088. "ermcp.QryMGChangeLogRsp": {
  17089. "type": "object",
  17090. "properties": {
  17091. "aftervalue": {
  17092. "description": "变更后",
  17093. "type": "number"
  17094. },
  17095. "applyid": {
  17096. "description": "操作人",
  17097. "type": "integer"
  17098. },
  17099. "applyname": {
  17100. "description": "操作人名称",
  17101. "type": "string"
  17102. },
  17103. "applysrc": {
  17104. "description": "操作来源 - 1:管理端 2:终端",
  17105. "type": "integer"
  17106. },
  17107. "beforevalue": {
  17108. "description": "变更前",
  17109. "type": "number"
  17110. },
  17111. "changelogtype": {
  17112. "description": "变更流水类型 - 1:套保比率变更",
  17113. "type": "integer"
  17114. },
  17115. "handlestatus": {
  17116. "description": "处理状态",
  17117. "type": "integer"
  17118. },
  17119. "logdatetime": {
  17120. "description": "流水日期",
  17121. "type": "string"
  17122. },
  17123. "logid": {
  17124. "description": "流水ID",
  17125. "type": "integer"
  17126. },
  17127. "logremark": {
  17128. "description": "流水备注",
  17129. "type": "string"
  17130. },
  17131. "middlegoodsid": {
  17132. "description": "套保品种ID",
  17133. "type": "integer"
  17134. },
  17135. "tradedate": {
  17136. "description": "交易日(yyyyMMdd)",
  17137. "type": "string"
  17138. },
  17139. "updatetime": {
  17140. "description": "更新时间",
  17141. "type": "string"
  17142. }
  17143. }
  17144. },
  17145. "ermcp.QryMiddleGoodsDetailRsp": {
  17146. "type": "object",
  17147. "properties": {
  17148. "cvList": {
  17149. "description": "期货品种折算列表",
  17150. "type": "array",
  17151. "items": {
  17152. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17153. }
  17154. },
  17155. "mg": {
  17156. "description": "套保品种基本信息",
  17157. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17158. },
  17159. "wrcList": {
  17160. "description": "现货品种列表(现货商品折算配置)",
  17161. "type": "array",
  17162. "items": {
  17163. "$ref": "#/definitions/models.WRSConverTDetail"
  17164. }
  17165. }
  17166. }
  17167. },
  17168. "ermcp.QryMiddleGoodsRsp": {
  17169. "type": "object",
  17170. "properties": {
  17171. "areauserid": {
  17172. "description": "机构用户ID",
  17173. "type": "integer"
  17174. },
  17175. "createtime": {
  17176. "description": "修改时间",
  17177. "type": "string"
  17178. },
  17179. "enumdicname": {
  17180. "description": "单位名称",
  17181. "type": "string"
  17182. },
  17183. "evaluateratio": {
  17184. "description": "估价系数",
  17185. "type": "number"
  17186. },
  17187. "goodsgroupid": {
  17188. "description": "关联期货品种ID",
  17189. "type": "integer"
  17190. },
  17191. "goodsunitid": {
  17192. "description": "单位ID",
  17193. "type": "integer"
  17194. },
  17195. "isvalid": {
  17196. "description": "状态 0-无效(停用) 1-有效(正常)",
  17197. "type": "integer"
  17198. },
  17199. "middlegoodscode": {
  17200. "description": "套保品种代码",
  17201. "type": "string"
  17202. },
  17203. "middlegoodsid": {
  17204. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17205. "type": "integer"
  17206. },
  17207. "middlegoodsname": {
  17208. "description": "套保品种名称",
  17209. "type": "string"
  17210. },
  17211. "modifytime": {
  17212. "description": "修改时间",
  17213. "type": "string"
  17214. },
  17215. "needarbitrageratio": {
  17216. "description": "套利比例",
  17217. "type": "number"
  17218. },
  17219. "needhedgeratio": {
  17220. "description": "套保比率",
  17221. "type": "number"
  17222. },
  17223. "qtydecimalplace": {
  17224. "description": "数量小数位",
  17225. "type": "integer"
  17226. },
  17227. "relatedgoodsid": {
  17228. "description": "关联交易商品ID",
  17229. "type": "integer"
  17230. },
  17231. "relatedgoodstype": {
  17232. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17233. "type": "integer"
  17234. },
  17235. "remark": {
  17236. "description": "备注",
  17237. "type": "string"
  17238. }
  17239. }
  17240. },
  17241. "ermcp.QryOPLogRsp": {
  17242. "type": "object",
  17243. "properties": {
  17244. "aftervalue": {
  17245. "description": "变更后",
  17246. "type": "number"
  17247. },
  17248. "applyid": {
  17249. "description": "操作人ID",
  17250. "type": "string"
  17251. },
  17252. "applyname": {
  17253. "description": "操作人名称",
  17254. "type": "string"
  17255. },
  17256. "beforevalue": {
  17257. "description": "变更前",
  17258. "type": "number"
  17259. },
  17260. "biztype": {
  17261. "description": "业务类型 - 1:套保计划 2:现货合同",
  17262. "type": "integer"
  17263. },
  17264. "contracttype": {
  17265. "description": "现货合同类型 - 1:采购 -1:销售",
  17266. "type": "integer"
  17267. },
  17268. "logvalue": {
  17269. "description": "数值",
  17270. "type": "number"
  17271. },
  17272. "operatelogtype": {
  17273. "description": "操作流水类型",
  17274. "type": "integer"
  17275. },
  17276. "operatelogtypedesc": {
  17277. "description": "操作流水类型名称",
  17278. "type": "string"
  17279. },
  17280. "relatedid": {
  17281. "description": "现货合同ID\\套保计划",
  17282. "type": "string"
  17283. },
  17284. "updatetime": {
  17285. "description": "更新时间",
  17286. "type": "string"
  17287. }
  17288. }
  17289. },
  17290. "ermcp.QryUserInfoRsp": {
  17291. "type": "object",
  17292. "properties": {
  17293. "address": {
  17294. "description": "通讯地址",
  17295. "type": "string"
  17296. },
  17297. "attachment1": {
  17298. "description": "附件1",
  17299. "type": "string"
  17300. },
  17301. "audittime": {
  17302. "description": "审核时间",
  17303. "type": "string"
  17304. },
  17305. "cardbackphotourl": {
  17306. "description": "证件反面图片地址",
  17307. "type": "string"
  17308. },
  17309. "cardfrontphotourl": {
  17310. "description": "证件正面图片地址",
  17311. "type": "string"
  17312. },
  17313. "cardnum": {
  17314. "description": "证件号码",
  17315. "type": "string"
  17316. },
  17317. "cardtype": {
  17318. "description": "证件类型",
  17319. "type": "integer"
  17320. },
  17321. "cardtypename": {
  17322. "description": "证件类型名称",
  17323. "type": "string"
  17324. },
  17325. "cityid": {
  17326. "description": "市",
  17327. "type": "integer"
  17328. },
  17329. "contactname": {
  17330. "description": "联系人",
  17331. "type": "string"
  17332. },
  17333. "countryid": {
  17334. "description": "国家",
  17335. "type": "integer"
  17336. },
  17337. "createtime": {
  17338. "description": "创建时间",
  17339. "type": "string"
  17340. },
  17341. "customername": {
  17342. "description": "企业名称",
  17343. "type": "string"
  17344. },
  17345. "districtid": {
  17346. "description": "区域",
  17347. "type": "integer"
  17348. },
  17349. "email": {
  17350. "description": "邮件",
  17351. "type": "string"
  17352. },
  17353. "legalpersonname": {
  17354. "description": "法人姓名(企业)",
  17355. "type": "string"
  17356. },
  17357. "memberuserid": {
  17358. "description": "所属机构ID",
  17359. "type": "integer"
  17360. },
  17361. "mobile": {
  17362. "description": "手机号码",
  17363. "type": "string"
  17364. },
  17365. "modifytime": {
  17366. "description": "修改时间",
  17367. "type": "string"
  17368. },
  17369. "nickname": {
  17370. "description": "昵称",
  17371. "type": "string"
  17372. },
  17373. "provinceid": {
  17374. "description": "省",
  17375. "type": "integer"
  17376. },
  17377. "remark": {
  17378. "description": "备注",
  17379. "type": "string"
  17380. },
  17381. "status": {
  17382. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17383. "type": "integer"
  17384. },
  17385. "statusdesc": {
  17386. "description": "账户状态中文描述",
  17387. "type": "string"
  17388. },
  17389. "taxpayernum": {
  17390. "description": "纳税人识别号",
  17391. "type": "string"
  17392. },
  17393. "telphone": {
  17394. "description": "联系电话",
  17395. "type": "string"
  17396. },
  17397. "userid": {
  17398. "description": "用户ID",
  17399. "type": "integer"
  17400. },
  17401. "userinfotype": {
  17402. "description": "客户类型",
  17403. "type": "string"
  17404. }
  17405. }
  17406. },
  17407. "ermcp.QryWarehouseRsp": {
  17408. "type": "object",
  17409. "properties": {
  17410. "address": {
  17411. "description": "详细地址",
  17412. "type": "string"
  17413. },
  17414. "areauserid": {
  17415. "description": "所属机构",
  17416. "type": "integer"
  17417. },
  17418. "autoid": {
  17419. "description": "自增ID(仓库ID)",
  17420. "type": "integer"
  17421. },
  17422. "cityid": {
  17423. "description": "市",
  17424. "type": "integer"
  17425. },
  17426. "contactname": {
  17427. "description": "联系人",
  17428. "type": "string"
  17429. },
  17430. "contactnum": {
  17431. "description": "联系电话",
  17432. "type": "string"
  17433. },
  17434. "countryid": {
  17435. "description": "国家",
  17436. "type": "integer"
  17437. },
  17438. "createtime": {
  17439. "description": "创建时间",
  17440. "type": "string"
  17441. },
  17442. "districtid": {
  17443. "description": "区",
  17444. "type": "integer"
  17445. },
  17446. "hasvideo": {
  17447. "description": "是否有视频 - 0:无 1:有",
  17448. "type": "integer"
  17449. },
  17450. "provinceid": {
  17451. "description": "省",
  17452. "type": "integer"
  17453. },
  17454. "remark": {
  17455. "description": "审核备注",
  17456. "type": "string"
  17457. },
  17458. "videourl": {
  17459. "description": "视频地址",
  17460. "type": "string"
  17461. },
  17462. "warehousecode": {
  17463. "description": "仓库代码",
  17464. "type": "string"
  17465. },
  17466. "warehousename": {
  17467. "description": "仓库名称",
  17468. "type": "string"
  17469. },
  17470. "warehousestatus": {
  17471. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17472. "type": "integer"
  17473. },
  17474. "warehousetype": {
  17475. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17476. "type": "integer"
  17477. }
  17478. }
  17479. },
  17480. "ermcp.QueryErmcpTradePositionRsp": {
  17481. "type": "object",
  17482. "properties": {
  17483. "agreeunit": {
  17484. "description": "合约单位",
  17485. "type": "number"
  17486. },
  17487. "buyorsell": {
  17488. "description": "方向 - 0:买 1:卖",
  17489. "type": "integer"
  17490. },
  17491. "curpositionqty": {
  17492. "description": "持仓(总仓数量, 期末头寸)",
  17493. "type": "integer"
  17494. },
  17495. "curtdposition": {
  17496. "description": "今仓数量(期末今日头寸)",
  17497. "type": "integer"
  17498. },
  17499. "curtdpositionenabled": {
  17500. "description": "今仓可用",
  17501. "type": "integer"
  17502. },
  17503. "decimalplace": {
  17504. "description": "报价小数位",
  17505. "type": "integer"
  17506. },
  17507. "enableqty": {
  17508. "description": "可用(总仓可用)",
  17509. "type": "integer"
  17510. },
  17511. "exexchangename": {
  17512. "description": "外部交易所名称",
  17513. "type": "string"
  17514. },
  17515. "exexehangecode": {
  17516. "description": "外部交易所代码",
  17517. "type": "string"
  17518. },
  17519. "exexehangeid": {
  17520. "description": "外部交易所id",
  17521. "type": "integer"
  17522. },
  17523. "goodscode": {
  17524. "description": "商品代码(内部)",
  17525. "type": "string"
  17526. },
  17527. "goodsid": {
  17528. "description": "商品ID(自增ID SEQ_GOODS)",
  17529. "type": "integer"
  17530. },
  17531. "goodsname": {
  17532. "description": "商品名称",
  17533. "type": "string"
  17534. },
  17535. "last": {
  17536. "description": "现价",
  17537. "type": "number"
  17538. },
  17539. "marketid": {
  17540. "description": "所属市场ID",
  17541. "type": "integer"
  17542. },
  17543. "openaverageprice": {
  17544. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17545. "type": "number"
  17546. },
  17547. "opencost": {
  17548. "description": "开仓成本",
  17549. "type": "number"
  17550. },
  17551. "openpl": {
  17552. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17553. "type": "number"
  17554. },
  17555. "outgoodscode": {
  17556. "description": "商品代码(外部)",
  17557. "type": "string"
  17558. },
  17559. "positionaverageprice": {
  17560. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17561. "type": "number"
  17562. },
  17563. "positioncost": {
  17564. "description": "持仓成本",
  17565. "type": "number"
  17566. },
  17567. "positionpl": {
  17568. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17569. "type": "number"
  17570. },
  17571. "positionplrate": {
  17572. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17573. "type": "number"
  17574. },
  17575. "usedmargin": {
  17576. "description": "占用保证金",
  17577. "type": "number"
  17578. }
  17579. }
  17580. },
  17581. "ermcp.RealtimeExposurePositionRsp": {
  17582. "type": "object",
  17583. "properties": {
  17584. "agreeunit": {
  17585. "description": "合约单位",
  17586. "type": "string"
  17587. },
  17588. "areauserid": {
  17589. "description": "所属机构id",
  17590. "type": "integer"
  17591. },
  17592. "convertratio": {
  17593. "description": "期货品种系数(折算系数)",
  17594. "type": "number"
  17595. },
  17596. "curqty": {
  17597. "description": "当前持仓",
  17598. "type": "integer"
  17599. },
  17600. "diffhedgeqty": {
  17601. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17602. "type": "number"
  17603. },
  17604. "diffqty": {
  17605. "description": "持仓变动量=当前持仓-昨日持仓",
  17606. "type": "integer"
  17607. },
  17608. "goodscode": {
  17609. "description": "商品代码",
  17610. "type": "string"
  17611. },
  17612. "goodsid": {
  17613. "description": "商品id",
  17614. "type": "integer"
  17615. },
  17616. "goodsname": {
  17617. "description": "商品名称",
  17618. "type": "string"
  17619. },
  17620. "middlegoodsid": {
  17621. "description": "套保商品id",
  17622. "type": "integer"
  17623. },
  17624. "ydqty": {
  17625. "description": "昨日持仓",
  17626. "type": "integer"
  17627. }
  17628. }
  17629. },
  17630. "ermcp.RealtimeExposureRsp": {
  17631. "type": "object",
  17632. "properties": {
  17633. "AreaUserID": {
  17634. "description": "所属机构",
  17635. "type": "integer"
  17636. },
  17637. "BuyFutureQty": {
  17638. "description": "买入期货数量",
  17639. "type": "number"
  17640. },
  17641. "BuyPlanQty": {
  17642. "description": "采购计划数量",
  17643. "type": "number"
  17644. },
  17645. "BuyPricedQty": {
  17646. "description": "采购合同已定价数量",
  17647. "type": "number"
  17648. },
  17649. "MiddleGoodsCode": {
  17650. "description": "套保品种代码",
  17651. "type": "string"
  17652. },
  17653. "MiddleGoodsHedgeRatio": {
  17654. "description": "套保比例",
  17655. "type": "number"
  17656. },
  17657. "MiddleGoodsID": {
  17658. "description": "套保品种",
  17659. "type": "integer"
  17660. },
  17661. "MiddleGoodsName": {
  17662. "description": "套保品种名称",
  17663. "type": "string"
  17664. },
  17665. "NeedHedgeExposoure": {
  17666. "description": "应套保敞口(套保敞口)",
  17667. "type": "number"
  17668. },
  17669. "NeedHedgeRatio": {
  17670. "description": "应套保敞口比例",
  17671. "type": "number"
  17672. },
  17673. "OriBuyFutureQty": {
  17674. "description": "期初买入期货数量",
  17675. "type": "number"
  17676. },
  17677. "OriBuyPlanQty": {
  17678. "description": "期初采购计划数量",
  17679. "type": "number"
  17680. },
  17681. "OriBuyPricedQty": {
  17682. "description": "期初采购合同已定价数量",
  17683. "type": "number"
  17684. },
  17685. "OriSellFutureQty": {
  17686. "description": "期初卖出期货数量",
  17687. "type": "number"
  17688. },
  17689. "OriSellPlanQty": {
  17690. "description": "期初销售计划数量",
  17691. "type": "number"
  17692. },
  17693. "OriSellPricedQty": {
  17694. "description": "期初销售合同已定价数量",
  17695. "type": "number"
  17696. },
  17697. "OriTotalSpotQty": {
  17698. "description": "期初现货总量",
  17699. "type": "number"
  17700. },
  17701. "SellFutureQty": {
  17702. "description": "卖出期货数量",
  17703. "type": "number"
  17704. },
  17705. "SellPlanQty": {
  17706. "description": "销售计划数量",
  17707. "type": "number"
  17708. },
  17709. "SellPricedQty": {
  17710. "description": "销售合同已定价数量",
  17711. "type": "number"
  17712. },
  17713. "TotalExposure": {
  17714. "description": "总敞口 平安:净敞口",
  17715. "type": "number"
  17716. },
  17717. "TotalFutureQty": {
  17718. "description": "期货总量 平安:保值净持仓量",
  17719. "type": "number"
  17720. },
  17721. "TotalHedgeRatio": {
  17722. "description": "敞口比例",
  17723. "type": "number"
  17724. },
  17725. "TotalNeedHedgeQty": {
  17726. "description": "应套保总量(现货应套保总量)",
  17727. "type": "number"
  17728. },
  17729. "TotalSpotQty": {
  17730. "description": "现货总量 平安:采销定价净值",
  17731. "type": "number"
  17732. },
  17733. "arbitrageqty": {
  17734. "description": "套利量",
  17735. "type": "number"
  17736. },
  17737. "diffArbitrageQty": {
  17738. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17739. "type": "number"
  17740. },
  17741. "diffExposoureQty": {
  17742. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17743. "type": "number"
  17744. },
  17745. "diffFutuQty": {
  17746. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17747. "type": "number"
  17748. },
  17749. "diffHedgeQty": {
  17750. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17751. "type": "number"
  17752. },
  17753. "diffQty": {
  17754. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17755. "type": "number"
  17756. },
  17757. "diffSpotHedgeQty": {
  17758. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17759. "type": "number"
  17760. },
  17761. "diffSpotQty": {
  17762. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17763. "type": "number"
  17764. },
  17765. "enumdicname": {
  17766. "description": "单位名称",
  17767. "type": "string"
  17768. },
  17769. "hedgeqty": {
  17770. "description": "套保量",
  17771. "type": "number"
  17772. },
  17773. "needarbitrageqty": {
  17774. "description": "应套利量",
  17775. "type": "number"
  17776. },
  17777. "needarbitrageratio": {
  17778. "description": "套利比例",
  17779. "type": "number"
  17780. },
  17781. "needhedgeqty": {
  17782. "description": "应套保量",
  17783. "type": "number"
  17784. },
  17785. "oriarbitrageqty": {
  17786. "description": "期初套利量",
  17787. "type": "number"
  17788. },
  17789. "orihedgeqty": {
  17790. "description": "期初套保量",
  17791. "type": "number"
  17792. },
  17793. "orineedhedgeexposoure": {
  17794. "description": "期初套保敞口",
  17795. "type": "number"
  17796. },
  17797. "oritotalexposure": {
  17798. "description": "期初总敞口",
  17799. "type": "number"
  17800. },
  17801. "oritotalfutureqty": {
  17802. "description": "期初期货总量",
  17803. "type": "number"
  17804. },
  17805. "oritotalneedhedgeqty": {
  17806. "description": "期初现货应套保量",
  17807. "type": "number"
  17808. }
  17809. }
  17810. },
  17811. "erms2.QueryArbitrageStrategyRsp": {
  17812. "type": "object",
  17813. "required": [
  17814. "asapplyid"
  17815. ],
  17816. "properties": {
  17817. "applybasis": {
  17818. "description": "申请基差",
  17819. "type": "number"
  17820. },
  17821. "asapplyid": {
  17822. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17823. "type": "string"
  17824. },
  17825. "asname": {
  17826. "description": "策略名称",
  17827. "type": "string"
  17828. },
  17829. "asno": {
  17830. "description": "策略编号",
  17831. "type": "string"
  17832. },
  17833. "basischangepl": {
  17834. "description": "基差变动损益[结算更新]",
  17835. "type": "number"
  17836. },
  17837. "biztype": {
  17838. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17839. "type": "integer"
  17840. },
  17841. "closetradedate": {
  17842. "description": "完结交易日(yyyyMMdd)",
  17843. "type": "string"
  17844. },
  17845. "curbasis": {
  17846. "description": "当前基差[结算更新]",
  17847. "type": "number"
  17848. },
  17849. "deliverygoodsid": {
  17850. "description": "现货品种ID",
  17851. "type": "integer"
  17852. },
  17853. "futureavgprice": {
  17854. "description": "期货建仓均价",
  17855. "type": "number"
  17856. },
  17857. "futurecloseamount": {
  17858. "description": "期货平仓金额",
  17859. "type": "number"
  17860. },
  17861. "futurecloseqty": {
  17862. "description": "期货平仓数量",
  17863. "type": "number"
  17864. },
  17865. "futureopenamount": {
  17866. "description": "期货开仓金额",
  17867. "type": "number"
  17868. },
  17869. "futureopenqty": {
  17870. "description": "期货开仓数量",
  17871. "type": "number"
  17872. },
  17873. "futurepl": {
  17874. "description": "期货总盈亏[结算更新]",
  17875. "type": "number"
  17876. },
  17877. "futureqty": {
  17878. "description": "期货持仓数量",
  17879. "type": "number"
  17880. },
  17881. "futurequote": {
  17882. "description": "期货额度",
  17883. "type": "number"
  17884. },
  17885. "goodsgroupid": {
  17886. "description": "期货品种ID",
  17887. "type": "integer"
  17888. },
  17889. "marketid": {
  17890. "description": "市场ID",
  17891. "type": "integer"
  17892. },
  17893. "netexposure": {
  17894. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17895. "type": "number"
  17896. },
  17897. "netexposurepl": {
  17898. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17899. "type": "number"
  17900. },
  17901. "netexposurerate": {
  17902. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17903. "type": "number"
  17904. },
  17905. "openbasis": {
  17906. "description": "建仓基差",
  17907. "type": "number"
  17908. },
  17909. "pricedspotqty": {
  17910. "description": "已定价现货数量",
  17911. "type": "number"
  17912. },
  17913. "pricedspotqtynotax": {
  17914. "description": "已定价现货不含税数量",
  17915. "type": "number"
  17916. },
  17917. "remark": {
  17918. "description": "备注",
  17919. "type": "string"
  17920. },
  17921. "spotavgprice": {
  17922. "description": "现货均价",
  17923. "type": "number"
  17924. },
  17925. "spotbuyamount": {
  17926. "description": "现货采购金额",
  17927. "type": "number"
  17928. },
  17929. "spotbuyqty": {
  17930. "description": "现货采购数量",
  17931. "type": "number"
  17932. },
  17933. "spotpl": {
  17934. "description": "现货总盈亏[结算更新]",
  17935. "type": "number"
  17936. },
  17937. "spotquota": {
  17938. "description": "现货额度",
  17939. "type": "number"
  17940. },
  17941. "spotsellamount": {
  17942. "description": "现货销售金额",
  17943. "type": "number"
  17944. },
  17945. "spotsellqty": {
  17946. "description": "现货销售数量",
  17947. "type": "number"
  17948. },
  17949. "spotusedquota": {
  17950. "description": "现货占用资金",
  17951. "type": "number"
  17952. },
  17953. "strategystatus": {
  17954. "description": "策略状态 - 0:未结束 1:已结束",
  17955. "type": "integer"
  17956. },
  17957. "totalpl": {
  17958. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17959. "type": "number"
  17960. },
  17961. "tradedate": {
  17962. "description": "交易日(yyyyMMdd)",
  17963. "type": "string"
  17964. },
  17965. "updatetime": {
  17966. "description": "更新时间",
  17967. "type": "string"
  17968. },
  17969. "usedquota": {
  17970. "description": "已占用资金",
  17971. "type": "number"
  17972. },
  17973. "userid": {
  17974. "description": "所属机构",
  17975. "type": "integer"
  17976. }
  17977. }
  17978. },
  17979. "erms2.QueryInnerTradeDetailRsp": {
  17980. "type": "object",
  17981. "required": [
  17982. "asapplyid",
  17983. "buyorsell",
  17984. "goodscode",
  17985. "goodsgroupid",
  17986. "goodsgroupname",
  17987. "goodsname",
  17988. "tradeid"
  17989. ],
  17990. "properties": {
  17991. "accountid": {
  17992. "description": "账号ID",
  17993. "type": "integer"
  17994. },
  17995. "agreeunit": {
  17996. "description": "合约单位",
  17997. "type": "number"
  17998. },
  17999. "asapplyid": {
  18000. "description": "策略申请ID",
  18001. "type": "integer"
  18002. },
  18003. "asname": {
  18004. "description": "策略名称",
  18005. "type": "string"
  18006. },
  18007. "asno": {
  18008. "description": "策略编号",
  18009. "type": "string"
  18010. },
  18011. "buyorsell": {
  18012. "description": "方向 - 0:买 1:卖",
  18013. "type": "integer"
  18014. },
  18015. "channelbuildtype": {
  18016. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18017. "type": "integer"
  18018. },
  18019. "closetype": {
  18020. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18021. "type": "integer"
  18022. },
  18023. "decimalplace": {
  18024. "description": "报价小数位",
  18025. "type": "integer"
  18026. },
  18027. "detailtype": {
  18028. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  18029. "type": "integer"
  18030. },
  18031. "exexchangecode": {
  18032. "description": "外部交易所代码",
  18033. "type": "string"
  18034. },
  18035. "exexchangename": {
  18036. "description": "外部交易所名称",
  18037. "type": "string"
  18038. },
  18039. "goodscode": {
  18040. "description": "商品代码(合约)",
  18041. "type": "string"
  18042. },
  18043. "goodsgroupid": {
  18044. "description": "商品组ID(品种ID)",
  18045. "type": "integer"
  18046. },
  18047. "goodsgroupname": {
  18048. "description": "商品组名称(品种)",
  18049. "type": "string"
  18050. },
  18051. "goodsid": {
  18052. "description": "商品ID",
  18053. "type": "integer"
  18054. },
  18055. "goodsname": {
  18056. "description": "商品名称(合约)",
  18057. "type": "string"
  18058. },
  18059. "goodunit": {
  18060. "description": "报价单位",
  18061. "type": "string"
  18062. },
  18063. "marketid": {
  18064. "description": "市场ID",
  18065. "type": "integer"
  18066. },
  18067. "orderid": {
  18068. "description": "委托单号",
  18069. "type": "string"
  18070. },
  18071. "outgoodscode": {
  18072. "description": "商品代码(外部)",
  18073. "type": "string"
  18074. },
  18075. "relatedouttradeid": {
  18076. "description": "关联外部成交单ID",
  18077. "type": "string"
  18078. },
  18079. "remark": {
  18080. "description": "备注",
  18081. "type": "string"
  18082. },
  18083. "spotcontractid": {
  18084. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  18085. "type": "integer"
  18086. },
  18087. "spotcontractno": {
  18088. "description": "现货合同编号",
  18089. "type": "string"
  18090. },
  18091. "tradeid": {
  18092. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18093. "type": "string"
  18094. },
  18095. "tradeprice": {
  18096. "description": "成交价格",
  18097. "type": "number"
  18098. },
  18099. "tradeqty": {
  18100. "description": "成交数量",
  18101. "type": "integer"
  18102. },
  18103. "tradetime": {
  18104. "description": "成交时间",
  18105. "type": "string"
  18106. },
  18107. "updatetime": {
  18108. "description": "更新时间",
  18109. "type": "string"
  18110. }
  18111. }
  18112. },
  18113. "erms2.QuerySpotContractRsp": {
  18114. "type": "object",
  18115. "required": [
  18116. "spotcontractid"
  18117. ],
  18118. "properties": {
  18119. "accountid": {
  18120. "description": "资金账户ID",
  18121. "type": "integer"
  18122. },
  18123. "areauserid": {
  18124. "description": "所属机构",
  18125. "type": "integer"
  18126. },
  18127. "closedate": {
  18128. "description": "终止日期",
  18129. "type": "string"
  18130. },
  18131. "closeremark": {
  18132. "description": "结束备注",
  18133. "type": "string"
  18134. },
  18135. "closetradedate": {
  18136. "description": "完结交易日(yyyyMMdd)",
  18137. "type": "string"
  18138. },
  18139. "closetype": {
  18140. "description": "终止类型 - 1:违约 2:提前终止",
  18141. "type": "integer"
  18142. },
  18143. "contractamount": {
  18144. "description": "合同金额",
  18145. "type": "number"
  18146. },
  18147. "contractattachment": {
  18148. "description": "合同附件",
  18149. "type": "string"
  18150. },
  18151. "contractno": {
  18152. "description": "现货合同编号",
  18153. "type": "string"
  18154. },
  18155. "contractqty": {
  18156. "description": "合同数量(数值) (用于计算)",
  18157. "type": "number"
  18158. },
  18159. "contractqtychar": {
  18160. "description": "合同数量\\已订价数量 (用于显示)",
  18161. "type": "string"
  18162. },
  18163. "contractstatus": {
  18164. "description": "合同状态 - 0:未结束 1:已结束",
  18165. "type": "integer"
  18166. },
  18167. "contracttype": {
  18168. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  18169. "type": "integer"
  18170. },
  18171. "customeraccountid": {
  18172. "description": "客户资金账户ID",
  18173. "type": "integer"
  18174. },
  18175. "customeruserid": {
  18176. "description": "客户ID",
  18177. "type": "integer"
  18178. },
  18179. "deliverygoodsdesc": {
  18180. "description": "品种说明",
  18181. "type": "string"
  18182. },
  18183. "deliverygoodsid": {
  18184. "description": "现货品种ID",
  18185. "type": "integer"
  18186. },
  18187. "handlestatus": {
  18188. "description": "处理状态",
  18189. "type": "integer"
  18190. },
  18191. "invoiceatt": {
  18192. "description": "发票附件",
  18193. "type": "string"
  18194. },
  18195. "invoicedatetime": {
  18196. "description": "开收票更新时间",
  18197. "type": "string"
  18198. },
  18199. "invoiceopentime": {
  18200. "description": "开票时间",
  18201. "type": "string"
  18202. },
  18203. "invoiceremark": {
  18204. "description": "发票备注",
  18205. "type": "string"
  18206. },
  18207. "invoicestatus": {
  18208. "description": "开收票状态 - 0:未开票 1:已开票",
  18209. "type": "integer"
  18210. },
  18211. "lastdate": {
  18212. "description": "交货时间",
  18213. "type": "string"
  18214. },
  18215. "marketid": {
  18216. "description": "市场ID",
  18217. "type": "integer"
  18218. },
  18219. "paydatetime": {
  18220. "description": "收付款更新时间",
  18221. "type": "string"
  18222. },
  18223. "payremark": {
  18224. "description": "收付款备注",
  18225. "type": "string"
  18226. },
  18227. "paystatus": {
  18228. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  18229. "type": "integer"
  18230. },
  18231. "positionqty": {
  18232. "description": "头寸数量 - 合同数量去小数部分",
  18233. "type": "integer"
  18234. },
  18235. "producttype": {
  18236. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18237. "type": "integer"
  18238. },
  18239. "relatedqty": {
  18240. "description": "已关联数量",
  18241. "type": "number"
  18242. },
  18243. "relatedstatus": {
  18244. "description": "关联完结状态 - 0:未结束 1:已结束",
  18245. "type": "integer"
  18246. },
  18247. "remark": {
  18248. "description": "备注",
  18249. "type": "string"
  18250. },
  18251. "signdate": {
  18252. "description": "签订日期",
  18253. "type": "string"
  18254. },
  18255. "spotcontractid": {
  18256. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  18257. "type": "string"
  18258. },
  18259. "spotdatetime": {
  18260. "description": "收发货更新时间",
  18261. "type": "string"
  18262. },
  18263. "spotprice": {
  18264. "description": "价格",
  18265. "type": "number"
  18266. },
  18267. "spotremark": {
  18268. "description": "收发货备注",
  18269. "type": "string"
  18270. },
  18271. "spotstatus": {
  18272. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  18273. "type": "integer"
  18274. },
  18275. "tradedate": {
  18276. "description": "交易日(yyyyMMdd)",
  18277. "type": "string"
  18278. },
  18279. "userid": {
  18280. "description": "业务员用户ID",
  18281. "type": "integer"
  18282. },
  18283. "warehouseid": {
  18284. "description": "仓库ID",
  18285. "type": "integer"
  18286. },
  18287. "wrfactortypeid": {
  18288. "description": "仓单要素类型ID",
  18289. "type": "integer"
  18290. },
  18291. "wrstandardid": {
  18292. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  18293. "type": "integer"
  18294. }
  18295. }
  18296. },
  18297. "erms3.AddErms2ASApplyReq": {
  18298. "type": "object",
  18299. "required": [
  18300. "asapplyid"
  18301. ],
  18302. "properties": {
  18303. "applybasis": {
  18304. "description": "申请基差",
  18305. "type": "number"
  18306. },
  18307. "applystatus": {
  18308. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18309. "type": "integer"
  18310. },
  18311. "asapplyid": {
  18312. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  18313. "type": "integer"
  18314. },
  18315. "asname": {
  18316. "description": "策略名称",
  18317. "type": "string"
  18318. },
  18319. "asno": {
  18320. "description": "策略编号",
  18321. "type": "string"
  18322. },
  18323. "auditid": {
  18324. "description": "审核人",
  18325. "type": "integer"
  18326. },
  18327. "auditremark": {
  18328. "description": "审核备注",
  18329. "type": "string"
  18330. },
  18331. "audittime": {
  18332. "description": "审核时间",
  18333. "type": "string"
  18334. },
  18335. "biztype": {
  18336. "description": "业务类型 - 1:正向套利 2:反向套利",
  18337. "type": "integer"
  18338. },
  18339. "createtime": {
  18340. "description": "创建时间",
  18341. "type": "string"
  18342. },
  18343. "creatorid": {
  18344. "description": "创建人",
  18345. "type": "integer"
  18346. },
  18347. "deliverygoodsid": {
  18348. "description": "现货品种ID",
  18349. "type": "integer"
  18350. },
  18351. "futurequote": {
  18352. "description": "期货额度",
  18353. "type": "number"
  18354. },
  18355. "goodsgroupid": {
  18356. "description": "期货品种ID",
  18357. "type": "integer"
  18358. },
  18359. "marketid": {
  18360. "description": "市场ID",
  18361. "type": "integer"
  18362. },
  18363. "remark": {
  18364. "description": "备注",
  18365. "type": "string"
  18366. },
  18367. "spotquota": {
  18368. "description": "现货额度",
  18369. "type": "number"
  18370. },
  18371. "tradedate": {
  18372. "description": "交易日(yyyyMMdd)",
  18373. "type": "string"
  18374. },
  18375. "userid": {
  18376. "description": "所属机构",
  18377. "type": "integer"
  18378. }
  18379. }
  18380. },
  18381. "erms3.AddErms2SpotTradeApplyReq": {
  18382. "type": "object",
  18383. "required": [
  18384. "spottradeid"
  18385. ],
  18386. "properties": {
  18387. "applyjsondetail": {
  18388. "description": "申请明细(JSON)",
  18389. "type": "string"
  18390. },
  18391. "applystatus": {
  18392. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18393. "type": "integer"
  18394. },
  18395. "areauserid": {
  18396. "description": "所属机构",
  18397. "type": "integer"
  18398. },
  18399. "auditid": {
  18400. "description": "审核人",
  18401. "type": "integer"
  18402. },
  18403. "auditremark": {
  18404. "description": "审核备注",
  18405. "type": "string"
  18406. },
  18407. "audittime": {
  18408. "description": "审核时间",
  18409. "type": "string"
  18410. },
  18411. "createtime": {
  18412. "description": "创建时间",
  18413. "type": "string"
  18414. },
  18415. "creatorid": {
  18416. "description": "创建人",
  18417. "type": "integer"
  18418. },
  18419. "deliverygoodsid": {
  18420. "description": "现货品种ID",
  18421. "type": "integer"
  18422. },
  18423. "futureaccountid": {
  18424. "description": "期货资金账户",
  18425. "type": "integer"
  18426. },
  18427. "goodsgroupid": {
  18428. "description": "期货品种",
  18429. "type": "integer"
  18430. },
  18431. "marketid": {
  18432. "description": "市场ID",
  18433. "type": "integer"
  18434. },
  18435. "remark": {
  18436. "description": "备注",
  18437. "type": "string"
  18438. },
  18439. "spotaccountid": {
  18440. "description": "现货资金账户",
  18441. "type": "integer"
  18442. },
  18443. "spottradeid": {
  18444. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  18445. "type": "integer"
  18446. },
  18447. "spottradename": {
  18448. "description": "业务名称",
  18449. "type": "string"
  18450. },
  18451. "spottradeno": {
  18452. "description": "业务编号",
  18453. "type": "string"
  18454. },
  18455. "tradedate": {
  18456. "description": "交易日(yyyyMMdd)",
  18457. "type": "string"
  18458. },
  18459. "wrstandardid": {
  18460. "description": "仓单标准ID",
  18461. "type": "integer"
  18462. }
  18463. }
  18464. },
  18465. "erms3.AddSpotContractApplyReq": {
  18466. "type": "object",
  18467. "required": [
  18468. "accountid",
  18469. "areauserid",
  18470. "contractno",
  18471. "contracttype",
  18472. "customeraccountid",
  18473. "customeruserid",
  18474. "details",
  18475. "orimargin",
  18476. "signdate"
  18477. ],
  18478. "properties": {
  18479. "accountid": {
  18480. "description": "资金账户ID",
  18481. "type": "integer"
  18482. },
  18483. "areauserid": {
  18484. "description": "所属机构",
  18485. "type": "integer"
  18486. },
  18487. "contractattachment": {
  18488. "description": "合同附件",
  18489. "type": "string"
  18490. },
  18491. "contractno": {
  18492. "description": "现货合同编号",
  18493. "type": "string"
  18494. },
  18495. "contracttype": {
  18496. "description": "现货合同类型 - 1:采购 -1:销售",
  18497. "type": "integer"
  18498. },
  18499. "creatorid": {
  18500. "description": "申请人",
  18501. "type": "integer"
  18502. },
  18503. "customeraccountid": {
  18504. "description": "客户资金账户ID",
  18505. "type": "integer"
  18506. },
  18507. "customeruserid": {
  18508. "description": "客户ID",
  18509. "type": "integer"
  18510. },
  18511. "details": {
  18512. "description": "明细",
  18513. "type": "array",
  18514. "items": {
  18515. "$ref": "#/definitions/erms3.SoptContractDetail"
  18516. }
  18517. },
  18518. "orimargin": {
  18519. "description": "初始保证金",
  18520. "type": "number"
  18521. },
  18522. "remark": {
  18523. "description": "备注",
  18524. "type": "string"
  18525. },
  18526. "signdate": {
  18527. "description": "签订日期",
  18528. "type": "string"
  18529. }
  18530. }
  18531. },
  18532. "erms3.AddSpotContractApplyRsp": {
  18533. "type": "object",
  18534. "required": [
  18535. "contractno"
  18536. ],
  18537. "properties": {
  18538. "contractno": {
  18539. "description": "现货合同编号",
  18540. "type": "string"
  18541. },
  18542. "spotcontractid": {
  18543. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18544. "type": "integer"
  18545. }
  18546. }
  18547. },
  18548. "erms3.AddUserInfoApplyReq": {
  18549. "type": "object",
  18550. "required": [
  18551. "userid"
  18552. ],
  18553. "properties": {
  18554. "accountid": {
  18555. "description": "交易系统帐号Id (加密存储)",
  18556. "type": "integer"
  18557. },
  18558. "areacode": {
  18559. "description": "机构代码",
  18560. "type": "string"
  18561. },
  18562. "areaid": {
  18563. "description": "机构Id",
  18564. "type": "integer"
  18565. },
  18566. "attachment1": {
  18567. "description": "附件1",
  18568. "type": "string"
  18569. },
  18570. "attachment2": {
  18571. "description": "附件2",
  18572. "type": "string"
  18573. },
  18574. "attachment3": {
  18575. "description": "附件3",
  18576. "type": "string"
  18577. },
  18578. "attachment4": {
  18579. "description": "附件4",
  18580. "type": "string"
  18581. },
  18582. "attachment5": {
  18583. "description": "附件5",
  18584. "type": "string"
  18585. },
  18586. "auditedby": {
  18587. "description": "审核人",
  18588. "type": "string"
  18589. },
  18590. "auditime": {
  18591. "description": "审核时间",
  18592. "type": "string"
  18593. },
  18594. "auditsrc": {
  18595. "description": "审核来源 - 1:管理端 2:终端",
  18596. "type": "integer"
  18597. },
  18598. "bankaccount": {
  18599. "description": "银行帐号 (加密存储)",
  18600. "type": "string"
  18601. },
  18602. "bankaccountname": {
  18603. "description": "收款人名称",
  18604. "type": "string"
  18605. },
  18606. "bankcardbackphotourl": {
  18607. "description": "银行卡背面照地址",
  18608. "type": "string"
  18609. },
  18610. "bankcardfrontphotourl": {
  18611. "description": "银行卡正面照地址",
  18612. "type": "string"
  18613. },
  18614. "bankid": {
  18615. "description": "银行编码",
  18616. "type": "string"
  18617. },
  18618. "bankname": {
  18619. "description": "银行名称",
  18620. "type": "string"
  18621. },
  18622. "bankpictureurl": {
  18623. "description": "银行卡正面地址",
  18624. "type": "string"
  18625. },
  18626. "biznature": {
  18627. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18628. "type": "integer"
  18629. },
  18630. "bizscope": {
  18631. "description": "企业经营范围(企业)",
  18632. "type": "string"
  18633. },
  18634. "biztype": {
  18635. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18636. "type": "integer"
  18637. },
  18638. "brokerid": {
  18639. "description": "经纪人ID(加密存储)",
  18640. "type": "string"
  18641. },
  18642. "cardaddress": {
  18643. "description": "证件地址 (加密存储)",
  18644. "type": "string"
  18645. },
  18646. "cardbackphotourl": {
  18647. "description": "背面证件照地址",
  18648. "type": "string"
  18649. },
  18650. "cardfrontphotourl": {
  18651. "description": "正面证件照地址",
  18652. "type": "string"
  18653. },
  18654. "cardnum": {
  18655. "description": "证件号码 (加密存储)",
  18656. "type": "string"
  18657. },
  18658. "cardtype": {
  18659. "description": "证件类型",
  18660. "type": "integer"
  18661. },
  18662. "cityid": {
  18663. "description": "市",
  18664. "type": "integer"
  18665. },
  18666. "company": {
  18667. "description": "公司(个人)",
  18668. "type": "string"
  18669. },
  18670. "contactcardbackphotourl": {
  18671. "description": "联系人证件背面图片地址",
  18672. "type": "string"
  18673. },
  18674. "contactcardfrontphotourl": {
  18675. "description": "联系人证件正面图片地址",
  18676. "type": "string"
  18677. },
  18678. "contactname": {
  18679. "description": "联系人",
  18680. "type": "string"
  18681. },
  18682. "countryid": {
  18683. "description": "国家",
  18684. "type": "integer"
  18685. },
  18686. "createtime": {
  18687. "description": "开户申请时间",
  18688. "type": "string"
  18689. },
  18690. "cusbankid": {
  18691. "description": "签约类型",
  18692. "type": "string"
  18693. },
  18694. "cusbankname": {
  18695. "description": "签约类型名称",
  18696. "type": "string"
  18697. },
  18698. "customername": {
  18699. "description": "客户名称(企业名称)",
  18700. "type": "string"
  18701. },
  18702. "districtid": {
  18703. "description": "地区",
  18704. "type": "integer"
  18705. },
  18706. "email": {
  18707. "description": "Email地址(加密存储)",
  18708. "type": "string"
  18709. },
  18710. "halfbodyphotourl": {
  18711. "description": "半身照地址",
  18712. "type": "string"
  18713. },
  18714. "headurl": {
  18715. "description": "头像地址",
  18716. "type": "string"
  18717. },
  18718. "ipaddress": {
  18719. "description": "IP地址",
  18720. "type": "string"
  18721. },
  18722. "isvalidate": {
  18723. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18724. "type": "string"
  18725. },
  18726. "legalcardbackphotourl": {
  18727. "description": "法人身份证背面照地址",
  18728. "type": "string"
  18729. },
  18730. "legalcardfrontphotourl": {
  18731. "description": "法人身份证正面照地址",
  18732. "type": "string"
  18733. },
  18734. "legalpersonname": {
  18735. "description": "法人姓名(企业)",
  18736. "type": "string"
  18737. },
  18738. "logincode": {
  18739. "description": "登录帐号 (加密存储)",
  18740. "type": "string"
  18741. },
  18742. "memberareaid": {
  18743. "description": "所属会员ID",
  18744. "type": "integer"
  18745. },
  18746. "mobile2": {
  18747. "description": "手机号码[明文-尚志]",
  18748. "type": "string"
  18749. },
  18750. "mobilephone": {
  18751. "description": "手机号码 (加密存储)",
  18752. "type": "string"
  18753. },
  18754. "modifiedby": {
  18755. "description": "修改人帐号",
  18756. "type": "integer"
  18757. },
  18758. "modifiedtime": {
  18759. "description": "修改时间",
  18760. "type": "string"
  18761. },
  18762. "nickname": {
  18763. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18764. "type": "string"
  18765. },
  18766. "openmode": {
  18767. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18768. "type": "integer"
  18769. },
  18770. "otherurl": {
  18771. "description": "其它图片地址[使用分号分隔]",
  18772. "type": "string"
  18773. },
  18774. "postalcode": {
  18775. "description": "邮政编码",
  18776. "type": "string"
  18777. },
  18778. "provinceid": {
  18779. "description": "省",
  18780. "type": "integer"
  18781. },
  18782. "proxystatementurl": {
  18783. "description": "授权委托书",
  18784. "type": "string"
  18785. },
  18786. "qq": {
  18787. "description": "QQ(加密存储",
  18788. "type": "string"
  18789. },
  18790. "referral": {
  18791. "description": "推荐人编码",
  18792. "type": "string"
  18793. },
  18794. "remark": {
  18795. "description": "备注",
  18796. "type": "string"
  18797. },
  18798. "removebeforestatus": {
  18799. "description": "REMOVEBEFORESTATUS",
  18800. "type": "integer"
  18801. },
  18802. "sex": {
  18803. "description": "性别 - 0:女 1:男",
  18804. "type": "integer"
  18805. },
  18806. "signedstatus": {
  18807. "description": "账户一号签签约状态",
  18808. "type": "integer"
  18809. },
  18810. "signpdfurl": {
  18811. "description": "签约pdf文件",
  18812. "type": "string"
  18813. },
  18814. "subbranch": {
  18815. "description": "开户支行",
  18816. "type": "string"
  18817. },
  18818. "taxpayernum": {
  18819. "description": "纳税人识别号",
  18820. "type": "string"
  18821. },
  18822. "telphone": {
  18823. "description": "联系电话(加密存储)",
  18824. "type": "string"
  18825. },
  18826. "userid": {
  18827. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18828. "type": "integer"
  18829. },
  18830. "userinfotype": {
  18831. "description": "用户信息类型 - 1:个人 2:企业",
  18832. "type": "integer"
  18833. },
  18834. "username": {
  18835. "description": "用户姓名",
  18836. "type": "string"
  18837. },
  18838. "userstate": {
  18839. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18840. "type": "integer"
  18841. },
  18842. "usertype": {
  18843. "description": "用户类型 - 1:投资者 2:机构",
  18844. "type": "integer"
  18845. },
  18846. "videourl": {
  18847. "description": "视频地址",
  18848. "type": "string"
  18849. },
  18850. "wechat": {
  18851. "description": "微信号 (加密存储)",
  18852. "type": "string"
  18853. }
  18854. }
  18855. },
  18856. "erms3.CustomerInfo": {
  18857. "type": "object",
  18858. "required": [
  18859. "userid"
  18860. ],
  18861. "properties": {
  18862. "accountids": {
  18863. "description": "资金账户ID列表",
  18864. "type": "array",
  18865. "items": {
  18866. "type": "integer"
  18867. }
  18868. },
  18869. "customername": {
  18870. "description": "名称(企业名称)",
  18871. "type": "string"
  18872. },
  18873. "mobile": {
  18874. "description": "手机号码",
  18875. "type": "string"
  18876. },
  18877. "userid": {
  18878. "description": "用户ID",
  18879. "type": "integer"
  18880. }
  18881. }
  18882. },
  18883. "erms3.ModifyUserInfoApplyReq": {
  18884. "type": "object",
  18885. "required": [
  18886. "userid"
  18887. ],
  18888. "properties": {
  18889. "accountid": {
  18890. "description": "交易系统帐号Id (加密存储)",
  18891. "type": "integer"
  18892. },
  18893. "areacode": {
  18894. "description": "机构代码",
  18895. "type": "string"
  18896. },
  18897. "areaid": {
  18898. "description": "机构Id",
  18899. "type": "integer"
  18900. },
  18901. "attachment1": {
  18902. "description": "附件1",
  18903. "type": "string"
  18904. },
  18905. "attachment2": {
  18906. "description": "附件2",
  18907. "type": "string"
  18908. },
  18909. "attachment3": {
  18910. "description": "附件3",
  18911. "type": "string"
  18912. },
  18913. "attachment4": {
  18914. "description": "附件4",
  18915. "type": "string"
  18916. },
  18917. "attachment5": {
  18918. "description": "附件5",
  18919. "type": "string"
  18920. },
  18921. "auditedby": {
  18922. "description": "审核人",
  18923. "type": "string"
  18924. },
  18925. "auditime": {
  18926. "description": "审核时间",
  18927. "type": "string"
  18928. },
  18929. "auditsrc": {
  18930. "description": "审核来源 - 1:管理端 2:终端",
  18931. "type": "integer"
  18932. },
  18933. "bankaccount": {
  18934. "description": "银行帐号 (加密存储)",
  18935. "type": "string"
  18936. },
  18937. "bankaccountname": {
  18938. "description": "收款人名称",
  18939. "type": "string"
  18940. },
  18941. "bankcardbackphotourl": {
  18942. "description": "银行卡背面照地址",
  18943. "type": "string"
  18944. },
  18945. "bankcardfrontphotourl": {
  18946. "description": "银行卡正面照地址",
  18947. "type": "string"
  18948. },
  18949. "bankid": {
  18950. "description": "银行编码",
  18951. "type": "string"
  18952. },
  18953. "bankname": {
  18954. "description": "银行名称",
  18955. "type": "string"
  18956. },
  18957. "bankpictureurl": {
  18958. "description": "银行卡正面地址",
  18959. "type": "string"
  18960. },
  18961. "biznature": {
  18962. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18963. "type": "integer"
  18964. },
  18965. "bizscope": {
  18966. "description": "企业经营范围(企业)",
  18967. "type": "string"
  18968. },
  18969. "biztype": {
  18970. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18971. "type": "integer"
  18972. },
  18973. "brokerid": {
  18974. "description": "经纪人ID(加密存储)",
  18975. "type": "string"
  18976. },
  18977. "cardaddress": {
  18978. "description": "证件地址 (加密存储)",
  18979. "type": "string"
  18980. },
  18981. "cardbackphotourl": {
  18982. "description": "背面证件照地址",
  18983. "type": "string"
  18984. },
  18985. "cardfrontphotourl": {
  18986. "description": "正面证件照地址",
  18987. "type": "string"
  18988. },
  18989. "cardnum": {
  18990. "description": "证件号码 (加密存储)",
  18991. "type": "string"
  18992. },
  18993. "cardtype": {
  18994. "description": "证件类型",
  18995. "type": "integer"
  18996. },
  18997. "cityid": {
  18998. "description": "市",
  18999. "type": "integer"
  19000. },
  19001. "company": {
  19002. "description": "公司(个人)",
  19003. "type": "string"
  19004. },
  19005. "contactcardbackphotourl": {
  19006. "description": "联系人证件背面图片地址",
  19007. "type": "string"
  19008. },
  19009. "contactcardfrontphotourl": {
  19010. "description": "联系人证件正面图片地址",
  19011. "type": "string"
  19012. },
  19013. "contactname": {
  19014. "description": "联系人",
  19015. "type": "string"
  19016. },
  19017. "countryid": {
  19018. "description": "国家",
  19019. "type": "integer"
  19020. },
  19021. "createtime": {
  19022. "description": "开户申请时间",
  19023. "type": "string"
  19024. },
  19025. "cusbankid": {
  19026. "description": "签约类型",
  19027. "type": "string"
  19028. },
  19029. "cusbankname": {
  19030. "description": "签约类型名称",
  19031. "type": "string"
  19032. },
  19033. "customername": {
  19034. "description": "客户名称(企业名称)",
  19035. "type": "string"
  19036. },
  19037. "districtid": {
  19038. "description": "地区",
  19039. "type": "integer"
  19040. },
  19041. "email": {
  19042. "description": "Email地址(加密存储)",
  19043. "type": "string"
  19044. },
  19045. "halfbodyphotourl": {
  19046. "description": "半身照地址",
  19047. "type": "string"
  19048. },
  19049. "headurl": {
  19050. "description": "头像地址",
  19051. "type": "string"
  19052. },
  19053. "ipaddress": {
  19054. "description": "IP地址",
  19055. "type": "string"
  19056. },
  19057. "isvalidate": {
  19058. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19059. "type": "string"
  19060. },
  19061. "legalcardbackphotourl": {
  19062. "description": "法人身份证背面照地址",
  19063. "type": "string"
  19064. },
  19065. "legalcardfrontphotourl": {
  19066. "description": "法人身份证正面照地址",
  19067. "type": "string"
  19068. },
  19069. "legalpersonname": {
  19070. "description": "法人姓名(企业)",
  19071. "type": "string"
  19072. },
  19073. "logincode": {
  19074. "description": "登录帐号 (加密存储)",
  19075. "type": "string"
  19076. },
  19077. "memberareaid": {
  19078. "description": "所属会员ID",
  19079. "type": "integer"
  19080. },
  19081. "mobile2": {
  19082. "description": "手机号码[明文-尚志]",
  19083. "type": "string"
  19084. },
  19085. "mobilephone": {
  19086. "description": "手机号码 (加密存储)",
  19087. "type": "string"
  19088. },
  19089. "modifiedby": {
  19090. "description": "修改人帐号",
  19091. "type": "integer"
  19092. },
  19093. "modifiedtime": {
  19094. "description": "修改时间",
  19095. "type": "string"
  19096. },
  19097. "nickname": {
  19098. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19099. "type": "string"
  19100. },
  19101. "openmode": {
  19102. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19103. "type": "integer"
  19104. },
  19105. "otherurl": {
  19106. "description": "其它图片地址[使用分号分隔]",
  19107. "type": "string"
  19108. },
  19109. "postalcode": {
  19110. "description": "邮政编码",
  19111. "type": "string"
  19112. },
  19113. "provinceid": {
  19114. "description": "省",
  19115. "type": "integer"
  19116. },
  19117. "proxystatementurl": {
  19118. "description": "授权委托书",
  19119. "type": "string"
  19120. },
  19121. "qq": {
  19122. "description": "QQ(加密存储",
  19123. "type": "string"
  19124. },
  19125. "referral": {
  19126. "description": "推荐人编码",
  19127. "type": "string"
  19128. },
  19129. "remark": {
  19130. "description": "备注",
  19131. "type": "string"
  19132. },
  19133. "removebeforestatus": {
  19134. "description": "REMOVEBEFORESTATUS",
  19135. "type": "integer"
  19136. },
  19137. "sex": {
  19138. "description": "性别 - 0:女 1:男",
  19139. "type": "integer"
  19140. },
  19141. "signedstatus": {
  19142. "description": "账户一号签签约状态",
  19143. "type": "integer"
  19144. },
  19145. "signpdfurl": {
  19146. "description": "签约pdf文件",
  19147. "type": "string"
  19148. },
  19149. "subbranch": {
  19150. "description": "开户支行",
  19151. "type": "string"
  19152. },
  19153. "taxpayernum": {
  19154. "description": "纳税人识别号",
  19155. "type": "string"
  19156. },
  19157. "telphone": {
  19158. "description": "联系电话(加密存储)",
  19159. "type": "string"
  19160. },
  19161. "userid": {
  19162. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19163. "type": "integer"
  19164. },
  19165. "userinfotype": {
  19166. "description": "用户信息类型 - 1:个人 2:企业",
  19167. "type": "integer"
  19168. },
  19169. "username": {
  19170. "description": "用户姓名",
  19171. "type": "string"
  19172. },
  19173. "userstate": {
  19174. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19175. "type": "integer"
  19176. },
  19177. "usertype": {
  19178. "description": "用户类型 - 1:投资者 2:机构",
  19179. "type": "integer"
  19180. },
  19181. "videourl": {
  19182. "description": "视频地址",
  19183. "type": "string"
  19184. },
  19185. "wechat": {
  19186. "description": "微信号 (加密存储)",
  19187. "type": "string"
  19188. }
  19189. }
  19190. },
  19191. "erms3.QryAuditContractRsp": {
  19192. "type": "object",
  19193. "required": [
  19194. "matchcustomername",
  19195. "spotcontractid"
  19196. ],
  19197. "properties": {
  19198. "accountid": {
  19199. "description": "交易员ID",
  19200. "type": "string"
  19201. },
  19202. "applystatus": {
  19203. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19204. "type": "integer"
  19205. },
  19206. "curdeliveryqty": {
  19207. "description": "未交收量",
  19208. "type": "integer"
  19209. },
  19210. "customername": {
  19211. "description": "采购方ID",
  19212. "type": "string"
  19213. },
  19214. "deliverygoodsid": {
  19215. "description": "品种ID",
  19216. "type": "string"
  19217. },
  19218. "deliveryqty": {
  19219. "description": "交收量",
  19220. "type": "integer"
  19221. },
  19222. "enumdicname": {
  19223. "description": "单位名称",
  19224. "type": "string"
  19225. },
  19226. "matchaccountid": {
  19227. "description": "业务员ID",
  19228. "type": "string"
  19229. },
  19230. "matchcustomername": {
  19231. "description": "销售方ID",
  19232. "type": "string"
  19233. },
  19234. "pricedqty": {
  19235. "description": "定价量",
  19236. "type": "number"
  19237. },
  19238. "signdate": {
  19239. "description": "签订日期",
  19240. "type": "string"
  19241. },
  19242. "spotcontractid": {
  19243. "description": "合同ID",
  19244. "type": "string"
  19245. },
  19246. "totaldqty": {
  19247. "description": "合同量",
  19248. "type": "number"
  19249. },
  19250. "unpricedqty": {
  19251. "description": "未定价量",
  19252. "type": "number"
  19253. },
  19254. "wrstandardname": {
  19255. "description": "商品名称",
  19256. "type": "string"
  19257. }
  19258. }
  19259. },
  19260. "erms3.QryPendingBizRsp": {
  19261. "type": "object",
  19262. "properties": {
  19263. "accountid": {
  19264. "description": "现货账户",
  19265. "type": "string"
  19266. },
  19267. "areaname": {
  19268. "description": "所属部门",
  19269. "type": "string"
  19270. },
  19271. "bizid": {
  19272. "description": "业务ID",
  19273. "type": "string"
  19274. },
  19275. "bizname": {
  19276. "description": "业务名称",
  19277. "type": "string"
  19278. },
  19279. "status": {
  19280. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19281. "type": "integer"
  19282. },
  19283. "type": {
  19284. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19285. "type": "integer"
  19286. }
  19287. }
  19288. },
  19289. "erms3.QueryBusinessInfoRsp": {
  19290. "type": "object",
  19291. "properties": {
  19292. "businessid": {
  19293. "description": "业务ID.",
  19294. "type": "integer"
  19295. },
  19296. "buyamount": {
  19297. "description": "采购额.",
  19298. "type": "number"
  19299. },
  19300. "buyqty": {
  19301. "description": "采购量.",
  19302. "type": "string"
  19303. },
  19304. "futurepl": {
  19305. "description": "期货盈亏.",
  19306. "type": "number"
  19307. },
  19308. "futureqty": {
  19309. "description": "期货敞口.",
  19310. "type": "string"
  19311. },
  19312. "goodsid": {
  19313. "description": "商品名称/商品代码.",
  19314. "type": "string"
  19315. },
  19316. "hedgingqty": {
  19317. "description": "套保量.",
  19318. "type": "string"
  19319. },
  19320. "sellamount": {
  19321. "description": "销售额.",
  19322. "type": "number"
  19323. },
  19324. "sellqty": {
  19325. "description": "销售量.",
  19326. "type": "string"
  19327. },
  19328. "spotmarketvalue": {
  19329. "description": "现货市值.",
  19330. "type": "number"
  19331. },
  19332. "spotpl": {
  19333. "description": "浮动权益.",
  19334. "type": "number"
  19335. },
  19336. "spotqty": {
  19337. "description": "现货量.",
  19338. "type": "string"
  19339. },
  19340. "statu": {
  19341. "description": "状态,0-未结束 1-已结束.",
  19342. "type": "integer"
  19343. },
  19344. "totalpl": {
  19345. "description": "总盈亏.",
  19346. "type": "number"
  19347. },
  19348. "totalqty": {
  19349. "description": "总敞口.",
  19350. "type": "string"
  19351. },
  19352. "type": {
  19353. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  19354. "type": "integer"
  19355. }
  19356. }
  19357. },
  19358. "erms3.QuerySpotContractAppleFormRsp": {
  19359. "type": "object",
  19360. "properties": {
  19361. "goodses": {
  19362. "description": "合约列表",
  19363. "type": "array",
  19364. "items": {
  19365. "$ref": "#/definitions/models.GoodsIDAndName"
  19366. }
  19367. },
  19368. "oppositeusers": {
  19369. "description": "对方账号列表",
  19370. "type": "array",
  19371. "items": {
  19372. "$ref": "#/definitions/erms3.CustomerInfo"
  19373. }
  19374. },
  19375. "ouruser": {
  19376. "description": "我方账号",
  19377. "$ref": "#/definitions/erms3.CustomerInfo"
  19378. },
  19379. "warehouseinfos": {
  19380. "description": "仓库信息列表",
  19381. "type": "array",
  19382. "items": {
  19383. "$ref": "#/definitions/models.Warehouseinfo"
  19384. }
  19385. },
  19386. "wrstandards": {
  19387. "description": "仓单标准列表",
  19388. "type": "array",
  19389. "items": {
  19390. "$ref": "#/definitions/models.WRStandardInfo"
  19391. }
  19392. }
  19393. }
  19394. },
  19395. "erms3.QuerySpotContractInfoRsp": {
  19396. "type": "object",
  19397. "properties": {
  19398. "accountid": {
  19399. "description": "表示交易员ID.",
  19400. "type": "integer"
  19401. },
  19402. "curdeliveryqty": {
  19403. "description": "表示未交收量.",
  19404. "type": "number"
  19405. },
  19406. "customername": {
  19407. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  19408. "type": "string"
  19409. },
  19410. "deliverygoodsid": {
  19411. "description": "表示品种ID.",
  19412. "type": "string"
  19413. },
  19414. "deliveryqty": {
  19415. "description": "表示交收量.",
  19416. "type": "number"
  19417. },
  19418. "matchaccountid": {
  19419. "description": "表示业务员ID.",
  19420. "type": "integer"
  19421. },
  19422. "matchcustomername": {
  19423. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  19424. "type": "string"
  19425. },
  19426. "priceqty": {
  19427. "description": "表示定价量.",
  19428. "type": "number"
  19429. },
  19430. "relatedbizid": {
  19431. "description": "表示业务ID.",
  19432. "type": "string"
  19433. },
  19434. "signdate": {
  19435. "description": "表示签订日期.",
  19436. "type": "string"
  19437. },
  19438. "spotcontractid": {
  19439. "description": "合同ID",
  19440. "type": "string"
  19441. },
  19442. "status": {
  19443. "description": "表示状态,0-履约中 1-已完成.",
  19444. "type": "integer"
  19445. },
  19446. "totalqty": {
  19447. "description": "表示合同量.",
  19448. "type": "number"
  19449. },
  19450. "unpricedqty": {
  19451. "description": "表示未定价量.",
  19452. "type": "number"
  19453. },
  19454. "wrstandardname": {
  19455. "description": "表示商品ID.",
  19456. "type": "string"
  19457. }
  19458. }
  19459. },
  19460. "erms3.QueryUserInfoAppliesRsp": {
  19461. "type": "object",
  19462. "required": [
  19463. "userid"
  19464. ],
  19465. "properties": {
  19466. "biznature": {
  19467. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19468. "type": "integer"
  19469. },
  19470. "contactname": {
  19471. "description": "联系人",
  19472. "type": "string"
  19473. },
  19474. "createtime": {
  19475. "description": "开户申请时间",
  19476. "type": "string"
  19477. },
  19478. "userid": {
  19479. "description": "用户ID(自增ID)",
  19480. "type": "integer"
  19481. },
  19482. "userinfotype": {
  19483. "description": "用户信息类型 - 1:个人 2:企业",
  19484. "type": "integer"
  19485. },
  19486. "username": {
  19487. "description": "用户姓名",
  19488. "type": "string"
  19489. },
  19490. "userstate": {
  19491. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19492. "type": "integer"
  19493. }
  19494. }
  19495. },
  19496. "erms3.QueryUserInfosRsp": {
  19497. "type": "object",
  19498. "required": [
  19499. "userid"
  19500. ],
  19501. "properties": {
  19502. "biznature": {
  19503. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19504. "type": "integer"
  19505. },
  19506. "contactname": {
  19507. "description": "联系人",
  19508. "type": "string"
  19509. },
  19510. "customername": {
  19511. "description": "客户名称(企业名称)",
  19512. "type": "string"
  19513. },
  19514. "userid": {
  19515. "description": "用户ID",
  19516. "type": "integer"
  19517. },
  19518. "userinfotype": {
  19519. "description": "用户信息类型 - 1:个人 2:企业",
  19520. "type": "integer"
  19521. },
  19522. "userstatus": {
  19523. "description": "用户状态 - 1:正常 2:注销",
  19524. "type": "integer"
  19525. }
  19526. }
  19527. },
  19528. "erms3.SoptContractDetail": {
  19529. "type": "object",
  19530. "required": [
  19531. "deliverygoodsid",
  19532. "producttype",
  19533. "unitname",
  19534. "warehouseid",
  19535. "wrstandardid",
  19536. "wrstandardname"
  19537. ],
  19538. "properties": {
  19539. "deliverygoodsdesc": {
  19540. "description": "现货品种说明",
  19541. "type": "string"
  19542. },
  19543. "deliverygoodsid": {
  19544. "description": "现货品种ID",
  19545. "type": "integer"
  19546. },
  19547. "deliverygoodsname": {
  19548. "description": "现货品种名称",
  19549. "type": "string"
  19550. },
  19551. "pointdesc": {
  19552. "description": "点价描述",
  19553. "type": "string"
  19554. },
  19555. "producttype": {
  19556. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19557. "type": "integer"
  19558. },
  19559. "producttypename": {
  19560. "description": "产品类型名称",
  19561. "type": "string"
  19562. },
  19563. "spotPointOrderVoList": {
  19564. "description": "点价列表",
  19565. "type": "array",
  19566. "items": {
  19567. "$ref": "#/definitions/erms3.SpotPointOrder"
  19568. }
  19569. },
  19570. "spotPriceOrderList": {
  19571. "description": "定价列表",
  19572. "type": "array",
  19573. "items": {
  19574. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19575. }
  19576. },
  19577. "unitname": {
  19578. "description": "单位名称",
  19579. "type": "string"
  19580. },
  19581. "warehouseid": {
  19582. "description": "仓库ID",
  19583. "type": "integer"
  19584. },
  19585. "warehousename": {
  19586. "description": "仓库名称",
  19587. "type": "string"
  19588. },
  19589. "wrstandardid": {
  19590. "description": "交易标的ID",
  19591. "type": "integer"
  19592. },
  19593. "wrstandardname": {
  19594. "description": "交易标的名称",
  19595. "type": "string"
  19596. }
  19597. }
  19598. },
  19599. "erms3.SpotPointOrder": {
  19600. "type": "object",
  19601. "required": [
  19602. "basic",
  19603. "goodsid",
  19604. "qty"
  19605. ],
  19606. "properties": {
  19607. "basic": {
  19608. "description": "基差",
  19609. "type": "number"
  19610. },
  19611. "deliveryenddate": {
  19612. "description": "交收结束日期",
  19613. "type": "string"
  19614. },
  19615. "deliverystartdate": {
  19616. "description": "交收开始日期",
  19617. "type": "string"
  19618. },
  19619. "enddate": {
  19620. "description": "点价结束日期",
  19621. "type": "string"
  19622. },
  19623. "goodsid": {
  19624. "description": "商品ID",
  19625. "type": "integer"
  19626. },
  19627. "goodsname": {
  19628. "description": "商品名称",
  19629. "type": "string"
  19630. },
  19631. "qty": {
  19632. "description": "数量",
  19633. "type": "number"
  19634. },
  19635. "startdate": {
  19636. "description": "点价开始日期",
  19637. "type": "string"
  19638. }
  19639. }
  19640. },
  19641. "erms3.SpotPriceOrder": {
  19642. "type": "object",
  19643. "required": [
  19644. "amount",
  19645. "price",
  19646. "qty"
  19647. ],
  19648. "properties": {
  19649. "amount": {
  19650. "description": "金额",
  19651. "type": "number"
  19652. },
  19653. "deliveryenddate": {
  19654. "description": "交收结束日期",
  19655. "type": "string"
  19656. },
  19657. "deliverystartdate": {
  19658. "description": "交收开始日期",
  19659. "type": "string"
  19660. },
  19661. "price": {
  19662. "description": "价格",
  19663. "type": "number"
  19664. },
  19665. "qty": {
  19666. "description": "数量",
  19667. "type": "number"
  19668. }
  19669. }
  19670. },
  19671. "hsby.GetHsbyMyCountRsp": {
  19672. "type": "object",
  19673. "properties": {
  19674. "myCouponCount": {
  19675. "description": "我的优惠卷数量",
  19676. "type": "integer"
  19677. },
  19678. "myOrderDetailListingCount": {
  19679. "description": "我的订单求购中数量",
  19680. "type": "integer"
  19681. },
  19682. "myOrderDetailPreCount": {
  19683. "description": "我的订单抢购中数量",
  19684. "type": "integer"
  19685. },
  19686. "myPackageUnReceiveCount": {
  19687. "description": "我的包裹待收货数量",
  19688. "type": "integer"
  19689. },
  19690. "myPackageUnSendCount": {
  19691. "description": "我的包裹待发货数量",
  19692. "type": "integer"
  19693. },
  19694. "myPayOrderCount": {
  19695. "description": "我的订单待付款数量",
  19696. "type": "integer"
  19697. }
  19698. }
  19699. },
  19700. "hsby.QueryProvincesAndCitiesRsp": {
  19701. "type": "object",
  19702. "properties": {
  19703. "cities": {
  19704. "description": "市",
  19705. "type": "array",
  19706. "items": {
  19707. "$ref": "#/definitions/models.Division"
  19708. }
  19709. },
  19710. "province": {
  19711. "description": "省",
  19712. "$ref": "#/definitions/models.Division"
  19713. }
  19714. }
  19715. },
  19716. "models.Arearole": {
  19717. "type": "object",
  19718. "required": [
  19719. "roletype",
  19720. "userid"
  19721. ],
  19722. "properties": {
  19723. "createtime": {
  19724. "description": "创建时间",
  19725. "type": "string"
  19726. },
  19727. "creatorid": {
  19728. "description": "创建人ID",
  19729. "type": "integer"
  19730. },
  19731. "fromuserid": {
  19732. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19733. "type": "integer"
  19734. },
  19735. "isreturnscore": {
  19736. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19737. "type": "integer"
  19738. },
  19739. "modifierid": {
  19740. "description": "修改人ID",
  19741. "type": "integer"
  19742. },
  19743. "modifytime": {
  19744. "description": "修改时间",
  19745. "type": "string"
  19746. },
  19747. "orgtype": {
  19748. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19749. "type": "integer"
  19750. },
  19751. "outuserid": {
  19752. "description": "外部账户[场外期权做市商]",
  19753. "type": "string"
  19754. },
  19755. "parentuserid": {
  19756. "description": "上级组织机构(组织机构)",
  19757. "type": "integer"
  19758. },
  19759. "roletype": {
  19760. "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:门店",
  19761. "type": "integer"
  19762. },
  19763. "rootuserid": {
  19764. "description": "顶级组织机构用户ID(组织机构)",
  19765. "type": "integer"
  19766. },
  19767. "shoppassword": {
  19768. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19769. "type": "string"
  19770. },
  19771. "sublevelpath": {
  19772. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19773. "type": "string"
  19774. },
  19775. "suborgtype": {
  19776. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19777. "type": "integer"
  19778. },
  19779. "tradeaccountid": {
  19780. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19781. "type": "integer"
  19782. },
  19783. "transurl": {
  19784. "description": "物流地址(物流机构)",
  19785. "type": "string"
  19786. },
  19787. "userid": {
  19788. "description": "机构用户ID其他做市关系,都设置为 1",
  19789. "type": "integer"
  19790. }
  19791. }
  19792. },
  19793. "models.Clientfixedadconfig": {
  19794. "type": "object",
  19795. "required": [
  19796. "adsort",
  19797. "adtype"
  19798. ],
  19799. "properties": {
  19800. "adsort": {
  19801. "description": "排序",
  19802. "type": "integer"
  19803. },
  19804. "adtype": {
  19805. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19806. "type": "integer"
  19807. },
  19808. "areauserid": {
  19809. "description": "所属机构ID",
  19810. "type": "integer"
  19811. },
  19812. "createdate": {
  19813. "description": "创建时间",
  19814. "type": "string"
  19815. },
  19816. "creatorid": {
  19817. "description": "创建人",
  19818. "type": "integer"
  19819. },
  19820. "imagepath": {
  19821. "description": "图片",
  19822. "type": "string"
  19823. },
  19824. "isshow": {
  19825. "description": "是否展示 - 0:不展示 1:展示",
  19826. "type": "integer"
  19827. },
  19828. "modifierid": {
  19829. "description": "操作人",
  19830. "type": "integer"
  19831. },
  19832. "recsize": {
  19833. "description": "推荐尺寸",
  19834. "type": "string"
  19835. },
  19836. "title": {
  19837. "description": "标题",
  19838. "type": "string"
  19839. },
  19840. "updatedate": {
  19841. "description": "更新时间",
  19842. "type": "string"
  19843. },
  19844. "urlcontent": {
  19845. "description": "链接(地址或商品ID)",
  19846. "type": "string"
  19847. },
  19848. "urltype": {
  19849. "description": "链接类型 - 1:直接地址 2:商品ID",
  19850. "type": "integer"
  19851. }
  19852. }
  19853. },
  19854. "models.DgFactoryItem": {
  19855. "type": "object",
  19856. "properties": {
  19857. "dgfactoryitemid": {
  19858. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19859. "type": "integer"
  19860. },
  19861. "dgfactoryitemtypeid": {
  19862. "description": "要素项类型",
  19863. "type": "integer"
  19864. },
  19865. "dgfactoryitemvalue": {
  19866. "description": "要素项值(类型为仓库时填写仓库名称)",
  19867. "type": "string"
  19868. },
  19869. "orderindex": {
  19870. "description": "顺序",
  19871. "type": "integer"
  19872. }
  19873. }
  19874. },
  19875. "models.Division": {
  19876. "type": "object",
  19877. "required": [
  19878. "autoid",
  19879. "divisioncode"
  19880. ],
  19881. "properties": {
  19882. "autoid": {
  19883. "description": "自增ID",
  19884. "type": "integer"
  19885. },
  19886. "divisioncode": {
  19887. "description": "行政代码",
  19888. "type": "string"
  19889. },
  19890. "divisionlevel": {
  19891. "description": "行政级别",
  19892. "type": "string"
  19893. },
  19894. "divisionname": {
  19895. "description": "行政名称",
  19896. "type": "string"
  19897. },
  19898. "modifierid": {
  19899. "description": "修改人",
  19900. "type": "integer"
  19901. },
  19902. "modifytime": {
  19903. "description": "修改时间",
  19904. "type": "string"
  19905. },
  19906. "parentcode": {
  19907. "description": "上级行政代码",
  19908. "type": "string"
  19909. },
  19910. "pathname": {
  19911. "description": "路径名称",
  19912. "type": "string"
  19913. },
  19914. "postcode": {
  19915. "description": "邮政编码",
  19916. "type": "string"
  19917. },
  19918. "separablename": {
  19919. "description": "可拆分的全称",
  19920. "type": "string"
  19921. },
  19922. "shortcode": {
  19923. "description": "地区简码",
  19924. "type": "string"
  19925. }
  19926. }
  19927. },
  19928. "models.Enumdicitem": {
  19929. "type": "object",
  19930. "required": [
  19931. "autoid",
  19932. "enumdiccode",
  19933. "enumdicid",
  19934. "enumitemname"
  19935. ],
  19936. "properties": {
  19937. "autoid": {
  19938. "description": "自增ID",
  19939. "type": "integer"
  19940. },
  19941. "bankmappedvalue": {
  19942. "description": "银行服务对应值",
  19943. "type": "string"
  19944. },
  19945. "enumdiccode": {
  19946. "description": "所属枚举代码",
  19947. "type": "string"
  19948. },
  19949. "enumdicid": {
  19950. "description": "所属枚举ID",
  19951. "type": "integer"
  19952. },
  19953. "enumdicname": {
  19954. "description": "枚举项名称",
  19955. "type": "string"
  19956. },
  19957. "enumitemname": {
  19958. "description": "枚举项值",
  19959. "type": "integer"
  19960. },
  19961. "enumitemstatus": {
  19962. "description": "枚举项状态 - 1.启用 2.不启用",
  19963. "type": "integer"
  19964. },
  19965. "enumitemvalue": {
  19966. "description": "通用值 - [币种通用简写]",
  19967. "type": "string"
  19968. },
  19969. "param1": {
  19970. "description": "参数1[币种:币种小数位]",
  19971. "type": "string"
  19972. },
  19973. "param2": {
  19974. "description": "参数1[币种:币种显示单位]",
  19975. "type": "string"
  19976. },
  19977. "remark": {
  19978. "description": "备注",
  19979. "type": "string"
  19980. }
  19981. }
  19982. },
  19983. "models.Ermcp3AreaSpot": {
  19984. "type": "object",
  19985. "properties": {
  19986. "areauserid": {
  19987. "description": "所属机构",
  19988. "type": "integer"
  19989. },
  19990. "convertratio": {
  19991. "description": "套保系数",
  19992. "type": "number"
  19993. },
  19994. "decreaseqty": {
  19995. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19996. "type": "number"
  19997. },
  19998. "enumdicname": {
  19999. "description": "单位名称",
  20000. "type": "string"
  20001. },
  20002. "increaseqty": {
  20003. "description": "增加数量=销售计划数量+采购已定价数量",
  20004. "type": "number"
  20005. },
  20006. "oritoalspotqty": {
  20007. "description": "昨日数量",
  20008. "type": "number"
  20009. },
  20010. "totalspotqty": {
  20011. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  20012. "type": "number"
  20013. },
  20014. "unitid": {
  20015. "description": "现货商品单位id",
  20016. "type": "integer"
  20017. },
  20018. "updatetime": {
  20019. "description": "更新时间",
  20020. "type": "string"
  20021. },
  20022. "wrstandardcode": {
  20023. "description": "现货商品代码",
  20024. "type": "string"
  20025. },
  20026. "wrstandardid": {
  20027. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20028. "type": "integer"
  20029. },
  20030. "wrstandardname": {
  20031. "description": "现货商品名称",
  20032. "type": "string"
  20033. }
  20034. }
  20035. },
  20036. "models.Ermcp3AreaSpotDetail": {
  20037. "type": "object",
  20038. "properties": {
  20039. "contracttype": {
  20040. "description": "合同类型 1-采购 -1-销售",
  20041. "type": "integer"
  20042. },
  20043. "createtime": {
  20044. "description": "创建时间",
  20045. "type": "string"
  20046. },
  20047. "enumdicname": {
  20048. "description": "现货商品单位名称",
  20049. "type": "string"
  20050. },
  20051. "logtype": {
  20052. "description": "记录类型 1-套保 2-现货合同",
  20053. "type": "integer"
  20054. },
  20055. "qty": {
  20056. "description": "数量",
  20057. "type": "number"
  20058. },
  20059. "recordname": {
  20060. "description": "类型名称",
  20061. "type": "string"
  20062. },
  20063. "relatedid": {
  20064. "description": "套保计划ID/现货合同ID",
  20065. "type": "string"
  20066. },
  20067. "relatedno": {
  20068. "description": "编号",
  20069. "type": "string"
  20070. },
  20071. "strtime": {
  20072. "description": "时间",
  20073. "type": "string"
  20074. },
  20075. "wrstandardcode": {
  20076. "description": "现货商品代码",
  20077. "type": "string"
  20078. },
  20079. "wrstandardid": {
  20080. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20081. "type": "integer"
  20082. },
  20083. "wrstandardname": {
  20084. "description": "现货商品名称",
  20085. "type": "string"
  20086. }
  20087. }
  20088. },
  20089. "models.Ermcp3AreaSpotPLReport": {
  20090. "type": "object",
  20091. "properties": {
  20092. "accountid": {
  20093. "description": "期货账户ID (作废, 默认为0)",
  20094. "type": "integer"
  20095. },
  20096. "accountname": {
  20097. "description": "机构名称",
  20098. "type": "string"
  20099. },
  20100. "actualpl": {
  20101. "description": "现货损益",
  20102. "type": "number"
  20103. },
  20104. "areauserid": {
  20105. "description": "所属机构\\交易用户ID",
  20106. "type": "integer"
  20107. },
  20108. "begindate": {
  20109. "description": "开始交易日",
  20110. "type": "string"
  20111. },
  20112. "biztype": {
  20113. "description": "业务类型 - 1:套保 2:套利",
  20114. "type": "integer"
  20115. },
  20116. "brandname": {
  20117. "description": "品牌名称",
  20118. "type": "string"
  20119. },
  20120. "curamount": {
  20121. "description": "期末额",
  20122. "type": "number"
  20123. },
  20124. "curaverageprice": {
  20125. "description": "期末均价",
  20126. "type": "number"
  20127. },
  20128. "curbuyamount": {
  20129. "description": "期末采购总额",
  20130. "type": "number"
  20131. },
  20132. "curbuyqty": {
  20133. "description": "期末采购总量",
  20134. "type": "number"
  20135. },
  20136. "curmarketvalue": {
  20137. "description": "参考市值(期末市值)",
  20138. "type": "number"
  20139. },
  20140. "curqty": {
  20141. "description": "期末量",
  20142. "type": "number"
  20143. },
  20144. "currencyid": {
  20145. "description": "结算币种ID【原值】",
  20146. "type": "integer"
  20147. },
  20148. "currencyname": {
  20149. "description": "币种名称",
  20150. "type": "string"
  20151. },
  20152. "cursellamount": {
  20153. "description": "期末销售总额",
  20154. "type": "number"
  20155. },
  20156. "cursellqty": {
  20157. "description": "期末销售总量",
  20158. "type": "number"
  20159. },
  20160. "curspotprice": {
  20161. "description": "参考市价(最新价)",
  20162. "type": "number"
  20163. },
  20164. "cycletime": {
  20165. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20166. "type": "string"
  20167. },
  20168. "cycletype": {
  20169. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20170. "type": "integer"
  20171. },
  20172. "deliverygoodscode": {
  20173. "description": "现货品种代码",
  20174. "type": "string"
  20175. },
  20176. "deliverygoodsid": {
  20177. "description": "现货品种ID",
  20178. "type": "integer"
  20179. },
  20180. "deliverygoodsname": {
  20181. "description": "现货品种名称",
  20182. "type": "string"
  20183. },
  20184. "enddate": {
  20185. "description": "结束交易日",
  20186. "type": "string"
  20187. },
  20188. "enumdicname": {
  20189. "description": "现货品种单位名称(作废)",
  20190. "type": "string"
  20191. },
  20192. "floatpl": {
  20193. "description": "浮动损益",
  20194. "type": "number"
  20195. },
  20196. "goodsunitid": {
  20197. "description": "现货品种单位id(作废)",
  20198. "type": "integer"
  20199. },
  20200. "oriamount": {
  20201. "description": "期初额",
  20202. "type": "number"
  20203. },
  20204. "oriaverageprice": {
  20205. "description": "期初均价",
  20206. "type": "number"
  20207. },
  20208. "oribuyamount": {
  20209. "description": "期初采购总额",
  20210. "type": "number"
  20211. },
  20212. "oribuyqty": {
  20213. "description": "期初采购总量",
  20214. "type": "number"
  20215. },
  20216. "oriqty": {
  20217. "description": "期初量",
  20218. "type": "number"
  20219. },
  20220. "orisellamount": {
  20221. "description": "期初销售总额",
  20222. "type": "number"
  20223. },
  20224. "orisellqty": {
  20225. "description": "期初销售总量",
  20226. "type": "number"
  20227. },
  20228. "reckondate": {
  20229. "description": "日照时期(yyyyMMdd)",
  20230. "type": "string"
  20231. },
  20232. "spotgoodsbrandid": {
  20233. "description": "现货品牌ID",
  20234. "type": "integer"
  20235. },
  20236. "todaybuyamount": {
  20237. "description": "今日采购额(今采购额)",
  20238. "type": "number"
  20239. },
  20240. "todaybuyaverageprice": {
  20241. "description": "今日采购均价",
  20242. "type": "number"
  20243. },
  20244. "todaybuyqty": {
  20245. "description": "今日采购量(今采购量)",
  20246. "type": "number"
  20247. },
  20248. "todayinqty": {
  20249. "description": "今日入库量(今入库量)",
  20250. "type": "number"
  20251. },
  20252. "todayoutqty": {
  20253. "description": "今日出库量(今出库量)",
  20254. "type": "number"
  20255. },
  20256. "todaysellamount": {
  20257. "description": "今日销售额(今销售额)",
  20258. "type": "number"
  20259. },
  20260. "todaysellaverageprice": {
  20261. "description": "今日销售均价",
  20262. "type": "number"
  20263. },
  20264. "todaysellqty": {
  20265. "description": "今日销售量(今销售量)",
  20266. "type": "number"
  20267. },
  20268. "unitid": {
  20269. "description": "品类单位id",
  20270. "type": "integer"
  20271. },
  20272. "unitidname": {
  20273. "description": "品类单位名称",
  20274. "type": "string"
  20275. },
  20276. "updatetime": {
  20277. "description": "更新时间",
  20278. "type": "string"
  20279. },
  20280. "wrfactortypeid": {
  20281. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  20282. "type": "integer"
  20283. },
  20284. "wrstandardcode": {
  20285. "description": "现货商品(品类)代码",
  20286. "type": "string"
  20287. },
  20288. "wrstandardid": {
  20289. "description": "现货品类ID",
  20290. "type": "integer"
  20291. },
  20292. "wrstandardname": {
  20293. "description": "现货商品(品类)名称",
  20294. "type": "string"
  20295. }
  20296. }
  20297. },
  20298. "models.Ermcp3AreaStock": {
  20299. "type": "object",
  20300. "required": [
  20301. "userid"
  20302. ],
  20303. "properties": {
  20304. "brandname": {
  20305. "description": "品牌名称",
  20306. "type": "string"
  20307. },
  20308. "curstock": {
  20309. "description": "期末库存量(今日量)",
  20310. "type": "number"
  20311. },
  20312. "deliverygoodscode": {
  20313. "description": "现货品种代码",
  20314. "type": "string"
  20315. },
  20316. "deliverygoodsid": {
  20317. "description": "现货品种id",
  20318. "type": "integer"
  20319. },
  20320. "deliverygoodsname": {
  20321. "description": "现货品种名称",
  20322. "type": "string"
  20323. },
  20324. "enumdicname": {
  20325. "description": "单位名称",
  20326. "type": "string"
  20327. },
  20328. "goodsunitid": {
  20329. "description": "现货商品单位id",
  20330. "type": "integer"
  20331. },
  20332. "oristock": {
  20333. "description": "期初库存量(昨日量)",
  20334. "type": "number"
  20335. },
  20336. "spotgoodsbrandid": {
  20337. "description": "现货品牌ID",
  20338. "type": "integer"
  20339. },
  20340. "todaybuyinqty": {
  20341. "description": "今日采购入库量",
  20342. "type": "number"
  20343. },
  20344. "todayproduceinqty": {
  20345. "description": "今日生产入库量",
  20346. "type": "number"
  20347. },
  20348. "todayproduceoutqty": {
  20349. "description": "今日生产出库量",
  20350. "type": "number"
  20351. },
  20352. "todayselloutqty": {
  20353. "description": "今日销售出库量",
  20354. "type": "number"
  20355. },
  20356. "unitid": {
  20357. "description": "单位id",
  20358. "type": "integer"
  20359. },
  20360. "updatetime": {
  20361. "description": "更新时间",
  20362. "type": "string"
  20363. },
  20364. "userid": {
  20365. "description": "机构ID",
  20366. "type": "integer"
  20367. },
  20368. "username": {
  20369. "description": "机构名称",
  20370. "type": "string"
  20371. },
  20372. "warehousecode": {
  20373. "description": "仓库代码",
  20374. "type": "string"
  20375. },
  20376. "warehouseinfoid": {
  20377. "description": "仓库ID",
  20378. "type": "string"
  20379. },
  20380. "warehousename": {
  20381. "description": "仓库名称",
  20382. "type": "string"
  20383. },
  20384. "warehousetype": {
  20385. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20386. "type": "integer"
  20387. },
  20388. "wrstandardcode": {
  20389. "description": "品类代码",
  20390. "type": "string"
  20391. },
  20392. "wrstandardid": {
  20393. "description": "品类ID",
  20394. "type": "string"
  20395. },
  20396. "wrstandardname": {
  20397. "description": "品类名称",
  20398. "type": "string"
  20399. }
  20400. }
  20401. },
  20402. "models.Ermcp3AreaStockApply": {
  20403. "type": "object",
  20404. "properties": {
  20405. "applyid": {
  20406. "description": "申请人",
  20407. "type": "integer"
  20408. },
  20409. "applyname": {
  20410. "description": "申请人名称",
  20411. "type": "string"
  20412. },
  20413. "applyremark": {
  20414. "description": "申请备注",
  20415. "type": "string"
  20416. },
  20417. "applysrc": {
  20418. "description": "申请来源 - 1:管理端 2:终端",
  20419. "type": "integer"
  20420. },
  20421. "applystatus": {
  20422. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  20423. "type": "integer"
  20424. },
  20425. "applytime": {
  20426. "description": "申请时间",
  20427. "type": "string"
  20428. },
  20429. "auditid": {
  20430. "description": "审核人",
  20431. "type": "integer"
  20432. },
  20433. "auditname": {
  20434. "description": "审核人名称",
  20435. "type": "string"
  20436. },
  20437. "auditremark": {
  20438. "description": "审核备注",
  20439. "type": "string"
  20440. },
  20441. "auditsrc": {
  20442. "description": "审核来源 - 1:管理端 2:终端",
  20443. "type": "integer"
  20444. },
  20445. "audittime": {
  20446. "description": "审核时间",
  20447. "type": "string"
  20448. },
  20449. "audittradedate": {
  20450. "description": "审核交易日(yyyyMMdd)",
  20451. "type": "string"
  20452. },
  20453. "brandname": {
  20454. "description": "品牌名称",
  20455. "type": "string"
  20456. },
  20457. "buynickname": {
  20458. "description": "采购方昵称",
  20459. "type": "string"
  20460. },
  20461. "buyuserid": {
  20462. "description": "采购方userid",
  20463. "type": "integer"
  20464. },
  20465. "buyusername": {
  20466. "description": "采购方名称",
  20467. "type": "string"
  20468. },
  20469. "contractno": {
  20470. "description": "合同编号",
  20471. "type": "string"
  20472. },
  20473. "contractqty": {
  20474. "description": "合同量",
  20475. "type": "number"
  20476. },
  20477. "contracttype": {
  20478. "description": "现货合同类型 - 1:采购 -1:销售",
  20479. "type": "integer"
  20480. },
  20481. "deliverygoodscode": {
  20482. "description": "现货品种代码",
  20483. "type": "string"
  20484. },
  20485. "deliverygoodsid": {
  20486. "description": "现货品种id",
  20487. "type": "integer"
  20488. },
  20489. "deliverygoodsname": {
  20490. "description": "现货品种名称",
  20491. "type": "string"
  20492. },
  20493. "detailjson": {
  20494. "description": "明细数据",
  20495. "type": "string"
  20496. },
  20497. "enumdicname": {
  20498. "description": "现货商品单位名称",
  20499. "type": "string"
  20500. },
  20501. "inoutapplyid": {
  20502. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20503. "type": "string"
  20504. },
  20505. "inouttype": {
  20506. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20507. "type": "integer"
  20508. },
  20509. "pricetype": {
  20510. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20511. "type": "integer"
  20512. },
  20513. "qty": {
  20514. "description": "数量",
  20515. "type": "number"
  20516. },
  20517. "sellnickname": {
  20518. "description": "销售方昵称",
  20519. "type": "string"
  20520. },
  20521. "selluserid": {
  20522. "description": "销售方userid",
  20523. "type": "integer"
  20524. },
  20525. "sellusername": {
  20526. "description": "销售方名称",
  20527. "type": "string"
  20528. },
  20529. "spotcontractid": {
  20530. "description": "关联现货合同ID",
  20531. "type": "string"
  20532. },
  20533. "spotgoodsbrandid": {
  20534. "description": "现货品牌ID",
  20535. "type": "integer"
  20536. },
  20537. "unitid": {
  20538. "description": "单位id",
  20539. "type": "integer"
  20540. },
  20541. "userid": {
  20542. "description": "机构ID",
  20543. "type": "integer"
  20544. },
  20545. "warehousecode": {
  20546. "description": "仓库代码",
  20547. "type": "string"
  20548. },
  20549. "warehouseinfoid": {
  20550. "description": "现货仓库ID",
  20551. "type": "string"
  20552. },
  20553. "warehousename": {
  20554. "description": "仓库名称",
  20555. "type": "string"
  20556. },
  20557. "warehousetype": {
  20558. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20559. "type": "integer"
  20560. },
  20561. "wrstandardcode": {
  20562. "description": "品类代码",
  20563. "type": "string"
  20564. },
  20565. "wrstandardid": {
  20566. "description": "品类ID",
  20567. "type": "integer"
  20568. },
  20569. "wrstandardname": {
  20570. "description": "品类名称",
  20571. "type": "string"
  20572. }
  20573. }
  20574. },
  20575. "models.Ermcp3AreaStockApplySum": {
  20576. "type": "object",
  20577. "properties": {
  20578. "brandname": {
  20579. "description": "品牌名称",
  20580. "type": "string"
  20581. },
  20582. "inouttype": {
  20583. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20584. "type": "integer"
  20585. },
  20586. "spotcontractid": {
  20587. "description": "关联现货合同ID",
  20588. "type": "string"
  20589. },
  20590. "spotgoodsbrandid": {
  20591. "description": "品牌id",
  20592. "type": "integer"
  20593. },
  20594. "totalqty": {
  20595. "description": "总数量",
  20596. "type": "number"
  20597. },
  20598. "wrstandardid": {
  20599. "description": "品类id",
  20600. "type": "integer"
  20601. },
  20602. "wrstandardname": {
  20603. "description": "品类名称",
  20604. "type": "string"
  20605. }
  20606. }
  20607. },
  20608. "models.Ermcp3AreaStockReportEx": {
  20609. "type": "object",
  20610. "properties": {
  20611. "begindate": {
  20612. "description": "开始交易日",
  20613. "type": "string"
  20614. },
  20615. "brandname": {
  20616. "description": "品牌名称",
  20617. "type": "string"
  20618. },
  20619. "curstock": {
  20620. "description": "期末库存量",
  20621. "type": "number"
  20622. },
  20623. "cycletime": {
  20624. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20625. "type": "string"
  20626. },
  20627. "cycletype": {
  20628. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20629. "type": "integer"
  20630. },
  20631. "deliverygoodscode": {
  20632. "description": "现货品种代码",
  20633. "type": "string"
  20634. },
  20635. "deliverygoodsid": {
  20636. "description": "现货品种id",
  20637. "type": "integer"
  20638. },
  20639. "deliverygoodsname": {
  20640. "description": "现货品种名称",
  20641. "type": "string"
  20642. },
  20643. "diffqty": {
  20644. "description": "库存变化量 = 期末 - 期初",
  20645. "type": "number"
  20646. },
  20647. "enddate": {
  20648. "description": "结束交易日",
  20649. "type": "string"
  20650. },
  20651. "enumdicname": {
  20652. "description": "单位名称",
  20653. "type": "string"
  20654. },
  20655. "goodsunitid": {
  20656. "description": "现货单位id",
  20657. "type": "integer"
  20658. },
  20659. "oristock": {
  20660. "description": "期初库存量",
  20661. "type": "number"
  20662. },
  20663. "reckondate": {
  20664. "description": "日照时期(yyyyMMdd)",
  20665. "type": "string"
  20666. },
  20667. "spotgoodsbrandid": {
  20668. "description": "现货品牌ID",
  20669. "type": "integer"
  20670. },
  20671. "todaybuyinqty": {
  20672. "description": "今采购入库量",
  20673. "type": "number"
  20674. },
  20675. "todayproduceinqty": {
  20676. "description": "今内部入库量",
  20677. "type": "number"
  20678. },
  20679. "todayproduceoutqty": {
  20680. "description": "今内部出库量",
  20681. "type": "number"
  20682. },
  20683. "todayselloutqty": {
  20684. "description": "今销售出库量",
  20685. "type": "number"
  20686. },
  20687. "unbuyinqty": {
  20688. "description": "采购未入库量(数据库未找到相关字段?)",
  20689. "type": "number"
  20690. },
  20691. "unitid": {
  20692. "description": "品类单位id",
  20693. "type": "integer"
  20694. },
  20695. "unselloutqty": {
  20696. "description": "销售未出库量(数据库未找到相关字段?)",
  20697. "type": "number"
  20698. },
  20699. "updatetime": {
  20700. "description": "更新时间",
  20701. "type": "string"
  20702. },
  20703. "userid": {
  20704. "description": "机构ID",
  20705. "type": "integer"
  20706. },
  20707. "username": {
  20708. "description": "机构名称",
  20709. "type": "string"
  20710. },
  20711. "warehousecode": {
  20712. "description": "仓库代码",
  20713. "type": "string"
  20714. },
  20715. "warehouseinfoid": {
  20716. "description": "仓库ID",
  20717. "type": "string"
  20718. },
  20719. "warehousename": {
  20720. "description": "仓库名称",
  20721. "type": "string"
  20722. },
  20723. "warehousetype": {
  20724. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20725. "type": "integer"
  20726. },
  20727. "wrstandardcode": {
  20728. "description": "品类代码",
  20729. "type": "string"
  20730. },
  20731. "wrstandardid": {
  20732. "description": "品类ID",
  20733. "type": "integer"
  20734. },
  20735. "wrstandardname": {
  20736. "description": "品类名称",
  20737. "type": "string"
  20738. }
  20739. }
  20740. },
  20741. "models.Ermcp3ArealSumPL": {
  20742. "type": "object",
  20743. "properties": {
  20744. "accountname": {
  20745. "description": "机构名称",
  20746. "type": "string"
  20747. },
  20748. "areauserid": {
  20749. "description": "所属机构\\交易用户ID",
  20750. "type": "integer"
  20751. },
  20752. "begindate": {
  20753. "description": "开始交易日",
  20754. "type": "string"
  20755. },
  20756. "currencyid": {
  20757. "description": "结算币种ID",
  20758. "type": "integer"
  20759. },
  20760. "currencyname": {
  20761. "description": "币种名称",
  20762. "type": "string"
  20763. },
  20764. "cycletime": {
  20765. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20766. "type": "string"
  20767. },
  20768. "cycletype": {
  20769. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20770. "type": "integer"
  20771. },
  20772. "enddate": {
  20773. "description": "结束交易日",
  20774. "type": "string"
  20775. },
  20776. "enumdicname": {
  20777. "description": "单位名称(套保品种)",
  20778. "type": "string"
  20779. },
  20780. "futureactualpl": {
  20781. "description": "期货损益",
  20782. "type": "number"
  20783. },
  20784. "futurefloatpl": {
  20785. "description": "期货浮动损益",
  20786. "type": "number"
  20787. },
  20788. "futurespotratio": {
  20789. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20790. "type": "number"
  20791. },
  20792. "goodsunitid": {
  20793. "description": "套保品种单位id",
  20794. "type": "integer"
  20795. },
  20796. "hedgeexposurepl": {
  20797. "description": "套保敞口损益",
  20798. "type": "number"
  20799. },
  20800. "middlegoodscode": {
  20801. "description": "套保品种代码",
  20802. "type": "string"
  20803. },
  20804. "middlegoodsid": {
  20805. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20806. "type": "integer"
  20807. },
  20808. "middlegoodsname": {
  20809. "description": "套保品种名称",
  20810. "type": "string"
  20811. },
  20812. "reckondate": {
  20813. "description": "日照时期(yyyyMMdd)",
  20814. "type": "string"
  20815. },
  20816. "spotactualpl": {
  20817. "description": "现货损益",
  20818. "type": "number"
  20819. },
  20820. "spotfloatpl": {
  20821. "description": "现货浮动损益",
  20822. "type": "number"
  20823. },
  20824. "sumactualpl": {
  20825. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20826. "type": "number"
  20827. },
  20828. "sumpl": {
  20829. "description": "总敞口损益 | 汇总损益",
  20830. "type": "number"
  20831. },
  20832. "totalfutureqty": {
  20833. "description": "期货头寸总量",
  20834. "type": "number"
  20835. },
  20836. "totalneedhedgeqty": {
  20837. "description": "应套保总量",
  20838. "type": "number"
  20839. },
  20840. "totalspotqty": {
  20841. "description": "现货头寸总量",
  20842. "type": "number"
  20843. },
  20844. "updatetime": {
  20845. "description": "更新时间",
  20846. "type": "string"
  20847. }
  20848. }
  20849. },
  20850. "models.Ermcp3Brand": {
  20851. "type": "object",
  20852. "properties": {
  20853. "areauserid": {
  20854. "description": "用户id",
  20855. "type": "integer"
  20856. },
  20857. "brandid": {
  20858. "description": "品牌id",
  20859. "type": "integer"
  20860. },
  20861. "brandname": {
  20862. "description": "品牌名称",
  20863. "type": "string"
  20864. },
  20865. "deliverygoodsid": {
  20866. "description": "品种ID",
  20867. "type": "integer"
  20868. },
  20869. "isvalid": {
  20870. "description": "是否有效",
  20871. "type": "integer"
  20872. }
  20873. }
  20874. },
  20875. "models.Ermcp3Contract": {
  20876. "type": "object",
  20877. "properties": {
  20878. "accountid": {
  20879. "description": "期货账户id",
  20880. "type": "string"
  20881. },
  20882. "amount": {
  20883. "description": "金额 [1:一口价、3:暂定价]",
  20884. "type": "number"
  20885. },
  20886. "attachment": {
  20887. "description": "附件",
  20888. "type": "string"
  20889. },
  20890. "auditremark": {
  20891. "description": "审核意见",
  20892. "type": "string"
  20893. },
  20894. "audittime": {
  20895. "description": "审核时间",
  20896. "type": "string"
  20897. },
  20898. "biztype": {
  20899. "description": "业务类型 1-套保 2-套利",
  20900. "type": "integer"
  20901. },
  20902. "brandname": {
  20903. "description": "品牌名称",
  20904. "type": "string"
  20905. },
  20906. "buynickname": {
  20907. "description": "销售方昵称",
  20908. "type": "string"
  20909. },
  20910. "buyuserid": {
  20911. "description": "采购方ID",
  20912. "type": "integer"
  20913. },
  20914. "buyusername": {
  20915. "description": "采购方名称",
  20916. "type": "string"
  20917. },
  20918. "contracctstatus": {
  20919. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20920. "type": "integer"
  20921. },
  20922. "contractmargin": {
  20923. "description": "合同保证金",
  20924. "type": "number"
  20925. },
  20926. "contractno": {
  20927. "description": "现货合同编号",
  20928. "type": "string"
  20929. },
  20930. "contracttype": {
  20931. "description": "现货合同类型 - 1:采购 -1:销售",
  20932. "type": "integer"
  20933. },
  20934. "convertfactor": {
  20935. "description": "标仓系数(品类)",
  20936. "type": "number"
  20937. },
  20938. "createtime": {
  20939. "description": "创建时间",
  20940. "type": "string"
  20941. },
  20942. "currencyid": {
  20943. "description": "币种id",
  20944. "type": "integer"
  20945. },
  20946. "currencyname": {
  20947. "description": "币种名称",
  20948. "type": "string"
  20949. },
  20950. "deliveryenddate": {
  20951. "description": "交收期(结束)",
  20952. "type": "string"
  20953. },
  20954. "deliverygoodscode": {
  20955. "description": "现货品种代码",
  20956. "type": "string"
  20957. },
  20958. "deliverygoodsid": {
  20959. "description": "现货品种ID",
  20960. "type": "integer"
  20961. },
  20962. "deliverygoodsname": {
  20963. "description": "现货品种名称",
  20964. "type": "string"
  20965. },
  20966. "deliverystartdate": {
  20967. "description": "交收期(开始)",
  20968. "type": "string"
  20969. },
  20970. "enddate": {
  20971. "description": "点价结束日期 [2:点价 3:暂定价]",
  20972. "type": "string"
  20973. },
  20974. "enumdicname": {
  20975. "description": "单位名称",
  20976. "type": "string"
  20977. },
  20978. "goodscode": {
  20979. "description": "点价合约代码",
  20980. "type": "string"
  20981. },
  20982. "goodsid": {
  20983. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20984. "type": "integer"
  20985. },
  20986. "goodsname": {
  20987. "description": "点价商品名称",
  20988. "type": "string"
  20989. },
  20990. "margin": {
  20991. "description": "当前保证金",
  20992. "type": "number"
  20993. },
  20994. "meruserid": {
  20995. "description": "跟单员id",
  20996. "type": "integer"
  20997. },
  20998. "meruserlogincode": {
  20999. "description": "跟单员登录代码",
  21000. "type": "string"
  21001. },
  21002. "merusername": {
  21003. "description": "跟单员名称",
  21004. "type": "string"
  21005. },
  21006. "pointdesc": {
  21007. "description": "点价备注",
  21008. "type": "string"
  21009. },
  21010. "price": {
  21011. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  21012. "type": "number"
  21013. },
  21014. "pricemove": {
  21015. "description": "升贴水 [2:点价 3:暂定价]",
  21016. "type": "number"
  21017. },
  21018. "pricetype": {
  21019. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21020. "type": "integer"
  21021. },
  21022. "producttype": {
  21023. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21024. "type": "integer"
  21025. },
  21026. "qty": {
  21027. "description": "数量",
  21028. "type": "number"
  21029. },
  21030. "remark": {
  21031. "description": "备注",
  21032. "type": "string"
  21033. },
  21034. "saleuserid": {
  21035. "description": "业务员id",
  21036. "type": "integer"
  21037. },
  21038. "saleuserlogincode": {
  21039. "description": "业务员登录代码",
  21040. "type": "string"
  21041. },
  21042. "saleusername": {
  21043. "description": "业务员名称",
  21044. "type": "string"
  21045. },
  21046. "sellnickname": {
  21047. "description": "采购方昵称",
  21048. "type": "string"
  21049. },
  21050. "selluserid": {
  21051. "description": "销售方ID",
  21052. "type": "integer"
  21053. },
  21054. "sellusername": {
  21055. "description": "销售方名称",
  21056. "type": "string"
  21057. },
  21058. "spotcontractid": {
  21059. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  21060. "type": "string"
  21061. },
  21062. "spotgoodsbrandid": {
  21063. "description": "现货品牌ID(DGFactoryItem表的ID)",
  21064. "type": "integer"
  21065. },
  21066. "spotgoodsdesc": {
  21067. "description": "商品型号",
  21068. "type": "string"
  21069. },
  21070. "startdate": {
  21071. "description": "点价开始日期 [2:点价 3:暂定价]",
  21072. "type": "string"
  21073. },
  21074. "subjectid": {
  21075. "description": "交易主体ID",
  21076. "type": "integer"
  21077. },
  21078. "subjectname": {
  21079. "description": "交易主体名称",
  21080. "type": "string"
  21081. },
  21082. "tradeuserid": {
  21083. "description": "交易员id",
  21084. "type": "integer"
  21085. },
  21086. "tradeuserlogincode": {
  21087. "description": "交易员登录代码",
  21088. "type": "string"
  21089. },
  21090. "tradeusername": {
  21091. "description": "交易员名称",
  21092. "type": "string"
  21093. },
  21094. "unitid": {
  21095. "description": "单位id(取品类上的单位id)",
  21096. "type": "integer"
  21097. },
  21098. "updatetime": {
  21099. "description": "更新时间",
  21100. "type": "string"
  21101. },
  21102. "userid": {
  21103. "description": "所属机构ID",
  21104. "type": "integer"
  21105. },
  21106. "vatrate": {
  21107. "description": "增值税率",
  21108. "type": "number"
  21109. },
  21110. "wrstandardcode": {
  21111. "description": "品类代码",
  21112. "type": "string"
  21113. },
  21114. "wrstandardid": {
  21115. "description": "品类ID",
  21116. "type": "integer"
  21117. },
  21118. "wrstandardname": {
  21119. "description": "品类名称",
  21120. "type": "string"
  21121. }
  21122. }
  21123. },
  21124. "models.Ermcp3ContractMiddleGoodsCfg": {
  21125. "type": "object",
  21126. "properties": {
  21127. "agreeunit": {
  21128. "description": "合约乘数",
  21129. "type": "number"
  21130. },
  21131. "convertratio": {
  21132. "description": "期货品种系数",
  21133. "type": "number"
  21134. },
  21135. "covertqty": {
  21136. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  21137. "type": "integer"
  21138. },
  21139. "middlegoodsid": {
  21140. "description": "套保品种ID",
  21141. "type": "integer"
  21142. },
  21143. "middlegoodspricedqty3": {
  21144. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  21145. "type": "string",
  21146. "example": "0"
  21147. },
  21148. "pendingpricedqty": {
  21149. "description": "待点价量",
  21150. "type": "string",
  21151. "example": "0"
  21152. },
  21153. "relatedmiddlegoodsqty": {
  21154. "description": "已关联量(套保品种-期货)",
  21155. "type": "string",
  21156. "example": "0"
  21157. },
  21158. "spotcontractid": {
  21159. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  21160. "type": "string"
  21161. }
  21162. }
  21163. },
  21164. "models.Ermcp3ExposureContractDetail": {
  21165. "type": "object",
  21166. "properties": {
  21167. "biztype": {
  21168. "description": "业务类型 1-套保 2-套利",
  21169. "type": "integer"
  21170. },
  21171. "brandname": {
  21172. "description": "品牌名称",
  21173. "type": "string"
  21174. },
  21175. "buyuserid": {
  21176. "description": "采购方id",
  21177. "type": "integer"
  21178. },
  21179. "buyusername": {
  21180. "description": "采购方名称",
  21181. "type": "string"
  21182. },
  21183. "contractno": {
  21184. "description": "合同编号",
  21185. "type": "string"
  21186. },
  21187. "contracttype": {
  21188. "description": "现货合同类型 - 1:采购 -1:销售",
  21189. "type": "integer"
  21190. },
  21191. "convertfactor": {
  21192. "description": "标仓系数",
  21193. "type": "number"
  21194. },
  21195. "convertratio": {
  21196. "description": "折算系数(套保品种)",
  21197. "type": "number"
  21198. },
  21199. "curqty": {
  21200. "description": "今定价量",
  21201. "type": "number"
  21202. },
  21203. "deliverygoodscode": {
  21204. "description": "现货品种代码",
  21205. "type": "string"
  21206. },
  21207. "deliverygoodsid": {
  21208. "description": "现货品种id",
  21209. "type": "integer"
  21210. },
  21211. "deliverygoodsname": {
  21212. "description": "现货品种名称",
  21213. "type": "string"
  21214. },
  21215. "diffhedgeqty": {
  21216. "description": "套保变动量",
  21217. "type": "number"
  21218. },
  21219. "diffneedhedgeqty": {
  21220. "description": "应套保变动量",
  21221. "type": "number"
  21222. },
  21223. "diffqty": {
  21224. "description": "套保品种今变动量",
  21225. "type": "number"
  21226. },
  21227. "enumdicname": {
  21228. "description": "单位名称",
  21229. "type": "string"
  21230. },
  21231. "mgunitname": {
  21232. "description": "套保品种单位名称",
  21233. "type": "string"
  21234. },
  21235. "middlegoodscode": {
  21236. "description": "套保品种代码",
  21237. "type": "string"
  21238. },
  21239. "middlegoodsid": {
  21240. "description": "套保品种id",
  21241. "type": "integer"
  21242. },
  21243. "middlegoodsname": {
  21244. "description": "套保品种名称",
  21245. "type": "string"
  21246. },
  21247. "needarbitrageratio": {
  21248. "description": "应套利比例",
  21249. "type": "number"
  21250. },
  21251. "needhedgeratio": {
  21252. "description": "应套保比例",
  21253. "type": "number"
  21254. },
  21255. "pricedqty": {
  21256. "description": "已定价量",
  21257. "type": "number"
  21258. },
  21259. "qty": {
  21260. "description": "合同量",
  21261. "type": "number"
  21262. },
  21263. "reckondate": {
  21264. "description": "交易日(reckondate)",
  21265. "type": "string"
  21266. },
  21267. "selluserid": {
  21268. "description": "销售方id",
  21269. "type": "integer"
  21270. },
  21271. "sellusername": {
  21272. "description": "销售方名称",
  21273. "type": "string"
  21274. },
  21275. "spotcontractid": {
  21276. "description": "合同id",
  21277. "type": "string"
  21278. },
  21279. "todaypricedqty": {
  21280. "description": "今定价量",
  21281. "type": "number"
  21282. },
  21283. "tradedate": {
  21284. "description": "交易日",
  21285. "type": "string"
  21286. },
  21287. "unitid": {
  21288. "description": "品类单位id",
  21289. "type": "integer"
  21290. },
  21291. "userid": {
  21292. "description": "机构id",
  21293. "type": "integer"
  21294. },
  21295. "username": {
  21296. "description": "交易用户",
  21297. "type": "string"
  21298. },
  21299. "wrstandardcode": {
  21300. "description": "现货商品代码",
  21301. "type": "string"
  21302. },
  21303. "wrstandardid": {
  21304. "description": "现货商品id",
  21305. "type": "integer"
  21306. },
  21307. "wrstandardname": {
  21308. "description": "现货商品名称",
  21309. "type": "string"
  21310. }
  21311. }
  21312. },
  21313. "models.Ermcp3ExposureDetail": {
  21314. "type": "object",
  21315. "properties": {
  21316. "areauserid": {
  21317. "description": "机构ID",
  21318. "type": "integer"
  21319. },
  21320. "changeQty": {
  21321. "description": "套保变动量",
  21322. "type": "number"
  21323. },
  21324. "contracttype": {
  21325. "description": "现货合同类型 - 1:采购 -1:销售",
  21326. "type": "integer"
  21327. },
  21328. "convertfactor": {
  21329. "description": "标仓系数",
  21330. "type": "number"
  21331. },
  21332. "convertratio": {
  21333. "description": "折算系数",
  21334. "type": "number"
  21335. },
  21336. "createtime": {
  21337. "description": "时间",
  21338. "type": "string"
  21339. },
  21340. "enumdicname": {
  21341. "description": "现货商品单位名称",
  21342. "type": "string"
  21343. },
  21344. "logtype": {
  21345. "description": "类型 - 1:套保计划 2:现货合同",
  21346. "type": "integer"
  21347. },
  21348. "mgunitid": {
  21349. "description": "套保品种单位id",
  21350. "type": "integer"
  21351. },
  21352. "mgunitidname": {
  21353. "description": "套保品种单位名称",
  21354. "type": "string"
  21355. },
  21356. "middlegoodsId": {
  21357. "description": "套保商品id",
  21358. "type": "integer"
  21359. },
  21360. "middlegoodscode": {
  21361. "description": "套保商品代码",
  21362. "type": "string"
  21363. },
  21364. "middlegoodsname": {
  21365. "description": "套保商品名称",
  21366. "type": "string"
  21367. },
  21368. "qty": {
  21369. "description": "数量",
  21370. "type": "number"
  21371. },
  21372. "relateNo": {
  21373. "description": "现货合同/套保计划编号",
  21374. "type": "string"
  21375. },
  21376. "unitid": {
  21377. "description": "现货商品单位id",
  21378. "type": "integer"
  21379. },
  21380. "wrstandardcode": {
  21381. "description": "现货商品代码",
  21382. "type": "string"
  21383. },
  21384. "wrstandardid": {
  21385. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21386. "type": "integer"
  21387. },
  21388. "wrstandardname": {
  21389. "description": "现货商品名称",
  21390. "type": "string"
  21391. }
  21392. }
  21393. },
  21394. "models.Ermcp3ExposureFutuDetail": {
  21395. "type": "object",
  21396. "properties": {
  21397. "accountid": {
  21398. "description": "交易账户id",
  21399. "type": "integer"
  21400. },
  21401. "accountname": {
  21402. "description": "交易账户",
  21403. "type": "string"
  21404. },
  21405. "begindate": {
  21406. "description": "开始交易日",
  21407. "type": "string"
  21408. },
  21409. "buyorsell": {
  21410. "description": "方向 0-买 1-卖",
  21411. "type": "integer"
  21412. },
  21413. "diffmgqty": {
  21414. "description": "套保品种今变化量",
  21415. "type": "number"
  21416. },
  21417. "diffneedqty": {
  21418. "description": "应套保总量变化量",
  21419. "type": "number"
  21420. },
  21421. "difftradeqty": {
  21422. "description": "交易品种今变化量",
  21423. "type": "number"
  21424. },
  21425. "enddate": {
  21426. "description": "结束交易日",
  21427. "type": "string"
  21428. },
  21429. "enumdicname": {
  21430. "description": "单位名称",
  21431. "type": "string"
  21432. },
  21433. "goodscode": {
  21434. "description": "商品代码",
  21435. "type": "string"
  21436. },
  21437. "goodsid": {
  21438. "description": "商品id",
  21439. "type": "integer"
  21440. },
  21441. "goodsname": {
  21442. "description": "商品名称",
  21443. "type": "string"
  21444. },
  21445. "holdqty": {
  21446. "description": "期末持仓量",
  21447. "type": "number"
  21448. },
  21449. "middlegoodscode": {
  21450. "description": "套保商品代码",
  21451. "type": "string"
  21452. },
  21453. "middlegoodsid": {
  21454. "description": "套保商品id",
  21455. "type": "integer"
  21456. },
  21457. "middlegoodsname": {
  21458. "description": "套保商品名称",
  21459. "type": "string"
  21460. },
  21461. "oriholdqty": {
  21462. "description": "期初持仓量",
  21463. "type": "number"
  21464. },
  21465. "reckondate": {
  21466. "description": "交易日(RECKONDATE)",
  21467. "type": "string"
  21468. },
  21469. "todaycloseqty": {
  21470. "description": "今平仓量",
  21471. "type": "number"
  21472. },
  21473. "todayopenqty": {
  21474. "description": "今开仓量",
  21475. "type": "number"
  21476. },
  21477. "tradedate": {
  21478. "description": "交易日(RECKONDATE)",
  21479. "type": "string"
  21480. },
  21481. "username": {
  21482. "description": "用户名称(交易用户)",
  21483. "type": "string"
  21484. }
  21485. }
  21486. },
  21487. "models.Ermcp3ExposureHedgeplanDetail": {
  21488. "type": "object",
  21489. "properties": {
  21490. "biztype": {
  21491. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  21492. "type": "integer"
  21493. },
  21494. "changqty": {
  21495. "description": "应套保总量变化量",
  21496. "type": "number"
  21497. },
  21498. "contracttype": {
  21499. "description": "计划类型 - 1:采购 -1:销售",
  21500. "type": "integer"
  21501. },
  21502. "convertratio": {
  21503. "description": "折算系数(套保品种)",
  21504. "type": "number"
  21505. },
  21506. "deliverygoodscode": {
  21507. "description": "现货商品代码",
  21508. "type": "string"
  21509. },
  21510. "deliverygoodsid": {
  21511. "description": "现货商品id",
  21512. "type": "integer"
  21513. },
  21514. "deliverygoodsname": {
  21515. "description": "现货商吕名称",
  21516. "type": "string"
  21517. },
  21518. "dgunitid": {
  21519. "description": "现货商品单位id",
  21520. "type": "integer"
  21521. },
  21522. "dgunitidname": {
  21523. "description": "单位名称(现货商品)",
  21524. "type": "string"
  21525. },
  21526. "diffqty": {
  21527. "description": "套保品种今变动量",
  21528. "type": "number"
  21529. },
  21530. "enumdicname": {
  21531. "description": "单位名称(品类)",
  21532. "type": "string"
  21533. },
  21534. "hedgeplanid": {
  21535. "description": "套保计划id",
  21536. "type": "string"
  21537. },
  21538. "hedgeplanno": {
  21539. "description": "套保计划名称",
  21540. "type": "string"
  21541. },
  21542. "hedgeplanstatus": {
  21543. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21544. "type": "integer"
  21545. },
  21546. "mgunitidname": {
  21547. "description": "单位名称(套保商品)",
  21548. "type": "string"
  21549. },
  21550. "middlegoodscode": {
  21551. "description": "套保品种代码",
  21552. "type": "string"
  21553. },
  21554. "middlegoodsid": {
  21555. "description": "套保品种id",
  21556. "type": "integer"
  21557. },
  21558. "middlegoodsname": {
  21559. "description": "套保品种名称",
  21560. "type": "string"
  21561. },
  21562. "needarbitrageratio": {
  21563. "description": "应套利比例",
  21564. "type": "number"
  21565. },
  21566. "needhedgeratio": {
  21567. "description": "应套保比例",
  21568. "type": "number"
  21569. },
  21570. "pricedqty": {
  21571. "description": "已定价量",
  21572. "type": "number"
  21573. },
  21574. "qty": {
  21575. "description": "合同量",
  21576. "type": "number"
  21577. },
  21578. "reckondate": {
  21579. "description": "交易日(reckondate)",
  21580. "type": "string"
  21581. },
  21582. "tradedate": {
  21583. "description": "交易日(登记日)",
  21584. "type": "string"
  21585. },
  21586. "unitid": {
  21587. "description": "品类单位id",
  21588. "type": "integer"
  21589. },
  21590. "userid": {
  21591. "description": "机构id",
  21592. "type": "integer"
  21593. },
  21594. "wrstandardcode": {
  21595. "description": "品类代码",
  21596. "type": "string"
  21597. },
  21598. "wrstandardid": {
  21599. "description": "品类id",
  21600. "type": "integer"
  21601. },
  21602. "wrstandardname": {
  21603. "description": "品类名称",
  21604. "type": "string"
  21605. }
  21606. }
  21607. },
  21608. "models.Ermcp3ExposureParamChLog": {
  21609. "type": "object",
  21610. "properties": {
  21611. "accountid": {
  21612. "description": "期货账户ID (作废, 默认为0)",
  21613. "type": "integer"
  21614. },
  21615. "aftervalue": {
  21616. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21617. "type": "number"
  21618. },
  21619. "areauserid": {
  21620. "description": "所属机构\\交易用户ID",
  21621. "type": "integer"
  21622. },
  21623. "beforevalue": {
  21624. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21625. "type": "number"
  21626. },
  21627. "begindate": {
  21628. "description": "开始交易日",
  21629. "type": "string"
  21630. },
  21631. "changelogtype": {
  21632. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21633. "type": "integer"
  21634. },
  21635. "curvalue": {
  21636. "description": "当前套保\\套利量(套保总量|套利总量)",
  21637. "type": "number"
  21638. },
  21639. "diffvalue": {
  21640. "description": "应套保总量变化量",
  21641. "type": "number"
  21642. },
  21643. "enddate": {
  21644. "description": "结束交易日",
  21645. "type": "string"
  21646. },
  21647. "logdatetime": {
  21648. "description": "流水日期",
  21649. "type": "string"
  21650. },
  21651. "logid": {
  21652. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21653. "type": "string"
  21654. },
  21655. "middlegoodscode": {
  21656. "description": "套保品种代码",
  21657. "type": "string"
  21658. },
  21659. "middlegoodsid": {
  21660. "description": "套保品种",
  21661. "type": "integer"
  21662. },
  21663. "middlegoodsname": {
  21664. "description": "套保品种名称",
  21665. "type": "string"
  21666. },
  21667. "paramaftervalue": {
  21668. "description": "参数变更后(调整后参数值)",
  21669. "type": "number"
  21670. },
  21671. "parambeforevalue": {
  21672. "description": "参数变更前(调整前参数值)",
  21673. "type": "number"
  21674. },
  21675. "reckondate": {
  21676. "description": "交易日(reckondate)",
  21677. "type": "string"
  21678. },
  21679. "tradedate": {
  21680. "description": "交易日(yyyyMMdd)",
  21681. "type": "string"
  21682. }
  21683. }
  21684. },
  21685. "models.Ermcp3ExpourseReport": {
  21686. "type": "object",
  21687. "properties": {
  21688. "accountid": {
  21689. "description": "期货账户ID (作废, 默认为0)",
  21690. "type": "integer"
  21691. },
  21692. "accountname": {
  21693. "description": "机构名称",
  21694. "type": "string"
  21695. },
  21696. "arbitrageqty": {
  21697. "description": "套利量",
  21698. "type": "number"
  21699. },
  21700. "areauserid": {
  21701. "description": "所属机构\\交易用户ID",
  21702. "type": "integer"
  21703. },
  21704. "begindate": {
  21705. "description": "开始交易日",
  21706. "type": "string"
  21707. },
  21708. "buyfutureqty": {
  21709. "description": "买入期货数量",
  21710. "type": "number"
  21711. },
  21712. "buyplanqty": {
  21713. "description": "采购计划数量",
  21714. "type": "number"
  21715. },
  21716. "buypricedqty": {
  21717. "description": "采购合同已定价数量",
  21718. "type": "number"
  21719. },
  21720. "cycletime": {
  21721. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21722. "type": "string"
  21723. },
  21724. "cycletype": {
  21725. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21726. "type": "integer"
  21727. },
  21728. "diffexposure": {
  21729. "description": "变动量(套保敞口)",
  21730. "type": "number"
  21731. },
  21732. "difffutuqty": {
  21733. "description": "变动量(期货)",
  21734. "type": "number"
  21735. },
  21736. "diffhedgeqty": {
  21737. "description": "变动量(现货应套保总量)",
  21738. "type": "number"
  21739. },
  21740. "diffmgqtya": {
  21741. "description": "套保变动量",
  21742. "type": "number"
  21743. },
  21744. "diffmgqtyb": {
  21745. "description": "套利变动量",
  21746. "type": "number"
  21747. },
  21748. "diffqty": {
  21749. "description": "变动量(总敞口)",
  21750. "type": "number"
  21751. },
  21752. "diffspotqty": {
  21753. "description": "变动量(现货)",
  21754. "type": "number"
  21755. },
  21756. "enddate": {
  21757. "description": "结束交易日",
  21758. "type": "string"
  21759. },
  21760. "enumdicname": {
  21761. "description": "单位名称",
  21762. "type": "string"
  21763. },
  21764. "hedgeqty": {
  21765. "description": "套保量",
  21766. "type": "number"
  21767. },
  21768. "mgneedhedgeratio": {
  21769. "description": "套保比例(套保品的)",
  21770. "type": "number"
  21771. },
  21772. "middlegoodsid": {
  21773. "description": "套保品种ID",
  21774. "type": "integer"
  21775. },
  21776. "middlegoodsname": {
  21777. "description": "套保商品名称",
  21778. "type": "string"
  21779. },
  21780. "middlgoodscode": {
  21781. "description": "套保商品代码",
  21782. "type": "string"
  21783. },
  21784. "needarbitrageqty": {
  21785. "description": "应套利量",
  21786. "type": "number"
  21787. },
  21788. "needarbitrageratio": {
  21789. "description": "套利比例(套保品的)",
  21790. "type": "number"
  21791. },
  21792. "needhedgeexposoure": {
  21793. "description": "应套保敞口(套保敞口)",
  21794. "type": "number"
  21795. },
  21796. "needhedgeqty": {
  21797. "description": "应套保量",
  21798. "type": "number"
  21799. },
  21800. "needhedgeratio": {
  21801. "description": "应套保敞口比例",
  21802. "type": "number"
  21803. },
  21804. "oriarbitrageqty": {
  21805. "description": "期初套利量",
  21806. "type": "number"
  21807. },
  21808. "oribuyfutureqty": {
  21809. "description": "期初买入期货数量",
  21810. "type": "number"
  21811. },
  21812. "oribuyplanqty": {
  21813. "description": "期初采购计划数量",
  21814. "type": "number"
  21815. },
  21816. "oribuypricedqty": {
  21817. "description": "期初采购合同已定价数量",
  21818. "type": "number"
  21819. },
  21820. "orihedgeqty": {
  21821. "description": "期初套保量",
  21822. "type": "number"
  21823. },
  21824. "orineedarbitrageqty": {
  21825. "description": "期初应套利量",
  21826. "type": "number"
  21827. },
  21828. "orineedhedgeexposoure": {
  21829. "description": "期初应套保敞口",
  21830. "type": "number"
  21831. },
  21832. "orineedhedgeqty": {
  21833. "description": "期初应套保量",
  21834. "type": "number"
  21835. },
  21836. "orisellfutureqty": {
  21837. "description": "期初卖出期货数量",
  21838. "type": "number"
  21839. },
  21840. "orisellplanqty": {
  21841. "description": "期初销售计划数量",
  21842. "type": "number"
  21843. },
  21844. "orisellpricedqty": {
  21845. "description": "期初销售合同已定价数量",
  21846. "type": "number"
  21847. },
  21848. "oritotalexposure": {
  21849. "description": "期初实时总敞口",
  21850. "type": "number"
  21851. },
  21852. "oritotalfutureqty": {
  21853. "description": "期初期货头寸总量",
  21854. "type": "number"
  21855. },
  21856. "oritotalneedhedgeqty": {
  21857. "description": "期初应套保总量",
  21858. "type": "number"
  21859. },
  21860. "oritotalspotqty": {
  21861. "description": "期初现货头寸总量",
  21862. "type": "number"
  21863. },
  21864. "reckondate": {
  21865. "description": "日照时期(yyyyMMdd)",
  21866. "type": "string"
  21867. },
  21868. "sellfutureqty": {
  21869. "description": "卖出期货数量",
  21870. "type": "number"
  21871. },
  21872. "sellplanqty": {
  21873. "description": "销售计划数量",
  21874. "type": "number"
  21875. },
  21876. "sellpricedqty": {
  21877. "description": "销售合同已定价数量",
  21878. "type": "number"
  21879. },
  21880. "totalexposure": {
  21881. "description": "实时总敞口(总敞口)",
  21882. "type": "number"
  21883. },
  21884. "totalfutureqty": {
  21885. "description": "期货头寸总量(期货总量)",
  21886. "type": "number"
  21887. },
  21888. "totalhedgeratio": {
  21889. "description": "敞口比例",
  21890. "type": "number"
  21891. },
  21892. "totalneedhedgeqty": {
  21893. "description": "应套保总量(现货应套保总量)",
  21894. "type": "number"
  21895. },
  21896. "totalspotqty": {
  21897. "description": "现货头寸总量",
  21898. "type": "number"
  21899. },
  21900. "unitid": {
  21901. "description": "单位id",
  21902. "type": "integer"
  21903. },
  21904. "updatetime": {
  21905. "description": "更新时间",
  21906. "type": "string"
  21907. }
  21908. }
  21909. },
  21910. "models.Ermcp3FinanceReport": {
  21911. "type": "object",
  21912. "properties": {
  21913. "accountname": {
  21914. "description": "机构名称",
  21915. "type": "string"
  21916. },
  21917. "areauserid": {
  21918. "description": "所属机构\\交易用户ID",
  21919. "type": "integer"
  21920. },
  21921. "begindate": {
  21922. "description": "开始交易日",
  21923. "type": "string"
  21924. },
  21925. "biztype": {
  21926. "description": "业务类型 - 1:套保 2:套利",
  21927. "type": "integer"
  21928. },
  21929. "brandname": {
  21930. "description": "品牌名称",
  21931. "type": "string"
  21932. },
  21933. "buypreinvoicedamount": {
  21934. "description": "采购预收票额(预收票额)",
  21935. "type": "number"
  21936. },
  21937. "buyprepaidamount": {
  21938. "description": "采购预付款额(预付货款额)",
  21939. "type": "number"
  21940. },
  21941. "buytodayinvoiceamount": {
  21942. "description": "采购今收票额(今收票额)",
  21943. "type": "number"
  21944. },
  21945. "buytodayrefundamount": {
  21946. "description": "采购今收退款额(今收退款额)",
  21947. "type": "number"
  21948. },
  21949. "buytodaysettleamount": {
  21950. "description": "采购今付款额(今付货款额)",
  21951. "type": "number"
  21952. },
  21953. "buyuninvoicedamount": {
  21954. "description": "采购应收票额(应收票额)",
  21955. "type": "number"
  21956. },
  21957. "buyunpaidamount": {
  21958. "description": "采购应付款额(应付货款额)",
  21959. "type": "number"
  21960. },
  21961. "currencyid": {
  21962. "description": "结算币种ID",
  21963. "type": "integer"
  21964. },
  21965. "currencyname": {
  21966. "description": "币种名称",
  21967. "type": "string"
  21968. },
  21969. "cycletime": {
  21970. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21971. "type": "string"
  21972. },
  21973. "cycletype": {
  21974. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21975. "type": "integer"
  21976. },
  21977. "deliverygoodscode": {
  21978. "description": "现货品种代码",
  21979. "type": "string"
  21980. },
  21981. "deliverygoodsid": {
  21982. "description": "现货品种ID",
  21983. "type": "integer"
  21984. },
  21985. "deliverygoodsname": {
  21986. "description": "现货品种名称",
  21987. "type": "string"
  21988. },
  21989. "enddate": {
  21990. "description": "结束交易日",
  21991. "type": "string"
  21992. },
  21993. "reckondate": {
  21994. "description": "日照时期(yyyyMMdd)",
  21995. "type": "string"
  21996. },
  21997. "sellpreinvoicedamount": {
  21998. "description": "销售预开票额(预开票额)",
  21999. "type": "number"
  22000. },
  22001. "sellprepaidamount": {
  22002. "description": "销售预收款额(预收货款额)",
  22003. "type": "number"
  22004. },
  22005. "selltodayinvoiceamount": {
  22006. "description": "销售今开票额(今开票额)",
  22007. "type": "number"
  22008. },
  22009. "selltodayrefundamount": {
  22010. "description": "销售今付退款额(今付退款额)",
  22011. "type": "number"
  22012. },
  22013. "selltodaysettleamount": {
  22014. "description": "销售今收款额(今收货款额)",
  22015. "type": "number"
  22016. },
  22017. "selluninvoicedamount": {
  22018. "description": "销售应开票额(应开票额)",
  22019. "type": "number"
  22020. },
  22021. "sellunpaidamount": {
  22022. "description": "销售应收款额(应收货款额)",
  22023. "type": "number"
  22024. },
  22025. "spotgoodsbrandid": {
  22026. "description": "现货品牌ID",
  22027. "type": "integer"
  22028. },
  22029. "todaypaysum": {
  22030. "description": "今付款合计",
  22031. "type": "number"
  22032. },
  22033. "todayreceivesum": {
  22034. "description": "今收款合计",
  22035. "type": "number"
  22036. },
  22037. "updatetime": {
  22038. "description": "更新时间",
  22039. "type": "string"
  22040. },
  22041. "wrfactortypeid": {
  22042. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22043. "type": "integer"
  22044. },
  22045. "wrstandardcode": {
  22046. "description": "品类代码",
  22047. "type": "string"
  22048. },
  22049. "wrstandardid": {
  22050. "description": "现货商品ID",
  22051. "type": "integer"
  22052. },
  22053. "wrstandardname": {
  22054. "description": "品类名称",
  22055. "type": "string"
  22056. }
  22057. }
  22058. },
  22059. "models.Ermcp3GoodsGroup": {
  22060. "type": "object",
  22061. "required": [
  22062. "areauserid"
  22063. ],
  22064. "properties": {
  22065. "agreeunit": {
  22066. "description": "合约单位",
  22067. "type": "number"
  22068. },
  22069. "areauserid": {
  22070. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  22071. "type": "integer"
  22072. },
  22073. "canshort": {
  22074. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22075. "type": "integer"
  22076. },
  22077. "closepricemode": {
  22078. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22079. "type": "integer"
  22080. },
  22081. "createtime": {
  22082. "description": "创建时间",
  22083. "type": "string"
  22084. },
  22085. "creatorid": {
  22086. "description": "创建人",
  22087. "type": "integer"
  22088. },
  22089. "currencyid": {
  22090. "description": "报价货币ID",
  22091. "type": "integer"
  22092. },
  22093. "decimalplace": {
  22094. "description": "报价小数位",
  22095. "type": "integer"
  22096. },
  22097. "enumdicname": {
  22098. "description": "单位名称",
  22099. "type": "string"
  22100. },
  22101. "exchangefullname": {
  22102. "description": "交易所全称",
  22103. "type": "string"
  22104. },
  22105. "excludecfg": {
  22106. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  22107. "type": "integer"
  22108. },
  22109. "exexchangecode": {
  22110. "description": "交易所代码",
  22111. "type": "string"
  22112. },
  22113. "exexchangeid": {
  22114. "description": "外部交易所ID[通道交易]",
  22115. "type": "integer"
  22116. },
  22117. "exexchangename": {
  22118. "description": "交易所名称",
  22119. "type": "string"
  22120. },
  22121. "goodsgroupid": {
  22122. "description": "商品组ID(自增ID)",
  22123. "type": "integer"
  22124. },
  22125. "goodsgroupname": {
  22126. "description": "商品组名称",
  22127. "type": "string"
  22128. },
  22129. "goodsgroupstatus": {
  22130. "description": "商品组状态 - 1:正常 2:注销",
  22131. "type": "integer"
  22132. },
  22133. "goodunitid": {
  22134. "description": "报价单位ID",
  22135. "type": "integer"
  22136. },
  22137. "groupcategroyid": {
  22138. "description": "品种分类ID",
  22139. "type": "integer"
  22140. },
  22141. "innerdealmode": {
  22142. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22143. "type": "integer"
  22144. },
  22145. "marketid": {
  22146. "description": "所属市场ID",
  22147. "type": "integer"
  22148. },
  22149. "modifierid": {
  22150. "description": "修改人",
  22151. "type": "integer"
  22152. },
  22153. "modifytime": {
  22154. "description": "修改时间",
  22155. "type": "string"
  22156. },
  22157. "outerdealmode": {
  22158. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22159. "type": "integer"
  22160. },
  22161. "outergroupcode": {
  22162. "description": "外部商品组代码[通道交易]",
  22163. "type": "string"
  22164. },
  22165. "quoteminunit": {
  22166. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22167. "type": "integer"
  22168. },
  22169. "quotesourcegroupid": {
  22170. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22171. "type": "integer"
  22172. },
  22173. "syncgoodsqty": {
  22174. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22175. "type": "integer"
  22176. }
  22177. }
  22178. },
  22179. "models.Ermcp3HPMiddleGoods": {
  22180. "type": "object",
  22181. "properties": {
  22182. "biztype": {
  22183. "description": "业务类型 1:套保 2:套利",
  22184. "type": "integer"
  22185. },
  22186. "contracttype": {
  22187. "description": "合同类型 1:采购 -1:销售",
  22188. "type": "integer"
  22189. },
  22190. "convertratio": {
  22191. "description": "折算系数",
  22192. "type": "number"
  22193. },
  22194. "customername": {
  22195. "description": "对手手名称",
  22196. "type": "string"
  22197. },
  22198. "customeruserid": {
  22199. "description": "对手id",
  22200. "type": "integer"
  22201. },
  22202. "enumdicname": {
  22203. "description": "现货单位名称",
  22204. "type": "string"
  22205. },
  22206. "hedgeplanid": {
  22207. "description": "计划id",
  22208. "type": "string"
  22209. },
  22210. "hedgeplanno": {
  22211. "description": "计划编号",
  22212. "type": "string"
  22213. },
  22214. "middlegoodsid": {
  22215. "description": "套保品种ID",
  22216. "type": "integer"
  22217. },
  22218. "middlegoodsplanqty3": {
  22219. "description": "应套保计划量",
  22220. "type": "number"
  22221. },
  22222. "needhedgeratio": {
  22223. "description": "套保比例",
  22224. "type": "number"
  22225. },
  22226. "pricedqty": {
  22227. "description": "已定价量",
  22228. "type": "number"
  22229. },
  22230. "relatedmiddlegoodsqty": {
  22231. "description": "已关联量(套保品种)(期货)",
  22232. "type": "number"
  22233. },
  22234. "unitid": {
  22235. "description": "现货单位id",
  22236. "type": "integer"
  22237. },
  22238. "userid": {
  22239. "description": "用户id",
  22240. "type": "integer"
  22241. },
  22242. "vatrate": {
  22243. "description": "增值税率",
  22244. "type": "number"
  22245. },
  22246. "wrstandardcode": {
  22247. "description": "现货商品代码",
  22248. "type": "string"
  22249. },
  22250. "wrstandardid": {
  22251. "description": "现货商品id",
  22252. "type": "integer"
  22253. },
  22254. "wrstandardname": {
  22255. "description": "现货商品名称",
  22256. "type": "string"
  22257. }
  22258. }
  22259. },
  22260. "models.Ermcp3HedgePlan": {
  22261. "type": "object",
  22262. "properties": {
  22263. "accountid": {
  22264. "description": "资金账号",
  22265. "type": "integer"
  22266. },
  22267. "areauserid": {
  22268. "description": "用户ID",
  22269. "type": "integer"
  22270. },
  22271. "auditid": {
  22272. "description": "审核id",
  22273. "type": "integer"
  22274. },
  22275. "auditname": {
  22276. "description": "审核人名称",
  22277. "type": "string"
  22278. },
  22279. "auditremark": {
  22280. "description": "审核备注",
  22281. "type": "string"
  22282. },
  22283. "auditsrc": {
  22284. "description": "审核来源 1-管理端 2-终端",
  22285. "type": "integer"
  22286. },
  22287. "audittime": {
  22288. "description": "审核时间",
  22289. "type": "string"
  22290. },
  22291. "contracttype": {
  22292. "description": "计划类型 - 1:采购 -1:销售",
  22293. "type": "integer"
  22294. },
  22295. "convertfactor": {
  22296. "description": "标仓系数",
  22297. "type": "number"
  22298. },
  22299. "createtime": {
  22300. "description": "创建时间",
  22301. "type": "string"
  22302. },
  22303. "currencyid": {
  22304. "description": "币种id",
  22305. "type": "integer"
  22306. },
  22307. "currencyname": {
  22308. "description": "币种名称",
  22309. "type": "string"
  22310. },
  22311. "deliverygoodscode": {
  22312. "description": "现货品种代码",
  22313. "type": "string"
  22314. },
  22315. "deliverygoodsid": {
  22316. "description": "现货品种ID",
  22317. "type": "integer"
  22318. },
  22319. "deliverygoodsname": {
  22320. "description": "现货品种名称",
  22321. "type": "string"
  22322. },
  22323. "enumdicname": {
  22324. "description": "单位名称(现货商品)",
  22325. "type": "string"
  22326. },
  22327. "hedgeplanid": {
  22328. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  22329. "type": "string"
  22330. },
  22331. "hedgeplanno": {
  22332. "description": "套保计划编号(名称)",
  22333. "type": "string"
  22334. },
  22335. "hedgeplanstatus": {
  22336. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22337. "type": "integer"
  22338. },
  22339. "planqty": {
  22340. "description": "计划数量",
  22341. "type": "number"
  22342. },
  22343. "plantime": {
  22344. "description": "计划时间",
  22345. "type": "string"
  22346. },
  22347. "producttype": {
  22348. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22349. "type": "integer"
  22350. },
  22351. "remark": {
  22352. "description": "备注",
  22353. "type": "string"
  22354. },
  22355. "spotgoodsdesc": {
  22356. "description": "商品型号",
  22357. "type": "string"
  22358. },
  22359. "taaccountname": {
  22360. "description": "资金账号名称",
  22361. "type": "string"
  22362. },
  22363. "tradeuserid": {
  22364. "description": "交易用户id",
  22365. "type": "integer"
  22366. },
  22367. "tradeusername": {
  22368. "description": "交易用户名称",
  22369. "type": "string"
  22370. },
  22371. "unitid": {
  22372. "description": "单位id(现货商品)",
  22373. "type": "integer"
  22374. },
  22375. "updatetime": {
  22376. "description": "更新时间",
  22377. "type": "string"
  22378. },
  22379. "vatrate": {
  22380. "description": "增值税率",
  22381. "type": "number"
  22382. },
  22383. "wrstandardcode": {
  22384. "description": "品类代码",
  22385. "type": "string"
  22386. },
  22387. "wrstandardid": {
  22388. "description": "品类id",
  22389. "type": "integer"
  22390. },
  22391. "wrstandardname": {
  22392. "description": "品类名称",
  22393. "type": "string"
  22394. },
  22395. "wrunitid": {
  22396. "description": "品类单位id",
  22397. "type": "integer"
  22398. },
  22399. "wrunitidame": {
  22400. "description": "品类单位名称",
  22401. "type": "string"
  22402. }
  22403. }
  22404. },
  22405. "models.Ermcp3InnerTradeLink": {
  22406. "type": "object",
  22407. "properties": {
  22408. "accountid": {
  22409. "description": "期货账号代码 | 资金账号ID",
  22410. "type": "integer"
  22411. },
  22412. "buyorsell": {
  22413. "description": "方向 - 0:买 1:卖",
  22414. "type": "integer"
  22415. },
  22416. "channelbuildtype": {
  22417. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22418. "type": "integer"
  22419. },
  22420. "currencyid": {
  22421. "description": "币种id",
  22422. "type": "integer"
  22423. },
  22424. "currencyname": {
  22425. "description": "结算币种 名称",
  22426. "type": "string"
  22427. },
  22428. "goodscode": {
  22429. "description": "商品代码",
  22430. "type": "string"
  22431. },
  22432. "goodsid": {
  22433. "description": "商品ID",
  22434. "type": "integer"
  22435. },
  22436. "goodsname": {
  22437. "description": "商品名称",
  22438. "type": "string"
  22439. },
  22440. "outtradeid": {
  22441. "description": "外部成交单号",
  22442. "type": "string"
  22443. },
  22444. "taname": {
  22445. "description": "期货账户名称",
  22446. "type": "string"
  22447. },
  22448. "tradeid": {
  22449. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22450. "type": "string"
  22451. },
  22452. "tradeprice": {
  22453. "description": "成交价格",
  22454. "type": "number"
  22455. },
  22456. "tradeqty": {
  22457. "description": "期货成交数量",
  22458. "type": "integer"
  22459. },
  22460. "tradetime": {
  22461. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  22462. "type": "string"
  22463. },
  22464. "username": {
  22465. "description": "用户名称",
  22466. "type": "string"
  22467. }
  22468. }
  22469. },
  22470. "models.Ermcp3OutTradeLink": {
  22471. "type": "object",
  22472. "properties": {
  22473. "buyorsell": {
  22474. "description": "买卖方向 - 0:买 1:卖",
  22475. "type": "integer"
  22476. },
  22477. "channelbuildtype": {
  22478. "description": "开平标志- 0:无 1:建仓 2:平仓",
  22479. "type": "integer"
  22480. },
  22481. "currencyname": {
  22482. "description": "币种名称",
  22483. "type": "string"
  22484. },
  22485. "exexchangecode": {
  22486. "description": "交易所代码",
  22487. "type": "string"
  22488. },
  22489. "exexchangename": {
  22490. "description": "交易所名称",
  22491. "type": "string"
  22492. },
  22493. "goodscode": {
  22494. "description": "合约代码",
  22495. "type": "string"
  22496. },
  22497. "goodsid": {
  22498. "description": "合约id",
  22499. "type": "integer"
  22500. },
  22501. "goodsname": {
  22502. "description": "合约名称",
  22503. "type": "string"
  22504. },
  22505. "hasinnerorder": {
  22506. "description": "是否有内部单关联 - 0:无 1:有",
  22507. "type": "integer"
  22508. },
  22509. "hedgeaccountcode": {
  22510. "description": "外部账号 | 对冲账号",
  22511. "type": "string"
  22512. },
  22513. "outtradeid": {
  22514. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22515. "type": "string"
  22516. },
  22517. "tradeprice": {
  22518. "description": "成交价格",
  22519. "type": "number"
  22520. },
  22521. "tradeqty": {
  22522. "description": "成交数量",
  22523. "type": "integer"
  22524. },
  22525. "tradetime": {
  22526. "description": "成交时间",
  22527. "type": "string"
  22528. }
  22529. }
  22530. },
  22531. "models.Ermcp3PaAreaAuditCfg": {
  22532. "type": "object",
  22533. "properties": {
  22534. "areauserid": {
  22535. "description": "用户ID",
  22536. "type": "integer"
  22537. },
  22538. "buyinauditflag": {
  22539. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  22540. "type": "integer"
  22541. },
  22542. "costratioauditflag": {
  22543. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  22544. "type": "integer"
  22545. },
  22546. "customerauditflag": {
  22547. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  22548. "type": "integer"
  22549. },
  22550. "deliveryauditflag": {
  22551. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  22552. "type": "integer"
  22553. },
  22554. "invoiceauditflag": {
  22555. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  22556. "type": "integer"
  22557. },
  22558. "mgneedhedgeratioauditflag": {
  22559. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  22560. "type": "integer"
  22561. },
  22562. "moneyauditflag": {
  22563. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22564. "type": "integer"
  22565. },
  22566. "operatorid": {
  22567. "description": "操作人",
  22568. "type": "integer"
  22569. },
  22570. "operatorsrc": {
  22571. "description": "操作来源 - 1:管理端 2:终端",
  22572. "type": "integer"
  22573. },
  22574. "pointpriceauditflag": {
  22575. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22576. "type": "integer"
  22577. },
  22578. "produceinauditflag": {
  22579. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22580. "type": "integer"
  22581. },
  22582. "produceoutauditflag": {
  22583. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22584. "type": "integer"
  22585. },
  22586. "selloutauditflag": {
  22587. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22588. "type": "integer"
  22589. },
  22590. "sgconvertratioauditflag": {
  22591. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22592. "type": "integer"
  22593. },
  22594. "sgvtaratioauditflag": {
  22595. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  22596. "type": "integer"
  22597. },
  22598. "spotcontractauditflag": {
  22599. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  22600. "type": "integer"
  22601. },
  22602. "updatetime": {
  22603. "description": "更新时间",
  22604. "type": "string"
  22605. }
  22606. }
  22607. },
  22608. "models.Ermcp3PaAreaSubject": {
  22609. "type": "object",
  22610. "properties": {
  22611. "areauserid": {
  22612. "description": "所属机构",
  22613. "type": "integer"
  22614. },
  22615. "canmodify": {
  22616. "description": "是否可修改 - 0:否 1:是",
  22617. "type": "integer"
  22618. },
  22619. "createtime": {
  22620. "description": "创建时间",
  22621. "type": "string"
  22622. },
  22623. "creatorid": {
  22624. "description": "创建人ID",
  22625. "type": "string"
  22626. },
  22627. "creatorsrc": {
  22628. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22629. "type": "integer"
  22630. },
  22631. "modifierid": {
  22632. "description": "修改人",
  22633. "type": "string"
  22634. },
  22635. "modifiersrc": {
  22636. "description": "修改人来源 - 1:管理端 2:终端",
  22637. "type": "integer"
  22638. },
  22639. "modifytime": {
  22640. "description": "修改时间",
  22641. "type": "string"
  22642. },
  22643. "parentsubjectid": {
  22644. "description": "上级主体ID",
  22645. "type": "string"
  22646. },
  22647. "remark": {
  22648. "description": "备注",
  22649. "type": "string"
  22650. },
  22651. "subjectid": {
  22652. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22653. "type": "integer"
  22654. },
  22655. "subjectname": {
  22656. "description": "主体名称",
  22657. "type": "string"
  22658. },
  22659. "subjectstatus": {
  22660. "description": "主体状态 - 1:正常 2: 停用",
  22661. "type": "integer"
  22662. },
  22663. "subjecttype": {
  22664. "description": "主体类型 - 1:交易主体 2:业务部门",
  22665. "type": "integer"
  22666. }
  22667. }
  22668. },
  22669. "models.Ermcp3PaTradeLink": {
  22670. "type": "object",
  22671. "properties": {
  22672. "accountid": {
  22673. "description": "期货账户代码 | 账号ID",
  22674. "type": "integer"
  22675. },
  22676. "agreeunit": {
  22677. "description": "合约乘数",
  22678. "type": "number"
  22679. },
  22680. "buyorsell": {
  22681. "description": "方向 - 0:买 1:卖",
  22682. "type": "integer"
  22683. },
  22684. "channelbuildtype": {
  22685. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22686. "type": "integer"
  22687. },
  22688. "charge": {
  22689. "description": "手续费",
  22690. "type": "number"
  22691. },
  22692. "closepl": {
  22693. "description": "平仓盈亏",
  22694. "type": "number"
  22695. },
  22696. "closetype": {
  22697. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22698. "type": "integer"
  22699. },
  22700. "convertratio": {
  22701. "description": "折算系数",
  22702. "type": "number"
  22703. },
  22704. "enumdicname": {
  22705. "description": "单位名称",
  22706. "type": "string"
  22707. },
  22708. "executeprice": {
  22709. "description": "执行价 [期权]",
  22710. "type": "integer"
  22711. },
  22712. "goodscode": {
  22713. "description": "合约代码",
  22714. "type": "string"
  22715. },
  22716. "goodsgroupid": {
  22717. "description": "对冲品种ID[期货合约商品组ID]",
  22718. "type": "integer"
  22719. },
  22720. "goodsid": {
  22721. "description": "商品ID",
  22722. "type": "integer"
  22723. },
  22724. "goodsname": {
  22725. "description": "合约名称",
  22726. "type": "string"
  22727. },
  22728. "goodunitid": {
  22729. "description": "单位id",
  22730. "type": "integer"
  22731. },
  22732. "hedgeflag": {
  22733. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22734. "type": "integer"
  22735. },
  22736. "marketid": {
  22737. "description": "市场ID",
  22738. "type": "integer"
  22739. },
  22740. "middlegoodsid": {
  22741. "description": "套保品种ID",
  22742. "type": "integer"
  22743. },
  22744. "middlegoodsqty": {
  22745. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22746. "type": "number"
  22747. },
  22748. "optioncode": {
  22749. "description": "期权代码 [期权]",
  22750. "type": "string"
  22751. },
  22752. "ordertype": {
  22753. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22754. "type": "integer"
  22755. },
  22756. "ordertypename": {
  22757. "description": "订单类型",
  22758. "type": "string"
  22759. },
  22760. "parentaccountid": {
  22761. "description": "所属母账户",
  22762. "type": "integer"
  22763. },
  22764. "premium": {
  22765. "description": "权利金 [期权]",
  22766. "type": "number"
  22767. },
  22768. "relatedlot": {
  22769. "description": "已关联数量(已关联数量手) | db:关联手数",
  22770. "type": "number"
  22771. },
  22772. "relatedouttradeid": {
  22773. "description": "关联外部成交单ID",
  22774. "type": "string"
  22775. },
  22776. "relatedqty": {
  22777. "description": "关联数量",
  22778. "type": "number"
  22779. },
  22780. "spotcontractid": {
  22781. "description": "现货合同ID [4:套期保值\\10\\11]",
  22782. "type": "string"
  22783. },
  22784. "taname": {
  22785. "description": "期货账户名称",
  22786. "type": "string"
  22787. },
  22788. "tradeamount": {
  22789. "description": "成交金额(账户)",
  22790. "type": "number"
  22791. },
  22792. "tradedate": {
  22793. "description": "交易日(yyyyMMdd)",
  22794. "type": "string"
  22795. },
  22796. "tradeid": {
  22797. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22798. "type": "string"
  22799. },
  22800. "tradelot": {
  22801. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22802. "type": "integer"
  22803. },
  22804. "tradeprice": {
  22805. "description": "成交价格",
  22806. "type": "number"
  22807. },
  22808. "tradetime": {
  22809. "description": "时间 | db:成交时间",
  22810. "type": "string"
  22811. },
  22812. "tradetype": {
  22813. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22814. "type": "integer"
  22815. },
  22816. "userid": {
  22817. "description": "所属机构 - 所属母账户的UserID",
  22818. "type": "string"
  22819. },
  22820. "username": {
  22821. "description": "用户名称",
  22822. "type": "string"
  22823. }
  22824. }
  22825. },
  22826. "models.Ermcp3ParamChangeApp": {
  22827. "type": "object",
  22828. "properties": {
  22829. "aftervalue": {
  22830. "description": "变更后",
  22831. "type": "number"
  22832. },
  22833. "applicationid": {
  22834. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22835. "type": "string"
  22836. },
  22837. "applyid": {
  22838. "description": "申请人",
  22839. "type": "string"
  22840. },
  22841. "applyname": {
  22842. "description": "申请人名称(代码)",
  22843. "type": "string"
  22844. },
  22845. "applyremark": {
  22846. "description": "申请备注",
  22847. "type": "string"
  22848. },
  22849. "applysrc": {
  22850. "description": "申请来源 - 1:管理端 2:终端",
  22851. "type": "integer"
  22852. },
  22853. "applystatus": {
  22854. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22855. "type": "integer"
  22856. },
  22857. "applytime": {
  22858. "description": "申请时间",
  22859. "type": "string"
  22860. },
  22861. "areauserid": {
  22862. "description": "所属机构用户ID",
  22863. "type": "integer"
  22864. },
  22865. "auditid": {
  22866. "description": "审核人",
  22867. "type": "string"
  22868. },
  22869. "auditname": {
  22870. "description": "审核人名称(代码)",
  22871. "type": "string"
  22872. },
  22873. "auditremark": {
  22874. "description": "审核备注",
  22875. "type": "string"
  22876. },
  22877. "auditsrc": {
  22878. "description": "审核来源 - 1:管理端 2:终端",
  22879. "type": "integer"
  22880. },
  22881. "audittime": {
  22882. "description": "审核时间",
  22883. "type": "string"
  22884. },
  22885. "audittradedate": {
  22886. "description": "审核交易日(yyyyMMdd)",
  22887. "type": "string"
  22888. },
  22889. "beforevalue": {
  22890. "description": "变更前",
  22891. "type": "number"
  22892. },
  22893. "deliverygoodscode": {
  22894. "description": "品种代码",
  22895. "type": "string"
  22896. },
  22897. "deliverygoodsid": {
  22898. "description": "品种id",
  22899. "type": "integer"
  22900. },
  22901. "deliverygoodsname": {
  22902. "description": "品种名称",
  22903. "type": "string"
  22904. },
  22905. "middlegoodscode": {
  22906. "description": "套保品种代码",
  22907. "type": "string"
  22908. },
  22909. "middlegoodsid": {
  22910. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22911. "type": "integer"
  22912. },
  22913. "middlegoodsname": {
  22914. "description": "套保品种名称",
  22915. "type": "string"
  22916. },
  22917. "operatetype": {
  22918. "description": "操作类型 - 1:新增 2:修改",
  22919. "type": "integer"
  22920. },
  22921. "paramchangetype": {
  22922. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22923. "type": "integer"
  22924. },
  22925. "wrstandardcode": {
  22926. "description": "现货商品代码",
  22927. "type": "string"
  22928. },
  22929. "wrstandardid": {
  22930. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22931. "type": "integer"
  22932. },
  22933. "wrstandardname": {
  22934. "description": "现货商品名称",
  22935. "type": "string"
  22936. }
  22937. }
  22938. },
  22939. "models.Ermcp3RootUserAccount": {
  22940. "type": "object",
  22941. "properties": {
  22942. "accountname": {
  22943. "description": "账户名称(机构名称)",
  22944. "type": "string"
  22945. },
  22946. "accountstatus": {
  22947. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22948. "type": "integer"
  22949. },
  22950. "applysrc": {
  22951. "description": "申请来源 - 1:管理端 2:终端",
  22952. "type": "integer"
  22953. },
  22954. "auditremark": {
  22955. "description": "审核备注",
  22956. "type": "string"
  22957. },
  22958. "auditsrc": {
  22959. "description": "审核来源 - 1:管理端 2:终端",
  22960. "type": "integer"
  22961. },
  22962. "audittime": {
  22963. "description": "审核时间",
  22964. "type": "string"
  22965. },
  22966. "audituserid": {
  22967. "description": "审核人",
  22968. "type": "integer"
  22969. },
  22970. "broker": {
  22971. "description": "所属经纪人ID",
  22972. "type": "integer"
  22973. },
  22974. "canceltime": {
  22975. "description": "销户时间",
  22976. "type": "string"
  22977. },
  22978. "canceluserid": {
  22979. "description": "销户人",
  22980. "type": "integer"
  22981. },
  22982. "canrecommend": {
  22983. "description": "是否可推荐 - 0:不可 1;可",
  22984. "type": "integer"
  22985. },
  22986. "createtime": {
  22987. "description": "创建时间",
  22988. "type": "string"
  22989. },
  22990. "creatorid": {
  22991. "description": "创建人",
  22992. "type": "integer"
  22993. },
  22994. "hasauth": {
  22995. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22996. "type": "integer"
  22997. },
  22998. "isanonymous": {
  22999. "description": "是否匿名下单 - 0:否 1:是",
  23000. "type": "integer"
  23001. },
  23002. "maxinvestornum": {
  23003. "description": "最大用户数(经纪会员下投资者个数)",
  23004. "type": "integer"
  23005. },
  23006. "memberuserid": {
  23007. "description": "所属会员ID",
  23008. "type": "integer"
  23009. },
  23010. "modifierid": {
  23011. "description": "修改人",
  23012. "type": "integer"
  23013. },
  23014. "modifyremark": {
  23015. "description": "变更备注",
  23016. "type": "string"
  23017. },
  23018. "modifystatus": {
  23019. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23020. "type": "integer"
  23021. },
  23022. "modifytime": {
  23023. "description": "修改时间",
  23024. "type": "string"
  23025. },
  23026. "nickname": {
  23027. "description": "昵称",
  23028. "type": "string"
  23029. },
  23030. "parenttopuser": {
  23031. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23032. "type": "string"
  23033. },
  23034. "parentuserid": {
  23035. "description": "所属机构ID",
  23036. "type": "integer"
  23037. },
  23038. "reckonaccountid": {
  23039. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23040. "type": "integer"
  23041. },
  23042. "refercount": {
  23043. "description": "推荐总人数",
  23044. "type": "integer"
  23045. },
  23046. "refereeuserid": {
  23047. "description": "推荐人ID",
  23048. "type": "integer"
  23049. },
  23050. "refernum": {
  23051. "description": "推荐码",
  23052. "type": "string"
  23053. },
  23054. "rootuserid": {
  23055. "description": "根用户ID",
  23056. "type": "integer"
  23057. },
  23058. "subaccountlevel": {
  23059. "description": "子账户层数",
  23060. "type": "integer"
  23061. },
  23062. "subarealevelpath": {
  23063. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23064. "type": "string"
  23065. },
  23066. "userid": {
  23067. "description": "用户ID",
  23068. "type": "integer"
  23069. },
  23070. "usertype": {
  23071. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23072. "type": "integer"
  23073. }
  23074. }
  23075. },
  23076. "models.Ermcp3SCMiddleGoods": {
  23077. "type": "object",
  23078. "properties": {
  23079. "biztype": {
  23080. "description": "业务类型 1:套保 2:套利",
  23081. "type": "integer"
  23082. },
  23083. "contractno": {
  23084. "description": "合同编号",
  23085. "type": "string"
  23086. },
  23087. "contracttype": {
  23088. "description": "合同类型 1:采购 -1:销售",
  23089. "type": "integer"
  23090. },
  23091. "convertratio": {
  23092. "description": "折算系数",
  23093. "type": "number"
  23094. },
  23095. "customername": {
  23096. "description": "对手手名称",
  23097. "type": "string"
  23098. },
  23099. "customeruserid": {
  23100. "description": "对手id",
  23101. "type": "integer"
  23102. },
  23103. "deliverygoodscode": {
  23104. "description": "现货品种代码",
  23105. "type": "string"
  23106. },
  23107. "deliverygoodsid": {
  23108. "description": "现货品种ID",
  23109. "type": "integer"
  23110. },
  23111. "deliverygoodsname": {
  23112. "description": "现货品种名称",
  23113. "type": "string"
  23114. },
  23115. "enumdicname": {
  23116. "description": "现货单位名称",
  23117. "type": "string"
  23118. },
  23119. "middlegoodsid": {
  23120. "description": "套保品种ID",
  23121. "type": "integer"
  23122. },
  23123. "middlegoodspricedqty3": {
  23124. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  23125. "type": "number"
  23126. },
  23127. "needhedgeratio": {
  23128. "description": "套保比例",
  23129. "type": "number"
  23130. },
  23131. "pricedqty": {
  23132. "description": "已定价量",
  23133. "type": "number"
  23134. },
  23135. "relatedmiddlegoodsqty": {
  23136. "description": "已关联量(套保品种)(期货)",
  23137. "type": "number"
  23138. },
  23139. "spotcontractid": {
  23140. "description": "合同编号",
  23141. "type": "string"
  23142. },
  23143. "unitid": {
  23144. "description": "现货单位id",
  23145. "type": "integer"
  23146. },
  23147. "userid": {
  23148. "description": "用户id",
  23149. "type": "integer"
  23150. },
  23151. "vatrate": {
  23152. "description": "增值税率",
  23153. "type": "number"
  23154. },
  23155. "wrstandardcode": {
  23156. "description": "现货商品代码",
  23157. "type": "string"
  23158. },
  23159. "wrstandardid": {
  23160. "description": "现货商品id",
  23161. "type": "integer"
  23162. },
  23163. "wrstandardname": {
  23164. "description": "现货商品名称",
  23165. "type": "string"
  23166. }
  23167. }
  23168. },
  23169. "models.Ermcp3SCMiddleGoodsReport": {
  23170. "type": "object",
  23171. "properties": {
  23172. "begindate": {
  23173. "description": "开始交易日",
  23174. "type": "string"
  23175. },
  23176. "contractno": {
  23177. "description": "合同编号",
  23178. "type": "string"
  23179. },
  23180. "contracttype": {
  23181. "description": "合同类型 1:采购 -1:销售",
  23182. "type": "integer"
  23183. },
  23184. "convertratio": {
  23185. "description": "折算系数",
  23186. "type": "number"
  23187. },
  23188. "cycletime": {
  23189. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23190. "type": "string"
  23191. },
  23192. "cycletype": {
  23193. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23194. "type": "integer"
  23195. },
  23196. "deliverygoodscode": {
  23197. "description": "品种代码",
  23198. "type": "string"
  23199. },
  23200. "deliverygoodsid": {
  23201. "description": "现货品种ID",
  23202. "type": "integer"
  23203. },
  23204. "deliverygoodsname": {
  23205. "description": "品种名称",
  23206. "type": "string"
  23207. },
  23208. "diffprice": {
  23209. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  23210. "type": "number"
  23211. },
  23212. "diffqty": {
  23213. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  23214. "type": "number"
  23215. },
  23216. "enddate": {
  23217. "description": "结束交易日",
  23218. "type": "string"
  23219. },
  23220. "hedgeplanqty": {
  23221. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  23222. "type": "number"
  23223. },
  23224. "matchname": {
  23225. "description": "交易对手方(个人:用户名称 企业:简称)",
  23226. "type": "string"
  23227. },
  23228. "matchnickname": {
  23229. "description": "交易对手方昵称",
  23230. "type": "string"
  23231. },
  23232. "middlegoodscode": {
  23233. "description": "套保品种代码",
  23234. "type": "string"
  23235. },
  23236. "middlegoodsid": {
  23237. "description": "套保品种ID",
  23238. "type": "integer"
  23239. },
  23240. "middlegoodsname": {
  23241. "description": "套保品种名称",
  23242. "type": "string"
  23243. },
  23244. "middlegoodspricedqty": {
  23245. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  23246. "type": "number"
  23247. },
  23248. "middlegoodspricedqty2": {
  23249. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  23250. "type": "number"
  23251. },
  23252. "middlegoodspricedqty3": {
  23253. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23254. "type": "number"
  23255. },
  23256. "needhedgeratio": {
  23257. "description": "套保系数",
  23258. "type": "number"
  23259. },
  23260. "pricedamount": {
  23261. "description": "已定价额(现货)",
  23262. "type": "number"
  23263. },
  23264. "pricedamount2": {
  23265. "description": "已定价额(现货-基价额)",
  23266. "type": "number"
  23267. },
  23268. "pricedqty": {
  23269. "description": "已定价量(现货)",
  23270. "type": "number"
  23271. },
  23272. "reckondate": {
  23273. "description": "日照时期(yyyyMMdd)",
  23274. "type": "string"
  23275. },
  23276. "relatedmiddlegoodsamount": {
  23277. "description": "已关联额(期货)",
  23278. "type": "number"
  23279. },
  23280. "relatedmiddlegoodsqty": {
  23281. "description": "已关联量(套保品种)(期货)",
  23282. "type": "number"
  23283. },
  23284. "spotcontractid": {
  23285. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23286. "type": "string"
  23287. },
  23288. "todayavgfutuprice": {
  23289. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  23290. "type": "number"
  23291. },
  23292. "todayavgprice": {
  23293. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  23294. "type": "number"
  23295. },
  23296. "todayavgprice2": {
  23297. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  23298. "type": "number"
  23299. },
  23300. "todaypricedamount": {
  23301. "description": "今日定价额(现货)",
  23302. "type": "number"
  23303. },
  23304. "todaypricedamount2": {
  23305. "description": "今日定价额(现货-基价额)",
  23306. "type": "number"
  23307. },
  23308. "todaypricedqty": {
  23309. "description": "今日定价量(现货)",
  23310. "type": "number"
  23311. },
  23312. "todayrelatedfutureqty": {
  23313. "description": "今日关联量(期货)",
  23314. "type": "number"
  23315. },
  23316. "todayrelatedmiddlegoodsamount": {
  23317. "description": "今日关联额(期货)",
  23318. "type": "number"
  23319. },
  23320. "todayrelatedmiddlegoodsqty": {
  23321. "description": "今日关联量(套保品-期货)",
  23322. "type": "number"
  23323. },
  23324. "updatetime": {
  23325. "description": "更新时间",
  23326. "type": "string"
  23327. },
  23328. "userid": {
  23329. "description": "合同所属用户id",
  23330. "type": "integer"
  23331. },
  23332. "vatrate": {
  23333. "description": "增值税率",
  23334. "type": "number"
  23335. },
  23336. "wrstandardcode": {
  23337. "description": "商品(品类) 代码",
  23338. "type": "string"
  23339. },
  23340. "wrstandardid": {
  23341. "description": "现货商品ID",
  23342. "type": "integer"
  23343. },
  23344. "wrstandardname": {
  23345. "description": "商品(品类) 名称",
  23346. "type": "string"
  23347. }
  23348. }
  23349. },
  23350. "models.Ermcp3SellBuyContract": {
  23351. "type": "object",
  23352. "properties": {
  23353. "accountid": {
  23354. "description": "期货账户id",
  23355. "type": "string"
  23356. },
  23357. "accountname": {
  23358. "description": "账户名称",
  23359. "type": "string"
  23360. },
  23361. "attachment": {
  23362. "description": "附件",
  23363. "type": "string"
  23364. },
  23365. "audittime": {
  23366. "description": "审核时间",
  23367. "type": "string"
  23368. },
  23369. "bizsubjectid": {
  23370. "description": "归属业务部门ID - SubjectID",
  23371. "type": "integer"
  23372. },
  23373. "biztype": {
  23374. "description": "业务类型 1-套保 2-套利",
  23375. "type": "integer"
  23376. },
  23377. "brandname": {
  23378. "description": "品牌名称",
  23379. "type": "string"
  23380. },
  23381. "contracctstatus": {
  23382. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23383. "type": "integer"
  23384. },
  23385. "contractmargin": {
  23386. "description": "合同保证金",
  23387. "type": "number"
  23388. },
  23389. "contractno": {
  23390. "description": "合同编号",
  23391. "type": "string"
  23392. },
  23393. "contracttype": {
  23394. "description": "合同类型 1-采购, -1-销售",
  23395. "type": "integer"
  23396. },
  23397. "convertfactor": {
  23398. "description": "标仓系数(品类)",
  23399. "type": "number"
  23400. },
  23401. "createtime": {
  23402. "description": "创建时间",
  23403. "type": "string"
  23404. },
  23405. "currencyid": {
  23406. "description": "币种id",
  23407. "type": "integer"
  23408. },
  23409. "currencyname": {
  23410. "description": "币种名称",
  23411. "type": "string"
  23412. },
  23413. "daikaiamount": {
  23414. "description": "应收(开)票额",
  23415. "type": "number"
  23416. },
  23417. "deliveryenddate": {
  23418. "description": "交割结束日",
  23419. "type": "string"
  23420. },
  23421. "deliverygoodscode": {
  23422. "description": "现货品种代码",
  23423. "type": "string"
  23424. },
  23425. "deliverygoodsid": {
  23426. "description": "现货商品ID",
  23427. "type": "integer"
  23428. },
  23429. "deliverygoodsname": {
  23430. "description": "现货品种名称",
  23431. "type": "string"
  23432. },
  23433. "deliverystartdate": {
  23434. "description": "交割开始日",
  23435. "type": "string"
  23436. },
  23437. "enddate": {
  23438. "description": "点价结束日",
  23439. "type": "string"
  23440. },
  23441. "enumdicname": {
  23442. "description": "单位名称",
  23443. "type": "string"
  23444. },
  23445. "goodscode": {
  23446. "description": "点价商品代码",
  23447. "type": "string"
  23448. },
  23449. "goodsgroupid": {
  23450. "description": "点价商品组id",
  23451. "type": "integer"
  23452. },
  23453. "goodsid": {
  23454. "description": "点价商品ID",
  23455. "type": "integer"
  23456. },
  23457. "goodsname": {
  23458. "description": "点价商品名称",
  23459. "type": "string"
  23460. },
  23461. "invoiceamount": {
  23462. "description": "已开票额",
  23463. "type": "number"
  23464. },
  23465. "loanamount": {
  23466. "description": "贷款总额=已定价额+调整金额",
  23467. "type": "number"
  23468. },
  23469. "margin": {
  23470. "description": "保证金",
  23471. "type": "number"
  23472. },
  23473. "meruserid": {
  23474. "description": "跟单员id",
  23475. "type": "integer"
  23476. },
  23477. "meruserlogincode": {
  23478. "description": "跟单员登录代码",
  23479. "type": "string"
  23480. },
  23481. "merusername": {
  23482. "description": "跟单员名称",
  23483. "type": "string"
  23484. },
  23485. "nickname": {
  23486. "description": "账户昵称",
  23487. "type": "string"
  23488. },
  23489. "orireckonrealqty": {
  23490. "description": "应交收量",
  23491. "type": "number"
  23492. },
  23493. "payamount": {
  23494. "description": "已收付额(收款或付款)",
  23495. "type": "number"
  23496. },
  23497. "preinvoiceamount": {
  23498. "description": "预收(开)票额",
  23499. "type": "number"
  23500. },
  23501. "prepayamount": {
  23502. "description": "预收付额",
  23503. "type": "number"
  23504. },
  23505. "price": {
  23506. "description": "价格",
  23507. "type": "number"
  23508. },
  23509. "pricedamount": {
  23510. "description": "已定价额",
  23511. "type": "number"
  23512. },
  23513. "pricedavg": {
  23514. "description": "已点均价",
  23515. "type": "number"
  23516. },
  23517. "pricedqty": {
  23518. "description": "已定价量",
  23519. "type": "number"
  23520. },
  23521. "pricemove": {
  23522. "description": "升贴水",
  23523. "type": "number"
  23524. },
  23525. "pricetype": {
  23526. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23527. "type": "integer"
  23528. },
  23529. "producttype": {
  23530. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23531. "type": "integer"
  23532. },
  23533. "qty": {
  23534. "description": "合同量",
  23535. "type": "number"
  23536. },
  23537. "reckonadjustamount": {
  23538. "description": "调整金额",
  23539. "type": "number"
  23540. },
  23541. "reckonedamount": {
  23542. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  23543. "type": "number"
  23544. },
  23545. "reckonotheramount": {
  23546. "description": "其它费用",
  23547. "type": "number"
  23548. },
  23549. "reckonrealqty": {
  23550. "description": "已交收量",
  23551. "type": "number"
  23552. },
  23553. "remark": {
  23554. "description": "备注",
  23555. "type": "string"
  23556. },
  23557. "saleuserid": {
  23558. "description": "业务员id",
  23559. "type": "integer"
  23560. },
  23561. "saleuserlogincode": {
  23562. "description": "业务员登录代码",
  23563. "type": "string"
  23564. },
  23565. "saleusername": {
  23566. "description": "业务员名称",
  23567. "type": "string"
  23568. },
  23569. "spotcontractid": {
  23570. "description": "合同ID",
  23571. "type": "string"
  23572. },
  23573. "spotgoodsbrandid": {
  23574. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23575. "type": "integer"
  23576. },
  23577. "spotgoodsdesc": {
  23578. "description": "商品型号(商品规格)",
  23579. "type": "string"
  23580. },
  23581. "startdate": {
  23582. "description": "点价开始日",
  23583. "type": "string"
  23584. },
  23585. "subjectid": {
  23586. "description": "交易主体ID",
  23587. "type": "integer"
  23588. },
  23589. "subjectname": {
  23590. "description": "交易主体名称",
  23591. "type": "string"
  23592. },
  23593. "totalamount": {
  23594. "description": "合计总额",
  23595. "type": "number"
  23596. },
  23597. "tradeuserid": {
  23598. "description": "交易员id",
  23599. "type": "integer"
  23600. },
  23601. "tradeuserlogincode": {
  23602. "description": "交易员登录代码",
  23603. "type": "string"
  23604. },
  23605. "tradeusername": {
  23606. "description": "交易员名称",
  23607. "type": "string"
  23608. },
  23609. "unpayamount": {
  23610. "description": "应收付款额(应支付或应收款)",
  23611. "type": "number"
  23612. },
  23613. "unpricedqty": {
  23614. "description": "未定价量",
  23615. "type": "number"
  23616. },
  23617. "unsureqty": {
  23618. "description": "未确定量",
  23619. "type": "number"
  23620. },
  23621. "userid": {
  23622. "description": "机构ID",
  23623. "type": "integer"
  23624. },
  23625. "vatrate": {
  23626. "description": "增值税率",
  23627. "type": "number"
  23628. },
  23629. "wrstandardcode": {
  23630. "description": "品类代码",
  23631. "type": "string"
  23632. },
  23633. "wrstandardid": {
  23634. "description": "品类ID",
  23635. "type": "integer"
  23636. },
  23637. "wrstandardname": {
  23638. "description": "品类名称",
  23639. "type": "string"
  23640. }
  23641. }
  23642. },
  23643. "models.Ermcp3SpotGoodsPrice": {
  23644. "type": "object",
  23645. "properties": {
  23646. "areauserid": {
  23647. "description": "所属机构id",
  23648. "type": "integer"
  23649. },
  23650. "brandname": {
  23651. "description": "品牌名称",
  23652. "type": "string"
  23653. },
  23654. "currencyid": {
  23655. "description": "报价货币ID",
  23656. "type": "integer"
  23657. },
  23658. "currencyname": {
  23659. "description": "币种名称",
  23660. "type": "string"
  23661. },
  23662. "deliverygoodscode": {
  23663. "description": "现货商品代码",
  23664. "type": "string"
  23665. },
  23666. "deliverygoodsid": {
  23667. "description": "现货商品id",
  23668. "type": "integer"
  23669. },
  23670. "deliverygoodsname": {
  23671. "description": "现货商品名称",
  23672. "type": "string"
  23673. },
  23674. "enumdicname": {
  23675. "description": "现货商品单位名称",
  23676. "type": "string"
  23677. },
  23678. "gbenumdicname": {
  23679. "description": "品类单位名称",
  23680. "type": "string"
  23681. },
  23682. "gmunitid": {
  23683. "description": "品类单位id",
  23684. "type": "integer"
  23685. },
  23686. "isvalid": {
  23687. "description": "是否有效 - 0:无效 1:有效",
  23688. "type": "integer"
  23689. },
  23690. "operateid": {
  23691. "description": "最后操作人",
  23692. "type": "integer"
  23693. },
  23694. "operatesrc": {
  23695. "description": "最后操作来源 - 1:管理端 2:终端",
  23696. "type": "integer"
  23697. },
  23698. "operatetime": {
  23699. "description": "最后操作时间",
  23700. "type": "string"
  23701. },
  23702. "operatorname": {
  23703. "description": "操作人名称",
  23704. "type": "string"
  23705. },
  23706. "spotgoodsbrandid": {
  23707. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23708. "type": "integer"
  23709. },
  23710. "spotgoodsprice": {
  23711. "description": "现货价格",
  23712. "type": "number"
  23713. },
  23714. "tradedate": {
  23715. "description": "交易日(yyyyMMdd)",
  23716. "type": "string"
  23717. },
  23718. "unitid": {
  23719. "description": "现货商品单位id",
  23720. "type": "integer"
  23721. },
  23722. "wrstandardcode": {
  23723. "description": "品类代码",
  23724. "type": "string"
  23725. },
  23726. "wrstandardid": {
  23727. "description": "现货品类ID(通用则为0)",
  23728. "type": "integer"
  23729. },
  23730. "wrstandardname": {
  23731. "description": "品类名称",
  23732. "type": "string"
  23733. }
  23734. }
  23735. },
  23736. "models.Ermcp3SpotGoodsPriceLog": {
  23737. "type": "object",
  23738. "properties": {
  23739. "areauserid": {
  23740. "description": "所属机构id",
  23741. "type": "integer"
  23742. },
  23743. "brandname": {
  23744. "description": "品牌名称",
  23745. "type": "string"
  23746. },
  23747. "currencyid": {
  23748. "description": "报价货币ID",
  23749. "type": "integer"
  23750. },
  23751. "deliverygoodscode": {
  23752. "description": "现货商品代码",
  23753. "type": "string"
  23754. },
  23755. "deliverygoodsid": {
  23756. "description": "现货商品id",
  23757. "type": "integer"
  23758. },
  23759. "deliverygoodsname": {
  23760. "description": "现货商品名称",
  23761. "type": "string"
  23762. },
  23763. "enumdicname": {
  23764. "description": "现货商品单位名称",
  23765. "type": "string"
  23766. },
  23767. "gbenumdicname": {
  23768. "description": "品类单位名称",
  23769. "type": "string"
  23770. },
  23771. "gmunitid": {
  23772. "description": "品类单位id",
  23773. "type": "integer"
  23774. },
  23775. "logid": {
  23776. "description": "日志id",
  23777. "type": "integer"
  23778. },
  23779. "operateid": {
  23780. "description": "最后操作人",
  23781. "type": "integer"
  23782. },
  23783. "operatesrc": {
  23784. "description": "最后操作来源 - 1:管理端 2:终端",
  23785. "type": "integer"
  23786. },
  23787. "operatetime": {
  23788. "description": "最后操作时间",
  23789. "type": "string"
  23790. },
  23791. "operatorname": {
  23792. "description": "操作人名称",
  23793. "type": "string"
  23794. },
  23795. "spotgoodsbrandid": {
  23796. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23797. "type": "integer"
  23798. },
  23799. "spotgoodsprice": {
  23800. "description": "现货价格",
  23801. "type": "number"
  23802. },
  23803. "tradedate": {
  23804. "description": "交易日(yyyyMMdd)",
  23805. "type": "string"
  23806. },
  23807. "unitid": {
  23808. "description": "现货商品单位id",
  23809. "type": "integer"
  23810. },
  23811. "wrstandardcode": {
  23812. "description": "品类代码",
  23813. "type": "string"
  23814. },
  23815. "wrstandardid": {
  23816. "description": "现货品类ID(通用则为0)",
  23817. "type": "integer"
  23818. },
  23819. "wrstandardname": {
  23820. "description": "品类名称",
  23821. "type": "string"
  23822. }
  23823. }
  23824. },
  23825. "models.Ermcp3SubTaaccount": {
  23826. "type": "object",
  23827. "properties": {
  23828. "accountid": {
  23829. "description": "资金账户ID",
  23830. "type": "integer"
  23831. },
  23832. "parentaccountcode": {
  23833. "description": "所属根账号代码(母账号代码)",
  23834. "type": "string"
  23835. },
  23836. "parentaccountid": {
  23837. "description": "所属根账号(母账号)",
  23838. "type": "integer"
  23839. },
  23840. "taname": {
  23841. "description": "资金账号名称",
  23842. "type": "string"
  23843. },
  23844. "tradestatus": {
  23845. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23846. "type": "integer"
  23847. },
  23848. "username": {
  23849. "description": "交易用户",
  23850. "type": "string"
  23851. }
  23852. }
  23853. },
  23854. "models.Ermcp3TaFutuReDataReport": {
  23855. "type": "object",
  23856. "properties": {
  23857. "accountid": {
  23858. "description": "交易账户",
  23859. "type": "integer"
  23860. },
  23861. "accountname": {
  23862. "description": "交易账号名称",
  23863. "type": "string"
  23864. },
  23865. "agreeunit": {
  23866. "description": "商品合约单位",
  23867. "type": "number"
  23868. },
  23869. "begindate": {
  23870. "description": "开始交易日",
  23871. "type": "string"
  23872. },
  23873. "buyorsell": {
  23874. "description": "持仓方向",
  23875. "type": "integer"
  23876. },
  23877. "charge": {
  23878. "description": "手续费",
  23879. "type": "number"
  23880. },
  23881. "closeavgprice": {
  23882. "description": "平仓均价",
  23883. "type": "number"
  23884. },
  23885. "closepl": {
  23886. "description": "平仓损益",
  23887. "type": "number"
  23888. },
  23889. "currencyid": {
  23890. "description": "结算币种ID",
  23891. "type": "integer"
  23892. },
  23893. "currencyname": {
  23894. "description": "币种名称",
  23895. "type": "string"
  23896. },
  23897. "cycletime": {
  23898. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23899. "type": "string"
  23900. },
  23901. "cycletype": {
  23902. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23903. "type": "integer"
  23904. },
  23905. "enddate": {
  23906. "description": "结束交易日",
  23907. "type": "string"
  23908. },
  23909. "enumdicname": {
  23910. "description": "单位名称",
  23911. "type": "string"
  23912. },
  23913. "floatpl": {
  23914. "description": "浮动损益",
  23915. "type": "number"
  23916. },
  23917. "goodscode": {
  23918. "description": "交易合约代码",
  23919. "type": "string"
  23920. },
  23921. "goodsgroupid": {
  23922. "description": "交易品种",
  23923. "type": "integer"
  23924. },
  23925. "goodsgroupname": {
  23926. "description": "交易品种名称",
  23927. "type": "string"
  23928. },
  23929. "goodsgroupspotqty": {
  23930. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23931. "type": "number"
  23932. },
  23933. "goodsid": {
  23934. "description": "交易合约",
  23935. "type": "integer"
  23936. },
  23937. "goodsname": {
  23938. "description": "交易合约名称",
  23939. "type": "string"
  23940. },
  23941. "goodunitid": {
  23942. "description": "交易合约单位id",
  23943. "type": "integer"
  23944. },
  23945. "holdamount": {
  23946. "description": "期末持仓额",
  23947. "type": "number"
  23948. },
  23949. "holdqty": {
  23950. "description": "期末持仓量",
  23951. "type": "number"
  23952. },
  23953. "lastholdamount": {
  23954. "description": "当前持仓额",
  23955. "type": "number"
  23956. },
  23957. "lastprice": {
  23958. "description": "最新价",
  23959. "type": "number"
  23960. },
  23961. "middlegoodsid": {
  23962. "description": "套保品种id",
  23963. "type": "integer"
  23964. },
  23965. "middlegoodsname": {
  23966. "description": "套保商品名称",
  23967. "type": "string"
  23968. },
  23969. "middlegoodsqty": {
  23970. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23971. "type": "number"
  23972. },
  23973. "middlgoodscode": {
  23974. "description": "套保商品代码",
  23975. "type": "string"
  23976. },
  23977. "openamount": {
  23978. "description": "期末开仓额",
  23979. "type": "number"
  23980. },
  23981. "openavgprice": {
  23982. "description": "开仓均价",
  23983. "type": "number"
  23984. },
  23985. "oriholdamount": {
  23986. "description": "期初持仓额",
  23987. "type": "number"
  23988. },
  23989. "oriholdqty": {
  23990. "description": "期初持仓量",
  23991. "type": "number"
  23992. },
  23993. "oriopenamount": {
  23994. "description": "期初开仓额",
  23995. "type": "number"
  23996. },
  23997. "outergroupcode": {
  23998. "description": "交易品种代码",
  23999. "type": "string"
  24000. },
  24001. "qtydecimalplace": {
  24002. "description": "成交量小数位",
  24003. "type": "integer"
  24004. },
  24005. "reckondate": {
  24006. "description": "日照时期(yyyyMMdd)",
  24007. "type": "string"
  24008. },
  24009. "reckonholdamount": {
  24010. "description": "结算持仓额",
  24011. "type": "number"
  24012. },
  24013. "reckonpl": {
  24014. "description": "结算损益",
  24015. "type": "number"
  24016. },
  24017. "reckonpl2": {
  24018. "description": "结算逐笔盈亏",
  24019. "type": "number"
  24020. },
  24021. "reckonprice": {
  24022. "description": "结算价",
  24023. "type": "number"
  24024. },
  24025. "relateduserid": {
  24026. "description": "账户关联用户ID",
  24027. "type": "integer"
  24028. },
  24029. "todaycloseamount": {
  24030. "description": "今平仓额",
  24031. "type": "number"
  24032. },
  24033. "todaycloseqty": {
  24034. "description": "今平仓量",
  24035. "type": "number"
  24036. },
  24037. "todaygoodsgroupspotqty": {
  24038. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  24039. "type": "number"
  24040. },
  24041. "todaymiddlegoodsqty": {
  24042. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  24043. "type": "number"
  24044. },
  24045. "todayopenamount": {
  24046. "description": "今开仓额",
  24047. "type": "number"
  24048. },
  24049. "todayopenqty": {
  24050. "description": "今开仓量",
  24051. "type": "number"
  24052. },
  24053. "userid": {
  24054. "description": "账户所属用户ID",
  24055. "type": "integer"
  24056. }
  24057. }
  24058. },
  24059. "models.Ermcp3TradeLinkDetail": {
  24060. "type": "object",
  24061. "properties": {
  24062. "accountid": {
  24063. "description": "资金账号",
  24064. "type": "integer"
  24065. },
  24066. "agreeunit": {
  24067. "description": "合约乘数",
  24068. "type": "number"
  24069. },
  24070. "areauserid": {
  24071. "description": "所属机构",
  24072. "type": "string"
  24073. },
  24074. "bizsubjectid": {
  24075. "description": "归属业务部门ID - SubjectID",
  24076. "type": "string"
  24077. },
  24078. "buyorsell": {
  24079. "description": "方向 - 0:买 1:卖",
  24080. "type": "integer"
  24081. },
  24082. "channelbuildtype": {
  24083. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24084. "type": "integer"
  24085. },
  24086. "contractno": {
  24087. "description": "现货编号 (合同编号)",
  24088. "type": "string"
  24089. },
  24090. "convertratio": {
  24091. "description": "折算系数",
  24092. "type": "number"
  24093. },
  24094. "createtime": {
  24095. "description": "关联时间 | 创建时间",
  24096. "type": "string"
  24097. },
  24098. "creatorid": {
  24099. "description": "创建人ID",
  24100. "type": "string"
  24101. },
  24102. "creatorsrc": {
  24103. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24104. "type": "integer"
  24105. },
  24106. "enumdicname": {
  24107. "description": "单位名称",
  24108. "type": "string"
  24109. },
  24110. "goodscode": {
  24111. "description": "合约代码",
  24112. "type": "string"
  24113. },
  24114. "goodsgroupid": {
  24115. "description": "对冲品种ID[期货合约商品组ID]",
  24116. "type": "integer"
  24117. },
  24118. "goodsid": {
  24119. "description": "商品ID",
  24120. "type": "integer"
  24121. },
  24122. "goodsname": {
  24123. "description": "合约名称",
  24124. "type": "string"
  24125. },
  24126. "hedgeflag": {
  24127. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24128. "type": "integer"
  24129. },
  24130. "linkdetailid": {
  24131. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  24132. "type": "string"
  24133. },
  24134. "linkstatus": {
  24135. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  24136. "type": "integer"
  24137. },
  24138. "middlegoodscode": {
  24139. "description": "套保品种代码",
  24140. "type": "string"
  24141. },
  24142. "middlegoodsid": {
  24143. "description": "套保品种ID",
  24144. "type": "integer"
  24145. },
  24146. "middlegoodsname": {
  24147. "description": "套保品种名称",
  24148. "type": "string"
  24149. },
  24150. "relatedlot": {
  24151. "description": "关联手数",
  24152. "type": "number"
  24153. },
  24154. "relatedmode": {
  24155. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  24156. "type": "integer"
  24157. },
  24158. "relatedqty": {
  24159. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  24160. "type": "number"
  24161. },
  24162. "retcode": {
  24163. "description": "返回码",
  24164. "type": "integer"
  24165. },
  24166. "saleuserid": {
  24167. "description": "业务员ID",
  24168. "type": "string"
  24169. },
  24170. "spotcontractid": {
  24171. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  24172. "type": "string"
  24173. },
  24174. "taname": {
  24175. "description": "期货账户",
  24176. "type": "string"
  24177. },
  24178. "tradedate": {
  24179. "description": "关联交易日(yyyyMMdd)",
  24180. "type": "string"
  24181. },
  24182. "tradeid": {
  24183. "description": "期货订单号 | 内部成交单ID",
  24184. "type": "string"
  24185. },
  24186. "tradelot": {
  24187. "description": "成交数量 | 成交手数",
  24188. "type": "integer"
  24189. },
  24190. "tradeprice": {
  24191. "description": "成交价格",
  24192. "type": "number"
  24193. },
  24194. "tradetime": {
  24195. "description": "期货成交时间",
  24196. "type": "string"
  24197. },
  24198. "tradetradedate": {
  24199. "description": "成交交易日(yyyyMMdd)",
  24200. "type": "string"
  24201. },
  24202. "username": {
  24203. "description": "用户名称",
  24204. "type": "string"
  24205. }
  24206. }
  24207. },
  24208. "models.Ermcp3Wrstandard": {
  24209. "type": "object",
  24210. "properties": {
  24211. "areauserid": {
  24212. "description": "所属机构",
  24213. "type": "integer"
  24214. },
  24215. "cantrade": {
  24216. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  24217. "type": "integer"
  24218. },
  24219. "convertfactor": {
  24220. "description": "标仓系数",
  24221. "type": "number"
  24222. },
  24223. "createtime": {
  24224. "description": "创建时间",
  24225. "type": "string"
  24226. },
  24227. "creatorid": {
  24228. "description": "创建人",
  24229. "type": "integer"
  24230. },
  24231. "deliverygoodsid": {
  24232. "description": "现货品种ID",
  24233. "type": "integer"
  24234. },
  24235. "enumdicname": {
  24236. "description": "品类单位名称",
  24237. "type": "string"
  24238. },
  24239. "isvalid": {
  24240. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  24241. "type": "integer"
  24242. },
  24243. "minivalue": {
  24244. "description": "最小变动值",
  24245. "type": "integer"
  24246. },
  24247. "minivaluedp": {
  24248. "description": "最小变动值小数位",
  24249. "type": "integer"
  24250. },
  24251. "realminivalue": {
  24252. "description": "实际最小变动值",
  24253. "type": "integer"
  24254. },
  24255. "realminivaluedp": {
  24256. "description": "实际最小变动值小数位",
  24257. "type": "integer"
  24258. },
  24259. "remark": {
  24260. "description": "备注",
  24261. "type": "string"
  24262. },
  24263. "unitid": {
  24264. "description": "品类单位ID",
  24265. "type": "integer"
  24266. },
  24267. "updatetime": {
  24268. "description": "更新时间",
  24269. "type": "string"
  24270. },
  24271. "wrstandardcode": {
  24272. "description": "品类代码",
  24273. "type": "string"
  24274. },
  24275. "wrstandardid": {
  24276. "description": "品类ID(SEQ_WRSTANDARD)",
  24277. "type": "integer"
  24278. },
  24279. "wrstandardname": {
  24280. "description": "品类名称",
  24281. "type": "string"
  24282. }
  24283. }
  24284. },
  24285. "models.ErmcpBizGroupEx": {
  24286. "type": "object",
  24287. "properties": {
  24288. "acclist": {
  24289. "description": "账号列表",
  24290. "type": "array",
  24291. "items": {
  24292. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  24293. }
  24294. },
  24295. "bizgroupid": {
  24296. "description": "业务分组id",
  24297. "type": "integer"
  24298. },
  24299. "biztype": {
  24300. "description": "业务类型 1-套保 2-套利",
  24301. "type": "integer"
  24302. },
  24303. "wrlist": {
  24304. "description": "现货商品表",
  24305. "type": "array",
  24306. "items": {
  24307. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  24308. }
  24309. }
  24310. }
  24311. },
  24312. "models.ErmcpBizGroupSpotGoods": {
  24313. "type": "object",
  24314. "properties": {
  24315. "areauserid": {
  24316. "description": "所属机构id",
  24317. "type": "integer"
  24318. },
  24319. "bizgroupid": {
  24320. "description": "分组id",
  24321. "type": "integer"
  24322. },
  24323. "biztype": {
  24324. "description": "业务类型 1-套保 2-套利",
  24325. "type": "integer"
  24326. },
  24327. "deliverygoodscode": {
  24328. "description": "现货商品代码",
  24329. "type": "string"
  24330. },
  24331. "deliverygoodsid": {
  24332. "description": "现货商品id",
  24333. "type": "integer"
  24334. },
  24335. "deliverygoodsname": {
  24336. "description": "现货商品名称",
  24337. "type": "string"
  24338. },
  24339. "unitid": {
  24340. "description": "现货商品单位id",
  24341. "type": "integer"
  24342. }
  24343. }
  24344. },
  24345. "models.ErmcpBizGroupTaAccount": {
  24346. "type": "object",
  24347. "properties": {
  24348. "accountid": {
  24349. "description": "账号id",
  24350. "type": "integer"
  24351. },
  24352. "accountname": {
  24353. "description": "账号名称",
  24354. "type": "string"
  24355. },
  24356. "areauserid": {
  24357. "description": "所属机构id",
  24358. "type": "integer"
  24359. },
  24360. "bizgroupid": {
  24361. "description": "业务分组id",
  24362. "type": "integer"
  24363. },
  24364. "ismain": {
  24365. "description": "是否主账号 1-是 0-否",
  24366. "type": "integer"
  24367. }
  24368. }
  24369. },
  24370. "models.ErmcpDGFactoryItem": {
  24371. "type": "object",
  24372. "properties": {
  24373. "areauserid": {
  24374. "description": "用户id",
  24375. "type": "integer"
  24376. },
  24377. "deliverygoodsid": {
  24378. "description": "现货品种ID",
  24379. "type": "integer"
  24380. },
  24381. "dgfactoryitemid": {
  24382. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  24383. "type": "integer"
  24384. },
  24385. "dgfactoryitemtypeid": {
  24386. "description": "要素项类型",
  24387. "type": "integer"
  24388. },
  24389. "dgfactoryitemvalue": {
  24390. "description": "要素项值(类型为仓库时填写仓库名称)",
  24391. "type": "string"
  24392. },
  24393. "isvalid": {
  24394. "description": "是否有效 - 0:无效 1:有效",
  24395. "type": "integer"
  24396. },
  24397. "orderindex": {
  24398. "description": "顺序",
  24399. "type": "integer"
  24400. },
  24401. "warehouseid": {
  24402. "description": "仓库ID(类型为仓库时填写)",
  24403. "type": "integer"
  24404. }
  24405. }
  24406. },
  24407. "models.ErmcpDeliveryGoods": {
  24408. "type": "object",
  24409. "properties": {
  24410. "agreeunit": {
  24411. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  24412. "type": "integer"
  24413. },
  24414. "areauserid": {
  24415. "description": "所属机构",
  24416. "type": "integer"
  24417. },
  24418. "auditflag": {
  24419. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  24420. "type": "integer"
  24421. },
  24422. "categoryid": {
  24423. "description": "类别ID(SEQ_WRCATEGORY)",
  24424. "type": "integer"
  24425. },
  24426. "deliverygoodscode": {
  24427. "description": "现货品种代码",
  24428. "type": "string"
  24429. },
  24430. "deliverygoodsid": {
  24431. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  24432. "type": "integer"
  24433. },
  24434. "deliverygoodsname": {
  24435. "description": "现货品种名称",
  24436. "type": "string"
  24437. },
  24438. "deliverygoodstype": {
  24439. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  24440. "type": "integer"
  24441. },
  24442. "dgstatus": {
  24443. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  24444. "type": "integer"
  24445. },
  24446. "enumdicname": {
  24447. "description": "现货品种单位名称",
  24448. "type": "string"
  24449. },
  24450. "goodsunitid": {
  24451. "description": "现货品种单位ID",
  24452. "type": "integer"
  24453. },
  24454. "isvalid": {
  24455. "description": "是否有效 - 0:无效 1:有效",
  24456. "type": "integer"
  24457. },
  24458. "qtydecimalplace": {
  24459. "description": "成交量小数位",
  24460. "type": "integer"
  24461. },
  24462. "remark": {
  24463. "description": "备注",
  24464. "type": "string"
  24465. },
  24466. "standardqty": {
  24467. "description": "标准数量(库位数量) [标准品特有]",
  24468. "type": "integer"
  24469. },
  24470. "standardqtyrange": {
  24471. "description": "标准数量偏差范围 [标准品特有]",
  24472. "type": "integer"
  24473. }
  24474. }
  24475. },
  24476. "models.ErmcpFuturesCompany": {
  24477. "type": "object",
  24478. "properties": {
  24479. "brokerid": {
  24480. "description": "经纪公司代码",
  24481. "type": "string"
  24482. },
  24483. "channeladdress": {
  24484. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24485. "type": "string"
  24486. },
  24487. "channelid": {
  24488. "description": "对冲渠道ID",
  24489. "type": "string"
  24490. },
  24491. "createtime": {
  24492. "description": "创建时间",
  24493. "type": "string"
  24494. },
  24495. "creatorid": {
  24496. "description": "创建人",
  24497. "type": "string"
  24498. },
  24499. "fcid": {
  24500. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24501. "type": "integer"
  24502. },
  24503. "fcname": {
  24504. "description": "期货公司名称",
  24505. "type": "string"
  24506. },
  24507. "isvalid": {
  24508. "description": "是否有效 - 0:无效 1:有效",
  24509. "type": "integer"
  24510. },
  24511. "mhpaddress": {
  24512. "description": "MHP服务地址(IP:Port)",
  24513. "type": "string"
  24514. },
  24515. "riskrulegroupid": {
  24516. "description": "风控规则组ID",
  24517. "type": "string"
  24518. },
  24519. "tradefeetmpid": {
  24520. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24521. "type": "string"
  24522. },
  24523. "trademargintmpid": {
  24524. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24525. "type": "string"
  24526. },
  24527. "traderatetmpid": {
  24528. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24529. "type": "string"
  24530. },
  24531. "updatetime": {
  24532. "description": "更新时间",
  24533. "type": "string"
  24534. },
  24535. "updatorid": {
  24536. "description": "更新人",
  24537. "type": "string"
  24538. }
  24539. }
  24540. },
  24541. "models.ErmcpGGConvertCfg": {
  24542. "type": "object",
  24543. "properties": {
  24544. "convertratio": {
  24545. "description": "折算系数",
  24546. "type": "number"
  24547. },
  24548. "destgoodsgroupid": {
  24549. "description": "目标品种ID",
  24550. "type": "integer"
  24551. },
  24552. "dstcode": {
  24553. "description": "目录品种代码",
  24554. "type": "string"
  24555. },
  24556. "dstexchangecode": {
  24557. "description": "目标期货交易所",
  24558. "type": "string"
  24559. },
  24560. "dstname": {
  24561. "description": "目标品种名称",
  24562. "type": "string"
  24563. },
  24564. "dstunitid": {
  24565. "description": "目标品种单位ID",
  24566. "type": "integer"
  24567. },
  24568. "dstunitidname": {
  24569. "description": "目标品种单位名称",
  24570. "type": "string"
  24571. },
  24572. "modifytime": {
  24573. "description": "修改时间",
  24574. "type": "string"
  24575. },
  24576. "srccode": {
  24577. "description": "源品种代码",
  24578. "type": "string"
  24579. },
  24580. "srcexchangecode": {
  24581. "description": "源期货交易所",
  24582. "type": "string"
  24583. },
  24584. "srcgoodsgroupid": {
  24585. "description": "源品种ID",
  24586. "type": "integer"
  24587. },
  24588. "srcname": {
  24589. "description": "源品种名称",
  24590. "type": "string"
  24591. },
  24592. "srcunitid": {
  24593. "description": "源品种单位ID",
  24594. "type": "integer"
  24595. },
  24596. "srcunitidname": {
  24597. "description": "源品种单位名称",
  24598. "type": "string"
  24599. }
  24600. }
  24601. },
  24602. "models.ErmcpGoods": {
  24603. "type": "object",
  24604. "required": [
  24605. "goodscode",
  24606. "goodsid",
  24607. "goodsname",
  24608. "marketid"
  24609. ],
  24610. "properties": {
  24611. "agreeunit": {
  24612. "description": "合约单位",
  24613. "type": "number"
  24614. },
  24615. "areauserid": {
  24616. "description": "所属机构",
  24617. "type": "integer"
  24618. },
  24619. "auditaccountid": {
  24620. "description": "审核操作员账号",
  24621. "type": "integer"
  24622. },
  24623. "audittime": {
  24624. "description": "审核时间",
  24625. "type": "string"
  24626. },
  24627. "cancelaccountid": {
  24628. "description": "注销操作员账号",
  24629. "type": "integer"
  24630. },
  24631. "canceltime": {
  24632. "description": "注销时间",
  24633. "type": "string"
  24634. },
  24635. "closepricemode": {
  24636. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24637. "type": "integer"
  24638. },
  24639. "closepriceparam": {
  24640. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24641. "type": "number"
  24642. },
  24643. "createtime": {
  24644. "description": "创建时间",
  24645. "type": "string"
  24646. },
  24647. "creatorid": {
  24648. "description": "创建人",
  24649. "type": "integer"
  24650. },
  24651. "currencyid": {
  24652. "description": "报价货币ID",
  24653. "type": "integer"
  24654. },
  24655. "cutmode": {
  24656. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24657. "type": "integer"
  24658. },
  24659. "decimalplace": {
  24660. "description": "报价小数位",
  24661. "type": "integer"
  24662. },
  24663. "delistingdate": {
  24664. "description": "商品退市时间(状态:退市) -- 已作废",
  24665. "type": "string"
  24666. },
  24667. "delistingmode": {
  24668. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24669. "type": "integer"
  24670. },
  24671. "deliveryflag": {
  24672. "description": "交割标志 - 0:不可交割 1:可交割",
  24673. "type": "integer"
  24674. },
  24675. "enumdicname": {
  24676. "description": "单位名称",
  24677. "type": "string"
  24678. },
  24679. "forceclosemode": {
  24680. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24681. "type": "integer"
  24682. },
  24683. "forceclosevalue": {
  24684. "description": "定期强平参数 [收益权]",
  24685. "type": "integer"
  24686. },
  24687. "goodscode": {
  24688. "description": "商品代码(内部)",
  24689. "type": "string"
  24690. },
  24691. "goodscurrencyid": {
  24692. "description": "合约货币ID",
  24693. "type": "integer"
  24694. },
  24695. "goodsgroupid": {
  24696. "description": "所属商品组ID",
  24697. "type": "integer"
  24698. },
  24699. "goodsid": {
  24700. "description": "商品ID(自增ID SEQ_GOODS)",
  24701. "type": "integer"
  24702. },
  24703. "goodsname": {
  24704. "description": "商品名称",
  24705. "type": "string"
  24706. },
  24707. "goodsquotetype": {
  24708. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24709. "type": "integer"
  24710. },
  24711. "goodsstatus": {
  24712. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24713. "type": "integer"
  24714. },
  24715. "goodstradetype": {
  24716. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24717. "type": "integer"
  24718. },
  24719. "goodunitid": {
  24720. "description": "报价单位ID",
  24721. "type": "integer"
  24722. },
  24723. "hasquoter": {
  24724. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24725. "type": "integer"
  24726. },
  24727. "hqprotecttime": {
  24728. "description": "行情保护时间(秒)",
  24729. "type": "integer"
  24730. },
  24731. "innerdealmode": {
  24732. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24733. "type": "integer"
  24734. },
  24735. "isbuylimited": {
  24736. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24737. "type": "integer"
  24738. },
  24739. "isvisible": {
  24740. "description": "游客是否可见 - 0:不可见 1:可见",
  24741. "type": "integer"
  24742. },
  24743. "lasttradedate": {
  24744. "description": "最后交易日期(状态:待退市)",
  24745. "type": "string"
  24746. },
  24747. "listingdate": {
  24748. "description": "交易开始日期",
  24749. "type": "string"
  24750. },
  24751. "marketid": {
  24752. "description": "所属市场ID",
  24753. "type": "integer"
  24754. },
  24755. "modifierid": {
  24756. "description": "修改人",
  24757. "type": "integer"
  24758. },
  24759. "modifystatus": {
  24760. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24761. "type": "integer"
  24762. },
  24763. "modifytime": {
  24764. "description": "修改时间",
  24765. "type": "string"
  24766. },
  24767. "outerdealmode": {
  24768. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24769. "type": "integer"
  24770. },
  24771. "outgoodscode": {
  24772. "description": "商品代码(外部)",
  24773. "type": "string"
  24774. },
  24775. "pictureurl": {
  24776. "description": "商品图片",
  24777. "type": "string"
  24778. },
  24779. "qtydecimalplace": {
  24780. "description": "成交量小数位",
  24781. "type": "integer"
  24782. },
  24783. "quotegear": {
  24784. "description": "行情档位(1-10)",
  24785. "type": "integer"
  24786. },
  24787. "quoteminunit": {
  24788. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24789. "type": "integer"
  24790. },
  24791. "quoteshowtype": {
  24792. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24793. "type": "integer"
  24794. },
  24795. "quoteshowtypeinterval": {
  24796. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24797. "type": "integer"
  24798. },
  24799. "relatedgoodsid": {
  24800. "description": "关联参考商品ID",
  24801. "type": "integer"
  24802. },
  24803. "remark": {
  24804. "description": "备注",
  24805. "type": "string"
  24806. },
  24807. "trademode": {
  24808. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24809. "type": "integer"
  24810. }
  24811. }
  24812. },
  24813. "models.ErmcpGoodsBrand": {
  24814. "type": "object",
  24815. "properties": {
  24816. "areauserid": {
  24817. "description": "所属机构",
  24818. "type": "integer"
  24819. },
  24820. "brandid": {
  24821. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24822. "type": "integer"
  24823. },
  24824. "brandname": {
  24825. "description": "品牌名称",
  24826. "type": "string"
  24827. },
  24828. "createtime": {
  24829. "description": "创建时间",
  24830. "type": "string"
  24831. },
  24832. "creatorid": {
  24833. "description": "创建人",
  24834. "type": "integer"
  24835. },
  24836. "creatorsrc": {
  24837. "description": "创建人来源 - 1:管理端 2:终端",
  24838. "type": "integer"
  24839. },
  24840. "deliverygoodsid": {
  24841. "description": "现货品种ID",
  24842. "type": "integer"
  24843. },
  24844. "isvalid": {
  24845. "description": "是否有效 - 0:无效 1:有效",
  24846. "type": "integer"
  24847. },
  24848. "updatetime": {
  24849. "description": "更新时间",
  24850. "type": "string"
  24851. },
  24852. "updatorid": {
  24853. "description": "更新人",
  24854. "type": "integer"
  24855. },
  24856. "updatorsrc": {
  24857. "description": "更新人来源 - 1:管理端 2:终端",
  24858. "type": "integer"
  24859. },
  24860. "wrstandardid": {
  24861. "description": "现货商品ID",
  24862. "type": "integer"
  24863. }
  24864. }
  24865. },
  24866. "models.ErmcpGoodsModel": {
  24867. "type": "object",
  24868. "properties": {
  24869. "areauserid": {
  24870. "description": "所属机构",
  24871. "type": "integer"
  24872. },
  24873. "convertfactor": {
  24874. "description": "标仓系数",
  24875. "type": "number"
  24876. },
  24877. "createtime": {
  24878. "description": "创建时间",
  24879. "type": "string"
  24880. },
  24881. "creatorid": {
  24882. "description": "创建人",
  24883. "type": "integer"
  24884. },
  24885. "creatorsrc": {
  24886. "description": "创建人来源 - 1:管理端 2:终端",
  24887. "type": "integer"
  24888. },
  24889. "deliverygoodsid": {
  24890. "description": "现货品种ID",
  24891. "type": "integer"
  24892. },
  24893. "isvalid": {
  24894. "description": "是否有效 - 0:无效 1:有效",
  24895. "type": "integer"
  24896. },
  24897. "modelid": {
  24898. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24899. "type": "integer"
  24900. },
  24901. "modelname": {
  24902. "description": "型号名称",
  24903. "type": "string"
  24904. },
  24905. "updatetime": {
  24906. "description": "更新时间",
  24907. "type": "string"
  24908. },
  24909. "updatorid": {
  24910. "description": "更新人",
  24911. "type": "integer"
  24912. },
  24913. "updatorsrc": {
  24914. "description": "更新人来源 - 1:管理端 2:终端",
  24915. "type": "integer"
  24916. },
  24917. "wrstandardid": {
  24918. "description": "现货商品ID",
  24919. "type": "integer"
  24920. }
  24921. }
  24922. },
  24923. "models.ErmcpHisExposure": {
  24924. "type": "object",
  24925. "properties": {
  24926. "needhedgeexposoure": {
  24927. "description": "应套保敞口",
  24928. "type": "number"
  24929. },
  24930. "reckondate": {
  24931. "description": "日照时期(yyyyMMdd)",
  24932. "type": "string"
  24933. },
  24934. "totalexposure": {
  24935. "description": "总敞口",
  24936. "type": "number"
  24937. }
  24938. }
  24939. },
  24940. "models.ErmcpLoginTaAccount": {
  24941. "type": "object",
  24942. "properties": {
  24943. "accountid": {
  24944. "description": "账号id",
  24945. "type": "integer"
  24946. },
  24947. "accountname": {
  24948. "description": "账号名称",
  24949. "type": "string"
  24950. }
  24951. }
  24952. },
  24953. "models.ErmcpLoginUser": {
  24954. "type": "object",
  24955. "properties": {
  24956. "acclist": {
  24957. "description": "关联资金账号",
  24958. "type": "array",
  24959. "items": {
  24960. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24961. }
  24962. },
  24963. "accountname": {
  24964. "description": "用户名称",
  24965. "type": "string"
  24966. },
  24967. "clientroleid": {
  24968. "description": "角色id(usertype=2)",
  24969. "type": "integer"
  24970. },
  24971. "createtime": {
  24972. "description": "创建时间",
  24973. "type": "string"
  24974. },
  24975. "logincode": {
  24976. "description": "登录代码",
  24977. "type": "string"
  24978. },
  24979. "loginid": {
  24980. "description": "登录id(LOGINID)",
  24981. "type": "integer"
  24982. },
  24983. "loginname": {
  24984. "description": "登录名称(loginaccount表中的accountname字段)",
  24985. "type": "string"
  24986. },
  24987. "loginstatus": {
  24988. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24989. "type": "integer"
  24990. },
  24991. "memberuserid": {
  24992. "description": "所属会员id",
  24993. "type": "integer"
  24994. },
  24995. "mobile": {
  24996. "description": "手机号",
  24997. "type": "string"
  24998. },
  24999. "modifytime": {
  25000. "description": "修改时间",
  25001. "type": "string"
  25002. },
  25003. "password": {
  25004. "description": "密码(不可解密)",
  25005. "type": "string"
  25006. },
  25007. "rolename": {
  25008. "description": "角色名称",
  25009. "type": "string"
  25010. },
  25011. "rolestatus": {
  25012. "description": "角色状态 1-启用 2-停用",
  25013. "type": "integer"
  25014. },
  25015. "roletype": {
  25016. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  25017. "type": "string"
  25018. },
  25019. "userid": {
  25020. "description": "用户id",
  25021. "type": "integer"
  25022. },
  25023. "usertype": {
  25024. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25025. "type": "integer"
  25026. }
  25027. }
  25028. },
  25029. "models.ErmcpLoginUserEx": {
  25030. "type": "object",
  25031. "properties": {
  25032. "accountstatus": {
  25033. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25034. "type": "integer"
  25035. },
  25036. "mobile": {
  25037. "description": "手机号",
  25038. "type": "string"
  25039. },
  25040. "querytype": {
  25041. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  25042. "type": "integer"
  25043. },
  25044. "roleid": {
  25045. "description": "角色id(交易账户-\u003e用户id)",
  25046. "type": "integer"
  25047. },
  25048. "rolename": {
  25049. "description": "角色名称(交易账户-\u003e用户名称)",
  25050. "type": "string"
  25051. },
  25052. "userlist": {
  25053. "description": "用户列表",
  25054. "type": "array",
  25055. "items": {
  25056. "$ref": "#/definitions/models.ErmcpLoginUser"
  25057. }
  25058. },
  25059. "usertype": {
  25060. "description": "用户类型 2-机构 7-企业成员(云平台)",
  25061. "type": "integer"
  25062. }
  25063. }
  25064. },
  25065. "models.ErmcpMiddleGoodsModel": {
  25066. "type": "object",
  25067. "properties": {
  25068. "areauserid": {
  25069. "description": "机构用户ID",
  25070. "type": "integer"
  25071. },
  25072. "createtime": {
  25073. "description": "修改时间",
  25074. "type": "string"
  25075. },
  25076. "enumdicname": {
  25077. "description": "单位名称",
  25078. "type": "string"
  25079. },
  25080. "evaluateratio": {
  25081. "description": "估价系数",
  25082. "type": "number"
  25083. },
  25084. "goodsgroupid": {
  25085. "description": "关联期货品种ID",
  25086. "type": "integer"
  25087. },
  25088. "goodsunitid": {
  25089. "description": "单位ID",
  25090. "type": "integer"
  25091. },
  25092. "isvalid": {
  25093. "description": "状态 0-无效(停用) 1-有效(正常)",
  25094. "type": "integer"
  25095. },
  25096. "middlegoodscode": {
  25097. "description": "套保品种代码",
  25098. "type": "string"
  25099. },
  25100. "middlegoodsid": {
  25101. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  25102. "type": "integer"
  25103. },
  25104. "middlegoodsname": {
  25105. "description": "套保品种名称",
  25106. "type": "string"
  25107. },
  25108. "modifytime": {
  25109. "description": "修改时间",
  25110. "type": "string"
  25111. },
  25112. "needarbitrageratio": {
  25113. "description": "套利比例",
  25114. "type": "number"
  25115. },
  25116. "needhedgeratio": {
  25117. "description": "套保比率",
  25118. "type": "number"
  25119. },
  25120. "qtydecimalplace": {
  25121. "description": "数量小数位",
  25122. "type": "integer"
  25123. },
  25124. "relatedgoodsid": {
  25125. "description": "关联交易商品ID",
  25126. "type": "integer"
  25127. },
  25128. "relatedgoodstype": {
  25129. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  25130. "type": "integer"
  25131. },
  25132. "remark": {
  25133. "description": "备注",
  25134. "type": "string"
  25135. }
  25136. }
  25137. },
  25138. "models.ErmcpMiddlegoodsRelateGoods": {
  25139. "type": "object",
  25140. "properties": {
  25141. "agreeunit": {
  25142. "description": "合约乘数",
  25143. "type": "number"
  25144. },
  25145. "convertratio": {
  25146. "description": "折算系数",
  25147. "type": "number"
  25148. },
  25149. "enumdicname": {
  25150. "description": "单位名称(交易商品)",
  25151. "type": "string"
  25152. },
  25153. "goodscode": {
  25154. "description": "交易商品代码",
  25155. "type": "string"
  25156. },
  25157. "goodsgroupid": {
  25158. "description": "交易品种id",
  25159. "type": "integer"
  25160. },
  25161. "goodsid": {
  25162. "description": "商品Id",
  25163. "type": "integer"
  25164. },
  25165. "goodsname": {
  25166. "description": "交易商品名称",
  25167. "type": "string"
  25168. },
  25169. "goodunitid": {
  25170. "description": "交易商品单位id",
  25171. "type": "integer"
  25172. },
  25173. "middlegoodsid": {
  25174. "description": "套保商品id",
  25175. "type": "integer"
  25176. },
  25177. "middlegoodsname": {
  25178. "description": "套保商品名称",
  25179. "type": "string"
  25180. },
  25181. "middlegoodsswcode": {
  25182. "description": "套保商品代码",
  25183. "type": "string"
  25184. },
  25185. "needarbitrageratio": {
  25186. "description": "应套利比例",
  25187. "type": "number"
  25188. },
  25189. "needhedgeratio": {
  25190. "description": "应套保比例",
  25191. "type": "number"
  25192. }
  25193. }
  25194. },
  25195. "models.ErmcpRole": {
  25196. "type": "object",
  25197. "properties": {
  25198. "areauserid": {
  25199. "description": "所属机构",
  25200. "type": "integer"
  25201. },
  25202. "autoid": {
  25203. "description": "角色ID(自增ID)",
  25204. "type": "integer"
  25205. },
  25206. "modifierid": {
  25207. "description": "修改人(创建人)",
  25208. "type": "integer"
  25209. },
  25210. "modifiername": {
  25211. "description": "修改人名称",
  25212. "type": "string"
  25213. },
  25214. "modifytime": {
  25215. "description": "修改时间(创建时间)",
  25216. "type": "string"
  25217. },
  25218. "rolename": {
  25219. "description": "角色名称",
  25220. "type": "string"
  25221. },
  25222. "rolestatus": {
  25223. "description": "角色状态 - 1:启用 2:停用",
  25224. "type": "integer"
  25225. },
  25226. "roletype": {
  25227. "description": "角色类型 - 1- 管理端 2- 交易端",
  25228. "type": "integer"
  25229. }
  25230. }
  25231. },
  25232. "models.ErmcpRoleMenu": {
  25233. "type": "object",
  25234. "properties": {
  25235. "iconame": {
  25236. "description": "菜单图标",
  25237. "type": "string"
  25238. },
  25239. "ishadrole": {
  25240. "description": "是否有权限",
  25241. "type": "boolean"
  25242. },
  25243. "menutype": {
  25244. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  25245. "type": "integer"
  25246. },
  25247. "parentcode": {
  25248. "description": "上级资源代码",
  25249. "type": "string"
  25250. },
  25251. "remark": {
  25252. "description": "菜单备注",
  25253. "type": "string"
  25254. },
  25255. "resourcecode": {
  25256. "description": "菜单代码",
  25257. "type": "string"
  25258. },
  25259. "resourcelevel": {
  25260. "description": "级别",
  25261. "type": "integer"
  25262. },
  25263. "resourcename": {
  25264. "description": "菜单名称",
  25265. "type": "string"
  25266. },
  25267. "roleid": {
  25268. "description": "角色id",
  25269. "type": "integer"
  25270. },
  25271. "sort": {
  25272. "description": "排序",
  25273. "type": "integer"
  25274. },
  25275. "url": {
  25276. "description": "URL",
  25277. "type": "string"
  25278. },
  25279. "userid": {
  25280. "description": "用户id",
  25281. "type": "integer"
  25282. }
  25283. }
  25284. },
  25285. "models.ErmcpRoleMenuEx": {
  25286. "type": "object",
  25287. "properties": {
  25288. "menu": {
  25289. "description": "父级菜单",
  25290. "$ref": "#/definitions/models.ErmcpRoleMenu"
  25291. },
  25292. "subMenu": {
  25293. "description": "子级菜单",
  25294. "type": "array",
  25295. "items": {
  25296. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  25297. }
  25298. }
  25299. }
  25300. },
  25301. "models.ErmcpTaAccount": {
  25302. "type": "object",
  25303. "properties": {
  25304. "accountid": {
  25305. "description": "账户id",
  25306. "type": "integer"
  25307. },
  25308. "accountname": {
  25309. "description": "账户名称",
  25310. "type": "string"
  25311. },
  25312. "currencyid": {
  25313. "description": "币种id",
  25314. "type": "integer"
  25315. },
  25316. "hedgeaccountcode": {
  25317. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25318. "type": "string"
  25319. },
  25320. "ismain": {
  25321. "description": "是否主账户 0-否 1-是",
  25322. "type": "integer"
  25323. },
  25324. "parentaccountid": {
  25325. "description": "父账户id",
  25326. "type": "integer"
  25327. },
  25328. "relateduserid": {
  25329. "description": "关联userid",
  25330. "type": "integer"
  25331. },
  25332. "tradefeetmpid": {
  25333. "description": "手续费模板id",
  25334. "type": "integer"
  25335. },
  25336. "tradefeetmpname": {
  25337. "description": "手续费模板名称",
  25338. "type": "string"
  25339. },
  25340. "trademargintmpid": {
  25341. "description": "保证金模板id",
  25342. "type": "integer"
  25343. },
  25344. "trademargintmpname": {
  25345. "description": "保证金模板名称",
  25346. "type": "string"
  25347. },
  25348. "traderatetmpid": {
  25349. "description": "汇率模板id",
  25350. "type": "integer"
  25351. },
  25352. "traderatetmpname": {
  25353. "description": "汇率模板名称",
  25354. "type": "string"
  25355. },
  25356. "tradestatus": {
  25357. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25358. "type": "integer"
  25359. },
  25360. "userid": {
  25361. "description": "用户id",
  25362. "type": "integer"
  25363. }
  25364. }
  25365. },
  25366. "models.ErmcpTaAccountEx": {
  25367. "type": "object",
  25368. "properties": {
  25369. "mainAcc": {
  25370. "description": "主账号",
  25371. "$ref": "#/definitions/models.ErmcpTaAccountM"
  25372. },
  25373. "subacclist": {
  25374. "description": "子账号列表",
  25375. "type": "array",
  25376. "items": {
  25377. "$ref": "#/definitions/models.ErmcpTaAccount"
  25378. }
  25379. }
  25380. }
  25381. },
  25382. "models.ErmcpTaAccountInfo": {
  25383. "type": "object",
  25384. "properties": {
  25385. "accountid": {
  25386. "description": "资金账户ID",
  25387. "type": "integer"
  25388. },
  25389. "accountname": {
  25390. "description": "账户名称",
  25391. "type": "string"
  25392. },
  25393. "balance": {
  25394. "description": "期初余额",
  25395. "type": "number"
  25396. },
  25397. "capitalbalance": {
  25398. "description": "本金余额[外部子账户实际出入金余额]",
  25399. "type": "number"
  25400. },
  25401. "closepl": {
  25402. "description": "今日平仓盈亏",
  25403. "type": "number"
  25404. },
  25405. "creditdecrease": {
  25406. "description": "今日授信减少",
  25407. "type": "number"
  25408. },
  25409. "creditincrease": {
  25410. "description": "今日授信增加",
  25411. "type": "number"
  25412. },
  25413. "curdebt": {
  25414. "description": "期末欠款",
  25415. "type": "number"
  25416. },
  25417. "currencyid": {
  25418. "description": "货币ID",
  25419. "type": "integer"
  25420. },
  25421. "currentbalance": {
  25422. "description": "期末余额",
  25423. "type": "number"
  25424. },
  25425. "freezecharge": {
  25426. "description": "手续费冻结",
  25427. "type": "number"
  25428. },
  25429. "freezemargin": {
  25430. "description": "冻结保证金",
  25431. "type": "number"
  25432. },
  25433. "fromaccountid": {
  25434. "description": "所属上级账户",
  25435. "type": "integer"
  25436. },
  25437. "inamount": {
  25438. "description": "今日入金金额(包括三方入金)",
  25439. "type": "number"
  25440. },
  25441. "ismain": {
  25442. "description": "是否母账号 0:不是母账户 1:是母账户",
  25443. "type": "integer"
  25444. },
  25445. "mortgagecredit": {
  25446. "description": "授信金额",
  25447. "type": "number"
  25448. },
  25449. "oridebt": {
  25450. "description": "期初欠款",
  25451. "type": "number"
  25452. },
  25453. "orifreezecharge": {
  25454. "description": "期初手续费冻结",
  25455. "type": "number"
  25456. },
  25457. "orifreezemargin": {
  25458. "description": "期初冻结保证金",
  25459. "type": "number"
  25460. },
  25461. "orimortgagecredit": {
  25462. "description": "期初授信金额",
  25463. "type": "number"
  25464. },
  25465. "oriothercredit": {
  25466. "description": "期初其它授信金额",
  25467. "type": "number"
  25468. },
  25469. "oriotherfreezemargin": {
  25470. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25471. "type": "number"
  25472. },
  25473. "orioutamountfreeze": {
  25474. "description": "期初出金冻结",
  25475. "type": "number"
  25476. },
  25477. "oriusedmargin": {
  25478. "description": "期初占用保证金",
  25479. "type": "number"
  25480. },
  25481. "othercredit": {
  25482. "description": "其它授信金额",
  25483. "type": "number"
  25484. },
  25485. "othercreditdecrease": {
  25486. "description": "今日其它授信减少",
  25487. "type": "number"
  25488. },
  25489. "othercreditincrease": {
  25490. "description": "今日其它授信增加",
  25491. "type": "number"
  25492. },
  25493. "otherfreezemargin": {
  25494. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25495. "type": "number"
  25496. },
  25497. "outamount": {
  25498. "description": "今日出金金额(包括三方出金)",
  25499. "type": "number"
  25500. },
  25501. "outamountfreeze": {
  25502. "description": "出金冻结",
  25503. "type": "number"
  25504. },
  25505. "outthreshold": {
  25506. "description": "出金阈值",
  25507. "type": "number"
  25508. },
  25509. "parentaccountid": {
  25510. "description": "所属根账号",
  25511. "type": "integer"
  25512. },
  25513. "paycharge": {
  25514. "description": "今日手续费支出",
  25515. "type": "number"
  25516. },
  25517. "relateduserid": {
  25518. "description": "关联用户",
  25519. "type": "integer"
  25520. },
  25521. "signstatus": {
  25522. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25523. "type": "integer"
  25524. },
  25525. "sublevelpath": {
  25526. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25527. "type": "string"
  25528. },
  25529. "taaccounttype": {
  25530. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25531. "type": "integer"
  25532. },
  25533. "thirdinamount": {
  25534. "description": "今日三方入金",
  25535. "type": "number"
  25536. },
  25537. "thirdoutamount": {
  25538. "description": "今日三方出金",
  25539. "type": "number"
  25540. },
  25541. "tradestatus": {
  25542. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25543. "type": "integer"
  25544. },
  25545. "transferamount": {
  25546. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25547. "type": "number"
  25548. },
  25549. "usedmargin": {
  25550. "description": "占用保证金",
  25551. "type": "number"
  25552. },
  25553. "userid": {
  25554. "description": "用户ID",
  25555. "type": "integer"
  25556. }
  25557. }
  25558. },
  25559. "models.ErmcpTaAccountM": {
  25560. "type": "object",
  25561. "properties": {
  25562. "accountid": {
  25563. "description": "账户id",
  25564. "type": "integer"
  25565. },
  25566. "accountname": {
  25567. "description": "账户名称",
  25568. "type": "string"
  25569. },
  25570. "currencyid": {
  25571. "description": "币种id",
  25572. "type": "integer"
  25573. },
  25574. "fcid": {
  25575. "description": "期货公司id",
  25576. "type": "integer"
  25577. },
  25578. "fcname": {
  25579. "description": "期货公司代码",
  25580. "type": "string"
  25581. },
  25582. "hedgeaccountcode": {
  25583. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25584. "type": "string"
  25585. },
  25586. "ismain": {
  25587. "description": "是否主账户 0-否 1-是",
  25588. "type": "integer"
  25589. },
  25590. "parentaccountid": {
  25591. "description": "父账户id",
  25592. "type": "integer"
  25593. },
  25594. "relateduserid": {
  25595. "description": "关联userid",
  25596. "type": "integer"
  25597. },
  25598. "tradefeetmpid": {
  25599. "description": "手续费模板id",
  25600. "type": "integer"
  25601. },
  25602. "tradefeetmpname": {
  25603. "description": "手续费模板名称",
  25604. "type": "string"
  25605. },
  25606. "trademargintmpid": {
  25607. "description": "保证金模板id",
  25608. "type": "integer"
  25609. },
  25610. "trademargintmpname": {
  25611. "description": "保证金模板名称",
  25612. "type": "string"
  25613. },
  25614. "traderatetmpid": {
  25615. "description": "汇率模板id",
  25616. "type": "integer"
  25617. },
  25618. "traderatetmpname": {
  25619. "description": "汇率模板名称",
  25620. "type": "string"
  25621. },
  25622. "tradestatus": {
  25623. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25624. "type": "integer"
  25625. },
  25626. "userid": {
  25627. "description": "用户id",
  25628. "type": "integer"
  25629. }
  25630. }
  25631. },
  25632. "models.ErmcpTradeConfigTMP": {
  25633. "type": "object",
  25634. "properties": {
  25635. "areauserid": {
  25636. "description": "所属机构",
  25637. "type": "integer"
  25638. },
  25639. "basiccurrencyid": {
  25640. "description": "基本币种ID[汇率] - 目标币种",
  25641. "type": "integer"
  25642. },
  25643. "mainaccountid": {
  25644. "description": "主账户ID",
  25645. "type": "integer"
  25646. },
  25647. "modifierid": {
  25648. "description": "修改人",
  25649. "type": "integer"
  25650. },
  25651. "remark": {
  25652. "description": "备注",
  25653. "type": "string"
  25654. },
  25655. "tradeconfigtmpid": {
  25656. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25657. "type": "integer"
  25658. },
  25659. "tradeconfigtmpname": {
  25660. "description": "交易配置模板名称",
  25661. "type": "string"
  25662. },
  25663. "tradeconfigtmptype": {
  25664. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25665. "type": "integer"
  25666. },
  25667. "updatetime": {
  25668. "description": "更新时间",
  25669. "type": "string"
  25670. }
  25671. }
  25672. },
  25673. "models.Externalexchange": {
  25674. "type": "object",
  25675. "required": [
  25676. "autoid"
  25677. ],
  25678. "properties": {
  25679. "autoid": {
  25680. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25681. "type": "integer"
  25682. },
  25683. "exchangefullname": {
  25684. "description": "外部交易所全称",
  25685. "type": "string"
  25686. },
  25687. "exexchangecode": {
  25688. "description": "外部交易所代码",
  25689. "type": "string"
  25690. },
  25691. "exexchangename": {
  25692. "description": "外部交易所名称(简称)",
  25693. "type": "string"
  25694. },
  25695. "ismarketprice": {
  25696. "description": "是否支持市价 - 0:不支持 1:支持",
  25697. "type": "integer"
  25698. },
  25699. "quotegear": {
  25700. "description": "行情档位(1-10)",
  25701. "type": "integer"
  25702. },
  25703. "showbrokerflag": {
  25704. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25705. "type": "integer"
  25706. },
  25707. "updatetime": {
  25708. "description": "更新时间",
  25709. "type": "string"
  25710. }
  25711. }
  25712. },
  25713. "models.Funcmenulist": {
  25714. "type": "object",
  25715. "required": [
  25716. "resourcecode"
  25717. ],
  25718. "properties": {
  25719. "iconame": {
  25720. "description": "菜单图标",
  25721. "type": "string"
  25722. },
  25723. "menutype": {
  25724. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25725. "type": "integer"
  25726. },
  25727. "parentcode": {
  25728. "description": "上级资源代码",
  25729. "type": "string"
  25730. },
  25731. "remark": {
  25732. "description": "备注",
  25733. "type": "string"
  25734. },
  25735. "resourcecode": {
  25736. "description": "资源代码",
  25737. "type": "string"
  25738. },
  25739. "resourcelevel": {
  25740. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25741. "type": "integer"
  25742. },
  25743. "resourcename": {
  25744. "description": "资源名",
  25745. "type": "string"
  25746. },
  25747. "sort": {
  25748. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25749. "type": "integer"
  25750. },
  25751. "url": {
  25752. "description": "URL",
  25753. "type": "string"
  25754. }
  25755. }
  25756. },
  25757. "models.Goods": {
  25758. "type": "object",
  25759. "required": [
  25760. "goodscode",
  25761. "goodsid",
  25762. "goodsname",
  25763. "marketid"
  25764. ],
  25765. "properties": {
  25766. "agreeunit": {
  25767. "description": "合约单位",
  25768. "type": "number"
  25769. },
  25770. "areauserid": {
  25771. "description": "所属机构",
  25772. "type": "integer"
  25773. },
  25774. "auditaccountid": {
  25775. "description": "审核操作员账号",
  25776. "type": "integer"
  25777. },
  25778. "audittime": {
  25779. "description": "审核时间",
  25780. "type": "string"
  25781. },
  25782. "cancelaccountid": {
  25783. "description": "注销操作员账号",
  25784. "type": "integer"
  25785. },
  25786. "canceltime": {
  25787. "description": "注销时间",
  25788. "type": "string"
  25789. },
  25790. "closepricemode": {
  25791. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25792. "type": "integer"
  25793. },
  25794. "closepriceparam": {
  25795. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25796. "type": "number"
  25797. },
  25798. "createtime": {
  25799. "description": "创建时间",
  25800. "type": "string"
  25801. },
  25802. "creatorid": {
  25803. "description": "创建人",
  25804. "type": "integer"
  25805. },
  25806. "currencyid": {
  25807. "description": "报价货币ID",
  25808. "type": "integer"
  25809. },
  25810. "cutmode": {
  25811. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25812. "type": "integer"
  25813. },
  25814. "decimalplace": {
  25815. "description": "报价小数位",
  25816. "type": "integer"
  25817. },
  25818. "delistingdate": {
  25819. "description": "商品退市时间(状态:退市) -- 已作废",
  25820. "type": "string"
  25821. },
  25822. "delistingmode": {
  25823. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25824. "type": "integer"
  25825. },
  25826. "deliveryflag": {
  25827. "description": "交割标志 - 0:不可交割 1:可交割",
  25828. "type": "integer"
  25829. },
  25830. "forceclosemode": {
  25831. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25832. "type": "integer"
  25833. },
  25834. "forceclosevalue": {
  25835. "description": "定期强平参数 [收益权]",
  25836. "type": "integer"
  25837. },
  25838. "goodscode": {
  25839. "description": "商品代码(内部)",
  25840. "type": "string"
  25841. },
  25842. "goodscurrencyid": {
  25843. "description": "合约货币ID",
  25844. "type": "integer"
  25845. },
  25846. "goodsgroupid": {
  25847. "description": "所属商品组ID",
  25848. "type": "integer"
  25849. },
  25850. "goodsid": {
  25851. "description": "商品ID(自增ID SEQ_GOODS)",
  25852. "type": "integer"
  25853. },
  25854. "goodsname": {
  25855. "description": "商品名称",
  25856. "type": "string"
  25857. },
  25858. "goodsquotetype": {
  25859. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25860. "type": "integer"
  25861. },
  25862. "goodsstatus": {
  25863. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25864. "type": "integer"
  25865. },
  25866. "goodstradetype": {
  25867. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25868. "type": "integer"
  25869. },
  25870. "goodunitid": {
  25871. "description": "报价单位ID",
  25872. "type": "integer"
  25873. },
  25874. "hasquoter": {
  25875. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25876. "type": "integer"
  25877. },
  25878. "hqprotecttime": {
  25879. "description": "行情保护时间(秒)",
  25880. "type": "integer"
  25881. },
  25882. "innerdealmode": {
  25883. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25884. "type": "integer"
  25885. },
  25886. "isbuylimited": {
  25887. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25888. "type": "integer"
  25889. },
  25890. "isvisible": {
  25891. "description": "游客是否可见 - 0:不可见 1:可见",
  25892. "type": "integer"
  25893. },
  25894. "lasttradedate": {
  25895. "description": "最后交易日期(状态:待退市)",
  25896. "type": "string"
  25897. },
  25898. "listingdate": {
  25899. "description": "交易开始日期",
  25900. "type": "string"
  25901. },
  25902. "marketid": {
  25903. "description": "所属市场ID",
  25904. "type": "integer"
  25905. },
  25906. "modifierid": {
  25907. "description": "修改人",
  25908. "type": "integer"
  25909. },
  25910. "modifystatus": {
  25911. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25912. "type": "integer"
  25913. },
  25914. "modifytime": {
  25915. "description": "修改时间",
  25916. "type": "string"
  25917. },
  25918. "outerdealmode": {
  25919. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25920. "type": "integer"
  25921. },
  25922. "outgoodscode": {
  25923. "description": "商品代码(外部)",
  25924. "type": "string"
  25925. },
  25926. "pictureurl": {
  25927. "description": "商品图片",
  25928. "type": "string"
  25929. },
  25930. "qtydecimalplace": {
  25931. "description": "成交量小数位",
  25932. "type": "integer"
  25933. },
  25934. "quotegear": {
  25935. "description": "行情档位(1-10)",
  25936. "type": "integer"
  25937. },
  25938. "quoteminunit": {
  25939. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25940. "type": "integer"
  25941. },
  25942. "quoteshowtype": {
  25943. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25944. "type": "integer"
  25945. },
  25946. "quoteshowtypeinterval": {
  25947. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25948. "type": "integer"
  25949. },
  25950. "remark": {
  25951. "description": "备注",
  25952. "type": "string"
  25953. }
  25954. }
  25955. },
  25956. "models.GoodsIDAndName": {
  25957. "type": "object",
  25958. "required": [
  25959. "goodscode",
  25960. "goodsid",
  25961. "goodsname",
  25962. "marketid"
  25963. ],
  25964. "properties": {
  25965. "goodscode": {
  25966. "description": "商品代码(内部)",
  25967. "type": "string"
  25968. },
  25969. "goodsid": {
  25970. "description": "商品ID(自增ID SEQ_GOODS)",
  25971. "type": "integer"
  25972. },
  25973. "goodsname": {
  25974. "description": "商品名称",
  25975. "type": "string"
  25976. },
  25977. "marketid": {
  25978. "description": "所属市场ID",
  25979. "type": "integer"
  25980. }
  25981. }
  25982. },
  25983. "models.Goodsgroup": {
  25984. "type": "object",
  25985. "required": [
  25986. "goodsgroupid",
  25987. "goodsgroupname",
  25988. "goodsgroupstatus",
  25989. "marketid"
  25990. ],
  25991. "properties": {
  25992. "agreeunit": {
  25993. "description": "合约单位",
  25994. "type": "number"
  25995. },
  25996. "canshort": {
  25997. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25998. "type": "integer"
  25999. },
  26000. "closepricemode": {
  26001. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26002. "type": "integer"
  26003. },
  26004. "closepriceparam": {
  26005. "description": "强平最新价浮动比例 - 方式为2时使用",
  26006. "type": "number"
  26007. },
  26008. "createtime": {
  26009. "description": "创建时间",
  26010. "type": "string"
  26011. },
  26012. "creatorid": {
  26013. "description": "创建人",
  26014. "type": "integer"
  26015. },
  26016. "currencyid": {
  26017. "description": "报价货币ID",
  26018. "type": "integer"
  26019. },
  26020. "decimalplace": {
  26021. "description": "报价小数位",
  26022. "type": "integer"
  26023. },
  26024. "exercisetype": {
  26025. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  26026. "type": "integer"
  26027. },
  26028. "exexchangeid": {
  26029. "description": "外部交易所ID[通道交易]",
  26030. "type": "integer"
  26031. },
  26032. "goodsgroupid": {
  26033. "description": "商品组ID(自增ID)",
  26034. "type": "integer"
  26035. },
  26036. "goodsgroupname": {
  26037. "description": "商品组名称",
  26038. "type": "string"
  26039. },
  26040. "goodsgroupstatus": {
  26041. "description": "商品组状态 - 1:正常 2:注销",
  26042. "type": "integer"
  26043. },
  26044. "goodunitid": {
  26045. "description": "报价单位ID",
  26046. "type": "integer"
  26047. },
  26048. "innerdealmode": {
  26049. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26050. "type": "integer"
  26051. },
  26052. "isbuylimited": {
  26053. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26054. "type": "integer"
  26055. },
  26056. "marketid": {
  26057. "description": "所属市场ID",
  26058. "type": "integer"
  26059. },
  26060. "modifierid": {
  26061. "description": "修改人",
  26062. "type": "integer"
  26063. },
  26064. "modifytime": {
  26065. "description": "修改时间",
  26066. "type": "string"
  26067. },
  26068. "outerdealmode": {
  26069. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26070. "type": "integer"
  26071. },
  26072. "outergroupcode": {
  26073. "description": "外部商品组代码[通道交易]",
  26074. "type": "string"
  26075. },
  26076. "premiumdecimalplace": {
  26077. "description": "权利金小数位[场外期权]",
  26078. "type": "integer"
  26079. },
  26080. "premiumspreadalgorithm": {
  26081. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  26082. "type": "integer"
  26083. },
  26084. "premiumspreadvalue": {
  26085. "description": "权利金点差值[场外期权]",
  26086. "type": "number"
  26087. },
  26088. "qtydecimalplace": {
  26089. "description": "成交量小数位",
  26090. "type": "integer"
  26091. },
  26092. "quotegear": {
  26093. "description": "行情档位(1-10)",
  26094. "type": "integer"
  26095. },
  26096. "quoteminunit": {
  26097. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26098. "type": "integer"
  26099. },
  26100. "quoterid": {
  26101. "description": "报价商ID[场外期权]",
  26102. "type": "integer"
  26103. },
  26104. "quotesourcegroupid": {
  26105. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  26106. "type": "integer"
  26107. },
  26108. "syncgoodsqty": {
  26109. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  26110. "type": "integer"
  26111. }
  26112. }
  26113. },
  26114. "models.Goodssortbypreposition": {
  26115. "type": "object",
  26116. "required": [
  26117. "goodscode",
  26118. "tradedate"
  26119. ],
  26120. "properties": {
  26121. "goodscode": {
  26122. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  26123. "type": "string"
  26124. },
  26125. "goodsgroupcode": {
  26126. "description": "品种代码",
  26127. "type": "string"
  26128. },
  26129. "prepositionqty": {
  26130. "description": "昨持仓量",
  26131. "type": "integer"
  26132. },
  26133. "sortindex": {
  26134. "description": "排序",
  26135. "type": "integer"
  26136. },
  26137. "tradedate": {
  26138. "description": "交易日",
  26139. "type": "string"
  26140. },
  26141. "updatetime": {
  26142. "description": "更新时间",
  26143. "type": "string"
  26144. }
  26145. }
  26146. },
  26147. "models.Hedgeinnerholderdetail": {
  26148. "type": "object",
  26149. "required": [
  26150. "buyorsell",
  26151. "tradeid"
  26152. ],
  26153. "properties": {
  26154. "accountid": {
  26155. "description": "账号ID",
  26156. "type": "integer"
  26157. },
  26158. "buyorsell": {
  26159. "description": "方向 - 0:买 1:卖",
  26160. "type": "integer"
  26161. },
  26162. "freezeqty": {
  26163. "description": "冻结数量 - 按单平使用",
  26164. "type": "integer"
  26165. },
  26166. "goodsid": {
  26167. "description": "商品ID",
  26168. "type": "integer"
  26169. },
  26170. "holderamount": {
  26171. "description": "持仓金额 [商品币种]",
  26172. "type": "number"
  26173. },
  26174. "holderdays": {
  26175. "description": "剩余冻结天数",
  26176. "type": "integer"
  26177. },
  26178. "holderprice": {
  26179. "description": "持仓价格",
  26180. "type": "number"
  26181. },
  26182. "holderqty": {
  26183. "description": "持仓数量",
  26184. "type": "integer"
  26185. },
  26186. "marketid": {
  26187. "description": "市场ID",
  26188. "type": "integer"
  26189. },
  26190. "openprice": {
  26191. "description": "建仓价格",
  26192. "type": "number"
  26193. },
  26194. "openqty": {
  26195. "description": "建仓数量",
  26196. "type": "integer"
  26197. },
  26198. "parentaccountid": {
  26199. "description": "所属母账户",
  26200. "type": "integer"
  26201. },
  26202. "releaseamount": {
  26203. "description": "释放持仓金额[商品币种]",
  26204. "type": "number"
  26205. },
  26206. "tradeamount": {
  26207. "description": "成交金额[账户]",
  26208. "type": "number"
  26209. },
  26210. "tradedate": {
  26211. "description": "交易日(yyyyMMdd)",
  26212. "type": "string"
  26213. },
  26214. "tradeid": {
  26215. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26216. "type": "string"
  26217. },
  26218. "tradetime": {
  26219. "description": "交易时间",
  26220. "type": "string"
  26221. }
  26222. }
  26223. },
  26224. "models.Hedgemarketopenlog": {
  26225. "type": "object",
  26226. "required": [
  26227. "accountid"
  26228. ],
  26229. "properties": {
  26230. "accountid": {
  26231. "description": "资金账号[外部母账户]",
  26232. "type": "integer"
  26233. },
  26234. "fcname": {
  26235. "description": "期货公司名称",
  26236. "type": "string"
  26237. },
  26238. "handlestatus": {
  26239. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  26240. "type": "integer"
  26241. },
  26242. "marketid": {
  26243. "description": "市场ID",
  26244. "type": "integer"
  26245. },
  26246. "status": {
  26247. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  26248. "type": "integer"
  26249. },
  26250. "tradedate": {
  26251. "description": "交易日(yyyyMMdd)",
  26252. "type": "string"
  26253. },
  26254. "updatetime": {
  26255. "description": "更新时间",
  26256. "type": "string"
  26257. }
  26258. }
  26259. },
  26260. "models.HsbyBuyMyPayOrder": {
  26261. "type": "object",
  26262. "required": [
  26263. "goodscode",
  26264. "goodsname",
  26265. "tradeid",
  26266. "trademode"
  26267. ],
  26268. "properties": {
  26269. "agreeunit": {
  26270. "description": "合约单位",
  26271. "type": "number"
  26272. },
  26273. "buyaccountid": {
  26274. "description": "买方账号ID[报价币种]",
  26275. "type": "integer"
  26276. },
  26277. "buyorderid": {
  26278. "description": "买方委托单号",
  26279. "type": "string"
  26280. },
  26281. "createtime": {
  26282. "description": "创建时间",
  26283. "type": "string"
  26284. },
  26285. "currencysign": {
  26286. "description": "货币符号",
  26287. "type": "string"
  26288. },
  26289. "decimalplace": {
  26290. "description": "报价小数位",
  26291. "type": "integer"
  26292. },
  26293. "goodscode": {
  26294. "description": "商品代码(内部)",
  26295. "type": "string"
  26296. },
  26297. "goodsid": {
  26298. "description": "商品ID",
  26299. "type": "integer"
  26300. },
  26301. "goodsname": {
  26302. "description": "商品名称",
  26303. "type": "string"
  26304. },
  26305. "marketid": {
  26306. "description": "市场ID",
  26307. "type": "integer"
  26308. },
  26309. "offamount": {
  26310. "description": "优惠金额",
  26311. "type": "number"
  26312. },
  26313. "originalamount": {
  26314. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  26315. "type": "number"
  26316. },
  26317. "payamount": {
  26318. "description": "支付金额 = TradeAmount + TradeCharge",
  26319. "type": "number"
  26320. },
  26321. "payflag": {
  26322. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26323. "type": "integer"
  26324. },
  26325. "paylimitedtime": {
  26326. "description": "支付期限",
  26327. "type": "string"
  26328. },
  26329. "paytime": {
  26330. "description": "付款时间",
  26331. "type": "string"
  26332. },
  26333. "picurls1": {
  26334. "description": "预售商品介绍图片[多张用逗号分隔]",
  26335. "type": "string"
  26336. },
  26337. "picurls2": {
  26338. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26339. "type": "string"
  26340. },
  26341. "sellaccountid": {
  26342. "description": "卖方账号ID[报价币种]",
  26343. "type": "integer"
  26344. },
  26345. "sellorderid": {
  26346. "description": "卖方委托单号",
  26347. "type": "string"
  26348. },
  26349. "tradeamount": {
  26350. "description": "成交金额",
  26351. "type": "number"
  26352. },
  26353. "tradecharge": {
  26354. "description": "成交手续费(买方)",
  26355. "type": "number"
  26356. },
  26357. "tradedate": {
  26358. "description": "交易日(yyyyMMdd)",
  26359. "type": "string"
  26360. },
  26361. "tradeid": {
  26362. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26363. "type": "string"
  26364. },
  26365. "trademode": {
  26366. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26367. "type": "integer"
  26368. },
  26369. "tradeprice": {
  26370. "description": "成交价格",
  26371. "type": "number"
  26372. },
  26373. "tradeqty": {
  26374. "description": "成交数量",
  26375. "type": "integer"
  26376. },
  26377. "vendorname1": {
  26378. "description": "预售商品供应商名称",
  26379. "type": "string"
  26380. },
  26381. "vendorname2": {
  26382. "description": "挂牌商品供应商名称",
  26383. "type": "string"
  26384. }
  26385. }
  26386. },
  26387. "models.HsbyBuyMyTradeDetail": {
  26388. "type": "object",
  26389. "required": [
  26390. "accountid",
  26391. "buyorsell",
  26392. "goodscode",
  26393. "goodsid",
  26394. "goodsname",
  26395. "marketid",
  26396. "orderid",
  26397. "qty",
  26398. "time",
  26399. "trademode"
  26400. ],
  26401. "properties": {
  26402. "accountid": {
  26403. "description": "账户ID[报价币种]",
  26404. "type": "integer"
  26405. },
  26406. "agreeunit": {
  26407. "description": "合约单位",
  26408. "type": "number"
  26409. },
  26410. "amount": {
  26411. "description": "金额 = 价格 * 数量 * 合约单位",
  26412. "type": "number"
  26413. },
  26414. "buyorsell": {
  26415. "description": "买卖 - 0:买 1:卖",
  26416. "type": "integer"
  26417. },
  26418. "currencysign": {
  26419. "description": "货币符号",
  26420. "type": "string"
  26421. },
  26422. "decimalplace": {
  26423. "description": "报价小数位",
  26424. "type": "integer"
  26425. },
  26426. "goodscode": {
  26427. "description": "商品代码(内部)",
  26428. "type": "string"
  26429. },
  26430. "goodsid": {
  26431. "description": "商品ID",
  26432. "type": "integer"
  26433. },
  26434. "goodsname": {
  26435. "description": "商品名称",
  26436. "type": "string"
  26437. },
  26438. "marketid": {
  26439. "description": "市场ID",
  26440. "type": "integer"
  26441. },
  26442. "orderamount": {
  26443. "description": "委托金额",
  26444. "type": "number"
  26445. },
  26446. "orderid": {
  26447. "description": "单号(成交单号)",
  26448. "type": "string"
  26449. },
  26450. "picurls1": {
  26451. "description": "预售商品介绍图片[多张用逗号分隔]",
  26452. "type": "string"
  26453. },
  26454. "picurls2": {
  26455. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26456. "type": "string"
  26457. },
  26458. "price": {
  26459. "description": "价格",
  26460. "type": "number"
  26461. },
  26462. "qty": {
  26463. "description": "数量",
  26464. "type": "integer"
  26465. },
  26466. "time": {
  26467. "description": "时间",
  26468. "type": "string"
  26469. },
  26470. "trademode": {
  26471. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26472. "type": "integer"
  26473. },
  26474. "vendorname1": {
  26475. "description": "预售商品供应商名称",
  26476. "type": "string"
  26477. },
  26478. "vendorname2": {
  26479. "description": "挂牌商品供应商名称",
  26480. "type": "string"
  26481. }
  26482. }
  26483. },
  26484. "models.HsbyGoodsOrderDetail": {
  26485. "type": "object",
  26486. "required": [
  26487. "buyorsell",
  26488. "orderid",
  26489. "ordertime"
  26490. ],
  26491. "properties": {
  26492. "buyorsell": {
  26493. "description": "买卖 - 0:买 1:卖",
  26494. "type": "integer"
  26495. },
  26496. "currencysign": {
  26497. "description": "货币符号",
  26498. "type": "string"
  26499. },
  26500. "customername": {
  26501. "description": "客户名称(企业名称),已脱敏",
  26502. "type": "string"
  26503. },
  26504. "enableqty": {
  26505. "description": "可用数量",
  26506. "type": "integer"
  26507. },
  26508. "goodunit": {
  26509. "description": "报价单位",
  26510. "type": "string"
  26511. },
  26512. "orderid": {
  26513. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26514. "type": "string"
  26515. },
  26516. "orderprice": {
  26517. "description": "委托价格",
  26518. "type": "number"
  26519. },
  26520. "ordertime": {
  26521. "description": "委托时间",
  26522. "type": "string"
  26523. }
  26524. }
  26525. },
  26526. "models.HsbyListingGoodsDetail": {
  26527. "type": "object",
  26528. "required": [
  26529. "goodscode",
  26530. "goodsid",
  26531. "goodsname",
  26532. "marketid",
  26533. "trademode"
  26534. ],
  26535. "properties": {
  26536. "agreeunit": {
  26537. "description": "合约单位",
  26538. "type": "number"
  26539. },
  26540. "buymaxqty": {
  26541. "description": "购买上限 [71] - 0为不限",
  26542. "type": "integer"
  26543. },
  26544. "currency": {
  26545. "description": "货币",
  26546. "type": "string"
  26547. },
  26548. "currencysign": {
  26549. "description": "货币符号",
  26550. "type": "string"
  26551. },
  26552. "decimalplace": {
  26553. "description": "报价小数位",
  26554. "type": "integer"
  26555. },
  26556. "desccityid": {
  26557. "description": "目的地(市)ID",
  26558. "type": "integer"
  26559. },
  26560. "descprovinceid": {
  26561. "description": "目的地(省)ID",
  26562. "type": "integer"
  26563. },
  26564. "goodscode": {
  26565. "description": "商品代码(内部)",
  26566. "type": "string"
  26567. },
  26568. "goodsdesc": {
  26569. "description": "商品详情",
  26570. "type": "string"
  26571. },
  26572. "goodsid": {
  26573. "description": "商品ID(自增ID SEQ_GOODS)",
  26574. "type": "integer"
  26575. },
  26576. "goodsname": {
  26577. "description": "商品名称",
  26578. "type": "string"
  26579. },
  26580. "goodsprice": {
  26581. "description": "商品价格",
  26582. "type": "number"
  26583. },
  26584. "hotindex": {
  26585. "description": "景点热度",
  26586. "type": "integer"
  26587. },
  26588. "last": {
  26589. "description": "现价",
  26590. "type": "number"
  26591. },
  26592. "limitdown": {
  26593. "description": "跌停价",
  26594. "type": "number"
  26595. },
  26596. "limitup": {
  26597. "description": "涨停价",
  26598. "type": "number"
  26599. },
  26600. "lotsize": {
  26601. "description": "手数最小变动单位",
  26602. "type": "integer"
  26603. },
  26604. "marketid": {
  26605. "description": "所属市场ID",
  26606. "type": "integer"
  26607. },
  26608. "picurls": {
  26609. "description": "介绍图片[多张用逗号分隔]",
  26610. "type": "string"
  26611. },
  26612. "quoteminunit": {
  26613. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26614. "type": "integer"
  26615. },
  26616. "stepvalue": {
  26617. "description": "价格最小变动单位",
  26618. "type": "number"
  26619. },
  26620. "trademode": {
  26621. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26622. "type": "integer"
  26623. },
  26624. "vendorattr": {
  26625. "description": "供应商附件(多张,逗号分隔)",
  26626. "type": "string"
  26627. },
  26628. "vendorname": {
  26629. "description": "供应商名称",
  26630. "type": "string"
  26631. },
  26632. "vendorphone": {
  26633. "description": "供应商客服电话",
  26634. "type": "string"
  26635. },
  26636. "videourls": {
  26637. "description": "介绍视频[多张用逗号分隔]",
  26638. "type": "string"
  26639. }
  26640. }
  26641. },
  26642. "models.HsbyMarketGoods": {
  26643. "type": "object",
  26644. "required": [
  26645. "accountid",
  26646. "buyorsell",
  26647. "goodscode",
  26648. "goodsid",
  26649. "goodsname",
  26650. "marketid",
  26651. "orderid",
  26652. "trademode"
  26653. ],
  26654. "properties": {
  26655. "accountid": {
  26656. "description": "账户ID[报价币种]",
  26657. "type": "integer"
  26658. },
  26659. "agreeunit": {
  26660. "description": "合约单位",
  26661. "type": "number"
  26662. },
  26663. "buyorsell": {
  26664. "description": "买卖 - 0:买 1:卖",
  26665. "type": "integer"
  26666. },
  26667. "categoryid": {
  26668. "description": "类别ID(WRCATEGORY)",
  26669. "type": "integer"
  26670. },
  26671. "currency": {
  26672. "description": "货币",
  26673. "type": "string"
  26674. },
  26675. "currencysign": {
  26676. "description": "货币符号",
  26677. "type": "string"
  26678. },
  26679. "customername": {
  26680. "description": "卖家名称",
  26681. "type": "string"
  26682. },
  26683. "decimalplace": {
  26684. "description": "报价小数位",
  26685. "type": "integer"
  26686. },
  26687. "goodscode": {
  26688. "description": "商品代码(内部)",
  26689. "type": "string"
  26690. },
  26691. "goodsid": {
  26692. "description": "商品ID",
  26693. "type": "integer"
  26694. },
  26695. "goodsname": {
  26696. "description": "商品名称",
  26697. "type": "string"
  26698. },
  26699. "goodsprice": {
  26700. "description": "商品价格",
  26701. "type": "number"
  26702. },
  26703. "hascoupon": {
  26704. "description": "是否可用优惠卷",
  26705. "type": "boolean"
  26706. },
  26707. "hotindex": {
  26708. "description": "景点热度",
  26709. "type": "integer"
  26710. },
  26711. "marketid": {
  26712. "description": "市场ID",
  26713. "type": "integer"
  26714. },
  26715. "orderid": {
  26716. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26717. "type": "string"
  26718. },
  26719. "orderprice": {
  26720. "description": "委托价格",
  26721. "type": "number"
  26722. },
  26723. "orderstatus": {
  26724. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26725. "type": "integer"
  26726. },
  26727. "picurls": {
  26728. "description": "介绍图片[多张用逗号分隔]",
  26729. "type": "string"
  26730. },
  26731. "quoteminunit": {
  26732. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26733. "type": "integer"
  26734. },
  26735. "sellUserID": {
  26736. "description": "卖方UserID",
  26737. "type": "integer"
  26738. },
  26739. "trademode": {
  26740. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26741. "type": "integer"
  26742. },
  26743. "videourls": {
  26744. "description": "介绍视频[多张用逗号分隔]",
  26745. "type": "string"
  26746. }
  26747. }
  26748. },
  26749. "models.HsbyMarketGoodsDetail": {
  26750. "type": "object",
  26751. "required": [
  26752. "accountid",
  26753. "buyorsell",
  26754. "goodscode",
  26755. "goodsid",
  26756. "goodsname",
  26757. "marketid",
  26758. "orderid",
  26759. "orderqty",
  26760. "trademode"
  26761. ],
  26762. "properties": {
  26763. "accountid": {
  26764. "description": "账户ID[报价币种]",
  26765. "type": "integer"
  26766. },
  26767. "agreeunit": {
  26768. "description": "合约单位",
  26769. "type": "number"
  26770. },
  26771. "buymaxqty": {
  26772. "description": "购买上限 [71] - 0为不限",
  26773. "type": "integer"
  26774. },
  26775. "buyorsell": {
  26776. "description": "买卖 - 0:买 1:卖",
  26777. "type": "integer"
  26778. },
  26779. "cancelqty": {
  26780. "description": "撤单数量",
  26781. "type": "integer"
  26782. },
  26783. "categoryid": {
  26784. "description": "类别ID(WRCATEGORY)",
  26785. "type": "integer"
  26786. },
  26787. "currency": {
  26788. "description": "货币",
  26789. "type": "string"
  26790. },
  26791. "currencysign": {
  26792. "description": "货币符号",
  26793. "type": "string"
  26794. },
  26795. "customername": {
  26796. "description": "卖家名称",
  26797. "type": "string"
  26798. },
  26799. "decimalplace": {
  26800. "description": "报价小数位",
  26801. "type": "integer"
  26802. },
  26803. "goodscode": {
  26804. "description": "商品代码(内部)",
  26805. "type": "string"
  26806. },
  26807. "goodsdesc": {
  26808. "description": "商品详情",
  26809. "type": "string"
  26810. },
  26811. "goodsid": {
  26812. "description": "商品ID",
  26813. "type": "integer"
  26814. },
  26815. "goodsname": {
  26816. "description": "商品名称",
  26817. "type": "string"
  26818. },
  26819. "goodsprice": {
  26820. "description": "商品价格",
  26821. "type": "number"
  26822. },
  26823. "hotindex": {
  26824. "description": "景点热度",
  26825. "type": "integer"
  26826. },
  26827. "lotsize": {
  26828. "description": "手数最小变动单位",
  26829. "type": "integer"
  26830. },
  26831. "marketid": {
  26832. "description": "市场ID",
  26833. "type": "integer"
  26834. },
  26835. "orderid": {
  26836. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26837. "type": "string"
  26838. },
  26839. "orderprice": {
  26840. "description": "委托价格",
  26841. "type": "number"
  26842. },
  26843. "orderqty": {
  26844. "description": "委托数量",
  26845. "type": "integer"
  26846. },
  26847. "orderstatus": {
  26848. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26849. "type": "integer"
  26850. },
  26851. "picurls": {
  26852. "description": "介绍图片[多张用逗号分隔]",
  26853. "type": "string"
  26854. },
  26855. "quoteminunit": {
  26856. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26857. "type": "integer"
  26858. },
  26859. "sellUserID": {
  26860. "description": "卖方UserID",
  26861. "type": "integer"
  26862. },
  26863. "trademode": {
  26864. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26865. "type": "integer"
  26866. },
  26867. "tradeqty": {
  26868. "description": "成交数量",
  26869. "type": "integer"
  26870. },
  26871. "vendorattr": {
  26872. "description": "供应商附件(多张,逗号分隔)",
  26873. "type": "string"
  26874. },
  26875. "vendorname": {
  26876. "description": "供应商名称",
  26877. "type": "string"
  26878. },
  26879. "vendorphone": {
  26880. "description": "供应商客服电话",
  26881. "type": "string"
  26882. },
  26883. "videourls": {
  26884. "description": "介绍视频[多张用逗号分隔]",
  26885. "type": "string"
  26886. }
  26887. }
  26888. },
  26889. "models.HsbyMarketInfo": {
  26890. "type": "object",
  26891. "required": [
  26892. "marketid",
  26893. "marketstatus",
  26894. "trademode"
  26895. ],
  26896. "properties": {
  26897. "marketid": {
  26898. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26899. "type": "integer"
  26900. },
  26901. "marketname": {
  26902. "description": "市场名称",
  26903. "type": "string"
  26904. },
  26905. "marketstatus": {
  26906. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26907. "type": "integer"
  26908. },
  26909. "trademode": {
  26910. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26911. "type": "integer"
  26912. }
  26913. }
  26914. },
  26915. "models.HsbyMyGoods": {
  26916. "type": "object",
  26917. "required": [
  26918. "accountid",
  26919. "goodscode",
  26920. "goodsid",
  26921. "goodsname",
  26922. "marketid",
  26923. "trademode"
  26924. ],
  26925. "properties": {
  26926. "accountid": {
  26927. "description": "账号Id",
  26928. "type": "integer"
  26929. },
  26930. "agreeunit": {
  26931. "description": "合约单位",
  26932. "type": "number"
  26933. },
  26934. "buyaverageprice": {
  26935. "description": "持仓均价",
  26936. "type": "number"
  26937. },
  26938. "buycurholderamount": {
  26939. "description": "买当前持仓总金额[商品币种]",
  26940. "type": "number"
  26941. },
  26942. "buycurpositionqty": {
  26943. "description": "买当前持仓总数量",
  26944. "type": "integer"
  26945. },
  26946. "buymaxqty": {
  26947. "description": "购买上限 [71] - 0为不限",
  26948. "type": "integer"
  26949. },
  26950. "currencysign": {
  26951. "description": "货币符号",
  26952. "type": "string"
  26953. },
  26954. "decimalplace": {
  26955. "description": "报价小数位",
  26956. "type": "integer"
  26957. },
  26958. "enableqty": {
  26959. "description": "可用数量",
  26960. "type": "integer"
  26961. },
  26962. "goodscode": {
  26963. "description": "商品代码(内部)",
  26964. "type": "string"
  26965. },
  26966. "goodsid": {
  26967. "description": "商品Id",
  26968. "type": "integer"
  26969. },
  26970. "goodsname": {
  26971. "description": "商品名称",
  26972. "type": "string"
  26973. },
  26974. "goodsprice": {
  26975. "description": "商品价格",
  26976. "type": "number"
  26977. },
  26978. "goodsstatus": {
  26979. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26980. "type": "integer"
  26981. },
  26982. "last": {
  26983. "description": "现价(仅使用于挂牌点选)",
  26984. "type": "number"
  26985. },
  26986. "limitdown": {
  26987. "description": "跌停价(仅使用于挂牌点选)",
  26988. "type": "number"
  26989. },
  26990. "limitup": {
  26991. "description": "涨停价(仅使用于挂牌点选)",
  26992. "type": "number"
  26993. },
  26994. "lotsize": {
  26995. "description": "手数最小变动单位",
  26996. "type": "integer"
  26997. },
  26998. "marketid": {
  26999. "description": "所属市场ID",
  27000. "type": "integer"
  27001. },
  27002. "picurls": {
  27003. "description": "介绍图片[多张用逗号分隔]",
  27004. "type": "string"
  27005. },
  27006. "quoteminunit": {
  27007. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27008. "type": "integer"
  27009. },
  27010. "stepvalue": {
  27011. "description": "价格最小变动单位",
  27012. "type": "number"
  27013. },
  27014. "trademode": {
  27015. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27016. "type": "integer"
  27017. }
  27018. }
  27019. },
  27020. "models.HsbyMyPackage": {
  27021. "type": "object",
  27022. "required": [
  27023. "goodscode",
  27024. "goodsname",
  27025. "takeorderid",
  27026. "trademode"
  27027. ],
  27028. "properties": {
  27029. "accountid": {
  27030. "description": "账户ID",
  27031. "type": "integer"
  27032. },
  27033. "address": {
  27034. "description": "提货人详细地址",
  27035. "type": "string"
  27036. },
  27037. "agreeunit": {
  27038. "description": "合约单位",
  27039. "type": "number"
  27040. },
  27041. "amount": {
  27042. "description": "提货金额",
  27043. "type": "number"
  27044. },
  27045. "auditer": {
  27046. "description": "审核人",
  27047. "type": "integer"
  27048. },
  27049. "audittime": {
  27050. "description": "审核时间",
  27051. "type": "string"
  27052. },
  27053. "averageprice": {
  27054. "description": "均价",
  27055. "type": "number"
  27056. },
  27057. "cardnum": {
  27058. "description": "提货人证件号码",
  27059. "type": "string"
  27060. },
  27061. "cardtypeid": {
  27062. "description": "提货人证件类型",
  27063. "type": "integer"
  27064. },
  27065. "checkremark": {
  27066. "description": "审核备注",
  27067. "type": "string"
  27068. },
  27069. "currencysign": {
  27070. "description": "货币符号",
  27071. "type": "string"
  27072. },
  27073. "decimalplace": {
  27074. "description": "报价小数位",
  27075. "type": "integer"
  27076. },
  27077. "goodscode": {
  27078. "description": "商品代码(内部)",
  27079. "type": "string"
  27080. },
  27081. "goodsid": {
  27082. "description": "商品ID",
  27083. "type": "integer"
  27084. },
  27085. "goodsname": {
  27086. "description": "商品名称",
  27087. "type": "string"
  27088. },
  27089. "handlestatus": {
  27090. "description": "处理状态",
  27091. "type": "integer"
  27092. },
  27093. "marketid": {
  27094. "description": "市场ID",
  27095. "type": "integer"
  27096. },
  27097. "phonenum": {
  27098. "description": "提货人联系方式",
  27099. "type": "string"
  27100. },
  27101. "picurls": {
  27102. "description": "介绍图片[多张用逗号分隔]",
  27103. "type": "string"
  27104. },
  27105. "qty": {
  27106. "description": "提货数量",
  27107. "type": "number"
  27108. },
  27109. "recivername": {
  27110. "description": "提货人姓名",
  27111. "type": "string"
  27112. },
  27113. "reqtime": {
  27114. "description": "更新时间",
  27115. "type": "string"
  27116. },
  27117. "takemode": {
  27118. "description": "提货方式 - 2:自提 3:配送",
  27119. "type": "integer"
  27120. },
  27121. "takeorderid": {
  27122. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27123. "type": "string"
  27124. },
  27125. "takeorderstatus": {
  27126. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  27127. "type": "integer"
  27128. },
  27129. "takeremark": {
  27130. "description": "提货备注",
  27131. "type": "string"
  27132. },
  27133. "tradedate": {
  27134. "description": "交易日(yyyyMMdd)",
  27135. "type": "string"
  27136. },
  27137. "trademode": {
  27138. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27139. "type": "integer"
  27140. },
  27141. "userid": {
  27142. "description": "用户ID",
  27143. "type": "integer"
  27144. },
  27145. "vendorname": {
  27146. "description": "供应商名称",
  27147. "type": "string"
  27148. }
  27149. }
  27150. },
  27151. "models.HsbyPreGoods": {
  27152. "type": "object",
  27153. "required": [
  27154. "goodscode",
  27155. "goodsid",
  27156. "goodsname",
  27157. "marketid",
  27158. "trademode"
  27159. ],
  27160. "properties": {
  27161. "agreeunit": {
  27162. "description": "合约单位",
  27163. "type": "number"
  27164. },
  27165. "currency": {
  27166. "description": "货币",
  27167. "type": "string"
  27168. },
  27169. "currencysign": {
  27170. "description": "货币符号",
  27171. "type": "string"
  27172. },
  27173. "decimalplace": {
  27174. "description": "报价小数位",
  27175. "type": "integer"
  27176. },
  27177. "desccityid": {
  27178. "description": "目的地(市)",
  27179. "type": "integer"
  27180. },
  27181. "descprovinceid": {
  27182. "description": "目的地(省)",
  27183. "type": "integer"
  27184. },
  27185. "enableqty": {
  27186. "description": "剩余数量",
  27187. "type": "integer"
  27188. },
  27189. "goodscode": {
  27190. "description": "商品代码(内部)",
  27191. "type": "string"
  27192. },
  27193. "goodsid": {
  27194. "description": "商品ID(自增ID SEQ_GOODS)",
  27195. "type": "integer"
  27196. },
  27197. "goodsname": {
  27198. "description": "商品名称",
  27199. "type": "string"
  27200. },
  27201. "goodsstatus": {
  27202. "description": "商品状态- 2:未上市 3:上市",
  27203. "type": "integer"
  27204. },
  27205. "lasttradedate": {
  27206. "description": "最后交易日期(状态:待退市)",
  27207. "type": "string"
  27208. },
  27209. "listingdate": {
  27210. "description": "交易开始日期",
  27211. "type": "string"
  27212. },
  27213. "marketid": {
  27214. "description": "所属市场ID",
  27215. "type": "integer"
  27216. },
  27217. "picurls": {
  27218. "description": "介绍图片[多张用逗号分隔]",
  27219. "type": "string"
  27220. },
  27221. "presaledqty": {
  27222. "description": "已预售量(预售结束时更新)",
  27223. "type": "integer"
  27224. },
  27225. "presaleqty": {
  27226. "description": "预售数量",
  27227. "type": "integer"
  27228. },
  27229. "quoteminunit": {
  27230. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27231. "type": "integer"
  27232. },
  27233. "refprice": {
  27234. "description": "参考价格[一口价]",
  27235. "type": "number"
  27236. },
  27237. "relatedgoodsid": {
  27238. "description": "关联交易合约ID",
  27239. "type": "integer"
  27240. },
  27241. "trademode": {
  27242. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27243. "type": "integer"
  27244. },
  27245. "videourls": {
  27246. "description": "介绍视频[多张用逗号分隔]",
  27247. "type": "string"
  27248. }
  27249. }
  27250. },
  27251. "models.HsbyPreGoodsDetail": {
  27252. "type": "object",
  27253. "required": [
  27254. "goodscode",
  27255. "goodsid",
  27256. "goodsname",
  27257. "marketid",
  27258. "trademode"
  27259. ],
  27260. "properties": {
  27261. "agreeunit": {
  27262. "description": "合约单位",
  27263. "type": "number"
  27264. },
  27265. "buymaxqty": {
  27266. "description": "购买上限 [71] - 0为不限",
  27267. "type": "integer"
  27268. },
  27269. "currency": {
  27270. "description": "货币",
  27271. "type": "string"
  27272. },
  27273. "currencysign": {
  27274. "description": "货币符号",
  27275. "type": "string"
  27276. },
  27277. "customername": {
  27278. "description": "发行单位",
  27279. "type": "string"
  27280. },
  27281. "decimalplace": {
  27282. "description": "报价小数位",
  27283. "type": "integer"
  27284. },
  27285. "desccityid": {
  27286. "description": "目的地(市)ID",
  27287. "type": "integer"
  27288. },
  27289. "descprovinceid": {
  27290. "description": "目的地(省)ID",
  27291. "type": "integer"
  27292. },
  27293. "enableqty": {
  27294. "description": "剩余数量",
  27295. "type": "integer"
  27296. },
  27297. "goodscode": {
  27298. "description": "商品代码(内部)",
  27299. "type": "string"
  27300. },
  27301. "goodsdesc": {
  27302. "description": "商品详情",
  27303. "type": "string"
  27304. },
  27305. "goodsid": {
  27306. "description": "商品ID(自增ID SEQ_GOODS)",
  27307. "type": "integer"
  27308. },
  27309. "goodsname": {
  27310. "description": "商品名称",
  27311. "type": "string"
  27312. },
  27313. "goodsstatus": {
  27314. "description": "商品状态- 2:未上市 3:上市",
  27315. "type": "integer"
  27316. },
  27317. "goodunit": {
  27318. "description": "报价单位",
  27319. "type": "string"
  27320. },
  27321. "lasttradedate": {
  27322. "description": "最后交易日期(状态:待退市)",
  27323. "type": "string"
  27324. },
  27325. "listingdate": {
  27326. "description": "交易开始日期",
  27327. "type": "string"
  27328. },
  27329. "lotsize": {
  27330. "description": "手数最小变动单位",
  27331. "type": "integer"
  27332. },
  27333. "marketid": {
  27334. "description": "所属市场ID",
  27335. "type": "integer"
  27336. },
  27337. "picurls": {
  27338. "description": "介绍图片[多张用逗号分隔]",
  27339. "type": "string"
  27340. },
  27341. "presaledqty": {
  27342. "description": "已预售量(预售结束时更新)",
  27343. "type": "integer"
  27344. },
  27345. "presaleqty": {
  27346. "description": "预售数量",
  27347. "type": "integer"
  27348. },
  27349. "quoteminunit": {
  27350. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27351. "type": "integer"
  27352. },
  27353. "refprice": {
  27354. "description": "参考价格[一口价]",
  27355. "type": "number"
  27356. },
  27357. "relatedgoodsid": {
  27358. "description": "关联交易合约ID",
  27359. "type": "integer"
  27360. },
  27361. "stepvalue": {
  27362. "description": "价格最小变动单位",
  27363. "type": "number"
  27364. },
  27365. "trademode": {
  27366. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27367. "type": "integer"
  27368. },
  27369. "vendorattr": {
  27370. "description": "供应商附件(多张,逗号分隔)",
  27371. "type": "string"
  27372. },
  27373. "vendorname": {
  27374. "description": "供应商名称",
  27375. "type": "string"
  27376. },
  27377. "vendorphone": {
  27378. "description": "供应商客服电话",
  27379. "type": "string"
  27380. },
  27381. "videourls": {
  27382. "description": "介绍视频[多张用逗号分隔]",
  27383. "type": "string"
  27384. }
  27385. }
  27386. },
  27387. "models.HsbySellCollectionOrder": {
  27388. "type": "object",
  27389. "required": [
  27390. "goodscode",
  27391. "goodsname",
  27392. "tradeid",
  27393. "trademode"
  27394. ],
  27395. "properties": {
  27396. "agreeunit": {
  27397. "description": "合约单位",
  27398. "type": "number"
  27399. },
  27400. "buyaccountid": {
  27401. "description": "买方账号ID[报价币种]",
  27402. "type": "integer"
  27403. },
  27404. "buyorderid": {
  27405. "description": "买方委托单号",
  27406. "type": "string"
  27407. },
  27408. "createtime": {
  27409. "description": "创建时间",
  27410. "type": "string"
  27411. },
  27412. "currencysign": {
  27413. "description": "货币符号",
  27414. "type": "string"
  27415. },
  27416. "decimalplace": {
  27417. "description": "报价小数位",
  27418. "type": "integer"
  27419. },
  27420. "goodscode": {
  27421. "description": "商品代码(内部)",
  27422. "type": "string"
  27423. },
  27424. "goodsid": {
  27425. "description": "商品ID",
  27426. "type": "integer"
  27427. },
  27428. "goodsname": {
  27429. "description": "商品名称",
  27430. "type": "string"
  27431. },
  27432. "marketid": {
  27433. "description": "市场ID",
  27434. "type": "integer"
  27435. },
  27436. "offamount": {
  27437. "description": "优惠金额",
  27438. "type": "number"
  27439. },
  27440. "payamount": {
  27441. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  27442. "type": "number"
  27443. },
  27444. "payflag": {
  27445. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27446. "type": "integer"
  27447. },
  27448. "paylimitedtime": {
  27449. "description": "支付期限",
  27450. "type": "string"
  27451. },
  27452. "paytime": {
  27453. "description": "付款时间",
  27454. "type": "string"
  27455. },
  27456. "picurls": {
  27457. "description": "商品介绍图片[多张用逗号分隔]",
  27458. "type": "string"
  27459. },
  27460. "sellaccountid": {
  27461. "description": "卖方账号ID[报价币种]",
  27462. "type": "integer"
  27463. },
  27464. "sellorderid": {
  27465. "description": "卖方委托单号",
  27466. "type": "string"
  27467. },
  27468. "tradeamount": {
  27469. "description": "成交金额",
  27470. "type": "number"
  27471. },
  27472. "tradecharge": {
  27473. "description": "成交手续费(买方)",
  27474. "type": "number"
  27475. },
  27476. "tradedate": {
  27477. "description": "交易日(yyyyMMdd)",
  27478. "type": "string"
  27479. },
  27480. "tradeid": {
  27481. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27482. "type": "string"
  27483. },
  27484. "trademode": {
  27485. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27486. "type": "integer"
  27487. },
  27488. "tradeprice": {
  27489. "description": "成交价格",
  27490. "type": "number"
  27491. },
  27492. "tradeqty": {
  27493. "description": "成交数量",
  27494. "type": "integer"
  27495. }
  27496. }
  27497. },
  27498. "models.HsbySellMyDetail": {
  27499. "type": "object",
  27500. "required": [
  27501. "accountid",
  27502. "buyorsell",
  27503. "goodscode",
  27504. "goodsid",
  27505. "goodsname",
  27506. "marketid",
  27507. "orderid",
  27508. "time",
  27509. "trademode"
  27510. ],
  27511. "properties": {
  27512. "accountid": {
  27513. "description": "账户ID[报价币种]",
  27514. "type": "integer"
  27515. },
  27516. "agreeunit": {
  27517. "description": "合约单位",
  27518. "type": "number"
  27519. },
  27520. "buyorsell": {
  27521. "description": "买卖 - 0:买 1:卖",
  27522. "type": "integer"
  27523. },
  27524. "currencysign": {
  27525. "description": "货币符号",
  27526. "type": "string"
  27527. },
  27528. "decimalplace": {
  27529. "description": "报价小数位",
  27530. "type": "integer"
  27531. },
  27532. "goodscode": {
  27533. "description": "商品代码(内部)",
  27534. "type": "string"
  27535. },
  27536. "goodsid": {
  27537. "description": "商品ID",
  27538. "type": "integer"
  27539. },
  27540. "goodsname": {
  27541. "description": "商品名称",
  27542. "type": "string"
  27543. },
  27544. "marketid": {
  27545. "description": "市场ID",
  27546. "type": "integer"
  27547. },
  27548. "orderid": {
  27549. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  27550. "type": "string"
  27551. },
  27552. "ordertype": {
  27553. "description": "单据类型:0 - 发布中, 1 - 已完成",
  27554. "type": "integer"
  27555. },
  27556. "picurls": {
  27557. "description": "介绍图片[多张用逗号分隔]",
  27558. "type": "string"
  27559. },
  27560. "price": {
  27561. "description": "价格",
  27562. "type": "number"
  27563. },
  27564. "qty": {
  27565. "description": "数量",
  27566. "type": "integer"
  27567. },
  27568. "time": {
  27569. "description": "时间",
  27570. "type": "string"
  27571. },
  27572. "trademode": {
  27573. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27574. "type": "integer"
  27575. },
  27576. "vendorname": {
  27577. "description": "供应商名称",
  27578. "type": "string"
  27579. }
  27580. }
  27581. },
  27582. "models.HsbyTopGoods": {
  27583. "type": "object",
  27584. "required": [
  27585. "goodscode",
  27586. "goodsid",
  27587. "goodsname",
  27588. "marketid",
  27589. "trademode"
  27590. ],
  27591. "properties": {
  27592. "agreeunit": {
  27593. "description": "合约单位",
  27594. "type": "number"
  27595. },
  27596. "currency": {
  27597. "description": "货币",
  27598. "type": "string"
  27599. },
  27600. "currencysign": {
  27601. "description": "货币符号",
  27602. "type": "string"
  27603. },
  27604. "decimalplace": {
  27605. "description": "报价小数位",
  27606. "type": "integer"
  27607. },
  27608. "desccityid": {
  27609. "description": "目的地(市)",
  27610. "type": "integer"
  27611. },
  27612. "descprovinceid": {
  27613. "description": "目的地(省)",
  27614. "type": "integer"
  27615. },
  27616. "goodscode": {
  27617. "description": "商品代码(内部)",
  27618. "type": "string"
  27619. },
  27620. "goodsid": {
  27621. "description": "商品ID(自增ID SEQ_GOODS)",
  27622. "type": "integer"
  27623. },
  27624. "goodsname": {
  27625. "description": "商品名称",
  27626. "type": "string"
  27627. },
  27628. "hotindex": {
  27629. "description": "景点热度",
  27630. "type": "integer"
  27631. },
  27632. "last": {
  27633. "description": "现价",
  27634. "type": "number"
  27635. },
  27636. "marketid": {
  27637. "description": "所属市场ID",
  27638. "type": "integer"
  27639. },
  27640. "picurls": {
  27641. "description": "介绍图片[多张用逗号分隔]",
  27642. "type": "string"
  27643. },
  27644. "quoteminunit": {
  27645. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27646. "type": "integer"
  27647. },
  27648. "trademode": {
  27649. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27650. "type": "integer"
  27651. },
  27652. "videourls": {
  27653. "description": "介绍视频[多张用逗号分隔]",
  27654. "type": "string"
  27655. }
  27656. }
  27657. },
  27658. "models.HybsMyBuyOrderDetail": {
  27659. "type": "object",
  27660. "required": [
  27661. "accountid",
  27662. "buyorsell",
  27663. "goodscode",
  27664. "goodsid",
  27665. "goodsname",
  27666. "marketid",
  27667. "orderid",
  27668. "orderqty",
  27669. "ordertime",
  27670. "trademode"
  27671. ],
  27672. "properties": {
  27673. "accountid": {
  27674. "description": "账户ID[报价币种]",
  27675. "type": "integer"
  27676. },
  27677. "agreeunit": {
  27678. "description": "合约单位",
  27679. "type": "number"
  27680. },
  27681. "buyorsell": {
  27682. "description": "买卖 - 0:买 1:卖",
  27683. "type": "integer"
  27684. },
  27685. "cancelqty": {
  27686. "description": "撤单数量",
  27687. "type": "integer"
  27688. },
  27689. "currencysign": {
  27690. "description": "货币符号",
  27691. "type": "string"
  27692. },
  27693. "decimalplace": {
  27694. "description": "报价小数位",
  27695. "type": "integer"
  27696. },
  27697. "goodscode": {
  27698. "description": "商品代码(内部)",
  27699. "type": "string"
  27700. },
  27701. "goodsid": {
  27702. "description": "商品ID",
  27703. "type": "integer"
  27704. },
  27705. "goodsname": {
  27706. "description": "商品名称",
  27707. "type": "string"
  27708. },
  27709. "listingselecttype": {
  27710. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27711. "type": "integer"
  27712. },
  27713. "marketid": {
  27714. "description": "市场ID",
  27715. "type": "integer"
  27716. },
  27717. "mybuystatus": {
  27718. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27719. "type": "integer"
  27720. },
  27721. "orderamount": {
  27722. "description": "委托金额",
  27723. "type": "number"
  27724. },
  27725. "orderid": {
  27726. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27727. "type": "string"
  27728. },
  27729. "orderprice": {
  27730. "description": "委托价格",
  27731. "type": "number"
  27732. },
  27733. "orderqty": {
  27734. "description": "委托数量",
  27735. "type": "integer"
  27736. },
  27737. "orderstatus": {
  27738. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27739. "type": "integer"
  27740. },
  27741. "ordertime": {
  27742. "description": "委托时间",
  27743. "type": "string"
  27744. },
  27745. "picurls1": {
  27746. "description": "预售商品介绍图片[多张用逗号分隔]",
  27747. "type": "string"
  27748. },
  27749. "picurls2": {
  27750. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27751. "type": "string"
  27752. },
  27753. "trademode": {
  27754. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27755. "type": "integer"
  27756. },
  27757. "tradeqty": {
  27758. "description": "成交数量",
  27759. "type": "integer"
  27760. },
  27761. "vendorname1": {
  27762. "description": "预售商品供应商名称",
  27763. "type": "string"
  27764. },
  27765. "vendorname2": {
  27766. "description": "挂牌商品供应商名称",
  27767. "type": "string"
  27768. }
  27769. }
  27770. },
  27771. "models.Loginaccount": {
  27772. "type": "object",
  27773. "required": [
  27774. "loginid"
  27775. ],
  27776. "properties": {
  27777. "accountname": {
  27778. "description": "账户名称",
  27779. "type": "string"
  27780. },
  27781. "canoutin": {
  27782. "description": "是否可出入金 - 0:不可 1:可",
  27783. "type": "integer"
  27784. },
  27785. "clientroleid": {
  27786. "description": "终端角色ID",
  27787. "type": "integer"
  27788. },
  27789. "haslogined": {
  27790. "description": "是否已登录 - 0:未登录 1:已登录",
  27791. "type": "integer"
  27792. },
  27793. "hasupdatedpwd": {
  27794. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27795. "type": "integer"
  27796. },
  27797. "lastloginip": {
  27798. "description": "最新登录地址",
  27799. "type": "string"
  27800. },
  27801. "lastloginmode": {
  27802. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27803. "type": "integer"
  27804. },
  27805. "lastloginremark": {
  27806. "description": "最新登录描述",
  27807. "type": "string"
  27808. },
  27809. "lastlogintime": {
  27810. "description": "最新登录时间",
  27811. "type": "string"
  27812. },
  27813. "logincode": {
  27814. "description": "登录代码",
  27815. "type": "string"
  27816. },
  27817. "loginfailnum": {
  27818. "description": "连续登录失败次数(登录成功时清零)",
  27819. "type": "integer"
  27820. },
  27821. "loginid": {
  27822. "description": "登陆账号",
  27823. "type": "integer"
  27824. },
  27825. "loginport": {
  27826. "description": "最新登录端口",
  27827. "type": "integer"
  27828. },
  27829. "loginstatus": {
  27830. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27831. "type": "integer"
  27832. },
  27833. "loginusertype": {
  27834. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27835. "type": "integer"
  27836. },
  27837. "mobile": {
  27838. "description": "手机号码(加密存储)",
  27839. "type": "string"
  27840. },
  27841. "modifierid": {
  27842. "description": "修改人",
  27843. "type": "integer"
  27844. },
  27845. "modifysrc": {
  27846. "description": "审核来源 - 1:管理端 2:终端",
  27847. "type": "integer"
  27848. },
  27849. "modifytime": {
  27850. "description": "修改时间",
  27851. "type": "string"
  27852. },
  27853. "password": {
  27854. "description": "登陆密码",
  27855. "type": "string"
  27856. },
  27857. "pwdwrongcount": {
  27858. "description": "密码错误次数",
  27859. "type": "integer"
  27860. },
  27861. "relateduserid": {
  27862. "description": "关联用户ID(机构)",
  27863. "type": "integer"
  27864. },
  27865. "taaccountrighttype": {
  27866. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27867. "type": "integer"
  27868. },
  27869. "unfreezetime": {
  27870. "description": "账户解冻时间",
  27871. "type": "string"
  27872. },
  27873. "userid": {
  27874. "description": "用户ID",
  27875. "type": "integer"
  27876. }
  27877. }
  27878. },
  27879. "models.MainAccountInfo": {
  27880. "type": "object",
  27881. "properties": {
  27882. "accountid": {
  27883. "description": "账号id",
  27884. "type": "integer"
  27885. },
  27886. "accountname": {
  27887. "description": "账号名称(taaccount表中的名称)",
  27888. "type": "string"
  27889. },
  27890. "appid": {
  27891. "description": "AppID",
  27892. "type": "string"
  27893. },
  27894. "authcode": {
  27895. "description": "授权码",
  27896. "type": "string"
  27897. },
  27898. "brokerid": {
  27899. "description": "经纪商id",
  27900. "type": "string"
  27901. },
  27902. "fcid": {
  27903. "description": "期货公司id",
  27904. "type": "integer"
  27905. },
  27906. "fcname": {
  27907. "description": "期货公司代码",
  27908. "type": "string"
  27909. },
  27910. "hedgeaccountcode": {
  27911. "description": "外部账号代码(主账号登录代码)",
  27912. "type": "string"
  27913. },
  27914. "hedgeaccountpwd": {
  27915. "description": "密码",
  27916. "type": "string"
  27917. },
  27918. "ismain": {
  27919. "description": "是否主账号",
  27920. "type": "integer"
  27921. },
  27922. "relateduserid": {
  27923. "description": "关联用户id",
  27924. "type": "integer"
  27925. },
  27926. "userid": {
  27927. "description": "关联用户id",
  27928. "type": "integer"
  27929. }
  27930. }
  27931. },
  27932. "models.Market": {
  27933. "type": "object",
  27934. "required": [
  27935. "marketid",
  27936. "marketstatus",
  27937. "openmethod",
  27938. "reckonpricealgorithm",
  27939. "trademode",
  27940. "tradeproperty"
  27941. ],
  27942. "properties": {
  27943. "auctionwrtype": {
  27944. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27945. "type": "integer"
  27946. },
  27947. "canacceptquote": {
  27948. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27949. "type": "integer"
  27950. },
  27951. "cangoodsexercise": {
  27952. "description": "[期权]是否可现货行权- 0:否 1:是",
  27953. "type": "integer"
  27954. },
  27955. "cangoodsexercisetype": {
  27956. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27957. "type": "integer"
  27958. },
  27959. "canmanualquotestrike": {
  27960. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27961. "type": "integer"
  27962. },
  27963. "canmutistage": {
  27964. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27965. "type": "integer"
  27966. },
  27967. "canpreexercise": {
  27968. "description": "[期权]是否可预申报- 0:否 1:是",
  27969. "type": "integer"
  27970. },
  27971. "clearinterval": {
  27972. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27973. "type": "integer"
  27974. },
  27975. "contracttmp": {
  27976. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27977. "type": "string"
  27978. },
  27979. "exchareaid": {
  27980. "description": "所属交易所,可以没有",
  27981. "type": "integer"
  27982. },
  27983. "goodstype": {
  27984. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27985. "type": "integer"
  27986. },
  27987. "hasrebate": {
  27988. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27989. "type": "integer"
  27990. },
  27991. "hastradecredit": {
  27992. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27993. "type": "integer"
  27994. },
  27995. "haswr": {
  27996. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27997. "type": "integer"
  27998. },
  27999. "isdeductmargin": {
  28000. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  28001. "type": "integer"
  28002. },
  28003. "isrecordsource": {
  28004. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  28005. "type": "integer"
  28006. },
  28007. "isreleasemargin": {
  28008. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  28009. "type": "integer"
  28010. },
  28011. "marginformula": {
  28012. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  28013. "type": "integer"
  28014. },
  28015. "marginformula2": {
  28016. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  28017. "type": "integer"
  28018. },
  28019. "marketid": {
  28020. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  28021. "type": "integer"
  28022. },
  28023. "marketname": {
  28024. "description": "市场名称",
  28025. "type": "string"
  28026. },
  28027. "marketserviceid": {
  28028. "description": "市场服务ID",
  28029. "type": "integer"
  28030. },
  28031. "marketstatus": {
  28032. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  28033. "type": "integer"
  28034. },
  28035. "markettype": {
  28036. "description": "市场类型- 1:非交易服务 2:交易服务",
  28037. "type": "integer"
  28038. },
  28039. "matchermode": {
  28040. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  28041. "type": "integer"
  28042. },
  28043. "openmethod": {
  28044. "description": "开盘模式 - 0 自动 1手动",
  28045. "type": "integer"
  28046. },
  28047. "otcuserid": {
  28048. "description": "场外期权做市商[场外期权]",
  28049. "type": "integer"
  28050. },
  28051. "outersynctime": {
  28052. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  28053. "type": "string"
  28054. },
  28055. "pendingflag": {
  28056. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  28057. "type": "integer"
  28058. },
  28059. "pendingtime": {
  28060. "description": "待开市时间[通道交易-对冲](HH:mm)",
  28061. "type": "string"
  28062. },
  28063. "performancetempid": {
  28064. "description": "履约计划模板ID - 作废",
  28065. "type": "integer"
  28066. },
  28067. "premiumquotemode": {
  28068. "description": "权利金报价方式 - 1:自动 2:手动",
  28069. "type": "integer"
  28070. },
  28071. "rebateratio": {
  28072. "description": "返利比率[竞价式]",
  28073. "type": "number"
  28074. },
  28075. "reckonorder": {
  28076. "description": "结算顺序",
  28077. "type": "integer"
  28078. },
  28079. "reckonpricealgorithm": {
  28080. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  28081. "type": "integer"
  28082. },
  28083. "reckonpriceparam": {
  28084. "description": "结算价参数",
  28085. "type": "integer"
  28086. },
  28087. "reckontime": {
  28088. "description": "结算时间[通道交易-对冲](HH:mm)",
  28089. "type": "string"
  28090. },
  28091. "roleprioritytype": {
  28092. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  28093. "type": "integer"
  28094. },
  28095. "selllistingauditflag": {
  28096. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  28097. "type": "integer"
  28098. },
  28099. "trademarkettype": {
  28100. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  28101. "type": "integer"
  28102. },
  28103. "trademode": {
  28104. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28105. "type": "integer"
  28106. },
  28107. "tradeproperty": {
  28108. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  28109. "type": "integer"
  28110. },
  28111. "tradetype": {
  28112. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  28113. "type": "integer"
  28114. }
  28115. }
  28116. },
  28117. "models.Marketrun": {
  28118. "type": "object",
  28119. "required": [
  28120. "marketid",
  28121. "nexttradedate",
  28122. "reckonflag",
  28123. "runstatus",
  28124. "tradedate",
  28125. "tradedate2"
  28126. ],
  28127. "properties": {
  28128. "afternexttradedate": {
  28129. "description": "下下交易日",
  28130. "type": "string"
  28131. },
  28132. "clearquoteflag": {
  28133. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  28134. "type": "integer"
  28135. },
  28136. "lastreckondate": {
  28137. "description": "最新交易日(结算成功)",
  28138. "type": "string"
  28139. },
  28140. "machinedate": {
  28141. "description": "机器时间",
  28142. "type": "string"
  28143. },
  28144. "manualflag": {
  28145. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  28146. "type": "integer"
  28147. },
  28148. "marketid": {
  28149. "description": "市场ID",
  28150. "type": "integer"
  28151. },
  28152. "nexttradedate": {
  28153. "description": "下一交易日",
  28154. "type": "string"
  28155. },
  28156. "pretradedate": {
  28157. "description": "上一交易日",
  28158. "type": "string"
  28159. },
  28160. "reckonflag": {
  28161. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  28162. "type": "integer"
  28163. },
  28164. "runstatus": {
  28165. "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.今日免清算",
  28166. "type": "integer"
  28167. },
  28168. "sectionid": {
  28169. "description": "时间段号[多时段时用]",
  28170. "type": "integer"
  28171. },
  28172. "tradedate": {
  28173. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  28174. "type": "string"
  28175. },
  28176. "tradedate2": {
  28177. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  28178. "type": "string"
  28179. },
  28180. "updatetime": {
  28181. "description": "更新时间",
  28182. "type": "string"
  28183. }
  28184. }
  28185. },
  28186. "models.Messageboard": {
  28187. "type": "object",
  28188. "required": [
  28189. "messageboardid"
  28190. ],
  28191. "properties": {
  28192. "contactnum": {
  28193. "description": "联系电话",
  28194. "type": "string"
  28195. },
  28196. "createtime": {
  28197. "description": "创建时间",
  28198. "type": "string"
  28199. },
  28200. "message": {
  28201. "description": "留言信息",
  28202. "type": "string"
  28203. },
  28204. "messageboardid": {
  28205. "description": "留言簿ID(SEQ_MessageBoard)",
  28206. "type": "integer"
  28207. },
  28208. "userid": {
  28209. "description": "用户ID",
  28210. "type": "integer"
  28211. }
  28212. }
  28213. },
  28214. "models.MyCoupon": {
  28215. "type": "object",
  28216. "required": [
  28217. "accountid",
  28218. "coupontypeid"
  28219. ],
  28220. "properties": {
  28221. "accountid": {
  28222. "description": "资金账户ID",
  28223. "type": "integer"
  28224. },
  28225. "areauserid": {
  28226. "description": "所属机构",
  28227. "type": "integer"
  28228. },
  28229. "conditionvalue": {
  28230. "description": "条件阈值(可为0)",
  28231. "type": "number"
  28232. },
  28233. "couponcategroy": {
  28234. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  28235. "type": "integer"
  28236. },
  28237. "couponname": {
  28238. "description": "优惠券名称",
  28239. "type": "string"
  28240. },
  28241. "coupontypeid": {
  28242. "description": "优惠券类型ID",
  28243. "type": "string"
  28244. },
  28245. "couponvalue": {
  28246. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  28247. "type": "number"
  28248. },
  28249. "curfreezeqty": {
  28250. "description": "期末冻结数量",
  28251. "type": "integer"
  28252. },
  28253. "curqty": {
  28254. "description": "期末数量",
  28255. "type": "integer"
  28256. },
  28257. "isgeneral": {
  28258. "description": "是否通用券 - 0:否 1:是",
  28259. "type": "integer"
  28260. },
  28261. "isunusable": {
  28262. "description": "是否不可用",
  28263. "type": "boolean"
  28264. },
  28265. "limitedflag": {
  28266. "description": "是否指定商品 - 0:不限 1:限制",
  28267. "type": "integer"
  28268. },
  28269. "limitedgoodsids": {
  28270. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  28271. "type": "string"
  28272. },
  28273. "orifreezeqty": {
  28274. "description": "期初冻结数量",
  28275. "type": "integer"
  28276. },
  28277. "oriqty": {
  28278. "description": "期初数量",
  28279. "type": "integer"
  28280. },
  28281. "reasontype": {
  28282. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  28283. "type": "integer"
  28284. },
  28285. "todaydecrease": {
  28286. "description": "今日减少",
  28287. "type": "integer"
  28288. },
  28289. "todayincrease": {
  28290. "description": "今日增加",
  28291. "type": "integer"
  28292. },
  28293. "userid": {
  28294. "description": "用户ID",
  28295. "type": "integer"
  28296. },
  28297. "userscope": {
  28298. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  28299. "type": "string"
  28300. }
  28301. }
  28302. },
  28303. "models.MyCouponHold": {
  28304. "type": "object",
  28305. "required": [
  28306. "couponholdid"
  28307. ],
  28308. "properties": {
  28309. "accountid": {
  28310. "description": "资金账户ID",
  28311. "type": "integer"
  28312. },
  28313. "conditionvalue": {
  28314. "description": "条件阈值(可为0)",
  28315. "type": "number"
  28316. },
  28317. "couponcategroy": {
  28318. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  28319. "type": "integer"
  28320. },
  28321. "couponholdid": {
  28322. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  28323. "type": "string"
  28324. },
  28325. "couponname": {
  28326. "description": "优惠券名称",
  28327. "type": "string"
  28328. },
  28329. "coupontypeid": {
  28330. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  28331. "type": "string"
  28332. },
  28333. "couponvalue": {
  28334. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  28335. "type": "number"
  28336. },
  28337. "createtime": {
  28338. "description": "创建时间",
  28339. "type": "string"
  28340. },
  28341. "enddate": {
  28342. "description": "结束日期",
  28343. "type": "string"
  28344. },
  28345. "giveapplyid": {
  28346. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  28347. "type": "integer"
  28348. },
  28349. "holdstatus": {
  28350. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  28351. "type": "integer"
  28352. },
  28353. "isgeneral": {
  28354. "description": "是否通用券 - 0:否 1:是",
  28355. "type": "integer"
  28356. },
  28357. "limitedflag": {
  28358. "description": "是否指定商品 - 0:不限 1:限制",
  28359. "type": "integer"
  28360. },
  28361. "limitedgoodsids": {
  28362. "description": "指定商品IDs[逗号分隔]",
  28363. "type": "string"
  28364. },
  28365. "qty": {
  28366. "description": "数量(按1平铺)",
  28367. "type": "integer"
  28368. },
  28369. "startdate": {
  28370. "description": "开始日期",
  28371. "type": "string"
  28372. },
  28373. "userid": {
  28374. "description": "用户ID",
  28375. "type": "integer"
  28376. },
  28377. "userscope": {
  28378. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  28379. "type": "string"
  28380. }
  28381. }
  28382. },
  28383. "models.MyUsedCoupon": {
  28384. "type": "object",
  28385. "required": [
  28386. "coupontypeid",
  28387. "orderid"
  28388. ],
  28389. "properties": {
  28390. "accountid": {
  28391. "description": "资金账户ID(买方)",
  28392. "type": "integer"
  28393. },
  28394. "conditionvalue": {
  28395. "description": "条件阈值(可为0)",
  28396. "type": "number"
  28397. },
  28398. "couponcategroy": {
  28399. "description": "种类 - 1:现金券 2:折扣券",
  28400. "type": "integer"
  28401. },
  28402. "couponname": {
  28403. "description": "优惠券名称",
  28404. "type": "string"
  28405. },
  28406. "coupontypeid": {
  28407. "description": "优惠券类型ID(买方)",
  28408. "type": "string"
  28409. },
  28410. "couponvalue": {
  28411. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  28412. "type": "number"
  28413. },
  28414. "createtime": {
  28415. "description": "创建时间",
  28416. "type": "string"
  28417. },
  28418. "goodsid": {
  28419. "description": "商品ID",
  28420. "type": "integer"
  28421. },
  28422. "handlestatus": {
  28423. "description": "处理状态",
  28424. "type": "integer"
  28425. },
  28426. "marketid": {
  28427. "description": "市场ID",
  28428. "type": "integer"
  28429. },
  28430. "offamount": {
  28431. "description": "优惠金额",
  28432. "type": "number"
  28433. },
  28434. "orderid": {
  28435. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28436. "type": "string"
  28437. },
  28438. "sellaccountid": {
  28439. "description": "资金账户ID(卖方)",
  28440. "type": "integer"
  28441. },
  28442. "tradeamount": {
  28443. "description": "成交金额",
  28444. "type": "number"
  28445. },
  28446. "tradeid": {
  28447. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28448. "type": "string"
  28449. },
  28450. "usedqty": {
  28451. "description": "使用数量",
  28452. "type": "integer"
  28453. }
  28454. }
  28455. },
  28456. "models.OperationPrimaryMenu": {
  28457. "type": "object",
  28458. "properties": {
  28459. "Children": {
  28460. "description": "二级功能菜单",
  28461. "type": "array",
  28462. "items": {
  28463. "$ref": "#/definitions/models.OperationSecondaryMenu"
  28464. }
  28465. },
  28466. "Key": {
  28467. "description": "菜单KEY",
  28468. "type": "string"
  28469. },
  28470. "Label": {
  28471. "description": "菜单标题",
  28472. "type": "string"
  28473. }
  28474. }
  28475. },
  28476. "models.OperationSecondaryMenu": {
  28477. "type": "object",
  28478. "properties": {
  28479. "Key": {
  28480. "description": "菜单KEY",
  28481. "type": "string"
  28482. },
  28483. "Label": {
  28484. "description": "菜单标题",
  28485. "type": "string"
  28486. },
  28487. "TabList": {
  28488. "description": "三级功能菜单",
  28489. "type": "array",
  28490. "items": {
  28491. "$ref": "#/definitions/models.OperationTabMenu"
  28492. }
  28493. }
  28494. }
  28495. },
  28496. "models.OperationTabMenu": {
  28497. "type": "object",
  28498. "properties": {
  28499. "Key": {
  28500. "description": "菜单KEY",
  28501. "type": "string"
  28502. },
  28503. "Label": {
  28504. "description": "菜单标题",
  28505. "type": "string"
  28506. }
  28507. }
  28508. },
  28509. "models.QhjAccountOutInApply": {
  28510. "type": "object",
  28511. "properties": {
  28512. "accountcode": {
  28513. "description": "资金账号",
  28514. "type": "string"
  28515. },
  28516. "accountname": {
  28517. "description": "用户名称(名称)",
  28518. "type": "string"
  28519. },
  28520. "accountpwd": {
  28521. "description": "资金密码",
  28522. "type": "string"
  28523. },
  28524. "accountticket": {
  28525. "description": "最新账户服务流水号",
  28526. "type": "string"
  28527. },
  28528. "amount": {
  28529. "description": "金额",
  28530. "type": "number"
  28531. },
  28532. "applyremark": {
  28533. "description": "申请备注",
  28534. "type": "string"
  28535. },
  28536. "applystatus": {
  28537. "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: 复审通过,账户冻结金额检查中;",
  28538. "type": "integer"
  28539. },
  28540. "auditid": {
  28541. "description": "审核人",
  28542. "type": "integer"
  28543. },
  28544. "audittime": {
  28545. "description": "审核时间",
  28546. "type": "string"
  28547. },
  28548. "bank_apply_ticket": {
  28549. "description": "银行申请流水",
  28550. "type": "string"
  28551. },
  28552. "bankaccountname": {
  28553. "description": "银行账户名",
  28554. "type": "string"
  28555. },
  28556. "bankaccountno": {
  28557. "description": "银行卡号",
  28558. "type": "string"
  28559. },
  28560. "bankid": {
  28561. "description": "银行编号",
  28562. "type": "string"
  28563. },
  28564. "bankticket": {
  28565. "description": "银行流水",
  28566. "type": "string"
  28567. },
  28568. "branchbankid": {
  28569. "description": "银行支行号",
  28570. "type": "string"
  28571. },
  28572. "branchbankname": {
  28573. "description": "银行支行名称",
  28574. "type": "string"
  28575. },
  28576. "capamountout": {
  28577. "description": "出金(劣后本金) - 外部子账户",
  28578. "type": "number"
  28579. },
  28580. "certificatephotourl": {
  28581. "description": "凭证地址",
  28582. "type": "string"
  28583. },
  28584. "charge": {
  28585. "description": "手续费",
  28586. "type": "number"
  28587. },
  28588. "checkerrorflag": {
  28589. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28590. "type": "integer"
  28591. },
  28592. "currency": {
  28593. "description": "币种",
  28594. "type": "string"
  28595. },
  28596. "cusbankid": {
  28597. "description": "托管银行编号",
  28598. "type": "string"
  28599. },
  28600. "exchticket": {
  28601. "description": "银行服务流水号",
  28602. "type": "string"
  28603. },
  28604. "executetype": {
  28605. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28606. "type": "integer"
  28607. },
  28608. "extendinfo": {
  28609. "description": "扩展信息",
  28610. "type": "string"
  28611. },
  28612. "extoperateid": {
  28613. "description": "交易服务流水号",
  28614. "type": "integer"
  28615. },
  28616. "infamount": {
  28617. "description": "劣后金额(自有)",
  28618. "type": "number"
  28619. },
  28620. "logincode": {
  28621. "description": "登录账号(账号)",
  28622. "type": "string"
  28623. },
  28624. "netaddr": {
  28625. "description": "调转网址",
  28626. "type": "string"
  28627. },
  28628. "priamount": {
  28629. "description": "优先金额(授信)",
  28630. "type": "number"
  28631. },
  28632. "reauditid": {
  28633. "description": "复审人",
  28634. "type": "integer"
  28635. },
  28636. "reauditremark": {
  28637. "description": "复审备注",
  28638. "type": "string"
  28639. },
  28640. "reaudittime": {
  28641. "description": "复审时间",
  28642. "type": "string"
  28643. },
  28644. "relatedorderid": {
  28645. "description": "三方关联ID",
  28646. "type": "string"
  28647. },
  28648. "remark": {
  28649. "description": "备注",
  28650. "type": "string"
  28651. },
  28652. "remark2": {
  28653. "description": "备注(失败原因)",
  28654. "type": "string"
  28655. },
  28656. "soucreamount": {
  28657. "description": "原始出入金金额",
  28658. "type": "number"
  28659. },
  28660. "soucrecurrencyid": {
  28661. "description": "原始出入金币种",
  28662. "type": "integer"
  28663. },
  28664. "tradedate": {
  28665. "description": "交易日(yyyyMMdd)",
  28666. "type": "string"
  28667. },
  28668. "updatetime": {
  28669. "description": "更新时间(申请时间)",
  28670. "type": "string"
  28671. },
  28672. "userid": {
  28673. "description": "用户id",
  28674. "type": "integer"
  28675. },
  28676. "userinfotype": {
  28677. "description": "账户类型 1-个人 2-企业",
  28678. "type": "integer"
  28679. }
  28680. }
  28681. },
  28682. "models.QhjAgreementChangeLog": {
  28683. "type": "object",
  28684. "properties": {
  28685. "agreementcontent": {
  28686. "description": "协议内容",
  28687. "type": "string"
  28688. },
  28689. "agreementfrequency": {
  28690. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28691. "type": "integer"
  28692. },
  28693. "agreementid": {
  28694. "description": "协议ID",
  28695. "type": "integer"
  28696. },
  28697. "agreementname": {
  28698. "description": "协议名称",
  28699. "type": "string"
  28700. },
  28701. "agreementno": {
  28702. "description": "协议编号",
  28703. "type": "string"
  28704. },
  28705. "agreementtype": {
  28706. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28707. "type": "integer"
  28708. },
  28709. "agreementversion": {
  28710. "description": "协议版本号",
  28711. "type": "integer"
  28712. },
  28713. "logid": {
  28714. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28715. "type": "integer"
  28716. },
  28717. "reviserid": {
  28718. "description": "修改人",
  28719. "type": "integer"
  28720. },
  28721. "revisersrc": {
  28722. "description": "修改来源 - 1:管理端 2:终端",
  28723. "type": "integer"
  28724. },
  28725. "updatetime": {
  28726. "description": "更新时间",
  28727. "type": "string"
  28728. }
  28729. }
  28730. },
  28731. "models.QhjAgreementConfig": {
  28732. "type": "object",
  28733. "properties": {
  28734. "agreementcontent": {
  28735. "description": "协议内容",
  28736. "type": "string"
  28737. },
  28738. "agreementfrequency": {
  28739. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28740. "type": "integer"
  28741. },
  28742. "agreementid": {
  28743. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28744. "type": "integer"
  28745. },
  28746. "agreementname": {
  28747. "description": "协议名称",
  28748. "type": "string"
  28749. },
  28750. "agreementno": {
  28751. "description": "协议编号",
  28752. "type": "string"
  28753. },
  28754. "agreementtype": {
  28755. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28756. "type": "integer"
  28757. },
  28758. "agreementversion": {
  28759. "description": "协议版本号(从1开始每次修改加1)",
  28760. "type": "integer"
  28761. },
  28762. "createtime": {
  28763. "description": "创建时间",
  28764. "type": "string"
  28765. },
  28766. "creatorid": {
  28767. "description": "创建人",
  28768. "type": "integer"
  28769. },
  28770. "creatorsrc": {
  28771. "description": "创建来源 - 1:管理端 2:终端",
  28772. "type": "integer"
  28773. },
  28774. "isvalid": {
  28775. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28776. "type": "integer"
  28777. },
  28778. "reviserid": {
  28779. "description": "修改人",
  28780. "type": "integer"
  28781. },
  28782. "revisersrc": {
  28783. "description": "修改来源 - 1:管理端 2:终端",
  28784. "type": "integer"
  28785. },
  28786. "updatetime": {
  28787. "description": "更新时间",
  28788. "type": "string"
  28789. }
  28790. }
  28791. },
  28792. "models.QhjAreaFinanceConfig": {
  28793. "type": "object",
  28794. "properties": {
  28795. "additionalratio": {
  28796. "description": "追加款比例",
  28797. "type": "number"
  28798. },
  28799. "advanceratio": {
  28800. "description": "预付款比例",
  28801. "type": "number"
  28802. },
  28803. "alarmratio": {
  28804. "description": "告警比例",
  28805. "type": "number"
  28806. },
  28807. "consumptiondirectreward": {
  28808. "description": "消费直推奖励值",
  28809. "type": "number"
  28810. },
  28811. "consumptionenabled": {
  28812. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28813. "type": "integer"
  28814. },
  28815. "consumptionindirectreward": {
  28816. "description": "消费间推奖励值",
  28817. "type": "number"
  28818. },
  28819. "consumptionmodel": {
  28820. "description": "消费奖励方式 - 1:比率 2:固定",
  28821. "type": "integer"
  28822. },
  28823. "customerservicenum": {
  28824. "description": "客服电话",
  28825. "type": "string"
  28826. },
  28827. "dayinterestrate": {
  28828. "description": "日利率",
  28829. "type": "number"
  28830. },
  28831. "disableconsumptiontips": {
  28832. "description": "关闭消费奖励提示",
  28833. "type": "string"
  28834. },
  28835. "modifierid": {
  28836. "description": "修改人ID",
  28837. "type": "integer"
  28838. },
  28839. "modifysrc": {
  28840. "description": "审核来源 - 1:管理端 2:终端",
  28841. "type": "integer"
  28842. },
  28843. "modifytime": {
  28844. "description": "修改时间",
  28845. "type": "string"
  28846. },
  28847. "promotionvalue": {
  28848. "description": "推广奖励值(固定)",
  28849. "type": "number"
  28850. },
  28851. "scoreconfigvalue1": {
  28852. "description": "提货积分配置1",
  28853. "type": "integer"
  28854. },
  28855. "scoreconfigvalue2": {
  28856. "description": "提货积分配置2",
  28857. "type": "integer"
  28858. },
  28859. "userid": {
  28860. "description": "机构用户ID其他做市关系,都设置为 1",
  28861. "type": "integer"
  28862. },
  28863. "username": {
  28864. "description": "用户名称",
  28865. "type": "string"
  28866. }
  28867. }
  28868. },
  28869. "models.QhjBankAccountSign": {
  28870. "type": "object",
  28871. "properties": {
  28872. "accountcode": {
  28873. "description": "资金账号",
  28874. "type": "string"
  28875. },
  28876. "accountname": {
  28877. "description": "资金账号对应的账号名(UserName)",
  28878. "type": "string"
  28879. },
  28880. "accountname2": {
  28881. "description": "资金账号对应的账号名(UserName) - 密文",
  28882. "type": "string"
  28883. },
  28884. "accounttype": {
  28885. "description": "账户类型(UserType)",
  28886. "type": "integer"
  28887. },
  28888. "applicationtime": {
  28889. "description": "最后一次更新的时间",
  28890. "type": "string"
  28891. },
  28892. "applyexchticket": {
  28893. "description": "申请流水",
  28894. "type": "string"
  28895. },
  28896. "auditid": {
  28897. "description": "审核人",
  28898. "type": "integer"
  28899. },
  28900. "audittime": {
  28901. "description": "审核时间",
  28902. "type": "string"
  28903. },
  28904. "bankaccountname": {
  28905. "description": "签约银行卡账号名",
  28906. "type": "string"
  28907. },
  28908. "bankaccountname2": {
  28909. "description": "签约银行卡账号名 - 密文",
  28910. "type": "string"
  28911. },
  28912. "bankaccountno": {
  28913. "description": "银行卡号",
  28914. "type": "string"
  28915. },
  28916. "bankaccountno2": {
  28917. "description": "银行卡号 - 密文",
  28918. "type": "string"
  28919. },
  28920. "bankaccounttype": {
  28921. "description": "银行账户类型 - 1-对私; 2-对公",
  28922. "type": "integer"
  28923. },
  28924. "bankcardtype": {
  28925. "description": "银行卡类型",
  28926. "type": "integer"
  28927. },
  28928. "bankchildaccount": {
  28929. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28930. "type": "string"
  28931. },
  28932. "bankcity": {
  28933. "description": "开户行城市",
  28934. "type": "string"
  28935. },
  28936. "bankid": {
  28937. "description": "签约银行ID",
  28938. "type": "string"
  28939. },
  28940. "bankname": {
  28941. "description": "签约银行名称",
  28942. "type": "string"
  28943. },
  28944. "bankprovince": {
  28945. "description": "开户行省份",
  28946. "type": "string"
  28947. },
  28948. "branchbankid": {
  28949. "description": "签约银行支行号",
  28950. "type": "string"
  28951. },
  28952. "branchbankname": {
  28953. "description": "签约银行支行名称",
  28954. "type": "string"
  28955. },
  28956. "cardno": {
  28957. "description": "证件号码",
  28958. "type": "string"
  28959. },
  28960. "cardno2": {
  28961. "description": "证件号码 - 密文",
  28962. "type": "string"
  28963. },
  28964. "cardtype": {
  28965. "description": "证件类型",
  28966. "type": "string"
  28967. },
  28968. "currency": {
  28969. "description": "币种",
  28970. "type": "string"
  28971. },
  28972. "cusbankid": {
  28973. "description": "托管银行编号",
  28974. "type": "string"
  28975. },
  28976. "direct": {
  28977. "description": "方向(可以判断那方先发起的签约)",
  28978. "type": "integer"
  28979. },
  28980. "exchticket": {
  28981. "description": "最后一次签约成功的流水号",
  28982. "type": "string"
  28983. },
  28984. "extendinfo": {
  28985. "description": "扩展信息(JSON字符串)",
  28986. "type": "string"
  28987. },
  28988. "mobilephone": {
  28989. "description": "手机号",
  28990. "type": "string"
  28991. },
  28992. "mobilephone2": {
  28993. "description": "手机号 - 密文",
  28994. "type": "string"
  28995. },
  28996. "netaddr": {
  28997. "description": "调转网址",
  28998. "type": "string"
  28999. },
  29000. "relateduserid": {
  29001. "description": "关联使用者userid",
  29002. "type": "integer"
  29003. },
  29004. "signstatus": {
  29005. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  29006. "type": "integer"
  29007. },
  29008. "updatetime": {
  29009. "description": "更新时间(签解约更新时间)",
  29010. "type": "string"
  29011. }
  29012. }
  29013. },
  29014. "models.QhjBankInfo": {
  29015. "type": "object",
  29016. "properties": {
  29017. "bankid": {
  29018. "description": "银行ID",
  29019. "type": "string"
  29020. },
  29021. "bankname": {
  29022. "description": "银行名称",
  29023. "type": "string"
  29024. },
  29025. "clearbankno": {
  29026. "description": "清算系统银行编号",
  29027. "type": "string"
  29028. },
  29029. "orderindex": {
  29030. "description": "排序顺序",
  29031. "type": "integer"
  29032. },
  29033. "status": {
  29034. "description": "状态 - 0:正常 1:注销",
  29035. "type": "integer"
  29036. }
  29037. }
  29038. },
  29039. "models.QhjBrokerApply": {
  29040. "type": "object",
  29041. "properties": {
  29042. "applicantid": {
  29043. "description": "申请人",
  29044. "type": "integer"
  29045. },
  29046. "applysrc": {
  29047. "description": "申请来源 - 1:管理端 2:终端",
  29048. "type": "integer"
  29049. },
  29050. "applystatus": {
  29051. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29052. "type": "integer"
  29053. },
  29054. "applytime": {
  29055. "description": "申请时间",
  29056. "type": "string"
  29057. },
  29058. "auditorid": {
  29059. "description": "审核人",
  29060. "type": "integer"
  29061. },
  29062. "auditremark": {
  29063. "description": "审核备注",
  29064. "type": "string"
  29065. },
  29066. "auditsrc": {
  29067. "description": "审核来源 - 1:管理端 2:终端",
  29068. "type": "integer"
  29069. },
  29070. "audittime": {
  29071. "description": "审核时间",
  29072. "type": "string"
  29073. },
  29074. "audittradedate": {
  29075. "description": "审核交易日(yyyyMMdd)",
  29076. "type": "string"
  29077. },
  29078. "brokerapplyid": {
  29079. "description": "申请ID(SEQ_BROKERAPPLY)",
  29080. "type": "integer"
  29081. },
  29082. "cardbackphotourl": {
  29083. "description": "证件背面图片地址",
  29084. "type": "string"
  29085. },
  29086. "cardfrontphotourl": {
  29087. "description": "证件正面图片地址",
  29088. "type": "string"
  29089. },
  29090. "cardnum": {
  29091. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29092. "type": "string"
  29093. },
  29094. "customername": {
  29095. "description": "姓名",
  29096. "type": "string"
  29097. },
  29098. "logincode": {
  29099. "description": "登录代码",
  29100. "type": "string"
  29101. },
  29102. "mobile": {
  29103. "description": "手机号码",
  29104. "type": "string"
  29105. },
  29106. "parentuserid": {
  29107. "description": "所属机构id",
  29108. "type": "integer"
  29109. },
  29110. "parentusername": {
  29111. "description": "所属机构名称",
  29112. "type": "string"
  29113. },
  29114. "refereeuserid": {
  29115. "description": "推荐人id(经纪人)",
  29116. "type": "integer"
  29117. },
  29118. "refernum": {
  29119. "description": "推荐码",
  29120. "type": "string"
  29121. },
  29122. "remark": {
  29123. "description": "备注",
  29124. "type": "string"
  29125. },
  29126. "subarealevelpath": {
  29127. "description": "层级路径",
  29128. "type": "string"
  29129. },
  29130. "tradedate": {
  29131. "description": "交易日(yyyyMMdd)",
  29132. "type": "string"
  29133. },
  29134. "userid": {
  29135. "description": "申请人用户ID",
  29136. "type": "integer"
  29137. },
  29138. "userinfotype": {
  29139. "description": "用户类型 1-个人 2-企业",
  29140. "type": "integer"
  29141. },
  29142. "username": {
  29143. "description": "用户名称",
  29144. "type": "string"
  29145. }
  29146. }
  29147. },
  29148. "models.QhjBrokerApplyEx": {
  29149. "type": "object",
  29150. "properties": {
  29151. "applylist": {
  29152. "description": "经纪人申请记录(只返回最新一条)",
  29153. "type": "array",
  29154. "items": {
  29155. "$ref": "#/definitions/models.QhjBrokerApply"
  29156. }
  29157. },
  29158. "canrecommend": {
  29159. "description": "是否经纪人 0-不是 1-是",
  29160. "type": "integer"
  29161. },
  29162. "refernum": {
  29163. "description": "推荐码",
  29164. "type": "string"
  29165. },
  29166. "userid": {
  29167. "description": "用户id",
  29168. "type": "integer"
  29169. },
  29170. "userinfotype": {
  29171. "description": "用户类型 1-个人 2-企业",
  29172. "type": "integer"
  29173. }
  29174. }
  29175. },
  29176. "models.QhjBrokerRewardLog": {
  29177. "type": "object",
  29178. "properties": {
  29179. "accountid": {
  29180. "description": "资金账号ID",
  29181. "type": "integer"
  29182. },
  29183. "createtime": {
  29184. "description": "创建时间(时间)",
  29185. "type": "string"
  29186. },
  29187. "handlestatus": {
  29188. "description": "处理状态",
  29189. "type": "integer"
  29190. },
  29191. "logid": {
  29192. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29193. "type": "string"
  29194. },
  29195. "marketid": {
  29196. "description": "市场ID",
  29197. "type": "integer"
  29198. },
  29199. "mmaccountid": {
  29200. "description": "做市商资金账号ID",
  29201. "type": "string"
  29202. },
  29203. "mmuserid": {
  29204. "description": "做市商用户ID",
  29205. "type": "string"
  29206. },
  29207. "rewardamount": {
  29208. "description": "奖励金额",
  29209. "type": "number"
  29210. },
  29211. "rewardmodel": {
  29212. "description": "消费奖励方式 - 1:比率 2:固定",
  29213. "type": "integer"
  29214. },
  29215. "rewardtype": {
  29216. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  29217. "type": "integer"
  29218. },
  29219. "rewardvalue": {
  29220. "description": "配置奖励值",
  29221. "type": "number"
  29222. },
  29223. "srcamount": {
  29224. "description": "成交金额 [消费奖励] (金额)",
  29225. "type": "number"
  29226. },
  29227. "srcgoodsid": {
  29228. "description": "来源商品ID [消费奖励]",
  29229. "type": "string"
  29230. },
  29231. "srctime": {
  29232. "description": "来源时间 (成交时间) [消费奖励]",
  29233. "type": "string"
  29234. },
  29235. "srctradeid": {
  29236. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  29237. "type": "string"
  29238. },
  29239. "srcuserid": {
  29240. "description": "来源用户ID(推广账户)",
  29241. "type": "string"
  29242. },
  29243. "srcusername": {
  29244. "description": "推广账户名称",
  29245. "type": "string"
  29246. },
  29247. "tradedate": {
  29248. "description": "交易日(yyyyMMdd)",
  29249. "type": "string"
  29250. },
  29251. "userid": {
  29252. "description": "经纪人用户ID",
  29253. "type": "integer"
  29254. }
  29255. }
  29256. },
  29257. "models.QhjContract": {
  29258. "type": "object",
  29259. "properties": {
  29260. "contractconfirmtime": {
  29261. "description": "合同确认时间(时间)",
  29262. "type": "string"
  29263. },
  29264. "currisklevel": {
  29265. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29266. "type": "integer"
  29267. },
  29268. "decimalplace": {
  29269. "description": "商品报价小数位",
  29270. "type": "integer"
  29271. },
  29272. "enumdicname": {
  29273. "description": "单位名称",
  29274. "type": "string"
  29275. },
  29276. "goodscode": {
  29277. "description": "商品代码",
  29278. "type": "string"
  29279. },
  29280. "goodsid": {
  29281. "description": "商品ID [5:融资单]",
  29282. "type": "integer"
  29283. },
  29284. "goodsname": {
  29285. "description": "商品名称",
  29286. "type": "string"
  29287. },
  29288. "goodunitid": {
  29289. "description": "商品单位id",
  29290. "type": "integer"
  29291. },
  29292. "initmargin": {
  29293. "description": "初始保证金(首付款)",
  29294. "type": "number"
  29295. },
  29296. "lenderamount": {
  29297. "description": "贷款金额(总额|订单总额)",
  29298. "type": "number"
  29299. },
  29300. "marginratio": {
  29301. "description": "保证金比率(首付比例)",
  29302. "type": "number"
  29303. },
  29304. "payamount": {
  29305. "description": "已付(已付货款)",
  29306. "type": "number"
  29307. },
  29308. "reckonrecovermargin": {
  29309. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29310. "type": "number"
  29311. },
  29312. "recoveredmargin": {
  29313. "description": "已追缴保证金",
  29314. "type": "number"
  29315. },
  29316. "remainamount": {
  29317. "description": "合同剩余金额(融资额)",
  29318. "type": "number"
  29319. },
  29320. "scfcontractid": {
  29321. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29322. "type": "string"
  29323. },
  29324. "scfcontractstatus": {
  29325. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29326. "type": "integer"
  29327. },
  29328. "scfcontracttype": {
  29329. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29330. "type": "integer"
  29331. },
  29332. "totalinterest": {
  29333. "description": "已计总利息(利息)",
  29334. "type": "number"
  29335. },
  29336. "tradeprice": {
  29337. "description": "成交价格(成本价格)",
  29338. "type": "number"
  29339. },
  29340. "userid": {
  29341. "description": "用户ID",
  29342. "type": "integer"
  29343. },
  29344. "username": {
  29345. "description": "用户名称",
  29346. "type": "string"
  29347. },
  29348. "wrqty": {
  29349. "description": "仓单数量(数量)",
  29350. "type": "number"
  29351. }
  29352. }
  29353. },
  29354. "models.QhjContractLog": {
  29355. "type": "object",
  29356. "properties": {
  29357. "amount": {
  29358. "description": "支付金额",
  29359. "type": "number"
  29360. },
  29361. "amounttype": {
  29362. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  29363. "type": "integer"
  29364. },
  29365. "logid": {
  29366. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29367. "type": "string"
  29368. },
  29369. "remainamount": {
  29370. "description": "剩余货款",
  29371. "type": "number"
  29372. },
  29373. "scfcontractid": {
  29374. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29375. "type": "integer"
  29376. },
  29377. "updatetime": {
  29378. "description": "更新时间",
  29379. "type": "string"
  29380. }
  29381. }
  29382. },
  29383. "models.QhjCusBankSignBankEx": {
  29384. "type": "object",
  29385. "properties": {
  29386. "banklst": {
  29387. "description": "银行列表",
  29388. "type": "array",
  29389. "items": {
  29390. "$ref": "#/definitions/models.QhjBankInfo"
  29391. }
  29392. },
  29393. "canallot": {
  29394. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  29395. "type": "integer"
  29396. },
  29397. "canallotquery": {
  29398. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  29399. "type": "integer"
  29400. },
  29401. "canbindcard": {
  29402. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  29403. "type": "integer"
  29404. },
  29405. "caninamount": {
  29406. "description": "是否可入金 - 0:不可 1:可以",
  29407. "type": "integer"
  29408. },
  29409. "caninamount2": {
  29410. "description": "是否可入金(网银端) - 0:不可 1:可以",
  29411. "type": "integer"
  29412. },
  29413. "canmodifybankcard": {
  29414. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  29415. "type": "integer"
  29416. },
  29417. "canmodifyphone": {
  29418. "description": "是否可修改手机号 - 0:不可 1:可以",
  29419. "type": "integer"
  29420. },
  29421. "canmodifysigninfo": {
  29422. "description": "是否可修改签约信息 - 0:不可 1:可以",
  29423. "type": "integer"
  29424. },
  29425. "canoutamount": {
  29426. "description": "是否可出金 - 0:不可 1:可以",
  29427. "type": "integer"
  29428. },
  29429. "canoutamount2": {
  29430. "description": "是否可出金(网银端) - 0:不可 1:可以",
  29431. "type": "integer"
  29432. },
  29433. "canrelease": {
  29434. "description": "是否可解约 - 0:不可 1:可以",
  29435. "type": "integer"
  29436. },
  29437. "canrelease2": {
  29438. "description": "是否可解约(网银端) - 0:不可 1:可以",
  29439. "type": "integer"
  29440. },
  29441. "cansign": {
  29442. "description": "是否可签约 - 0:不可 1:可以",
  29443. "type": "integer"
  29444. },
  29445. "cansign2": {
  29446. "description": "是否可签约(网银端) - 0:不可 1:可以",
  29447. "type": "integer"
  29448. },
  29449. "currency": {
  29450. "description": "币种",
  29451. "type": "string"
  29452. },
  29453. "cusbankid": {
  29454. "description": "托管银行编号(对应清算中心TRAN_NO)",
  29455. "type": "string"
  29456. },
  29457. "cusbankname": {
  29458. "description": "银行业务名称",
  29459. "type": "string"
  29460. },
  29461. "cusbankshortname": {
  29462. "description": "银行业务简称",
  29463. "type": "string"
  29464. },
  29465. "exchbankid": {
  29466. "description": "交易所开户银行ID",
  29467. "type": "string"
  29468. },
  29469. "exchpaybankaccname": {
  29470. "description": "交易所支出结算账户户名",
  29471. "type": "string"
  29472. },
  29473. "exchpaybankaccno": {
  29474. "description": "交易所支出结算账户",
  29475. "type": "string"
  29476. },
  29477. "isneedcheck": {
  29478. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  29479. "type": "integer"
  29480. },
  29481. "isneedclear": {
  29482. "description": "是否需要清算 - 0:不需要 1:需要",
  29483. "type": "integer"
  29484. },
  29485. "lastcheckstatus": {
  29486. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  29487. "type": "integer"
  29488. },
  29489. "lastchecktime": {
  29490. "description": "最后对账时间",
  29491. "type": "string"
  29492. },
  29493. "lastclearstatus": {
  29494. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  29495. "type": "integer"
  29496. },
  29497. "lastcleartime": {
  29498. "description": "最后清算时间",
  29499. "type": "string"
  29500. },
  29501. "lastsignintime": {
  29502. "description": "最后签到时间",
  29503. "type": "string"
  29504. },
  29505. "lastsignouttime": {
  29506. "description": "最后签退时间",
  29507. "type": "string"
  29508. },
  29509. "riskinfo": {
  29510. "description": "签约风险提示书",
  29511. "type": "string"
  29512. },
  29513. "signstatus": {
  29514. "description": "当前签到/签退状态 - 1:签到 2:签退",
  29515. "type": "integer"
  29516. },
  29517. "tradedate": {
  29518. "description": "交易日(yyyyMMdd)",
  29519. "type": "string"
  29520. },
  29521. "updatetime": {
  29522. "description": "当前签到/签退更新时间",
  29523. "type": "string"
  29524. }
  29525. }
  29526. },
  29527. "models.QhjCustomer": {
  29528. "type": "object",
  29529. "properties": {
  29530. "address": {
  29531. "description": "通讯地址",
  29532. "type": "string"
  29533. },
  29534. "attachment1": {
  29535. "description": "附件1",
  29536. "type": "string"
  29537. },
  29538. "attachment2": {
  29539. "description": "附件2",
  29540. "type": "string"
  29541. },
  29542. "audittime": {
  29543. "description": "审核时间",
  29544. "type": "string"
  29545. },
  29546. "cardbackphotourl": {
  29547. "description": "证件反面图片地址",
  29548. "type": "string"
  29549. },
  29550. "cardfrontphotourl": {
  29551. "description": "证件正面图片地址",
  29552. "type": "string"
  29553. },
  29554. "cardnum": {
  29555. "description": "证件号码",
  29556. "type": "string"
  29557. },
  29558. "cardtype": {
  29559. "description": "证件类型",
  29560. "type": "integer"
  29561. },
  29562. "cardtypename": {
  29563. "description": "证件类型名称",
  29564. "type": "string"
  29565. },
  29566. "cityid": {
  29567. "description": "市",
  29568. "type": "integer"
  29569. },
  29570. "cityname": {
  29571. "description": "城市名称",
  29572. "type": "string"
  29573. },
  29574. "contactname": {
  29575. "description": "联系人",
  29576. "type": "string"
  29577. },
  29578. "countryid": {
  29579. "description": "国家",
  29580. "type": "integer"
  29581. },
  29582. "countryname": {
  29583. "description": "国家名称",
  29584. "type": "string"
  29585. },
  29586. "createtime": {
  29587. "description": "创建时间",
  29588. "type": "string"
  29589. },
  29590. "customername": {
  29591. "description": "客户名称",
  29592. "type": "string"
  29593. },
  29594. "districtid": {
  29595. "description": "区域",
  29596. "type": "integer"
  29597. },
  29598. "districtname": {
  29599. "description": "地区名称",
  29600. "type": "string"
  29601. },
  29602. "email": {
  29603. "description": "邮件",
  29604. "type": "string"
  29605. },
  29606. "legalpersonname": {
  29607. "description": "法人姓名(企业)",
  29608. "type": "string"
  29609. },
  29610. "logincode": {
  29611. "description": "登录账号(代码)",
  29612. "type": "string"
  29613. },
  29614. "memberuserid": {
  29615. "description": "所属机构ID(所属会员)",
  29616. "type": "integer"
  29617. },
  29618. "memberusername": {
  29619. "description": "所属会员名称",
  29620. "type": "string"
  29621. },
  29622. "mobile": {
  29623. "description": "手机号码",
  29624. "type": "string"
  29625. },
  29626. "modifytime": {
  29627. "description": "修改时间",
  29628. "type": "string"
  29629. },
  29630. "nickname": {
  29631. "description": "昵称",
  29632. "type": "string"
  29633. },
  29634. "parentuserid": {
  29635. "description": "上级机构(所属机构)",
  29636. "type": "integer"
  29637. },
  29638. "parentusername": {
  29639. "description": "所属机构名称",
  29640. "type": "string"
  29641. },
  29642. "provinceid": {
  29643. "description": "省",
  29644. "type": "integer"
  29645. },
  29646. "provincename": {
  29647. "description": "省名称",
  29648. "type": "string"
  29649. },
  29650. "proxystatementurl": {
  29651. "description": "授权委托书",
  29652. "type": "string"
  29653. },
  29654. "remark": {
  29655. "description": "备注",
  29656. "type": "string"
  29657. },
  29658. "status": {
  29659. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  29660. "type": "integer"
  29661. },
  29662. "statusdesc": {
  29663. "description": "账户状态中文描述",
  29664. "type": "string"
  29665. },
  29666. "taxpayernum": {
  29667. "description": "纳税人识别号",
  29668. "type": "string"
  29669. },
  29670. "telphone": {
  29671. "description": "联系电话",
  29672. "type": "string"
  29673. },
  29674. "userid": {
  29675. "description": "用户ID",
  29676. "type": "integer"
  29677. },
  29678. "userinfotype": {
  29679. "description": "客户类型 1-个人 2-企业",
  29680. "type": "integer"
  29681. },
  29682. "username": {
  29683. "description": "用户名称",
  29684. "type": "string"
  29685. }
  29686. }
  29687. },
  29688. "models.QhjCustomerSignLog": {
  29689. "type": "object",
  29690. "properties": {
  29691. "agreementcontent": {
  29692. "description": "协议内容",
  29693. "type": "string"
  29694. },
  29695. "agreementid": {
  29696. "description": "协议ID",
  29697. "type": "integer"
  29698. },
  29699. "agreementname": {
  29700. "description": "协议名称",
  29701. "type": "string"
  29702. },
  29703. "agreementno": {
  29704. "description": "协议编号",
  29705. "type": "string"
  29706. },
  29707. "agreementtype": {
  29708. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29709. "type": "integer"
  29710. },
  29711. "agreementversion": {
  29712. "description": "协议版本号",
  29713. "type": "integer"
  29714. },
  29715. "createtime": {
  29716. "description": "创建时间",
  29717. "type": "string"
  29718. },
  29719. "goodscode": {
  29720. "description": "商品代码",
  29721. "type": "string"
  29722. },
  29723. "goodsid": {
  29724. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29725. "type": "integer"
  29726. },
  29727. "goodsname": {
  29728. "description": "商品名称",
  29729. "type": "string"
  29730. },
  29731. "logid": {
  29732. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29733. "type": "integer"
  29734. },
  29735. "nodetype": {
  29736. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29737. "type": "integer"
  29738. },
  29739. "signadressurl": {
  29740. "description": "签约文件地址",
  29741. "type": "string"
  29742. },
  29743. "signtimestamp": {
  29744. "description": "签约状态时间戳",
  29745. "type": "string"
  29746. },
  29747. "userid": {
  29748. "description": "客户ID",
  29749. "type": "integer"
  29750. },
  29751. "username": {
  29752. "description": "客户名称",
  29753. "type": "string"
  29754. }
  29755. }
  29756. },
  29757. "models.QhjCustomerSignStatus": {
  29758. "type": "object",
  29759. "properties": {
  29760. "createtime": {
  29761. "description": "创建时间",
  29762. "type": "string"
  29763. },
  29764. "goodscode": {
  29765. "description": "商品代码",
  29766. "type": "string"
  29767. },
  29768. "goodsid": {
  29769. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29770. "type": "integer"
  29771. },
  29772. "goodsname": {
  29773. "description": "商品名称",
  29774. "type": "string"
  29775. },
  29776. "nodetype": {
  29777. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29778. "type": "integer"
  29779. },
  29780. "signtimestamp": {
  29781. "description": "签约状态时间戳",
  29782. "type": "string"
  29783. },
  29784. "tradedate": {
  29785. "description": "创建交易日(yyyyMMdd)",
  29786. "type": "string"
  29787. },
  29788. "updatetime": {
  29789. "description": "更新时间",
  29790. "type": "string"
  29791. },
  29792. "userid": {
  29793. "description": "客户ID",
  29794. "type": "integer"
  29795. },
  29796. "username": {
  29797. "description": "客户名称",
  29798. "type": "string"
  29799. }
  29800. }
  29801. },
  29802. "models.QhjMgrAccountOutInApply": {
  29803. "type": "object",
  29804. "properties": {
  29805. "accountcode": {
  29806. "description": "资金账号",
  29807. "type": "string"
  29808. },
  29809. "accountname": {
  29810. "description": "用户名称(名称)",
  29811. "type": "string"
  29812. },
  29813. "accountpwd": {
  29814. "description": "资金密码",
  29815. "type": "string"
  29816. },
  29817. "accountticket": {
  29818. "description": "最新账户服务流水号",
  29819. "type": "string"
  29820. },
  29821. "amount": {
  29822. "description": "金额",
  29823. "type": "number"
  29824. },
  29825. "applyremark": {
  29826. "description": "申请备注",
  29827. "type": "string"
  29828. },
  29829. "applystatus": {
  29830. "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: 复审通过,账户冻结金额检查中;",
  29831. "type": "integer"
  29832. },
  29833. "auditid": {
  29834. "description": "审核人",
  29835. "type": "integer"
  29836. },
  29837. "audittime": {
  29838. "description": "审核时间",
  29839. "type": "string"
  29840. },
  29841. "bank_apply_ticket": {
  29842. "description": "银行申请流水",
  29843. "type": "string"
  29844. },
  29845. "bankaccountname": {
  29846. "description": "银行账户名",
  29847. "type": "string"
  29848. },
  29849. "bankaccountno": {
  29850. "description": "银行卡号",
  29851. "type": "string"
  29852. },
  29853. "bankid": {
  29854. "description": "银行编号",
  29855. "type": "string"
  29856. },
  29857. "bankname": {
  29858. "description": "银行名称",
  29859. "type": "string"
  29860. },
  29861. "bankticket": {
  29862. "description": "银行流水",
  29863. "type": "string"
  29864. },
  29865. "branchbankid": {
  29866. "description": "银行支行号",
  29867. "type": "string"
  29868. },
  29869. "branchbankname": {
  29870. "description": "银行支行名称",
  29871. "type": "string"
  29872. },
  29873. "capamountout": {
  29874. "description": "出金(劣后本金) - 外部子账户",
  29875. "type": "number"
  29876. },
  29877. "certificatephotourl": {
  29878. "description": "凭证地址",
  29879. "type": "string"
  29880. },
  29881. "charge": {
  29882. "description": "手续费",
  29883. "type": "number"
  29884. },
  29885. "checkerrorflag": {
  29886. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29887. "type": "integer"
  29888. },
  29889. "currency": {
  29890. "description": "币种",
  29891. "type": "string"
  29892. },
  29893. "cusbankid": {
  29894. "description": "托管银行编号",
  29895. "type": "string"
  29896. },
  29897. "exchticket": {
  29898. "description": "银行服务流水号",
  29899. "type": "string"
  29900. },
  29901. "executetype": {
  29902. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29903. "type": "integer"
  29904. },
  29905. "extendinfo": {
  29906. "description": "扩展信息",
  29907. "type": "string"
  29908. },
  29909. "extoperateid": {
  29910. "description": "交易服务流水号",
  29911. "type": "integer"
  29912. },
  29913. "infamount": {
  29914. "description": "劣后金额(自有)",
  29915. "type": "number"
  29916. },
  29917. "logincode": {
  29918. "description": "登录账号(账号)",
  29919. "type": "string"
  29920. },
  29921. "netaddr": {
  29922. "description": "调转网址",
  29923. "type": "string"
  29924. },
  29925. "priamount": {
  29926. "description": "优先金额(授信)",
  29927. "type": "number"
  29928. },
  29929. "reauditid": {
  29930. "description": "复审人",
  29931. "type": "integer"
  29932. },
  29933. "reauditremark": {
  29934. "description": "复审备注",
  29935. "type": "string"
  29936. },
  29937. "reaudittime": {
  29938. "description": "复审时间",
  29939. "type": "string"
  29940. },
  29941. "relatedorderid": {
  29942. "description": "三方关联ID",
  29943. "type": "string"
  29944. },
  29945. "remark": {
  29946. "description": "备注",
  29947. "type": "string"
  29948. },
  29949. "remark2": {
  29950. "description": "备注(失败原因)",
  29951. "type": "string"
  29952. },
  29953. "soucreamount": {
  29954. "description": "原始出入金金额",
  29955. "type": "number"
  29956. },
  29957. "soucrecurrencyid": {
  29958. "description": "原始出入金币种",
  29959. "type": "integer"
  29960. },
  29961. "tradedate": {
  29962. "description": "交易日(yyyyMMdd)",
  29963. "type": "string"
  29964. },
  29965. "updatetime": {
  29966. "description": "更新时间(申请时间)",
  29967. "type": "string"
  29968. },
  29969. "userid": {
  29970. "description": "用户id",
  29971. "type": "integer"
  29972. },
  29973. "userinfotype": {
  29974. "description": "账户类型 1-个人 2-企业",
  29975. "type": "integer"
  29976. }
  29977. }
  29978. },
  29979. "models.QhjMgrBrokerApply": {
  29980. "type": "object",
  29981. "properties": {
  29982. "applicantid": {
  29983. "description": "申请人",
  29984. "type": "integer"
  29985. },
  29986. "applysrc": {
  29987. "description": "申请来源 - 1:管理端 2:终端",
  29988. "type": "integer"
  29989. },
  29990. "applystatus": {
  29991. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29992. "type": "integer"
  29993. },
  29994. "applytime": {
  29995. "description": "申请时间",
  29996. "type": "string"
  29997. },
  29998. "auditorid": {
  29999. "description": "审核人",
  30000. "type": "integer"
  30001. },
  30002. "auditremark": {
  30003. "description": "审核备注",
  30004. "type": "string"
  30005. },
  30006. "auditsrc": {
  30007. "description": "审核来源 - 1:管理端 2:终端",
  30008. "type": "integer"
  30009. },
  30010. "audittime": {
  30011. "description": "审核时间",
  30012. "type": "string"
  30013. },
  30014. "audittradedate": {
  30015. "description": "审核交易日(yyyyMMdd)",
  30016. "type": "string"
  30017. },
  30018. "brokerapplyid": {
  30019. "description": "申请ID(SEQ_BROKERAPPLY)",
  30020. "type": "integer"
  30021. },
  30022. "cardbackphotourl": {
  30023. "description": "证件背面图片地址",
  30024. "type": "string"
  30025. },
  30026. "cardfrontphotourl": {
  30027. "description": "证件正面图片地址",
  30028. "type": "string"
  30029. },
  30030. "cardnum": {
  30031. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  30032. "type": "string"
  30033. },
  30034. "customername": {
  30035. "description": "姓名",
  30036. "type": "string"
  30037. },
  30038. "filterstatus": {
  30039. "description": "筛选条件",
  30040. "type": "string"
  30041. },
  30042. "logincode": {
  30043. "description": "登录代码",
  30044. "type": "string"
  30045. },
  30046. "mobile": {
  30047. "description": "手机号码",
  30048. "type": "string"
  30049. },
  30050. "parentuserid": {
  30051. "description": "所属机构id",
  30052. "type": "integer"
  30053. },
  30054. "parentusername": {
  30055. "description": "所属机构名称",
  30056. "type": "string"
  30057. },
  30058. "refereeuserid": {
  30059. "description": "推荐人id(经纪人)",
  30060. "type": "integer"
  30061. },
  30062. "refernum": {
  30063. "description": "推荐码",
  30064. "type": "string"
  30065. },
  30066. "remark": {
  30067. "description": "备注",
  30068. "type": "string"
  30069. },
  30070. "subarealevelpath": {
  30071. "description": "层级路径",
  30072. "type": "string"
  30073. },
  30074. "tradedate": {
  30075. "description": "交易日(yyyyMMdd)",
  30076. "type": "string"
  30077. },
  30078. "userid": {
  30079. "description": "申请人用户ID",
  30080. "type": "integer"
  30081. },
  30082. "userinfotype": {
  30083. "description": "用户类型 1-个人 2-企业",
  30084. "type": "integer"
  30085. },
  30086. "username": {
  30087. "description": "用户名称",
  30088. "type": "string"
  30089. }
  30090. }
  30091. },
  30092. "models.QhjMgrBrokerRewardReport": {
  30093. "type": "object",
  30094. "properties": {
  30095. "createtime": {
  30096. "description": "创建时间(注册时间)",
  30097. "type": "string"
  30098. },
  30099. "cycletime": {
  30100. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  30101. "type": "string"
  30102. },
  30103. "cycletype": {
  30104. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  30105. "type": "integer"
  30106. },
  30107. "directtotalnum": {
  30108. "description": "直推总人数【期末】",
  30109. "type": "integer"
  30110. },
  30111. "indirecttotalnum": {
  30112. "description": "间推总人数【期末】",
  30113. "type": "integer"
  30114. },
  30115. "mobile": {
  30116. "description": "电话号码",
  30117. "type": "string"
  30118. },
  30119. "refereeuserid": {
  30120. "description": "推荐人id(经纪人id)",
  30121. "type": "integer"
  30122. },
  30123. "refereeusername": {
  30124. "description": "推荐人名称(经纪人) 上级经纪人名称",
  30125. "type": "string"
  30126. },
  30127. "refernum": {
  30128. "description": "推荐码",
  30129. "type": "string"
  30130. },
  30131. "subarealevelpath": {
  30132. "description": "用户层级路径",
  30133. "type": "string"
  30134. },
  30135. "todayrewardamount": {
  30136. "description": "奖励总金额【汇总】",
  30137. "type": "number"
  30138. },
  30139. "updatetime": {
  30140. "description": "更新时间",
  30141. "type": "string"
  30142. },
  30143. "userid": {
  30144. "description": "经纪人用户ID",
  30145. "type": "integer"
  30146. },
  30147. "userinfotype": {
  30148. "description": "用户类型 1-个人 2-企业",
  30149. "type": "integer"
  30150. },
  30151. "username": {
  30152. "description": "用户名称",
  30153. "type": "string"
  30154. }
  30155. }
  30156. },
  30157. "models.QhjMgrContract": {
  30158. "type": "object",
  30159. "properties": {
  30160. "contractconfirmtime": {
  30161. "description": "合同确认时间(时间)",
  30162. "type": "string"
  30163. },
  30164. "currisklevel": {
  30165. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  30166. "type": "integer"
  30167. },
  30168. "decimalplace": {
  30169. "description": "商品报价小数位",
  30170. "type": "integer"
  30171. },
  30172. "enumdicname": {
  30173. "description": "单位名称",
  30174. "type": "string"
  30175. },
  30176. "goodscode": {
  30177. "description": "商品代码",
  30178. "type": "string"
  30179. },
  30180. "goodsid": {
  30181. "description": "商品ID [5:融资单]",
  30182. "type": "integer"
  30183. },
  30184. "goodsname": {
  30185. "description": "商品名称",
  30186. "type": "string"
  30187. },
  30188. "goodunitid": {
  30189. "description": "商品单位id",
  30190. "type": "integer"
  30191. },
  30192. "initmargin": {
  30193. "description": "初始保证金(首付款)",
  30194. "type": "number"
  30195. },
  30196. "lenderamount": {
  30197. "description": "贷款金额(总额|订单总额)",
  30198. "type": "number"
  30199. },
  30200. "logincode": {
  30201. "description": "账号(登录代码)",
  30202. "type": "string"
  30203. },
  30204. "marginratio": {
  30205. "description": "保证金比率(首付比例)",
  30206. "type": "number"
  30207. },
  30208. "mobile": {
  30209. "description": "电话号码(用户资料里的电话)",
  30210. "type": "string"
  30211. },
  30212. "payamount": {
  30213. "description": "已付(已付货款)",
  30214. "type": "number"
  30215. },
  30216. "reckonrecovermargin": {
  30217. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  30218. "type": "number"
  30219. },
  30220. "recoveredmargin": {
  30221. "description": "已追缴保证金",
  30222. "type": "number"
  30223. },
  30224. "remainamount": {
  30225. "description": "合同剩余金额(融资额)",
  30226. "type": "number"
  30227. },
  30228. "scfcontractid": {
  30229. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  30230. "type": "string"
  30231. },
  30232. "scfcontractstatus": {
  30233. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  30234. "type": "integer"
  30235. },
  30236. "scfcontracttype": {
  30237. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  30238. "type": "integer"
  30239. },
  30240. "totalinterest": {
  30241. "description": "已计总利息(利息)",
  30242. "type": "number"
  30243. },
  30244. "tradedate": {
  30245. "description": "交易日",
  30246. "type": "string"
  30247. },
  30248. "tradeprice": {
  30249. "description": "成交价格(成本价格)",
  30250. "type": "number"
  30251. },
  30252. "userid": {
  30253. "description": "用户ID",
  30254. "type": "integer"
  30255. },
  30256. "userinfotype": {
  30257. "description": "用户类型 1-个人 2-企业",
  30258. "type": "integer"
  30259. },
  30260. "username": {
  30261. "description": "用户名称",
  30262. "type": "string"
  30263. },
  30264. "wrqty": {
  30265. "description": "仓单数量(数量)",
  30266. "type": "number"
  30267. }
  30268. }
  30269. },
  30270. "models.QhjMgrCustomer": {
  30271. "type": "object",
  30272. "properties": {
  30273. "address": {
  30274. "description": "通讯地址",
  30275. "type": "string"
  30276. },
  30277. "attachment1": {
  30278. "description": "附件1",
  30279. "type": "string"
  30280. },
  30281. "audittime": {
  30282. "description": "审核时间",
  30283. "type": "string"
  30284. },
  30285. "birthday": {
  30286. "description": "生日",
  30287. "type": "string"
  30288. },
  30289. "brokerid": {
  30290. "description": "所属客户经理id",
  30291. "type": "integer"
  30292. },
  30293. "brokername": {
  30294. "description": "所属客户经理名称",
  30295. "type": "string"
  30296. },
  30297. "cardbackphotourl": {
  30298. "description": "证件反面图片地址",
  30299. "type": "string"
  30300. },
  30301. "cardfrontphotourl": {
  30302. "description": "证件正面图片地址",
  30303. "type": "string"
  30304. },
  30305. "cardnum": {
  30306. "description": "证件号码",
  30307. "type": "string"
  30308. },
  30309. "cardtype": {
  30310. "description": "证件类型",
  30311. "type": "integer"
  30312. },
  30313. "cardtypename": {
  30314. "description": "证件类型名称",
  30315. "type": "string"
  30316. },
  30317. "cityid": {
  30318. "description": "市",
  30319. "type": "integer"
  30320. },
  30321. "cityname": {
  30322. "description": "城市名称",
  30323. "type": "string"
  30324. },
  30325. "contactname": {
  30326. "description": "联系人",
  30327. "type": "string"
  30328. },
  30329. "countryid": {
  30330. "description": "国家",
  30331. "type": "integer"
  30332. },
  30333. "countryname": {
  30334. "description": "国家名称",
  30335. "type": "string"
  30336. },
  30337. "createtime": {
  30338. "description": "创建时间",
  30339. "type": "string"
  30340. },
  30341. "customername": {
  30342. "description": "客户名称",
  30343. "type": "string"
  30344. },
  30345. "districtid": {
  30346. "description": "区域",
  30347. "type": "integer"
  30348. },
  30349. "districtname": {
  30350. "description": "地区名称",
  30351. "type": "string"
  30352. },
  30353. "email": {
  30354. "description": "邮件",
  30355. "type": "string"
  30356. },
  30357. "legalpersonname": {
  30358. "description": "法人姓名(企业)",
  30359. "type": "string"
  30360. },
  30361. "logincode": {
  30362. "description": "登录账号(代码)",
  30363. "type": "string"
  30364. },
  30365. "memberuserid": {
  30366. "description": "所属机构ID(所属会员)",
  30367. "type": "integer"
  30368. },
  30369. "memberusername": {
  30370. "description": "所属会员名称",
  30371. "type": "string"
  30372. },
  30373. "mobile": {
  30374. "description": "手机号码",
  30375. "type": "string"
  30376. },
  30377. "modifytime": {
  30378. "description": "修改时间",
  30379. "type": "string"
  30380. },
  30381. "nickname": {
  30382. "description": "昵称",
  30383. "type": "string"
  30384. },
  30385. "parentuserid": {
  30386. "description": "上级机构(所属机构)",
  30387. "type": "integer"
  30388. },
  30389. "parentusername": {
  30390. "description": "所属机构名称",
  30391. "type": "string"
  30392. },
  30393. "provinceid": {
  30394. "description": "省",
  30395. "type": "integer"
  30396. },
  30397. "provincename": {
  30398. "description": "省名称",
  30399. "type": "string"
  30400. },
  30401. "proxystatementurl": {
  30402. "description": "授权委托书",
  30403. "type": "string"
  30404. },
  30405. "querytype": {
  30406. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  30407. "type": "integer"
  30408. },
  30409. "remark": {
  30410. "description": "备注",
  30411. "type": "string"
  30412. },
  30413. "sex": {
  30414. "description": "性别 0-女 1-男",
  30415. "type": "integer"
  30416. },
  30417. "status": {
  30418. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30419. "type": "integer"
  30420. },
  30421. "statusdesc": {
  30422. "description": "账户状态中文描述",
  30423. "type": "string"
  30424. },
  30425. "taxpayernum": {
  30426. "description": "纳税人识别号",
  30427. "type": "string"
  30428. },
  30429. "telphone": {
  30430. "description": "联系电话",
  30431. "type": "string"
  30432. },
  30433. "userid": {
  30434. "description": "用户ID",
  30435. "type": "integer"
  30436. },
  30437. "userinfotype": {
  30438. "description": "客户类型 1-个人 2-企业",
  30439. "type": "integer"
  30440. },
  30441. "username": {
  30442. "description": "用户名称",
  30443. "type": "string"
  30444. }
  30445. }
  30446. },
  30447. "models.QhjMgrPickGoods": {
  30448. "type": "object",
  30449. "properties": {
  30450. "enumdicname": {
  30451. "description": "单位名称(提货商品)",
  30452. "type": "string"
  30453. },
  30454. "goodsid": {
  30455. "description": "商品id",
  30456. "type": "integer"
  30457. },
  30458. "imageaddress": {
  30459. "description": "图片",
  30460. "type": "string"
  30461. },
  30462. "modifierid": {
  30463. "description": "修改人",
  30464. "type": "integer"
  30465. },
  30466. "modifiername": {
  30467. "description": "修改人名称",
  30468. "type": "string"
  30469. },
  30470. "modifysrc": {
  30471. "description": "修改来源 - 1:管理端 2:终端",
  30472. "type": "integer"
  30473. },
  30474. "pickupgoodsagreeunit": {
  30475. "description": "合约乘数",
  30476. "type": "number"
  30477. },
  30478. "pickupgoodsdesc": {
  30479. "description": "描述",
  30480. "type": "string"
  30481. },
  30482. "pickupgoodsid": {
  30483. "description": "提货商品ID",
  30484. "type": "string"
  30485. },
  30486. "pickupgoodsname": {
  30487. "description": "提货商品名称",
  30488. "type": "string"
  30489. },
  30490. "pickupgoodsstatus": {
  30491. "description": "状态 - 1:正常 2:停用 3:注销",
  30492. "type": "integer"
  30493. },
  30494. "pickupgoodsunitid": {
  30495. "description": "单位ID",
  30496. "type": "integer"
  30497. },
  30498. "pickupratio": {
  30499. "description": "提货系数",
  30500. "type": "number"
  30501. },
  30502. "preparedays": {
  30503. "description": "备货期(天)",
  30504. "type": "integer"
  30505. },
  30506. "remark": {
  30507. "description": "备注",
  30508. "type": "string"
  30509. },
  30510. "updatetime": {
  30511. "description": "更新时间",
  30512. "type": "string"
  30513. }
  30514. }
  30515. },
  30516. "models.QhjMgrPositionRsp": {
  30517. "type": "object",
  30518. "properties": {
  30519. "accountid": {
  30520. "description": "账号Id",
  30521. "type": "integer"
  30522. },
  30523. "accountname": {
  30524. "description": "用户名称",
  30525. "type": "string"
  30526. },
  30527. "agreeunit": {
  30528. "description": "合约乘数",
  30529. "type": "number"
  30530. },
  30531. "averageprice": {
  30532. "description": "均价",
  30533. "type": "number"
  30534. },
  30535. "avialqty": {
  30536. "description": "可用数量",
  30537. "type": "number"
  30538. },
  30539. "decimalplace": {
  30540. "description": "报价小数位",
  30541. "type": "integer"
  30542. },
  30543. "enumdicname": {
  30544. "description": "单位名称(商品)",
  30545. "type": "string"
  30546. },
  30547. "frozenqty": {
  30548. "description": "冻结数量",
  30549. "type": "number"
  30550. },
  30551. "goodscode": {
  30552. "description": "商品代码(内部)",
  30553. "type": "string"
  30554. },
  30555. "goodsid": {
  30556. "description": "商品Id",
  30557. "type": "integer"
  30558. },
  30559. "goodsname": {
  30560. "description": "商品名称",
  30561. "type": "string"
  30562. },
  30563. "goodunitid": {
  30564. "description": "报价单位ID",
  30565. "type": "integer"
  30566. },
  30567. "holderamount": {
  30568. "description": "金额",
  30569. "type": "number"
  30570. },
  30571. "holderqty": {
  30572. "description": "持有数量",
  30573. "type": "number"
  30574. },
  30575. "holdertype": {
  30576. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  30577. "type": "integer"
  30578. },
  30579. "logincode": {
  30580. "description": "登录代码(账户)",
  30581. "type": "string"
  30582. },
  30583. "marketid": {
  30584. "description": "市场id",
  30585. "type": "integer"
  30586. },
  30587. "qtydecimalplace": {
  30588. "description": "成交量小数位",
  30589. "type": "integer"
  30590. },
  30591. "trademode": {
  30592. "description": "交易模式",
  30593. "type": "integer"
  30594. },
  30595. "userid": {
  30596. "description": "用户id",
  30597. "type": "integer"
  30598. },
  30599. "userinfotype": {
  30600. "description": "账户类型 1-个人 2-企业",
  30601. "type": "integer"
  30602. }
  30603. }
  30604. },
  30605. "models.QhjMgrSubArea": {
  30606. "type": "object",
  30607. "properties": {
  30608. "accountname": {
  30609. "description": "账户名称(机构名称)",
  30610. "type": "string"
  30611. },
  30612. "memberuserid": {
  30613. "description": "所属会员ID",
  30614. "type": "integer"
  30615. },
  30616. "parenttopuser": {
  30617. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30618. "type": "string"
  30619. },
  30620. "parentuserid": {
  30621. "description": "所属机构ID",
  30622. "type": "integer"
  30623. },
  30624. "rootuserid": {
  30625. "description": "根用户ID",
  30626. "type": "string"
  30627. },
  30628. "subaccountlevel": {
  30629. "description": "子账户层数",
  30630. "type": "integer"
  30631. },
  30632. "subarealevelpath": {
  30633. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30634. "type": "string"
  30635. },
  30636. "userid": {
  30637. "description": "用户ID",
  30638. "type": "integer"
  30639. },
  30640. "usertype": {
  30641. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30642. "type": "integer"
  30643. }
  30644. }
  30645. },
  30646. "models.QhjMgrTradeDetailRsp": {
  30647. "type": "object",
  30648. "properties": {
  30649. "accountid": {
  30650. "description": "资金账号",
  30651. "type": "integer"
  30652. },
  30653. "accountname": {
  30654. "description": "用户名称",
  30655. "type": "string"
  30656. },
  30657. "agreeunit": {
  30658. "description": "合约乘数",
  30659. "type": "number"
  30660. },
  30661. "buyorsell": {
  30662. "description": "成交类型(方向) 0:买 1:卖",
  30663. "type": "integer"
  30664. },
  30665. "decimalplace": {
  30666. "description": "报价小数位",
  30667. "type": "integer"
  30668. },
  30669. "enumdicname": {
  30670. "description": "单位名称(商品)",
  30671. "type": "string"
  30672. },
  30673. "goodscode": {
  30674. "description": "商品代码(内部)",
  30675. "type": "string"
  30676. },
  30677. "goodsid": {
  30678. "description": "商品id",
  30679. "type": "integer"
  30680. },
  30681. "goodsname": {
  30682. "description": "商品名称",
  30683. "type": "string"
  30684. },
  30685. "goodunitid": {
  30686. "description": "报价单位ID",
  30687. "type": "integer"
  30688. },
  30689. "logincode": {
  30690. "description": "登录代码(账户)",
  30691. "type": "string"
  30692. },
  30693. "marketid": {
  30694. "description": "市场id",
  30695. "type": "integer"
  30696. },
  30697. "orderid": {
  30698. "description": "关联委托单号",
  30699. "type": "string"
  30700. },
  30701. "qtydecimalplace": {
  30702. "description": "成交量小数位",
  30703. "type": "integer"
  30704. },
  30705. "tradeamount": {
  30706. "description": "金额",
  30707. "type": "number"
  30708. },
  30709. "tradedate": {
  30710. "description": "交易日",
  30711. "type": "string"
  30712. },
  30713. "tradeid": {
  30714. "description": "成交单号",
  30715. "type": "string"
  30716. },
  30717. "trademode": {
  30718. "description": "交易模式",
  30719. "type": "integer"
  30720. },
  30721. "tradeprice": {
  30722. "description": "价格",
  30723. "type": "number"
  30724. },
  30725. "tradeqty": {
  30726. "description": "数量",
  30727. "type": "number"
  30728. },
  30729. "tradetime": {
  30730. "description": "成交时间",
  30731. "type": "string"
  30732. },
  30733. "userid": {
  30734. "description": "用户id",
  30735. "type": "integer"
  30736. },
  30737. "userinfotype": {
  30738. "description": "账户类型 1-个人 2-企业",
  30739. "type": "integer"
  30740. }
  30741. }
  30742. },
  30743. "models.QhjMgrTradeOrderDetailRsp": {
  30744. "type": "object",
  30745. "properties": {
  30746. "accountid": {
  30747. "description": "资金账号",
  30748. "type": "integer"
  30749. },
  30750. "accountname": {
  30751. "description": "用户名称",
  30752. "type": "string"
  30753. },
  30754. "agreeunit": {
  30755. "description": "合约乘数",
  30756. "type": "number"
  30757. },
  30758. "amount": {
  30759. "description": "金额",
  30760. "type": "number"
  30761. },
  30762. "decimalplace": {
  30763. "description": "报价小数位",
  30764. "type": "integer"
  30765. },
  30766. "enumdicname": {
  30767. "description": "单位名称(商品)",
  30768. "type": "string"
  30769. },
  30770. "goodscode": {
  30771. "description": "商品代码(内部)",
  30772. "type": "string"
  30773. },
  30774. "goodsid": {
  30775. "description": "商品id",
  30776. "type": "integer"
  30777. },
  30778. "goodsname": {
  30779. "description": "商品名称",
  30780. "type": "string"
  30781. },
  30782. "goodunitid": {
  30783. "description": "报价单位ID",
  30784. "type": "integer"
  30785. },
  30786. "logincode": {
  30787. "description": "登录代码(账户)",
  30788. "type": "string"
  30789. },
  30790. "marketid": {
  30791. "description": "市场id",
  30792. "type": "integer"
  30793. },
  30794. "orderid": {
  30795. "description": "关联委托单号",
  30796. "type": "string"
  30797. },
  30798. "orderprice": {
  30799. "description": "价格",
  30800. "type": "number"
  30801. },
  30802. "orderqty": {
  30803. "description": "数量",
  30804. "type": "number"
  30805. },
  30806. "orderstatus": {
  30807. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30808. "type": "integer"
  30809. },
  30810. "ordertime": {
  30811. "description": "委托时间",
  30812. "type": "string"
  30813. },
  30814. "qtydecimalplace": {
  30815. "description": "成交量小数位",
  30816. "type": "integer"
  30817. },
  30818. "tradedate": {
  30819. "description": "交易日",
  30820. "type": "string"
  30821. },
  30822. "trademode": {
  30823. "description": "交易模式",
  30824. "type": "integer"
  30825. },
  30826. "userid": {
  30827. "description": "用户id",
  30828. "type": "integer"
  30829. },
  30830. "userinfotype": {
  30831. "description": "账户类型 1-个人 2-企业",
  30832. "type": "integer"
  30833. }
  30834. }
  30835. },
  30836. "models.QhjMgrTradePayOrder": {
  30837. "type": "object",
  30838. "properties": {
  30839. "accountname": {
  30840. "description": "用户名称",
  30841. "type": "string"
  30842. },
  30843. "advanceratio": {
  30844. "description": "首付比率",
  30845. "type": "number"
  30846. },
  30847. "agreeunit": {
  30848. "description": "合约乘数",
  30849. "type": "number"
  30850. },
  30851. "buyaccountid": {
  30852. "description": "买方账号ID[报价币种]",
  30853. "type": "integer"
  30854. },
  30855. "buyorderid": {
  30856. "description": "买方委托单号(关联单号)",
  30857. "type": "string"
  30858. },
  30859. "createtime": {
  30860. "description": "创建时间",
  30861. "type": "string"
  30862. },
  30863. "decimalplace": {
  30864. "description": "报价小数位",
  30865. "type": "integer"
  30866. },
  30867. "enumdicname": {
  30868. "description": "单位名称(商品)",
  30869. "type": "string"
  30870. },
  30871. "goodscode": {
  30872. "description": "商品代码(内部)",
  30873. "type": "string"
  30874. },
  30875. "goodsid": {
  30876. "description": "商品ID",
  30877. "type": "integer"
  30878. },
  30879. "goodsname": {
  30880. "description": "商品名称",
  30881. "type": "string"
  30882. },
  30883. "goodunitid": {
  30884. "description": "报价单位ID",
  30885. "type": "integer"
  30886. },
  30887. "logincode": {
  30888. "description": "登录代码(账户)",
  30889. "type": "string"
  30890. },
  30891. "marketid": {
  30892. "description": "市场id",
  30893. "type": "integer"
  30894. },
  30895. "offamount": {
  30896. "description": "优惠金额",
  30897. "type": "number"
  30898. },
  30899. "operatetype": {
  30900. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30901. "type": "integer"
  30902. },
  30903. "payamount": {
  30904. "description": "支付金额(金额)",
  30905. "type": "number"
  30906. },
  30907. "payflag": {
  30908. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30909. "type": "integer"
  30910. },
  30911. "paylimitedtime": {
  30912. "description": "支付期限",
  30913. "type": "string"
  30914. },
  30915. "paytime": {
  30916. "description": "付款时间",
  30917. "type": "string"
  30918. },
  30919. "qtydecimalplace": {
  30920. "description": "成交量小数位",
  30921. "type": "integer"
  30922. },
  30923. "sellaccountid": {
  30924. "description": "卖方账号ID[报价币种]",
  30925. "type": "integer"
  30926. },
  30927. "sellorderid": {
  30928. "description": "卖方委托单号",
  30929. "type": "string"
  30930. },
  30931. "tradeamount": {
  30932. "description": "成交金额(优惠后金额)",
  30933. "type": "number"
  30934. },
  30935. "tradecharge": {
  30936. "description": "成交手续费(买方)",
  30937. "type": "number"
  30938. },
  30939. "tradedate": {
  30940. "description": "交易日(yyyyMMdd)",
  30941. "type": "string"
  30942. },
  30943. "tradeid": {
  30944. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30945. "type": "string"
  30946. },
  30947. "trademode": {
  30948. "description": "交易模式",
  30949. "type": "integer"
  30950. },
  30951. "tradeprice": {
  30952. "description": "成交价格(价格)",
  30953. "type": "number"
  30954. },
  30955. "tradeqty": {
  30956. "description": "成交数量(数量)",
  30957. "type": "number"
  30958. },
  30959. "tradetime": {
  30960. "description": "成交时间",
  30961. "type": "string"
  30962. },
  30963. "userid": {
  30964. "description": "用户id",
  30965. "type": "integer"
  30966. },
  30967. "userinfotype": {
  30968. "description": "账户类型 1-个人 2-企业",
  30969. "type": "integer"
  30970. }
  30971. }
  30972. },
  30973. "models.QhjMyTeamEx": {
  30974. "type": "object",
  30975. "properties": {
  30976. "accountname": {
  30977. "description": "用户名称",
  30978. "type": "string"
  30979. },
  30980. "accountstatus": {
  30981. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30982. "type": "integer"
  30983. },
  30984. "createtime": {
  30985. "description": "创建时间",
  30986. "type": "string"
  30987. },
  30988. "mobile": {
  30989. "description": "手机号码",
  30990. "type": "string"
  30991. },
  30992. "refereeuserid": {
  30993. "description": "推荐人id",
  30994. "type": "integer"
  30995. },
  30996. "refernum": {
  30997. "description": "推荐码",
  30998. "type": "string"
  30999. },
  31000. "subList": {
  31001. "type": "array",
  31002. "items": {
  31003. "$ref": "#/definitions/models.QhjMyTeamEx"
  31004. }
  31005. },
  31006. "userid": {
  31007. "description": "用户id",
  31008. "type": "integer"
  31009. },
  31010. "userinfotype": {
  31011. "description": "用户类型 1-个人 2-企业",
  31012. "type": "integer"
  31013. }
  31014. }
  31015. },
  31016. "models.QhjNodeAgreementConfig": {
  31017. "type": "object",
  31018. "properties": {
  31019. "agreementcontent": {
  31020. "description": "协议内容",
  31021. "type": "string"
  31022. },
  31023. "agreementid": {
  31024. "description": "协议ID",
  31025. "type": "integer"
  31026. },
  31027. "agreementname": {
  31028. "description": "协议名称",
  31029. "type": "string"
  31030. },
  31031. "agreementno": {
  31032. "description": "协议编号",
  31033. "type": "string"
  31034. },
  31035. "agreementtype": {
  31036. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31037. "type": "integer"
  31038. },
  31039. "agreementversion": {
  31040. "description": "协议版本号",
  31041. "type": "integer"
  31042. },
  31043. "configid": {
  31044. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31045. "type": "integer"
  31046. },
  31047. "createtime": {
  31048. "description": "创建时间",
  31049. "type": "string"
  31050. },
  31051. "goodsid": {
  31052. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31053. "type": "integer"
  31054. },
  31055. "nodetype": {
  31056. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31057. "type": "integer"
  31058. }
  31059. }
  31060. },
  31061. "models.QhjParentAreaList": {
  31062. "type": "object",
  31063. "properties": {
  31064. "accountname": {
  31065. "description": "账户名称(机构名称)",
  31066. "type": "string"
  31067. },
  31068. "userid": {
  31069. "description": "用户ID",
  31070. "type": "integer"
  31071. },
  31072. "usertype": {
  31073. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31074. "type": "integer"
  31075. }
  31076. }
  31077. },
  31078. "models.QhjPayOrder": {
  31079. "type": "object",
  31080. "properties": {
  31081. "advanceratio": {
  31082. "description": "首付比率",
  31083. "type": "number"
  31084. },
  31085. "buyaccountid": {
  31086. "description": "买方账号ID[报价币种]",
  31087. "type": "integer"
  31088. },
  31089. "buyorderid": {
  31090. "description": "买方委托单号",
  31091. "type": "string"
  31092. },
  31093. "createtime": {
  31094. "description": "创建时间",
  31095. "type": "string"
  31096. },
  31097. "decimalplace": {
  31098. "description": "商品报价小数位",
  31099. "type": "integer"
  31100. },
  31101. "enumdicname": {
  31102. "description": "单位名称",
  31103. "type": "string"
  31104. },
  31105. "goodscode": {
  31106. "description": "商品代码",
  31107. "type": "string"
  31108. },
  31109. "goodsid": {
  31110. "description": "商品ID",
  31111. "type": "integer"
  31112. },
  31113. "goodsname": {
  31114. "description": "商品名称",
  31115. "type": "string"
  31116. },
  31117. "goodunitid": {
  31118. "description": "商品单位id",
  31119. "type": "integer"
  31120. },
  31121. "marketid": {
  31122. "description": "市场ID",
  31123. "type": "integer"
  31124. },
  31125. "offamount": {
  31126. "description": "优惠金额",
  31127. "type": "number"
  31128. },
  31129. "operatetype": {
  31130. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  31131. "type": "integer"
  31132. },
  31133. "payamount": {
  31134. "description": "支付金额",
  31135. "type": "number"
  31136. },
  31137. "payflag": {
  31138. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  31139. "type": "integer"
  31140. },
  31141. "paylimitedtime": {
  31142. "description": "支付期限",
  31143. "type": "string"
  31144. },
  31145. "paytime": {
  31146. "description": "付款时间",
  31147. "type": "string"
  31148. },
  31149. "qtydecimalplace": {
  31150. "description": "成交量小数位",
  31151. "type": "integer"
  31152. },
  31153. "sellaccountid": {
  31154. "description": "卖方账号ID[报价币种]",
  31155. "type": "integer"
  31156. },
  31157. "sellorderid": {
  31158. "description": "卖方委托单号",
  31159. "type": "string"
  31160. },
  31161. "tradeamount": {
  31162. "description": "成交金额(优惠后金额)",
  31163. "type": "number"
  31164. },
  31165. "tradecharge": {
  31166. "description": "成交手续费(买方)",
  31167. "type": "number"
  31168. },
  31169. "tradedate": {
  31170. "description": "交易日(yyyyMMdd)",
  31171. "type": "string"
  31172. },
  31173. "tradeid": {
  31174. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31175. "type": "string"
  31176. },
  31177. "tradeprice": {
  31178. "description": "成交价格",
  31179. "type": "number"
  31180. },
  31181. "tradeqty": {
  31182. "description": "成交数量",
  31183. "type": "number"
  31184. }
  31185. }
  31186. },
  31187. "models.QhjPickArea": {
  31188. "type": "object",
  31189. "properties": {
  31190. "address": {
  31191. "description": "详细地址",
  31192. "type": "string"
  31193. },
  31194. "cityid": {
  31195. "description": "市",
  31196. "type": "integer"
  31197. },
  31198. "cityname": {
  31199. "description": "城市名称",
  31200. "type": "string"
  31201. },
  31202. "countryid": {
  31203. "description": "国家",
  31204. "type": "integer"
  31205. },
  31206. "countryname": {
  31207. "description": "国家名称",
  31208. "type": "string"
  31209. },
  31210. "districtid": {
  31211. "description": "地区",
  31212. "type": "integer"
  31213. },
  31214. "districtname": {
  31215. "description": "地区名称",
  31216. "type": "string"
  31217. },
  31218. "fromuserid": {
  31219. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  31220. "type": "integer"
  31221. },
  31222. "fromusername": {
  31223. "description": "所属机构名称",
  31224. "type": "string"
  31225. },
  31226. "provinceid": {
  31227. "description": "省",
  31228. "type": "integer"
  31229. },
  31230. "provincename": {
  31231. "description": "省名称",
  31232. "type": "string"
  31233. },
  31234. "suborgtype": {
  31235. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  31236. "type": "integer"
  31237. },
  31238. "userid": {
  31239. "description": "机构用户ID 其他做市关系,都设置为 1",
  31240. "type": "integer"
  31241. },
  31242. "username": {
  31243. "description": "机构用户名称(门店门称)",
  31244. "type": "string"
  31245. }
  31246. }
  31247. },
  31248. "models.QhjPickGoods": {
  31249. "type": "object",
  31250. "properties": {
  31251. "enumdicname": {
  31252. "description": "单位名称(提货商品)",
  31253. "type": "string"
  31254. },
  31255. "goodsid": {
  31256. "description": "商品id",
  31257. "type": "integer"
  31258. },
  31259. "imageaddress": {
  31260. "description": "图片",
  31261. "type": "string"
  31262. },
  31263. "modifierid": {
  31264. "description": "修改人",
  31265. "type": "integer"
  31266. },
  31267. "modifiername": {
  31268. "description": "修改人名称",
  31269. "type": "string"
  31270. },
  31271. "modifysrc": {
  31272. "description": "修改来源 - 1:管理端 2:终端",
  31273. "type": "integer"
  31274. },
  31275. "pickupgoodsagreeunit": {
  31276. "description": "合约乘数",
  31277. "type": "number"
  31278. },
  31279. "pickupgoodsdesc": {
  31280. "description": "描述",
  31281. "type": "string"
  31282. },
  31283. "pickupgoodsid": {
  31284. "description": "提货商品ID",
  31285. "type": "string"
  31286. },
  31287. "pickupgoodsname": {
  31288. "description": "提货商品名称",
  31289. "type": "string"
  31290. },
  31291. "pickupgoodsstatus": {
  31292. "description": "状态 - 1:正常 2:停用 3:注销",
  31293. "type": "integer"
  31294. },
  31295. "pickupgoodsunitid": {
  31296. "description": "单位ID",
  31297. "type": "integer"
  31298. },
  31299. "pickupratio": {
  31300. "description": "提货系数",
  31301. "type": "number"
  31302. },
  31303. "preparedays": {
  31304. "description": "备货期(天)",
  31305. "type": "integer"
  31306. },
  31307. "remark": {
  31308. "description": "备注",
  31309. "type": "string"
  31310. },
  31311. "updatetime": {
  31312. "description": "更新时间",
  31313. "type": "string"
  31314. }
  31315. }
  31316. },
  31317. "models.QhjRSTriggerLog": {
  31318. "type": "object",
  31319. "properties": {
  31320. "accountid": {
  31321. "description": "用户资金账户",
  31322. "type": "integer"
  31323. },
  31324. "accountname": {
  31325. "description": "账号名称(ACCOUNTID对应的名称)",
  31326. "type": "string"
  31327. },
  31328. "currencyid": {
  31329. "description": "币种id",
  31330. "type": "integer"
  31331. },
  31332. "currencyname": {
  31333. "description": "币种名称",
  31334. "type": "string"
  31335. },
  31336. "decimalplace": {
  31337. "description": "商品报价小数位",
  31338. "type": "integer"
  31339. },
  31340. "enumdicname": {
  31341. "description": "单位名称",
  31342. "type": "string"
  31343. },
  31344. "goodscode": {
  31345. "description": "定投商品代码",
  31346. "type": "string"
  31347. },
  31348. "goodsid": {
  31349. "description": "定投商品ID",
  31350. "type": "integer"
  31351. },
  31352. "goodsname": {
  31353. "description": "定投商品名称",
  31354. "type": "string"
  31355. },
  31356. "goodunitid": {
  31357. "description": "定投商品单位id",
  31358. "type": "integer"
  31359. },
  31360. "logid": {
  31361. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  31362. "type": "string"
  31363. },
  31364. "logincode": {
  31365. "description": "账号(登录代码)",
  31366. "type": "string"
  31367. },
  31368. "qtydecimalplace": {
  31369. "description": "成交量小数位",
  31370. "type": "integer"
  31371. },
  31372. "regularlycycle": {
  31373. "description": "定投频率 - 1:每周 2:每月",
  31374. "type": "integer"
  31375. },
  31376. "regularlycyclevalue": {
  31377. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  31378. "type": "string"
  31379. },
  31380. "regularlymode": {
  31381. "description": "定投方式 - 1:按数量 2:按金额",
  31382. "type": "integer"
  31383. },
  31384. "regularlymodevalue": {
  31385. "description": "定投方式值 - 数量或金额",
  31386. "type": "number"
  31387. },
  31388. "regularlystrategyid": {
  31389. "description": "定投策略ID",
  31390. "type": "integer"
  31391. },
  31392. "retcode": {
  31393. "description": "错误码",
  31394. "type": "string"
  31395. },
  31396. "tradeid": {
  31397. "description": "成交单ID",
  31398. "type": "string"
  31399. },
  31400. "triggeramount": {
  31401. "description": "触发金额",
  31402. "type": "number"
  31403. },
  31404. "triggerqty": {
  31405. "description": "触发数量",
  31406. "type": "number"
  31407. },
  31408. "triggerstatus": {
  31409. "description": "触发状态 - 1:成功 2:失败",
  31410. "type": "integer"
  31411. },
  31412. "triggertime": {
  31413. "description": "触发时间",
  31414. "type": "string"
  31415. },
  31416. "triggertradedate": {
  31417. "description": "触发交易日",
  31418. "type": "string"
  31419. },
  31420. "userid": {
  31421. "description": "所属用户ID",
  31422. "type": "integer"
  31423. },
  31424. "userinfotype": {
  31425. "description": "用户类型 1-个人 2-企业",
  31426. "type": "integer"
  31427. },
  31428. "username": {
  31429. "description": "用户名称(userid对应的名称)",
  31430. "type": "string"
  31431. }
  31432. }
  31433. },
  31434. "models.QhjRStrategy": {
  31435. "type": "object",
  31436. "properties": {
  31437. "accountid": {
  31438. "description": "用户资金账户",
  31439. "type": "integer"
  31440. },
  31441. "accountname": {
  31442. "description": "账号名称(ACCOUNTID对应的名称)",
  31443. "type": "string"
  31444. },
  31445. "currencyid": {
  31446. "description": "币种id",
  31447. "type": "integer"
  31448. },
  31449. "currencyname": {
  31450. "description": "币种名称",
  31451. "type": "string"
  31452. },
  31453. "decimalplace": {
  31454. "description": "商品报价小数位",
  31455. "type": "integer"
  31456. },
  31457. "enumdicname": {
  31458. "description": "单位名称",
  31459. "type": "string"
  31460. },
  31461. "goodscode": {
  31462. "description": "定投商品代码",
  31463. "type": "string"
  31464. },
  31465. "goodsid": {
  31466. "description": "定投商品ID",
  31467. "type": "integer"
  31468. },
  31469. "goodsname": {
  31470. "description": "定投商品名称",
  31471. "type": "string"
  31472. },
  31473. "goodunitid": {
  31474. "description": "定投商品单位id",
  31475. "type": "integer"
  31476. },
  31477. "lasteffecttradedate": {
  31478. "description": "最新生效交易日",
  31479. "type": "string"
  31480. },
  31481. "laststoptradedate": {
  31482. "description": "最新暂停交易日",
  31483. "type": "string"
  31484. },
  31485. "lasttriggertradedate": {
  31486. "description": "最新触发交易日",
  31487. "type": "string"
  31488. },
  31489. "logincode": {
  31490. "description": "账号(登录代码)",
  31491. "type": "string"
  31492. },
  31493. "nexttriggeramount": {
  31494. "description": "下次触发金额",
  31495. "type": "number"
  31496. },
  31497. "nexttriggerdate": {
  31498. "description": "下次触发日期",
  31499. "type": "string"
  31500. },
  31501. "nexttriggerqty": {
  31502. "description": "下次触发数量 [按小数位放大值]",
  31503. "type": "number"
  31504. },
  31505. "qtydecimalplace": {
  31506. "description": "成交量小数位",
  31507. "type": "integer"
  31508. },
  31509. "regularlycycle": {
  31510. "description": "定投频率 - 1:每周 2:每月",
  31511. "type": "integer"
  31512. },
  31513. "regularlycyclevalue": {
  31514. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  31515. "type": "string"
  31516. },
  31517. "regularlymode": {
  31518. "description": "定投方式 - 1:按数量 2:按金额",
  31519. "type": "integer"
  31520. },
  31521. "regularlymodevalue": {
  31522. "description": "定投方式值 - 数量或金额",
  31523. "type": "number"
  31524. },
  31525. "regularlystrategyid": {
  31526. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  31527. "type": "integer"
  31528. },
  31529. "regularlystrategystatus": {
  31530. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  31531. "type": "integer"
  31532. },
  31533. "remark": {
  31534. "description": "备注",
  31535. "type": "string"
  31536. },
  31537. "triggersuccesstimes": {
  31538. "description": "累计定投成功次数",
  31539. "type": "string"
  31540. },
  31541. "triggertotalamount": {
  31542. "description": "累计定投金额(成功)",
  31543. "type": "number"
  31544. },
  31545. "triggertotalqty": {
  31546. "description": "累计定投数量(成功) [按小数位放大值]",
  31547. "type": "number"
  31548. },
  31549. "triggertotaltimes": {
  31550. "description": "累计定投总次数",
  31551. "type": "string"
  31552. },
  31553. "updatesrc": {
  31554. "description": "更新来源 - 1:管理端 2:终端",
  31555. "type": "integer"
  31556. },
  31557. "updatetime": {
  31558. "description": "更新时间",
  31559. "type": "string"
  31560. },
  31561. "updatorid": {
  31562. "description": "更新人",
  31563. "type": "string"
  31564. },
  31565. "userid": {
  31566. "description": "所属用户ID",
  31567. "type": "integer"
  31568. },
  31569. "userinfotype": {
  31570. "description": "用户类型 1-个人 2-企业",
  31571. "type": "integer"
  31572. },
  31573. "username": {
  31574. "description": "用户名称(userid对应的名称)",
  31575. "type": "string"
  31576. }
  31577. }
  31578. },
  31579. "models.QhjReckonPriceLog": {
  31580. "type": "object",
  31581. "properties": {
  31582. "decimalplace": {
  31583. "description": "商品报价小数位",
  31584. "type": "integer"
  31585. },
  31586. "goodscode": {
  31587. "description": "商品代码",
  31588. "type": "string"
  31589. },
  31590. "goodsid": {
  31591. "description": "商品ID",
  31592. "type": "integer"
  31593. },
  31594. "goodsname": {
  31595. "description": "商品名称",
  31596. "type": "string"
  31597. },
  31598. "lastreckonprice": {
  31599. "description": "上日结算价",
  31600. "type": "number"
  31601. },
  31602. "nextdnlimitprice": {
  31603. "description": "下个交易日跌停价",
  31604. "type": "number"
  31605. },
  31606. "nexttrade": {
  31607. "description": "下个交易日",
  31608. "type": "string"
  31609. },
  31610. "nextuplimitprice": {
  31611. "description": "下个交易日涨停价",
  31612. "type": "number"
  31613. },
  31614. "reckonprice": {
  31615. "description": "今日结算价(定投价)",
  31616. "type": "number"
  31617. },
  31618. "reckontime": {
  31619. "description": "结算时间",
  31620. "type": "string"
  31621. },
  31622. "totalholderqty": {
  31623. "description": "总持仓数",
  31624. "type": "integer"
  31625. },
  31626. "totalstock": {
  31627. "description": "总库存",
  31628. "type": "integer"
  31629. },
  31630. "tradedate": {
  31631. "description": "交易日",
  31632. "type": "string"
  31633. },
  31634. "updowncount": {
  31635. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  31636. "type": "integer"
  31637. },
  31638. "updownflag": {
  31639. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  31640. "type": "integer"
  31641. },
  31642. "updownrate": {
  31643. "description": "今日涨跌幅",
  31644. "type": "number"
  31645. },
  31646. "updownrate_2d": {
  31647. "description": "连续两日涨跌幅",
  31648. "type": "number"
  31649. },
  31650. "updownrate_3d": {
  31651. "description": "连续三日涨跌幅",
  31652. "type": "number"
  31653. }
  31654. }
  31655. },
  31656. "models.QhjScoreLog": {
  31657. "type": "object",
  31658. "properties": {
  31659. "accountid": {
  31660. "description": "账户ID",
  31661. "type": "integer"
  31662. },
  31663. "createtime": {
  31664. "description": "创建时间(时间)",
  31665. "type": "string"
  31666. },
  31667. "goodsid": {
  31668. "description": "商品ID",
  31669. "type": "integer"
  31670. },
  31671. "hasuploaded": {
  31672. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31673. "type": "integer"
  31674. },
  31675. "logid": {
  31676. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31677. "type": "string"
  31678. },
  31679. "marketid": {
  31680. "description": "市场ID",
  31681. "type": "integer"
  31682. },
  31683. "relatedamount": {
  31684. "description": "关联金额",
  31685. "type": "number"
  31686. },
  31687. "relatedorderid": {
  31688. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31689. "type": "string"
  31690. },
  31691. "scoreconfigvalue1": {
  31692. "description": "积分配置1",
  31693. "type": "integer"
  31694. },
  31695. "scoreconfigvalue2": {
  31696. "description": "积分配置1",
  31697. "type": "integer"
  31698. },
  31699. "scoretype": {
  31700. "description": "积分类型 - 1:提货积分",
  31701. "type": "integer"
  31702. },
  31703. "scorevalue": {
  31704. "description": "积分",
  31705. "type": "number"
  31706. },
  31707. "tradedate": {
  31708. "description": "交易日(yyyyMMdd)",
  31709. "type": "string"
  31710. },
  31711. "uploadedtime": {
  31712. "description": "同步时间",
  31713. "type": "string"
  31714. },
  31715. "userid": {
  31716. "description": "用户ID",
  31717. "type": "integer"
  31718. }
  31719. }
  31720. },
  31721. "models.QhjSiteColumnDetail": {
  31722. "type": "object",
  31723. "properties": {
  31724. "author": {
  31725. "description": "作者",
  31726. "type": "string"
  31727. },
  31728. "brief": {
  31729. "description": "简介",
  31730. "type": "string"
  31731. },
  31732. "columnid": {
  31733. "description": "所属栏目",
  31734. "type": "integer"
  31735. },
  31736. "context": {
  31737. "description": "内容",
  31738. "type": "string"
  31739. },
  31740. "coverimage": {
  31741. "description": "封面图片",
  31742. "type": "string"
  31743. },
  31744. "creaedate": {
  31745. "description": "创建时间",
  31746. "type": "string"
  31747. },
  31748. "creatorid": {
  31749. "description": "创建人",
  31750. "type": "integer"
  31751. },
  31752. "hits": {
  31753. "description": "点击数",
  31754. "type": "integer"
  31755. },
  31756. "id": {
  31757. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31758. "type": "integer"
  31759. },
  31760. "isshow": {
  31761. "description": "是否展示 - 0:不展示 1:展示",
  31762. "type": "integer"
  31763. },
  31764. "istop": {
  31765. "description": "是否置顶 - 0:不置 1:置顶",
  31766. "type": "integer"
  31767. },
  31768. "modifierid": {
  31769. "description": "操作人",
  31770. "type": "integer"
  31771. },
  31772. "publishdate": {
  31773. "description": "发布日期",
  31774. "type": "string"
  31775. },
  31776. "status": {
  31777. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31778. "type": "integer"
  31779. },
  31780. "title": {
  31781. "description": "标题",
  31782. "type": "string"
  31783. },
  31784. "updatedate": {
  31785. "description": "修改时间",
  31786. "type": "string"
  31787. },
  31788. "userid": {
  31789. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31790. "type": "integer"
  31791. },
  31792. "username": {
  31793. "description": "用户名称",
  31794. "type": "string"
  31795. }
  31796. }
  31797. },
  31798. "models.QhjTeamOrder": {
  31799. "type": "object",
  31800. "properties": {
  31801. "accountid": {
  31802. "description": "账户ID[报价币种]",
  31803. "type": "integer"
  31804. },
  31805. "accountname": {
  31806. "description": "账户名称",
  31807. "type": "string"
  31808. },
  31809. "agreeunit": {
  31810. "description": "合约乘数",
  31811. "type": "number"
  31812. },
  31813. "buyorsell": {
  31814. "description": "方向 - 0:买 1:卖",
  31815. "type": "integer"
  31816. },
  31817. "decimalplace": {
  31818. "description": "报价小数位",
  31819. "type": "integer"
  31820. },
  31821. "enumdicname": {
  31822. "description": "单位名称",
  31823. "type": "string"
  31824. },
  31825. "goodscode": {
  31826. "description": "商品代码(内部)",
  31827. "type": "string"
  31828. },
  31829. "goodsid": {
  31830. "description": "商品ID",
  31831. "type": "integer"
  31832. },
  31833. "goodsname": {
  31834. "description": "商品名称",
  31835. "type": "string"
  31836. },
  31837. "goodunitid": {
  31838. "description": "报价单位ID",
  31839. "type": "integer"
  31840. },
  31841. "marketid": {
  31842. "description": "市场ID",
  31843. "type": "integer"
  31844. },
  31845. "marketname": {
  31846. "description": "市场名称",
  31847. "type": "string"
  31848. },
  31849. "qtydecimalplace": {
  31850. "description": "成交量小数位",
  31851. "type": "integer"
  31852. },
  31853. "refereeuserid": {
  31854. "description": "推荐人ID",
  31855. "type": "integer"
  31856. },
  31857. "tradeamount": {
  31858. "description": "成交金额[账户币种,用于所有权]",
  31859. "type": "number"
  31860. },
  31861. "tradedate": {
  31862. "description": "交易日(yyyyMMdd)",
  31863. "type": "string"
  31864. },
  31865. "trademode": {
  31866. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31867. "type": "integer"
  31868. },
  31869. "tradeprice": {
  31870. "description": "成交价格",
  31871. "type": "number"
  31872. },
  31873. "tradeqty": {
  31874. "description": "成交数量",
  31875. "type": "number"
  31876. },
  31877. "tradetime": {
  31878. "description": "成交时间",
  31879. "type": "string"
  31880. },
  31881. "userid": {
  31882. "description": "用户ID",
  31883. "type": "integer"
  31884. }
  31885. }
  31886. },
  31887. "models.QhjTradeGoodsPickup": {
  31888. "type": "object",
  31889. "properties": {
  31890. "accountid": {
  31891. "description": "账户ID",
  31892. "type": "integer"
  31893. },
  31894. "address": {
  31895. "description": "提货人详细地址",
  31896. "type": "string"
  31897. },
  31898. "amount": {
  31899. "description": "提货金额",
  31900. "type": "number"
  31901. },
  31902. "artradedate": {
  31903. "description": "自动收货交易日(yyyyMMdd)",
  31904. "type": "string"
  31905. },
  31906. "auditer": {
  31907. "description": "审核人",
  31908. "type": "integer"
  31909. },
  31910. "auditsrc": {
  31911. "description": "更新来源 - 1:管理端 2:终端",
  31912. "type": "integer"
  31913. },
  31914. "audittime": {
  31915. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31916. "type": "string"
  31917. },
  31918. "audittradedate": {
  31919. "description": "审核交易日(yyyyMMdd)",
  31920. "type": "string"
  31921. },
  31922. "cardnum": {
  31923. "description": "提货人证件号码",
  31924. "type": "string"
  31925. },
  31926. "cardtypeid": {
  31927. "description": "提货人证件类型",
  31928. "type": "integer"
  31929. },
  31930. "checkremark": {
  31931. "description": "审核备注",
  31932. "type": "string"
  31933. },
  31934. "cityid": {
  31935. "description": "市",
  31936. "type": "integer"
  31937. },
  31938. "cityname": {
  31939. "description": "城市名称",
  31940. "type": "string"
  31941. },
  31942. "confirmtime": {
  31943. "description": "取货时间 或 收货时间",
  31944. "type": "string"
  31945. },
  31946. "countryid": {
  31947. "description": "国家",
  31948. "type": "integer"
  31949. },
  31950. "countryname": {
  31951. "description": "国家名称",
  31952. "type": "string"
  31953. },
  31954. "decimalplace": {
  31955. "description": "商品报价小数位",
  31956. "type": "integer"
  31957. },
  31958. "districtid": {
  31959. "description": "地区",
  31960. "type": "integer"
  31961. },
  31962. "districtname": {
  31963. "description": "地区名称",
  31964. "type": "string"
  31965. },
  31966. "enumdicname": {
  31967. "description": "单位名称(提货商品)",
  31968. "type": "string"
  31969. },
  31970. "expresscompany": {
  31971. "description": "物流公司",
  31972. "type": "string"
  31973. },
  31974. "expressnum": {
  31975. "description": "物流单号",
  31976. "type": "string"
  31977. },
  31978. "goodsagreeunit": {
  31979. "description": "交易商品乘数",
  31980. "type": "number"
  31981. },
  31982. "goodscode": {
  31983. "description": "商品代码",
  31984. "type": "string"
  31985. },
  31986. "goodsid": {
  31987. "description": "商品ID",
  31988. "type": "integer"
  31989. },
  31990. "goodsname": {
  31991. "description": "商品名称",
  31992. "type": "string"
  31993. },
  31994. "goodsqty": {
  31995. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31996. "type": "number"
  31997. },
  31998. "handlestatus": {
  31999. "description": "处理状态",
  32000. "type": "integer"
  32001. },
  32002. "logincode": {
  32003. "description": "账号(登录代码, 有可能为空)",
  32004. "type": "string"
  32005. },
  32006. "marketid": {
  32007. "description": "市场ID",
  32008. "type": "integer"
  32009. },
  32010. "phonenum": {
  32011. "description": "提货人联系方式",
  32012. "type": "string"
  32013. },
  32014. "pickupgoodsagreeunit": {
  32015. "description": "提货商品合约乘数",
  32016. "type": "number"
  32017. },
  32018. "pickupgoodsid": {
  32019. "description": "提货商品ID",
  32020. "type": "string"
  32021. },
  32022. "pickupgoodsname": {
  32023. "description": "提货商品名称",
  32024. "type": "string"
  32025. },
  32026. "pickupgoodsqty": {
  32027. "description": "提货商品手数(数量)",
  32028. "type": "number"
  32029. },
  32030. "pickupgoodsunitid": {
  32031. "description": "单位ID(提货商品)",
  32032. "type": "integer"
  32033. },
  32034. "pickupratio": {
  32035. "description": "提货系数",
  32036. "type": "number"
  32037. },
  32038. "preparedays": {
  32039. "description": "备货期(天)-提货单明细表",
  32040. "type": "integer"
  32041. },
  32042. "provinceid": {
  32043. "description": "省",
  32044. "type": "integer"
  32045. },
  32046. "provincename": {
  32047. "description": "省名称",
  32048. "type": "string"
  32049. },
  32050. "qty": {
  32051. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  32052. "type": "number"
  32053. },
  32054. "qtydecimalplace": {
  32055. "description": "商品数量小数位",
  32056. "type": "integer"
  32057. },
  32058. "recivername": {
  32059. "description": "提货人姓名",
  32060. "type": "string"
  32061. },
  32062. "reqtime": {
  32063. "description": "提货申请时间",
  32064. "type": "string"
  32065. },
  32066. "storeuserid": {
  32067. "description": "门店用户ID (千海金)",
  32068. "type": "integer"
  32069. },
  32070. "storeusername": {
  32071. "description": "门店用户名称",
  32072. "type": "string"
  32073. },
  32074. "takemode": {
  32075. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  32076. "type": "integer"
  32077. },
  32078. "takeorderid": {
  32079. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  32080. "type": "string"
  32081. },
  32082. "takeorderstatus": {
  32083. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  32084. "type": "integer"
  32085. },
  32086. "takeremark": {
  32087. "description": "提货备注",
  32088. "type": "string"
  32089. },
  32090. "tradedate": {
  32091. "description": "交易日(yyyyMMdd)",
  32092. "type": "string"
  32093. },
  32094. "updatetime": {
  32095. "description": "更新时间",
  32096. "type": "string"
  32097. },
  32098. "userid": {
  32099. "description": "用户ID",
  32100. "type": "integer"
  32101. },
  32102. "userinfotype": {
  32103. "description": "客户类型 1-个人 2-企业",
  32104. "type": "integer"
  32105. },
  32106. "username": {
  32107. "description": "用户名称",
  32108. "type": "string"
  32109. }
  32110. }
  32111. },
  32112. "models.QhjUserNodeCfgAndStatus": {
  32113. "type": "object",
  32114. "properties": {
  32115. "agreementcontent": {
  32116. "description": "协议内容",
  32117. "type": "string"
  32118. },
  32119. "agreementid": {
  32120. "description": "协议ID",
  32121. "type": "integer"
  32122. },
  32123. "agreementname": {
  32124. "description": "协议名称",
  32125. "type": "string"
  32126. },
  32127. "agreementno": {
  32128. "description": "协议编号",
  32129. "type": "string"
  32130. },
  32131. "agreementtype": {
  32132. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32133. "type": "integer"
  32134. },
  32135. "agreementversion": {
  32136. "description": "协议版本号",
  32137. "type": "integer"
  32138. },
  32139. "configid": {
  32140. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  32141. "type": "integer"
  32142. },
  32143. "createtime": {
  32144. "description": "创建时间",
  32145. "type": "string"
  32146. },
  32147. "goodsid": {
  32148. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32149. "type": "integer"
  32150. },
  32151. "nodetype": {
  32152. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32153. "type": "integer"
  32154. },
  32155. "signtimestamp": {
  32156. "description": "签约状态时间戳(最近一次)",
  32157. "type": "string"
  32158. },
  32159. "tradedate": {
  32160. "description": "签约交易日(yyyyMMdd)",
  32161. "type": "string"
  32162. },
  32163. "userid": {
  32164. "description": "客户ID",
  32165. "type": "integer"
  32166. }
  32167. }
  32168. },
  32169. "models.Qhjgoodsex": {
  32170. "type": "object",
  32171. "properties": {
  32172. "canfinance": {
  32173. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  32174. "type": "integer"
  32175. },
  32176. "canregularlybuy": {
  32177. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  32178. "type": "integer"
  32179. },
  32180. "defaulttradeuserid": {
  32181. "description": "默认交易用户ID",
  32182. "type": "integer"
  32183. },
  32184. "deliverygoodsid": {
  32185. "description": "现货品种ID",
  32186. "type": "integer"
  32187. },
  32188. "goodsid": {
  32189. "description": "商品ID(自增ID SEQ_GOODS)",
  32190. "type": "integer"
  32191. },
  32192. "minamount": {
  32193. "description": "最小购买金额",
  32194. "type": "number"
  32195. },
  32196. "regularlybuyminamount": {
  32197. "description": "定投最小金额",
  32198. "type": "number"
  32199. },
  32200. "regularlybuyminqty": {
  32201. "description": "定投最小数量",
  32202. "type": "number"
  32203. },
  32204. "spotgoodsbrandid": {
  32205. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  32206. "type": "integer"
  32207. },
  32208. "visibilityforenterprise": {
  32209. "description": "企业客户是否可见 - 0:不可见 1:可见",
  32210. "type": "integer"
  32211. },
  32212. "visibilityforpersonal": {
  32213. "description": "个人客户是否可见 - 0:不可见 1:可见",
  32214. "type": "integer"
  32215. },
  32216. "wrstandardid": {
  32217. "description": "现货商品ID",
  32218. "type": "integer"
  32219. }
  32220. }
  32221. },
  32222. "models.QueryErrorInfosRsp": {
  32223. "type": "object",
  32224. "required": [
  32225. "errorid"
  32226. ],
  32227. "properties": {
  32228. "description": {
  32229. "description": "异常描述",
  32230. "type": "string"
  32231. },
  32232. "errorcode": {
  32233. "description": "异常代码",
  32234. "type": "string"
  32235. },
  32236. "errorid": {
  32237. "description": "异常ID",
  32238. "type": "integer"
  32239. },
  32240. "modulecode": {
  32241. "description": "所属模块",
  32242. "type": "string"
  32243. },
  32244. "operatecode": {
  32245. "description": "所属操作",
  32246. "type": "string"
  32247. },
  32248. "rownumber": {
  32249. "description": "行号",
  32250. "type": "string"
  32251. }
  32252. }
  32253. },
  32254. "models.QueryHedgeOrderDetailRsp": {
  32255. "type": "object",
  32256. "properties": {
  32257. "accountid": {
  32258. "description": "账户ID",
  32259. "type": "integer"
  32260. },
  32261. "buyorsell": {
  32262. "description": "买卖 - 0:买 1:卖",
  32263. "type": "integer"
  32264. },
  32265. "cancellogincode": {
  32266. "description": "撤单人",
  32267. "type": "string"
  32268. },
  32269. "channelbuildtype": {
  32270. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  32271. "type": "integer"
  32272. },
  32273. "channelinnerorderstatus": {
  32274. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  32275. "type": "integer"
  32276. },
  32277. "channeloperatetype": {
  32278. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  32279. "type": "integer"
  32280. },
  32281. "closetype": {
  32282. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  32283. "type": "integer"
  32284. },
  32285. "curexchangerate": {
  32286. "description": "当前汇率",
  32287. "type": "number"
  32288. },
  32289. "decimalplace": {
  32290. "description": "商品报价小数位",
  32291. "type": "integer"
  32292. },
  32293. "exchangefullname": {
  32294. "description": "外部交易所全称",
  32295. "type": "string"
  32296. },
  32297. "goodscode": {
  32298. "description": "商品代码(内部)",
  32299. "type": "string"
  32300. },
  32301. "goodsid": {
  32302. "description": "商品ID",
  32303. "type": "integer"
  32304. },
  32305. "goodsname": {
  32306. "description": "商品名称",
  32307. "type": "string"
  32308. },
  32309. "marketid": {
  32310. "description": "市场ID",
  32311. "type": "integer"
  32312. },
  32313. "openfreezemargin": {
  32314. "description": "冻结保证金(冻结交易金额)",
  32315. "type": "number"
  32316. },
  32317. "orderid": {
  32318. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32319. "type": "string"
  32320. },
  32321. "orderlogincode": {
  32322. "description": "委托人",
  32323. "type": "string"
  32324. },
  32325. "orderprice": {
  32326. "description": "委托价格(账户)",
  32327. "type": "number"
  32328. },
  32329. "orderqty": {
  32330. "description": "委托数量",
  32331. "type": "integer"
  32332. },
  32333. "ordertime": {
  32334. "description": "委托时间",
  32335. "type": "string"
  32336. },
  32337. "pricemode": {
  32338. "description": "取价方式 - 1:市价 2: 限价",
  32339. "type": "integer"
  32340. },
  32341. "tradedate": {
  32342. "description": "交易日(yyyyMMdd)",
  32343. "type": "string"
  32344. },
  32345. "tradeqty": {
  32346. "description": "成交数量",
  32347. "type": "integer"
  32348. }
  32349. }
  32350. },
  32351. "models.QueryHedgeTradeDetailRsp": {
  32352. "type": "object",
  32353. "properties": {
  32354. "accountid": {
  32355. "description": "账号ID",
  32356. "type": "integer"
  32357. },
  32358. "buyorsell": {
  32359. "description": "方向 - 0:买 1:卖",
  32360. "type": "integer"
  32361. },
  32362. "channelbuildtype": {
  32363. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  32364. "type": "integer"
  32365. },
  32366. "closecharge": {
  32367. "description": "平仓手续费(账户)",
  32368. "type": "number"
  32369. },
  32370. "closecharge2": {
  32371. "description": "平仓手续费(商品)",
  32372. "type": "number"
  32373. },
  32374. "closepl": {
  32375. "description": "平仓盈亏(账户)",
  32376. "type": "number"
  32377. },
  32378. "closepl2": {
  32379. "description": "平仓盈亏(商品)",
  32380. "type": "number"
  32381. },
  32382. "closepl3": {
  32383. "description": "平仓盈亏(账户)(逐笔)",
  32384. "type": "number"
  32385. },
  32386. "closepl4": {
  32387. "description": "平仓盈亏(商品)(逐笔)",
  32388. "type": "number"
  32389. },
  32390. "closetype": {
  32391. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  32392. "type": "integer"
  32393. },
  32394. "curexchangerate": {
  32395. "description": "当前汇率",
  32396. "type": "number"
  32397. },
  32398. "decimalplace": {
  32399. "description": "商品报价小数位",
  32400. "type": "integer"
  32401. },
  32402. "exchangefullname": {
  32403. "description": "外部交易所全称",
  32404. "type": "string"
  32405. },
  32406. "goodscode": {
  32407. "description": "商品代码(内部)",
  32408. "type": "string"
  32409. },
  32410. "goodsid": {
  32411. "description": "商品ID",
  32412. "type": "integer"
  32413. },
  32414. "goodsname": {
  32415. "description": "商品名称",
  32416. "type": "string"
  32417. },
  32418. "marketid": {
  32419. "description": "市场ID",
  32420. "type": "integer"
  32421. },
  32422. "opencharge": {
  32423. "description": "建仓手续费(账户)",
  32424. "type": "number"
  32425. },
  32426. "opencharge2": {
  32427. "description": "建仓手续费(商品)",
  32428. "type": "number"
  32429. },
  32430. "orderid": {
  32431. "description": "委托单号",
  32432. "type": "string"
  32433. },
  32434. "orderlogincode": {
  32435. "description": "委托人",
  32436. "type": "string"
  32437. },
  32438. "tradeamount": {
  32439. "description": "成交金额(账户)",
  32440. "type": "number"
  32441. },
  32442. "tradedate": {
  32443. "description": "交易日(yyyyMMdd)",
  32444. "type": "string"
  32445. },
  32446. "tradeid": {
  32447. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32448. "type": "string"
  32449. },
  32450. "tradeprice": {
  32451. "description": "成交价格",
  32452. "type": "number"
  32453. },
  32454. "tradeqty": {
  32455. "description": "成交数量",
  32456. "type": "integer"
  32457. },
  32458. "tradetime": {
  32459. "description": "成交时间",
  32460. "type": "string"
  32461. },
  32462. "tradetype": {
  32463. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  32464. "type": "integer"
  32465. }
  32466. }
  32467. },
  32468. "models.QuotePrimaryMenu": {
  32469. "type": "object",
  32470. "properties": {
  32471. "Index": {
  32472. "description": "序号",
  32473. "type": "integer"
  32474. },
  32475. "Key": {
  32476. "description": "键名",
  32477. "type": "string"
  32478. },
  32479. "Name": {
  32480. "description": "菜单名称",
  32481. "type": "string"
  32482. },
  32483. "SubMenus": {
  32484. "description": "子菜单",
  32485. "type": "array",
  32486. "items": {
  32487. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  32488. }
  32489. },
  32490. "SubTitleType": {
  32491. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  32492. "type": "integer"
  32493. },
  32494. "TradeModes": {
  32495. "description": "包含市场交易类型",
  32496. "type": "string"
  32497. }
  32498. }
  32499. },
  32500. "models.QuoteSecondaryMenu": {
  32501. "type": "object",
  32502. "properties": {
  32503. "ExExchangeCode": {
  32504. "description": "外部交易所代码",
  32505. "type": "string"
  32506. },
  32507. "ExExchangeID": {
  32508. "description": "外部交易所ID",
  32509. "type": "integer"
  32510. },
  32511. "GoodsGroupIDs": {
  32512. "description": "商品组ID列表",
  32513. "type": "array",
  32514. "items": {
  32515. "type": "integer"
  32516. }
  32517. },
  32518. "Index": {
  32519. "description": "序号",
  32520. "type": "integer"
  32521. },
  32522. "MarketID": {
  32523. "description": "市场ID",
  32524. "type": "integer"
  32525. },
  32526. "MenuTitle": {
  32527. "description": "菜单标题(市场名称或外部交易所名称)",
  32528. "type": "string"
  32529. },
  32530. "TradeMode": {
  32531. "description": "交易模式",
  32532. "type": "integer"
  32533. }
  32534. }
  32535. },
  32536. "models.RoleMenu": {
  32537. "type": "object",
  32538. "properties": {
  32539. "hasright": {
  32540. "description": "是否有权限 0-没有权限 1-有权限",
  32541. "type": "integer"
  32542. },
  32543. "iconame": {
  32544. "description": "菜单图标",
  32545. "type": "string"
  32546. },
  32547. "menutype": {
  32548. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  32549. "type": "integer"
  32550. },
  32551. "parentcode": {
  32552. "description": "上级资源代码",
  32553. "type": "string"
  32554. },
  32555. "remark": {
  32556. "description": "菜单备注",
  32557. "type": "string"
  32558. },
  32559. "resourcecode": {
  32560. "description": "菜单代码",
  32561. "type": "string"
  32562. },
  32563. "resourcelevel": {
  32564. "description": "级别",
  32565. "type": "integer"
  32566. },
  32567. "resourcename": {
  32568. "description": "菜单名称",
  32569. "type": "string"
  32570. },
  32571. "roleid": {
  32572. "description": "角色id",
  32573. "type": "integer"
  32574. },
  32575. "sort": {
  32576. "description": "排序",
  32577. "type": "integer"
  32578. },
  32579. "subMenu": {
  32580. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  32581. "type": "array",
  32582. "items": {
  32583. "$ref": "#/definitions/models.RoleMenu"
  32584. }
  32585. },
  32586. "url": {
  32587. "description": "URL",
  32588. "type": "string"
  32589. },
  32590. "userid": {
  32591. "description": "用户id",
  32592. "type": "integer"
  32593. }
  32594. }
  32595. },
  32596. "models.SearchGoods": {
  32597. "type": "object",
  32598. "required": [
  32599. "goodscode",
  32600. "goodsid",
  32601. "goodsname",
  32602. "marketid",
  32603. "trademode"
  32604. ],
  32605. "properties": {
  32606. "goodscode": {
  32607. "description": "商品代码(内部)",
  32608. "type": "string"
  32609. },
  32610. "goodsid": {
  32611. "description": "商品ID(自增ID SEQ_GOODS)",
  32612. "type": "integer"
  32613. },
  32614. "goodsname": {
  32615. "description": "商品名称",
  32616. "type": "string"
  32617. },
  32618. "marketid": {
  32619. "description": "所属市场ID",
  32620. "type": "integer"
  32621. },
  32622. "marketname": {
  32623. "description": "市场名称",
  32624. "type": "string"
  32625. },
  32626. "trademode": {
  32627. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32628. "type": "integer"
  32629. }
  32630. }
  32631. },
  32632. "models.Systemparam": {
  32633. "type": "object",
  32634. "required": [
  32635. "paramcode"
  32636. ],
  32637. "properties": {
  32638. "loginid": {
  32639. "description": "更新用户账号,登录账号",
  32640. "type": "string"
  32641. },
  32642. "modifyflag": {
  32643. "description": "修改标志0 不允许修改 1 允许修改",
  32644. "type": "integer"
  32645. },
  32646. "paramcode": {
  32647. "description": "参数代码",
  32648. "type": "string"
  32649. },
  32650. "paramname": {
  32651. "description": "参数名",
  32652. "type": "string"
  32653. },
  32654. "paramtype": {
  32655. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  32656. "type": "integer"
  32657. },
  32658. "paramvalue": {
  32659. "description": "参数值",
  32660. "type": "string"
  32661. },
  32662. "paramvalue2": {
  32663. "description": "参数值(CLOB)",
  32664. "type": "string"
  32665. },
  32666. "regexpress": {
  32667. "description": "正则表达式",
  32668. "type": "string"
  32669. },
  32670. "remark": {
  32671. "description": "备注",
  32672. "type": "string"
  32673. },
  32674. "serverip": {
  32675. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32676. "type": "string"
  32677. },
  32678. "showflag": {
  32679. "description": "是否显示0 不显示 1 显示",
  32680. "type": "integer"
  32681. },
  32682. "updatetime": {
  32683. "description": "更新时间",
  32684. "type": "string"
  32685. },
  32686. "userid": {
  32687. "description": "更新用户ID",
  32688. "type": "integer"
  32689. }
  32690. }
  32691. },
  32692. "models.Szdz3convertconfig": {
  32693. "type": "object",
  32694. "required": [
  32695. "converttype",
  32696. "innergoodsid",
  32697. "outergoodscode"
  32698. ],
  32699. "properties": {
  32700. "canin": {
  32701. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32702. "type": "integer"
  32703. },
  32704. "canout": {
  32705. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32706. "type": "integer"
  32707. },
  32708. "converttype": {
  32709. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32710. "type": "integer"
  32711. },
  32712. "createtime": {
  32713. "description": "创建时间",
  32714. "type": "string"
  32715. },
  32716. "creatorid": {
  32717. "description": "创建人",
  32718. "type": "integer"
  32719. },
  32720. "daymaxvalue": {
  32721. "description": "当日最大转入限制",
  32722. "type": "number"
  32723. },
  32724. "freezedays": {
  32725. "description": "冻结天数 [5:花生米转交易]",
  32726. "type": "integer"
  32727. },
  32728. "innergoodsid": {
  32729. "description": "内部商品ID[交易]",
  32730. "type": "integer"
  32731. },
  32732. "inratio": {
  32733. "description": "目标值",
  32734. "type": "integer"
  32735. },
  32736. "modifierid": {
  32737. "description": "修改人",
  32738. "type": "integer"
  32739. },
  32740. "modifytime": {
  32741. "description": "修改时间",
  32742. "type": "string"
  32743. },
  32744. "outergoodscode": {
  32745. "description": "外部商品代码[JD\\PD]",
  32746. "type": "string"
  32747. },
  32748. "outratio": {
  32749. "description": "源值",
  32750. "type": "integer"
  32751. },
  32752. "pddecimalplace": {
  32753. "description": "PD小数位",
  32754. "type": "integer"
  32755. },
  32756. "timemaxvalue": {
  32757. "description": "单次最大转入限制",
  32758. "type": "number"
  32759. },
  32760. "timeminvalue": {
  32761. "description": "单次最小转入限制",
  32762. "type": "number"
  32763. }
  32764. }
  32765. },
  32766. "models.Szdz3searchwhitelist": {
  32767. "type": "object",
  32768. "required": [
  32769. "userid"
  32770. ],
  32771. "properties": {
  32772. "createtime": {
  32773. "description": "创建时间",
  32774. "type": "string"
  32775. },
  32776. "creatorid": {
  32777. "description": "创建人",
  32778. "type": "integer"
  32779. },
  32780. "modifierid": {
  32781. "description": "修改人",
  32782. "type": "integer"
  32783. },
  32784. "modifytime": {
  32785. "description": "修改时间",
  32786. "type": "string"
  32787. },
  32788. "userid": {
  32789. "description": "用户ID",
  32790. "type": "integer"
  32791. }
  32792. }
  32793. },
  32794. "models.TBGoods": {
  32795. "type": "object",
  32796. "properties": {
  32797. "agreeunit": {
  32798. "description": "合约乘数",
  32799. "type": "number"
  32800. },
  32801. "enumdicname": {
  32802. "description": "单位名称",
  32803. "type": "string"
  32804. },
  32805. "goodscode": {
  32806. "description": "商品代码(内部)",
  32807. "type": "string"
  32808. },
  32809. "goodsid": {
  32810. "description": "商品ID(自增ID SEQ_GOODS)",
  32811. "type": "integer"
  32812. },
  32813. "goodsname": {
  32814. "description": "商品名称",
  32815. "type": "string"
  32816. }
  32817. }
  32818. },
  32819. "models.TBGoodsGroup": {
  32820. "type": "object",
  32821. "properties": {
  32822. "GDLST": {
  32823. "description": "商品列表",
  32824. "type": "array",
  32825. "items": {
  32826. "$ref": "#/definitions/models.TBGoods"
  32827. }
  32828. },
  32829. "convertratio": {
  32830. "description": "折算系数",
  32831. "type": "number"
  32832. },
  32833. "enumdicname": {
  32834. "description": "单位名称",
  32835. "type": "string"
  32836. },
  32837. "exexchangecode": {
  32838. "description": "交易所代码",
  32839. "type": "string"
  32840. },
  32841. "exexchangename": {
  32842. "description": "交易所名称",
  32843. "type": "string"
  32844. },
  32845. "goodsgroupid": {
  32846. "description": "商品组ID(自增ID)",
  32847. "type": "integer"
  32848. },
  32849. "goodsgroupname": {
  32850. "description": "商品组名称",
  32851. "type": "string"
  32852. },
  32853. "goodunitid": {
  32854. "description": "报价单位ID",
  32855. "type": "integer"
  32856. }
  32857. }
  32858. },
  32859. "models.TBMiddleGoods": {
  32860. "type": "object",
  32861. "properties": {
  32862. "GPLST": {
  32863. "description": "期货品种列表",
  32864. "type": "array",
  32865. "items": {
  32866. "$ref": "#/definitions/models.TBGoodsGroup"
  32867. }
  32868. },
  32869. "WDLST": {
  32870. "description": "商品信息列表(现货品类)",
  32871. "type": "array",
  32872. "items": {
  32873. "$ref": "#/definitions/models.TBWrstandard"
  32874. }
  32875. },
  32876. "areauserid": {
  32877. "description": "机构用户ID",
  32878. "type": "integer"
  32879. },
  32880. "enumdicname": {
  32881. "description": "单位名称",
  32882. "type": "string"
  32883. },
  32884. "goodsunitid": {
  32885. "description": "套保品种单位id",
  32886. "type": "integer"
  32887. },
  32888. "middlegoodscode": {
  32889. "description": "套保品种代码",
  32890. "type": "string"
  32891. },
  32892. "middlegoodsid": {
  32893. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32894. "type": "integer"
  32895. },
  32896. "middlegoodsname": {
  32897. "description": "套保品种名称",
  32898. "type": "string"
  32899. },
  32900. "needarbitrageratio": {
  32901. "description": "套利比率",
  32902. "type": "number"
  32903. },
  32904. "needhedgeratio": {
  32905. "description": "套保比率",
  32906. "type": "number"
  32907. }
  32908. }
  32909. },
  32910. "models.TBWrstandard": {
  32911. "type": "object",
  32912. "properties": {
  32913. "convertratio": {
  32914. "description": "折算系数",
  32915. "type": "number"
  32916. },
  32917. "deliverygoodsname": {
  32918. "description": "品种名称",
  32919. "type": "string"
  32920. },
  32921. "enumdicname": {
  32922. "description": "单位名称",
  32923. "type": "string"
  32924. },
  32925. "vatrate": {
  32926. "description": "增值税率",
  32927. "type": "number"
  32928. },
  32929. "wrstandardcode": {
  32930. "description": "现货商品代码",
  32931. "type": "string"
  32932. },
  32933. "wrstandardid": {
  32934. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32935. "type": "integer"
  32936. },
  32937. "wrstandardname": {
  32938. "description": "现货商品名称",
  32939. "type": "string"
  32940. }
  32941. }
  32942. },
  32943. "models.Taaccount": {
  32944. "type": "object",
  32945. "required": [
  32946. "accountid",
  32947. "userid"
  32948. ],
  32949. "properties": {
  32950. "accountflag": {
  32951. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32952. "type": "integer"
  32953. },
  32954. "accountid": {
  32955. "description": "资金账户ID",
  32956. "type": "integer"
  32957. },
  32958. "accountname": {
  32959. "description": "账户名称",
  32960. "type": "string"
  32961. },
  32962. "balance": {
  32963. "description": "期初余额",
  32964. "type": "number"
  32965. },
  32966. "capitalbalance": {
  32967. "description": "本金余额[外部子账户实际出入金余额]",
  32968. "type": "number"
  32969. },
  32970. "changeflag": {
  32971. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32972. "type": "integer"
  32973. },
  32974. "changetime": {
  32975. "description": "账户状态变更时间",
  32976. "type": "string"
  32977. },
  32978. "closepl": {
  32979. "description": "今日平仓盈亏",
  32980. "type": "number"
  32981. },
  32982. "creditdecrease": {
  32983. "description": "今日授信减少",
  32984. "type": "number"
  32985. },
  32986. "creditincrease": {
  32987. "description": "今日授信增加",
  32988. "type": "number"
  32989. },
  32990. "curamount": {
  32991. "description": "总市值(从持仓中统计)",
  32992. "type": "number"
  32993. },
  32994. "currencyid": {
  32995. "description": "货币ID",
  32996. "type": "integer"
  32997. },
  32998. "currentbalance": {
  32999. "description": "期末余额",
  33000. "type": "number"
  33001. },
  33002. "freezecharge": {
  33003. "description": "手续费冻结",
  33004. "type": "number"
  33005. },
  33006. "freezemargin": {
  33007. "description": "冻结保证金",
  33008. "type": "number"
  33009. },
  33010. "fromaccountid": {
  33011. "description": "所属上级账户",
  33012. "type": "integer"
  33013. },
  33014. "inamount": {
  33015. "description": "今日入金金额(包括三方入金)",
  33016. "type": "number"
  33017. },
  33018. "ismain": {
  33019. "description": "是否母账号 0:不是母账户 1:是母账户",
  33020. "type": "integer"
  33021. },
  33022. "ismarketaccount": {
  33023. "description": "是否机构接单账号 0:不是 1:是",
  33024. "type": "integer"
  33025. },
  33026. "isreckonaccount": {
  33027. "description": "是否机构分润账号 0:不是 1:是",
  33028. "type": "integer"
  33029. },
  33030. "mortgagecredit": {
  33031. "description": "授信金额",
  33032. "type": "number"
  33033. },
  33034. "orifreezecharge": {
  33035. "description": "期初手续费冻结",
  33036. "type": "number"
  33037. },
  33038. "orifreezemargin": {
  33039. "description": "期初冻结保证金",
  33040. "type": "number"
  33041. },
  33042. "orimortgagecredit": {
  33043. "description": "期初授信金额",
  33044. "type": "number"
  33045. },
  33046. "oriothercredit": {
  33047. "description": "期初其它授信金额",
  33048. "type": "number"
  33049. },
  33050. "oriotherfreezemargin": {
  33051. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  33052. "type": "number"
  33053. },
  33054. "orioutamountfreeze": {
  33055. "description": "期初出金冻结",
  33056. "type": "number"
  33057. },
  33058. "oriusedmargin": {
  33059. "description": "期初占用保证金",
  33060. "type": "number"
  33061. },
  33062. "othercredit": {
  33063. "description": "其它授信金额",
  33064. "type": "number"
  33065. },
  33066. "othercreditdecrease": {
  33067. "description": "今日其它授信减少",
  33068. "type": "number"
  33069. },
  33070. "othercreditincrease": {
  33071. "description": "今日其它授信增加",
  33072. "type": "number"
  33073. },
  33074. "otherfreezemargin": {
  33075. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  33076. "type": "number"
  33077. },
  33078. "otherincome": {
  33079. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  33080. "type": "number"
  33081. },
  33082. "otherpay": {
  33083. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  33084. "type": "number"
  33085. },
  33086. "outamount": {
  33087. "description": "今日出金金额(包括三方出金)",
  33088. "type": "number"
  33089. },
  33090. "outamountfreeze": {
  33091. "description": "出金冻结",
  33092. "type": "number"
  33093. },
  33094. "outthreshold": {
  33095. "description": "出金阈值",
  33096. "type": "number"
  33097. },
  33098. "parentaccountid": {
  33099. "description": "所属根账号",
  33100. "type": "integer"
  33101. },
  33102. "paycharge": {
  33103. "description": "今日手续费支出",
  33104. "type": "number"
  33105. },
  33106. "relatedaccountstatus": {
  33107. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  33108. "type": "integer"
  33109. },
  33110. "relateduserid": {
  33111. "description": "关联用户",
  33112. "type": "integer"
  33113. },
  33114. "remainamount": {
  33115. "description": "融资额(从融资合同中统计)",
  33116. "type": "number"
  33117. },
  33118. "serivcegroup": {
  33119. "description": "服务分组",
  33120. "type": "integer"
  33121. },
  33122. "signstatus": {
  33123. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  33124. "type": "integer"
  33125. },
  33126. "sublevelpath": {
  33127. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  33128. "type": "string"
  33129. },
  33130. "taaccounttype": {
  33131. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  33132. "type": "integer"
  33133. },
  33134. "thirdinamount": {
  33135. "description": "今日三方入金",
  33136. "type": "number"
  33137. },
  33138. "thirdoutamount": {
  33139. "description": "今日三方出金",
  33140. "type": "number"
  33141. },
  33142. "tradestatus": {
  33143. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  33144. "type": "integer"
  33145. },
  33146. "tradestatuschangetime": {
  33147. "description": "激活时间",
  33148. "type": "string"
  33149. },
  33150. "transferamount": {
  33151. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  33152. "type": "number"
  33153. },
  33154. "usedmargin": {
  33155. "description": "占用保证金",
  33156. "type": "number"
  33157. },
  33158. "userid": {
  33159. "description": "用户ID",
  33160. "type": "integer"
  33161. }
  33162. }
  33163. },
  33164. "models.Tablecolumnconfig": {
  33165. "type": "object",
  33166. "required": [
  33167. "autoid"
  33168. ],
  33169. "properties": {
  33170. "aligntype": {
  33171. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  33172. "type": "integer"
  33173. },
  33174. "autoid": {
  33175. "description": "AutoID",
  33176. "type": "integer"
  33177. },
  33178. "columnfield": {
  33179. "description": "列字段",
  33180. "type": "string"
  33181. },
  33182. "columntitle": {
  33183. "description": "列Title",
  33184. "type": "string"
  33185. },
  33186. "columnwidth": {
  33187. "description": "列宽",
  33188. "type": "string"
  33189. },
  33190. "formatterstring": {
  33191. "description": "格式化字符",
  33192. "type": "string"
  33193. },
  33194. "formattertype": {
  33195. "description": "格式化类型",
  33196. "type": "string"
  33197. },
  33198. "groupname": {
  33199. "description": "表头分组名称",
  33200. "type": "string"
  33201. },
  33202. "isshow": {
  33203. "description": "是否显示 - 0:不显示 1:显示",
  33204. "type": "integer"
  33205. },
  33206. "needsummary": {
  33207. "description": "是否需要汇总 - 0:不需要 1:需要",
  33208. "type": "integer"
  33209. },
  33210. "orderindex": {
  33211. "description": "顺序",
  33212. "type": "integer"
  33213. },
  33214. "remark": {
  33215. "description": "备注",
  33216. "type": "string"
  33217. },
  33218. "summarytype": {
  33219. "description": "汇总类型 - 1:加总 2:最后一个",
  33220. "type": "integer"
  33221. },
  33222. "tablekey": {
  33223. "description": "列表Key",
  33224. "type": "string"
  33225. }
  33226. }
  33227. },
  33228. "models.TjmdHolderDetailTradeInfo": {
  33229. "type": "object",
  33230. "properties": {
  33231. "agreeunit": {
  33232. "description": "合约乘数",
  33233. "type": "number"
  33234. },
  33235. "buyaccountid": {
  33236. "description": "买方账户",
  33237. "type": "string"
  33238. },
  33239. "buyusername": {
  33240. "description": "买方",
  33241. "type": "string"
  33242. },
  33243. "delistingdate": {
  33244. "description": "最后结算日",
  33245. "type": "string"
  33246. },
  33247. "expiredate": {
  33248. "description": "到期结算价定价日",
  33249. "type": "string"
  33250. },
  33251. "exprieprice": {
  33252. "description": "到期清算价格",
  33253. "type": "string"
  33254. },
  33255. "goodscode": {
  33256. "description": "商品代码",
  33257. "type": "string"
  33258. },
  33259. "goodsid": {
  33260. "description": "商品ID",
  33261. "type": "integer"
  33262. },
  33263. "goodsname": {
  33264. "description": "商品名称(交易标的)",
  33265. "type": "string"
  33266. },
  33267. "lasttradedate": {
  33268. "description": "最后交易日",
  33269. "type": "string"
  33270. },
  33271. "listingdate": {
  33272. "description": "开始交易日",
  33273. "type": "string"
  33274. },
  33275. "openprice": {
  33276. "description": "成交价",
  33277. "type": "number"
  33278. },
  33279. "openqty": {
  33280. "description": "交易数量",
  33281. "type": "integer"
  33282. },
  33283. "sellaccountid": {
  33284. "description": "卖方账户",
  33285. "type": "string"
  33286. },
  33287. "sellusername": {
  33288. "description": "卖方",
  33289. "type": "string"
  33290. },
  33291. "tradeamount": {
  33292. "description": "初始名义价值",
  33293. "type": "number"
  33294. },
  33295. "tradedate": {
  33296. "description": "成交日期",
  33297. "type": "string"
  33298. },
  33299. "tradeid": {
  33300. "description": "成交编号",
  33301. "type": "string"
  33302. }
  33303. }
  33304. },
  33305. "models.TjmdMarketSection": {
  33306. "type": "object",
  33307. "properties": {
  33308. "marketsectionid": {
  33309. "description": "市场版块ID(SEQ_MARKETSECTION)",
  33310. "type": "integer"
  33311. },
  33312. "marketsectionname": {
  33313. "description": "市场版块名称",
  33314. "type": "string"
  33315. },
  33316. "mlist": {
  33317. "description": "市场列表(板块下面有多少个市场)",
  33318. "type": "array",
  33319. "items": {
  33320. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  33321. }
  33322. },
  33323. "orderindex": {
  33324. "description": "排序",
  33325. "type": "integer"
  33326. },
  33327. "pictureurl": {
  33328. "description": "图片url, 规格(90*90)",
  33329. "type": "string"
  33330. },
  33331. "remark": {
  33332. "description": "备注",
  33333. "type": "string"
  33334. }
  33335. }
  33336. },
  33337. "models.TjmdMarketSectionConfig": {
  33338. "type": "object",
  33339. "properties": {
  33340. "auctionwrtype": {
  33341. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  33342. "type": "integer"
  33343. },
  33344. "canacceptquote": {
  33345. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  33346. "type": "integer"
  33347. },
  33348. "cangoodsexercise": {
  33349. "description": "[期权]是否可现货行权- 0:否 1:是",
  33350. "type": "integer"
  33351. },
  33352. "cangoodsexercisetype": {
  33353. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  33354. "type": "integer"
  33355. },
  33356. "canmanualquotestrike": {
  33357. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  33358. "type": "integer"
  33359. },
  33360. "canmutistage": {
  33361. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  33362. "type": "integer"
  33363. },
  33364. "canpreexercise": {
  33365. "description": "[期权]是否可预申报- 0:否 1:是",
  33366. "type": "integer"
  33367. },
  33368. "clearinterval": {
  33369. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  33370. "type": "integer"
  33371. },
  33372. "contracttmp": {
  33373. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  33374. "type": "string"
  33375. },
  33376. "exchareaid": {
  33377. "description": "所属交易所,可以没有",
  33378. "type": "integer"
  33379. },
  33380. "financemarketid": {
  33381. "description": "融资回购市场ID [仓单贸易]",
  33382. "type": "integer"
  33383. },
  33384. "goodstype": {
  33385. "description": "商品类型 - 1:交易商品 2:仓单商品",
  33386. "type": "integer"
  33387. },
  33388. "hasrebate": {
  33389. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  33390. "type": "integer"
  33391. },
  33392. "hastradecredit": {
  33393. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  33394. "type": "integer"
  33395. },
  33396. "haswr": {
  33397. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  33398. "type": "integer"
  33399. },
  33400. "isdeductmargin": {
  33401. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  33402. "type": "integer"
  33403. },
  33404. "isrecordsource": {
  33405. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  33406. "type": "integer"
  33407. },
  33408. "isreleasemargin": {
  33409. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  33410. "type": "integer"
  33411. },
  33412. "isupdatereckonprice": {
  33413. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  33414. "type": "integer"
  33415. },
  33416. "listingmode": {
  33417. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  33418. "type": "integer"
  33419. },
  33420. "marginformula": {
  33421. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  33422. "type": "integer"
  33423. },
  33424. "marginformula2": {
  33425. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  33426. "type": "integer"
  33427. },
  33428. "marketid": {
  33429. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  33430. "type": "integer"
  33431. },
  33432. "marketname": {
  33433. "description": "市场名称",
  33434. "type": "string"
  33435. },
  33436. "marketsectionid": {
  33437. "description": "市场版块ID(SEQ_MARKETSECTION)",
  33438. "type": "integer"
  33439. },
  33440. "marketserviceid": {
  33441. "description": "市场服务ID",
  33442. "type": "integer"
  33443. },
  33444. "marketstatus": {
  33445. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  33446. "type": "integer"
  33447. },
  33448. "markettype": {
  33449. "description": "市场类型- 1:非交易服务 2:交易服务",
  33450. "type": "integer"
  33451. },
  33452. "matchermode": {
  33453. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  33454. "type": "integer"
  33455. },
  33456. "nowrquotaflag": {
  33457. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  33458. "type": "integer"
  33459. },
  33460. "openmethod": {
  33461. "description": "开盘模式 - 0 自动 1手动",
  33462. "type": "integer"
  33463. },
  33464. "orderindex": {
  33465. "description": "排序",
  33466. "type": "integer"
  33467. },
  33468. "otcuserid": {
  33469. "description": "场外期权做市商[场外期权]",
  33470. "type": "integer"
  33471. },
  33472. "outersynctime": {
  33473. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  33474. "type": "string"
  33475. },
  33476. "paylaterflag": {
  33477. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  33478. "type": "integer"
  33479. },
  33480. "pendingflag": {
  33481. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  33482. "type": "integer"
  33483. },
  33484. "pendingtime": {
  33485. "description": "待开市时间[通道交易-对冲](HH:mm)",
  33486. "type": "string"
  33487. },
  33488. "performancetempid": {
  33489. "description": "履约计划模板ID - 作废",
  33490. "type": "integer"
  33491. },
  33492. "premiumquotemode": {
  33493. "description": "权利金报价方式 - 1:自动 2:手动",
  33494. "type": "integer"
  33495. },
  33496. "rebateratio": {
  33497. "description": "返利比率[竞价式]",
  33498. "type": "number"
  33499. },
  33500. "reckonorder": {
  33501. "description": "结算顺序",
  33502. "type": "integer"
  33503. },
  33504. "reckonpricealgorithm": {
  33505. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  33506. "type": "integer"
  33507. },
  33508. "reckonpriceparam": {
  33509. "description": "结算价参数",
  33510. "type": "integer"
  33511. },
  33512. "reckontime": {
  33513. "description": "结算时间[通道交易-对冲](HH:mm)",
  33514. "type": "string"
  33515. },
  33516. "roleprioritytype": {
  33517. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  33518. "type": "integer"
  33519. },
  33520. "selllistingauditflag": {
  33521. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  33522. "type": "integer"
  33523. },
  33524. "trademarkettype": {
  33525. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  33526. "type": "integer"
  33527. },
  33528. "trademode": {
  33529. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33530. "type": "integer"
  33531. },
  33532. "tradeproperty": {
  33533. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  33534. "type": "integer"
  33535. },
  33536. "tradetype": {
  33537. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  33538. "type": "integer"
  33539. },
  33540. "updatereckonpriceinterval": {
  33541. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  33542. "type": "integer"
  33543. }
  33544. }
  33545. },
  33546. "models.TjmdQuoteGoods": {
  33547. "type": "object",
  33548. "properties": {
  33549. "buyqty": {
  33550. "description": "买量(暂不做, 无值, 保留字段)",
  33551. "type": "number"
  33552. },
  33553. "decimalplace": {
  33554. "description": "报价小数位",
  33555. "type": "integer"
  33556. },
  33557. "goodscode": {
  33558. "description": "合约代码",
  33559. "type": "string"
  33560. },
  33561. "goodsgroupid": {
  33562. "description": "商品组ID(自增ID)",
  33563. "type": "integer"
  33564. },
  33565. "goodsgroupname": {
  33566. "description": "商品组名称",
  33567. "type": "string"
  33568. },
  33569. "goodsid": {
  33570. "description": "合约id",
  33571. "type": "integer"
  33572. },
  33573. "goodsname": {
  33574. "description": "合约名称",
  33575. "type": "string"
  33576. },
  33577. "refgoodscode": {
  33578. "description": "标的合约代码",
  33579. "type": "string"
  33580. },
  33581. "refgoodsid": {
  33582. "description": "标的合约id",
  33583. "type": "integer"
  33584. },
  33585. "refgoodsname": {
  33586. "description": "标的合约名称",
  33587. "type": "string"
  33588. },
  33589. "sellqty": {
  33590. "description": "卖量(暂不做, 无值, 保留字段)",
  33591. "type": "number"
  33592. }
  33593. }
  33594. },
  33595. "models.TjmdTodayAccountMargin": {
  33596. "type": "object",
  33597. "properties": {
  33598. "accountid": {
  33599. "description": "账号ID",
  33600. "type": "integer"
  33601. },
  33602. "goodsid": {
  33603. "description": "商品ID",
  33604. "type": "integer"
  33605. },
  33606. "infoc": {
  33607. "description": "配置参数",
  33608. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  33609. },
  33610. "marketid": {
  33611. "description": "市场ID",
  33612. "type": "integer"
  33613. }
  33614. }
  33615. },
  33616. "models.TjmdTradeOrderDetail": {
  33617. "type": "object",
  33618. "properties": {
  33619. "buyorsell": {
  33620. "description": "买卖方向 0-买 1-卖",
  33621. "type": "integer"
  33622. },
  33623. "goodsid": {
  33624. "description": "商品id",
  33625. "type": "integer"
  33626. },
  33627. "marketmaxsub": {
  33628. "description": "市价最大偏移范围 [浮动价 - 点差]",
  33629. "type": "number"
  33630. },
  33631. "orderid": {
  33632. "description": "委托单号",
  33633. "type": "string"
  33634. },
  33635. "orderprice": {
  33636. "description": "委托价格",
  33637. "type": "number"
  33638. },
  33639. "orderqty": {
  33640. "description": "委托数量",
  33641. "type": "integer"
  33642. },
  33643. "pricemode": {
  33644. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  33645. "type": "integer"
  33646. },
  33647. "userid": {
  33648. "description": "用户id",
  33649. "type": "integer"
  33650. },
  33651. "username": {
  33652. "description": "用户名称(已脱敏)",
  33653. "type": "string"
  33654. }
  33655. }
  33656. },
  33657. "models.TjmdTransferApply": {
  33658. "type": "object",
  33659. "properties": {
  33660. "applyid": {
  33661. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  33662. "type": "integer"
  33663. },
  33664. "applystatus": {
  33665. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  33666. "type": "integer"
  33667. },
  33668. "applytime": {
  33669. "description": "申请时间(时间)",
  33670. "type": "string"
  33671. },
  33672. "auditremark": {
  33673. "description": "审核备注(拒绝原因?)",
  33674. "type": "string"
  33675. },
  33676. "begindate": {
  33677. "description": "开始交易日(yyyymmdd)",
  33678. "type": "string"
  33679. },
  33680. "buyorsell": {
  33681. "description": "买卖 - 0:买 1:卖",
  33682. "type": "integer"
  33683. },
  33684. "enddate": {
  33685. "description": "结束交易日(yyyymmdd)",
  33686. "type": "string"
  33687. },
  33688. "goodscode": {
  33689. "description": "商品代码",
  33690. "type": "string"
  33691. },
  33692. "goodsid": {
  33693. "description": "商品ID",
  33694. "type": "integer"
  33695. },
  33696. "goodsname": {
  33697. "description": "商品名称",
  33698. "type": "string"
  33699. },
  33700. "marketid": {
  33701. "description": "市场ID",
  33702. "type": "integer"
  33703. },
  33704. "qty": {
  33705. "description": "转让数量(数量)",
  33706. "type": "number"
  33707. },
  33708. "tradeid": {
  33709. "description": "成交单号(关联持仓)",
  33710. "type": "string"
  33711. },
  33712. "transferamount": {
  33713. "description": "转让总金额(金额)",
  33714. "type": "number"
  33715. },
  33716. "transferprice": {
  33717. "description": "转让价格(协议价格)",
  33718. "type": "number"
  33719. }
  33720. }
  33721. },
  33722. "models.TradeHolderDetail": {
  33723. "type": "object",
  33724. "properties": {
  33725. "accountid": {
  33726. "description": "账号ID",
  33727. "type": "integer"
  33728. },
  33729. "agreeunit": {
  33730. "description": "合约乘数",
  33731. "type": "number"
  33732. },
  33733. "buyorsell": {
  33734. "description": "方向 - 0:买 1:卖",
  33735. "type": "integer"
  33736. },
  33737. "currencyid": {
  33738. "description": "商品币种id",
  33739. "type": "integer"
  33740. },
  33741. "currencyname": {
  33742. "description": "币种名称",
  33743. "type": "string"
  33744. },
  33745. "decimalplace": {
  33746. "description": "商品价格小数位",
  33747. "type": "integer"
  33748. },
  33749. "enumdicname": {
  33750. "description": "商品单位名称",
  33751. "type": "string"
  33752. },
  33753. "expirecycle": {
  33754. "description": "行权周期(天) - 1:滚动行权时填写",
  33755. "type": "integer"
  33756. },
  33757. "expiredate": {
  33758. "description": "行权日(yyyyMMdd) - 到期日",
  33759. "type": "string"
  33760. },
  33761. "expiretype": {
  33762. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33763. "type": "integer"
  33764. },
  33765. "freezeqty": {
  33766. "description": "冻结数量",
  33767. "type": "number"
  33768. },
  33769. "goodscode": {
  33770. "description": "商品代码",
  33771. "type": "string"
  33772. },
  33773. "goodsid": {
  33774. "description": "商品ID",
  33775. "type": "integer"
  33776. },
  33777. "goodsname": {
  33778. "description": "商品名称",
  33779. "type": "string"
  33780. },
  33781. "goodunitid": {
  33782. "description": "商品单位id",
  33783. "type": "integer"
  33784. },
  33785. "holderamount": {
  33786. "description": "持仓金额",
  33787. "type": "number"
  33788. },
  33789. "holdercredit": {
  33790. "description": "持仓授信金额",
  33791. "type": "number"
  33792. },
  33793. "holderdays": {
  33794. "description": "剩余冻结天数",
  33795. "type": "integer"
  33796. },
  33797. "holderprice": {
  33798. "description": "持仓价格",
  33799. "type": "number"
  33800. },
  33801. "holderqty": {
  33802. "description": "持仓数量",
  33803. "type": "number"
  33804. },
  33805. "isconfirmexercise": {
  33806. "description": "是否确认行权- 0:否 1:是",
  33807. "type": "integer"
  33808. },
  33809. "ispreexercise": {
  33810. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33811. "type": "integer"
  33812. },
  33813. "marketid": {
  33814. "description": "市场id",
  33815. "type": "integer"
  33816. },
  33817. "marketname": {
  33818. "description": "市场名称",
  33819. "type": "string"
  33820. },
  33821. "openprice": {
  33822. "description": "建仓价格",
  33823. "type": "number"
  33824. },
  33825. "openqty": {
  33826. "description": "建仓数量",
  33827. "type": "number"
  33828. },
  33829. "optiontype": {
  33830. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33831. "type": "integer"
  33832. },
  33833. "preexerciseprice": {
  33834. "description": "预申报价格",
  33835. "type": "number"
  33836. },
  33837. "premium": {
  33838. "description": "权利金",
  33839. "type": "number"
  33840. },
  33841. "qtydecimalplace": {
  33842. "description": "商品成交量小数位",
  33843. "type": "integer"
  33844. },
  33845. "refgoodscode": {
  33846. "description": "标的合约代码",
  33847. "type": "string"
  33848. },
  33849. "refgoodsid": {
  33850. "description": "标的合约id",
  33851. "type": "integer"
  33852. },
  33853. "releaseamount": {
  33854. "description": "释放持仓金额",
  33855. "type": "number"
  33856. },
  33857. "releaseholdercredit": {
  33858. "description": "释放持仓授信金额",
  33859. "type": "number"
  33860. },
  33861. "taname": {
  33862. "description": "资金账号名称",
  33863. "type": "string"
  33864. },
  33865. "tradeamount": {
  33866. "description": "成交金额",
  33867. "type": "number"
  33868. },
  33869. "tradedate": {
  33870. "description": "交易日(yyyyMMdd)",
  33871. "type": "string"
  33872. },
  33873. "tradeid": {
  33874. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33875. "type": "string"
  33876. },
  33877. "trademode": {
  33878. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33879. "type": "integer"
  33880. },
  33881. "tradeproperty": {
  33882. "description": "交易属性",
  33883. "type": "integer"
  33884. },
  33885. "tradetime": {
  33886. "description": "交易时间",
  33887. "type": "string"
  33888. },
  33889. "userid": {
  33890. "description": "用户id",
  33891. "type": "integer"
  33892. },
  33893. "username": {
  33894. "description": "用户名称",
  33895. "type": "string"
  33896. }
  33897. }
  33898. },
  33899. "models.UserCollectConfig": {
  33900. "type": "object",
  33901. "properties": {
  33902. "accountstatus": {
  33903. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33904. "type": "integer"
  33905. },
  33906. "collectaccountname": {
  33907. "description": "收款人账户名称",
  33908. "type": "string"
  33909. },
  33910. "collectaccountno": {
  33911. "description": "收款人账户",
  33912. "type": "string"
  33913. },
  33914. "collectbankname": {
  33915. "description": "收款人开户行",
  33916. "type": "string"
  33917. },
  33918. "collectbranchbankname": {
  33919. "description": "收款人开户支行",
  33920. "type": "string"
  33921. },
  33922. "collectconfigid": {
  33923. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33924. "type": "string"
  33925. },
  33926. "remark": {
  33927. "description": "备注",
  33928. "type": "string"
  33929. },
  33930. "userid": {
  33931. "description": "收款人用户ID",
  33932. "type": "integer"
  33933. }
  33934. }
  33935. },
  33936. "models.UserReceiveInfo": {
  33937. "type": "object",
  33938. "properties": {
  33939. "address": {
  33940. "description": "提货人详细地址",
  33941. "type": "string"
  33942. },
  33943. "autoid": {
  33944. "description": "AutoID",
  33945. "type": "integer"
  33946. },
  33947. "cardnum": {
  33948. "description": "证件号码(加密存储)",
  33949. "type": "string"
  33950. },
  33951. "cardtypeid": {
  33952. "description": "证件类型",
  33953. "type": "integer"
  33954. },
  33955. "cityid": {
  33956. "description": "市",
  33957. "type": "integer"
  33958. },
  33959. "cityname": {
  33960. "description": "城市名称",
  33961. "type": "string"
  33962. },
  33963. "countryid": {
  33964. "description": "国家",
  33965. "type": "integer"
  33966. },
  33967. "countryname": {
  33968. "description": "国家名称",
  33969. "type": "string"
  33970. },
  33971. "districtid": {
  33972. "description": "地区",
  33973. "type": "integer"
  33974. },
  33975. "districtname": {
  33976. "description": "地区名称",
  33977. "type": "string"
  33978. },
  33979. "hasencrypt": {
  33980. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33981. "type": "integer"
  33982. },
  33983. "isdefault": {
  33984. "description": "是否默认地址 - 0:否 1:是",
  33985. "type": "integer"
  33986. },
  33987. "phonenum": {
  33988. "description": "提货人联系方式(加密存储)",
  33989. "type": "string"
  33990. },
  33991. "provinceid": {
  33992. "description": "省",
  33993. "type": "integer"
  33994. },
  33995. "provincename": {
  33996. "description": "省名称",
  33997. "type": "string"
  33998. },
  33999. "receivername": {
  34000. "description": "提货人姓名",
  34001. "type": "string"
  34002. },
  34003. "takeremark": {
  34004. "description": "提货备注",
  34005. "type": "string"
  34006. },
  34007. "userid": {
  34008. "description": "用户ID",
  34009. "type": "integer"
  34010. }
  34011. }
  34012. },
  34013. "models.Useraccount": {
  34014. "type": "object",
  34015. "required": [
  34016. "userid"
  34017. ],
  34018. "properties": {
  34019. "accountname": {
  34020. "description": "账户名称(机构名称)",
  34021. "type": "string"
  34022. },
  34023. "accountstatus": {
  34024. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34025. "type": "integer"
  34026. },
  34027. "applysrc": {
  34028. "description": "申请来源 - 1:管理端 2:终端",
  34029. "type": "integer"
  34030. },
  34031. "auditremark": {
  34032. "description": "审核备注",
  34033. "type": "string"
  34034. },
  34035. "auditsrc": {
  34036. "description": "审核来源 - 1:管理端 2:终端",
  34037. "type": "integer"
  34038. },
  34039. "audittime": {
  34040. "description": "审核时间",
  34041. "type": "string"
  34042. },
  34043. "audituserid": {
  34044. "description": "审核人",
  34045. "type": "integer"
  34046. },
  34047. "broker": {
  34048. "description": "所属经纪人ID",
  34049. "type": "integer"
  34050. },
  34051. "canceltime": {
  34052. "description": "销户时间",
  34053. "type": "string"
  34054. },
  34055. "canceluserid": {
  34056. "description": "销户人",
  34057. "type": "integer"
  34058. },
  34059. "canrecommend": {
  34060. "description": "是否可推荐 - 0:不可 1;可",
  34061. "type": "integer"
  34062. },
  34063. "createtime": {
  34064. "description": "创建时间",
  34065. "type": "string"
  34066. },
  34067. "creatorid": {
  34068. "description": "创建人",
  34069. "type": "integer"
  34070. },
  34071. "hasauth": {
  34072. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  34073. "type": "integer"
  34074. },
  34075. "isanonymous": {
  34076. "description": "是否匿名下单 - 0:否 1:是",
  34077. "type": "integer"
  34078. },
  34079. "maxinvestornum": {
  34080. "description": "最大用户数(经纪会员下投资者个数)",
  34081. "type": "integer"
  34082. },
  34083. "memberuserid": {
  34084. "description": "所属会员ID",
  34085. "type": "integer"
  34086. },
  34087. "modifierid": {
  34088. "description": "修改人",
  34089. "type": "integer"
  34090. },
  34091. "modifyremark": {
  34092. "description": "变更备注",
  34093. "type": "string"
  34094. },
  34095. "modifystatus": {
  34096. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  34097. "type": "integer"
  34098. },
  34099. "modifytime": {
  34100. "description": "修改时间",
  34101. "type": "string"
  34102. },
  34103. "parenttopuser": {
  34104. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  34105. "type": "string"
  34106. },
  34107. "parentuserid": {
  34108. "description": "所属机构ID",
  34109. "type": "integer"
  34110. },
  34111. "reckonaccountid": {
  34112. "description": "默认结算资金账号ID(机构分润使用) 作废",
  34113. "type": "integer"
  34114. },
  34115. "refercount": {
  34116. "description": "推荐总人数",
  34117. "type": "integer"
  34118. },
  34119. "refereeuserid": {
  34120. "description": "推荐人ID",
  34121. "type": "integer"
  34122. },
  34123. "refernum": {
  34124. "description": "推荐码",
  34125. "type": "string"
  34126. },
  34127. "rootuserid": {
  34128. "description": "根用户ID",
  34129. "type": "integer"
  34130. },
  34131. "subaccountlevel": {
  34132. "description": "子账户层数",
  34133. "type": "integer"
  34134. },
  34135. "subarealevelpath": {
  34136. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  34137. "type": "string"
  34138. },
  34139. "userid": {
  34140. "description": "用户ID",
  34141. "type": "integer"
  34142. },
  34143. "usertype": {
  34144. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34145. "type": "integer"
  34146. }
  34147. }
  34148. },
  34149. "models.Userfavoritegoods": {
  34150. "type": "object",
  34151. "required": [
  34152. "goodsid"
  34153. ],
  34154. "properties": {
  34155. "goodsid": {
  34156. "description": "商品ID",
  34157. "type": "integer"
  34158. }
  34159. }
  34160. },
  34161. "models.Userinfo": {
  34162. "type": "object",
  34163. "required": [
  34164. "userid"
  34165. ],
  34166. "properties": {
  34167. "address": {
  34168. "description": "地址",
  34169. "type": "string"
  34170. },
  34171. "attachment1": {
  34172. "description": "附件1",
  34173. "type": "string"
  34174. },
  34175. "attachment2": {
  34176. "description": "附件2",
  34177. "type": "string"
  34178. },
  34179. "bankaccount": {
  34180. "description": "银行帐号 (加密存储)",
  34181. "type": "string"
  34182. },
  34183. "bankaccountname": {
  34184. "description": "收款人名称",
  34185. "type": "string"
  34186. },
  34187. "bankcardfrontphotourl": {
  34188. "description": "银行卡正面照地址",
  34189. "type": "string"
  34190. },
  34191. "bankid": {
  34192. "description": "银行编码",
  34193. "type": "string"
  34194. },
  34195. "bankname": {
  34196. "description": "银行名称",
  34197. "type": "string"
  34198. },
  34199. "biznature": {
  34200. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  34201. "type": "integer"
  34202. },
  34203. "bizscope": {
  34204. "description": "企业经营范围(企业)",
  34205. "type": "string"
  34206. },
  34207. "cardbackphotourl": {
  34208. "description": "证件背面图片地址",
  34209. "type": "string"
  34210. },
  34211. "cardfrontphotourl": {
  34212. "description": "证件正面图片地址",
  34213. "type": "string"
  34214. },
  34215. "cardnum": {
  34216. "description": "证件号码(加密存储)",
  34217. "type": "string"
  34218. },
  34219. "cardtypeid": {
  34220. "description": "证件类型ID",
  34221. "type": "integer"
  34222. },
  34223. "cityid": {
  34224. "description": "市",
  34225. "type": "integer"
  34226. },
  34227. "company": {
  34228. "description": "公司(个人)",
  34229. "type": "string"
  34230. },
  34231. "contactname": {
  34232. "description": "联系人",
  34233. "type": "string"
  34234. },
  34235. "countryid": {
  34236. "description": "国家",
  34237. "type": "integer"
  34238. },
  34239. "createtime": {
  34240. "description": "创建时间",
  34241. "type": "string"
  34242. },
  34243. "creatorid": {
  34244. "description": "创建人",
  34245. "type": "integer"
  34246. },
  34247. "customername": {
  34248. "description": "客户名称(企业名称)",
  34249. "type": "string"
  34250. },
  34251. "districtid": {
  34252. "description": "地区",
  34253. "type": "integer"
  34254. },
  34255. "email": {
  34256. "description": "邮件(加密存储)",
  34257. "type": "string"
  34258. },
  34259. "fax": {
  34260. "description": "传真(加密存储)",
  34261. "type": "string"
  34262. },
  34263. "halfbodyphotourl": {
  34264. "description": "半身照地址",
  34265. "type": "string"
  34266. },
  34267. "hasencrypt": {
  34268. "description": "数据是否已加密 - 0:未加密 1:已加密",
  34269. "type": "integer"
  34270. },
  34271. "headurl": {
  34272. "description": "头像地址",
  34273. "type": "string"
  34274. },
  34275. "legalcardbackphotourl": {
  34276. "description": "法人身份证背面照地址",
  34277. "type": "string"
  34278. },
  34279. "legalcardfrontphotourl": {
  34280. "description": "法人身份证正面照地址",
  34281. "type": "string"
  34282. },
  34283. "legalpersonname": {
  34284. "description": "法人姓名(企业)",
  34285. "type": "string"
  34286. },
  34287. "mobile": {
  34288. "description": "手机号码(加密存储)",
  34289. "type": "string"
  34290. },
  34291. "mobile2": {
  34292. "description": "手机号码[明文-尚志]",
  34293. "type": "string"
  34294. },
  34295. "modifierid": {
  34296. "description": "修改人",
  34297. "type": "integer"
  34298. },
  34299. "modifiertime": {
  34300. "description": "修改时间",
  34301. "type": "string"
  34302. },
  34303. "needinvoice": {
  34304. "description": "是否需要发票 - 0:不需要 1:需要",
  34305. "type": "integer"
  34306. },
  34307. "nickname": {
  34308. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  34309. "type": "string"
  34310. },
  34311. "openmode": {
  34312. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  34313. "type": "integer"
  34314. },
  34315. "otherurl": {
  34316. "description": "其它图片地址[使用分号分隔]",
  34317. "type": "string"
  34318. },
  34319. "postalcode": {
  34320. "description": "邮政编码",
  34321. "type": "string"
  34322. },
  34323. "provinceid": {
  34324. "description": "省",
  34325. "type": "integer"
  34326. },
  34327. "qq": {
  34328. "description": "QQ(加密存储",
  34329. "type": "string"
  34330. },
  34331. "remark": {
  34332. "description": "备注",
  34333. "type": "string"
  34334. },
  34335. "sex": {
  34336. "description": "用户性别 0: 女 1: 男",
  34337. "type": "integer"
  34338. },
  34339. "signpdfurl": {
  34340. "description": "签约pdf文件",
  34341. "type": "string"
  34342. },
  34343. "telphone": {
  34344. "description": "联系电话(加密存储)",
  34345. "type": "string"
  34346. },
  34347. "userid": {
  34348. "description": "用户ID",
  34349. "type": "integer"
  34350. },
  34351. "userinfotype": {
  34352. "description": "用户信息类型 - 1:个人 2:企业",
  34353. "type": "integer"
  34354. },
  34355. "userstatus": {
  34356. "description": "用户状态 - 1:正常 2:注销",
  34357. "type": "integer"
  34358. },
  34359. "usertype": {
  34360. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  34361. "type": "integer"
  34362. },
  34363. "wechat": {
  34364. "description": "微信(加密存储)",
  34365. "type": "string"
  34366. },
  34367. "wskhinfo": {
  34368. "description": "开户申请信息(JSON)",
  34369. "type": "string"
  34370. }
  34371. }
  34372. },
  34373. "models.WRSConverTDetail": {
  34374. "type": "object",
  34375. "properties": {
  34376. "convertratio": {
  34377. "description": "套保系数",
  34378. "type": "number"
  34379. },
  34380. "deliverygoodscode": {
  34381. "description": "现货商品代码",
  34382. "type": "string"
  34383. },
  34384. "deliverygoodsid": {
  34385. "description": "现货品种ID",
  34386. "type": "integer"
  34387. },
  34388. "deliverygoodsname": {
  34389. "description": "现货商品名称",
  34390. "type": "string"
  34391. },
  34392. "enumdicname": {
  34393. "description": "单位名称",
  34394. "type": "string"
  34395. },
  34396. "goodsunitid": {
  34397. "description": "套保品种单位id",
  34398. "type": "integer"
  34399. },
  34400. "middlegoodscode": {
  34401. "description": "套保品种代码",
  34402. "type": "string"
  34403. },
  34404. "middlegoodsid": {
  34405. "description": "套保品种ID",
  34406. "type": "integer"
  34407. },
  34408. "middlegoodsname": {
  34409. "description": "套保品种名称",
  34410. "type": "string"
  34411. },
  34412. "modifytime": {
  34413. "description": "修改时间",
  34414. "type": "string"
  34415. },
  34416. "wrstandardid": {
  34417. "description": "品类ID",
  34418. "type": "integer"
  34419. }
  34420. }
  34421. },
  34422. "models.WRStandardInfo": {
  34423. "type": "object",
  34424. "required": [
  34425. "wrstandardid"
  34426. ],
  34427. "properties": {
  34428. "areauserid": {
  34429. "description": "所属机构",
  34430. "type": "integer"
  34431. },
  34432. "convertfactor": {
  34433. "description": "标仓系数",
  34434. "type": "number"
  34435. },
  34436. "createtime": {
  34437. "description": "创建时间",
  34438. "type": "string"
  34439. },
  34440. "creatorid": {
  34441. "description": "创建人",
  34442. "type": "integer"
  34443. },
  34444. "deliverygoodsid": {
  34445. "description": "品种ID",
  34446. "type": "integer"
  34447. },
  34448. "deliverygoodsname": {
  34449. "description": "交割商品名称",
  34450. "type": "string"
  34451. },
  34452. "factoryitemjson": {
  34453. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  34454. "type": "string"
  34455. },
  34456. "isvalid": {
  34457. "description": "是否有效 - 0:无效 1:有效",
  34458. "type": "integer"
  34459. },
  34460. "minivalue": {
  34461. "description": "最小变动值",
  34462. "type": "integer"
  34463. },
  34464. "minivaluedp": {
  34465. "description": "最小变动值小数位",
  34466. "type": "integer"
  34467. },
  34468. "realminivalue": {
  34469. "description": "实际最小变动值",
  34470. "type": "integer"
  34471. },
  34472. "realminivaluedp": {
  34473. "description": "实际最小变动值小数位",
  34474. "type": "integer"
  34475. },
  34476. "remark": {
  34477. "description": "备注",
  34478. "type": "string"
  34479. },
  34480. "unitid": {
  34481. "description": "单位ID",
  34482. "type": "integer"
  34483. },
  34484. "unitname": {
  34485. "description": "单位",
  34486. "type": "string"
  34487. },
  34488. "updatetime": {
  34489. "description": "更新时间",
  34490. "type": "string"
  34491. },
  34492. "updatorid": {
  34493. "description": "更新人",
  34494. "type": "integer"
  34495. },
  34496. "wrsstatus": {
  34497. "description": "状态 - 作废 - 0:未激活 1:正常",
  34498. "type": "integer"
  34499. },
  34500. "wrstandardcode": {
  34501. "description": "现货品类代码",
  34502. "type": "string"
  34503. },
  34504. "wrstandardid": {
  34505. "description": "现货品类ID(SEQ_WRSTANDARD)",
  34506. "type": "integer"
  34507. },
  34508. "wrstandardname": {
  34509. "description": "现货品类名称",
  34510. "type": "string"
  34511. }
  34512. }
  34513. },
  34514. "models.WRTradeBargainApply": {
  34515. "type": "object",
  34516. "properties": {
  34517. "accountid": {
  34518. "description": "摘牌资金账号",
  34519. "type": "integer"
  34520. },
  34521. "applyprice": {
  34522. "description": "申请价格(议价价格)",
  34523. "type": "string"
  34524. },
  34525. "applyqty": {
  34526. "description": "摘牌数量(议价数量)",
  34527. "type": "number"
  34528. },
  34529. "applyremark": {
  34530. "description": "申请备注",
  34531. "type": "string"
  34532. },
  34533. "applystatus": {
  34534. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  34535. "type": "integer"
  34536. },
  34537. "applytime": {
  34538. "description": "申请时间(议价时间)",
  34539. "type": "string"
  34540. },
  34541. "begindate": {
  34542. "description": "开始交易日(yyyymmdd)",
  34543. "type": "string"
  34544. },
  34545. "buyorsell": {
  34546. "description": "买卖(挂牌类型) - 0:买 1:卖",
  34547. "type": "integer"
  34548. },
  34549. "confirmremark": {
  34550. "description": "确认备注",
  34551. "type": "string"
  34552. },
  34553. "confirmtime": {
  34554. "description": "确认时间",
  34555. "type": "string"
  34556. },
  34557. "confirmuserid": {
  34558. "description": "确认人",
  34559. "type": "integer"
  34560. },
  34561. "deliverygoodscode": {
  34562. "description": "品种代码",
  34563. "type": "string"
  34564. },
  34565. "deliverygoodsid": {
  34566. "description": "品种ID",
  34567. "type": "integer"
  34568. },
  34569. "deliverygoodsname": {
  34570. "description": "品种名称",
  34571. "type": "string"
  34572. },
  34573. "deliverymonth": {
  34574. "description": "交收月",
  34575. "type": "string"
  34576. },
  34577. "enddate": {
  34578. "description": "结束交易日(yyyymmdd)",
  34579. "type": "string"
  34580. },
  34581. "enumdicname": {
  34582. "description": "单位名称",
  34583. "type": "string"
  34584. },
  34585. "fixedprice": {
  34586. "description": "挂牌价格",
  34587. "type": "number"
  34588. },
  34589. "handlestatus": {
  34590. "description": "处理状态",
  34591. "type": "integer"
  34592. },
  34593. "marginvalue": {
  34594. "description": "履约保证金比例",
  34595. "type": "number"
  34596. },
  34597. "marketid": {
  34598. "description": "市场ID",
  34599. "type": "integer"
  34600. },
  34601. "matchaccountid": {
  34602. "description": "挂牌方资金账号",
  34603. "type": "integer"
  34604. },
  34605. "matchuserid": {
  34606. "description": "挂牌方用户id",
  34607. "type": "integer"
  34608. },
  34609. "matchusername": {
  34610. "description": "挂牌方用户名称(已脱敏)",
  34611. "type": "string"
  34612. },
  34613. "minivalue": {
  34614. "description": "现货商品最小变动值",
  34615. "type": "integer"
  34616. },
  34617. "optioncompare": {
  34618. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34619. "type": "string"
  34620. },
  34621. "orderqty": {
  34622. "description": "挂牌数量",
  34623. "type": "integer"
  34624. },
  34625. "refprice": {
  34626. "description": "参考价格",
  34627. "type": "string"
  34628. },
  34629. "retcode": {
  34630. "description": "委托返回代码",
  34631. "type": "integer"
  34632. },
  34633. "templatename": {
  34634. "description": "履约方式(履约模板名称)",
  34635. "type": "string"
  34636. },
  34637. "tradedate": {
  34638. "description": "交易日(yyyyMMdd)",
  34639. "type": "string"
  34640. },
  34641. "userid": {
  34642. "description": "摘牌人用户ID(议价人ID)",
  34643. "type": "integer"
  34644. },
  34645. "username": {
  34646. "description": "议价人名字(已脱敏)",
  34647. "type": "string"
  34648. },
  34649. "validtime": {
  34650. "description": "有效期限",
  34651. "type": "string"
  34652. },
  34653. "warehouseid": {
  34654. "description": "仓库ID",
  34655. "type": "integer"
  34656. },
  34657. "warehousename": {
  34658. "description": "仓库名称",
  34659. "type": "string"
  34660. },
  34661. "wrbargainid": {
  34662. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  34663. "type": "string"
  34664. },
  34665. "wrfactortypeid": {
  34666. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34667. "type": "string"
  34668. },
  34669. "wrfactortypename": {
  34670. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34671. "type": "string"
  34672. },
  34673. "wrstandardcode": {
  34674. "description": "现货商品代码",
  34675. "type": "string"
  34676. },
  34677. "wrstandardid": {
  34678. "description": "现货商品ID",
  34679. "type": "integer"
  34680. },
  34681. "wrstandardname": {
  34682. "description": "商品名称",
  34683. "type": "string"
  34684. },
  34685. "wrtradeorderid": {
  34686. "description": "关联委托单ID",
  34687. "type": "string"
  34688. },
  34689. "wrtypename": {
  34690. "description": "商品",
  34691. "type": "string"
  34692. }
  34693. }
  34694. },
  34695. "models.Warehouseinfo": {
  34696. "type": "object",
  34697. "required": [
  34698. "autoid",
  34699. "warehousecode"
  34700. ],
  34701. "properties": {
  34702. "address": {
  34703. "description": "详细地址",
  34704. "type": "string"
  34705. },
  34706. "areauserid": {
  34707. "description": "所属机构",
  34708. "type": "integer"
  34709. },
  34710. "autoid": {
  34711. "description": "自增ID",
  34712. "type": "integer"
  34713. },
  34714. "cityid": {
  34715. "description": "市",
  34716. "type": "integer"
  34717. },
  34718. "contactname": {
  34719. "description": "联系人",
  34720. "type": "string"
  34721. },
  34722. "contactnum": {
  34723. "description": "联系电话",
  34724. "type": "string"
  34725. },
  34726. "countryid": {
  34727. "description": "国家",
  34728. "type": "integer"
  34729. },
  34730. "createtime": {
  34731. "description": "创建时间",
  34732. "type": "string"
  34733. },
  34734. "districtid": {
  34735. "description": "区",
  34736. "type": "integer"
  34737. },
  34738. "hasvideo": {
  34739. "description": "是否有视频 - 0:无 1:有",
  34740. "type": "integer"
  34741. },
  34742. "provinceid": {
  34743. "description": "省",
  34744. "type": "integer"
  34745. },
  34746. "remark": {
  34747. "description": "审核备注",
  34748. "type": "string"
  34749. },
  34750. "videourl": {
  34751. "description": "视频地址",
  34752. "type": "string"
  34753. },
  34754. "warehousecode": {
  34755. "description": "仓库代码",
  34756. "type": "string"
  34757. },
  34758. "warehousename": {
  34759. "description": "仓库名称",
  34760. "type": "string"
  34761. },
  34762. "warehousestatus": {
  34763. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34764. "type": "integer"
  34765. },
  34766. "warehousetype": {
  34767. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34768. "type": "integer"
  34769. }
  34770. }
  34771. },
  34772. "models.WrAverageTradePrice": {
  34773. "type": "object",
  34774. "properties": {
  34775. "averageprice": {
  34776. "description": "成交均价",
  34777. "type": "number"
  34778. },
  34779. "tradedate": {
  34780. "description": "交易日yyyymm",
  34781. "type": "string"
  34782. }
  34783. }
  34784. },
  34785. "models.WrBrandAndYears": {
  34786. "type": "object",
  34787. "properties": {
  34788. "brandlst": {
  34789. "description": "品牌列表",
  34790. "type": "array",
  34791. "items": {
  34792. "$ref": "#/definitions/models.DgFactoryItem"
  34793. }
  34794. },
  34795. "yearslst": {
  34796. "description": "年份列表",
  34797. "type": "array",
  34798. "items": {
  34799. "$ref": "#/definitions/models.DgFactoryItem"
  34800. }
  34801. }
  34802. }
  34803. },
  34804. "models.WrBsGoodsInfo": {
  34805. "type": "object",
  34806. "properties": {
  34807. "buyorsell": {
  34808. "description": "买卖方向 0-买 1-卖",
  34809. "type": "integer"
  34810. },
  34811. "goodsid": {
  34812. "description": "交易合约ID",
  34813. "type": "integer"
  34814. },
  34815. "lstitem": {
  34816. "description": "商品信息项",
  34817. "type": "array",
  34818. "items": {
  34819. "$ref": "#/definitions/models.WrTypeItem"
  34820. }
  34821. },
  34822. "lststep": {
  34823. "description": "履约规则",
  34824. "type": "array",
  34825. "items": {
  34826. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34827. }
  34828. }
  34829. }
  34830. },
  34831. "models.WrBuybackDetail": {
  34832. "type": "object",
  34833. "properties": {
  34834. "buybackamount": {
  34835. "description": "回购金额",
  34836. "type": "number"
  34837. },
  34838. "buybackqty": {
  34839. "description": "回购数量",
  34840. "type": "number"
  34841. },
  34842. "buybackreleasemargin": {
  34843. "description": "回购释放保证金",
  34844. "type": "number"
  34845. },
  34846. "buybacktime": {
  34847. "description": "回购时间",
  34848. "type": "string"
  34849. },
  34850. "errordesc": {
  34851. "description": "错误描述",
  34852. "type": "string"
  34853. },
  34854. "handlestatus": {
  34855. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34856. "type": "integer"
  34857. },
  34858. "relatedwrid": {
  34859. "description": "关联仓单ID",
  34860. "type": "integer"
  34861. },
  34862. "scfcontractid": {
  34863. "description": "SCF合同ID",
  34864. "type": "string"
  34865. },
  34866. "scfwrbuybackid": {
  34867. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34868. "type": "integer"
  34869. },
  34870. "tradedate": {
  34871. "description": "交易日(yyyyMMdd)",
  34872. "type": "string"
  34873. }
  34874. }
  34875. },
  34876. "models.WrClientAdSpaceConfig": {
  34877. "type": "object",
  34878. "properties": {
  34879. "adspaceid": {
  34880. "description": "广告位ID",
  34881. "type": "integer"
  34882. },
  34883. "adspacename": {
  34884. "description": "广告位名称",
  34885. "type": "string"
  34886. },
  34887. "adspacetype": {
  34888. "description": "广告位类型 - 1:固定广告位",
  34889. "type": "integer"
  34890. },
  34891. "areauserid": {
  34892. "description": "所属机构ID",
  34893. "type": "integer"
  34894. },
  34895. "createdate": {
  34896. "description": "创建时间",
  34897. "type": "string"
  34898. },
  34899. "imagepath": {
  34900. "description": "图片",
  34901. "type": "string"
  34902. },
  34903. "modifierid": {
  34904. "description": "操作人",
  34905. "type": "integer"
  34906. },
  34907. "recsize": {
  34908. "description": "推荐尺寸",
  34909. "type": "string"
  34910. },
  34911. "title": {
  34912. "description": "标题",
  34913. "type": "string"
  34914. },
  34915. "updatedate": {
  34916. "description": "更新时间",
  34917. "type": "string"
  34918. },
  34919. "urlcontent": {
  34920. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  34921. "type": "string"
  34922. },
  34923. "urltype": {
  34924. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  34925. "type": "integer"
  34926. }
  34927. }
  34928. },
  34929. "models.WrDeliveryAvalidHoldLB": {
  34930. "type": "object",
  34931. "properties": {
  34932. "accountid": {
  34933. "description": "资金账号",
  34934. "type": "integer"
  34935. },
  34936. "avalidqty": {
  34937. "description": "数量(可点选数量)",
  34938. "type": "number"
  34939. },
  34940. "deliverygoodsid": {
  34941. "description": "品种id",
  34942. "type": "integer"
  34943. },
  34944. "enumdicname": {
  34945. "description": "单位名称",
  34946. "type": "string"
  34947. },
  34948. "goodsid": {
  34949. "description": "x合约商品id",
  34950. "type": "integer"
  34951. },
  34952. "ladingbillid": {
  34953. "description": "提单id",
  34954. "type": "string"
  34955. },
  34956. "pgoodscode": {
  34957. "description": "p商品代码(点价合约)",
  34958. "type": "string"
  34959. },
  34960. "pgoodsid": {
  34961. "description": "p商品id(点价合约)",
  34962. "type": "integer"
  34963. },
  34964. "pgoodsname": {
  34965. "description": "p商品名称(点价合约)",
  34966. "type": "string"
  34967. },
  34968. "pricemove": {
  34969. "description": "升贴水",
  34970. "type": "number"
  34971. },
  34972. "subnum": {
  34973. "description": "提单子id",
  34974. "type": "integer"
  34975. },
  34976. "userid": {
  34977. "description": "用户id",
  34978. "type": "integer"
  34979. },
  34980. "username": {
  34981. "description": "仓单持有人",
  34982. "type": "string"
  34983. },
  34984. "warehousecode": {
  34985. "description": "仓库代码",
  34986. "type": "string"
  34987. },
  34988. "warehouseid": {
  34989. "description": "仓库id",
  34990. "type": "integer"
  34991. },
  34992. "warehousename": {
  34993. "description": "仓库名称",
  34994. "type": "string"
  34995. },
  34996. "wrfactortypeid": {
  34997. "description": "仓单要素id",
  34998. "type": "string"
  34999. },
  35000. "wrstandardcode": {
  35001. "description": "品代码",
  35002. "type": "string"
  35003. },
  35004. "wrstandardid": {
  35005. "description": "品类d",
  35006. "type": "integer"
  35007. },
  35008. "wrstandardname": {
  35009. "description": "品类名称",
  35010. "type": "string"
  35011. },
  35012. "wrtypename": {
  35013. "description": "商品",
  35014. "type": "string"
  35015. },
  35016. "xgoodscode": {
  35017. "description": "x合约代码",
  35018. "type": "string"
  35019. },
  35020. "xgoodsname": {
  35021. "description": "x合约名称",
  35022. "type": "string"
  35023. }
  35024. }
  35025. },
  35026. "models.WrDeliveryDetail": {
  35027. "type": "object",
  35028. "properties": {
  35029. "accountid": {
  35030. "description": "账号ID",
  35031. "type": "integer"
  35032. },
  35033. "averageprice": {
  35034. "description": "交割均价 = 交割金额 / 交割数量",
  35035. "type": "number"
  35036. },
  35037. "begindate": {
  35038. "description": "开始交易日(yyyymmdd)",
  35039. "type": "string"
  35040. },
  35041. "buyorsell": {
  35042. "description": "方向 - 0:买 1:卖",
  35043. "type": "integer"
  35044. },
  35045. "deliveryamount": {
  35046. "description": "货款金额(X总货款+P总货款)",
  35047. "type": "number"
  35048. },
  35049. "deliveryid": {
  35050. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  35051. "type": "string"
  35052. },
  35053. "deliveryorderid": {
  35054. "description": "申报单号",
  35055. "type": "string"
  35056. },
  35057. "deliverypricemove": {
  35058. "description": "升贴水(升贴水总额)",
  35059. "type": "number"
  35060. },
  35061. "deliveryqty": {
  35062. "description": "交收数量(点选数量)",
  35063. "type": "number"
  35064. },
  35065. "deliverystatus": {
  35066. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  35067. "type": "integer"
  35068. },
  35069. "deliverytime": {
  35070. "description": "交割时间",
  35071. "type": "string"
  35072. },
  35073. "deliverytotalamount": {
  35074. "description": "交收金额",
  35075. "type": "number"
  35076. },
  35077. "enddate": {
  35078. "description": "结束交易日(yyyymmdd)",
  35079. "type": "string"
  35080. },
  35081. "enumdicname": {
  35082. "description": "单位名称",
  35083. "type": "string"
  35084. },
  35085. "matchaccountid": {
  35086. "description": "对手账号ID",
  35087. "type": "integer"
  35088. },
  35089. "matchusername": {
  35090. "description": "对手方名称(仓单持有人)",
  35091. "type": "string"
  35092. },
  35093. "p1goodsremainamount": {
  35094. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  35095. "type": "number"
  35096. },
  35097. "pdeliverycloseqty": {
  35098. "description": "p合约平仓数量",
  35099. "type": "number"
  35100. },
  35101. "pdeliveryprice": {
  35102. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  35103. "type": "number"
  35104. },
  35105. "pgoodscode": {
  35106. "description": "商品代码",
  35107. "type": "string"
  35108. },
  35109. "pgoodsid": {
  35110. "description": "p点选合约id",
  35111. "type": "integer"
  35112. },
  35113. "pgoodsname": {
  35114. "description": "商品名称",
  35115. "type": "string"
  35116. },
  35117. "ppricemode": {
  35118. "description": "点价价格方式 - 1:商品价 2:固定值",
  35119. "type": "integer"
  35120. },
  35121. "tradedate": {
  35122. "description": "交易日(yyyymmdd)",
  35123. "type": "string"
  35124. },
  35125. "userid": {
  35126. "description": "用户id",
  35127. "type": "integer"
  35128. },
  35129. "username": {
  35130. "description": "用户名称",
  35131. "type": "string"
  35132. },
  35133. "warehousename": {
  35134. "description": "仓库名称",
  35135. "type": "string"
  35136. },
  35137. "wrfactortypeid": {
  35138. "description": "仓单要素类型ID",
  35139. "type": "string"
  35140. },
  35141. "wrtypename": {
  35142. "description": "商品",
  35143. "type": "string"
  35144. },
  35145. "xdeliverycloseqty": {
  35146. "description": "合约数量",
  35147. "type": "number"
  35148. },
  35149. "xgoodsamount": {
  35150. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  35151. "type": "number"
  35152. },
  35153. "xgoodscode": {
  35154. "description": "商品代码",
  35155. "type": "string"
  35156. },
  35157. "xgoodsid": {
  35158. "description": "x交易合约ID",
  35159. "type": "integer"
  35160. },
  35161. "xgoodsname": {
  35162. "description": "商品名称",
  35163. "type": "string"
  35164. }
  35165. }
  35166. },
  35167. "models.WrDeliveryGoodsSection": {
  35168. "type": "object",
  35169. "properties": {
  35170. "dglst": {
  35171. "description": "板块商品列表",
  35172. "type": "array",
  35173. "items": {
  35174. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  35175. }
  35176. },
  35177. "imagepath": {
  35178. "description": "图片地址",
  35179. "type": "string"
  35180. },
  35181. "orderindex": {
  35182. "description": "排序",
  35183. "type": "integer"
  35184. },
  35185. "sectionid": {
  35186. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  35187. "type": "integer"
  35188. },
  35189. "sectionname": {
  35190. "description": "版块名称",
  35191. "type": "string"
  35192. },
  35193. "sectiontype": {
  35194. "description": "版块类型 - 1:指数版块 2:普通版块",
  35195. "type": "integer"
  35196. }
  35197. }
  35198. },
  35199. "models.WrDeliveryGoodsSectionConfig": {
  35200. "type": "object",
  35201. "properties": {
  35202. "deliverygoodscode": {
  35203. "description": "现货商品代码",
  35204. "type": "string"
  35205. },
  35206. "deliverygoodsid": {
  35207. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35208. "type": "integer"
  35209. },
  35210. "deliverygoodsname": {
  35211. "description": "现货商品名称",
  35212. "type": "string"
  35213. },
  35214. "orderindex": {
  35215. "description": "排序",
  35216. "type": "integer"
  35217. }
  35218. }
  35219. },
  35220. "models.WrDraftUserInfo": {
  35221. "type": "object",
  35222. "properties": {
  35223. "address": {
  35224. "description": "地址",
  35225. "type": "string"
  35226. },
  35227. "attachment1": {
  35228. "description": "附件1",
  35229. "type": "string"
  35230. },
  35231. "attachment2": {
  35232. "description": "附件2",
  35233. "type": "string"
  35234. },
  35235. "attachment3": {
  35236. "description": "附件3",
  35237. "type": "string"
  35238. },
  35239. "attachment4": {
  35240. "description": "附件4",
  35241. "type": "string"
  35242. },
  35243. "attachment5": {
  35244. "description": "附件5",
  35245. "type": "string"
  35246. },
  35247. "bankaccount": {
  35248. "description": "银行帐号 (加密存储)",
  35249. "type": "string"
  35250. },
  35251. "bankaccountname": {
  35252. "description": "收款人名称",
  35253. "type": "string"
  35254. },
  35255. "bankcardfrontphotourl": {
  35256. "description": "银行卡正面照地址",
  35257. "type": "string"
  35258. },
  35259. "bankid": {
  35260. "description": "银行编码",
  35261. "type": "string"
  35262. },
  35263. "bankname": {
  35264. "description": "银行名称",
  35265. "type": "string"
  35266. },
  35267. "birthday": {
  35268. "description": "生日(个人:年月日)",
  35269. "type": "string"
  35270. },
  35271. "biznature": {
  35272. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  35273. "type": "integer"
  35274. },
  35275. "bizscope": {
  35276. "description": "企业经营范围(企业)",
  35277. "type": "string"
  35278. },
  35279. "biztype": {
  35280. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  35281. "type": "integer"
  35282. },
  35283. "cardbackphotourl": {
  35284. "description": "证件背面图片地址",
  35285. "type": "string"
  35286. },
  35287. "cardfrontphotourl": {
  35288. "description": "证件正面图片地址",
  35289. "type": "string"
  35290. },
  35291. "cardnum": {
  35292. "description": "证件号码(加密存储)",
  35293. "type": "string"
  35294. },
  35295. "cardtypeid": {
  35296. "description": "证件类型ID",
  35297. "type": "integer"
  35298. },
  35299. "cityid": {
  35300. "description": "市",
  35301. "type": "integer"
  35302. },
  35303. "company": {
  35304. "description": "公司(个人)",
  35305. "type": "string"
  35306. },
  35307. "contactcardbackphotourl": {
  35308. "description": "联系人证件背面图片地址",
  35309. "type": "string"
  35310. },
  35311. "contactcardfrontphotourl": {
  35312. "description": "联系人证件正面图片地址",
  35313. "type": "string"
  35314. },
  35315. "contactname": {
  35316. "description": "联系人",
  35317. "type": "string"
  35318. },
  35319. "countryid": {
  35320. "description": "国家",
  35321. "type": "integer"
  35322. },
  35323. "createtime": {
  35324. "description": "创建时间",
  35325. "type": "string"
  35326. },
  35327. "creatorid": {
  35328. "description": "创建人",
  35329. "type": "integer"
  35330. },
  35331. "creditquota": {
  35332. "description": "授信额度(金瑞)",
  35333. "type": "number"
  35334. },
  35335. "customername": {
  35336. "description": "客户名称(企业名称)",
  35337. "type": "string"
  35338. },
  35339. "districtid": {
  35340. "description": "地区",
  35341. "type": "integer"
  35342. },
  35343. "email": {
  35344. "description": "邮件(加密存储)",
  35345. "type": "string"
  35346. },
  35347. "fax": {
  35348. "description": "传真(加密存储)",
  35349. "type": "string"
  35350. },
  35351. "halfbodyphotourl": {
  35352. "description": "半身照地址",
  35353. "type": "string"
  35354. },
  35355. "hasencrypt": {
  35356. "description": "数据是否已加密 - 0:未加密 1:已加密",
  35357. "type": "integer"
  35358. },
  35359. "headurl": {
  35360. "description": "头像地址",
  35361. "type": "string"
  35362. },
  35363. "legalcardbackphotourl": {
  35364. "description": "法人身份证背面照地址",
  35365. "type": "string"
  35366. },
  35367. "legalcardfrontphotourl": {
  35368. "description": "法人身份证正面照地址",
  35369. "type": "string"
  35370. },
  35371. "legalpersonname": {
  35372. "description": "法人姓名(企业)",
  35373. "type": "string"
  35374. },
  35375. "mobile": {
  35376. "description": "手机号码(加密存储)",
  35377. "type": "string"
  35378. },
  35379. "mobile2": {
  35380. "description": "手机号码[明文-尚志]",
  35381. "type": "string"
  35382. },
  35383. "modifierid": {
  35384. "description": "修改人",
  35385. "type": "integer"
  35386. },
  35387. "modifiertime": {
  35388. "description": "修改时间",
  35389. "type": "string"
  35390. },
  35391. "needinvoice": {
  35392. "description": "是否需要发票 - 0:不需要 1:需要",
  35393. "type": "integer"
  35394. },
  35395. "nickname": {
  35396. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  35397. "type": "string"
  35398. },
  35399. "openmode": {
  35400. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  35401. "type": "integer"
  35402. },
  35403. "otherurl": {
  35404. "description": "其它图片地址[使用分号分隔]",
  35405. "type": "string"
  35406. },
  35407. "postalcode": {
  35408. "description": "邮政编码",
  35409. "type": "string"
  35410. },
  35411. "provinceid": {
  35412. "description": "省",
  35413. "type": "integer"
  35414. },
  35415. "proxystatementurl": {
  35416. "description": "授权委托书",
  35417. "type": "string"
  35418. },
  35419. "qq": {
  35420. "description": "QQ(加密存储",
  35421. "type": "string"
  35422. },
  35423. "remark": {
  35424. "description": "备注",
  35425. "type": "string"
  35426. },
  35427. "sex": {
  35428. "description": "用户性别 0: 女 1: 男",
  35429. "type": "integer"
  35430. },
  35431. "signpdfurl": {
  35432. "description": "签约pdf文件",
  35433. "type": "string"
  35434. },
  35435. "taxpayernum": {
  35436. "description": "纳税人识别号",
  35437. "type": "string"
  35438. },
  35439. "telphone": {
  35440. "description": "联系电话(加密存储)",
  35441. "type": "string"
  35442. },
  35443. "userid": {
  35444. "description": "用户ID",
  35445. "type": "integer"
  35446. },
  35447. "userinfotype": {
  35448. "description": "用户信息类型 - 1:个人 2:企业",
  35449. "type": "integer"
  35450. },
  35451. "userstatus": {
  35452. "description": "用户状态 - 1:正常 2:注销",
  35453. "type": "integer"
  35454. },
  35455. "usertype": {
  35456. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  35457. "type": "integer"
  35458. },
  35459. "wechat": {
  35460. "description": "微信(加密存储)",
  35461. "type": "string"
  35462. },
  35463. "wskhinfo": {
  35464. "description": "开户申请信息(JSON)",
  35465. "type": "string"
  35466. }
  35467. }
  35468. },
  35469. "models.WrFAProductDetail": {
  35470. "type": "object",
  35471. "properties": {
  35472. "accountid": {
  35473. "description": "资金账号",
  35474. "type": "integer"
  35475. },
  35476. "areauserid": {
  35477. "description": "金融机构ID",
  35478. "type": "integer"
  35479. },
  35480. "financingdays": {
  35481. "description": "天数(天)",
  35482. "type": "integer"
  35483. },
  35484. "interestminlen": {
  35485. "description": "最小起息天数",
  35486. "type": "integer"
  35487. },
  35488. "interestrate": {
  35489. "description": "利率",
  35490. "type": "number"
  35491. },
  35492. "interestratemode": {
  35493. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35494. "type": "integer"
  35495. },
  35496. "interestsettlemode": {
  35497. "description": "结息方式 - 1:按日结息 3:按月结息",
  35498. "type": "integer"
  35499. },
  35500. "interestsettlevalue": {
  35501. "description": "结息方式值",
  35502. "type": "integer"
  35503. },
  35504. "isautoloan": {
  35505. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  35506. "type": "integer"
  35507. },
  35508. "loantag": {
  35509. "description": "放款标识: \"放款快\" 或者为空",
  35510. "type": "string"
  35511. },
  35512. "marginratio": {
  35513. "description": "保证金比率质押率 - [仓单质押]",
  35514. "type": "number"
  35515. },
  35516. "productdetailid": {
  35517. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  35518. "type": "integer"
  35519. },
  35520. "productid": {
  35521. "description": "金融产品ID",
  35522. "type": "integer"
  35523. },
  35524. "productname": {
  35525. "description": "产品名称",
  35526. "type": "string"
  35527. },
  35528. "updatetime": {
  35529. "description": "更新时间",
  35530. "type": "string"
  35531. },
  35532. "username": {
  35533. "description": "融出方",
  35534. "type": "string"
  35535. }
  35536. }
  35537. },
  35538. "models.WrFactorTypeInfo": {
  35539. "type": "object",
  35540. "properties": {
  35541. "deliverygoodscode": {
  35542. "description": "品种代码",
  35543. "type": "string"
  35544. },
  35545. "deliverygoodsname": {
  35546. "description": "品种名称",
  35547. "type": "string"
  35548. },
  35549. "dgfactoryitemid": {
  35550. "description": "选择项id",
  35551. "type": "integer"
  35552. },
  35553. "dgfactoryitemtypeid": {
  35554. "description": "要素选择项ID (1-仓库 2-品牌)",
  35555. "type": "integer"
  35556. },
  35557. "dgfactoryitemvalue": {
  35558. "description": "要素项值",
  35559. "type": "string"
  35560. },
  35561. "itemtypename": {
  35562. "description": "要素项名称",
  35563. "type": "string"
  35564. },
  35565. "optioncompare": {
  35566. "description": "选择比较串",
  35567. "type": "string"
  35568. },
  35569. "warehouseid": {
  35570. "description": "仓库id",
  35571. "type": "integer"
  35572. },
  35573. "wrfactortypeid": {
  35574. "description": "仓单要素ID",
  35575. "type": "string"
  35576. },
  35577. "wrfactortypename": {
  35578. "description": "要素名称",
  35579. "type": "string"
  35580. },
  35581. "wrfactortypename2": {
  35582. "description": "要素名称(不含仓库)",
  35583. "type": "string"
  35584. },
  35585. "wrstandardcode": {
  35586. "description": "品类代码",
  35587. "type": "string"
  35588. },
  35589. "wrstandardid": {
  35590. "description": "品类id",
  35591. "type": "integer"
  35592. },
  35593. "wrstandardname": {
  35594. "description": "品类名称",
  35595. "type": "string"
  35596. }
  35597. }
  35598. },
  35599. "models.WrFilterItem": {
  35600. "type": "object",
  35601. "properties": {
  35602. "itemcode": {
  35603. "description": "代码",
  35604. "type": "string"
  35605. },
  35606. "itemid": {
  35607. "description": "项id",
  35608. "type": "integer"
  35609. },
  35610. "itemname": {
  35611. "description": "名称",
  35612. "type": "string"
  35613. },
  35614. "itemtype": {
  35615. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  35616. "type": "integer"
  35617. }
  35618. }
  35619. },
  35620. "models.WrFinanceBuyApply": {
  35621. "type": "object",
  35622. "properties": {
  35623. "applydate": {
  35624. "description": "申请时间",
  35625. "type": "string"
  35626. },
  35627. "applystatus": {
  35628. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  35629. "type": "integer"
  35630. },
  35631. "applyuserid": {
  35632. "description": "申请人",
  35633. "type": "integer"
  35634. },
  35635. "auditdate": {
  35636. "description": "审核时间",
  35637. "type": "string"
  35638. },
  35639. "auditremark": {
  35640. "description": "审核备注",
  35641. "type": "string"
  35642. },
  35643. "audituserid": {
  35644. "description": "审核人",
  35645. "type": "integer"
  35646. },
  35647. "buyaccountid": {
  35648. "description": "买方资金账号",
  35649. "type": "integer"
  35650. },
  35651. "buyorsell": {
  35652. "description": "买卖 - 0:买 1:卖",
  35653. "type": "integer"
  35654. },
  35655. "buyuserid": {
  35656. "description": "买方用户ID",
  35657. "type": "integer"
  35658. },
  35659. "buyusername": {
  35660. "description": "买方名称",
  35661. "type": "string"
  35662. },
  35663. "buywrtradeorderid": {
  35664. "description": "融资方买委托单ID",
  35665. "type": "string"
  35666. },
  35667. "deliverygoodscode": {
  35668. "description": "品种代码",
  35669. "type": "string"
  35670. },
  35671. "deliverygoodsid": {
  35672. "description": "品种ID",
  35673. "type": "integer"
  35674. },
  35675. "deliverygoodsname": {
  35676. "description": "品种名称",
  35677. "type": "string"
  35678. },
  35679. "deliverymonth": {
  35680. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  35681. "type": "string"
  35682. },
  35683. "enumdicname": {
  35684. "description": "单位名称",
  35685. "type": "string"
  35686. },
  35687. "financeaccountid": {
  35688. "description": "融资方资金帐户ID",
  35689. "type": "integer"
  35690. },
  35691. "financeapplyid": {
  35692. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35693. "type": "string"
  35694. },
  35695. "financeareauserid": {
  35696. "description": "融资方用户ID",
  35697. "type": "string"
  35698. },
  35699. "financename": {
  35700. "description": "融出方名称",
  35701. "type": "string"
  35702. },
  35703. "financetype": {
  35704. "description": "融资类型 1-融资回购",
  35705. "type": "integer"
  35706. },
  35707. "financingdays": {
  35708. "description": "天数(天)",
  35709. "type": "integer"
  35710. },
  35711. "freezebuymargin": {
  35712. "description": "冻结融资保证金(买方)",
  35713. "type": "number"
  35714. },
  35715. "handleremark": {
  35716. "description": "处理备注",
  35717. "type": "string"
  35718. },
  35719. "handlestatus": {
  35720. "description": "处理状态",
  35721. "type": "integer"
  35722. },
  35723. "interestminlen": {
  35724. "description": "最小起息天数",
  35725. "type": "integer"
  35726. },
  35727. "interestrate": {
  35728. "description": "利率",
  35729. "type": "number"
  35730. },
  35731. "interestratemode": {
  35732. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35733. "type": "integer"
  35734. },
  35735. "interestsettlemode": {
  35736. "description": "结息方式 - 1:按日结息 3:按月结息",
  35737. "type": "integer"
  35738. },
  35739. "interestsettlevalue": {
  35740. "description": "结息方式值",
  35741. "type": "integer"
  35742. },
  35743. "isautoloan": {
  35744. "description": "是否自动放款 - 0:手动 1:自动",
  35745. "type": "integer"
  35746. },
  35747. "marginratio": {
  35748. "description": "保证金比率质押率 - [仓单质押]",
  35749. "type": "number"
  35750. },
  35751. "marketid": {
  35752. "description": "市场ID",
  35753. "type": "integer"
  35754. },
  35755. "minivalue": {
  35756. "description": "现货商品最小变动值",
  35757. "type": "integer"
  35758. },
  35759. "optioncompare": {
  35760. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35761. "type": "string"
  35762. },
  35763. "orderqty": {
  35764. "description": "委托数量(商品数量)",
  35765. "type": "number"
  35766. },
  35767. "productdetailid": {
  35768. "description": "产品组合ID",
  35769. "type": "integer"
  35770. },
  35771. "productid": {
  35772. "description": "金融产品ID",
  35773. "type": "integer"
  35774. },
  35775. "productname": {
  35776. "description": "产品名称",
  35777. "type": "string"
  35778. },
  35779. "remark": {
  35780. "description": "备注",
  35781. "type": "string"
  35782. },
  35783. "scfcontractid": {
  35784. "description": "仓单回购合同ID",
  35785. "type": "string"
  35786. },
  35787. "sellaccountid": {
  35788. "description": "卖方资金账号",
  35789. "type": "integer"
  35790. },
  35791. "selluserid": {
  35792. "description": "卖方用户ID",
  35793. "type": "integer"
  35794. },
  35795. "sellwrtradeorderid": {
  35796. "description": "卖方委托单ID",
  35797. "type": "string"
  35798. },
  35799. "tradeamount": {
  35800. "description": "成交金额(借款金额)",
  35801. "type": "number"
  35802. },
  35803. "tradedate": {
  35804. "description": "交易日(yyyyMMdd)",
  35805. "type": "string"
  35806. },
  35807. "tradeprice": {
  35808. "description": "成交价格",
  35809. "type": "number"
  35810. },
  35811. "warehouseid": {
  35812. "description": "仓库ID",
  35813. "type": "integer"
  35814. },
  35815. "warehousename": {
  35816. "description": "仓库名称",
  35817. "type": "string"
  35818. },
  35819. "wrfactortypeid": {
  35820. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35821. "type": "string"
  35822. },
  35823. "wrfactortypename": {
  35824. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35825. "type": "string"
  35826. },
  35827. "wrpricetype": {
  35828. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  35829. "type": "integer"
  35830. },
  35831. "wrstandardcode": {
  35832. "description": "现货商品代码",
  35833. "type": "string"
  35834. },
  35835. "wrstandardid": {
  35836. "description": "现货商品ID",
  35837. "type": "integer"
  35838. },
  35839. "wrstandardname": {
  35840. "description": "商品名称",
  35841. "type": "string"
  35842. },
  35843. "wrtypename": {
  35844. "description": "商品",
  35845. "type": "string"
  35846. }
  35847. }
  35848. },
  35849. "models.WrFriendApply": {
  35850. "type": "object",
  35851. "properties": {
  35852. "applicantid": {
  35853. "description": "申请人",
  35854. "type": "integer"
  35855. },
  35856. "applyname": {
  35857. "description": "申请人名称",
  35858. "type": "string"
  35859. },
  35860. "applysrc": {
  35861. "description": "申请来源 - 1:管理端 2:终端",
  35862. "type": "integer"
  35863. },
  35864. "applystatus": {
  35865. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35866. "type": "integer"
  35867. },
  35868. "applytime": {
  35869. "description": "申请时间",
  35870. "type": "string"
  35871. },
  35872. "auditname": {
  35873. "description": "审核人名称",
  35874. "type": "string"
  35875. },
  35876. "auditorid": {
  35877. "description": "审核人",
  35878. "type": "integer"
  35879. },
  35880. "auditremark": {
  35881. "description": "审核备注",
  35882. "type": "string"
  35883. },
  35884. "auditsrc": {
  35885. "description": "审核来源 - 1:管理端 2:终端",
  35886. "type": "integer"
  35887. },
  35888. "audittime": {
  35889. "description": "审核时间",
  35890. "type": "string"
  35891. },
  35892. "friendapplyid": {
  35893. "description": "申请ID(SEQ_FRIENDAPPLY)",
  35894. "type": "string"
  35895. },
  35896. "friendname": {
  35897. "description": "好友名字(已脱敏)",
  35898. "type": "string"
  35899. },
  35900. "frienduserid": {
  35901. "description": "好友用户ID",
  35902. "type": "string"
  35903. },
  35904. "remark": {
  35905. "description": "备注",
  35906. "type": "string"
  35907. },
  35908. "userid": {
  35909. "description": "申请人用户ID",
  35910. "type": "integer"
  35911. }
  35912. }
  35913. },
  35914. "models.WrFtDeliveryGoods": {
  35915. "type": "object",
  35916. "properties": {
  35917. "deliverygoodscode": {
  35918. "description": "品种代码",
  35919. "type": "string"
  35920. },
  35921. "deliverygoodsid": {
  35922. "description": "品种ID",
  35923. "type": "integer"
  35924. },
  35925. "deliverygoodsname": {
  35926. "description": "品种名称",
  35927. "type": "string"
  35928. },
  35929. "wdlst": {
  35930. "description": "商品列表",
  35931. "type": "array",
  35932. "items": {
  35933. "$ref": "#/definitions/models.WrFtWrstandard"
  35934. }
  35935. }
  35936. }
  35937. },
  35938. "models.WrFtWrstandard": {
  35939. "type": "object",
  35940. "properties": {
  35941. "enumdicname": {
  35942. "description": "单位名称",
  35943. "type": "string"
  35944. },
  35945. "minivalue": {
  35946. "description": "最小变动值",
  35947. "type": "integer"
  35948. },
  35949. "wrstandardcode": {
  35950. "description": "现货商品代码",
  35951. "type": "string"
  35952. },
  35953. "wrstandardid": {
  35954. "description": "现货商品ID",
  35955. "type": "integer"
  35956. },
  35957. "wrstandardname": {
  35958. "description": "商品名称",
  35959. "type": "string"
  35960. }
  35961. }
  35962. },
  35963. "models.WrGoodsInfo": {
  35964. "type": "object",
  35965. "properties": {
  35966. "haswr": {
  35967. "description": "0:仓单预售 1:仓单贸易",
  35968. "type": "integer"
  35969. },
  35970. "lstitem": {
  35971. "description": "商品信息项",
  35972. "type": "array",
  35973. "items": {
  35974. "$ref": "#/definitions/models.WrTypeItem"
  35975. }
  35976. },
  35977. "lststep": {
  35978. "description": "履约规则",
  35979. "type": "array",
  35980. "items": {
  35981. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35982. }
  35983. },
  35984. "marketid": {
  35985. "description": "市场id",
  35986. "type": "integer"
  35987. }
  35988. }
  35989. },
  35990. "models.WrGoodsPerformanceStep": {
  35991. "type": "object",
  35992. "properties": {
  35993. "autoid": {
  35994. "description": "AutoID",
  35995. "type": "integer"
  35996. },
  35997. "isauto": {
  35998. "description": "是否自动 - 0:不自动 1:自动",
  35999. "type": "integer"
  36000. },
  36001. "remark": {
  36002. "description": "备注",
  36003. "type": "string"
  36004. },
  36005. "stepdate": {
  36006. "description": "天数信息(T+N)",
  36007. "type": "string"
  36008. },
  36009. "stepdays": {
  36010. "description": "距离上一步天数",
  36011. "type": "integer"
  36012. },
  36013. "stepindex": {
  36014. "description": "步骤序号",
  36015. "type": "integer"
  36016. },
  36017. "stepinfo": {
  36018. "description": "步骤信息(步骤名称+步骤值)",
  36019. "type": "string"
  36020. },
  36021. "steptypeid": {
  36022. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36023. "type": "integer"
  36024. },
  36025. "steptypename": {
  36026. "description": "步骤名称",
  36027. "type": "string"
  36028. },
  36029. "stepvalue": {
  36030. "description": "步骤值",
  36031. "type": "number"
  36032. },
  36033. "templateid": {
  36034. "description": "履约计划模板ID",
  36035. "type": "integer"
  36036. }
  36037. }
  36038. },
  36039. "models.WrHoldLB": {
  36040. "type": "object",
  36041. "properties": {
  36042. "accountid": {
  36043. "description": "持有人帐户ID",
  36044. "type": "integer"
  36045. },
  36046. "bannerpicurl": {
  36047. "description": "Banner图",
  36048. "type": "string"
  36049. },
  36050. "createtime": {
  36051. "description": "创建时间(过户时间)",
  36052. "type": "string"
  36053. },
  36054. "deliverygoodscode": {
  36055. "description": "品种代码",
  36056. "type": "string"
  36057. },
  36058. "deliverygoodsid": {
  36059. "description": "品种ID",
  36060. "type": "integer"
  36061. },
  36062. "deliverygoodsname": {
  36063. "description": "品种名称",
  36064. "type": "string"
  36065. },
  36066. "enableqty": {
  36067. "description": "可用数量",
  36068. "type": "number"
  36069. },
  36070. "enumdicname": {
  36071. "description": "单位名称",
  36072. "type": "string"
  36073. },
  36074. "freezerqty": {
  36075. "description": "冻结数量",
  36076. "type": "number"
  36077. },
  36078. "ladingbillid": {
  36079. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  36080. "type": "string"
  36081. },
  36082. "minivalue": {
  36083. "description": "现货商品最小变动值",
  36084. "type": "integer"
  36085. },
  36086. "optioncompare": {
  36087. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36088. "type": "string"
  36089. },
  36090. "parentsubnum": {
  36091. "description": "拆分父子单号",
  36092. "type": "integer"
  36093. },
  36094. "pledgeqty": {
  36095. "description": "质押数量",
  36096. "type": "number"
  36097. },
  36098. "qty": {
  36099. "description": "数量",
  36100. "type": "number"
  36101. },
  36102. "subnum": {
  36103. "description": "提单子单号",
  36104. "type": "integer"
  36105. },
  36106. "tradedate": {
  36107. "description": "交易日(yyyyMMdd)",
  36108. "type": "string"
  36109. },
  36110. "userid": {
  36111. "description": "持有人ID",
  36112. "type": "integer"
  36113. },
  36114. "warehouseid": {
  36115. "description": "仓库ID",
  36116. "type": "integer"
  36117. },
  36118. "warehousename": {
  36119. "description": "仓库名称",
  36120. "type": "string"
  36121. },
  36122. "wrfactortypeid": {
  36123. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36124. "type": "string"
  36125. },
  36126. "wrfactortypename": {
  36127. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36128. "type": "string"
  36129. },
  36130. "wrholdeno": {
  36131. "description": "仓单编号",
  36132. "type": "string"
  36133. },
  36134. "wrid": {
  36135. "description": "仓单变更ID",
  36136. "type": "string"
  36137. },
  36138. "wrstandardcode": {
  36139. "description": "现货商品代码",
  36140. "type": "string"
  36141. },
  36142. "wrstandardid": {
  36143. "description": "现货商品ID",
  36144. "type": "integer"
  36145. },
  36146. "wrstandardname": {
  36147. "description": "商品名称",
  36148. "type": "string"
  36149. },
  36150. "wrtypename": {
  36151. "description": "商品",
  36152. "type": "string"
  36153. }
  36154. }
  36155. },
  36156. "models.WrMarketTradeConfig": {
  36157. "type": "object",
  36158. "properties": {
  36159. "basisdownratio": {
  36160. "description": "浮动价基差下限比例(仓单贸易)",
  36161. "type": "number"
  36162. },
  36163. "basisupratio": {
  36164. "description": "浮动价基差上限比例(仓单贸易)",
  36165. "type": "number"
  36166. },
  36167. "buychargealgorithm": {
  36168. "description": "买方手续费收取方式 1:比率 2:固定",
  36169. "type": "integer"
  36170. },
  36171. "buychargealgorithm2": {
  36172. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  36173. "type": "integer"
  36174. },
  36175. "buychargealgorithmvalue": {
  36176. "description": "买方手续费设置值(交易所部分)",
  36177. "type": "number"
  36178. },
  36179. "buychargealgorithmvalue2": {
  36180. "description": "买方手续费设置值(会员部分)",
  36181. "type": "number"
  36182. },
  36183. "buychargealgorithmvalue3": {
  36184. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  36185. "type": "number"
  36186. },
  36187. "buychargealgorithmvalue4": {
  36188. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  36189. "type": "number"
  36190. },
  36191. "buyfirstmarginalgorithm": {
  36192. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  36193. "type": "integer"
  36194. },
  36195. "buyfirstmarginvalue": {
  36196. "description": "买方出价保证金设置值 - [竞拍]",
  36197. "type": "number"
  36198. },
  36199. "buymarginalgorithm": {
  36200. "description": "买方保证金方式 - 1:比率 2:固定",
  36201. "type": "integer"
  36202. },
  36203. "buymarginvalue": {
  36204. "description": "买方保证金设置值",
  36205. "type": "number"
  36206. },
  36207. "buyreleaseratio": {
  36208. "description": "买方释放比率[2:分步履约]",
  36209. "type": "number"
  36210. },
  36211. "executemode": {
  36212. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  36213. "type": "integer"
  36214. },
  36215. "executeside": {
  36216. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  36217. "type": "integer"
  36218. },
  36219. "failedchargealgorithm": {
  36220. "description": "流拍手续费收取方式 1:比率 2:固定",
  36221. "type": "integer"
  36222. },
  36223. "failedchargevalue": {
  36224. "description": "流拍手续费设置值",
  36225. "type": "number"
  36226. },
  36227. "failedchargevalue2": {
  36228. "description": "流拍卖方手续费设置值",
  36229. "type": "number"
  36230. },
  36231. "holddays": {
  36232. "description": "合同期限[2:分步履约]",
  36233. "type": "integer"
  36234. },
  36235. "marketid": {
  36236. "description": "市场ID-仓单贸易、竞拍、预售",
  36237. "type": "integer"
  36238. },
  36239. "minqty": {
  36240. "description": "最小执行量[2:分步履约]",
  36241. "type": "number"
  36242. },
  36243. "modifierid": {
  36244. "description": "修改人",
  36245. "type": "integer"
  36246. },
  36247. "performancetempid": {
  36248. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  36249. "type": "integer"
  36250. },
  36251. "performancetempid2": {
  36252. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  36253. "type": "integer"
  36254. },
  36255. "performancetempid2s": {
  36256. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  36257. "type": "string"
  36258. },
  36259. "performancetempids": {
  36260. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  36261. "type": "string"
  36262. },
  36263. "performanceway": {
  36264. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  36265. "type": "integer"
  36266. },
  36267. "sellchargealgorithm": {
  36268. "description": "卖方手续费收取方式 1:比率 2:固定",
  36269. "type": "integer"
  36270. },
  36271. "sellchargealgorithm2": {
  36272. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  36273. "type": "integer"
  36274. },
  36275. "sellchargealgorithmvalue": {
  36276. "description": "卖方手续费设置值(交易所部分)",
  36277. "type": "number"
  36278. },
  36279. "sellchargealgorithmvalue2": {
  36280. "description": "卖方手续费设置值(会员部分)",
  36281. "type": "number"
  36282. },
  36283. "sellchargealgorithmvalue3": {
  36284. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  36285. "type": "number"
  36286. },
  36287. "sellchargealgorithmvalue4": {
  36288. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  36289. "type": "number"
  36290. },
  36291. "sellmarginalgorithm": {
  36292. "description": "卖方保证金方式 - 1:比率 2:固定",
  36293. "type": "integer"
  36294. },
  36295. "sellmarginvalue": {
  36296. "description": "卖方保证金设置值",
  36297. "type": "number"
  36298. },
  36299. "sellmarginvalue2": {
  36300. "description": "卖方保证金设置值(无仓单)",
  36301. "type": "number"
  36302. },
  36303. "sellreleaseratio": {
  36304. "description": "卖方释放比率[2:分步履约]",
  36305. "type": "number"
  36306. },
  36307. "updatetime": {
  36308. "description": "更新时间",
  36309. "type": "string"
  36310. }
  36311. }
  36312. },
  36313. "models.WrOrderDetail": {
  36314. "type": "object",
  36315. "properties": {
  36316. "accountid": {
  36317. "description": "交易账号(资金账号)",
  36318. "type": "integer"
  36319. },
  36320. "allfriendsflag": {
  36321. "description": "是否全好友可见 - 0:否 1:是",
  36322. "type": "integer"
  36323. },
  36324. "amount": {
  36325. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  36326. "type": "number"
  36327. },
  36328. "bannerpicurl": {
  36329. "description": "Banner图",
  36330. "type": "string"
  36331. },
  36332. "begindate": {
  36333. "description": "开始交易日(yyyymmdd)",
  36334. "type": "string"
  36335. },
  36336. "buyorsell": {
  36337. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36338. "type": "integer"
  36339. },
  36340. "canbargain": {
  36341. "description": "是否可议价 - 0:不可 1:可",
  36342. "type": "integer"
  36343. },
  36344. "cancelqty": {
  36345. "description": "撤销数量",
  36346. "type": "number"
  36347. },
  36348. "canpart": {
  36349. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  36350. "type": "integer"
  36351. },
  36352. "delistminqty": {
  36353. "description": "起摘数量",
  36354. "type": "integer"
  36355. },
  36356. "deliverygoodscode": {
  36357. "description": "品种代码",
  36358. "type": "string"
  36359. },
  36360. "deliverygoodsid": {
  36361. "description": "品种ID",
  36362. "type": "integer"
  36363. },
  36364. "deliverygoodsname": {
  36365. "description": "品种名称",
  36366. "type": "string"
  36367. },
  36368. "deliverymonth": {
  36369. "description": "交收月",
  36370. "type": "string"
  36371. },
  36372. "enddate": {
  36373. "description": "结束交易日(yyyymmdd)",
  36374. "type": "string"
  36375. },
  36376. "enumdicname": {
  36377. "description": "单位名称",
  36378. "type": "string"
  36379. },
  36380. "fixedprice": {
  36381. "description": "固定价格 - [挂牌]",
  36382. "type": "number"
  36383. },
  36384. "freezecharge": {
  36385. "description": "冻结手续费",
  36386. "type": "number"
  36387. },
  36388. "freezemargin": {
  36389. "description": "冻结保证金(保证金)",
  36390. "type": "number"
  36391. },
  36392. "futupricemove": {
  36393. "description": "期货升贴水",
  36394. "type": "number"
  36395. },
  36396. "futushow": {
  36397. "description": "期货合约/升贴水",
  36398. "type": "string"
  36399. },
  36400. "goodscode": {
  36401. "description": "期货合约",
  36402. "type": "string"
  36403. },
  36404. "goodsid": {
  36405. "description": "期货商品id",
  36406. "type": "integer"
  36407. },
  36408. "goodsname": {
  36409. "description": "商品名称",
  36410. "type": "string"
  36411. },
  36412. "haswr": {
  36413. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36414. "type": "integer"
  36415. },
  36416. "isspecified": {
  36417. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  36418. "type": "integer"
  36419. },
  36420. "ladingbillid": {
  36421. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  36422. "type": "string"
  36423. },
  36424. "marginvalue": {
  36425. "description": "保证金设置值(履约保证金)",
  36426. "type": "number"
  36427. },
  36428. "marketid": {
  36429. "description": "市场ID",
  36430. "type": "integer"
  36431. },
  36432. "matchusername": {
  36433. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  36434. "type": "string"
  36435. },
  36436. "minivalue": {
  36437. "description": "现货商品最小变动值",
  36438. "type": "integer"
  36439. },
  36440. "optioncompare": {
  36441. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36442. "type": "string"
  36443. },
  36444. "orderqty": {
  36445. "description": "委托数量",
  36446. "type": "number"
  36447. },
  36448. "ordertime": {
  36449. "description": "委托时间(挂牌时间)",
  36450. "type": "string"
  36451. },
  36452. "performancetemplateid": {
  36453. "description": "履约模板id",
  36454. "type": "integer"
  36455. },
  36456. "pricemove": {
  36457. "description": "升贴水(浮动价时填写) - [挂牌]",
  36458. "type": "number"
  36459. },
  36460. "taname": {
  36461. "description": "交易用户名称(资金账号名称)",
  36462. "type": "string"
  36463. },
  36464. "tradedate": {
  36465. "description": "交易日(yyyyMMdd)",
  36466. "type": "string"
  36467. },
  36468. "tradeprice": {
  36469. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  36470. "type": "number"
  36471. },
  36472. "tradeqty": {
  36473. "description": "成交数量",
  36474. "type": "number"
  36475. },
  36476. "userid": {
  36477. "description": "用户ID",
  36478. "type": "integer"
  36479. },
  36480. "validtime": {
  36481. "description": "挂牌有效期",
  36482. "type": "string"
  36483. },
  36484. "validtype": {
  36485. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36486. "type": "integer"
  36487. },
  36488. "warehouseid": {
  36489. "description": "仓库ID",
  36490. "type": "integer"
  36491. },
  36492. "warehousename": {
  36493. "description": "仓库名称",
  36494. "type": "string"
  36495. },
  36496. "wrfactortypeid": {
  36497. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36498. "type": "string"
  36499. },
  36500. "wrfactortypename": {
  36501. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36502. "type": "string"
  36503. },
  36504. "wrpricetype": {
  36505. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36506. "type": "integer"
  36507. },
  36508. "wrstandardcode": {
  36509. "description": "现货商品代码",
  36510. "type": "string"
  36511. },
  36512. "wrstandardid": {
  36513. "description": "现货商品ID",
  36514. "type": "integer"
  36515. },
  36516. "wrstandardname": {
  36517. "description": "商品名称",
  36518. "type": "string"
  36519. },
  36520. "wrtradeorderid": {
  36521. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36522. "type": "string"
  36523. },
  36524. "wrtradeorderstatus": {
  36525. "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:撤单解冻贷款失败",
  36526. "type": "integer"
  36527. },
  36528. "wrtradetype": {
  36529. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36530. "type": "integer"
  36531. },
  36532. "wrtypename": {
  36533. "description": "商品",
  36534. "type": "string"
  36535. }
  36536. }
  36537. },
  36538. "models.WrOrderQuote": {
  36539. "type": "object",
  36540. "properties": {
  36541. "bannerpicurl": {
  36542. "description": "Banner图",
  36543. "type": "string"
  36544. },
  36545. "buyprice": {
  36546. "description": "买价",
  36547. "type": "number"
  36548. },
  36549. "buypricemove": {
  36550. "description": "买升贴水(基差)",
  36551. "type": "number"
  36552. },
  36553. "buyqty": {
  36554. "description": "买量",
  36555. "type": "number"
  36556. },
  36557. "deliverygoodscode": {
  36558. "description": "品种代码",
  36559. "type": "string"
  36560. },
  36561. "deliverygoodsid": {
  36562. "description": "品种id",
  36563. "type": "integer"
  36564. },
  36565. "deliverygoodsname": {
  36566. "description": "品种名称",
  36567. "type": "string"
  36568. },
  36569. "deliverymonth": {
  36570. "description": "交收月",
  36571. "type": "string"
  36572. },
  36573. "enumdicname": {
  36574. "description": "单位名称",
  36575. "type": "string"
  36576. },
  36577. "goodscode": {
  36578. "description": "商品合约(浮动价列表才有)",
  36579. "type": "string"
  36580. },
  36581. "goodsid": {
  36582. "description": "商品id(浮动价列表才有)",
  36583. "type": "integer"
  36584. },
  36585. "minivalue": {
  36586. "description": "现货商品最小变动值",
  36587. "type": "integer"
  36588. },
  36589. "pictureurls": {
  36590. "description": "详情图片(逗号分隔)",
  36591. "type": "string"
  36592. },
  36593. "sellprice": {
  36594. "description": "卖价",
  36595. "type": "number"
  36596. },
  36597. "sellpricemove": {
  36598. "description": "卖升贴水(基差)",
  36599. "type": "number"
  36600. },
  36601. "sellqty": {
  36602. "description": "卖量",
  36603. "type": "number"
  36604. },
  36605. "thumurls": {
  36606. "description": "缩略图片(1:1)(逗号分隔)",
  36607. "type": "string"
  36608. },
  36609. "warehousecode": {
  36610. "description": "仓库代码",
  36611. "type": "string"
  36612. },
  36613. "warehouseid": {
  36614. "description": "仓库id",
  36615. "type": "integer"
  36616. },
  36617. "warehousename": {
  36618. "description": "仓库名称",
  36619. "type": "string"
  36620. },
  36621. "wrfactortypeid": {
  36622. "description": "仓单要素id",
  36623. "type": "string"
  36624. },
  36625. "wrfactortypename": {
  36626. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36627. "type": "string"
  36628. },
  36629. "wrgoodsname": {
  36630. "description": "商品(商品名称+仓库要素名称 拼接)",
  36631. "type": "string"
  36632. },
  36633. "wrstandardcode": {
  36634. "description": "商品代码",
  36635. "type": "string"
  36636. },
  36637. "wrstandardid": {
  36638. "description": "商品id",
  36639. "type": "integer"
  36640. },
  36641. "wrstandardname": {
  36642. "description": "商品名称",
  36643. "type": "string"
  36644. }
  36645. }
  36646. },
  36647. "models.WrOrderQuoteDetail": {
  36648. "type": "object",
  36649. "properties": {
  36650. "buyorsell": {
  36651. "description": "买卖 - 0:买 1:卖",
  36652. "type": "integer"
  36653. },
  36654. "delistminqty": {
  36655. "description": "起摘数量",
  36656. "type": "number"
  36657. },
  36658. "deliverymonth": {
  36659. "description": "交收月",
  36660. "type": "string"
  36661. },
  36662. "enumdicname": {
  36663. "description": "单位名称",
  36664. "type": "string"
  36665. },
  36666. "fixedprice": {
  36667. "description": "买(卖)价",
  36668. "type": "number"
  36669. },
  36670. "marketid": {
  36671. "description": "市场id",
  36672. "type": "integer"
  36673. },
  36674. "minivalue": {
  36675. "description": "现货商品最小变动值",
  36676. "type": "integer"
  36677. },
  36678. "orderqty": {
  36679. "description": "买(卖)量(=委托量-成交量)",
  36680. "type": "number"
  36681. },
  36682. "ordertime": {
  36683. "description": "委托时间",
  36684. "type": "string"
  36685. },
  36686. "pricemove": {
  36687. "description": "买(卖)升贴水- 基差",
  36688. "type": "number"
  36689. },
  36690. "userid": {
  36691. "description": "购买方(销售方)用户ID",
  36692. "type": "integer"
  36693. },
  36694. "username": {
  36695. "description": "购买方(销售方)",
  36696. "type": "string"
  36697. },
  36698. "wrtradeorderid": {
  36699. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36700. "type": "string"
  36701. }
  36702. }
  36703. },
  36704. "models.WrOutInApply": {
  36705. "type": "object",
  36706. "properties": {
  36707. "applyid": {
  36708. "description": "申请单id",
  36709. "type": "string"
  36710. },
  36711. "applystatus": {
  36712. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  36713. "type": "integer"
  36714. },
  36715. "applytime": {
  36716. "description": "申请时间",
  36717. "type": "string"
  36718. },
  36719. "applytype": {
  36720. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  36721. "type": "integer"
  36722. },
  36723. "bannerpicurl": {
  36724. "description": "Banner图",
  36725. "type": "string"
  36726. },
  36727. "begindate": {
  36728. "description": "开始交易日(yyyymmdd)",
  36729. "type": "string"
  36730. },
  36731. "deliverygoodscode": {
  36732. "description": "品种代码",
  36733. "type": "string"
  36734. },
  36735. "deliverygoodsid": {
  36736. "description": "品种ID",
  36737. "type": "integer"
  36738. },
  36739. "deliverygoodsname": {
  36740. "description": "品种名称",
  36741. "type": "string"
  36742. },
  36743. "enddate": {
  36744. "description": "结束交易日(yyyymmdd)",
  36745. "type": "string"
  36746. },
  36747. "enumdicname": {
  36748. "description": "单位名称",
  36749. "type": "string"
  36750. },
  36751. "expresscompany": {
  36752. "description": "物流公司",
  36753. "type": "string"
  36754. },
  36755. "expressnum": {
  36756. "description": "物流单号",
  36757. "type": "string"
  36758. },
  36759. "minivalue": {
  36760. "description": "现货商品最小变动值",
  36761. "type": "integer"
  36762. },
  36763. "optioncompare": {
  36764. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36765. "type": "string"
  36766. },
  36767. "qty": {
  36768. "description": "数量",
  36769. "type": "integer"
  36770. },
  36771. "userid": {
  36772. "description": "用户id",
  36773. "type": "integer"
  36774. },
  36775. "warehouseid": {
  36776. "description": "仓库ID",
  36777. "type": "integer"
  36778. },
  36779. "warehousename": {
  36780. "description": "仓库名称",
  36781. "type": "string"
  36782. },
  36783. "wrfactortypeid": {
  36784. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36785. "type": "string"
  36786. },
  36787. "wrfactortypename": {
  36788. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36789. "type": "string"
  36790. },
  36791. "wrstandardcode": {
  36792. "description": "现货商品代码",
  36793. "type": "string"
  36794. },
  36795. "wrstandardid": {
  36796. "description": "现货商品ID",
  36797. "type": "integer"
  36798. },
  36799. "wrstandardname": {
  36800. "description": "商品名称",
  36801. "type": "string"
  36802. },
  36803. "wrtypename": {
  36804. "description": "商品",
  36805. "type": "string"
  36806. }
  36807. }
  36808. },
  36809. "models.WrPerformancePlan": {
  36810. "type": "object",
  36811. "required": [
  36812. "userid"
  36813. ],
  36814. "properties": {
  36815. "activatemonth": {
  36816. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  36817. "type": "string"
  36818. },
  36819. "amount": {
  36820. "description": "履约金额(总金额)",
  36821. "type": "number"
  36822. },
  36823. "begindate": {
  36824. "description": "开始交易日(yyyymmdd)",
  36825. "type": "string"
  36826. },
  36827. "buyaccountid": {
  36828. "description": "买方账号",
  36829. "type": "integer"
  36830. },
  36831. "buyerfreezeamount": {
  36832. "description": "履约冻结(买履约)",
  36833. "type": "number"
  36834. },
  36835. "buyerfreezeamountremain": {
  36836. "description": "履约冻结剩余(买履约)",
  36837. "type": "number"
  36838. },
  36839. "buyorsell": {
  36840. "description": "买卖方向 0-买 1-卖",
  36841. "type": "integer"
  36842. },
  36843. "buypaidamount": {
  36844. "description": "买方已冻/已扣金额 (已付金额)",
  36845. "type": "number"
  36846. },
  36847. "buyusername": {
  36848. "description": "买方名字",
  36849. "type": "string"
  36850. },
  36851. "contractid": {
  36852. "description": "合同ID",
  36853. "type": "integer"
  36854. },
  36855. "createtime": {
  36856. "description": "创建时间",
  36857. "type": "string"
  36858. },
  36859. "creatorid": {
  36860. "description": "创建人",
  36861. "type": "integer"
  36862. },
  36863. "curstepdeadline": {
  36864. "description": "当前步骤到期时间",
  36865. "type": "string"
  36866. },
  36867. "curstepid": {
  36868. "description": "当前步骤ID",
  36869. "type": "string"
  36870. },
  36871. "curstepname": {
  36872. "description": "当前步骤名称",
  36873. "type": "string"
  36874. },
  36875. "deliverygoodscode": {
  36876. "description": "品种代码",
  36877. "type": "string"
  36878. },
  36879. "deliverygoodsid": {
  36880. "description": "品种ID",
  36881. "type": "integer"
  36882. },
  36883. "deliverygoodsname": {
  36884. "description": "品种名称",
  36885. "type": "string"
  36886. },
  36887. "enddate": {
  36888. "description": "结束交易日(yyyymmdd)",
  36889. "type": "string"
  36890. },
  36891. "enumdicname": {
  36892. "description": "单位名称",
  36893. "type": "string"
  36894. },
  36895. "expressfee": {
  36896. "description": "运费",
  36897. "type": "number"
  36898. },
  36899. "expressfeeconfirmed": {
  36900. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  36901. "type": "integer"
  36902. },
  36903. "hasovershort": {
  36904. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  36905. "type": "integer"
  36906. },
  36907. "haswr": {
  36908. "description": "类型 0-仓单预售 1-仓单贸易",
  36909. "type": "integer"
  36910. },
  36911. "marketid": {
  36912. "description": "市场ID",
  36913. "type": "integer"
  36914. },
  36915. "middleaccountid": {
  36916. "description": "中间商资金账号ID",
  36917. "type": "integer"
  36918. },
  36919. "middleuserid": {
  36920. "description": "中间商用户ID",
  36921. "type": "integer"
  36922. },
  36923. "minivalue": {
  36924. "description": "现货商品最小变动值",
  36925. "type": "integer"
  36926. },
  36927. "optioncompare": {
  36928. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36929. "type": "string"
  36930. },
  36931. "overshortamount": {
  36932. "description": "溢短金额",
  36933. "type": "number"
  36934. },
  36935. "overshortqty": {
  36936. "description": "溢短数量",
  36937. "type": "number"
  36938. },
  36939. "paymenttype": {
  36940. "description": "付款方式 - 1:冻结 2:扣款",
  36941. "type": "integer"
  36942. },
  36943. "performanceplanid": {
  36944. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  36945. "type": "string"
  36946. },
  36947. "performancestatus": {
  36948. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  36949. "type": "integer"
  36950. },
  36951. "performancetype": {
  36952. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  36953. "type": "integer"
  36954. },
  36955. "qty": {
  36956. "description": "履约数量",
  36957. "type": "number"
  36958. },
  36959. "relatedorderid": {
  36960. "description": "关联单号(履约类型的关联单号)",
  36961. "type": "string"
  36962. },
  36963. "remark": {
  36964. "description": "备注",
  36965. "type": "string"
  36966. },
  36967. "sellaccountid": {
  36968. "description": "卖方账号",
  36969. "type": "integer"
  36970. },
  36971. "sellerfreezeamount": {
  36972. "description": "履约冻结(卖履约)",
  36973. "type": "number"
  36974. },
  36975. "sellerfreezeamountremain": {
  36976. "description": "履约冻结剩余(卖履约)",
  36977. "type": "number"
  36978. },
  36979. "sellreceivedamount": {
  36980. "description": "卖方已收金额",
  36981. "type": "number"
  36982. },
  36983. "sellusername": {
  36984. "description": "卖方名字",
  36985. "type": "string"
  36986. },
  36987. "shipremark": {
  36988. "description": "发货备注[物流单号]",
  36989. "type": "string"
  36990. },
  36991. "starttime": {
  36992. "description": "开始时间",
  36993. "type": "string"
  36994. },
  36995. "steptypeid": {
  36996. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36997. "type": "integer"
  36998. },
  36999. "typename": {
  37000. "description": "履约类型 名称",
  37001. "type": "string"
  37002. },
  37003. "unpaidamount": {
  37004. "description": "剩余款(待支付金额)",
  37005. "type": "number"
  37006. },
  37007. "userid": {
  37008. "description": "用户id",
  37009. "type": "integer"
  37010. },
  37011. "warehouseid": {
  37012. "description": "仓库ID",
  37013. "type": "integer"
  37014. },
  37015. "warehousename": {
  37016. "description": "仓库名称",
  37017. "type": "string"
  37018. },
  37019. "wrfactortypeid": {
  37020. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37021. "type": "string"
  37022. },
  37023. "wrfactortypename": {
  37024. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37025. "type": "string"
  37026. },
  37027. "wrstandardcode": {
  37028. "description": "现货商品代码",
  37029. "type": "string"
  37030. },
  37031. "wrstandardid": {
  37032. "description": "现货商品ID",
  37033. "type": "integer"
  37034. },
  37035. "wrstandardname": {
  37036. "description": "商品名称",
  37037. "type": "string"
  37038. },
  37039. "wrtransferuserid": {
  37040. "description": "仓单受让用户",
  37041. "type": "integer"
  37042. },
  37043. "wrtypename": {
  37044. "description": "商品",
  37045. "type": "string"
  37046. }
  37047. }
  37048. },
  37049. "models.WrPerformancePlanStep": {
  37050. "type": "object",
  37051. "properties": {
  37052. "delaydays": {
  37053. "description": "延期申请天数",
  37054. "type": "integer"
  37055. },
  37056. "deliverygoodscode": {
  37057. "description": "品种代码",
  37058. "type": "string"
  37059. },
  37060. "deliverygoodsid": {
  37061. "description": "品种ID",
  37062. "type": "integer"
  37063. },
  37064. "deliverygoodsname": {
  37065. "description": "品种名称",
  37066. "type": "string"
  37067. },
  37068. "endtime": {
  37069. "description": "结束日期",
  37070. "type": "string"
  37071. },
  37072. "enumdicname": {
  37073. "description": "单位名称",
  37074. "type": "string"
  37075. },
  37076. "executeside": {
  37077. "description": "步骤执行方 - 1:买方 2:卖方",
  37078. "type": "integer"
  37079. },
  37080. "handlestatus": {
  37081. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  37082. "type": "integer"
  37083. },
  37084. "isauto": {
  37085. "description": "是否自动 - 0:不自动 1:自动",
  37086. "type": "integer"
  37087. },
  37088. "islastreceivestep": {
  37089. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  37090. "type": "integer"
  37091. },
  37092. "minivalue": {
  37093. "description": "现货商品最小变动值",
  37094. "type": "integer"
  37095. },
  37096. "optioncompare": {
  37097. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37098. "type": "string"
  37099. },
  37100. "overdays": {
  37101. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  37102. "type": "integer"
  37103. },
  37104. "performancestepid": {
  37105. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  37106. "type": "string"
  37107. },
  37108. "planid": {
  37109. "description": "所属履约计划ID",
  37110. "type": "string"
  37111. },
  37112. "realamount": {
  37113. "description": "实际完成金额",
  37114. "type": "number"
  37115. },
  37116. "relatedorderid": {
  37117. "description": "关联单号",
  37118. "type": "string"
  37119. },
  37120. "remaindays": {
  37121. "description": "剩余天数",
  37122. "type": "integer"
  37123. },
  37124. "remark": {
  37125. "description": "错误备注",
  37126. "type": "string"
  37127. },
  37128. "starttime": {
  37129. "description": "开始日期",
  37130. "type": "string"
  37131. },
  37132. "stepamount": {
  37133. "description": "步骤金额",
  37134. "type": "number"
  37135. },
  37136. "stepdays": {
  37137. "description": "距离上一步天数(分钟)",
  37138. "type": "integer"
  37139. },
  37140. "stepindex": {
  37141. "description": "步骤序号",
  37142. "type": "integer"
  37143. },
  37144. "steplanchtype": {
  37145. "description": "步骤启动类型 - 1:系统自动 2:手动",
  37146. "type": "integer"
  37147. },
  37148. "stepremark": {
  37149. "description": "步骤备注",
  37150. "type": "string"
  37151. },
  37152. "stepstatus": {
  37153. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  37154. "type": "integer"
  37155. },
  37156. "steptypeid": {
  37157. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  37158. "type": "integer"
  37159. },
  37160. "steptypename": {
  37161. "description": "步骤名称",
  37162. "type": "string"
  37163. },
  37164. "stepvalue": {
  37165. "description": "步骤值",
  37166. "type": "number"
  37167. },
  37168. "warehouseid": {
  37169. "description": "仓库ID",
  37170. "type": "integer"
  37171. },
  37172. "warehousename": {
  37173. "description": "仓库名称",
  37174. "type": "string"
  37175. },
  37176. "wrfactortypeid": {
  37177. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37178. "type": "string"
  37179. },
  37180. "wrfactortypename": {
  37181. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37182. "type": "string"
  37183. },
  37184. "wrstandardcode": {
  37185. "description": "现货商品代码",
  37186. "type": "string"
  37187. },
  37188. "wrstandardid": {
  37189. "description": "现货商品ID",
  37190. "type": "integer"
  37191. },
  37192. "wrstandardname": {
  37193. "description": "商品名称",
  37194. "type": "string"
  37195. },
  37196. "wrtypename": {
  37197. "description": "商品",
  37198. "type": "string"
  37199. }
  37200. }
  37201. },
  37202. "models.WrPerformanceStepType": {
  37203. "type": "object",
  37204. "properties": {
  37205. "canauto": {
  37206. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  37207. "type": "integer"
  37208. },
  37209. "steptypeid": {
  37210. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  37211. "type": "integer"
  37212. },
  37213. "steptypename": {
  37214. "description": "步骤类型名称",
  37215. "type": "string"
  37216. }
  37217. }
  37218. },
  37219. "models.WrPerformanceTemplateEx": {
  37220. "type": "object",
  37221. "properties": {
  37222. "autoid": {
  37223. "description": "AutoID 模板id",
  37224. "type": "integer"
  37225. },
  37226. "createtime": {
  37227. "description": "创建时间",
  37228. "type": "string"
  37229. },
  37230. "creatorid": {
  37231. "description": "创建人",
  37232. "type": "integer"
  37233. },
  37234. "lstStep": {
  37235. "description": "步骤信息列表",
  37236. "type": "array",
  37237. "items": {
  37238. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  37239. }
  37240. },
  37241. "paymenttype": {
  37242. "description": "支付方式 - 1:冻结 2:扣款",
  37243. "type": "integer"
  37244. },
  37245. "takemode": {
  37246. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  37247. "type": "integer"
  37248. },
  37249. "templatename": {
  37250. "description": "模板名称",
  37251. "type": "string"
  37252. },
  37253. "templatetype": {
  37254. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  37255. "type": "integer"
  37256. },
  37257. "userid": {
  37258. "description": "所属用户",
  37259. "type": "integer"
  37260. }
  37261. }
  37262. },
  37263. "models.WrPosition": {
  37264. "type": "object",
  37265. "properties": {
  37266. "accountid": {
  37267. "description": "帐户ID",
  37268. "type": "integer"
  37269. },
  37270. "buyexcuteqty": {
  37271. "description": "采购履约中数量",
  37272. "type": "number"
  37273. },
  37274. "creditcurqty": {
  37275. "description": "授信当前数量(预售仓单:预售当前量)",
  37276. "type": "number"
  37277. },
  37278. "creditenableqty": {
  37279. "description": "授信可用数量(预售仓单: 可用数量)",
  37280. "type": "number"
  37281. },
  37282. "creditfreezeqty": {
  37283. "description": "授信冻结数量(预售仓单: 当前数量)",
  37284. "type": "number"
  37285. },
  37286. "credittotalqty": {
  37287. "description": "授信总数量(预售仓单:预售总量)",
  37288. "type": "number"
  37289. },
  37290. "credittradeqty": {
  37291. "description": "授信成交数量(预售仓单:成交总量)",
  37292. "type": "number"
  37293. },
  37294. "deliverygoodscode": {
  37295. "description": "品种代码",
  37296. "type": "string"
  37297. },
  37298. "deliverygoodsid": {
  37299. "description": "品种ID",
  37300. "type": "integer"
  37301. },
  37302. "deliverygoodsname": {
  37303. "description": "品种名称",
  37304. "type": "string"
  37305. },
  37306. "enalbeqty": {
  37307. "description": "可用数量",
  37308. "type": "number"
  37309. },
  37310. "enumdicname": {
  37311. "description": "单位名称",
  37312. "type": "string"
  37313. },
  37314. "freezeqty": {
  37315. "description": "总冻结数量",
  37316. "type": "number"
  37317. },
  37318. "haswr": {
  37319. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37320. "type": "integer"
  37321. },
  37322. "minivalue": {
  37323. "description": "现货商品最小变动值",
  37324. "type": "integer"
  37325. },
  37326. "modifytime": {
  37327. "description": "修改时间(过户时间)",
  37328. "type": "string"
  37329. },
  37330. "optioncompare": {
  37331. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37332. "type": "string"
  37333. },
  37334. "pledgeqty": {
  37335. "description": "质押数量",
  37336. "type": "number"
  37337. },
  37338. "querytype": {
  37339. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  37340. "type": "integer"
  37341. },
  37342. "sellexcuteqty": {
  37343. "description": "销售履约中数量",
  37344. "type": "number"
  37345. },
  37346. "totalqty": {
  37347. "description": "总数量(库存数量)",
  37348. "type": "number"
  37349. },
  37350. "warehouseid": {
  37351. "description": "仓库ID",
  37352. "type": "integer"
  37353. },
  37354. "warehousename": {
  37355. "description": "仓库名称",
  37356. "type": "string"
  37357. },
  37358. "wrfactortypeid": {
  37359. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37360. "type": "string"
  37361. },
  37362. "wrfactortypename": {
  37363. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37364. "type": "string"
  37365. },
  37366. "wrpositionid": {
  37367. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  37368. "type": "string"
  37369. },
  37370. "wrpositionno": {
  37371. "description": "仓单编号",
  37372. "type": "string"
  37373. },
  37374. "wrstandardcode": {
  37375. "description": "现货商品代码",
  37376. "type": "string"
  37377. },
  37378. "wrstandardid": {
  37379. "description": "现货商品ID",
  37380. "type": "integer"
  37381. },
  37382. "wrstandardname": {
  37383. "description": "商品名称",
  37384. "type": "string"
  37385. },
  37386. "wrtypename": {
  37387. "description": "商品",
  37388. "type": "string"
  37389. },
  37390. "wruserid": {
  37391. "description": "持有人ID",
  37392. "type": "integer"
  37393. }
  37394. }
  37395. },
  37396. "models.WrPreSaleInfo": {
  37397. "type": "object",
  37398. "properties": {
  37399. "bannerpicurl": {
  37400. "description": "Banner图",
  37401. "type": "string"
  37402. },
  37403. "baseqty": {
  37404. "description": "中签基数",
  37405. "type": "number"
  37406. },
  37407. "createtime": {
  37408. "description": "创建时间",
  37409. "type": "string"
  37410. },
  37411. "deliverygoodsid": {
  37412. "description": "现货品种ID",
  37413. "type": "integer"
  37414. },
  37415. "enddate": {
  37416. "description": "预售结束日期",
  37417. "type": "string"
  37418. },
  37419. "enumdicname": {
  37420. "description": "单位名称",
  37421. "type": "string"
  37422. },
  37423. "lotteryflag": {
  37424. "description": "摇号标识 - 0:未摇号 1:已摇号",
  37425. "type": "integer"
  37426. },
  37427. "lotteryqty": {
  37428. "description": "摇号总量",
  37429. "type": "number"
  37430. },
  37431. "luckyqty": {
  37432. "description": "已中签量",
  37433. "type": "number"
  37434. },
  37435. "marketid": {
  37436. "description": "市场ID",
  37437. "type": "integer"
  37438. },
  37439. "maxbuyqty": {
  37440. "description": "单人最大申购量",
  37441. "type": "number"
  37442. },
  37443. "maxluckyqty": {
  37444. "description": "单人最大中签量",
  37445. "type": "number"
  37446. },
  37447. "pictureurls": {
  37448. "description": "详情图片(逗号分隔)",
  37449. "type": "string"
  37450. },
  37451. "placeqty": {
  37452. "description": "已配售量",
  37453. "type": "number"
  37454. },
  37455. "presaleapplyid": {
  37456. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  37457. "type": "string",
  37458. "example": "0"
  37459. },
  37460. "presaleqty": {
  37461. "description": "预售总量",
  37462. "type": "number"
  37463. },
  37464. "presalestatus": {
  37465. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  37466. "type": "integer"
  37467. },
  37468. "sellaccountid": {
  37469. "description": "发行方资金账户ID",
  37470. "type": "integer"
  37471. },
  37472. "selluserid": {
  37473. "description": "发行方用户ID",
  37474. "type": "integer"
  37475. },
  37476. "sellwrtradeorderid": {
  37477. "description": "发行方卖委托单ID",
  37478. "type": "string"
  37479. },
  37480. "startdate": {
  37481. "description": "预售开始日期",
  37482. "type": "string"
  37483. },
  37484. "takestartdate": {
  37485. "description": "提货开始日期",
  37486. "type": "string"
  37487. },
  37488. "thumurls": {
  37489. "description": "缩略图片(1:1)(逗号分隔)",
  37490. "type": "string"
  37491. },
  37492. "tradedate": {
  37493. "description": "交易日",
  37494. "type": "string"
  37495. },
  37496. "unitid": {
  37497. "description": "单位ID",
  37498. "type": "integer"
  37499. },
  37500. "unitprice": {
  37501. "description": "商品单价",
  37502. "type": "number"
  37503. },
  37504. "username": {
  37505. "description": "发行方用户名称",
  37506. "type": "string"
  37507. },
  37508. "warehousecode": {
  37509. "description": "仓库代码(仓库简称)",
  37510. "type": "string"
  37511. },
  37512. "warehouseid": {
  37513. "description": "仓库ID",
  37514. "type": "integer"
  37515. },
  37516. "warehousename": {
  37517. "description": "仓库名称",
  37518. "type": "string"
  37519. },
  37520. "wrfactortypeid": {
  37521. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  37522. "type": "string",
  37523. "example": "0"
  37524. },
  37525. "wrstandardid": {
  37526. "description": "现货商品ID",
  37527. "type": "integer"
  37528. },
  37529. "wrstandardname": {
  37530. "description": "现货商品名称",
  37531. "type": "string"
  37532. }
  37533. }
  37534. },
  37535. "models.WrQuoteOrderMyq": {
  37536. "type": "object",
  37537. "properties": {
  37538. "buyorsell": {
  37539. "description": "买卖 - 0:买 1:卖",
  37540. "type": "integer"
  37541. },
  37542. "canbargain": {
  37543. "description": "是否可议价 - 0:不可 1:可",
  37544. "type": "integer"
  37545. },
  37546. "canpart": {
  37547. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  37548. "type": "integer"
  37549. },
  37550. "delistminqty": {
  37551. "description": "起摘数量",
  37552. "type": "number"
  37553. },
  37554. "deliverygoodscode": {
  37555. "description": "品种代码",
  37556. "type": "string"
  37557. },
  37558. "deliverygoodsid": {
  37559. "description": "品种ID",
  37560. "type": "integer"
  37561. },
  37562. "deliverygoodsname": {
  37563. "description": "品种名称",
  37564. "type": "string"
  37565. },
  37566. "deliverymonth": {
  37567. "description": "交收月",
  37568. "type": "string"
  37569. },
  37570. "enumdicname": {
  37571. "description": "单位名称",
  37572. "type": "string"
  37573. },
  37574. "fixedprice": {
  37575. "description": "买(卖)价",
  37576. "type": "number"
  37577. },
  37578. "goodscode": {
  37579. "description": "商品合约代码",
  37580. "type": "string"
  37581. },
  37582. "marginflag": {
  37583. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  37584. "type": "integer"
  37585. },
  37586. "marginvalue": {
  37587. "description": "保证金设置值",
  37588. "type": "number"
  37589. },
  37590. "minivalue": {
  37591. "description": "现货商品最小变动值",
  37592. "type": "integer"
  37593. },
  37594. "orderqty": {
  37595. "description": "买(卖)量(=委托量-成交量)",
  37596. "type": "number"
  37597. },
  37598. "ordertime": {
  37599. "description": "委托时间",
  37600. "type": "string"
  37601. },
  37602. "performancetemplateid": {
  37603. "description": "履约模板id",
  37604. "type": "integer"
  37605. },
  37606. "pricemove": {
  37607. "description": "买(卖)升贴水- 基差",
  37608. "type": "number"
  37609. },
  37610. "templatename": {
  37611. "description": "履约模板名称",
  37612. "type": "string"
  37613. },
  37614. "userid": {
  37615. "description": "购买方(销售方)用户ID",
  37616. "type": "integer"
  37617. },
  37618. "username": {
  37619. "description": "购买方(销售方)",
  37620. "type": "string"
  37621. },
  37622. "validtime": {
  37623. "description": "有效期限",
  37624. "type": "string"
  37625. },
  37626. "validtype": {
  37627. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  37628. "type": "integer"
  37629. },
  37630. "warehousename": {
  37631. "description": "仓库名称",
  37632. "type": "string"
  37633. },
  37634. "wrfactortypeid": {
  37635. "description": "仓单要素id",
  37636. "type": "string"
  37637. },
  37638. "wrstandardcode": {
  37639. "description": "现货商品代码",
  37640. "type": "string"
  37641. },
  37642. "wrstandardid": {
  37643. "description": "现货商品ID",
  37644. "type": "integer"
  37645. },
  37646. "wrstandardname": {
  37647. "description": "商品名称",
  37648. "type": "string"
  37649. },
  37650. "wrtradeorderid": {
  37651. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37652. "type": "string"
  37653. },
  37654. "wrtypename": {
  37655. "description": "商品",
  37656. "type": "string"
  37657. }
  37658. }
  37659. },
  37660. "models.WrReckonSpotGoodsTradeSum": {
  37661. "type": "object",
  37662. "properties": {
  37663. "begindate": {
  37664. "description": "开始日期(结果含开始日期) yyyymmdd",
  37665. "type": "string"
  37666. },
  37667. "enddate": {
  37668. "description": "结束日期(结果含结束日期) yyyymmdd",
  37669. "type": "string"
  37670. },
  37671. "marketid": {
  37672. "description": "市场ID",
  37673. "type": "integer"
  37674. },
  37675. "price": {
  37676. "description": "价格 = 日成交金额 / 日成交数量",
  37677. "type": "string"
  37678. },
  37679. "reckondate": {
  37680. "description": "日期 格式 yyyymmdd",
  37681. "type": "string"
  37682. },
  37683. "tradeamount": {
  37684. "description": "日成交金额(当日单方向成交金额)",
  37685. "type": "number"
  37686. },
  37687. "tradeqty": {
  37688. "description": "日成交数量(当日单方向成交数量)",
  37689. "type": "number"
  37690. },
  37691. "wrstandardid": {
  37692. "description": "现货商品ID",
  37693. "type": "integer"
  37694. }
  37695. }
  37696. },
  37697. "models.WrScfContract": {
  37698. "type": "object",
  37699. "properties": {
  37700. "borroweruserid": {
  37701. "description": "借款用户ID",
  37702. "type": "integer"
  37703. },
  37704. "buybackwrpositionqty": {
  37705. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  37706. "type": "number"
  37707. },
  37708. "closeinterest": {
  37709. "description": "已结利息 -\u003e 已结费用",
  37710. "type": "number"
  37711. },
  37712. "currisklevel": {
  37713. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  37714. "type": "integer"
  37715. },
  37716. "deadline": {
  37717. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  37718. "type": "string"
  37719. },
  37720. "deliverygoodscode": {
  37721. "description": "品种代码",
  37722. "type": "string"
  37723. },
  37724. "deliverygoodsid": {
  37725. "description": "品种ID",
  37726. "type": "integer"
  37727. },
  37728. "deliverygoodsname": {
  37729. "description": "品种名称",
  37730. "type": "string"
  37731. },
  37732. "enumdicname": {
  37733. "description": "单位名称",
  37734. "type": "string"
  37735. },
  37736. "financingdays": {
  37737. "description": "天数(天)",
  37738. "type": "integer"
  37739. },
  37740. "initmargin": {
  37741. "description": "保证金 - [仓单回购]",
  37742. "type": "number"
  37743. },
  37744. "interestamount": {
  37745. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  37746. "type": "number"
  37747. },
  37748. "interestdebt": {
  37749. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  37750. "type": "number"
  37751. },
  37752. "interestminlen": {
  37753. "description": "最小起息天数",
  37754. "type": "integer"
  37755. },
  37756. "interestrate": {
  37757. "description": "利率",
  37758. "type": "number"
  37759. },
  37760. "interestratemode": {
  37761. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  37762. "type": "integer"
  37763. },
  37764. "interestsettlemode": {
  37765. "description": "结息方式 - 1:按日结息 3:按月结息",
  37766. "type": "integer"
  37767. },
  37768. "interestsettlevalue": {
  37769. "description": "结息方式值",
  37770. "type": "integer"
  37771. },
  37772. "isautoloan": {
  37773. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  37774. "type": "integer"
  37775. },
  37776. "lastcloseinterestday": {
  37777. "description": "最近结息日(yyyyMMdd)",
  37778. "type": "string"
  37779. },
  37780. "lenderamount": {
  37781. "description": "贷款金额 -\u003e 借款金额",
  37782. "type": "number"
  37783. },
  37784. "lenderuserid": {
  37785. "description": "贷款方用户ID -\u003e 融出方用户ID",
  37786. "type": "integer"
  37787. },
  37788. "lenderusername": {
  37789. "description": "融出方",
  37790. "type": "string"
  37791. },
  37792. "marginratio": {
  37793. "description": "保证金比率质押率 - [仓单质押]",
  37794. "type": "number"
  37795. },
  37796. "marketid": {
  37797. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  37798. "type": "integer"
  37799. },
  37800. "minivalue": {
  37801. "description": "现货商品最小变动值",
  37802. "type": "integer"
  37803. },
  37804. "optioncompare": {
  37805. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37806. "type": "string"
  37807. },
  37808. "pricemove": {
  37809. "description": "估值升贴水值",
  37810. "type": "number"
  37811. },
  37812. "productdetailid": {
  37813. "description": "产品组合ID",
  37814. "type": "integer"
  37815. },
  37816. "productid": {
  37817. "description": "金融产品ID",
  37818. "type": "integer"
  37819. },
  37820. "productname": {
  37821. "description": "产品名称",
  37822. "type": "string"
  37823. },
  37824. "remainamount": {
  37825. "description": "合同剩余金额 -\u003e 剩余金额",
  37826. "type": "number"
  37827. },
  37828. "remainwrpositionqty": {
  37829. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  37830. "type": "number"
  37831. },
  37832. "remark": {
  37833. "description": "备注",
  37834. "type": "string"
  37835. },
  37836. "scfcontractid": {
  37837. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  37838. "type": "string"
  37839. },
  37840. "scfcontractstatus": {
  37841. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  37842. "type": "integer"
  37843. },
  37844. "scfcontracttype": {
  37845. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  37846. "type": "integer"
  37847. },
  37848. "startinterestday": {
  37849. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  37850. "type": "string"
  37851. },
  37852. "totalinterest": {
  37853. "description": "已计利息 -\u003e 已计费用",
  37854. "type": "number"
  37855. },
  37856. "unpaidinterest": {
  37857. "description": "未结费用",
  37858. "type": "number"
  37859. },
  37860. "updatetime": {
  37861. "description": "更新时间",
  37862. "type": "string"
  37863. },
  37864. "warehouseid": {
  37865. "description": "仓库ID",
  37866. "type": "integer"
  37867. },
  37868. "warehousename": {
  37869. "description": "仓库名称",
  37870. "type": "string"
  37871. },
  37872. "wrfactortypeid": {
  37873. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37874. "type": "string"
  37875. },
  37876. "wrfactortypename": {
  37877. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37878. "type": "string"
  37879. },
  37880. "wrqty": {
  37881. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  37882. "type": "number"
  37883. },
  37884. "wrstandardcode": {
  37885. "description": "现货商品代码",
  37886. "type": "string"
  37887. },
  37888. "wrstandardid": {
  37889. "description": "现货商品ID",
  37890. "type": "integer"
  37891. },
  37892. "wrstandardname": {
  37893. "description": "商品名称",
  37894. "type": "string"
  37895. },
  37896. "wrtypename": {
  37897. "description": "商品",
  37898. "type": "string"
  37899. }
  37900. }
  37901. },
  37902. "models.WrScfContractInterest": {
  37903. "type": "object",
  37904. "properties": {
  37905. "closeinterest": {
  37906. "description": "已结利息",
  37907. "type": "number"
  37908. },
  37909. "closeintereststatus": {
  37910. "description": "结息状态 - 1:未结 2:已结",
  37911. "type": "integer"
  37912. },
  37913. "closetime": {
  37914. "description": "结息时间",
  37915. "type": "string"
  37916. },
  37917. "closetradedate": {
  37918. "description": "结息交易日",
  37919. "type": "string"
  37920. },
  37921. "creatorid": {
  37922. "description": "操作人ID",
  37923. "type": "integer"
  37924. },
  37925. "dayrate": {
  37926. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  37927. "type": "number"
  37928. },
  37929. "interest": {
  37930. "description": "利息",
  37931. "type": "number"
  37932. },
  37933. "interestamount": {
  37934. "description": "计息金额",
  37935. "type": "number"
  37936. },
  37937. "interestday": {
  37938. "description": "计息日(yyyyMMdd)",
  37939. "type": "string"
  37940. },
  37941. "scfcontractid": {
  37942. "description": "SCF合同ID",
  37943. "type": "string"
  37944. },
  37945. "scfcontractinterestid": {
  37946. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  37947. "type": "integer"
  37948. },
  37949. "updatetime": {
  37950. "description": "更新时间",
  37951. "type": "string"
  37952. }
  37953. }
  37954. },
  37955. "models.WrSearchUser": {
  37956. "type": "object",
  37957. "required": [
  37958. "username"
  37959. ],
  37960. "properties": {
  37961. "userid": {
  37962. "description": "用户ID",
  37963. "type": "integer"
  37964. },
  37965. "username": {
  37966. "description": "用户名称(已脱敏)",
  37967. "type": "string"
  37968. },
  37969. "username2": {
  37970. "description": "用户名称(未脱敏)",
  37971. "type": "string"
  37972. },
  37973. "usertype": {
  37974. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37975. "type": "integer"
  37976. }
  37977. }
  37978. },
  37979. "models.WrSiteColumnDetail": {
  37980. "type": "object",
  37981. "properties": {
  37982. "brief": {
  37983. "description": "简介",
  37984. "type": "string"
  37985. },
  37986. "context": {
  37987. "description": "内容",
  37988. "type": "string"
  37989. },
  37990. "coverimage": {
  37991. "description": "封面图片",
  37992. "type": "string"
  37993. },
  37994. "creaedate": {
  37995. "description": "创建时间",
  37996. "type": "string"
  37997. },
  37998. "id": {
  37999. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  38000. "type": "integer"
  38001. },
  38002. "istop": {
  38003. "description": "是否置顶 - 0:不置 1:置顶",
  38004. "type": "integer"
  38005. },
  38006. "publishdate": {
  38007. "description": "发布日期",
  38008. "type": "string"
  38009. },
  38010. "title": {
  38011. "description": "标题",
  38012. "type": "string"
  38013. },
  38014. "updatedate": {
  38015. "description": "修改时间",
  38016. "type": "string"
  38017. }
  38018. }
  38019. },
  38020. "models.WrSpecialMatchOrder": {
  38021. "type": "object",
  38022. "properties": {
  38023. "amount": {
  38024. "description": "金额 = 数量 * 价格",
  38025. "type": "number"
  38026. },
  38027. "buyorsell": {
  38028. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  38029. "type": "integer"
  38030. },
  38031. "cancelqty": {
  38032. "description": "撤销数量",
  38033. "type": "number"
  38034. },
  38035. "deliverygoodscode": {
  38036. "description": "品种代码",
  38037. "type": "string"
  38038. },
  38039. "deliverygoodsid": {
  38040. "description": "品种ID",
  38041. "type": "integer"
  38042. },
  38043. "deliverygoodsname": {
  38044. "description": "品种名称",
  38045. "type": "string"
  38046. },
  38047. "enumdicname": {
  38048. "description": "单位名称",
  38049. "type": "string"
  38050. },
  38051. "fixedprice": {
  38052. "description": "固定价格(价格)",
  38053. "type": "number"
  38054. },
  38055. "haswr": {
  38056. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  38057. "type": "integer"
  38058. },
  38059. "isspecified": {
  38060. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  38061. "type": "integer"
  38062. },
  38063. "marketid": {
  38064. "description": "市场ID",
  38065. "type": "integer"
  38066. },
  38067. "matchuserid": {
  38068. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  38069. "type": "integer"
  38070. },
  38071. "matchusername": {
  38072. "description": "指定方",
  38073. "type": "string"
  38074. },
  38075. "minivalue": {
  38076. "description": "现货商品最小变动值",
  38077. "type": "integer"
  38078. },
  38079. "optioncompare": {
  38080. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38081. "type": "string"
  38082. },
  38083. "orderqty": {
  38084. "description": "委托数量",
  38085. "type": "number"
  38086. },
  38087. "ordertime": {
  38088. "description": "委托时间",
  38089. "type": "string"
  38090. },
  38091. "pricemove": {
  38092. "description": "升贴水(浮动价时填写) - [挂牌]",
  38093. "type": "number"
  38094. },
  38095. "tradedate": {
  38096. "description": "交易日(yyyyMMdd)",
  38097. "type": "string"
  38098. },
  38099. "tradeprice": {
  38100. "description": "成交价格",
  38101. "type": "number"
  38102. },
  38103. "tradeqty": {
  38104. "description": "成交数量",
  38105. "type": "number"
  38106. },
  38107. "userid": {
  38108. "description": "用户ID",
  38109. "type": "integer"
  38110. },
  38111. "username": {
  38112. "description": "发起方",
  38113. "type": "string"
  38114. },
  38115. "warehouseid": {
  38116. "description": "仓库ID",
  38117. "type": "integer"
  38118. },
  38119. "warehousename": {
  38120. "description": "仓库名称",
  38121. "type": "string"
  38122. },
  38123. "wrfactortypeid": {
  38124. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38125. "type": "string"
  38126. },
  38127. "wrfactortypename": {
  38128. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38129. "type": "string"
  38130. },
  38131. "wrpricetype": {
  38132. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  38133. "type": "integer"
  38134. },
  38135. "wrstandardcode": {
  38136. "description": "现货商品代码",
  38137. "type": "string"
  38138. },
  38139. "wrstandardid": {
  38140. "description": "现货商品ID",
  38141. "type": "integer"
  38142. },
  38143. "wrstandardname": {
  38144. "description": "商品名称",
  38145. "type": "string"
  38146. },
  38147. "wrtradeorderid": {
  38148. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38149. "type": "string"
  38150. },
  38151. "wrtradeorderstatus": {
  38152. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  38153. "type": "integer"
  38154. },
  38155. "wrtradetype": {
  38156. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  38157. "type": "integer"
  38158. },
  38159. "wrtypename": {
  38160. "description": "商品",
  38161. "type": "string"
  38162. }
  38163. }
  38164. },
  38165. "models.WrSpotGroupTradeSum": {
  38166. "type": "object",
  38167. "properties": {
  38168. "deliverygoodscode": {
  38169. "description": "现货品种代码",
  38170. "type": "string"
  38171. },
  38172. "deliverygoodsid": {
  38173. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38174. "type": "integer"
  38175. },
  38176. "deliverygoodsname": {
  38177. "description": "现货品种名称",
  38178. "type": "string"
  38179. },
  38180. "lastavgprice": {
  38181. "description": "上上个交易日价格(前2天价格)",
  38182. "type": "string"
  38183. },
  38184. "lastreckondate": {
  38185. "description": "上上个交易日(前2天交易日)",
  38186. "type": "string"
  38187. },
  38188. "reckondate": {
  38189. "description": "上个交易日(前1天交易日)",
  38190. "type": "string"
  38191. },
  38192. "todayavgprice": {
  38193. "description": "上个交易日价格(前1天价格)",
  38194. "type": "string"
  38195. },
  38196. "updown": {
  38197. "description": "涨跌",
  38198. "type": "string"
  38199. },
  38200. "updownratio": {
  38201. "description": "涨幅(已格式化, 直接显示即可)",
  38202. "type": "string"
  38203. }
  38204. }
  38205. },
  38206. "models.WrSpotGroupTradeSumDetail": {
  38207. "type": "object",
  38208. "properties": {
  38209. "deliverygoodsid": {
  38210. "description": "现货商品id",
  38211. "type": "integer"
  38212. },
  38213. "price": {
  38214. "description": "价格",
  38215. "type": "number"
  38216. },
  38217. "reckondate": {
  38218. "description": "日期(yyymmdd, 如:20211031)",
  38219. "type": "string"
  38220. }
  38221. }
  38222. },
  38223. "models.WrSpotGroupTradeSumEx": {
  38224. "type": "object",
  38225. "properties": {
  38226. "lst": {
  38227. "description": "指数列表",
  38228. "type": "array",
  38229. "items": {
  38230. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  38231. }
  38232. },
  38233. "prereckondate": {
  38234. "description": "上上个交易日(yyymmdd)",
  38235. "type": "string"
  38236. },
  38237. "reckondate": {
  38238. "description": "上个交易日(yyyymmdd)",
  38239. "type": "string"
  38240. }
  38241. }
  38242. },
  38243. "models.WrStandardFactoryItem": {
  38244. "type": "object",
  38245. "properties": {
  38246. "dgfactoryitemid": {
  38247. "description": "选择项id",
  38248. "type": "integer"
  38249. },
  38250. "dgfactoryitemvalue": {
  38251. "description": "要素项值",
  38252. "type": "string"
  38253. },
  38254. "warehouseid": {
  38255. "description": "仓库id",
  38256. "type": "integer"
  38257. }
  38258. }
  38259. },
  38260. "models.WrStandardFactoryItemEx": {
  38261. "type": "object",
  38262. "properties": {
  38263. "dgfactoryitemtypeid": {
  38264. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  38265. "type": "integer"
  38266. },
  38267. "itemlst": {
  38268. "description": "要素项列表",
  38269. "type": "array",
  38270. "items": {
  38271. "$ref": "#/definitions/models.WrStandardFactoryItem"
  38272. }
  38273. },
  38274. "itemtypename": {
  38275. "description": "要素项类型名称",
  38276. "type": "string"
  38277. },
  38278. "wrstandardid": {
  38279. "description": "品类",
  38280. "type": "integer"
  38281. }
  38282. }
  38283. },
  38284. "models.WrTradeDetail": {
  38285. "type": "object",
  38286. "properties": {
  38287. "accountid": {
  38288. "description": "资金账号",
  38289. "type": "integer"
  38290. },
  38291. "bannerpicurl": {
  38292. "description": "Banner图",
  38293. "type": "string"
  38294. },
  38295. "begindate": {
  38296. "description": "开始交易日(yyyymmdd)",
  38297. "type": "string"
  38298. },
  38299. "buyorsell": {
  38300. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  38301. "type": "integer"
  38302. },
  38303. "chargevalue": {
  38304. "description": "手续费",
  38305. "type": "number"
  38306. },
  38307. "deliverygoodscode": {
  38308. "description": "品种代码",
  38309. "type": "string"
  38310. },
  38311. "deliverygoodsid": {
  38312. "description": "品种ID",
  38313. "type": "integer"
  38314. },
  38315. "deliverygoodsname": {
  38316. "description": "品种名称",
  38317. "type": "string"
  38318. },
  38319. "deliverymonth": {
  38320. "description": "交收月",
  38321. "type": "string"
  38322. },
  38323. "enddate": {
  38324. "description": "结束交易日(yyyymmdd)",
  38325. "type": "string"
  38326. },
  38327. "enumdicname": {
  38328. "description": "单位名称",
  38329. "type": "string"
  38330. },
  38331. "haswr": {
  38332. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  38333. "type": "integer"
  38334. },
  38335. "marketid": {
  38336. "description": "市场ID",
  38337. "type": "integer"
  38338. },
  38339. "matchaccountid": {
  38340. "description": "对手账号",
  38341. "type": "integer"
  38342. },
  38343. "matchusername": {
  38344. "description": "对手方",
  38345. "type": "string"
  38346. },
  38347. "minivalue": {
  38348. "description": "现货商品最小变动值",
  38349. "type": "integer"
  38350. },
  38351. "optioncompare": {
  38352. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38353. "type": "string"
  38354. },
  38355. "tradedate": {
  38356. "description": "交易日(yyyyMMdd)",
  38357. "type": "string"
  38358. },
  38359. "tradeprice": {
  38360. "description": "成交价格",
  38361. "type": "number"
  38362. },
  38363. "tradeqty": {
  38364. "description": "成交数量",
  38365. "type": "number"
  38366. },
  38367. "tradetime": {
  38368. "description": "成交时间",
  38369. "type": "string"
  38370. },
  38371. "userid": {
  38372. "description": "用户ID",
  38373. "type": "integer"
  38374. },
  38375. "warehouseid": {
  38376. "description": "仓库ID",
  38377. "type": "integer"
  38378. },
  38379. "warehousename": {
  38380. "description": "仓库名称",
  38381. "type": "string"
  38382. },
  38383. "wrfactortypeid": {
  38384. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38385. "type": "string"
  38386. },
  38387. "wrfactortypename": {
  38388. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38389. "type": "string"
  38390. },
  38391. "wrstandardcode": {
  38392. "description": "现货商品代码",
  38393. "type": "string"
  38394. },
  38395. "wrstandardid": {
  38396. "description": "现货商品ID",
  38397. "type": "integer"
  38398. },
  38399. "wrstandardname": {
  38400. "description": "商品名称",
  38401. "type": "string"
  38402. },
  38403. "wrtradedetailid": {
  38404. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  38405. "type": "string"
  38406. },
  38407. "wrtradetype": {
  38408. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  38409. "type": "integer"
  38410. },
  38411. "wrtypename": {
  38412. "description": "商品",
  38413. "type": "string"
  38414. }
  38415. }
  38416. },
  38417. "models.WrTradeOrderDetail": {
  38418. "type": "object",
  38419. "properties": {
  38420. "buyorsell": {
  38421. "description": "买卖方向 0-买 1-卖",
  38422. "type": "integer"
  38423. },
  38424. "goodsid": {
  38425. "description": "商品id",
  38426. "type": "integer"
  38427. },
  38428. "orderid": {
  38429. "description": "委托单号",
  38430. "type": "string"
  38431. },
  38432. "orderprice": {
  38433. "description": "委托价格",
  38434. "type": "number"
  38435. },
  38436. "orderqty": {
  38437. "description": "委托数量",
  38438. "type": "integer"
  38439. },
  38440. "userid": {
  38441. "description": "用户id",
  38442. "type": "integer"
  38443. },
  38444. "username": {
  38445. "description": "用户名称(已脱敏)",
  38446. "type": "string"
  38447. }
  38448. }
  38449. },
  38450. "models.WrTypeItem": {
  38451. "type": "object",
  38452. "properties": {
  38453. "name": {
  38454. "description": "名称",
  38455. "type": "string"
  38456. },
  38457. "value": {
  38458. "description": "值",
  38459. "type": "string"
  38460. }
  38461. }
  38462. },
  38463. "models.WrUserFriend": {
  38464. "type": "object",
  38465. "properties": {
  38466. "friendname": {
  38467. "description": "朋友名称(已脱敏)",
  38468. "type": "string"
  38469. },
  38470. "frienduserid": {
  38471. "description": "朋友id",
  38472. "type": "integer"
  38473. },
  38474. "isfriend": {
  38475. "description": "是否好友 0-不是 1-是",
  38476. "type": "integer"
  38477. },
  38478. "userid": {
  38479. "description": "用户id",
  38480. "type": "integer"
  38481. }
  38482. }
  38483. },
  38484. "models.WrUserReceiptInfo": {
  38485. "type": "object",
  38486. "properties": {
  38487. "address": {
  38488. "description": "地址[发票类型:企业]",
  38489. "type": "string"
  38490. },
  38491. "autoid": {
  38492. "description": "AutoID",
  38493. "type": "integer"
  38494. },
  38495. "contactinfo": {
  38496. "description": "联系方式",
  38497. "type": "string"
  38498. },
  38499. "idnum": {
  38500. "description": "身份证号码[发票类型:个人]",
  38501. "type": "string"
  38502. },
  38503. "isdefault": {
  38504. "description": "是否默认地址 - 0:否 1:是",
  38505. "type": "integer"
  38506. },
  38507. "receiptaccount": {
  38508. "description": "发票帐号[发票类型:企业]",
  38509. "type": "string"
  38510. },
  38511. "receiptbank": {
  38512. "description": "发票开户行[发票类型:企业]",
  38513. "type": "string"
  38514. },
  38515. "receipttype": {
  38516. "description": "发票类型 - 1:个人 2:企业",
  38517. "type": "integer"
  38518. },
  38519. "taxpayerid": {
  38520. "description": "纳税人识别号",
  38521. "type": "string"
  38522. },
  38523. "userid": {
  38524. "description": "用户ID",
  38525. "type": "integer"
  38526. },
  38527. "username": {
  38528. "description": "户名(个人姓名或企业名称)",
  38529. "type": "string"
  38530. }
  38531. }
  38532. },
  38533. "models.XHBRAND": {
  38534. "type": "object",
  38535. "properties": {
  38536. "brandid": {
  38537. "description": "品牌id",
  38538. "type": "integer"
  38539. },
  38540. "brandname": {
  38541. "description": "品牌名称",
  38542. "type": "string"
  38543. },
  38544. "isvalid": {
  38545. "description": "是否有效 0-无效 1-有效",
  38546. "type": "integer"
  38547. }
  38548. }
  38549. },
  38550. "models.XHDeliveryGoods": {
  38551. "type": "object",
  38552. "properties": {
  38553. "areauserid": {
  38554. "description": "所属机构",
  38555. "type": "integer"
  38556. },
  38557. "bdlst": {
  38558. "description": "品牌列表",
  38559. "type": "array",
  38560. "items": {
  38561. "$ref": "#/definitions/models.XHBRAND"
  38562. }
  38563. },
  38564. "deliverygoodscode": {
  38565. "description": "现货品种代码",
  38566. "type": "string"
  38567. },
  38568. "deliverygoodsid": {
  38569. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38570. "type": "integer"
  38571. },
  38572. "deliverygoodsname": {
  38573. "description": "现货品种名称",
  38574. "type": "string"
  38575. },
  38576. "dgstatus": {
  38577. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  38578. "type": "integer"
  38579. },
  38580. "filterSubEmpty": {
  38581. "description": "过滤下级为空的",
  38582. "type": "integer"
  38583. },
  38584. "isvalid": {
  38585. "description": "是否有效 - 0:无效 1:有效",
  38586. "type": "integer"
  38587. },
  38588. "remark": {
  38589. "description": "备注",
  38590. "type": "string"
  38591. },
  38592. "unitid": {
  38593. "description": "单位id(目前看,数据库中是空值)",
  38594. "type": "integer"
  38595. },
  38596. "wdlst": {
  38597. "description": "品类(现货商品)列表",
  38598. "type": "array",
  38599. "items": {
  38600. "$ref": "#/definitions/models.XHWrstandard"
  38601. }
  38602. }
  38603. }
  38604. },
  38605. "models.XHMiddleGoods": {
  38606. "type": "object",
  38607. "properties": {
  38608. "GPLST": {
  38609. "description": "期货品种列表",
  38610. "type": "array",
  38611. "items": {
  38612. "$ref": "#/definitions/models.TBGoodsGroup"
  38613. }
  38614. },
  38615. "convertratio": {
  38616. "description": "拆算系数",
  38617. "type": "number"
  38618. },
  38619. "costratio": {
  38620. "description": "成本权重",
  38621. "type": "number"
  38622. },
  38623. "deliverygoodsid": {
  38624. "description": "现货商品id",
  38625. "type": "integer"
  38626. },
  38627. "enumdicname": {
  38628. "description": "单位名称",
  38629. "type": "string"
  38630. },
  38631. "middlegoodscode": {
  38632. "description": "套保品种代码",
  38633. "type": "string"
  38634. },
  38635. "middlegoodsid": {
  38636. "description": "套保品种id",
  38637. "type": "integer"
  38638. },
  38639. "middlegoodsname": {
  38640. "description": "套保品种名称",
  38641. "type": "string"
  38642. },
  38643. "unitid": {
  38644. "description": "单位id",
  38645. "type": "integer"
  38646. }
  38647. }
  38648. },
  38649. "models.XHWrstandard": {
  38650. "type": "object",
  38651. "properties": {
  38652. "bannerpicurl": {
  38653. "description": "banner图",
  38654. "type": "string"
  38655. },
  38656. "deliverygoodsid": {
  38657. "description": "品种ID",
  38658. "type": "integer"
  38659. },
  38660. "enumdicname": {
  38661. "description": "单位名称",
  38662. "type": "string"
  38663. },
  38664. "mglst": {
  38665. "description": "套保品列表",
  38666. "type": "array",
  38667. "items": {
  38668. "$ref": "#/definitions/models.XHMiddleGoods"
  38669. }
  38670. },
  38671. "pictureurls": {
  38672. "description": "详情图片(逗号分隔)",
  38673. "type": "string"
  38674. },
  38675. "thumurls": {
  38676. "description": "缩略图片(1:1)(逗号分隔)",
  38677. "type": "string"
  38678. },
  38679. "unitid": {
  38680. "description": "单位id",
  38681. "type": "integer"
  38682. },
  38683. "vatrate": {
  38684. "description": "增值税率",
  38685. "type": "number"
  38686. },
  38687. "wrstandardcode": {
  38688. "description": "现货商品代码",
  38689. "type": "string"
  38690. },
  38691. "wrstandardid": {
  38692. "description": "现货商品ID(SEQ_WRSTANDARD)",
  38693. "type": "integer"
  38694. },
  38695. "wrstandardname": {
  38696. "description": "现货商品名称",
  38697. "type": "string"
  38698. }
  38699. }
  38700. },
  38701. "order.QueryHisTradeDetailRsp": {
  38702. "type": "object",
  38703. "required": [
  38704. "accountid",
  38705. "buyorsell",
  38706. "goodsid",
  38707. "histradedate",
  38708. "marketid",
  38709. "memberuserid",
  38710. "orderid",
  38711. "tradeamount",
  38712. "tradedate",
  38713. "tradeid",
  38714. "tradeprice",
  38715. "tradeqty",
  38716. "tradetime"
  38717. ],
  38718. "properties": {
  38719. "accountid": {
  38720. "description": "账户ID[报价币种]",
  38721. "type": "integer"
  38722. },
  38723. "advanceratio": {
  38724. "description": "首付比率",
  38725. "type": "number"
  38726. },
  38727. "buildtype": {
  38728. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  38729. "type": "integer"
  38730. },
  38731. "buyorsell": {
  38732. "description": "方向 - 0:买 1:卖",
  38733. "type": "integer"
  38734. },
  38735. "charge": {
  38736. "description": "手续费",
  38737. "type": "number"
  38738. },
  38739. "closecharge": {
  38740. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38741. "type": "number"
  38742. },
  38743. "closeexchagechargevalue": {
  38744. "description": "平仓交易所手续费设置值",
  38745. "type": "number"
  38746. },
  38747. "closefeealgorithm": {
  38748. "description": "平仓手续费收取方式 1:比率 2:固定",
  38749. "type": "integer"
  38750. },
  38751. "closememberchargevalue": {
  38752. "description": "平仓会员手续费设置值",
  38753. "type": "number"
  38754. },
  38755. "closepl": {
  38756. "description": "平仓盈亏",
  38757. "type": "number"
  38758. },
  38759. "closepl2": {
  38760. "description": "平仓盈亏[逐笔]",
  38761. "type": "number"
  38762. },
  38763. "closeqty": {
  38764. "description": "平仓数量(先建后平操作 需要记录)",
  38765. "type": "number"
  38766. },
  38767. "creditamount": {
  38768. "description": "授信金额",
  38769. "type": "number"
  38770. },
  38771. "decimalplace": {
  38772. "description": "商品报价小数位",
  38773. "type": "integer"
  38774. },
  38775. "enumdicname": {
  38776. "description": "单位名称",
  38777. "type": "string"
  38778. },
  38779. "gcaccountid": {
  38780. "description": "账户ID[合约币种]",
  38781. "type": "integer"
  38782. },
  38783. "goodscode": {
  38784. "description": "商品代码",
  38785. "type": "string"
  38786. },
  38787. "goodsid": {
  38788. "description": "商品ID",
  38789. "type": "integer"
  38790. },
  38791. "goodsname": {
  38792. "description": "商品名称",
  38793. "type": "string"
  38794. },
  38795. "goodunitid": {
  38796. "description": "商品单位id",
  38797. "type": "integer"
  38798. },
  38799. "histradedate": {
  38800. "description": "历史交易日",
  38801. "type": "string"
  38802. },
  38803. "intclosepl": {
  38804. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38805. "type": "integer"
  38806. },
  38807. "isconfirmexercise": {
  38808. "description": "是否确认行权- 0:否 1:是",
  38809. "type": "integer"
  38810. },
  38811. "ismain": {
  38812. "description": "是否主单 - 0:不是 1:是",
  38813. "type": "integer"
  38814. },
  38815. "ispreexercise": {
  38816. "description": "是否预申报- 0:否 1:是",
  38817. "type": "integer"
  38818. },
  38819. "isreckoned": {
  38820. "description": "是否结算 - 0:未结算 1:已结算",
  38821. "type": "integer"
  38822. },
  38823. "isvaliddata": {
  38824. "description": "是否有效 - 0:无效 1:有效",
  38825. "type": "integer"
  38826. },
  38827. "listingselecttype": {
  38828. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38829. "type": "integer"
  38830. },
  38831. "marketid": {
  38832. "description": "市场ID",
  38833. "type": "integer"
  38834. },
  38835. "marketname": {
  38836. "description": "市场名称",
  38837. "type": "string"
  38838. },
  38839. "matchaccountid": {
  38840. "description": "对手账号id",
  38841. "type": "integer"
  38842. },
  38843. "memberuserid": {
  38844. "description": "会员id 个人投资者 需要填写",
  38845. "type": "integer"
  38846. },
  38847. "opencharge": {
  38848. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38849. "type": "number"
  38850. },
  38851. "openexchagechargevalue": {
  38852. "description": "建仓交易所手续费设置值",
  38853. "type": "number"
  38854. },
  38855. "openfeealgorithm": {
  38856. "description": "建仓手续费收取方式 1:比率 2:固定",
  38857. "type": "integer"
  38858. },
  38859. "openmemberchargevalue": {
  38860. "description": "建仓会员手续费设置值",
  38861. "type": "number"
  38862. },
  38863. "openqty": {
  38864. "description": "开仓数量(先建后平操作 需要记录)",
  38865. "type": "number"
  38866. },
  38867. "optiontype": {
  38868. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38869. "type": "integer"
  38870. },
  38871. "orderid": {
  38872. "description": "委托单号",
  38873. "type": "string"
  38874. },
  38875. "payamount": {
  38876. "description": "支付金额(付款金额)",
  38877. "type": "number"
  38878. },
  38879. "performanceplanid": {
  38880. "description": "履约计划ID[期权]",
  38881. "type": "integer"
  38882. },
  38883. "performancestatus": {
  38884. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38885. "type": "integer"
  38886. },
  38887. "preexerciseprice": {
  38888. "description": "预申报价格",
  38889. "type": "number"
  38890. },
  38891. "premium": {
  38892. "description": "权利金 - [持仓单的权利金]",
  38893. "type": "number"
  38894. },
  38895. "qtydecimalplace": {
  38896. "description": "商品报价小数位",
  38897. "type": "integer"
  38898. },
  38899. "recvamount": {
  38900. "description": "到账金额 = 成交金额 - 手续费",
  38901. "type": "number"
  38902. },
  38903. "relatedouttradeid": {
  38904. "description": "关联外部成交单ID",
  38905. "type": "integer"
  38906. },
  38907. "status": {
  38908. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38909. "type": "integer"
  38910. },
  38911. "totalamount": {
  38912. "description": "订单总额 = 成交金额 + 手续费",
  38913. "type": "number"
  38914. },
  38915. "tradeamount": {
  38916. "description": "成交金额[账户币种,用于所有权]",
  38917. "type": "number"
  38918. },
  38919. "tradedate": {
  38920. "description": "交易日(yyyyMMdd)",
  38921. "type": "string"
  38922. },
  38923. "tradeid": {
  38924. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38925. "type": "string"
  38926. },
  38927. "trademode": {
  38928. "description": "交易模式",
  38929. "type": "integer"
  38930. },
  38931. "tradeprice": {
  38932. "description": "成交价格",
  38933. "type": "number"
  38934. },
  38935. "tradeproperty": {
  38936. "description": "交易属性",
  38937. "type": "integer"
  38938. },
  38939. "tradeqty": {
  38940. "description": "成交数量",
  38941. "type": "number"
  38942. },
  38943. "tradetime": {
  38944. "description": "成交时间",
  38945. "type": "string"
  38946. },
  38947. "tradetype": {
  38948. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38949. "type": "integer"
  38950. }
  38951. }
  38952. },
  38953. "order.QueryHisTradeOrderDetailRsp": {
  38954. "type": "object",
  38955. "required": [
  38956. "accountid",
  38957. "buildtype",
  38958. "buyorsell",
  38959. "goodsid",
  38960. "histradedate",
  38961. "marketid",
  38962. "memberuserid",
  38963. "operatetype",
  38964. "orderid",
  38965. "orderqty",
  38966. "ordertime",
  38967. "pricemode",
  38968. "tradedate",
  38969. "validtype"
  38970. ],
  38971. "properties": {
  38972. "accountid": {
  38973. "description": "账户ID[报价币种]",
  38974. "type": "integer"
  38975. },
  38976. "buildtype": {
  38977. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38978. "type": "integer"
  38979. },
  38980. "buyorsell": {
  38981. "description": "买卖 - 0:买 1:卖",
  38982. "type": "integer"
  38983. },
  38984. "cancelorderid": {
  38985. "description": "撤单单号(撤单时填写)",
  38986. "type": "string"
  38987. },
  38988. "cancelqty": {
  38989. "description": "撤单数量",
  38990. "type": "number"
  38991. },
  38992. "clientordertime": {
  38993. "description": "客户端委托时间",
  38994. "type": "string"
  38995. },
  38996. "clientticket": {
  38997. "description": "客户端流水号",
  38998. "type": "string"
  38999. },
  39000. "clienttype": {
  39001. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  39002. "type": "integer"
  39003. },
  39004. "closeexchagechargevalue": {
  39005. "description": "平仓交易所手续费设置值",
  39006. "type": "number"
  39007. },
  39008. "closefeealgorithm": {
  39009. "description": "平仓手续费收取方式 1:比率 2:固定",
  39010. "type": "integer"
  39011. },
  39012. "closefreezecharge": {
  39013. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  39014. "type": "number"
  39015. },
  39016. "closememberchargevalue": {
  39017. "description": "平仓会员手续费设置值",
  39018. "type": "number"
  39019. },
  39020. "closeqty": {
  39021. "description": "平仓数量(先建后平操作 需要记录)",
  39022. "type": "number"
  39023. },
  39024. "closetradeqty": {
  39025. "description": "平仓成交数量(先建后平操作,需要记录)",
  39026. "type": "number"
  39027. },
  39028. "closeunfreezecharge": {
  39029. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  39030. "type": "number"
  39031. },
  39032. "decimalplace": {
  39033. "description": "商品报价小数位",
  39034. "type": "integer"
  39035. },
  39036. "delistingtype": {
  39037. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  39038. "type": "integer"
  39039. },
  39040. "enumdicname": {
  39041. "description": "单位名称",
  39042. "type": "string"
  39043. },
  39044. "freezecharge": {
  39045. "description": "冻结手续费",
  39046. "type": "number"
  39047. },
  39048. "freezemargin": {
  39049. "description": "冻结保证金(冻结交易金额)",
  39050. "type": "number"
  39051. },
  39052. "gcaccountid": {
  39053. "description": "账户ID[合约币种]",
  39054. "type": "integer"
  39055. },
  39056. "goodscode": {
  39057. "description": "商品代码",
  39058. "type": "string"
  39059. },
  39060. "goodsid": {
  39061. "description": "商品ID",
  39062. "type": "integer"
  39063. },
  39064. "goodsname": {
  39065. "description": "商品名称",
  39066. "type": "string"
  39067. },
  39068. "goodunitid": {
  39069. "description": "商品单位id",
  39070. "type": "integer"
  39071. },
  39072. "histradedate": {
  39073. "description": "历史交易日",
  39074. "type": "string"
  39075. },
  39076. "isconfirmexercise": {
  39077. "description": "是否确认行权- 0:否 1:是",
  39078. "type": "integer"
  39079. },
  39080. "ispreexercise": {
  39081. "description": "是否预申报- 0:否 1:是",
  39082. "type": "integer"
  39083. },
  39084. "isvaliddata": {
  39085. "description": "是否有效 - 0:无效 1:有效",
  39086. "type": "integer"
  39087. },
  39088. "listingselecttype": {
  39089. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39090. "type": "integer"
  39091. },
  39092. "marginalgorithm": {
  39093. "description": "保证金收取方式 1:比率 2:固定",
  39094. "type": "integer"
  39095. },
  39096. "marginvalue": {
  39097. "description": "即市保证金设置值",
  39098. "type": "number"
  39099. },
  39100. "marketid": {
  39101. "description": "市场ID",
  39102. "type": "integer"
  39103. },
  39104. "marketmaxsub": {
  39105. "description": "市价最大偏移范围",
  39106. "type": "number"
  39107. },
  39108. "marketname": {
  39109. "description": "市场名称",
  39110. "type": "string"
  39111. },
  39112. "memberuserid": {
  39113. "description": "所属会员UserID",
  39114. "type": "integer"
  39115. },
  39116. "openexchagechargevalue": {
  39117. "description": "建仓交易所手续费设置值",
  39118. "type": "number"
  39119. },
  39120. "openfeealgorithm": {
  39121. "description": "建仓手续费收取方式 1:比率 2:固定",
  39122. "type": "integer"
  39123. },
  39124. "openfreezecharge": {
  39125. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  39126. "type": "number"
  39127. },
  39128. "openmemberchargevalue": {
  39129. "description": "建仓会员手续费设置值",
  39130. "type": "number"
  39131. },
  39132. "openqty": {
  39133. "description": "开仓数量(先建后平操作,需要记录)",
  39134. "type": "number"
  39135. },
  39136. "opentradeqty": {
  39137. "description": "开仓成交数量(先建后平操作,需要记录)",
  39138. "type": "number"
  39139. },
  39140. "openunfreezecharge": {
  39141. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  39142. "type": "number"
  39143. },
  39144. "operatetype": {
  39145. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  39146. "type": "integer"
  39147. },
  39148. "operatorid": {
  39149. "description": "登录账号(LoginID)",
  39150. "type": "integer"
  39151. },
  39152. "optiontype": {
  39153. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  39154. "type": "integer"
  39155. },
  39156. "orderid": {
  39157. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39158. "type": "string"
  39159. },
  39160. "orderprice": {
  39161. "description": "委托价格",
  39162. "type": "number"
  39163. },
  39164. "orderqty": {
  39165. "description": "委托数量",
  39166. "type": "number"
  39167. },
  39168. "ordersrc": {
  39169. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  39170. "type": "integer"
  39171. },
  39172. "orderstatus": {
  39173. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  39174. "type": "integer"
  39175. },
  39176. "ordertime": {
  39177. "description": "委托时间",
  39178. "type": "string"
  39179. },
  39180. "preexerciseprice": {
  39181. "description": "预申报价格",
  39182. "type": "number"
  39183. },
  39184. "premium": {
  39185. "description": "权利金",
  39186. "type": "number"
  39187. },
  39188. "preorderid": {
  39189. "description": "关联预埋单号(止盈止损单时填写)",
  39190. "type": "string"
  39191. },
  39192. "pricemode": {
  39193. "description": "取价方式 - 1:市价 2: 限价",
  39194. "type": "integer"
  39195. },
  39196. "qtydecimalplace": {
  39197. "description": "成交量小数位",
  39198. "type": "integer"
  39199. },
  39200. "quoteid": {
  39201. "description": "报价单ID",
  39202. "type": "integer"
  39203. },
  39204. "relatedid": {
  39205. "description": "关联单号(交割单)",
  39206. "type": "string"
  39207. },
  39208. "retcode": {
  39209. "description": "错误代码",
  39210. "type": "integer"
  39211. },
  39212. "sessionid": {
  39213. "description": "会话ID",
  39214. "type": "integer"
  39215. },
  39216. "tradedate": {
  39217. "description": "交易日(yyyyMMdd)",
  39218. "type": "string"
  39219. },
  39220. "trademode": {
  39221. "description": "交易模式",
  39222. "type": "integer"
  39223. },
  39224. "tradeproperty": {
  39225. "description": "交易属性",
  39226. "type": "integer"
  39227. },
  39228. "tradeqty": {
  39229. "description": "成交数量",
  39230. "type": "number"
  39231. },
  39232. "unfreezecharge": {
  39233. "description": "解冻手续费",
  39234. "type": "number"
  39235. },
  39236. "unfreezemargin": {
  39237. "description": "解冻保证金",
  39238. "type": "number"
  39239. },
  39240. "updatetime": {
  39241. "description": "更新时间",
  39242. "type": "string"
  39243. },
  39244. "uuid": {
  39245. "description": "发起端唯一id",
  39246. "type": "string"
  39247. },
  39248. "validtime": {
  39249. "description": "有效期限",
  39250. "type": "string"
  39251. },
  39252. "validtype": {
  39253. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  39254. "type": "integer"
  39255. },
  39256. "volumetype": {
  39257. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  39258. "type": "integer"
  39259. }
  39260. }
  39261. },
  39262. "order.QueryTradeDetailRsp": {
  39263. "type": "object",
  39264. "required": [
  39265. "accountid",
  39266. "buyorsell",
  39267. "goodsid",
  39268. "marketid",
  39269. "memberuserid",
  39270. "orderid",
  39271. "tradeamount",
  39272. "tradedate",
  39273. "tradeid",
  39274. "tradeprice",
  39275. "tradeqty",
  39276. "tradetime"
  39277. ],
  39278. "properties": {
  39279. "accountid": {
  39280. "description": "账户ID[报价币种]",
  39281. "type": "integer"
  39282. },
  39283. "advanceratio": {
  39284. "description": "首付比率",
  39285. "type": "number"
  39286. },
  39287. "buildtype": {
  39288. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  39289. "type": "integer"
  39290. },
  39291. "buyorsell": {
  39292. "description": "方向 - 0:买 1:卖",
  39293. "type": "integer"
  39294. },
  39295. "charge": {
  39296. "description": "手续费",
  39297. "type": "number"
  39298. },
  39299. "closecharge": {
  39300. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  39301. "type": "number"
  39302. },
  39303. "closeexchagechargevalue": {
  39304. "description": "平仓交易所手续费设置值",
  39305. "type": "number"
  39306. },
  39307. "closefeealgorithm": {
  39308. "description": "平仓手续费收取方式 1:比率 2:固定",
  39309. "type": "integer"
  39310. },
  39311. "closememberchargevalue": {
  39312. "description": "平仓会员手续费设置值",
  39313. "type": "number"
  39314. },
  39315. "closepl": {
  39316. "description": "平仓盈亏",
  39317. "type": "number"
  39318. },
  39319. "closepl2": {
  39320. "description": "平仓盈亏[逐笔]",
  39321. "type": "number"
  39322. },
  39323. "closeqty": {
  39324. "description": "平仓数量(先建后平操作 需要记录)",
  39325. "type": "number"
  39326. },
  39327. "creditamount": {
  39328. "description": "授信金额",
  39329. "type": "number"
  39330. },
  39331. "decimalplace": {
  39332. "description": "商品报价小数位",
  39333. "type": "integer"
  39334. },
  39335. "enumdicname": {
  39336. "description": "单位名称",
  39337. "type": "string"
  39338. },
  39339. "gcaccountid": {
  39340. "description": "账户ID[合约币种]",
  39341. "type": "integer"
  39342. },
  39343. "goodscode": {
  39344. "description": "商品代码",
  39345. "type": "string"
  39346. },
  39347. "goodsid": {
  39348. "description": "商品ID",
  39349. "type": "integer"
  39350. },
  39351. "goodsname": {
  39352. "description": "商品名称",
  39353. "type": "string"
  39354. },
  39355. "goodunitid": {
  39356. "description": "商品单位id",
  39357. "type": "integer"
  39358. },
  39359. "intclosepl": {
  39360. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  39361. "type": "integer"
  39362. },
  39363. "isconfirmexercise": {
  39364. "description": "是否确认行权- 0:否 1:是",
  39365. "type": "integer"
  39366. },
  39367. "ismain": {
  39368. "description": "是否主单 - 0:不是 1:是",
  39369. "type": "integer"
  39370. },
  39371. "ispreexercise": {
  39372. "description": "是否预申报- 0:否 1:是",
  39373. "type": "integer"
  39374. },
  39375. "isreckoned": {
  39376. "description": "是否结算 - 0:未结算 1:已结算",
  39377. "type": "integer"
  39378. },
  39379. "listingselecttype": {
  39380. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39381. "type": "integer"
  39382. },
  39383. "marketid": {
  39384. "description": "市场ID",
  39385. "type": "integer"
  39386. },
  39387. "marketname": {
  39388. "description": "市场名称",
  39389. "type": "string"
  39390. },
  39391. "matchaccountid": {
  39392. "description": "对手账号id",
  39393. "type": "integer"
  39394. },
  39395. "memberuserid": {
  39396. "description": "会员id 个人投资者 需要填写",
  39397. "type": "integer"
  39398. },
  39399. "opencharge": {
  39400. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  39401. "type": "number"
  39402. },
  39403. "openexchagechargevalue": {
  39404. "description": "建仓交易所手续费设置值",
  39405. "type": "number"
  39406. },
  39407. "openfeealgorithm": {
  39408. "description": "建仓手续费收取方式 1:比率 2:固定",
  39409. "type": "integer"
  39410. },
  39411. "openmemberchargevalue": {
  39412. "description": "建仓会员手续费设置值",
  39413. "type": "number"
  39414. },
  39415. "openqty": {
  39416. "description": "开仓数量(先建后平操作 需要记录)",
  39417. "type": "number"
  39418. },
  39419. "optiontype": {
  39420. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  39421. "type": "integer"
  39422. },
  39423. "orderid": {
  39424. "description": "委托单号",
  39425. "type": "string"
  39426. },
  39427. "payamount": {
  39428. "description": "支付金额(付款金额)",
  39429. "type": "number"
  39430. },
  39431. "performanceplanid": {
  39432. "description": "履约计划ID[期权]",
  39433. "type": "integer"
  39434. },
  39435. "performancestatus": {
  39436. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  39437. "type": "integer"
  39438. },
  39439. "preexerciseprice": {
  39440. "description": "预申报价格",
  39441. "type": "number"
  39442. },
  39443. "premium": {
  39444. "description": "权利金 - [持仓单的权利金]",
  39445. "type": "number"
  39446. },
  39447. "qtydecimalplace": {
  39448. "description": "商品报价小数位",
  39449. "type": "integer"
  39450. },
  39451. "recvamount": {
  39452. "description": "到账金额 = 成交金额 - 手续费",
  39453. "type": "number"
  39454. },
  39455. "relatedouttradeid": {
  39456. "description": "关联外部成交单ID",
  39457. "type": "integer"
  39458. },
  39459. "status": {
  39460. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  39461. "type": "integer"
  39462. },
  39463. "totalamount": {
  39464. "description": "订单总额 = 成交金额 + 手续费",
  39465. "type": "number"
  39466. },
  39467. "tradeamount": {
  39468. "description": "成交金额[账户币种,用于所有权]",
  39469. "type": "number"
  39470. },
  39471. "tradedate": {
  39472. "description": "交易日(yyyyMMdd)",
  39473. "type": "string"
  39474. },
  39475. "tradeid": {
  39476. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39477. "type": "string"
  39478. },
  39479. "trademode": {
  39480. "description": "交易模式",
  39481. "type": "integer"
  39482. },
  39483. "tradeprice": {
  39484. "description": "成交价格",
  39485. "type": "number"
  39486. },
  39487. "tradeproperty": {
  39488. "description": "交易属性",
  39489. "type": "integer"
  39490. },
  39491. "tradeqty": {
  39492. "description": "成交数量",
  39493. "type": "number"
  39494. },
  39495. "tradetime": {
  39496. "description": "成交时间",
  39497. "type": "string"
  39498. },
  39499. "tradetype": {
  39500. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  39501. "type": "integer"
  39502. }
  39503. }
  39504. },
  39505. "order.QueryTradeOrderDetailRsp": {
  39506. "type": "object",
  39507. "required": [
  39508. "accountid",
  39509. "buildtype",
  39510. "buyorsell",
  39511. "goodsid",
  39512. "marketid",
  39513. "operatetype",
  39514. "orderqty",
  39515. "ordertime",
  39516. "pricemode",
  39517. "tradedate",
  39518. "validtype"
  39519. ],
  39520. "properties": {
  39521. "accountid": {
  39522. "description": "账户ID[报价币种]",
  39523. "type": "integer"
  39524. },
  39525. "buildtype": {
  39526. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  39527. "type": "integer"
  39528. },
  39529. "buyorsell": {
  39530. "description": "买卖 - 0:买 1:卖",
  39531. "type": "integer"
  39532. },
  39533. "cancelorderid": {
  39534. "description": "撤单单号(撤单时填写)",
  39535. "type": "string"
  39536. },
  39537. "cancelqty": {
  39538. "description": "撤单数量",
  39539. "type": "number"
  39540. },
  39541. "clienttype": {
  39542. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  39543. "type": "integer"
  39544. },
  39545. "closefreezecharge": {
  39546. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  39547. "type": "number"
  39548. },
  39549. "closeqty": {
  39550. "description": "平仓数量(先建后平操作 需要记录)",
  39551. "type": "number"
  39552. },
  39553. "closetradeqty": {
  39554. "description": "平仓成交数量(先建后平操作,需要记录)",
  39555. "type": "number"
  39556. },
  39557. "closeunfreezecharge": {
  39558. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  39559. "type": "number"
  39560. },
  39561. "decimalplace": {
  39562. "description": "商品报价小数位",
  39563. "type": "integer"
  39564. },
  39565. "delistingtype": {
  39566. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  39567. "type": "integer"
  39568. },
  39569. "enableqty": {
  39570. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  39571. "type": "number"
  39572. },
  39573. "enumdicname": {
  39574. "description": "单位名称",
  39575. "type": "string"
  39576. },
  39577. "freezecharge": {
  39578. "description": "冻结手续费",
  39579. "type": "number"
  39580. },
  39581. "freezemargin": {
  39582. "description": "冻结保证金(冻结交易金额)",
  39583. "type": "number"
  39584. },
  39585. "goodscode": {
  39586. "description": "商品代码",
  39587. "type": "string"
  39588. },
  39589. "goodsid": {
  39590. "description": "商品ID",
  39591. "type": "integer"
  39592. },
  39593. "goodsname": {
  39594. "description": "商品名称",
  39595. "type": "string"
  39596. },
  39597. "goodunitid": {
  39598. "description": "商品单位id",
  39599. "type": "integer"
  39600. },
  39601. "listingselecttype": {
  39602. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39603. "type": "integer"
  39604. },
  39605. "marketid": {
  39606. "description": "市场ID",
  39607. "type": "integer"
  39608. },
  39609. "marketname": {
  39610. "description": "市场名称",
  39611. "type": "string"
  39612. },
  39613. "openfreezecharge": {
  39614. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  39615. "type": "number"
  39616. },
  39617. "openqty": {
  39618. "description": "开仓数量(先建后平操作,需要记录)",
  39619. "type": "number"
  39620. },
  39621. "opentradeqty": {
  39622. "description": "开仓成交数量(先建后平操作,需要记录)",
  39623. "type": "number"
  39624. },
  39625. "openunfreezecharge": {
  39626. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  39627. "type": "number"
  39628. },
  39629. "operatetype": {
  39630. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  39631. "type": "integer"
  39632. },
  39633. "operatorid": {
  39634. "description": "登录账号(LoginID)",
  39635. "type": "integer"
  39636. },
  39637. "orderid": {
  39638. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39639. "type": "string"
  39640. },
  39641. "orderprice": {
  39642. "description": "委托价格",
  39643. "type": "number"
  39644. },
  39645. "orderqty": {
  39646. "description": "委托数量",
  39647. "type": "number"
  39648. },
  39649. "ordersrc": {
  39650. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  39651. "type": "integer"
  39652. },
  39653. "orderstatus": {
  39654. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  39655. "type": "integer"
  39656. },
  39657. "ordertime": {
  39658. "description": "委托时间",
  39659. "type": "string"
  39660. },
  39661. "preorderid": {
  39662. "description": "关联预埋单号(止盈止损单时填写)",
  39663. "type": "string"
  39664. },
  39665. "pricemode": {
  39666. "description": "取价方式 - 1:市价 2: 限价",
  39667. "type": "integer"
  39668. },
  39669. "qtydecimalplace": {
  39670. "description": "商品报价小数位",
  39671. "type": "integer"
  39672. },
  39673. "relatedid": {
  39674. "description": "关联单号(交割单)",
  39675. "type": "string"
  39676. },
  39677. "tradedate": {
  39678. "description": "交易日(yyyyMMdd)",
  39679. "type": "string"
  39680. },
  39681. "trademode": {
  39682. "description": "交易模式",
  39683. "type": "integer"
  39684. },
  39685. "tradeqty": {
  39686. "description": "成交数量",
  39687. "type": "number"
  39688. },
  39689. "unfreezecharge": {
  39690. "description": "解冻手续费",
  39691. "type": "number"
  39692. },
  39693. "unfreezemargin": {
  39694. "description": "解冻保证金",
  39695. "type": "number"
  39696. },
  39697. "validtime": {
  39698. "description": "有效期限",
  39699. "type": "string"
  39700. },
  39701. "validtype": {
  39702. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  39703. "type": "integer"
  39704. },
  39705. "volumetype": {
  39706. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  39707. "type": "integer"
  39708. }
  39709. }
  39710. },
  39711. "order.QueryTradePositionRsp": {
  39712. "type": "object",
  39713. "required": [
  39714. "goodsid"
  39715. ],
  39716. "properties": {
  39717. "accountid": {
  39718. "description": "资金账户",
  39719. "type": "integer"
  39720. },
  39721. "agreeunit": {
  39722. "description": "合约单位",
  39723. "type": "number"
  39724. },
  39725. "averageprice": {
  39726. "description": "持仓均价",
  39727. "type": "number"
  39728. },
  39729. "buyorsell": {
  39730. "description": "方向 - 0:买 1:卖",
  39731. "type": "integer"
  39732. },
  39733. "closetotalqty": {
  39734. "description": "平仓总数量",
  39735. "type": "number"
  39736. },
  39737. "curholderamount": {
  39738. "description": "当前持仓总金额[商品币种]",
  39739. "type": "number"
  39740. },
  39741. "curpositionqty": {
  39742. "description": "当前持仓总数量",
  39743. "type": "number"
  39744. },
  39745. "currencyid": {
  39746. "description": "报价货币ID",
  39747. "type": "integer"
  39748. },
  39749. "curtdposition": {
  39750. "description": "期末今日头寸",
  39751. "type": "number"
  39752. },
  39753. "decimalplace": {
  39754. "description": "报价小数位",
  39755. "type": "integer"
  39756. },
  39757. "enableqty": {
  39758. "description": "可用量",
  39759. "type": "number"
  39760. },
  39761. "fretdposition": {
  39762. "description": "冻结今日头寸",
  39763. "type": "number"
  39764. },
  39765. "frozenqty": {
  39766. "description": "持仓冻结数量",
  39767. "type": "number"
  39768. },
  39769. "goodscode": {
  39770. "description": "商品代码",
  39771. "type": "string"
  39772. },
  39773. "goodsid": {
  39774. "description": "商品Id",
  39775. "type": "integer"
  39776. },
  39777. "goodsname": {
  39778. "description": "商品名称",
  39779. "type": "string"
  39780. },
  39781. "goodunit": {
  39782. "description": "报价单位",
  39783. "type": "string"
  39784. },
  39785. "goodunitid": {
  39786. "description": "报价单位ID",
  39787. "type": "integer"
  39788. },
  39789. "holderamount": {
  39790. "description": "期初持仓总金额[商品币种]",
  39791. "type": "number"
  39792. },
  39793. "lastprice": {
  39794. "description": "最新价",
  39795. "type": "number"
  39796. },
  39797. "marketamount": {
  39798. "description": "市值",
  39799. "type": "number"
  39800. },
  39801. "marketid": {
  39802. "description": "所属市场ID",
  39803. "type": "integer"
  39804. },
  39805. "openreqqty": {
  39806. "description": "开仓申请数量(用于比较最大持仓数量)",
  39807. "type": "number"
  39808. },
  39809. "opentotalqty": {
  39810. "description": "开仓总数量",
  39811. "type": "number"
  39812. },
  39813. "otherfrozenqty": {
  39814. "description": "持仓其他冻结数量(交割冻结)",
  39815. "type": "number"
  39816. },
  39817. "positionpl": {
  39818. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  39819. "type": "number"
  39820. },
  39821. "positionplrate": {
  39822. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  39823. "type": "number"
  39824. },
  39825. "positionqty": {
  39826. "description": "期初持仓数量",
  39827. "type": "number"
  39828. },
  39829. "qtydecimalplace": {
  39830. "description": "成交量小数位",
  39831. "type": "integer"
  39832. },
  39833. "refgoodscode": {
  39834. "description": "参考商品代码",
  39835. "type": "string"
  39836. },
  39837. "refgoodsid": {
  39838. "description": "参考商品ID",
  39839. "type": "integer"
  39840. },
  39841. "tnqty": {
  39842. "description": "T+N冻结总量",
  39843. "type": "number"
  39844. },
  39845. "tnusedqty": {
  39846. "description": "T+N使用量(可以使用T+N的冻结数量)",
  39847. "type": "number"
  39848. },
  39849. "trademode": {
  39850. "description": "交易模式",
  39851. "type": "integer"
  39852. },
  39853. "tradeproperty": {
  39854. "description": "交易属性",
  39855. "type": "integer"
  39856. },
  39857. "usedmargin": {
  39858. "description": "占用保证金[商品币种]",
  39859. "type": "number"
  39860. }
  39861. }
  39862. },
  39863. "pb.GoodsMarginCfgStruct": {
  39864. "type": "object",
  39865. "properties": {
  39866. "CustomerTypeID": {
  39867. "description": "投资者客户类型",
  39868. "type": "integer"
  39869. },
  39870. "GoodsID": {
  39871. "description": "商品ID",
  39872. "type": "integer"
  39873. },
  39874. "IsDefault": {
  39875. "description": "是否默认标志位",
  39876. "type": "integer"
  39877. },
  39878. "LockMarginValue": {
  39879. "description": "锁仓保证金",
  39880. "type": "number"
  39881. },
  39882. "MarginAlgorithm": {
  39883. "description": "保证金计算方式",
  39884. "type": "integer"
  39885. },
  39886. "MarketMarginValue": {
  39887. "description": "即市保证金值",
  39888. "type": "number"
  39889. },
  39890. "RealMarginAlgorithm": {
  39891. "description": "实付保证金计算方式",
  39892. "type": "integer"
  39893. },
  39894. "RealMarginValue": {
  39895. "description": "实付比例",
  39896. "type": "number"
  39897. },
  39898. "ReckonMarginValue": {
  39899. "description": "结算保证金值",
  39900. "type": "number"
  39901. }
  39902. }
  39903. },
  39904. "quote.HistoryData": {
  39905. "type": "object",
  39906. "properties": {
  39907. "c": {
  39908. "description": "收盘价",
  39909. "type": "number"
  39910. },
  39911. "f": {
  39912. "description": "是否补充数据",
  39913. "type": "boolean"
  39914. },
  39915. "h": {
  39916. "description": "最高价",
  39917. "type": "number"
  39918. },
  39919. "hv": {
  39920. "description": "持仓量",
  39921. "type": "integer"
  39922. },
  39923. "l": {
  39924. "description": "最低价",
  39925. "type": "number"
  39926. },
  39927. "o": {
  39928. "description": "开盘价",
  39929. "type": "number"
  39930. },
  39931. "s": {
  39932. "description": "结算价,日线周期(包括)以上才有",
  39933. "type": "number"
  39934. },
  39935. "ts": {
  39936. "description": "时间",
  39937. "type": "string"
  39938. },
  39939. "tt": {
  39940. "description": "总金额",
  39941. "type": "number"
  39942. },
  39943. "tv": {
  39944. "description": "总量(成交量)",
  39945. "type": "integer"
  39946. }
  39947. }
  39948. },
  39949. "quote.HistoryTikData": {
  39950. "type": "object",
  39951. "properties": {
  39952. "AV": {
  39953. "description": "卖量",
  39954. "type": "integer"
  39955. },
  39956. "Ask": {
  39957. "description": "卖价",
  39958. "type": "number"
  39959. },
  39960. "BV": {
  39961. "description": "买量",
  39962. "type": "integer"
  39963. },
  39964. "Bid": {
  39965. "description": "买价",
  39966. "type": "number"
  39967. },
  39968. "HI": {
  39969. "description": "单笔持仓",
  39970. "type": "integer"
  39971. },
  39972. "HV": {
  39973. "description": "持仓量",
  39974. "type": "integer"
  39975. },
  39976. "PE": {
  39977. "description": "现价",
  39978. "type": "number"
  39979. },
  39980. "TDR": {
  39981. "description": "交易方向,0:买 1:卖",
  39982. "type": "integer"
  39983. },
  39984. "TK": {
  39985. "description": "交易类型",
  39986. "type": "integer"
  39987. },
  39988. "TS": {
  39989. "description": "行情时间文本",
  39990. "type": "string"
  39991. },
  39992. "TT": {
  39993. "description": "现金额",
  39994. "type": "number"
  39995. },
  39996. "Vol": {
  39997. "description": "现量",
  39998. "type": "integer"
  39999. }
  40000. }
  40001. },
  40002. "quote.QueryQuoteDayRsp": {
  40003. "type": "object",
  40004. "properties": {
  40005. "ask": {
  40006. "description": "卖1",
  40007. "type": "number"
  40008. },
  40009. "ask10": {
  40010. "description": "卖10",
  40011. "type": "number"
  40012. },
  40013. "ask2": {
  40014. "description": "卖2",
  40015. "type": "number"
  40016. },
  40017. "ask3": {
  40018. "description": "卖3",
  40019. "type": "number"
  40020. },
  40021. "ask4": {
  40022. "description": "卖4",
  40023. "type": "number"
  40024. },
  40025. "ask5": {
  40026. "description": "卖5",
  40027. "type": "number"
  40028. },
  40029. "ask6": {
  40030. "description": "卖6",
  40031. "type": "number"
  40032. },
  40033. "ask7": {
  40034. "description": "卖7",
  40035. "type": "number"
  40036. },
  40037. "ask8": {
  40038. "description": "卖8",
  40039. "type": "number"
  40040. },
  40041. "ask9": {
  40042. "description": "卖9",
  40043. "type": "number"
  40044. },
  40045. "askorderid": {
  40046. "description": "卖单号1",
  40047. "type": "integer"
  40048. },
  40049. "askorderid2": {
  40050. "description": "卖单号2",
  40051. "type": "integer"
  40052. },
  40053. "askorderid3": {
  40054. "description": "卖单号3",
  40055. "type": "integer"
  40056. },
  40057. "askorderid4": {
  40058. "description": "卖单号4",
  40059. "type": "integer"
  40060. },
  40061. "askorderid5": {
  40062. "description": "卖单号5",
  40063. "type": "integer"
  40064. },
  40065. "askordervolume": {
  40066. "description": "卖单量1",
  40067. "type": "integer"
  40068. },
  40069. "askordervolume10": {
  40070. "description": "卖单量10",
  40071. "type": "integer"
  40072. },
  40073. "askordervolume2": {
  40074. "description": "卖单量2",
  40075. "type": "integer"
  40076. },
  40077. "askordervolume3": {
  40078. "description": "卖单量3",
  40079. "type": "integer"
  40080. },
  40081. "askordervolume4": {
  40082. "description": "卖单量4",
  40083. "type": "integer"
  40084. },
  40085. "askordervolume5": {
  40086. "description": "卖单量5",
  40087. "type": "integer"
  40088. },
  40089. "askordervolume6": {
  40090. "description": "卖单量6",
  40091. "type": "integer"
  40092. },
  40093. "askordervolume7": {
  40094. "description": "卖单量7",
  40095. "type": "integer"
  40096. },
  40097. "askordervolume8": {
  40098. "description": "卖单量8",
  40099. "type": "integer"
  40100. },
  40101. "askordervolume9": {
  40102. "description": "卖单量9",
  40103. "type": "integer"
  40104. },
  40105. "askqueueinfo": {
  40106. "description": "大利市卖港股用",
  40107. "type": "string"
  40108. },
  40109. "askvolume": {
  40110. "description": "卖量1",
  40111. "type": "integer"
  40112. },
  40113. "askvolume10": {
  40114. "description": "卖量10",
  40115. "type": "integer"
  40116. },
  40117. "askvolume2": {
  40118. "description": "卖量2",
  40119. "type": "integer"
  40120. },
  40121. "askvolume3": {
  40122. "description": "卖量3",
  40123. "type": "integer"
  40124. },
  40125. "askvolume4": {
  40126. "description": "卖量4",
  40127. "type": "integer"
  40128. },
  40129. "askvolume5": {
  40130. "description": "卖量5",
  40131. "type": "integer"
  40132. },
  40133. "askvolume6": {
  40134. "description": "卖量6",
  40135. "type": "integer"
  40136. },
  40137. "askvolume7": {
  40138. "description": "卖量7",
  40139. "type": "integer"
  40140. },
  40141. "askvolume8": {
  40142. "description": "卖量8",
  40143. "type": "integer"
  40144. },
  40145. "askvolume9": {
  40146. "description": "卖量9",
  40147. "type": "integer"
  40148. },
  40149. "averageprice": {
  40150. "description": "均价",
  40151. "type": "number"
  40152. },
  40153. "bid": {
  40154. "description": "买1",
  40155. "type": "number"
  40156. },
  40157. "bid10": {
  40158. "description": "买10",
  40159. "type": "number"
  40160. },
  40161. "bid2": {
  40162. "description": "买2",
  40163. "type": "number"
  40164. },
  40165. "bid3": {
  40166. "description": "买3",
  40167. "type": "number"
  40168. },
  40169. "bid4": {
  40170. "description": "买4",
  40171. "type": "number"
  40172. },
  40173. "bid5": {
  40174. "description": "买5",
  40175. "type": "number"
  40176. },
  40177. "bid6": {
  40178. "description": "买6",
  40179. "type": "number"
  40180. },
  40181. "bid7": {
  40182. "description": "买7",
  40183. "type": "number"
  40184. },
  40185. "bid8": {
  40186. "description": "买8",
  40187. "type": "number"
  40188. },
  40189. "bid9": {
  40190. "description": "买9",
  40191. "type": "number"
  40192. },
  40193. "bidorderid": {
  40194. "description": "买单号1",
  40195. "type": "integer"
  40196. },
  40197. "bidorderid2": {
  40198. "description": "买单号2",
  40199. "type": "integer"
  40200. },
  40201. "bidorderid3": {
  40202. "description": "买单号3",
  40203. "type": "integer"
  40204. },
  40205. "bidorderid4": {
  40206. "description": "买单号4",
  40207. "type": "integer"
  40208. },
  40209. "bidorderid5": {
  40210. "description": "买单号5",
  40211. "type": "integer"
  40212. },
  40213. "bidordervolume": {
  40214. "description": "买单量1",
  40215. "type": "integer"
  40216. },
  40217. "bidordervolume10": {
  40218. "description": "买单量10",
  40219. "type": "integer"
  40220. },
  40221. "bidordervolume2": {
  40222. "description": "买单量2",
  40223. "type": "integer"
  40224. },
  40225. "bidordervolume3": {
  40226. "description": "买单量3",
  40227. "type": "integer"
  40228. },
  40229. "bidordervolume4": {
  40230. "description": "买单量4",
  40231. "type": "integer"
  40232. },
  40233. "bidordervolume5": {
  40234. "description": "买单量5",
  40235. "type": "integer"
  40236. },
  40237. "bidordervolume6": {
  40238. "description": "买单量6",
  40239. "type": "integer"
  40240. },
  40241. "bidordervolume7": {
  40242. "description": "买单量7",
  40243. "type": "integer"
  40244. },
  40245. "bidordervolume8": {
  40246. "description": "买单量8",
  40247. "type": "integer"
  40248. },
  40249. "bidordervolume9": {
  40250. "description": "买单量9",
  40251. "type": "integer"
  40252. },
  40253. "bidqueueinfo": {
  40254. "description": "大利市买港股用",
  40255. "type": "string"
  40256. },
  40257. "bidvolume": {
  40258. "description": "买量1",
  40259. "type": "integer"
  40260. },
  40261. "bidvolume10": {
  40262. "description": "买量10",
  40263. "type": "integer"
  40264. },
  40265. "bidvolume2": {
  40266. "description": "买量2",
  40267. "type": "integer"
  40268. },
  40269. "bidvolume3": {
  40270. "description": "买量3",
  40271. "type": "integer"
  40272. },
  40273. "bidvolume4": {
  40274. "description": "买量4",
  40275. "type": "integer"
  40276. },
  40277. "bidvolume5": {
  40278. "description": "买量5",
  40279. "type": "integer"
  40280. },
  40281. "bidvolume6": {
  40282. "description": "买量6",
  40283. "type": "integer"
  40284. },
  40285. "bidvolume7": {
  40286. "description": "买量7",
  40287. "type": "integer"
  40288. },
  40289. "bidvolume8": {
  40290. "description": "买量8",
  40291. "type": "integer"
  40292. },
  40293. "bidvolume9": {
  40294. "description": "买量9",
  40295. "type": "integer"
  40296. },
  40297. "calloptionpremiums": {
  40298. "description": "认购期权1",
  40299. "type": "integer"
  40300. },
  40301. "calloptionpremiums2": {
  40302. "description": "认购期权2",
  40303. "type": "integer"
  40304. },
  40305. "calloptionpremiums3": {
  40306. "description": "认购期权3",
  40307. "type": "integer"
  40308. },
  40309. "calloptionpremiums4": {
  40310. "description": "认购期权4",
  40311. "type": "integer"
  40312. },
  40313. "calloptionpremiums5": {
  40314. "description": "认购期权5",
  40315. "type": "integer"
  40316. },
  40317. "cleartime": {
  40318. "description": "清盘时间",
  40319. "type": "integer"
  40320. },
  40321. "exchangecode": {
  40322. "description": "交易所代码",
  40323. "type": "integer"
  40324. },
  40325. "exchangedate": {
  40326. "description": "交易日",
  40327. "type": "integer"
  40328. },
  40329. "goodscode": {
  40330. "description": "商品代码",
  40331. "type": "string"
  40332. },
  40333. "grepmarketprice": {
  40334. "description": "暗盘价 港股专用",
  40335. "type": "number"
  40336. },
  40337. "highest": {
  40338. "description": "最高价",
  40339. "type": "number"
  40340. },
  40341. "holdincrement": {
  40342. "description": "单笔持仓",
  40343. "type": "integer"
  40344. },
  40345. "holdvolume": {
  40346. "description": "持仓",
  40347. "type": "integer"
  40348. },
  40349. "iep": {
  40350. "description": "平衡价 港股专用",
  40351. "type": "number"
  40352. },
  40353. "iev": {
  40354. "description": "平衡量 港股专用",
  40355. "type": "number"
  40356. },
  40357. "inventory": {
  40358. "description": "库存",
  40359. "type": "integer"
  40360. },
  40361. "iscleared": {
  40362. "description": "是否清盘标志",
  40363. "type": "integer"
  40364. },
  40365. "issettled": {
  40366. "description": "是否结算标志",
  40367. "type": "integer"
  40368. },
  40369. "last": {
  40370. "description": "最新价",
  40371. "type": "number"
  40372. },
  40373. "lastlot": {
  40374. "description": "最新成交手数",
  40375. "type": "integer"
  40376. },
  40377. "lasttime": {
  40378. "description": "行情时间(只有现价变化行情时间才变化)",
  40379. "type": "string"
  40380. },
  40381. "lastturnover": {
  40382. "description": "最新成交金额",
  40383. "type": "number"
  40384. },
  40385. "lastvolume": {
  40386. "description": "最新成交量",
  40387. "type": "integer"
  40388. },
  40389. "limitdown": {
  40390. "description": "跌停价",
  40391. "type": "number"
  40392. },
  40393. "limitup": {
  40394. "description": "涨停价",
  40395. "type": "number"
  40396. },
  40397. "lowest": {
  40398. "description": "最低价",
  40399. "type": "number"
  40400. },
  40401. "nontotalholdervolume": {
  40402. "description": "非交易持仓量",
  40403. "type": "integer"
  40404. },
  40405. "nontotallot": {
  40406. "description": "非交易总手数",
  40407. "type": "integer"
  40408. },
  40409. "nontotalturnover": {
  40410. "description": "非交易总金额",
  40411. "type": "integer"
  40412. },
  40413. "nontotalvolume": {
  40414. "description": "非交易总量",
  40415. "type": "integer"
  40416. },
  40417. "opened": {
  40418. "description": "开盘价",
  40419. "type": "number"
  40420. },
  40421. "opentime": {
  40422. "description": "开盘时间",
  40423. "type": "string"
  40424. },
  40425. "orderid": {
  40426. "description": "序号",
  40427. "type": "integer"
  40428. },
  40429. "preclose": {
  40430. "description": "昨收",
  40431. "type": "number"
  40432. },
  40433. "preholdvolume": {
  40434. "description": "昨持仓",
  40435. "type": "integer"
  40436. },
  40437. "presettle": {
  40438. "description": "昨结价",
  40439. "type": "number"
  40440. },
  40441. "publictradetype": {
  40442. "description": "公共交易标志类型 港股专用",
  40443. "type": "string"
  40444. },
  40445. "putoptionpremiums": {
  40446. "description": "认沽期权1",
  40447. "type": "integer"
  40448. },
  40449. "putoptionpremiums2": {
  40450. "description": "认沽期权2",
  40451. "type": "integer"
  40452. },
  40453. "putoptionpremiums3": {
  40454. "description": "认沽期权3",
  40455. "type": "integer"
  40456. },
  40457. "putoptionpremiums4": {
  40458. "description": "认沽期权4",
  40459. "type": "integer"
  40460. },
  40461. "putoptionpremiums5": {
  40462. "description": "认沽期权5",
  40463. "type": "integer"
  40464. },
  40465. "settle": {
  40466. "description": "结算价",
  40467. "type": "number"
  40468. },
  40469. "strikeprice": {
  40470. "description": "发行价",
  40471. "type": "number"
  40472. },
  40473. "totalaskvolume": {
  40474. "description": "内盘",
  40475. "type": "integer"
  40476. },
  40477. "totalbidvolume": {
  40478. "description": "外盘",
  40479. "type": "integer"
  40480. },
  40481. "totallot": {
  40482. "description": "总手数",
  40483. "type": "integer"
  40484. },
  40485. "totalturnover": {
  40486. "description": "总金额",
  40487. "type": "number"
  40488. },
  40489. "totalvolume": {
  40490. "description": "总量",
  40491. "type": "integer"
  40492. },
  40493. "utclasttime": {
  40494. "description": "utc的行情时间",
  40495. "type": "string"
  40496. }
  40497. }
  40498. },
  40499. "quote.QueryTSDataRsp": {
  40500. "type": "object",
  40501. "properties": {
  40502. "Count": {
  40503. "description": "交易日应有数据个数",
  40504. "type": "integer"
  40505. },
  40506. "decimalPlace": {
  40507. "description": "小数位",
  40508. "type": "integer"
  40509. },
  40510. "endTime": {
  40511. "description": "结束时间",
  40512. "type": "string"
  40513. },
  40514. "goodsCode": {
  40515. "description": "商品代码",
  40516. "type": "string"
  40517. },
  40518. "historyDatas": {
  40519. "description": "历史数据",
  40520. "type": "array",
  40521. "items": {
  40522. "$ref": "#/definitions/quote.HistoryData"
  40523. }
  40524. },
  40525. "outGoodsCode": {
  40526. "description": "外部商品代码",
  40527. "type": "string"
  40528. },
  40529. "preSettle": {
  40530. "description": "昨结价",
  40531. "type": "number"
  40532. },
  40533. "runSteps": {
  40534. "description": "交易日开休市计划",
  40535. "type": "array",
  40536. "items": {
  40537. "$ref": "#/definitions/quote.TSDataRunStep"
  40538. }
  40539. },
  40540. "startTime": {
  40541. "description": "开始时间",
  40542. "type": "string"
  40543. },
  40544. "tradeDate": {
  40545. "description": "交易日",
  40546. "type": "string"
  40547. }
  40548. }
  40549. },
  40550. "quote.TSDataRunStep": {
  40551. "type": "object",
  40552. "properties": {
  40553. "end": {
  40554. "description": "真实结束时间",
  40555. "type": "string"
  40556. },
  40557. "endflag": {
  40558. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  40559. "type": "integer"
  40560. },
  40561. "endtime": {
  40562. "description": "结束时间(HH:mm)",
  40563. "type": "string"
  40564. },
  40565. "endweekday": {
  40566. "description": "结束周几",
  40567. "type": "integer"
  40568. },
  40569. "groupid": {
  40570. "description": "分组ID",
  40571. "type": "integer"
  40572. },
  40573. "runstep": {
  40574. "description": "运行阶段 - 2:连续交易",
  40575. "type": "integer"
  40576. },
  40577. "sectionid": {
  40578. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  40579. "type": "integer"
  40580. },
  40581. "start": {
  40582. "description": "真实开始时间",
  40583. "type": "string"
  40584. },
  40585. "startflag": {
  40586. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  40587. "type": "integer"
  40588. },
  40589. "starttime": {
  40590. "description": "起始时间(HH:mm)",
  40591. "type": "string"
  40592. },
  40593. "startweekday": {
  40594. "description": "起始周几",
  40595. "type": "integer"
  40596. },
  40597. "tradeweekday": {
  40598. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  40599. "type": "integer"
  40600. }
  40601. }
  40602. },
  40603. "szdz.QueryConvertLogRsp": {
  40604. "type": "object",
  40605. "required": [
  40606. "logid"
  40607. ],
  40608. "properties": {
  40609. "accountid": {
  40610. "description": "资金账户ID",
  40611. "type": "integer"
  40612. },
  40613. "clientticket": {
  40614. "description": "客户端流水号",
  40615. "type": "string"
  40616. },
  40617. "converttype": {
  40618. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  40619. "type": "integer"
  40620. },
  40621. "createtime": {
  40622. "description": "记账时间",
  40623. "type": "string"
  40624. },
  40625. "daymaxvalue": {
  40626. "description": "配置当日最大转入限制",
  40627. "type": "number"
  40628. },
  40629. "daymaxvalue2": {
  40630. "description": "配置当日最大转入限制(转入)",
  40631. "type": "number"
  40632. },
  40633. "goodscode": {
  40634. "description": "商品代码",
  40635. "type": "string"
  40636. },
  40637. "goodsname": {
  40638. "description": "商品名称",
  40639. "type": "string"
  40640. },
  40641. "handlestatus": {
  40642. "description": "处理状态",
  40643. "type": "integer"
  40644. },
  40645. "innergoodsid": {
  40646. "description": "内部商品ID",
  40647. "type": "integer"
  40648. },
  40649. "inratio": {
  40650. "description": "配置转入比值",
  40651. "type": "integer"
  40652. },
  40653. "invalue": {
  40654. "description": "目标值",
  40655. "type": "number"
  40656. },
  40657. "logid": {
  40658. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40659. "type": "integer"
  40660. },
  40661. "mobile": {
  40662. "description": "手机号码(加密存储)",
  40663. "type": "string"
  40664. },
  40665. "outergoodscode": {
  40666. "description": "外部商品代码[JD\\PD]",
  40667. "type": "string"
  40668. },
  40669. "outratio": {
  40670. "description": "配置转出比值",
  40671. "type": "integer"
  40672. },
  40673. "outvalue": {
  40674. "description": "源值",
  40675. "type": "number"
  40676. },
  40677. "pddecimalplace": {
  40678. "description": "PD小数位",
  40679. "type": "integer"
  40680. },
  40681. "qty": {
  40682. "description": "数量",
  40683. "type": "string"
  40684. },
  40685. "remark": {
  40686. "description": "备注",
  40687. "type": "string"
  40688. },
  40689. "sessionid": {
  40690. "description": "会话ID",
  40691. "type": "integer"
  40692. },
  40693. "timemaxvalue": {
  40694. "description": "配置单次最大转入限制",
  40695. "type": "number"
  40696. },
  40697. "timemaxvalue2": {
  40698. "description": "配置单次最大转入限制(转入)",
  40699. "type": "number"
  40700. },
  40701. "timeminvalue": {
  40702. "description": "配置单次最小数量限制",
  40703. "type": "number"
  40704. },
  40705. "timeminvalue2": {
  40706. "description": "配置单次最小数量限制(转入)",
  40707. "type": "number"
  40708. },
  40709. "tradedate": {
  40710. "description": "交易日(yyyyMMdd)",
  40711. "type": "string"
  40712. },
  40713. "userid": {
  40714. "description": "用户ID",
  40715. "type": "integer"
  40716. }
  40717. }
  40718. },
  40719. "szdz.QueryGoodsPickupRsp": {
  40720. "type": "object",
  40721. "required": [
  40722. "takeorderid"
  40723. ],
  40724. "properties": {
  40725. "accountid": {
  40726. "description": "账户ID",
  40727. "type": "integer"
  40728. },
  40729. "address": {
  40730. "description": "提货人详细地址",
  40731. "type": "string"
  40732. },
  40733. "auditer": {
  40734. "description": "审核人",
  40735. "type": "integer"
  40736. },
  40737. "audittime": {
  40738. "description": "审核时间",
  40739. "type": "string"
  40740. },
  40741. "cardnum": {
  40742. "description": "提货人证件号码",
  40743. "type": "string"
  40744. },
  40745. "cardtypeid": {
  40746. "description": "提货人证件类型",
  40747. "type": "integer"
  40748. },
  40749. "checkremark": {
  40750. "description": "审核备注",
  40751. "type": "string"
  40752. },
  40753. "goodscode": {
  40754. "description": "商品代码",
  40755. "type": "string"
  40756. },
  40757. "goodsid": {
  40758. "description": "商品ID",
  40759. "type": "integer"
  40760. },
  40761. "goodsname": {
  40762. "description": "商品名称",
  40763. "type": "string"
  40764. },
  40765. "handlestatus": {
  40766. "description": "处理状态",
  40767. "type": "integer"
  40768. },
  40769. "marketid": {
  40770. "description": "市场ID",
  40771. "type": "integer"
  40772. },
  40773. "phonenum": {
  40774. "description": "提货人联系方式",
  40775. "type": "string"
  40776. },
  40777. "qty": {
  40778. "description": "提货数量",
  40779. "type": "number"
  40780. },
  40781. "recivername": {
  40782. "description": "提货人姓名",
  40783. "type": "string"
  40784. },
  40785. "reqtime": {
  40786. "description": "更新时间",
  40787. "type": "string"
  40788. },
  40789. "takemode": {
  40790. "description": "提货方式 - 2:自提 3:配送",
  40791. "type": "integer"
  40792. },
  40793. "takeorderid": {
  40794. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  40795. "type": "string"
  40796. },
  40797. "takeorderstatus": {
  40798. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  40799. "type": "integer"
  40800. },
  40801. "takeremark": {
  40802. "description": "提货备注",
  40803. "type": "string"
  40804. },
  40805. "tradedate": {
  40806. "description": "交易日(yyyyMMdd)",
  40807. "type": "string"
  40808. },
  40809. "userid": {
  40810. "description": "用户ID",
  40811. "type": "integer"
  40812. }
  40813. }
  40814. },
  40815. "szdz.QueryRecieptOrderRsp": {
  40816. "type": "object",
  40817. "required": [
  40818. "ordertime"
  40819. ],
  40820. "properties": {
  40821. "accountName": {
  40822. "description": "所属账号名称(已脱敏)",
  40823. "type": "string"
  40824. },
  40825. "accountid": {
  40826. "description": "资金账号",
  40827. "type": "integer"
  40828. },
  40829. "buyorsell": {
  40830. "description": "方向 - 0:买 1:卖",
  40831. "type": "integer"
  40832. },
  40833. "enableqty": {
  40834. "description": "可摘数量",
  40835. "type": "integer"
  40836. },
  40837. "goodscode": {
  40838. "description": "商品代码",
  40839. "type": "string"
  40840. },
  40841. "goodsid": {
  40842. "description": "商品ID",
  40843. "type": "integer"
  40844. },
  40845. "goodsname": {
  40846. "description": "商品名称",
  40847. "type": "string"
  40848. },
  40849. "orderid": {
  40850. "description": "委托单号",
  40851. "type": "string"
  40852. },
  40853. "orderprice": {
  40854. "description": "委托价格",
  40855. "type": "number"
  40856. },
  40857. "ordertime": {
  40858. "description": "委托时间",
  40859. "type": "string"
  40860. },
  40861. "tradedate": {
  40862. "description": "交易日(yyyyMMdd)",
  40863. "type": "string"
  40864. }
  40865. }
  40866. },
  40867. "szdz.QuerySZDZTradePositionRsp": {
  40868. "type": "object",
  40869. "properties": {
  40870. "accountid": {
  40871. "description": "账号Id",
  40872. "type": "integer"
  40873. },
  40874. "agreeunit": {
  40875. "description": "合约单位",
  40876. "type": "number"
  40877. },
  40878. "averageprice": {
  40879. "description": "持仓均价",
  40880. "type": "number"
  40881. },
  40882. "buyorsell": {
  40883. "description": "方向 - 0:买 1:卖",
  40884. "type": "integer"
  40885. },
  40886. "closetotalqty": {
  40887. "description": "平仓总数量",
  40888. "type": "integer"
  40889. },
  40890. "curholderamount": {
  40891. "description": "当前持仓总金额",
  40892. "type": "number"
  40893. },
  40894. "curpositionqty": {
  40895. "description": "当前持仓总数量",
  40896. "type": "integer"
  40897. },
  40898. "currencyid": {
  40899. "description": "报价货币ID",
  40900. "type": "integer"
  40901. },
  40902. "curtdposition": {
  40903. "description": "期末今日头寸",
  40904. "type": "integer"
  40905. },
  40906. "decimalplace": {
  40907. "description": "报价小数位",
  40908. "type": "integer"
  40909. },
  40910. "enableqty": {
  40911. "description": "可用量",
  40912. "type": "integer"
  40913. },
  40914. "fretdposition": {
  40915. "description": "冻结今日头寸",
  40916. "type": "integer"
  40917. },
  40918. "frozenqty": {
  40919. "description": "持仓冻结数量",
  40920. "type": "integer"
  40921. },
  40922. "goodscode": {
  40923. "description": "商品代码(内部)",
  40924. "type": "string"
  40925. },
  40926. "goodsid": {
  40927. "description": "商品Id",
  40928. "type": "integer"
  40929. },
  40930. "goodsname": {
  40931. "description": "商品名称",
  40932. "type": "string"
  40933. },
  40934. "goodunit": {
  40935. "description": "报价单位",
  40936. "type": "string"
  40937. },
  40938. "goodunitid": {
  40939. "description": "报价单位ID",
  40940. "type": "integer"
  40941. },
  40942. "holderamount": {
  40943. "description": "期初持仓总金额",
  40944. "type": "number"
  40945. },
  40946. "marketid": {
  40947. "description": "市场ID",
  40948. "type": "integer"
  40949. },
  40950. "openreqqty": {
  40951. "description": "开仓申请数量",
  40952. "type": "integer"
  40953. },
  40954. "opentotalqty": {
  40955. "description": "开仓总数量",
  40956. "type": "integer"
  40957. },
  40958. "otherfrozenqty": {
  40959. "description": "持仓其他冻结数量(交割冻结)",
  40960. "type": "integer"
  40961. },
  40962. "positionqty": {
  40963. "description": "期初持仓数量",
  40964. "type": "integer"
  40965. },
  40966. "szdz3freezqty": {
  40967. "description": "尚志大宗转换冻结总数量",
  40968. "type": "integer"
  40969. },
  40970. "tnqty": {
  40971. "description": "T+N冻结总量",
  40972. "type": "integer"
  40973. },
  40974. "tnusedqty": {
  40975. "description": "T+N使用量",
  40976. "type": "integer"
  40977. },
  40978. "trademode": {
  40979. "description": "交易模式",
  40980. "type": "integer"
  40981. },
  40982. "usedmargin": {
  40983. "description": "占用保证金",
  40984. "type": "number"
  40985. }
  40986. }
  40987. },
  40988. "taaccount.QueryAmountLogRsp": {
  40989. "type": "object",
  40990. "required": [
  40991. "accountid",
  40992. "amount",
  40993. "amountadjusttype",
  40994. "autoid",
  40995. "balance",
  40996. "createtime",
  40997. "currentbalance",
  40998. "operatetype"
  40999. ],
  41000. "properties": {
  41001. "OPERATETYPENAME": {
  41002. "description": "资金操作类型名称",
  41003. "type": "string"
  41004. },
  41005. "accountid": {
  41006. "description": "资金账户ID",
  41007. "type": "integer"
  41008. },
  41009. "agoodscode": {
  41010. "description": "竞拍商品代码",
  41011. "type": "string"
  41012. },
  41013. "agoodsname": {
  41014. "description": "竞拍商品名称",
  41015. "type": "string"
  41016. },
  41017. "amount": {
  41018. "description": "资金金额",
  41019. "type": "number"
  41020. },
  41021. "amountadjusttype": {
  41022. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  41023. "type": "integer"
  41024. },
  41025. "autoid": {
  41026. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  41027. "type": "integer"
  41028. },
  41029. "balance": {
  41030. "description": "期初余额",
  41031. "type": "number"
  41032. },
  41033. "businesscode": {
  41034. "description": "业务编号",
  41035. "type": "integer"
  41036. },
  41037. "createtime": {
  41038. "description": "发生时间",
  41039. "type": "string"
  41040. },
  41041. "currencyid": {
  41042. "description": "币种ID",
  41043. "type": "integer"
  41044. },
  41045. "currentbalance": {
  41046. "description": "期末余额(变动后金额)",
  41047. "type": "number"
  41048. },
  41049. "dgoodscode": {
  41050. "description": "交割商品代码",
  41051. "type": "string"
  41052. },
  41053. "dgoodsname": {
  41054. "description": "交割商品名称",
  41055. "type": "string"
  41056. },
  41057. "goodscode": {
  41058. "description": "商品代码",
  41059. "type": "string"
  41060. },
  41061. "goodsid": {
  41062. "description": "商品ID",
  41063. "type": "integer"
  41064. },
  41065. "goodsname": {
  41066. "description": "商品名称",
  41067. "type": "string"
  41068. },
  41069. "marketid": {
  41070. "description": "市场ID",
  41071. "type": "integer"
  41072. },
  41073. "marketname": {
  41074. "description": "市场名称",
  41075. "type": "string"
  41076. },
  41077. "moneyticket": {
  41078. "description": "资金流水号:银行端流水号",
  41079. "type": "integer"
  41080. },
  41081. "operatetype": {
  41082. "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:营销收款",
  41083. "type": "integer"
  41084. },
  41085. "relationorderid": {
  41086. "description": "关联单号",
  41087. "type": "string"
  41088. },
  41089. "remark": {
  41090. "description": "备注",
  41091. "type": "string"
  41092. },
  41093. "trademode": {
  41094. "description": "交易模式",
  41095. "type": "integer"
  41096. }
  41097. }
  41098. },
  41099. "taaccount.QueryHisAmountLogRsp": {
  41100. "type": "object",
  41101. "required": [
  41102. "accountid",
  41103. "amount",
  41104. "amountadjusttype",
  41105. "autoid",
  41106. "balance",
  41107. "createtime",
  41108. "currentbalance",
  41109. "histradedate",
  41110. "operatetype"
  41111. ],
  41112. "properties": {
  41113. "OPERATETYPENAME": {
  41114. "description": "资金操作类型名称",
  41115. "type": "string"
  41116. },
  41117. "accountid": {
  41118. "description": "资金账户ID",
  41119. "type": "integer"
  41120. },
  41121. "agoodscode": {
  41122. "description": "竞拍商品代码",
  41123. "type": "string"
  41124. },
  41125. "agoodsname": {
  41126. "description": "竞拍商品名称",
  41127. "type": "string"
  41128. },
  41129. "amount": {
  41130. "description": "资金金额",
  41131. "type": "number"
  41132. },
  41133. "amountadjusttype": {
  41134. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  41135. "type": "integer"
  41136. },
  41137. "autoid": {
  41138. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  41139. "type": "integer"
  41140. },
  41141. "balance": {
  41142. "description": "期初余额",
  41143. "type": "number"
  41144. },
  41145. "businesscode": {
  41146. "description": "业务编号",
  41147. "type": "integer"
  41148. },
  41149. "createtime": {
  41150. "description": "发生时间",
  41151. "type": "string"
  41152. },
  41153. "currencyid": {
  41154. "description": "币种ID",
  41155. "type": "integer"
  41156. },
  41157. "currentbalance": {
  41158. "description": "期末余额(变动后金额)",
  41159. "type": "number"
  41160. },
  41161. "dgoodscode": {
  41162. "description": "交割商品代码",
  41163. "type": "string"
  41164. },
  41165. "dgoodsname": {
  41166. "description": "交割商品名称",
  41167. "type": "string"
  41168. },
  41169. "goodscode": {
  41170. "description": "商品代码",
  41171. "type": "string"
  41172. },
  41173. "goodsid": {
  41174. "description": "商品ID",
  41175. "type": "integer"
  41176. },
  41177. "goodsname": {
  41178. "description": "商品名称",
  41179. "type": "string"
  41180. },
  41181. "histradedate": {
  41182. "description": "历史交易日",
  41183. "type": "string"
  41184. },
  41185. "isvaliddata": {
  41186. "description": "是否有效 - 0:无效 1:有效",
  41187. "type": "integer"
  41188. },
  41189. "marketid": {
  41190. "description": "市场ID",
  41191. "type": "integer"
  41192. },
  41193. "marketname": {
  41194. "description": "市场名称",
  41195. "type": "string"
  41196. },
  41197. "moneyticket": {
  41198. "description": "资金流水号:银行端流水号",
  41199. "type": "integer"
  41200. },
  41201. "operatetype": {
  41202. "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:营销收款",
  41203. "type": "integer"
  41204. },
  41205. "relationorderid": {
  41206. "description": "关联单号",
  41207. "type": "string"
  41208. },
  41209. "remark": {
  41210. "description": "备注",
  41211. "type": "string"
  41212. },
  41213. "trademode": {
  41214. "description": "交易模式",
  41215. "type": "integer"
  41216. }
  41217. }
  41218. },
  41219. "trade.QueryRecieptOrderRsp": {
  41220. "type": "object",
  41221. "required": [
  41222. "ordertime"
  41223. ],
  41224. "properties": {
  41225. "accountName": {
  41226. "description": "所属账号名称(已脱敏)",
  41227. "type": "string"
  41228. },
  41229. "accountid": {
  41230. "description": "资金账号",
  41231. "type": "integer"
  41232. },
  41233. "buyorsell": {
  41234. "description": "方向 - 0:买 1:卖",
  41235. "type": "integer"
  41236. },
  41237. "enableqty": {
  41238. "description": "可摘数量",
  41239. "type": "integer"
  41240. },
  41241. "goodscode": {
  41242. "description": "商品代码",
  41243. "type": "string"
  41244. },
  41245. "goodsid": {
  41246. "description": "商品ID",
  41247. "type": "integer"
  41248. },
  41249. "goodsname": {
  41250. "description": "商品名称",
  41251. "type": "string"
  41252. },
  41253. "orderid": {
  41254. "description": "委托单号",
  41255. "type": "string"
  41256. },
  41257. "orderprice": {
  41258. "description": "委托价格",
  41259. "type": "number"
  41260. },
  41261. "ordertime": {
  41262. "description": "委托时间",
  41263. "type": "string"
  41264. },
  41265. "tradedate": {
  41266. "description": "交易日(yyyyMMdd)",
  41267. "type": "string"
  41268. }
  41269. }
  41270. },
  41271. "user.LoginQueryRsp": {
  41272. "type": "object",
  41273. "properties": {
  41274. "areaRoles": {
  41275. "description": "所属角色信息",
  41276. "type": "array",
  41277. "items": {
  41278. "$ref": "#/definitions/models.Arearole"
  41279. }
  41280. },
  41281. "externalExchanges": {
  41282. "description": "外部交易所",
  41283. "type": "array",
  41284. "items": {
  41285. "$ref": "#/definitions/models.Externalexchange"
  41286. }
  41287. },
  41288. "goodsgroups": {
  41289. "description": "商品组",
  41290. "type": "array",
  41291. "items": {
  41292. "$ref": "#/definitions/models.Goodsgroup"
  41293. }
  41294. },
  41295. "loginAccount": {
  41296. "description": "登录账号",
  41297. "$ref": "#/definitions/models.Loginaccount"
  41298. },
  41299. "markets": {
  41300. "description": "市场",
  41301. "type": "array",
  41302. "items": {
  41303. "$ref": "#/definitions/models.Market"
  41304. }
  41305. },
  41306. "systemParams": {
  41307. "description": "系统参数",
  41308. "type": "array",
  41309. "items": {
  41310. "$ref": "#/definitions/models.Systemparam"
  41311. }
  41312. },
  41313. "userAccount": {
  41314. "description": "用户账号",
  41315. "$ref": "#/definitions/models.Useraccount"
  41316. },
  41317. "userInfo": {
  41318. "description": "用户信息",
  41319. "$ref": "#/definitions/models.Userinfo"
  41320. },
  41321. "username": {
  41322. "description": "用户姓名",
  41323. "type": "string"
  41324. }
  41325. }
  41326. }
  41327. },
  41328. "securityDefinitions": {
  41329. "ApiKeyAuth": {
  41330. "type": "apiKey",
  41331. "name": "Authorization",
  41332. "in": "header"
  41333. }
  41334. }
  41335. }`
  41336. type swaggerInfo struct {
  41337. Version string
  41338. Host string
  41339. BasePath string
  41340. Schemes []string
  41341. Title string
  41342. Description string
  41343. }
  41344. // SwaggerInfo holds exported Swagger Info so clients can modify it
  41345. var SwaggerInfo = swaggerInfo{
  41346. Version: "1.0",
  41347. Host: "",
  41348. BasePath: "/api",
  41349. Schemes: []string{},
  41350. Title: "MTP2.0 查询服务 API",
  41351. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  41352. }
  41353. type s struct{}
  41354. func (s *s) ReadDoc() string {
  41355. sInfo := SwaggerInfo
  41356. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  41357. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  41358. "marshal": func(v interface{}) string {
  41359. a, _ := json.Marshal(v)
  41360. return string(a)
  41361. },
  41362. "escape": func(v interface{}) string {
  41363. // escape tabs
  41364. str := strings.Replace(v.(string), "\t", "\\t", -1)
  41365. // replace " with \", and if that results in \\", replace that with \\\"
  41366. str = strings.Replace(str, "\"", "\\\"", -1)
  41367. return strings.Replace(str, "\\\\\"", "\\\\\\\"", -1)
  41368. },
  41369. }).Parse(doc)
  41370. if err != nil {
  41371. return doc
  41372. }
  41373. var tpl bytes.Buffer
  41374. if err := t.Execute(&tpl, sInfo); err != nil {
  41375. return doc
  41376. }
  41377. return tpl.String()
  41378. }
  41379. func init() {
  41380. swag.Register("swagger", &s{})
  41381. }