docs.go 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550
  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/QueryExposureDetail": {
  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": "integer",
  4230. "description": "用户id",
  4231. "name": "userid",
  4232. "in": "query",
  4233. "required": true
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "用户类型 2-机构 7-企业成员",
  4238. "name": "usertype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "套保商品",
  4244. "name": "middlegoodsid",
  4245. "in": "query",
  4246. "required": true
  4247. }
  4248. ],
  4249. "responses": {
  4250. "200": {
  4251. "description": "OK",
  4252. "schema": {
  4253. "type": "array",
  4254. "items": {
  4255. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4256. }
  4257. }
  4258. },
  4259. "500": {
  4260. "description": "Internal Server Error",
  4261. "schema": {
  4262. "$ref": "#/definitions/app.Response"
  4263. }
  4264. }
  4265. }
  4266. }
  4267. },
  4268. "/Ermcp3/QueryExposureSpot": {
  4269. "get": {
  4270. "security": [
  4271. {
  4272. "ApiKeyAuth": []
  4273. }
  4274. ],
  4275. "produces": [
  4276. "application/json"
  4277. ],
  4278. "tags": [
  4279. "企业风险管理v3(app)"
  4280. ],
  4281. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4282. "parameters": [
  4283. {
  4284. "type": "integer",
  4285. "description": "用户id",
  4286. "name": "userid",
  4287. "in": "query",
  4288. "required": true
  4289. },
  4290. {
  4291. "type": "integer",
  4292. "description": "用户类型 2-机构 7-企业成员",
  4293. "name": "usertype",
  4294. "in": "query"
  4295. }
  4296. ],
  4297. "responses": {
  4298. "200": {
  4299. "description": "OK",
  4300. "schema": {
  4301. "type": "array",
  4302. "items": {
  4303. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4304. }
  4305. }
  4306. },
  4307. "500": {
  4308. "description": "Internal Server Error",
  4309. "schema": {
  4310. "$ref": "#/definitions/app.Response"
  4311. }
  4312. }
  4313. }
  4314. }
  4315. },
  4316. "/Ermcp3/QueryExposureSpotDetail": {
  4317. "get": {
  4318. "security": [
  4319. {
  4320. "ApiKeyAuth": []
  4321. }
  4322. ],
  4323. "produces": [
  4324. "application/json"
  4325. ],
  4326. "tags": [
  4327. "企业风险管理v3(app)"
  4328. ],
  4329. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4330. "parameters": [
  4331. {
  4332. "type": "integer",
  4333. "description": "用户id",
  4334. "name": "userid",
  4335. "in": "query",
  4336. "required": true
  4337. },
  4338. {
  4339. "type": "integer",
  4340. "description": "用户类型 2-机构 7-企业成员",
  4341. "name": "usertype",
  4342. "in": "query"
  4343. },
  4344. {
  4345. "type": "integer",
  4346. "description": "现货商品ID",
  4347. "name": "wrstandardid",
  4348. "in": "query",
  4349. "required": true
  4350. }
  4351. ],
  4352. "responses": {
  4353. "200": {
  4354. "description": "OK",
  4355. "schema": {
  4356. "type": "array",
  4357. "items": {
  4358. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4359. }
  4360. }
  4361. },
  4362. "500": {
  4363. "description": "Internal Server Error",
  4364. "schema": {
  4365. "$ref": "#/definitions/app.Response"
  4366. }
  4367. }
  4368. }
  4369. }
  4370. },
  4371. "/Ermcp3/QueryGoodsGroup": {
  4372. "get": {
  4373. "security": [
  4374. {
  4375. "ApiKeyAuth": []
  4376. }
  4377. ],
  4378. "produces": [
  4379. "application/json"
  4380. ],
  4381. "tags": [
  4382. "企业风险管理v3(app)"
  4383. ],
  4384. "summary": "查询期货商品组",
  4385. "parameters": [
  4386. {
  4387. "type": "integer",
  4388. "description": "用户id",
  4389. "name": "userid",
  4390. "in": "query",
  4391. "required": true
  4392. },
  4393. {
  4394. "type": "integer",
  4395. "description": "用户类型 2-机构 7-企业成员",
  4396. "name": "usertype",
  4397. "in": "query"
  4398. },
  4399. {
  4400. "type": "integer",
  4401. "description": "排除套保品中已关联的商品组 1-排除",
  4402. "name": "excludecfg",
  4403. "in": "query"
  4404. }
  4405. ],
  4406. "responses": {
  4407. "200": {
  4408. "description": "OK",
  4409. "schema": {
  4410. "type": "array",
  4411. "items": {
  4412. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4413. }
  4414. }
  4415. },
  4416. "500": {
  4417. "description": "Internal Server Error",
  4418. "schema": {
  4419. "$ref": "#/definitions/app.Response"
  4420. }
  4421. }
  4422. }
  4423. }
  4424. },
  4425. "/Ermcp3/QueryGoodsWrstandard": {
  4426. "get": {
  4427. "security": [
  4428. {
  4429. "ApiKeyAuth": []
  4430. }
  4431. ],
  4432. "produces": [
  4433. "application/json"
  4434. ],
  4435. "tags": [
  4436. "企业风险管理v3(app)"
  4437. ],
  4438. "summary": "查询商品品类",
  4439. "parameters": [
  4440. {
  4441. "type": "integer",
  4442. "description": "用户id",
  4443. "name": "userid",
  4444. "in": "query",
  4445. "required": true
  4446. },
  4447. {
  4448. "type": "integer",
  4449. "description": "用户类型 2-机构 7-企业成员",
  4450. "name": "usertype",
  4451. "in": "query"
  4452. },
  4453. {
  4454. "type": "integer",
  4455. "description": "现货商品id",
  4456. "name": "deliverygoodsid",
  4457. "in": "query"
  4458. }
  4459. ],
  4460. "responses": {
  4461. "200": {
  4462. "description": "OK",
  4463. "schema": {
  4464. "type": "array",
  4465. "items": {
  4466. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4467. }
  4468. }
  4469. },
  4470. "500": {
  4471. "description": "Internal Server Error",
  4472. "schema": {
  4473. "$ref": "#/definitions/app.Response"
  4474. }
  4475. }
  4476. }
  4477. }
  4478. },
  4479. "/Ermcp3/QueryGoodsbrand": {
  4480. "get": {
  4481. "security": [
  4482. {
  4483. "ApiKeyAuth": []
  4484. }
  4485. ],
  4486. "produces": [
  4487. "application/json"
  4488. ],
  4489. "tags": [
  4490. "企业风险管理v3(app)"
  4491. ],
  4492. "summary": "查询商品品牌",
  4493. "parameters": [
  4494. {
  4495. "type": "integer",
  4496. "description": "用户id",
  4497. "name": "userid",
  4498. "in": "query",
  4499. "required": true
  4500. },
  4501. {
  4502. "type": "integer",
  4503. "description": "用户类型 2-机构 7-企业成员",
  4504. "name": "usertype",
  4505. "in": "query"
  4506. }
  4507. ],
  4508. "responses": {
  4509. "200": {
  4510. "description": "OK",
  4511. "schema": {
  4512. "type": "array",
  4513. "items": {
  4514. "$ref": "#/definitions/models.Ermcp3Brand"
  4515. }
  4516. }
  4517. },
  4518. "500": {
  4519. "description": "Internal Server Error",
  4520. "schema": {
  4521. "$ref": "#/definitions/app.Response"
  4522. }
  4523. }
  4524. }
  4525. }
  4526. },
  4527. "/Ermcp3/QueryHedgePlan": {
  4528. "get": {
  4529. "security": [
  4530. {
  4531. "ApiKeyAuth": []
  4532. }
  4533. ],
  4534. "produces": [
  4535. "application/json"
  4536. ],
  4537. "tags": [
  4538. "企业风险管理v3(app)"
  4539. ],
  4540. "summary": "查询套保计划",
  4541. "parameters": [
  4542. {
  4543. "type": "integer",
  4544. "description": "用户ID",
  4545. "name": "userid",
  4546. "in": "query",
  4547. "required": true
  4548. },
  4549. {
  4550. "type": "integer",
  4551. "description": "用户类型 2-机构 7-企业成员",
  4552. "name": "usertype",
  4553. "in": "query"
  4554. },
  4555. {
  4556. "type": "string",
  4557. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4558. "name": "hedgeplanstatus",
  4559. "in": "query",
  4560. "required": true
  4561. }
  4562. ],
  4563. "responses": {
  4564. "200": {
  4565. "description": "OK",
  4566. "schema": {
  4567. "type": "array",
  4568. "items": {
  4569. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4570. }
  4571. }
  4572. },
  4573. "500": {
  4574. "description": "Internal Server Error",
  4575. "schema": {
  4576. "$ref": "#/definitions/app.Response"
  4577. }
  4578. }
  4579. }
  4580. }
  4581. },
  4582. "/Ermcp3/QueryInnerTradeLink": {
  4583. "get": {
  4584. "security": [
  4585. {
  4586. "ApiKeyAuth": []
  4587. }
  4588. ],
  4589. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4590. "produces": [
  4591. "application/json"
  4592. ],
  4593. "tags": [
  4594. "企业风险管理v3(app)"
  4595. ],
  4596. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4597. "parameters": [
  4598. {
  4599. "type": "integer",
  4600. "description": "外部成交单号",
  4601. "name": "outtradeid",
  4602. "in": "query",
  4603. "required": true
  4604. }
  4605. ],
  4606. "responses": {
  4607. "200": {
  4608. "description": "OK",
  4609. "schema": {
  4610. "type": "array",
  4611. "items": {
  4612. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4613. }
  4614. }
  4615. },
  4616. "500": {
  4617. "description": "Internal Server Error",
  4618. "schema": {
  4619. "$ref": "#/definitions/app.Response"
  4620. }
  4621. }
  4622. }
  4623. }
  4624. },
  4625. "/Ermcp3/QueryMiddleGoodsDetail": {
  4626. "get": {
  4627. "security": [
  4628. {
  4629. "ApiKeyAuth": []
  4630. }
  4631. ],
  4632. "produces": [
  4633. "application/json"
  4634. ],
  4635. "tags": [
  4636. "企业风险管理v3(app)"
  4637. ],
  4638. "summary": "查询套保品种详情(套保品种/商品详情)",
  4639. "parameters": [
  4640. {
  4641. "type": "integer",
  4642. "description": "用户id",
  4643. "name": "userid",
  4644. "in": "query",
  4645. "required": true
  4646. },
  4647. {
  4648. "type": "integer",
  4649. "description": "用户类型 2-机构 7-企业成员",
  4650. "name": "usertype",
  4651. "in": "query"
  4652. },
  4653. {
  4654. "type": "integer",
  4655. "description": "套保品种id",
  4656. "name": "middlegoodsid",
  4657. "in": "query"
  4658. }
  4659. ],
  4660. "responses": {
  4661. "200": {
  4662. "description": "OK",
  4663. "schema": {
  4664. "type": "array",
  4665. "items": {
  4666. "$ref": "#/definitions/models.TBMiddleGoods"
  4667. }
  4668. }
  4669. },
  4670. "500": {
  4671. "description": "Internal Server Error",
  4672. "schema": {
  4673. "$ref": "#/definitions/app.Response"
  4674. }
  4675. }
  4676. }
  4677. }
  4678. },
  4679. "/Ermcp3/QueryOutTradeLink": {
  4680. "get": {
  4681. "security": [
  4682. {
  4683. "ApiKeyAuth": []
  4684. }
  4685. ],
  4686. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4687. "produces": [
  4688. "application/json"
  4689. ],
  4690. "tags": [
  4691. "企业风险管理v3(app)"
  4692. ],
  4693. "summary": "查询外部成交单关联",
  4694. "parameters": [
  4695. {
  4696. "type": "integer",
  4697. "description": "用户ID(填登录用户的userid)",
  4698. "name": "userid",
  4699. "in": "query",
  4700. "required": true
  4701. },
  4702. {
  4703. "type": "string",
  4704. "description": "外部订单号(模糊匹配)",
  4705. "name": "outtradeid",
  4706. "in": "query"
  4707. },
  4708. {
  4709. "type": "string",
  4710. "description": "合约名称/代码(模糊匹配)",
  4711. "name": "goodsname",
  4712. "in": "query"
  4713. },
  4714. {
  4715. "type": "integer",
  4716. "description": "关联状态 0-未关联 1-已关联",
  4717. "name": "hasinnerorder",
  4718. "in": "query"
  4719. }
  4720. ],
  4721. "responses": {
  4722. "200": {
  4723. "description": "OK",
  4724. "schema": {
  4725. "type": "array",
  4726. "items": {
  4727. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4728. }
  4729. }
  4730. },
  4731. "500": {
  4732. "description": "Internal Server Error",
  4733. "schema": {
  4734. "$ref": "#/definitions/app.Response"
  4735. }
  4736. }
  4737. }
  4738. }
  4739. },
  4740. "/Ermcp3/QueryPaAreaAuditCfg": {
  4741. "get": {
  4742. "security": [
  4743. {
  4744. "ApiKeyAuth": []
  4745. }
  4746. ],
  4747. "produces": [
  4748. "application/json"
  4749. ],
  4750. "tags": [
  4751. "企业风险管理v3(app)"
  4752. ],
  4753. "summary": "查询审核设置",
  4754. "parameters": [
  4755. {
  4756. "type": "integer",
  4757. "description": "用户id",
  4758. "name": "userid",
  4759. "in": "query",
  4760. "required": true
  4761. }
  4762. ],
  4763. "responses": {
  4764. "200": {
  4765. "description": "OK",
  4766. "schema": {
  4767. "type": "array",
  4768. "items": {
  4769. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4770. }
  4771. }
  4772. },
  4773. "500": {
  4774. "description": "Internal Server Error",
  4775. "schema": {
  4776. "$ref": "#/definitions/app.Response"
  4777. }
  4778. }
  4779. }
  4780. }
  4781. },
  4782. "/Ermcp3/QueryPaAreaSubject": {
  4783. "get": {
  4784. "security": [
  4785. {
  4786. "ApiKeyAuth": []
  4787. }
  4788. ],
  4789. "produces": [
  4790. "application/json"
  4791. ],
  4792. "tags": [
  4793. "企业风险管理v3(app)"
  4794. ],
  4795. "summary": "查询交易主体",
  4796. "parameters": [
  4797. {
  4798. "type": "integer",
  4799. "description": "用户id",
  4800. "name": "userid",
  4801. "in": "query",
  4802. "required": true
  4803. },
  4804. {
  4805. "type": "integer",
  4806. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4807. "name": "subjectid",
  4808. "in": "query"
  4809. },
  4810. {
  4811. "type": "integer",
  4812. "description": "主体类型 - 1:交易主体 2:业务部门",
  4813. "name": "subjecttype",
  4814. "in": "query"
  4815. },
  4816. {
  4817. "type": "integer",
  4818. "description": "主体状态 - 1:正常 2: 停用",
  4819. "name": "subjectstatus",
  4820. "in": "query"
  4821. }
  4822. ],
  4823. "responses": {
  4824. "200": {
  4825. "description": "OK",
  4826. "schema": {
  4827. "type": "array",
  4828. "items": {
  4829. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4830. }
  4831. }
  4832. },
  4833. "500": {
  4834. "description": "Internal Server Error",
  4835. "schema": {
  4836. "$ref": "#/definitions/app.Response"
  4837. }
  4838. }
  4839. }
  4840. }
  4841. },
  4842. "/Ermcp3/QueryPaTradeLink": {
  4843. "get": {
  4844. "security": [
  4845. {
  4846. "ApiKeyAuth": []
  4847. }
  4848. ],
  4849. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4850. "produces": [
  4851. "application/json"
  4852. ],
  4853. "tags": [
  4854. "企业风险管理v3(app)"
  4855. ],
  4856. "summary": "查询期现单据关联",
  4857. "parameters": [
  4858. {
  4859. "type": "integer",
  4860. "description": "用户ID",
  4861. "name": "userid",
  4862. "in": "query",
  4863. "required": true
  4864. }
  4865. ],
  4866. "responses": {
  4867. "200": {
  4868. "description": "OK",
  4869. "schema": {
  4870. "type": "array",
  4871. "items": {
  4872. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4873. }
  4874. }
  4875. },
  4876. "500": {
  4877. "description": "Internal Server Error",
  4878. "schema": {
  4879. "$ref": "#/definitions/app.Response"
  4880. }
  4881. }
  4882. }
  4883. }
  4884. },
  4885. "/Ermcp3/QueryPaTradeLinkDetail": {
  4886. "get": {
  4887. "security": [
  4888. {
  4889. "ApiKeyAuth": []
  4890. }
  4891. ],
  4892. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4893. "produces": [
  4894. "application/json"
  4895. ],
  4896. "tags": [
  4897. "企业风险管理v3(app)"
  4898. ],
  4899. "summary": "查询期现关联记录",
  4900. "parameters": [
  4901. {
  4902. "type": "integer",
  4903. "description": "用户ID(填登录用户的userid)",
  4904. "name": "userid",
  4905. "in": "query",
  4906. "required": true
  4907. },
  4908. {
  4909. "type": "integer",
  4910. "description": "关联状态 1:成功 2:失败 3:解绑",
  4911. "name": "linkstatus",
  4912. "in": "query"
  4913. },
  4914. {
  4915. "type": "string",
  4916. "description": "期货订单号(模糊匹配)",
  4917. "name": "tradeid",
  4918. "in": "query"
  4919. },
  4920. {
  4921. "type": "string",
  4922. "description": "现货编号(模糊匹配)",
  4923. "name": "contractno",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "string",
  4928. "description": "期货账户(模糊匹配)",
  4929. "name": "taname",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "type": "array",
  4938. "items": {
  4939. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4940. }
  4941. }
  4942. },
  4943. "500": {
  4944. "description": "Internal Server Error",
  4945. "schema": {
  4946. "$ref": "#/definitions/app.Response"
  4947. }
  4948. }
  4949. }
  4950. }
  4951. },
  4952. "/Ermcp3/QueryParamChangeApp": {
  4953. "get": {
  4954. "security": [
  4955. {
  4956. "ApiKeyAuth": []
  4957. }
  4958. ],
  4959. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\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. "type": "integer",
  4977. "description": "现货品种id",
  4978. "name": "deliverygoodsid",
  4979. "in": "query"
  4980. },
  4981. {
  4982. "type": "integer",
  4983. "description": "现货商品id",
  4984. "name": "wrstandardid",
  4985. "in": "query"
  4986. },
  4987. {
  4988. "type": "integer",
  4989. "description": "套保商品id",
  4990. "name": "middlegoodsid",
  4991. "in": "query"
  4992. },
  4993. {
  4994. "type": "integer",
  4995. "description": "操作类型 1:新增 2:修改",
  4996. "name": "operatetype",
  4997. "in": "query"
  4998. },
  4999. {
  5000. "type": "integer",
  5001. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5002. "name": "paramchangetype",
  5003. "in": "query"
  5004. },
  5005. {
  5006. "type": "string",
  5007. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5008. "name": "ftstatus",
  5009. "in": "query"
  5010. }
  5011. ],
  5012. "responses": {
  5013. "200": {
  5014. "description": "OK",
  5015. "schema": {
  5016. "type": "array",
  5017. "items": {
  5018. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5019. }
  5020. }
  5021. },
  5022. "500": {
  5023. "description": "Internal Server Error",
  5024. "schema": {
  5025. "$ref": "#/definitions/app.Response"
  5026. }
  5027. }
  5028. }
  5029. }
  5030. },
  5031. "/Ermcp3/QueryRootUserAccount": {
  5032. "get": {
  5033. "security": [
  5034. {
  5035. "ApiKeyAuth": []
  5036. }
  5037. ],
  5038. "produces": [
  5039. "application/json"
  5040. ],
  5041. "tags": [
  5042. "企业风险管理v3(app)"
  5043. ],
  5044. "summary": "查询顶级用户信息",
  5045. "parameters": [
  5046. {
  5047. "type": "integer",
  5048. "description": "用户ID",
  5049. "name": "userid",
  5050. "in": "query",
  5051. "required": true
  5052. }
  5053. ],
  5054. "responses": {
  5055. "200": {
  5056. "description": "OK",
  5057. "schema": {
  5058. "type": "array",
  5059. "items": {
  5060. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5061. }
  5062. }
  5063. },
  5064. "500": {
  5065. "description": "Internal Server Error",
  5066. "schema": {
  5067. "$ref": "#/definitions/app.Response"
  5068. }
  5069. }
  5070. }
  5071. }
  5072. },
  5073. "/Ermcp3/QuerySCMiddleGoods": {
  5074. "get": {
  5075. "security": [
  5076. {
  5077. "ApiKeyAuth": []
  5078. }
  5079. ],
  5080. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5081. "produces": [
  5082. "application/json"
  5083. ],
  5084. "tags": [
  5085. "企业风险管理v3(app)"
  5086. ],
  5087. "summary": "查询现货订单",
  5088. "parameters": [
  5089. {
  5090. "type": "integer",
  5091. "description": "用户ID(填登录用户的userid)",
  5092. "name": "userid",
  5093. "in": "query",
  5094. "required": true
  5095. },
  5096. {
  5097. "type": "integer",
  5098. "description": "买卖方向 0-买 1-卖",
  5099. "name": "buyorsell",
  5100. "in": "query",
  5101. "required": true
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "商品组id",
  5106. "name": "goodsgroupid",
  5107. "in": "query",
  5108. "required": true
  5109. },
  5110. {
  5111. "type": "integer",
  5112. "description": "业务类型 1:套保 2:套利",
  5113. "name": "biztype",
  5114. "in": "query"
  5115. },
  5116. {
  5117. "type": "string",
  5118. "description": "现货编号(模糊匹配)",
  5119. "name": "contractno",
  5120. "in": "query"
  5121. },
  5122. {
  5123. "type": "string",
  5124. "description": "对手方(模糊匹配)",
  5125. "name": "customername",
  5126. "in": "query"
  5127. },
  5128. {
  5129. "type": "string",
  5130. "description": "现货商品名称(模糊匹配)",
  5131. "name": "wrstandardname",
  5132. "in": "query"
  5133. }
  5134. ],
  5135. "responses": {
  5136. "200": {
  5137. "description": "OK",
  5138. "schema": {
  5139. "type": "array",
  5140. "items": {
  5141. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5142. }
  5143. }
  5144. },
  5145. "500": {
  5146. "description": "Internal Server Error",
  5147. "schema": {
  5148. "$ref": "#/definitions/app.Response"
  5149. }
  5150. }
  5151. }
  5152. }
  5153. },
  5154. "/Ermcp3/QuerySpotContract": {
  5155. "get": {
  5156. "security": [
  5157. {
  5158. "ApiKeyAuth": []
  5159. }
  5160. ],
  5161. "produces": [
  5162. "application/json"
  5163. ],
  5164. "tags": [
  5165. "企业风险管理v3(app)"
  5166. ],
  5167. "summary": "查询现货合同",
  5168. "parameters": [
  5169. {
  5170. "type": "integer",
  5171. "description": "用户id(当指定contractid, userid可不填)",
  5172. "name": "userid",
  5173. "in": "query",
  5174. "required": true
  5175. },
  5176. {
  5177. "type": "integer",
  5178. "description": "用户类型 2-机构 7-企业成员",
  5179. "name": "usertype",
  5180. "in": "query"
  5181. },
  5182. {
  5183. "type": "integer",
  5184. "description": "合同类型 1-采购, -1-销售",
  5185. "name": "contracttype",
  5186. "in": "query"
  5187. },
  5188. {
  5189. "type": "string",
  5190. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5191. "name": "querytype",
  5192. "in": "query"
  5193. },
  5194. {
  5195. "type": "string",
  5196. "description": "合同ID(SpotContractId)",
  5197. "name": "contractid",
  5198. "in": "query"
  5199. },
  5200. {
  5201. "type": "string",
  5202. "description": "合同编号(模糊匹配)",
  5203. "name": "contractno",
  5204. "in": "query"
  5205. },
  5206. {
  5207. "type": "string",
  5208. "description": "商品名称(模糊匹配)",
  5209. "name": "wrstandardname",
  5210. "in": "query"
  5211. },
  5212. {
  5213. "type": "string",
  5214. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5215. "name": "status",
  5216. "in": "query"
  5217. },
  5218. {
  5219. "type": "integer",
  5220. "description": "是否只查今日的合同 1-查今日合同",
  5221. "name": "istoday",
  5222. "in": "query"
  5223. }
  5224. ],
  5225. "responses": {
  5226. "200": {
  5227. "description": "OK",
  5228. "schema": {
  5229. "type": "array",
  5230. "items": {
  5231. "$ref": "#/definitions/models.Ermcp3Contract"
  5232. }
  5233. }
  5234. },
  5235. "500": {
  5236. "description": "Internal Server Error",
  5237. "schema": {
  5238. "$ref": "#/definitions/app.Response"
  5239. }
  5240. }
  5241. }
  5242. }
  5243. },
  5244. "/Ermcp3/QuerySpotContractBS": {
  5245. "get": {
  5246. "security": [
  5247. {
  5248. "ApiKeyAuth": []
  5249. }
  5250. ],
  5251. "produces": [
  5252. "application/json"
  5253. ],
  5254. "tags": [
  5255. "企业风险管理v3(app)"
  5256. ],
  5257. "summary": "查询合同(采购/销售)",
  5258. "parameters": [
  5259. {
  5260. "type": "integer",
  5261. "description": "用户id",
  5262. "name": "userid",
  5263. "in": "query",
  5264. "required": true
  5265. },
  5266. {
  5267. "type": "integer",
  5268. "description": "用户类型 2-机构 7-企业成员",
  5269. "name": "usertype",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "integer",
  5274. "description": "合同类型 1-采购, -1-销售",
  5275. "name": "contracttype",
  5276. "in": "query",
  5277. "required": true
  5278. },
  5279. {
  5280. "type": "integer",
  5281. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5282. "name": "querytype",
  5283. "in": "query"
  5284. },
  5285. {
  5286. "type": "string",
  5287. "description": "合同ID(SpotContractId)",
  5288. "name": "contractid",
  5289. "in": "query"
  5290. },
  5291. {
  5292. "type": "string",
  5293. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5294. "name": "status",
  5295. "in": "query"
  5296. },
  5297. {
  5298. "type": "integer",
  5299. "description": "是否只查今日的合同 1-查今日合同",
  5300. "name": "istoday",
  5301. "in": "query"
  5302. }
  5303. ],
  5304. "responses": {
  5305. "200": {
  5306. "description": "OK",
  5307. "schema": {
  5308. "type": "array",
  5309. "items": {
  5310. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5311. }
  5312. }
  5313. },
  5314. "500": {
  5315. "description": "Internal Server Error",
  5316. "schema": {
  5317. "$ref": "#/definitions/app.Response"
  5318. }
  5319. }
  5320. }
  5321. }
  5322. },
  5323. "/Ermcp3/QuerySpotGoodsPrice": {
  5324. "get": {
  5325. "security": [
  5326. {
  5327. "ApiKeyAuth": []
  5328. }
  5329. ],
  5330. "produces": [
  5331. "application/json"
  5332. ],
  5333. "tags": [
  5334. "企业风险管理v3(app)"
  5335. ],
  5336. "summary": "查询现货市价(现货市价)",
  5337. "parameters": [
  5338. {
  5339. "type": "integer",
  5340. "description": "用户ID",
  5341. "name": "userid",
  5342. "in": "query",
  5343. "required": true
  5344. }
  5345. ],
  5346. "responses": {
  5347. "200": {
  5348. "description": "OK",
  5349. "schema": {
  5350. "type": "array",
  5351. "items": {
  5352. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5353. }
  5354. }
  5355. },
  5356. "500": {
  5357. "description": "Internal Server Error",
  5358. "schema": {
  5359. "$ref": "#/definitions/app.Response"
  5360. }
  5361. }
  5362. }
  5363. }
  5364. },
  5365. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5366. "get": {
  5367. "security": [
  5368. {
  5369. "ApiKeyAuth": []
  5370. }
  5371. ],
  5372. "produces": [
  5373. "application/json"
  5374. ],
  5375. "tags": [
  5376. "企业风险管理v3(app)"
  5377. ],
  5378. "summary": "查询现货市价详情(现货市价/详情)",
  5379. "parameters": [
  5380. {
  5381. "type": "integer",
  5382. "description": "用户ID",
  5383. "name": "userid",
  5384. "in": "query",
  5385. "required": true
  5386. },
  5387. {
  5388. "type": "integer",
  5389. "description": "现货商品ID",
  5390. "name": "deliverygoodsid",
  5391. "in": "query",
  5392. "required": true
  5393. },
  5394. {
  5395. "type": "integer",
  5396. "description": "品牌ID",
  5397. "name": "brandid",
  5398. "in": "query"
  5399. },
  5400. {
  5401. "type": "integer",
  5402. "description": "品类ID",
  5403. "name": "wrstandardid",
  5404. "in": "query"
  5405. }
  5406. ],
  5407. "responses": {
  5408. "200": {
  5409. "description": "OK",
  5410. "schema": {
  5411. "type": "array",
  5412. "items": {
  5413. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5414. }
  5415. }
  5416. },
  5417. "500": {
  5418. "description": "Internal Server Error",
  5419. "schema": {
  5420. "$ref": "#/definitions/app.Response"
  5421. }
  5422. }
  5423. }
  5424. }
  5425. },
  5426. "/Ermcp3/QuerySubTaaccount": {
  5427. "get": {
  5428. "security": [
  5429. {
  5430. "ApiKeyAuth": []
  5431. }
  5432. ],
  5433. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5434. "produces": [
  5435. "application/json"
  5436. ],
  5437. "tags": [
  5438. "企业风险管理v3(app)"
  5439. ],
  5440. "summary": "查询期货子账户",
  5441. "parameters": [
  5442. {
  5443. "type": "integer",
  5444. "description": "母账号id",
  5445. "name": "parentaccountid",
  5446. "in": "query"
  5447. },
  5448. {
  5449. "type": "string",
  5450. "description": "母账号代码",
  5451. "name": "parentaccountcode",
  5452. "in": "query"
  5453. }
  5454. ],
  5455. "responses": {
  5456. "200": {
  5457. "description": "OK",
  5458. "schema": {
  5459. "type": "array",
  5460. "items": {
  5461. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5462. }
  5463. }
  5464. },
  5465. "500": {
  5466. "description": "Internal Server Error",
  5467. "schema": {
  5468. "$ref": "#/definitions/app.Response"
  5469. }
  5470. }
  5471. }
  5472. }
  5473. },
  5474. "/Erms2/QueryArbitrageStrategy": {
  5475. "get": {
  5476. "security": [
  5477. {
  5478. "ApiKeyAuth": []
  5479. }
  5480. ],
  5481. "produces": [
  5482. "application/json"
  5483. ],
  5484. "tags": [
  5485. "风险管理"
  5486. ],
  5487. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5488. "parameters": [
  5489. {
  5490. "type": "integer",
  5491. "description": "账户ID",
  5492. "name": "userid",
  5493. "in": "query",
  5494. "required": true
  5495. },
  5496. {
  5497. "type": "string",
  5498. "description": "商品组ID(品种ID)",
  5499. "name": "goodsgroupid",
  5500. "in": "query"
  5501. }
  5502. ],
  5503. "responses": {
  5504. "200": {
  5505. "description": "OK",
  5506. "schema": {
  5507. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5508. }
  5509. },
  5510. "500": {
  5511. "description": "Internal Server Error",
  5512. "schema": {
  5513. "$ref": "#/definitions/app.Response"
  5514. }
  5515. }
  5516. }
  5517. }
  5518. },
  5519. "/Erms2/QueryInnerTradeDetail": {
  5520. "get": {
  5521. "security": [
  5522. {
  5523. "ApiKeyAuth": []
  5524. }
  5525. ],
  5526. "produces": [
  5527. "application/json"
  5528. ],
  5529. "tags": [
  5530. "风险管理"
  5531. ],
  5532. "summary": "查询内部成交单信息",
  5533. "parameters": [
  5534. {
  5535. "type": "integer",
  5536. "description": "资金账户",
  5537. "name": "accountid",
  5538. "in": "query",
  5539. "required": true
  5540. }
  5541. ],
  5542. "responses": {
  5543. "200": {
  5544. "description": "OK",
  5545. "schema": {
  5546. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5547. }
  5548. },
  5549. "500": {
  5550. "description": "Internal Server Error",
  5551. "schema": {
  5552. "$ref": "#/definitions/app.Response"
  5553. }
  5554. }
  5555. }
  5556. }
  5557. },
  5558. "/Erms2/QuerySpotContract": {
  5559. "get": {
  5560. "security": [
  5561. {
  5562. "ApiKeyAuth": []
  5563. }
  5564. ],
  5565. "produces": [
  5566. "application/json"
  5567. ],
  5568. "tags": [
  5569. "风险管理"
  5570. ],
  5571. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5572. "parameters": [
  5573. {
  5574. "type": "integer",
  5575. "description": "策略申请ID",
  5576. "name": "asapplyid",
  5577. "in": "query",
  5578. "required": true
  5579. },
  5580. {
  5581. "type": "integer",
  5582. "description": "现货合同ID",
  5583. "name": "spotcontractid",
  5584. "in": "query"
  5585. }
  5586. ],
  5587. "responses": {
  5588. "200": {
  5589. "description": "OK",
  5590. "schema": {
  5591. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5592. }
  5593. },
  5594. "500": {
  5595. "description": "Internal Server Error",
  5596. "schema": {
  5597. "$ref": "#/definitions/app.Response"
  5598. }
  5599. }
  5600. }
  5601. }
  5602. },
  5603. "/Erms3/AddErms2ASApply": {
  5604. "post": {
  5605. "security": [
  5606. {
  5607. "ApiKeyAuth": []
  5608. }
  5609. ],
  5610. "produces": [
  5611. "application/json"
  5612. ],
  5613. "tags": [
  5614. "风险管理v3"
  5615. ],
  5616. "summary": "新增期现套利业务申请",
  5617. "parameters": [
  5618. {
  5619. "description": "申请参数",
  5620. "name": "jsonBody",
  5621. "in": "body",
  5622. "required": true,
  5623. "schema": {
  5624. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5625. }
  5626. }
  5627. ],
  5628. "responses": {
  5629. "200": {
  5630. "description": "OK",
  5631. "schema": {
  5632. "$ref": "#/definitions/app.Response"
  5633. }
  5634. },
  5635. "500": {
  5636. "description": "Internal Server Error",
  5637. "schema": {
  5638. "$ref": "#/definitions/app.Response"
  5639. }
  5640. }
  5641. }
  5642. }
  5643. },
  5644. "/Erms3/AddErms2SpotTradeApply": {
  5645. "post": {
  5646. "security": [
  5647. {
  5648. "ApiKeyAuth": []
  5649. }
  5650. ],
  5651. "produces": [
  5652. "application/json"
  5653. ],
  5654. "tags": [
  5655. "风险管理v3"
  5656. ],
  5657. "summary": "新增现货贸易业务申请",
  5658. "parameters": [
  5659. {
  5660. "description": "申请参数",
  5661. "name": "jsonBody",
  5662. "in": "body",
  5663. "required": true,
  5664. "schema": {
  5665. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5666. }
  5667. }
  5668. ],
  5669. "responses": {
  5670. "200": {
  5671. "description": "OK",
  5672. "schema": {
  5673. "$ref": "#/definitions/app.Response"
  5674. }
  5675. },
  5676. "500": {
  5677. "description": "Internal Server Error",
  5678. "schema": {
  5679. "$ref": "#/definitions/app.Response"
  5680. }
  5681. }
  5682. }
  5683. }
  5684. },
  5685. "/Erms3/AddSpotContractApply": {
  5686. "post": {
  5687. "security": [
  5688. {
  5689. "ApiKeyAuth": []
  5690. }
  5691. ],
  5692. "produces": [
  5693. "application/json"
  5694. ],
  5695. "tags": [
  5696. "风险管理v3"
  5697. ],
  5698. "summary": "新增现货合同申请",
  5699. "parameters": [
  5700. {
  5701. "description": "申请参数",
  5702. "name": "jsonBody",
  5703. "in": "body",
  5704. "required": true,
  5705. "schema": {
  5706. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5707. }
  5708. }
  5709. ],
  5710. "responses": {
  5711. "200": {
  5712. "description": "OK",
  5713. "schema": {
  5714. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5715. }
  5716. },
  5717. "500": {
  5718. "description": "Internal Server Error",
  5719. "schema": {
  5720. "$ref": "#/definitions/app.Response"
  5721. }
  5722. }
  5723. }
  5724. }
  5725. },
  5726. "/Erms3/AddUserInfoApply": {
  5727. "post": {
  5728. "security": [
  5729. {
  5730. "ApiKeyAuth": []
  5731. }
  5732. ],
  5733. "produces": [
  5734. "application/json"
  5735. ],
  5736. "tags": [
  5737. "风险管理v3"
  5738. ],
  5739. "summary": "新增客户申请",
  5740. "parameters": [
  5741. {
  5742. "description": "用户信息",
  5743. "name": "jsonBody",
  5744. "in": "body",
  5745. "required": true,
  5746. "schema": {
  5747. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5748. }
  5749. }
  5750. ],
  5751. "responses": {
  5752. "200": {
  5753. "description": "OK",
  5754. "schema": {
  5755. "$ref": "#/definitions/app.Response"
  5756. }
  5757. },
  5758. "500": {
  5759. "description": "Internal Server Error",
  5760. "schema": {
  5761. "$ref": "#/definitions/app.Response"
  5762. }
  5763. }
  5764. }
  5765. }
  5766. },
  5767. "/Erms3/DeleteUserInfoApply": {
  5768. "get": {
  5769. "security": [
  5770. {
  5771. "ApiKeyAuth": []
  5772. }
  5773. ],
  5774. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5775. "produces": [
  5776. "application/json"
  5777. ],
  5778. "tags": [
  5779. "风险管理v3"
  5780. ],
  5781. "summary": "删除客户申请",
  5782. "parameters": [
  5783. {
  5784. "type": "integer",
  5785. "description": "用户ID",
  5786. "name": "userID",
  5787. "in": "query",
  5788. "required": true
  5789. }
  5790. ],
  5791. "responses": {
  5792. "200": {
  5793. "description": "OK",
  5794. "schema": {
  5795. "$ref": "#/definitions/app.Response"
  5796. }
  5797. },
  5798. "500": {
  5799. "description": "Internal Server Error",
  5800. "schema": {
  5801. "$ref": "#/definitions/app.Response"
  5802. }
  5803. }
  5804. }
  5805. }
  5806. },
  5807. "/Erms3/ModifyUserInfoApply": {
  5808. "post": {
  5809. "security": [
  5810. {
  5811. "ApiKeyAuth": []
  5812. }
  5813. ],
  5814. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5815. "produces": [
  5816. "application/json"
  5817. ],
  5818. "tags": [
  5819. "风险管理v3"
  5820. ],
  5821. "summary": "修改客户申请",
  5822. "parameters": [
  5823. {
  5824. "description": "用户信息",
  5825. "name": "jsonBody",
  5826. "in": "body",
  5827. "required": true,
  5828. "schema": {
  5829. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5830. }
  5831. }
  5832. ],
  5833. "responses": {
  5834. "200": {
  5835. "description": "OK",
  5836. "schema": {
  5837. "$ref": "#/definitions/app.Response"
  5838. }
  5839. },
  5840. "500": {
  5841. "description": "Internal Server Error",
  5842. "schema": {
  5843. "$ref": "#/definitions/app.Response"
  5844. }
  5845. }
  5846. }
  5847. }
  5848. },
  5849. "/Erms3/QueryBusinessInfo": {
  5850. "get": {
  5851. "security": [
  5852. {
  5853. "ApiKeyAuth": []
  5854. }
  5855. ],
  5856. "produces": [
  5857. "application/json"
  5858. ],
  5859. "tags": [
  5860. "风险管理v3"
  5861. ],
  5862. "summary": "查询业务表单数据",
  5863. "parameters": [
  5864. {
  5865. "type": "string",
  5866. "description": "资金账号ID列表,用逗号分隔",
  5867. "name": "accountids",
  5868. "in": "query",
  5869. "required": true
  5870. },
  5871. {
  5872. "type": "integer",
  5873. "description": "状态,0为未结束 1为已结束",
  5874. "name": "status",
  5875. "in": "query",
  5876. "required": true
  5877. }
  5878. ],
  5879. "responses": {
  5880. "200": {
  5881. "description": "OK",
  5882. "schema": {
  5883. "type": "array",
  5884. "items": {
  5885. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5886. }
  5887. }
  5888. },
  5889. "500": {
  5890. "description": "Internal Server Error",
  5891. "schema": {
  5892. "$ref": "#/definitions/app.Response"
  5893. }
  5894. }
  5895. }
  5896. }
  5897. },
  5898. "/Erms3/QueryPendingAuditContract": {
  5899. "get": {
  5900. "security": [
  5901. {
  5902. "ApiKeyAuth": []
  5903. }
  5904. ],
  5905. "produces": [
  5906. "application/json"
  5907. ],
  5908. "tags": [
  5909. "风险管理v3"
  5910. ],
  5911. "summary": "查询待审核合同",
  5912. "parameters": [
  5913. {
  5914. "type": "string",
  5915. "description": "资金账号ID列表,逗号隔开",
  5916. "name": "accountids",
  5917. "in": "query",
  5918. "required": true
  5919. },
  5920. {
  5921. "type": "integer",
  5922. "description": "合同类型 1-采购 -1-销售",
  5923. "name": "contracttype",
  5924. "in": "query",
  5925. "required": true
  5926. },
  5927. {
  5928. "type": "integer",
  5929. "description": "合同模式 1-普通 2-回购",
  5930. "name": "contractmode",
  5931. "in": "query",
  5932. "required": true
  5933. }
  5934. ],
  5935. "responses": {
  5936. "200": {
  5937. "description": "OK",
  5938. "schema": {
  5939. "type": "array",
  5940. "items": {
  5941. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5942. }
  5943. }
  5944. },
  5945. "500": {
  5946. "description": "Internal Server Error",
  5947. "schema": {
  5948. "$ref": "#/definitions/app.Response"
  5949. }
  5950. }
  5951. }
  5952. }
  5953. },
  5954. "/Erms3/QueryPendingBusiness": {
  5955. "get": {
  5956. "security": [
  5957. {
  5958. "ApiKeyAuth": []
  5959. }
  5960. ],
  5961. "produces": [
  5962. "application/json"
  5963. ],
  5964. "tags": [
  5965. "风险管理v3"
  5966. ],
  5967. "summary": "查询待审核基差贸易业务",
  5968. "parameters": [
  5969. {
  5970. "type": "string",
  5971. "description": "资金账号ID列表,逗号隔开",
  5972. "name": "accountids",
  5973. "in": "query",
  5974. "required": true
  5975. }
  5976. ],
  5977. "responses": {
  5978. "200": {
  5979. "description": "OK",
  5980. "schema": {
  5981. "type": "array",
  5982. "items": {
  5983. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5984. }
  5985. }
  5986. },
  5987. "500": {
  5988. "description": "Internal Server Error",
  5989. "schema": {
  5990. "$ref": "#/definitions/app.Response"
  5991. }
  5992. }
  5993. }
  5994. }
  5995. },
  5996. "/Erms3/QuerySpotContractAppleForm": {
  5997. "get": {
  5998. "security": [
  5999. {
  6000. "ApiKeyAuth": []
  6001. }
  6002. ],
  6003. "produces": [
  6004. "application/json"
  6005. ],
  6006. "tags": [
  6007. "风险管理v3"
  6008. ],
  6009. "summary": "查询合同申请表单数据",
  6010. "parameters": [
  6011. {
  6012. "type": "integer",
  6013. "description": "登录账号",
  6014. "name": "loginID",
  6015. "in": "query",
  6016. "required": true
  6017. }
  6018. ],
  6019. "responses": {
  6020. "200": {
  6021. "description": "OK",
  6022. "schema": {
  6023. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6024. }
  6025. },
  6026. "500": {
  6027. "description": "Internal Server Error",
  6028. "schema": {
  6029. "$ref": "#/definitions/app.Response"
  6030. }
  6031. }
  6032. }
  6033. }
  6034. },
  6035. "/Erms3/QuerySpotContractDetail": {
  6036. "get": {
  6037. "security": [
  6038. {
  6039. "ApiKeyAuth": []
  6040. }
  6041. ],
  6042. "produces": [
  6043. "application/json"
  6044. ],
  6045. "tags": [
  6046. "风险管理v3"
  6047. ],
  6048. "summary": "查询合同详细信息",
  6049. "parameters": [
  6050. {
  6051. "type": "string",
  6052. "description": "资金账号ID列表,用逗号分隔",
  6053. "name": "accountids",
  6054. "in": "query",
  6055. "required": true
  6056. },
  6057. {
  6058. "type": "integer",
  6059. "description": "合同类型,1为采购合同 -1为销售合同",
  6060. "name": "contracttype",
  6061. "in": "query",
  6062. "required": true
  6063. },
  6064. {
  6065. "type": "integer",
  6066. "description": "合同模式,1为普通合同 2为回购销售合同",
  6067. "name": "contractmode",
  6068. "in": "query",
  6069. "required": true
  6070. },
  6071. {
  6072. "type": "integer",
  6073. "description": "状态,0为履约中 1为已完成",
  6074. "name": "status",
  6075. "in": "query",
  6076. "required": true
  6077. }
  6078. ],
  6079. "responses": {
  6080. "200": {
  6081. "description": "OK",
  6082. "schema": {
  6083. "type": "array",
  6084. "items": {
  6085. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6086. }
  6087. }
  6088. },
  6089. "500": {
  6090. "description": "Internal Server Error",
  6091. "schema": {
  6092. "$ref": "#/definitions/app.Response"
  6093. }
  6094. }
  6095. }
  6096. }
  6097. },
  6098. "/Erms3/QueryUserInfoApplies": {
  6099. "get": {
  6100. "security": [
  6101. {
  6102. "ApiKeyAuth": []
  6103. }
  6104. ],
  6105. "produces": [
  6106. "application/json"
  6107. ],
  6108. "tags": [
  6109. "风险管理v3"
  6110. ],
  6111. "summary": "客户申请信息查询",
  6112. "parameters": [
  6113. {
  6114. "type": "integer",
  6115. "description": "页码",
  6116. "name": "page",
  6117. "in": "query"
  6118. },
  6119. {
  6120. "type": "integer",
  6121. "description": "每页条数",
  6122. "name": "pagesize",
  6123. "in": "query"
  6124. },
  6125. {
  6126. "type": "string",
  6127. "description": "客户名称,支持模糊查询",
  6128. "name": "userName",
  6129. "in": "query"
  6130. }
  6131. ],
  6132. "responses": {
  6133. "200": {
  6134. "description": "OK",
  6135. "schema": {
  6136. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6137. }
  6138. },
  6139. "500": {
  6140. "description": "Internal Server Error",
  6141. "schema": {
  6142. "$ref": "#/definitions/app.Response"
  6143. }
  6144. }
  6145. }
  6146. }
  6147. },
  6148. "/Erms3/QueryUserInfos": {
  6149. "get": {
  6150. "security": [
  6151. {
  6152. "ApiKeyAuth": []
  6153. }
  6154. ],
  6155. "produces": [
  6156. "application/json"
  6157. ],
  6158. "tags": [
  6159. "风险管理v3"
  6160. ],
  6161. "summary": "客户信息查询",
  6162. "parameters": [
  6163. {
  6164. "type": "integer",
  6165. "description": "页码",
  6166. "name": "page",
  6167. "in": "query"
  6168. },
  6169. {
  6170. "type": "integer",
  6171. "description": "每页条数",
  6172. "name": "pagesize",
  6173. "in": "query"
  6174. },
  6175. {
  6176. "type": "string",
  6177. "description": "客户名称,支持模糊查询",
  6178. "name": "userName",
  6179. "in": "query"
  6180. }
  6181. ],
  6182. "responses": {
  6183. "200": {
  6184. "description": "OK",
  6185. "schema": {
  6186. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6187. }
  6188. },
  6189. "500": {
  6190. "description": "Internal Server Error",
  6191. "schema": {
  6192. "$ref": "#/definitions/app.Response"
  6193. }
  6194. }
  6195. }
  6196. }
  6197. },
  6198. "/HSBY/GetHsbyMyCount": {
  6199. "get": {
  6200. "security": [
  6201. {
  6202. "ApiKeyAuth": []
  6203. }
  6204. ],
  6205. "description": "说明: 不包括已完成的数量。",
  6206. "produces": [
  6207. "application/json"
  6208. ],
  6209. "tags": [
  6210. "定制【海商报业】"
  6211. ],
  6212. "summary": "获取我的订单与包裹数量",
  6213. "parameters": [
  6214. {
  6215. "type": "string",
  6216. "description": "资金账户列表,格式:1,2,3",
  6217. "name": "accountIDs",
  6218. "in": "query",
  6219. "required": true
  6220. }
  6221. ],
  6222. "responses": {
  6223. "200": {
  6224. "description": "OK",
  6225. "schema": {
  6226. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6227. }
  6228. },
  6229. "500": {
  6230. "description": "Internal Server Error",
  6231. "schema": {
  6232. "$ref": "#/definitions/app.Response"
  6233. }
  6234. }
  6235. }
  6236. }
  6237. },
  6238. "/HSBY/QueryClientFixedADConfigs": {
  6239. "get": {
  6240. "security": [
  6241. {
  6242. "ApiKeyAuth": []
  6243. }
  6244. ],
  6245. "produces": [
  6246. "application/json"
  6247. ],
  6248. "tags": [
  6249. "定制【海商报业】"
  6250. ],
  6251. "summary": "获取终端固定广告配置",
  6252. "responses": {
  6253. "200": {
  6254. "description": "OK",
  6255. "schema": {
  6256. "$ref": "#/definitions/models.Clientfixedadconfig"
  6257. }
  6258. },
  6259. "500": {
  6260. "description": "Internal Server Error",
  6261. "schema": {
  6262. "$ref": "#/definitions/app.Response"
  6263. }
  6264. }
  6265. }
  6266. }
  6267. },
  6268. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6269. "get": {
  6270. "security": [
  6271. {
  6272. "ApiKeyAuth": []
  6273. }
  6274. ],
  6275. "produces": [
  6276. "application/json"
  6277. ],
  6278. "tags": [
  6279. "定制【海商报业】"
  6280. ],
  6281. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6282. "parameters": [
  6283. {
  6284. "type": "integer",
  6285. "description": "页码",
  6286. "name": "page",
  6287. "in": "query"
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "每页条数",
  6292. "name": "pagesize",
  6293. "in": "query"
  6294. },
  6295. {
  6296. "type": "string",
  6297. "description": "资金账户列表,格式:1,2,3",
  6298. "name": "accountIDs",
  6299. "in": "query",
  6300. "required": true
  6301. }
  6302. ],
  6303. "responses": {
  6304. "200": {
  6305. "description": "OK",
  6306. "schema": {
  6307. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6308. }
  6309. },
  6310. "500": {
  6311. "description": "Internal Server Error",
  6312. "schema": {
  6313. "$ref": "#/definitions/app.Response"
  6314. }
  6315. }
  6316. }
  6317. }
  6318. },
  6319. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6320. "get": {
  6321. "security": [
  6322. {
  6323. "ApiKeyAuth": []
  6324. }
  6325. ],
  6326. "description": "说明:查询结果已按委托价格和委托时间排序",
  6327. "produces": [
  6328. "application/json"
  6329. ],
  6330. "tags": [
  6331. "定制【海商报业】"
  6332. ],
  6333. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6334. "parameters": [
  6335. {
  6336. "type": "integer",
  6337. "description": "商品ID",
  6338. "name": "goodsID",
  6339. "in": "query",
  6340. "required": true
  6341. },
  6342. {
  6343. "type": "string",
  6344. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6345. "name": "accountIDs",
  6346. "in": "query"
  6347. },
  6348. {
  6349. "type": "integer",
  6350. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6351. "name": "buyOrSell",
  6352. "in": "query"
  6353. },
  6354. {
  6355. "type": "number",
  6356. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6357. "name": "price",
  6358. "in": "query"
  6359. },
  6360. {
  6361. "type": "integer",
  6362. "description": "档位,不传则默认为3档",
  6363. "name": "speed",
  6364. "in": "query"
  6365. }
  6366. ],
  6367. "responses": {
  6368. "200": {
  6369. "description": "OK",
  6370. "schema": {
  6371. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6372. }
  6373. },
  6374. "500": {
  6375. "description": "Internal Server Error",
  6376. "schema": {
  6377. "$ref": "#/definitions/app.Response"
  6378. }
  6379. }
  6380. }
  6381. }
  6382. },
  6383. "/HSBY/QueryHsbyListingGoodsDetail": {
  6384. "get": {
  6385. "security": [
  6386. {
  6387. "ApiKeyAuth": []
  6388. }
  6389. ],
  6390. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6391. "produces": [
  6392. "application/json"
  6393. ],
  6394. "tags": [
  6395. "定制【海商报业】"
  6396. ],
  6397. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6398. "parameters": [
  6399. {
  6400. "type": "integer",
  6401. "description": "商品ID",
  6402. "name": "goodsID",
  6403. "in": "query",
  6404. "required": true
  6405. },
  6406. {
  6407. "type": "integer",
  6408. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6409. "name": "accountID",
  6410. "in": "query"
  6411. }
  6412. ],
  6413. "responses": {
  6414. "200": {
  6415. "description": "OK",
  6416. "schema": {
  6417. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6418. }
  6419. },
  6420. "500": {
  6421. "description": "Internal Server Error",
  6422. "schema": {
  6423. "$ref": "#/definitions/app.Response"
  6424. }
  6425. }
  6426. }
  6427. }
  6428. },
  6429. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6430. "get": {
  6431. "security": [
  6432. {
  6433. "ApiKeyAuth": []
  6434. }
  6435. ],
  6436. "produces": [
  6437. "application/json"
  6438. ],
  6439. "tags": [
  6440. "定制【海商报业】"
  6441. ],
  6442. "summary": "查询三级市场(商城)商品信息详情",
  6443. "parameters": [
  6444. {
  6445. "type": "integer",
  6446. "description": "委托单号",
  6447. "name": "orderID",
  6448. "in": "query",
  6449. "required": true
  6450. },
  6451. {
  6452. "type": "integer",
  6453. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6454. "name": "accountID",
  6455. "in": "query"
  6456. }
  6457. ],
  6458. "responses": {
  6459. "200": {
  6460. "description": "OK",
  6461. "schema": {
  6462. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6463. }
  6464. },
  6465. "500": {
  6466. "description": "Internal Server Error",
  6467. "schema": {
  6468. "$ref": "#/definitions/app.Response"
  6469. }
  6470. }
  6471. }
  6472. }
  6473. },
  6474. "/HSBY/QueryHsbyMarketGoodses": {
  6475. "get": {
  6476. "security": [
  6477. {
  6478. "ApiKeyAuth": []
  6479. }
  6480. ],
  6481. "produces": [
  6482. "application/json"
  6483. ],
  6484. "tags": [
  6485. "定制【海商报业】"
  6486. ],
  6487. "summary": "查询特卖商品列表(三级商城)",
  6488. "parameters": [
  6489. {
  6490. "type": "integer",
  6491. "description": "页码",
  6492. "name": "page",
  6493. "in": "query"
  6494. },
  6495. {
  6496. "type": "integer",
  6497. "description": "每页条数",
  6498. "name": "pagesize",
  6499. "in": "query"
  6500. },
  6501. {
  6502. "type": "string",
  6503. "description": "市场ID列表,格式:1,2,3",
  6504. "name": "marketIDs",
  6505. "in": "query",
  6506. "required": true
  6507. },
  6508. {
  6509. "type": "integer",
  6510. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6511. "name": "accountID",
  6512. "in": "query",
  6513. "required": true
  6514. },
  6515. {
  6516. "type": "integer",
  6517. "description": "类别ID",
  6518. "name": "categoryID",
  6519. "in": "query"
  6520. },
  6521. {
  6522. "type": "string",
  6523. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6524. "name": "goodsIDs",
  6525. "in": "query"
  6526. },
  6527. {
  6528. "type": "integer",
  6529. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6530. "name": "couponTypeID",
  6531. "in": "query"
  6532. }
  6533. ],
  6534. "responses": {
  6535. "200": {
  6536. "description": "OK",
  6537. "schema": {
  6538. "$ref": "#/definitions/models.HsbyMarketGoods"
  6539. }
  6540. },
  6541. "500": {
  6542. "description": "Internal Server Error",
  6543. "schema": {
  6544. "$ref": "#/definitions/app.Response"
  6545. }
  6546. }
  6547. }
  6548. }
  6549. },
  6550. "/HSBY/QueryHsbyMarkets": {
  6551. "get": {
  6552. "security": [
  6553. {
  6554. "ApiKeyAuth": []
  6555. }
  6556. ],
  6557. "produces": [
  6558. "application/json"
  6559. ],
  6560. "tags": [
  6561. "定制【海商报业】"
  6562. ],
  6563. "summary": "查询海商报业相关市场信息",
  6564. "responses": {
  6565. "200": {
  6566. "description": "OK",
  6567. "schema": {
  6568. "$ref": "#/definitions/models.HsbyMarketInfo"
  6569. }
  6570. },
  6571. "500": {
  6572. "description": "Internal Server Error",
  6573. "schema": {
  6574. "$ref": "#/definitions/app.Response"
  6575. }
  6576. }
  6577. }
  6578. }
  6579. },
  6580. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6581. "get": {
  6582. "security": [
  6583. {
  6584. "ApiKeyAuth": []
  6585. }
  6586. ],
  6587. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6588. "produces": [
  6589. "application/json"
  6590. ],
  6591. "tags": [
  6592. "定制【海商报业】"
  6593. ],
  6594. "summary": "查询“我的订单”信息",
  6595. "parameters": [
  6596. {
  6597. "type": "string",
  6598. "description": "资金账户列表,格式:1,2,3",
  6599. "name": "accountIDs",
  6600. "in": "query",
  6601. "required": true
  6602. }
  6603. ],
  6604. "responses": {
  6605. "200": {
  6606. "description": "OK",
  6607. "schema": {
  6608. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6609. }
  6610. },
  6611. "500": {
  6612. "description": "Internal Server Error",
  6613. "schema": {
  6614. "$ref": "#/definitions/app.Response"
  6615. }
  6616. }
  6617. }
  6618. }
  6619. },
  6620. "/HSBY/QueryHsbyMyGoods": {
  6621. "get": {
  6622. "security": [
  6623. {
  6624. "ApiKeyAuth": []
  6625. }
  6626. ],
  6627. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6628. "produces": [
  6629. "application/json"
  6630. ],
  6631. "tags": [
  6632. "定制【海商报业】"
  6633. ],
  6634. "summary": "查询“我的商品”信息",
  6635. "parameters": [
  6636. {
  6637. "type": "string",
  6638. "description": "资金账户列表,格式:1,2,3",
  6639. "name": "accountIDs",
  6640. "in": "query",
  6641. "required": true
  6642. }
  6643. ],
  6644. "responses": {
  6645. "200": {
  6646. "description": "OK",
  6647. "schema": {
  6648. "$ref": "#/definitions/models.HsbyMyGoods"
  6649. }
  6650. },
  6651. "500": {
  6652. "description": "Internal Server Error",
  6653. "schema": {
  6654. "$ref": "#/definitions/app.Response"
  6655. }
  6656. }
  6657. }
  6658. }
  6659. },
  6660. "/HSBY/QueryHsbyMyPackages": {
  6661. "get": {
  6662. "security": [
  6663. {
  6664. "ApiKeyAuth": []
  6665. }
  6666. ],
  6667. "produces": [
  6668. "application/json"
  6669. ],
  6670. "tags": [
  6671. "定制【海商报业】"
  6672. ],
  6673. "summary": "查询我的包裹信息",
  6674. "parameters": [
  6675. {
  6676. "type": "string",
  6677. "description": "资金账户列表,格式:1,2,3",
  6678. "name": "accountIDs",
  6679. "in": "query",
  6680. "required": true
  6681. },
  6682. {
  6683. "type": "integer",
  6684. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6685. "name": "takeOrderStatus",
  6686. "in": "query"
  6687. }
  6688. ],
  6689. "responses": {
  6690. "200": {
  6691. "description": "OK",
  6692. "schema": {
  6693. "$ref": "#/definitions/models.HsbyMyPackage"
  6694. }
  6695. },
  6696. "500": {
  6697. "description": "Internal Server Error",
  6698. "schema": {
  6699. "$ref": "#/definitions/app.Response"
  6700. }
  6701. }
  6702. }
  6703. }
  6704. },
  6705. "/HSBY/QueryHsbyPreGoodsDetail": {
  6706. "get": {
  6707. "security": [
  6708. {
  6709. "ApiKeyAuth": []
  6710. }
  6711. ],
  6712. "produces": [
  6713. "application/json"
  6714. ],
  6715. "tags": [
  6716. "定制【海商报业】"
  6717. ],
  6718. "summary": "查询一级市场(预售)商品信息详情",
  6719. "parameters": [
  6720. {
  6721. "type": "integer",
  6722. "description": "商品ID",
  6723. "name": "goodsID",
  6724. "in": "query",
  6725. "required": true
  6726. },
  6727. {
  6728. "type": "integer",
  6729. "description": "资金账户,主要用于获取预售商品购买上限",
  6730. "name": "accountID",
  6731. "in": "query"
  6732. }
  6733. ],
  6734. "responses": {
  6735. "200": {
  6736. "description": "OK",
  6737. "schema": {
  6738. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6739. }
  6740. },
  6741. "500": {
  6742. "description": "Internal Server Error",
  6743. "schema": {
  6744. "$ref": "#/definitions/app.Response"
  6745. }
  6746. }
  6747. }
  6748. }
  6749. },
  6750. "/HSBY/QueryHsbyPreGoodses": {
  6751. "get": {
  6752. "security": [
  6753. {
  6754. "ApiKeyAuth": []
  6755. }
  6756. ],
  6757. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6758. "produces": [
  6759. "application/json"
  6760. ],
  6761. "tags": [
  6762. "定制【海商报业】"
  6763. ],
  6764. "summary": "查询新品上市商品列表(一级市场预售)",
  6765. "parameters": [
  6766. {
  6767. "type": "integer",
  6768. "description": "页码",
  6769. "name": "page",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "integer",
  6774. "description": "每页条数",
  6775. "name": "pagesize",
  6776. "in": "query"
  6777. },
  6778. {
  6779. "type": "string",
  6780. "description": "市场ID列表,格式:1,2,3",
  6781. "name": "marketIDs",
  6782. "in": "query",
  6783. "required": true
  6784. },
  6785. {
  6786. "type": "integer",
  6787. "description": "目的地(省)ID",
  6788. "name": "descProvinceID",
  6789. "in": "query"
  6790. },
  6791. {
  6792. "type": "integer",
  6793. "description": "目的地(市)ID",
  6794. "name": "descCityID",
  6795. "in": "query"
  6796. }
  6797. ],
  6798. "responses": {
  6799. "200": {
  6800. "description": "OK",
  6801. "schema": {
  6802. "$ref": "#/definitions/models.HsbyPreGoods"
  6803. }
  6804. },
  6805. "500": {
  6806. "description": "Internal Server Error",
  6807. "schema": {
  6808. "$ref": "#/definitions/app.Response"
  6809. }
  6810. }
  6811. }
  6812. }
  6813. },
  6814. "/HSBY/QueryHsbySellMyDetails": {
  6815. "get": {
  6816. "security": [
  6817. {
  6818. "ApiKeyAuth": []
  6819. }
  6820. ],
  6821. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6822. "produces": [
  6823. "application/json"
  6824. ],
  6825. "tags": [
  6826. "定制【海商报业】"
  6827. ],
  6828. "summary": "查询\"我的闲置\"单据信息",
  6829. "parameters": [
  6830. {
  6831. "type": "integer",
  6832. "description": "页码",
  6833. "name": "page",
  6834. "in": "query"
  6835. },
  6836. {
  6837. "type": "integer",
  6838. "description": "每页条数",
  6839. "name": "pagesize",
  6840. "in": "query"
  6841. },
  6842. {
  6843. "type": "string",
  6844. "description": "资金账户列表,格式:1,2,3",
  6845. "name": "accountIDs",
  6846. "in": "query",
  6847. "required": true
  6848. },
  6849. {
  6850. "type": "integer",
  6851. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6852. "name": "orderType",
  6853. "in": "query"
  6854. }
  6855. ],
  6856. "responses": {
  6857. "200": {
  6858. "description": "OK",
  6859. "schema": {
  6860. "$ref": "#/definitions/models.HsbySellMyDetail"
  6861. }
  6862. },
  6863. "500": {
  6864. "description": "Internal Server Error",
  6865. "schema": {
  6866. "$ref": "#/definitions/app.Response"
  6867. }
  6868. }
  6869. }
  6870. }
  6871. },
  6872. "/HSBY/QueryHsbyTopGoodses": {
  6873. "get": {
  6874. "security": [
  6875. {
  6876. "ApiKeyAuth": []
  6877. }
  6878. ],
  6879. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6880. "produces": [
  6881. "application/json"
  6882. ],
  6883. "tags": [
  6884. "定制【海商报业】"
  6885. ],
  6886. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6887. "parameters": [
  6888. {
  6889. "type": "integer",
  6890. "description": "页码",
  6891. "name": "page",
  6892. "in": "query"
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "每页条数",
  6897. "name": "pagesize",
  6898. "in": "query"
  6899. },
  6900. {
  6901. "type": "string",
  6902. "description": "市场ID列表,格式:1,2,3",
  6903. "name": "marketIDs",
  6904. "in": "query",
  6905. "required": true
  6906. },
  6907. {
  6908. "type": "integer",
  6909. "description": "目的地(省)ID",
  6910. "name": "descProvinceID",
  6911. "in": "query"
  6912. },
  6913. {
  6914. "type": "integer",
  6915. "description": "目的地(市)ID",
  6916. "name": "descCityID",
  6917. "in": "query"
  6918. }
  6919. ],
  6920. "responses": {
  6921. "200": {
  6922. "description": "OK",
  6923. "schema": {
  6924. "$ref": "#/definitions/models.HsbyTopGoods"
  6925. }
  6926. },
  6927. "500": {
  6928. "description": "Internal Server Error",
  6929. "schema": {
  6930. "$ref": "#/definitions/app.Response"
  6931. }
  6932. }
  6933. }
  6934. }
  6935. },
  6936. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6937. "get": {
  6938. "security": [
  6939. {
  6940. "ApiKeyAuth": []
  6941. }
  6942. ],
  6943. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6944. "produces": [
  6945. "application/json"
  6946. ],
  6947. "tags": [
  6948. "定制【海商报业】"
  6949. ],
  6950. "summary": "查询游客三级市场(商城)商品信息详情",
  6951. "parameters": [
  6952. {
  6953. "type": "integer",
  6954. "description": "商品ID",
  6955. "name": "goodsID",
  6956. "in": "query",
  6957. "required": true
  6958. }
  6959. ],
  6960. "responses": {
  6961. "200": {
  6962. "description": "OK",
  6963. "schema": {
  6964. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6965. }
  6966. },
  6967. "500": {
  6968. "description": "Internal Server Error",
  6969. "schema": {
  6970. "$ref": "#/definitions/app.Response"
  6971. }
  6972. }
  6973. }
  6974. }
  6975. },
  6976. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6977. "get": {
  6978. "security": [
  6979. {
  6980. "ApiKeyAuth": []
  6981. }
  6982. ],
  6983. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6984. "produces": [
  6985. "application/json"
  6986. ],
  6987. "tags": [
  6988. "定制【海商报业】"
  6989. ],
  6990. "summary": "查询游客特卖商品列表(三级商城)",
  6991. "parameters": [
  6992. {
  6993. "type": "integer",
  6994. "description": "页码",
  6995. "name": "page",
  6996. "in": "query"
  6997. },
  6998. {
  6999. "type": "integer",
  7000. "description": "每页条数",
  7001. "name": "pagesize",
  7002. "in": "query"
  7003. },
  7004. {
  7005. "type": "string",
  7006. "description": "市场ID列表,格式:1,2,3",
  7007. "name": "marketIDs",
  7008. "in": "query",
  7009. "required": true
  7010. },
  7011. {
  7012. "type": "integer",
  7013. "description": "类别ID",
  7014. "name": "categoryID",
  7015. "in": "query"
  7016. },
  7017. {
  7018. "type": "string",
  7019. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7020. "name": "goodsIDs",
  7021. "in": "query"
  7022. }
  7023. ],
  7024. "responses": {
  7025. "200": {
  7026. "description": "OK",
  7027. "schema": {
  7028. "$ref": "#/definitions/models.HsbyMarketGoods"
  7029. }
  7030. },
  7031. "500": {
  7032. "description": "Internal Server Error",
  7033. "schema": {
  7034. "$ref": "#/definitions/app.Response"
  7035. }
  7036. }
  7037. }
  7038. }
  7039. },
  7040. "/HSBY/QueryMyCollectionOrders": {
  7041. "get": {
  7042. "security": [
  7043. {
  7044. "ApiKeyAuth": []
  7045. }
  7046. ],
  7047. "produces": [
  7048. "application/json"
  7049. ],
  7050. "tags": [
  7051. "定制【海商报业】"
  7052. ],
  7053. "summary": "我的闲置中收款信息查询",
  7054. "parameters": [
  7055. {
  7056. "type": "integer",
  7057. "description": "页码",
  7058. "name": "page",
  7059. "in": "query"
  7060. },
  7061. {
  7062. "type": "integer",
  7063. "description": "每页条数",
  7064. "name": "pagesize",
  7065. "in": "query"
  7066. },
  7067. {
  7068. "type": "string",
  7069. "description": "资金账户,格式:1,2,3",
  7070. "name": "accountIDs",
  7071. "in": "query",
  7072. "required": true
  7073. }
  7074. ],
  7075. "responses": {
  7076. "200": {
  7077. "description": "OK",
  7078. "schema": {
  7079. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7080. }
  7081. },
  7082. "500": {
  7083. "description": "Internal Server Error",
  7084. "schema": {
  7085. "$ref": "#/definitions/app.Response"
  7086. }
  7087. }
  7088. }
  7089. }
  7090. },
  7091. "/HSBY/QueryMyCouponHolds": {
  7092. "get": {
  7093. "security": [
  7094. {
  7095. "ApiKeyAuth": []
  7096. }
  7097. ],
  7098. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7099. "produces": [
  7100. "application/json"
  7101. ],
  7102. "tags": [
  7103. "定制【海商报业】"
  7104. ],
  7105. "summary": "我的优惠卷持仓查询",
  7106. "parameters": [
  7107. {
  7108. "type": "string",
  7109. "description": "资金账户列表,格式:1,2,3",
  7110. "name": "accountIDs",
  7111. "in": "query",
  7112. "required": true
  7113. },
  7114. {
  7115. "type": "string",
  7116. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7117. "name": "holdStatus",
  7118. "in": "query"
  7119. }
  7120. ],
  7121. "responses": {
  7122. "200": {
  7123. "description": "OK",
  7124. "schema": {
  7125. "$ref": "#/definitions/models.MyCouponHold"
  7126. }
  7127. },
  7128. "500": {
  7129. "description": "Internal Server Error",
  7130. "schema": {
  7131. "$ref": "#/definitions/app.Response"
  7132. }
  7133. }
  7134. }
  7135. }
  7136. },
  7137. "/HSBY/QueryMyCoupons": {
  7138. "get": {
  7139. "security": [
  7140. {
  7141. "ApiKeyAuth": []
  7142. }
  7143. ],
  7144. "produces": [
  7145. "application/json"
  7146. ],
  7147. "tags": [
  7148. "定制【海商报业】"
  7149. ],
  7150. "summary": "我的优惠卷查询",
  7151. "parameters": [
  7152. {
  7153. "type": "string",
  7154. "description": "资金账户列表,格式:1,2,3",
  7155. "name": "accountIDs",
  7156. "in": "query",
  7157. "required": true
  7158. },
  7159. {
  7160. "type": "integer",
  7161. "description": "商品ID, 一般与sellUserID配套传入",
  7162. "name": "goodsID",
  7163. "in": "query"
  7164. },
  7165. {
  7166. "type": "integer",
  7167. "description": "卖方UserID",
  7168. "name": "sellUserID",
  7169. "in": "query"
  7170. }
  7171. ],
  7172. "responses": {
  7173. "200": {
  7174. "description": "OK",
  7175. "schema": {
  7176. "$ref": "#/definitions/models.MyCoupon"
  7177. }
  7178. },
  7179. "500": {
  7180. "description": "Internal Server Error",
  7181. "schema": {
  7182. "$ref": "#/definitions/app.Response"
  7183. }
  7184. }
  7185. }
  7186. }
  7187. },
  7188. "/HSBY/QueryMyPayOrders": {
  7189. "get": {
  7190. "security": [
  7191. {
  7192. "ApiKeyAuth": []
  7193. }
  7194. ],
  7195. "produces": [
  7196. "application/json"
  7197. ],
  7198. "tags": [
  7199. "定制【海商报业】"
  7200. ],
  7201. "summary": "获取我的订单中待付款信息",
  7202. "parameters": [
  7203. {
  7204. "type": "integer",
  7205. "description": "页码",
  7206. "name": "page",
  7207. "in": "query"
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "每页条数",
  7212. "name": "pagesize",
  7213. "in": "query"
  7214. },
  7215. {
  7216. "type": "string",
  7217. "description": "资金账户列表,格式:1,2,3",
  7218. "name": "accountIDs",
  7219. "in": "query",
  7220. "required": true
  7221. },
  7222. {
  7223. "type": "integer",
  7224. "description": "买方委托单号",
  7225. "name": "buyOrderID",
  7226. "in": "query"
  7227. },
  7228. {
  7229. "type": "integer",
  7230. "description": "卖方委托单号",
  7231. "name": "sellOrderID",
  7232. "in": "query"
  7233. }
  7234. ],
  7235. "responses": {
  7236. "200": {
  7237. "description": "OK",
  7238. "schema": {
  7239. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7240. }
  7241. },
  7242. "500": {
  7243. "description": "Internal Server Error",
  7244. "schema": {
  7245. "$ref": "#/definitions/app.Response"
  7246. }
  7247. }
  7248. }
  7249. }
  7250. },
  7251. "/HSBY/QueryMyUsedCoupon": {
  7252. "get": {
  7253. "security": [
  7254. {
  7255. "ApiKeyAuth": []
  7256. }
  7257. ],
  7258. "produces": [
  7259. "application/json"
  7260. ],
  7261. "tags": [
  7262. "定制【海商报业】"
  7263. ],
  7264. "summary": "已使用优惠卷查询",
  7265. "parameters": [
  7266. {
  7267. "type": "string",
  7268. "description": "资金账户列表,格式:1,2,3",
  7269. "name": "accountIDs",
  7270. "in": "query",
  7271. "required": true
  7272. }
  7273. ],
  7274. "responses": {
  7275. "200": {
  7276. "description": "OK",
  7277. "schema": {
  7278. "$ref": "#/definitions/models.MyUsedCoupon"
  7279. }
  7280. },
  7281. "500": {
  7282. "description": "Internal Server Error",
  7283. "schema": {
  7284. "$ref": "#/definitions/app.Response"
  7285. }
  7286. }
  7287. }
  7288. }
  7289. },
  7290. "/HSBY/QueryProvincesAndCities": {
  7291. "get": {
  7292. "security": [
  7293. {
  7294. "ApiKeyAuth": []
  7295. }
  7296. ],
  7297. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7298. "produces": [
  7299. "application/json"
  7300. ],
  7301. "tags": [
  7302. "定制【海商报业】"
  7303. ],
  7304. "summary": "查询省市信息(不包括区)",
  7305. "parameters": [
  7306. {
  7307. "type": "integer",
  7308. "description": "省ID",
  7309. "name": "provinceID",
  7310. "in": "query"
  7311. }
  7312. ],
  7313. "responses": {
  7314. "200": {
  7315. "description": "OK",
  7316. "schema": {
  7317. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7318. }
  7319. },
  7320. "500": {
  7321. "description": "Internal Server Error",
  7322. "schema": {
  7323. "$ref": "#/definitions/app.Response"
  7324. }
  7325. }
  7326. }
  7327. }
  7328. },
  7329. "/HSBY/SetHsbyMyPackagesStatus": {
  7330. "post": {
  7331. "security": [
  7332. {
  7333. "ApiKeyAuth": []
  7334. }
  7335. ],
  7336. "produces": [
  7337. "application/json"
  7338. ],
  7339. "tags": [
  7340. "定制【海商报业】"
  7341. ],
  7342. "summary": "设置我的包裹已收货状态",
  7343. "parameters": [
  7344. {
  7345. "type": "string",
  7346. "description": "提货单号",
  7347. "name": "takeOrderID",
  7348. "in": "query",
  7349. "required": true
  7350. },
  7351. {
  7352. "type": "integer",
  7353. "description": "资金账号",
  7354. "name": "accountID",
  7355. "in": "query",
  7356. "required": true
  7357. }
  7358. ],
  7359. "responses": {
  7360. "200": {
  7361. "description": "OK",
  7362. "schema": {
  7363. "$ref": "#/definitions/app.Response"
  7364. }
  7365. },
  7366. "500": {
  7367. "description": "Internal Server Error",
  7368. "schema": {
  7369. "$ref": "#/definitions/app.Response"
  7370. }
  7371. }
  7372. }
  7373. }
  7374. },
  7375. "/Market/GetAllExExchanges": {
  7376. "get": {
  7377. "security": [
  7378. {
  7379. "ApiKeyAuth": []
  7380. }
  7381. ],
  7382. "produces": [
  7383. "application/json"
  7384. ],
  7385. "tags": [
  7386. "通用市场"
  7387. ],
  7388. "summary": "获取所有外部交易所信息",
  7389. "responses": {
  7390. "200": {
  7391. "description": "OK",
  7392. "schema": {
  7393. "$ref": "#/definitions/models.Goods"
  7394. }
  7395. },
  7396. "500": {
  7397. "description": "Internal Server Error",
  7398. "schema": {
  7399. "$ref": "#/definitions/app.Response"
  7400. }
  7401. }
  7402. }
  7403. }
  7404. },
  7405. "/Market/QueryGoodsesByLoginID": {
  7406. "get": {
  7407. "security": [
  7408. {
  7409. "ApiKeyAuth": []
  7410. }
  7411. ],
  7412. "produces": [
  7413. "application/json"
  7414. ],
  7415. "tags": [
  7416. "通用市场"
  7417. ],
  7418. "summary": "获取登录账号有权限的商品信息",
  7419. "parameters": [
  7420. {
  7421. "type": "integer",
  7422. "description": "登录账号",
  7423. "name": "loginID",
  7424. "in": "query",
  7425. "required": true
  7426. },
  7427. {
  7428. "type": "string",
  7429. "description": "市场ID列表,格式:1,2,3",
  7430. "name": "marketIDs",
  7431. "in": "query"
  7432. }
  7433. ],
  7434. "responses": {
  7435. "200": {
  7436. "description": "OK",
  7437. "schema": {
  7438. "$ref": "#/definitions/models.Goods"
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Market/QueryMarketRun": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "通用市场"
  7462. ],
  7463. "summary": "查询市场运行信息",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "市场ID,不传返回所有",
  7468. "name": "marketID",
  7469. "in": "query"
  7470. }
  7471. ],
  7472. "responses": {
  7473. "200": {
  7474. "description": "OK",
  7475. "schema": {
  7476. "$ref": "#/definitions/models.Marketrun"
  7477. }
  7478. },
  7479. "500": {
  7480. "description": "Internal Server Error",
  7481. "schema": {
  7482. "$ref": "#/definitions/app.Response"
  7483. }
  7484. }
  7485. }
  7486. }
  7487. },
  7488. "/Market/QueryMarketsByLoginID": {
  7489. "get": {
  7490. "security": [
  7491. {
  7492. "ApiKeyAuth": []
  7493. }
  7494. ],
  7495. "produces": [
  7496. "application/json"
  7497. ],
  7498. "tags": [
  7499. "通用市场"
  7500. ],
  7501. "summary": "获取登录账号有权限的市场信息",
  7502. "parameters": [
  7503. {
  7504. "type": "integer",
  7505. "description": "登录账号",
  7506. "name": "loginID",
  7507. "in": "query",
  7508. "required": true
  7509. }
  7510. ],
  7511. "responses": {
  7512. "200": {
  7513. "description": "OK",
  7514. "schema": {
  7515. "$ref": "#/definitions/models.Market"
  7516. }
  7517. },
  7518. "500": {
  7519. "description": "Internal Server Error",
  7520. "schema": {
  7521. "$ref": "#/definitions/app.Response"
  7522. }
  7523. }
  7524. }
  7525. }
  7526. },
  7527. "/Order/QueryHisTradeDetail": {
  7528. "get": {
  7529. "security": [
  7530. {
  7531. "ApiKeyAuth": []
  7532. }
  7533. ],
  7534. "produces": [
  7535. "application/json"
  7536. ],
  7537. "tags": [
  7538. "通用单据"
  7539. ],
  7540. "summary": "历史成交单查询(合约市场)",
  7541. "parameters": [
  7542. {
  7543. "type": "string",
  7544. "description": "资金账户 - 格式:1,2,3",
  7545. "name": "accountID",
  7546. "in": "query",
  7547. "required": true
  7548. },
  7549. {
  7550. "type": "integer",
  7551. "description": "成交单号",
  7552. "name": "tradeID",
  7553. "in": "query"
  7554. },
  7555. {
  7556. "type": "integer",
  7557. "description": "委托单号",
  7558. "name": "orderID",
  7559. "in": "query"
  7560. },
  7561. {
  7562. "type": "integer",
  7563. "description": "商品ID",
  7564. "name": "goodsID",
  7565. "in": "query"
  7566. },
  7567. {
  7568. "type": "string",
  7569. "description": "交易模式 - 格式:1,2,3",
  7570. "name": "tradeMode",
  7571. "in": "query"
  7572. },
  7573. {
  7574. "type": "integer",
  7575. "description": "委托单据类型",
  7576. "name": "buildType",
  7577. "in": "query"
  7578. },
  7579. {
  7580. "type": "string",
  7581. "description": "成交类别 - 格式:1,2,3",
  7582. "name": "tradeType",
  7583. "in": "query"
  7584. },
  7585. {
  7586. "type": "string",
  7587. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7588. "name": "startDate",
  7589. "in": "query"
  7590. },
  7591. {
  7592. "type": "string",
  7593. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7594. "name": "endDate",
  7595. "in": "query"
  7596. }
  7597. ],
  7598. "responses": {
  7599. "200": {
  7600. "description": "OK",
  7601. "schema": {
  7602. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7603. }
  7604. },
  7605. "500": {
  7606. "description": "Internal Server Error",
  7607. "schema": {
  7608. "$ref": "#/definitions/app.Response"
  7609. }
  7610. }
  7611. }
  7612. }
  7613. },
  7614. "/Order/QueryHisTradeOrderDetail": {
  7615. "get": {
  7616. "security": [
  7617. {
  7618. "ApiKeyAuth": []
  7619. }
  7620. ],
  7621. "produces": [
  7622. "application/json"
  7623. ],
  7624. "tags": [
  7625. "通用单据"
  7626. ],
  7627. "summary": "历史委托单查询请求(合约市场)",
  7628. "parameters": [
  7629. {
  7630. "type": "string",
  7631. "description": "资金账户 - 格式:1,2,3",
  7632. "name": "accountID",
  7633. "in": "query",
  7634. "required": true
  7635. },
  7636. {
  7637. "type": "string",
  7638. "description": "交易模式 - 格式:1,2,3",
  7639. "name": "tradeMode",
  7640. "in": "query"
  7641. },
  7642. {
  7643. "type": "string",
  7644. "description": "委托状态 - 格式:1,2,3",
  7645. "name": "orderStatus",
  7646. "in": "query"
  7647. },
  7648. {
  7649. "type": "integer",
  7650. "description": "委托单号",
  7651. "name": "orderID",
  7652. "in": "query"
  7653. },
  7654. {
  7655. "type": "string",
  7656. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7657. "name": "startDate",
  7658. "in": "query"
  7659. },
  7660. {
  7661. "type": "string",
  7662. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7663. "name": "endDate",
  7664. "in": "query"
  7665. }
  7666. ],
  7667. "responses": {
  7668. "200": {
  7669. "description": "OK",
  7670. "schema": {
  7671. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7672. }
  7673. },
  7674. "500": {
  7675. "description": "Internal Server Error",
  7676. "schema": {
  7677. "$ref": "#/definitions/app.Response"
  7678. }
  7679. }
  7680. }
  7681. }
  7682. },
  7683. "/Order/QueryTradeDetail": {
  7684. "get": {
  7685. "security": [
  7686. {
  7687. "ApiKeyAuth": []
  7688. }
  7689. ],
  7690. "produces": [
  7691. "application/json"
  7692. ],
  7693. "tags": [
  7694. "通用单据"
  7695. ],
  7696. "summary": "成交单查询(合约市场)",
  7697. "parameters": [
  7698. {
  7699. "type": "string",
  7700. "description": "资金账户 - 格式:1,2,3",
  7701. "name": "accountID",
  7702. "in": "query",
  7703. "required": true
  7704. },
  7705. {
  7706. "type": "integer",
  7707. "description": "成交单号",
  7708. "name": "tradeID",
  7709. "in": "query"
  7710. },
  7711. {
  7712. "type": "integer",
  7713. "description": "委托单号",
  7714. "name": "orderID",
  7715. "in": "query"
  7716. },
  7717. {
  7718. "type": "string",
  7719. "description": "交易模式 - 格式:1,2,3",
  7720. "name": "tradeMode",
  7721. "in": "query"
  7722. },
  7723. {
  7724. "type": "integer",
  7725. "description": "委托单据类型",
  7726. "name": "buildType",
  7727. "in": "query"
  7728. },
  7729. {
  7730. "type": "string",
  7731. "description": "成交类别 - 格式:1,2,3",
  7732. "name": "tradeType",
  7733. "in": "query"
  7734. },
  7735. {
  7736. "type": "integer",
  7737. "description": "商品ID",
  7738. "name": "goodsID",
  7739. "in": "query"
  7740. }
  7741. ],
  7742. "responses": {
  7743. "200": {
  7744. "description": "OK",
  7745. "schema": {
  7746. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7747. }
  7748. },
  7749. "500": {
  7750. "description": "Internal Server Error",
  7751. "schema": {
  7752. "$ref": "#/definitions/app.Response"
  7753. }
  7754. }
  7755. }
  7756. }
  7757. },
  7758. "/Order/QueryTradeHolderDetail": {
  7759. "get": {
  7760. "security": [
  7761. {
  7762. "ApiKeyAuth": []
  7763. }
  7764. ],
  7765. "produces": [
  7766. "application/json"
  7767. ],
  7768. "tags": [
  7769. "通用单据"
  7770. ],
  7771. "summary": "查询持仓明细",
  7772. "parameters": [
  7773. {
  7774. "type": "integer",
  7775. "description": "用户id",
  7776. "name": "userid",
  7777. "in": "query"
  7778. },
  7779. {
  7780. "type": "string",
  7781. "description": "资金账号, 格式 1,2,3",
  7782. "name": "accids",
  7783. "in": "query"
  7784. },
  7785. {
  7786. "type": "string",
  7787. "description": "交易模式, 格式 1,2,3",
  7788. "name": "trademodes",
  7789. "in": "query"
  7790. },
  7791. {
  7792. "type": "string",
  7793. "description": "市场id, 格式 1,2,3",
  7794. "name": "marketids",
  7795. "in": "query"
  7796. },
  7797. {
  7798. "type": "integer",
  7799. "description": "商品id",
  7800. "name": "goodsid",
  7801. "in": "query"
  7802. },
  7803. {
  7804. "type": "integer",
  7805. "description": "买卖方向 0-买 1-卖",
  7806. "name": "buyorsell",
  7807. "in": "query"
  7808. }
  7809. ],
  7810. "responses": {
  7811. "200": {
  7812. "description": "OK",
  7813. "schema": {
  7814. "type": "array",
  7815. "items": {
  7816. "$ref": "#/definitions/models.TradeHolderDetail"
  7817. }
  7818. }
  7819. },
  7820. "500": {
  7821. "description": "Internal Server Error",
  7822. "schema": {
  7823. "$ref": "#/definitions/app.Response"
  7824. }
  7825. }
  7826. }
  7827. }
  7828. },
  7829. "/Order/QueryTradeOrderDetail": {
  7830. "get": {
  7831. "security": [
  7832. {
  7833. "ApiKeyAuth": []
  7834. }
  7835. ],
  7836. "produces": [
  7837. "application/json"
  7838. ],
  7839. "tags": [
  7840. "通用单据"
  7841. ],
  7842. "summary": "委托单查询请求(合约市场)",
  7843. "parameters": [
  7844. {
  7845. "type": "string",
  7846. "description": "资金账户 - 格式:1,2,3",
  7847. "name": "accountID",
  7848. "in": "query",
  7849. "required": true
  7850. },
  7851. {
  7852. "type": "string",
  7853. "description": "交易模式 - 格式:1,2,3",
  7854. "name": "tradeMode",
  7855. "in": "query"
  7856. },
  7857. {
  7858. "type": "string",
  7859. "description": "委托状态 - 格式:1,2,3",
  7860. "name": "orderStatus",
  7861. "in": "query"
  7862. },
  7863. {
  7864. "type": "integer",
  7865. "description": "委托单号",
  7866. "name": "orderID",
  7867. "in": "query"
  7868. }
  7869. ],
  7870. "responses": {
  7871. "200": {
  7872. "description": "OK",
  7873. "schema": {
  7874. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7875. }
  7876. },
  7877. "500": {
  7878. "description": "Internal Server Error",
  7879. "schema": {
  7880. "$ref": "#/definitions/app.Response"
  7881. }
  7882. }
  7883. }
  7884. }
  7885. },
  7886. "/Order/QueryTradePosition": {
  7887. "get": {
  7888. "security": [
  7889. {
  7890. "ApiKeyAuth": []
  7891. }
  7892. ],
  7893. "produces": [
  7894. "application/json"
  7895. ],
  7896. "tags": [
  7897. "通用单据"
  7898. ],
  7899. "summary": "持仓汇总查询(合约市场)",
  7900. "parameters": [
  7901. {
  7902. "type": "string",
  7903. "description": "资金账户 - 格式:1,2,3",
  7904. "name": "accountID",
  7905. "in": "query",
  7906. "required": true
  7907. },
  7908. {
  7909. "type": "string",
  7910. "description": "交易模式 - 格式:1,2,3",
  7911. "name": "tradeMode",
  7912. "in": "query"
  7913. }
  7914. ],
  7915. "responses": {
  7916. "200": {
  7917. "description": "OK",
  7918. "schema": {
  7919. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7920. }
  7921. },
  7922. "500": {
  7923. "description": "Internal Server Error",
  7924. "schema": {
  7925. "$ref": "#/definitions/app.Response"
  7926. }
  7927. }
  7928. }
  7929. }
  7930. },
  7931. "/Qhj/QueryAccountInOutApply": {
  7932. "get": {
  7933. "security": [
  7934. {
  7935. "ApiKeyAuth": []
  7936. }
  7937. ],
  7938. "produces": [
  7939. "application/json"
  7940. ],
  7941. "tags": [
  7942. "大连千海金"
  7943. ],
  7944. "summary": "查询充值提现",
  7945. "parameters": [
  7946. {
  7947. "type": "integer",
  7948. "description": "用户ID",
  7949. "name": "userid",
  7950. "in": "query",
  7951. "required": true
  7952. },
  7953. {
  7954. "type": "string",
  7955. "description": "申请起始日期(格式yyyymmdd)",
  7956. "name": "begindate",
  7957. "in": "query"
  7958. },
  7959. {
  7960. "type": "string",
  7961. "description": "申请截止日期(格式yyyymmdd)",
  7962. "name": "enddate",
  7963. "in": "query"
  7964. },
  7965. {
  7966. "type": "string",
  7967. "description": "模糊搜索名称",
  7968. "name": "likename",
  7969. "in": "query"
  7970. }
  7971. ],
  7972. "responses": {
  7973. "200": {
  7974. "description": "OK",
  7975. "schema": {
  7976. "type": "array",
  7977. "items": {
  7978. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7979. }
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/Qhj/QueryAreaFinanceConfig": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. }
  7997. ],
  7998. "produces": [
  7999. "application/json"
  8000. ],
  8001. "tags": [
  8002. "大连千海金"
  8003. ],
  8004. "summary": "查询企业配置表",
  8005. "parameters": [
  8006. {
  8007. "type": "integer",
  8008. "description": "机构用户ID 其他做市关系,都设置为 1",
  8009. "name": "userid",
  8010. "in": "query"
  8011. }
  8012. ],
  8013. "responses": {
  8014. "200": {
  8015. "description": "OK",
  8016. "schema": {
  8017. "type": "array",
  8018. "items": {
  8019. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8020. }
  8021. }
  8022. },
  8023. "500": {
  8024. "description": "Internal Server Error",
  8025. "schema": {
  8026. "$ref": "#/definitions/app.Response"
  8027. }
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "/Qhj/QueryBankAccountSign": {
  8033. "get": {
  8034. "security": [
  8035. {
  8036. "ApiKeyAuth": []
  8037. }
  8038. ],
  8039. "produces": [
  8040. "application/json"
  8041. ],
  8042. "tags": [
  8043. "大连千海金"
  8044. ],
  8045. "summary": "查询签约银行信息(提现账户管理)",
  8046. "parameters": [
  8047. {
  8048. "type": "integer",
  8049. "description": "用户ID",
  8050. "name": "userid",
  8051. "in": "query",
  8052. "required": true
  8053. }
  8054. ],
  8055. "responses": {
  8056. "200": {
  8057. "description": "OK",
  8058. "schema": {
  8059. "type": "array",
  8060. "items": {
  8061. "$ref": "#/definitions/models.QhjBankAccountSign"
  8062. }
  8063. }
  8064. },
  8065. "500": {
  8066. "description": "Internal Server Error",
  8067. "schema": {
  8068. "$ref": "#/definitions/app.Response"
  8069. }
  8070. }
  8071. }
  8072. }
  8073. },
  8074. "/Qhj/QueryBankInfo": {
  8075. "get": {
  8076. "security": [
  8077. {
  8078. "ApiKeyAuth": []
  8079. }
  8080. ],
  8081. "produces": [
  8082. "application/json"
  8083. ],
  8084. "tags": [
  8085. "大连千海金"
  8086. ],
  8087. "summary": "查询开户行",
  8088. "responses": {
  8089. "200": {
  8090. "description": "OK",
  8091. "schema": {
  8092. "type": "array",
  8093. "items": {
  8094. "$ref": "#/definitions/models.QhjBankInfo"
  8095. }
  8096. }
  8097. },
  8098. "500": {
  8099. "description": "Internal Server Error",
  8100. "schema": {
  8101. "$ref": "#/definitions/app.Response"
  8102. }
  8103. }
  8104. }
  8105. }
  8106. },
  8107. "/Qhj/QueryBrokerApply": {
  8108. "get": {
  8109. "security": [
  8110. {
  8111. "ApiKeyAuth": []
  8112. }
  8113. ],
  8114. "produces": [
  8115. "application/json"
  8116. ],
  8117. "tags": [
  8118. "大连千海金"
  8119. ],
  8120. "summary": "查询经纪人申请",
  8121. "parameters": [
  8122. {
  8123. "type": "integer",
  8124. "description": "所属机构ID",
  8125. "name": "userid",
  8126. "in": "query"
  8127. },
  8128. {
  8129. "type": "string",
  8130. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8131. "name": "filterstatus",
  8132. "in": "query"
  8133. }
  8134. ],
  8135. "responses": {
  8136. "200": {
  8137. "description": "OK",
  8138. "schema": {
  8139. "type": "array",
  8140. "items": {
  8141. "$ref": "#/definitions/models.QhjBrokerApply"
  8142. }
  8143. }
  8144. },
  8145. "500": {
  8146. "description": "Internal Server Error",
  8147. "schema": {
  8148. "$ref": "#/definitions/app.Response"
  8149. }
  8150. }
  8151. }
  8152. }
  8153. },
  8154. "/Qhj/QueryBrokerApplyEx": {
  8155. "get": {
  8156. "security": [
  8157. {
  8158. "ApiKeyAuth": []
  8159. }
  8160. ],
  8161. "produces": [
  8162. "application/json"
  8163. ],
  8164. "tags": [
  8165. "大连千海金"
  8166. ],
  8167. "summary": "查询经纪人信息和申请记录",
  8168. "parameters": [
  8169. {
  8170. "type": "integer",
  8171. "description": "所属机构ID",
  8172. "name": "userid",
  8173. "in": "query"
  8174. }
  8175. ],
  8176. "responses": {
  8177. "200": {
  8178. "description": "OK",
  8179. "schema": {
  8180. "type": "array",
  8181. "items": {
  8182. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8183. }
  8184. }
  8185. },
  8186. "500": {
  8187. "description": "Internal Server Error",
  8188. "schema": {
  8189. "$ref": "#/definitions/app.Response"
  8190. }
  8191. }
  8192. }
  8193. }
  8194. },
  8195. "/Qhj/QueryBrokerRewardLog": {
  8196. "get": {
  8197. "security": [
  8198. {
  8199. "ApiKeyAuth": []
  8200. }
  8201. ],
  8202. "produces": [
  8203. "application/json"
  8204. ],
  8205. "tags": [
  8206. "大连千海金"
  8207. ],
  8208. "summary": "查询奖励流水(我的奖励)",
  8209. "parameters": [
  8210. {
  8211. "type": "integer",
  8212. "description": "用户ID",
  8213. "name": "userid",
  8214. "in": "query",
  8215. "required": true
  8216. },
  8217. {
  8218. "type": "string",
  8219. "description": "开始交易日(yyyymmdd)",
  8220. "name": "begindate",
  8221. "in": "query"
  8222. },
  8223. {
  8224. "type": "string",
  8225. "description": "结束交易日(yyyymmdd)",
  8226. "name": "enddate",
  8227. "in": "query"
  8228. }
  8229. ],
  8230. "responses": {
  8231. "200": {
  8232. "description": "OK",
  8233. "schema": {
  8234. "type": "array",
  8235. "items": {
  8236. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8237. }
  8238. }
  8239. },
  8240. "500": {
  8241. "description": "Internal Server Error",
  8242. "schema": {
  8243. "$ref": "#/definitions/app.Response"
  8244. }
  8245. }
  8246. }
  8247. }
  8248. },
  8249. "/Qhj/QueryContract": {
  8250. "get": {
  8251. "security": [
  8252. {
  8253. "ApiKeyAuth": []
  8254. }
  8255. ],
  8256. "produces": [
  8257. "application/json"
  8258. ],
  8259. "tags": [
  8260. "大连千海金"
  8261. ],
  8262. "summary": "查询融资明细(合同)",
  8263. "parameters": [
  8264. {
  8265. "type": "integer",
  8266. "description": "用户ID",
  8267. "name": "userid",
  8268. "in": "query"
  8269. },
  8270. {
  8271. "type": "integer",
  8272. "description": "scf合同id",
  8273. "name": "scfcontractid",
  8274. "in": "query"
  8275. }
  8276. ],
  8277. "responses": {
  8278. "200": {
  8279. "description": "OK",
  8280. "schema": {
  8281. "type": "array",
  8282. "items": {
  8283. "$ref": "#/definitions/models.QhjContract"
  8284. }
  8285. }
  8286. },
  8287. "500": {
  8288. "description": "Internal Server Error",
  8289. "schema": {
  8290. "$ref": "#/definitions/app.Response"
  8291. }
  8292. }
  8293. }
  8294. }
  8295. },
  8296. "/Qhj/QueryContractLog": {
  8297. "get": {
  8298. "security": [
  8299. {
  8300. "ApiKeyAuth": []
  8301. }
  8302. ],
  8303. "produces": [
  8304. "application/json"
  8305. ],
  8306. "tags": [
  8307. "大连千海金"
  8308. ],
  8309. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8310. "parameters": [
  8311. {
  8312. "type": "integer",
  8313. "description": "scf合同id",
  8314. "name": "scfcontractid",
  8315. "in": "query",
  8316. "required": true
  8317. },
  8318. {
  8319. "type": "string",
  8320. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8321. "name": "amounttype",
  8322. "in": "query"
  8323. }
  8324. ],
  8325. "responses": {
  8326. "200": {
  8327. "description": "OK",
  8328. "schema": {
  8329. "type": "array",
  8330. "items": {
  8331. "$ref": "#/definitions/models.QhjContractLog"
  8332. }
  8333. }
  8334. },
  8335. "500": {
  8336. "description": "Internal Server Error",
  8337. "schema": {
  8338. "$ref": "#/definitions/app.Response"
  8339. }
  8340. }
  8341. }
  8342. }
  8343. },
  8344. "/Qhj/QueryCusBankSignBank": {
  8345. "get": {
  8346. "security": [
  8347. {
  8348. "ApiKeyAuth": []
  8349. }
  8350. ],
  8351. "produces": [
  8352. "application/json"
  8353. ],
  8354. "tags": [
  8355. "大连千海金"
  8356. ],
  8357. "summary": "查询托管银行",
  8358. "responses": {
  8359. "200": {
  8360. "description": "OK",
  8361. "schema": {
  8362. "type": "array",
  8363. "items": {
  8364. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8365. }
  8366. }
  8367. },
  8368. "500": {
  8369. "description": "Internal Server Error",
  8370. "schema": {
  8371. "$ref": "#/definitions/app.Response"
  8372. }
  8373. }
  8374. }
  8375. }
  8376. },
  8377. "/Qhj/QueryCustomerInfo": {
  8378. "get": {
  8379. "security": [
  8380. {
  8381. "ApiKeyAuth": []
  8382. }
  8383. ],
  8384. "produces": [
  8385. "application/json"
  8386. ],
  8387. "tags": [
  8388. "大连千海金"
  8389. ],
  8390. "summary": "查询客户资料",
  8391. "parameters": [
  8392. {
  8393. "type": "integer",
  8394. "description": "用户ID",
  8395. "name": "userid",
  8396. "in": "query",
  8397. "required": true
  8398. },
  8399. {
  8400. "type": "integer",
  8401. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8402. "name": "querytype",
  8403. "in": "query",
  8404. "required": true
  8405. },
  8406. {
  8407. "type": "integer",
  8408. "description": "客户类型 1-个人 2-企业",
  8409. "name": "userinfotype",
  8410. "in": "query"
  8411. },
  8412. {
  8413. "type": "string",
  8414. "description": "客户名称(模糊匹配)",
  8415. "name": "customername",
  8416. "in": "query"
  8417. },
  8418. {
  8419. "type": "string",
  8420. "description": "昵称(模糊匹配)",
  8421. "name": "nickname",
  8422. "in": "query"
  8423. },
  8424. {
  8425. "type": "integer",
  8426. "description": "是否包含子级 1-包含",
  8427. "name": "includesub",
  8428. "in": "query"
  8429. }
  8430. ],
  8431. "responses": {
  8432. "200": {
  8433. "description": "OK",
  8434. "schema": {
  8435. "type": "array",
  8436. "items": {
  8437. "$ref": "#/definitions/models.QhjCustomer"
  8438. }
  8439. }
  8440. },
  8441. "500": {
  8442. "description": "Internal Server Error",
  8443. "schema": {
  8444. "$ref": "#/definitions/app.Response"
  8445. }
  8446. }
  8447. }
  8448. }
  8449. },
  8450. "/Qhj/QueryGoodsEx": {
  8451. "get": {
  8452. "security": [
  8453. {
  8454. "ApiKeyAuth": []
  8455. }
  8456. ],
  8457. "produces": [
  8458. "application/json"
  8459. ],
  8460. "tags": [
  8461. "大连千海金"
  8462. ],
  8463. "summary": "交易商品扩展表",
  8464. "parameters": [
  8465. {
  8466. "type": "integer",
  8467. "description": "商品id",
  8468. "name": "goodsid",
  8469. "in": "query"
  8470. }
  8471. ],
  8472. "responses": {
  8473. "200": {
  8474. "description": "OK",
  8475. "schema": {
  8476. "type": "array",
  8477. "items": {
  8478. "$ref": "#/definitions/models.Qhjgoodsex"
  8479. }
  8480. }
  8481. },
  8482. "500": {
  8483. "description": "Internal Server Error",
  8484. "schema": {
  8485. "$ref": "#/definitions/app.Response"
  8486. }
  8487. }
  8488. }
  8489. }
  8490. },
  8491. "/Qhj/QueryMyTeam": {
  8492. "get": {
  8493. "security": [
  8494. {
  8495. "ApiKeyAuth": []
  8496. }
  8497. ],
  8498. "produces": [
  8499. "application/json"
  8500. ],
  8501. "tags": [
  8502. "大连千海金"
  8503. ],
  8504. "summary": "查询我的团队",
  8505. "parameters": [
  8506. {
  8507. "type": "integer",
  8508. "description": "用户ID",
  8509. "name": "userid",
  8510. "in": "query",
  8511. "required": true
  8512. }
  8513. ],
  8514. "responses": {
  8515. "200": {
  8516. "description": "OK",
  8517. "schema": {
  8518. "type": "array",
  8519. "items": {
  8520. "$ref": "#/definitions/models.QhjMyTeamEx"
  8521. }
  8522. }
  8523. },
  8524. "500": {
  8525. "description": "Internal Server Error",
  8526. "schema": {
  8527. "$ref": "#/definitions/app.Response"
  8528. }
  8529. }
  8530. }
  8531. }
  8532. },
  8533. "/Qhj/QueryMyTeamOrder": {
  8534. "get": {
  8535. "security": [
  8536. {
  8537. "ApiKeyAuth": []
  8538. }
  8539. ],
  8540. "produces": [
  8541. "application/json"
  8542. ],
  8543. "tags": [
  8544. "大连千海金"
  8545. ],
  8546. "summary": "查询团队订单(我的团队/团队订单)",
  8547. "parameters": [
  8548. {
  8549. "type": "integer",
  8550. "description": "页码",
  8551. "name": "page",
  8552. "in": "query"
  8553. },
  8554. {
  8555. "type": "integer",
  8556. "description": "每页条数",
  8557. "name": "pagesize",
  8558. "in": "query"
  8559. },
  8560. {
  8561. "type": "integer",
  8562. "description": "用户ID",
  8563. "name": "userid",
  8564. "in": "query",
  8565. "required": true
  8566. },
  8567. {
  8568. "type": "integer",
  8569. "description": "交易模式",
  8570. "name": "trademode",
  8571. "in": "query"
  8572. },
  8573. {
  8574. "type": "string",
  8575. "description": "名称(模糊搜索账户)",
  8576. "name": "filtername",
  8577. "in": "query"
  8578. }
  8579. ],
  8580. "responses": {
  8581. "200": {
  8582. "description": "OK",
  8583. "schema": {
  8584. "type": "array",
  8585. "items": {
  8586. "$ref": "#/definitions/models.QhjTeamOrder"
  8587. }
  8588. }
  8589. },
  8590. "500": {
  8591. "description": "Internal Server Error",
  8592. "schema": {
  8593. "$ref": "#/definitions/app.Response"
  8594. }
  8595. }
  8596. }
  8597. }
  8598. },
  8599. "/Qhj/QueryParentAreaList": {
  8600. "get": {
  8601. "security": [
  8602. {
  8603. "ApiKeyAuth": []
  8604. }
  8605. ],
  8606. "produces": [
  8607. "application/json"
  8608. ],
  8609. "tags": [
  8610. "大连千海金"
  8611. ],
  8612. "summary": "查询所属机构列表",
  8613. "parameters": [
  8614. {
  8615. "type": "integer",
  8616. "description": "用户ID",
  8617. "name": "userid",
  8618. "in": "query",
  8619. "required": true
  8620. }
  8621. ],
  8622. "responses": {
  8623. "200": {
  8624. "description": "OK",
  8625. "schema": {
  8626. "type": "array",
  8627. "items": {
  8628. "$ref": "#/definitions/models.QhjParentAreaList"
  8629. }
  8630. }
  8631. },
  8632. "500": {
  8633. "description": "Internal Server Error",
  8634. "schema": {
  8635. "$ref": "#/definitions/app.Response"
  8636. }
  8637. }
  8638. }
  8639. }
  8640. },
  8641. "/Qhj/QueryPayOrder": {
  8642. "get": {
  8643. "security": [
  8644. {
  8645. "ApiKeyAuth": []
  8646. }
  8647. ],
  8648. "produces": [
  8649. "application/json"
  8650. ],
  8651. "tags": [
  8652. "大连千海金"
  8653. ],
  8654. "summary": "查询待付款单据",
  8655. "parameters": [
  8656. {
  8657. "type": "integer",
  8658. "description": "资金账号id",
  8659. "name": "accountid",
  8660. "in": "query",
  8661. "required": true
  8662. },
  8663. {
  8664. "type": "integer",
  8665. "description": "成交单号",
  8666. "name": "tradeid",
  8667. "in": "query"
  8668. },
  8669. {
  8670. "type": "string",
  8671. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8672. "name": "payflag",
  8673. "in": "query"
  8674. }
  8675. ],
  8676. "responses": {
  8677. "200": {
  8678. "description": "OK",
  8679. "schema": {
  8680. "type": "array",
  8681. "items": {
  8682. "$ref": "#/definitions/models.QhjPayOrder"
  8683. }
  8684. }
  8685. },
  8686. "500": {
  8687. "description": "Internal Server Error",
  8688. "schema": {
  8689. "$ref": "#/definitions/app.Response"
  8690. }
  8691. }
  8692. }
  8693. }
  8694. },
  8695. "/Qhj/QueryPickArea": {
  8696. "get": {
  8697. "security": [
  8698. {
  8699. "ApiKeyAuth": []
  8700. }
  8701. ],
  8702. "produces": [
  8703. "application/json"
  8704. ],
  8705. "tags": [
  8706. "大连千海金"
  8707. ],
  8708. "summary": "查询提货门店",
  8709. "parameters": [
  8710. {
  8711. "type": "integer",
  8712. "description": "用户ID",
  8713. "name": "userid",
  8714. "in": "query"
  8715. }
  8716. ],
  8717. "responses": {
  8718. "200": {
  8719. "description": "OK",
  8720. "schema": {
  8721. "type": "array",
  8722. "items": {
  8723. "$ref": "#/definitions/models.QhjPickArea"
  8724. }
  8725. }
  8726. },
  8727. "500": {
  8728. "description": "Internal Server Error",
  8729. "schema": {
  8730. "$ref": "#/definitions/app.Response"
  8731. }
  8732. }
  8733. }
  8734. }
  8735. },
  8736. "/Qhj/QueryPickGoods": {
  8737. "get": {
  8738. "security": [
  8739. {
  8740. "ApiKeyAuth": []
  8741. }
  8742. ],
  8743. "produces": [
  8744. "application/json"
  8745. ],
  8746. "tags": [
  8747. "大连千海金"
  8748. ],
  8749. "summary": "查询提货商品",
  8750. "parameters": [
  8751. {
  8752. "type": "integer",
  8753. "description": "交易商品id",
  8754. "name": "goodsid",
  8755. "in": "query",
  8756. "required": true
  8757. },
  8758. {
  8759. "type": "string",
  8760. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8761. "name": "status",
  8762. "in": "query"
  8763. }
  8764. ],
  8765. "responses": {
  8766. "200": {
  8767. "description": "OK",
  8768. "schema": {
  8769. "type": "array",
  8770. "items": {
  8771. "$ref": "#/definitions/models.QhjPickGoods"
  8772. }
  8773. }
  8774. },
  8775. "500": {
  8776. "description": "Internal Server Error",
  8777. "schema": {
  8778. "$ref": "#/definitions/app.Response"
  8779. }
  8780. }
  8781. }
  8782. }
  8783. },
  8784. "/Qhj/QueryRSTriggerLog": {
  8785. "get": {
  8786. "security": [
  8787. {
  8788. "ApiKeyAuth": []
  8789. }
  8790. ],
  8791. "produces": [
  8792. "application/json"
  8793. ],
  8794. "tags": [
  8795. "大连千海金"
  8796. ],
  8797. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8798. "parameters": [
  8799. {
  8800. "type": "integer",
  8801. "description": "用户ID",
  8802. "name": "userid",
  8803. "in": "query"
  8804. },
  8805. {
  8806. "type": "integer",
  8807. "description": "定投策略id",
  8808. "name": "regularlystrategyid",
  8809. "in": "query"
  8810. },
  8811. {
  8812. "type": "integer",
  8813. "description": "商品id",
  8814. "name": "goodsid",
  8815. "in": "query"
  8816. },
  8817. {
  8818. "type": "string",
  8819. "description": "开始交易日(yyyymmdd)",
  8820. "name": "begindate",
  8821. "in": "query"
  8822. },
  8823. {
  8824. "type": "string",
  8825. "description": "结束交易日(yyyymmdd)",
  8826. "name": "enddate",
  8827. "in": "query"
  8828. },
  8829. {
  8830. "type": "string",
  8831. "description": "名称(模糊搜索账户)",
  8832. "name": "filtername",
  8833. "in": "query"
  8834. }
  8835. ],
  8836. "responses": {
  8837. "200": {
  8838. "description": "OK",
  8839. "schema": {
  8840. "type": "array",
  8841. "items": {
  8842. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8843. }
  8844. }
  8845. },
  8846. "500": {
  8847. "description": "Internal Server Error",
  8848. "schema": {
  8849. "$ref": "#/definitions/app.Response"
  8850. }
  8851. }
  8852. }
  8853. }
  8854. },
  8855. "/Qhj/QueryRStrategy": {
  8856. "get": {
  8857. "security": [
  8858. {
  8859. "ApiKeyAuth": []
  8860. }
  8861. ],
  8862. "produces": [
  8863. "application/json"
  8864. ],
  8865. "tags": [
  8866. "大连千海金"
  8867. ],
  8868. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8869. "parameters": [
  8870. {
  8871. "type": "integer",
  8872. "description": "用户ID",
  8873. "name": "userid",
  8874. "in": "query"
  8875. },
  8876. {
  8877. "type": "integer",
  8878. "description": "商品id",
  8879. "name": "goodsid",
  8880. "in": "query"
  8881. },
  8882. {
  8883. "type": "string",
  8884. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8885. "name": "status",
  8886. "in": "query"
  8887. },
  8888. {
  8889. "type": "string",
  8890. "description": "名称(模糊搜索账户)",
  8891. "name": "filtername",
  8892. "in": "query"
  8893. }
  8894. ],
  8895. "responses": {
  8896. "200": {
  8897. "description": "OK",
  8898. "schema": {
  8899. "type": "array",
  8900. "items": {
  8901. "$ref": "#/definitions/models.QhjRStrategy"
  8902. }
  8903. }
  8904. },
  8905. "500": {
  8906. "description": "Internal Server Error",
  8907. "schema": {
  8908. "$ref": "#/definitions/app.Response"
  8909. }
  8910. }
  8911. }
  8912. }
  8913. },
  8914. "/Qhj/QueryReckonPriceLog": {
  8915. "get": {
  8916. "security": [
  8917. {
  8918. "ApiKeyAuth": []
  8919. }
  8920. ],
  8921. "produces": [
  8922. "application/json"
  8923. ],
  8924. "tags": [
  8925. "大连千海金"
  8926. ],
  8927. "summary": "查询定投价(结算价)",
  8928. "parameters": [
  8929. {
  8930. "type": "integer",
  8931. "description": "商品ID",
  8932. "name": "goodsid",
  8933. "in": "query"
  8934. },
  8935. {
  8936. "type": "string",
  8937. "description": "交易日 格式(yyyymmdd)",
  8938. "name": "tradedate",
  8939. "in": "query"
  8940. }
  8941. ],
  8942. "responses": {
  8943. "200": {
  8944. "description": "OK",
  8945. "schema": {
  8946. "type": "array",
  8947. "items": {
  8948. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8949. }
  8950. }
  8951. },
  8952. "500": {
  8953. "description": "Internal Server Error",
  8954. "schema": {
  8955. "$ref": "#/definitions/app.Response"
  8956. }
  8957. }
  8958. }
  8959. }
  8960. },
  8961. "/Qhj/QueryScoreLog": {
  8962. "get": {
  8963. "security": [
  8964. {
  8965. "ApiKeyAuth": []
  8966. }
  8967. ],
  8968. "produces": [
  8969. "application/json"
  8970. ],
  8971. "tags": [
  8972. "大连千海金"
  8973. ],
  8974. "summary": "查询积分流水(我的积分)",
  8975. "parameters": [
  8976. {
  8977. "type": "integer",
  8978. "description": "用户ID",
  8979. "name": "userid",
  8980. "in": "query",
  8981. "required": true
  8982. },
  8983. {
  8984. "type": "string",
  8985. "description": "开始交易日(yyyymmdd)",
  8986. "name": "begindate",
  8987. "in": "query"
  8988. },
  8989. {
  8990. "type": "string",
  8991. "description": "结束交易日(yyyymmdd)",
  8992. "name": "enddate",
  8993. "in": "query"
  8994. },
  8995. {
  8996. "type": "integer",
  8997. "description": "最近多少条",
  8998. "name": "lastnum",
  8999. "in": "query"
  9000. }
  9001. ],
  9002. "responses": {
  9003. "200": {
  9004. "description": "OK",
  9005. "schema": {
  9006. "type": "array",
  9007. "items": {
  9008. "$ref": "#/definitions/models.QhjScoreLog"
  9009. }
  9010. }
  9011. },
  9012. "500": {
  9013. "description": "Internal Server Error",
  9014. "schema": {
  9015. "$ref": "#/definitions/app.Response"
  9016. }
  9017. }
  9018. }
  9019. }
  9020. },
  9021. "/Qhj/QuerySiteColumnDetail": {
  9022. "get": {
  9023. "security": [
  9024. {
  9025. "ApiKeyAuth": []
  9026. }
  9027. ],
  9028. "produces": [
  9029. "application/json"
  9030. ],
  9031. "tags": [
  9032. "大连千海金"
  9033. ],
  9034. "summary": "查询资讯",
  9035. "parameters": [
  9036. {
  9037. "type": "integer",
  9038. "description": "用户ID",
  9039. "name": "userid",
  9040. "in": "query",
  9041. "required": true
  9042. }
  9043. ],
  9044. "responses": {
  9045. "200": {
  9046. "description": "OK",
  9047. "schema": {
  9048. "type": "array",
  9049. "items": {
  9050. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9051. }
  9052. }
  9053. },
  9054. "500": {
  9055. "description": "Internal Server Error",
  9056. "schema": {
  9057. "$ref": "#/definitions/app.Response"
  9058. }
  9059. }
  9060. }
  9061. }
  9062. },
  9063. "/Qhj/QueryTradeGoodsPickup": {
  9064. "get": {
  9065. "security": [
  9066. {
  9067. "ApiKeyAuth": []
  9068. }
  9069. ],
  9070. "produces": [
  9071. "application/json"
  9072. ],
  9073. "tags": [
  9074. "大连千海金"
  9075. ],
  9076. "summary": "查询提货",
  9077. "parameters": [
  9078. {
  9079. "type": "integer",
  9080. "description": "用户ID",
  9081. "name": "userid",
  9082. "in": "query",
  9083. "required": true
  9084. },
  9085. {
  9086. "type": "integer",
  9087. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9088. "name": "takeorderstatus",
  9089. "in": "query"
  9090. }
  9091. ],
  9092. "responses": {
  9093. "200": {
  9094. "description": "OK",
  9095. "schema": {
  9096. "type": "array",
  9097. "items": {
  9098. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9099. }
  9100. }
  9101. },
  9102. "500": {
  9103. "description": "Internal Server Error",
  9104. "schema": {
  9105. "$ref": "#/definitions/app.Response"
  9106. }
  9107. }
  9108. }
  9109. }
  9110. },
  9111. "/Qhj/QueryUserCollectConfig": {
  9112. "get": {
  9113. "security": [
  9114. {
  9115. "ApiKeyAuth": []
  9116. }
  9117. ],
  9118. "produces": [
  9119. "application/json"
  9120. ],
  9121. "tags": [
  9122. "大连千海金"
  9123. ],
  9124. "summary": "查询提现账户设置",
  9125. "parameters": [
  9126. {
  9127. "type": "integer",
  9128. "description": "用户ID",
  9129. "name": "userid",
  9130. "in": "query",
  9131. "required": true
  9132. }
  9133. ],
  9134. "responses": {
  9135. "200": {
  9136. "description": "OK",
  9137. "schema": {
  9138. "type": "array",
  9139. "items": {
  9140. "$ref": "#/definitions/models.UserCollectConfig"
  9141. }
  9142. }
  9143. },
  9144. "500": {
  9145. "description": "Internal Server Error",
  9146. "schema": {
  9147. "$ref": "#/definitions/app.Response"
  9148. }
  9149. }
  9150. }
  9151. }
  9152. },
  9153. "/Qhj/QueryUserReceiveInfo": {
  9154. "get": {
  9155. "security": [
  9156. {
  9157. "ApiKeyAuth": []
  9158. }
  9159. ],
  9160. "produces": [
  9161. "application/json"
  9162. ],
  9163. "tags": [
  9164. "大连千海金"
  9165. ],
  9166. "summary": "查询收货地址信息",
  9167. "parameters": [
  9168. {
  9169. "type": "integer",
  9170. "description": "用户ID",
  9171. "name": "userid",
  9172. "in": "query",
  9173. "required": true
  9174. }
  9175. ],
  9176. "responses": {
  9177. "200": {
  9178. "description": "OK",
  9179. "schema": {
  9180. "type": "array",
  9181. "items": {
  9182. "$ref": "#/definitions/models.UserReceiveInfo"
  9183. }
  9184. }
  9185. },
  9186. "500": {
  9187. "description": "Internal Server Error",
  9188. "schema": {
  9189. "$ref": "#/definitions/app.Response"
  9190. }
  9191. }
  9192. }
  9193. }
  9194. },
  9195. "/QhjMgr/QueryAccountInOutApply": {
  9196. "get": {
  9197. "security": [
  9198. {
  9199. "ApiKeyAuth": []
  9200. }
  9201. ],
  9202. "produces": [
  9203. "application/json"
  9204. ],
  9205. "tags": [
  9206. "大连千海金(PCWeb)"
  9207. ],
  9208. "summary": "查询充值提现",
  9209. "parameters": [
  9210. {
  9211. "type": "integer",
  9212. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9213. "name": "querytype",
  9214. "in": "query",
  9215. "required": true
  9216. },
  9217. {
  9218. "type": "integer",
  9219. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9220. "name": "applystatus",
  9221. "in": "query"
  9222. },
  9223. {
  9224. "type": "string",
  9225. "description": "申请起始日期(格式yyyymmdd)",
  9226. "name": "begindate",
  9227. "in": "query"
  9228. },
  9229. {
  9230. "type": "string",
  9231. "description": "申请截止日期(格式yyyymmdd)",
  9232. "name": "enddate",
  9233. "in": "query"
  9234. },
  9235. {
  9236. "type": "string",
  9237. "description": "模糊搜索名称",
  9238. "name": "likename",
  9239. "in": "query"
  9240. }
  9241. ],
  9242. "responses": {
  9243. "200": {
  9244. "description": "OK",
  9245. "schema": {
  9246. "type": "array",
  9247. "items": {
  9248. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9249. }
  9250. }
  9251. },
  9252. "500": {
  9253. "description": "Internal Server Error",
  9254. "schema": {
  9255. "$ref": "#/definitions/app.Response"
  9256. }
  9257. }
  9258. }
  9259. }
  9260. },
  9261. "/QhjMgr/QueryBrokerApply": {
  9262. "get": {
  9263. "security": [
  9264. {
  9265. "ApiKeyAuth": []
  9266. }
  9267. ],
  9268. "produces": [
  9269. "application/json"
  9270. ],
  9271. "tags": [
  9272. "大连千海金(PCWeb)"
  9273. ],
  9274. "summary": "查询经纪人申请",
  9275. "parameters": [
  9276. {
  9277. "type": "integer",
  9278. "description": "所属机构ID",
  9279. "name": "userid",
  9280. "in": "query"
  9281. },
  9282. {
  9283. "type": "string",
  9284. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9285. "name": "filterstatus",
  9286. "in": "query"
  9287. },
  9288. {
  9289. "type": "string",
  9290. "description": "名称(模糊匹配)",
  9291. "name": "filtername",
  9292. "in": "query"
  9293. },
  9294. {
  9295. "type": "integer",
  9296. "description": "是否包含子级 1-包含",
  9297. "name": "includesub",
  9298. "in": "query"
  9299. }
  9300. ],
  9301. "responses": {
  9302. "200": {
  9303. "description": "OK",
  9304. "schema": {
  9305. "type": "array",
  9306. "items": {
  9307. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9308. }
  9309. }
  9310. },
  9311. "500": {
  9312. "description": "Internal Server Error",
  9313. "schema": {
  9314. "$ref": "#/definitions/app.Response"
  9315. }
  9316. }
  9317. }
  9318. }
  9319. },
  9320. "/QhjMgr/QueryBrokerRewardReport": {
  9321. "get": {
  9322. "security": [
  9323. {
  9324. "ApiKeyAuth": []
  9325. }
  9326. ],
  9327. "produces": [
  9328. "application/json"
  9329. ],
  9330. "tags": [
  9331. "大连千海金(PCWeb)"
  9332. ],
  9333. "summary": "查询经纪人奖励报表(废弃)",
  9334. "parameters": [
  9335. {
  9336. "type": "integer",
  9337. "description": "所属机构ID",
  9338. "name": "userid",
  9339. "in": "query",
  9340. "required": true
  9341. },
  9342. {
  9343. "type": "integer",
  9344. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9345. "name": "cycletype",
  9346. "in": "query",
  9347. "required": true
  9348. },
  9349. {
  9350. "type": "string",
  9351. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9352. "name": "cycletime",
  9353. "in": "query",
  9354. "required": true
  9355. },
  9356. {
  9357. "type": "string",
  9358. "description": "名称(模糊匹配)",
  9359. "name": "filtername",
  9360. "in": "query"
  9361. },
  9362. {
  9363. "type": "integer",
  9364. "description": "是否包含子级 1-包含",
  9365. "name": "includesub",
  9366. "in": "query"
  9367. }
  9368. ],
  9369. "responses": {
  9370. "200": {
  9371. "description": "OK",
  9372. "schema": {
  9373. "type": "array",
  9374. "items": {
  9375. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9376. }
  9377. }
  9378. },
  9379. "500": {
  9380. "description": "Internal Server Error",
  9381. "schema": {
  9382. "$ref": "#/definitions/app.Response"
  9383. }
  9384. }
  9385. }
  9386. }
  9387. },
  9388. "/QhjMgr/QueryContract": {
  9389. "get": {
  9390. "security": [
  9391. {
  9392. "ApiKeyAuth": []
  9393. }
  9394. ],
  9395. "produces": [
  9396. "application/json"
  9397. ],
  9398. "tags": [
  9399. "大连千海金(PCWeb)"
  9400. ],
  9401. "summary": "查询融资信息(合同)",
  9402. "parameters": [
  9403. {
  9404. "type": "integer",
  9405. "description": "用户ID",
  9406. "name": "userid",
  9407. "in": "query"
  9408. },
  9409. {
  9410. "type": "integer",
  9411. "description": "商品id",
  9412. "name": "goodsid",
  9413. "in": "query"
  9414. },
  9415. {
  9416. "type": "string",
  9417. "description": "名称(模糊搜索账户)",
  9418. "name": "filtername",
  9419. "in": "query"
  9420. },
  9421. {
  9422. "type": "string",
  9423. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9424. "name": "risklevel",
  9425. "in": "query"
  9426. },
  9427. {
  9428. "type": "string",
  9429. "description": "开始交易日(yyyymmdd)",
  9430. "name": "begindate",
  9431. "in": "query"
  9432. },
  9433. {
  9434. "type": "string",
  9435. "description": "结束交易日(yyyymmdd)",
  9436. "name": "enddate",
  9437. "in": "query"
  9438. }
  9439. ],
  9440. "responses": {
  9441. "200": {
  9442. "description": "OK",
  9443. "schema": {
  9444. "type": "array",
  9445. "items": {
  9446. "$ref": "#/definitions/models.QhjMgrContract"
  9447. }
  9448. }
  9449. },
  9450. "500": {
  9451. "description": "Internal Server Error",
  9452. "schema": {
  9453. "$ref": "#/definitions/app.Response"
  9454. }
  9455. }
  9456. }
  9457. }
  9458. },
  9459. "/QhjMgr/QueryCustomerInfo": {
  9460. "get": {
  9461. "security": [
  9462. {
  9463. "ApiKeyAuth": []
  9464. }
  9465. ],
  9466. "produces": [
  9467. "application/json"
  9468. ],
  9469. "tags": [
  9470. "大连千海金(PCWeb)"
  9471. ],
  9472. "summary": "查询客户资料",
  9473. "parameters": [
  9474. {
  9475. "type": "integer",
  9476. "description": "用户ID",
  9477. "name": "userid",
  9478. "in": "query",
  9479. "required": true
  9480. },
  9481. {
  9482. "type": "integer",
  9483. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9484. "name": "querytype",
  9485. "in": "query",
  9486. "required": true
  9487. },
  9488. {
  9489. "type": "integer",
  9490. "description": "客户类型 1-个人 2-企业",
  9491. "name": "userinfotype",
  9492. "in": "query"
  9493. },
  9494. {
  9495. "type": "string",
  9496. "description": "客户名称(模糊匹配)",
  9497. "name": "customername",
  9498. "in": "query"
  9499. },
  9500. {
  9501. "type": "string",
  9502. "description": "昵称(模糊匹配)",
  9503. "name": "nickname",
  9504. "in": "query"
  9505. },
  9506. {
  9507. "type": "string",
  9508. "description": "所属客户经理(模糊匹配)",
  9509. "name": "brokername",
  9510. "in": "query"
  9511. },
  9512. {
  9513. "type": "string",
  9514. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9515. "name": "birthday",
  9516. "in": "query"
  9517. },
  9518. {
  9519. "type": "integer",
  9520. "description": "是否包含子级 1-包含",
  9521. "name": "includesub",
  9522. "in": "query"
  9523. }
  9524. ],
  9525. "responses": {
  9526. "200": {
  9527. "description": "OK",
  9528. "schema": {
  9529. "type": "array",
  9530. "items": {
  9531. "$ref": "#/definitions/models.QhjMgrCustomer"
  9532. }
  9533. }
  9534. },
  9535. "500": {
  9536. "description": "Internal Server Error",
  9537. "schema": {
  9538. "$ref": "#/definitions/app.Response"
  9539. }
  9540. }
  9541. }
  9542. }
  9543. },
  9544. "/QhjMgr/QueryPickGoods": {
  9545. "get": {
  9546. "security": [
  9547. {
  9548. "ApiKeyAuth": []
  9549. }
  9550. ],
  9551. "produces": [
  9552. "application/json"
  9553. ],
  9554. "tags": [
  9555. "大连千海金(PCWeb)"
  9556. ],
  9557. "summary": "查询提货商品",
  9558. "parameters": [
  9559. {
  9560. "type": "string",
  9561. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9562. "name": "status",
  9563. "in": "query"
  9564. }
  9565. ],
  9566. "responses": {
  9567. "200": {
  9568. "description": "OK",
  9569. "schema": {
  9570. "type": "array",
  9571. "items": {
  9572. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9573. }
  9574. }
  9575. },
  9576. "500": {
  9577. "description": "Internal Server Error",
  9578. "schema": {
  9579. "$ref": "#/definitions/app.Response"
  9580. }
  9581. }
  9582. }
  9583. }
  9584. },
  9585. "/QhjMgr/QuerySubArea": {
  9586. "get": {
  9587. "security": [
  9588. {
  9589. "ApiKeyAuth": []
  9590. }
  9591. ],
  9592. "produces": [
  9593. "application/json"
  9594. ],
  9595. "tags": [
  9596. "大连千海金(PCWeb)"
  9597. ],
  9598. "summary": "查询子机构列表",
  9599. "parameters": [
  9600. {
  9601. "type": "integer",
  9602. "description": "用户ID",
  9603. "name": "userid",
  9604. "in": "query",
  9605. "required": true
  9606. }
  9607. ],
  9608. "responses": {
  9609. "200": {
  9610. "description": "OK",
  9611. "schema": {
  9612. "type": "array",
  9613. "items": {
  9614. "$ref": "#/definitions/models.QhjMgrSubArea"
  9615. }
  9616. }
  9617. },
  9618. "500": {
  9619. "description": "Internal Server Error",
  9620. "schema": {
  9621. "$ref": "#/definitions/app.Response"
  9622. }
  9623. }
  9624. }
  9625. }
  9626. },
  9627. "/QhjMgr/QueryTradeDetail": {
  9628. "get": {
  9629. "security": [
  9630. {
  9631. "ApiKeyAuth": []
  9632. }
  9633. ],
  9634. "produces": [
  9635. "application/json"
  9636. ],
  9637. "tags": [
  9638. "大连千海金(PCWeb)"
  9639. ],
  9640. "summary": "查询成交明细",
  9641. "parameters": [
  9642. {
  9643. "type": "integer",
  9644. "description": "用户ID",
  9645. "name": "userid",
  9646. "in": "query",
  9647. "required": true
  9648. },
  9649. {
  9650. "type": "integer",
  9651. "description": "用户类型 1-个人 2-企业",
  9652. "name": "userinfotype",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "integer",
  9657. "description": "交易模式",
  9658. "name": "trademode",
  9659. "in": "query"
  9660. },
  9661. {
  9662. "type": "integer",
  9663. "description": "商品id",
  9664. "name": "goodsid",
  9665. "in": "query"
  9666. },
  9667. {
  9668. "type": "string",
  9669. "description": "名称(模糊搜索账户)",
  9670. "name": "filtername",
  9671. "in": "query"
  9672. },
  9673. {
  9674. "type": "string",
  9675. "description": "开始交易日(yyyymmdd)",
  9676. "name": "begindate",
  9677. "in": "query"
  9678. },
  9679. {
  9680. "type": "string",
  9681. "description": "结束交易日(yyyymmdd)",
  9682. "name": "enddate",
  9683. "in": "query"
  9684. },
  9685. {
  9686. "type": "integer",
  9687. "description": "是否包含子级 1-包含",
  9688. "name": "includesub",
  9689. "in": "query"
  9690. }
  9691. ],
  9692. "responses": {
  9693. "200": {
  9694. "description": "OK",
  9695. "schema": {
  9696. "type": "array",
  9697. "items": {
  9698. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9699. }
  9700. }
  9701. },
  9702. "500": {
  9703. "description": "Internal Server Error",
  9704. "schema": {
  9705. "$ref": "#/definitions/app.Response"
  9706. }
  9707. }
  9708. }
  9709. }
  9710. },
  9711. "/QhjMgr/QueryTradeOrderDetail": {
  9712. "get": {
  9713. "security": [
  9714. {
  9715. "ApiKeyAuth": []
  9716. }
  9717. ],
  9718. "produces": [
  9719. "application/json"
  9720. ],
  9721. "tags": [
  9722. "大连千海金(PCWeb)"
  9723. ],
  9724. "summary": "查询委托明细",
  9725. "parameters": [
  9726. {
  9727. "type": "integer",
  9728. "description": "用户ID",
  9729. "name": "userid",
  9730. "in": "query",
  9731. "required": true
  9732. },
  9733. {
  9734. "type": "integer",
  9735. "description": "用户类型 1-个人 2-企业",
  9736. "name": "userinfotype",
  9737. "in": "query"
  9738. },
  9739. {
  9740. "type": "integer",
  9741. "description": "交易模式",
  9742. "name": "trademode",
  9743. "in": "query"
  9744. },
  9745. {
  9746. "type": "integer",
  9747. "description": "商品id",
  9748. "name": "goodsid",
  9749. "in": "query"
  9750. },
  9751. {
  9752. "type": "string",
  9753. "description": "名称(模糊搜索账户)",
  9754. "name": "filtername",
  9755. "in": "query"
  9756. },
  9757. {
  9758. "type": "string",
  9759. "description": "开始交易日(yyyymmdd)",
  9760. "name": "begindate",
  9761. "in": "query"
  9762. },
  9763. {
  9764. "type": "string",
  9765. "description": "结束交易日(yyyymmdd)",
  9766. "name": "enddate",
  9767. "in": "query"
  9768. },
  9769. {
  9770. "type": "integer",
  9771. "description": "是否包含子级 1-包含",
  9772. "name": "includesub",
  9773. "in": "query"
  9774. }
  9775. ],
  9776. "responses": {
  9777. "200": {
  9778. "description": "OK",
  9779. "schema": {
  9780. "type": "array",
  9781. "items": {
  9782. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9783. }
  9784. }
  9785. },
  9786. "500": {
  9787. "description": "Internal Server Error",
  9788. "schema": {
  9789. "$ref": "#/definitions/app.Response"
  9790. }
  9791. }
  9792. }
  9793. }
  9794. },
  9795. "/QhjMgr/QueryTradePayOrder": {
  9796. "get": {
  9797. "security": [
  9798. {
  9799. "ApiKeyAuth": []
  9800. }
  9801. ],
  9802. "produces": [
  9803. "application/json"
  9804. ],
  9805. "tags": [
  9806. "大连千海金(PCWeb)"
  9807. ],
  9808. "summary": "查询待付款单",
  9809. "parameters": [
  9810. {
  9811. "type": "integer",
  9812. "description": "用户ID",
  9813. "name": "userid",
  9814. "in": "query",
  9815. "required": true
  9816. },
  9817. {
  9818. "type": "string",
  9819. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9820. "name": "payflag",
  9821. "in": "query"
  9822. },
  9823. {
  9824. "type": "integer",
  9825. "description": "用户类型 1-个人 2-企业",
  9826. "name": "userinfotype",
  9827. "in": "query"
  9828. },
  9829. {
  9830. "type": "integer",
  9831. "description": "交易模式",
  9832. "name": "trademode",
  9833. "in": "query"
  9834. },
  9835. {
  9836. "type": "integer",
  9837. "description": "商品id",
  9838. "name": "goodsid",
  9839. "in": "query"
  9840. },
  9841. {
  9842. "type": "string",
  9843. "description": "名称(模糊搜索账户)",
  9844. "name": "filtername",
  9845. "in": "query"
  9846. },
  9847. {
  9848. "type": "string",
  9849. "description": "开始交易日(yyyymmdd)",
  9850. "name": "begindate",
  9851. "in": "query"
  9852. },
  9853. {
  9854. "type": "string",
  9855. "description": "结束交易日(yyyymmdd)",
  9856. "name": "enddate",
  9857. "in": "query"
  9858. },
  9859. {
  9860. "type": "integer",
  9861. "description": "是否包含子级 1-包含",
  9862. "name": "includesub",
  9863. "in": "query"
  9864. }
  9865. ],
  9866. "responses": {
  9867. "200": {
  9868. "description": "OK",
  9869. "schema": {
  9870. "type": "array",
  9871. "items": {
  9872. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9873. }
  9874. }
  9875. },
  9876. "500": {
  9877. "description": "Internal Server Error",
  9878. "schema": {
  9879. "$ref": "#/definitions/app.Response"
  9880. }
  9881. }
  9882. }
  9883. }
  9884. },
  9885. "/QhjMgr/QueryTradePosition": {
  9886. "get": {
  9887. "security": [
  9888. {
  9889. "ApiKeyAuth": []
  9890. }
  9891. ],
  9892. "produces": [
  9893. "application/json"
  9894. ],
  9895. "tags": [
  9896. "大连千海金(PCWeb)"
  9897. ],
  9898. "summary": "查询持仓汇总",
  9899. "parameters": [
  9900. {
  9901. "type": "integer",
  9902. "description": "用户ID",
  9903. "name": "userid",
  9904. "in": "query",
  9905. "required": true
  9906. },
  9907. {
  9908. "type": "integer",
  9909. "description": "用户类型 1-个人 2-企业",
  9910. "name": "userinfotype",
  9911. "in": "query"
  9912. },
  9913. {
  9914. "type": "integer",
  9915. "description": "交易模式",
  9916. "name": "trademode",
  9917. "in": "query"
  9918. },
  9919. {
  9920. "type": "integer",
  9921. "description": "商品id",
  9922. "name": "goodsid",
  9923. "in": "query"
  9924. },
  9925. {
  9926. "type": "string",
  9927. "description": "名称(模糊搜索账户)",
  9928. "name": "filtername",
  9929. "in": "query"
  9930. },
  9931. {
  9932. "type": "integer",
  9933. "description": "是否包含子级 1-包含",
  9934. "name": "includesub",
  9935. "in": "query"
  9936. }
  9937. ],
  9938. "responses": {
  9939. "200": {
  9940. "description": "OK",
  9941. "schema": {
  9942. "type": "array",
  9943. "items": {
  9944. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9945. }
  9946. }
  9947. },
  9948. "500": {
  9949. "description": "Internal Server Error",
  9950. "schema": {
  9951. "$ref": "#/definitions/app.Response"
  9952. }
  9953. }
  9954. }
  9955. }
  9956. },
  9957. "/QhjSys/QueryAgreementChangeLog": {
  9958. "get": {
  9959. "security": [
  9960. {
  9961. "ApiKeyAuth": []
  9962. }
  9963. ],
  9964. "produces": [
  9965. "application/json"
  9966. ],
  9967. "tags": [
  9968. "大连千海金(协议和签约信息)"
  9969. ],
  9970. "summary": "查询协议配置变更流水",
  9971. "parameters": [
  9972. {
  9973. "type": "integer",
  9974. "description": "协议ID",
  9975. "name": "agreementid",
  9976. "in": "query"
  9977. },
  9978. {
  9979. "type": "integer",
  9980. "description": "协议版本号",
  9981. "name": "agreementversion",
  9982. "in": "query"
  9983. },
  9984. {
  9985. "type": "integer",
  9986. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9987. "name": "agreementtype",
  9988. "in": "query"
  9989. },
  9990. {
  9991. "type": "string",
  9992. "description": "协议编号(模糊匹配)",
  9993. "name": "agreementno",
  9994. "in": "query"
  9995. },
  9996. {
  9997. "type": "string",
  9998. "description": "协议名称(模糊匹配)",
  9999. "name": "agreementname",
  10000. "in": "query"
  10001. }
  10002. ],
  10003. "responses": {
  10004. "200": {
  10005. "description": "OK",
  10006. "schema": {
  10007. "type": "array",
  10008. "items": {
  10009. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  10010. }
  10011. }
  10012. },
  10013. "500": {
  10014. "description": "Internal Server Error",
  10015. "schema": {
  10016. "$ref": "#/definitions/app.Response"
  10017. }
  10018. }
  10019. }
  10020. }
  10021. },
  10022. "/QhjSys/QueryAgreementConfig": {
  10023. "get": {
  10024. "security": [
  10025. {
  10026. "ApiKeyAuth": []
  10027. }
  10028. ],
  10029. "produces": [
  10030. "application/json"
  10031. ],
  10032. "tags": [
  10033. "大连千海金(协议和签约信息)"
  10034. ],
  10035. "summary": "查询协议配置",
  10036. "parameters": [
  10037. {
  10038. "type": "integer",
  10039. "description": "协议ID",
  10040. "name": "agreementid",
  10041. "in": "query"
  10042. },
  10043. {
  10044. "type": "integer",
  10045. "description": "协议版本号",
  10046. "name": "agreementversion",
  10047. "in": "query"
  10048. },
  10049. {
  10050. "type": "integer",
  10051. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10052. "name": "agreementtype",
  10053. "in": "query"
  10054. },
  10055. {
  10056. "type": "integer",
  10057. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10058. "name": "isvalid",
  10059. "in": "query"
  10060. },
  10061. {
  10062. "type": "string",
  10063. "description": "协议编号(模糊匹配)",
  10064. "name": "agreementno",
  10065. "in": "query"
  10066. },
  10067. {
  10068. "type": "string",
  10069. "description": "协议名称(模糊匹配)",
  10070. "name": "agreementname",
  10071. "in": "query"
  10072. }
  10073. ],
  10074. "responses": {
  10075. "200": {
  10076. "description": "OK",
  10077. "schema": {
  10078. "type": "array",
  10079. "items": {
  10080. "$ref": "#/definitions/models.QhjAgreementConfig"
  10081. }
  10082. }
  10083. },
  10084. "500": {
  10085. "description": "Internal Server Error",
  10086. "schema": {
  10087. "$ref": "#/definitions/app.Response"
  10088. }
  10089. }
  10090. }
  10091. }
  10092. },
  10093. "/QhjSys/QueryCustomerSignStatus": {
  10094. "get": {
  10095. "security": [
  10096. {
  10097. "ApiKeyAuth": []
  10098. }
  10099. ],
  10100. "produces": [
  10101. "application/json"
  10102. ],
  10103. "tags": [
  10104. "大连千海金(协议和签约信息)"
  10105. ],
  10106. "summary": "查询客户协议签约状态",
  10107. "parameters": [
  10108. {
  10109. "type": "integer",
  10110. "description": "客户ID",
  10111. "name": "userid",
  10112. "in": "query"
  10113. },
  10114. {
  10115. "type": "integer",
  10116. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10117. "name": "nodetype",
  10118. "in": "query"
  10119. },
  10120. {
  10121. "type": "integer",
  10122. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10123. "name": "goodsid",
  10124. "in": "query"
  10125. },
  10126. {
  10127. "type": "string",
  10128. "description": "创建交易日(yyyyMMdd)",
  10129. "name": "tradedate",
  10130. "in": "query"
  10131. },
  10132. {
  10133. "type": "string",
  10134. "description": "用户名称(模糊匹配)",
  10135. "name": "username",
  10136. "in": "query"
  10137. }
  10138. ],
  10139. "responses": {
  10140. "200": {
  10141. "description": "OK",
  10142. "schema": {
  10143. "type": "array",
  10144. "items": {
  10145. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10146. }
  10147. }
  10148. },
  10149. "500": {
  10150. "description": "Internal Server Error",
  10151. "schema": {
  10152. "$ref": "#/definitions/app.Response"
  10153. }
  10154. }
  10155. }
  10156. }
  10157. },
  10158. "/QhjSys/QueryNodeAgreementConfig": {
  10159. "get": {
  10160. "security": [
  10161. {
  10162. "ApiKeyAuth": []
  10163. }
  10164. ],
  10165. "produces": [
  10166. "application/json"
  10167. ],
  10168. "tags": [
  10169. "大连千海金(协议和签约信息)"
  10170. ],
  10171. "summary": "查询协议节点配置",
  10172. "parameters": [
  10173. {
  10174. "type": "integer",
  10175. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10176. "name": "configid",
  10177. "in": "query"
  10178. },
  10179. {
  10180. "type": "integer",
  10181. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10182. "name": "nodetype",
  10183. "in": "query"
  10184. },
  10185. {
  10186. "type": "integer",
  10187. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10188. "name": "goodsid",
  10189. "in": "query"
  10190. },
  10191. {
  10192. "type": "integer",
  10193. "description": "协议ID",
  10194. "name": "agreementid",
  10195. "in": "query"
  10196. },
  10197. {
  10198. "type": "integer",
  10199. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10200. "name": "agreementtype",
  10201. "in": "query"
  10202. },
  10203. {
  10204. "type": "integer",
  10205. "description": "协议版本号",
  10206. "name": "agreementversion",
  10207. "in": "query"
  10208. },
  10209. {
  10210. "type": "string",
  10211. "description": "协议编号(模糊匹配)",
  10212. "name": "agreementno",
  10213. "in": "query"
  10214. },
  10215. {
  10216. "type": "string",
  10217. "description": "协议名称(模糊匹配)",
  10218. "name": "agreementname",
  10219. "in": "query"
  10220. }
  10221. ],
  10222. "responses": {
  10223. "200": {
  10224. "description": "OK",
  10225. "schema": {
  10226. "type": "array",
  10227. "items": {
  10228. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10229. }
  10230. }
  10231. },
  10232. "500": {
  10233. "description": "Internal Server Error",
  10234. "schema": {
  10235. "$ref": "#/definitions/app.Response"
  10236. }
  10237. }
  10238. }
  10239. }
  10240. },
  10241. "/QhjSys/QueryQhjCustomerSignLog": {
  10242. "get": {
  10243. "security": [
  10244. {
  10245. "ApiKeyAuth": []
  10246. }
  10247. ],
  10248. "produces": [
  10249. "application/json"
  10250. ],
  10251. "tags": [
  10252. "大连千海金(协议和签约信息)"
  10253. ],
  10254. "summary": "查询客户协议签约流水",
  10255. "parameters": [
  10256. {
  10257. "type": "integer",
  10258. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10259. "name": "logid",
  10260. "in": "query"
  10261. },
  10262. {
  10263. "type": "integer",
  10264. "description": "客户ID",
  10265. "name": "userid",
  10266. "in": "query"
  10267. },
  10268. {
  10269. "type": "integer",
  10270. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10271. "name": "nodetype",
  10272. "in": "query"
  10273. },
  10274. {
  10275. "type": "integer",
  10276. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10277. "name": "goodsid",
  10278. "in": "query"
  10279. },
  10280. {
  10281. "type": "integer",
  10282. "description": "协议ID",
  10283. "name": "agreementid",
  10284. "in": "query"
  10285. },
  10286. {
  10287. "type": "string",
  10288. "description": "用户名称(模糊匹配)",
  10289. "name": "username",
  10290. "in": "query"
  10291. },
  10292. {
  10293. "type": "string",
  10294. "description": "协议编号(模糊匹配)",
  10295. "name": "agreementno",
  10296. "in": "query"
  10297. },
  10298. {
  10299. "type": "string",
  10300. "description": "协议名称(模糊匹配)",
  10301. "name": "agreementname",
  10302. "in": "query"
  10303. }
  10304. ],
  10305. "responses": {
  10306. "200": {
  10307. "description": "OK",
  10308. "schema": {
  10309. "type": "array",
  10310. "items": {
  10311. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10312. }
  10313. }
  10314. },
  10315. "500": {
  10316. "description": "Internal Server Error",
  10317. "schema": {
  10318. "$ref": "#/definitions/app.Response"
  10319. }
  10320. }
  10321. }
  10322. }
  10323. },
  10324. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10325. "get": {
  10326. "security": [
  10327. {
  10328. "ApiKeyAuth": []
  10329. }
  10330. ],
  10331. "produces": [
  10332. "application/json"
  10333. ],
  10334. "tags": [
  10335. "大连千海金(协议和签约信息)"
  10336. ],
  10337. "summary": "查询用户协议节点配置和状态",
  10338. "parameters": [
  10339. {
  10340. "type": "integer",
  10341. "description": "客户ID",
  10342. "name": "userid",
  10343. "in": "query"
  10344. },
  10345. {
  10346. "type": "integer",
  10347. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10348. "name": "configid",
  10349. "in": "query"
  10350. },
  10351. {
  10352. "type": "string",
  10353. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10354. "name": "nodetype",
  10355. "in": "query"
  10356. },
  10357. {
  10358. "type": "integer",
  10359. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10360. "name": "goodsid",
  10361. "in": "query"
  10362. },
  10363. {
  10364. "type": "integer",
  10365. "description": "协议ID",
  10366. "name": "agreementid",
  10367. "in": "query"
  10368. },
  10369. {
  10370. "type": "integer",
  10371. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10372. "name": "agreementtype",
  10373. "in": "query"
  10374. },
  10375. {
  10376. "type": "integer",
  10377. "description": "协议版本号",
  10378. "name": "agreementversion",
  10379. "in": "query"
  10380. },
  10381. {
  10382. "type": "string",
  10383. "description": "协议编号(模糊匹配)",
  10384. "name": "agreementno",
  10385. "in": "query"
  10386. },
  10387. {
  10388. "type": "string",
  10389. "description": "协议名称(模糊匹配)",
  10390. "name": "agreementname",
  10391. "in": "query"
  10392. }
  10393. ],
  10394. "responses": {
  10395. "200": {
  10396. "description": "OK",
  10397. "schema": {
  10398. "type": "array",
  10399. "items": {
  10400. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10401. }
  10402. }
  10403. },
  10404. "500": {
  10405. "description": "Internal Server Error",
  10406. "schema": {
  10407. "$ref": "#/definitions/app.Response"
  10408. }
  10409. }
  10410. }
  10411. }
  10412. },
  10413. "/Quote/QueryHistoryDatas": {
  10414. "get": {
  10415. "security": [
  10416. {
  10417. "ApiKeyAuth": []
  10418. }
  10419. ],
  10420. "produces": [
  10421. "application/json"
  10422. ],
  10423. "tags": [
  10424. "行情服务"
  10425. ],
  10426. "summary": "查询行情历史数据",
  10427. "parameters": [
  10428. {
  10429. "type": "integer",
  10430. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  10431. "name": "cycleType",
  10432. "in": "query",
  10433. "required": true
  10434. },
  10435. {
  10436. "type": "string",
  10437. "description": "商品代码",
  10438. "name": "goodsCode",
  10439. "in": "query",
  10440. "required": true
  10441. },
  10442. {
  10443. "type": "string",
  10444. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10445. "name": "startTime",
  10446. "in": "query"
  10447. },
  10448. {
  10449. "type": "string",
  10450. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10451. "name": "endTime",
  10452. "in": "query"
  10453. },
  10454. {
  10455. "type": "integer",
  10456. "description": "条数",
  10457. "name": "count",
  10458. "in": "query"
  10459. },
  10460. {
  10461. "type": "boolean",
  10462. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10463. "name": "isAsc",
  10464. "in": "query"
  10465. }
  10466. ],
  10467. "responses": {
  10468. "200": {
  10469. "description": "OK",
  10470. "schema": {
  10471. "$ref": "#/definitions/quote.HistoryData"
  10472. }
  10473. },
  10474. "500": {
  10475. "description": "Internal Server Error",
  10476. "schema": {
  10477. "$ref": "#/definitions/app.Response"
  10478. }
  10479. }
  10480. }
  10481. }
  10482. },
  10483. "/Quote/QueryHistoryTikDatas": {
  10484. "get": {
  10485. "security": [
  10486. {
  10487. "ApiKeyAuth": []
  10488. }
  10489. ],
  10490. "produces": [
  10491. "application/json"
  10492. ],
  10493. "tags": [
  10494. "行情服务"
  10495. ],
  10496. "summary": "查询行情Tik数据",
  10497. "parameters": [
  10498. {
  10499. "type": "string",
  10500. "description": "商品代码",
  10501. "name": "goodsCode",
  10502. "in": "query",
  10503. "required": true
  10504. },
  10505. {
  10506. "type": "string",
  10507. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10508. "name": "startTime",
  10509. "in": "query"
  10510. },
  10511. {
  10512. "type": "string",
  10513. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10514. "name": "endTime",
  10515. "in": "query"
  10516. },
  10517. {
  10518. "type": "integer",
  10519. "description": "条数",
  10520. "name": "count",
  10521. "in": "query"
  10522. },
  10523. {
  10524. "type": "boolean",
  10525. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10526. "name": "isAsc",
  10527. "in": "query"
  10528. }
  10529. ],
  10530. "responses": {
  10531. "200": {
  10532. "description": "OK",
  10533. "schema": {
  10534. "$ref": "#/definitions/quote.HistoryTikData"
  10535. }
  10536. },
  10537. "500": {
  10538. "description": "Internal Server Error",
  10539. "schema": {
  10540. "$ref": "#/definitions/app.Response"
  10541. }
  10542. }
  10543. }
  10544. }
  10545. },
  10546. "/Quote/QueryQuoteDay": {
  10547. "get": {
  10548. "security": [
  10549. {
  10550. "ApiKeyAuth": []
  10551. }
  10552. ],
  10553. "produces": [
  10554. "application/json"
  10555. ],
  10556. "tags": [
  10557. "行情服务"
  10558. ],
  10559. "summary": "获取商品盘面信息",
  10560. "parameters": [
  10561. {
  10562. "type": "string",
  10563. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10564. "name": "goodsCodes",
  10565. "in": "query"
  10566. }
  10567. ],
  10568. "responses": {
  10569. "200": {
  10570. "description": "OK",
  10571. "schema": {
  10572. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10573. }
  10574. },
  10575. "500": {
  10576. "description": "Internal Server Error",
  10577. "schema": {
  10578. "$ref": "#/definitions/app.Response"
  10579. }
  10580. }
  10581. }
  10582. }
  10583. },
  10584. "/Quote/QueryTSData": {
  10585. "get": {
  10586. "security": [
  10587. {
  10588. "ApiKeyAuth": []
  10589. }
  10590. ],
  10591. "produces": [
  10592. "application/json"
  10593. ],
  10594. "tags": [
  10595. "行情服务"
  10596. ],
  10597. "summary": "分时图数据查询",
  10598. "parameters": [
  10599. {
  10600. "type": "string",
  10601. "description": "商品代码",
  10602. "name": "goodsCode",
  10603. "in": "query",
  10604. "required": true
  10605. }
  10606. ],
  10607. "responses": {
  10608. "200": {
  10609. "description": "OK",
  10610. "schema": {
  10611. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10612. }
  10613. },
  10614. "500": {
  10615. "description": "Internal Server Error",
  10616. "schema": {
  10617. "$ref": "#/definitions/app.Response"
  10618. }
  10619. }
  10620. }
  10621. }
  10622. },
  10623. "/SZDZ/QueryConvertConfig": {
  10624. "get": {
  10625. "security": [
  10626. {
  10627. "ApiKeyAuth": []
  10628. }
  10629. ],
  10630. "produces": [
  10631. "application/json"
  10632. ],
  10633. "tags": [
  10634. "定制【尚志大宗】"
  10635. ],
  10636. "summary": "查询交易系统转换设置",
  10637. "parameters": [
  10638. {
  10639. "type": "integer",
  10640. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10641. "name": "convertType",
  10642. "in": "query"
  10643. },
  10644. {
  10645. "type": "string",
  10646. "description": "外部商品代码[JD\\PD]",
  10647. "name": "outerGoodsCode",
  10648. "in": "query"
  10649. },
  10650. {
  10651. "type": "string",
  10652. "description": "内部商品ID列表[交易],格式:1,2,3",
  10653. "name": "innerGoodsIDs",
  10654. "in": "query"
  10655. }
  10656. ],
  10657. "responses": {
  10658. "200": {
  10659. "description": "OK",
  10660. "schema": {
  10661. "$ref": "#/definitions/models.Szdz3convertconfig"
  10662. }
  10663. },
  10664. "500": {
  10665. "description": "Internal Server Error",
  10666. "schema": {
  10667. "$ref": "#/definitions/app.Response"
  10668. }
  10669. }
  10670. }
  10671. }
  10672. },
  10673. "/SZDZ/QueryConvertLog": {
  10674. "get": {
  10675. "security": [
  10676. {
  10677. "ApiKeyAuth": []
  10678. }
  10679. ],
  10680. "produces": [
  10681. "application/json"
  10682. ],
  10683. "tags": [
  10684. "定制【尚志大宗】"
  10685. ],
  10686. "summary": "交易系统转换流水查询",
  10687. "parameters": [
  10688. {
  10689. "type": "string",
  10690. "description": "资金账户 - 格式:1,2,3",
  10691. "name": "accountID",
  10692. "in": "query",
  10693. "required": true
  10694. },
  10695. {
  10696. "type": "string",
  10697. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10698. "name": "startDate",
  10699. "in": "query"
  10700. },
  10701. {
  10702. "type": "string",
  10703. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10704. "name": "endDate",
  10705. "in": "query"
  10706. }
  10707. ],
  10708. "responses": {
  10709. "200": {
  10710. "description": "OK",
  10711. "schema": {
  10712. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10713. }
  10714. },
  10715. "500": {
  10716. "description": "Internal Server Error",
  10717. "schema": {
  10718. "$ref": "#/definitions/app.Response"
  10719. }
  10720. }
  10721. }
  10722. }
  10723. },
  10724. "/SZDZ/QueryGoodsPickup": {
  10725. "get": {
  10726. "security": [
  10727. {
  10728. "ApiKeyAuth": []
  10729. }
  10730. ],
  10731. "produces": [
  10732. "application/json"
  10733. ],
  10734. "tags": [
  10735. "定制【尚志大宗】"
  10736. ],
  10737. "summary": "商品提货单查询",
  10738. "parameters": [
  10739. {
  10740. "type": "string",
  10741. "description": "资金账户 - 格式:1,2,3",
  10742. "name": "accountID",
  10743. "in": "query",
  10744. "required": true
  10745. },
  10746. {
  10747. "type": "integer",
  10748. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10749. "name": "takeOrderStatus",
  10750. "in": "query"
  10751. }
  10752. ],
  10753. "responses": {
  10754. "200": {
  10755. "description": "OK",
  10756. "schema": {
  10757. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10758. }
  10759. },
  10760. "500": {
  10761. "description": "Internal Server Error",
  10762. "schema": {
  10763. "$ref": "#/definitions/app.Response"
  10764. }
  10765. }
  10766. }
  10767. }
  10768. },
  10769. "/SZDZ/QueryRecieptOrder": {
  10770. "get": {
  10771. "security": [
  10772. {
  10773. "ApiKeyAuth": []
  10774. }
  10775. ],
  10776. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10777. "produces": [
  10778. "application/json"
  10779. ],
  10780. "tags": [
  10781. "定制【尚志大宗】"
  10782. ],
  10783. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10784. "parameters": [
  10785. {
  10786. "type": "integer",
  10787. "description": "页码",
  10788. "name": "page",
  10789. "in": "query"
  10790. },
  10791. {
  10792. "type": "integer",
  10793. "description": "每页条数",
  10794. "name": "pagesize",
  10795. "in": "query"
  10796. },
  10797. {
  10798. "type": "integer",
  10799. "description": "商品ID",
  10800. "name": "goodsID",
  10801. "in": "query",
  10802. "required": true
  10803. },
  10804. {
  10805. "type": "string",
  10806. "description": "所属账户名称",
  10807. "name": "accountName",
  10808. "in": "query"
  10809. },
  10810. {
  10811. "type": "integer",
  10812. "description": "市场ID",
  10813. "name": "marketID",
  10814. "in": "query"
  10815. },
  10816. {
  10817. "type": "integer",
  10818. "description": "方向 - 0:买 1:卖",
  10819. "name": "buyorsell",
  10820. "in": "query",
  10821. "required": true
  10822. }
  10823. ],
  10824. "responses": {
  10825. "200": {
  10826. "description": "OK",
  10827. "schema": {
  10828. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10829. }
  10830. },
  10831. "500": {
  10832. "description": "Internal Server Error",
  10833. "schema": {
  10834. "$ref": "#/definitions/app.Response"
  10835. }
  10836. }
  10837. }
  10838. }
  10839. },
  10840. "/SZDZ/QuerySZDZTradePosition": {
  10841. "get": {
  10842. "security": [
  10843. {
  10844. "ApiKeyAuth": []
  10845. }
  10846. ],
  10847. "produces": [
  10848. "application/json"
  10849. ],
  10850. "tags": [
  10851. "定制【尚志大宗】"
  10852. ],
  10853. "summary": "持仓汇总查询(尚志大宗)",
  10854. "parameters": [
  10855. {
  10856. "type": "integer",
  10857. "description": "资金账户",
  10858. "name": "accountID",
  10859. "in": "query",
  10860. "required": true
  10861. }
  10862. ],
  10863. "responses": {
  10864. "200": {
  10865. "description": "OK",
  10866. "schema": {
  10867. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10868. }
  10869. },
  10870. "500": {
  10871. "description": "Internal Server Error",
  10872. "schema": {
  10873. "$ref": "#/definitions/app.Response"
  10874. }
  10875. }
  10876. }
  10877. }
  10878. },
  10879. "/SZDZ/SearchWhite": {
  10880. "get": {
  10881. "security": [
  10882. {
  10883. "ApiKeyAuth": []
  10884. }
  10885. ],
  10886. "produces": [
  10887. "application/json"
  10888. ],
  10889. "tags": [
  10890. "定制【尚志大宗】"
  10891. ],
  10892. "summary": "搜索白名单",
  10893. "parameters": [
  10894. {
  10895. "type": "integer",
  10896. "description": "用户ID",
  10897. "name": "userID",
  10898. "in": "query",
  10899. "required": true
  10900. }
  10901. ],
  10902. "responses": {
  10903. "200": {
  10904. "description": "OK",
  10905. "schema": {
  10906. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10907. }
  10908. },
  10909. "500": {
  10910. "description": "Internal Server Error",
  10911. "schema": {
  10912. "$ref": "#/definitions/app.Response"
  10913. }
  10914. }
  10915. }
  10916. }
  10917. },
  10918. "/Search/SearchGoodses": {
  10919. "get": {
  10920. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10921. "produces": [
  10922. "application/json"
  10923. ],
  10924. "tags": [
  10925. "检索服务"
  10926. ],
  10927. "summary": "检索商品信息",
  10928. "parameters": [
  10929. {
  10930. "type": "string",
  10931. "description": "检索内容",
  10932. "name": "content",
  10933. "in": "query",
  10934. "required": true
  10935. },
  10936. {
  10937. "type": "string",
  10938. "description": "交易模式,格式:1,2,3",
  10939. "name": "tradeModes",
  10940. "in": "query"
  10941. }
  10942. ],
  10943. "responses": {
  10944. "200": {
  10945. "description": "OK",
  10946. "schema": {
  10947. "$ref": "#/definitions/models.SearchGoods"
  10948. }
  10949. },
  10950. "500": {
  10951. "description": "Internal Server Error",
  10952. "schema": {
  10953. "$ref": "#/definitions/app.Response"
  10954. }
  10955. }
  10956. }
  10957. }
  10958. },
  10959. "/TaAccount/GetTaAccounts": {
  10960. "get": {
  10961. "security": [
  10962. {
  10963. "ApiKeyAuth": []
  10964. }
  10965. ],
  10966. "produces": [
  10967. "application/json"
  10968. ],
  10969. "tags": [
  10970. "资金账户"
  10971. ],
  10972. "summary": "获取资金账户信息",
  10973. "parameters": [
  10974. {
  10975. "type": "integer",
  10976. "description": "登录账户",
  10977. "name": "loginID",
  10978. "in": "query",
  10979. "required": true
  10980. },
  10981. {
  10982. "type": "integer",
  10983. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10984. "name": "taAccountType",
  10985. "in": "query"
  10986. }
  10987. ],
  10988. "responses": {
  10989. "200": {
  10990. "description": "OK",
  10991. "schema": {
  10992. "$ref": "#/definitions/models.Taaccount"
  10993. }
  10994. },
  10995. "500": {
  10996. "description": "Internal Server Error",
  10997. "schema": {
  10998. "$ref": "#/definitions/app.Response"
  10999. }
  11000. }
  11001. }
  11002. }
  11003. },
  11004. "/TaAccount/QueryAmountLog": {
  11005. "get": {
  11006. "security": [
  11007. {
  11008. "ApiKeyAuth": []
  11009. }
  11010. ],
  11011. "produces": [
  11012. "application/json"
  11013. ],
  11014. "tags": [
  11015. "资金账户"
  11016. ],
  11017. "summary": "资金流水查询(当前)",
  11018. "parameters": [
  11019. {
  11020. "type": "integer",
  11021. "description": "页码",
  11022. "name": "page",
  11023. "in": "query"
  11024. },
  11025. {
  11026. "type": "integer",
  11027. "description": "每页条数",
  11028. "name": "pagesize",
  11029. "in": "query"
  11030. },
  11031. {
  11032. "type": "string",
  11033. "description": "资金账户 - 格式:1,2,3",
  11034. "name": "accountID",
  11035. "in": "query",
  11036. "required": true
  11037. },
  11038. {
  11039. "type": "string",
  11040. "description": "资金操作类型 - 格式:1,2,3",
  11041. "name": "OperateType",
  11042. "in": "query"
  11043. }
  11044. ],
  11045. "responses": {
  11046. "200": {
  11047. "description": "OK",
  11048. "schema": {
  11049. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11050. }
  11051. },
  11052. "500": {
  11053. "description": "Internal Server Error",
  11054. "schema": {
  11055. "$ref": "#/definitions/app.Response"
  11056. }
  11057. }
  11058. }
  11059. }
  11060. },
  11061. "/TaAccount/QueryHisAmountLog": {
  11062. "get": {
  11063. "security": [
  11064. {
  11065. "ApiKeyAuth": []
  11066. }
  11067. ],
  11068. "produces": [
  11069. "application/json"
  11070. ],
  11071. "tags": [
  11072. "资金账户"
  11073. ],
  11074. "summary": "资金流水查询(历史)",
  11075. "parameters": [
  11076. {
  11077. "type": "integer",
  11078. "description": "页码",
  11079. "name": "page",
  11080. "in": "query"
  11081. },
  11082. {
  11083. "type": "integer",
  11084. "description": "每页条数",
  11085. "name": "pagesize",
  11086. "in": "query"
  11087. },
  11088. {
  11089. "type": "string",
  11090. "description": "资金账户 - 格式:1,2,3",
  11091. "name": "accountID",
  11092. "in": "query",
  11093. "required": true
  11094. },
  11095. {
  11096. "type": "string",
  11097. "description": "资金操作类型 - 格式:1,2,3",
  11098. "name": "OperateType",
  11099. "in": "query"
  11100. },
  11101. {
  11102. "type": "string",
  11103. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11104. "name": "startDate",
  11105. "in": "query"
  11106. },
  11107. {
  11108. "type": "string",
  11109. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11110. "name": "endDate",
  11111. "in": "query"
  11112. }
  11113. ],
  11114. "responses": {
  11115. "200": {
  11116. "description": "OK",
  11117. "schema": {
  11118. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11119. }
  11120. },
  11121. "500": {
  11122. "description": "Internal Server Error",
  11123. "schema": {
  11124. "$ref": "#/definitions/app.Response"
  11125. }
  11126. }
  11127. }
  11128. }
  11129. },
  11130. "/Tjmd/QueryQuoteGoodsList": {
  11131. "get": {
  11132. "security": [
  11133. {
  11134. "ApiKeyAuth": []
  11135. }
  11136. ],
  11137. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11138. "produces": [
  11139. "application/json"
  11140. ],
  11141. "tags": [
  11142. "天津麦顿"
  11143. ],
  11144. "summary": "查询掉期报价列表",
  11145. "parameters": [
  11146. {
  11147. "type": "integer",
  11148. "description": "用户类型",
  11149. "name": "usertype",
  11150. "in": "query",
  11151. "required": true
  11152. },
  11153. {
  11154. "type": "string",
  11155. "description": "市场id, 格式 1,2,3",
  11156. "name": "marketids",
  11157. "in": "query"
  11158. },
  11159. {
  11160. "type": "integer",
  11161. "description": "商品组id",
  11162. "name": "goodsgroupid",
  11163. "in": "query"
  11164. },
  11165. {
  11166. "type": "integer",
  11167. "description": "商品id",
  11168. "name": "goodsid",
  11169. "in": "query"
  11170. }
  11171. ],
  11172. "responses": {
  11173. "200": {
  11174. "description": "OK",
  11175. "schema": {
  11176. "type": "array",
  11177. "items": {
  11178. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11179. }
  11180. }
  11181. },
  11182. "500": {
  11183. "description": "Internal Server Error",
  11184. "schema": {
  11185. "$ref": "#/definitions/app.Response"
  11186. }
  11187. }
  11188. }
  11189. }
  11190. },
  11191. "/Tjmd/QueryTjmdMarketSection": {
  11192. "get": {
  11193. "security": [
  11194. {
  11195. "ApiKeyAuth": []
  11196. }
  11197. ],
  11198. "produces": [
  11199. "application/json"
  11200. ],
  11201. "tags": [
  11202. "天津麦顿"
  11203. ],
  11204. "summary": "查询市场板块",
  11205. "responses": {
  11206. "200": {
  11207. "description": "OK",
  11208. "schema": {
  11209. "type": "array",
  11210. "items": {
  11211. "$ref": "#/definitions/models.TjmdMarketSection"
  11212. }
  11213. }
  11214. },
  11215. "500": {
  11216. "description": "Internal Server Error",
  11217. "schema": {
  11218. "$ref": "#/definitions/app.Response"
  11219. }
  11220. }
  11221. }
  11222. }
  11223. },
  11224. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11225. "get": {
  11226. "security": [
  11227. {
  11228. "ApiKeyAuth": []
  11229. }
  11230. ],
  11231. "produces": [
  11232. "application/json"
  11233. ],
  11234. "tags": [
  11235. "天津麦顿"
  11236. ],
  11237. "summary": "查询今日账户保证金配置",
  11238. "parameters": [
  11239. {
  11240. "type": "string",
  11241. "description": "市场id",
  11242. "name": "marketid",
  11243. "in": "query"
  11244. },
  11245. {
  11246. "type": "string",
  11247. "description": "商品id",
  11248. "name": "goodsid",
  11249. "in": "query"
  11250. },
  11251. {
  11252. "type": "string",
  11253. "description": "资金账号",
  11254. "name": "accountid",
  11255. "in": "query"
  11256. }
  11257. ],
  11258. "responses": {
  11259. "200": {
  11260. "description": "OK",
  11261. "schema": {
  11262. "type": "array",
  11263. "items": {
  11264. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11265. }
  11266. }
  11267. },
  11268. "500": {
  11269. "description": "Internal Server Error",
  11270. "schema": {
  11271. "$ref": "#/definitions/app.Response"
  11272. }
  11273. }
  11274. }
  11275. }
  11276. },
  11277. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11278. "get": {
  11279. "security": [
  11280. {
  11281. "ApiKeyAuth": []
  11282. }
  11283. ],
  11284. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11285. "produces": [
  11286. "application/json"
  11287. ],
  11288. "tags": [
  11289. "天津麦顿"
  11290. ],
  11291. "summary": "查询掉期买卖大厅",
  11292. "parameters": [
  11293. {
  11294. "type": "integer",
  11295. "description": "页码",
  11296. "name": "page",
  11297. "in": "query"
  11298. },
  11299. {
  11300. "type": "integer",
  11301. "description": "每页条数",
  11302. "name": "pagesize",
  11303. "in": "query"
  11304. },
  11305. {
  11306. "type": "integer",
  11307. "description": "用户id",
  11308. "name": "userid",
  11309. "in": "query",
  11310. "required": true
  11311. },
  11312. {
  11313. "type": "integer",
  11314. "description": "用户类型",
  11315. "name": "usertype",
  11316. "in": "query",
  11317. "required": true
  11318. },
  11319. {
  11320. "type": "string",
  11321. "description": "市场id, 格式 1,2,3",
  11322. "name": "marketids",
  11323. "in": "query"
  11324. },
  11325. {
  11326. "type": "integer",
  11327. "description": "商品id",
  11328. "name": "goodsid",
  11329. "in": "query",
  11330. "required": true
  11331. },
  11332. {
  11333. "type": "integer",
  11334. "description": "买卖方向 0-买 1-卖",
  11335. "name": "buyorsell",
  11336. "in": "query",
  11337. "required": true
  11338. }
  11339. ],
  11340. "responses": {
  11341. "200": {
  11342. "description": "OK",
  11343. "schema": {
  11344. "type": "array",
  11345. "items": {
  11346. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11347. }
  11348. }
  11349. },
  11350. "500": {
  11351. "description": "Internal Server Error",
  11352. "schema": {
  11353. "$ref": "#/definitions/app.Response"
  11354. }
  11355. }
  11356. }
  11357. }
  11358. },
  11359. "/Tjmd/QueryTjmdTransferApply": {
  11360. "get": {
  11361. "security": [
  11362. {
  11363. "ApiKeyAuth": []
  11364. }
  11365. ],
  11366. "produces": [
  11367. "application/json"
  11368. ],
  11369. "tags": [
  11370. "天津麦顿"
  11371. ],
  11372. "summary": "查询掉期协议单",
  11373. "parameters": [
  11374. {
  11375. "type": "integer",
  11376. "description": "类型 1-我的申请 2-对方申请",
  11377. "name": "applytype",
  11378. "in": "query",
  11379. "required": true
  11380. },
  11381. {
  11382. "type": "string",
  11383. "description": "市场id, 格式 1,2,3",
  11384. "name": "marketids",
  11385. "in": "query"
  11386. },
  11387. {
  11388. "type": "string",
  11389. "description": "资金账号, 格式 25000000001,25000000003",
  11390. "name": "accountids",
  11391. "in": "query"
  11392. },
  11393. {
  11394. "type": "string",
  11395. "description": "开始交易日(yyyymmdd)",
  11396. "name": "begindate",
  11397. "in": "query"
  11398. },
  11399. {
  11400. "type": "string",
  11401. "description": "结束交易日(yyyymmdd)",
  11402. "name": "enddate",
  11403. "in": "query"
  11404. }
  11405. ],
  11406. "responses": {
  11407. "200": {
  11408. "description": "OK",
  11409. "schema": {
  11410. "type": "array",
  11411. "items": {
  11412. "$ref": "#/definitions/models.TjmdTransferApply"
  11413. }
  11414. }
  11415. },
  11416. "500": {
  11417. "description": "Internal Server Error",
  11418. "schema": {
  11419. "$ref": "#/definitions/app.Response"
  11420. }
  11421. }
  11422. }
  11423. }
  11424. },
  11425. "/Trade/QueryRecieptOrder": {
  11426. "get": {
  11427. "security": [
  11428. {
  11429. "ApiKeyAuth": []
  11430. }
  11431. ],
  11432. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11433. "produces": [
  11434. "application/json"
  11435. ],
  11436. "tags": [
  11437. "通用交易"
  11438. ],
  11439. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11440. "parameters": [
  11441. {
  11442. "type": "integer",
  11443. "description": "页码",
  11444. "name": "page",
  11445. "in": "query"
  11446. },
  11447. {
  11448. "type": "integer",
  11449. "description": "每页条数",
  11450. "name": "pagesize",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "商品ID",
  11456. "name": "goodsID",
  11457. "in": "query",
  11458. "required": true
  11459. },
  11460. {
  11461. "type": "string",
  11462. "description": "所属账户名称",
  11463. "name": "accountName",
  11464. "in": "query"
  11465. },
  11466. {
  11467. "type": "integer",
  11468. "description": "市场ID",
  11469. "name": "marketID",
  11470. "in": "query"
  11471. },
  11472. {
  11473. "type": "integer",
  11474. "description": "方向 - 0:买 1:卖",
  11475. "name": "buyorsell",
  11476. "in": "query",
  11477. "required": true
  11478. }
  11479. ],
  11480. "responses": {
  11481. "200": {
  11482. "description": "OK",
  11483. "schema": {
  11484. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11485. }
  11486. },
  11487. "500": {
  11488. "description": "Internal Server Error",
  11489. "schema": {
  11490. "$ref": "#/definitions/app.Response"
  11491. }
  11492. }
  11493. }
  11494. }
  11495. },
  11496. "/User/AddMessageBoard": {
  11497. "post": {
  11498. "security": [
  11499. {
  11500. "ApiKeyAuth": []
  11501. }
  11502. ],
  11503. "produces": [
  11504. "application/json"
  11505. ],
  11506. "tags": [
  11507. "用户信息"
  11508. ],
  11509. "summary": "添加用户留言板信息",
  11510. "parameters": [
  11511. {
  11512. "type": "integer",
  11513. "description": "用户ID",
  11514. "name": "userID",
  11515. "in": "query",
  11516. "required": true
  11517. },
  11518. {
  11519. "type": "string",
  11520. "description": "留言信息",
  11521. "name": "message",
  11522. "in": "query",
  11523. "required": true
  11524. },
  11525. {
  11526. "type": "string",
  11527. "description": "联系电话",
  11528. "name": "contactNum",
  11529. "in": "query",
  11530. "required": true
  11531. }
  11532. ],
  11533. "responses": {
  11534. "200": {
  11535. "description": "OK",
  11536. "schema": {
  11537. "$ref": "#/definitions/app.Response"
  11538. }
  11539. },
  11540. "500": {
  11541. "description": "Internal Server Error",
  11542. "schema": {
  11543. "$ref": "#/definitions/app.Response"
  11544. }
  11545. }
  11546. }
  11547. }
  11548. },
  11549. "/User/AddUserFavoriteGoods": {
  11550. "post": {
  11551. "security": [
  11552. {
  11553. "ApiKeyAuth": []
  11554. }
  11555. ],
  11556. "produces": [
  11557. "application/json"
  11558. ],
  11559. "tags": [
  11560. "用户信息"
  11561. ],
  11562. "summary": "添加用户商品收藏信息",
  11563. "parameters": [
  11564. {
  11565. "type": "integer",
  11566. "description": "用户ID",
  11567. "name": "userID",
  11568. "in": "query",
  11569. "required": true
  11570. },
  11571. {
  11572. "type": "integer",
  11573. "description": "商品ID",
  11574. "name": "goodsID",
  11575. "in": "query",
  11576. "required": true
  11577. }
  11578. ],
  11579. "responses": {
  11580. "200": {
  11581. "description": "OK",
  11582. "schema": {
  11583. "$ref": "#/definitions/app.Response"
  11584. }
  11585. },
  11586. "500": {
  11587. "description": "Internal Server Error",
  11588. "schema": {
  11589. "$ref": "#/definitions/app.Response"
  11590. }
  11591. }
  11592. }
  11593. }
  11594. },
  11595. "/User/GetLoginID": {
  11596. "get": {
  11597. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11598. "produces": [
  11599. "application/json"
  11600. ],
  11601. "tags": [
  11602. "用户信息"
  11603. ],
  11604. "summary": "获取登录ID",
  11605. "parameters": [
  11606. {
  11607. "type": "string",
  11608. "description": "登录代码",
  11609. "name": "username",
  11610. "in": "query",
  11611. "required": true
  11612. }
  11613. ],
  11614. "responses": {
  11615. "200": {
  11616. "description": "OK",
  11617. "schema": {
  11618. "$ref": "#/definitions/app.Response"
  11619. }
  11620. },
  11621. "500": {
  11622. "description": "Internal Server Error",
  11623. "schema": {
  11624. "$ref": "#/definitions/app.Response"
  11625. }
  11626. }
  11627. }
  11628. }
  11629. },
  11630. "/User/GetUserAccount": {
  11631. "get": {
  11632. "security": [
  11633. {
  11634. "ApiKeyAuth": []
  11635. }
  11636. ],
  11637. "produces": [
  11638. "application/json"
  11639. ],
  11640. "tags": [
  11641. "用户信息"
  11642. ],
  11643. "summary": "获取用户账号信息",
  11644. "parameters": [
  11645. {
  11646. "type": "integer",
  11647. "description": "用户ID",
  11648. "name": "userID",
  11649. "in": "query",
  11650. "required": true
  11651. }
  11652. ],
  11653. "responses": {
  11654. "200": {
  11655. "description": "OK",
  11656. "schema": {
  11657. "$ref": "#/definitions/models.Useraccount"
  11658. }
  11659. },
  11660. "500": {
  11661. "description": "Internal Server Error",
  11662. "schema": {
  11663. "$ref": "#/definitions/app.Response"
  11664. }
  11665. }
  11666. }
  11667. }
  11668. },
  11669. "/User/GetUserAuthStatus": {
  11670. "get": {
  11671. "security": [
  11672. {
  11673. "ApiKeyAuth": []
  11674. }
  11675. ],
  11676. "produces": [
  11677. "application/json"
  11678. ],
  11679. "tags": [
  11680. "用户信息"
  11681. ],
  11682. "summary": "获取用户实名认证状态",
  11683. "parameters": [
  11684. {
  11685. "type": "integer",
  11686. "description": "用户ID",
  11687. "name": "userID",
  11688. "in": "query",
  11689. "required": true
  11690. }
  11691. ],
  11692. "responses": {
  11693. "200": {
  11694. "description": "OK",
  11695. "schema": {
  11696. "$ref": "#/definitions/app.Response"
  11697. }
  11698. },
  11699. "500": {
  11700. "description": "Internal Server Error",
  11701. "schema": {
  11702. "$ref": "#/definitions/app.Response"
  11703. }
  11704. }
  11705. }
  11706. }
  11707. },
  11708. "/User/LoginQuery": {
  11709. "get": {
  11710. "security": [
  11711. {
  11712. "ApiKeyAuth": []
  11713. }
  11714. ],
  11715. "produces": [
  11716. "application/json"
  11717. ],
  11718. "tags": [
  11719. "用户信息"
  11720. ],
  11721. "summary": "账户登录后信息查询",
  11722. "parameters": [
  11723. {
  11724. "type": "integer",
  11725. "description": "登录账号",
  11726. "name": "loginID",
  11727. "in": "query",
  11728. "required": true
  11729. }
  11730. ],
  11731. "responses": {
  11732. "200": {
  11733. "description": "OK",
  11734. "schema": {
  11735. "$ref": "#/definitions/user.LoginQueryRsp"
  11736. }
  11737. },
  11738. "500": {
  11739. "description": "Internal Server Error",
  11740. "schema": {
  11741. "$ref": "#/definitions/app.Response"
  11742. }
  11743. }
  11744. }
  11745. }
  11746. },
  11747. "/User/QueryMessageBoard": {
  11748. "get": {
  11749. "security": [
  11750. {
  11751. "ApiKeyAuth": []
  11752. }
  11753. ],
  11754. "produces": [
  11755. "application/json"
  11756. ],
  11757. "tags": [
  11758. "用户信息"
  11759. ],
  11760. "summary": "获取用户留言板信息",
  11761. "parameters": [
  11762. {
  11763. "type": "integer",
  11764. "description": "用户ID",
  11765. "name": "userID",
  11766. "in": "query",
  11767. "required": true
  11768. }
  11769. ],
  11770. "responses": {
  11771. "200": {
  11772. "description": "OK",
  11773. "schema": {
  11774. "$ref": "#/definitions/models.Messageboard"
  11775. }
  11776. },
  11777. "500": {
  11778. "description": "Internal Server Error",
  11779. "schema": {
  11780. "$ref": "#/definitions/app.Response"
  11781. }
  11782. }
  11783. }
  11784. }
  11785. },
  11786. "/User/QueryUserFavoriteGoodses": {
  11787. "get": {
  11788. "security": [
  11789. {
  11790. "ApiKeyAuth": []
  11791. }
  11792. ],
  11793. "produces": [
  11794. "application/json"
  11795. ],
  11796. "tags": [
  11797. "用户信息"
  11798. ],
  11799. "summary": "获取用户商品收藏信息",
  11800. "parameters": [
  11801. {
  11802. "type": "integer",
  11803. "description": "用户ID",
  11804. "name": "userID",
  11805. "in": "query",
  11806. "required": true
  11807. }
  11808. ],
  11809. "responses": {
  11810. "200": {
  11811. "description": "OK",
  11812. "schema": {
  11813. "$ref": "#/definitions/models.Userfavoritegoods"
  11814. }
  11815. },
  11816. "500": {
  11817. "description": "Internal Server Error",
  11818. "schema": {
  11819. "$ref": "#/definitions/app.Response"
  11820. }
  11821. }
  11822. }
  11823. }
  11824. },
  11825. "/User/QueryUserInfo": {
  11826. "get": {
  11827. "security": [
  11828. {
  11829. "ApiKeyAuth": []
  11830. }
  11831. ],
  11832. "produces": [
  11833. "application/json"
  11834. ],
  11835. "tags": [
  11836. "用户信息"
  11837. ],
  11838. "summary": "获取用户信息",
  11839. "parameters": [
  11840. {
  11841. "type": "integer",
  11842. "description": "用户ID",
  11843. "name": "userID",
  11844. "in": "query",
  11845. "required": true
  11846. },
  11847. {
  11848. "type": "boolean",
  11849. "description": "是否解密",
  11850. "name": "isDecrypt",
  11851. "in": "query"
  11852. }
  11853. ],
  11854. "responses": {
  11855. "200": {
  11856. "description": "OK",
  11857. "schema": {
  11858. "$ref": "#/definitions/models.Userinfo"
  11859. }
  11860. },
  11861. "500": {
  11862. "description": "Internal Server Error",
  11863. "schema": {
  11864. "$ref": "#/definitions/app.Response"
  11865. }
  11866. }
  11867. }
  11868. }
  11869. },
  11870. "/User/QueryUserReferNum": {
  11871. "get": {
  11872. "produces": [
  11873. "application/json"
  11874. ],
  11875. "tags": [
  11876. "用户信息"
  11877. ],
  11878. "summary": "获取用户邀请码",
  11879. "parameters": [
  11880. {
  11881. "type": "integer",
  11882. "description": "用户ID",
  11883. "name": "userID",
  11884. "in": "query",
  11885. "required": true
  11886. }
  11887. ],
  11888. "responses": {
  11889. "200": {
  11890. "description": "OK",
  11891. "schema": {
  11892. "$ref": "#/definitions/app.Response"
  11893. }
  11894. },
  11895. "500": {
  11896. "description": "Internal Server Error",
  11897. "schema": {
  11898. "$ref": "#/definitions/app.Response"
  11899. }
  11900. }
  11901. }
  11902. }
  11903. },
  11904. "/User/RemoveUserFavoriteGoods": {
  11905. "post": {
  11906. "security": [
  11907. {
  11908. "ApiKeyAuth": []
  11909. }
  11910. ],
  11911. "produces": [
  11912. "application/json"
  11913. ],
  11914. "tags": [
  11915. "用户信息"
  11916. ],
  11917. "summary": "移除用户商品收藏信息",
  11918. "parameters": [
  11919. {
  11920. "type": "integer",
  11921. "description": "用户ID",
  11922. "name": "userID",
  11923. "in": "query",
  11924. "required": true
  11925. },
  11926. {
  11927. "type": "integer",
  11928. "description": "商品ID",
  11929. "name": "goodsID",
  11930. "in": "query",
  11931. "required": true
  11932. }
  11933. ],
  11934. "responses": {
  11935. "200": {
  11936. "description": "OK",
  11937. "schema": {
  11938. "$ref": "#/definitions/app.Response"
  11939. }
  11940. },
  11941. "500": {
  11942. "description": "Internal Server Error",
  11943. "schema": {
  11944. "$ref": "#/definitions/app.Response"
  11945. }
  11946. }
  11947. }
  11948. }
  11949. },
  11950. "/User/UpdateUserAccountStatus": {
  11951. "post": {
  11952. "security": [
  11953. {
  11954. "ApiKeyAuth": []
  11955. }
  11956. ],
  11957. "produces": [
  11958. "application/json"
  11959. ],
  11960. "tags": [
  11961. "用户信息"
  11962. ],
  11963. "summary": "更新用户状态",
  11964. "parameters": [
  11965. {
  11966. "type": "integer",
  11967. "description": "用户ID",
  11968. "name": "userID",
  11969. "in": "query",
  11970. "required": true
  11971. },
  11972. {
  11973. "type": "integer",
  11974. "description": "账户状态 - 4:正常 6:注销(停用)",
  11975. "name": "accountStatus",
  11976. "in": "query",
  11977. "required": true
  11978. }
  11979. ],
  11980. "responses": {
  11981. "200": {
  11982. "description": "OK",
  11983. "schema": {
  11984. "$ref": "#/definitions/app.Response"
  11985. }
  11986. },
  11987. "500": {
  11988. "description": "Internal Server Error",
  11989. "schema": {
  11990. "$ref": "#/definitions/app.Response"
  11991. }
  11992. }
  11993. }
  11994. }
  11995. },
  11996. "/WRTrade/GetAllDeliveryGoods": {
  11997. "get": {
  11998. "security": [
  11999. {
  12000. "ApiKeyAuth": []
  12001. }
  12002. ],
  12003. "produces": [
  12004. "application/json"
  12005. ],
  12006. "tags": [
  12007. "仓单贸易",
  12008. "仓单贸易"
  12009. ],
  12010. "summary": "获取带仓单分类的种类信息",
  12011. "responses": {
  12012. "200": {
  12013. "description": "OK",
  12014. "schema": {
  12015. "$ref": "#/definitions/app.Response"
  12016. }
  12017. },
  12018. "500": {
  12019. "description": "Internal Server Error",
  12020. "schema": {
  12021. "$ref": "#/definitions/app.Response"
  12022. }
  12023. }
  12024. }
  12025. }
  12026. },
  12027. "/WrTrade2/QueryDeliveryGoodsSection": {
  12028. "get": {
  12029. "security": [
  12030. {
  12031. "ApiKeyAuth": []
  12032. }
  12033. ],
  12034. "produces": [
  12035. "application/json"
  12036. ],
  12037. "tags": [
  12038. "仓单贸易v2"
  12039. ],
  12040. "summary": "查询板块(分类)",
  12041. "responses": {
  12042. "200": {
  12043. "description": "OK",
  12044. "schema": {
  12045. "type": "array",
  12046. "items": {
  12047. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12048. }
  12049. }
  12050. },
  12051. "500": {
  12052. "description": "Internal Server Error",
  12053. "schema": {
  12054. "$ref": "#/definitions/app.Response"
  12055. }
  12056. }
  12057. }
  12058. }
  12059. },
  12060. "/WrTrade2/QueryFaProductDetail": {
  12061. "get": {
  12062. "security": [
  12063. {
  12064. "ApiKeyAuth": []
  12065. }
  12066. ],
  12067. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12068. "produces": [
  12069. "application/json"
  12070. ],
  12071. "tags": [
  12072. "仓单贸易v2"
  12073. ],
  12074. "summary": "查询融资产品列表",
  12075. "parameters": [
  12076. {
  12077. "type": "integer",
  12078. "description": "仓单要素id",
  12079. "name": "wrfactortypeid",
  12080. "in": "query",
  12081. "required": true
  12082. }
  12083. ],
  12084. "responses": {
  12085. "200": {
  12086. "description": "OK",
  12087. "schema": {
  12088. "type": "array",
  12089. "items": {
  12090. "$ref": "#/definitions/models.WrFAProductDetail"
  12091. }
  12092. }
  12093. },
  12094. "500": {
  12095. "description": "Internal Server Error",
  12096. "schema": {
  12097. "$ref": "#/definitions/app.Response"
  12098. }
  12099. }
  12100. }
  12101. }
  12102. },
  12103. "/WrTrade2/QueryFilterItem": {
  12104. "get": {
  12105. "security": [
  12106. {
  12107. "ApiKeyAuth": []
  12108. }
  12109. ],
  12110. "produces": [
  12111. "application/json"
  12112. ],
  12113. "tags": [
  12114. "仓单贸易v2"
  12115. ],
  12116. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12117. "parameters": [
  12118. {
  12119. "type": "string",
  12120. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12121. "name": "itype",
  12122. "in": "query",
  12123. "required": true
  12124. }
  12125. ],
  12126. "responses": {
  12127. "200": {
  12128. "description": "OK",
  12129. "schema": {
  12130. "type": "array",
  12131. "items": {
  12132. "$ref": "#/definitions/models.WrFilterItem"
  12133. }
  12134. }
  12135. },
  12136. "500": {
  12137. "description": "Internal Server Error",
  12138. "schema": {
  12139. "$ref": "#/definitions/app.Response"
  12140. }
  12141. }
  12142. }
  12143. }
  12144. },
  12145. "/WrTrade2/QueryFtDeliveryGoods": {
  12146. "get": {
  12147. "security": [
  12148. {
  12149. "ApiKeyAuth": []
  12150. }
  12151. ],
  12152. "produces": [
  12153. "application/json"
  12154. ],
  12155. "tags": [
  12156. "仓单贸易v2"
  12157. ],
  12158. "summary": "查询品种品类筛选框列表",
  12159. "responses": {
  12160. "200": {
  12161. "description": "OK",
  12162. "schema": {
  12163. "type": "array",
  12164. "items": {
  12165. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12166. }
  12167. }
  12168. },
  12169. "500": {
  12170. "description": "Internal Server Error",
  12171. "schema": {
  12172. "$ref": "#/definitions/app.Response"
  12173. }
  12174. }
  12175. }
  12176. }
  12177. },
  12178. "/WrTrade2/QueryHoldLB": {
  12179. "get": {
  12180. "security": [
  12181. {
  12182. "ApiKeyAuth": []
  12183. }
  12184. ],
  12185. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12186. "produces": [
  12187. "application/json"
  12188. ],
  12189. "tags": [
  12190. "仓单贸易v2"
  12191. ],
  12192. "summary": "查询仓单持有记录",
  12193. "parameters": [
  12194. {
  12195. "type": "integer",
  12196. "description": "资金账号",
  12197. "name": "accountid",
  12198. "in": "query",
  12199. "required": true
  12200. },
  12201. {
  12202. "type": "integer",
  12203. "description": "仓库id",
  12204. "name": "warehouseid",
  12205. "in": "query"
  12206. },
  12207. {
  12208. "type": "integer",
  12209. "description": "品种id",
  12210. "name": "deliverygoodsid",
  12211. "in": "query"
  12212. },
  12213. {
  12214. "type": "integer",
  12215. "description": "品类id",
  12216. "name": "wrstandardid",
  12217. "in": "query"
  12218. },
  12219. {
  12220. "type": "integer",
  12221. "description": "仓单要素id",
  12222. "name": "wrfactortypeid",
  12223. "in": "query"
  12224. },
  12225. {
  12226. "type": "string",
  12227. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12228. "name": "dgitemname",
  12229. "in": "query"
  12230. }
  12231. ],
  12232. "responses": {
  12233. "200": {
  12234. "description": "OK",
  12235. "schema": {
  12236. "type": "array",
  12237. "items": {
  12238. "$ref": "#/definitions/models.WrHoldLB"
  12239. }
  12240. }
  12241. },
  12242. "500": {
  12243. "description": "Internal Server Error",
  12244. "schema": {
  12245. "$ref": "#/definitions/app.Response"
  12246. }
  12247. }
  12248. }
  12249. }
  12250. },
  12251. "/WrTrade2/QueryOrderQuote": {
  12252. "get": {
  12253. "security": [
  12254. {
  12255. "ApiKeyAuth": []
  12256. }
  12257. ],
  12258. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12259. "produces": [
  12260. "application/json"
  12261. ],
  12262. "tags": [
  12263. "仓单贸易v2"
  12264. ],
  12265. "summary": "查询大厅行情列表",
  12266. "parameters": [
  12267. {
  12268. "type": "integer",
  12269. "description": "页码",
  12270. "name": "page",
  12271. "in": "query"
  12272. },
  12273. {
  12274. "type": "integer",
  12275. "description": "每页条数",
  12276. "name": "pagesize",
  12277. "in": "query"
  12278. },
  12279. {
  12280. "type": "integer",
  12281. "description": "仓单贸易市场id",
  12282. "name": "marketid",
  12283. "in": "query"
  12284. },
  12285. {
  12286. "type": "integer",
  12287. "description": "价格方式 - 1:固定价 2-浮动价",
  12288. "name": "wrpricetype",
  12289. "in": "query",
  12290. "required": true
  12291. },
  12292. {
  12293. "type": "integer",
  12294. "description": "0:仓单预售 1:仓单贸易",
  12295. "name": "haswr",
  12296. "in": "query"
  12297. },
  12298. {
  12299. "type": "string",
  12300. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12301. "name": "dgitemname",
  12302. "in": "query"
  12303. },
  12304. {
  12305. "type": "integer",
  12306. "description": "仓库id(筛选条件)",
  12307. "name": "warehouseid",
  12308. "in": "query"
  12309. },
  12310. {
  12311. "type": "integer",
  12312. "description": "品种id",
  12313. "name": "deliverygoodsid",
  12314. "in": "query"
  12315. },
  12316. {
  12317. "type": "integer",
  12318. "description": "品类id",
  12319. "name": "wrstandardid",
  12320. "in": "query"
  12321. },
  12322. {
  12323. "type": "integer",
  12324. "description": "仓单要素id",
  12325. "name": "wrfactortypeid",
  12326. "in": "query"
  12327. },
  12328. {
  12329. "type": "string",
  12330. "description": "交收月(yyyy-mm) 仓单预售填写",
  12331. "name": "deliverymonth",
  12332. "in": "query"
  12333. }
  12334. ],
  12335. "responses": {
  12336. "200": {
  12337. "description": "OK",
  12338. "schema": {
  12339. "type": "array",
  12340. "items": {
  12341. "$ref": "#/definitions/models.WrOrderQuote"
  12342. }
  12343. }
  12344. },
  12345. "500": {
  12346. "description": "Internal Server Error",
  12347. "schema": {
  12348. "$ref": "#/definitions/app.Response"
  12349. }
  12350. }
  12351. }
  12352. }
  12353. },
  12354. "/WrTrade2/QueryOrderQuoteDetail": {
  12355. "get": {
  12356. "security": [
  12357. {
  12358. "ApiKeyAuth": []
  12359. }
  12360. ],
  12361. "produces": [
  12362. "application/json"
  12363. ],
  12364. "tags": [
  12365. "仓单贸易v2"
  12366. ],
  12367. "summary": "查询买卖大厅",
  12368. "parameters": [
  12369. {
  12370. "type": "integer",
  12371. "description": "页码",
  12372. "name": "page",
  12373. "in": "query"
  12374. },
  12375. {
  12376. "type": "integer",
  12377. "description": "每页条数",
  12378. "name": "pagesize",
  12379. "in": "query"
  12380. },
  12381. {
  12382. "type": "integer",
  12383. "description": "仓单贸易市场id",
  12384. "name": "marketid",
  12385. "in": "query"
  12386. },
  12387. {
  12388. "type": "integer",
  12389. "description": "价格方式 - 1:固定价 2-浮动价",
  12390. "name": "wrpricetype",
  12391. "in": "query",
  12392. "required": true
  12393. },
  12394. {
  12395. "type": "integer",
  12396. "description": "0:仓单预售 1:仓单贸易",
  12397. "name": "haswr",
  12398. "in": "query"
  12399. },
  12400. {
  12401. "type": "integer",
  12402. "description": "仓单要素id",
  12403. "name": "wrfactortypeid",
  12404. "in": "query",
  12405. "required": true
  12406. },
  12407. {
  12408. "type": "integer",
  12409. "description": "期货商品id(浮动价方式时填)",
  12410. "name": "goodsid",
  12411. "in": "query"
  12412. },
  12413. {
  12414. "type": "integer",
  12415. "description": "买卖方向 0-买 1-卖",
  12416. "name": "buyorsell",
  12417. "in": "query",
  12418. "required": true
  12419. },
  12420. {
  12421. "type": "string",
  12422. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12423. "name": "deliverymonth",
  12424. "in": "query"
  12425. }
  12426. ],
  12427. "responses": {
  12428. "200": {
  12429. "description": "OK",
  12430. "schema": {
  12431. "type": "array",
  12432. "items": {
  12433. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12434. }
  12435. }
  12436. },
  12437. "500": {
  12438. "description": "Internal Server Error",
  12439. "schema": {
  12440. "$ref": "#/definitions/app.Response"
  12441. }
  12442. }
  12443. }
  12444. }
  12445. },
  12446. "/WrTrade2/QueryOrderQuoteMyq": {
  12447. "get": {
  12448. "security": [
  12449. {
  12450. "ApiKeyAuth": []
  12451. }
  12452. ],
  12453. "produces": [
  12454. "application/json"
  12455. ],
  12456. "tags": [
  12457. "仓单贸易v2"
  12458. ],
  12459. "summary": "查询贸易圈挂牌大厅",
  12460. "parameters": [
  12461. {
  12462. "type": "integer",
  12463. "description": "页码",
  12464. "name": "page",
  12465. "in": "query"
  12466. },
  12467. {
  12468. "type": "integer",
  12469. "description": "每页条数",
  12470. "name": "pagesize",
  12471. "in": "query"
  12472. },
  12473. {
  12474. "type": "integer",
  12475. "description": "用户id",
  12476. "name": "userid",
  12477. "in": "query",
  12478. "required": true
  12479. },
  12480. {
  12481. "type": "integer",
  12482. "description": "仓单贸易市场id",
  12483. "name": "marketid",
  12484. "in": "query"
  12485. },
  12486. {
  12487. "type": "integer",
  12488. "description": "0:仓单预售 1:仓单贸易",
  12489. "name": "haswr",
  12490. "in": "query"
  12491. },
  12492. {
  12493. "type": "integer",
  12494. "description": "买卖方向 0-买 1-卖",
  12495. "name": "buyorsell",
  12496. "in": "query",
  12497. "required": true
  12498. },
  12499. {
  12500. "type": "integer",
  12501. "description": "品种id",
  12502. "name": "deliverygoodsid",
  12503. "in": "query"
  12504. },
  12505. {
  12506. "type": "integer",
  12507. "description": "品类id",
  12508. "name": "wrstandardid",
  12509. "in": "query"
  12510. },
  12511. {
  12512. "type": "string",
  12513. "description": "交收月(yyyy-mm) 仓单预售填写",
  12514. "name": "deliverymonth",
  12515. "in": "query"
  12516. },
  12517. {
  12518. "type": "string",
  12519. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12520. "name": "dgitemname",
  12521. "in": "query"
  12522. }
  12523. ],
  12524. "responses": {
  12525. "200": {
  12526. "description": "OK",
  12527. "schema": {
  12528. "type": "array",
  12529. "items": {
  12530. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12531. }
  12532. }
  12533. },
  12534. "500": {
  12535. "description": "Internal Server Error",
  12536. "schema": {
  12537. "$ref": "#/definitions/app.Response"
  12538. }
  12539. }
  12540. }
  12541. }
  12542. },
  12543. "/WrTrade2/QueryPerformancePlan": {
  12544. "get": {
  12545. "security": [
  12546. {
  12547. "ApiKeyAuth": []
  12548. }
  12549. ],
  12550. "produces": [
  12551. "application/json"
  12552. ],
  12553. "tags": [
  12554. "仓单贸易v2"
  12555. ],
  12556. "summary": "查询履约信息",
  12557. "parameters": [
  12558. {
  12559. "type": "integer",
  12560. "description": "用户id",
  12561. "name": "userid",
  12562. "in": "query",
  12563. "required": true
  12564. },
  12565. {
  12566. "type": "integer",
  12567. "description": "买卖方向 0-买 1-卖",
  12568. "name": "buyorsell",
  12569. "in": "query",
  12570. "required": true
  12571. },
  12572. {
  12573. "type": "string",
  12574. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12575. "name": "status",
  12576. "in": "query"
  12577. },
  12578. {
  12579. "type": "string",
  12580. "description": "开始交易日(yyyymmdd)",
  12581. "name": "begindate",
  12582. "in": "query"
  12583. },
  12584. {
  12585. "type": "string",
  12586. "description": "结束交易日(yyyymmdd)",
  12587. "name": "enddate",
  12588. "in": "query"
  12589. }
  12590. ],
  12591. "responses": {
  12592. "200": {
  12593. "description": "OK",
  12594. "schema": {
  12595. "type": "array",
  12596. "items": {
  12597. "$ref": "#/definitions/models.WrPerformancePlan"
  12598. }
  12599. }
  12600. },
  12601. "500": {
  12602. "description": "Internal Server Error",
  12603. "schema": {
  12604. "$ref": "#/definitions/app.Response"
  12605. }
  12606. }
  12607. }
  12608. }
  12609. },
  12610. "/WrTrade2/QueryPermancePlanTmp": {
  12611. "get": {
  12612. "security": [
  12613. {
  12614. "ApiKeyAuth": []
  12615. }
  12616. ],
  12617. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12618. "produces": [
  12619. "application/json"
  12620. ],
  12621. "tags": [
  12622. "仓单贸易v2"
  12623. ],
  12624. "summary": "查询履约模板",
  12625. "parameters": [
  12626. {
  12627. "type": "integer",
  12628. "description": "用户id",
  12629. "name": "userid",
  12630. "in": "query"
  12631. },
  12632. {
  12633. "type": "string",
  12634. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12635. "name": "tmptype",
  12636. "in": "query"
  12637. },
  12638. {
  12639. "type": "integer",
  12640. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12641. "name": "includepub",
  12642. "in": "query"
  12643. },
  12644. {
  12645. "type": "integer",
  12646. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12647. "name": "marketid",
  12648. "in": "query"
  12649. }
  12650. ],
  12651. "responses": {
  12652. "200": {
  12653. "description": "OK",
  12654. "schema": {
  12655. "type": "array",
  12656. "items": {
  12657. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12658. }
  12659. }
  12660. },
  12661. "500": {
  12662. "description": "Internal Server Error",
  12663. "schema": {
  12664. "$ref": "#/definitions/app.Response"
  12665. }
  12666. }
  12667. }
  12668. }
  12669. },
  12670. "/WrTrade2/QuerySiteColumnDetail": {
  12671. "get": {
  12672. "security": [
  12673. {
  12674. "ApiKeyAuth": []
  12675. }
  12676. ],
  12677. "produces": [
  12678. "application/json"
  12679. ],
  12680. "tags": [
  12681. "仓单贸易v2"
  12682. ],
  12683. "summary": "查询资讯",
  12684. "parameters": [
  12685. {
  12686. "type": "integer",
  12687. "description": "页码",
  12688. "name": "page",
  12689. "in": "query"
  12690. },
  12691. {
  12692. "type": "integer",
  12693. "description": "每页条数",
  12694. "name": "pagesize",
  12695. "in": "query"
  12696. },
  12697. {
  12698. "type": "integer",
  12699. "description": "所属栏目id",
  12700. "name": "columnid",
  12701. "in": "query"
  12702. }
  12703. ],
  12704. "responses": {
  12705. "200": {
  12706. "description": "OK",
  12707. "schema": {
  12708. "type": "array",
  12709. "items": {
  12710. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12711. }
  12712. }
  12713. },
  12714. "500": {
  12715. "description": "Internal Server Error",
  12716. "schema": {
  12717. "$ref": "#/definitions/app.Response"
  12718. }
  12719. }
  12720. }
  12721. }
  12722. },
  12723. "/WrTrade2/QuerySpotGroupTradeSum": {
  12724. "get": {
  12725. "security": [
  12726. {
  12727. "ApiKeyAuth": []
  12728. }
  12729. ],
  12730. "produces": [
  12731. "application/json"
  12732. ],
  12733. "tags": [
  12734. "仓单贸易v2"
  12735. ],
  12736. "summary": "查询指数",
  12737. "responses": {
  12738. "200": {
  12739. "description": "OK",
  12740. "schema": {
  12741. "type": "array",
  12742. "items": {
  12743. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12744. }
  12745. }
  12746. },
  12747. "500": {
  12748. "description": "Internal Server Error",
  12749. "schema": {
  12750. "$ref": "#/definitions/app.Response"
  12751. }
  12752. }
  12753. }
  12754. }
  12755. },
  12756. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12757. "get": {
  12758. "security": [
  12759. {
  12760. "ApiKeyAuth": []
  12761. }
  12762. ],
  12763. "description": "查询的结果将会按日期 从小到大 排序",
  12764. "produces": [
  12765. "application/json"
  12766. ],
  12767. "tags": [
  12768. "仓单贸易v2"
  12769. ],
  12770. "summary": "查询指数详细(价格走势图)",
  12771. "parameters": [
  12772. {
  12773. "type": "integer",
  12774. "description": "现货商品id",
  12775. "name": "deliverygoodsid",
  12776. "in": "query",
  12777. "required": true
  12778. },
  12779. {
  12780. "type": "integer",
  12781. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12782. "name": "lastnum",
  12783. "in": "query"
  12784. }
  12785. ],
  12786. "responses": {
  12787. "200": {
  12788. "description": "OK",
  12789. "schema": {
  12790. "type": "array",
  12791. "items": {
  12792. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12793. }
  12794. }
  12795. },
  12796. "500": {
  12797. "description": "Internal Server Error",
  12798. "schema": {
  12799. "$ref": "#/definitions/app.Response"
  12800. }
  12801. }
  12802. }
  12803. }
  12804. },
  12805. "/WrTrade2/QueryWrAverageTradePrice": {
  12806. "get": {
  12807. "security": [
  12808. {
  12809. "ApiKeyAuth": []
  12810. }
  12811. ],
  12812. "produces": [
  12813. "application/json"
  12814. ],
  12815. "tags": [
  12816. "仓单贸易v2"
  12817. ],
  12818. "summary": "查询成交价(历史走势)",
  12819. "parameters": [
  12820. {
  12821. "type": "integer",
  12822. "description": "页码",
  12823. "name": "page",
  12824. "in": "query"
  12825. },
  12826. {
  12827. "type": "integer",
  12828. "description": "每页条数",
  12829. "name": "pagesize",
  12830. "in": "query"
  12831. },
  12832. {
  12833. "type": "integer",
  12834. "description": "0:仓单预售 1:仓单贸易",
  12835. "name": "haswr",
  12836. "in": "query",
  12837. "required": true
  12838. },
  12839. {
  12840. "type": "integer",
  12841. "description": "仓单要素id",
  12842. "name": "wrfactortypeid",
  12843. "in": "query",
  12844. "required": true
  12845. }
  12846. ],
  12847. "responses": {
  12848. "200": {
  12849. "description": "OK",
  12850. "schema": {
  12851. "type": "array",
  12852. "items": {
  12853. "$ref": "#/definitions/models.WrAverageTradePrice"
  12854. }
  12855. }
  12856. },
  12857. "500": {
  12858. "description": "Internal Server Error",
  12859. "schema": {
  12860. "$ref": "#/definitions/app.Response"
  12861. }
  12862. }
  12863. }
  12864. }
  12865. },
  12866. "/WrTrade2/QueryWrBsGoodsInfo": {
  12867. "get": {
  12868. "security": [
  12869. {
  12870. "ApiKeyAuth": []
  12871. }
  12872. ],
  12873. "description": "合约交易/买卖大厅/详情",
  12874. "produces": [
  12875. "application/json"
  12876. ],
  12877. "tags": [
  12878. "仓单贸易v2"
  12879. ],
  12880. "summary": "查询合约交易买卖大厅详情",
  12881. "parameters": [
  12882. {
  12883. "type": "integer",
  12884. "description": "商品id",
  12885. "name": "goodsid",
  12886. "in": "query",
  12887. "required": true
  12888. }
  12889. ],
  12890. "responses": {
  12891. "200": {
  12892. "description": "OK",
  12893. "schema": {
  12894. "type": "array",
  12895. "items": {
  12896. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12897. }
  12898. }
  12899. },
  12900. "500": {
  12901. "description": "Internal Server Error",
  12902. "schema": {
  12903. "$ref": "#/definitions/app.Response"
  12904. }
  12905. }
  12906. }
  12907. }
  12908. },
  12909. "/WrTrade2/QueryWrBuybackDetail": {
  12910. "get": {
  12911. "security": [
  12912. {
  12913. "ApiKeyAuth": []
  12914. }
  12915. ],
  12916. "produces": [
  12917. "application/json"
  12918. ],
  12919. "tags": [
  12920. "仓单贸易v2"
  12921. ],
  12922. "summary": "查询仓单回购明细",
  12923. "parameters": [
  12924. {
  12925. "type": "integer",
  12926. "description": "融资合同id",
  12927. "name": "scfcontractid",
  12928. "in": "query"
  12929. }
  12930. ],
  12931. "responses": {
  12932. "200": {
  12933. "description": "OK",
  12934. "schema": {
  12935. "type": "array",
  12936. "items": {
  12937. "$ref": "#/definitions/models.WrBuybackDetail"
  12938. }
  12939. }
  12940. },
  12941. "500": {
  12942. "description": "Internal Server Error",
  12943. "schema": {
  12944. "$ref": "#/definitions/app.Response"
  12945. }
  12946. }
  12947. }
  12948. }
  12949. },
  12950. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12951. "get": {
  12952. "security": [
  12953. {
  12954. "ApiKeyAuth": []
  12955. }
  12956. ],
  12957. "produces": [
  12958. "application/json"
  12959. ],
  12960. "tags": [
  12961. "仓单贸易v2"
  12962. ],
  12963. "summary": "查询合约交收可点选仓单",
  12964. "parameters": [
  12965. {
  12966. "type": "integer",
  12967. "description": "资金账号",
  12968. "name": "accountid",
  12969. "in": "query",
  12970. "required": true
  12971. },
  12972. {
  12973. "type": "integer",
  12974. "description": "商品id",
  12975. "name": "goodsid",
  12976. "in": "query",
  12977. "required": true
  12978. }
  12979. ],
  12980. "responses": {
  12981. "200": {
  12982. "description": "OK",
  12983. "schema": {
  12984. "type": "array",
  12985. "items": {
  12986. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12987. }
  12988. }
  12989. },
  12990. "500": {
  12991. "description": "Internal Server Error",
  12992. "schema": {
  12993. "$ref": "#/definitions/app.Response"
  12994. }
  12995. }
  12996. }
  12997. }
  12998. },
  12999. "/WrTrade2/QueryWrDeliveryDetail": {
  13000. "get": {
  13001. "security": [
  13002. {
  13003. "ApiKeyAuth": []
  13004. }
  13005. ],
  13006. "produces": [
  13007. "application/json"
  13008. ],
  13009. "tags": [
  13010. "仓单贸易v2"
  13011. ],
  13012. "summary": "查询交收",
  13013. "parameters": [
  13014. {
  13015. "type": "integer",
  13016. "description": "用户id",
  13017. "name": "userid",
  13018. "in": "query",
  13019. "required": true
  13020. },
  13021. {
  13022. "type": "integer",
  13023. "description": "资金账号id",
  13024. "name": "accountid",
  13025. "in": "query"
  13026. },
  13027. {
  13028. "type": "string",
  13029. "description": "开始交易日(yyyymmdd)",
  13030. "name": "begindate",
  13031. "in": "query"
  13032. },
  13033. {
  13034. "type": "string",
  13035. "description": "结束交易日(yyyymmdd)",
  13036. "name": "enddate",
  13037. "in": "query"
  13038. }
  13039. ],
  13040. "responses": {
  13041. "200": {
  13042. "description": "OK",
  13043. "schema": {
  13044. "type": "array",
  13045. "items": {
  13046. "$ref": "#/definitions/models.WrDeliveryDetail"
  13047. }
  13048. }
  13049. },
  13050. "500": {
  13051. "description": "Internal Server Error",
  13052. "schema": {
  13053. "$ref": "#/definitions/app.Response"
  13054. }
  13055. }
  13056. }
  13057. }
  13058. },
  13059. "/WrTrade2/QueryWrFactorTypeInfo": {
  13060. "get": {
  13061. "security": [
  13062. {
  13063. "ApiKeyAuth": []
  13064. }
  13065. ],
  13066. "produces": [
  13067. "application/json"
  13068. ],
  13069. "tags": [
  13070. "仓单贸易v2"
  13071. ],
  13072. "summary": "查询仓单要素详细信息",
  13073. "parameters": [
  13074. {
  13075. "type": "integer",
  13076. "description": "仓单要素id",
  13077. "name": "wrfactortypeid",
  13078. "in": "query",
  13079. "required": true
  13080. }
  13081. ],
  13082. "responses": {
  13083. "200": {
  13084. "description": "OK",
  13085. "schema": {
  13086. "type": "array",
  13087. "items": {
  13088. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13089. }
  13090. }
  13091. },
  13092. "500": {
  13093. "description": "Internal Server Error",
  13094. "schema": {
  13095. "$ref": "#/definitions/app.Response"
  13096. }
  13097. }
  13098. }
  13099. }
  13100. },
  13101. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13102. "get": {
  13103. "security": [
  13104. {
  13105. "ApiKeyAuth": []
  13106. }
  13107. ],
  13108. "produces": [
  13109. "application/json"
  13110. ],
  13111. "tags": [
  13112. "仓单贸易v2"
  13113. ],
  13114. "summary": "查询仓单要素详细信息列表项",
  13115. "parameters": [
  13116. {
  13117. "type": "integer",
  13118. "description": "仓单要素id",
  13119. "name": "wrfactortypeid",
  13120. "in": "query",
  13121. "required": true
  13122. }
  13123. ],
  13124. "responses": {
  13125. "200": {
  13126. "description": "OK",
  13127. "schema": {
  13128. "type": "array",
  13129. "items": {
  13130. "$ref": "#/definitions/models.WrTypeItem"
  13131. }
  13132. }
  13133. },
  13134. "500": {
  13135. "description": "Internal Server Error",
  13136. "schema": {
  13137. "$ref": "#/definitions/app.Response"
  13138. }
  13139. }
  13140. }
  13141. }
  13142. },
  13143. "/WrTrade2/QueryWrFinanceBuyApply": {
  13144. "get": {
  13145. "security": [
  13146. {
  13147. "ApiKeyAuth": []
  13148. }
  13149. ],
  13150. "description": "页面 融资信息+ / 申请单",
  13151. "produces": [
  13152. "application/json"
  13153. ],
  13154. "tags": [
  13155. "仓单贸易v2"
  13156. ],
  13157. "summary": "查询融资购买申请",
  13158. "parameters": [
  13159. {
  13160. "type": "integer",
  13161. "description": "用户id",
  13162. "name": "userid",
  13163. "in": "query",
  13164. "required": true
  13165. }
  13166. ],
  13167. "responses": {
  13168. "200": {
  13169. "description": "OK",
  13170. "schema": {
  13171. "type": "array",
  13172. "items": {
  13173. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13174. }
  13175. }
  13176. },
  13177. "500": {
  13178. "description": "Internal Server Error",
  13179. "schema": {
  13180. "$ref": "#/definitions/app.Response"
  13181. }
  13182. }
  13183. }
  13184. }
  13185. },
  13186. "/WrTrade2/QueryWrFriendApply": {
  13187. "get": {
  13188. "security": [
  13189. {
  13190. "ApiKeyAuth": []
  13191. }
  13192. ],
  13193. "produces": [
  13194. "application/json"
  13195. ],
  13196. "tags": [
  13197. "仓单贸易v2"
  13198. ],
  13199. "summary": "查询好友申请记录",
  13200. "parameters": [
  13201. {
  13202. "type": "integer",
  13203. "description": "用户id",
  13204. "name": "userid",
  13205. "in": "query",
  13206. "required": true
  13207. }
  13208. ],
  13209. "responses": {
  13210. "200": {
  13211. "description": "OK",
  13212. "schema": {
  13213. "type": "array",
  13214. "items": {
  13215. "$ref": "#/definitions/models.WrFriendApply"
  13216. }
  13217. }
  13218. },
  13219. "500": {
  13220. "description": "Internal Server Error",
  13221. "schema": {
  13222. "$ref": "#/definitions/app.Response"
  13223. }
  13224. }
  13225. }
  13226. }
  13227. },
  13228. "/WrTrade2/QueryWrGoodsInfo": {
  13229. "get": {
  13230. "security": [
  13231. {
  13232. "ApiKeyAuth": []
  13233. }
  13234. ],
  13235. "produces": [
  13236. "application/json"
  13237. ],
  13238. "tags": [
  13239. "仓单贸易v2"
  13240. ],
  13241. "summary": "查询仓单商品信息",
  13242. "parameters": [
  13243. {
  13244. "type": "integer",
  13245. "description": "仓单贸易市场id",
  13246. "name": "marketid",
  13247. "in": "query"
  13248. },
  13249. {
  13250. "type": "integer",
  13251. "description": "0:仓单预售 1:仓单贸易",
  13252. "name": "haswr",
  13253. "in": "query",
  13254. "required": true
  13255. },
  13256. {
  13257. "type": "integer",
  13258. "description": "仓单要素id",
  13259. "name": "wrfactortypeid",
  13260. "in": "query",
  13261. "required": true
  13262. },
  13263. {
  13264. "type": "integer",
  13265. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13266. "name": "tmplateid",
  13267. "in": "query"
  13268. }
  13269. ],
  13270. "responses": {
  13271. "200": {
  13272. "description": "OK",
  13273. "schema": {
  13274. "type": "array",
  13275. "items": {
  13276. "$ref": "#/definitions/models.WrGoodsInfo"
  13277. }
  13278. }
  13279. },
  13280. "500": {
  13281. "description": "Internal Server Error",
  13282. "schema": {
  13283. "$ref": "#/definitions/app.Response"
  13284. }
  13285. }
  13286. }
  13287. }
  13288. },
  13289. "/WrTrade2/QueryWrMarketTradeConfig": {
  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": "marketid",
  13308. "in": "query"
  13309. }
  13310. ],
  13311. "responses": {
  13312. "200": {
  13313. "description": "OK",
  13314. "schema": {
  13315. "type": "array",
  13316. "items": {
  13317. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13318. }
  13319. }
  13320. },
  13321. "500": {
  13322. "description": "Internal Server Error",
  13323. "schema": {
  13324. "$ref": "#/definitions/app.Response"
  13325. }
  13326. }
  13327. }
  13328. }
  13329. },
  13330. "/WrTrade2/QueryWrOrderDetail": {
  13331. "get": {
  13332. "security": [
  13333. {
  13334. "ApiKeyAuth": []
  13335. }
  13336. ],
  13337. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  13338. "produces": [
  13339. "application/json"
  13340. ],
  13341. "tags": [
  13342. "仓单贸易v2"
  13343. ],
  13344. "summary": "查询仓单委托单",
  13345. "parameters": [
  13346. {
  13347. "type": "integer",
  13348. "description": "页码",
  13349. "name": "page",
  13350. "in": "query"
  13351. },
  13352. {
  13353. "type": "integer",
  13354. "description": "每页条数",
  13355. "name": "pagesize",
  13356. "in": "query"
  13357. },
  13358. {
  13359. "type": "integer",
  13360. "description": "用户id",
  13361. "name": "userid",
  13362. "in": "query",
  13363. "required": true
  13364. },
  13365. {
  13366. "type": "integer",
  13367. "description": "仓单贸易市场id",
  13368. "name": "marketid",
  13369. "in": "query"
  13370. },
  13371. {
  13372. "type": "integer",
  13373. "description": "0:仓单预售 1:仓单贸易",
  13374. "name": "haswr",
  13375. "in": "query",
  13376. "required": true
  13377. },
  13378. {
  13379. "type": "integer",
  13380. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  13381. "name": "bcancel",
  13382. "in": "query"
  13383. },
  13384. {
  13385. "type": "integer",
  13386. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  13387. "name": "wrtradetype",
  13388. "in": "query"
  13389. },
  13390. {
  13391. "type": "string",
  13392. "description": "开始交易日(yyyymmdd)",
  13393. "name": "begindate",
  13394. "in": "query"
  13395. },
  13396. {
  13397. "type": "string",
  13398. "description": "结束交易日(yyyymmdd)",
  13399. "name": "enddate",
  13400. "in": "query"
  13401. }
  13402. ],
  13403. "responses": {
  13404. "200": {
  13405. "description": "OK",
  13406. "schema": {
  13407. "type": "array",
  13408. "items": {
  13409. "$ref": "#/definitions/models.WrOrderDetail"
  13410. }
  13411. }
  13412. },
  13413. "500": {
  13414. "description": "Internal Server Error",
  13415. "schema": {
  13416. "$ref": "#/definitions/app.Response"
  13417. }
  13418. }
  13419. }
  13420. }
  13421. },
  13422. "/WrTrade2/QueryWrOutInApply": {
  13423. "get": {
  13424. "security": [
  13425. {
  13426. "ApiKeyAuth": []
  13427. }
  13428. ],
  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. "type": "string",
  13446. "description": "开始交易日(yyyymmdd)",
  13447. "name": "begindate",
  13448. "in": "query"
  13449. },
  13450. {
  13451. "type": "string",
  13452. "description": "结束交易日(yyyymmdd)",
  13453. "name": "enddate",
  13454. "in": "query"
  13455. }
  13456. ],
  13457. "responses": {
  13458. "200": {
  13459. "description": "OK",
  13460. "schema": {
  13461. "type": "array",
  13462. "items": {
  13463. "$ref": "#/definitions/models.WrOutInApply"
  13464. }
  13465. }
  13466. },
  13467. "500": {
  13468. "description": "Internal Server Error",
  13469. "schema": {
  13470. "$ref": "#/definitions/app.Response"
  13471. }
  13472. }
  13473. }
  13474. }
  13475. },
  13476. "/WrTrade2/QueryWrPerformancePlanStep": {
  13477. "get": {
  13478. "security": [
  13479. {
  13480. "ApiKeyAuth": []
  13481. }
  13482. ],
  13483. "produces": [
  13484. "application/json"
  13485. ],
  13486. "tags": [
  13487. "仓单贸易v2"
  13488. ],
  13489. "summary": "查询履约信息详情",
  13490. "parameters": [
  13491. {
  13492. "type": "integer",
  13493. "description": "履约计划id(performanceplanid)",
  13494. "name": "planid",
  13495. "in": "query",
  13496. "required": true
  13497. },
  13498. {
  13499. "type": "integer",
  13500. "description": "当前步骤id",
  13501. "name": "curstepid",
  13502. "in": "query"
  13503. }
  13504. ],
  13505. "responses": {
  13506. "200": {
  13507. "description": "OK",
  13508. "schema": {
  13509. "type": "array",
  13510. "items": {
  13511. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13512. }
  13513. }
  13514. },
  13515. "500": {
  13516. "description": "Internal Server Error",
  13517. "schema": {
  13518. "$ref": "#/definitions/app.Response"
  13519. }
  13520. }
  13521. }
  13522. }
  13523. },
  13524. "/WrTrade2/QueryWrPerformanceStepType": {
  13525. "get": {
  13526. "security": [
  13527. {
  13528. "ApiKeyAuth": []
  13529. }
  13530. ],
  13531. "produces": [
  13532. "application/json"
  13533. ],
  13534. "tags": [
  13535. "仓单贸易v2"
  13536. ],
  13537. "summary": "查询履约步骤枚举",
  13538. "responses": {
  13539. "200": {
  13540. "description": "OK",
  13541. "schema": {
  13542. "type": "array",
  13543. "items": {
  13544. "$ref": "#/definitions/models.WrPerformanceStepType"
  13545. }
  13546. }
  13547. },
  13548. "500": {
  13549. "description": "Internal Server Error",
  13550. "schema": {
  13551. "$ref": "#/definitions/app.Response"
  13552. }
  13553. }
  13554. }
  13555. }
  13556. },
  13557. "/WrTrade2/QueryWrPosition": {
  13558. "get": {
  13559. "security": [
  13560. {
  13561. "ApiKeyAuth": []
  13562. }
  13563. ],
  13564. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13565. "produces": [
  13566. "application/json"
  13567. ],
  13568. "tags": [
  13569. "仓单贸易v2"
  13570. ],
  13571. "summary": "查询现货(预售)仓单持仓",
  13572. "parameters": [
  13573. {
  13574. "type": "integer",
  13575. "description": "用户id",
  13576. "name": "userid",
  13577. "in": "query",
  13578. "required": true
  13579. },
  13580. {
  13581. "type": "integer",
  13582. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13583. "name": "querytype",
  13584. "in": "query",
  13585. "required": true
  13586. },
  13587. {
  13588. "type": "integer",
  13589. "description": "0:仓单预售 1:仓单贸易",
  13590. "name": "haswr",
  13591. "in": "query",
  13592. "required": true
  13593. },
  13594. {
  13595. "type": "string",
  13596. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13597. "name": "dgitemname",
  13598. "in": "query"
  13599. },
  13600. {
  13601. "type": "integer",
  13602. "description": "仓库id(筛选条件)",
  13603. "name": "warehouseid",
  13604. "in": "query"
  13605. },
  13606. {
  13607. "type": "integer",
  13608. "description": "品种id",
  13609. "name": "deliverygoodsid",
  13610. "in": "query"
  13611. },
  13612. {
  13613. "type": "integer",
  13614. "description": "品类id",
  13615. "name": "wrstandardid",
  13616. "in": "query"
  13617. }
  13618. ],
  13619. "responses": {
  13620. "200": {
  13621. "description": "OK",
  13622. "schema": {
  13623. "type": "array",
  13624. "items": {
  13625. "$ref": "#/definitions/models.WrPosition"
  13626. }
  13627. }
  13628. },
  13629. "500": {
  13630. "description": "Internal Server Error",
  13631. "schema": {
  13632. "$ref": "#/definitions/app.Response"
  13633. }
  13634. }
  13635. }
  13636. }
  13637. },
  13638. "/WrTrade2/QueryWrPreSaleInfo": {
  13639. "get": {
  13640. "security": [
  13641. {
  13642. "ApiKeyAuth": []
  13643. }
  13644. ],
  13645. "produces": [
  13646. "application/json"
  13647. ],
  13648. "tags": [
  13649. "仓单贸易v2"
  13650. ],
  13651. "summary": "查询新品发布",
  13652. "parameters": [
  13653. {
  13654. "type": "integer",
  13655. "description": "市场id",
  13656. "name": "marketid",
  13657. "in": "query"
  13658. },
  13659. {
  13660. "type": "string",
  13661. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  13662. "name": "presalestatus",
  13663. "in": "query"
  13664. },
  13665. {
  13666. "type": "integer",
  13667. "description": "摇号标识 - 0:未摇号 1:已摇号",
  13668. "name": "lotteryflag",
  13669. "in": "query"
  13670. },
  13671. {
  13672. "type": "integer",
  13673. "description": "最近多少条记录(按创建时间倒序)",
  13674. "name": "lastnum",
  13675. "in": "query"
  13676. }
  13677. ],
  13678. "responses": {
  13679. "200": {
  13680. "description": "OK",
  13681. "schema": {
  13682. "type": "array",
  13683. "items": {
  13684. "$ref": "#/definitions/models.WrPreSaleInfo"
  13685. }
  13686. }
  13687. },
  13688. "500": {
  13689. "description": "Internal Server Error",
  13690. "schema": {
  13691. "$ref": "#/definitions/app.Response"
  13692. }
  13693. }
  13694. }
  13695. }
  13696. },
  13697. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  13698. "get": {
  13699. "security": [
  13700. {
  13701. "ApiKeyAuth": []
  13702. }
  13703. ],
  13704. "produces": [
  13705. "application/json"
  13706. ],
  13707. "tags": [
  13708. "仓单贸易v2"
  13709. ],
  13710. "summary": "查询价格走势",
  13711. "parameters": [
  13712. {
  13713. "type": "integer",
  13714. "description": "市场id",
  13715. "name": "marketid",
  13716. "in": "query",
  13717. "required": true
  13718. },
  13719. {
  13720. "type": "integer",
  13721. "description": "现货商品id",
  13722. "name": "wrstandardid",
  13723. "in": "query",
  13724. "required": true
  13725. },
  13726. {
  13727. "type": "string",
  13728. "description": "开始交易日(yyyymmdd)",
  13729. "name": "begindate",
  13730. "in": "query"
  13731. },
  13732. {
  13733. "type": "string",
  13734. "description": "结束交易日(yyyymmdd)",
  13735. "name": "enddate",
  13736. "in": "query"
  13737. },
  13738. {
  13739. "type": "integer",
  13740. "description": "最近多少条记录(按交易日倒序)",
  13741. "name": "lastnum",
  13742. "in": "query"
  13743. }
  13744. ],
  13745. "responses": {
  13746. "200": {
  13747. "description": "OK",
  13748. "schema": {
  13749. "type": "array",
  13750. "items": {
  13751. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  13752. }
  13753. }
  13754. },
  13755. "500": {
  13756. "description": "Internal Server Error",
  13757. "schema": {
  13758. "$ref": "#/definitions/app.Response"
  13759. }
  13760. }
  13761. }
  13762. }
  13763. },
  13764. "/WrTrade2/QueryWrScfContract": {
  13765. "get": {
  13766. "security": [
  13767. {
  13768. "ApiKeyAuth": []
  13769. }
  13770. ],
  13771. "produces": [
  13772. "application/json"
  13773. ],
  13774. "tags": [
  13775. "仓单贸易v2"
  13776. ],
  13777. "summary": "查询仓单贸易融资合同",
  13778. "parameters": [
  13779. {
  13780. "type": "integer",
  13781. "description": "用户id",
  13782. "name": "userid",
  13783. "in": "query",
  13784. "required": true
  13785. },
  13786. {
  13787. "type": "integer",
  13788. "description": "融资合同id",
  13789. "name": "scfcontractid",
  13790. "in": "query"
  13791. }
  13792. ],
  13793. "responses": {
  13794. "200": {
  13795. "description": "OK",
  13796. "schema": {
  13797. "type": "array",
  13798. "items": {
  13799. "$ref": "#/definitions/models.WrScfContract"
  13800. }
  13801. }
  13802. },
  13803. "500": {
  13804. "description": "Internal Server Error",
  13805. "schema": {
  13806. "$ref": "#/definitions/app.Response"
  13807. }
  13808. }
  13809. }
  13810. }
  13811. },
  13812. "/WrTrade2/QueryWrScfContractInterest": {
  13813. "get": {
  13814. "security": [
  13815. {
  13816. "ApiKeyAuth": []
  13817. }
  13818. ],
  13819. "produces": [
  13820. "application/json"
  13821. ],
  13822. "tags": [
  13823. "仓单贸易v2"
  13824. ],
  13825. "summary": "查询融资合同费用明细",
  13826. "parameters": [
  13827. {
  13828. "type": "integer",
  13829. "description": "融资合同id",
  13830. "name": "scfcontractid",
  13831. "in": "query"
  13832. }
  13833. ],
  13834. "responses": {
  13835. "200": {
  13836. "description": "OK",
  13837. "schema": {
  13838. "type": "array",
  13839. "items": {
  13840. "$ref": "#/definitions/models.WrScfContractInterest"
  13841. }
  13842. }
  13843. },
  13844. "500": {
  13845. "description": "Internal Server Error",
  13846. "schema": {
  13847. "$ref": "#/definitions/app.Response"
  13848. }
  13849. }
  13850. }
  13851. }
  13852. },
  13853. "/WrTrade2/QueryWrSearchUser": {
  13854. "get": {
  13855. "security": [
  13856. {
  13857. "ApiKeyAuth": []
  13858. }
  13859. ],
  13860. "produces": [
  13861. "application/json"
  13862. ],
  13863. "tags": [
  13864. "仓单贸易v2"
  13865. ],
  13866. "summary": "查询用户",
  13867. "parameters": [
  13868. {
  13869. "type": "string",
  13870. "description": "用户名称(模糊匹配)",
  13871. "name": "username",
  13872. "in": "query",
  13873. "required": true
  13874. }
  13875. ],
  13876. "responses": {
  13877. "200": {
  13878. "description": "OK",
  13879. "schema": {
  13880. "type": "array",
  13881. "items": {
  13882. "$ref": "#/definitions/models.WrSearchUser"
  13883. }
  13884. }
  13885. },
  13886. "500": {
  13887. "description": "Internal Server Error",
  13888. "schema": {
  13889. "$ref": "#/definitions/app.Response"
  13890. }
  13891. }
  13892. }
  13893. }
  13894. },
  13895. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13896. "get": {
  13897. "security": [
  13898. {
  13899. "ApiKeyAuth": []
  13900. }
  13901. ],
  13902. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13903. "produces": [
  13904. "application/json"
  13905. ],
  13906. "tags": [
  13907. "仓单贸易v2"
  13908. ],
  13909. "summary": "查询指定成交",
  13910. "parameters": [
  13911. {
  13912. "type": "integer",
  13913. "description": "页码",
  13914. "name": "page",
  13915. "in": "query"
  13916. },
  13917. {
  13918. "type": "integer",
  13919. "description": "每页条数",
  13920. "name": "pagesize",
  13921. "in": "query"
  13922. },
  13923. {
  13924. "type": "integer",
  13925. "description": "用户id",
  13926. "name": "userid",
  13927. "in": "query",
  13928. "required": true
  13929. },
  13930. {
  13931. "type": "integer",
  13932. "description": "仓单贸易市场id",
  13933. "name": "marketid",
  13934. "in": "query"
  13935. },
  13936. {
  13937. "type": "integer",
  13938. "description": "0:仓单预售 1:仓单贸易",
  13939. "name": "haswr",
  13940. "in": "query",
  13941. "required": true
  13942. },
  13943. {
  13944. "type": "integer",
  13945. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13946. "name": "isspecified",
  13947. "in": "query"
  13948. }
  13949. ],
  13950. "responses": {
  13951. "200": {
  13952. "description": "OK",
  13953. "schema": {
  13954. "type": "array",
  13955. "items": {
  13956. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13957. }
  13958. }
  13959. },
  13960. "500": {
  13961. "description": "Internal Server Error",
  13962. "schema": {
  13963. "$ref": "#/definitions/app.Response"
  13964. }
  13965. }
  13966. }
  13967. }
  13968. },
  13969. "/WrTrade2/QueryWrStandardFactoryItem": {
  13970. "get": {
  13971. "security": [
  13972. {
  13973. "ApiKeyAuth": []
  13974. }
  13975. ],
  13976. "produces": [
  13977. "application/json"
  13978. ],
  13979. "tags": [
  13980. "仓单贸易v2"
  13981. ],
  13982. "summary": "查询品类要素定义项",
  13983. "parameters": [
  13984. {
  13985. "type": "integer",
  13986. "description": "品类id",
  13987. "name": "wrstandardid",
  13988. "in": "query",
  13989. "required": true
  13990. }
  13991. ],
  13992. "responses": {
  13993. "200": {
  13994. "description": "OK",
  13995. "schema": {
  13996. "type": "array",
  13997. "items": {
  13998. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13999. }
  14000. }
  14001. },
  14002. "500": {
  14003. "description": "Internal Server Error",
  14004. "schema": {
  14005. "$ref": "#/definitions/app.Response"
  14006. }
  14007. }
  14008. }
  14009. }
  14010. },
  14011. "/WrTrade2/QueryWrTradeBargainApply": {
  14012. "get": {
  14013. "security": [
  14014. {
  14015. "ApiKeyAuth": []
  14016. }
  14017. ],
  14018. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  14019. "produces": [
  14020. "application/json"
  14021. ],
  14022. "tags": [
  14023. "仓单贸易v2"
  14024. ],
  14025. "summary": "查询议价单",
  14026. "parameters": [
  14027. {
  14028. "type": "integer",
  14029. "description": "议价人id(摘牌方)",
  14030. "name": "userid",
  14031. "in": "query"
  14032. },
  14033. {
  14034. "type": "integer",
  14035. "description": "挂牌方id(查对方议价时,填写此项)",
  14036. "name": "matchuserid",
  14037. "in": "query"
  14038. },
  14039. {
  14040. "type": "integer",
  14041. "description": "关联委托单id",
  14042. "name": "wrtradeorderid",
  14043. "in": "query"
  14044. },
  14045. {
  14046. "type": "integer",
  14047. "description": "0:仓单预售 1:仓单贸易",
  14048. "name": "haswr",
  14049. "in": "query",
  14050. "required": true
  14051. },
  14052. {
  14053. "type": "string",
  14054. "description": "开始交易日(yyyymmdd)",
  14055. "name": "begindate",
  14056. "in": "query"
  14057. },
  14058. {
  14059. "type": "string",
  14060. "description": "结束交易日(yyyymmdd)",
  14061. "name": "enddate",
  14062. "in": "query"
  14063. }
  14064. ],
  14065. "responses": {
  14066. "200": {
  14067. "description": "OK",
  14068. "schema": {
  14069. "type": "array",
  14070. "items": {
  14071. "$ref": "#/definitions/models.WRTradeBargainApply"
  14072. }
  14073. }
  14074. },
  14075. "500": {
  14076. "description": "Internal Server Error",
  14077. "schema": {
  14078. "$ref": "#/definitions/app.Response"
  14079. }
  14080. }
  14081. }
  14082. }
  14083. },
  14084. "/WrTrade2/QueryWrTradeDetail": {
  14085. "get": {
  14086. "security": [
  14087. {
  14088. "ApiKeyAuth": []
  14089. }
  14090. ],
  14091. "produces": [
  14092. "application/json"
  14093. ],
  14094. "tags": [
  14095. "仓单贸易v2"
  14096. ],
  14097. "summary": "查询仓单成交明细",
  14098. "parameters": [
  14099. {
  14100. "type": "integer",
  14101. "description": "页码",
  14102. "name": "page",
  14103. "in": "query"
  14104. },
  14105. {
  14106. "type": "integer",
  14107. "description": "每页条数",
  14108. "name": "pagesize",
  14109. "in": "query"
  14110. },
  14111. {
  14112. "type": "integer",
  14113. "description": "用户id",
  14114. "name": "userid",
  14115. "in": "query",
  14116. "required": true
  14117. },
  14118. {
  14119. "type": "integer",
  14120. "description": "仓单贸易市场id",
  14121. "name": "marketid",
  14122. "in": "query"
  14123. },
  14124. {
  14125. "type": "integer",
  14126. "description": "0:仓单预售 1:仓单贸易",
  14127. "name": "haswr",
  14128. "in": "query",
  14129. "required": true
  14130. },
  14131. {
  14132. "type": "string",
  14133. "description": "开始交易日(yyyymmdd)",
  14134. "name": "begindate",
  14135. "in": "query"
  14136. },
  14137. {
  14138. "type": "string",
  14139. "description": "结束交易日(yyyymmdd)",
  14140. "name": "enddate",
  14141. "in": "query"
  14142. }
  14143. ],
  14144. "responses": {
  14145. "200": {
  14146. "description": "OK",
  14147. "schema": {
  14148. "type": "array",
  14149. "items": {
  14150. "$ref": "#/definitions/models.WrTradeDetail"
  14151. }
  14152. }
  14153. },
  14154. "500": {
  14155. "description": "Internal Server Error",
  14156. "schema": {
  14157. "$ref": "#/definitions/app.Response"
  14158. }
  14159. }
  14160. }
  14161. }
  14162. },
  14163. "/WrTrade2/QueryWrTradeOrderDetail": {
  14164. "get": {
  14165. "security": [
  14166. {
  14167. "ApiKeyAuth": []
  14168. }
  14169. ],
  14170. "produces": [
  14171. "application/json"
  14172. ],
  14173. "tags": [
  14174. "仓单贸易v2"
  14175. ],
  14176. "summary": "查询合约交易买卖大厅",
  14177. "parameters": [
  14178. {
  14179. "type": "integer",
  14180. "description": "页码",
  14181. "name": "page",
  14182. "in": "query"
  14183. },
  14184. {
  14185. "type": "integer",
  14186. "description": "每页条数",
  14187. "name": "pagesize",
  14188. "in": "query"
  14189. },
  14190. {
  14191. "type": "integer",
  14192. "description": "商品id",
  14193. "name": "goodsid",
  14194. "in": "query",
  14195. "required": true
  14196. },
  14197. {
  14198. "type": "integer",
  14199. "description": "买卖方向 0-买 1-卖",
  14200. "name": "buyorsell",
  14201. "in": "query",
  14202. "required": true
  14203. }
  14204. ],
  14205. "responses": {
  14206. "200": {
  14207. "description": "OK",
  14208. "schema": {
  14209. "type": "array",
  14210. "items": {
  14211. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14212. }
  14213. }
  14214. },
  14215. "500": {
  14216. "description": "Internal Server Error",
  14217. "schema": {
  14218. "$ref": "#/definitions/app.Response"
  14219. }
  14220. }
  14221. }
  14222. }
  14223. },
  14224. "/WrTrade2/QueryWrUserFriend": {
  14225. "get": {
  14226. "security": [
  14227. {
  14228. "ApiKeyAuth": []
  14229. }
  14230. ],
  14231. "produces": [
  14232. "application/json"
  14233. ],
  14234. "tags": [
  14235. "仓单贸易v2"
  14236. ],
  14237. "summary": "查询我的朋友",
  14238. "parameters": [
  14239. {
  14240. "type": "integer",
  14241. "description": "用户id",
  14242. "name": "userid",
  14243. "in": "query",
  14244. "required": true
  14245. },
  14246. {
  14247. "type": "integer",
  14248. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14249. "name": "newuserid",
  14250. "in": "query"
  14251. }
  14252. ],
  14253. "responses": {
  14254. "200": {
  14255. "description": "OK",
  14256. "schema": {
  14257. "type": "array",
  14258. "items": {
  14259. "$ref": "#/definitions/models.WrUserFriend"
  14260. }
  14261. }
  14262. },
  14263. "500": {
  14264. "description": "Internal Server Error",
  14265. "schema": {
  14266. "$ref": "#/definitions/app.Response"
  14267. }
  14268. }
  14269. }
  14270. }
  14271. },
  14272. "/WrTrade2/QueryWrUserReceiptInfo": {
  14273. "get": {
  14274. "security": [
  14275. {
  14276. "ApiKeyAuth": []
  14277. }
  14278. ],
  14279. "produces": [
  14280. "application/json"
  14281. ],
  14282. "tags": [
  14283. "仓单贸易v2"
  14284. ],
  14285. "summary": "查询发票信息",
  14286. "parameters": [
  14287. {
  14288. "type": "integer",
  14289. "description": "用户id",
  14290. "name": "userid",
  14291. "in": "query"
  14292. },
  14293. {
  14294. "type": "integer",
  14295. "description": "发票类型 - 1:个人 2:企业",
  14296. "name": "receipttype",
  14297. "in": "query"
  14298. }
  14299. ],
  14300. "responses": {
  14301. "200": {
  14302. "description": "OK",
  14303. "schema": {
  14304. "type": "array",
  14305. "items": {
  14306. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14307. }
  14308. }
  14309. },
  14310. "500": {
  14311. "description": "Internal Server Error",
  14312. "schema": {
  14313. "$ref": "#/definitions/app.Response"
  14314. }
  14315. }
  14316. }
  14317. }
  14318. },
  14319. "/ZJ/GetBankTip": {
  14320. "get": {
  14321. "produces": [
  14322. "application/json"
  14323. ],
  14324. "tags": [
  14325. "中江"
  14326. ],
  14327. "summary": "获取中江网银端出入金提示信息",
  14328. "responses": {
  14329. "200": {
  14330. "description": "OK",
  14331. "schema": {
  14332. "type": "string"
  14333. }
  14334. },
  14335. "500": {
  14336. "description": "Internal Server Error",
  14337. "schema": {
  14338. "$ref": "#/definitions/app.Response"
  14339. }
  14340. }
  14341. }
  14342. }
  14343. },
  14344. "/ZJ/GetCusBankChannels": {
  14345. "get": {
  14346. "produces": [
  14347. "application/json"
  14348. ],
  14349. "tags": [
  14350. "中江"
  14351. ],
  14352. "summary": "获取中江出入金渠道显示列表",
  14353. "responses": {
  14354. "200": {
  14355. "description": "OK",
  14356. "schema": {
  14357. "type": "array",
  14358. "items": {
  14359. "type": "string"
  14360. }
  14361. }
  14362. },
  14363. "500": {
  14364. "description": "Internal Server Error",
  14365. "schema": {
  14366. "$ref": "#/definitions/app.Response"
  14367. }
  14368. }
  14369. }
  14370. }
  14371. }
  14372. },
  14373. "definitions": {
  14374. "app.Response": {
  14375. "type": "object",
  14376. "properties": {
  14377. "code": {
  14378. "type": "integer"
  14379. },
  14380. "data": {},
  14381. "msg": {
  14382. "type": "string"
  14383. },
  14384. "page": {
  14385. "description": "页码",
  14386. "type": "integer"
  14387. },
  14388. "pagesize": {
  14389. "description": "每页条数",
  14390. "type": "integer"
  14391. },
  14392. "total": {
  14393. "description": "总条数",
  14394. "type": "integer"
  14395. }
  14396. }
  14397. },
  14398. "common.ClientMenu": {
  14399. "type": "object",
  14400. "properties": {
  14401. "children": {
  14402. "description": "子菜单列表",
  14403. "type": "array",
  14404. "items": {
  14405. "$ref": "#/definitions/common.ClientMenu"
  14406. }
  14407. },
  14408. "code": {
  14409. "description": "ID",
  14410. "type": "string"
  14411. },
  14412. "isshow": {
  14413. "description": "是否显示",
  14414. "type": "boolean"
  14415. },
  14416. "remark": {
  14417. "description": "备注",
  14418. "type": "string"
  14419. },
  14420. "rulekey": {
  14421. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14422. "type": "string"
  14423. },
  14424. "sort": {
  14425. "description": "排序",
  14426. "type": "integer"
  14427. },
  14428. "title": {
  14429. "description": "标题",
  14430. "type": "string"
  14431. },
  14432. "type": {
  14433. "description": "类型,1:菜单 2:按钮",
  14434. "type": "integer"
  14435. },
  14436. "url": {
  14437. "description": "URL",
  14438. "type": "string"
  14439. }
  14440. }
  14441. },
  14442. "common.PCWebMenu": {
  14443. "type": "object",
  14444. "properties": {
  14445. "auth": {
  14446. "description": "页面权限列表",
  14447. "type": "array",
  14448. "items": {
  14449. "$ref": "#/definitions/common.PCWebMenuAuth"
  14450. }
  14451. },
  14452. "children": {
  14453. "description": "子菜单列表",
  14454. "type": "array",
  14455. "items": {
  14456. "$ref": "#/definitions/common.PCWebMenu"
  14457. }
  14458. },
  14459. "code": {
  14460. "description": "ID,新版本中权限KEY也是这个字段",
  14461. "type": "string"
  14462. },
  14463. "component": {
  14464. "description": "路由组件",
  14465. "type": "string"
  14466. },
  14467. "isshow": {
  14468. "description": "是否显示",
  14469. "type": "boolean"
  14470. },
  14471. "path": {
  14472. "description": "路由路径",
  14473. "type": "string"
  14474. },
  14475. "remark": {
  14476. "description": "备注",
  14477. "type": "string"
  14478. },
  14479. "rulekey": {
  14480. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14481. "type": "string"
  14482. },
  14483. "sort": {
  14484. "description": "排序",
  14485. "type": "integer"
  14486. },
  14487. "title": {
  14488. "description": "标题",
  14489. "type": "string"
  14490. },
  14491. "url": {
  14492. "description": "URL",
  14493. "type": "string"
  14494. }
  14495. }
  14496. },
  14497. "common.PCWebMenuAuth": {
  14498. "type": "object",
  14499. "properties": {
  14500. "code": {
  14501. "description": "ID,新版本中权限KEY也是这个字段",
  14502. "type": "string"
  14503. },
  14504. "isshow": {
  14505. "description": "是否显示",
  14506. "type": "boolean"
  14507. },
  14508. "label": {
  14509. "description": "标题",
  14510. "type": "string"
  14511. },
  14512. "remark": {
  14513. "description": "备注",
  14514. "type": "string"
  14515. },
  14516. "rulekey": {
  14517. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14518. "type": "string"
  14519. }
  14520. }
  14521. },
  14522. "common.QueryImageConfigsRsp": {
  14523. "type": "object",
  14524. "required": [
  14525. "configid"
  14526. ],
  14527. "properties": {
  14528. "areauserid": {
  14529. "description": "所属机构ID",
  14530. "type": "integer"
  14531. },
  14532. "configid": {
  14533. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14534. "type": "integer"
  14535. },
  14536. "createdate": {
  14537. "description": "创建时间",
  14538. "type": "string"
  14539. },
  14540. "creatorid": {
  14541. "description": "创建人",
  14542. "type": "integer"
  14543. },
  14544. "imagedetailpath": {
  14545. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  14546. "type": "string"
  14547. },
  14548. "imagepath": {
  14549. "description": "图片",
  14550. "type": "string"
  14551. },
  14552. "imagetype": {
  14553. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14554. "type": "integer"
  14555. },
  14556. "isshow": {
  14557. "description": "是否展示 - 0:不展示 1:展示",
  14558. "type": "integer"
  14559. },
  14560. "marketid": {
  14561. "description": "市场ID",
  14562. "type": "integer"
  14563. },
  14564. "modifierid": {
  14565. "description": "操作人",
  14566. "type": "integer"
  14567. },
  14568. "sort": {
  14569. "description": "排序",
  14570. "type": "integer"
  14571. },
  14572. "title": {
  14573. "description": "标题",
  14574. "type": "string"
  14575. },
  14576. "trademode": {
  14577. "description": "交易模式",
  14578. "type": "integer"
  14579. },
  14580. "updatedate": {
  14581. "description": "修改时间",
  14582. "type": "string"
  14583. },
  14584. "url": {
  14585. "description": "链接(地址或商品ID)",
  14586. "type": "string"
  14587. },
  14588. "urltype": {
  14589. "description": "链接类型 - 1:直接地址 2:商品ID",
  14590. "type": "integer"
  14591. }
  14592. }
  14593. },
  14594. "common.QueryNoticeRsp": {
  14595. "type": "object",
  14596. "required": [
  14597. "autoid"
  14598. ],
  14599. "properties": {
  14600. "auditoruserid": {
  14601. "description": "审核人",
  14602. "type": "integer"
  14603. },
  14604. "auditremark": {
  14605. "description": "审核备注",
  14606. "type": "string"
  14607. },
  14608. "audittime": {
  14609. "description": "审核日期",
  14610. "type": "string"
  14611. },
  14612. "autoid": {
  14613. "description": "自增ID",
  14614. "type": "integer"
  14615. },
  14616. "content": {
  14617. "description": "内容",
  14618. "type": "string"
  14619. },
  14620. "createtime": {
  14621. "description": "创建时间",
  14622. "type": "string"
  14623. },
  14624. "creatorid": {
  14625. "description": "建仓人",
  14626. "type": "integer"
  14627. },
  14628. "endtime": {
  14629. "description": "结束时间",
  14630. "type": "string"
  14631. },
  14632. "istop": {
  14633. "description": "是否置顶 - 0:不置顶 1:置顶",
  14634. "type": "integer"
  14635. },
  14636. "msgiconurl": {
  14637. "description": "消息图标Url",
  14638. "type": "string"
  14639. },
  14640. "msgtype": {
  14641. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14642. "type": "integer"
  14643. },
  14644. "publisher": {
  14645. "description": "消息发布者",
  14646. "type": "string"
  14647. },
  14648. "readed": {
  14649. "description": "是否已读",
  14650. "type": "boolean"
  14651. },
  14652. "scheduletime": {
  14653. "description": "计划发送时间",
  14654. "type": "string"
  14655. },
  14656. "sendtype": {
  14657. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14658. "type": "integer"
  14659. },
  14660. "sentstatus": {
  14661. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14662. "type": "integer"
  14663. },
  14664. "title": {
  14665. "description": "标题",
  14666. "type": "string"
  14667. },
  14668. "userid": {
  14669. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14670. "type": "integer"
  14671. }
  14672. }
  14673. },
  14674. "common.QueryProvincesAndCitiesRsp": {
  14675. "type": "object",
  14676. "properties": {
  14677. "cities": {
  14678. "description": "市",
  14679. "type": "array",
  14680. "items": {
  14681. "$ref": "#/definitions/models.Division"
  14682. }
  14683. },
  14684. "province": {
  14685. "description": "省",
  14686. "$ref": "#/definitions/models.Division"
  14687. }
  14688. }
  14689. },
  14690. "common.QueryTableDefineRsp": {
  14691. "type": "object",
  14692. "required": [
  14693. "tablekey"
  14694. ],
  14695. "properties": {
  14696. "columns": {
  14697. "description": "列头信息数组",
  14698. "type": "array",
  14699. "items": {
  14700. "$ref": "#/definitions/models.Tablecolumnconfig"
  14701. }
  14702. },
  14703. "remark": {
  14704. "description": "Remark",
  14705. "type": "string"
  14706. },
  14707. "tabelmenu": {
  14708. "description": "列表菜单",
  14709. "type": "string"
  14710. },
  14711. "tablekey": {
  14712. "description": "列表Key",
  14713. "type": "string"
  14714. },
  14715. "tablename": {
  14716. "description": "列表名称",
  14717. "type": "string"
  14718. },
  14719. "tabletype": {
  14720. "description": "列表类型 - 1:管理端 2:终端",
  14721. "type": "integer"
  14722. }
  14723. }
  14724. },
  14725. "common.QueryTraderMenuRsp": {
  14726. "type": "object",
  14727. "properties": {
  14728. "OperationMenu": {
  14729. "description": "功能菜单",
  14730. "type": "array",
  14731. "items": {
  14732. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14733. }
  14734. },
  14735. "QuoteMenu": {
  14736. "description": "报价牌分类菜单",
  14737. "type": "array",
  14738. "items": {
  14739. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14740. }
  14741. }
  14742. }
  14743. },
  14744. "cptrade.Cptradepositioncancel": {
  14745. "type": "object",
  14746. "required": [
  14747. "cancelid"
  14748. ],
  14749. "properties": {
  14750. "accountid": {
  14751. "description": "申请人账户ID",
  14752. "type": "integer"
  14753. },
  14754. "applystatus": {
  14755. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14756. "type": "integer"
  14757. },
  14758. "applytime": {
  14759. "description": "申请时间",
  14760. "type": "string"
  14761. },
  14762. "cancelid": {
  14763. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14764. "type": "integer"
  14765. },
  14766. "cancelqty": {
  14767. "description": "注销数量",
  14768. "type": "integer"
  14769. },
  14770. "createtime": {
  14771. "description": "创建时间",
  14772. "type": "string"
  14773. },
  14774. "creatorid": {
  14775. "description": "创建人ID",
  14776. "type": "integer"
  14777. },
  14778. "creatorname": {
  14779. "description": "创建人",
  14780. "type": "string"
  14781. },
  14782. "goodscode": {
  14783. "description": "订单商品代码",
  14784. "type": "string"
  14785. },
  14786. "goodsid": {
  14787. "description": "商品ID",
  14788. "type": "integer"
  14789. },
  14790. "goodsname": {
  14791. "description": "订单商品名称",
  14792. "type": "string"
  14793. },
  14794. "goodunit": {
  14795. "description": "报价单位",
  14796. "type": "string"
  14797. },
  14798. "handlestatus": {
  14799. "description": "处理状态",
  14800. "type": "integer"
  14801. },
  14802. "marketid": {
  14803. "description": "市场ID",
  14804. "type": "integer"
  14805. },
  14806. "marketname": {
  14807. "description": "市场名称",
  14808. "type": "string"
  14809. },
  14810. "tradedate": {
  14811. "description": "交易日(yyyyMMdd)",
  14812. "type": "string"
  14813. },
  14814. "userid": {
  14815. "description": "申请人ID",
  14816. "type": "integer"
  14817. }
  14818. }
  14819. },
  14820. "cptrade.Cptradepresaleapply": {
  14821. "type": "object",
  14822. "required": [
  14823. "applyid"
  14824. ],
  14825. "properties": {
  14826. "accountid": {
  14827. "description": "申请人账户ID",
  14828. "type": "integer"
  14829. },
  14830. "applyid": {
  14831. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14832. "type": "integer"
  14833. },
  14834. "applyremark": {
  14835. "description": "申请备注",
  14836. "type": "string"
  14837. },
  14838. "applystatus": {
  14839. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14840. "type": "integer"
  14841. },
  14842. "applytime": {
  14843. "description": "申请时间",
  14844. "type": "string"
  14845. },
  14846. "attachmenturl": {
  14847. "description": "附件地址",
  14848. "type": "string"
  14849. },
  14850. "endtime": {
  14851. "description": "预售结束时间",
  14852. "type": "string"
  14853. },
  14854. "goodscode": {
  14855. "description": "商品代码",
  14856. "type": "string"
  14857. },
  14858. "goodsid": {
  14859. "description": "商品ID",
  14860. "type": "integer"
  14861. },
  14862. "goodsname": {
  14863. "description": "商品名称",
  14864. "type": "string"
  14865. },
  14866. "goodunit": {
  14867. "description": "报价单位",
  14868. "type": "string"
  14869. },
  14870. "handlestatus": {
  14871. "description": "处理状态",
  14872. "type": "integer"
  14873. },
  14874. "marketid": {
  14875. "description": "预售市场ID",
  14876. "type": "integer"
  14877. },
  14878. "marketname": {
  14879. "description": "预售市场名称",
  14880. "type": "string"
  14881. },
  14882. "presaleqty": {
  14883. "description": "预售数量",
  14884. "type": "integer"
  14885. },
  14886. "relatedgoodscode": {
  14887. "description": "关联交易合约代码",
  14888. "type": "string"
  14889. },
  14890. "relatedgoodsid": {
  14891. "description": "关联交易合约ID",
  14892. "type": "integer"
  14893. },
  14894. "relatedgoodsname": {
  14895. "description": "关联交易合约名称",
  14896. "type": "string"
  14897. },
  14898. "starttime": {
  14899. "description": "预售开始时间",
  14900. "type": "string"
  14901. },
  14902. "tradedate": {
  14903. "description": "交易日(yyyyMMdd)",
  14904. "type": "string"
  14905. },
  14906. "trademode": {
  14907. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14908. "type": "integer"
  14909. },
  14910. "userid": {
  14911. "description": "申请人ID",
  14912. "type": "integer"
  14913. }
  14914. }
  14915. },
  14916. "cptrade.Cptradeusergoodsdata": {
  14917. "type": "object",
  14918. "required": [
  14919. "accountid",
  14920. "goodsid"
  14921. ],
  14922. "properties": {
  14923. "EnabledQty": {
  14924. "description": "可用量",
  14925. "type": "integer"
  14926. },
  14927. "GoodsCode": {
  14928. "description": "订单商品代码",
  14929. "type": "string"
  14930. },
  14931. "GoodsName": {
  14932. "description": "订单商品名称",
  14933. "type": "string"
  14934. },
  14935. "WRStandardCode": {
  14936. "description": "仓单标准代码",
  14937. "type": "string"
  14938. },
  14939. "WRStandardName": {
  14940. "description": "仓单标准名称",
  14941. "type": "string"
  14942. },
  14943. "accountid": {
  14944. "description": "账户ID",
  14945. "type": "integer"
  14946. },
  14947. "cancelqty": {
  14948. "description": "注销量",
  14949. "type": "integer"
  14950. },
  14951. "curpresaleqty": {
  14952. "description": "当前预售量",
  14953. "type": "integer"
  14954. },
  14955. "deliveryqty": {
  14956. "description": "交割量",
  14957. "type": "integer"
  14958. },
  14959. "freezeamount": {
  14960. "description": "冻结金额",
  14961. "type": "number"
  14962. },
  14963. "goodsid": {
  14964. "description": "商品ID",
  14965. "type": "integer"
  14966. },
  14967. "goodunit": {
  14968. "description": "报价单位",
  14969. "type": "string"
  14970. },
  14971. "hasspotfreeze": {
  14972. "description": "是否有现货冻结 - 0:否 1:有",
  14973. "type": "integer"
  14974. },
  14975. "inqty": {
  14976. "description": "转入量(总数量)",
  14977. "type": "integer"
  14978. },
  14979. "marketid": {
  14980. "description": "市场ID",
  14981. "type": "integer"
  14982. },
  14983. "presaledamount": {
  14984. "description": "已预售总金额",
  14985. "type": "integer"
  14986. },
  14987. "presaledqty": {
  14988. "description": "已预售量",
  14989. "type": "integer"
  14990. },
  14991. "userid": {
  14992. "description": "用户ID",
  14993. "type": "integer"
  14994. },
  14995. "wrstandardid": {
  14996. "description": "仓单标准ID",
  14997. "type": "integer"
  14998. }
  14999. }
  15000. },
  15001. "cptrade.QueryCPTradeMyBidRsp": {
  15002. "type": "object",
  15003. "required": [
  15004. "accountid",
  15005. "goodsid",
  15006. "marketid",
  15007. "orderid",
  15008. "orderqty",
  15009. "ordertime",
  15010. "tradeprice",
  15011. "tradeqty"
  15012. ],
  15013. "properties": {
  15014. "accountid": {
  15015. "description": "账户ID[报价币种]",
  15016. "type": "integer"
  15017. },
  15018. "goodsid": {
  15019. "description": "商品ID",
  15020. "type": "integer"
  15021. },
  15022. "goodunit": {
  15023. "description": "报价单位",
  15024. "type": "string"
  15025. },
  15026. "marketid": {
  15027. "description": "市场ID",
  15028. "type": "integer"
  15029. },
  15030. "orderid": {
  15031. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15032. "type": "integer"
  15033. },
  15034. "orderprice": {
  15035. "description": "委托价格",
  15036. "type": "number"
  15037. },
  15038. "orderqty": {
  15039. "description": "委托数量",
  15040. "type": "integer"
  15041. },
  15042. "ordertime": {
  15043. "description": "委托时间",
  15044. "type": "string"
  15045. },
  15046. "ordertotalprice": {
  15047. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  15048. "type": "number"
  15049. },
  15050. "ordertotalweight": {
  15051. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  15052. "type": "integer"
  15053. },
  15054. "totaltotalprice": {
  15055. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  15056. "type": "number"
  15057. },
  15058. "tradeprice": {
  15059. "description": "成交价格",
  15060. "type": "number"
  15061. },
  15062. "tradeqty": {
  15063. "description": "成交数量",
  15064. "type": "integer"
  15065. }
  15066. }
  15067. },
  15068. "cptrade.QueryCPTradeOrderDetailRsq": {
  15069. "type": "object",
  15070. "required": [
  15071. "accountid",
  15072. "buildtype",
  15073. "buyorsell",
  15074. "goodsid",
  15075. "marketid",
  15076. "memberuserid",
  15077. "operatetype",
  15078. "orderqty",
  15079. "ordertime",
  15080. "pricemode",
  15081. "strorderid",
  15082. "tradedate",
  15083. "validtype"
  15084. ],
  15085. "properties": {
  15086. "accountid": {
  15087. "description": "账户ID[报价币种]",
  15088. "type": "integer"
  15089. },
  15090. "buildtype": {
  15091. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15092. "type": "integer"
  15093. },
  15094. "buyorsell": {
  15095. "description": "买卖 - 0:买 1:卖",
  15096. "type": "integer"
  15097. },
  15098. "cancelorderid": {
  15099. "description": "撤单单号(撤单时填写)",
  15100. "type": "integer"
  15101. },
  15102. "cancelqty": {
  15103. "description": "撤单数量",
  15104. "type": "integer"
  15105. },
  15106. "clientordertime": {
  15107. "description": "客户端委托时间",
  15108. "type": "string"
  15109. },
  15110. "clientticket": {
  15111. "description": "客户端流水号",
  15112. "type": "string"
  15113. },
  15114. "clienttype": {
  15115. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15116. "type": "integer"
  15117. },
  15118. "closeexchagechargevalue": {
  15119. "description": "平仓交易所手续费设置值",
  15120. "type": "number"
  15121. },
  15122. "closefeealgorithm": {
  15123. "description": "平仓手续费收取方式 1:比率 2:固定",
  15124. "type": "integer"
  15125. },
  15126. "closefreezecharge": {
  15127. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15128. "type": "number"
  15129. },
  15130. "closememberchargevalue": {
  15131. "description": "平仓会员手续费设置值",
  15132. "type": "number"
  15133. },
  15134. "closeqty": {
  15135. "description": "平仓数量(先建后平操作 需要记录)",
  15136. "type": "integer"
  15137. },
  15138. "closetradeqty": {
  15139. "description": "平仓成交数量(先建后平操作,需要记录)",
  15140. "type": "integer"
  15141. },
  15142. "closeunfreezecharge": {
  15143. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15144. "type": "number"
  15145. },
  15146. "delistingtype": {
  15147. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15148. "type": "integer"
  15149. },
  15150. "freezecharge": {
  15151. "description": "冻结手续费",
  15152. "type": "number"
  15153. },
  15154. "freezemargin": {
  15155. "description": "冻结保证金(冻结交易金额)",
  15156. "type": "number"
  15157. },
  15158. "gcaccountid": {
  15159. "description": "账户ID[合约币种]",
  15160. "type": "integer"
  15161. },
  15162. "goodsid": {
  15163. "description": "商品ID",
  15164. "type": "integer"
  15165. },
  15166. "isconfirmexercise": {
  15167. "description": "是否确认行权- 0:否 1:是",
  15168. "type": "integer"
  15169. },
  15170. "ispreexercise": {
  15171. "description": "是否预申报- 0:否 1:是",
  15172. "type": "integer"
  15173. },
  15174. "listingselecttype": {
  15175. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15176. "type": "integer"
  15177. },
  15178. "marginalgorithm": {
  15179. "description": "保证金收取方式 1:比率 2:固定",
  15180. "type": "integer"
  15181. },
  15182. "marginvalue": {
  15183. "description": "即市保证金设置值",
  15184. "type": "number"
  15185. },
  15186. "marketid": {
  15187. "description": "市场ID",
  15188. "type": "integer"
  15189. },
  15190. "marketmaxsub": {
  15191. "description": "市价最大偏移范围",
  15192. "type": "number"
  15193. },
  15194. "memberuserid": {
  15195. "description": "所属会员UserID",
  15196. "type": "integer"
  15197. },
  15198. "openexchagechargevalue": {
  15199. "description": "建仓交易所手续费设置值",
  15200. "type": "number"
  15201. },
  15202. "openfeealgorithm": {
  15203. "description": "建仓手续费收取方式 1:比率 2:固定",
  15204. "type": "integer"
  15205. },
  15206. "openfreezecharge": {
  15207. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15208. "type": "number"
  15209. },
  15210. "openmemberchargevalue": {
  15211. "description": "建仓会员手续费设置值",
  15212. "type": "number"
  15213. },
  15214. "openqty": {
  15215. "description": "开仓数量(先建后平操作,需要记录)",
  15216. "type": "integer"
  15217. },
  15218. "opentradeqty": {
  15219. "description": "开仓成交数量(先建后平操作,需要记录)",
  15220. "type": "integer"
  15221. },
  15222. "openunfreezecharge": {
  15223. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15224. "type": "number"
  15225. },
  15226. "operatetype": {
  15227. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15228. "type": "integer"
  15229. },
  15230. "operatorid": {
  15231. "description": "登录账号(LoginID)",
  15232. "type": "integer"
  15233. },
  15234. "optiontype": {
  15235. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15236. "type": "integer"
  15237. },
  15238. "orderprice": {
  15239. "description": "委托价格",
  15240. "type": "number"
  15241. },
  15242. "orderqty": {
  15243. "description": "委托数量",
  15244. "type": "integer"
  15245. },
  15246. "ordersrc": {
  15247. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15248. "type": "integer"
  15249. },
  15250. "orderstatus": {
  15251. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15252. "type": "integer"
  15253. },
  15254. "ordertime": {
  15255. "description": "委托时间",
  15256. "type": "string"
  15257. },
  15258. "preexerciseprice": {
  15259. "description": "预申报价格",
  15260. "type": "number"
  15261. },
  15262. "premium": {
  15263. "description": "权利金",
  15264. "type": "number"
  15265. },
  15266. "preorderid": {
  15267. "description": "关联预埋单号(止盈止损单时填写)",
  15268. "type": "integer"
  15269. },
  15270. "pricemode": {
  15271. "description": "取价方式 - 1:市价 2: 限价",
  15272. "type": "integer"
  15273. },
  15274. "quoteid": {
  15275. "description": "报价单ID",
  15276. "type": "integer"
  15277. },
  15278. "relatedid": {
  15279. "description": "关联单号(交割单)",
  15280. "type": "integer"
  15281. },
  15282. "retcode": {
  15283. "description": "错误代码",
  15284. "type": "integer"
  15285. },
  15286. "sessionid": {
  15287. "description": "会话ID",
  15288. "type": "integer"
  15289. },
  15290. "strorderid": {
  15291. "description": "委托单号",
  15292. "type": "string"
  15293. },
  15294. "tradedate": {
  15295. "description": "交易日(yyyyMMdd)",
  15296. "type": "string"
  15297. },
  15298. "tradeproperty": {
  15299. "description": "交易属性",
  15300. "type": "integer"
  15301. },
  15302. "tradeqty": {
  15303. "description": "成交数量",
  15304. "type": "integer"
  15305. },
  15306. "unfreezecharge": {
  15307. "description": "解冻手续费",
  15308. "type": "number"
  15309. },
  15310. "unfreezemargin": {
  15311. "description": "解冻保证金",
  15312. "type": "number"
  15313. },
  15314. "updatetime": {
  15315. "description": "更新时间",
  15316. "type": "string"
  15317. },
  15318. "uuid": {
  15319. "description": "发起端唯一id",
  15320. "type": "string"
  15321. },
  15322. "validtime": {
  15323. "description": "有效期限",
  15324. "type": "string"
  15325. },
  15326. "validtype": {
  15327. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15328. "type": "integer"
  15329. },
  15330. "volumetype": {
  15331. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15332. "type": "integer"
  15333. }
  15334. }
  15335. },
  15336. "cptrade.QueryMyCPTradeGoodsRsp": {
  15337. "type": "object",
  15338. "required": [
  15339. "goodscode",
  15340. "goodsid",
  15341. "goodsname",
  15342. "marketid",
  15343. "relatedgoodscode",
  15344. "relatedgoodsname"
  15345. ],
  15346. "properties": {
  15347. "accountid": {
  15348. "description": "卖方账户ID",
  15349. "type": "integer"
  15350. },
  15351. "agreeunit": {
  15352. "description": "合约单位",
  15353. "type": "number"
  15354. },
  15355. "applyid": {
  15356. "description": "关联申请ID",
  15357. "type": "integer"
  15358. },
  15359. "attachmenturl": {
  15360. "description": "附件地址",
  15361. "type": "string"
  15362. },
  15363. "createtime": {
  15364. "description": "创建时间",
  15365. "type": "string"
  15366. },
  15367. "currencyid": {
  15368. "description": "报价货币ID",
  15369. "type": "integer"
  15370. },
  15371. "decimalplace": {
  15372. "description": "报价小数位",
  15373. "type": "integer"
  15374. },
  15375. "endtime": {
  15376. "description": "预售结束时间",
  15377. "type": "string"
  15378. },
  15379. "floorprice": {
  15380. "description": "底价[大宗式竞拍]",
  15381. "type": "number"
  15382. },
  15383. "goodscode": {
  15384. "description": "商品代码(预售)",
  15385. "type": "string"
  15386. },
  15387. "goodsdetail": {
  15388. "description": "详情[大宗]",
  15389. "type": "string"
  15390. },
  15391. "goodsid": {
  15392. "description": "商品ID(自增ID SEQ_GOODS)",
  15393. "type": "integer"
  15394. },
  15395. "goodsname": {
  15396. "description": "商品名称(预售)",
  15397. "type": "string"
  15398. },
  15399. "goodunit": {
  15400. "description": "报价单位",
  15401. "type": "string"
  15402. },
  15403. "goodunitid": {
  15404. "description": "报价单位ID",
  15405. "type": "integer"
  15406. },
  15407. "marketid": {
  15408. "description": "所属市场ID",
  15409. "type": "integer"
  15410. },
  15411. "marketname": {
  15412. "description": "预售市场名称",
  15413. "type": "string"
  15414. },
  15415. "presaledamount": {
  15416. "description": "已预售总金额(预售结束时更新)",
  15417. "type": "number"
  15418. },
  15419. "presaledqty": {
  15420. "description": "已预售量(预售结束时更新)",
  15421. "type": "integer"
  15422. },
  15423. "presalemode": {
  15424. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15425. "type": "integer"
  15426. },
  15427. "presaleqty": {
  15428. "description": "预售数量",
  15429. "type": "integer"
  15430. },
  15431. "refprice": {
  15432. "description": "参考价格[一口价]",
  15433. "type": "number"
  15434. },
  15435. "relatedgoodscode": {
  15436. "description": "商品代码(订单)",
  15437. "type": "string"
  15438. },
  15439. "relatedgoodsid": {
  15440. "description": "关联交易合约ID",
  15441. "type": "integer"
  15442. },
  15443. "relatedgoodsname": {
  15444. "description": "商品名称(订单)",
  15445. "type": "string"
  15446. },
  15447. "relatedmarketid": {
  15448. "description": "关联交易合约市场ID",
  15449. "type": "integer"
  15450. },
  15451. "sellstatus": {
  15452. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15453. "type": "integer"
  15454. },
  15455. "startprice": {
  15456. "description": "起拍价[大宗式竞拍]",
  15457. "type": "number"
  15458. },
  15459. "starttime": {
  15460. "description": "预售开始时间",
  15461. "type": "string"
  15462. },
  15463. "tradedate": {
  15464. "description": "交易日(yyyyMMdd)",
  15465. "type": "string"
  15466. },
  15467. "tradeprice": {
  15468. "description": "成交价[大宗]",
  15469. "type": "number"
  15470. },
  15471. "userid": {
  15472. "description": "卖方用户ID",
  15473. "type": "integer"
  15474. }
  15475. }
  15476. },
  15477. "cptrade.QueryPresaleGoodsExRsp": {
  15478. "type": "object",
  15479. "required": [
  15480. "goodsid"
  15481. ],
  15482. "properties": {
  15483. "attachmenturl": {
  15484. "description": "附件地址",
  15485. "type": "string"
  15486. },
  15487. "createtime": {
  15488. "description": "创建时间",
  15489. "type": "string"
  15490. },
  15491. "endtime": {
  15492. "description": "预售结束时间",
  15493. "type": "string"
  15494. },
  15495. "floorprice": {
  15496. "description": "底价[大宗式竞拍]",
  15497. "type": "number"
  15498. },
  15499. "goodsdetail": {
  15500. "description": "详情[大宗]",
  15501. "type": "string"
  15502. },
  15503. "goodsid": {
  15504. "description": "商品ID(预售)",
  15505. "type": "integer"
  15506. },
  15507. "goodunit": {
  15508. "description": "报价单位",
  15509. "type": "string"
  15510. },
  15511. "marketid": {
  15512. "description": "预售市场ID - 根据预售模式选择市场",
  15513. "type": "integer"
  15514. },
  15515. "presaledamount": {
  15516. "description": "已预售总金额(预售结束时更新)",
  15517. "type": "number"
  15518. },
  15519. "presaledqty": {
  15520. "description": "已预售量(预售结束时更新)",
  15521. "type": "integer"
  15522. },
  15523. "presalemode": {
  15524. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15525. "type": "integer"
  15526. },
  15527. "presaleqty": {
  15528. "description": "预售数量",
  15529. "type": "integer"
  15530. },
  15531. "refprice": {
  15532. "description": "参考价格[一口价]",
  15533. "type": "number"
  15534. },
  15535. "relatedgoodsid": {
  15536. "description": "关联交易合约ID",
  15537. "type": "integer"
  15538. },
  15539. "relatedmarketid": {
  15540. "description": "关联交易合约市场ID",
  15541. "type": "integer"
  15542. },
  15543. "sellstatus": {
  15544. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15545. "type": "integer"
  15546. },
  15547. "startprice": {
  15548. "description": "起拍价[大宗式竞拍]",
  15549. "type": "number"
  15550. },
  15551. "starttime": {
  15552. "description": "预售开始时间",
  15553. "type": "string"
  15554. },
  15555. "tradedate": {
  15556. "description": "交易日(yyyyMMdd)",
  15557. "type": "string"
  15558. },
  15559. "tradeprice": {
  15560. "description": "成交价[大宗]",
  15561. "type": "number"
  15562. }
  15563. }
  15564. },
  15565. "delivery.QueryDeliveryRelationRsp": {
  15566. "type": "object",
  15567. "required": [
  15568. "begindate",
  15569. "enddate",
  15570. "goodsid",
  15571. "mindeliveryqty",
  15572. "xdeliveryratio"
  15573. ],
  15574. "properties": {
  15575. "begindate": {
  15576. "description": "起始日期(yyyyMMdd)",
  15577. "type": "string"
  15578. },
  15579. "buytemplateid": {
  15580. "description": "买履约计划模板ID",
  15581. "type": "integer"
  15582. },
  15583. "deliverygoodscode": {
  15584. "description": "品种代码",
  15585. "type": "string"
  15586. },
  15587. "deliverygoodsid": {
  15588. "description": "交割商品",
  15589. "type": "integer"
  15590. },
  15591. "deliverygoodsname": {
  15592. "description": "品种名称",
  15593. "type": "string"
  15594. },
  15595. "deliverymode": {
  15596. "description": "交割方式 - 1:点选式 2:申报式",
  15597. "type": "integer"
  15598. },
  15599. "deliverypricerule": {
  15600. "description": "交割价规则- 1:行情价 2:建仓价",
  15601. "type": "integer"
  15602. },
  15603. "deliverytype": {
  15604. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15605. "type": "integer"
  15606. },
  15607. "enddate": {
  15608. "description": "结束日期(yyyyMMdd)",
  15609. "type": "string"
  15610. },
  15611. "enumdicname": {
  15612. "description": "品类单位名称",
  15613. "type": "string"
  15614. },
  15615. "goodscode": {
  15616. "description": "商品代码",
  15617. "type": "string"
  15618. },
  15619. "goodsid": {
  15620. "description": "交易合约ID",
  15621. "type": "integer"
  15622. },
  15623. "goodsname": {
  15624. "description": "商品名称",
  15625. "type": "string"
  15626. },
  15627. "marketid": {
  15628. "description": "市场ID",
  15629. "type": "integer"
  15630. },
  15631. "mindeliveryqty": {
  15632. "description": "最小交割系数(K)",
  15633. "type": "integer"
  15634. },
  15635. "p2deliveryprice": {
  15636. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15637. "type": "number"
  15638. },
  15639. "p2deliveryratio": {
  15640. "description": "P2合约系数(p)",
  15641. "type": "integer"
  15642. },
  15643. "p2goodsid": {
  15644. "description": "P2合约ID",
  15645. "type": "integer"
  15646. },
  15647. "p2pricemode": {
  15648. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15649. "type": "integer"
  15650. },
  15651. "pdeliveryprice": {
  15652. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15653. "type": "number"
  15654. },
  15655. "pdeliveryratio": {
  15656. "description": "P合约系数(n)",
  15657. "type": "integer"
  15658. },
  15659. "pgoodscode": {
  15660. "description": "p合约代码",
  15661. "type": "string"
  15662. },
  15663. "pgoodsid": {
  15664. "description": "P合约ID",
  15665. "type": "integer"
  15666. },
  15667. "ppricemode": {
  15668. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15669. "type": "integer"
  15670. },
  15671. "rratio": {
  15672. "description": "兑换系数(R)",
  15673. "type": "integer"
  15674. },
  15675. "rratio1": {
  15676. "description": "兑换系数(交易合约)(R1)",
  15677. "type": "integer"
  15678. },
  15679. "rratio2": {
  15680. "description": "兑换系数(仓单标准)(R2)",
  15681. "type": "integer"
  15682. },
  15683. "selltemplateid": {
  15684. "description": "卖履约计划模板ID",
  15685. "type": "integer"
  15686. },
  15687. "wrstandardid": {
  15688. "description": "仓单标准ID",
  15689. "type": "integer"
  15690. },
  15691. "xdeliveryratio": {
  15692. "description": "交易合约系数(m)",
  15693. "type": "integer"
  15694. }
  15695. }
  15696. },
  15697. "ermcp.ExposureDetailRsp": {
  15698. "type": "object",
  15699. "properties": {
  15700. "areauserid": {
  15701. "description": "机构ID",
  15702. "type": "integer"
  15703. },
  15704. "changeQty": {
  15705. "description": "套保变动量",
  15706. "type": "number"
  15707. },
  15708. "contracttype": {
  15709. "description": "现货合同类型 - 1:采购 -1:销售",
  15710. "type": "integer"
  15711. },
  15712. "convertfactor": {
  15713. "description": "标仓系数",
  15714. "type": "number"
  15715. },
  15716. "convertratio": {
  15717. "description": "套保系数",
  15718. "type": "number"
  15719. },
  15720. "createtime": {
  15721. "description": "时间",
  15722. "type": "string"
  15723. },
  15724. "enumdicname": {
  15725. "description": "现货商品单位名称",
  15726. "type": "string"
  15727. },
  15728. "logtype": {
  15729. "description": "类型 - 1:套保计划 2:现货合同",
  15730. "type": "integer"
  15731. },
  15732. "middlegoodsId": {
  15733. "description": "套保商品id",
  15734. "type": "integer"
  15735. },
  15736. "middlegoodscode": {
  15737. "description": "套保商品代码",
  15738. "type": "string"
  15739. },
  15740. "middlegoodsname": {
  15741. "description": "套保商品名称",
  15742. "type": "string"
  15743. },
  15744. "qty": {
  15745. "description": "数量",
  15746. "type": "number"
  15747. },
  15748. "relateNo": {
  15749. "description": "现货合同/套保计划编号",
  15750. "type": "string"
  15751. },
  15752. "wrstandardcode": {
  15753. "description": "现货商品代码",
  15754. "type": "string"
  15755. },
  15756. "wrstandardid": {
  15757. "description": "现货商品ID",
  15758. "type": "integer"
  15759. },
  15760. "wrstandardname": {
  15761. "description": "现货商品名称",
  15762. "type": "string"
  15763. }
  15764. }
  15765. },
  15766. "ermcp.ExposureHedgePosDetailRsp": {
  15767. "type": "object",
  15768. "properties": {
  15769. "buyorsell": {
  15770. "description": "买卖方向 0-买 1-卖",
  15771. "type": "integer"
  15772. },
  15773. "channelbuildtype": {
  15774. "description": "开平方向 1-建仓 2-平仓",
  15775. "type": "integer"
  15776. },
  15777. "goodscode": {
  15778. "description": "商品代码",
  15779. "type": "string"
  15780. },
  15781. "goodsname": {
  15782. "description": "商品名称",
  15783. "type": "string"
  15784. },
  15785. "hedgegoodsid": {
  15786. "description": "商品id",
  15787. "type": "integer"
  15788. },
  15789. "tradeqty": {
  15790. "description": "数量(成交数量)",
  15791. "type": "integer"
  15792. },
  15793. "tradetime": {
  15794. "description": "时间(成交时间)",
  15795. "type": "string"
  15796. }
  15797. }
  15798. },
  15799. "ermcp.ExposureHedgePositionRsp": {
  15800. "type": "object",
  15801. "properties": {
  15802. "accountid": {
  15803. "description": "资金账号[外部母账户]",
  15804. "type": "integer"
  15805. },
  15806. "curbuyposition": {
  15807. "description": "期末买头寸",
  15808. "type": "integer"
  15809. },
  15810. "cursellposition": {
  15811. "description": "期末卖头寸",
  15812. "type": "integer"
  15813. },
  15814. "curtdbuyposition": {
  15815. "description": "期末今日买头寸",
  15816. "type": "integer"
  15817. },
  15818. "curtdsellposition": {
  15819. "description": "期末今日卖头寸",
  15820. "type": "integer"
  15821. },
  15822. "curydbuyposition": {
  15823. "description": "期末上日买头寸",
  15824. "type": "integer"
  15825. },
  15826. "curydsellposition": {
  15827. "description": "期末上日卖头寸",
  15828. "type": "integer"
  15829. },
  15830. "decreaseqty": {
  15831. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15832. "type": "integer"
  15833. },
  15834. "fretdbuyposition": {
  15835. "description": "冻结今日买头寸",
  15836. "type": "integer"
  15837. },
  15838. "fretdsellposition": {
  15839. "description": "冻结今日卖头寸",
  15840. "type": "integer"
  15841. },
  15842. "freydbuyposition": {
  15843. "description": "冻结上日买头寸",
  15844. "type": "integer"
  15845. },
  15846. "freydsellposition": {
  15847. "description": "冻结上日卖头寸",
  15848. "type": "integer"
  15849. },
  15850. "goodscode": {
  15851. "description": "商品代码",
  15852. "type": "string"
  15853. },
  15854. "goodsid": {
  15855. "description": "商品id",
  15856. "type": "integer"
  15857. },
  15858. "goodsname": {
  15859. "description": "商品名称",
  15860. "type": "string"
  15861. },
  15862. "hedgeaccountcode": {
  15863. "description": "对冲账号",
  15864. "type": "string"
  15865. },
  15866. "hedgegoodsid": {
  15867. "description": "对冲合约ID",
  15868. "type": "integer"
  15869. },
  15870. "increaseqty": {
  15871. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15872. "type": "integer"
  15873. },
  15874. "marketid": {
  15875. "description": "市场ID",
  15876. "type": "integer"
  15877. },
  15878. "relateduserid": {
  15879. "description": "关联用户id",
  15880. "type": "integer"
  15881. },
  15882. "totalcurqty": {
  15883. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15884. "type": "integer"
  15885. },
  15886. "totalydqty": {
  15887. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15888. "type": "integer"
  15889. },
  15890. "tradedate": {
  15891. "description": "交易日(yyyyMMdd)",
  15892. "type": "string"
  15893. },
  15894. "ydbuyposition": {
  15895. "description": "期初买头寸",
  15896. "type": "integer"
  15897. },
  15898. "ydsellposition": {
  15899. "description": "期初卖头寸",
  15900. "type": "integer"
  15901. }
  15902. }
  15903. },
  15904. "ermcp.ExposureSpotDetailRsp": {
  15905. "type": "object",
  15906. "properties": {
  15907. "contracttype": {
  15908. "description": "合同类型 1-采购 -1-销售",
  15909. "type": "integer"
  15910. },
  15911. "createtime": {
  15912. "description": "创建时间",
  15913. "type": "string"
  15914. },
  15915. "enumdicname": {
  15916. "description": "现货商品单位名称",
  15917. "type": "string"
  15918. },
  15919. "logtype": {
  15920. "description": "记录类型 1-套保 2-现货合同",
  15921. "type": "integer"
  15922. },
  15923. "qty": {
  15924. "description": "数量",
  15925. "type": "number"
  15926. },
  15927. "recordname": {
  15928. "description": "类型名称",
  15929. "type": "string"
  15930. },
  15931. "relatedid": {
  15932. "description": "套保计划ID/现货合同ID",
  15933. "type": "string"
  15934. },
  15935. "relatedno": {
  15936. "description": "编号",
  15937. "type": "string"
  15938. },
  15939. "strtime": {
  15940. "description": "时间",
  15941. "type": "string"
  15942. },
  15943. "wrstandardcode": {
  15944. "description": "现货商品代码",
  15945. "type": "string"
  15946. },
  15947. "wrstandardname": {
  15948. "description": "现货商品名称",
  15949. "type": "string"
  15950. }
  15951. }
  15952. },
  15953. "ermcp.ExposureSpotRsp": {
  15954. "type": "object",
  15955. "properties": {
  15956. "areauserid": {
  15957. "description": "所属机构",
  15958. "type": "integer"
  15959. },
  15960. "decreaseqty": {
  15961. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15962. "type": "number"
  15963. },
  15964. "increaseqty": {
  15965. "description": "增加数量=销售计划数量+采购已定价数量",
  15966. "type": "number"
  15967. },
  15968. "oritoalspotqty": {
  15969. "description": "昨日数量",
  15970. "type": "number"
  15971. },
  15972. "totalspotqty": {
  15973. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15974. "type": "number"
  15975. },
  15976. "updatetime": {
  15977. "description": "更新时间",
  15978. "type": "string"
  15979. },
  15980. "wrstandardcode": {
  15981. "description": "现货品种代码",
  15982. "type": "string"
  15983. },
  15984. "wrstandardid": {
  15985. "description": "现货商品ID",
  15986. "type": "integer"
  15987. },
  15988. "wrstandardname": {
  15989. "description": "现货品种",
  15990. "type": "string"
  15991. }
  15992. }
  15993. },
  15994. "ermcp.HisExposureRsp": {
  15995. "type": "object",
  15996. "properties": {
  15997. "data": {
  15998. "description": "历史敞口",
  15999. "type": "array",
  16000. "items": {
  16001. "$ref": "#/definitions/models.ErmcpHisExposure"
  16002. }
  16003. },
  16004. "enumdicname": {
  16005. "description": "单位名称",
  16006. "type": "string"
  16007. },
  16008. "middlegoodscode": {
  16009. "description": "套保品种代码",
  16010. "type": "string"
  16011. },
  16012. "middlegoodsid": {
  16013. "description": "套保品种ID",
  16014. "type": "integer"
  16015. },
  16016. "middlegoodsname": {
  16017. "description": "套保品种名称",
  16018. "type": "string"
  16019. }
  16020. }
  16021. },
  16022. "ermcp.PendingAuditCntRsp": {
  16023. "type": "object",
  16024. "properties": {
  16025. "areastockqty": {
  16026. "description": "待审核数量: 库存申请",
  16027. "type": "integer"
  16028. },
  16029. "businessdjqty": {
  16030. "description": "待审核数量: 点价",
  16031. "type": "integer"
  16032. },
  16033. "businessfpqty": {
  16034. "description": "待审核数量: 发票",
  16035. "type": "integer"
  16036. },
  16037. "businessjsqty": {
  16038. "description": "待审核数量: 结算",
  16039. "type": "integer"
  16040. },
  16041. "businesskxqty": {
  16042. "description": "待审核数量: 款项",
  16043. "type": "integer"
  16044. },
  16045. "hedgeplanqty": {
  16046. "description": "待审核数量: 套保计划",
  16047. "type": "integer"
  16048. },
  16049. "spotcontractqty": {
  16050. "description": "待审核数量: 现货合同",
  16051. "type": "integer"
  16052. },
  16053. "userqty": {
  16054. "description": "待审核数量: 用户",
  16055. "type": "integer"
  16056. }
  16057. }
  16058. },
  16059. "ermcp.QryAvalidGPRsp": {
  16060. "type": "object",
  16061. "properties": {
  16062. "goodsgroupid": {
  16063. "description": "期货品种id",
  16064. "type": "integer"
  16065. },
  16066. "goodsgroupname": {
  16067. "description": "期货品种名称",
  16068. "type": "string"
  16069. },
  16070. "goodunitid": {
  16071. "description": "品种单位id",
  16072. "type": "integer"
  16073. },
  16074. "goodunitname": {
  16075. "description": "品种单位名称",
  16076. "type": "string"
  16077. },
  16078. "outergroupcode": {
  16079. "description": "期货品种代码",
  16080. "type": "string"
  16081. }
  16082. }
  16083. },
  16084. "ermcp.QryBusinessDjRsp": {
  16085. "type": "object",
  16086. "properties": {
  16087. "amount": {
  16088. "description": "点价金额=(点价价格+升贴水)*点价数量",
  16089. "type": "number"
  16090. },
  16091. "applyid": {
  16092. "description": "申请人",
  16093. "type": "string"
  16094. },
  16095. "applyname": {
  16096. "description": "申请人名称",
  16097. "type": "string"
  16098. },
  16099. "applystatus": {
  16100. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16101. "type": "integer"
  16102. },
  16103. "applytime": {
  16104. "description": "申请时间",
  16105. "type": "string"
  16106. },
  16107. "attachurl": {
  16108. "description": "附件",
  16109. "type": "string"
  16110. },
  16111. "auditid": {
  16112. "description": "审核人ID",
  16113. "type": "string"
  16114. },
  16115. "auditname": {
  16116. "description": "审核人名称",
  16117. "type": "string"
  16118. },
  16119. "auditremark": {
  16120. "description": "审核备注",
  16121. "type": "string"
  16122. },
  16123. "audittime": {
  16124. "description": "审核时间",
  16125. "type": "string"
  16126. },
  16127. "buyusername": {
  16128. "description": "采购方名称",
  16129. "type": "string"
  16130. },
  16131. "contractno": {
  16132. "description": "合同编号",
  16133. "type": "string"
  16134. },
  16135. "contractstatus": {
  16136. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16137. "type": "integer"
  16138. },
  16139. "contracttype": {
  16140. "description": "现货合同类型 - 1:采购 -1:销售",
  16141. "type": "integer"
  16142. },
  16143. "deliverygoodscode": {
  16144. "description": "现货品种代码",
  16145. "type": "string"
  16146. },
  16147. "deliverygoodsid": {
  16148. "description": "现货商品ID",
  16149. "type": "integer"
  16150. },
  16151. "deliverygoodsname": {
  16152. "description": "现货品种名称",
  16153. "type": "string"
  16154. },
  16155. "enumdicname": {
  16156. "description": "单位名称",
  16157. "type": "string"
  16158. },
  16159. "goodscode": {
  16160. "description": "点价合约",
  16161. "type": "string"
  16162. },
  16163. "goodsname": {
  16164. "description": "商品名称",
  16165. "type": "string"
  16166. },
  16167. "operateapplyid": {
  16168. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16169. "type": "string"
  16170. },
  16171. "operateapplytype": {
  16172. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16173. "type": "integer"
  16174. },
  16175. "pricedPrice": {
  16176. "description": "点价价格(非必填)",
  16177. "type": "number"
  16178. },
  16179. "pricedQty": {
  16180. "description": "点价数量(非必填)",
  16181. "type": "number"
  16182. },
  16183. "pricemove": {
  16184. "description": "升贴水",
  16185. "type": "number"
  16186. },
  16187. "pricetype": {
  16188. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16189. "type": "integer"
  16190. },
  16191. "relatedid": {
  16192. "description": "现货合同ID",
  16193. "type": "string"
  16194. },
  16195. "sellusername": {
  16196. "description": "销售方名字",
  16197. "type": "string"
  16198. },
  16199. "userid": {
  16200. "description": "用户ID",
  16201. "type": "integer"
  16202. },
  16203. "wrstandardcode": {
  16204. "description": "品类代码",
  16205. "type": "string"
  16206. },
  16207. "wrstandardid": {
  16208. "description": "品类id",
  16209. "type": "integer"
  16210. },
  16211. "wrstandardname": {
  16212. "description": "品类名称",
  16213. "type": "string"
  16214. }
  16215. }
  16216. },
  16217. "ermcp.QryBussinessFpRsp": {
  16218. "type": "object",
  16219. "properties": {
  16220. "applyid": {
  16221. "description": "申请人",
  16222. "type": "string"
  16223. },
  16224. "applyname": {
  16225. "description": "申请人名称",
  16226. "type": "string"
  16227. },
  16228. "applystatus": {
  16229. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16230. "type": "integer"
  16231. },
  16232. "applytime": {
  16233. "description": "申请时间",
  16234. "type": "string"
  16235. },
  16236. "attachurl": {
  16237. "description": "附件",
  16238. "type": "string"
  16239. },
  16240. "auditid": {
  16241. "description": "审核人ID",
  16242. "type": "string"
  16243. },
  16244. "auditname": {
  16245. "description": "审核人名称",
  16246. "type": "string"
  16247. },
  16248. "auditremark": {
  16249. "description": "审核备注",
  16250. "type": "string"
  16251. },
  16252. "audittime": {
  16253. "description": "审核时间",
  16254. "type": "string"
  16255. },
  16256. "buyusername": {
  16257. "description": "采购方名称",
  16258. "type": "string"
  16259. },
  16260. "contractno": {
  16261. "description": "合同编号",
  16262. "type": "string"
  16263. },
  16264. "contractstatus": {
  16265. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16266. "type": "integer"
  16267. },
  16268. "contracttype": {
  16269. "description": "现货合同类型 - 1:采购 -1:销售",
  16270. "type": "integer"
  16271. },
  16272. "deliverygoodscode": {
  16273. "description": "现货品种代码",
  16274. "type": "string"
  16275. },
  16276. "deliverygoodsid": {
  16277. "description": "现货商品ID",
  16278. "type": "integer"
  16279. },
  16280. "deliverygoodsname": {
  16281. "description": "现货品种名称",
  16282. "type": "string"
  16283. },
  16284. "enumdicname": {
  16285. "description": "单位名称",
  16286. "type": "string"
  16287. },
  16288. "goodscode": {
  16289. "description": "点价合约",
  16290. "type": "string"
  16291. },
  16292. "goodsname": {
  16293. "description": "商品名称",
  16294. "type": "string"
  16295. },
  16296. "invoiceamount": {
  16297. "description": "已开收票金额(销售为开票,采购为收票)",
  16298. "type": "number"
  16299. },
  16300. "operateapplyid": {
  16301. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16302. "type": "string"
  16303. },
  16304. "operateapplytype": {
  16305. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16306. "type": "integer"
  16307. },
  16308. "pricemove": {
  16309. "description": "升贴水",
  16310. "type": "number"
  16311. },
  16312. "pricetype": {
  16313. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16314. "type": "integer"
  16315. },
  16316. "relatedid": {
  16317. "description": "现货合同ID",
  16318. "type": "string"
  16319. },
  16320. "sellusername": {
  16321. "description": "销售方名字",
  16322. "type": "string"
  16323. },
  16324. "userid": {
  16325. "description": "用户ID",
  16326. "type": "integer"
  16327. },
  16328. "wrstandardcode": {
  16329. "description": "品类代码",
  16330. "type": "string"
  16331. },
  16332. "wrstandardid": {
  16333. "description": "品类id",
  16334. "type": "integer"
  16335. },
  16336. "wrstandardname": {
  16337. "description": "品类名称",
  16338. "type": "string"
  16339. }
  16340. }
  16341. },
  16342. "ermcp.QryBussinessJsExRsp": {
  16343. "type": "object",
  16344. "properties": {
  16345. "applyid": {
  16346. "description": "申请人",
  16347. "type": "string"
  16348. },
  16349. "applyname": {
  16350. "description": "申请人名称",
  16351. "type": "string"
  16352. },
  16353. "applystatus": {
  16354. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16355. "type": "integer"
  16356. },
  16357. "applytime": {
  16358. "description": "申请时间",
  16359. "type": "string"
  16360. },
  16361. "attachurl": {
  16362. "description": "附件",
  16363. "type": "string"
  16364. },
  16365. "auditid": {
  16366. "description": "审核人ID",
  16367. "type": "string"
  16368. },
  16369. "auditname": {
  16370. "description": "审核人名称",
  16371. "type": "string"
  16372. },
  16373. "auditremark": {
  16374. "description": "审核备注",
  16375. "type": "string"
  16376. },
  16377. "audittime": {
  16378. "description": "审核时间",
  16379. "type": "string"
  16380. },
  16381. "buyusername": {
  16382. "description": "采购方名称",
  16383. "type": "string"
  16384. },
  16385. "contractno": {
  16386. "description": "合同编号",
  16387. "type": "string"
  16388. },
  16389. "contractstatus": {
  16390. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16391. "type": "integer"
  16392. },
  16393. "contracttype": {
  16394. "description": "现货合同类型 - 1:采购 -1:销售",
  16395. "type": "integer"
  16396. },
  16397. "deliverygoodscode": {
  16398. "description": "现货品种代码",
  16399. "type": "string"
  16400. },
  16401. "deliverygoodsid": {
  16402. "description": "现货商品ID",
  16403. "type": "integer"
  16404. },
  16405. "deliverygoodsname": {
  16406. "description": "现货品种名称",
  16407. "type": "string"
  16408. },
  16409. "enumdicname": {
  16410. "description": "单位名称",
  16411. "type": "string"
  16412. },
  16413. "goodscode": {
  16414. "description": "点价合约",
  16415. "type": "string"
  16416. },
  16417. "goodsname": {
  16418. "description": "商品名称",
  16419. "type": "string"
  16420. },
  16421. "operateapplyid": {
  16422. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16423. "type": "string"
  16424. },
  16425. "operateapplytype": {
  16426. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16427. "type": "integer"
  16428. },
  16429. "pricemove": {
  16430. "description": "升贴水",
  16431. "type": "number"
  16432. },
  16433. "pricetype": {
  16434. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16435. "type": "integer"
  16436. },
  16437. "reckontype": {
  16438. "description": "结算类型",
  16439. "type": "string"
  16440. },
  16441. "reckonvalue": {
  16442. "description": "值",
  16443. "type": "number"
  16444. },
  16445. "relatedid": {
  16446. "description": "现货合同ID",
  16447. "type": "string"
  16448. },
  16449. "sellusername": {
  16450. "description": "销售方名字",
  16451. "type": "string"
  16452. },
  16453. "userid": {
  16454. "description": "用户ID",
  16455. "type": "integer"
  16456. },
  16457. "wrstandardcode": {
  16458. "description": "品类代码",
  16459. "type": "string"
  16460. },
  16461. "wrstandardid": {
  16462. "description": "品类id",
  16463. "type": "integer"
  16464. },
  16465. "wrstandardname": {
  16466. "description": "品类名称",
  16467. "type": "string"
  16468. }
  16469. }
  16470. },
  16471. "ermcp.QryBussinessJsRsp": {
  16472. "type": "object",
  16473. "properties": {
  16474. "addmargin": {
  16475. "description": "追加保证金(非必填)",
  16476. "type": "number"
  16477. },
  16478. "applyid": {
  16479. "description": "申请人",
  16480. "type": "string"
  16481. },
  16482. "applyname": {
  16483. "description": "申请人名称",
  16484. "type": "string"
  16485. },
  16486. "applystatus": {
  16487. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16488. "type": "integer"
  16489. },
  16490. "applytime": {
  16491. "description": "申请时间",
  16492. "type": "string"
  16493. },
  16494. "attachurl": {
  16495. "description": "附件",
  16496. "type": "string"
  16497. },
  16498. "auditid": {
  16499. "description": "审核人ID",
  16500. "type": "string"
  16501. },
  16502. "auditname": {
  16503. "description": "审核人名称",
  16504. "type": "string"
  16505. },
  16506. "auditremark": {
  16507. "description": "审核备注",
  16508. "type": "string"
  16509. },
  16510. "audittime": {
  16511. "description": "审核时间",
  16512. "type": "string"
  16513. },
  16514. "buyusername": {
  16515. "description": "采购方名称",
  16516. "type": "string"
  16517. },
  16518. "contractno": {
  16519. "description": "合同编号",
  16520. "type": "string"
  16521. },
  16522. "contractstatus": {
  16523. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16524. "type": "integer"
  16525. },
  16526. "contracttype": {
  16527. "description": "现货合同类型 - 1:采购 -1:销售",
  16528. "type": "integer"
  16529. },
  16530. "decmargin": {
  16531. "description": "减少保证金(非必填)",
  16532. "type": "number"
  16533. },
  16534. "deliverygoodscode": {
  16535. "description": "现货品种代码",
  16536. "type": "string"
  16537. },
  16538. "deliverygoodsid": {
  16539. "description": "现货商品ID",
  16540. "type": "integer"
  16541. },
  16542. "deliverygoodsname": {
  16543. "description": "现货品种名称",
  16544. "type": "string"
  16545. },
  16546. "enumdicname": {
  16547. "description": "单位名称",
  16548. "type": "string"
  16549. },
  16550. "goodscode": {
  16551. "description": "点价合约",
  16552. "type": "string"
  16553. },
  16554. "goodsname": {
  16555. "description": "商品名称",
  16556. "type": "string"
  16557. },
  16558. "operateapplyid": {
  16559. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16560. "type": "string"
  16561. },
  16562. "operateapplytype": {
  16563. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16564. "type": "integer"
  16565. },
  16566. "pricemove": {
  16567. "description": "升贴水",
  16568. "type": "number"
  16569. },
  16570. "pricetype": {
  16571. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16572. "type": "integer"
  16573. },
  16574. "reckonadjustamount": {
  16575. "description": "结算调整金额(非必填)",
  16576. "type": "number"
  16577. },
  16578. "reckonosamount": {
  16579. "description": "结算溢短金额(非必填)",
  16580. "type": "number"
  16581. },
  16582. "reckonotheramount": {
  16583. "description": "结算其他费用(非必填)",
  16584. "type": "number"
  16585. },
  16586. "reckonrealqty": {
  16587. "description": "结算实际数量(非必填)",
  16588. "type": "number"
  16589. },
  16590. "relatedid": {
  16591. "description": "现货合同ID",
  16592. "type": "string"
  16593. },
  16594. "sellusername": {
  16595. "description": "销售方名字",
  16596. "type": "string"
  16597. },
  16598. "userid": {
  16599. "description": "用户ID",
  16600. "type": "integer"
  16601. },
  16602. "wrstandardcode": {
  16603. "description": "品类代码",
  16604. "type": "string"
  16605. },
  16606. "wrstandardid": {
  16607. "description": "品类id",
  16608. "type": "integer"
  16609. },
  16610. "wrstandardname": {
  16611. "description": "品类名称",
  16612. "type": "string"
  16613. }
  16614. }
  16615. },
  16616. "ermcp.QryBussinessKxRsp": {
  16617. "type": "object",
  16618. "properties": {
  16619. "applyid": {
  16620. "description": "申请人",
  16621. "type": "string"
  16622. },
  16623. "applyname": {
  16624. "description": "申请人名称",
  16625. "type": "string"
  16626. },
  16627. "applystatus": {
  16628. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16629. "type": "integer"
  16630. },
  16631. "applytime": {
  16632. "description": "申请时间",
  16633. "type": "string"
  16634. },
  16635. "attachurl": {
  16636. "description": "附件",
  16637. "type": "string"
  16638. },
  16639. "auditid": {
  16640. "description": "审核人ID",
  16641. "type": "string"
  16642. },
  16643. "auditname": {
  16644. "description": "审核人名称",
  16645. "type": "string"
  16646. },
  16647. "auditremark": {
  16648. "description": "审核备注",
  16649. "type": "string"
  16650. },
  16651. "audittime": {
  16652. "description": "审核时间",
  16653. "type": "string"
  16654. },
  16655. "buyusername": {
  16656. "description": "采购方名称",
  16657. "type": "string"
  16658. },
  16659. "contractno": {
  16660. "description": "合同编号",
  16661. "type": "string"
  16662. },
  16663. "contractstatus": {
  16664. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16665. "type": "integer"
  16666. },
  16667. "contracttype": {
  16668. "description": "现货合同类型 - 1:采购 -1:销售",
  16669. "type": "integer"
  16670. },
  16671. "deductamount": {
  16672. "description": "退款(非必填)",
  16673. "type": "number"
  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. "kxtype": {
  16700. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16701. "type": "integer"
  16702. },
  16703. "operateapplyid": {
  16704. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16705. "type": "string"
  16706. },
  16707. "operateapplytype": {
  16708. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16709. "type": "integer"
  16710. },
  16711. "payamount": {
  16712. "description": "收付款(非必填)",
  16713. "type": "number"
  16714. },
  16715. "pricemove": {
  16716. "description": "升贴水",
  16717. "type": "number"
  16718. },
  16719. "pricetype": {
  16720. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16721. "type": "integer"
  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.QryGGCovertCfgRsp": {
  16750. "type": "object",
  16751. "properties": {
  16752. "convertratio": {
  16753. "description": "折算系数",
  16754. "type": "number"
  16755. },
  16756. "destgoodsgroupid": {
  16757. "description": "目标品种ID",
  16758. "type": "integer"
  16759. },
  16760. "dstcode": {
  16761. "description": "目录品种代码",
  16762. "type": "string"
  16763. },
  16764. "dstexchangecode": {
  16765. "description": "目标期货交易所",
  16766. "type": "string"
  16767. },
  16768. "dstname": {
  16769. "description": "目标品种名称",
  16770. "type": "string"
  16771. },
  16772. "dstunitid": {
  16773. "description": "目标品种单位ID",
  16774. "type": "integer"
  16775. },
  16776. "dstunitidname": {
  16777. "description": "目标品种单位名称",
  16778. "type": "string"
  16779. },
  16780. "modifytime": {
  16781. "description": "修改时间",
  16782. "type": "string"
  16783. },
  16784. "srccode": {
  16785. "description": "源品种代码",
  16786. "type": "string"
  16787. },
  16788. "srcexchangecode": {
  16789. "description": "源期货交易所",
  16790. "type": "string"
  16791. },
  16792. "srcgoodsgroupid": {
  16793. "description": "源品种ID",
  16794. "type": "integer"
  16795. },
  16796. "srcname": {
  16797. "description": "源品种名称",
  16798. "type": "string"
  16799. },
  16800. "srcunitid": {
  16801. "description": "源品种单位ID",
  16802. "type": "integer"
  16803. },
  16804. "srcunitidname": {
  16805. "description": "源品种单位名称",
  16806. "type": "string"
  16807. }
  16808. }
  16809. },
  16810. "ermcp.QryMGChangeLogRsp": {
  16811. "type": "object",
  16812. "properties": {
  16813. "aftervalue": {
  16814. "description": "变更后",
  16815. "type": "number"
  16816. },
  16817. "applyid": {
  16818. "description": "操作人",
  16819. "type": "integer"
  16820. },
  16821. "applyname": {
  16822. "description": "操作人名称",
  16823. "type": "string"
  16824. },
  16825. "applysrc": {
  16826. "description": "操作来源 - 1:管理端 2:终端",
  16827. "type": "integer"
  16828. },
  16829. "beforevalue": {
  16830. "description": "变更前",
  16831. "type": "number"
  16832. },
  16833. "changelogtype": {
  16834. "description": "变更流水类型 - 1:套保比率变更",
  16835. "type": "integer"
  16836. },
  16837. "handlestatus": {
  16838. "description": "处理状态",
  16839. "type": "integer"
  16840. },
  16841. "logdatetime": {
  16842. "description": "流水日期",
  16843. "type": "string"
  16844. },
  16845. "logid": {
  16846. "description": "流水ID",
  16847. "type": "integer"
  16848. },
  16849. "logremark": {
  16850. "description": "流水备注",
  16851. "type": "string"
  16852. },
  16853. "middlegoodsid": {
  16854. "description": "套保品种ID",
  16855. "type": "integer"
  16856. },
  16857. "tradedate": {
  16858. "description": "交易日(yyyyMMdd)",
  16859. "type": "string"
  16860. },
  16861. "updatetime": {
  16862. "description": "更新时间",
  16863. "type": "string"
  16864. }
  16865. }
  16866. },
  16867. "ermcp.QryMiddleGoodsDetailRsp": {
  16868. "type": "object",
  16869. "properties": {
  16870. "cvList": {
  16871. "description": "期货品种折算列表",
  16872. "type": "array",
  16873. "items": {
  16874. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16875. }
  16876. },
  16877. "mg": {
  16878. "description": "套保品种基本信息",
  16879. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16880. },
  16881. "wrcList": {
  16882. "description": "现货品种列表(现货商品折算配置)",
  16883. "type": "array",
  16884. "items": {
  16885. "$ref": "#/definitions/models.WRSConverTDetail"
  16886. }
  16887. }
  16888. }
  16889. },
  16890. "ermcp.QryMiddleGoodsRsp": {
  16891. "type": "object",
  16892. "properties": {
  16893. "areauserid": {
  16894. "description": "机构用户ID",
  16895. "type": "integer"
  16896. },
  16897. "createtime": {
  16898. "description": "修改时间",
  16899. "type": "string"
  16900. },
  16901. "enumdicname": {
  16902. "description": "单位名称",
  16903. "type": "string"
  16904. },
  16905. "evaluateratio": {
  16906. "description": "估价系数",
  16907. "type": "number"
  16908. },
  16909. "goodsgroupid": {
  16910. "description": "关联期货品种ID",
  16911. "type": "integer"
  16912. },
  16913. "goodsunitid": {
  16914. "description": "单位ID",
  16915. "type": "integer"
  16916. },
  16917. "isvalid": {
  16918. "description": "状态 0-无效(停用) 1-有效(正常)",
  16919. "type": "integer"
  16920. },
  16921. "middlegoodscode": {
  16922. "description": "套保品种代码",
  16923. "type": "string"
  16924. },
  16925. "middlegoodsid": {
  16926. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16927. "type": "integer"
  16928. },
  16929. "middlegoodsname": {
  16930. "description": "套保品种名称",
  16931. "type": "string"
  16932. },
  16933. "modifytime": {
  16934. "description": "修改时间",
  16935. "type": "string"
  16936. },
  16937. "needarbitrageratio": {
  16938. "description": "套利比例",
  16939. "type": "number"
  16940. },
  16941. "needhedgeratio": {
  16942. "description": "套保比率",
  16943. "type": "number"
  16944. },
  16945. "qtydecimalplace": {
  16946. "description": "数量小数位",
  16947. "type": "integer"
  16948. },
  16949. "relatedgoodsid": {
  16950. "description": "关联交易商品ID",
  16951. "type": "integer"
  16952. },
  16953. "relatedgoodstype": {
  16954. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16955. "type": "integer"
  16956. },
  16957. "remark": {
  16958. "description": "备注",
  16959. "type": "string"
  16960. }
  16961. }
  16962. },
  16963. "ermcp.QryOPLogRsp": {
  16964. "type": "object",
  16965. "properties": {
  16966. "aftervalue": {
  16967. "description": "变更后",
  16968. "type": "number"
  16969. },
  16970. "applyid": {
  16971. "description": "操作人ID",
  16972. "type": "string"
  16973. },
  16974. "applyname": {
  16975. "description": "操作人名称",
  16976. "type": "string"
  16977. },
  16978. "beforevalue": {
  16979. "description": "变更前",
  16980. "type": "number"
  16981. },
  16982. "biztype": {
  16983. "description": "业务类型 - 1:套保计划 2:现货合同",
  16984. "type": "integer"
  16985. },
  16986. "contracttype": {
  16987. "description": "现货合同类型 - 1:采购 -1:销售",
  16988. "type": "integer"
  16989. },
  16990. "logvalue": {
  16991. "description": "数值",
  16992. "type": "number"
  16993. },
  16994. "operatelogtype": {
  16995. "description": "操作流水类型",
  16996. "type": "integer"
  16997. },
  16998. "operatelogtypedesc": {
  16999. "description": "操作流水类型名称",
  17000. "type": "string"
  17001. },
  17002. "relatedid": {
  17003. "description": "现货合同ID\\套保计划",
  17004. "type": "string"
  17005. },
  17006. "updatetime": {
  17007. "description": "更新时间",
  17008. "type": "string"
  17009. }
  17010. }
  17011. },
  17012. "ermcp.QryUserInfoRsp": {
  17013. "type": "object",
  17014. "properties": {
  17015. "address": {
  17016. "description": "通讯地址",
  17017. "type": "string"
  17018. },
  17019. "attachment1": {
  17020. "description": "附件1",
  17021. "type": "string"
  17022. },
  17023. "audittime": {
  17024. "description": "审核时间",
  17025. "type": "string"
  17026. },
  17027. "cardbackphotourl": {
  17028. "description": "证件反面图片地址",
  17029. "type": "string"
  17030. },
  17031. "cardfrontphotourl": {
  17032. "description": "证件正面图片地址",
  17033. "type": "string"
  17034. },
  17035. "cardnum": {
  17036. "description": "证件号码",
  17037. "type": "string"
  17038. },
  17039. "cardtype": {
  17040. "description": "证件类型",
  17041. "type": "integer"
  17042. },
  17043. "cardtypename": {
  17044. "description": "证件类型名称",
  17045. "type": "string"
  17046. },
  17047. "cityid": {
  17048. "description": "市",
  17049. "type": "integer"
  17050. },
  17051. "contactname": {
  17052. "description": "联系人",
  17053. "type": "string"
  17054. },
  17055. "countryid": {
  17056. "description": "国家",
  17057. "type": "integer"
  17058. },
  17059. "createtime": {
  17060. "description": "创建时间",
  17061. "type": "string"
  17062. },
  17063. "customername": {
  17064. "description": "企业名称",
  17065. "type": "string"
  17066. },
  17067. "districtid": {
  17068. "description": "区域",
  17069. "type": "integer"
  17070. },
  17071. "email": {
  17072. "description": "邮件",
  17073. "type": "string"
  17074. },
  17075. "legalpersonname": {
  17076. "description": "法人姓名(企业)",
  17077. "type": "string"
  17078. },
  17079. "memberuserid": {
  17080. "description": "所属机构ID",
  17081. "type": "integer"
  17082. },
  17083. "mobile": {
  17084. "description": "手机号码",
  17085. "type": "string"
  17086. },
  17087. "modifytime": {
  17088. "description": "修改时间",
  17089. "type": "string"
  17090. },
  17091. "nickname": {
  17092. "description": "昵称",
  17093. "type": "string"
  17094. },
  17095. "provinceid": {
  17096. "description": "省",
  17097. "type": "integer"
  17098. },
  17099. "remark": {
  17100. "description": "备注",
  17101. "type": "string"
  17102. },
  17103. "status": {
  17104. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17105. "type": "integer"
  17106. },
  17107. "statusdesc": {
  17108. "description": "账户状态中文描述",
  17109. "type": "string"
  17110. },
  17111. "taxpayernum": {
  17112. "description": "纳税人识别号",
  17113. "type": "string"
  17114. },
  17115. "telphone": {
  17116. "description": "联系电话",
  17117. "type": "string"
  17118. },
  17119. "userid": {
  17120. "description": "用户ID",
  17121. "type": "integer"
  17122. },
  17123. "userinfotype": {
  17124. "description": "客户类型",
  17125. "type": "string"
  17126. }
  17127. }
  17128. },
  17129. "ermcp.QryWarehouseRsp": {
  17130. "type": "object",
  17131. "properties": {
  17132. "address": {
  17133. "description": "详细地址",
  17134. "type": "string"
  17135. },
  17136. "areauserid": {
  17137. "description": "所属机构",
  17138. "type": "integer"
  17139. },
  17140. "autoid": {
  17141. "description": "自增ID(仓库ID)",
  17142. "type": "integer"
  17143. },
  17144. "cityid": {
  17145. "description": "市",
  17146. "type": "integer"
  17147. },
  17148. "contactname": {
  17149. "description": "联系人",
  17150. "type": "string"
  17151. },
  17152. "contactnum": {
  17153. "description": "联系电话",
  17154. "type": "string"
  17155. },
  17156. "countryid": {
  17157. "description": "国家",
  17158. "type": "integer"
  17159. },
  17160. "createtime": {
  17161. "description": "创建时间",
  17162. "type": "string"
  17163. },
  17164. "districtid": {
  17165. "description": "区",
  17166. "type": "integer"
  17167. },
  17168. "hasvideo": {
  17169. "description": "是否有视频 - 0:无 1:有",
  17170. "type": "integer"
  17171. },
  17172. "provinceid": {
  17173. "description": "省",
  17174. "type": "integer"
  17175. },
  17176. "remark": {
  17177. "description": "审核备注",
  17178. "type": "string"
  17179. },
  17180. "videourl": {
  17181. "description": "视频地址",
  17182. "type": "string"
  17183. },
  17184. "warehousecode": {
  17185. "description": "仓库代码",
  17186. "type": "string"
  17187. },
  17188. "warehousename": {
  17189. "description": "仓库名称",
  17190. "type": "string"
  17191. },
  17192. "warehousestatus": {
  17193. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17194. "type": "integer"
  17195. },
  17196. "warehousetype": {
  17197. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17198. "type": "integer"
  17199. }
  17200. }
  17201. },
  17202. "ermcp.QueryErmcpTradePositionRsp": {
  17203. "type": "object",
  17204. "properties": {
  17205. "agreeunit": {
  17206. "description": "合约单位",
  17207. "type": "number"
  17208. },
  17209. "buyorsell": {
  17210. "description": "方向 - 0:买 1:卖",
  17211. "type": "integer"
  17212. },
  17213. "curpositionqty": {
  17214. "description": "持仓(总仓数量, 期末头寸)",
  17215. "type": "integer"
  17216. },
  17217. "curtdposition": {
  17218. "description": "今仓数量(期末今日头寸)",
  17219. "type": "integer"
  17220. },
  17221. "curtdpositionenabled": {
  17222. "description": "今仓可用",
  17223. "type": "integer"
  17224. },
  17225. "decimalplace": {
  17226. "description": "报价小数位",
  17227. "type": "integer"
  17228. },
  17229. "enableqty": {
  17230. "description": "可用(总仓可用)",
  17231. "type": "integer"
  17232. },
  17233. "exexchangename": {
  17234. "description": "外部交易所名称",
  17235. "type": "string"
  17236. },
  17237. "exexehangecode": {
  17238. "description": "外部交易所代码",
  17239. "type": "string"
  17240. },
  17241. "exexehangeid": {
  17242. "description": "外部交易所id",
  17243. "type": "integer"
  17244. },
  17245. "goodscode": {
  17246. "description": "商品代码(内部)",
  17247. "type": "string"
  17248. },
  17249. "goodsid": {
  17250. "description": "商品ID(自增ID SEQ_GOODS)",
  17251. "type": "integer"
  17252. },
  17253. "goodsname": {
  17254. "description": "商品名称",
  17255. "type": "string"
  17256. },
  17257. "last": {
  17258. "description": "现价",
  17259. "type": "number"
  17260. },
  17261. "marketid": {
  17262. "description": "所属市场ID",
  17263. "type": "integer"
  17264. },
  17265. "openaverageprice": {
  17266. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17267. "type": "number"
  17268. },
  17269. "opencost": {
  17270. "description": "开仓成本",
  17271. "type": "number"
  17272. },
  17273. "openpl": {
  17274. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17275. "type": "number"
  17276. },
  17277. "outgoodscode": {
  17278. "description": "商品代码(外部)",
  17279. "type": "string"
  17280. },
  17281. "positionaverageprice": {
  17282. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17283. "type": "number"
  17284. },
  17285. "positioncost": {
  17286. "description": "持仓成本",
  17287. "type": "number"
  17288. },
  17289. "positionpl": {
  17290. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17291. "type": "number"
  17292. },
  17293. "positionplrate": {
  17294. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17295. "type": "number"
  17296. },
  17297. "usedmargin": {
  17298. "description": "占用保证金",
  17299. "type": "number"
  17300. }
  17301. }
  17302. },
  17303. "ermcp.RealtimeExposurePositionRsp": {
  17304. "type": "object",
  17305. "properties": {
  17306. "agreeunit": {
  17307. "description": "合约单位",
  17308. "type": "string"
  17309. },
  17310. "areauserid": {
  17311. "description": "所属机构id",
  17312. "type": "integer"
  17313. },
  17314. "convertratio": {
  17315. "description": "期货品种系数(折算系数)",
  17316. "type": "number"
  17317. },
  17318. "curqty": {
  17319. "description": "当前持仓",
  17320. "type": "integer"
  17321. },
  17322. "diffhedgeqty": {
  17323. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17324. "type": "number"
  17325. },
  17326. "diffqty": {
  17327. "description": "持仓变动量=当前持仓-昨日持仓",
  17328. "type": "integer"
  17329. },
  17330. "goodscode": {
  17331. "description": "商品代码",
  17332. "type": "string"
  17333. },
  17334. "goodsid": {
  17335. "description": "商品id",
  17336. "type": "integer"
  17337. },
  17338. "goodsname": {
  17339. "description": "商品名称",
  17340. "type": "string"
  17341. },
  17342. "middlegoodsid": {
  17343. "description": "套保商品id",
  17344. "type": "integer"
  17345. },
  17346. "ydqty": {
  17347. "description": "昨日持仓",
  17348. "type": "integer"
  17349. }
  17350. }
  17351. },
  17352. "ermcp.RealtimeExposureRsp": {
  17353. "type": "object",
  17354. "properties": {
  17355. "AreaUserID": {
  17356. "description": "所属机构",
  17357. "type": "integer"
  17358. },
  17359. "BuyFutureQty": {
  17360. "description": "买入期货数量",
  17361. "type": "number"
  17362. },
  17363. "BuyPlanQty": {
  17364. "description": "采购计划数量",
  17365. "type": "number"
  17366. },
  17367. "BuyPricedQty": {
  17368. "description": "采购合同已定价数量",
  17369. "type": "number"
  17370. },
  17371. "MiddleGoodsCode": {
  17372. "description": "套保品种代码",
  17373. "type": "string"
  17374. },
  17375. "MiddleGoodsHedgeRatio": {
  17376. "description": "套保比例",
  17377. "type": "number"
  17378. },
  17379. "MiddleGoodsID": {
  17380. "description": "套保品种",
  17381. "type": "integer"
  17382. },
  17383. "MiddleGoodsName": {
  17384. "description": "套保品种名称",
  17385. "type": "string"
  17386. },
  17387. "NeedHedgeExposoure": {
  17388. "description": "应套保敞口(套保敞口)",
  17389. "type": "number"
  17390. },
  17391. "NeedHedgeRatio": {
  17392. "description": "应套保敞口比例",
  17393. "type": "number"
  17394. },
  17395. "OriBuyFutureQty": {
  17396. "description": "期初买入期货数量",
  17397. "type": "number"
  17398. },
  17399. "OriBuyPlanQty": {
  17400. "description": "期初采购计划数量",
  17401. "type": "number"
  17402. },
  17403. "OriBuyPricedQty": {
  17404. "description": "期初采购合同已定价数量",
  17405. "type": "number"
  17406. },
  17407. "OriSellFutureQty": {
  17408. "description": "期初卖出期货数量",
  17409. "type": "number"
  17410. },
  17411. "OriSellPlanQty": {
  17412. "description": "期初销售计划数量",
  17413. "type": "number"
  17414. },
  17415. "OriSellPricedQty": {
  17416. "description": "期初销售合同已定价数量",
  17417. "type": "number"
  17418. },
  17419. "OriTotalSpotQty": {
  17420. "description": "期初现货总量",
  17421. "type": "number"
  17422. },
  17423. "SellFutureQty": {
  17424. "description": "卖出期货数量",
  17425. "type": "number"
  17426. },
  17427. "SellPlanQty": {
  17428. "description": "销售计划数量",
  17429. "type": "number"
  17430. },
  17431. "SellPricedQty": {
  17432. "description": "销售合同已定价数量",
  17433. "type": "number"
  17434. },
  17435. "TotalExposure": {
  17436. "description": "总敞口 平安:净敞口",
  17437. "type": "number"
  17438. },
  17439. "TotalFutureQty": {
  17440. "description": "期货总量 平安:保值净持仓量",
  17441. "type": "number"
  17442. },
  17443. "TotalHedgeRatio": {
  17444. "description": "敞口比例",
  17445. "type": "number"
  17446. },
  17447. "TotalNeedHedgeQty": {
  17448. "description": "应套保总量(现货应套保总量)",
  17449. "type": "number"
  17450. },
  17451. "TotalSpotQty": {
  17452. "description": "现货总量 平安:采销定价净值",
  17453. "type": "number"
  17454. },
  17455. "arbitrageqty": {
  17456. "description": "套利量",
  17457. "type": "number"
  17458. },
  17459. "diffArbitrageQty": {
  17460. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17461. "type": "number"
  17462. },
  17463. "diffExposoureQty": {
  17464. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17465. "type": "number"
  17466. },
  17467. "diffFutuQty": {
  17468. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17469. "type": "number"
  17470. },
  17471. "diffHedgeQty": {
  17472. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17473. "type": "number"
  17474. },
  17475. "diffQty": {
  17476. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17477. "type": "number"
  17478. },
  17479. "diffSpotHedgeQty": {
  17480. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17481. "type": "number"
  17482. },
  17483. "diffSpotQty": {
  17484. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17485. "type": "number"
  17486. },
  17487. "enumdicname": {
  17488. "description": "单位名称",
  17489. "type": "string"
  17490. },
  17491. "hedgeqty": {
  17492. "description": "套保量",
  17493. "type": "number"
  17494. },
  17495. "needarbitrageqty": {
  17496. "description": "应套利量",
  17497. "type": "number"
  17498. },
  17499. "needarbitrageratio": {
  17500. "description": "套利比例",
  17501. "type": "number"
  17502. },
  17503. "needhedgeqty": {
  17504. "description": "应套保量",
  17505. "type": "number"
  17506. },
  17507. "oriarbitrageqty": {
  17508. "description": "期初套利量",
  17509. "type": "number"
  17510. },
  17511. "orihedgeqty": {
  17512. "description": "期初套保量",
  17513. "type": "number"
  17514. },
  17515. "orineedhedgeexposoure": {
  17516. "description": "期初套保敞口",
  17517. "type": "number"
  17518. },
  17519. "oritotalexposure": {
  17520. "description": "期初总敞口",
  17521. "type": "number"
  17522. },
  17523. "oritotalfutureqty": {
  17524. "description": "期初期货总量",
  17525. "type": "number"
  17526. },
  17527. "oritotalneedhedgeqty": {
  17528. "description": "期初现货应套保量",
  17529. "type": "number"
  17530. }
  17531. }
  17532. },
  17533. "erms2.QueryArbitrageStrategyRsp": {
  17534. "type": "object",
  17535. "required": [
  17536. "asapplyid"
  17537. ],
  17538. "properties": {
  17539. "applybasis": {
  17540. "description": "申请基差",
  17541. "type": "number"
  17542. },
  17543. "asapplyid": {
  17544. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17545. "type": "string"
  17546. },
  17547. "asname": {
  17548. "description": "策略名称",
  17549. "type": "string"
  17550. },
  17551. "asno": {
  17552. "description": "策略编号",
  17553. "type": "string"
  17554. },
  17555. "basischangepl": {
  17556. "description": "基差变动损益[结算更新]",
  17557. "type": "number"
  17558. },
  17559. "biztype": {
  17560. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17561. "type": "integer"
  17562. },
  17563. "closetradedate": {
  17564. "description": "完结交易日(yyyyMMdd)",
  17565. "type": "string"
  17566. },
  17567. "curbasis": {
  17568. "description": "当前基差[结算更新]",
  17569. "type": "number"
  17570. },
  17571. "deliverygoodsid": {
  17572. "description": "现货品种ID",
  17573. "type": "integer"
  17574. },
  17575. "futureavgprice": {
  17576. "description": "期货建仓均价",
  17577. "type": "number"
  17578. },
  17579. "futurecloseamount": {
  17580. "description": "期货平仓金额",
  17581. "type": "number"
  17582. },
  17583. "futurecloseqty": {
  17584. "description": "期货平仓数量",
  17585. "type": "number"
  17586. },
  17587. "futureopenamount": {
  17588. "description": "期货开仓金额",
  17589. "type": "number"
  17590. },
  17591. "futureopenqty": {
  17592. "description": "期货开仓数量",
  17593. "type": "number"
  17594. },
  17595. "futurepl": {
  17596. "description": "期货总盈亏[结算更新]",
  17597. "type": "number"
  17598. },
  17599. "futureqty": {
  17600. "description": "期货持仓数量",
  17601. "type": "number"
  17602. },
  17603. "futurequote": {
  17604. "description": "期货额度",
  17605. "type": "number"
  17606. },
  17607. "goodsgroupid": {
  17608. "description": "期货品种ID",
  17609. "type": "integer"
  17610. },
  17611. "marketid": {
  17612. "description": "市场ID",
  17613. "type": "integer"
  17614. },
  17615. "netexposure": {
  17616. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17617. "type": "number"
  17618. },
  17619. "netexposurepl": {
  17620. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17621. "type": "number"
  17622. },
  17623. "netexposurerate": {
  17624. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17625. "type": "number"
  17626. },
  17627. "openbasis": {
  17628. "description": "建仓基差",
  17629. "type": "number"
  17630. },
  17631. "pricedspotqty": {
  17632. "description": "已定价现货数量",
  17633. "type": "number"
  17634. },
  17635. "pricedspotqtynotax": {
  17636. "description": "已定价现货不含税数量",
  17637. "type": "number"
  17638. },
  17639. "remark": {
  17640. "description": "备注",
  17641. "type": "string"
  17642. },
  17643. "spotavgprice": {
  17644. "description": "现货均价",
  17645. "type": "number"
  17646. },
  17647. "spotbuyamount": {
  17648. "description": "现货采购金额",
  17649. "type": "number"
  17650. },
  17651. "spotbuyqty": {
  17652. "description": "现货采购数量",
  17653. "type": "number"
  17654. },
  17655. "spotpl": {
  17656. "description": "现货总盈亏[结算更新]",
  17657. "type": "number"
  17658. },
  17659. "spotquota": {
  17660. "description": "现货额度",
  17661. "type": "number"
  17662. },
  17663. "spotsellamount": {
  17664. "description": "现货销售金额",
  17665. "type": "number"
  17666. },
  17667. "spotsellqty": {
  17668. "description": "现货销售数量",
  17669. "type": "number"
  17670. },
  17671. "spotusedquota": {
  17672. "description": "现货占用资金",
  17673. "type": "number"
  17674. },
  17675. "strategystatus": {
  17676. "description": "策略状态 - 0:未结束 1:已结束",
  17677. "type": "integer"
  17678. },
  17679. "totalpl": {
  17680. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17681. "type": "number"
  17682. },
  17683. "tradedate": {
  17684. "description": "交易日(yyyyMMdd)",
  17685. "type": "string"
  17686. },
  17687. "updatetime": {
  17688. "description": "更新时间",
  17689. "type": "string"
  17690. },
  17691. "usedquota": {
  17692. "description": "已占用资金",
  17693. "type": "number"
  17694. },
  17695. "userid": {
  17696. "description": "所属机构",
  17697. "type": "integer"
  17698. }
  17699. }
  17700. },
  17701. "erms2.QueryInnerTradeDetailRsp": {
  17702. "type": "object",
  17703. "required": [
  17704. "asapplyid",
  17705. "buyorsell",
  17706. "goodscode",
  17707. "goodsgroupid",
  17708. "goodsgroupname",
  17709. "goodsname",
  17710. "tradeid"
  17711. ],
  17712. "properties": {
  17713. "accountid": {
  17714. "description": "账号ID",
  17715. "type": "integer"
  17716. },
  17717. "agreeunit": {
  17718. "description": "合约单位",
  17719. "type": "number"
  17720. },
  17721. "asapplyid": {
  17722. "description": "策略申请ID",
  17723. "type": "integer"
  17724. },
  17725. "asname": {
  17726. "description": "策略名称",
  17727. "type": "string"
  17728. },
  17729. "asno": {
  17730. "description": "策略编号",
  17731. "type": "string"
  17732. },
  17733. "buyorsell": {
  17734. "description": "方向 - 0:买 1:卖",
  17735. "type": "integer"
  17736. },
  17737. "channelbuildtype": {
  17738. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17739. "type": "integer"
  17740. },
  17741. "closetype": {
  17742. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17743. "type": "integer"
  17744. },
  17745. "decimalplace": {
  17746. "description": "报价小数位",
  17747. "type": "integer"
  17748. },
  17749. "detailtype": {
  17750. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17751. "type": "integer"
  17752. },
  17753. "exexchangecode": {
  17754. "description": "外部交易所代码",
  17755. "type": "string"
  17756. },
  17757. "exexchangename": {
  17758. "description": "外部交易所名称",
  17759. "type": "string"
  17760. },
  17761. "goodscode": {
  17762. "description": "商品代码(合约)",
  17763. "type": "string"
  17764. },
  17765. "goodsgroupid": {
  17766. "description": "商品组ID(品种ID)",
  17767. "type": "integer"
  17768. },
  17769. "goodsgroupname": {
  17770. "description": "商品组名称(品种)",
  17771. "type": "string"
  17772. },
  17773. "goodsid": {
  17774. "description": "商品ID",
  17775. "type": "integer"
  17776. },
  17777. "goodsname": {
  17778. "description": "商品名称(合约)",
  17779. "type": "string"
  17780. },
  17781. "goodunit": {
  17782. "description": "报价单位",
  17783. "type": "string"
  17784. },
  17785. "marketid": {
  17786. "description": "市场ID",
  17787. "type": "integer"
  17788. },
  17789. "orderid": {
  17790. "description": "委托单号",
  17791. "type": "string"
  17792. },
  17793. "outgoodscode": {
  17794. "description": "商品代码(外部)",
  17795. "type": "string"
  17796. },
  17797. "relatedouttradeid": {
  17798. "description": "关联外部成交单ID",
  17799. "type": "string"
  17800. },
  17801. "remark": {
  17802. "description": "备注",
  17803. "type": "string"
  17804. },
  17805. "spotcontractid": {
  17806. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17807. "type": "integer"
  17808. },
  17809. "spotcontractno": {
  17810. "description": "现货合同编号",
  17811. "type": "string"
  17812. },
  17813. "tradeid": {
  17814. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17815. "type": "string"
  17816. },
  17817. "tradeprice": {
  17818. "description": "成交价格",
  17819. "type": "number"
  17820. },
  17821. "tradeqty": {
  17822. "description": "成交数量",
  17823. "type": "integer"
  17824. },
  17825. "tradetime": {
  17826. "description": "成交时间",
  17827. "type": "string"
  17828. },
  17829. "updatetime": {
  17830. "description": "更新时间",
  17831. "type": "string"
  17832. }
  17833. }
  17834. },
  17835. "erms2.QuerySpotContractRsp": {
  17836. "type": "object",
  17837. "required": [
  17838. "spotcontractid"
  17839. ],
  17840. "properties": {
  17841. "accountid": {
  17842. "description": "资金账户ID",
  17843. "type": "integer"
  17844. },
  17845. "areauserid": {
  17846. "description": "所属机构",
  17847. "type": "integer"
  17848. },
  17849. "closedate": {
  17850. "description": "终止日期",
  17851. "type": "string"
  17852. },
  17853. "closeremark": {
  17854. "description": "结束备注",
  17855. "type": "string"
  17856. },
  17857. "closetradedate": {
  17858. "description": "完结交易日(yyyyMMdd)",
  17859. "type": "string"
  17860. },
  17861. "closetype": {
  17862. "description": "终止类型 - 1:违约 2:提前终止",
  17863. "type": "integer"
  17864. },
  17865. "contractamount": {
  17866. "description": "合同金额",
  17867. "type": "number"
  17868. },
  17869. "contractattachment": {
  17870. "description": "合同附件",
  17871. "type": "string"
  17872. },
  17873. "contractno": {
  17874. "description": "现货合同编号",
  17875. "type": "string"
  17876. },
  17877. "contractqty": {
  17878. "description": "合同数量(数值) (用于计算)",
  17879. "type": "number"
  17880. },
  17881. "contractqtychar": {
  17882. "description": "合同数量\\已订价数量 (用于显示)",
  17883. "type": "string"
  17884. },
  17885. "contractstatus": {
  17886. "description": "合同状态 - 0:未结束 1:已结束",
  17887. "type": "integer"
  17888. },
  17889. "contracttype": {
  17890. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17891. "type": "integer"
  17892. },
  17893. "customeraccountid": {
  17894. "description": "客户资金账户ID",
  17895. "type": "integer"
  17896. },
  17897. "customeruserid": {
  17898. "description": "客户ID",
  17899. "type": "integer"
  17900. },
  17901. "deliverygoodsdesc": {
  17902. "description": "品种说明",
  17903. "type": "string"
  17904. },
  17905. "deliverygoodsid": {
  17906. "description": "现货品种ID",
  17907. "type": "integer"
  17908. },
  17909. "handlestatus": {
  17910. "description": "处理状态",
  17911. "type": "integer"
  17912. },
  17913. "invoiceatt": {
  17914. "description": "发票附件",
  17915. "type": "string"
  17916. },
  17917. "invoicedatetime": {
  17918. "description": "开收票更新时间",
  17919. "type": "string"
  17920. },
  17921. "invoiceopentime": {
  17922. "description": "开票时间",
  17923. "type": "string"
  17924. },
  17925. "invoiceremark": {
  17926. "description": "发票备注",
  17927. "type": "string"
  17928. },
  17929. "invoicestatus": {
  17930. "description": "开收票状态 - 0:未开票 1:已开票",
  17931. "type": "integer"
  17932. },
  17933. "lastdate": {
  17934. "description": "交货时间",
  17935. "type": "string"
  17936. },
  17937. "marketid": {
  17938. "description": "市场ID",
  17939. "type": "integer"
  17940. },
  17941. "paydatetime": {
  17942. "description": "收付款更新时间",
  17943. "type": "string"
  17944. },
  17945. "payremark": {
  17946. "description": "收付款备注",
  17947. "type": "string"
  17948. },
  17949. "paystatus": {
  17950. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17951. "type": "integer"
  17952. },
  17953. "positionqty": {
  17954. "description": "头寸数量 - 合同数量去小数部分",
  17955. "type": "integer"
  17956. },
  17957. "producttype": {
  17958. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17959. "type": "integer"
  17960. },
  17961. "relatedqty": {
  17962. "description": "已关联数量",
  17963. "type": "number"
  17964. },
  17965. "relatedstatus": {
  17966. "description": "关联完结状态 - 0:未结束 1:已结束",
  17967. "type": "integer"
  17968. },
  17969. "remark": {
  17970. "description": "备注",
  17971. "type": "string"
  17972. },
  17973. "signdate": {
  17974. "description": "签订日期",
  17975. "type": "string"
  17976. },
  17977. "spotcontractid": {
  17978. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17979. "type": "string"
  17980. },
  17981. "spotdatetime": {
  17982. "description": "收发货更新时间",
  17983. "type": "string"
  17984. },
  17985. "spotprice": {
  17986. "description": "价格",
  17987. "type": "number"
  17988. },
  17989. "spotremark": {
  17990. "description": "收发货备注",
  17991. "type": "string"
  17992. },
  17993. "spotstatus": {
  17994. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17995. "type": "integer"
  17996. },
  17997. "tradedate": {
  17998. "description": "交易日(yyyyMMdd)",
  17999. "type": "string"
  18000. },
  18001. "userid": {
  18002. "description": "业务员用户ID",
  18003. "type": "integer"
  18004. },
  18005. "warehouseid": {
  18006. "description": "仓库ID",
  18007. "type": "integer"
  18008. },
  18009. "wrfactortypeid": {
  18010. "description": "仓单要素类型ID",
  18011. "type": "integer"
  18012. },
  18013. "wrstandardid": {
  18014. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  18015. "type": "integer"
  18016. }
  18017. }
  18018. },
  18019. "erms3.AddErms2ASApplyReq": {
  18020. "type": "object",
  18021. "required": [
  18022. "asapplyid"
  18023. ],
  18024. "properties": {
  18025. "applybasis": {
  18026. "description": "申请基差",
  18027. "type": "number"
  18028. },
  18029. "applystatus": {
  18030. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18031. "type": "integer"
  18032. },
  18033. "asapplyid": {
  18034. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  18035. "type": "integer"
  18036. },
  18037. "asname": {
  18038. "description": "策略名称",
  18039. "type": "string"
  18040. },
  18041. "asno": {
  18042. "description": "策略编号",
  18043. "type": "string"
  18044. },
  18045. "auditid": {
  18046. "description": "审核人",
  18047. "type": "integer"
  18048. },
  18049. "auditremark": {
  18050. "description": "审核备注",
  18051. "type": "string"
  18052. },
  18053. "audittime": {
  18054. "description": "审核时间",
  18055. "type": "string"
  18056. },
  18057. "biztype": {
  18058. "description": "业务类型 - 1:正向套利 2:反向套利",
  18059. "type": "integer"
  18060. },
  18061. "createtime": {
  18062. "description": "创建时间",
  18063. "type": "string"
  18064. },
  18065. "creatorid": {
  18066. "description": "创建人",
  18067. "type": "integer"
  18068. },
  18069. "deliverygoodsid": {
  18070. "description": "现货品种ID",
  18071. "type": "integer"
  18072. },
  18073. "futurequote": {
  18074. "description": "期货额度",
  18075. "type": "number"
  18076. },
  18077. "goodsgroupid": {
  18078. "description": "期货品种ID",
  18079. "type": "integer"
  18080. },
  18081. "marketid": {
  18082. "description": "市场ID",
  18083. "type": "integer"
  18084. },
  18085. "remark": {
  18086. "description": "备注",
  18087. "type": "string"
  18088. },
  18089. "spotquota": {
  18090. "description": "现货额度",
  18091. "type": "number"
  18092. },
  18093. "tradedate": {
  18094. "description": "交易日(yyyyMMdd)",
  18095. "type": "string"
  18096. },
  18097. "userid": {
  18098. "description": "所属机构",
  18099. "type": "integer"
  18100. }
  18101. }
  18102. },
  18103. "erms3.AddErms2SpotTradeApplyReq": {
  18104. "type": "object",
  18105. "required": [
  18106. "spottradeid"
  18107. ],
  18108. "properties": {
  18109. "applyjsondetail": {
  18110. "description": "申请明细(JSON)",
  18111. "type": "string"
  18112. },
  18113. "applystatus": {
  18114. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18115. "type": "integer"
  18116. },
  18117. "areauserid": {
  18118. "description": "所属机构",
  18119. "type": "integer"
  18120. },
  18121. "auditid": {
  18122. "description": "审核人",
  18123. "type": "integer"
  18124. },
  18125. "auditremark": {
  18126. "description": "审核备注",
  18127. "type": "string"
  18128. },
  18129. "audittime": {
  18130. "description": "审核时间",
  18131. "type": "string"
  18132. },
  18133. "createtime": {
  18134. "description": "创建时间",
  18135. "type": "string"
  18136. },
  18137. "creatorid": {
  18138. "description": "创建人",
  18139. "type": "integer"
  18140. },
  18141. "deliverygoodsid": {
  18142. "description": "现货品种ID",
  18143. "type": "integer"
  18144. },
  18145. "futureaccountid": {
  18146. "description": "期货资金账户",
  18147. "type": "integer"
  18148. },
  18149. "goodsgroupid": {
  18150. "description": "期货品种",
  18151. "type": "integer"
  18152. },
  18153. "marketid": {
  18154. "description": "市场ID",
  18155. "type": "integer"
  18156. },
  18157. "remark": {
  18158. "description": "备注",
  18159. "type": "string"
  18160. },
  18161. "spotaccountid": {
  18162. "description": "现货资金账户",
  18163. "type": "integer"
  18164. },
  18165. "spottradeid": {
  18166. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  18167. "type": "integer"
  18168. },
  18169. "spottradename": {
  18170. "description": "业务名称",
  18171. "type": "string"
  18172. },
  18173. "spottradeno": {
  18174. "description": "业务编号",
  18175. "type": "string"
  18176. },
  18177. "tradedate": {
  18178. "description": "交易日(yyyyMMdd)",
  18179. "type": "string"
  18180. },
  18181. "wrstandardid": {
  18182. "description": "仓单标准ID",
  18183. "type": "integer"
  18184. }
  18185. }
  18186. },
  18187. "erms3.AddSpotContractApplyReq": {
  18188. "type": "object",
  18189. "required": [
  18190. "accountid",
  18191. "areauserid",
  18192. "contractno",
  18193. "contracttype",
  18194. "customeraccountid",
  18195. "customeruserid",
  18196. "details",
  18197. "orimargin",
  18198. "signdate"
  18199. ],
  18200. "properties": {
  18201. "accountid": {
  18202. "description": "资金账户ID",
  18203. "type": "integer"
  18204. },
  18205. "areauserid": {
  18206. "description": "所属机构",
  18207. "type": "integer"
  18208. },
  18209. "contractattachment": {
  18210. "description": "合同附件",
  18211. "type": "string"
  18212. },
  18213. "contractno": {
  18214. "description": "现货合同编号",
  18215. "type": "string"
  18216. },
  18217. "contracttype": {
  18218. "description": "现货合同类型 - 1:采购 -1:销售",
  18219. "type": "integer"
  18220. },
  18221. "creatorid": {
  18222. "description": "申请人",
  18223. "type": "integer"
  18224. },
  18225. "customeraccountid": {
  18226. "description": "客户资金账户ID",
  18227. "type": "integer"
  18228. },
  18229. "customeruserid": {
  18230. "description": "客户ID",
  18231. "type": "integer"
  18232. },
  18233. "details": {
  18234. "description": "明细",
  18235. "type": "array",
  18236. "items": {
  18237. "$ref": "#/definitions/erms3.SoptContractDetail"
  18238. }
  18239. },
  18240. "orimargin": {
  18241. "description": "初始保证金",
  18242. "type": "number"
  18243. },
  18244. "remark": {
  18245. "description": "备注",
  18246. "type": "string"
  18247. },
  18248. "signdate": {
  18249. "description": "签订日期",
  18250. "type": "string"
  18251. }
  18252. }
  18253. },
  18254. "erms3.AddSpotContractApplyRsp": {
  18255. "type": "object",
  18256. "required": [
  18257. "contractno"
  18258. ],
  18259. "properties": {
  18260. "contractno": {
  18261. "description": "现货合同编号",
  18262. "type": "string"
  18263. },
  18264. "spotcontractid": {
  18265. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18266. "type": "integer"
  18267. }
  18268. }
  18269. },
  18270. "erms3.AddUserInfoApplyReq": {
  18271. "type": "object",
  18272. "required": [
  18273. "userid"
  18274. ],
  18275. "properties": {
  18276. "accountid": {
  18277. "description": "交易系统帐号Id (加密存储)",
  18278. "type": "integer"
  18279. },
  18280. "areacode": {
  18281. "description": "机构代码",
  18282. "type": "string"
  18283. },
  18284. "areaid": {
  18285. "description": "机构Id",
  18286. "type": "integer"
  18287. },
  18288. "attachment1": {
  18289. "description": "附件1",
  18290. "type": "string"
  18291. },
  18292. "attachment2": {
  18293. "description": "附件2",
  18294. "type": "string"
  18295. },
  18296. "attachment3": {
  18297. "description": "附件3",
  18298. "type": "string"
  18299. },
  18300. "attachment4": {
  18301. "description": "附件4",
  18302. "type": "string"
  18303. },
  18304. "attachment5": {
  18305. "description": "附件5",
  18306. "type": "string"
  18307. },
  18308. "auditedby": {
  18309. "description": "审核人",
  18310. "type": "string"
  18311. },
  18312. "auditime": {
  18313. "description": "审核时间",
  18314. "type": "string"
  18315. },
  18316. "auditsrc": {
  18317. "description": "审核来源 - 1:管理端 2:终端",
  18318. "type": "integer"
  18319. },
  18320. "bankaccount": {
  18321. "description": "银行帐号 (加密存储)",
  18322. "type": "string"
  18323. },
  18324. "bankaccountname": {
  18325. "description": "收款人名称",
  18326. "type": "string"
  18327. },
  18328. "bankcardbackphotourl": {
  18329. "description": "银行卡背面照地址",
  18330. "type": "string"
  18331. },
  18332. "bankcardfrontphotourl": {
  18333. "description": "银行卡正面照地址",
  18334. "type": "string"
  18335. },
  18336. "bankid": {
  18337. "description": "银行编码",
  18338. "type": "string"
  18339. },
  18340. "bankname": {
  18341. "description": "银行名称",
  18342. "type": "string"
  18343. },
  18344. "bankpictureurl": {
  18345. "description": "银行卡正面地址",
  18346. "type": "string"
  18347. },
  18348. "biznature": {
  18349. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18350. "type": "integer"
  18351. },
  18352. "bizscope": {
  18353. "description": "企业经营范围(企业)",
  18354. "type": "string"
  18355. },
  18356. "biztype": {
  18357. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18358. "type": "integer"
  18359. },
  18360. "brokerid": {
  18361. "description": "经纪人ID(加密存储)",
  18362. "type": "string"
  18363. },
  18364. "cardaddress": {
  18365. "description": "证件地址 (加密存储)",
  18366. "type": "string"
  18367. },
  18368. "cardbackphotourl": {
  18369. "description": "背面证件照地址",
  18370. "type": "string"
  18371. },
  18372. "cardfrontphotourl": {
  18373. "description": "正面证件照地址",
  18374. "type": "string"
  18375. },
  18376. "cardnum": {
  18377. "description": "证件号码 (加密存储)",
  18378. "type": "string"
  18379. },
  18380. "cardtype": {
  18381. "description": "证件类型",
  18382. "type": "integer"
  18383. },
  18384. "cityid": {
  18385. "description": "市",
  18386. "type": "integer"
  18387. },
  18388. "company": {
  18389. "description": "公司(个人)",
  18390. "type": "string"
  18391. },
  18392. "contactcardbackphotourl": {
  18393. "description": "联系人证件背面图片地址",
  18394. "type": "string"
  18395. },
  18396. "contactcardfrontphotourl": {
  18397. "description": "联系人证件正面图片地址",
  18398. "type": "string"
  18399. },
  18400. "contactname": {
  18401. "description": "联系人",
  18402. "type": "string"
  18403. },
  18404. "countryid": {
  18405. "description": "国家",
  18406. "type": "integer"
  18407. },
  18408. "createtime": {
  18409. "description": "开户申请时间",
  18410. "type": "string"
  18411. },
  18412. "cusbankid": {
  18413. "description": "签约类型",
  18414. "type": "string"
  18415. },
  18416. "cusbankname": {
  18417. "description": "签约类型名称",
  18418. "type": "string"
  18419. },
  18420. "customername": {
  18421. "description": "客户名称(企业名称)",
  18422. "type": "string"
  18423. },
  18424. "districtid": {
  18425. "description": "地区",
  18426. "type": "integer"
  18427. },
  18428. "email": {
  18429. "description": "Email地址(加密存储)",
  18430. "type": "string"
  18431. },
  18432. "halfbodyphotourl": {
  18433. "description": "半身照地址",
  18434. "type": "string"
  18435. },
  18436. "headurl": {
  18437. "description": "头像地址",
  18438. "type": "string"
  18439. },
  18440. "ipaddress": {
  18441. "description": "IP地址",
  18442. "type": "string"
  18443. },
  18444. "isvalidate": {
  18445. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18446. "type": "string"
  18447. },
  18448. "legalcardbackphotourl": {
  18449. "description": "法人身份证背面照地址",
  18450. "type": "string"
  18451. },
  18452. "legalcardfrontphotourl": {
  18453. "description": "法人身份证正面照地址",
  18454. "type": "string"
  18455. },
  18456. "legalpersonname": {
  18457. "description": "法人姓名(企业)",
  18458. "type": "string"
  18459. },
  18460. "logincode": {
  18461. "description": "登录帐号 (加密存储)",
  18462. "type": "string"
  18463. },
  18464. "memberareaid": {
  18465. "description": "所属会员ID",
  18466. "type": "integer"
  18467. },
  18468. "mobile2": {
  18469. "description": "手机号码[明文-尚志]",
  18470. "type": "string"
  18471. },
  18472. "mobilephone": {
  18473. "description": "手机号码 (加密存储)",
  18474. "type": "string"
  18475. },
  18476. "modifiedby": {
  18477. "description": "修改人帐号",
  18478. "type": "integer"
  18479. },
  18480. "modifiedtime": {
  18481. "description": "修改时间",
  18482. "type": "string"
  18483. },
  18484. "nickname": {
  18485. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18486. "type": "string"
  18487. },
  18488. "openmode": {
  18489. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18490. "type": "integer"
  18491. },
  18492. "otherurl": {
  18493. "description": "其它图片地址[使用分号分隔]",
  18494. "type": "string"
  18495. },
  18496. "postalcode": {
  18497. "description": "邮政编码",
  18498. "type": "string"
  18499. },
  18500. "provinceid": {
  18501. "description": "省",
  18502. "type": "integer"
  18503. },
  18504. "proxystatementurl": {
  18505. "description": "授权委托书",
  18506. "type": "string"
  18507. },
  18508. "qq": {
  18509. "description": "QQ(加密存储",
  18510. "type": "string"
  18511. },
  18512. "referral": {
  18513. "description": "推荐人编码",
  18514. "type": "string"
  18515. },
  18516. "remark": {
  18517. "description": "备注",
  18518. "type": "string"
  18519. },
  18520. "removebeforestatus": {
  18521. "description": "REMOVEBEFORESTATUS",
  18522. "type": "integer"
  18523. },
  18524. "sex": {
  18525. "description": "性别 - 0:女 1:男",
  18526. "type": "integer"
  18527. },
  18528. "signedstatus": {
  18529. "description": "账户一号签签约状态",
  18530. "type": "integer"
  18531. },
  18532. "signpdfurl": {
  18533. "description": "签约pdf文件",
  18534. "type": "string"
  18535. },
  18536. "subbranch": {
  18537. "description": "开户支行",
  18538. "type": "string"
  18539. },
  18540. "taxpayernum": {
  18541. "description": "纳税人识别号",
  18542. "type": "string"
  18543. },
  18544. "telphone": {
  18545. "description": "联系电话(加密存储)",
  18546. "type": "string"
  18547. },
  18548. "userid": {
  18549. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18550. "type": "integer"
  18551. },
  18552. "userinfotype": {
  18553. "description": "用户信息类型 - 1:个人 2:企业",
  18554. "type": "integer"
  18555. },
  18556. "username": {
  18557. "description": "用户姓名",
  18558. "type": "string"
  18559. },
  18560. "userstate": {
  18561. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18562. "type": "integer"
  18563. },
  18564. "usertype": {
  18565. "description": "用户类型 - 1:投资者 2:机构",
  18566. "type": "integer"
  18567. },
  18568. "videourl": {
  18569. "description": "视频地址",
  18570. "type": "string"
  18571. },
  18572. "wechat": {
  18573. "description": "微信号 (加密存储)",
  18574. "type": "string"
  18575. }
  18576. }
  18577. },
  18578. "erms3.CustomerInfo": {
  18579. "type": "object",
  18580. "required": [
  18581. "userid"
  18582. ],
  18583. "properties": {
  18584. "accountids": {
  18585. "description": "资金账户ID列表",
  18586. "type": "array",
  18587. "items": {
  18588. "type": "integer"
  18589. }
  18590. },
  18591. "customername": {
  18592. "description": "名称(企业名称)",
  18593. "type": "string"
  18594. },
  18595. "mobile": {
  18596. "description": "手机号码",
  18597. "type": "string"
  18598. },
  18599. "userid": {
  18600. "description": "用户ID",
  18601. "type": "integer"
  18602. }
  18603. }
  18604. },
  18605. "erms3.ModifyUserInfoApplyReq": {
  18606. "type": "object",
  18607. "required": [
  18608. "userid"
  18609. ],
  18610. "properties": {
  18611. "accountid": {
  18612. "description": "交易系统帐号Id (加密存储)",
  18613. "type": "integer"
  18614. },
  18615. "areacode": {
  18616. "description": "机构代码",
  18617. "type": "string"
  18618. },
  18619. "areaid": {
  18620. "description": "机构Id",
  18621. "type": "integer"
  18622. },
  18623. "attachment1": {
  18624. "description": "附件1",
  18625. "type": "string"
  18626. },
  18627. "attachment2": {
  18628. "description": "附件2",
  18629. "type": "string"
  18630. },
  18631. "attachment3": {
  18632. "description": "附件3",
  18633. "type": "string"
  18634. },
  18635. "attachment4": {
  18636. "description": "附件4",
  18637. "type": "string"
  18638. },
  18639. "attachment5": {
  18640. "description": "附件5",
  18641. "type": "string"
  18642. },
  18643. "auditedby": {
  18644. "description": "审核人",
  18645. "type": "string"
  18646. },
  18647. "auditime": {
  18648. "description": "审核时间",
  18649. "type": "string"
  18650. },
  18651. "auditsrc": {
  18652. "description": "审核来源 - 1:管理端 2:终端",
  18653. "type": "integer"
  18654. },
  18655. "bankaccount": {
  18656. "description": "银行帐号 (加密存储)",
  18657. "type": "string"
  18658. },
  18659. "bankaccountname": {
  18660. "description": "收款人名称",
  18661. "type": "string"
  18662. },
  18663. "bankcardbackphotourl": {
  18664. "description": "银行卡背面照地址",
  18665. "type": "string"
  18666. },
  18667. "bankcardfrontphotourl": {
  18668. "description": "银行卡正面照地址",
  18669. "type": "string"
  18670. },
  18671. "bankid": {
  18672. "description": "银行编码",
  18673. "type": "string"
  18674. },
  18675. "bankname": {
  18676. "description": "银行名称",
  18677. "type": "string"
  18678. },
  18679. "bankpictureurl": {
  18680. "description": "银行卡正面地址",
  18681. "type": "string"
  18682. },
  18683. "biznature": {
  18684. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18685. "type": "integer"
  18686. },
  18687. "bizscope": {
  18688. "description": "企业经营范围(企业)",
  18689. "type": "string"
  18690. },
  18691. "biztype": {
  18692. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18693. "type": "integer"
  18694. },
  18695. "brokerid": {
  18696. "description": "经纪人ID(加密存储)",
  18697. "type": "string"
  18698. },
  18699. "cardaddress": {
  18700. "description": "证件地址 (加密存储)",
  18701. "type": "string"
  18702. },
  18703. "cardbackphotourl": {
  18704. "description": "背面证件照地址",
  18705. "type": "string"
  18706. },
  18707. "cardfrontphotourl": {
  18708. "description": "正面证件照地址",
  18709. "type": "string"
  18710. },
  18711. "cardnum": {
  18712. "description": "证件号码 (加密存储)",
  18713. "type": "string"
  18714. },
  18715. "cardtype": {
  18716. "description": "证件类型",
  18717. "type": "integer"
  18718. },
  18719. "cityid": {
  18720. "description": "市",
  18721. "type": "integer"
  18722. },
  18723. "company": {
  18724. "description": "公司(个人)",
  18725. "type": "string"
  18726. },
  18727. "contactcardbackphotourl": {
  18728. "description": "联系人证件背面图片地址",
  18729. "type": "string"
  18730. },
  18731. "contactcardfrontphotourl": {
  18732. "description": "联系人证件正面图片地址",
  18733. "type": "string"
  18734. },
  18735. "contactname": {
  18736. "description": "联系人",
  18737. "type": "string"
  18738. },
  18739. "countryid": {
  18740. "description": "国家",
  18741. "type": "integer"
  18742. },
  18743. "createtime": {
  18744. "description": "开户申请时间",
  18745. "type": "string"
  18746. },
  18747. "cusbankid": {
  18748. "description": "签约类型",
  18749. "type": "string"
  18750. },
  18751. "cusbankname": {
  18752. "description": "签约类型名称",
  18753. "type": "string"
  18754. },
  18755. "customername": {
  18756. "description": "客户名称(企业名称)",
  18757. "type": "string"
  18758. },
  18759. "districtid": {
  18760. "description": "地区",
  18761. "type": "integer"
  18762. },
  18763. "email": {
  18764. "description": "Email地址(加密存储)",
  18765. "type": "string"
  18766. },
  18767. "halfbodyphotourl": {
  18768. "description": "半身照地址",
  18769. "type": "string"
  18770. },
  18771. "headurl": {
  18772. "description": "头像地址",
  18773. "type": "string"
  18774. },
  18775. "ipaddress": {
  18776. "description": "IP地址",
  18777. "type": "string"
  18778. },
  18779. "isvalidate": {
  18780. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18781. "type": "string"
  18782. },
  18783. "legalcardbackphotourl": {
  18784. "description": "法人身份证背面照地址",
  18785. "type": "string"
  18786. },
  18787. "legalcardfrontphotourl": {
  18788. "description": "法人身份证正面照地址",
  18789. "type": "string"
  18790. },
  18791. "legalpersonname": {
  18792. "description": "法人姓名(企业)",
  18793. "type": "string"
  18794. },
  18795. "logincode": {
  18796. "description": "登录帐号 (加密存储)",
  18797. "type": "string"
  18798. },
  18799. "memberareaid": {
  18800. "description": "所属会员ID",
  18801. "type": "integer"
  18802. },
  18803. "mobile2": {
  18804. "description": "手机号码[明文-尚志]",
  18805. "type": "string"
  18806. },
  18807. "mobilephone": {
  18808. "description": "手机号码 (加密存储)",
  18809. "type": "string"
  18810. },
  18811. "modifiedby": {
  18812. "description": "修改人帐号",
  18813. "type": "integer"
  18814. },
  18815. "modifiedtime": {
  18816. "description": "修改时间",
  18817. "type": "string"
  18818. },
  18819. "nickname": {
  18820. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18821. "type": "string"
  18822. },
  18823. "openmode": {
  18824. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18825. "type": "integer"
  18826. },
  18827. "otherurl": {
  18828. "description": "其它图片地址[使用分号分隔]",
  18829. "type": "string"
  18830. },
  18831. "postalcode": {
  18832. "description": "邮政编码",
  18833. "type": "string"
  18834. },
  18835. "provinceid": {
  18836. "description": "省",
  18837. "type": "integer"
  18838. },
  18839. "proxystatementurl": {
  18840. "description": "授权委托书",
  18841. "type": "string"
  18842. },
  18843. "qq": {
  18844. "description": "QQ(加密存储",
  18845. "type": "string"
  18846. },
  18847. "referral": {
  18848. "description": "推荐人编码",
  18849. "type": "string"
  18850. },
  18851. "remark": {
  18852. "description": "备注",
  18853. "type": "string"
  18854. },
  18855. "removebeforestatus": {
  18856. "description": "REMOVEBEFORESTATUS",
  18857. "type": "integer"
  18858. },
  18859. "sex": {
  18860. "description": "性别 - 0:女 1:男",
  18861. "type": "integer"
  18862. },
  18863. "signedstatus": {
  18864. "description": "账户一号签签约状态",
  18865. "type": "integer"
  18866. },
  18867. "signpdfurl": {
  18868. "description": "签约pdf文件",
  18869. "type": "string"
  18870. },
  18871. "subbranch": {
  18872. "description": "开户支行",
  18873. "type": "string"
  18874. },
  18875. "taxpayernum": {
  18876. "description": "纳税人识别号",
  18877. "type": "string"
  18878. },
  18879. "telphone": {
  18880. "description": "联系电话(加密存储)",
  18881. "type": "string"
  18882. },
  18883. "userid": {
  18884. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18885. "type": "integer"
  18886. },
  18887. "userinfotype": {
  18888. "description": "用户信息类型 - 1:个人 2:企业",
  18889. "type": "integer"
  18890. },
  18891. "username": {
  18892. "description": "用户姓名",
  18893. "type": "string"
  18894. },
  18895. "userstate": {
  18896. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18897. "type": "integer"
  18898. },
  18899. "usertype": {
  18900. "description": "用户类型 - 1:投资者 2:机构",
  18901. "type": "integer"
  18902. },
  18903. "videourl": {
  18904. "description": "视频地址",
  18905. "type": "string"
  18906. },
  18907. "wechat": {
  18908. "description": "微信号 (加密存储)",
  18909. "type": "string"
  18910. }
  18911. }
  18912. },
  18913. "erms3.QryAuditContractRsp": {
  18914. "type": "object",
  18915. "required": [
  18916. "matchcustomername",
  18917. "spotcontractid"
  18918. ],
  18919. "properties": {
  18920. "accountid": {
  18921. "description": "交易员ID",
  18922. "type": "string"
  18923. },
  18924. "applystatus": {
  18925. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18926. "type": "integer"
  18927. },
  18928. "curdeliveryqty": {
  18929. "description": "未交收量",
  18930. "type": "integer"
  18931. },
  18932. "customername": {
  18933. "description": "采购方ID",
  18934. "type": "string"
  18935. },
  18936. "deliverygoodsid": {
  18937. "description": "品种ID",
  18938. "type": "string"
  18939. },
  18940. "deliveryqty": {
  18941. "description": "交收量",
  18942. "type": "integer"
  18943. },
  18944. "enumdicname": {
  18945. "description": "单位名称",
  18946. "type": "string"
  18947. },
  18948. "matchaccountid": {
  18949. "description": "业务员ID",
  18950. "type": "string"
  18951. },
  18952. "matchcustomername": {
  18953. "description": "销售方ID",
  18954. "type": "string"
  18955. },
  18956. "pricedqty": {
  18957. "description": "定价量",
  18958. "type": "number"
  18959. },
  18960. "signdate": {
  18961. "description": "签订日期",
  18962. "type": "string"
  18963. },
  18964. "spotcontractid": {
  18965. "description": "合同ID",
  18966. "type": "string"
  18967. },
  18968. "totaldqty": {
  18969. "description": "合同量",
  18970. "type": "number"
  18971. },
  18972. "unpricedqty": {
  18973. "description": "未定价量",
  18974. "type": "number"
  18975. },
  18976. "wrstandardname": {
  18977. "description": "商品名称",
  18978. "type": "string"
  18979. }
  18980. }
  18981. },
  18982. "erms3.QryPendingBizRsp": {
  18983. "type": "object",
  18984. "properties": {
  18985. "accountid": {
  18986. "description": "现货账户",
  18987. "type": "string"
  18988. },
  18989. "areaname": {
  18990. "description": "所属部门",
  18991. "type": "string"
  18992. },
  18993. "bizid": {
  18994. "description": "业务ID",
  18995. "type": "string"
  18996. },
  18997. "bizname": {
  18998. "description": "业务名称",
  18999. "type": "string"
  19000. },
  19001. "status": {
  19002. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19003. "type": "integer"
  19004. },
  19005. "type": {
  19006. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19007. "type": "integer"
  19008. }
  19009. }
  19010. },
  19011. "erms3.QueryBusinessInfoRsp": {
  19012. "type": "object",
  19013. "properties": {
  19014. "businessid": {
  19015. "description": "业务ID.",
  19016. "type": "integer"
  19017. },
  19018. "buyamount": {
  19019. "description": "采购额.",
  19020. "type": "number"
  19021. },
  19022. "buyqty": {
  19023. "description": "采购量.",
  19024. "type": "string"
  19025. },
  19026. "futurepl": {
  19027. "description": "期货盈亏.",
  19028. "type": "number"
  19029. },
  19030. "futureqty": {
  19031. "description": "期货敞口.",
  19032. "type": "string"
  19033. },
  19034. "goodsid": {
  19035. "description": "商品名称/商品代码.",
  19036. "type": "string"
  19037. },
  19038. "hedgingqty": {
  19039. "description": "套保量.",
  19040. "type": "string"
  19041. },
  19042. "sellamount": {
  19043. "description": "销售额.",
  19044. "type": "number"
  19045. },
  19046. "sellqty": {
  19047. "description": "销售量.",
  19048. "type": "string"
  19049. },
  19050. "spotmarketvalue": {
  19051. "description": "现货市值.",
  19052. "type": "number"
  19053. },
  19054. "spotpl": {
  19055. "description": "浮动权益.",
  19056. "type": "number"
  19057. },
  19058. "spotqty": {
  19059. "description": "现货量.",
  19060. "type": "string"
  19061. },
  19062. "statu": {
  19063. "description": "状态,0-未结束 1-已结束.",
  19064. "type": "integer"
  19065. },
  19066. "totalpl": {
  19067. "description": "总盈亏.",
  19068. "type": "number"
  19069. },
  19070. "totalqty": {
  19071. "description": "总敞口.",
  19072. "type": "string"
  19073. },
  19074. "type": {
  19075. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  19076. "type": "integer"
  19077. }
  19078. }
  19079. },
  19080. "erms3.QuerySpotContractAppleFormRsp": {
  19081. "type": "object",
  19082. "properties": {
  19083. "goodses": {
  19084. "description": "合约列表",
  19085. "type": "array",
  19086. "items": {
  19087. "$ref": "#/definitions/models.GoodsIDAndName"
  19088. }
  19089. },
  19090. "oppositeusers": {
  19091. "description": "对方账号列表",
  19092. "type": "array",
  19093. "items": {
  19094. "$ref": "#/definitions/erms3.CustomerInfo"
  19095. }
  19096. },
  19097. "ouruser": {
  19098. "description": "我方账号",
  19099. "$ref": "#/definitions/erms3.CustomerInfo"
  19100. },
  19101. "warehouseinfos": {
  19102. "description": "仓库信息列表",
  19103. "type": "array",
  19104. "items": {
  19105. "$ref": "#/definitions/models.Warehouseinfo"
  19106. }
  19107. },
  19108. "wrstandards": {
  19109. "description": "仓单标准列表",
  19110. "type": "array",
  19111. "items": {
  19112. "$ref": "#/definitions/models.WRStandardInfo"
  19113. }
  19114. }
  19115. }
  19116. },
  19117. "erms3.QuerySpotContractInfoRsp": {
  19118. "type": "object",
  19119. "properties": {
  19120. "accountid": {
  19121. "description": "表示交易员ID.",
  19122. "type": "integer"
  19123. },
  19124. "curdeliveryqty": {
  19125. "description": "表示未交收量.",
  19126. "type": "number"
  19127. },
  19128. "customername": {
  19129. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  19130. "type": "string"
  19131. },
  19132. "deliverygoodsid": {
  19133. "description": "表示品种ID.",
  19134. "type": "string"
  19135. },
  19136. "deliveryqty": {
  19137. "description": "表示交收量.",
  19138. "type": "number"
  19139. },
  19140. "matchaccountid": {
  19141. "description": "表示业务员ID.",
  19142. "type": "integer"
  19143. },
  19144. "matchcustomername": {
  19145. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  19146. "type": "string"
  19147. },
  19148. "priceqty": {
  19149. "description": "表示定价量.",
  19150. "type": "number"
  19151. },
  19152. "relatedbizid": {
  19153. "description": "表示业务ID.",
  19154. "type": "string"
  19155. },
  19156. "signdate": {
  19157. "description": "表示签订日期.",
  19158. "type": "string"
  19159. },
  19160. "spotcontractid": {
  19161. "description": "合同ID",
  19162. "type": "string"
  19163. },
  19164. "status": {
  19165. "description": "表示状态,0-履约中 1-已完成.",
  19166. "type": "integer"
  19167. },
  19168. "totalqty": {
  19169. "description": "表示合同量.",
  19170. "type": "number"
  19171. },
  19172. "unpricedqty": {
  19173. "description": "表示未定价量.",
  19174. "type": "number"
  19175. },
  19176. "wrstandardname": {
  19177. "description": "表示商品ID.",
  19178. "type": "string"
  19179. }
  19180. }
  19181. },
  19182. "erms3.QueryUserInfoAppliesRsp": {
  19183. "type": "object",
  19184. "required": [
  19185. "userid"
  19186. ],
  19187. "properties": {
  19188. "biznature": {
  19189. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19190. "type": "integer"
  19191. },
  19192. "contactname": {
  19193. "description": "联系人",
  19194. "type": "string"
  19195. },
  19196. "createtime": {
  19197. "description": "开户申请时间",
  19198. "type": "string"
  19199. },
  19200. "userid": {
  19201. "description": "用户ID(自增ID)",
  19202. "type": "integer"
  19203. },
  19204. "userinfotype": {
  19205. "description": "用户信息类型 - 1:个人 2:企业",
  19206. "type": "integer"
  19207. },
  19208. "username": {
  19209. "description": "用户姓名",
  19210. "type": "string"
  19211. },
  19212. "userstate": {
  19213. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19214. "type": "integer"
  19215. }
  19216. }
  19217. },
  19218. "erms3.QueryUserInfosRsp": {
  19219. "type": "object",
  19220. "required": [
  19221. "userid"
  19222. ],
  19223. "properties": {
  19224. "biznature": {
  19225. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19226. "type": "integer"
  19227. },
  19228. "contactname": {
  19229. "description": "联系人",
  19230. "type": "string"
  19231. },
  19232. "customername": {
  19233. "description": "客户名称(企业名称)",
  19234. "type": "string"
  19235. },
  19236. "userid": {
  19237. "description": "用户ID",
  19238. "type": "integer"
  19239. },
  19240. "userinfotype": {
  19241. "description": "用户信息类型 - 1:个人 2:企业",
  19242. "type": "integer"
  19243. },
  19244. "userstatus": {
  19245. "description": "用户状态 - 1:正常 2:注销",
  19246. "type": "integer"
  19247. }
  19248. }
  19249. },
  19250. "erms3.SoptContractDetail": {
  19251. "type": "object",
  19252. "required": [
  19253. "deliverygoodsid",
  19254. "producttype",
  19255. "unitname",
  19256. "warehouseid",
  19257. "wrstandardid",
  19258. "wrstandardname"
  19259. ],
  19260. "properties": {
  19261. "deliverygoodsdesc": {
  19262. "description": "现货品种说明",
  19263. "type": "string"
  19264. },
  19265. "deliverygoodsid": {
  19266. "description": "现货品种ID",
  19267. "type": "integer"
  19268. },
  19269. "deliverygoodsname": {
  19270. "description": "现货品种名称",
  19271. "type": "string"
  19272. },
  19273. "pointdesc": {
  19274. "description": "点价描述",
  19275. "type": "string"
  19276. },
  19277. "producttype": {
  19278. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19279. "type": "integer"
  19280. },
  19281. "producttypename": {
  19282. "description": "产品类型名称",
  19283. "type": "string"
  19284. },
  19285. "spotPointOrderVoList": {
  19286. "description": "点价列表",
  19287. "type": "array",
  19288. "items": {
  19289. "$ref": "#/definitions/erms3.SpotPointOrder"
  19290. }
  19291. },
  19292. "spotPriceOrderList": {
  19293. "description": "定价列表",
  19294. "type": "array",
  19295. "items": {
  19296. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19297. }
  19298. },
  19299. "unitname": {
  19300. "description": "单位名称",
  19301. "type": "string"
  19302. },
  19303. "warehouseid": {
  19304. "description": "仓库ID",
  19305. "type": "integer"
  19306. },
  19307. "warehousename": {
  19308. "description": "仓库名称",
  19309. "type": "string"
  19310. },
  19311. "wrstandardid": {
  19312. "description": "交易标的ID",
  19313. "type": "integer"
  19314. },
  19315. "wrstandardname": {
  19316. "description": "交易标的名称",
  19317. "type": "string"
  19318. }
  19319. }
  19320. },
  19321. "erms3.SpotPointOrder": {
  19322. "type": "object",
  19323. "required": [
  19324. "basic",
  19325. "goodsid",
  19326. "qty"
  19327. ],
  19328. "properties": {
  19329. "basic": {
  19330. "description": "基差",
  19331. "type": "number"
  19332. },
  19333. "deliveryenddate": {
  19334. "description": "交收结束日期",
  19335. "type": "string"
  19336. },
  19337. "deliverystartdate": {
  19338. "description": "交收开始日期",
  19339. "type": "string"
  19340. },
  19341. "enddate": {
  19342. "description": "点价结束日期",
  19343. "type": "string"
  19344. },
  19345. "goodsid": {
  19346. "description": "商品ID",
  19347. "type": "integer"
  19348. },
  19349. "goodsname": {
  19350. "description": "商品名称",
  19351. "type": "string"
  19352. },
  19353. "qty": {
  19354. "description": "数量",
  19355. "type": "number"
  19356. },
  19357. "startdate": {
  19358. "description": "点价开始日期",
  19359. "type": "string"
  19360. }
  19361. }
  19362. },
  19363. "erms3.SpotPriceOrder": {
  19364. "type": "object",
  19365. "required": [
  19366. "amount",
  19367. "price",
  19368. "qty"
  19369. ],
  19370. "properties": {
  19371. "amount": {
  19372. "description": "金额",
  19373. "type": "number"
  19374. },
  19375. "deliveryenddate": {
  19376. "description": "交收结束日期",
  19377. "type": "string"
  19378. },
  19379. "deliverystartdate": {
  19380. "description": "交收开始日期",
  19381. "type": "string"
  19382. },
  19383. "price": {
  19384. "description": "价格",
  19385. "type": "number"
  19386. },
  19387. "qty": {
  19388. "description": "数量",
  19389. "type": "number"
  19390. }
  19391. }
  19392. },
  19393. "hsby.GetHsbyMyCountRsp": {
  19394. "type": "object",
  19395. "properties": {
  19396. "myCouponCount": {
  19397. "description": "我的优惠卷数量",
  19398. "type": "integer"
  19399. },
  19400. "myOrderDetailListingCount": {
  19401. "description": "我的订单求购中数量",
  19402. "type": "integer"
  19403. },
  19404. "myOrderDetailPreCount": {
  19405. "description": "我的订单抢购中数量",
  19406. "type": "integer"
  19407. },
  19408. "myPackageUnReceiveCount": {
  19409. "description": "我的包裹待收货数量",
  19410. "type": "integer"
  19411. },
  19412. "myPackageUnSendCount": {
  19413. "description": "我的包裹待发货数量",
  19414. "type": "integer"
  19415. },
  19416. "myPayOrderCount": {
  19417. "description": "我的订单待付款数量",
  19418. "type": "integer"
  19419. }
  19420. }
  19421. },
  19422. "hsby.QueryProvincesAndCitiesRsp": {
  19423. "type": "object",
  19424. "properties": {
  19425. "cities": {
  19426. "description": "市",
  19427. "type": "array",
  19428. "items": {
  19429. "$ref": "#/definitions/models.Division"
  19430. }
  19431. },
  19432. "province": {
  19433. "description": "省",
  19434. "$ref": "#/definitions/models.Division"
  19435. }
  19436. }
  19437. },
  19438. "models.Arearole": {
  19439. "type": "object",
  19440. "required": [
  19441. "roletype",
  19442. "userid"
  19443. ],
  19444. "properties": {
  19445. "createtime": {
  19446. "description": "创建时间",
  19447. "type": "string"
  19448. },
  19449. "creatorid": {
  19450. "description": "创建人ID",
  19451. "type": "integer"
  19452. },
  19453. "fromuserid": {
  19454. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19455. "type": "integer"
  19456. },
  19457. "isreturnscore": {
  19458. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19459. "type": "integer"
  19460. },
  19461. "modifierid": {
  19462. "description": "修改人ID",
  19463. "type": "integer"
  19464. },
  19465. "modifytime": {
  19466. "description": "修改时间",
  19467. "type": "string"
  19468. },
  19469. "orgtype": {
  19470. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19471. "type": "integer"
  19472. },
  19473. "outuserid": {
  19474. "description": "外部账户[场外期权做市商]",
  19475. "type": "string"
  19476. },
  19477. "parentuserid": {
  19478. "description": "上级组织机构(组织机构)",
  19479. "type": "integer"
  19480. },
  19481. "roletype": {
  19482. "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:门店",
  19483. "type": "integer"
  19484. },
  19485. "rootuserid": {
  19486. "description": "顶级组织机构用户ID(组织机构)",
  19487. "type": "integer"
  19488. },
  19489. "shoppassword": {
  19490. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19491. "type": "string"
  19492. },
  19493. "sublevelpath": {
  19494. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19495. "type": "string"
  19496. },
  19497. "suborgtype": {
  19498. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19499. "type": "integer"
  19500. },
  19501. "tradeaccountid": {
  19502. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19503. "type": "integer"
  19504. },
  19505. "transurl": {
  19506. "description": "物流地址(物流机构)",
  19507. "type": "string"
  19508. },
  19509. "userid": {
  19510. "description": "机构用户ID其他做市关系,都设置为 1",
  19511. "type": "integer"
  19512. }
  19513. }
  19514. },
  19515. "models.Clientfixedadconfig": {
  19516. "type": "object",
  19517. "required": [
  19518. "adsort",
  19519. "adtype"
  19520. ],
  19521. "properties": {
  19522. "adsort": {
  19523. "description": "排序",
  19524. "type": "integer"
  19525. },
  19526. "adtype": {
  19527. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19528. "type": "integer"
  19529. },
  19530. "areauserid": {
  19531. "description": "所属机构ID",
  19532. "type": "integer"
  19533. },
  19534. "createdate": {
  19535. "description": "创建时间",
  19536. "type": "string"
  19537. },
  19538. "creatorid": {
  19539. "description": "创建人",
  19540. "type": "integer"
  19541. },
  19542. "imagepath": {
  19543. "description": "图片",
  19544. "type": "string"
  19545. },
  19546. "isshow": {
  19547. "description": "是否展示 - 0:不展示 1:展示",
  19548. "type": "integer"
  19549. },
  19550. "modifierid": {
  19551. "description": "操作人",
  19552. "type": "integer"
  19553. },
  19554. "recsize": {
  19555. "description": "推荐尺寸",
  19556. "type": "string"
  19557. },
  19558. "title": {
  19559. "description": "标题",
  19560. "type": "string"
  19561. },
  19562. "updatedate": {
  19563. "description": "更新时间",
  19564. "type": "string"
  19565. },
  19566. "urlcontent": {
  19567. "description": "链接(地址或商品ID)",
  19568. "type": "string"
  19569. },
  19570. "urltype": {
  19571. "description": "链接类型 - 1:直接地址 2:商品ID",
  19572. "type": "integer"
  19573. }
  19574. }
  19575. },
  19576. "models.Division": {
  19577. "type": "object",
  19578. "required": [
  19579. "autoid",
  19580. "divisioncode"
  19581. ],
  19582. "properties": {
  19583. "autoid": {
  19584. "description": "自增ID",
  19585. "type": "integer"
  19586. },
  19587. "divisioncode": {
  19588. "description": "行政代码",
  19589. "type": "string"
  19590. },
  19591. "divisionlevel": {
  19592. "description": "行政级别",
  19593. "type": "string"
  19594. },
  19595. "divisionname": {
  19596. "description": "行政名称",
  19597. "type": "string"
  19598. },
  19599. "modifierid": {
  19600. "description": "修改人",
  19601. "type": "integer"
  19602. },
  19603. "modifytime": {
  19604. "description": "修改时间",
  19605. "type": "string"
  19606. },
  19607. "parentcode": {
  19608. "description": "上级行政代码",
  19609. "type": "string"
  19610. },
  19611. "pathname": {
  19612. "description": "路径名称",
  19613. "type": "string"
  19614. },
  19615. "postcode": {
  19616. "description": "邮政编码",
  19617. "type": "string"
  19618. },
  19619. "separablename": {
  19620. "description": "可拆分的全称",
  19621. "type": "string"
  19622. },
  19623. "shortcode": {
  19624. "description": "地区简码",
  19625. "type": "string"
  19626. }
  19627. }
  19628. },
  19629. "models.Enumdicitem": {
  19630. "type": "object",
  19631. "required": [
  19632. "autoid",
  19633. "enumdiccode",
  19634. "enumdicid",
  19635. "enumitemname"
  19636. ],
  19637. "properties": {
  19638. "autoid": {
  19639. "description": "自增ID",
  19640. "type": "integer"
  19641. },
  19642. "bankmappedvalue": {
  19643. "description": "银行服务对应值",
  19644. "type": "string"
  19645. },
  19646. "enumdiccode": {
  19647. "description": "所属枚举代码",
  19648. "type": "string"
  19649. },
  19650. "enumdicid": {
  19651. "description": "所属枚举ID",
  19652. "type": "integer"
  19653. },
  19654. "enumdicname": {
  19655. "description": "枚举项名称",
  19656. "type": "string"
  19657. },
  19658. "enumitemname": {
  19659. "description": "枚举项值",
  19660. "type": "integer"
  19661. },
  19662. "enumitemstatus": {
  19663. "description": "枚举项状态 - 1.启用 2.不启用",
  19664. "type": "integer"
  19665. },
  19666. "enumitemvalue": {
  19667. "description": "通用值 - [币种通用简写]",
  19668. "type": "string"
  19669. },
  19670. "param1": {
  19671. "description": "参数1[币种:币种小数位]",
  19672. "type": "string"
  19673. },
  19674. "param2": {
  19675. "description": "参数1[币种:币种显示单位]",
  19676. "type": "string"
  19677. },
  19678. "remark": {
  19679. "description": "备注",
  19680. "type": "string"
  19681. }
  19682. }
  19683. },
  19684. "models.Ermcp3AreaSpot": {
  19685. "type": "object",
  19686. "properties": {
  19687. "areauserid": {
  19688. "description": "所属机构",
  19689. "type": "integer"
  19690. },
  19691. "convertratio": {
  19692. "description": "套保系数",
  19693. "type": "number"
  19694. },
  19695. "decreaseqty": {
  19696. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19697. "type": "number"
  19698. },
  19699. "enumdicname": {
  19700. "description": "单位名称",
  19701. "type": "string"
  19702. },
  19703. "increaseqty": {
  19704. "description": "增加数量=销售计划数量+采购已定价数量",
  19705. "type": "number"
  19706. },
  19707. "oritoalspotqty": {
  19708. "description": "昨日数量",
  19709. "type": "number"
  19710. },
  19711. "totalspotqty": {
  19712. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19713. "type": "number"
  19714. },
  19715. "unitid": {
  19716. "description": "现货商品单位id",
  19717. "type": "integer"
  19718. },
  19719. "updatetime": {
  19720. "description": "更新时间",
  19721. "type": "string"
  19722. },
  19723. "wrstandardcode": {
  19724. "description": "现货商品代码",
  19725. "type": "string"
  19726. },
  19727. "wrstandardid": {
  19728. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19729. "type": "integer"
  19730. },
  19731. "wrstandardname": {
  19732. "description": "现货商品名称",
  19733. "type": "string"
  19734. }
  19735. }
  19736. },
  19737. "models.Ermcp3AreaSpotDetail": {
  19738. "type": "object",
  19739. "properties": {
  19740. "contracttype": {
  19741. "description": "合同类型 1-采购 -1-销售",
  19742. "type": "integer"
  19743. },
  19744. "createtime": {
  19745. "description": "创建时间",
  19746. "type": "string"
  19747. },
  19748. "enumdicname": {
  19749. "description": "现货商品单位名称",
  19750. "type": "string"
  19751. },
  19752. "logtype": {
  19753. "description": "记录类型 1-套保 2-现货合同",
  19754. "type": "integer"
  19755. },
  19756. "qty": {
  19757. "description": "数量",
  19758. "type": "number"
  19759. },
  19760. "recordname": {
  19761. "description": "类型名称",
  19762. "type": "string"
  19763. },
  19764. "relatedid": {
  19765. "description": "套保计划ID/现货合同ID",
  19766. "type": "string"
  19767. },
  19768. "relatedno": {
  19769. "description": "编号",
  19770. "type": "string"
  19771. },
  19772. "strtime": {
  19773. "description": "时间",
  19774. "type": "string"
  19775. },
  19776. "wrstandardcode": {
  19777. "description": "现货商品代码",
  19778. "type": "string"
  19779. },
  19780. "wrstandardid": {
  19781. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19782. "type": "integer"
  19783. },
  19784. "wrstandardname": {
  19785. "description": "现货商品名称",
  19786. "type": "string"
  19787. }
  19788. }
  19789. },
  19790. "models.Ermcp3AreaSpotPLReport": {
  19791. "type": "object",
  19792. "properties": {
  19793. "accountid": {
  19794. "description": "期货账户ID (作废, 默认为0)",
  19795. "type": "integer"
  19796. },
  19797. "accountname": {
  19798. "description": "机构名称",
  19799. "type": "string"
  19800. },
  19801. "actualpl": {
  19802. "description": "现货损益",
  19803. "type": "number"
  19804. },
  19805. "areauserid": {
  19806. "description": "所属机构\\交易用户ID",
  19807. "type": "integer"
  19808. },
  19809. "begindate": {
  19810. "description": "开始交易日",
  19811. "type": "string"
  19812. },
  19813. "biztype": {
  19814. "description": "业务类型 - 1:套保 2:套利",
  19815. "type": "integer"
  19816. },
  19817. "brandname": {
  19818. "description": "品牌名称",
  19819. "type": "string"
  19820. },
  19821. "curamount": {
  19822. "description": "期末额",
  19823. "type": "number"
  19824. },
  19825. "curaverageprice": {
  19826. "description": "期末均价",
  19827. "type": "number"
  19828. },
  19829. "curbuyamount": {
  19830. "description": "期末采购总额",
  19831. "type": "number"
  19832. },
  19833. "curbuyqty": {
  19834. "description": "期末采购总量",
  19835. "type": "number"
  19836. },
  19837. "curmarketvalue": {
  19838. "description": "参考市值(期末市值)",
  19839. "type": "number"
  19840. },
  19841. "curqty": {
  19842. "description": "期末量",
  19843. "type": "number"
  19844. },
  19845. "currencyid": {
  19846. "description": "结算币种ID【原值】",
  19847. "type": "integer"
  19848. },
  19849. "currencyname": {
  19850. "description": "币种名称",
  19851. "type": "string"
  19852. },
  19853. "cursellamount": {
  19854. "description": "期末销售总额",
  19855. "type": "number"
  19856. },
  19857. "cursellqty": {
  19858. "description": "期末销售总量",
  19859. "type": "number"
  19860. },
  19861. "curspotprice": {
  19862. "description": "参考市价(最新价)",
  19863. "type": "number"
  19864. },
  19865. "cycletime": {
  19866. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19867. "type": "string"
  19868. },
  19869. "cycletype": {
  19870. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19871. "type": "integer"
  19872. },
  19873. "deliverygoodscode": {
  19874. "description": "现货品种代码",
  19875. "type": "string"
  19876. },
  19877. "deliverygoodsid": {
  19878. "description": "现货品种ID",
  19879. "type": "integer"
  19880. },
  19881. "deliverygoodsname": {
  19882. "description": "现货品种名称",
  19883. "type": "string"
  19884. },
  19885. "enddate": {
  19886. "description": "结束交易日",
  19887. "type": "string"
  19888. },
  19889. "enumdicname": {
  19890. "description": "现货品种单位名称(作废)",
  19891. "type": "string"
  19892. },
  19893. "floatpl": {
  19894. "description": "浮动损益",
  19895. "type": "number"
  19896. },
  19897. "goodsunitid": {
  19898. "description": "现货品种单位id(作废)",
  19899. "type": "integer"
  19900. },
  19901. "oriamount": {
  19902. "description": "期初额",
  19903. "type": "number"
  19904. },
  19905. "oriaverageprice": {
  19906. "description": "期初均价",
  19907. "type": "number"
  19908. },
  19909. "oribuyamount": {
  19910. "description": "期初采购总额",
  19911. "type": "number"
  19912. },
  19913. "oribuyqty": {
  19914. "description": "期初采购总量",
  19915. "type": "number"
  19916. },
  19917. "oriqty": {
  19918. "description": "期初量",
  19919. "type": "number"
  19920. },
  19921. "orisellamount": {
  19922. "description": "期初销售总额",
  19923. "type": "number"
  19924. },
  19925. "orisellqty": {
  19926. "description": "期初销售总量",
  19927. "type": "number"
  19928. },
  19929. "reckondate": {
  19930. "description": "日照时期(yyyyMMdd)",
  19931. "type": "string"
  19932. },
  19933. "spotgoodsbrandid": {
  19934. "description": "现货品牌ID",
  19935. "type": "integer"
  19936. },
  19937. "todaybuyamount": {
  19938. "description": "今日采购额(今采购额)",
  19939. "type": "number"
  19940. },
  19941. "todaybuyaverageprice": {
  19942. "description": "今日采购均价",
  19943. "type": "number"
  19944. },
  19945. "todaybuyqty": {
  19946. "description": "今日采购量(今采购量)",
  19947. "type": "number"
  19948. },
  19949. "todayinqty": {
  19950. "description": "今日入库量(今入库量)",
  19951. "type": "number"
  19952. },
  19953. "todayoutqty": {
  19954. "description": "今日出库量(今出库量)",
  19955. "type": "number"
  19956. },
  19957. "todaysellamount": {
  19958. "description": "今日销售额(今销售额)",
  19959. "type": "number"
  19960. },
  19961. "todaysellaverageprice": {
  19962. "description": "今日销售均价",
  19963. "type": "number"
  19964. },
  19965. "todaysellqty": {
  19966. "description": "今日销售量(今销售量)",
  19967. "type": "number"
  19968. },
  19969. "unitid": {
  19970. "description": "品类单位id",
  19971. "type": "integer"
  19972. },
  19973. "unitidname": {
  19974. "description": "品类单位名称",
  19975. "type": "string"
  19976. },
  19977. "updatetime": {
  19978. "description": "更新时间",
  19979. "type": "string"
  19980. },
  19981. "wrfactortypeid": {
  19982. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19983. "type": "integer"
  19984. },
  19985. "wrstandardcode": {
  19986. "description": "现货商品(品类)代码",
  19987. "type": "string"
  19988. },
  19989. "wrstandardid": {
  19990. "description": "现货品类ID",
  19991. "type": "integer"
  19992. },
  19993. "wrstandardname": {
  19994. "description": "现货商品(品类)名称",
  19995. "type": "string"
  19996. }
  19997. }
  19998. },
  19999. "models.Ermcp3AreaStock": {
  20000. "type": "object",
  20001. "required": [
  20002. "userid"
  20003. ],
  20004. "properties": {
  20005. "brandname": {
  20006. "description": "品牌名称",
  20007. "type": "string"
  20008. },
  20009. "curstock": {
  20010. "description": "期末库存量(今日量)",
  20011. "type": "number"
  20012. },
  20013. "deliverygoodscode": {
  20014. "description": "现货品种代码",
  20015. "type": "string"
  20016. },
  20017. "deliverygoodsid": {
  20018. "description": "现货品种id",
  20019. "type": "integer"
  20020. },
  20021. "deliverygoodsname": {
  20022. "description": "现货品种名称",
  20023. "type": "string"
  20024. },
  20025. "enumdicname": {
  20026. "description": "单位名称",
  20027. "type": "string"
  20028. },
  20029. "goodsunitid": {
  20030. "description": "现货商品单位id",
  20031. "type": "integer"
  20032. },
  20033. "oristock": {
  20034. "description": "期初库存量(昨日量)",
  20035. "type": "number"
  20036. },
  20037. "spotgoodsbrandid": {
  20038. "description": "现货品牌ID",
  20039. "type": "integer"
  20040. },
  20041. "todaybuyinqty": {
  20042. "description": "今日采购入库量",
  20043. "type": "number"
  20044. },
  20045. "todayproduceinqty": {
  20046. "description": "今日生产入库量",
  20047. "type": "number"
  20048. },
  20049. "todayproduceoutqty": {
  20050. "description": "今日生产出库量",
  20051. "type": "number"
  20052. },
  20053. "todayselloutqty": {
  20054. "description": "今日销售出库量",
  20055. "type": "number"
  20056. },
  20057. "unitid": {
  20058. "description": "单位id",
  20059. "type": "integer"
  20060. },
  20061. "updatetime": {
  20062. "description": "更新时间",
  20063. "type": "string"
  20064. },
  20065. "userid": {
  20066. "description": "机构ID",
  20067. "type": "integer"
  20068. },
  20069. "username": {
  20070. "description": "机构名称",
  20071. "type": "string"
  20072. },
  20073. "warehousecode": {
  20074. "description": "仓库代码",
  20075. "type": "string"
  20076. },
  20077. "warehouseinfoid": {
  20078. "description": "仓库ID",
  20079. "type": "string"
  20080. },
  20081. "warehousename": {
  20082. "description": "仓库名称",
  20083. "type": "string"
  20084. },
  20085. "warehousetype": {
  20086. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20087. "type": "integer"
  20088. },
  20089. "wrstandardcode": {
  20090. "description": "品类代码",
  20091. "type": "string"
  20092. },
  20093. "wrstandardid": {
  20094. "description": "品类ID",
  20095. "type": "string"
  20096. },
  20097. "wrstandardname": {
  20098. "description": "品类名称",
  20099. "type": "string"
  20100. }
  20101. }
  20102. },
  20103. "models.Ermcp3AreaStockApply": {
  20104. "type": "object",
  20105. "properties": {
  20106. "applyid": {
  20107. "description": "申请人",
  20108. "type": "integer"
  20109. },
  20110. "applyname": {
  20111. "description": "申请人名称",
  20112. "type": "string"
  20113. },
  20114. "applyremark": {
  20115. "description": "申请备注",
  20116. "type": "string"
  20117. },
  20118. "applysrc": {
  20119. "description": "申请来源 - 1:管理端 2:终端",
  20120. "type": "integer"
  20121. },
  20122. "applystatus": {
  20123. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  20124. "type": "integer"
  20125. },
  20126. "applytime": {
  20127. "description": "申请时间",
  20128. "type": "string"
  20129. },
  20130. "auditid": {
  20131. "description": "审核人",
  20132. "type": "integer"
  20133. },
  20134. "auditname": {
  20135. "description": "审核人名称",
  20136. "type": "string"
  20137. },
  20138. "auditremark": {
  20139. "description": "审核备注",
  20140. "type": "string"
  20141. },
  20142. "auditsrc": {
  20143. "description": "审核来源 - 1:管理端 2:终端",
  20144. "type": "integer"
  20145. },
  20146. "audittime": {
  20147. "description": "审核时间",
  20148. "type": "string"
  20149. },
  20150. "audittradedate": {
  20151. "description": "审核交易日(yyyyMMdd)",
  20152. "type": "string"
  20153. },
  20154. "brandname": {
  20155. "description": "品牌名称",
  20156. "type": "string"
  20157. },
  20158. "buynickname": {
  20159. "description": "采购方昵称",
  20160. "type": "string"
  20161. },
  20162. "buyuserid": {
  20163. "description": "采购方userid",
  20164. "type": "integer"
  20165. },
  20166. "buyusername": {
  20167. "description": "采购方名称",
  20168. "type": "string"
  20169. },
  20170. "contractno": {
  20171. "description": "合同编号",
  20172. "type": "string"
  20173. },
  20174. "contractqty": {
  20175. "description": "合同量",
  20176. "type": "number"
  20177. },
  20178. "contracttype": {
  20179. "description": "现货合同类型 - 1:采购 -1:销售",
  20180. "type": "integer"
  20181. },
  20182. "deliverygoodscode": {
  20183. "description": "现货品种代码",
  20184. "type": "string"
  20185. },
  20186. "deliverygoodsid": {
  20187. "description": "现货品种id",
  20188. "type": "integer"
  20189. },
  20190. "deliverygoodsname": {
  20191. "description": "现货品种名称",
  20192. "type": "string"
  20193. },
  20194. "detailjson": {
  20195. "description": "明细数据",
  20196. "type": "string"
  20197. },
  20198. "enumdicname": {
  20199. "description": "现货商品单位名称",
  20200. "type": "string"
  20201. },
  20202. "inoutapplyid": {
  20203. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20204. "type": "string"
  20205. },
  20206. "inouttype": {
  20207. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20208. "type": "integer"
  20209. },
  20210. "pricetype": {
  20211. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20212. "type": "integer"
  20213. },
  20214. "qty": {
  20215. "description": "数量",
  20216. "type": "number"
  20217. },
  20218. "sellnickname": {
  20219. "description": "销售方昵称",
  20220. "type": "string"
  20221. },
  20222. "selluserid": {
  20223. "description": "销售方userid",
  20224. "type": "integer"
  20225. },
  20226. "sellusername": {
  20227. "description": "销售方名称",
  20228. "type": "string"
  20229. },
  20230. "spotcontractid": {
  20231. "description": "关联现货合同ID",
  20232. "type": "string"
  20233. },
  20234. "spotgoodsbrandid": {
  20235. "description": "现货品牌ID",
  20236. "type": "integer"
  20237. },
  20238. "unitid": {
  20239. "description": "单位id",
  20240. "type": "integer"
  20241. },
  20242. "userid": {
  20243. "description": "机构ID",
  20244. "type": "integer"
  20245. },
  20246. "warehousecode": {
  20247. "description": "仓库代码",
  20248. "type": "string"
  20249. },
  20250. "warehouseinfoid": {
  20251. "description": "现货仓库ID",
  20252. "type": "string"
  20253. },
  20254. "warehousename": {
  20255. "description": "仓库名称",
  20256. "type": "string"
  20257. },
  20258. "warehousetype": {
  20259. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20260. "type": "integer"
  20261. },
  20262. "wrstandardcode": {
  20263. "description": "品类代码",
  20264. "type": "string"
  20265. },
  20266. "wrstandardid": {
  20267. "description": "品类ID",
  20268. "type": "integer"
  20269. },
  20270. "wrstandardname": {
  20271. "description": "品类名称",
  20272. "type": "string"
  20273. }
  20274. }
  20275. },
  20276. "models.Ermcp3AreaStockApplySum": {
  20277. "type": "object",
  20278. "properties": {
  20279. "brandname": {
  20280. "description": "品牌名称",
  20281. "type": "string"
  20282. },
  20283. "inouttype": {
  20284. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20285. "type": "integer"
  20286. },
  20287. "spotcontractid": {
  20288. "description": "关联现货合同ID",
  20289. "type": "string"
  20290. },
  20291. "spotgoodsbrandid": {
  20292. "description": "品牌id",
  20293. "type": "integer"
  20294. },
  20295. "totalqty": {
  20296. "description": "总数量",
  20297. "type": "number"
  20298. },
  20299. "wrstandardid": {
  20300. "description": "品类id",
  20301. "type": "integer"
  20302. },
  20303. "wrstandardname": {
  20304. "description": "品类名称",
  20305. "type": "string"
  20306. }
  20307. }
  20308. },
  20309. "models.Ermcp3AreaStockReportEx": {
  20310. "type": "object",
  20311. "properties": {
  20312. "begindate": {
  20313. "description": "开始交易日",
  20314. "type": "string"
  20315. },
  20316. "brandname": {
  20317. "description": "品牌名称",
  20318. "type": "string"
  20319. },
  20320. "curstock": {
  20321. "description": "期末库存量",
  20322. "type": "number"
  20323. },
  20324. "cycletime": {
  20325. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20326. "type": "string"
  20327. },
  20328. "cycletype": {
  20329. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20330. "type": "integer"
  20331. },
  20332. "deliverygoodscode": {
  20333. "description": "现货品种代码",
  20334. "type": "string"
  20335. },
  20336. "deliverygoodsid": {
  20337. "description": "现货品种id",
  20338. "type": "integer"
  20339. },
  20340. "deliverygoodsname": {
  20341. "description": "现货品种名称",
  20342. "type": "string"
  20343. },
  20344. "diffqty": {
  20345. "description": "库存变化量 = 期末 - 期初",
  20346. "type": "number"
  20347. },
  20348. "enddate": {
  20349. "description": "结束交易日",
  20350. "type": "string"
  20351. },
  20352. "enumdicname": {
  20353. "description": "单位名称",
  20354. "type": "string"
  20355. },
  20356. "goodsunitid": {
  20357. "description": "现货单位id",
  20358. "type": "integer"
  20359. },
  20360. "oristock": {
  20361. "description": "期初库存量",
  20362. "type": "number"
  20363. },
  20364. "reckondate": {
  20365. "description": "日照时期(yyyyMMdd)",
  20366. "type": "string"
  20367. },
  20368. "spotgoodsbrandid": {
  20369. "description": "现货品牌ID",
  20370. "type": "integer"
  20371. },
  20372. "todaybuyinqty": {
  20373. "description": "今采购入库量",
  20374. "type": "number"
  20375. },
  20376. "todayproduceinqty": {
  20377. "description": "今内部入库量",
  20378. "type": "number"
  20379. },
  20380. "todayproduceoutqty": {
  20381. "description": "今内部出库量",
  20382. "type": "number"
  20383. },
  20384. "todayselloutqty": {
  20385. "description": "今销售出库量",
  20386. "type": "number"
  20387. },
  20388. "unbuyinqty": {
  20389. "description": "采购未入库量(数据库未找到相关字段?)",
  20390. "type": "number"
  20391. },
  20392. "unitid": {
  20393. "description": "品类单位id",
  20394. "type": "integer"
  20395. },
  20396. "unselloutqty": {
  20397. "description": "销售未出库量(数据库未找到相关字段?)",
  20398. "type": "number"
  20399. },
  20400. "updatetime": {
  20401. "description": "更新时间",
  20402. "type": "string"
  20403. },
  20404. "userid": {
  20405. "description": "机构ID",
  20406. "type": "integer"
  20407. },
  20408. "username": {
  20409. "description": "机构名称",
  20410. "type": "string"
  20411. },
  20412. "warehousecode": {
  20413. "description": "仓库代码",
  20414. "type": "string"
  20415. },
  20416. "warehouseinfoid": {
  20417. "description": "仓库ID",
  20418. "type": "string"
  20419. },
  20420. "warehousename": {
  20421. "description": "仓库名称",
  20422. "type": "string"
  20423. },
  20424. "warehousetype": {
  20425. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20426. "type": "integer"
  20427. },
  20428. "wrstandardcode": {
  20429. "description": "品类代码",
  20430. "type": "string"
  20431. },
  20432. "wrstandardid": {
  20433. "description": "品类ID",
  20434. "type": "integer"
  20435. },
  20436. "wrstandardname": {
  20437. "description": "品类名称",
  20438. "type": "string"
  20439. }
  20440. }
  20441. },
  20442. "models.Ermcp3ArealSumPL": {
  20443. "type": "object",
  20444. "properties": {
  20445. "accountname": {
  20446. "description": "机构名称",
  20447. "type": "string"
  20448. },
  20449. "areauserid": {
  20450. "description": "所属机构\\交易用户ID",
  20451. "type": "integer"
  20452. },
  20453. "begindate": {
  20454. "description": "开始交易日",
  20455. "type": "string"
  20456. },
  20457. "currencyid": {
  20458. "description": "结算币种ID",
  20459. "type": "integer"
  20460. },
  20461. "currencyname": {
  20462. "description": "币种名称",
  20463. "type": "string"
  20464. },
  20465. "cycletime": {
  20466. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20467. "type": "string"
  20468. },
  20469. "cycletype": {
  20470. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20471. "type": "integer"
  20472. },
  20473. "enddate": {
  20474. "description": "结束交易日",
  20475. "type": "string"
  20476. },
  20477. "enumdicname": {
  20478. "description": "单位名称(套保品种)",
  20479. "type": "string"
  20480. },
  20481. "futureactualpl": {
  20482. "description": "期货损益",
  20483. "type": "number"
  20484. },
  20485. "futurefloatpl": {
  20486. "description": "期货浮动损益",
  20487. "type": "number"
  20488. },
  20489. "futurespotratio": {
  20490. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20491. "type": "number"
  20492. },
  20493. "goodsunitid": {
  20494. "description": "套保品种单位id",
  20495. "type": "integer"
  20496. },
  20497. "hedgeexposurepl": {
  20498. "description": "套保敞口损益",
  20499. "type": "number"
  20500. },
  20501. "middlegoodscode": {
  20502. "description": "套保品种代码",
  20503. "type": "string"
  20504. },
  20505. "middlegoodsid": {
  20506. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20507. "type": "integer"
  20508. },
  20509. "middlegoodsname": {
  20510. "description": "套保品种名称",
  20511. "type": "string"
  20512. },
  20513. "reckondate": {
  20514. "description": "日照时期(yyyyMMdd)",
  20515. "type": "string"
  20516. },
  20517. "spotactualpl": {
  20518. "description": "现货损益",
  20519. "type": "number"
  20520. },
  20521. "spotfloatpl": {
  20522. "description": "现货浮动损益",
  20523. "type": "number"
  20524. },
  20525. "sumactualpl": {
  20526. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20527. "type": "number"
  20528. },
  20529. "sumpl": {
  20530. "description": "总敞口损益 | 汇总损益",
  20531. "type": "number"
  20532. },
  20533. "totalfutureqty": {
  20534. "description": "期货头寸总量",
  20535. "type": "number"
  20536. },
  20537. "totalneedhedgeqty": {
  20538. "description": "应套保总量",
  20539. "type": "number"
  20540. },
  20541. "totalspotqty": {
  20542. "description": "现货头寸总量",
  20543. "type": "number"
  20544. },
  20545. "updatetime": {
  20546. "description": "更新时间",
  20547. "type": "string"
  20548. }
  20549. }
  20550. },
  20551. "models.Ermcp3Brand": {
  20552. "type": "object",
  20553. "properties": {
  20554. "areauserid": {
  20555. "description": "用户id",
  20556. "type": "integer"
  20557. },
  20558. "brandid": {
  20559. "description": "品牌id",
  20560. "type": "integer"
  20561. },
  20562. "brandname": {
  20563. "description": "品牌名称",
  20564. "type": "string"
  20565. },
  20566. "deliverygoodsid": {
  20567. "description": "品种ID",
  20568. "type": "integer"
  20569. },
  20570. "isvalid": {
  20571. "description": "是否有效",
  20572. "type": "integer"
  20573. }
  20574. }
  20575. },
  20576. "models.Ermcp3Contract": {
  20577. "type": "object",
  20578. "properties": {
  20579. "accountid": {
  20580. "description": "期货账户id",
  20581. "type": "string"
  20582. },
  20583. "amount": {
  20584. "description": "金额 [1:一口价、3:暂定价]",
  20585. "type": "number"
  20586. },
  20587. "attachment": {
  20588. "description": "附件",
  20589. "type": "string"
  20590. },
  20591. "auditremark": {
  20592. "description": "审核意见",
  20593. "type": "string"
  20594. },
  20595. "audittime": {
  20596. "description": "审核时间",
  20597. "type": "string"
  20598. },
  20599. "biztype": {
  20600. "description": "业务类型 1-套保 2-套利",
  20601. "type": "integer"
  20602. },
  20603. "brandname": {
  20604. "description": "品牌名称",
  20605. "type": "string"
  20606. },
  20607. "buynickname": {
  20608. "description": "销售方昵称",
  20609. "type": "string"
  20610. },
  20611. "buyuserid": {
  20612. "description": "采购方ID",
  20613. "type": "integer"
  20614. },
  20615. "buyusername": {
  20616. "description": "采购方名称",
  20617. "type": "string"
  20618. },
  20619. "contracctstatus": {
  20620. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20621. "type": "integer"
  20622. },
  20623. "contractmargin": {
  20624. "description": "合同保证金",
  20625. "type": "number"
  20626. },
  20627. "contractno": {
  20628. "description": "现货合同编号",
  20629. "type": "string"
  20630. },
  20631. "contracttype": {
  20632. "description": "现货合同类型 - 1:采购 -1:销售",
  20633. "type": "integer"
  20634. },
  20635. "convertfactor": {
  20636. "description": "标仓系数(品类)",
  20637. "type": "number"
  20638. },
  20639. "createtime": {
  20640. "description": "创建时间",
  20641. "type": "string"
  20642. },
  20643. "currencyid": {
  20644. "description": "币种id",
  20645. "type": "integer"
  20646. },
  20647. "currencyname": {
  20648. "description": "币种名称",
  20649. "type": "string"
  20650. },
  20651. "deliveryenddate": {
  20652. "description": "交收期(结束)",
  20653. "type": "string"
  20654. },
  20655. "deliverygoodscode": {
  20656. "description": "现货品种代码",
  20657. "type": "string"
  20658. },
  20659. "deliverygoodsid": {
  20660. "description": "现货品种ID",
  20661. "type": "integer"
  20662. },
  20663. "deliverygoodsname": {
  20664. "description": "现货品种名称",
  20665. "type": "string"
  20666. },
  20667. "deliverystartdate": {
  20668. "description": "交收期(开始)",
  20669. "type": "string"
  20670. },
  20671. "enddate": {
  20672. "description": "点价结束日期 [2:点价 3:暂定价]",
  20673. "type": "string"
  20674. },
  20675. "enumdicname": {
  20676. "description": "单位名称",
  20677. "type": "string"
  20678. },
  20679. "goodscode": {
  20680. "description": "点价合约代码",
  20681. "type": "string"
  20682. },
  20683. "goodsid": {
  20684. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20685. "type": "integer"
  20686. },
  20687. "goodsname": {
  20688. "description": "点价商品名称",
  20689. "type": "string"
  20690. },
  20691. "margin": {
  20692. "description": "当前保证金",
  20693. "type": "number"
  20694. },
  20695. "meruserid": {
  20696. "description": "跟单员id",
  20697. "type": "integer"
  20698. },
  20699. "meruserlogincode": {
  20700. "description": "跟单员登录代码",
  20701. "type": "string"
  20702. },
  20703. "merusername": {
  20704. "description": "跟单员名称",
  20705. "type": "string"
  20706. },
  20707. "pointdesc": {
  20708. "description": "点价备注",
  20709. "type": "string"
  20710. },
  20711. "price": {
  20712. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20713. "type": "number"
  20714. },
  20715. "pricemove": {
  20716. "description": "升贴水 [2:点价 3:暂定价]",
  20717. "type": "number"
  20718. },
  20719. "pricetype": {
  20720. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20721. "type": "integer"
  20722. },
  20723. "producttype": {
  20724. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20725. "type": "integer"
  20726. },
  20727. "qty": {
  20728. "description": "数量",
  20729. "type": "number"
  20730. },
  20731. "remark": {
  20732. "description": "备注",
  20733. "type": "string"
  20734. },
  20735. "saleuserid": {
  20736. "description": "业务员id",
  20737. "type": "integer"
  20738. },
  20739. "saleuserlogincode": {
  20740. "description": "业务员登录代码",
  20741. "type": "string"
  20742. },
  20743. "saleusername": {
  20744. "description": "业务员名称",
  20745. "type": "string"
  20746. },
  20747. "sellnickname": {
  20748. "description": "采购方昵称",
  20749. "type": "string"
  20750. },
  20751. "selluserid": {
  20752. "description": "销售方ID",
  20753. "type": "integer"
  20754. },
  20755. "sellusername": {
  20756. "description": "销售方名称",
  20757. "type": "string"
  20758. },
  20759. "spotcontractid": {
  20760. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20761. "type": "string"
  20762. },
  20763. "spotgoodsbrandid": {
  20764. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20765. "type": "integer"
  20766. },
  20767. "spotgoodsdesc": {
  20768. "description": "商品型号",
  20769. "type": "string"
  20770. },
  20771. "startdate": {
  20772. "description": "点价开始日期 [2:点价 3:暂定价]",
  20773. "type": "string"
  20774. },
  20775. "subjectid": {
  20776. "description": "交易主体ID",
  20777. "type": "integer"
  20778. },
  20779. "subjectname": {
  20780. "description": "交易主体名称",
  20781. "type": "string"
  20782. },
  20783. "tradeuserid": {
  20784. "description": "交易员id",
  20785. "type": "integer"
  20786. },
  20787. "tradeuserlogincode": {
  20788. "description": "交易员登录代码",
  20789. "type": "string"
  20790. },
  20791. "tradeusername": {
  20792. "description": "交易员名称",
  20793. "type": "string"
  20794. },
  20795. "unitid": {
  20796. "description": "单位id(取品类上的单位id)",
  20797. "type": "integer"
  20798. },
  20799. "updatetime": {
  20800. "description": "更新时间",
  20801. "type": "string"
  20802. },
  20803. "userid": {
  20804. "description": "所属机构ID",
  20805. "type": "integer"
  20806. },
  20807. "vatrate": {
  20808. "description": "增值税率",
  20809. "type": "number"
  20810. },
  20811. "wrstandardcode": {
  20812. "description": "品类代码",
  20813. "type": "string"
  20814. },
  20815. "wrstandardid": {
  20816. "description": "品类ID",
  20817. "type": "integer"
  20818. },
  20819. "wrstandardname": {
  20820. "description": "品类名称",
  20821. "type": "string"
  20822. }
  20823. }
  20824. },
  20825. "models.Ermcp3ExposureContractDetail": {
  20826. "type": "object",
  20827. "properties": {
  20828. "biztype": {
  20829. "description": "业务类型 1-套保 2-套利",
  20830. "type": "integer"
  20831. },
  20832. "brandname": {
  20833. "description": "品牌名称",
  20834. "type": "string"
  20835. },
  20836. "buyuserid": {
  20837. "description": "采购方id",
  20838. "type": "integer"
  20839. },
  20840. "buyusername": {
  20841. "description": "采购方名称",
  20842. "type": "string"
  20843. },
  20844. "contractno": {
  20845. "description": "合同编号",
  20846. "type": "string"
  20847. },
  20848. "contracttype": {
  20849. "description": "现货合同类型 - 1:采购 -1:销售",
  20850. "type": "integer"
  20851. },
  20852. "convertfactor": {
  20853. "description": "标仓系数",
  20854. "type": "number"
  20855. },
  20856. "convertratio": {
  20857. "description": "折算系数(套保品种)",
  20858. "type": "number"
  20859. },
  20860. "curqty": {
  20861. "description": "今定价量",
  20862. "type": "number"
  20863. },
  20864. "deliverygoodscode": {
  20865. "description": "现货品种代码",
  20866. "type": "string"
  20867. },
  20868. "deliverygoodsid": {
  20869. "description": "现货品种id",
  20870. "type": "integer"
  20871. },
  20872. "deliverygoodsname": {
  20873. "description": "现货品种名称",
  20874. "type": "string"
  20875. },
  20876. "diffhedgeqty": {
  20877. "description": "套保变动量",
  20878. "type": "number"
  20879. },
  20880. "diffneedhedgeqty": {
  20881. "description": "应套保变动量",
  20882. "type": "number"
  20883. },
  20884. "diffqty": {
  20885. "description": "套保品种今变动量",
  20886. "type": "number"
  20887. },
  20888. "enumdicname": {
  20889. "description": "单位名称",
  20890. "type": "string"
  20891. },
  20892. "mgunitname": {
  20893. "description": "套保品种单位名称",
  20894. "type": "string"
  20895. },
  20896. "middlegoodscode": {
  20897. "description": "套保品种代码",
  20898. "type": "string"
  20899. },
  20900. "middlegoodsid": {
  20901. "description": "套保品种id",
  20902. "type": "integer"
  20903. },
  20904. "middlegoodsname": {
  20905. "description": "套保品种名称",
  20906. "type": "string"
  20907. },
  20908. "needarbitrageratio": {
  20909. "description": "应套利比例",
  20910. "type": "number"
  20911. },
  20912. "needhedgeratio": {
  20913. "description": "应套保比例",
  20914. "type": "number"
  20915. },
  20916. "pricedqty": {
  20917. "description": "已定价量",
  20918. "type": "number"
  20919. },
  20920. "qty": {
  20921. "description": "合同量",
  20922. "type": "number"
  20923. },
  20924. "selluserid": {
  20925. "description": "销售方id",
  20926. "type": "integer"
  20927. },
  20928. "sellusername": {
  20929. "description": "销售方名称",
  20930. "type": "string"
  20931. },
  20932. "spotcontractid": {
  20933. "description": "合同id",
  20934. "type": "string"
  20935. },
  20936. "todaypricedqty": {
  20937. "description": "今定价量",
  20938. "type": "number"
  20939. },
  20940. "tradedate": {
  20941. "description": "交易日",
  20942. "type": "string"
  20943. },
  20944. "unitid": {
  20945. "description": "品类单位id",
  20946. "type": "integer"
  20947. },
  20948. "userid": {
  20949. "description": "机构id",
  20950. "type": "integer"
  20951. },
  20952. "username": {
  20953. "description": "交易用户",
  20954. "type": "string"
  20955. },
  20956. "wrstandardcode": {
  20957. "description": "现货商品代码",
  20958. "type": "string"
  20959. },
  20960. "wrstandardid": {
  20961. "description": "现货商品id",
  20962. "type": "integer"
  20963. },
  20964. "wrstandardname": {
  20965. "description": "现货商品名称",
  20966. "type": "string"
  20967. }
  20968. }
  20969. },
  20970. "models.Ermcp3ExposureDetail": {
  20971. "type": "object",
  20972. "properties": {
  20973. "areauserid": {
  20974. "description": "机构ID",
  20975. "type": "integer"
  20976. },
  20977. "changeQty": {
  20978. "description": "套保变动量",
  20979. "type": "number"
  20980. },
  20981. "contracttype": {
  20982. "description": "现货合同类型 - 1:采购 -1:销售",
  20983. "type": "integer"
  20984. },
  20985. "convertfactor": {
  20986. "description": "标仓系数",
  20987. "type": "number"
  20988. },
  20989. "convertratio": {
  20990. "description": "折算系数",
  20991. "type": "number"
  20992. },
  20993. "createtime": {
  20994. "description": "时间",
  20995. "type": "string"
  20996. },
  20997. "enumdicname": {
  20998. "description": "现货商品单位名称",
  20999. "type": "string"
  21000. },
  21001. "logtype": {
  21002. "description": "类型 - 1:套保计划 2:现货合同",
  21003. "type": "integer"
  21004. },
  21005. "mgunitid": {
  21006. "description": "套保品种单位id",
  21007. "type": "integer"
  21008. },
  21009. "mgunitidname": {
  21010. "description": "套保品种单位名称",
  21011. "type": "string"
  21012. },
  21013. "middlegoodsId": {
  21014. "description": "套保商品id",
  21015. "type": "integer"
  21016. },
  21017. "middlegoodscode": {
  21018. "description": "套保商品代码",
  21019. "type": "string"
  21020. },
  21021. "middlegoodsname": {
  21022. "description": "套保商品名称",
  21023. "type": "string"
  21024. },
  21025. "qty": {
  21026. "description": "数量",
  21027. "type": "number"
  21028. },
  21029. "relateNo": {
  21030. "description": "现货合同/套保计划编号",
  21031. "type": "string"
  21032. },
  21033. "unitid": {
  21034. "description": "现货商品单位id",
  21035. "type": "integer"
  21036. },
  21037. "wrstandardcode": {
  21038. "description": "现货商品代码",
  21039. "type": "string"
  21040. },
  21041. "wrstandardid": {
  21042. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21043. "type": "integer"
  21044. },
  21045. "wrstandardname": {
  21046. "description": "现货商品名称",
  21047. "type": "string"
  21048. }
  21049. }
  21050. },
  21051. "models.Ermcp3ExposureFutuDetail": {
  21052. "type": "object",
  21053. "properties": {
  21054. "accountid": {
  21055. "description": "交易账户id",
  21056. "type": "integer"
  21057. },
  21058. "accountname": {
  21059. "description": "交易账户",
  21060. "type": "string"
  21061. },
  21062. "begindate": {
  21063. "description": "开始交易日",
  21064. "type": "string"
  21065. },
  21066. "buyorsell": {
  21067. "description": "方向 0-买 1-卖",
  21068. "type": "integer"
  21069. },
  21070. "diffmgqty": {
  21071. "description": "套保品种今变化量",
  21072. "type": "number"
  21073. },
  21074. "diffneedqty": {
  21075. "description": "应套保总量变化量",
  21076. "type": "number"
  21077. },
  21078. "difftradeqty": {
  21079. "description": "交易品种今变化量",
  21080. "type": "number"
  21081. },
  21082. "enddate": {
  21083. "description": "结束交易日",
  21084. "type": "string"
  21085. },
  21086. "enumdicname": {
  21087. "description": "单位名称",
  21088. "type": "string"
  21089. },
  21090. "goodscode": {
  21091. "description": "商品代码",
  21092. "type": "string"
  21093. },
  21094. "goodsid": {
  21095. "description": "商品id",
  21096. "type": "integer"
  21097. },
  21098. "goodsname": {
  21099. "description": "商品名称",
  21100. "type": "string"
  21101. },
  21102. "holdqty": {
  21103. "description": "期末持仓量",
  21104. "type": "number"
  21105. },
  21106. "middlegoodscode": {
  21107. "description": "套保商品代码",
  21108. "type": "string"
  21109. },
  21110. "middlegoodsid": {
  21111. "description": "套保商品id",
  21112. "type": "integer"
  21113. },
  21114. "middlegoodsname": {
  21115. "description": "套保商品名称",
  21116. "type": "string"
  21117. },
  21118. "oriholdqty": {
  21119. "description": "期初持仓量",
  21120. "type": "number"
  21121. },
  21122. "todaycloseqty": {
  21123. "description": "今平仓量",
  21124. "type": "number"
  21125. },
  21126. "todayopenqty": {
  21127. "description": "今开仓量",
  21128. "type": "number"
  21129. },
  21130. "tradedate": {
  21131. "description": "交易日",
  21132. "type": "string"
  21133. },
  21134. "username": {
  21135. "description": "用户名称(交易用户)",
  21136. "type": "string"
  21137. }
  21138. }
  21139. },
  21140. "models.Ermcp3ExposureHedgeplanDetail": {
  21141. "type": "object",
  21142. "properties": {
  21143. "biztype": {
  21144. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  21145. "type": "integer"
  21146. },
  21147. "changqty": {
  21148. "description": "应套保总量变化量",
  21149. "type": "number"
  21150. },
  21151. "contracttype": {
  21152. "description": "计划类型 - 1:采购 -1:销售",
  21153. "type": "integer"
  21154. },
  21155. "convertratio": {
  21156. "description": "折算系数(套保品种)",
  21157. "type": "number"
  21158. },
  21159. "deliverygoodscode": {
  21160. "description": "现货商品代码",
  21161. "type": "string"
  21162. },
  21163. "deliverygoodsid": {
  21164. "description": "现货商品id",
  21165. "type": "integer"
  21166. },
  21167. "deliverygoodsname": {
  21168. "description": "现货商吕名称",
  21169. "type": "string"
  21170. },
  21171. "dgunitid": {
  21172. "description": "现货商品单位id",
  21173. "type": "integer"
  21174. },
  21175. "dgunitidname": {
  21176. "description": "单位名称(现货商品)",
  21177. "type": "string"
  21178. },
  21179. "diffqty": {
  21180. "description": "套保品种今变动量",
  21181. "type": "number"
  21182. },
  21183. "enumdicname": {
  21184. "description": "单位名称(品类)",
  21185. "type": "string"
  21186. },
  21187. "hedgeplanid": {
  21188. "description": "套保计划id",
  21189. "type": "string"
  21190. },
  21191. "hedgeplanno": {
  21192. "description": "套保计划名称",
  21193. "type": "string"
  21194. },
  21195. "hedgeplanstatus": {
  21196. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21197. "type": "integer"
  21198. },
  21199. "mgunitidname": {
  21200. "description": "单位名称(套保商品)",
  21201. "type": "string"
  21202. },
  21203. "middlegoodscode": {
  21204. "description": "套保品种代码",
  21205. "type": "string"
  21206. },
  21207. "middlegoodsid": {
  21208. "description": "套保品种id",
  21209. "type": "integer"
  21210. },
  21211. "middlegoodsname": {
  21212. "description": "套保品种名称",
  21213. "type": "string"
  21214. },
  21215. "needarbitrageratio": {
  21216. "description": "应套利比例",
  21217. "type": "number"
  21218. },
  21219. "needhedgeratio": {
  21220. "description": "应套保比例",
  21221. "type": "number"
  21222. },
  21223. "pricedqty": {
  21224. "description": "已定价量",
  21225. "type": "number"
  21226. },
  21227. "qty": {
  21228. "description": "合同量",
  21229. "type": "number"
  21230. },
  21231. "tradedate": {
  21232. "description": "交易日(登记日)",
  21233. "type": "string"
  21234. },
  21235. "unitid": {
  21236. "description": "品类单位id",
  21237. "type": "integer"
  21238. },
  21239. "userid": {
  21240. "description": "机构id",
  21241. "type": "integer"
  21242. },
  21243. "wrstandardcode": {
  21244. "description": "品类代码",
  21245. "type": "string"
  21246. },
  21247. "wrstandardid": {
  21248. "description": "品类id",
  21249. "type": "integer"
  21250. },
  21251. "wrstandardname": {
  21252. "description": "品类名称",
  21253. "type": "string"
  21254. }
  21255. }
  21256. },
  21257. "models.Ermcp3ExposureParamChLog": {
  21258. "type": "object",
  21259. "properties": {
  21260. "accountid": {
  21261. "description": "期货账户ID (作废, 默认为0)",
  21262. "type": "integer"
  21263. },
  21264. "aftervalue": {
  21265. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21266. "type": "number"
  21267. },
  21268. "areauserid": {
  21269. "description": "所属机构\\交易用户ID",
  21270. "type": "integer"
  21271. },
  21272. "beforevalue": {
  21273. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21274. "type": "number"
  21275. },
  21276. "begindate": {
  21277. "description": "开始交易日",
  21278. "type": "string"
  21279. },
  21280. "changelogtype": {
  21281. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21282. "type": "integer"
  21283. },
  21284. "curvalue": {
  21285. "description": "当前套保\\套利量(套保总量|套利总量)",
  21286. "type": "number"
  21287. },
  21288. "diffvalue": {
  21289. "description": "应套保总量变化量",
  21290. "type": "number"
  21291. },
  21292. "enddate": {
  21293. "description": "结束交易日",
  21294. "type": "string"
  21295. },
  21296. "logdatetime": {
  21297. "description": "流水日期",
  21298. "type": "string"
  21299. },
  21300. "logid": {
  21301. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21302. "type": "string"
  21303. },
  21304. "middlegoodscode": {
  21305. "description": "套保品种代码",
  21306. "type": "string"
  21307. },
  21308. "middlegoodsid": {
  21309. "description": "套保品种",
  21310. "type": "integer"
  21311. },
  21312. "middlegoodsname": {
  21313. "description": "套保品种名称",
  21314. "type": "string"
  21315. },
  21316. "paramaftervalue": {
  21317. "description": "参数变更后(调整后参数值)",
  21318. "type": "number"
  21319. },
  21320. "parambeforevalue": {
  21321. "description": "参数变更前(调整前参数值)",
  21322. "type": "number"
  21323. },
  21324. "tradedate": {
  21325. "description": "交易日(yyyyMMdd)",
  21326. "type": "string"
  21327. }
  21328. }
  21329. },
  21330. "models.Ermcp3ExpourseReport": {
  21331. "type": "object",
  21332. "properties": {
  21333. "accountid": {
  21334. "description": "期货账户ID (作废, 默认为0)",
  21335. "type": "integer"
  21336. },
  21337. "accountname": {
  21338. "description": "机构名称",
  21339. "type": "string"
  21340. },
  21341. "arbitrageqty": {
  21342. "description": "套利量",
  21343. "type": "number"
  21344. },
  21345. "areauserid": {
  21346. "description": "所属机构\\交易用户ID",
  21347. "type": "integer"
  21348. },
  21349. "begindate": {
  21350. "description": "开始交易日",
  21351. "type": "string"
  21352. },
  21353. "buyfutureqty": {
  21354. "description": "买入期货数量",
  21355. "type": "number"
  21356. },
  21357. "buyplanqty": {
  21358. "description": "采购计划数量",
  21359. "type": "number"
  21360. },
  21361. "buypricedqty": {
  21362. "description": "采购合同已定价数量",
  21363. "type": "number"
  21364. },
  21365. "cycletime": {
  21366. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21367. "type": "string"
  21368. },
  21369. "cycletype": {
  21370. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21371. "type": "integer"
  21372. },
  21373. "diffexposure": {
  21374. "description": "变动量(套保敞口)",
  21375. "type": "number"
  21376. },
  21377. "difffutuqty": {
  21378. "description": "变动量(期货)",
  21379. "type": "number"
  21380. },
  21381. "diffhedgeqty": {
  21382. "description": "变动量(现货应套保总量)",
  21383. "type": "number"
  21384. },
  21385. "diffmgqtya": {
  21386. "description": "套保变动量",
  21387. "type": "number"
  21388. },
  21389. "diffmgqtyb": {
  21390. "description": "套利变动量",
  21391. "type": "number"
  21392. },
  21393. "diffqty": {
  21394. "description": "变动量(总敞口)",
  21395. "type": "number"
  21396. },
  21397. "diffspotqty": {
  21398. "description": "变动量(现货)",
  21399. "type": "number"
  21400. },
  21401. "enddate": {
  21402. "description": "结束交易日",
  21403. "type": "string"
  21404. },
  21405. "enumdicname": {
  21406. "description": "单位名称",
  21407. "type": "string"
  21408. },
  21409. "hedgeqty": {
  21410. "description": "套保量",
  21411. "type": "number"
  21412. },
  21413. "mgneedhedgeratio": {
  21414. "description": "套保比例(套保品的)",
  21415. "type": "number"
  21416. },
  21417. "middlegoodsid": {
  21418. "description": "套保品种ID",
  21419. "type": "integer"
  21420. },
  21421. "middlegoodsname": {
  21422. "description": "套保商品名称",
  21423. "type": "string"
  21424. },
  21425. "middlgoodscode": {
  21426. "description": "套保商品代码",
  21427. "type": "string"
  21428. },
  21429. "needarbitrageqty": {
  21430. "description": "应套利量",
  21431. "type": "number"
  21432. },
  21433. "needarbitrageratio": {
  21434. "description": "套利比例(套保品的)",
  21435. "type": "number"
  21436. },
  21437. "needhedgeexposoure": {
  21438. "description": "应套保敞口(套保敞口)",
  21439. "type": "number"
  21440. },
  21441. "needhedgeqty": {
  21442. "description": "应套保量",
  21443. "type": "number"
  21444. },
  21445. "needhedgeratio": {
  21446. "description": "应套保敞口比例",
  21447. "type": "number"
  21448. },
  21449. "oriarbitrageqty": {
  21450. "description": "期初套利量",
  21451. "type": "number"
  21452. },
  21453. "oribuyfutureqty": {
  21454. "description": "期初买入期货数量",
  21455. "type": "number"
  21456. },
  21457. "oribuyplanqty": {
  21458. "description": "期初采购计划数量",
  21459. "type": "number"
  21460. },
  21461. "oribuypricedqty": {
  21462. "description": "期初采购合同已定价数量",
  21463. "type": "number"
  21464. },
  21465. "orihedgeqty": {
  21466. "description": "期初套保量",
  21467. "type": "number"
  21468. },
  21469. "orineedarbitrageqty": {
  21470. "description": "期初应套利量",
  21471. "type": "number"
  21472. },
  21473. "orineedhedgeexposoure": {
  21474. "description": "期初应套保敞口",
  21475. "type": "number"
  21476. },
  21477. "orineedhedgeqty": {
  21478. "description": "期初应套保量",
  21479. "type": "number"
  21480. },
  21481. "orisellfutureqty": {
  21482. "description": "期初卖出期货数量",
  21483. "type": "number"
  21484. },
  21485. "orisellplanqty": {
  21486. "description": "期初销售计划数量",
  21487. "type": "number"
  21488. },
  21489. "orisellpricedqty": {
  21490. "description": "期初销售合同已定价数量",
  21491. "type": "number"
  21492. },
  21493. "oritotalexposure": {
  21494. "description": "期初实时总敞口",
  21495. "type": "number"
  21496. },
  21497. "oritotalfutureqty": {
  21498. "description": "期初期货头寸总量",
  21499. "type": "number"
  21500. },
  21501. "oritotalneedhedgeqty": {
  21502. "description": "期初应套保总量",
  21503. "type": "number"
  21504. },
  21505. "oritotalspotqty": {
  21506. "description": "期初现货头寸总量",
  21507. "type": "number"
  21508. },
  21509. "reckondate": {
  21510. "description": "日照时期(yyyyMMdd)",
  21511. "type": "string"
  21512. },
  21513. "sellfutureqty": {
  21514. "description": "卖出期货数量",
  21515. "type": "number"
  21516. },
  21517. "sellplanqty": {
  21518. "description": "销售计划数量",
  21519. "type": "number"
  21520. },
  21521. "sellpricedqty": {
  21522. "description": "销售合同已定价数量",
  21523. "type": "number"
  21524. },
  21525. "totalexposure": {
  21526. "description": "实时总敞口(总敞口)",
  21527. "type": "number"
  21528. },
  21529. "totalfutureqty": {
  21530. "description": "期货头寸总量(期货总量)",
  21531. "type": "number"
  21532. },
  21533. "totalhedgeratio": {
  21534. "description": "敞口比例",
  21535. "type": "number"
  21536. },
  21537. "totalneedhedgeqty": {
  21538. "description": "应套保总量(现货应套保总量)",
  21539. "type": "number"
  21540. },
  21541. "totalspotqty": {
  21542. "description": "现货头寸总量",
  21543. "type": "number"
  21544. },
  21545. "unitid": {
  21546. "description": "单位id",
  21547. "type": "integer"
  21548. },
  21549. "updatetime": {
  21550. "description": "更新时间",
  21551. "type": "string"
  21552. }
  21553. }
  21554. },
  21555. "models.Ermcp3FinanceReport": {
  21556. "type": "object",
  21557. "properties": {
  21558. "accountname": {
  21559. "description": "机构名称",
  21560. "type": "string"
  21561. },
  21562. "areauserid": {
  21563. "description": "所属机构\\交易用户ID",
  21564. "type": "integer"
  21565. },
  21566. "begindate": {
  21567. "description": "开始交易日",
  21568. "type": "string"
  21569. },
  21570. "biztype": {
  21571. "description": "业务类型 - 1:套保 2:套利",
  21572. "type": "integer"
  21573. },
  21574. "brandname": {
  21575. "description": "品牌名称",
  21576. "type": "string"
  21577. },
  21578. "buypreinvoicedamount": {
  21579. "description": "采购预收票额(预收票额)",
  21580. "type": "number"
  21581. },
  21582. "buyprepaidamount": {
  21583. "description": "采购预付款额(预付货款额)",
  21584. "type": "number"
  21585. },
  21586. "buytodayinvoiceamount": {
  21587. "description": "采购今收票额(今收票额)",
  21588. "type": "number"
  21589. },
  21590. "buytodayrefundamount": {
  21591. "description": "采购今收退款额(今收退款额)",
  21592. "type": "number"
  21593. },
  21594. "buytodaysettleamount": {
  21595. "description": "采购今付款额(今付货款额)",
  21596. "type": "number"
  21597. },
  21598. "buyuninvoicedamount": {
  21599. "description": "采购应收票额(应收票额)",
  21600. "type": "number"
  21601. },
  21602. "buyunpaidamount": {
  21603. "description": "采购应付款额(应付货款额)",
  21604. "type": "number"
  21605. },
  21606. "currencyid": {
  21607. "description": "结算币种ID",
  21608. "type": "integer"
  21609. },
  21610. "currencyname": {
  21611. "description": "币种名称",
  21612. "type": "string"
  21613. },
  21614. "cycletime": {
  21615. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21616. "type": "string"
  21617. },
  21618. "cycletype": {
  21619. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21620. "type": "integer"
  21621. },
  21622. "deliverygoodscode": {
  21623. "description": "现货品种代码",
  21624. "type": "string"
  21625. },
  21626. "deliverygoodsid": {
  21627. "description": "现货品种ID",
  21628. "type": "integer"
  21629. },
  21630. "deliverygoodsname": {
  21631. "description": "现货品种名称",
  21632. "type": "string"
  21633. },
  21634. "enddate": {
  21635. "description": "结束交易日",
  21636. "type": "string"
  21637. },
  21638. "reckondate": {
  21639. "description": "日照时期(yyyyMMdd)",
  21640. "type": "string"
  21641. },
  21642. "sellpreinvoicedamount": {
  21643. "description": "销售预开票额(预开票额)",
  21644. "type": "number"
  21645. },
  21646. "sellprepaidamount": {
  21647. "description": "销售预收款额(预收货款额)",
  21648. "type": "number"
  21649. },
  21650. "selltodayinvoiceamount": {
  21651. "description": "销售今开票额(今开票额)",
  21652. "type": "number"
  21653. },
  21654. "selltodayrefundamount": {
  21655. "description": "销售今付退款额(今付退款额)",
  21656. "type": "number"
  21657. },
  21658. "selltodaysettleamount": {
  21659. "description": "销售今收款额(今收货款额)",
  21660. "type": "number"
  21661. },
  21662. "selluninvoicedamount": {
  21663. "description": "销售应开票额(应开票额)",
  21664. "type": "number"
  21665. },
  21666. "sellunpaidamount": {
  21667. "description": "销售应收款额(应收货款额)",
  21668. "type": "number"
  21669. },
  21670. "spotgoodsbrandid": {
  21671. "description": "现货品牌ID",
  21672. "type": "integer"
  21673. },
  21674. "todaypaysum": {
  21675. "description": "今付款合计",
  21676. "type": "number"
  21677. },
  21678. "todayreceivesum": {
  21679. "description": "今收款合计",
  21680. "type": "number"
  21681. },
  21682. "updatetime": {
  21683. "description": "更新时间",
  21684. "type": "string"
  21685. },
  21686. "wrfactortypeid": {
  21687. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21688. "type": "integer"
  21689. },
  21690. "wrstandardcode": {
  21691. "description": "品类代码",
  21692. "type": "string"
  21693. },
  21694. "wrstandardid": {
  21695. "description": "现货商品ID",
  21696. "type": "integer"
  21697. },
  21698. "wrstandardname": {
  21699. "description": "品类名称",
  21700. "type": "string"
  21701. }
  21702. }
  21703. },
  21704. "models.Ermcp3GoodsGroup": {
  21705. "type": "object",
  21706. "required": [
  21707. "areauserid"
  21708. ],
  21709. "properties": {
  21710. "agreeunit": {
  21711. "description": "合约单位",
  21712. "type": "number"
  21713. },
  21714. "areauserid": {
  21715. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21716. "type": "integer"
  21717. },
  21718. "canshort": {
  21719. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21720. "type": "integer"
  21721. },
  21722. "closepricemode": {
  21723. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21724. "type": "integer"
  21725. },
  21726. "createtime": {
  21727. "description": "创建时间",
  21728. "type": "string"
  21729. },
  21730. "creatorid": {
  21731. "description": "创建人",
  21732. "type": "integer"
  21733. },
  21734. "currencyid": {
  21735. "description": "报价货币ID",
  21736. "type": "integer"
  21737. },
  21738. "decimalplace": {
  21739. "description": "报价小数位",
  21740. "type": "integer"
  21741. },
  21742. "enumdicname": {
  21743. "description": "单位名称",
  21744. "type": "string"
  21745. },
  21746. "exchangefullname": {
  21747. "description": "交易所全称",
  21748. "type": "string"
  21749. },
  21750. "excludecfg": {
  21751. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21752. "type": "integer"
  21753. },
  21754. "exexchangecode": {
  21755. "description": "交易所代码",
  21756. "type": "string"
  21757. },
  21758. "exexchangeid": {
  21759. "description": "外部交易所ID[通道交易]",
  21760. "type": "integer"
  21761. },
  21762. "exexchangename": {
  21763. "description": "交易所名称",
  21764. "type": "string"
  21765. },
  21766. "goodsgroupid": {
  21767. "description": "商品组ID(自增ID)",
  21768. "type": "integer"
  21769. },
  21770. "goodsgroupname": {
  21771. "description": "商品组名称",
  21772. "type": "string"
  21773. },
  21774. "goodsgroupstatus": {
  21775. "description": "商品组状态 - 1:正常 2:注销",
  21776. "type": "integer"
  21777. },
  21778. "goodunitid": {
  21779. "description": "报价单位ID",
  21780. "type": "integer"
  21781. },
  21782. "groupcategroyid": {
  21783. "description": "品种分类ID",
  21784. "type": "integer"
  21785. },
  21786. "innerdealmode": {
  21787. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21788. "type": "integer"
  21789. },
  21790. "marketid": {
  21791. "description": "所属市场ID",
  21792. "type": "integer"
  21793. },
  21794. "modifierid": {
  21795. "description": "修改人",
  21796. "type": "integer"
  21797. },
  21798. "modifytime": {
  21799. "description": "修改时间",
  21800. "type": "string"
  21801. },
  21802. "outerdealmode": {
  21803. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21804. "type": "integer"
  21805. },
  21806. "outergroupcode": {
  21807. "description": "外部商品组代码[通道交易]",
  21808. "type": "string"
  21809. },
  21810. "quoteminunit": {
  21811. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21812. "type": "integer"
  21813. },
  21814. "quotesourcegroupid": {
  21815. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21816. "type": "integer"
  21817. },
  21818. "syncgoodsqty": {
  21819. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21820. "type": "integer"
  21821. }
  21822. }
  21823. },
  21824. "models.Ermcp3HedgePlan": {
  21825. "type": "object",
  21826. "properties": {
  21827. "accountid": {
  21828. "description": "资金账号",
  21829. "type": "integer"
  21830. },
  21831. "areauserid": {
  21832. "description": "用户ID",
  21833. "type": "integer"
  21834. },
  21835. "auditid": {
  21836. "description": "审核id",
  21837. "type": "integer"
  21838. },
  21839. "auditname": {
  21840. "description": "审核人名称",
  21841. "type": "string"
  21842. },
  21843. "auditremark": {
  21844. "description": "审核备注",
  21845. "type": "string"
  21846. },
  21847. "auditsrc": {
  21848. "description": "审核来源 1-管理端 2-终端",
  21849. "type": "integer"
  21850. },
  21851. "audittime": {
  21852. "description": "审核时间",
  21853. "type": "string"
  21854. },
  21855. "contracttype": {
  21856. "description": "计划类型 - 1:采购 -1:销售",
  21857. "type": "integer"
  21858. },
  21859. "convertfactor": {
  21860. "description": "标仓系数",
  21861. "type": "number"
  21862. },
  21863. "createtime": {
  21864. "description": "创建时间",
  21865. "type": "string"
  21866. },
  21867. "currencyid": {
  21868. "description": "币种id",
  21869. "type": "integer"
  21870. },
  21871. "currencyname": {
  21872. "description": "币种名称",
  21873. "type": "string"
  21874. },
  21875. "deliverygoodscode": {
  21876. "description": "现货品种代码",
  21877. "type": "string"
  21878. },
  21879. "deliverygoodsid": {
  21880. "description": "现货品种ID",
  21881. "type": "integer"
  21882. },
  21883. "deliverygoodsname": {
  21884. "description": "现货品种名称",
  21885. "type": "string"
  21886. },
  21887. "enumdicname": {
  21888. "description": "单位名称(现货商品)",
  21889. "type": "string"
  21890. },
  21891. "hedgeplanid": {
  21892. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21893. "type": "string"
  21894. },
  21895. "hedgeplanno": {
  21896. "description": "套保计划编号(名称)",
  21897. "type": "string"
  21898. },
  21899. "hedgeplanstatus": {
  21900. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21901. "type": "integer"
  21902. },
  21903. "planqty": {
  21904. "description": "计划数量",
  21905. "type": "number"
  21906. },
  21907. "plantime": {
  21908. "description": "计划时间",
  21909. "type": "string"
  21910. },
  21911. "producttype": {
  21912. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21913. "type": "integer"
  21914. },
  21915. "remark": {
  21916. "description": "备注",
  21917. "type": "string"
  21918. },
  21919. "spotgoodsdesc": {
  21920. "description": "商品型号",
  21921. "type": "string"
  21922. },
  21923. "taaccountname": {
  21924. "description": "资金账号名称",
  21925. "type": "string"
  21926. },
  21927. "tradeuserid": {
  21928. "description": "交易用户id",
  21929. "type": "integer"
  21930. },
  21931. "tradeusername": {
  21932. "description": "交易用户名称",
  21933. "type": "string"
  21934. },
  21935. "unitid": {
  21936. "description": "单位id(现货商品)",
  21937. "type": "integer"
  21938. },
  21939. "updatetime": {
  21940. "description": "更新时间",
  21941. "type": "string"
  21942. },
  21943. "vatrate": {
  21944. "description": "增值税率",
  21945. "type": "number"
  21946. },
  21947. "wrstandardcode": {
  21948. "description": "品类代码",
  21949. "type": "string"
  21950. },
  21951. "wrstandardid": {
  21952. "description": "品类id",
  21953. "type": "integer"
  21954. },
  21955. "wrstandardname": {
  21956. "description": "品类名称",
  21957. "type": "string"
  21958. },
  21959. "wrunitid": {
  21960. "description": "品类单位id",
  21961. "type": "integer"
  21962. },
  21963. "wrunitidame": {
  21964. "description": "品类单位名称",
  21965. "type": "string"
  21966. }
  21967. }
  21968. },
  21969. "models.Ermcp3InnerTradeLink": {
  21970. "type": "object",
  21971. "properties": {
  21972. "accountid": {
  21973. "description": "期货账号代码 | 资金账号ID",
  21974. "type": "integer"
  21975. },
  21976. "buyorsell": {
  21977. "description": "方向 - 0:买 1:卖",
  21978. "type": "integer"
  21979. },
  21980. "channelbuildtype": {
  21981. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21982. "type": "integer"
  21983. },
  21984. "currencyid": {
  21985. "description": "币种id",
  21986. "type": "integer"
  21987. },
  21988. "currencyname": {
  21989. "description": "结算币种 名称",
  21990. "type": "string"
  21991. },
  21992. "goodscode": {
  21993. "description": "商品代码",
  21994. "type": "string"
  21995. },
  21996. "goodsid": {
  21997. "description": "商品ID",
  21998. "type": "integer"
  21999. },
  22000. "goodsname": {
  22001. "description": "商品名称",
  22002. "type": "string"
  22003. },
  22004. "outtradeid": {
  22005. "description": "外部成交单号",
  22006. "type": "string"
  22007. },
  22008. "taname": {
  22009. "description": "期货账户名称",
  22010. "type": "string"
  22011. },
  22012. "tradeid": {
  22013. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22014. "type": "string"
  22015. },
  22016. "tradeprice": {
  22017. "description": "成交价格",
  22018. "type": "number"
  22019. },
  22020. "tradeqty": {
  22021. "description": "期货成交数量",
  22022. "type": "integer"
  22023. },
  22024. "tradetime": {
  22025. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  22026. "type": "string"
  22027. },
  22028. "username": {
  22029. "description": "用户名称",
  22030. "type": "string"
  22031. }
  22032. }
  22033. },
  22034. "models.Ermcp3OutTradeLink": {
  22035. "type": "object",
  22036. "properties": {
  22037. "buyorsell": {
  22038. "description": "买卖方向 - 0:买 1:卖",
  22039. "type": "integer"
  22040. },
  22041. "channelbuildtype": {
  22042. "description": "开平标志- 0:无 1:建仓 2:平仓",
  22043. "type": "integer"
  22044. },
  22045. "currencyname": {
  22046. "description": "币种名称",
  22047. "type": "string"
  22048. },
  22049. "exexchangecode": {
  22050. "description": "交易所代码",
  22051. "type": "string"
  22052. },
  22053. "exexchangename": {
  22054. "description": "交易所名称",
  22055. "type": "string"
  22056. },
  22057. "goodscode": {
  22058. "description": "合约代码",
  22059. "type": "string"
  22060. },
  22061. "goodsid": {
  22062. "description": "合约id",
  22063. "type": "integer"
  22064. },
  22065. "goodsname": {
  22066. "description": "合约名称",
  22067. "type": "string"
  22068. },
  22069. "hasinnerorder": {
  22070. "description": "是否有内部单关联 - 0:无 1:有",
  22071. "type": "integer"
  22072. },
  22073. "hedgeaccountcode": {
  22074. "description": "外部账号 | 对冲账号",
  22075. "type": "string"
  22076. },
  22077. "outtradeid": {
  22078. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22079. "type": "string"
  22080. },
  22081. "tradeprice": {
  22082. "description": "成交价格",
  22083. "type": "number"
  22084. },
  22085. "tradeqty": {
  22086. "description": "成交数量",
  22087. "type": "integer"
  22088. },
  22089. "tradetime": {
  22090. "description": "成交时间",
  22091. "type": "string"
  22092. }
  22093. }
  22094. },
  22095. "models.Ermcp3PaAreaAuditCfg": {
  22096. "type": "object",
  22097. "properties": {
  22098. "areauserid": {
  22099. "description": "用户ID",
  22100. "type": "integer"
  22101. },
  22102. "buyinauditflag": {
  22103. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  22104. "type": "integer"
  22105. },
  22106. "costratioauditflag": {
  22107. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  22108. "type": "integer"
  22109. },
  22110. "customerauditflag": {
  22111. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  22112. "type": "integer"
  22113. },
  22114. "deliveryauditflag": {
  22115. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  22116. "type": "integer"
  22117. },
  22118. "invoiceauditflag": {
  22119. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  22120. "type": "integer"
  22121. },
  22122. "mgneedhedgeratioauditflag": {
  22123. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  22124. "type": "integer"
  22125. },
  22126. "moneyauditflag": {
  22127. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22128. "type": "integer"
  22129. },
  22130. "operatorid": {
  22131. "description": "操作人",
  22132. "type": "integer"
  22133. },
  22134. "operatorsrc": {
  22135. "description": "操作来源 - 1:管理端 2:终端",
  22136. "type": "integer"
  22137. },
  22138. "pointpriceauditflag": {
  22139. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22140. "type": "integer"
  22141. },
  22142. "produceinauditflag": {
  22143. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22144. "type": "integer"
  22145. },
  22146. "produceoutauditflag": {
  22147. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22148. "type": "integer"
  22149. },
  22150. "selloutauditflag": {
  22151. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22152. "type": "integer"
  22153. },
  22154. "sgconvertratioauditflag": {
  22155. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22156. "type": "integer"
  22157. },
  22158. "sgvtaratioauditflag": {
  22159. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  22160. "type": "integer"
  22161. },
  22162. "spotcontractauditflag": {
  22163. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  22164. "type": "integer"
  22165. },
  22166. "updatetime": {
  22167. "description": "更新时间",
  22168. "type": "string"
  22169. }
  22170. }
  22171. },
  22172. "models.Ermcp3PaAreaSubject": {
  22173. "type": "object",
  22174. "properties": {
  22175. "areauserid": {
  22176. "description": "所属机构",
  22177. "type": "integer"
  22178. },
  22179. "canmodify": {
  22180. "description": "是否可修改 - 0:否 1:是",
  22181. "type": "integer"
  22182. },
  22183. "createtime": {
  22184. "description": "创建时间",
  22185. "type": "string"
  22186. },
  22187. "creatorid": {
  22188. "description": "创建人ID",
  22189. "type": "string"
  22190. },
  22191. "creatorsrc": {
  22192. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22193. "type": "integer"
  22194. },
  22195. "modifierid": {
  22196. "description": "修改人",
  22197. "type": "string"
  22198. },
  22199. "modifiersrc": {
  22200. "description": "修改人来源 - 1:管理端 2:终端",
  22201. "type": "integer"
  22202. },
  22203. "modifytime": {
  22204. "description": "修改时间",
  22205. "type": "string"
  22206. },
  22207. "parentsubjectid": {
  22208. "description": "上级主体ID",
  22209. "type": "string"
  22210. },
  22211. "remark": {
  22212. "description": "备注",
  22213. "type": "string"
  22214. },
  22215. "subjectid": {
  22216. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22217. "type": "integer"
  22218. },
  22219. "subjectname": {
  22220. "description": "主体名称",
  22221. "type": "string"
  22222. },
  22223. "subjectstatus": {
  22224. "description": "主体状态 - 1:正常 2: 停用",
  22225. "type": "integer"
  22226. },
  22227. "subjecttype": {
  22228. "description": "主体类型 - 1:交易主体 2:业务部门",
  22229. "type": "integer"
  22230. }
  22231. }
  22232. },
  22233. "models.Ermcp3PaTradeLink": {
  22234. "type": "object",
  22235. "properties": {
  22236. "accountid": {
  22237. "description": "期货账户代码 | 账号ID",
  22238. "type": "integer"
  22239. },
  22240. "agreeunit": {
  22241. "description": "合约乘数",
  22242. "type": "number"
  22243. },
  22244. "buyorsell": {
  22245. "description": "方向 - 0:买 1:卖",
  22246. "type": "integer"
  22247. },
  22248. "channelbuildtype": {
  22249. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22250. "type": "integer"
  22251. },
  22252. "charge": {
  22253. "description": "手续费",
  22254. "type": "number"
  22255. },
  22256. "closepl": {
  22257. "description": "平仓盈亏",
  22258. "type": "number"
  22259. },
  22260. "closetype": {
  22261. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22262. "type": "integer"
  22263. },
  22264. "convertratio": {
  22265. "description": "折算系数",
  22266. "type": "number"
  22267. },
  22268. "enumdicname": {
  22269. "description": "单位名称",
  22270. "type": "string"
  22271. },
  22272. "executeprice": {
  22273. "description": "执行价 [期权]",
  22274. "type": "integer"
  22275. },
  22276. "goodscode": {
  22277. "description": "合约代码",
  22278. "type": "string"
  22279. },
  22280. "goodsgroupid": {
  22281. "description": "对冲品种ID[期货合约商品组ID]",
  22282. "type": "integer"
  22283. },
  22284. "goodsid": {
  22285. "description": "商品ID",
  22286. "type": "integer"
  22287. },
  22288. "goodsname": {
  22289. "description": "合约名称",
  22290. "type": "string"
  22291. },
  22292. "goodunitid": {
  22293. "description": "单位id",
  22294. "type": "integer"
  22295. },
  22296. "hedgeflag": {
  22297. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22298. "type": "integer"
  22299. },
  22300. "marketid": {
  22301. "description": "市场ID",
  22302. "type": "integer"
  22303. },
  22304. "middlegoodsid": {
  22305. "description": "套保品种ID",
  22306. "type": "integer"
  22307. },
  22308. "middlegoodsqty": {
  22309. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22310. "type": "number"
  22311. },
  22312. "optioncode": {
  22313. "description": "期权代码 [期权]",
  22314. "type": "string"
  22315. },
  22316. "ordertype": {
  22317. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22318. "type": "integer"
  22319. },
  22320. "ordertypename": {
  22321. "description": "订单类型",
  22322. "type": "string"
  22323. },
  22324. "parentaccountid": {
  22325. "description": "所属母账户",
  22326. "type": "integer"
  22327. },
  22328. "premium": {
  22329. "description": "权利金 [期权]",
  22330. "type": "number"
  22331. },
  22332. "relatedlot": {
  22333. "description": "已关联数量(已关联数量手) | db:关联手数",
  22334. "type": "number"
  22335. },
  22336. "relatedouttradeid": {
  22337. "description": "关联外部成交单ID",
  22338. "type": "string"
  22339. },
  22340. "relatedqty": {
  22341. "description": "关联数量",
  22342. "type": "number"
  22343. },
  22344. "spotcontractid": {
  22345. "description": "现货合同ID [4:套期保值\\10\\11]",
  22346. "type": "string"
  22347. },
  22348. "taname": {
  22349. "description": "期货账户名称",
  22350. "type": "string"
  22351. },
  22352. "tradeamount": {
  22353. "description": "成交金额(账户)",
  22354. "type": "number"
  22355. },
  22356. "tradedate": {
  22357. "description": "交易日(yyyyMMdd)",
  22358. "type": "string"
  22359. },
  22360. "tradeid": {
  22361. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22362. "type": "string"
  22363. },
  22364. "tradelot": {
  22365. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22366. "type": "integer"
  22367. },
  22368. "tradeprice": {
  22369. "description": "成交价格",
  22370. "type": "number"
  22371. },
  22372. "tradetime": {
  22373. "description": "时间 | db:成交时间",
  22374. "type": "string"
  22375. },
  22376. "tradetype": {
  22377. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22378. "type": "integer"
  22379. },
  22380. "userid": {
  22381. "description": "所属机构 - 所属母账户的UserID",
  22382. "type": "string"
  22383. },
  22384. "username": {
  22385. "description": "用户名称",
  22386. "type": "string"
  22387. }
  22388. }
  22389. },
  22390. "models.Ermcp3ParamChangeApp": {
  22391. "type": "object",
  22392. "properties": {
  22393. "aftervalue": {
  22394. "description": "变更后",
  22395. "type": "number"
  22396. },
  22397. "applicationid": {
  22398. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22399. "type": "string"
  22400. },
  22401. "applyid": {
  22402. "description": "申请人",
  22403. "type": "string"
  22404. },
  22405. "applyname": {
  22406. "description": "申请人名称(代码)",
  22407. "type": "string"
  22408. },
  22409. "applyremark": {
  22410. "description": "申请备注",
  22411. "type": "string"
  22412. },
  22413. "applysrc": {
  22414. "description": "申请来源 - 1:管理端 2:终端",
  22415. "type": "integer"
  22416. },
  22417. "applystatus": {
  22418. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22419. "type": "integer"
  22420. },
  22421. "applytime": {
  22422. "description": "申请时间",
  22423. "type": "string"
  22424. },
  22425. "areauserid": {
  22426. "description": "所属机构用户ID",
  22427. "type": "integer"
  22428. },
  22429. "auditid": {
  22430. "description": "审核人",
  22431. "type": "string"
  22432. },
  22433. "auditname": {
  22434. "description": "审核人名称(代码)",
  22435. "type": "string"
  22436. },
  22437. "auditremark": {
  22438. "description": "审核备注",
  22439. "type": "string"
  22440. },
  22441. "auditsrc": {
  22442. "description": "审核来源 - 1:管理端 2:终端",
  22443. "type": "integer"
  22444. },
  22445. "audittime": {
  22446. "description": "审核时间",
  22447. "type": "string"
  22448. },
  22449. "audittradedate": {
  22450. "description": "审核交易日(yyyyMMdd)",
  22451. "type": "string"
  22452. },
  22453. "beforevalue": {
  22454. "description": "变更前",
  22455. "type": "number"
  22456. },
  22457. "deliverygoodscode": {
  22458. "description": "品种代码",
  22459. "type": "string"
  22460. },
  22461. "deliverygoodsid": {
  22462. "description": "品种id",
  22463. "type": "integer"
  22464. },
  22465. "deliverygoodsname": {
  22466. "description": "品种名称",
  22467. "type": "string"
  22468. },
  22469. "middlegoodscode": {
  22470. "description": "套保品种代码",
  22471. "type": "string"
  22472. },
  22473. "middlegoodsid": {
  22474. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22475. "type": "integer"
  22476. },
  22477. "middlegoodsname": {
  22478. "description": "套保品种名称",
  22479. "type": "string"
  22480. },
  22481. "operatetype": {
  22482. "description": "操作类型 - 1:新增 2:修改",
  22483. "type": "integer"
  22484. },
  22485. "paramchangetype": {
  22486. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22487. "type": "integer"
  22488. },
  22489. "wrstandardcode": {
  22490. "description": "现货商品代码",
  22491. "type": "string"
  22492. },
  22493. "wrstandardid": {
  22494. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22495. "type": "integer"
  22496. },
  22497. "wrstandardname": {
  22498. "description": "现货商品名称",
  22499. "type": "string"
  22500. }
  22501. }
  22502. },
  22503. "models.Ermcp3RootUserAccount": {
  22504. "type": "object",
  22505. "properties": {
  22506. "accountname": {
  22507. "description": "账户名称(机构名称)",
  22508. "type": "string"
  22509. },
  22510. "accountstatus": {
  22511. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22512. "type": "integer"
  22513. },
  22514. "applysrc": {
  22515. "description": "申请来源 - 1:管理端 2:终端",
  22516. "type": "integer"
  22517. },
  22518. "auditremark": {
  22519. "description": "审核备注",
  22520. "type": "string"
  22521. },
  22522. "auditsrc": {
  22523. "description": "审核来源 - 1:管理端 2:终端",
  22524. "type": "integer"
  22525. },
  22526. "audittime": {
  22527. "description": "审核时间",
  22528. "type": "string"
  22529. },
  22530. "audituserid": {
  22531. "description": "审核人",
  22532. "type": "integer"
  22533. },
  22534. "broker": {
  22535. "description": "所属经纪人ID",
  22536. "type": "integer"
  22537. },
  22538. "canceltime": {
  22539. "description": "销户时间",
  22540. "type": "string"
  22541. },
  22542. "canceluserid": {
  22543. "description": "销户人",
  22544. "type": "integer"
  22545. },
  22546. "canrecommend": {
  22547. "description": "是否可推荐 - 0:不可 1;可",
  22548. "type": "integer"
  22549. },
  22550. "createtime": {
  22551. "description": "创建时间",
  22552. "type": "string"
  22553. },
  22554. "creatorid": {
  22555. "description": "创建人",
  22556. "type": "integer"
  22557. },
  22558. "hasauth": {
  22559. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22560. "type": "integer"
  22561. },
  22562. "isanonymous": {
  22563. "description": "是否匿名下单 - 0:否 1:是",
  22564. "type": "integer"
  22565. },
  22566. "maxinvestornum": {
  22567. "description": "最大用户数(经纪会员下投资者个数)",
  22568. "type": "integer"
  22569. },
  22570. "memberuserid": {
  22571. "description": "所属会员ID",
  22572. "type": "integer"
  22573. },
  22574. "modifierid": {
  22575. "description": "修改人",
  22576. "type": "integer"
  22577. },
  22578. "modifyremark": {
  22579. "description": "变更备注",
  22580. "type": "string"
  22581. },
  22582. "modifystatus": {
  22583. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22584. "type": "integer"
  22585. },
  22586. "modifytime": {
  22587. "description": "修改时间",
  22588. "type": "string"
  22589. },
  22590. "nickname": {
  22591. "description": "昵称",
  22592. "type": "string"
  22593. },
  22594. "parenttopuser": {
  22595. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22596. "type": "string"
  22597. },
  22598. "parentuserid": {
  22599. "description": "所属机构ID",
  22600. "type": "integer"
  22601. },
  22602. "reckonaccountid": {
  22603. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22604. "type": "integer"
  22605. },
  22606. "refercount": {
  22607. "description": "推荐总人数",
  22608. "type": "integer"
  22609. },
  22610. "refereeuserid": {
  22611. "description": "推荐人ID",
  22612. "type": "integer"
  22613. },
  22614. "refernum": {
  22615. "description": "推荐码",
  22616. "type": "string"
  22617. },
  22618. "rootuserid": {
  22619. "description": "根用户ID",
  22620. "type": "integer"
  22621. },
  22622. "subaccountlevel": {
  22623. "description": "子账户层数",
  22624. "type": "integer"
  22625. },
  22626. "subarealevelpath": {
  22627. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22628. "type": "string"
  22629. },
  22630. "userid": {
  22631. "description": "用户ID",
  22632. "type": "integer"
  22633. },
  22634. "usertype": {
  22635. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22636. "type": "integer"
  22637. }
  22638. }
  22639. },
  22640. "models.Ermcp3SCMiddleGoods": {
  22641. "type": "object",
  22642. "properties": {
  22643. "biztype": {
  22644. "description": "业务类型 1:套保 2:套利",
  22645. "type": "integer"
  22646. },
  22647. "contractno": {
  22648. "description": "合同编号",
  22649. "type": "string"
  22650. },
  22651. "contracttype": {
  22652. "description": "合同类型 1:采购 -1:销售",
  22653. "type": "integer"
  22654. },
  22655. "convertratio": {
  22656. "description": "折算系数",
  22657. "type": "number"
  22658. },
  22659. "customername": {
  22660. "description": "对手手名称",
  22661. "type": "string"
  22662. },
  22663. "customeruserid": {
  22664. "description": "对手id",
  22665. "type": "integer"
  22666. },
  22667. "deliverygoodscode": {
  22668. "description": "现货品种代码",
  22669. "type": "string"
  22670. },
  22671. "deliverygoodsid": {
  22672. "description": "现货品种ID",
  22673. "type": "integer"
  22674. },
  22675. "deliverygoodsname": {
  22676. "description": "现货品种名称",
  22677. "type": "string"
  22678. },
  22679. "enumdicname": {
  22680. "description": "现货单位名称",
  22681. "type": "string"
  22682. },
  22683. "middlegoodsid": {
  22684. "description": "套保品种ID",
  22685. "type": "integer"
  22686. },
  22687. "middlegoodspricedqty3": {
  22688. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22689. "type": "number"
  22690. },
  22691. "needhedgeratio": {
  22692. "description": "套保比例",
  22693. "type": "number"
  22694. },
  22695. "pricedqty": {
  22696. "description": "已定价量",
  22697. "type": "number"
  22698. },
  22699. "relatedmiddlegoodsqty": {
  22700. "description": "已关联量(套保品种)(期货)",
  22701. "type": "number"
  22702. },
  22703. "spotcontractid": {
  22704. "description": "合同编号",
  22705. "type": "string"
  22706. },
  22707. "unitid": {
  22708. "description": "现货单位id",
  22709. "type": "integer"
  22710. },
  22711. "userid": {
  22712. "description": "用户id",
  22713. "type": "integer"
  22714. },
  22715. "vatrate": {
  22716. "description": "增值税率",
  22717. "type": "number"
  22718. },
  22719. "wrstandardcode": {
  22720. "description": "现货商品代码",
  22721. "type": "string"
  22722. },
  22723. "wrstandardid": {
  22724. "description": "现货商品id",
  22725. "type": "integer"
  22726. },
  22727. "wrstandardname": {
  22728. "description": "现货商品名称",
  22729. "type": "string"
  22730. }
  22731. }
  22732. },
  22733. "models.Ermcp3SCMiddleGoodsReport": {
  22734. "type": "object",
  22735. "properties": {
  22736. "begindate": {
  22737. "description": "开始交易日",
  22738. "type": "string"
  22739. },
  22740. "contractno": {
  22741. "description": "合同编号",
  22742. "type": "string"
  22743. },
  22744. "contracttype": {
  22745. "description": "合同类型 1:采购 -1:销售",
  22746. "type": "integer"
  22747. },
  22748. "convertratio": {
  22749. "description": "折算系数",
  22750. "type": "number"
  22751. },
  22752. "cycletime": {
  22753. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22754. "type": "string"
  22755. },
  22756. "cycletype": {
  22757. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22758. "type": "integer"
  22759. },
  22760. "deliverygoodscode": {
  22761. "description": "品种代码",
  22762. "type": "string"
  22763. },
  22764. "deliverygoodsid": {
  22765. "description": "现货品种ID",
  22766. "type": "integer"
  22767. },
  22768. "deliverygoodsname": {
  22769. "description": "品种名称",
  22770. "type": "string"
  22771. },
  22772. "diffprice": {
  22773. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22774. "type": "number"
  22775. },
  22776. "diffqty": {
  22777. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22778. "type": "number"
  22779. },
  22780. "enddate": {
  22781. "description": "结束交易日",
  22782. "type": "string"
  22783. },
  22784. "hedgeplanqty": {
  22785. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22786. "type": "number"
  22787. },
  22788. "matchname": {
  22789. "description": "交易对手方(个人:用户名称 企业:简称)",
  22790. "type": "string"
  22791. },
  22792. "middlegoodscode": {
  22793. "description": "套保品种代码",
  22794. "type": "string"
  22795. },
  22796. "middlegoodsid": {
  22797. "description": "套保品种ID",
  22798. "type": "integer"
  22799. },
  22800. "middlegoodsname": {
  22801. "description": "套保品种名称",
  22802. "type": "string"
  22803. },
  22804. "middlegoodspricedqty": {
  22805. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22806. "type": "number"
  22807. },
  22808. "middlegoodspricedqty2": {
  22809. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22810. "type": "number"
  22811. },
  22812. "middlegoodspricedqty3": {
  22813. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22814. "type": "number"
  22815. },
  22816. "needhedgeratio": {
  22817. "description": "套保系数",
  22818. "type": "number"
  22819. },
  22820. "pricedamount": {
  22821. "description": "已定价额(现货)",
  22822. "type": "number"
  22823. },
  22824. "pricedamount2": {
  22825. "description": "已定价额(现货-基价额)",
  22826. "type": "number"
  22827. },
  22828. "pricedqty": {
  22829. "description": "已定价量(现货)",
  22830. "type": "number"
  22831. },
  22832. "reckondate": {
  22833. "description": "日照时期(yyyyMMdd)",
  22834. "type": "string"
  22835. },
  22836. "relatedmiddlegoodsamount": {
  22837. "description": "已关联额(期货)",
  22838. "type": "number"
  22839. },
  22840. "relatedmiddlegoodsqty": {
  22841. "description": "已关联量(套保品种)(期货)",
  22842. "type": "number"
  22843. },
  22844. "spotcontractid": {
  22845. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22846. "type": "string"
  22847. },
  22848. "todayavgfutuprice": {
  22849. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22850. "type": "number"
  22851. },
  22852. "todayavgprice": {
  22853. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22854. "type": "number"
  22855. },
  22856. "todayavgprice2": {
  22857. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22858. "type": "number"
  22859. },
  22860. "todaypricedamount": {
  22861. "description": "今日定价额(现货)",
  22862. "type": "number"
  22863. },
  22864. "todaypricedamount2": {
  22865. "description": "今日定价额(现货-基价额)",
  22866. "type": "number"
  22867. },
  22868. "todaypricedqty": {
  22869. "description": "今日定价量(现货)",
  22870. "type": "number"
  22871. },
  22872. "todayrelatedfutureqty": {
  22873. "description": "今日关联量(期货)",
  22874. "type": "number"
  22875. },
  22876. "todayrelatedmiddlegoodsamount": {
  22877. "description": "今日关联额(期货)",
  22878. "type": "number"
  22879. },
  22880. "todayrelatedmiddlegoodsqty": {
  22881. "description": "今日关联量(套保品-期货)",
  22882. "type": "number"
  22883. },
  22884. "updatetime": {
  22885. "description": "更新时间",
  22886. "type": "string"
  22887. },
  22888. "userid": {
  22889. "description": "合同所属用户id",
  22890. "type": "integer"
  22891. },
  22892. "vatrate": {
  22893. "description": "增值税率",
  22894. "type": "number"
  22895. },
  22896. "wrstandardcode": {
  22897. "description": "商品(品类) 代码",
  22898. "type": "string"
  22899. },
  22900. "wrstandardid": {
  22901. "description": "现货商品ID",
  22902. "type": "integer"
  22903. },
  22904. "wrstandardname": {
  22905. "description": "商品(品类) 名称",
  22906. "type": "string"
  22907. }
  22908. }
  22909. },
  22910. "models.Ermcp3SellBuyContract": {
  22911. "type": "object",
  22912. "properties": {
  22913. "accountid": {
  22914. "description": "期货账户id",
  22915. "type": "string"
  22916. },
  22917. "accountname": {
  22918. "description": "账户名称",
  22919. "type": "string"
  22920. },
  22921. "attachment": {
  22922. "description": "附件",
  22923. "type": "string"
  22924. },
  22925. "audittime": {
  22926. "description": "审核时间",
  22927. "type": "string"
  22928. },
  22929. "bizsubjectid": {
  22930. "description": "归属业务部门ID - SubjectID",
  22931. "type": "integer"
  22932. },
  22933. "biztype": {
  22934. "description": "业务类型 1-套保 2-套利",
  22935. "type": "integer"
  22936. },
  22937. "brandname": {
  22938. "description": "品牌名称",
  22939. "type": "string"
  22940. },
  22941. "contracctstatus": {
  22942. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22943. "type": "integer"
  22944. },
  22945. "contractmargin": {
  22946. "description": "合同保证金",
  22947. "type": "number"
  22948. },
  22949. "contractno": {
  22950. "description": "合同编号",
  22951. "type": "string"
  22952. },
  22953. "contracttype": {
  22954. "description": "合同类型 1-采购, -1-销售",
  22955. "type": "integer"
  22956. },
  22957. "convertfactor": {
  22958. "description": "标仓系数(品类)",
  22959. "type": "number"
  22960. },
  22961. "createtime": {
  22962. "description": "创建时间",
  22963. "type": "string"
  22964. },
  22965. "currencyid": {
  22966. "description": "币种id",
  22967. "type": "integer"
  22968. },
  22969. "currencyname": {
  22970. "description": "币种名称",
  22971. "type": "string"
  22972. },
  22973. "daikaiamount": {
  22974. "description": "应收(开)票额",
  22975. "type": "number"
  22976. },
  22977. "deliveryenddate": {
  22978. "description": "交割结束日",
  22979. "type": "string"
  22980. },
  22981. "deliverygoodscode": {
  22982. "description": "现货品种代码",
  22983. "type": "string"
  22984. },
  22985. "deliverygoodsid": {
  22986. "description": "现货商品ID",
  22987. "type": "integer"
  22988. },
  22989. "deliverygoodsname": {
  22990. "description": "现货品种名称",
  22991. "type": "string"
  22992. },
  22993. "deliverystartdate": {
  22994. "description": "交割开始日",
  22995. "type": "string"
  22996. },
  22997. "enddate": {
  22998. "description": "点价结束日",
  22999. "type": "string"
  23000. },
  23001. "enumdicname": {
  23002. "description": "单位名称",
  23003. "type": "string"
  23004. },
  23005. "goodscode": {
  23006. "description": "点价商品代码",
  23007. "type": "string"
  23008. },
  23009. "goodsgroupid": {
  23010. "description": "点价商品组id",
  23011. "type": "integer"
  23012. },
  23013. "goodsid": {
  23014. "description": "点价商品ID",
  23015. "type": "integer"
  23016. },
  23017. "goodsname": {
  23018. "description": "点价商品名称",
  23019. "type": "string"
  23020. },
  23021. "invoiceamount": {
  23022. "description": "已开票额",
  23023. "type": "number"
  23024. },
  23025. "loanamount": {
  23026. "description": "贷款总额=已定价额+调整金额",
  23027. "type": "number"
  23028. },
  23029. "margin": {
  23030. "description": "保证金",
  23031. "type": "number"
  23032. },
  23033. "meruserid": {
  23034. "description": "跟单员id",
  23035. "type": "integer"
  23036. },
  23037. "meruserlogincode": {
  23038. "description": "跟单员登录代码",
  23039. "type": "string"
  23040. },
  23041. "merusername": {
  23042. "description": "跟单员名称",
  23043. "type": "string"
  23044. },
  23045. "nickname": {
  23046. "description": "账户昵称",
  23047. "type": "string"
  23048. },
  23049. "orireckonrealqty": {
  23050. "description": "应交收量",
  23051. "type": "number"
  23052. },
  23053. "payamount": {
  23054. "description": "已收付额(收款或付款)",
  23055. "type": "number"
  23056. },
  23057. "preinvoiceamount": {
  23058. "description": "预收(开)票额",
  23059. "type": "number"
  23060. },
  23061. "prepayamount": {
  23062. "description": "预收付额",
  23063. "type": "number"
  23064. },
  23065. "price": {
  23066. "description": "价格",
  23067. "type": "number"
  23068. },
  23069. "pricedamount": {
  23070. "description": "已定价额",
  23071. "type": "number"
  23072. },
  23073. "pricedavg": {
  23074. "description": "已点均价",
  23075. "type": "number"
  23076. },
  23077. "pricedqty": {
  23078. "description": "已定价量",
  23079. "type": "number"
  23080. },
  23081. "pricemove": {
  23082. "description": "升贴水",
  23083. "type": "number"
  23084. },
  23085. "pricetype": {
  23086. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23087. "type": "integer"
  23088. },
  23089. "producttype": {
  23090. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23091. "type": "integer"
  23092. },
  23093. "qty": {
  23094. "description": "合同量",
  23095. "type": "number"
  23096. },
  23097. "reckonadjustamount": {
  23098. "description": "调整金额",
  23099. "type": "number"
  23100. },
  23101. "reckonedamount": {
  23102. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  23103. "type": "number"
  23104. },
  23105. "reckonotheramount": {
  23106. "description": "其它费用",
  23107. "type": "number"
  23108. },
  23109. "reckonrealqty": {
  23110. "description": "已交收量",
  23111. "type": "number"
  23112. },
  23113. "remark": {
  23114. "description": "备注",
  23115. "type": "string"
  23116. },
  23117. "saleuserid": {
  23118. "description": "业务员id",
  23119. "type": "integer"
  23120. },
  23121. "saleuserlogincode": {
  23122. "description": "业务员登录代码",
  23123. "type": "string"
  23124. },
  23125. "saleusername": {
  23126. "description": "业务员名称",
  23127. "type": "string"
  23128. },
  23129. "spotcontractid": {
  23130. "description": "合同ID",
  23131. "type": "string"
  23132. },
  23133. "spotgoodsbrandid": {
  23134. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23135. "type": "integer"
  23136. },
  23137. "spotgoodsdesc": {
  23138. "description": "商品型号(商品规格)",
  23139. "type": "string"
  23140. },
  23141. "startdate": {
  23142. "description": "点价开始日",
  23143. "type": "string"
  23144. },
  23145. "subjectid": {
  23146. "description": "交易主体ID",
  23147. "type": "integer"
  23148. },
  23149. "subjectname": {
  23150. "description": "交易主体名称",
  23151. "type": "string"
  23152. },
  23153. "totalamount": {
  23154. "description": "合计总额",
  23155. "type": "number"
  23156. },
  23157. "tradeuserid": {
  23158. "description": "交易员id",
  23159. "type": "integer"
  23160. },
  23161. "tradeuserlogincode": {
  23162. "description": "交易员登录代码",
  23163. "type": "string"
  23164. },
  23165. "tradeusername": {
  23166. "description": "交易员名称",
  23167. "type": "string"
  23168. },
  23169. "unpayamount": {
  23170. "description": "应收付款额(应支付或应收款)",
  23171. "type": "number"
  23172. },
  23173. "unpricedqty": {
  23174. "description": "未定价量",
  23175. "type": "number"
  23176. },
  23177. "unsureqty": {
  23178. "description": "未确定量",
  23179. "type": "number"
  23180. },
  23181. "userid": {
  23182. "description": "机构ID",
  23183. "type": "integer"
  23184. },
  23185. "vatrate": {
  23186. "description": "增值税率",
  23187. "type": "number"
  23188. },
  23189. "wrstandardcode": {
  23190. "description": "品类代码",
  23191. "type": "string"
  23192. },
  23193. "wrstandardid": {
  23194. "description": "品类ID",
  23195. "type": "integer"
  23196. },
  23197. "wrstandardname": {
  23198. "description": "品类名称",
  23199. "type": "string"
  23200. }
  23201. }
  23202. },
  23203. "models.Ermcp3SpotGoodsPrice": {
  23204. "type": "object",
  23205. "properties": {
  23206. "areauserid": {
  23207. "description": "所属机构id",
  23208. "type": "integer"
  23209. },
  23210. "brandname": {
  23211. "description": "品牌名称",
  23212. "type": "string"
  23213. },
  23214. "currencyid": {
  23215. "description": "报价货币ID",
  23216. "type": "integer"
  23217. },
  23218. "currencyname": {
  23219. "description": "币种名称",
  23220. "type": "string"
  23221. },
  23222. "deliverygoodscode": {
  23223. "description": "现货商品代码",
  23224. "type": "string"
  23225. },
  23226. "deliverygoodsid": {
  23227. "description": "现货商品id",
  23228. "type": "integer"
  23229. },
  23230. "deliverygoodsname": {
  23231. "description": "现货商品名称",
  23232. "type": "string"
  23233. },
  23234. "enumdicname": {
  23235. "description": "现货商品单位名称",
  23236. "type": "string"
  23237. },
  23238. "gbenumdicname": {
  23239. "description": "品类单位名称",
  23240. "type": "string"
  23241. },
  23242. "gmunitid": {
  23243. "description": "品类单位id",
  23244. "type": "integer"
  23245. },
  23246. "isvalid": {
  23247. "description": "是否有效 - 0:无效 1:有效",
  23248. "type": "integer"
  23249. },
  23250. "operateid": {
  23251. "description": "最后操作人",
  23252. "type": "integer"
  23253. },
  23254. "operatesrc": {
  23255. "description": "最后操作来源 - 1:管理端 2:终端",
  23256. "type": "integer"
  23257. },
  23258. "operatetime": {
  23259. "description": "最后操作时间",
  23260. "type": "string"
  23261. },
  23262. "operatorname": {
  23263. "description": "操作人名称",
  23264. "type": "string"
  23265. },
  23266. "spotgoodsbrandid": {
  23267. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23268. "type": "integer"
  23269. },
  23270. "spotgoodsprice": {
  23271. "description": "现货价格",
  23272. "type": "number"
  23273. },
  23274. "tradedate": {
  23275. "description": "交易日(yyyyMMdd)",
  23276. "type": "string"
  23277. },
  23278. "unitid": {
  23279. "description": "现货商品单位id",
  23280. "type": "integer"
  23281. },
  23282. "wrstandardcode": {
  23283. "description": "品类代码",
  23284. "type": "string"
  23285. },
  23286. "wrstandardid": {
  23287. "description": "现货品类ID(通用则为0)",
  23288. "type": "integer"
  23289. },
  23290. "wrstandardname": {
  23291. "description": "品类名称",
  23292. "type": "string"
  23293. }
  23294. }
  23295. },
  23296. "models.Ermcp3SpotGoodsPriceLog": {
  23297. "type": "object",
  23298. "properties": {
  23299. "areauserid": {
  23300. "description": "所属机构id",
  23301. "type": "integer"
  23302. },
  23303. "brandname": {
  23304. "description": "品牌名称",
  23305. "type": "string"
  23306. },
  23307. "currencyid": {
  23308. "description": "报价货币ID",
  23309. "type": "integer"
  23310. },
  23311. "deliverygoodscode": {
  23312. "description": "现货商品代码",
  23313. "type": "string"
  23314. },
  23315. "deliverygoodsid": {
  23316. "description": "现货商品id",
  23317. "type": "integer"
  23318. },
  23319. "deliverygoodsname": {
  23320. "description": "现货商品名称",
  23321. "type": "string"
  23322. },
  23323. "enumdicname": {
  23324. "description": "现货商品单位名称",
  23325. "type": "string"
  23326. },
  23327. "gbenumdicname": {
  23328. "description": "品类单位名称",
  23329. "type": "string"
  23330. },
  23331. "gmunitid": {
  23332. "description": "品类单位id",
  23333. "type": "integer"
  23334. },
  23335. "logid": {
  23336. "description": "日志id",
  23337. "type": "integer"
  23338. },
  23339. "operateid": {
  23340. "description": "最后操作人",
  23341. "type": "integer"
  23342. },
  23343. "operatesrc": {
  23344. "description": "最后操作来源 - 1:管理端 2:终端",
  23345. "type": "integer"
  23346. },
  23347. "operatetime": {
  23348. "description": "最后操作时间",
  23349. "type": "string"
  23350. },
  23351. "operatorname": {
  23352. "description": "操作人名称",
  23353. "type": "string"
  23354. },
  23355. "spotgoodsbrandid": {
  23356. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23357. "type": "integer"
  23358. },
  23359. "spotgoodsprice": {
  23360. "description": "现货价格",
  23361. "type": "number"
  23362. },
  23363. "tradedate": {
  23364. "description": "交易日(yyyyMMdd)",
  23365. "type": "string"
  23366. },
  23367. "unitid": {
  23368. "description": "现货商品单位id",
  23369. "type": "integer"
  23370. },
  23371. "wrstandardcode": {
  23372. "description": "品类代码",
  23373. "type": "string"
  23374. },
  23375. "wrstandardid": {
  23376. "description": "现货品类ID(通用则为0)",
  23377. "type": "integer"
  23378. },
  23379. "wrstandardname": {
  23380. "description": "品类名称",
  23381. "type": "string"
  23382. }
  23383. }
  23384. },
  23385. "models.Ermcp3SubTaaccount": {
  23386. "type": "object",
  23387. "properties": {
  23388. "accountid": {
  23389. "description": "资金账户ID",
  23390. "type": "integer"
  23391. },
  23392. "parentaccountcode": {
  23393. "description": "所属根账号代码(母账号代码)",
  23394. "type": "string"
  23395. },
  23396. "parentaccountid": {
  23397. "description": "所属根账号(母账号)",
  23398. "type": "integer"
  23399. },
  23400. "taname": {
  23401. "description": "资金账号名称",
  23402. "type": "string"
  23403. },
  23404. "tradestatus": {
  23405. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23406. "type": "integer"
  23407. },
  23408. "username": {
  23409. "description": "交易用户",
  23410. "type": "string"
  23411. }
  23412. }
  23413. },
  23414. "models.Ermcp3TaFutuReDataReport": {
  23415. "type": "object",
  23416. "properties": {
  23417. "accountid": {
  23418. "description": "交易账户",
  23419. "type": "integer"
  23420. },
  23421. "accountname": {
  23422. "description": "交易账号名称",
  23423. "type": "string"
  23424. },
  23425. "agreeunit": {
  23426. "description": "商品合约单位",
  23427. "type": "number"
  23428. },
  23429. "begindate": {
  23430. "description": "开始交易日",
  23431. "type": "string"
  23432. },
  23433. "buyorsell": {
  23434. "description": "持仓方向",
  23435. "type": "integer"
  23436. },
  23437. "charge": {
  23438. "description": "手续费",
  23439. "type": "number"
  23440. },
  23441. "closeavgprice": {
  23442. "description": "平仓均价",
  23443. "type": "number"
  23444. },
  23445. "closepl": {
  23446. "description": "平仓损益",
  23447. "type": "number"
  23448. },
  23449. "currencyid": {
  23450. "description": "结算币种ID",
  23451. "type": "integer"
  23452. },
  23453. "currencyname": {
  23454. "description": "币种名称",
  23455. "type": "string"
  23456. },
  23457. "cycletime": {
  23458. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23459. "type": "string"
  23460. },
  23461. "cycletype": {
  23462. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23463. "type": "integer"
  23464. },
  23465. "enddate": {
  23466. "description": "结束交易日",
  23467. "type": "string"
  23468. },
  23469. "enumdicname": {
  23470. "description": "单位名称",
  23471. "type": "string"
  23472. },
  23473. "floatpl": {
  23474. "description": "浮动损益",
  23475. "type": "number"
  23476. },
  23477. "goodscode": {
  23478. "description": "交易合约代码",
  23479. "type": "string"
  23480. },
  23481. "goodsgroupid": {
  23482. "description": "交易品种",
  23483. "type": "integer"
  23484. },
  23485. "goodsgroupname": {
  23486. "description": "交易品种名称",
  23487. "type": "string"
  23488. },
  23489. "goodsgroupspotqty": {
  23490. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23491. "type": "number"
  23492. },
  23493. "goodsid": {
  23494. "description": "交易合约",
  23495. "type": "integer"
  23496. },
  23497. "goodsname": {
  23498. "description": "交易合约名称",
  23499. "type": "string"
  23500. },
  23501. "goodunitid": {
  23502. "description": "交易合约单位id",
  23503. "type": "integer"
  23504. },
  23505. "holdamount": {
  23506. "description": "期末持仓额",
  23507. "type": "number"
  23508. },
  23509. "holdqty": {
  23510. "description": "期末持仓量",
  23511. "type": "number"
  23512. },
  23513. "lastholdamount": {
  23514. "description": "当前持仓额",
  23515. "type": "number"
  23516. },
  23517. "lastprice": {
  23518. "description": "最新价",
  23519. "type": "number"
  23520. },
  23521. "middlegoodsid": {
  23522. "description": "套保品种id",
  23523. "type": "integer"
  23524. },
  23525. "middlegoodsname": {
  23526. "description": "套保商品名称",
  23527. "type": "string"
  23528. },
  23529. "middlegoodsqty": {
  23530. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23531. "type": "number"
  23532. },
  23533. "middlgoodscode": {
  23534. "description": "套保商品代码",
  23535. "type": "string"
  23536. },
  23537. "openamount": {
  23538. "description": "期末开仓额",
  23539. "type": "number"
  23540. },
  23541. "openavgprice": {
  23542. "description": "开仓均价",
  23543. "type": "number"
  23544. },
  23545. "oriholdamount": {
  23546. "description": "期初持仓额",
  23547. "type": "number"
  23548. },
  23549. "oriholdqty": {
  23550. "description": "期初持仓量",
  23551. "type": "number"
  23552. },
  23553. "oriopenamount": {
  23554. "description": "期初开仓额",
  23555. "type": "number"
  23556. },
  23557. "outergroupcode": {
  23558. "description": "交易品种代码",
  23559. "type": "string"
  23560. },
  23561. "qtydecimalplace": {
  23562. "description": "成交量小数位",
  23563. "type": "integer"
  23564. },
  23565. "reckondate": {
  23566. "description": "日照时期(yyyyMMdd)",
  23567. "type": "string"
  23568. },
  23569. "reckonholdamount": {
  23570. "description": "结算持仓额",
  23571. "type": "number"
  23572. },
  23573. "reckonpl": {
  23574. "description": "结算损益",
  23575. "type": "number"
  23576. },
  23577. "reckonpl2": {
  23578. "description": "结算逐笔盈亏",
  23579. "type": "number"
  23580. },
  23581. "reckonprice": {
  23582. "description": "结算价",
  23583. "type": "number"
  23584. },
  23585. "relateduserid": {
  23586. "description": "账户关联用户ID",
  23587. "type": "integer"
  23588. },
  23589. "todaycloseamount": {
  23590. "description": "今平仓额",
  23591. "type": "number"
  23592. },
  23593. "todaycloseqty": {
  23594. "description": "今平仓量",
  23595. "type": "number"
  23596. },
  23597. "todaygoodsgroupspotqty": {
  23598. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23599. "type": "number"
  23600. },
  23601. "todaymiddlegoodsqty": {
  23602. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23603. "type": "number"
  23604. },
  23605. "todayopenamount": {
  23606. "description": "今开仓额",
  23607. "type": "number"
  23608. },
  23609. "todayopenqty": {
  23610. "description": "今开仓量",
  23611. "type": "number"
  23612. },
  23613. "userid": {
  23614. "description": "账户所属用户ID",
  23615. "type": "integer"
  23616. }
  23617. }
  23618. },
  23619. "models.Ermcp3TradeLinkDetail": {
  23620. "type": "object",
  23621. "properties": {
  23622. "accountid": {
  23623. "description": "资金账号",
  23624. "type": "integer"
  23625. },
  23626. "agreeunit": {
  23627. "description": "合约乘数",
  23628. "type": "number"
  23629. },
  23630. "areauserid": {
  23631. "description": "所属机构",
  23632. "type": "string"
  23633. },
  23634. "bizsubjectid": {
  23635. "description": "归属业务部门ID - SubjectID",
  23636. "type": "string"
  23637. },
  23638. "buyorsell": {
  23639. "description": "方向 - 0:买 1:卖",
  23640. "type": "integer"
  23641. },
  23642. "channelbuildtype": {
  23643. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23644. "type": "integer"
  23645. },
  23646. "contractno": {
  23647. "description": "现货编号 (合同编号)",
  23648. "type": "string"
  23649. },
  23650. "convertratio": {
  23651. "description": "折算系数",
  23652. "type": "number"
  23653. },
  23654. "createtime": {
  23655. "description": "关联时间 | 创建时间",
  23656. "type": "string"
  23657. },
  23658. "creatorid": {
  23659. "description": "创建人ID",
  23660. "type": "string"
  23661. },
  23662. "creatorsrc": {
  23663. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23664. "type": "integer"
  23665. },
  23666. "enumdicname": {
  23667. "description": "单位名称",
  23668. "type": "string"
  23669. },
  23670. "goodscode": {
  23671. "description": "合约代码",
  23672. "type": "string"
  23673. },
  23674. "goodsgroupid": {
  23675. "description": "对冲品种ID[期货合约商品组ID]",
  23676. "type": "integer"
  23677. },
  23678. "goodsid": {
  23679. "description": "商品ID",
  23680. "type": "integer"
  23681. },
  23682. "goodsname": {
  23683. "description": "合约名称",
  23684. "type": "string"
  23685. },
  23686. "hedgeflag": {
  23687. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23688. "type": "integer"
  23689. },
  23690. "linkdetailid": {
  23691. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23692. "type": "string"
  23693. },
  23694. "linkstatus": {
  23695. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23696. "type": "integer"
  23697. },
  23698. "middlegoodscode": {
  23699. "description": "套保品种代码",
  23700. "type": "string"
  23701. },
  23702. "middlegoodsid": {
  23703. "description": "套保品种ID",
  23704. "type": "integer"
  23705. },
  23706. "middlegoodsname": {
  23707. "description": "套保品种名称",
  23708. "type": "string"
  23709. },
  23710. "relatedlot": {
  23711. "description": "关联手数",
  23712. "type": "number"
  23713. },
  23714. "relatedmode": {
  23715. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23716. "type": "integer"
  23717. },
  23718. "relatedqty": {
  23719. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23720. "type": "number"
  23721. },
  23722. "retcode": {
  23723. "description": "返回码",
  23724. "type": "integer"
  23725. },
  23726. "saleuserid": {
  23727. "description": "业务员ID",
  23728. "type": "string"
  23729. },
  23730. "spotcontractid": {
  23731. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23732. "type": "string"
  23733. },
  23734. "taname": {
  23735. "description": "期货账户",
  23736. "type": "string"
  23737. },
  23738. "tradedate": {
  23739. "description": "关联交易日(yyyyMMdd)",
  23740. "type": "string"
  23741. },
  23742. "tradeid": {
  23743. "description": "期货订单号 | 内部成交单ID",
  23744. "type": "string"
  23745. },
  23746. "tradelot": {
  23747. "description": "成交数量 | 成交手数",
  23748. "type": "integer"
  23749. },
  23750. "tradeprice": {
  23751. "description": "成交价格",
  23752. "type": "number"
  23753. },
  23754. "tradetime": {
  23755. "description": "期货成交时间",
  23756. "type": "string"
  23757. },
  23758. "tradetradedate": {
  23759. "description": "成交交易日(yyyyMMdd)",
  23760. "type": "string"
  23761. },
  23762. "username": {
  23763. "description": "用户名称",
  23764. "type": "string"
  23765. }
  23766. }
  23767. },
  23768. "models.Ermcp3Wrstandard": {
  23769. "type": "object",
  23770. "properties": {
  23771. "areauserid": {
  23772. "description": "所属机构",
  23773. "type": "integer"
  23774. },
  23775. "cantrade": {
  23776. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23777. "type": "integer"
  23778. },
  23779. "convertfactor": {
  23780. "description": "标仓系数",
  23781. "type": "number"
  23782. },
  23783. "createtime": {
  23784. "description": "创建时间",
  23785. "type": "string"
  23786. },
  23787. "creatorid": {
  23788. "description": "创建人",
  23789. "type": "integer"
  23790. },
  23791. "deliverygoodsid": {
  23792. "description": "现货品种ID",
  23793. "type": "integer"
  23794. },
  23795. "enumdicname": {
  23796. "description": "品类单位名称",
  23797. "type": "string"
  23798. },
  23799. "isvalid": {
  23800. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23801. "type": "integer"
  23802. },
  23803. "minivalue": {
  23804. "description": "最小变动值",
  23805. "type": "integer"
  23806. },
  23807. "minivaluedp": {
  23808. "description": "最小变动值小数位",
  23809. "type": "integer"
  23810. },
  23811. "realminivalue": {
  23812. "description": "实际最小变动值",
  23813. "type": "integer"
  23814. },
  23815. "realminivaluedp": {
  23816. "description": "实际最小变动值小数位",
  23817. "type": "integer"
  23818. },
  23819. "remark": {
  23820. "description": "备注",
  23821. "type": "string"
  23822. },
  23823. "unitid": {
  23824. "description": "品类单位ID",
  23825. "type": "integer"
  23826. },
  23827. "updatetime": {
  23828. "description": "更新时间",
  23829. "type": "string"
  23830. },
  23831. "wrstandardcode": {
  23832. "description": "品类代码",
  23833. "type": "string"
  23834. },
  23835. "wrstandardid": {
  23836. "description": "品类ID(SEQ_WRSTANDARD)",
  23837. "type": "integer"
  23838. },
  23839. "wrstandardname": {
  23840. "description": "品类名称",
  23841. "type": "string"
  23842. }
  23843. }
  23844. },
  23845. "models.ErmcpBizGroupEx": {
  23846. "type": "object",
  23847. "properties": {
  23848. "acclist": {
  23849. "description": "账号列表",
  23850. "type": "array",
  23851. "items": {
  23852. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23853. }
  23854. },
  23855. "bizgroupid": {
  23856. "description": "业务分组id",
  23857. "type": "integer"
  23858. },
  23859. "biztype": {
  23860. "description": "业务类型 1-套保 2-套利",
  23861. "type": "integer"
  23862. },
  23863. "wrlist": {
  23864. "description": "现货商品表",
  23865. "type": "array",
  23866. "items": {
  23867. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23868. }
  23869. }
  23870. }
  23871. },
  23872. "models.ErmcpBizGroupSpotGoods": {
  23873. "type": "object",
  23874. "properties": {
  23875. "areauserid": {
  23876. "description": "所属机构id",
  23877. "type": "integer"
  23878. },
  23879. "bizgroupid": {
  23880. "description": "分组id",
  23881. "type": "integer"
  23882. },
  23883. "biztype": {
  23884. "description": "业务类型 1-套保 2-套利",
  23885. "type": "integer"
  23886. },
  23887. "deliverygoodscode": {
  23888. "description": "现货商品代码",
  23889. "type": "string"
  23890. },
  23891. "deliverygoodsid": {
  23892. "description": "现货商品id",
  23893. "type": "integer"
  23894. },
  23895. "deliverygoodsname": {
  23896. "description": "现货商品名称",
  23897. "type": "string"
  23898. },
  23899. "unitid": {
  23900. "description": "现货商品单位id",
  23901. "type": "integer"
  23902. }
  23903. }
  23904. },
  23905. "models.ErmcpBizGroupTaAccount": {
  23906. "type": "object",
  23907. "properties": {
  23908. "accountid": {
  23909. "description": "账号id",
  23910. "type": "integer"
  23911. },
  23912. "accountname": {
  23913. "description": "账号名称",
  23914. "type": "string"
  23915. },
  23916. "areauserid": {
  23917. "description": "所属机构id",
  23918. "type": "integer"
  23919. },
  23920. "bizgroupid": {
  23921. "description": "业务分组id",
  23922. "type": "integer"
  23923. },
  23924. "ismain": {
  23925. "description": "是否主账号 1-是 0-否",
  23926. "type": "integer"
  23927. }
  23928. }
  23929. },
  23930. "models.ErmcpDGFactoryItem": {
  23931. "type": "object",
  23932. "properties": {
  23933. "areauserid": {
  23934. "description": "用户id",
  23935. "type": "integer"
  23936. },
  23937. "deliverygoodsid": {
  23938. "description": "现货品种ID",
  23939. "type": "integer"
  23940. },
  23941. "dgfactoryitemid": {
  23942. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23943. "type": "integer"
  23944. },
  23945. "dgfactoryitemtypeid": {
  23946. "description": "要素项类型",
  23947. "type": "integer"
  23948. },
  23949. "dgfactoryitemvalue": {
  23950. "description": "要素项值(类型为仓库时填写仓库名称)",
  23951. "type": "string"
  23952. },
  23953. "isvalid": {
  23954. "description": "是否有效 - 0:无效 1:有效",
  23955. "type": "integer"
  23956. },
  23957. "orderindex": {
  23958. "description": "顺序",
  23959. "type": "integer"
  23960. },
  23961. "warehouseid": {
  23962. "description": "仓库ID(类型为仓库时填写)",
  23963. "type": "integer"
  23964. }
  23965. }
  23966. },
  23967. "models.ErmcpDeliveryGoods": {
  23968. "type": "object",
  23969. "properties": {
  23970. "agreeunit": {
  23971. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23972. "type": "integer"
  23973. },
  23974. "areauserid": {
  23975. "description": "所属机构",
  23976. "type": "integer"
  23977. },
  23978. "auditflag": {
  23979. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23980. "type": "integer"
  23981. },
  23982. "categoryid": {
  23983. "description": "类别ID(SEQ_WRCATEGORY)",
  23984. "type": "integer"
  23985. },
  23986. "deliverygoodscode": {
  23987. "description": "现货品种代码",
  23988. "type": "string"
  23989. },
  23990. "deliverygoodsid": {
  23991. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23992. "type": "integer"
  23993. },
  23994. "deliverygoodsname": {
  23995. "description": "现货品种名称",
  23996. "type": "string"
  23997. },
  23998. "deliverygoodstype": {
  23999. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  24000. "type": "integer"
  24001. },
  24002. "dgstatus": {
  24003. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  24004. "type": "integer"
  24005. },
  24006. "enumdicname": {
  24007. "description": "现货品种单位名称",
  24008. "type": "string"
  24009. },
  24010. "goodsunitid": {
  24011. "description": "现货品种单位ID",
  24012. "type": "integer"
  24013. },
  24014. "isvalid": {
  24015. "description": "是否有效 - 0:无效 1:有效",
  24016. "type": "integer"
  24017. },
  24018. "qtydecimalplace": {
  24019. "description": "成交量小数位",
  24020. "type": "integer"
  24021. },
  24022. "remark": {
  24023. "description": "备注",
  24024. "type": "string"
  24025. },
  24026. "standardqty": {
  24027. "description": "标准数量(库位数量) [标准品特有]",
  24028. "type": "integer"
  24029. },
  24030. "standardqtyrange": {
  24031. "description": "标准数量偏差范围 [标准品特有]",
  24032. "type": "integer"
  24033. }
  24034. }
  24035. },
  24036. "models.ErmcpFuturesCompany": {
  24037. "type": "object",
  24038. "properties": {
  24039. "brokerid": {
  24040. "description": "经纪公司代码",
  24041. "type": "string"
  24042. },
  24043. "channeladdress": {
  24044. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24045. "type": "string"
  24046. },
  24047. "channelid": {
  24048. "description": "对冲渠道ID",
  24049. "type": "string"
  24050. },
  24051. "createtime": {
  24052. "description": "创建时间",
  24053. "type": "string"
  24054. },
  24055. "creatorid": {
  24056. "description": "创建人",
  24057. "type": "string"
  24058. },
  24059. "fcid": {
  24060. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24061. "type": "integer"
  24062. },
  24063. "fcname": {
  24064. "description": "期货公司名称",
  24065. "type": "string"
  24066. },
  24067. "isvalid": {
  24068. "description": "是否有效 - 0:无效 1:有效",
  24069. "type": "integer"
  24070. },
  24071. "mhpaddress": {
  24072. "description": "MHP服务地址(IP:Port)",
  24073. "type": "string"
  24074. },
  24075. "riskrulegroupid": {
  24076. "description": "风控规则组ID",
  24077. "type": "string"
  24078. },
  24079. "tradefeetmpid": {
  24080. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24081. "type": "string"
  24082. },
  24083. "trademargintmpid": {
  24084. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24085. "type": "string"
  24086. },
  24087. "traderatetmpid": {
  24088. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24089. "type": "string"
  24090. },
  24091. "updatetime": {
  24092. "description": "更新时间",
  24093. "type": "string"
  24094. },
  24095. "updatorid": {
  24096. "description": "更新人",
  24097. "type": "string"
  24098. }
  24099. }
  24100. },
  24101. "models.ErmcpGGConvertCfg": {
  24102. "type": "object",
  24103. "properties": {
  24104. "convertratio": {
  24105. "description": "折算系数",
  24106. "type": "number"
  24107. },
  24108. "destgoodsgroupid": {
  24109. "description": "目标品种ID",
  24110. "type": "integer"
  24111. },
  24112. "dstcode": {
  24113. "description": "目录品种代码",
  24114. "type": "string"
  24115. },
  24116. "dstexchangecode": {
  24117. "description": "目标期货交易所",
  24118. "type": "string"
  24119. },
  24120. "dstname": {
  24121. "description": "目标品种名称",
  24122. "type": "string"
  24123. },
  24124. "dstunitid": {
  24125. "description": "目标品种单位ID",
  24126. "type": "integer"
  24127. },
  24128. "dstunitidname": {
  24129. "description": "目标品种单位名称",
  24130. "type": "string"
  24131. },
  24132. "modifytime": {
  24133. "description": "修改时间",
  24134. "type": "string"
  24135. },
  24136. "srccode": {
  24137. "description": "源品种代码",
  24138. "type": "string"
  24139. },
  24140. "srcexchangecode": {
  24141. "description": "源期货交易所",
  24142. "type": "string"
  24143. },
  24144. "srcgoodsgroupid": {
  24145. "description": "源品种ID",
  24146. "type": "integer"
  24147. },
  24148. "srcname": {
  24149. "description": "源品种名称",
  24150. "type": "string"
  24151. },
  24152. "srcunitid": {
  24153. "description": "源品种单位ID",
  24154. "type": "integer"
  24155. },
  24156. "srcunitidname": {
  24157. "description": "源品种单位名称",
  24158. "type": "string"
  24159. }
  24160. }
  24161. },
  24162. "models.ErmcpGoods": {
  24163. "type": "object",
  24164. "required": [
  24165. "goodscode",
  24166. "goodsid",
  24167. "goodsname",
  24168. "marketid"
  24169. ],
  24170. "properties": {
  24171. "agreeunit": {
  24172. "description": "合约单位",
  24173. "type": "number"
  24174. },
  24175. "areauserid": {
  24176. "description": "所属机构",
  24177. "type": "integer"
  24178. },
  24179. "auditaccountid": {
  24180. "description": "审核操作员账号",
  24181. "type": "integer"
  24182. },
  24183. "audittime": {
  24184. "description": "审核时间",
  24185. "type": "string"
  24186. },
  24187. "cancelaccountid": {
  24188. "description": "注销操作员账号",
  24189. "type": "integer"
  24190. },
  24191. "canceltime": {
  24192. "description": "注销时间",
  24193. "type": "string"
  24194. },
  24195. "closepricemode": {
  24196. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24197. "type": "integer"
  24198. },
  24199. "closepriceparam": {
  24200. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24201. "type": "number"
  24202. },
  24203. "createtime": {
  24204. "description": "创建时间",
  24205. "type": "string"
  24206. },
  24207. "creatorid": {
  24208. "description": "创建人",
  24209. "type": "integer"
  24210. },
  24211. "currencyid": {
  24212. "description": "报价货币ID",
  24213. "type": "integer"
  24214. },
  24215. "cutmode": {
  24216. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24217. "type": "integer"
  24218. },
  24219. "decimalplace": {
  24220. "description": "报价小数位",
  24221. "type": "integer"
  24222. },
  24223. "delistingdate": {
  24224. "description": "商品退市时间(状态:退市) -- 已作废",
  24225. "type": "string"
  24226. },
  24227. "delistingmode": {
  24228. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24229. "type": "integer"
  24230. },
  24231. "deliveryflag": {
  24232. "description": "交割标志 - 0:不可交割 1:可交割",
  24233. "type": "integer"
  24234. },
  24235. "enumdicname": {
  24236. "description": "单位名称",
  24237. "type": "string"
  24238. },
  24239. "forceclosemode": {
  24240. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24241. "type": "integer"
  24242. },
  24243. "forceclosevalue": {
  24244. "description": "定期强平参数 [收益权]",
  24245. "type": "integer"
  24246. },
  24247. "goodscode": {
  24248. "description": "商品代码(内部)",
  24249. "type": "string"
  24250. },
  24251. "goodscurrencyid": {
  24252. "description": "合约货币ID",
  24253. "type": "integer"
  24254. },
  24255. "goodsgroupid": {
  24256. "description": "所属商品组ID",
  24257. "type": "integer"
  24258. },
  24259. "goodsid": {
  24260. "description": "商品ID(自增ID SEQ_GOODS)",
  24261. "type": "integer"
  24262. },
  24263. "goodsname": {
  24264. "description": "商品名称",
  24265. "type": "string"
  24266. },
  24267. "goodsquotetype": {
  24268. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24269. "type": "integer"
  24270. },
  24271. "goodsstatus": {
  24272. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24273. "type": "integer"
  24274. },
  24275. "goodstradetype": {
  24276. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24277. "type": "integer"
  24278. },
  24279. "goodunitid": {
  24280. "description": "报价单位ID",
  24281. "type": "integer"
  24282. },
  24283. "hasquoter": {
  24284. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24285. "type": "integer"
  24286. },
  24287. "hqprotecttime": {
  24288. "description": "行情保护时间(秒)",
  24289. "type": "integer"
  24290. },
  24291. "innerdealmode": {
  24292. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24293. "type": "integer"
  24294. },
  24295. "isbuylimited": {
  24296. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24297. "type": "integer"
  24298. },
  24299. "isvisible": {
  24300. "description": "游客是否可见 - 0:不可见 1:可见",
  24301. "type": "integer"
  24302. },
  24303. "lasttradedate": {
  24304. "description": "最后交易日期(状态:待退市)",
  24305. "type": "string"
  24306. },
  24307. "listingdate": {
  24308. "description": "交易开始日期",
  24309. "type": "string"
  24310. },
  24311. "marketid": {
  24312. "description": "所属市场ID",
  24313. "type": "integer"
  24314. },
  24315. "modifierid": {
  24316. "description": "修改人",
  24317. "type": "integer"
  24318. },
  24319. "modifystatus": {
  24320. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24321. "type": "integer"
  24322. },
  24323. "modifytime": {
  24324. "description": "修改时间",
  24325. "type": "string"
  24326. },
  24327. "outerdealmode": {
  24328. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24329. "type": "integer"
  24330. },
  24331. "outgoodscode": {
  24332. "description": "商品代码(外部)",
  24333. "type": "string"
  24334. },
  24335. "pictureurl": {
  24336. "description": "商品图片",
  24337. "type": "string"
  24338. },
  24339. "qtydecimalplace": {
  24340. "description": "成交量小数位",
  24341. "type": "integer"
  24342. },
  24343. "quotegear": {
  24344. "description": "行情档位(1-10)",
  24345. "type": "integer"
  24346. },
  24347. "quoteminunit": {
  24348. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24349. "type": "integer"
  24350. },
  24351. "quoteshowtype": {
  24352. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24353. "type": "integer"
  24354. },
  24355. "quoteshowtypeinterval": {
  24356. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24357. "type": "integer"
  24358. },
  24359. "relatedgoodsid": {
  24360. "description": "关联参考商品ID",
  24361. "type": "integer"
  24362. },
  24363. "remark": {
  24364. "description": "备注",
  24365. "type": "string"
  24366. },
  24367. "trademode": {
  24368. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24369. "type": "integer"
  24370. }
  24371. }
  24372. },
  24373. "models.ErmcpGoodsBrand": {
  24374. "type": "object",
  24375. "properties": {
  24376. "areauserid": {
  24377. "description": "所属机构",
  24378. "type": "integer"
  24379. },
  24380. "brandid": {
  24381. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24382. "type": "integer"
  24383. },
  24384. "brandname": {
  24385. "description": "品牌名称",
  24386. "type": "string"
  24387. },
  24388. "createtime": {
  24389. "description": "创建时间",
  24390. "type": "string"
  24391. },
  24392. "creatorid": {
  24393. "description": "创建人",
  24394. "type": "integer"
  24395. },
  24396. "creatorsrc": {
  24397. "description": "创建人来源 - 1:管理端 2:终端",
  24398. "type": "integer"
  24399. },
  24400. "deliverygoodsid": {
  24401. "description": "现货品种ID",
  24402. "type": "integer"
  24403. },
  24404. "isvalid": {
  24405. "description": "是否有效 - 0:无效 1:有效",
  24406. "type": "integer"
  24407. },
  24408. "updatetime": {
  24409. "description": "更新时间",
  24410. "type": "string"
  24411. },
  24412. "updatorid": {
  24413. "description": "更新人",
  24414. "type": "integer"
  24415. },
  24416. "updatorsrc": {
  24417. "description": "更新人来源 - 1:管理端 2:终端",
  24418. "type": "integer"
  24419. },
  24420. "wrstandardid": {
  24421. "description": "现货商品ID",
  24422. "type": "integer"
  24423. }
  24424. }
  24425. },
  24426. "models.ErmcpGoodsModel": {
  24427. "type": "object",
  24428. "properties": {
  24429. "areauserid": {
  24430. "description": "所属机构",
  24431. "type": "integer"
  24432. },
  24433. "convertfactor": {
  24434. "description": "标仓系数",
  24435. "type": "number"
  24436. },
  24437. "createtime": {
  24438. "description": "创建时间",
  24439. "type": "string"
  24440. },
  24441. "creatorid": {
  24442. "description": "创建人",
  24443. "type": "integer"
  24444. },
  24445. "creatorsrc": {
  24446. "description": "创建人来源 - 1:管理端 2:终端",
  24447. "type": "integer"
  24448. },
  24449. "deliverygoodsid": {
  24450. "description": "现货品种ID",
  24451. "type": "integer"
  24452. },
  24453. "isvalid": {
  24454. "description": "是否有效 - 0:无效 1:有效",
  24455. "type": "integer"
  24456. },
  24457. "modelid": {
  24458. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24459. "type": "integer"
  24460. },
  24461. "modelname": {
  24462. "description": "型号名称",
  24463. "type": "string"
  24464. },
  24465. "updatetime": {
  24466. "description": "更新时间",
  24467. "type": "string"
  24468. },
  24469. "updatorid": {
  24470. "description": "更新人",
  24471. "type": "integer"
  24472. },
  24473. "updatorsrc": {
  24474. "description": "更新人来源 - 1:管理端 2:终端",
  24475. "type": "integer"
  24476. },
  24477. "wrstandardid": {
  24478. "description": "现货商品ID",
  24479. "type": "integer"
  24480. }
  24481. }
  24482. },
  24483. "models.ErmcpHisExposure": {
  24484. "type": "object",
  24485. "properties": {
  24486. "needhedgeexposoure": {
  24487. "description": "应套保敞口",
  24488. "type": "number"
  24489. },
  24490. "reckondate": {
  24491. "description": "日照时期(yyyyMMdd)",
  24492. "type": "string"
  24493. },
  24494. "totalexposure": {
  24495. "description": "总敞口",
  24496. "type": "number"
  24497. }
  24498. }
  24499. },
  24500. "models.ErmcpLoginTaAccount": {
  24501. "type": "object",
  24502. "properties": {
  24503. "accountid": {
  24504. "description": "账号id",
  24505. "type": "integer"
  24506. },
  24507. "accountname": {
  24508. "description": "账号名称",
  24509. "type": "string"
  24510. }
  24511. }
  24512. },
  24513. "models.ErmcpLoginUser": {
  24514. "type": "object",
  24515. "properties": {
  24516. "acclist": {
  24517. "description": "关联资金账号",
  24518. "type": "array",
  24519. "items": {
  24520. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24521. }
  24522. },
  24523. "accountname": {
  24524. "description": "用户名称",
  24525. "type": "string"
  24526. },
  24527. "clientroleid": {
  24528. "description": "角色id(usertype=2)",
  24529. "type": "integer"
  24530. },
  24531. "createtime": {
  24532. "description": "创建时间",
  24533. "type": "string"
  24534. },
  24535. "logincode": {
  24536. "description": "登录代码",
  24537. "type": "string"
  24538. },
  24539. "loginid": {
  24540. "description": "登录id(LOGINID)",
  24541. "type": "integer"
  24542. },
  24543. "loginname": {
  24544. "description": "登录名称(loginaccount表中的accountname字段)",
  24545. "type": "string"
  24546. },
  24547. "loginstatus": {
  24548. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24549. "type": "integer"
  24550. },
  24551. "memberuserid": {
  24552. "description": "所属会员id",
  24553. "type": "integer"
  24554. },
  24555. "mobile": {
  24556. "description": "手机号",
  24557. "type": "string"
  24558. },
  24559. "modifytime": {
  24560. "description": "修改时间",
  24561. "type": "string"
  24562. },
  24563. "password": {
  24564. "description": "密码(不可解密)",
  24565. "type": "string"
  24566. },
  24567. "rolename": {
  24568. "description": "角色名称",
  24569. "type": "string"
  24570. },
  24571. "rolestatus": {
  24572. "description": "角色状态 1-启用 2-停用",
  24573. "type": "integer"
  24574. },
  24575. "roletype": {
  24576. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24577. "type": "string"
  24578. },
  24579. "userid": {
  24580. "description": "用户id",
  24581. "type": "integer"
  24582. },
  24583. "usertype": {
  24584. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24585. "type": "integer"
  24586. }
  24587. }
  24588. },
  24589. "models.ErmcpLoginUserEx": {
  24590. "type": "object",
  24591. "properties": {
  24592. "accountstatus": {
  24593. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24594. "type": "integer"
  24595. },
  24596. "mobile": {
  24597. "description": "手机号",
  24598. "type": "string"
  24599. },
  24600. "querytype": {
  24601. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24602. "type": "integer"
  24603. },
  24604. "roleid": {
  24605. "description": "角色id(交易账户-\u003e用户id)",
  24606. "type": "integer"
  24607. },
  24608. "rolename": {
  24609. "description": "角色名称(交易账户-\u003e用户名称)",
  24610. "type": "string"
  24611. },
  24612. "userlist": {
  24613. "description": "用户列表",
  24614. "type": "array",
  24615. "items": {
  24616. "$ref": "#/definitions/models.ErmcpLoginUser"
  24617. }
  24618. },
  24619. "usertype": {
  24620. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24621. "type": "integer"
  24622. }
  24623. }
  24624. },
  24625. "models.ErmcpMiddleGoodsModel": {
  24626. "type": "object",
  24627. "properties": {
  24628. "areauserid": {
  24629. "description": "机构用户ID",
  24630. "type": "integer"
  24631. },
  24632. "createtime": {
  24633. "description": "修改时间",
  24634. "type": "string"
  24635. },
  24636. "enumdicname": {
  24637. "description": "单位名称",
  24638. "type": "string"
  24639. },
  24640. "evaluateratio": {
  24641. "description": "估价系数",
  24642. "type": "number"
  24643. },
  24644. "goodsgroupid": {
  24645. "description": "关联期货品种ID",
  24646. "type": "integer"
  24647. },
  24648. "goodsunitid": {
  24649. "description": "单位ID",
  24650. "type": "integer"
  24651. },
  24652. "isvalid": {
  24653. "description": "状态 0-无效(停用) 1-有效(正常)",
  24654. "type": "integer"
  24655. },
  24656. "middlegoodscode": {
  24657. "description": "套保品种代码",
  24658. "type": "string"
  24659. },
  24660. "middlegoodsid": {
  24661. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24662. "type": "integer"
  24663. },
  24664. "middlegoodsname": {
  24665. "description": "套保品种名称",
  24666. "type": "string"
  24667. },
  24668. "modifytime": {
  24669. "description": "修改时间",
  24670. "type": "string"
  24671. },
  24672. "needarbitrageratio": {
  24673. "description": "套利比例",
  24674. "type": "number"
  24675. },
  24676. "needhedgeratio": {
  24677. "description": "套保比率",
  24678. "type": "number"
  24679. },
  24680. "qtydecimalplace": {
  24681. "description": "数量小数位",
  24682. "type": "integer"
  24683. },
  24684. "relatedgoodsid": {
  24685. "description": "关联交易商品ID",
  24686. "type": "integer"
  24687. },
  24688. "relatedgoodstype": {
  24689. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24690. "type": "integer"
  24691. },
  24692. "remark": {
  24693. "description": "备注",
  24694. "type": "string"
  24695. }
  24696. }
  24697. },
  24698. "models.ErmcpMiddlegoodsRelateGoods": {
  24699. "type": "object",
  24700. "properties": {
  24701. "agreeunit": {
  24702. "description": "合约乘数",
  24703. "type": "number"
  24704. },
  24705. "convertratio": {
  24706. "description": "折算系数",
  24707. "type": "number"
  24708. },
  24709. "enumdicname": {
  24710. "description": "单位名称(交易商品)",
  24711. "type": "string"
  24712. },
  24713. "goodscode": {
  24714. "description": "交易商品代码",
  24715. "type": "string"
  24716. },
  24717. "goodsgroupid": {
  24718. "description": "交易品种id",
  24719. "type": "integer"
  24720. },
  24721. "goodsid": {
  24722. "description": "商品Id",
  24723. "type": "integer"
  24724. },
  24725. "goodsname": {
  24726. "description": "交易商品名称",
  24727. "type": "string"
  24728. },
  24729. "goodunitid": {
  24730. "description": "交易商品单位id",
  24731. "type": "integer"
  24732. },
  24733. "middlegoodsid": {
  24734. "description": "套保商品id",
  24735. "type": "integer"
  24736. },
  24737. "middlegoodsname": {
  24738. "description": "套保商品名称",
  24739. "type": "string"
  24740. },
  24741. "middlegoodsswcode": {
  24742. "description": "套保商品代码",
  24743. "type": "string"
  24744. },
  24745. "needarbitrageratio": {
  24746. "description": "应套利比例",
  24747. "type": "number"
  24748. },
  24749. "needhedgeratio": {
  24750. "description": "应套保比例",
  24751. "type": "number"
  24752. }
  24753. }
  24754. },
  24755. "models.ErmcpRole": {
  24756. "type": "object",
  24757. "properties": {
  24758. "areauserid": {
  24759. "description": "所属机构",
  24760. "type": "integer"
  24761. },
  24762. "autoid": {
  24763. "description": "角色ID(自增ID)",
  24764. "type": "integer"
  24765. },
  24766. "modifierid": {
  24767. "description": "修改人(创建人)",
  24768. "type": "integer"
  24769. },
  24770. "modifiername": {
  24771. "description": "修改人名称",
  24772. "type": "string"
  24773. },
  24774. "modifytime": {
  24775. "description": "修改时间(创建时间)",
  24776. "type": "string"
  24777. },
  24778. "rolename": {
  24779. "description": "角色名称",
  24780. "type": "string"
  24781. },
  24782. "rolestatus": {
  24783. "description": "角色状态 - 1:启用 2:停用",
  24784. "type": "integer"
  24785. },
  24786. "roletype": {
  24787. "description": "角色类型 - 1- 管理端 2- 交易端",
  24788. "type": "integer"
  24789. }
  24790. }
  24791. },
  24792. "models.ErmcpRoleMenu": {
  24793. "type": "object",
  24794. "properties": {
  24795. "iconame": {
  24796. "description": "菜单图标",
  24797. "type": "string"
  24798. },
  24799. "ishadrole": {
  24800. "description": "是否有权限",
  24801. "type": "boolean"
  24802. },
  24803. "menutype": {
  24804. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24805. "type": "integer"
  24806. },
  24807. "parentcode": {
  24808. "description": "上级资源代码",
  24809. "type": "string"
  24810. },
  24811. "remark": {
  24812. "description": "菜单备注",
  24813. "type": "string"
  24814. },
  24815. "resourcecode": {
  24816. "description": "菜单代码",
  24817. "type": "string"
  24818. },
  24819. "resourcelevel": {
  24820. "description": "级别",
  24821. "type": "integer"
  24822. },
  24823. "resourcename": {
  24824. "description": "菜单名称",
  24825. "type": "string"
  24826. },
  24827. "roleid": {
  24828. "description": "角色id",
  24829. "type": "integer"
  24830. },
  24831. "sort": {
  24832. "description": "排序",
  24833. "type": "integer"
  24834. },
  24835. "url": {
  24836. "description": "URL",
  24837. "type": "string"
  24838. },
  24839. "userid": {
  24840. "description": "用户id",
  24841. "type": "integer"
  24842. }
  24843. }
  24844. },
  24845. "models.ErmcpRoleMenuEx": {
  24846. "type": "object",
  24847. "properties": {
  24848. "menu": {
  24849. "description": "父级菜单",
  24850. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24851. },
  24852. "subMenu": {
  24853. "description": "子级菜单",
  24854. "type": "array",
  24855. "items": {
  24856. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24857. }
  24858. }
  24859. }
  24860. },
  24861. "models.ErmcpTaAccount": {
  24862. "type": "object",
  24863. "properties": {
  24864. "accountid": {
  24865. "description": "账户id",
  24866. "type": "integer"
  24867. },
  24868. "accountname": {
  24869. "description": "账户名称",
  24870. "type": "string"
  24871. },
  24872. "currencyid": {
  24873. "description": "币种id",
  24874. "type": "integer"
  24875. },
  24876. "hedgeaccountcode": {
  24877. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24878. "type": "string"
  24879. },
  24880. "ismain": {
  24881. "description": "是否主账户 0-否 1-是",
  24882. "type": "integer"
  24883. },
  24884. "parentaccountid": {
  24885. "description": "父账户id",
  24886. "type": "integer"
  24887. },
  24888. "relateduserid": {
  24889. "description": "关联userid",
  24890. "type": "integer"
  24891. },
  24892. "tradefeetmpid": {
  24893. "description": "手续费模板id",
  24894. "type": "integer"
  24895. },
  24896. "tradefeetmpname": {
  24897. "description": "手续费模板名称",
  24898. "type": "string"
  24899. },
  24900. "trademargintmpid": {
  24901. "description": "保证金模板id",
  24902. "type": "integer"
  24903. },
  24904. "trademargintmpname": {
  24905. "description": "保证金模板名称",
  24906. "type": "string"
  24907. },
  24908. "traderatetmpid": {
  24909. "description": "汇率模板id",
  24910. "type": "integer"
  24911. },
  24912. "traderatetmpname": {
  24913. "description": "汇率模板名称",
  24914. "type": "string"
  24915. },
  24916. "tradestatus": {
  24917. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24918. "type": "integer"
  24919. },
  24920. "userid": {
  24921. "description": "用户id",
  24922. "type": "integer"
  24923. }
  24924. }
  24925. },
  24926. "models.ErmcpTaAccountEx": {
  24927. "type": "object",
  24928. "properties": {
  24929. "mainAcc": {
  24930. "description": "主账号",
  24931. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24932. },
  24933. "subacclist": {
  24934. "description": "子账号列表",
  24935. "type": "array",
  24936. "items": {
  24937. "$ref": "#/definitions/models.ErmcpTaAccount"
  24938. }
  24939. }
  24940. }
  24941. },
  24942. "models.ErmcpTaAccountInfo": {
  24943. "type": "object",
  24944. "properties": {
  24945. "accountid": {
  24946. "description": "资金账户ID",
  24947. "type": "integer"
  24948. },
  24949. "accountname": {
  24950. "description": "账户名称",
  24951. "type": "string"
  24952. },
  24953. "balance": {
  24954. "description": "期初余额",
  24955. "type": "number"
  24956. },
  24957. "capitalbalance": {
  24958. "description": "本金余额[外部子账户实际出入金余额]",
  24959. "type": "number"
  24960. },
  24961. "closepl": {
  24962. "description": "今日平仓盈亏",
  24963. "type": "number"
  24964. },
  24965. "creditdecrease": {
  24966. "description": "今日授信减少",
  24967. "type": "number"
  24968. },
  24969. "creditincrease": {
  24970. "description": "今日授信增加",
  24971. "type": "number"
  24972. },
  24973. "curdebt": {
  24974. "description": "期末欠款",
  24975. "type": "number"
  24976. },
  24977. "currencyid": {
  24978. "description": "货币ID",
  24979. "type": "integer"
  24980. },
  24981. "currentbalance": {
  24982. "description": "期末余额",
  24983. "type": "number"
  24984. },
  24985. "freezecharge": {
  24986. "description": "手续费冻结",
  24987. "type": "number"
  24988. },
  24989. "freezemargin": {
  24990. "description": "冻结保证金",
  24991. "type": "number"
  24992. },
  24993. "fromaccountid": {
  24994. "description": "所属上级账户",
  24995. "type": "integer"
  24996. },
  24997. "inamount": {
  24998. "description": "今日入金金额(包括三方入金)",
  24999. "type": "number"
  25000. },
  25001. "ismain": {
  25002. "description": "是否母账号 0:不是母账户 1:是母账户",
  25003. "type": "integer"
  25004. },
  25005. "mortgagecredit": {
  25006. "description": "授信金额",
  25007. "type": "number"
  25008. },
  25009. "oridebt": {
  25010. "description": "期初欠款",
  25011. "type": "number"
  25012. },
  25013. "orifreezecharge": {
  25014. "description": "期初手续费冻结",
  25015. "type": "number"
  25016. },
  25017. "orifreezemargin": {
  25018. "description": "期初冻结保证金",
  25019. "type": "number"
  25020. },
  25021. "orimortgagecredit": {
  25022. "description": "期初授信金额",
  25023. "type": "number"
  25024. },
  25025. "oriothercredit": {
  25026. "description": "期初其它授信金额",
  25027. "type": "number"
  25028. },
  25029. "oriotherfreezemargin": {
  25030. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25031. "type": "number"
  25032. },
  25033. "orioutamountfreeze": {
  25034. "description": "期初出金冻结",
  25035. "type": "number"
  25036. },
  25037. "oriusedmargin": {
  25038. "description": "期初占用保证金",
  25039. "type": "number"
  25040. },
  25041. "othercredit": {
  25042. "description": "其它授信金额",
  25043. "type": "number"
  25044. },
  25045. "othercreditdecrease": {
  25046. "description": "今日其它授信减少",
  25047. "type": "number"
  25048. },
  25049. "othercreditincrease": {
  25050. "description": "今日其它授信增加",
  25051. "type": "number"
  25052. },
  25053. "otherfreezemargin": {
  25054. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25055. "type": "number"
  25056. },
  25057. "outamount": {
  25058. "description": "今日出金金额(包括三方出金)",
  25059. "type": "number"
  25060. },
  25061. "outamountfreeze": {
  25062. "description": "出金冻结",
  25063. "type": "number"
  25064. },
  25065. "outthreshold": {
  25066. "description": "出金阈值",
  25067. "type": "number"
  25068. },
  25069. "parentaccountid": {
  25070. "description": "所属根账号",
  25071. "type": "integer"
  25072. },
  25073. "paycharge": {
  25074. "description": "今日手续费支出",
  25075. "type": "number"
  25076. },
  25077. "relateduserid": {
  25078. "description": "关联用户",
  25079. "type": "integer"
  25080. },
  25081. "signstatus": {
  25082. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25083. "type": "integer"
  25084. },
  25085. "sublevelpath": {
  25086. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25087. "type": "string"
  25088. },
  25089. "taaccounttype": {
  25090. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25091. "type": "integer"
  25092. },
  25093. "thirdinamount": {
  25094. "description": "今日三方入金",
  25095. "type": "number"
  25096. },
  25097. "thirdoutamount": {
  25098. "description": "今日三方出金",
  25099. "type": "number"
  25100. },
  25101. "tradestatus": {
  25102. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25103. "type": "integer"
  25104. },
  25105. "transferamount": {
  25106. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25107. "type": "number"
  25108. },
  25109. "usedmargin": {
  25110. "description": "占用保证金",
  25111. "type": "number"
  25112. },
  25113. "userid": {
  25114. "description": "用户ID",
  25115. "type": "integer"
  25116. }
  25117. }
  25118. },
  25119. "models.ErmcpTaAccountM": {
  25120. "type": "object",
  25121. "properties": {
  25122. "accountid": {
  25123. "description": "账户id",
  25124. "type": "integer"
  25125. },
  25126. "accountname": {
  25127. "description": "账户名称",
  25128. "type": "string"
  25129. },
  25130. "currencyid": {
  25131. "description": "币种id",
  25132. "type": "integer"
  25133. },
  25134. "fcid": {
  25135. "description": "期货公司id",
  25136. "type": "integer"
  25137. },
  25138. "fcname": {
  25139. "description": "期货公司代码",
  25140. "type": "string"
  25141. },
  25142. "hedgeaccountcode": {
  25143. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25144. "type": "string"
  25145. },
  25146. "ismain": {
  25147. "description": "是否主账户 0-否 1-是",
  25148. "type": "integer"
  25149. },
  25150. "parentaccountid": {
  25151. "description": "父账户id",
  25152. "type": "integer"
  25153. },
  25154. "relateduserid": {
  25155. "description": "关联userid",
  25156. "type": "integer"
  25157. },
  25158. "tradefeetmpid": {
  25159. "description": "手续费模板id",
  25160. "type": "integer"
  25161. },
  25162. "tradefeetmpname": {
  25163. "description": "手续费模板名称",
  25164. "type": "string"
  25165. },
  25166. "trademargintmpid": {
  25167. "description": "保证金模板id",
  25168. "type": "integer"
  25169. },
  25170. "trademargintmpname": {
  25171. "description": "保证金模板名称",
  25172. "type": "string"
  25173. },
  25174. "traderatetmpid": {
  25175. "description": "汇率模板id",
  25176. "type": "integer"
  25177. },
  25178. "traderatetmpname": {
  25179. "description": "汇率模板名称",
  25180. "type": "string"
  25181. },
  25182. "tradestatus": {
  25183. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25184. "type": "integer"
  25185. },
  25186. "userid": {
  25187. "description": "用户id",
  25188. "type": "integer"
  25189. }
  25190. }
  25191. },
  25192. "models.ErmcpTradeConfigTMP": {
  25193. "type": "object",
  25194. "properties": {
  25195. "areauserid": {
  25196. "description": "所属机构",
  25197. "type": "integer"
  25198. },
  25199. "basiccurrencyid": {
  25200. "description": "基本币种ID[汇率] - 目标币种",
  25201. "type": "integer"
  25202. },
  25203. "mainaccountid": {
  25204. "description": "主账户ID",
  25205. "type": "integer"
  25206. },
  25207. "modifierid": {
  25208. "description": "修改人",
  25209. "type": "integer"
  25210. },
  25211. "remark": {
  25212. "description": "备注",
  25213. "type": "string"
  25214. },
  25215. "tradeconfigtmpid": {
  25216. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25217. "type": "integer"
  25218. },
  25219. "tradeconfigtmpname": {
  25220. "description": "交易配置模板名称",
  25221. "type": "string"
  25222. },
  25223. "tradeconfigtmptype": {
  25224. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25225. "type": "integer"
  25226. },
  25227. "updatetime": {
  25228. "description": "更新时间",
  25229. "type": "string"
  25230. }
  25231. }
  25232. },
  25233. "models.Externalexchange": {
  25234. "type": "object",
  25235. "required": [
  25236. "autoid"
  25237. ],
  25238. "properties": {
  25239. "autoid": {
  25240. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25241. "type": "integer"
  25242. },
  25243. "exchangefullname": {
  25244. "description": "外部交易所全称",
  25245. "type": "string"
  25246. },
  25247. "exexchangecode": {
  25248. "description": "外部交易所代码",
  25249. "type": "string"
  25250. },
  25251. "exexchangename": {
  25252. "description": "外部交易所名称(简称)",
  25253. "type": "string"
  25254. },
  25255. "ismarketprice": {
  25256. "description": "是否支持市价 - 0:不支持 1:支持",
  25257. "type": "integer"
  25258. },
  25259. "quotegear": {
  25260. "description": "行情档位(1-10)",
  25261. "type": "integer"
  25262. },
  25263. "showbrokerflag": {
  25264. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25265. "type": "integer"
  25266. },
  25267. "updatetime": {
  25268. "description": "更新时间",
  25269. "type": "string"
  25270. }
  25271. }
  25272. },
  25273. "models.Funcmenulist": {
  25274. "type": "object",
  25275. "required": [
  25276. "resourcecode"
  25277. ],
  25278. "properties": {
  25279. "iconame": {
  25280. "description": "菜单图标",
  25281. "type": "string"
  25282. },
  25283. "menutype": {
  25284. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25285. "type": "integer"
  25286. },
  25287. "parentcode": {
  25288. "description": "上级资源代码",
  25289. "type": "string"
  25290. },
  25291. "remark": {
  25292. "description": "备注",
  25293. "type": "string"
  25294. },
  25295. "resourcecode": {
  25296. "description": "资源代码",
  25297. "type": "string"
  25298. },
  25299. "resourcelevel": {
  25300. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25301. "type": "integer"
  25302. },
  25303. "resourcename": {
  25304. "description": "资源名",
  25305. "type": "string"
  25306. },
  25307. "sort": {
  25308. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25309. "type": "integer"
  25310. },
  25311. "url": {
  25312. "description": "URL",
  25313. "type": "string"
  25314. }
  25315. }
  25316. },
  25317. "models.Goods": {
  25318. "type": "object",
  25319. "required": [
  25320. "goodscode",
  25321. "goodsid",
  25322. "goodsname",
  25323. "marketid"
  25324. ],
  25325. "properties": {
  25326. "agreeunit": {
  25327. "description": "合约单位",
  25328. "type": "number"
  25329. },
  25330. "areauserid": {
  25331. "description": "所属机构",
  25332. "type": "integer"
  25333. },
  25334. "auditaccountid": {
  25335. "description": "审核操作员账号",
  25336. "type": "integer"
  25337. },
  25338. "audittime": {
  25339. "description": "审核时间",
  25340. "type": "string"
  25341. },
  25342. "cancelaccountid": {
  25343. "description": "注销操作员账号",
  25344. "type": "integer"
  25345. },
  25346. "canceltime": {
  25347. "description": "注销时间",
  25348. "type": "string"
  25349. },
  25350. "closepricemode": {
  25351. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25352. "type": "integer"
  25353. },
  25354. "closepriceparam": {
  25355. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25356. "type": "number"
  25357. },
  25358. "createtime": {
  25359. "description": "创建时间",
  25360. "type": "string"
  25361. },
  25362. "creatorid": {
  25363. "description": "创建人",
  25364. "type": "integer"
  25365. },
  25366. "currencyid": {
  25367. "description": "报价货币ID",
  25368. "type": "integer"
  25369. },
  25370. "cutmode": {
  25371. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25372. "type": "integer"
  25373. },
  25374. "decimalplace": {
  25375. "description": "报价小数位",
  25376. "type": "integer"
  25377. },
  25378. "delistingdate": {
  25379. "description": "商品退市时间(状态:退市) -- 已作废",
  25380. "type": "string"
  25381. },
  25382. "delistingmode": {
  25383. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25384. "type": "integer"
  25385. },
  25386. "deliveryflag": {
  25387. "description": "交割标志 - 0:不可交割 1:可交割",
  25388. "type": "integer"
  25389. },
  25390. "forceclosemode": {
  25391. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25392. "type": "integer"
  25393. },
  25394. "forceclosevalue": {
  25395. "description": "定期强平参数 [收益权]",
  25396. "type": "integer"
  25397. },
  25398. "goodscode": {
  25399. "description": "商品代码(内部)",
  25400. "type": "string"
  25401. },
  25402. "goodscurrencyid": {
  25403. "description": "合约货币ID",
  25404. "type": "integer"
  25405. },
  25406. "goodsgroupid": {
  25407. "description": "所属商品组ID",
  25408. "type": "integer"
  25409. },
  25410. "goodsid": {
  25411. "description": "商品ID(自增ID SEQ_GOODS)",
  25412. "type": "integer"
  25413. },
  25414. "goodsname": {
  25415. "description": "商品名称",
  25416. "type": "string"
  25417. },
  25418. "goodsquotetype": {
  25419. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25420. "type": "integer"
  25421. },
  25422. "goodsstatus": {
  25423. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25424. "type": "integer"
  25425. },
  25426. "goodstradetype": {
  25427. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25428. "type": "integer"
  25429. },
  25430. "goodunitid": {
  25431. "description": "报价单位ID",
  25432. "type": "integer"
  25433. },
  25434. "hasquoter": {
  25435. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25436. "type": "integer"
  25437. },
  25438. "hqprotecttime": {
  25439. "description": "行情保护时间(秒)",
  25440. "type": "integer"
  25441. },
  25442. "innerdealmode": {
  25443. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25444. "type": "integer"
  25445. },
  25446. "isbuylimited": {
  25447. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25448. "type": "integer"
  25449. },
  25450. "isvisible": {
  25451. "description": "游客是否可见 - 0:不可见 1:可见",
  25452. "type": "integer"
  25453. },
  25454. "lasttradedate": {
  25455. "description": "最后交易日期(状态:待退市)",
  25456. "type": "string"
  25457. },
  25458. "listingdate": {
  25459. "description": "交易开始日期",
  25460. "type": "string"
  25461. },
  25462. "marketid": {
  25463. "description": "所属市场ID",
  25464. "type": "integer"
  25465. },
  25466. "modifierid": {
  25467. "description": "修改人",
  25468. "type": "integer"
  25469. },
  25470. "modifystatus": {
  25471. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25472. "type": "integer"
  25473. },
  25474. "modifytime": {
  25475. "description": "修改时间",
  25476. "type": "string"
  25477. },
  25478. "outerdealmode": {
  25479. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25480. "type": "integer"
  25481. },
  25482. "outgoodscode": {
  25483. "description": "商品代码(外部)",
  25484. "type": "string"
  25485. },
  25486. "pictureurl": {
  25487. "description": "商品图片",
  25488. "type": "string"
  25489. },
  25490. "qtydecimalplace": {
  25491. "description": "成交量小数位",
  25492. "type": "integer"
  25493. },
  25494. "quotegear": {
  25495. "description": "行情档位(1-10)",
  25496. "type": "integer"
  25497. },
  25498. "quoteminunit": {
  25499. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25500. "type": "integer"
  25501. },
  25502. "quoteshowtype": {
  25503. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25504. "type": "integer"
  25505. },
  25506. "quoteshowtypeinterval": {
  25507. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25508. "type": "integer"
  25509. },
  25510. "remark": {
  25511. "description": "备注",
  25512. "type": "string"
  25513. }
  25514. }
  25515. },
  25516. "models.GoodsIDAndName": {
  25517. "type": "object",
  25518. "required": [
  25519. "goodscode",
  25520. "goodsid",
  25521. "goodsname",
  25522. "marketid"
  25523. ],
  25524. "properties": {
  25525. "goodscode": {
  25526. "description": "商品代码(内部)",
  25527. "type": "string"
  25528. },
  25529. "goodsid": {
  25530. "description": "商品ID(自增ID SEQ_GOODS)",
  25531. "type": "integer"
  25532. },
  25533. "goodsname": {
  25534. "description": "商品名称",
  25535. "type": "string"
  25536. },
  25537. "marketid": {
  25538. "description": "所属市场ID",
  25539. "type": "integer"
  25540. }
  25541. }
  25542. },
  25543. "models.Goodsgroup": {
  25544. "type": "object",
  25545. "required": [
  25546. "goodsgroupid",
  25547. "goodsgroupname",
  25548. "goodsgroupstatus",
  25549. "marketid"
  25550. ],
  25551. "properties": {
  25552. "agreeunit": {
  25553. "description": "合约单位",
  25554. "type": "number"
  25555. },
  25556. "canshort": {
  25557. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25558. "type": "integer"
  25559. },
  25560. "closepricemode": {
  25561. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25562. "type": "integer"
  25563. },
  25564. "closepriceparam": {
  25565. "description": "强平最新价浮动比例 - 方式为2时使用",
  25566. "type": "number"
  25567. },
  25568. "createtime": {
  25569. "description": "创建时间",
  25570. "type": "string"
  25571. },
  25572. "creatorid": {
  25573. "description": "创建人",
  25574. "type": "integer"
  25575. },
  25576. "currencyid": {
  25577. "description": "报价货币ID",
  25578. "type": "integer"
  25579. },
  25580. "decimalplace": {
  25581. "description": "报价小数位",
  25582. "type": "integer"
  25583. },
  25584. "exercisetype": {
  25585. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25586. "type": "integer"
  25587. },
  25588. "exexchangeid": {
  25589. "description": "外部交易所ID[通道交易]",
  25590. "type": "integer"
  25591. },
  25592. "goodsgroupid": {
  25593. "description": "商品组ID(自增ID)",
  25594. "type": "integer"
  25595. },
  25596. "goodsgroupname": {
  25597. "description": "商品组名称",
  25598. "type": "string"
  25599. },
  25600. "goodsgroupstatus": {
  25601. "description": "商品组状态 - 1:正常 2:注销",
  25602. "type": "integer"
  25603. },
  25604. "goodunitid": {
  25605. "description": "报价单位ID",
  25606. "type": "integer"
  25607. },
  25608. "innerdealmode": {
  25609. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25610. "type": "integer"
  25611. },
  25612. "isbuylimited": {
  25613. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25614. "type": "integer"
  25615. },
  25616. "marketid": {
  25617. "description": "所属市场ID",
  25618. "type": "integer"
  25619. },
  25620. "modifierid": {
  25621. "description": "修改人",
  25622. "type": "integer"
  25623. },
  25624. "modifytime": {
  25625. "description": "修改时间",
  25626. "type": "string"
  25627. },
  25628. "outerdealmode": {
  25629. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25630. "type": "integer"
  25631. },
  25632. "outergroupcode": {
  25633. "description": "外部商品组代码[通道交易]",
  25634. "type": "string"
  25635. },
  25636. "premiumdecimalplace": {
  25637. "description": "权利金小数位[场外期权]",
  25638. "type": "integer"
  25639. },
  25640. "premiumspreadalgorithm": {
  25641. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25642. "type": "integer"
  25643. },
  25644. "premiumspreadvalue": {
  25645. "description": "权利金点差值[场外期权]",
  25646. "type": "number"
  25647. },
  25648. "qtydecimalplace": {
  25649. "description": "成交量小数位",
  25650. "type": "integer"
  25651. },
  25652. "quotegear": {
  25653. "description": "行情档位(1-10)",
  25654. "type": "integer"
  25655. },
  25656. "quoteminunit": {
  25657. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25658. "type": "integer"
  25659. },
  25660. "quoterid": {
  25661. "description": "报价商ID[场外期权]",
  25662. "type": "integer"
  25663. },
  25664. "quotesourcegroupid": {
  25665. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25666. "type": "integer"
  25667. },
  25668. "syncgoodsqty": {
  25669. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25670. "type": "integer"
  25671. }
  25672. }
  25673. },
  25674. "models.Goodssortbypreposition": {
  25675. "type": "object",
  25676. "required": [
  25677. "goodscode",
  25678. "tradedate"
  25679. ],
  25680. "properties": {
  25681. "goodscode": {
  25682. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25683. "type": "string"
  25684. },
  25685. "goodsgroupcode": {
  25686. "description": "品种代码",
  25687. "type": "string"
  25688. },
  25689. "prepositionqty": {
  25690. "description": "昨持仓量",
  25691. "type": "integer"
  25692. },
  25693. "sortindex": {
  25694. "description": "排序",
  25695. "type": "integer"
  25696. },
  25697. "tradedate": {
  25698. "description": "交易日",
  25699. "type": "string"
  25700. },
  25701. "updatetime": {
  25702. "description": "更新时间",
  25703. "type": "string"
  25704. }
  25705. }
  25706. },
  25707. "models.Hedgeinnerholderdetail": {
  25708. "type": "object",
  25709. "required": [
  25710. "buyorsell",
  25711. "tradeid"
  25712. ],
  25713. "properties": {
  25714. "accountid": {
  25715. "description": "账号ID",
  25716. "type": "integer"
  25717. },
  25718. "buyorsell": {
  25719. "description": "方向 - 0:买 1:卖",
  25720. "type": "integer"
  25721. },
  25722. "freezeqty": {
  25723. "description": "冻结数量 - 按单平使用",
  25724. "type": "integer"
  25725. },
  25726. "goodsid": {
  25727. "description": "商品ID",
  25728. "type": "integer"
  25729. },
  25730. "holderamount": {
  25731. "description": "持仓金额 [商品币种]",
  25732. "type": "number"
  25733. },
  25734. "holderdays": {
  25735. "description": "剩余冻结天数",
  25736. "type": "integer"
  25737. },
  25738. "holderprice": {
  25739. "description": "持仓价格",
  25740. "type": "number"
  25741. },
  25742. "holderqty": {
  25743. "description": "持仓数量",
  25744. "type": "integer"
  25745. },
  25746. "marketid": {
  25747. "description": "市场ID",
  25748. "type": "integer"
  25749. },
  25750. "openprice": {
  25751. "description": "建仓价格",
  25752. "type": "number"
  25753. },
  25754. "openqty": {
  25755. "description": "建仓数量",
  25756. "type": "integer"
  25757. },
  25758. "parentaccountid": {
  25759. "description": "所属母账户",
  25760. "type": "integer"
  25761. },
  25762. "releaseamount": {
  25763. "description": "释放持仓金额[商品币种]",
  25764. "type": "number"
  25765. },
  25766. "tradeamount": {
  25767. "description": "成交金额[账户]",
  25768. "type": "number"
  25769. },
  25770. "tradedate": {
  25771. "description": "交易日(yyyyMMdd)",
  25772. "type": "string"
  25773. },
  25774. "tradeid": {
  25775. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25776. "type": "string"
  25777. },
  25778. "tradetime": {
  25779. "description": "交易时间",
  25780. "type": "string"
  25781. }
  25782. }
  25783. },
  25784. "models.Hedgemarketopenlog": {
  25785. "type": "object",
  25786. "required": [
  25787. "accountid"
  25788. ],
  25789. "properties": {
  25790. "accountid": {
  25791. "description": "资金账号[外部母账户]",
  25792. "type": "integer"
  25793. },
  25794. "fcname": {
  25795. "description": "期货公司名称",
  25796. "type": "string"
  25797. },
  25798. "handlestatus": {
  25799. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25800. "type": "integer"
  25801. },
  25802. "marketid": {
  25803. "description": "市场ID",
  25804. "type": "integer"
  25805. },
  25806. "status": {
  25807. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25808. "type": "integer"
  25809. },
  25810. "tradedate": {
  25811. "description": "交易日(yyyyMMdd)",
  25812. "type": "string"
  25813. },
  25814. "updatetime": {
  25815. "description": "更新时间",
  25816. "type": "string"
  25817. }
  25818. }
  25819. },
  25820. "models.HsbyBuyMyPayOrder": {
  25821. "type": "object",
  25822. "required": [
  25823. "goodscode",
  25824. "goodsname",
  25825. "tradeid",
  25826. "trademode"
  25827. ],
  25828. "properties": {
  25829. "agreeunit": {
  25830. "description": "合约单位",
  25831. "type": "number"
  25832. },
  25833. "buyaccountid": {
  25834. "description": "买方账号ID[报价币种]",
  25835. "type": "integer"
  25836. },
  25837. "buyorderid": {
  25838. "description": "买方委托单号",
  25839. "type": "string"
  25840. },
  25841. "createtime": {
  25842. "description": "创建时间",
  25843. "type": "string"
  25844. },
  25845. "currencysign": {
  25846. "description": "货币符号",
  25847. "type": "string"
  25848. },
  25849. "decimalplace": {
  25850. "description": "报价小数位",
  25851. "type": "integer"
  25852. },
  25853. "goodscode": {
  25854. "description": "商品代码(内部)",
  25855. "type": "string"
  25856. },
  25857. "goodsid": {
  25858. "description": "商品ID",
  25859. "type": "integer"
  25860. },
  25861. "goodsname": {
  25862. "description": "商品名称",
  25863. "type": "string"
  25864. },
  25865. "marketid": {
  25866. "description": "市场ID",
  25867. "type": "integer"
  25868. },
  25869. "offamount": {
  25870. "description": "优惠金额",
  25871. "type": "number"
  25872. },
  25873. "originalamount": {
  25874. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25875. "type": "number"
  25876. },
  25877. "payamount": {
  25878. "description": "支付金额 = TradeAmount + TradeCharge",
  25879. "type": "number"
  25880. },
  25881. "payflag": {
  25882. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25883. "type": "integer"
  25884. },
  25885. "paylimitedtime": {
  25886. "description": "支付期限",
  25887. "type": "string"
  25888. },
  25889. "paytime": {
  25890. "description": "付款时间",
  25891. "type": "string"
  25892. },
  25893. "picurls1": {
  25894. "description": "预售商品介绍图片[多张用逗号分隔]",
  25895. "type": "string"
  25896. },
  25897. "picurls2": {
  25898. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25899. "type": "string"
  25900. },
  25901. "sellaccountid": {
  25902. "description": "卖方账号ID[报价币种]",
  25903. "type": "integer"
  25904. },
  25905. "sellorderid": {
  25906. "description": "卖方委托单号",
  25907. "type": "string"
  25908. },
  25909. "tradeamount": {
  25910. "description": "成交金额",
  25911. "type": "number"
  25912. },
  25913. "tradecharge": {
  25914. "description": "成交手续费(买方)",
  25915. "type": "number"
  25916. },
  25917. "tradedate": {
  25918. "description": "交易日(yyyyMMdd)",
  25919. "type": "string"
  25920. },
  25921. "tradeid": {
  25922. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25923. "type": "string"
  25924. },
  25925. "trademode": {
  25926. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25927. "type": "integer"
  25928. },
  25929. "tradeprice": {
  25930. "description": "成交价格",
  25931. "type": "number"
  25932. },
  25933. "tradeqty": {
  25934. "description": "成交数量",
  25935. "type": "integer"
  25936. },
  25937. "vendorname1": {
  25938. "description": "预售商品供应商名称",
  25939. "type": "string"
  25940. },
  25941. "vendorname2": {
  25942. "description": "挂牌商品供应商名称",
  25943. "type": "string"
  25944. }
  25945. }
  25946. },
  25947. "models.HsbyBuyMyTradeDetail": {
  25948. "type": "object",
  25949. "required": [
  25950. "accountid",
  25951. "buyorsell",
  25952. "goodscode",
  25953. "goodsid",
  25954. "goodsname",
  25955. "marketid",
  25956. "orderid",
  25957. "qty",
  25958. "time",
  25959. "trademode"
  25960. ],
  25961. "properties": {
  25962. "accountid": {
  25963. "description": "账户ID[报价币种]",
  25964. "type": "integer"
  25965. },
  25966. "agreeunit": {
  25967. "description": "合约单位",
  25968. "type": "number"
  25969. },
  25970. "amount": {
  25971. "description": "金额 = 价格 * 数量 * 合约单位",
  25972. "type": "number"
  25973. },
  25974. "buyorsell": {
  25975. "description": "买卖 - 0:买 1:卖",
  25976. "type": "integer"
  25977. },
  25978. "currencysign": {
  25979. "description": "货币符号",
  25980. "type": "string"
  25981. },
  25982. "decimalplace": {
  25983. "description": "报价小数位",
  25984. "type": "integer"
  25985. },
  25986. "goodscode": {
  25987. "description": "商品代码(内部)",
  25988. "type": "string"
  25989. },
  25990. "goodsid": {
  25991. "description": "商品ID",
  25992. "type": "integer"
  25993. },
  25994. "goodsname": {
  25995. "description": "商品名称",
  25996. "type": "string"
  25997. },
  25998. "marketid": {
  25999. "description": "市场ID",
  26000. "type": "integer"
  26001. },
  26002. "orderamount": {
  26003. "description": "委托金额",
  26004. "type": "number"
  26005. },
  26006. "orderid": {
  26007. "description": "单号(成交单号)",
  26008. "type": "string"
  26009. },
  26010. "picurls1": {
  26011. "description": "预售商品介绍图片[多张用逗号分隔]",
  26012. "type": "string"
  26013. },
  26014. "picurls2": {
  26015. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26016. "type": "string"
  26017. },
  26018. "price": {
  26019. "description": "价格",
  26020. "type": "number"
  26021. },
  26022. "qty": {
  26023. "description": "数量",
  26024. "type": "integer"
  26025. },
  26026. "time": {
  26027. "description": "时间",
  26028. "type": "string"
  26029. },
  26030. "trademode": {
  26031. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26032. "type": "integer"
  26033. },
  26034. "vendorname1": {
  26035. "description": "预售商品供应商名称",
  26036. "type": "string"
  26037. },
  26038. "vendorname2": {
  26039. "description": "挂牌商品供应商名称",
  26040. "type": "string"
  26041. }
  26042. }
  26043. },
  26044. "models.HsbyGoodsOrderDetail": {
  26045. "type": "object",
  26046. "required": [
  26047. "buyorsell",
  26048. "orderid",
  26049. "ordertime"
  26050. ],
  26051. "properties": {
  26052. "buyorsell": {
  26053. "description": "买卖 - 0:买 1:卖",
  26054. "type": "integer"
  26055. },
  26056. "currencysign": {
  26057. "description": "货币符号",
  26058. "type": "string"
  26059. },
  26060. "customername": {
  26061. "description": "客户名称(企业名称),已脱敏",
  26062. "type": "string"
  26063. },
  26064. "enableqty": {
  26065. "description": "可用数量",
  26066. "type": "integer"
  26067. },
  26068. "goodunit": {
  26069. "description": "报价单位",
  26070. "type": "string"
  26071. },
  26072. "orderid": {
  26073. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26074. "type": "string"
  26075. },
  26076. "orderprice": {
  26077. "description": "委托价格",
  26078. "type": "number"
  26079. },
  26080. "ordertime": {
  26081. "description": "委托时间",
  26082. "type": "string"
  26083. }
  26084. }
  26085. },
  26086. "models.HsbyListingGoodsDetail": {
  26087. "type": "object",
  26088. "required": [
  26089. "goodscode",
  26090. "goodsid",
  26091. "goodsname",
  26092. "marketid",
  26093. "trademode"
  26094. ],
  26095. "properties": {
  26096. "agreeunit": {
  26097. "description": "合约单位",
  26098. "type": "number"
  26099. },
  26100. "buymaxqty": {
  26101. "description": "购买上限 [71] - 0为不限",
  26102. "type": "integer"
  26103. },
  26104. "currency": {
  26105. "description": "货币",
  26106. "type": "string"
  26107. },
  26108. "currencysign": {
  26109. "description": "货币符号",
  26110. "type": "string"
  26111. },
  26112. "decimalplace": {
  26113. "description": "报价小数位",
  26114. "type": "integer"
  26115. },
  26116. "desccityid": {
  26117. "description": "目的地(市)ID",
  26118. "type": "integer"
  26119. },
  26120. "descprovinceid": {
  26121. "description": "目的地(省)ID",
  26122. "type": "integer"
  26123. },
  26124. "goodscode": {
  26125. "description": "商品代码(内部)",
  26126. "type": "string"
  26127. },
  26128. "goodsdesc": {
  26129. "description": "商品详情",
  26130. "type": "string"
  26131. },
  26132. "goodsid": {
  26133. "description": "商品ID(自增ID SEQ_GOODS)",
  26134. "type": "integer"
  26135. },
  26136. "goodsname": {
  26137. "description": "商品名称",
  26138. "type": "string"
  26139. },
  26140. "goodsprice": {
  26141. "description": "商品价格",
  26142. "type": "number"
  26143. },
  26144. "hotindex": {
  26145. "description": "景点热度",
  26146. "type": "integer"
  26147. },
  26148. "last": {
  26149. "description": "现价",
  26150. "type": "number"
  26151. },
  26152. "limitdown": {
  26153. "description": "跌停价",
  26154. "type": "number"
  26155. },
  26156. "limitup": {
  26157. "description": "涨停价",
  26158. "type": "number"
  26159. },
  26160. "lotsize": {
  26161. "description": "手数最小变动单位",
  26162. "type": "integer"
  26163. },
  26164. "marketid": {
  26165. "description": "所属市场ID",
  26166. "type": "integer"
  26167. },
  26168. "picurls": {
  26169. "description": "介绍图片[多张用逗号分隔]",
  26170. "type": "string"
  26171. },
  26172. "quoteminunit": {
  26173. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26174. "type": "integer"
  26175. },
  26176. "stepvalue": {
  26177. "description": "价格最小变动单位",
  26178. "type": "number"
  26179. },
  26180. "trademode": {
  26181. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26182. "type": "integer"
  26183. },
  26184. "vendorattr": {
  26185. "description": "供应商附件(多张,逗号分隔)",
  26186. "type": "string"
  26187. },
  26188. "vendorname": {
  26189. "description": "供应商名称",
  26190. "type": "string"
  26191. },
  26192. "vendorphone": {
  26193. "description": "供应商客服电话",
  26194. "type": "string"
  26195. },
  26196. "videourls": {
  26197. "description": "介绍视频[多张用逗号分隔]",
  26198. "type": "string"
  26199. }
  26200. }
  26201. },
  26202. "models.HsbyMarketGoods": {
  26203. "type": "object",
  26204. "required": [
  26205. "accountid",
  26206. "buyorsell",
  26207. "goodscode",
  26208. "goodsid",
  26209. "goodsname",
  26210. "marketid",
  26211. "orderid",
  26212. "trademode"
  26213. ],
  26214. "properties": {
  26215. "accountid": {
  26216. "description": "账户ID[报价币种]",
  26217. "type": "integer"
  26218. },
  26219. "agreeunit": {
  26220. "description": "合约单位",
  26221. "type": "number"
  26222. },
  26223. "buyorsell": {
  26224. "description": "买卖 - 0:买 1:卖",
  26225. "type": "integer"
  26226. },
  26227. "categoryid": {
  26228. "description": "类别ID(WRCATEGORY)",
  26229. "type": "integer"
  26230. },
  26231. "currency": {
  26232. "description": "货币",
  26233. "type": "string"
  26234. },
  26235. "currencysign": {
  26236. "description": "货币符号",
  26237. "type": "string"
  26238. },
  26239. "customername": {
  26240. "description": "卖家名称",
  26241. "type": "string"
  26242. },
  26243. "decimalplace": {
  26244. "description": "报价小数位",
  26245. "type": "integer"
  26246. },
  26247. "goodscode": {
  26248. "description": "商品代码(内部)",
  26249. "type": "string"
  26250. },
  26251. "goodsid": {
  26252. "description": "商品ID",
  26253. "type": "integer"
  26254. },
  26255. "goodsname": {
  26256. "description": "商品名称",
  26257. "type": "string"
  26258. },
  26259. "goodsprice": {
  26260. "description": "商品价格",
  26261. "type": "number"
  26262. },
  26263. "hascoupon": {
  26264. "description": "是否可用优惠卷",
  26265. "type": "boolean"
  26266. },
  26267. "hotindex": {
  26268. "description": "景点热度",
  26269. "type": "integer"
  26270. },
  26271. "marketid": {
  26272. "description": "市场ID",
  26273. "type": "integer"
  26274. },
  26275. "orderid": {
  26276. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26277. "type": "string"
  26278. },
  26279. "orderprice": {
  26280. "description": "委托价格",
  26281. "type": "number"
  26282. },
  26283. "orderstatus": {
  26284. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26285. "type": "integer"
  26286. },
  26287. "picurls": {
  26288. "description": "介绍图片[多张用逗号分隔]",
  26289. "type": "string"
  26290. },
  26291. "quoteminunit": {
  26292. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26293. "type": "integer"
  26294. },
  26295. "sellUserID": {
  26296. "description": "卖方UserID",
  26297. "type": "integer"
  26298. },
  26299. "trademode": {
  26300. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26301. "type": "integer"
  26302. },
  26303. "videourls": {
  26304. "description": "介绍视频[多张用逗号分隔]",
  26305. "type": "string"
  26306. }
  26307. }
  26308. },
  26309. "models.HsbyMarketGoodsDetail": {
  26310. "type": "object",
  26311. "required": [
  26312. "accountid",
  26313. "buyorsell",
  26314. "goodscode",
  26315. "goodsid",
  26316. "goodsname",
  26317. "marketid",
  26318. "orderid",
  26319. "orderqty",
  26320. "trademode"
  26321. ],
  26322. "properties": {
  26323. "accountid": {
  26324. "description": "账户ID[报价币种]",
  26325. "type": "integer"
  26326. },
  26327. "agreeunit": {
  26328. "description": "合约单位",
  26329. "type": "number"
  26330. },
  26331. "buymaxqty": {
  26332. "description": "购买上限 [71] - 0为不限",
  26333. "type": "integer"
  26334. },
  26335. "buyorsell": {
  26336. "description": "买卖 - 0:买 1:卖",
  26337. "type": "integer"
  26338. },
  26339. "cancelqty": {
  26340. "description": "撤单数量",
  26341. "type": "integer"
  26342. },
  26343. "categoryid": {
  26344. "description": "类别ID(WRCATEGORY)",
  26345. "type": "integer"
  26346. },
  26347. "currency": {
  26348. "description": "货币",
  26349. "type": "string"
  26350. },
  26351. "currencysign": {
  26352. "description": "货币符号",
  26353. "type": "string"
  26354. },
  26355. "customername": {
  26356. "description": "卖家名称",
  26357. "type": "string"
  26358. },
  26359. "decimalplace": {
  26360. "description": "报价小数位",
  26361. "type": "integer"
  26362. },
  26363. "goodscode": {
  26364. "description": "商品代码(内部)",
  26365. "type": "string"
  26366. },
  26367. "goodsdesc": {
  26368. "description": "商品详情",
  26369. "type": "string"
  26370. },
  26371. "goodsid": {
  26372. "description": "商品ID",
  26373. "type": "integer"
  26374. },
  26375. "goodsname": {
  26376. "description": "商品名称",
  26377. "type": "string"
  26378. },
  26379. "goodsprice": {
  26380. "description": "商品价格",
  26381. "type": "number"
  26382. },
  26383. "hotindex": {
  26384. "description": "景点热度",
  26385. "type": "integer"
  26386. },
  26387. "lotsize": {
  26388. "description": "手数最小变动单位",
  26389. "type": "integer"
  26390. },
  26391. "marketid": {
  26392. "description": "市场ID",
  26393. "type": "integer"
  26394. },
  26395. "orderid": {
  26396. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26397. "type": "string"
  26398. },
  26399. "orderprice": {
  26400. "description": "委托价格",
  26401. "type": "number"
  26402. },
  26403. "orderqty": {
  26404. "description": "委托数量",
  26405. "type": "integer"
  26406. },
  26407. "orderstatus": {
  26408. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26409. "type": "integer"
  26410. },
  26411. "picurls": {
  26412. "description": "介绍图片[多张用逗号分隔]",
  26413. "type": "string"
  26414. },
  26415. "quoteminunit": {
  26416. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26417. "type": "integer"
  26418. },
  26419. "sellUserID": {
  26420. "description": "卖方UserID",
  26421. "type": "integer"
  26422. },
  26423. "trademode": {
  26424. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26425. "type": "integer"
  26426. },
  26427. "tradeqty": {
  26428. "description": "成交数量",
  26429. "type": "integer"
  26430. },
  26431. "vendorattr": {
  26432. "description": "供应商附件(多张,逗号分隔)",
  26433. "type": "string"
  26434. },
  26435. "vendorname": {
  26436. "description": "供应商名称",
  26437. "type": "string"
  26438. },
  26439. "vendorphone": {
  26440. "description": "供应商客服电话",
  26441. "type": "string"
  26442. },
  26443. "videourls": {
  26444. "description": "介绍视频[多张用逗号分隔]",
  26445. "type": "string"
  26446. }
  26447. }
  26448. },
  26449. "models.HsbyMarketInfo": {
  26450. "type": "object",
  26451. "required": [
  26452. "marketid",
  26453. "marketstatus",
  26454. "trademode"
  26455. ],
  26456. "properties": {
  26457. "marketid": {
  26458. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26459. "type": "integer"
  26460. },
  26461. "marketname": {
  26462. "description": "市场名称",
  26463. "type": "string"
  26464. },
  26465. "marketstatus": {
  26466. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26467. "type": "integer"
  26468. },
  26469. "trademode": {
  26470. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26471. "type": "integer"
  26472. }
  26473. }
  26474. },
  26475. "models.HsbyMyGoods": {
  26476. "type": "object",
  26477. "required": [
  26478. "accountid",
  26479. "goodscode",
  26480. "goodsid",
  26481. "goodsname",
  26482. "marketid",
  26483. "trademode"
  26484. ],
  26485. "properties": {
  26486. "accountid": {
  26487. "description": "账号Id",
  26488. "type": "integer"
  26489. },
  26490. "agreeunit": {
  26491. "description": "合约单位",
  26492. "type": "number"
  26493. },
  26494. "buyaverageprice": {
  26495. "description": "持仓均价",
  26496. "type": "number"
  26497. },
  26498. "buycurholderamount": {
  26499. "description": "买当前持仓总金额[商品币种]",
  26500. "type": "number"
  26501. },
  26502. "buycurpositionqty": {
  26503. "description": "买当前持仓总数量",
  26504. "type": "integer"
  26505. },
  26506. "buymaxqty": {
  26507. "description": "购买上限 [71] - 0为不限",
  26508. "type": "integer"
  26509. },
  26510. "currencysign": {
  26511. "description": "货币符号",
  26512. "type": "string"
  26513. },
  26514. "decimalplace": {
  26515. "description": "报价小数位",
  26516. "type": "integer"
  26517. },
  26518. "enableqty": {
  26519. "description": "可用数量",
  26520. "type": "integer"
  26521. },
  26522. "goodscode": {
  26523. "description": "商品代码(内部)",
  26524. "type": "string"
  26525. },
  26526. "goodsid": {
  26527. "description": "商品Id",
  26528. "type": "integer"
  26529. },
  26530. "goodsname": {
  26531. "description": "商品名称",
  26532. "type": "string"
  26533. },
  26534. "goodsprice": {
  26535. "description": "商品价格",
  26536. "type": "number"
  26537. },
  26538. "goodsstatus": {
  26539. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26540. "type": "integer"
  26541. },
  26542. "last": {
  26543. "description": "现价(仅使用于挂牌点选)",
  26544. "type": "number"
  26545. },
  26546. "limitdown": {
  26547. "description": "跌停价(仅使用于挂牌点选)",
  26548. "type": "number"
  26549. },
  26550. "limitup": {
  26551. "description": "涨停价(仅使用于挂牌点选)",
  26552. "type": "number"
  26553. },
  26554. "lotsize": {
  26555. "description": "手数最小变动单位",
  26556. "type": "integer"
  26557. },
  26558. "marketid": {
  26559. "description": "所属市场ID",
  26560. "type": "integer"
  26561. },
  26562. "picurls": {
  26563. "description": "介绍图片[多张用逗号分隔]",
  26564. "type": "string"
  26565. },
  26566. "quoteminunit": {
  26567. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26568. "type": "integer"
  26569. },
  26570. "stepvalue": {
  26571. "description": "价格最小变动单位",
  26572. "type": "number"
  26573. },
  26574. "trademode": {
  26575. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26576. "type": "integer"
  26577. }
  26578. }
  26579. },
  26580. "models.HsbyMyPackage": {
  26581. "type": "object",
  26582. "required": [
  26583. "goodscode",
  26584. "goodsname",
  26585. "takeorderid",
  26586. "trademode"
  26587. ],
  26588. "properties": {
  26589. "accountid": {
  26590. "description": "账户ID",
  26591. "type": "integer"
  26592. },
  26593. "address": {
  26594. "description": "提货人详细地址",
  26595. "type": "string"
  26596. },
  26597. "agreeunit": {
  26598. "description": "合约单位",
  26599. "type": "number"
  26600. },
  26601. "amount": {
  26602. "description": "提货金额",
  26603. "type": "number"
  26604. },
  26605. "auditer": {
  26606. "description": "审核人",
  26607. "type": "integer"
  26608. },
  26609. "audittime": {
  26610. "description": "审核时间",
  26611. "type": "string"
  26612. },
  26613. "averageprice": {
  26614. "description": "均价",
  26615. "type": "number"
  26616. },
  26617. "cardnum": {
  26618. "description": "提货人证件号码",
  26619. "type": "string"
  26620. },
  26621. "cardtypeid": {
  26622. "description": "提货人证件类型",
  26623. "type": "integer"
  26624. },
  26625. "checkremark": {
  26626. "description": "审核备注",
  26627. "type": "string"
  26628. },
  26629. "currencysign": {
  26630. "description": "货币符号",
  26631. "type": "string"
  26632. },
  26633. "decimalplace": {
  26634. "description": "报价小数位",
  26635. "type": "integer"
  26636. },
  26637. "goodscode": {
  26638. "description": "商品代码(内部)",
  26639. "type": "string"
  26640. },
  26641. "goodsid": {
  26642. "description": "商品ID",
  26643. "type": "integer"
  26644. },
  26645. "goodsname": {
  26646. "description": "商品名称",
  26647. "type": "string"
  26648. },
  26649. "handlestatus": {
  26650. "description": "处理状态",
  26651. "type": "integer"
  26652. },
  26653. "marketid": {
  26654. "description": "市场ID",
  26655. "type": "integer"
  26656. },
  26657. "phonenum": {
  26658. "description": "提货人联系方式",
  26659. "type": "string"
  26660. },
  26661. "picurls": {
  26662. "description": "介绍图片[多张用逗号分隔]",
  26663. "type": "string"
  26664. },
  26665. "qty": {
  26666. "description": "提货数量",
  26667. "type": "number"
  26668. },
  26669. "recivername": {
  26670. "description": "提货人姓名",
  26671. "type": "string"
  26672. },
  26673. "reqtime": {
  26674. "description": "更新时间",
  26675. "type": "string"
  26676. },
  26677. "takemode": {
  26678. "description": "提货方式 - 2:自提 3:配送",
  26679. "type": "integer"
  26680. },
  26681. "takeorderid": {
  26682. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26683. "type": "string"
  26684. },
  26685. "takeorderstatus": {
  26686. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26687. "type": "integer"
  26688. },
  26689. "takeremark": {
  26690. "description": "提货备注",
  26691. "type": "string"
  26692. },
  26693. "tradedate": {
  26694. "description": "交易日(yyyyMMdd)",
  26695. "type": "string"
  26696. },
  26697. "trademode": {
  26698. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26699. "type": "integer"
  26700. },
  26701. "userid": {
  26702. "description": "用户ID",
  26703. "type": "integer"
  26704. },
  26705. "vendorname": {
  26706. "description": "供应商名称",
  26707. "type": "string"
  26708. }
  26709. }
  26710. },
  26711. "models.HsbyPreGoods": {
  26712. "type": "object",
  26713. "required": [
  26714. "goodscode",
  26715. "goodsid",
  26716. "goodsname",
  26717. "marketid",
  26718. "trademode"
  26719. ],
  26720. "properties": {
  26721. "agreeunit": {
  26722. "description": "合约单位",
  26723. "type": "number"
  26724. },
  26725. "currency": {
  26726. "description": "货币",
  26727. "type": "string"
  26728. },
  26729. "currencysign": {
  26730. "description": "货币符号",
  26731. "type": "string"
  26732. },
  26733. "decimalplace": {
  26734. "description": "报价小数位",
  26735. "type": "integer"
  26736. },
  26737. "desccityid": {
  26738. "description": "目的地(市)",
  26739. "type": "integer"
  26740. },
  26741. "descprovinceid": {
  26742. "description": "目的地(省)",
  26743. "type": "integer"
  26744. },
  26745. "enableqty": {
  26746. "description": "剩余数量",
  26747. "type": "integer"
  26748. },
  26749. "goodscode": {
  26750. "description": "商品代码(内部)",
  26751. "type": "string"
  26752. },
  26753. "goodsid": {
  26754. "description": "商品ID(自增ID SEQ_GOODS)",
  26755. "type": "integer"
  26756. },
  26757. "goodsname": {
  26758. "description": "商品名称",
  26759. "type": "string"
  26760. },
  26761. "goodsstatus": {
  26762. "description": "商品状态- 2:未上市 3:上市",
  26763. "type": "integer"
  26764. },
  26765. "lasttradedate": {
  26766. "description": "最后交易日期(状态:待退市)",
  26767. "type": "string"
  26768. },
  26769. "listingdate": {
  26770. "description": "交易开始日期",
  26771. "type": "string"
  26772. },
  26773. "marketid": {
  26774. "description": "所属市场ID",
  26775. "type": "integer"
  26776. },
  26777. "picurls": {
  26778. "description": "介绍图片[多张用逗号分隔]",
  26779. "type": "string"
  26780. },
  26781. "presaledqty": {
  26782. "description": "已预售量(预售结束时更新)",
  26783. "type": "integer"
  26784. },
  26785. "presaleqty": {
  26786. "description": "预售数量",
  26787. "type": "integer"
  26788. },
  26789. "quoteminunit": {
  26790. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26791. "type": "integer"
  26792. },
  26793. "refprice": {
  26794. "description": "参考价格[一口价]",
  26795. "type": "number"
  26796. },
  26797. "relatedgoodsid": {
  26798. "description": "关联交易合约ID",
  26799. "type": "integer"
  26800. },
  26801. "trademode": {
  26802. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26803. "type": "integer"
  26804. },
  26805. "videourls": {
  26806. "description": "介绍视频[多张用逗号分隔]",
  26807. "type": "string"
  26808. }
  26809. }
  26810. },
  26811. "models.HsbyPreGoodsDetail": {
  26812. "type": "object",
  26813. "required": [
  26814. "goodscode",
  26815. "goodsid",
  26816. "goodsname",
  26817. "marketid",
  26818. "trademode"
  26819. ],
  26820. "properties": {
  26821. "agreeunit": {
  26822. "description": "合约单位",
  26823. "type": "number"
  26824. },
  26825. "buymaxqty": {
  26826. "description": "购买上限 [71] - 0为不限",
  26827. "type": "integer"
  26828. },
  26829. "currency": {
  26830. "description": "货币",
  26831. "type": "string"
  26832. },
  26833. "currencysign": {
  26834. "description": "货币符号",
  26835. "type": "string"
  26836. },
  26837. "customername": {
  26838. "description": "发行单位",
  26839. "type": "string"
  26840. },
  26841. "decimalplace": {
  26842. "description": "报价小数位",
  26843. "type": "integer"
  26844. },
  26845. "desccityid": {
  26846. "description": "目的地(市)ID",
  26847. "type": "integer"
  26848. },
  26849. "descprovinceid": {
  26850. "description": "目的地(省)ID",
  26851. "type": "integer"
  26852. },
  26853. "enableqty": {
  26854. "description": "剩余数量",
  26855. "type": "integer"
  26856. },
  26857. "goodscode": {
  26858. "description": "商品代码(内部)",
  26859. "type": "string"
  26860. },
  26861. "goodsdesc": {
  26862. "description": "商品详情",
  26863. "type": "string"
  26864. },
  26865. "goodsid": {
  26866. "description": "商品ID(自增ID SEQ_GOODS)",
  26867. "type": "integer"
  26868. },
  26869. "goodsname": {
  26870. "description": "商品名称",
  26871. "type": "string"
  26872. },
  26873. "goodsstatus": {
  26874. "description": "商品状态- 2:未上市 3:上市",
  26875. "type": "integer"
  26876. },
  26877. "goodunit": {
  26878. "description": "报价单位",
  26879. "type": "string"
  26880. },
  26881. "lasttradedate": {
  26882. "description": "最后交易日期(状态:待退市)",
  26883. "type": "string"
  26884. },
  26885. "listingdate": {
  26886. "description": "交易开始日期",
  26887. "type": "string"
  26888. },
  26889. "lotsize": {
  26890. "description": "手数最小变动单位",
  26891. "type": "integer"
  26892. },
  26893. "marketid": {
  26894. "description": "所属市场ID",
  26895. "type": "integer"
  26896. },
  26897. "picurls": {
  26898. "description": "介绍图片[多张用逗号分隔]",
  26899. "type": "string"
  26900. },
  26901. "presaledqty": {
  26902. "description": "已预售量(预售结束时更新)",
  26903. "type": "integer"
  26904. },
  26905. "presaleqty": {
  26906. "description": "预售数量",
  26907. "type": "integer"
  26908. },
  26909. "quoteminunit": {
  26910. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26911. "type": "integer"
  26912. },
  26913. "refprice": {
  26914. "description": "参考价格[一口价]",
  26915. "type": "number"
  26916. },
  26917. "relatedgoodsid": {
  26918. "description": "关联交易合约ID",
  26919. "type": "integer"
  26920. },
  26921. "stepvalue": {
  26922. "description": "价格最小变动单位",
  26923. "type": "number"
  26924. },
  26925. "trademode": {
  26926. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26927. "type": "integer"
  26928. },
  26929. "vendorattr": {
  26930. "description": "供应商附件(多张,逗号分隔)",
  26931. "type": "string"
  26932. },
  26933. "vendorname": {
  26934. "description": "供应商名称",
  26935. "type": "string"
  26936. },
  26937. "vendorphone": {
  26938. "description": "供应商客服电话",
  26939. "type": "string"
  26940. },
  26941. "videourls": {
  26942. "description": "介绍视频[多张用逗号分隔]",
  26943. "type": "string"
  26944. }
  26945. }
  26946. },
  26947. "models.HsbySellCollectionOrder": {
  26948. "type": "object",
  26949. "required": [
  26950. "goodscode",
  26951. "goodsname",
  26952. "tradeid",
  26953. "trademode"
  26954. ],
  26955. "properties": {
  26956. "agreeunit": {
  26957. "description": "合约单位",
  26958. "type": "number"
  26959. },
  26960. "buyaccountid": {
  26961. "description": "买方账号ID[报价币种]",
  26962. "type": "integer"
  26963. },
  26964. "buyorderid": {
  26965. "description": "买方委托单号",
  26966. "type": "string"
  26967. },
  26968. "createtime": {
  26969. "description": "创建时间",
  26970. "type": "string"
  26971. },
  26972. "currencysign": {
  26973. "description": "货币符号",
  26974. "type": "string"
  26975. },
  26976. "decimalplace": {
  26977. "description": "报价小数位",
  26978. "type": "integer"
  26979. },
  26980. "goodscode": {
  26981. "description": "商品代码(内部)",
  26982. "type": "string"
  26983. },
  26984. "goodsid": {
  26985. "description": "商品ID",
  26986. "type": "integer"
  26987. },
  26988. "goodsname": {
  26989. "description": "商品名称",
  26990. "type": "string"
  26991. },
  26992. "marketid": {
  26993. "description": "市场ID",
  26994. "type": "integer"
  26995. },
  26996. "offamount": {
  26997. "description": "优惠金额",
  26998. "type": "number"
  26999. },
  27000. "payamount": {
  27001. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  27002. "type": "number"
  27003. },
  27004. "payflag": {
  27005. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27006. "type": "integer"
  27007. },
  27008. "paylimitedtime": {
  27009. "description": "支付期限",
  27010. "type": "string"
  27011. },
  27012. "paytime": {
  27013. "description": "付款时间",
  27014. "type": "string"
  27015. },
  27016. "picurls": {
  27017. "description": "商品介绍图片[多张用逗号分隔]",
  27018. "type": "string"
  27019. },
  27020. "sellaccountid": {
  27021. "description": "卖方账号ID[报价币种]",
  27022. "type": "integer"
  27023. },
  27024. "sellorderid": {
  27025. "description": "卖方委托单号",
  27026. "type": "string"
  27027. },
  27028. "tradeamount": {
  27029. "description": "成交金额",
  27030. "type": "number"
  27031. },
  27032. "tradecharge": {
  27033. "description": "成交手续费(买方)",
  27034. "type": "number"
  27035. },
  27036. "tradedate": {
  27037. "description": "交易日(yyyyMMdd)",
  27038. "type": "string"
  27039. },
  27040. "tradeid": {
  27041. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27042. "type": "string"
  27043. },
  27044. "trademode": {
  27045. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27046. "type": "integer"
  27047. },
  27048. "tradeprice": {
  27049. "description": "成交价格",
  27050. "type": "number"
  27051. },
  27052. "tradeqty": {
  27053. "description": "成交数量",
  27054. "type": "integer"
  27055. }
  27056. }
  27057. },
  27058. "models.HsbySellMyDetail": {
  27059. "type": "object",
  27060. "required": [
  27061. "accountid",
  27062. "buyorsell",
  27063. "goodscode",
  27064. "goodsid",
  27065. "goodsname",
  27066. "marketid",
  27067. "orderid",
  27068. "time",
  27069. "trademode"
  27070. ],
  27071. "properties": {
  27072. "accountid": {
  27073. "description": "账户ID[报价币种]",
  27074. "type": "integer"
  27075. },
  27076. "agreeunit": {
  27077. "description": "合约单位",
  27078. "type": "number"
  27079. },
  27080. "buyorsell": {
  27081. "description": "买卖 - 0:买 1:卖",
  27082. "type": "integer"
  27083. },
  27084. "currencysign": {
  27085. "description": "货币符号",
  27086. "type": "string"
  27087. },
  27088. "decimalplace": {
  27089. "description": "报价小数位",
  27090. "type": "integer"
  27091. },
  27092. "goodscode": {
  27093. "description": "商品代码(内部)",
  27094. "type": "string"
  27095. },
  27096. "goodsid": {
  27097. "description": "商品ID",
  27098. "type": "integer"
  27099. },
  27100. "goodsname": {
  27101. "description": "商品名称",
  27102. "type": "string"
  27103. },
  27104. "marketid": {
  27105. "description": "市场ID",
  27106. "type": "integer"
  27107. },
  27108. "orderid": {
  27109. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  27110. "type": "string"
  27111. },
  27112. "ordertype": {
  27113. "description": "单据类型:0 - 发布中, 1 - 已完成",
  27114. "type": "integer"
  27115. },
  27116. "picurls": {
  27117. "description": "介绍图片[多张用逗号分隔]",
  27118. "type": "string"
  27119. },
  27120. "price": {
  27121. "description": "价格",
  27122. "type": "number"
  27123. },
  27124. "qty": {
  27125. "description": "数量",
  27126. "type": "integer"
  27127. },
  27128. "time": {
  27129. "description": "时间",
  27130. "type": "string"
  27131. },
  27132. "trademode": {
  27133. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27134. "type": "integer"
  27135. },
  27136. "vendorname": {
  27137. "description": "供应商名称",
  27138. "type": "string"
  27139. }
  27140. }
  27141. },
  27142. "models.HsbyTopGoods": {
  27143. "type": "object",
  27144. "required": [
  27145. "goodscode",
  27146. "goodsid",
  27147. "goodsname",
  27148. "marketid",
  27149. "trademode"
  27150. ],
  27151. "properties": {
  27152. "agreeunit": {
  27153. "description": "合约单位",
  27154. "type": "number"
  27155. },
  27156. "currency": {
  27157. "description": "货币",
  27158. "type": "string"
  27159. },
  27160. "currencysign": {
  27161. "description": "货币符号",
  27162. "type": "string"
  27163. },
  27164. "decimalplace": {
  27165. "description": "报价小数位",
  27166. "type": "integer"
  27167. },
  27168. "desccityid": {
  27169. "description": "目的地(市)",
  27170. "type": "integer"
  27171. },
  27172. "descprovinceid": {
  27173. "description": "目的地(省)",
  27174. "type": "integer"
  27175. },
  27176. "goodscode": {
  27177. "description": "商品代码(内部)",
  27178. "type": "string"
  27179. },
  27180. "goodsid": {
  27181. "description": "商品ID(自增ID SEQ_GOODS)",
  27182. "type": "integer"
  27183. },
  27184. "goodsname": {
  27185. "description": "商品名称",
  27186. "type": "string"
  27187. },
  27188. "hotindex": {
  27189. "description": "景点热度",
  27190. "type": "integer"
  27191. },
  27192. "last": {
  27193. "description": "现价",
  27194. "type": "number"
  27195. },
  27196. "marketid": {
  27197. "description": "所属市场ID",
  27198. "type": "integer"
  27199. },
  27200. "picurls": {
  27201. "description": "介绍图片[多张用逗号分隔]",
  27202. "type": "string"
  27203. },
  27204. "quoteminunit": {
  27205. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27206. "type": "integer"
  27207. },
  27208. "trademode": {
  27209. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27210. "type": "integer"
  27211. },
  27212. "videourls": {
  27213. "description": "介绍视频[多张用逗号分隔]",
  27214. "type": "string"
  27215. }
  27216. }
  27217. },
  27218. "models.HybsMyBuyOrderDetail": {
  27219. "type": "object",
  27220. "required": [
  27221. "accountid",
  27222. "buyorsell",
  27223. "goodscode",
  27224. "goodsid",
  27225. "goodsname",
  27226. "marketid",
  27227. "orderid",
  27228. "orderqty",
  27229. "ordertime",
  27230. "trademode"
  27231. ],
  27232. "properties": {
  27233. "accountid": {
  27234. "description": "账户ID[报价币种]",
  27235. "type": "integer"
  27236. },
  27237. "agreeunit": {
  27238. "description": "合约单位",
  27239. "type": "number"
  27240. },
  27241. "buyorsell": {
  27242. "description": "买卖 - 0:买 1:卖",
  27243. "type": "integer"
  27244. },
  27245. "cancelqty": {
  27246. "description": "撤单数量",
  27247. "type": "integer"
  27248. },
  27249. "currencysign": {
  27250. "description": "货币符号",
  27251. "type": "string"
  27252. },
  27253. "decimalplace": {
  27254. "description": "报价小数位",
  27255. "type": "integer"
  27256. },
  27257. "goodscode": {
  27258. "description": "商品代码(内部)",
  27259. "type": "string"
  27260. },
  27261. "goodsid": {
  27262. "description": "商品ID",
  27263. "type": "integer"
  27264. },
  27265. "goodsname": {
  27266. "description": "商品名称",
  27267. "type": "string"
  27268. },
  27269. "listingselecttype": {
  27270. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27271. "type": "integer"
  27272. },
  27273. "marketid": {
  27274. "description": "市场ID",
  27275. "type": "integer"
  27276. },
  27277. "mybuystatus": {
  27278. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27279. "type": "integer"
  27280. },
  27281. "orderamount": {
  27282. "description": "委托金额",
  27283. "type": "number"
  27284. },
  27285. "orderid": {
  27286. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27287. "type": "string"
  27288. },
  27289. "orderprice": {
  27290. "description": "委托价格",
  27291. "type": "number"
  27292. },
  27293. "orderqty": {
  27294. "description": "委托数量",
  27295. "type": "integer"
  27296. },
  27297. "orderstatus": {
  27298. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27299. "type": "integer"
  27300. },
  27301. "ordertime": {
  27302. "description": "委托时间",
  27303. "type": "string"
  27304. },
  27305. "picurls1": {
  27306. "description": "预售商品介绍图片[多张用逗号分隔]",
  27307. "type": "string"
  27308. },
  27309. "picurls2": {
  27310. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27311. "type": "string"
  27312. },
  27313. "trademode": {
  27314. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27315. "type": "integer"
  27316. },
  27317. "tradeqty": {
  27318. "description": "成交数量",
  27319. "type": "integer"
  27320. },
  27321. "vendorname1": {
  27322. "description": "预售商品供应商名称",
  27323. "type": "string"
  27324. },
  27325. "vendorname2": {
  27326. "description": "挂牌商品供应商名称",
  27327. "type": "string"
  27328. }
  27329. }
  27330. },
  27331. "models.Loginaccount": {
  27332. "type": "object",
  27333. "required": [
  27334. "loginid"
  27335. ],
  27336. "properties": {
  27337. "accountname": {
  27338. "description": "账户名称",
  27339. "type": "string"
  27340. },
  27341. "canoutin": {
  27342. "description": "是否可出入金 - 0:不可 1:可",
  27343. "type": "integer"
  27344. },
  27345. "clientroleid": {
  27346. "description": "终端角色ID",
  27347. "type": "integer"
  27348. },
  27349. "haslogined": {
  27350. "description": "是否已登录 - 0:未登录 1:已登录",
  27351. "type": "integer"
  27352. },
  27353. "hasupdatedpwd": {
  27354. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27355. "type": "integer"
  27356. },
  27357. "lastloginip": {
  27358. "description": "最新登录地址",
  27359. "type": "string"
  27360. },
  27361. "lastloginmode": {
  27362. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27363. "type": "integer"
  27364. },
  27365. "lastloginremark": {
  27366. "description": "最新登录描述",
  27367. "type": "string"
  27368. },
  27369. "lastlogintime": {
  27370. "description": "最新登录时间",
  27371. "type": "string"
  27372. },
  27373. "logincode": {
  27374. "description": "登录代码",
  27375. "type": "string"
  27376. },
  27377. "loginfailnum": {
  27378. "description": "连续登录失败次数(登录成功时清零)",
  27379. "type": "integer"
  27380. },
  27381. "loginid": {
  27382. "description": "登陆账号",
  27383. "type": "integer"
  27384. },
  27385. "loginport": {
  27386. "description": "最新登录端口",
  27387. "type": "integer"
  27388. },
  27389. "loginstatus": {
  27390. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27391. "type": "integer"
  27392. },
  27393. "loginusertype": {
  27394. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27395. "type": "integer"
  27396. },
  27397. "mobile": {
  27398. "description": "手机号码(加密存储)",
  27399. "type": "string"
  27400. },
  27401. "modifierid": {
  27402. "description": "修改人",
  27403. "type": "integer"
  27404. },
  27405. "modifysrc": {
  27406. "description": "审核来源 - 1:管理端 2:终端",
  27407. "type": "integer"
  27408. },
  27409. "modifytime": {
  27410. "description": "修改时间",
  27411. "type": "string"
  27412. },
  27413. "password": {
  27414. "description": "登陆密码",
  27415. "type": "string"
  27416. },
  27417. "pwdwrongcount": {
  27418. "description": "密码错误次数",
  27419. "type": "integer"
  27420. },
  27421. "relateduserid": {
  27422. "description": "关联用户ID(机构)",
  27423. "type": "integer"
  27424. },
  27425. "taaccountrighttype": {
  27426. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27427. "type": "integer"
  27428. },
  27429. "unfreezetime": {
  27430. "description": "账户解冻时间",
  27431. "type": "string"
  27432. },
  27433. "userid": {
  27434. "description": "用户ID",
  27435. "type": "integer"
  27436. }
  27437. }
  27438. },
  27439. "models.MainAccountInfo": {
  27440. "type": "object",
  27441. "properties": {
  27442. "accountid": {
  27443. "description": "账号id",
  27444. "type": "integer"
  27445. },
  27446. "accountname": {
  27447. "description": "账号名称(taaccount表中的名称)",
  27448. "type": "string"
  27449. },
  27450. "appid": {
  27451. "description": "AppID",
  27452. "type": "string"
  27453. },
  27454. "authcode": {
  27455. "description": "授权码",
  27456. "type": "string"
  27457. },
  27458. "brokerid": {
  27459. "description": "经纪商id",
  27460. "type": "string"
  27461. },
  27462. "fcid": {
  27463. "description": "期货公司id",
  27464. "type": "integer"
  27465. },
  27466. "fcname": {
  27467. "description": "期货公司代码",
  27468. "type": "string"
  27469. },
  27470. "hedgeaccountcode": {
  27471. "description": "外部账号代码(主账号登录代码)",
  27472. "type": "string"
  27473. },
  27474. "hedgeaccountpwd": {
  27475. "description": "密码",
  27476. "type": "string"
  27477. },
  27478. "ismain": {
  27479. "description": "是否主账号",
  27480. "type": "integer"
  27481. },
  27482. "relateduserid": {
  27483. "description": "关联用户id",
  27484. "type": "integer"
  27485. },
  27486. "userid": {
  27487. "description": "关联用户id",
  27488. "type": "integer"
  27489. }
  27490. }
  27491. },
  27492. "models.Market": {
  27493. "type": "object",
  27494. "required": [
  27495. "marketid",
  27496. "marketstatus",
  27497. "openmethod",
  27498. "reckonpricealgorithm",
  27499. "trademode",
  27500. "tradeproperty"
  27501. ],
  27502. "properties": {
  27503. "auctionwrtype": {
  27504. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27505. "type": "integer"
  27506. },
  27507. "canacceptquote": {
  27508. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27509. "type": "integer"
  27510. },
  27511. "cangoodsexercise": {
  27512. "description": "[期权]是否可现货行权- 0:否 1:是",
  27513. "type": "integer"
  27514. },
  27515. "cangoodsexercisetype": {
  27516. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27517. "type": "integer"
  27518. },
  27519. "canmanualquotestrike": {
  27520. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27521. "type": "integer"
  27522. },
  27523. "canmutistage": {
  27524. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27525. "type": "integer"
  27526. },
  27527. "canpreexercise": {
  27528. "description": "[期权]是否可预申报- 0:否 1:是",
  27529. "type": "integer"
  27530. },
  27531. "clearinterval": {
  27532. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27533. "type": "integer"
  27534. },
  27535. "contracttmp": {
  27536. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27537. "type": "string"
  27538. },
  27539. "exchareaid": {
  27540. "description": "所属交易所,可以没有",
  27541. "type": "integer"
  27542. },
  27543. "goodstype": {
  27544. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27545. "type": "integer"
  27546. },
  27547. "hasrebate": {
  27548. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27549. "type": "integer"
  27550. },
  27551. "hastradecredit": {
  27552. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27553. "type": "integer"
  27554. },
  27555. "haswr": {
  27556. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27557. "type": "integer"
  27558. },
  27559. "isdeductmargin": {
  27560. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27561. "type": "integer"
  27562. },
  27563. "isrecordsource": {
  27564. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27565. "type": "integer"
  27566. },
  27567. "isreleasemargin": {
  27568. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27569. "type": "integer"
  27570. },
  27571. "marginformula": {
  27572. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27573. "type": "integer"
  27574. },
  27575. "marginformula2": {
  27576. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27577. "type": "integer"
  27578. },
  27579. "marketid": {
  27580. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27581. "type": "integer"
  27582. },
  27583. "marketname": {
  27584. "description": "市场名称",
  27585. "type": "string"
  27586. },
  27587. "marketserviceid": {
  27588. "description": "市场服务ID",
  27589. "type": "integer"
  27590. },
  27591. "marketstatus": {
  27592. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27593. "type": "integer"
  27594. },
  27595. "markettype": {
  27596. "description": "市场类型- 1:非交易服务 2:交易服务",
  27597. "type": "integer"
  27598. },
  27599. "matchermode": {
  27600. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27601. "type": "integer"
  27602. },
  27603. "openmethod": {
  27604. "description": "开盘模式 - 0 自动 1手动",
  27605. "type": "integer"
  27606. },
  27607. "otcuserid": {
  27608. "description": "场外期权做市商[场外期权]",
  27609. "type": "integer"
  27610. },
  27611. "outersynctime": {
  27612. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27613. "type": "string"
  27614. },
  27615. "pendingflag": {
  27616. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27617. "type": "integer"
  27618. },
  27619. "pendingtime": {
  27620. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27621. "type": "string"
  27622. },
  27623. "performancetempid": {
  27624. "description": "履约计划模板ID - 作废",
  27625. "type": "integer"
  27626. },
  27627. "premiumquotemode": {
  27628. "description": "权利金报价方式 - 1:自动 2:手动",
  27629. "type": "integer"
  27630. },
  27631. "rebateratio": {
  27632. "description": "返利比率[竞价式]",
  27633. "type": "number"
  27634. },
  27635. "reckonorder": {
  27636. "description": "结算顺序",
  27637. "type": "integer"
  27638. },
  27639. "reckonpricealgorithm": {
  27640. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27641. "type": "integer"
  27642. },
  27643. "reckonpriceparam": {
  27644. "description": "结算价参数",
  27645. "type": "integer"
  27646. },
  27647. "reckontime": {
  27648. "description": "结算时间[通道交易-对冲](HH:mm)",
  27649. "type": "string"
  27650. },
  27651. "roleprioritytype": {
  27652. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27653. "type": "integer"
  27654. },
  27655. "selllistingauditflag": {
  27656. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27657. "type": "integer"
  27658. },
  27659. "trademarkettype": {
  27660. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27661. "type": "integer"
  27662. },
  27663. "trademode": {
  27664. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27665. "type": "integer"
  27666. },
  27667. "tradeproperty": {
  27668. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27669. "type": "integer"
  27670. },
  27671. "tradetype": {
  27672. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27673. "type": "integer"
  27674. }
  27675. }
  27676. },
  27677. "models.Marketrun": {
  27678. "type": "object",
  27679. "required": [
  27680. "marketid",
  27681. "nexttradedate",
  27682. "reckonflag",
  27683. "runstatus",
  27684. "tradedate",
  27685. "tradedate2"
  27686. ],
  27687. "properties": {
  27688. "afternexttradedate": {
  27689. "description": "下下交易日",
  27690. "type": "string"
  27691. },
  27692. "clearquoteflag": {
  27693. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27694. "type": "integer"
  27695. },
  27696. "lastreckondate": {
  27697. "description": "最新交易日(结算成功)",
  27698. "type": "string"
  27699. },
  27700. "machinedate": {
  27701. "description": "机器时间",
  27702. "type": "string"
  27703. },
  27704. "manualflag": {
  27705. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27706. "type": "integer"
  27707. },
  27708. "marketid": {
  27709. "description": "市场ID",
  27710. "type": "integer"
  27711. },
  27712. "nexttradedate": {
  27713. "description": "下一交易日",
  27714. "type": "string"
  27715. },
  27716. "pretradedate": {
  27717. "description": "上一交易日",
  27718. "type": "string"
  27719. },
  27720. "reckonflag": {
  27721. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27722. "type": "integer"
  27723. },
  27724. "runstatus": {
  27725. "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.今日免清算",
  27726. "type": "integer"
  27727. },
  27728. "sectionid": {
  27729. "description": "时间段号[多时段时用]",
  27730. "type": "integer"
  27731. },
  27732. "tradedate": {
  27733. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27734. "type": "string"
  27735. },
  27736. "tradedate2": {
  27737. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27738. "type": "string"
  27739. },
  27740. "updatetime": {
  27741. "description": "更新时间",
  27742. "type": "string"
  27743. }
  27744. }
  27745. },
  27746. "models.Messageboard": {
  27747. "type": "object",
  27748. "required": [
  27749. "messageboardid"
  27750. ],
  27751. "properties": {
  27752. "contactnum": {
  27753. "description": "联系电话",
  27754. "type": "string"
  27755. },
  27756. "createtime": {
  27757. "description": "创建时间",
  27758. "type": "string"
  27759. },
  27760. "message": {
  27761. "description": "留言信息",
  27762. "type": "string"
  27763. },
  27764. "messageboardid": {
  27765. "description": "留言簿ID(SEQ_MessageBoard)",
  27766. "type": "integer"
  27767. },
  27768. "userid": {
  27769. "description": "用户ID",
  27770. "type": "integer"
  27771. }
  27772. }
  27773. },
  27774. "models.MyCoupon": {
  27775. "type": "object",
  27776. "required": [
  27777. "accountid",
  27778. "coupontypeid"
  27779. ],
  27780. "properties": {
  27781. "accountid": {
  27782. "description": "资金账户ID",
  27783. "type": "integer"
  27784. },
  27785. "areauserid": {
  27786. "description": "所属机构",
  27787. "type": "integer"
  27788. },
  27789. "conditionvalue": {
  27790. "description": "条件阈值(可为0)",
  27791. "type": "number"
  27792. },
  27793. "couponcategroy": {
  27794. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27795. "type": "integer"
  27796. },
  27797. "couponname": {
  27798. "description": "优惠券名称",
  27799. "type": "string"
  27800. },
  27801. "coupontypeid": {
  27802. "description": "优惠券类型ID",
  27803. "type": "string"
  27804. },
  27805. "couponvalue": {
  27806. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27807. "type": "number"
  27808. },
  27809. "curfreezeqty": {
  27810. "description": "期末冻结数量",
  27811. "type": "integer"
  27812. },
  27813. "curqty": {
  27814. "description": "期末数量",
  27815. "type": "integer"
  27816. },
  27817. "isgeneral": {
  27818. "description": "是否通用券 - 0:否 1:是",
  27819. "type": "integer"
  27820. },
  27821. "isunusable": {
  27822. "description": "是否不可用",
  27823. "type": "boolean"
  27824. },
  27825. "limitedflag": {
  27826. "description": "是否指定商品 - 0:不限 1:限制",
  27827. "type": "integer"
  27828. },
  27829. "limitedgoodsids": {
  27830. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27831. "type": "string"
  27832. },
  27833. "orifreezeqty": {
  27834. "description": "期初冻结数量",
  27835. "type": "integer"
  27836. },
  27837. "oriqty": {
  27838. "description": "期初数量",
  27839. "type": "integer"
  27840. },
  27841. "reasontype": {
  27842. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27843. "type": "integer"
  27844. },
  27845. "todaydecrease": {
  27846. "description": "今日减少",
  27847. "type": "integer"
  27848. },
  27849. "todayincrease": {
  27850. "description": "今日增加",
  27851. "type": "integer"
  27852. },
  27853. "userid": {
  27854. "description": "用户ID",
  27855. "type": "integer"
  27856. },
  27857. "userscope": {
  27858. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27859. "type": "string"
  27860. }
  27861. }
  27862. },
  27863. "models.MyCouponHold": {
  27864. "type": "object",
  27865. "required": [
  27866. "couponholdid"
  27867. ],
  27868. "properties": {
  27869. "accountid": {
  27870. "description": "资金账户ID",
  27871. "type": "integer"
  27872. },
  27873. "conditionvalue": {
  27874. "description": "条件阈值(可为0)",
  27875. "type": "number"
  27876. },
  27877. "couponcategroy": {
  27878. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27879. "type": "integer"
  27880. },
  27881. "couponholdid": {
  27882. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27883. "type": "string"
  27884. },
  27885. "couponname": {
  27886. "description": "优惠券名称",
  27887. "type": "string"
  27888. },
  27889. "coupontypeid": {
  27890. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27891. "type": "string"
  27892. },
  27893. "couponvalue": {
  27894. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27895. "type": "number"
  27896. },
  27897. "createtime": {
  27898. "description": "创建时间",
  27899. "type": "string"
  27900. },
  27901. "enddate": {
  27902. "description": "结束日期",
  27903. "type": "string"
  27904. },
  27905. "giveapplyid": {
  27906. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27907. "type": "integer"
  27908. },
  27909. "holdstatus": {
  27910. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27911. "type": "integer"
  27912. },
  27913. "isgeneral": {
  27914. "description": "是否通用券 - 0:否 1:是",
  27915. "type": "integer"
  27916. },
  27917. "limitedflag": {
  27918. "description": "是否指定商品 - 0:不限 1:限制",
  27919. "type": "integer"
  27920. },
  27921. "limitedgoodsids": {
  27922. "description": "指定商品IDs[逗号分隔]",
  27923. "type": "string"
  27924. },
  27925. "qty": {
  27926. "description": "数量(按1平铺)",
  27927. "type": "integer"
  27928. },
  27929. "startdate": {
  27930. "description": "开始日期",
  27931. "type": "string"
  27932. },
  27933. "userid": {
  27934. "description": "用户ID",
  27935. "type": "integer"
  27936. },
  27937. "userscope": {
  27938. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27939. "type": "string"
  27940. }
  27941. }
  27942. },
  27943. "models.MyUsedCoupon": {
  27944. "type": "object",
  27945. "required": [
  27946. "coupontypeid",
  27947. "orderid"
  27948. ],
  27949. "properties": {
  27950. "accountid": {
  27951. "description": "资金账户ID(买方)",
  27952. "type": "integer"
  27953. },
  27954. "conditionvalue": {
  27955. "description": "条件阈值(可为0)",
  27956. "type": "number"
  27957. },
  27958. "couponcategroy": {
  27959. "description": "种类 - 1:现金券 2:折扣券",
  27960. "type": "integer"
  27961. },
  27962. "couponname": {
  27963. "description": "优惠券名称",
  27964. "type": "string"
  27965. },
  27966. "coupontypeid": {
  27967. "description": "优惠券类型ID(买方)",
  27968. "type": "string"
  27969. },
  27970. "couponvalue": {
  27971. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27972. "type": "number"
  27973. },
  27974. "createtime": {
  27975. "description": "创建时间",
  27976. "type": "string"
  27977. },
  27978. "goodsid": {
  27979. "description": "商品ID",
  27980. "type": "integer"
  27981. },
  27982. "handlestatus": {
  27983. "description": "处理状态",
  27984. "type": "integer"
  27985. },
  27986. "marketid": {
  27987. "description": "市场ID",
  27988. "type": "integer"
  27989. },
  27990. "offamount": {
  27991. "description": "优惠金额",
  27992. "type": "number"
  27993. },
  27994. "orderid": {
  27995. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27996. "type": "string"
  27997. },
  27998. "sellaccountid": {
  27999. "description": "资金账户ID(卖方)",
  28000. "type": "integer"
  28001. },
  28002. "tradeamount": {
  28003. "description": "成交金额",
  28004. "type": "number"
  28005. },
  28006. "tradeid": {
  28007. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28008. "type": "string"
  28009. },
  28010. "usedqty": {
  28011. "description": "使用数量",
  28012. "type": "integer"
  28013. }
  28014. }
  28015. },
  28016. "models.OperationPrimaryMenu": {
  28017. "type": "object",
  28018. "properties": {
  28019. "Children": {
  28020. "description": "二级功能菜单",
  28021. "type": "array",
  28022. "items": {
  28023. "$ref": "#/definitions/models.OperationSecondaryMenu"
  28024. }
  28025. },
  28026. "Key": {
  28027. "description": "菜单KEY",
  28028. "type": "string"
  28029. },
  28030. "Label": {
  28031. "description": "菜单标题",
  28032. "type": "string"
  28033. }
  28034. }
  28035. },
  28036. "models.OperationSecondaryMenu": {
  28037. "type": "object",
  28038. "properties": {
  28039. "Key": {
  28040. "description": "菜单KEY",
  28041. "type": "string"
  28042. },
  28043. "Label": {
  28044. "description": "菜单标题",
  28045. "type": "string"
  28046. },
  28047. "TabList": {
  28048. "description": "三级功能菜单",
  28049. "type": "array",
  28050. "items": {
  28051. "$ref": "#/definitions/models.OperationTabMenu"
  28052. }
  28053. }
  28054. }
  28055. },
  28056. "models.OperationTabMenu": {
  28057. "type": "object",
  28058. "properties": {
  28059. "Key": {
  28060. "description": "菜单KEY",
  28061. "type": "string"
  28062. },
  28063. "Label": {
  28064. "description": "菜单标题",
  28065. "type": "string"
  28066. }
  28067. }
  28068. },
  28069. "models.QhjAccountOutInApply": {
  28070. "type": "object",
  28071. "properties": {
  28072. "accountcode": {
  28073. "description": "资金账号",
  28074. "type": "string"
  28075. },
  28076. "accountname": {
  28077. "description": "用户名称(名称)",
  28078. "type": "string"
  28079. },
  28080. "accountpwd": {
  28081. "description": "资金密码",
  28082. "type": "string"
  28083. },
  28084. "accountticket": {
  28085. "description": "最新账户服务流水号",
  28086. "type": "string"
  28087. },
  28088. "amount": {
  28089. "description": "金额",
  28090. "type": "number"
  28091. },
  28092. "applyremark": {
  28093. "description": "申请备注",
  28094. "type": "string"
  28095. },
  28096. "applystatus": {
  28097. "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: 复审通过,账户冻结金额检查中;",
  28098. "type": "integer"
  28099. },
  28100. "auditid": {
  28101. "description": "审核人",
  28102. "type": "integer"
  28103. },
  28104. "audittime": {
  28105. "description": "审核时间",
  28106. "type": "string"
  28107. },
  28108. "bank_apply_ticket": {
  28109. "description": "银行申请流水",
  28110. "type": "string"
  28111. },
  28112. "bankaccountname": {
  28113. "description": "银行账户名",
  28114. "type": "string"
  28115. },
  28116. "bankaccountno": {
  28117. "description": "银行卡号",
  28118. "type": "string"
  28119. },
  28120. "bankid": {
  28121. "description": "银行编号",
  28122. "type": "string"
  28123. },
  28124. "bankticket": {
  28125. "description": "银行流水",
  28126. "type": "string"
  28127. },
  28128. "branchbankid": {
  28129. "description": "银行支行号",
  28130. "type": "string"
  28131. },
  28132. "branchbankname": {
  28133. "description": "银行支行名称",
  28134. "type": "string"
  28135. },
  28136. "capamountout": {
  28137. "description": "出金(劣后本金) - 外部子账户",
  28138. "type": "number"
  28139. },
  28140. "certificatephotourl": {
  28141. "description": "凭证地址",
  28142. "type": "string"
  28143. },
  28144. "charge": {
  28145. "description": "手续费",
  28146. "type": "number"
  28147. },
  28148. "checkerrorflag": {
  28149. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28150. "type": "integer"
  28151. },
  28152. "currency": {
  28153. "description": "币种",
  28154. "type": "string"
  28155. },
  28156. "cusbankid": {
  28157. "description": "托管银行编号",
  28158. "type": "string"
  28159. },
  28160. "exchticket": {
  28161. "description": "银行服务流水号",
  28162. "type": "string"
  28163. },
  28164. "executetype": {
  28165. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28166. "type": "integer"
  28167. },
  28168. "extendinfo": {
  28169. "description": "扩展信息",
  28170. "type": "string"
  28171. },
  28172. "extoperateid": {
  28173. "description": "交易服务流水号",
  28174. "type": "integer"
  28175. },
  28176. "infamount": {
  28177. "description": "劣后金额(自有)",
  28178. "type": "number"
  28179. },
  28180. "logincode": {
  28181. "description": "登录账号(账号)",
  28182. "type": "string"
  28183. },
  28184. "netaddr": {
  28185. "description": "调转网址",
  28186. "type": "string"
  28187. },
  28188. "priamount": {
  28189. "description": "优先金额(授信)",
  28190. "type": "number"
  28191. },
  28192. "reauditid": {
  28193. "description": "复审人",
  28194. "type": "integer"
  28195. },
  28196. "reauditremark": {
  28197. "description": "复审备注",
  28198. "type": "string"
  28199. },
  28200. "reaudittime": {
  28201. "description": "复审时间",
  28202. "type": "string"
  28203. },
  28204. "relatedorderid": {
  28205. "description": "三方关联ID",
  28206. "type": "string"
  28207. },
  28208. "remark": {
  28209. "description": "备注",
  28210. "type": "string"
  28211. },
  28212. "remark2": {
  28213. "description": "备注(失败原因)",
  28214. "type": "string"
  28215. },
  28216. "soucreamount": {
  28217. "description": "原始出入金金额",
  28218. "type": "number"
  28219. },
  28220. "soucrecurrencyid": {
  28221. "description": "原始出入金币种",
  28222. "type": "integer"
  28223. },
  28224. "tradedate": {
  28225. "description": "交易日(yyyyMMdd)",
  28226. "type": "string"
  28227. },
  28228. "updatetime": {
  28229. "description": "更新时间(申请时间)",
  28230. "type": "string"
  28231. },
  28232. "userid": {
  28233. "description": "用户id",
  28234. "type": "integer"
  28235. },
  28236. "userinfotype": {
  28237. "description": "账户类型 1-个人 2-企业",
  28238. "type": "integer"
  28239. }
  28240. }
  28241. },
  28242. "models.QhjAgreementChangeLog": {
  28243. "type": "object",
  28244. "properties": {
  28245. "agreementcontent": {
  28246. "description": "协议内容",
  28247. "type": "string"
  28248. },
  28249. "agreementfrequency": {
  28250. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28251. "type": "integer"
  28252. },
  28253. "agreementid": {
  28254. "description": "协议ID",
  28255. "type": "integer"
  28256. },
  28257. "agreementname": {
  28258. "description": "协议名称",
  28259. "type": "string"
  28260. },
  28261. "agreementno": {
  28262. "description": "协议编号",
  28263. "type": "string"
  28264. },
  28265. "agreementtype": {
  28266. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28267. "type": "integer"
  28268. },
  28269. "agreementversion": {
  28270. "description": "协议版本号",
  28271. "type": "integer"
  28272. },
  28273. "logid": {
  28274. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28275. "type": "integer"
  28276. },
  28277. "reviserid": {
  28278. "description": "修改人",
  28279. "type": "integer"
  28280. },
  28281. "revisersrc": {
  28282. "description": "修改来源 - 1:管理端 2:终端",
  28283. "type": "integer"
  28284. },
  28285. "updatetime": {
  28286. "description": "更新时间",
  28287. "type": "string"
  28288. }
  28289. }
  28290. },
  28291. "models.QhjAgreementConfig": {
  28292. "type": "object",
  28293. "properties": {
  28294. "agreementcontent": {
  28295. "description": "协议内容",
  28296. "type": "string"
  28297. },
  28298. "agreementfrequency": {
  28299. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28300. "type": "integer"
  28301. },
  28302. "agreementid": {
  28303. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28304. "type": "integer"
  28305. },
  28306. "agreementname": {
  28307. "description": "协议名称",
  28308. "type": "string"
  28309. },
  28310. "agreementno": {
  28311. "description": "协议编号",
  28312. "type": "string"
  28313. },
  28314. "agreementtype": {
  28315. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28316. "type": "integer"
  28317. },
  28318. "agreementversion": {
  28319. "description": "协议版本号(从1开始每次修改加1)",
  28320. "type": "integer"
  28321. },
  28322. "createtime": {
  28323. "description": "创建时间",
  28324. "type": "string"
  28325. },
  28326. "creatorid": {
  28327. "description": "创建人",
  28328. "type": "integer"
  28329. },
  28330. "creatorsrc": {
  28331. "description": "创建来源 - 1:管理端 2:终端",
  28332. "type": "integer"
  28333. },
  28334. "isvalid": {
  28335. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28336. "type": "integer"
  28337. },
  28338. "reviserid": {
  28339. "description": "修改人",
  28340. "type": "integer"
  28341. },
  28342. "revisersrc": {
  28343. "description": "修改来源 - 1:管理端 2:终端",
  28344. "type": "integer"
  28345. },
  28346. "updatetime": {
  28347. "description": "更新时间",
  28348. "type": "string"
  28349. }
  28350. }
  28351. },
  28352. "models.QhjAreaFinanceConfig": {
  28353. "type": "object",
  28354. "properties": {
  28355. "additionalratio": {
  28356. "description": "追加款比例",
  28357. "type": "number"
  28358. },
  28359. "advanceratio": {
  28360. "description": "预付款比例",
  28361. "type": "number"
  28362. },
  28363. "alarmratio": {
  28364. "description": "告警比例",
  28365. "type": "number"
  28366. },
  28367. "consumptiondirectreward": {
  28368. "description": "消费直推奖励值",
  28369. "type": "number"
  28370. },
  28371. "consumptionenabled": {
  28372. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28373. "type": "integer"
  28374. },
  28375. "consumptionindirectreward": {
  28376. "description": "消费间推奖励值",
  28377. "type": "number"
  28378. },
  28379. "consumptionmodel": {
  28380. "description": "消费奖励方式 - 1:比率 2:固定",
  28381. "type": "integer"
  28382. },
  28383. "customerservicenum": {
  28384. "description": "客服电话",
  28385. "type": "string"
  28386. },
  28387. "dayinterestrate": {
  28388. "description": "日利率",
  28389. "type": "number"
  28390. },
  28391. "disableconsumptiontips": {
  28392. "description": "关闭消费奖励提示",
  28393. "type": "string"
  28394. },
  28395. "modifierid": {
  28396. "description": "修改人ID",
  28397. "type": "integer"
  28398. },
  28399. "modifysrc": {
  28400. "description": "审核来源 - 1:管理端 2:终端",
  28401. "type": "integer"
  28402. },
  28403. "modifytime": {
  28404. "description": "修改时间",
  28405. "type": "string"
  28406. },
  28407. "promotionvalue": {
  28408. "description": "推广奖励值(固定)",
  28409. "type": "number"
  28410. },
  28411. "scoreconfigvalue1": {
  28412. "description": "提货积分配置1",
  28413. "type": "integer"
  28414. },
  28415. "scoreconfigvalue2": {
  28416. "description": "提货积分配置2",
  28417. "type": "integer"
  28418. },
  28419. "userid": {
  28420. "description": "机构用户ID其他做市关系,都设置为 1",
  28421. "type": "integer"
  28422. },
  28423. "username": {
  28424. "description": "用户名称",
  28425. "type": "string"
  28426. }
  28427. }
  28428. },
  28429. "models.QhjBankAccountSign": {
  28430. "type": "object",
  28431. "properties": {
  28432. "accountcode": {
  28433. "description": "资金账号",
  28434. "type": "string"
  28435. },
  28436. "accountname": {
  28437. "description": "资金账号对应的账号名(UserName)",
  28438. "type": "string"
  28439. },
  28440. "accountname2": {
  28441. "description": "资金账号对应的账号名(UserName) - 密文",
  28442. "type": "string"
  28443. },
  28444. "accounttype": {
  28445. "description": "账户类型(UserType)",
  28446. "type": "integer"
  28447. },
  28448. "applicationtime": {
  28449. "description": "最后一次更新的时间",
  28450. "type": "string"
  28451. },
  28452. "applyexchticket": {
  28453. "description": "申请流水",
  28454. "type": "string"
  28455. },
  28456. "auditid": {
  28457. "description": "审核人",
  28458. "type": "integer"
  28459. },
  28460. "audittime": {
  28461. "description": "审核时间",
  28462. "type": "string"
  28463. },
  28464. "bankaccountname": {
  28465. "description": "签约银行卡账号名",
  28466. "type": "string"
  28467. },
  28468. "bankaccountname2": {
  28469. "description": "签约银行卡账号名 - 密文",
  28470. "type": "string"
  28471. },
  28472. "bankaccountno": {
  28473. "description": "银行卡号",
  28474. "type": "string"
  28475. },
  28476. "bankaccountno2": {
  28477. "description": "银行卡号 - 密文",
  28478. "type": "string"
  28479. },
  28480. "bankaccounttype": {
  28481. "description": "银行账户类型 - 1-对私; 2-对公",
  28482. "type": "integer"
  28483. },
  28484. "bankcardtype": {
  28485. "description": "银行卡类型",
  28486. "type": "integer"
  28487. },
  28488. "bankchildaccount": {
  28489. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28490. "type": "string"
  28491. },
  28492. "bankcity": {
  28493. "description": "开户行城市",
  28494. "type": "string"
  28495. },
  28496. "bankid": {
  28497. "description": "签约银行ID",
  28498. "type": "string"
  28499. },
  28500. "bankname": {
  28501. "description": "签约银行名称",
  28502. "type": "string"
  28503. },
  28504. "bankprovince": {
  28505. "description": "开户行省份",
  28506. "type": "string"
  28507. },
  28508. "branchbankid": {
  28509. "description": "签约银行支行号",
  28510. "type": "string"
  28511. },
  28512. "branchbankname": {
  28513. "description": "签约银行支行名称",
  28514. "type": "string"
  28515. },
  28516. "cardno": {
  28517. "description": "证件号码",
  28518. "type": "string"
  28519. },
  28520. "cardno2": {
  28521. "description": "证件号码 - 密文",
  28522. "type": "string"
  28523. },
  28524. "cardtype": {
  28525. "description": "证件类型",
  28526. "type": "string"
  28527. },
  28528. "currency": {
  28529. "description": "币种",
  28530. "type": "string"
  28531. },
  28532. "cusbankid": {
  28533. "description": "托管银行编号",
  28534. "type": "string"
  28535. },
  28536. "direct": {
  28537. "description": "方向(可以判断那方先发起的签约)",
  28538. "type": "integer"
  28539. },
  28540. "exchticket": {
  28541. "description": "最后一次签约成功的流水号",
  28542. "type": "string"
  28543. },
  28544. "extendinfo": {
  28545. "description": "扩展信息(JSON字符串)",
  28546. "type": "string"
  28547. },
  28548. "mobilephone": {
  28549. "description": "手机号",
  28550. "type": "string"
  28551. },
  28552. "mobilephone2": {
  28553. "description": "手机号 - 密文",
  28554. "type": "string"
  28555. },
  28556. "netaddr": {
  28557. "description": "调转网址",
  28558. "type": "string"
  28559. },
  28560. "relateduserid": {
  28561. "description": "关联使用者userid",
  28562. "type": "integer"
  28563. },
  28564. "signstatus": {
  28565. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28566. "type": "integer"
  28567. },
  28568. "updatetime": {
  28569. "description": "更新时间(签解约更新时间)",
  28570. "type": "string"
  28571. }
  28572. }
  28573. },
  28574. "models.QhjBankInfo": {
  28575. "type": "object",
  28576. "properties": {
  28577. "bankid": {
  28578. "description": "银行ID",
  28579. "type": "string"
  28580. },
  28581. "bankname": {
  28582. "description": "银行名称",
  28583. "type": "string"
  28584. },
  28585. "clearbankno": {
  28586. "description": "清算系统银行编号",
  28587. "type": "string"
  28588. },
  28589. "orderindex": {
  28590. "description": "排序顺序",
  28591. "type": "integer"
  28592. },
  28593. "status": {
  28594. "description": "状态 - 0:正常 1:注销",
  28595. "type": "integer"
  28596. }
  28597. }
  28598. },
  28599. "models.QhjBrokerApply": {
  28600. "type": "object",
  28601. "properties": {
  28602. "applicantid": {
  28603. "description": "申请人",
  28604. "type": "integer"
  28605. },
  28606. "applysrc": {
  28607. "description": "申请来源 - 1:管理端 2:终端",
  28608. "type": "integer"
  28609. },
  28610. "applystatus": {
  28611. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28612. "type": "integer"
  28613. },
  28614. "applytime": {
  28615. "description": "申请时间",
  28616. "type": "string"
  28617. },
  28618. "auditorid": {
  28619. "description": "审核人",
  28620. "type": "integer"
  28621. },
  28622. "auditremark": {
  28623. "description": "审核备注",
  28624. "type": "string"
  28625. },
  28626. "auditsrc": {
  28627. "description": "审核来源 - 1:管理端 2:终端",
  28628. "type": "integer"
  28629. },
  28630. "audittime": {
  28631. "description": "审核时间",
  28632. "type": "string"
  28633. },
  28634. "audittradedate": {
  28635. "description": "审核交易日(yyyyMMdd)",
  28636. "type": "string"
  28637. },
  28638. "brokerapplyid": {
  28639. "description": "申请ID(SEQ_BROKERAPPLY)",
  28640. "type": "integer"
  28641. },
  28642. "cardbackphotourl": {
  28643. "description": "证件背面图片地址",
  28644. "type": "string"
  28645. },
  28646. "cardfrontphotourl": {
  28647. "description": "证件正面图片地址",
  28648. "type": "string"
  28649. },
  28650. "cardnum": {
  28651. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28652. "type": "string"
  28653. },
  28654. "customername": {
  28655. "description": "姓名",
  28656. "type": "string"
  28657. },
  28658. "logincode": {
  28659. "description": "登录代码",
  28660. "type": "string"
  28661. },
  28662. "mobile": {
  28663. "description": "手机号码",
  28664. "type": "string"
  28665. },
  28666. "parentuserid": {
  28667. "description": "所属机构id",
  28668. "type": "integer"
  28669. },
  28670. "parentusername": {
  28671. "description": "所属机构名称",
  28672. "type": "string"
  28673. },
  28674. "refereeuserid": {
  28675. "description": "推荐人id(经纪人)",
  28676. "type": "integer"
  28677. },
  28678. "refernum": {
  28679. "description": "推荐码",
  28680. "type": "string"
  28681. },
  28682. "remark": {
  28683. "description": "备注",
  28684. "type": "string"
  28685. },
  28686. "subarealevelpath": {
  28687. "description": "层级路径",
  28688. "type": "string"
  28689. },
  28690. "tradedate": {
  28691. "description": "交易日(yyyyMMdd)",
  28692. "type": "string"
  28693. },
  28694. "userid": {
  28695. "description": "申请人用户ID",
  28696. "type": "integer"
  28697. },
  28698. "userinfotype": {
  28699. "description": "用户类型 1-个人 2-企业",
  28700. "type": "integer"
  28701. },
  28702. "username": {
  28703. "description": "用户名称",
  28704. "type": "string"
  28705. }
  28706. }
  28707. },
  28708. "models.QhjBrokerApplyEx": {
  28709. "type": "object",
  28710. "properties": {
  28711. "applylist": {
  28712. "description": "经纪人申请记录(只返回最新一条)",
  28713. "type": "array",
  28714. "items": {
  28715. "$ref": "#/definitions/models.QhjBrokerApply"
  28716. }
  28717. },
  28718. "canrecommend": {
  28719. "description": "是否经纪人 0-不是 1-是",
  28720. "type": "integer"
  28721. },
  28722. "refernum": {
  28723. "description": "推荐码",
  28724. "type": "string"
  28725. },
  28726. "userid": {
  28727. "description": "用户id",
  28728. "type": "integer"
  28729. },
  28730. "userinfotype": {
  28731. "description": "用户类型 1-个人 2-企业",
  28732. "type": "integer"
  28733. }
  28734. }
  28735. },
  28736. "models.QhjBrokerRewardLog": {
  28737. "type": "object",
  28738. "properties": {
  28739. "accountid": {
  28740. "description": "资金账号ID",
  28741. "type": "integer"
  28742. },
  28743. "createtime": {
  28744. "description": "创建时间(时间)",
  28745. "type": "string"
  28746. },
  28747. "handlestatus": {
  28748. "description": "处理状态",
  28749. "type": "integer"
  28750. },
  28751. "logid": {
  28752. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28753. "type": "string"
  28754. },
  28755. "marketid": {
  28756. "description": "市场ID",
  28757. "type": "integer"
  28758. },
  28759. "mmaccountid": {
  28760. "description": "做市商资金账号ID",
  28761. "type": "string"
  28762. },
  28763. "mmuserid": {
  28764. "description": "做市商用户ID",
  28765. "type": "string"
  28766. },
  28767. "rewardamount": {
  28768. "description": "奖励金额",
  28769. "type": "number"
  28770. },
  28771. "rewardmodel": {
  28772. "description": "消费奖励方式 - 1:比率 2:固定",
  28773. "type": "integer"
  28774. },
  28775. "rewardtype": {
  28776. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28777. "type": "integer"
  28778. },
  28779. "rewardvalue": {
  28780. "description": "配置奖励值",
  28781. "type": "number"
  28782. },
  28783. "srcamount": {
  28784. "description": "成交金额 [消费奖励] (金额)",
  28785. "type": "number"
  28786. },
  28787. "srcgoodsid": {
  28788. "description": "来源商品ID [消费奖励]",
  28789. "type": "string"
  28790. },
  28791. "srctime": {
  28792. "description": "来源时间 (成交时间) [消费奖励]",
  28793. "type": "string"
  28794. },
  28795. "srctradeid": {
  28796. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28797. "type": "string"
  28798. },
  28799. "srcuserid": {
  28800. "description": "来源用户ID(推广账户)",
  28801. "type": "string"
  28802. },
  28803. "srcusername": {
  28804. "description": "推广账户名称",
  28805. "type": "string"
  28806. },
  28807. "tradedate": {
  28808. "description": "交易日(yyyyMMdd)",
  28809. "type": "string"
  28810. },
  28811. "userid": {
  28812. "description": "经纪人用户ID",
  28813. "type": "integer"
  28814. }
  28815. }
  28816. },
  28817. "models.QhjContract": {
  28818. "type": "object",
  28819. "properties": {
  28820. "contractconfirmtime": {
  28821. "description": "合同确认时间(时间)",
  28822. "type": "string"
  28823. },
  28824. "currisklevel": {
  28825. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28826. "type": "integer"
  28827. },
  28828. "decimalplace": {
  28829. "description": "商品报价小数位",
  28830. "type": "integer"
  28831. },
  28832. "enumdicname": {
  28833. "description": "单位名称",
  28834. "type": "string"
  28835. },
  28836. "goodscode": {
  28837. "description": "商品代码",
  28838. "type": "string"
  28839. },
  28840. "goodsid": {
  28841. "description": "商品ID [5:融资单]",
  28842. "type": "integer"
  28843. },
  28844. "goodsname": {
  28845. "description": "商品名称",
  28846. "type": "string"
  28847. },
  28848. "goodunitid": {
  28849. "description": "商品单位id",
  28850. "type": "integer"
  28851. },
  28852. "initmargin": {
  28853. "description": "初始保证金(首付款)",
  28854. "type": "number"
  28855. },
  28856. "lenderamount": {
  28857. "description": "贷款金额(总额|订单总额)",
  28858. "type": "number"
  28859. },
  28860. "marginratio": {
  28861. "description": "保证金比率(首付比例)",
  28862. "type": "number"
  28863. },
  28864. "payamount": {
  28865. "description": "已付(已付货款)",
  28866. "type": "number"
  28867. },
  28868. "reckonrecovermargin": {
  28869. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28870. "type": "number"
  28871. },
  28872. "recoveredmargin": {
  28873. "description": "已追缴保证金",
  28874. "type": "number"
  28875. },
  28876. "remainamount": {
  28877. "description": "合同剩余金额(融资额)",
  28878. "type": "number"
  28879. },
  28880. "scfcontractid": {
  28881. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28882. "type": "string"
  28883. },
  28884. "scfcontractstatus": {
  28885. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28886. "type": "integer"
  28887. },
  28888. "scfcontracttype": {
  28889. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28890. "type": "integer"
  28891. },
  28892. "totalinterest": {
  28893. "description": "已计总利息(利息)",
  28894. "type": "number"
  28895. },
  28896. "tradeprice": {
  28897. "description": "成交价格(成本价格)",
  28898. "type": "number"
  28899. },
  28900. "userid": {
  28901. "description": "用户ID",
  28902. "type": "integer"
  28903. },
  28904. "username": {
  28905. "description": "用户名称",
  28906. "type": "string"
  28907. },
  28908. "wrqty": {
  28909. "description": "仓单数量(数量)",
  28910. "type": "number"
  28911. }
  28912. }
  28913. },
  28914. "models.QhjContractLog": {
  28915. "type": "object",
  28916. "properties": {
  28917. "amount": {
  28918. "description": "支付金额",
  28919. "type": "number"
  28920. },
  28921. "amounttype": {
  28922. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28923. "type": "integer"
  28924. },
  28925. "logid": {
  28926. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28927. "type": "string"
  28928. },
  28929. "remainamount": {
  28930. "description": "剩余货款",
  28931. "type": "number"
  28932. },
  28933. "scfcontractid": {
  28934. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28935. "type": "integer"
  28936. },
  28937. "updatetime": {
  28938. "description": "更新时间",
  28939. "type": "string"
  28940. }
  28941. }
  28942. },
  28943. "models.QhjCusBankSignBankEx": {
  28944. "type": "object",
  28945. "properties": {
  28946. "banklst": {
  28947. "description": "银行列表",
  28948. "type": "array",
  28949. "items": {
  28950. "$ref": "#/definitions/models.QhjBankInfo"
  28951. }
  28952. },
  28953. "canallot": {
  28954. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28955. "type": "integer"
  28956. },
  28957. "canallotquery": {
  28958. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28959. "type": "integer"
  28960. },
  28961. "canbindcard": {
  28962. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28963. "type": "integer"
  28964. },
  28965. "caninamount": {
  28966. "description": "是否可入金 - 0:不可 1:可以",
  28967. "type": "integer"
  28968. },
  28969. "caninamount2": {
  28970. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28971. "type": "integer"
  28972. },
  28973. "canmodifybankcard": {
  28974. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28975. "type": "integer"
  28976. },
  28977. "canmodifyphone": {
  28978. "description": "是否可修改手机号 - 0:不可 1:可以",
  28979. "type": "integer"
  28980. },
  28981. "canmodifysigninfo": {
  28982. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28983. "type": "integer"
  28984. },
  28985. "canoutamount": {
  28986. "description": "是否可出金 - 0:不可 1:可以",
  28987. "type": "integer"
  28988. },
  28989. "canoutamount2": {
  28990. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28991. "type": "integer"
  28992. },
  28993. "canrelease": {
  28994. "description": "是否可解约 - 0:不可 1:可以",
  28995. "type": "integer"
  28996. },
  28997. "canrelease2": {
  28998. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28999. "type": "integer"
  29000. },
  29001. "cansign": {
  29002. "description": "是否可签约 - 0:不可 1:可以",
  29003. "type": "integer"
  29004. },
  29005. "cansign2": {
  29006. "description": "是否可签约(网银端) - 0:不可 1:可以",
  29007. "type": "integer"
  29008. },
  29009. "currency": {
  29010. "description": "币种",
  29011. "type": "string"
  29012. },
  29013. "cusbankid": {
  29014. "description": "托管银行编号(对应清算中心TRAN_NO)",
  29015. "type": "string"
  29016. },
  29017. "cusbankname": {
  29018. "description": "银行业务名称",
  29019. "type": "string"
  29020. },
  29021. "cusbankshortname": {
  29022. "description": "银行业务简称",
  29023. "type": "string"
  29024. },
  29025. "exchbankid": {
  29026. "description": "交易所开户银行ID",
  29027. "type": "string"
  29028. },
  29029. "exchpaybankaccname": {
  29030. "description": "交易所支出结算账户户名",
  29031. "type": "string"
  29032. },
  29033. "exchpaybankaccno": {
  29034. "description": "交易所支出结算账户",
  29035. "type": "string"
  29036. },
  29037. "isneedcheck": {
  29038. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  29039. "type": "integer"
  29040. },
  29041. "isneedclear": {
  29042. "description": "是否需要清算 - 0:不需要 1:需要",
  29043. "type": "integer"
  29044. },
  29045. "lastcheckstatus": {
  29046. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  29047. "type": "integer"
  29048. },
  29049. "lastchecktime": {
  29050. "description": "最后对账时间",
  29051. "type": "string"
  29052. },
  29053. "lastclearstatus": {
  29054. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  29055. "type": "integer"
  29056. },
  29057. "lastcleartime": {
  29058. "description": "最后清算时间",
  29059. "type": "string"
  29060. },
  29061. "lastsignintime": {
  29062. "description": "最后签到时间",
  29063. "type": "string"
  29064. },
  29065. "lastsignouttime": {
  29066. "description": "最后签退时间",
  29067. "type": "string"
  29068. },
  29069. "riskinfo": {
  29070. "description": "签约风险提示书",
  29071. "type": "string"
  29072. },
  29073. "signstatus": {
  29074. "description": "当前签到/签退状态 - 1:签到 2:签退",
  29075. "type": "integer"
  29076. },
  29077. "tradedate": {
  29078. "description": "交易日(yyyyMMdd)",
  29079. "type": "string"
  29080. },
  29081. "updatetime": {
  29082. "description": "当前签到/签退更新时间",
  29083. "type": "string"
  29084. }
  29085. }
  29086. },
  29087. "models.QhjCustomer": {
  29088. "type": "object",
  29089. "properties": {
  29090. "address": {
  29091. "description": "通讯地址",
  29092. "type": "string"
  29093. },
  29094. "attachment1": {
  29095. "description": "附件1",
  29096. "type": "string"
  29097. },
  29098. "attachment2": {
  29099. "description": "附件2",
  29100. "type": "string"
  29101. },
  29102. "audittime": {
  29103. "description": "审核时间",
  29104. "type": "string"
  29105. },
  29106. "cardbackphotourl": {
  29107. "description": "证件反面图片地址",
  29108. "type": "string"
  29109. },
  29110. "cardfrontphotourl": {
  29111. "description": "证件正面图片地址",
  29112. "type": "string"
  29113. },
  29114. "cardnum": {
  29115. "description": "证件号码",
  29116. "type": "string"
  29117. },
  29118. "cardtype": {
  29119. "description": "证件类型",
  29120. "type": "integer"
  29121. },
  29122. "cardtypename": {
  29123. "description": "证件类型名称",
  29124. "type": "string"
  29125. },
  29126. "cityid": {
  29127. "description": "市",
  29128. "type": "integer"
  29129. },
  29130. "cityname": {
  29131. "description": "城市名称",
  29132. "type": "string"
  29133. },
  29134. "contactname": {
  29135. "description": "联系人",
  29136. "type": "string"
  29137. },
  29138. "countryid": {
  29139. "description": "国家",
  29140. "type": "integer"
  29141. },
  29142. "countryname": {
  29143. "description": "国家名称",
  29144. "type": "string"
  29145. },
  29146. "createtime": {
  29147. "description": "创建时间",
  29148. "type": "string"
  29149. },
  29150. "customername": {
  29151. "description": "客户名称",
  29152. "type": "string"
  29153. },
  29154. "districtid": {
  29155. "description": "区域",
  29156. "type": "integer"
  29157. },
  29158. "districtname": {
  29159. "description": "地区名称",
  29160. "type": "string"
  29161. },
  29162. "email": {
  29163. "description": "邮件",
  29164. "type": "string"
  29165. },
  29166. "legalpersonname": {
  29167. "description": "法人姓名(企业)",
  29168. "type": "string"
  29169. },
  29170. "logincode": {
  29171. "description": "登录账号(代码)",
  29172. "type": "string"
  29173. },
  29174. "memberuserid": {
  29175. "description": "所属机构ID(所属会员)",
  29176. "type": "integer"
  29177. },
  29178. "memberusername": {
  29179. "description": "所属会员名称",
  29180. "type": "string"
  29181. },
  29182. "mobile": {
  29183. "description": "手机号码",
  29184. "type": "string"
  29185. },
  29186. "modifytime": {
  29187. "description": "修改时间",
  29188. "type": "string"
  29189. },
  29190. "nickname": {
  29191. "description": "昵称",
  29192. "type": "string"
  29193. },
  29194. "parentuserid": {
  29195. "description": "上级机构(所属机构)",
  29196. "type": "integer"
  29197. },
  29198. "parentusername": {
  29199. "description": "所属机构名称",
  29200. "type": "string"
  29201. },
  29202. "provinceid": {
  29203. "description": "省",
  29204. "type": "integer"
  29205. },
  29206. "provincename": {
  29207. "description": "省名称",
  29208. "type": "string"
  29209. },
  29210. "proxystatementurl": {
  29211. "description": "授权委托书",
  29212. "type": "string"
  29213. },
  29214. "remark": {
  29215. "description": "备注",
  29216. "type": "string"
  29217. },
  29218. "status": {
  29219. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  29220. "type": "integer"
  29221. },
  29222. "statusdesc": {
  29223. "description": "账户状态中文描述",
  29224. "type": "string"
  29225. },
  29226. "taxpayernum": {
  29227. "description": "纳税人识别号",
  29228. "type": "string"
  29229. },
  29230. "telphone": {
  29231. "description": "联系电话",
  29232. "type": "string"
  29233. },
  29234. "userid": {
  29235. "description": "用户ID",
  29236. "type": "integer"
  29237. },
  29238. "userinfotype": {
  29239. "description": "客户类型 1-个人 2-企业",
  29240. "type": "integer"
  29241. },
  29242. "username": {
  29243. "description": "用户名称",
  29244. "type": "string"
  29245. }
  29246. }
  29247. },
  29248. "models.QhjCustomerSignLog": {
  29249. "type": "object",
  29250. "properties": {
  29251. "agreementcontent": {
  29252. "description": "协议内容",
  29253. "type": "string"
  29254. },
  29255. "agreementid": {
  29256. "description": "协议ID",
  29257. "type": "integer"
  29258. },
  29259. "agreementname": {
  29260. "description": "协议名称",
  29261. "type": "string"
  29262. },
  29263. "agreementno": {
  29264. "description": "协议编号",
  29265. "type": "string"
  29266. },
  29267. "agreementtype": {
  29268. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29269. "type": "integer"
  29270. },
  29271. "agreementversion": {
  29272. "description": "协议版本号",
  29273. "type": "integer"
  29274. },
  29275. "createtime": {
  29276. "description": "创建时间",
  29277. "type": "string"
  29278. },
  29279. "goodscode": {
  29280. "description": "商品代码",
  29281. "type": "string"
  29282. },
  29283. "goodsid": {
  29284. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29285. "type": "integer"
  29286. },
  29287. "goodsname": {
  29288. "description": "商品名称",
  29289. "type": "string"
  29290. },
  29291. "logid": {
  29292. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29293. "type": "integer"
  29294. },
  29295. "nodetype": {
  29296. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29297. "type": "integer"
  29298. },
  29299. "signadressurl": {
  29300. "description": "签约文件地址",
  29301. "type": "string"
  29302. },
  29303. "signtimestamp": {
  29304. "description": "签约状态时间戳",
  29305. "type": "string"
  29306. },
  29307. "userid": {
  29308. "description": "客户ID",
  29309. "type": "integer"
  29310. },
  29311. "username": {
  29312. "description": "客户名称",
  29313. "type": "string"
  29314. }
  29315. }
  29316. },
  29317. "models.QhjCustomerSignStatus": {
  29318. "type": "object",
  29319. "properties": {
  29320. "createtime": {
  29321. "description": "创建时间",
  29322. "type": "string"
  29323. },
  29324. "goodscode": {
  29325. "description": "商品代码",
  29326. "type": "string"
  29327. },
  29328. "goodsid": {
  29329. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29330. "type": "integer"
  29331. },
  29332. "goodsname": {
  29333. "description": "商品名称",
  29334. "type": "string"
  29335. },
  29336. "nodetype": {
  29337. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29338. "type": "integer"
  29339. },
  29340. "signtimestamp": {
  29341. "description": "签约状态时间戳",
  29342. "type": "string"
  29343. },
  29344. "tradedate": {
  29345. "description": "创建交易日(yyyyMMdd)",
  29346. "type": "string"
  29347. },
  29348. "updatetime": {
  29349. "description": "更新时间",
  29350. "type": "string"
  29351. },
  29352. "userid": {
  29353. "description": "客户ID",
  29354. "type": "integer"
  29355. },
  29356. "username": {
  29357. "description": "客户名称",
  29358. "type": "string"
  29359. }
  29360. }
  29361. },
  29362. "models.QhjMgrAccountOutInApply": {
  29363. "type": "object",
  29364. "properties": {
  29365. "accountcode": {
  29366. "description": "资金账号",
  29367. "type": "string"
  29368. },
  29369. "accountname": {
  29370. "description": "用户名称(名称)",
  29371. "type": "string"
  29372. },
  29373. "accountpwd": {
  29374. "description": "资金密码",
  29375. "type": "string"
  29376. },
  29377. "accountticket": {
  29378. "description": "最新账户服务流水号",
  29379. "type": "string"
  29380. },
  29381. "amount": {
  29382. "description": "金额",
  29383. "type": "number"
  29384. },
  29385. "applyremark": {
  29386. "description": "申请备注",
  29387. "type": "string"
  29388. },
  29389. "applystatus": {
  29390. "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: 复审通过,账户冻结金额检查中;",
  29391. "type": "integer"
  29392. },
  29393. "auditid": {
  29394. "description": "审核人",
  29395. "type": "integer"
  29396. },
  29397. "audittime": {
  29398. "description": "审核时间",
  29399. "type": "string"
  29400. },
  29401. "bank_apply_ticket": {
  29402. "description": "银行申请流水",
  29403. "type": "string"
  29404. },
  29405. "bankaccountname": {
  29406. "description": "银行账户名",
  29407. "type": "string"
  29408. },
  29409. "bankaccountno": {
  29410. "description": "银行卡号",
  29411. "type": "string"
  29412. },
  29413. "bankid": {
  29414. "description": "银行编号",
  29415. "type": "string"
  29416. },
  29417. "bankname": {
  29418. "description": "银行名称",
  29419. "type": "string"
  29420. },
  29421. "bankticket": {
  29422. "description": "银行流水",
  29423. "type": "string"
  29424. },
  29425. "branchbankid": {
  29426. "description": "银行支行号",
  29427. "type": "string"
  29428. },
  29429. "branchbankname": {
  29430. "description": "银行支行名称",
  29431. "type": "string"
  29432. },
  29433. "capamountout": {
  29434. "description": "出金(劣后本金) - 外部子账户",
  29435. "type": "number"
  29436. },
  29437. "certificatephotourl": {
  29438. "description": "凭证地址",
  29439. "type": "string"
  29440. },
  29441. "charge": {
  29442. "description": "手续费",
  29443. "type": "number"
  29444. },
  29445. "checkerrorflag": {
  29446. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29447. "type": "integer"
  29448. },
  29449. "currency": {
  29450. "description": "币种",
  29451. "type": "string"
  29452. },
  29453. "cusbankid": {
  29454. "description": "托管银行编号",
  29455. "type": "string"
  29456. },
  29457. "exchticket": {
  29458. "description": "银行服务流水号",
  29459. "type": "string"
  29460. },
  29461. "executetype": {
  29462. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29463. "type": "integer"
  29464. },
  29465. "extendinfo": {
  29466. "description": "扩展信息",
  29467. "type": "string"
  29468. },
  29469. "extoperateid": {
  29470. "description": "交易服务流水号",
  29471. "type": "integer"
  29472. },
  29473. "infamount": {
  29474. "description": "劣后金额(自有)",
  29475. "type": "number"
  29476. },
  29477. "logincode": {
  29478. "description": "登录账号(账号)",
  29479. "type": "string"
  29480. },
  29481. "netaddr": {
  29482. "description": "调转网址",
  29483. "type": "string"
  29484. },
  29485. "priamount": {
  29486. "description": "优先金额(授信)",
  29487. "type": "number"
  29488. },
  29489. "reauditid": {
  29490. "description": "复审人",
  29491. "type": "integer"
  29492. },
  29493. "reauditremark": {
  29494. "description": "复审备注",
  29495. "type": "string"
  29496. },
  29497. "reaudittime": {
  29498. "description": "复审时间",
  29499. "type": "string"
  29500. },
  29501. "relatedorderid": {
  29502. "description": "三方关联ID",
  29503. "type": "string"
  29504. },
  29505. "remark": {
  29506. "description": "备注",
  29507. "type": "string"
  29508. },
  29509. "remark2": {
  29510. "description": "备注(失败原因)",
  29511. "type": "string"
  29512. },
  29513. "soucreamount": {
  29514. "description": "原始出入金金额",
  29515. "type": "number"
  29516. },
  29517. "soucrecurrencyid": {
  29518. "description": "原始出入金币种",
  29519. "type": "integer"
  29520. },
  29521. "tradedate": {
  29522. "description": "交易日(yyyyMMdd)",
  29523. "type": "string"
  29524. },
  29525. "updatetime": {
  29526. "description": "更新时间(申请时间)",
  29527. "type": "string"
  29528. },
  29529. "userid": {
  29530. "description": "用户id",
  29531. "type": "integer"
  29532. },
  29533. "userinfotype": {
  29534. "description": "账户类型 1-个人 2-企业",
  29535. "type": "integer"
  29536. }
  29537. }
  29538. },
  29539. "models.QhjMgrBrokerApply": {
  29540. "type": "object",
  29541. "properties": {
  29542. "applicantid": {
  29543. "description": "申请人",
  29544. "type": "integer"
  29545. },
  29546. "applysrc": {
  29547. "description": "申请来源 - 1:管理端 2:终端",
  29548. "type": "integer"
  29549. },
  29550. "applystatus": {
  29551. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29552. "type": "integer"
  29553. },
  29554. "applytime": {
  29555. "description": "申请时间",
  29556. "type": "string"
  29557. },
  29558. "auditorid": {
  29559. "description": "审核人",
  29560. "type": "integer"
  29561. },
  29562. "auditremark": {
  29563. "description": "审核备注",
  29564. "type": "string"
  29565. },
  29566. "auditsrc": {
  29567. "description": "审核来源 - 1:管理端 2:终端",
  29568. "type": "integer"
  29569. },
  29570. "audittime": {
  29571. "description": "审核时间",
  29572. "type": "string"
  29573. },
  29574. "audittradedate": {
  29575. "description": "审核交易日(yyyyMMdd)",
  29576. "type": "string"
  29577. },
  29578. "brokerapplyid": {
  29579. "description": "申请ID(SEQ_BROKERAPPLY)",
  29580. "type": "integer"
  29581. },
  29582. "cardbackphotourl": {
  29583. "description": "证件背面图片地址",
  29584. "type": "string"
  29585. },
  29586. "cardfrontphotourl": {
  29587. "description": "证件正面图片地址",
  29588. "type": "string"
  29589. },
  29590. "cardnum": {
  29591. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29592. "type": "string"
  29593. },
  29594. "customername": {
  29595. "description": "姓名",
  29596. "type": "string"
  29597. },
  29598. "filterstatus": {
  29599. "description": "筛选条件",
  29600. "type": "string"
  29601. },
  29602. "logincode": {
  29603. "description": "登录代码",
  29604. "type": "string"
  29605. },
  29606. "mobile": {
  29607. "description": "手机号码",
  29608. "type": "string"
  29609. },
  29610. "parentuserid": {
  29611. "description": "所属机构id",
  29612. "type": "integer"
  29613. },
  29614. "parentusername": {
  29615. "description": "所属机构名称",
  29616. "type": "string"
  29617. },
  29618. "refereeuserid": {
  29619. "description": "推荐人id(经纪人)",
  29620. "type": "integer"
  29621. },
  29622. "refernum": {
  29623. "description": "推荐码",
  29624. "type": "string"
  29625. },
  29626. "remark": {
  29627. "description": "备注",
  29628. "type": "string"
  29629. },
  29630. "subarealevelpath": {
  29631. "description": "层级路径",
  29632. "type": "string"
  29633. },
  29634. "tradedate": {
  29635. "description": "交易日(yyyyMMdd)",
  29636. "type": "string"
  29637. },
  29638. "userid": {
  29639. "description": "申请人用户ID",
  29640. "type": "integer"
  29641. },
  29642. "userinfotype": {
  29643. "description": "用户类型 1-个人 2-企业",
  29644. "type": "integer"
  29645. },
  29646. "username": {
  29647. "description": "用户名称",
  29648. "type": "string"
  29649. }
  29650. }
  29651. },
  29652. "models.QhjMgrBrokerRewardReport": {
  29653. "type": "object",
  29654. "properties": {
  29655. "createtime": {
  29656. "description": "创建时间(注册时间)",
  29657. "type": "string"
  29658. },
  29659. "cycletime": {
  29660. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29661. "type": "string"
  29662. },
  29663. "cycletype": {
  29664. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29665. "type": "integer"
  29666. },
  29667. "directtotalnum": {
  29668. "description": "直推总人数【期末】",
  29669. "type": "integer"
  29670. },
  29671. "indirecttotalnum": {
  29672. "description": "间推总人数【期末】",
  29673. "type": "integer"
  29674. },
  29675. "mobile": {
  29676. "description": "电话号码",
  29677. "type": "string"
  29678. },
  29679. "refereeuserid": {
  29680. "description": "推荐人id(经纪人id)",
  29681. "type": "integer"
  29682. },
  29683. "refereeusername": {
  29684. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29685. "type": "string"
  29686. },
  29687. "refernum": {
  29688. "description": "推荐码",
  29689. "type": "string"
  29690. },
  29691. "subarealevelpath": {
  29692. "description": "用户层级路径",
  29693. "type": "string"
  29694. },
  29695. "todayrewardamount": {
  29696. "description": "奖励总金额【汇总】",
  29697. "type": "number"
  29698. },
  29699. "updatetime": {
  29700. "description": "更新时间",
  29701. "type": "string"
  29702. },
  29703. "userid": {
  29704. "description": "经纪人用户ID",
  29705. "type": "integer"
  29706. },
  29707. "userinfotype": {
  29708. "description": "用户类型 1-个人 2-企业",
  29709. "type": "integer"
  29710. },
  29711. "username": {
  29712. "description": "用户名称",
  29713. "type": "string"
  29714. }
  29715. }
  29716. },
  29717. "models.QhjMgrContract": {
  29718. "type": "object",
  29719. "properties": {
  29720. "contractconfirmtime": {
  29721. "description": "合同确认时间(时间)",
  29722. "type": "string"
  29723. },
  29724. "currisklevel": {
  29725. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29726. "type": "integer"
  29727. },
  29728. "decimalplace": {
  29729. "description": "商品报价小数位",
  29730. "type": "integer"
  29731. },
  29732. "enumdicname": {
  29733. "description": "单位名称",
  29734. "type": "string"
  29735. },
  29736. "goodscode": {
  29737. "description": "商品代码",
  29738. "type": "string"
  29739. },
  29740. "goodsid": {
  29741. "description": "商品ID [5:融资单]",
  29742. "type": "integer"
  29743. },
  29744. "goodsname": {
  29745. "description": "商品名称",
  29746. "type": "string"
  29747. },
  29748. "goodunitid": {
  29749. "description": "商品单位id",
  29750. "type": "integer"
  29751. },
  29752. "initmargin": {
  29753. "description": "初始保证金(首付款)",
  29754. "type": "number"
  29755. },
  29756. "lenderamount": {
  29757. "description": "贷款金额(总额|订单总额)",
  29758. "type": "number"
  29759. },
  29760. "logincode": {
  29761. "description": "账号(登录代码)",
  29762. "type": "string"
  29763. },
  29764. "marginratio": {
  29765. "description": "保证金比率(首付比例)",
  29766. "type": "number"
  29767. },
  29768. "mobile": {
  29769. "description": "电话号码(用户资料里的电话)",
  29770. "type": "string"
  29771. },
  29772. "payamount": {
  29773. "description": "已付(已付货款)",
  29774. "type": "number"
  29775. },
  29776. "reckonrecovermargin": {
  29777. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29778. "type": "number"
  29779. },
  29780. "recoveredmargin": {
  29781. "description": "已追缴保证金",
  29782. "type": "number"
  29783. },
  29784. "remainamount": {
  29785. "description": "合同剩余金额(融资额)",
  29786. "type": "number"
  29787. },
  29788. "scfcontractid": {
  29789. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29790. "type": "string"
  29791. },
  29792. "scfcontractstatus": {
  29793. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29794. "type": "integer"
  29795. },
  29796. "scfcontracttype": {
  29797. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29798. "type": "integer"
  29799. },
  29800. "totalinterest": {
  29801. "description": "已计总利息(利息)",
  29802. "type": "number"
  29803. },
  29804. "tradedate": {
  29805. "description": "交易日",
  29806. "type": "string"
  29807. },
  29808. "tradeprice": {
  29809. "description": "成交价格(成本价格)",
  29810. "type": "number"
  29811. },
  29812. "userid": {
  29813. "description": "用户ID",
  29814. "type": "integer"
  29815. },
  29816. "userinfotype": {
  29817. "description": "用户类型 1-个人 2-企业",
  29818. "type": "integer"
  29819. },
  29820. "username": {
  29821. "description": "用户名称",
  29822. "type": "string"
  29823. },
  29824. "wrqty": {
  29825. "description": "仓单数量(数量)",
  29826. "type": "number"
  29827. }
  29828. }
  29829. },
  29830. "models.QhjMgrCustomer": {
  29831. "type": "object",
  29832. "properties": {
  29833. "address": {
  29834. "description": "通讯地址",
  29835. "type": "string"
  29836. },
  29837. "attachment1": {
  29838. "description": "附件1",
  29839. "type": "string"
  29840. },
  29841. "audittime": {
  29842. "description": "审核时间",
  29843. "type": "string"
  29844. },
  29845. "birthday": {
  29846. "description": "生日",
  29847. "type": "string"
  29848. },
  29849. "brokerid": {
  29850. "description": "所属客户经理id",
  29851. "type": "integer"
  29852. },
  29853. "brokername": {
  29854. "description": "所属客户经理名称",
  29855. "type": "string"
  29856. },
  29857. "cardbackphotourl": {
  29858. "description": "证件反面图片地址",
  29859. "type": "string"
  29860. },
  29861. "cardfrontphotourl": {
  29862. "description": "证件正面图片地址",
  29863. "type": "string"
  29864. },
  29865. "cardnum": {
  29866. "description": "证件号码",
  29867. "type": "string"
  29868. },
  29869. "cardtype": {
  29870. "description": "证件类型",
  29871. "type": "integer"
  29872. },
  29873. "cardtypename": {
  29874. "description": "证件类型名称",
  29875. "type": "string"
  29876. },
  29877. "cityid": {
  29878. "description": "市",
  29879. "type": "integer"
  29880. },
  29881. "cityname": {
  29882. "description": "城市名称",
  29883. "type": "string"
  29884. },
  29885. "contactname": {
  29886. "description": "联系人",
  29887. "type": "string"
  29888. },
  29889. "countryid": {
  29890. "description": "国家",
  29891. "type": "integer"
  29892. },
  29893. "countryname": {
  29894. "description": "国家名称",
  29895. "type": "string"
  29896. },
  29897. "createtime": {
  29898. "description": "创建时间",
  29899. "type": "string"
  29900. },
  29901. "customername": {
  29902. "description": "客户名称",
  29903. "type": "string"
  29904. },
  29905. "districtid": {
  29906. "description": "区域",
  29907. "type": "integer"
  29908. },
  29909. "districtname": {
  29910. "description": "地区名称",
  29911. "type": "string"
  29912. },
  29913. "email": {
  29914. "description": "邮件",
  29915. "type": "string"
  29916. },
  29917. "legalpersonname": {
  29918. "description": "法人姓名(企业)",
  29919. "type": "string"
  29920. },
  29921. "logincode": {
  29922. "description": "登录账号(代码)",
  29923. "type": "string"
  29924. },
  29925. "memberuserid": {
  29926. "description": "所属机构ID(所属会员)",
  29927. "type": "integer"
  29928. },
  29929. "memberusername": {
  29930. "description": "所属会员名称",
  29931. "type": "string"
  29932. },
  29933. "mobile": {
  29934. "description": "手机号码",
  29935. "type": "string"
  29936. },
  29937. "modifytime": {
  29938. "description": "修改时间",
  29939. "type": "string"
  29940. },
  29941. "nickname": {
  29942. "description": "昵称",
  29943. "type": "string"
  29944. },
  29945. "parentuserid": {
  29946. "description": "上级机构(所属机构)",
  29947. "type": "integer"
  29948. },
  29949. "parentusername": {
  29950. "description": "所属机构名称",
  29951. "type": "string"
  29952. },
  29953. "provinceid": {
  29954. "description": "省",
  29955. "type": "integer"
  29956. },
  29957. "provincename": {
  29958. "description": "省名称",
  29959. "type": "string"
  29960. },
  29961. "proxystatementurl": {
  29962. "description": "授权委托书",
  29963. "type": "string"
  29964. },
  29965. "querytype": {
  29966. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29967. "type": "integer"
  29968. },
  29969. "remark": {
  29970. "description": "备注",
  29971. "type": "string"
  29972. },
  29973. "sex": {
  29974. "description": "性别 0-女 1-男",
  29975. "type": "integer"
  29976. },
  29977. "status": {
  29978. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29979. "type": "integer"
  29980. },
  29981. "statusdesc": {
  29982. "description": "账户状态中文描述",
  29983. "type": "string"
  29984. },
  29985. "taxpayernum": {
  29986. "description": "纳税人识别号",
  29987. "type": "string"
  29988. },
  29989. "telphone": {
  29990. "description": "联系电话",
  29991. "type": "string"
  29992. },
  29993. "userid": {
  29994. "description": "用户ID",
  29995. "type": "integer"
  29996. },
  29997. "userinfotype": {
  29998. "description": "客户类型 1-个人 2-企业",
  29999. "type": "integer"
  30000. },
  30001. "username": {
  30002. "description": "用户名称",
  30003. "type": "string"
  30004. }
  30005. }
  30006. },
  30007. "models.QhjMgrPickGoods": {
  30008. "type": "object",
  30009. "properties": {
  30010. "enumdicname": {
  30011. "description": "单位名称(提货商品)",
  30012. "type": "string"
  30013. },
  30014. "goodsid": {
  30015. "description": "商品id",
  30016. "type": "integer"
  30017. },
  30018. "imageaddress": {
  30019. "description": "图片",
  30020. "type": "string"
  30021. },
  30022. "modifierid": {
  30023. "description": "修改人",
  30024. "type": "integer"
  30025. },
  30026. "modifiername": {
  30027. "description": "修改人名称",
  30028. "type": "string"
  30029. },
  30030. "modifysrc": {
  30031. "description": "修改来源 - 1:管理端 2:终端",
  30032. "type": "integer"
  30033. },
  30034. "pickupgoodsagreeunit": {
  30035. "description": "合约乘数",
  30036. "type": "number"
  30037. },
  30038. "pickupgoodsdesc": {
  30039. "description": "描述",
  30040. "type": "string"
  30041. },
  30042. "pickupgoodsid": {
  30043. "description": "提货商品ID",
  30044. "type": "string"
  30045. },
  30046. "pickupgoodsname": {
  30047. "description": "提货商品名称",
  30048. "type": "string"
  30049. },
  30050. "pickupgoodsstatus": {
  30051. "description": "状态 - 1:正常 2:停用 3:注销",
  30052. "type": "integer"
  30053. },
  30054. "pickupgoodsunitid": {
  30055. "description": "单位ID",
  30056. "type": "integer"
  30057. },
  30058. "pickupratio": {
  30059. "description": "提货系数",
  30060. "type": "number"
  30061. },
  30062. "preparedays": {
  30063. "description": "备货期(天)",
  30064. "type": "integer"
  30065. },
  30066. "remark": {
  30067. "description": "备注",
  30068. "type": "string"
  30069. },
  30070. "updatetime": {
  30071. "description": "更新时间",
  30072. "type": "string"
  30073. }
  30074. }
  30075. },
  30076. "models.QhjMgrPositionRsp": {
  30077. "type": "object",
  30078. "properties": {
  30079. "accountid": {
  30080. "description": "账号Id",
  30081. "type": "integer"
  30082. },
  30083. "accountname": {
  30084. "description": "用户名称",
  30085. "type": "string"
  30086. },
  30087. "agreeunit": {
  30088. "description": "合约乘数",
  30089. "type": "number"
  30090. },
  30091. "averageprice": {
  30092. "description": "均价",
  30093. "type": "number"
  30094. },
  30095. "avialqty": {
  30096. "description": "可用数量",
  30097. "type": "number"
  30098. },
  30099. "decimalplace": {
  30100. "description": "报价小数位",
  30101. "type": "integer"
  30102. },
  30103. "enumdicname": {
  30104. "description": "单位名称(商品)",
  30105. "type": "string"
  30106. },
  30107. "frozenqty": {
  30108. "description": "冻结数量",
  30109. "type": "number"
  30110. },
  30111. "goodscode": {
  30112. "description": "商品代码(内部)",
  30113. "type": "string"
  30114. },
  30115. "goodsid": {
  30116. "description": "商品Id",
  30117. "type": "integer"
  30118. },
  30119. "goodsname": {
  30120. "description": "商品名称",
  30121. "type": "string"
  30122. },
  30123. "goodunitid": {
  30124. "description": "报价单位ID",
  30125. "type": "integer"
  30126. },
  30127. "holderamount": {
  30128. "description": "金额",
  30129. "type": "number"
  30130. },
  30131. "holderqty": {
  30132. "description": "持有数量",
  30133. "type": "number"
  30134. },
  30135. "holdertype": {
  30136. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  30137. "type": "integer"
  30138. },
  30139. "logincode": {
  30140. "description": "登录代码(账户)",
  30141. "type": "string"
  30142. },
  30143. "marketid": {
  30144. "description": "市场id",
  30145. "type": "integer"
  30146. },
  30147. "qtydecimalplace": {
  30148. "description": "成交量小数位",
  30149. "type": "integer"
  30150. },
  30151. "trademode": {
  30152. "description": "交易模式",
  30153. "type": "integer"
  30154. },
  30155. "userid": {
  30156. "description": "用户id",
  30157. "type": "integer"
  30158. },
  30159. "userinfotype": {
  30160. "description": "账户类型 1-个人 2-企业",
  30161. "type": "integer"
  30162. }
  30163. }
  30164. },
  30165. "models.QhjMgrSubArea": {
  30166. "type": "object",
  30167. "properties": {
  30168. "accountname": {
  30169. "description": "账户名称(机构名称)",
  30170. "type": "string"
  30171. },
  30172. "memberuserid": {
  30173. "description": "所属会员ID",
  30174. "type": "integer"
  30175. },
  30176. "parenttopuser": {
  30177. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30178. "type": "string"
  30179. },
  30180. "parentuserid": {
  30181. "description": "所属机构ID",
  30182. "type": "integer"
  30183. },
  30184. "rootuserid": {
  30185. "description": "根用户ID",
  30186. "type": "string"
  30187. },
  30188. "subaccountlevel": {
  30189. "description": "子账户层数",
  30190. "type": "integer"
  30191. },
  30192. "subarealevelpath": {
  30193. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30194. "type": "string"
  30195. },
  30196. "userid": {
  30197. "description": "用户ID",
  30198. "type": "integer"
  30199. },
  30200. "usertype": {
  30201. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30202. "type": "integer"
  30203. }
  30204. }
  30205. },
  30206. "models.QhjMgrTradeDetailRsp": {
  30207. "type": "object",
  30208. "properties": {
  30209. "accountid": {
  30210. "description": "资金账号",
  30211. "type": "integer"
  30212. },
  30213. "accountname": {
  30214. "description": "用户名称",
  30215. "type": "string"
  30216. },
  30217. "agreeunit": {
  30218. "description": "合约乘数",
  30219. "type": "number"
  30220. },
  30221. "buyorsell": {
  30222. "description": "成交类型(方向) 0:买 1:卖",
  30223. "type": "integer"
  30224. },
  30225. "decimalplace": {
  30226. "description": "报价小数位",
  30227. "type": "integer"
  30228. },
  30229. "enumdicname": {
  30230. "description": "单位名称(商品)",
  30231. "type": "string"
  30232. },
  30233. "goodscode": {
  30234. "description": "商品代码(内部)",
  30235. "type": "string"
  30236. },
  30237. "goodsid": {
  30238. "description": "商品id",
  30239. "type": "integer"
  30240. },
  30241. "goodsname": {
  30242. "description": "商品名称",
  30243. "type": "string"
  30244. },
  30245. "goodunitid": {
  30246. "description": "报价单位ID",
  30247. "type": "integer"
  30248. },
  30249. "logincode": {
  30250. "description": "登录代码(账户)",
  30251. "type": "string"
  30252. },
  30253. "marketid": {
  30254. "description": "市场id",
  30255. "type": "integer"
  30256. },
  30257. "orderid": {
  30258. "description": "关联委托单号",
  30259. "type": "string"
  30260. },
  30261. "qtydecimalplace": {
  30262. "description": "成交量小数位",
  30263. "type": "integer"
  30264. },
  30265. "tradeamount": {
  30266. "description": "金额",
  30267. "type": "number"
  30268. },
  30269. "tradedate": {
  30270. "description": "交易日",
  30271. "type": "string"
  30272. },
  30273. "tradeid": {
  30274. "description": "成交单号",
  30275. "type": "string"
  30276. },
  30277. "trademode": {
  30278. "description": "交易模式",
  30279. "type": "integer"
  30280. },
  30281. "tradeprice": {
  30282. "description": "价格",
  30283. "type": "number"
  30284. },
  30285. "tradeqty": {
  30286. "description": "数量",
  30287. "type": "number"
  30288. },
  30289. "tradetime": {
  30290. "description": "成交时间",
  30291. "type": "string"
  30292. },
  30293. "userid": {
  30294. "description": "用户id",
  30295. "type": "integer"
  30296. },
  30297. "userinfotype": {
  30298. "description": "账户类型 1-个人 2-企业",
  30299. "type": "integer"
  30300. }
  30301. }
  30302. },
  30303. "models.QhjMgrTradeOrderDetailRsp": {
  30304. "type": "object",
  30305. "properties": {
  30306. "accountid": {
  30307. "description": "资金账号",
  30308. "type": "integer"
  30309. },
  30310. "accountname": {
  30311. "description": "用户名称",
  30312. "type": "string"
  30313. },
  30314. "agreeunit": {
  30315. "description": "合约乘数",
  30316. "type": "number"
  30317. },
  30318. "amount": {
  30319. "description": "金额",
  30320. "type": "number"
  30321. },
  30322. "decimalplace": {
  30323. "description": "报价小数位",
  30324. "type": "integer"
  30325. },
  30326. "enumdicname": {
  30327. "description": "单位名称(商品)",
  30328. "type": "string"
  30329. },
  30330. "goodscode": {
  30331. "description": "商品代码(内部)",
  30332. "type": "string"
  30333. },
  30334. "goodsid": {
  30335. "description": "商品id",
  30336. "type": "integer"
  30337. },
  30338. "goodsname": {
  30339. "description": "商品名称",
  30340. "type": "string"
  30341. },
  30342. "goodunitid": {
  30343. "description": "报价单位ID",
  30344. "type": "integer"
  30345. },
  30346. "logincode": {
  30347. "description": "登录代码(账户)",
  30348. "type": "string"
  30349. },
  30350. "marketid": {
  30351. "description": "市场id",
  30352. "type": "integer"
  30353. },
  30354. "orderid": {
  30355. "description": "关联委托单号",
  30356. "type": "string"
  30357. },
  30358. "orderprice": {
  30359. "description": "价格",
  30360. "type": "number"
  30361. },
  30362. "orderqty": {
  30363. "description": "数量",
  30364. "type": "number"
  30365. },
  30366. "orderstatus": {
  30367. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30368. "type": "integer"
  30369. },
  30370. "ordertime": {
  30371. "description": "委托时间",
  30372. "type": "string"
  30373. },
  30374. "qtydecimalplace": {
  30375. "description": "成交量小数位",
  30376. "type": "integer"
  30377. },
  30378. "tradedate": {
  30379. "description": "交易日",
  30380. "type": "string"
  30381. },
  30382. "trademode": {
  30383. "description": "交易模式",
  30384. "type": "integer"
  30385. },
  30386. "userid": {
  30387. "description": "用户id",
  30388. "type": "integer"
  30389. },
  30390. "userinfotype": {
  30391. "description": "账户类型 1-个人 2-企业",
  30392. "type": "integer"
  30393. }
  30394. }
  30395. },
  30396. "models.QhjMgrTradePayOrder": {
  30397. "type": "object",
  30398. "properties": {
  30399. "accountname": {
  30400. "description": "用户名称",
  30401. "type": "string"
  30402. },
  30403. "advanceratio": {
  30404. "description": "首付比率",
  30405. "type": "number"
  30406. },
  30407. "agreeunit": {
  30408. "description": "合约乘数",
  30409. "type": "number"
  30410. },
  30411. "buyaccountid": {
  30412. "description": "买方账号ID[报价币种]",
  30413. "type": "integer"
  30414. },
  30415. "buyorderid": {
  30416. "description": "买方委托单号(关联单号)",
  30417. "type": "string"
  30418. },
  30419. "createtime": {
  30420. "description": "创建时间",
  30421. "type": "string"
  30422. },
  30423. "decimalplace": {
  30424. "description": "报价小数位",
  30425. "type": "integer"
  30426. },
  30427. "enumdicname": {
  30428. "description": "单位名称(商品)",
  30429. "type": "string"
  30430. },
  30431. "goodscode": {
  30432. "description": "商品代码(内部)",
  30433. "type": "string"
  30434. },
  30435. "goodsid": {
  30436. "description": "商品ID",
  30437. "type": "integer"
  30438. },
  30439. "goodsname": {
  30440. "description": "商品名称",
  30441. "type": "string"
  30442. },
  30443. "goodunitid": {
  30444. "description": "报价单位ID",
  30445. "type": "integer"
  30446. },
  30447. "logincode": {
  30448. "description": "登录代码(账户)",
  30449. "type": "string"
  30450. },
  30451. "marketid": {
  30452. "description": "市场id",
  30453. "type": "integer"
  30454. },
  30455. "offamount": {
  30456. "description": "优惠金额",
  30457. "type": "number"
  30458. },
  30459. "operatetype": {
  30460. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30461. "type": "integer"
  30462. },
  30463. "payamount": {
  30464. "description": "支付金额(金额)",
  30465. "type": "number"
  30466. },
  30467. "payflag": {
  30468. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30469. "type": "integer"
  30470. },
  30471. "paylimitedtime": {
  30472. "description": "支付期限",
  30473. "type": "string"
  30474. },
  30475. "paytime": {
  30476. "description": "付款时间",
  30477. "type": "string"
  30478. },
  30479. "qtydecimalplace": {
  30480. "description": "成交量小数位",
  30481. "type": "integer"
  30482. },
  30483. "sellaccountid": {
  30484. "description": "卖方账号ID[报价币种]",
  30485. "type": "integer"
  30486. },
  30487. "sellorderid": {
  30488. "description": "卖方委托单号",
  30489. "type": "string"
  30490. },
  30491. "tradeamount": {
  30492. "description": "成交金额(优惠后金额)",
  30493. "type": "number"
  30494. },
  30495. "tradecharge": {
  30496. "description": "成交手续费(买方)",
  30497. "type": "number"
  30498. },
  30499. "tradedate": {
  30500. "description": "交易日(yyyyMMdd)",
  30501. "type": "string"
  30502. },
  30503. "tradeid": {
  30504. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30505. "type": "string"
  30506. },
  30507. "trademode": {
  30508. "description": "交易模式",
  30509. "type": "integer"
  30510. },
  30511. "tradeprice": {
  30512. "description": "成交价格(价格)",
  30513. "type": "number"
  30514. },
  30515. "tradeqty": {
  30516. "description": "成交数量(数量)",
  30517. "type": "number"
  30518. },
  30519. "tradetime": {
  30520. "description": "成交时间",
  30521. "type": "string"
  30522. },
  30523. "userid": {
  30524. "description": "用户id",
  30525. "type": "integer"
  30526. },
  30527. "userinfotype": {
  30528. "description": "账户类型 1-个人 2-企业",
  30529. "type": "integer"
  30530. }
  30531. }
  30532. },
  30533. "models.QhjMyTeamEx": {
  30534. "type": "object",
  30535. "properties": {
  30536. "accountname": {
  30537. "description": "用户名称",
  30538. "type": "string"
  30539. },
  30540. "accountstatus": {
  30541. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30542. "type": "integer"
  30543. },
  30544. "createtime": {
  30545. "description": "创建时间",
  30546. "type": "string"
  30547. },
  30548. "mobile": {
  30549. "description": "手机号码",
  30550. "type": "string"
  30551. },
  30552. "refereeuserid": {
  30553. "description": "推荐人id",
  30554. "type": "integer"
  30555. },
  30556. "refernum": {
  30557. "description": "推荐码",
  30558. "type": "string"
  30559. },
  30560. "subList": {
  30561. "type": "array",
  30562. "items": {
  30563. "$ref": "#/definitions/models.QhjMyTeamEx"
  30564. }
  30565. },
  30566. "userid": {
  30567. "description": "用户id",
  30568. "type": "integer"
  30569. },
  30570. "userinfotype": {
  30571. "description": "用户类型 1-个人 2-企业",
  30572. "type": "integer"
  30573. }
  30574. }
  30575. },
  30576. "models.QhjNodeAgreementConfig": {
  30577. "type": "object",
  30578. "properties": {
  30579. "agreementcontent": {
  30580. "description": "协议内容",
  30581. "type": "string"
  30582. },
  30583. "agreementid": {
  30584. "description": "协议ID",
  30585. "type": "integer"
  30586. },
  30587. "agreementname": {
  30588. "description": "协议名称",
  30589. "type": "string"
  30590. },
  30591. "agreementno": {
  30592. "description": "协议编号",
  30593. "type": "string"
  30594. },
  30595. "agreementtype": {
  30596. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30597. "type": "integer"
  30598. },
  30599. "agreementversion": {
  30600. "description": "协议版本号",
  30601. "type": "integer"
  30602. },
  30603. "configid": {
  30604. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30605. "type": "integer"
  30606. },
  30607. "createtime": {
  30608. "description": "创建时间",
  30609. "type": "string"
  30610. },
  30611. "goodsid": {
  30612. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30613. "type": "integer"
  30614. },
  30615. "nodetype": {
  30616. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30617. "type": "integer"
  30618. }
  30619. }
  30620. },
  30621. "models.QhjParentAreaList": {
  30622. "type": "object",
  30623. "properties": {
  30624. "accountname": {
  30625. "description": "账户名称(机构名称)",
  30626. "type": "string"
  30627. },
  30628. "userid": {
  30629. "description": "用户ID",
  30630. "type": "integer"
  30631. },
  30632. "usertype": {
  30633. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30634. "type": "integer"
  30635. }
  30636. }
  30637. },
  30638. "models.QhjPayOrder": {
  30639. "type": "object",
  30640. "properties": {
  30641. "advanceratio": {
  30642. "description": "首付比率",
  30643. "type": "number"
  30644. },
  30645. "buyaccountid": {
  30646. "description": "买方账号ID[报价币种]",
  30647. "type": "integer"
  30648. },
  30649. "buyorderid": {
  30650. "description": "买方委托单号",
  30651. "type": "string"
  30652. },
  30653. "createtime": {
  30654. "description": "创建时间",
  30655. "type": "string"
  30656. },
  30657. "decimalplace": {
  30658. "description": "商品报价小数位",
  30659. "type": "integer"
  30660. },
  30661. "enumdicname": {
  30662. "description": "单位名称",
  30663. "type": "string"
  30664. },
  30665. "goodscode": {
  30666. "description": "商品代码",
  30667. "type": "string"
  30668. },
  30669. "goodsid": {
  30670. "description": "商品ID",
  30671. "type": "integer"
  30672. },
  30673. "goodsname": {
  30674. "description": "商品名称",
  30675. "type": "string"
  30676. },
  30677. "goodunitid": {
  30678. "description": "商品单位id",
  30679. "type": "integer"
  30680. },
  30681. "marketid": {
  30682. "description": "市场ID",
  30683. "type": "integer"
  30684. },
  30685. "offamount": {
  30686. "description": "优惠金额",
  30687. "type": "number"
  30688. },
  30689. "operatetype": {
  30690. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30691. "type": "integer"
  30692. },
  30693. "payamount": {
  30694. "description": "支付金额",
  30695. "type": "number"
  30696. },
  30697. "payflag": {
  30698. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30699. "type": "integer"
  30700. },
  30701. "paylimitedtime": {
  30702. "description": "支付期限",
  30703. "type": "string"
  30704. },
  30705. "paytime": {
  30706. "description": "付款时间",
  30707. "type": "string"
  30708. },
  30709. "qtydecimalplace": {
  30710. "description": "成交量小数位",
  30711. "type": "integer"
  30712. },
  30713. "sellaccountid": {
  30714. "description": "卖方账号ID[报价币种]",
  30715. "type": "integer"
  30716. },
  30717. "sellorderid": {
  30718. "description": "卖方委托单号",
  30719. "type": "string"
  30720. },
  30721. "tradeamount": {
  30722. "description": "成交金额(优惠后金额)",
  30723. "type": "number"
  30724. },
  30725. "tradecharge": {
  30726. "description": "成交手续费(买方)",
  30727. "type": "number"
  30728. },
  30729. "tradedate": {
  30730. "description": "交易日(yyyyMMdd)",
  30731. "type": "string"
  30732. },
  30733. "tradeid": {
  30734. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30735. "type": "string"
  30736. },
  30737. "tradeprice": {
  30738. "description": "成交价格",
  30739. "type": "number"
  30740. },
  30741. "tradeqty": {
  30742. "description": "成交数量",
  30743. "type": "number"
  30744. }
  30745. }
  30746. },
  30747. "models.QhjPickArea": {
  30748. "type": "object",
  30749. "properties": {
  30750. "address": {
  30751. "description": "详细地址",
  30752. "type": "string"
  30753. },
  30754. "cityid": {
  30755. "description": "市",
  30756. "type": "integer"
  30757. },
  30758. "cityname": {
  30759. "description": "城市名称",
  30760. "type": "string"
  30761. },
  30762. "countryid": {
  30763. "description": "国家",
  30764. "type": "integer"
  30765. },
  30766. "countryname": {
  30767. "description": "国家名称",
  30768. "type": "string"
  30769. },
  30770. "districtid": {
  30771. "description": "地区",
  30772. "type": "integer"
  30773. },
  30774. "districtname": {
  30775. "description": "地区名称",
  30776. "type": "string"
  30777. },
  30778. "fromuserid": {
  30779. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30780. "type": "integer"
  30781. },
  30782. "fromusername": {
  30783. "description": "所属机构名称",
  30784. "type": "string"
  30785. },
  30786. "provinceid": {
  30787. "description": "省",
  30788. "type": "integer"
  30789. },
  30790. "provincename": {
  30791. "description": "省名称",
  30792. "type": "string"
  30793. },
  30794. "suborgtype": {
  30795. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30796. "type": "integer"
  30797. },
  30798. "userid": {
  30799. "description": "机构用户ID 其他做市关系,都设置为 1",
  30800. "type": "integer"
  30801. },
  30802. "username": {
  30803. "description": "机构用户名称(门店门称)",
  30804. "type": "string"
  30805. }
  30806. }
  30807. },
  30808. "models.QhjPickGoods": {
  30809. "type": "object",
  30810. "properties": {
  30811. "enumdicname": {
  30812. "description": "单位名称(提货商品)",
  30813. "type": "string"
  30814. },
  30815. "goodsid": {
  30816. "description": "商品id",
  30817. "type": "integer"
  30818. },
  30819. "imageaddress": {
  30820. "description": "图片",
  30821. "type": "string"
  30822. },
  30823. "modifierid": {
  30824. "description": "修改人",
  30825. "type": "integer"
  30826. },
  30827. "modifiername": {
  30828. "description": "修改人名称",
  30829. "type": "string"
  30830. },
  30831. "modifysrc": {
  30832. "description": "修改来源 - 1:管理端 2:终端",
  30833. "type": "integer"
  30834. },
  30835. "pickupgoodsagreeunit": {
  30836. "description": "合约乘数",
  30837. "type": "number"
  30838. },
  30839. "pickupgoodsdesc": {
  30840. "description": "描述",
  30841. "type": "string"
  30842. },
  30843. "pickupgoodsid": {
  30844. "description": "提货商品ID",
  30845. "type": "string"
  30846. },
  30847. "pickupgoodsname": {
  30848. "description": "提货商品名称",
  30849. "type": "string"
  30850. },
  30851. "pickupgoodsstatus": {
  30852. "description": "状态 - 1:正常 2:停用 3:注销",
  30853. "type": "integer"
  30854. },
  30855. "pickupgoodsunitid": {
  30856. "description": "单位ID",
  30857. "type": "integer"
  30858. },
  30859. "pickupratio": {
  30860. "description": "提货系数",
  30861. "type": "number"
  30862. },
  30863. "preparedays": {
  30864. "description": "备货期(天)",
  30865. "type": "integer"
  30866. },
  30867. "remark": {
  30868. "description": "备注",
  30869. "type": "string"
  30870. },
  30871. "updatetime": {
  30872. "description": "更新时间",
  30873. "type": "string"
  30874. }
  30875. }
  30876. },
  30877. "models.QhjRSTriggerLog": {
  30878. "type": "object",
  30879. "properties": {
  30880. "accountid": {
  30881. "description": "用户资金账户",
  30882. "type": "integer"
  30883. },
  30884. "accountname": {
  30885. "description": "账号名称(ACCOUNTID对应的名称)",
  30886. "type": "string"
  30887. },
  30888. "currencyid": {
  30889. "description": "币种id",
  30890. "type": "integer"
  30891. },
  30892. "currencyname": {
  30893. "description": "币种名称",
  30894. "type": "string"
  30895. },
  30896. "decimalplace": {
  30897. "description": "商品报价小数位",
  30898. "type": "integer"
  30899. },
  30900. "enumdicname": {
  30901. "description": "单位名称",
  30902. "type": "string"
  30903. },
  30904. "goodscode": {
  30905. "description": "定投商品代码",
  30906. "type": "string"
  30907. },
  30908. "goodsid": {
  30909. "description": "定投商品ID",
  30910. "type": "integer"
  30911. },
  30912. "goodsname": {
  30913. "description": "定投商品名称",
  30914. "type": "string"
  30915. },
  30916. "goodunitid": {
  30917. "description": "定投商品单位id",
  30918. "type": "integer"
  30919. },
  30920. "logid": {
  30921. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30922. "type": "string"
  30923. },
  30924. "logincode": {
  30925. "description": "账号(登录代码)",
  30926. "type": "string"
  30927. },
  30928. "qtydecimalplace": {
  30929. "description": "成交量小数位",
  30930. "type": "integer"
  30931. },
  30932. "regularlycycle": {
  30933. "description": "定投频率 - 1:每周 2:每月",
  30934. "type": "integer"
  30935. },
  30936. "regularlycyclevalue": {
  30937. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30938. "type": "string"
  30939. },
  30940. "regularlymode": {
  30941. "description": "定投方式 - 1:按数量 2:按金额",
  30942. "type": "integer"
  30943. },
  30944. "regularlymodevalue": {
  30945. "description": "定投方式值 - 数量或金额",
  30946. "type": "number"
  30947. },
  30948. "regularlystrategyid": {
  30949. "description": "定投策略ID",
  30950. "type": "integer"
  30951. },
  30952. "retcode": {
  30953. "description": "错误码",
  30954. "type": "string"
  30955. },
  30956. "tradeid": {
  30957. "description": "成交单ID",
  30958. "type": "string"
  30959. },
  30960. "triggeramount": {
  30961. "description": "触发金额",
  30962. "type": "number"
  30963. },
  30964. "triggerqty": {
  30965. "description": "触发数量",
  30966. "type": "number"
  30967. },
  30968. "triggerstatus": {
  30969. "description": "触发状态 - 1:成功 2:失败",
  30970. "type": "integer"
  30971. },
  30972. "triggertime": {
  30973. "description": "触发时间",
  30974. "type": "string"
  30975. },
  30976. "triggertradedate": {
  30977. "description": "触发交易日",
  30978. "type": "string"
  30979. },
  30980. "userid": {
  30981. "description": "所属用户ID",
  30982. "type": "integer"
  30983. },
  30984. "userinfotype": {
  30985. "description": "用户类型 1-个人 2-企业",
  30986. "type": "integer"
  30987. },
  30988. "username": {
  30989. "description": "用户名称(userid对应的名称)",
  30990. "type": "string"
  30991. }
  30992. }
  30993. },
  30994. "models.QhjRStrategy": {
  30995. "type": "object",
  30996. "properties": {
  30997. "accountid": {
  30998. "description": "用户资金账户",
  30999. "type": "integer"
  31000. },
  31001. "accountname": {
  31002. "description": "账号名称(ACCOUNTID对应的名称)",
  31003. "type": "string"
  31004. },
  31005. "currencyid": {
  31006. "description": "币种id",
  31007. "type": "integer"
  31008. },
  31009. "currencyname": {
  31010. "description": "币种名称",
  31011. "type": "string"
  31012. },
  31013. "decimalplace": {
  31014. "description": "商品报价小数位",
  31015. "type": "integer"
  31016. },
  31017. "enumdicname": {
  31018. "description": "单位名称",
  31019. "type": "string"
  31020. },
  31021. "goodscode": {
  31022. "description": "定投商品代码",
  31023. "type": "string"
  31024. },
  31025. "goodsid": {
  31026. "description": "定投商品ID",
  31027. "type": "integer"
  31028. },
  31029. "goodsname": {
  31030. "description": "定投商品名称",
  31031. "type": "string"
  31032. },
  31033. "goodunitid": {
  31034. "description": "定投商品单位id",
  31035. "type": "integer"
  31036. },
  31037. "lasteffecttradedate": {
  31038. "description": "最新生效交易日",
  31039. "type": "string"
  31040. },
  31041. "laststoptradedate": {
  31042. "description": "最新暂停交易日",
  31043. "type": "string"
  31044. },
  31045. "lasttriggertradedate": {
  31046. "description": "最新触发交易日",
  31047. "type": "string"
  31048. },
  31049. "logincode": {
  31050. "description": "账号(登录代码)",
  31051. "type": "string"
  31052. },
  31053. "nexttriggeramount": {
  31054. "description": "下次触发金额",
  31055. "type": "number"
  31056. },
  31057. "nexttriggerdate": {
  31058. "description": "下次触发日期",
  31059. "type": "string"
  31060. },
  31061. "nexttriggerqty": {
  31062. "description": "下次触发数量 [按小数位放大值]",
  31063. "type": "number"
  31064. },
  31065. "qtydecimalplace": {
  31066. "description": "成交量小数位",
  31067. "type": "integer"
  31068. },
  31069. "regularlycycle": {
  31070. "description": "定投频率 - 1:每周 2:每月",
  31071. "type": "integer"
  31072. },
  31073. "regularlycyclevalue": {
  31074. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  31075. "type": "string"
  31076. },
  31077. "regularlymode": {
  31078. "description": "定投方式 - 1:按数量 2:按金额",
  31079. "type": "integer"
  31080. },
  31081. "regularlymodevalue": {
  31082. "description": "定投方式值 - 数量或金额",
  31083. "type": "number"
  31084. },
  31085. "regularlystrategyid": {
  31086. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  31087. "type": "integer"
  31088. },
  31089. "regularlystrategystatus": {
  31090. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  31091. "type": "integer"
  31092. },
  31093. "remark": {
  31094. "description": "备注",
  31095. "type": "string"
  31096. },
  31097. "triggersuccesstimes": {
  31098. "description": "累计定投成功次数",
  31099. "type": "string"
  31100. },
  31101. "triggertotalamount": {
  31102. "description": "累计定投金额(成功)",
  31103. "type": "number"
  31104. },
  31105. "triggertotalqty": {
  31106. "description": "累计定投数量(成功) [按小数位放大值]",
  31107. "type": "number"
  31108. },
  31109. "triggertotaltimes": {
  31110. "description": "累计定投总次数",
  31111. "type": "string"
  31112. },
  31113. "updatesrc": {
  31114. "description": "更新来源 - 1:管理端 2:终端",
  31115. "type": "integer"
  31116. },
  31117. "updatetime": {
  31118. "description": "更新时间",
  31119. "type": "string"
  31120. },
  31121. "updatorid": {
  31122. "description": "更新人",
  31123. "type": "string"
  31124. },
  31125. "userid": {
  31126. "description": "所属用户ID",
  31127. "type": "integer"
  31128. },
  31129. "userinfotype": {
  31130. "description": "用户类型 1-个人 2-企业",
  31131. "type": "integer"
  31132. },
  31133. "username": {
  31134. "description": "用户名称(userid对应的名称)",
  31135. "type": "string"
  31136. }
  31137. }
  31138. },
  31139. "models.QhjReckonPriceLog": {
  31140. "type": "object",
  31141. "properties": {
  31142. "decimalplace": {
  31143. "description": "商品报价小数位",
  31144. "type": "integer"
  31145. },
  31146. "goodscode": {
  31147. "description": "商品代码",
  31148. "type": "string"
  31149. },
  31150. "goodsid": {
  31151. "description": "商品ID",
  31152. "type": "integer"
  31153. },
  31154. "goodsname": {
  31155. "description": "商品名称",
  31156. "type": "string"
  31157. },
  31158. "lastreckonprice": {
  31159. "description": "上日结算价",
  31160. "type": "number"
  31161. },
  31162. "nextdnlimitprice": {
  31163. "description": "下个交易日跌停价",
  31164. "type": "number"
  31165. },
  31166. "nexttrade": {
  31167. "description": "下个交易日",
  31168. "type": "string"
  31169. },
  31170. "nextuplimitprice": {
  31171. "description": "下个交易日涨停价",
  31172. "type": "number"
  31173. },
  31174. "reckonprice": {
  31175. "description": "今日结算价(定投价)",
  31176. "type": "number"
  31177. },
  31178. "reckontime": {
  31179. "description": "结算时间",
  31180. "type": "string"
  31181. },
  31182. "totalholderqty": {
  31183. "description": "总持仓数",
  31184. "type": "integer"
  31185. },
  31186. "totalstock": {
  31187. "description": "总库存",
  31188. "type": "integer"
  31189. },
  31190. "tradedate": {
  31191. "description": "交易日",
  31192. "type": "string"
  31193. },
  31194. "updowncount": {
  31195. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  31196. "type": "integer"
  31197. },
  31198. "updownflag": {
  31199. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  31200. "type": "integer"
  31201. },
  31202. "updownrate": {
  31203. "description": "今日涨跌幅",
  31204. "type": "number"
  31205. },
  31206. "updownrate_2d": {
  31207. "description": "连续两日涨跌幅",
  31208. "type": "number"
  31209. },
  31210. "updownrate_3d": {
  31211. "description": "连续三日涨跌幅",
  31212. "type": "number"
  31213. }
  31214. }
  31215. },
  31216. "models.QhjScoreLog": {
  31217. "type": "object",
  31218. "properties": {
  31219. "accountid": {
  31220. "description": "账户ID",
  31221. "type": "integer"
  31222. },
  31223. "createtime": {
  31224. "description": "创建时间(时间)",
  31225. "type": "string"
  31226. },
  31227. "goodsid": {
  31228. "description": "商品ID",
  31229. "type": "integer"
  31230. },
  31231. "hasuploaded": {
  31232. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31233. "type": "integer"
  31234. },
  31235. "logid": {
  31236. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31237. "type": "string"
  31238. },
  31239. "marketid": {
  31240. "description": "市场ID",
  31241. "type": "integer"
  31242. },
  31243. "relatedamount": {
  31244. "description": "关联金额",
  31245. "type": "number"
  31246. },
  31247. "relatedorderid": {
  31248. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31249. "type": "string"
  31250. },
  31251. "scoreconfigvalue1": {
  31252. "description": "积分配置1",
  31253. "type": "integer"
  31254. },
  31255. "scoreconfigvalue2": {
  31256. "description": "积分配置1",
  31257. "type": "integer"
  31258. },
  31259. "scoretype": {
  31260. "description": "积分类型 - 1:提货积分",
  31261. "type": "integer"
  31262. },
  31263. "scorevalue": {
  31264. "description": "积分",
  31265. "type": "number"
  31266. },
  31267. "tradedate": {
  31268. "description": "交易日(yyyyMMdd)",
  31269. "type": "string"
  31270. },
  31271. "uploadedtime": {
  31272. "description": "同步时间",
  31273. "type": "string"
  31274. },
  31275. "userid": {
  31276. "description": "用户ID",
  31277. "type": "integer"
  31278. }
  31279. }
  31280. },
  31281. "models.QhjSiteColumnDetail": {
  31282. "type": "object",
  31283. "properties": {
  31284. "author": {
  31285. "description": "作者",
  31286. "type": "string"
  31287. },
  31288. "brief": {
  31289. "description": "简介",
  31290. "type": "string"
  31291. },
  31292. "columnid": {
  31293. "description": "所属栏目",
  31294. "type": "integer"
  31295. },
  31296. "context": {
  31297. "description": "内容",
  31298. "type": "string"
  31299. },
  31300. "coverimage": {
  31301. "description": "封面图片",
  31302. "type": "string"
  31303. },
  31304. "creaedate": {
  31305. "description": "创建时间",
  31306. "type": "string"
  31307. },
  31308. "creatorid": {
  31309. "description": "创建人",
  31310. "type": "integer"
  31311. },
  31312. "hits": {
  31313. "description": "点击数",
  31314. "type": "integer"
  31315. },
  31316. "id": {
  31317. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31318. "type": "integer"
  31319. },
  31320. "isshow": {
  31321. "description": "是否展示 - 0:不展示 1:展示",
  31322. "type": "integer"
  31323. },
  31324. "istop": {
  31325. "description": "是否置顶 - 0:不置 1:置顶",
  31326. "type": "integer"
  31327. },
  31328. "modifierid": {
  31329. "description": "操作人",
  31330. "type": "integer"
  31331. },
  31332. "publishdate": {
  31333. "description": "发布日期",
  31334. "type": "string"
  31335. },
  31336. "status": {
  31337. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31338. "type": "integer"
  31339. },
  31340. "title": {
  31341. "description": "标题",
  31342. "type": "string"
  31343. },
  31344. "updatedate": {
  31345. "description": "修改时间",
  31346. "type": "string"
  31347. },
  31348. "userid": {
  31349. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31350. "type": "integer"
  31351. },
  31352. "username": {
  31353. "description": "用户名称",
  31354. "type": "string"
  31355. }
  31356. }
  31357. },
  31358. "models.QhjTeamOrder": {
  31359. "type": "object",
  31360. "properties": {
  31361. "accountid": {
  31362. "description": "账户ID[报价币种]",
  31363. "type": "integer"
  31364. },
  31365. "accountname": {
  31366. "description": "账户名称",
  31367. "type": "string"
  31368. },
  31369. "agreeunit": {
  31370. "description": "合约乘数",
  31371. "type": "number"
  31372. },
  31373. "buyorsell": {
  31374. "description": "方向 - 0:买 1:卖",
  31375. "type": "integer"
  31376. },
  31377. "decimalplace": {
  31378. "description": "报价小数位",
  31379. "type": "integer"
  31380. },
  31381. "enumdicname": {
  31382. "description": "单位名称",
  31383. "type": "string"
  31384. },
  31385. "goodscode": {
  31386. "description": "商品代码(内部)",
  31387. "type": "string"
  31388. },
  31389. "goodsid": {
  31390. "description": "商品ID",
  31391. "type": "integer"
  31392. },
  31393. "goodsname": {
  31394. "description": "商品名称",
  31395. "type": "string"
  31396. },
  31397. "goodunitid": {
  31398. "description": "报价单位ID",
  31399. "type": "integer"
  31400. },
  31401. "marketid": {
  31402. "description": "市场ID",
  31403. "type": "integer"
  31404. },
  31405. "marketname": {
  31406. "description": "市场名称",
  31407. "type": "string"
  31408. },
  31409. "qtydecimalplace": {
  31410. "description": "成交量小数位",
  31411. "type": "integer"
  31412. },
  31413. "refereeuserid": {
  31414. "description": "推荐人ID",
  31415. "type": "integer"
  31416. },
  31417. "tradeamount": {
  31418. "description": "成交金额[账户币种,用于所有权]",
  31419. "type": "number"
  31420. },
  31421. "tradedate": {
  31422. "description": "交易日(yyyyMMdd)",
  31423. "type": "string"
  31424. },
  31425. "trademode": {
  31426. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31427. "type": "integer"
  31428. },
  31429. "tradeprice": {
  31430. "description": "成交价格",
  31431. "type": "number"
  31432. },
  31433. "tradeqty": {
  31434. "description": "成交数量",
  31435. "type": "number"
  31436. },
  31437. "tradetime": {
  31438. "description": "成交时间",
  31439. "type": "string"
  31440. },
  31441. "userid": {
  31442. "description": "用户ID",
  31443. "type": "integer"
  31444. }
  31445. }
  31446. },
  31447. "models.QhjTradeGoodsPickup": {
  31448. "type": "object",
  31449. "properties": {
  31450. "accountid": {
  31451. "description": "账户ID",
  31452. "type": "integer"
  31453. },
  31454. "address": {
  31455. "description": "提货人详细地址",
  31456. "type": "string"
  31457. },
  31458. "amount": {
  31459. "description": "提货金额",
  31460. "type": "number"
  31461. },
  31462. "artradedate": {
  31463. "description": "自动收货交易日(yyyyMMdd)",
  31464. "type": "string"
  31465. },
  31466. "auditer": {
  31467. "description": "审核人",
  31468. "type": "integer"
  31469. },
  31470. "auditsrc": {
  31471. "description": "更新来源 - 1:管理端 2:终端",
  31472. "type": "integer"
  31473. },
  31474. "audittime": {
  31475. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31476. "type": "string"
  31477. },
  31478. "audittradedate": {
  31479. "description": "审核交易日(yyyyMMdd)",
  31480. "type": "string"
  31481. },
  31482. "cardnum": {
  31483. "description": "提货人证件号码",
  31484. "type": "string"
  31485. },
  31486. "cardtypeid": {
  31487. "description": "提货人证件类型",
  31488. "type": "integer"
  31489. },
  31490. "checkremark": {
  31491. "description": "审核备注",
  31492. "type": "string"
  31493. },
  31494. "cityid": {
  31495. "description": "市",
  31496. "type": "integer"
  31497. },
  31498. "cityname": {
  31499. "description": "城市名称",
  31500. "type": "string"
  31501. },
  31502. "confirmtime": {
  31503. "description": "取货时间 或 收货时间",
  31504. "type": "string"
  31505. },
  31506. "countryid": {
  31507. "description": "国家",
  31508. "type": "integer"
  31509. },
  31510. "countryname": {
  31511. "description": "国家名称",
  31512. "type": "string"
  31513. },
  31514. "decimalplace": {
  31515. "description": "商品报价小数位",
  31516. "type": "integer"
  31517. },
  31518. "districtid": {
  31519. "description": "地区",
  31520. "type": "integer"
  31521. },
  31522. "districtname": {
  31523. "description": "地区名称",
  31524. "type": "string"
  31525. },
  31526. "enumdicname": {
  31527. "description": "单位名称(提货商品)",
  31528. "type": "string"
  31529. },
  31530. "expresscompany": {
  31531. "description": "物流公司",
  31532. "type": "string"
  31533. },
  31534. "expressnum": {
  31535. "description": "物流单号",
  31536. "type": "string"
  31537. },
  31538. "goodsagreeunit": {
  31539. "description": "交易商品乘数",
  31540. "type": "number"
  31541. },
  31542. "goodscode": {
  31543. "description": "商品代码",
  31544. "type": "string"
  31545. },
  31546. "goodsid": {
  31547. "description": "商品ID",
  31548. "type": "integer"
  31549. },
  31550. "goodsname": {
  31551. "description": "商品名称",
  31552. "type": "string"
  31553. },
  31554. "goodsqty": {
  31555. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31556. "type": "number"
  31557. },
  31558. "handlestatus": {
  31559. "description": "处理状态",
  31560. "type": "integer"
  31561. },
  31562. "logincode": {
  31563. "description": "账号(登录代码, 有可能为空)",
  31564. "type": "string"
  31565. },
  31566. "marketid": {
  31567. "description": "市场ID",
  31568. "type": "integer"
  31569. },
  31570. "phonenum": {
  31571. "description": "提货人联系方式",
  31572. "type": "string"
  31573. },
  31574. "pickupgoodsagreeunit": {
  31575. "description": "提货商品合约乘数",
  31576. "type": "number"
  31577. },
  31578. "pickupgoodsid": {
  31579. "description": "提货商品ID",
  31580. "type": "string"
  31581. },
  31582. "pickupgoodsname": {
  31583. "description": "提货商品名称",
  31584. "type": "string"
  31585. },
  31586. "pickupgoodsqty": {
  31587. "description": "提货商品手数(数量)",
  31588. "type": "number"
  31589. },
  31590. "pickupgoodsunitid": {
  31591. "description": "单位ID(提货商品)",
  31592. "type": "integer"
  31593. },
  31594. "pickupratio": {
  31595. "description": "提货系数",
  31596. "type": "number"
  31597. },
  31598. "preparedays": {
  31599. "description": "备货期(天)-提货单明细表",
  31600. "type": "integer"
  31601. },
  31602. "provinceid": {
  31603. "description": "省",
  31604. "type": "integer"
  31605. },
  31606. "provincename": {
  31607. "description": "省名称",
  31608. "type": "string"
  31609. },
  31610. "qty": {
  31611. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31612. "type": "number"
  31613. },
  31614. "qtydecimalplace": {
  31615. "description": "商品数量小数位",
  31616. "type": "integer"
  31617. },
  31618. "recivername": {
  31619. "description": "提货人姓名",
  31620. "type": "string"
  31621. },
  31622. "reqtime": {
  31623. "description": "提货申请时间",
  31624. "type": "string"
  31625. },
  31626. "storeuserid": {
  31627. "description": "门店用户ID (千海金)",
  31628. "type": "integer"
  31629. },
  31630. "storeusername": {
  31631. "description": "门店用户名称",
  31632. "type": "string"
  31633. },
  31634. "takemode": {
  31635. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31636. "type": "integer"
  31637. },
  31638. "takeorderid": {
  31639. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31640. "type": "string"
  31641. },
  31642. "takeorderstatus": {
  31643. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31644. "type": "integer"
  31645. },
  31646. "takeremark": {
  31647. "description": "提货备注",
  31648. "type": "string"
  31649. },
  31650. "tradedate": {
  31651. "description": "交易日(yyyyMMdd)",
  31652. "type": "string"
  31653. },
  31654. "updatetime": {
  31655. "description": "更新时间",
  31656. "type": "string"
  31657. },
  31658. "userid": {
  31659. "description": "用户ID",
  31660. "type": "integer"
  31661. },
  31662. "userinfotype": {
  31663. "description": "客户类型 1-个人 2-企业",
  31664. "type": "integer"
  31665. },
  31666. "username": {
  31667. "description": "用户名称",
  31668. "type": "string"
  31669. }
  31670. }
  31671. },
  31672. "models.QhjUserNodeCfgAndStatus": {
  31673. "type": "object",
  31674. "properties": {
  31675. "agreementcontent": {
  31676. "description": "协议内容",
  31677. "type": "string"
  31678. },
  31679. "agreementid": {
  31680. "description": "协议ID",
  31681. "type": "integer"
  31682. },
  31683. "agreementname": {
  31684. "description": "协议名称",
  31685. "type": "string"
  31686. },
  31687. "agreementno": {
  31688. "description": "协议编号",
  31689. "type": "string"
  31690. },
  31691. "agreementtype": {
  31692. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31693. "type": "integer"
  31694. },
  31695. "agreementversion": {
  31696. "description": "协议版本号",
  31697. "type": "integer"
  31698. },
  31699. "configid": {
  31700. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31701. "type": "integer"
  31702. },
  31703. "createtime": {
  31704. "description": "创建时间",
  31705. "type": "string"
  31706. },
  31707. "goodsid": {
  31708. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31709. "type": "integer"
  31710. },
  31711. "nodetype": {
  31712. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31713. "type": "integer"
  31714. },
  31715. "signtimestamp": {
  31716. "description": "签约状态时间戳(最近一次)",
  31717. "type": "string"
  31718. },
  31719. "tradedate": {
  31720. "description": "签约交易日(yyyyMMdd)",
  31721. "type": "string"
  31722. },
  31723. "userid": {
  31724. "description": "客户ID",
  31725. "type": "integer"
  31726. }
  31727. }
  31728. },
  31729. "models.Qhjgoodsex": {
  31730. "type": "object",
  31731. "properties": {
  31732. "canfinance": {
  31733. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31734. "type": "integer"
  31735. },
  31736. "canregularlybuy": {
  31737. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31738. "type": "integer"
  31739. },
  31740. "defaulttradeuserid": {
  31741. "description": "默认交易用户ID",
  31742. "type": "integer"
  31743. },
  31744. "deliverygoodsid": {
  31745. "description": "现货品种ID",
  31746. "type": "integer"
  31747. },
  31748. "goodsid": {
  31749. "description": "商品ID(自增ID SEQ_GOODS)",
  31750. "type": "integer"
  31751. },
  31752. "minamount": {
  31753. "description": "最小购买金额",
  31754. "type": "number"
  31755. },
  31756. "regularlybuyminamount": {
  31757. "description": "定投最小金额",
  31758. "type": "number"
  31759. },
  31760. "regularlybuyminqty": {
  31761. "description": "定投最小数量",
  31762. "type": "number"
  31763. },
  31764. "spotgoodsbrandid": {
  31765. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31766. "type": "integer"
  31767. },
  31768. "visibilityforenterprise": {
  31769. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31770. "type": "integer"
  31771. },
  31772. "visibilityforpersonal": {
  31773. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31774. "type": "integer"
  31775. },
  31776. "wrstandardid": {
  31777. "description": "现货商品ID",
  31778. "type": "integer"
  31779. }
  31780. }
  31781. },
  31782. "models.QueryErrorInfosRsp": {
  31783. "type": "object",
  31784. "required": [
  31785. "errorid"
  31786. ],
  31787. "properties": {
  31788. "description": {
  31789. "description": "异常描述",
  31790. "type": "string"
  31791. },
  31792. "errorcode": {
  31793. "description": "异常代码",
  31794. "type": "string"
  31795. },
  31796. "errorid": {
  31797. "description": "异常ID",
  31798. "type": "integer"
  31799. },
  31800. "modulecode": {
  31801. "description": "所属模块",
  31802. "type": "string"
  31803. },
  31804. "operatecode": {
  31805. "description": "所属操作",
  31806. "type": "string"
  31807. },
  31808. "rownumber": {
  31809. "description": "行号",
  31810. "type": "string"
  31811. }
  31812. }
  31813. },
  31814. "models.QueryHedgeOrderDetailRsp": {
  31815. "type": "object",
  31816. "properties": {
  31817. "accountid": {
  31818. "description": "账户ID",
  31819. "type": "integer"
  31820. },
  31821. "buyorsell": {
  31822. "description": "买卖 - 0:买 1:卖",
  31823. "type": "integer"
  31824. },
  31825. "cancellogincode": {
  31826. "description": "撤单人",
  31827. "type": "string"
  31828. },
  31829. "channelbuildtype": {
  31830. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31831. "type": "integer"
  31832. },
  31833. "channelinnerorderstatus": {
  31834. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31835. "type": "integer"
  31836. },
  31837. "channeloperatetype": {
  31838. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31839. "type": "integer"
  31840. },
  31841. "closetype": {
  31842. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31843. "type": "integer"
  31844. },
  31845. "curexchangerate": {
  31846. "description": "当前汇率",
  31847. "type": "number"
  31848. },
  31849. "decimalplace": {
  31850. "description": "商品报价小数位",
  31851. "type": "integer"
  31852. },
  31853. "exchangefullname": {
  31854. "description": "外部交易所全称",
  31855. "type": "string"
  31856. },
  31857. "goodscode": {
  31858. "description": "商品代码(内部)",
  31859. "type": "string"
  31860. },
  31861. "goodsid": {
  31862. "description": "商品ID",
  31863. "type": "integer"
  31864. },
  31865. "goodsname": {
  31866. "description": "商品名称",
  31867. "type": "string"
  31868. },
  31869. "marketid": {
  31870. "description": "市场ID",
  31871. "type": "integer"
  31872. },
  31873. "openfreezemargin": {
  31874. "description": "冻结保证金(冻结交易金额)",
  31875. "type": "number"
  31876. },
  31877. "orderid": {
  31878. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31879. "type": "string"
  31880. },
  31881. "orderlogincode": {
  31882. "description": "委托人",
  31883. "type": "string"
  31884. },
  31885. "orderprice": {
  31886. "description": "委托价格(账户)",
  31887. "type": "number"
  31888. },
  31889. "orderqty": {
  31890. "description": "委托数量",
  31891. "type": "integer"
  31892. },
  31893. "ordertime": {
  31894. "description": "委托时间",
  31895. "type": "string"
  31896. },
  31897. "pricemode": {
  31898. "description": "取价方式 - 1:市价 2: 限价",
  31899. "type": "integer"
  31900. },
  31901. "tradedate": {
  31902. "description": "交易日(yyyyMMdd)",
  31903. "type": "string"
  31904. },
  31905. "tradeqty": {
  31906. "description": "成交数量",
  31907. "type": "integer"
  31908. }
  31909. }
  31910. },
  31911. "models.QueryHedgeTradeDetailRsp": {
  31912. "type": "object",
  31913. "properties": {
  31914. "accountid": {
  31915. "description": "账号ID",
  31916. "type": "integer"
  31917. },
  31918. "buyorsell": {
  31919. "description": "方向 - 0:买 1:卖",
  31920. "type": "integer"
  31921. },
  31922. "channelbuildtype": {
  31923. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31924. "type": "integer"
  31925. },
  31926. "closecharge": {
  31927. "description": "平仓手续费(账户)",
  31928. "type": "number"
  31929. },
  31930. "closecharge2": {
  31931. "description": "平仓手续费(商品)",
  31932. "type": "number"
  31933. },
  31934. "closepl": {
  31935. "description": "平仓盈亏(账户)",
  31936. "type": "number"
  31937. },
  31938. "closepl2": {
  31939. "description": "平仓盈亏(商品)",
  31940. "type": "number"
  31941. },
  31942. "closepl3": {
  31943. "description": "平仓盈亏(账户)(逐笔)",
  31944. "type": "number"
  31945. },
  31946. "closepl4": {
  31947. "description": "平仓盈亏(商品)(逐笔)",
  31948. "type": "number"
  31949. },
  31950. "closetype": {
  31951. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31952. "type": "integer"
  31953. },
  31954. "curexchangerate": {
  31955. "description": "当前汇率",
  31956. "type": "number"
  31957. },
  31958. "decimalplace": {
  31959. "description": "商品报价小数位",
  31960. "type": "integer"
  31961. },
  31962. "exchangefullname": {
  31963. "description": "外部交易所全称",
  31964. "type": "string"
  31965. },
  31966. "goodscode": {
  31967. "description": "商品代码(内部)",
  31968. "type": "string"
  31969. },
  31970. "goodsid": {
  31971. "description": "商品ID",
  31972. "type": "integer"
  31973. },
  31974. "goodsname": {
  31975. "description": "商品名称",
  31976. "type": "string"
  31977. },
  31978. "marketid": {
  31979. "description": "市场ID",
  31980. "type": "integer"
  31981. },
  31982. "opencharge": {
  31983. "description": "建仓手续费(账户)",
  31984. "type": "number"
  31985. },
  31986. "opencharge2": {
  31987. "description": "建仓手续费(商品)",
  31988. "type": "number"
  31989. },
  31990. "orderid": {
  31991. "description": "委托单号",
  31992. "type": "string"
  31993. },
  31994. "orderlogincode": {
  31995. "description": "委托人",
  31996. "type": "string"
  31997. },
  31998. "tradeamount": {
  31999. "description": "成交金额(账户)",
  32000. "type": "number"
  32001. },
  32002. "tradedate": {
  32003. "description": "交易日(yyyyMMdd)",
  32004. "type": "string"
  32005. },
  32006. "tradeid": {
  32007. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32008. "type": "string"
  32009. },
  32010. "tradeprice": {
  32011. "description": "成交价格",
  32012. "type": "number"
  32013. },
  32014. "tradeqty": {
  32015. "description": "成交数量",
  32016. "type": "integer"
  32017. },
  32018. "tradetime": {
  32019. "description": "成交时间",
  32020. "type": "string"
  32021. },
  32022. "tradetype": {
  32023. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  32024. "type": "integer"
  32025. }
  32026. }
  32027. },
  32028. "models.QuotePrimaryMenu": {
  32029. "type": "object",
  32030. "properties": {
  32031. "Index": {
  32032. "description": "序号",
  32033. "type": "integer"
  32034. },
  32035. "Key": {
  32036. "description": "键名",
  32037. "type": "string"
  32038. },
  32039. "Name": {
  32040. "description": "菜单名称",
  32041. "type": "string"
  32042. },
  32043. "SubMenus": {
  32044. "description": "子菜单",
  32045. "type": "array",
  32046. "items": {
  32047. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  32048. }
  32049. },
  32050. "SubTitleType": {
  32051. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  32052. "type": "integer"
  32053. },
  32054. "TradeModes": {
  32055. "description": "包含市场交易类型",
  32056. "type": "string"
  32057. }
  32058. }
  32059. },
  32060. "models.QuoteSecondaryMenu": {
  32061. "type": "object",
  32062. "properties": {
  32063. "ExExchangeCode": {
  32064. "description": "外部交易所代码",
  32065. "type": "string"
  32066. },
  32067. "ExExchangeID": {
  32068. "description": "外部交易所ID",
  32069. "type": "integer"
  32070. },
  32071. "GoodsGroupIDs": {
  32072. "description": "商品组ID列表",
  32073. "type": "array",
  32074. "items": {
  32075. "type": "integer"
  32076. }
  32077. },
  32078. "Index": {
  32079. "description": "序号",
  32080. "type": "integer"
  32081. },
  32082. "MarketID": {
  32083. "description": "市场ID",
  32084. "type": "integer"
  32085. },
  32086. "MenuTitle": {
  32087. "description": "菜单标题(市场名称或外部交易所名称)",
  32088. "type": "string"
  32089. },
  32090. "TradeMode": {
  32091. "description": "交易模式",
  32092. "type": "integer"
  32093. }
  32094. }
  32095. },
  32096. "models.RoleMenu": {
  32097. "type": "object",
  32098. "properties": {
  32099. "hasright": {
  32100. "description": "是否有权限 0-没有权限 1-有权限",
  32101. "type": "integer"
  32102. },
  32103. "iconame": {
  32104. "description": "菜单图标",
  32105. "type": "string"
  32106. },
  32107. "menutype": {
  32108. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  32109. "type": "integer"
  32110. },
  32111. "parentcode": {
  32112. "description": "上级资源代码",
  32113. "type": "string"
  32114. },
  32115. "remark": {
  32116. "description": "菜单备注",
  32117. "type": "string"
  32118. },
  32119. "resourcecode": {
  32120. "description": "菜单代码",
  32121. "type": "string"
  32122. },
  32123. "resourcelevel": {
  32124. "description": "级别",
  32125. "type": "integer"
  32126. },
  32127. "resourcename": {
  32128. "description": "菜单名称",
  32129. "type": "string"
  32130. },
  32131. "roleid": {
  32132. "description": "角色id",
  32133. "type": "integer"
  32134. },
  32135. "sort": {
  32136. "description": "排序",
  32137. "type": "integer"
  32138. },
  32139. "subMenu": {
  32140. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  32141. "type": "array",
  32142. "items": {
  32143. "$ref": "#/definitions/models.RoleMenu"
  32144. }
  32145. },
  32146. "url": {
  32147. "description": "URL",
  32148. "type": "string"
  32149. },
  32150. "userid": {
  32151. "description": "用户id",
  32152. "type": "integer"
  32153. }
  32154. }
  32155. },
  32156. "models.SearchGoods": {
  32157. "type": "object",
  32158. "required": [
  32159. "goodscode",
  32160. "goodsid",
  32161. "goodsname",
  32162. "marketid",
  32163. "trademode"
  32164. ],
  32165. "properties": {
  32166. "goodscode": {
  32167. "description": "商品代码(内部)",
  32168. "type": "string"
  32169. },
  32170. "goodsid": {
  32171. "description": "商品ID(自增ID SEQ_GOODS)",
  32172. "type": "integer"
  32173. },
  32174. "goodsname": {
  32175. "description": "商品名称",
  32176. "type": "string"
  32177. },
  32178. "marketid": {
  32179. "description": "所属市场ID",
  32180. "type": "integer"
  32181. },
  32182. "marketname": {
  32183. "description": "市场名称",
  32184. "type": "string"
  32185. },
  32186. "trademode": {
  32187. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32188. "type": "integer"
  32189. }
  32190. }
  32191. },
  32192. "models.Systemparam": {
  32193. "type": "object",
  32194. "required": [
  32195. "paramcode"
  32196. ],
  32197. "properties": {
  32198. "loginid": {
  32199. "description": "更新用户账号,登录账号",
  32200. "type": "string"
  32201. },
  32202. "modifyflag": {
  32203. "description": "修改标志0 不允许修改 1 允许修改",
  32204. "type": "integer"
  32205. },
  32206. "paramcode": {
  32207. "description": "参数代码",
  32208. "type": "string"
  32209. },
  32210. "paramname": {
  32211. "description": "参数名",
  32212. "type": "string"
  32213. },
  32214. "paramtype": {
  32215. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  32216. "type": "integer"
  32217. },
  32218. "paramvalue": {
  32219. "description": "参数值",
  32220. "type": "string"
  32221. },
  32222. "paramvalue2": {
  32223. "description": "参数值(CLOB)",
  32224. "type": "string"
  32225. },
  32226. "regexpress": {
  32227. "description": "正则表达式",
  32228. "type": "string"
  32229. },
  32230. "remark": {
  32231. "description": "备注",
  32232. "type": "string"
  32233. },
  32234. "serverip": {
  32235. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32236. "type": "string"
  32237. },
  32238. "showflag": {
  32239. "description": "是否显示0 不显示 1 显示",
  32240. "type": "integer"
  32241. },
  32242. "updatetime": {
  32243. "description": "更新时间",
  32244. "type": "string"
  32245. },
  32246. "userid": {
  32247. "description": "更新用户ID",
  32248. "type": "integer"
  32249. }
  32250. }
  32251. },
  32252. "models.Szdz3convertconfig": {
  32253. "type": "object",
  32254. "required": [
  32255. "converttype",
  32256. "innergoodsid",
  32257. "outergoodscode"
  32258. ],
  32259. "properties": {
  32260. "canin": {
  32261. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32262. "type": "integer"
  32263. },
  32264. "canout": {
  32265. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32266. "type": "integer"
  32267. },
  32268. "converttype": {
  32269. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32270. "type": "integer"
  32271. },
  32272. "createtime": {
  32273. "description": "创建时间",
  32274. "type": "string"
  32275. },
  32276. "creatorid": {
  32277. "description": "创建人",
  32278. "type": "integer"
  32279. },
  32280. "daymaxvalue": {
  32281. "description": "当日最大转入限制",
  32282. "type": "number"
  32283. },
  32284. "freezedays": {
  32285. "description": "冻结天数 [5:花生米转交易]",
  32286. "type": "integer"
  32287. },
  32288. "innergoodsid": {
  32289. "description": "内部商品ID[交易]",
  32290. "type": "integer"
  32291. },
  32292. "inratio": {
  32293. "description": "目标值",
  32294. "type": "integer"
  32295. },
  32296. "modifierid": {
  32297. "description": "修改人",
  32298. "type": "integer"
  32299. },
  32300. "modifytime": {
  32301. "description": "修改时间",
  32302. "type": "string"
  32303. },
  32304. "outergoodscode": {
  32305. "description": "外部商品代码[JD\\PD]",
  32306. "type": "string"
  32307. },
  32308. "outratio": {
  32309. "description": "源值",
  32310. "type": "integer"
  32311. },
  32312. "pddecimalplace": {
  32313. "description": "PD小数位",
  32314. "type": "integer"
  32315. },
  32316. "timemaxvalue": {
  32317. "description": "单次最大转入限制",
  32318. "type": "number"
  32319. },
  32320. "timeminvalue": {
  32321. "description": "单次最小转入限制",
  32322. "type": "number"
  32323. }
  32324. }
  32325. },
  32326. "models.Szdz3searchwhitelist": {
  32327. "type": "object",
  32328. "required": [
  32329. "userid"
  32330. ],
  32331. "properties": {
  32332. "createtime": {
  32333. "description": "创建时间",
  32334. "type": "string"
  32335. },
  32336. "creatorid": {
  32337. "description": "创建人",
  32338. "type": "integer"
  32339. },
  32340. "modifierid": {
  32341. "description": "修改人",
  32342. "type": "integer"
  32343. },
  32344. "modifytime": {
  32345. "description": "修改时间",
  32346. "type": "string"
  32347. },
  32348. "userid": {
  32349. "description": "用户ID",
  32350. "type": "integer"
  32351. }
  32352. }
  32353. },
  32354. "models.TBGoods": {
  32355. "type": "object",
  32356. "properties": {
  32357. "agreeunit": {
  32358. "description": "合约乘数",
  32359. "type": "number"
  32360. },
  32361. "enumdicname": {
  32362. "description": "单位名称",
  32363. "type": "string"
  32364. },
  32365. "goodscode": {
  32366. "description": "商品代码(内部)",
  32367. "type": "string"
  32368. },
  32369. "goodsid": {
  32370. "description": "商品ID(自增ID SEQ_GOODS)",
  32371. "type": "integer"
  32372. },
  32373. "goodsname": {
  32374. "description": "商品名称",
  32375. "type": "string"
  32376. }
  32377. }
  32378. },
  32379. "models.TBGoodsGroup": {
  32380. "type": "object",
  32381. "properties": {
  32382. "GDLST": {
  32383. "description": "商品列表",
  32384. "type": "array",
  32385. "items": {
  32386. "$ref": "#/definitions/models.TBGoods"
  32387. }
  32388. },
  32389. "convertratio": {
  32390. "description": "折算系数",
  32391. "type": "number"
  32392. },
  32393. "enumdicname": {
  32394. "description": "单位名称",
  32395. "type": "string"
  32396. },
  32397. "exexchangecode": {
  32398. "description": "交易所代码",
  32399. "type": "string"
  32400. },
  32401. "exexchangename": {
  32402. "description": "交易所名称",
  32403. "type": "string"
  32404. },
  32405. "goodsgroupid": {
  32406. "description": "商品组ID(自增ID)",
  32407. "type": "integer"
  32408. },
  32409. "goodsgroupname": {
  32410. "description": "商品组名称",
  32411. "type": "string"
  32412. },
  32413. "goodunitid": {
  32414. "description": "报价单位ID",
  32415. "type": "integer"
  32416. }
  32417. }
  32418. },
  32419. "models.TBMiddleGoods": {
  32420. "type": "object",
  32421. "properties": {
  32422. "GPLST": {
  32423. "description": "期货品种列表",
  32424. "type": "array",
  32425. "items": {
  32426. "$ref": "#/definitions/models.TBGoodsGroup"
  32427. }
  32428. },
  32429. "WDLST": {
  32430. "description": "商品信息列表(现货品类)",
  32431. "type": "array",
  32432. "items": {
  32433. "$ref": "#/definitions/models.TBWrstandard"
  32434. }
  32435. },
  32436. "areauserid": {
  32437. "description": "机构用户ID",
  32438. "type": "integer"
  32439. },
  32440. "enumdicname": {
  32441. "description": "单位名称",
  32442. "type": "string"
  32443. },
  32444. "goodsunitid": {
  32445. "description": "套保品种单位id",
  32446. "type": "integer"
  32447. },
  32448. "middlegoodscode": {
  32449. "description": "套保品种代码",
  32450. "type": "string"
  32451. },
  32452. "middlegoodsid": {
  32453. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32454. "type": "integer"
  32455. },
  32456. "middlegoodsname": {
  32457. "description": "套保品种名称",
  32458. "type": "string"
  32459. },
  32460. "needarbitrageratio": {
  32461. "description": "套利比率",
  32462. "type": "number"
  32463. },
  32464. "needhedgeratio": {
  32465. "description": "套保比率",
  32466. "type": "number"
  32467. }
  32468. }
  32469. },
  32470. "models.TBWrstandard": {
  32471. "type": "object",
  32472. "properties": {
  32473. "convertratio": {
  32474. "description": "折算系数",
  32475. "type": "number"
  32476. },
  32477. "deliverygoodsname": {
  32478. "description": "品种名称",
  32479. "type": "string"
  32480. },
  32481. "enumdicname": {
  32482. "description": "单位名称",
  32483. "type": "string"
  32484. },
  32485. "vatrate": {
  32486. "description": "增值税率",
  32487. "type": "number"
  32488. },
  32489. "wrstandardcode": {
  32490. "description": "现货商品代码",
  32491. "type": "string"
  32492. },
  32493. "wrstandardid": {
  32494. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32495. "type": "integer"
  32496. },
  32497. "wrstandardname": {
  32498. "description": "现货商品名称",
  32499. "type": "string"
  32500. }
  32501. }
  32502. },
  32503. "models.Taaccount": {
  32504. "type": "object",
  32505. "required": [
  32506. "accountid",
  32507. "userid"
  32508. ],
  32509. "properties": {
  32510. "accountflag": {
  32511. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32512. "type": "integer"
  32513. },
  32514. "accountid": {
  32515. "description": "资金账户ID",
  32516. "type": "integer"
  32517. },
  32518. "accountname": {
  32519. "description": "账户名称",
  32520. "type": "string"
  32521. },
  32522. "balance": {
  32523. "description": "期初余额",
  32524. "type": "number"
  32525. },
  32526. "capitalbalance": {
  32527. "description": "本金余额[外部子账户实际出入金余额]",
  32528. "type": "number"
  32529. },
  32530. "changeflag": {
  32531. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32532. "type": "integer"
  32533. },
  32534. "changetime": {
  32535. "description": "账户状态变更时间",
  32536. "type": "string"
  32537. },
  32538. "closepl": {
  32539. "description": "今日平仓盈亏",
  32540. "type": "number"
  32541. },
  32542. "creditdecrease": {
  32543. "description": "今日授信减少",
  32544. "type": "number"
  32545. },
  32546. "creditincrease": {
  32547. "description": "今日授信增加",
  32548. "type": "number"
  32549. },
  32550. "curamount": {
  32551. "description": "总市值(从持仓中统计)",
  32552. "type": "number"
  32553. },
  32554. "currencyid": {
  32555. "description": "货币ID",
  32556. "type": "integer"
  32557. },
  32558. "currentbalance": {
  32559. "description": "期末余额",
  32560. "type": "number"
  32561. },
  32562. "freezecharge": {
  32563. "description": "手续费冻结",
  32564. "type": "number"
  32565. },
  32566. "freezemargin": {
  32567. "description": "冻结保证金",
  32568. "type": "number"
  32569. },
  32570. "fromaccountid": {
  32571. "description": "所属上级账户",
  32572. "type": "integer"
  32573. },
  32574. "inamount": {
  32575. "description": "今日入金金额(包括三方入金)",
  32576. "type": "number"
  32577. },
  32578. "ismain": {
  32579. "description": "是否母账号 0:不是母账户 1:是母账户",
  32580. "type": "integer"
  32581. },
  32582. "ismarketaccount": {
  32583. "description": "是否机构接单账号 0:不是 1:是",
  32584. "type": "integer"
  32585. },
  32586. "isreckonaccount": {
  32587. "description": "是否机构分润账号 0:不是 1:是",
  32588. "type": "integer"
  32589. },
  32590. "mortgagecredit": {
  32591. "description": "授信金额",
  32592. "type": "number"
  32593. },
  32594. "orifreezecharge": {
  32595. "description": "期初手续费冻结",
  32596. "type": "number"
  32597. },
  32598. "orifreezemargin": {
  32599. "description": "期初冻结保证金",
  32600. "type": "number"
  32601. },
  32602. "orimortgagecredit": {
  32603. "description": "期初授信金额",
  32604. "type": "number"
  32605. },
  32606. "oriothercredit": {
  32607. "description": "期初其它授信金额",
  32608. "type": "number"
  32609. },
  32610. "oriotherfreezemargin": {
  32611. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32612. "type": "number"
  32613. },
  32614. "orioutamountfreeze": {
  32615. "description": "期初出金冻结",
  32616. "type": "number"
  32617. },
  32618. "oriusedmargin": {
  32619. "description": "期初占用保证金",
  32620. "type": "number"
  32621. },
  32622. "othercredit": {
  32623. "description": "其它授信金额",
  32624. "type": "number"
  32625. },
  32626. "othercreditdecrease": {
  32627. "description": "今日其它授信减少",
  32628. "type": "number"
  32629. },
  32630. "othercreditincrease": {
  32631. "description": "今日其它授信增加",
  32632. "type": "number"
  32633. },
  32634. "otherfreezemargin": {
  32635. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32636. "type": "number"
  32637. },
  32638. "otherincome": {
  32639. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32640. "type": "number"
  32641. },
  32642. "otherpay": {
  32643. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32644. "type": "number"
  32645. },
  32646. "outamount": {
  32647. "description": "今日出金金额(包括三方出金)",
  32648. "type": "number"
  32649. },
  32650. "outamountfreeze": {
  32651. "description": "出金冻结",
  32652. "type": "number"
  32653. },
  32654. "outthreshold": {
  32655. "description": "出金阈值",
  32656. "type": "number"
  32657. },
  32658. "parentaccountid": {
  32659. "description": "所属根账号",
  32660. "type": "integer"
  32661. },
  32662. "paycharge": {
  32663. "description": "今日手续费支出",
  32664. "type": "number"
  32665. },
  32666. "relatedaccountstatus": {
  32667. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32668. "type": "integer"
  32669. },
  32670. "relateduserid": {
  32671. "description": "关联用户",
  32672. "type": "integer"
  32673. },
  32674. "remainamount": {
  32675. "description": "融资额(从融资合同中统计)",
  32676. "type": "number"
  32677. },
  32678. "serivcegroup": {
  32679. "description": "服务分组",
  32680. "type": "integer"
  32681. },
  32682. "signstatus": {
  32683. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32684. "type": "integer"
  32685. },
  32686. "sublevelpath": {
  32687. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32688. "type": "string"
  32689. },
  32690. "taaccounttype": {
  32691. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32692. "type": "integer"
  32693. },
  32694. "thirdinamount": {
  32695. "description": "今日三方入金",
  32696. "type": "number"
  32697. },
  32698. "thirdoutamount": {
  32699. "description": "今日三方出金",
  32700. "type": "number"
  32701. },
  32702. "tradestatus": {
  32703. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32704. "type": "integer"
  32705. },
  32706. "tradestatuschangetime": {
  32707. "description": "激活时间",
  32708. "type": "string"
  32709. },
  32710. "transferamount": {
  32711. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32712. "type": "number"
  32713. },
  32714. "usedmargin": {
  32715. "description": "占用保证金",
  32716. "type": "number"
  32717. },
  32718. "userid": {
  32719. "description": "用户ID",
  32720. "type": "integer"
  32721. }
  32722. }
  32723. },
  32724. "models.Tablecolumnconfig": {
  32725. "type": "object",
  32726. "required": [
  32727. "autoid"
  32728. ],
  32729. "properties": {
  32730. "aligntype": {
  32731. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32732. "type": "integer"
  32733. },
  32734. "autoid": {
  32735. "description": "AutoID",
  32736. "type": "integer"
  32737. },
  32738. "columnfield": {
  32739. "description": "列字段",
  32740. "type": "string"
  32741. },
  32742. "columntitle": {
  32743. "description": "列Title",
  32744. "type": "string"
  32745. },
  32746. "columnwidth": {
  32747. "description": "列宽",
  32748. "type": "string"
  32749. },
  32750. "formatterstring": {
  32751. "description": "格式化字符",
  32752. "type": "string"
  32753. },
  32754. "formattertype": {
  32755. "description": "格式化类型",
  32756. "type": "string"
  32757. },
  32758. "groupname": {
  32759. "description": "表头分组名称",
  32760. "type": "string"
  32761. },
  32762. "isshow": {
  32763. "description": "是否显示 - 0:不显示 1:显示",
  32764. "type": "integer"
  32765. },
  32766. "needsummary": {
  32767. "description": "是否需要汇总 - 0:不需要 1:需要",
  32768. "type": "integer"
  32769. },
  32770. "orderindex": {
  32771. "description": "顺序",
  32772. "type": "integer"
  32773. },
  32774. "remark": {
  32775. "description": "备注",
  32776. "type": "string"
  32777. },
  32778. "summarytype": {
  32779. "description": "汇总类型 - 1:加总 2:最后一个",
  32780. "type": "integer"
  32781. },
  32782. "tablekey": {
  32783. "description": "列表Key",
  32784. "type": "string"
  32785. }
  32786. }
  32787. },
  32788. "models.TjmdMarketSection": {
  32789. "type": "object",
  32790. "properties": {
  32791. "marketsectionid": {
  32792. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32793. "type": "integer"
  32794. },
  32795. "marketsectionname": {
  32796. "description": "市场版块名称",
  32797. "type": "string"
  32798. },
  32799. "mlist": {
  32800. "description": "市场列表(板块下面有多少个市场)",
  32801. "type": "array",
  32802. "items": {
  32803. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32804. }
  32805. },
  32806. "orderindex": {
  32807. "description": "排序",
  32808. "type": "integer"
  32809. },
  32810. "pictureurl": {
  32811. "description": "图片url, 规格(90*90)",
  32812. "type": "string"
  32813. },
  32814. "remark": {
  32815. "description": "备注",
  32816. "type": "string"
  32817. }
  32818. }
  32819. },
  32820. "models.TjmdMarketSectionConfig": {
  32821. "type": "object",
  32822. "properties": {
  32823. "auctionwrtype": {
  32824. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32825. "type": "integer"
  32826. },
  32827. "canacceptquote": {
  32828. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32829. "type": "integer"
  32830. },
  32831. "cangoodsexercise": {
  32832. "description": "[期权]是否可现货行权- 0:否 1:是",
  32833. "type": "integer"
  32834. },
  32835. "cangoodsexercisetype": {
  32836. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32837. "type": "integer"
  32838. },
  32839. "canmanualquotestrike": {
  32840. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32841. "type": "integer"
  32842. },
  32843. "canmutistage": {
  32844. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32845. "type": "integer"
  32846. },
  32847. "canpreexercise": {
  32848. "description": "[期权]是否可预申报- 0:否 1:是",
  32849. "type": "integer"
  32850. },
  32851. "clearinterval": {
  32852. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32853. "type": "integer"
  32854. },
  32855. "contracttmp": {
  32856. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32857. "type": "string"
  32858. },
  32859. "exchareaid": {
  32860. "description": "所属交易所,可以没有",
  32861. "type": "integer"
  32862. },
  32863. "financemarketid": {
  32864. "description": "融资回购市场ID [仓单贸易]",
  32865. "type": "integer"
  32866. },
  32867. "goodstype": {
  32868. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32869. "type": "integer"
  32870. },
  32871. "hasrebate": {
  32872. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32873. "type": "integer"
  32874. },
  32875. "hastradecredit": {
  32876. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32877. "type": "integer"
  32878. },
  32879. "haswr": {
  32880. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32881. "type": "integer"
  32882. },
  32883. "isdeductmargin": {
  32884. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32885. "type": "integer"
  32886. },
  32887. "isrecordsource": {
  32888. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32889. "type": "integer"
  32890. },
  32891. "isreleasemargin": {
  32892. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32893. "type": "integer"
  32894. },
  32895. "isupdatereckonprice": {
  32896. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  32897. "type": "integer"
  32898. },
  32899. "listingmode": {
  32900. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32901. "type": "integer"
  32902. },
  32903. "marginformula": {
  32904. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32905. "type": "integer"
  32906. },
  32907. "marginformula2": {
  32908. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32909. "type": "integer"
  32910. },
  32911. "marketid": {
  32912. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32913. "type": "integer"
  32914. },
  32915. "marketname": {
  32916. "description": "市场名称",
  32917. "type": "string"
  32918. },
  32919. "marketsectionid": {
  32920. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32921. "type": "integer"
  32922. },
  32923. "marketserviceid": {
  32924. "description": "市场服务ID",
  32925. "type": "integer"
  32926. },
  32927. "marketstatus": {
  32928. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32929. "type": "integer"
  32930. },
  32931. "markettype": {
  32932. "description": "市场类型- 1:非交易服务 2:交易服务",
  32933. "type": "integer"
  32934. },
  32935. "matchermode": {
  32936. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  32937. "type": "integer"
  32938. },
  32939. "nowrquotaflag": {
  32940. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32941. "type": "integer"
  32942. },
  32943. "openmethod": {
  32944. "description": "开盘模式 - 0 自动 1手动",
  32945. "type": "integer"
  32946. },
  32947. "orderindex": {
  32948. "description": "排序",
  32949. "type": "integer"
  32950. },
  32951. "otcuserid": {
  32952. "description": "场外期权做市商[场外期权]",
  32953. "type": "integer"
  32954. },
  32955. "outersynctime": {
  32956. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32957. "type": "string"
  32958. },
  32959. "paylaterflag": {
  32960. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  32961. "type": "integer"
  32962. },
  32963. "pendingflag": {
  32964. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32965. "type": "integer"
  32966. },
  32967. "pendingtime": {
  32968. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32969. "type": "string"
  32970. },
  32971. "performancetempid": {
  32972. "description": "履约计划模板ID - 作废",
  32973. "type": "integer"
  32974. },
  32975. "premiumquotemode": {
  32976. "description": "权利金报价方式 - 1:自动 2:手动",
  32977. "type": "integer"
  32978. },
  32979. "rebateratio": {
  32980. "description": "返利比率[竞价式]",
  32981. "type": "number"
  32982. },
  32983. "reckonorder": {
  32984. "description": "结算顺序",
  32985. "type": "integer"
  32986. },
  32987. "reckonpricealgorithm": {
  32988. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32989. "type": "integer"
  32990. },
  32991. "reckonpriceparam": {
  32992. "description": "结算价参数",
  32993. "type": "integer"
  32994. },
  32995. "reckontime": {
  32996. "description": "结算时间[通道交易-对冲](HH:mm)",
  32997. "type": "string"
  32998. },
  32999. "roleprioritytype": {
  33000. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  33001. "type": "integer"
  33002. },
  33003. "selllistingauditflag": {
  33004. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  33005. "type": "integer"
  33006. },
  33007. "trademarkettype": {
  33008. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  33009. "type": "integer"
  33010. },
  33011. "trademode": {
  33012. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33013. "type": "integer"
  33014. },
  33015. "tradeproperty": {
  33016. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  33017. "type": "integer"
  33018. },
  33019. "tradetype": {
  33020. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  33021. "type": "integer"
  33022. },
  33023. "updatereckonpriceinterval": {
  33024. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  33025. "type": "integer"
  33026. }
  33027. }
  33028. },
  33029. "models.TjmdQuoteGoods": {
  33030. "type": "object",
  33031. "properties": {
  33032. "buyqty": {
  33033. "description": "买量(暂不做, 无值, 保留字段)",
  33034. "type": "number"
  33035. },
  33036. "decimalplace": {
  33037. "description": "报价小数位",
  33038. "type": "integer"
  33039. },
  33040. "goodscode": {
  33041. "description": "合约代码",
  33042. "type": "string"
  33043. },
  33044. "goodsgroupid": {
  33045. "description": "商品组ID(自增ID)",
  33046. "type": "integer"
  33047. },
  33048. "goodsgroupname": {
  33049. "description": "商品组名称",
  33050. "type": "string"
  33051. },
  33052. "goodsid": {
  33053. "description": "合约id",
  33054. "type": "integer"
  33055. },
  33056. "goodsname": {
  33057. "description": "合约名称",
  33058. "type": "string"
  33059. },
  33060. "refgoodscode": {
  33061. "description": "标的合约代码",
  33062. "type": "string"
  33063. },
  33064. "refgoodsid": {
  33065. "description": "标的合约id",
  33066. "type": "integer"
  33067. },
  33068. "refgoodsname": {
  33069. "description": "标的合约名称",
  33070. "type": "string"
  33071. },
  33072. "sellqty": {
  33073. "description": "卖量(暂不做, 无值, 保留字段)",
  33074. "type": "number"
  33075. }
  33076. }
  33077. },
  33078. "models.TjmdTodayAccountMargin": {
  33079. "type": "object",
  33080. "properties": {
  33081. "accountid": {
  33082. "description": "账号ID",
  33083. "type": "integer"
  33084. },
  33085. "goodsid": {
  33086. "description": "商品ID",
  33087. "type": "integer"
  33088. },
  33089. "infoc": {
  33090. "description": "配置参数",
  33091. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  33092. },
  33093. "marketid": {
  33094. "description": "市场ID",
  33095. "type": "integer"
  33096. }
  33097. }
  33098. },
  33099. "models.TjmdTradeOrderDetail": {
  33100. "type": "object",
  33101. "properties": {
  33102. "buyorsell": {
  33103. "description": "买卖方向 0-买 1-卖",
  33104. "type": "integer"
  33105. },
  33106. "goodsid": {
  33107. "description": "商品id",
  33108. "type": "integer"
  33109. },
  33110. "marketmaxsub": {
  33111. "description": "市价最大偏移范围 [浮动价 - 点差]",
  33112. "type": "number"
  33113. },
  33114. "orderid": {
  33115. "description": "委托单号",
  33116. "type": "string"
  33117. },
  33118. "orderprice": {
  33119. "description": "委托价格",
  33120. "type": "number"
  33121. },
  33122. "orderqty": {
  33123. "description": "委托数量",
  33124. "type": "integer"
  33125. },
  33126. "pricemode": {
  33127. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  33128. "type": "integer"
  33129. },
  33130. "userid": {
  33131. "description": "用户id",
  33132. "type": "integer"
  33133. },
  33134. "username": {
  33135. "description": "用户名称(已脱敏)",
  33136. "type": "string"
  33137. }
  33138. }
  33139. },
  33140. "models.TjmdTransferApply": {
  33141. "type": "object",
  33142. "properties": {
  33143. "applyid": {
  33144. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  33145. "type": "integer"
  33146. },
  33147. "applystatus": {
  33148. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  33149. "type": "integer"
  33150. },
  33151. "applytime": {
  33152. "description": "申请时间(时间)",
  33153. "type": "string"
  33154. },
  33155. "auditremark": {
  33156. "description": "审核备注(拒绝原因?)",
  33157. "type": "string"
  33158. },
  33159. "begindate": {
  33160. "description": "开始交易日(yyyymmdd)",
  33161. "type": "string"
  33162. },
  33163. "buyorsell": {
  33164. "description": "买卖 - 0:买 1:卖",
  33165. "type": "integer"
  33166. },
  33167. "enddate": {
  33168. "description": "结束交易日(yyyymmdd)",
  33169. "type": "string"
  33170. },
  33171. "goodscode": {
  33172. "description": "商品代码",
  33173. "type": "string"
  33174. },
  33175. "goodsid": {
  33176. "description": "商品ID",
  33177. "type": "integer"
  33178. },
  33179. "goodsname": {
  33180. "description": "商品名称",
  33181. "type": "string"
  33182. },
  33183. "marketid": {
  33184. "description": "市场ID",
  33185. "type": "integer"
  33186. },
  33187. "qty": {
  33188. "description": "转让数量(数量)",
  33189. "type": "number"
  33190. },
  33191. "tradeid": {
  33192. "description": "成交单号(关联持仓)",
  33193. "type": "string"
  33194. },
  33195. "transferamount": {
  33196. "description": "转让总金额(金额)",
  33197. "type": "number"
  33198. },
  33199. "transferprice": {
  33200. "description": "转让价格(协议价格)",
  33201. "type": "number"
  33202. }
  33203. }
  33204. },
  33205. "models.TradeHolderDetail": {
  33206. "type": "object",
  33207. "properties": {
  33208. "accountid": {
  33209. "description": "账号ID",
  33210. "type": "integer"
  33211. },
  33212. "agreeunit": {
  33213. "description": "合约乘数",
  33214. "type": "number"
  33215. },
  33216. "buyorsell": {
  33217. "description": "方向 - 0:买 1:卖",
  33218. "type": "integer"
  33219. },
  33220. "currencyid": {
  33221. "description": "商品币种id",
  33222. "type": "integer"
  33223. },
  33224. "currencyname": {
  33225. "description": "币种名称",
  33226. "type": "string"
  33227. },
  33228. "decimalplace": {
  33229. "description": "商品价格小数位",
  33230. "type": "integer"
  33231. },
  33232. "enumdicname": {
  33233. "description": "商品单位名称",
  33234. "type": "string"
  33235. },
  33236. "expirecycle": {
  33237. "description": "行权周期(天) - 1:滚动行权时填写",
  33238. "type": "integer"
  33239. },
  33240. "expiredate": {
  33241. "description": "行权日(yyyyMMdd) - 到期日",
  33242. "type": "string"
  33243. },
  33244. "expiretype": {
  33245. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33246. "type": "integer"
  33247. },
  33248. "freezeqty": {
  33249. "description": "冻结数量",
  33250. "type": "number"
  33251. },
  33252. "goodscode": {
  33253. "description": "商品代码",
  33254. "type": "string"
  33255. },
  33256. "goodsid": {
  33257. "description": "商品ID",
  33258. "type": "integer"
  33259. },
  33260. "goodsname": {
  33261. "description": "商品名称",
  33262. "type": "string"
  33263. },
  33264. "goodunitid": {
  33265. "description": "商品单位id",
  33266. "type": "integer"
  33267. },
  33268. "holderamount": {
  33269. "description": "持仓金额",
  33270. "type": "number"
  33271. },
  33272. "holdercredit": {
  33273. "description": "持仓授信金额",
  33274. "type": "number"
  33275. },
  33276. "holderdays": {
  33277. "description": "剩余冻结天数",
  33278. "type": "integer"
  33279. },
  33280. "holderprice": {
  33281. "description": "持仓价格",
  33282. "type": "number"
  33283. },
  33284. "holderqty": {
  33285. "description": "持仓数量",
  33286. "type": "number"
  33287. },
  33288. "isconfirmexercise": {
  33289. "description": "是否确认行权- 0:否 1:是",
  33290. "type": "integer"
  33291. },
  33292. "ispreexercise": {
  33293. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33294. "type": "integer"
  33295. },
  33296. "marketid": {
  33297. "description": "市场id",
  33298. "type": "integer"
  33299. },
  33300. "marketname": {
  33301. "description": "市场名称",
  33302. "type": "string"
  33303. },
  33304. "openprice": {
  33305. "description": "建仓价格",
  33306. "type": "number"
  33307. },
  33308. "openqty": {
  33309. "description": "建仓数量",
  33310. "type": "number"
  33311. },
  33312. "optiontype": {
  33313. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33314. "type": "integer"
  33315. },
  33316. "preexerciseprice": {
  33317. "description": "预申报价格",
  33318. "type": "number"
  33319. },
  33320. "premium": {
  33321. "description": "权利金",
  33322. "type": "number"
  33323. },
  33324. "qtydecimalplace": {
  33325. "description": "商品成交量小数位",
  33326. "type": "integer"
  33327. },
  33328. "refgoodscode": {
  33329. "description": "标的合约代码",
  33330. "type": "string"
  33331. },
  33332. "refgoodsid": {
  33333. "description": "标的合约id",
  33334. "type": "integer"
  33335. },
  33336. "releaseamount": {
  33337. "description": "释放持仓金额",
  33338. "type": "number"
  33339. },
  33340. "releaseholdercredit": {
  33341. "description": "释放持仓授信金额",
  33342. "type": "number"
  33343. },
  33344. "taname": {
  33345. "description": "资金账号名称",
  33346. "type": "string"
  33347. },
  33348. "tradeamount": {
  33349. "description": "成交金额",
  33350. "type": "number"
  33351. },
  33352. "tradedate": {
  33353. "description": "交易日(yyyyMMdd)",
  33354. "type": "string"
  33355. },
  33356. "tradeid": {
  33357. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33358. "type": "string"
  33359. },
  33360. "trademode": {
  33361. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33362. "type": "integer"
  33363. },
  33364. "tradeproperty": {
  33365. "description": "交易属性",
  33366. "type": "integer"
  33367. },
  33368. "tradetime": {
  33369. "description": "交易时间",
  33370. "type": "string"
  33371. },
  33372. "userid": {
  33373. "description": "用户id",
  33374. "type": "integer"
  33375. },
  33376. "username": {
  33377. "description": "用户名称",
  33378. "type": "string"
  33379. }
  33380. }
  33381. },
  33382. "models.UserCollectConfig": {
  33383. "type": "object",
  33384. "properties": {
  33385. "accountstatus": {
  33386. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33387. "type": "integer"
  33388. },
  33389. "collectaccountname": {
  33390. "description": "收款人账户名称",
  33391. "type": "string"
  33392. },
  33393. "collectaccountno": {
  33394. "description": "收款人账户",
  33395. "type": "string"
  33396. },
  33397. "collectbankname": {
  33398. "description": "收款人开户行",
  33399. "type": "string"
  33400. },
  33401. "collectbranchbankname": {
  33402. "description": "收款人开户支行",
  33403. "type": "string"
  33404. },
  33405. "collectconfigid": {
  33406. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33407. "type": "string"
  33408. },
  33409. "remark": {
  33410. "description": "备注",
  33411. "type": "string"
  33412. },
  33413. "userid": {
  33414. "description": "收款人用户ID",
  33415. "type": "integer"
  33416. }
  33417. }
  33418. },
  33419. "models.UserReceiveInfo": {
  33420. "type": "object",
  33421. "properties": {
  33422. "address": {
  33423. "description": "提货人详细地址",
  33424. "type": "string"
  33425. },
  33426. "autoid": {
  33427. "description": "AutoID",
  33428. "type": "integer"
  33429. },
  33430. "cardnum": {
  33431. "description": "证件号码(加密存储)",
  33432. "type": "string"
  33433. },
  33434. "cardtypeid": {
  33435. "description": "证件类型",
  33436. "type": "integer"
  33437. },
  33438. "cityid": {
  33439. "description": "市",
  33440. "type": "integer"
  33441. },
  33442. "cityname": {
  33443. "description": "城市名称",
  33444. "type": "string"
  33445. },
  33446. "countryid": {
  33447. "description": "国家",
  33448. "type": "integer"
  33449. },
  33450. "countryname": {
  33451. "description": "国家名称",
  33452. "type": "string"
  33453. },
  33454. "districtid": {
  33455. "description": "地区",
  33456. "type": "integer"
  33457. },
  33458. "districtname": {
  33459. "description": "地区名称",
  33460. "type": "string"
  33461. },
  33462. "hasencrypt": {
  33463. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33464. "type": "integer"
  33465. },
  33466. "isdefault": {
  33467. "description": "是否默认地址 - 0:否 1:是",
  33468. "type": "integer"
  33469. },
  33470. "phonenum": {
  33471. "description": "提货人联系方式(加密存储)",
  33472. "type": "string"
  33473. },
  33474. "provinceid": {
  33475. "description": "省",
  33476. "type": "integer"
  33477. },
  33478. "provincename": {
  33479. "description": "省名称",
  33480. "type": "string"
  33481. },
  33482. "receivername": {
  33483. "description": "提货人姓名",
  33484. "type": "string"
  33485. },
  33486. "takeremark": {
  33487. "description": "提货备注",
  33488. "type": "string"
  33489. },
  33490. "userid": {
  33491. "description": "用户ID",
  33492. "type": "integer"
  33493. }
  33494. }
  33495. },
  33496. "models.Useraccount": {
  33497. "type": "object",
  33498. "required": [
  33499. "userid"
  33500. ],
  33501. "properties": {
  33502. "accountname": {
  33503. "description": "账户名称(机构名称)",
  33504. "type": "string"
  33505. },
  33506. "accountstatus": {
  33507. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33508. "type": "integer"
  33509. },
  33510. "applysrc": {
  33511. "description": "申请来源 - 1:管理端 2:终端",
  33512. "type": "integer"
  33513. },
  33514. "auditremark": {
  33515. "description": "审核备注",
  33516. "type": "string"
  33517. },
  33518. "auditsrc": {
  33519. "description": "审核来源 - 1:管理端 2:终端",
  33520. "type": "integer"
  33521. },
  33522. "audittime": {
  33523. "description": "审核时间",
  33524. "type": "string"
  33525. },
  33526. "audituserid": {
  33527. "description": "审核人",
  33528. "type": "integer"
  33529. },
  33530. "broker": {
  33531. "description": "所属经纪人ID",
  33532. "type": "integer"
  33533. },
  33534. "canceltime": {
  33535. "description": "销户时间",
  33536. "type": "string"
  33537. },
  33538. "canceluserid": {
  33539. "description": "销户人",
  33540. "type": "integer"
  33541. },
  33542. "canrecommend": {
  33543. "description": "是否可推荐 - 0:不可 1;可",
  33544. "type": "integer"
  33545. },
  33546. "createtime": {
  33547. "description": "创建时间",
  33548. "type": "string"
  33549. },
  33550. "creatorid": {
  33551. "description": "创建人",
  33552. "type": "integer"
  33553. },
  33554. "hasauth": {
  33555. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33556. "type": "integer"
  33557. },
  33558. "isanonymous": {
  33559. "description": "是否匿名下单 - 0:否 1:是",
  33560. "type": "integer"
  33561. },
  33562. "maxinvestornum": {
  33563. "description": "最大用户数(经纪会员下投资者个数)",
  33564. "type": "integer"
  33565. },
  33566. "memberuserid": {
  33567. "description": "所属会员ID",
  33568. "type": "integer"
  33569. },
  33570. "modifierid": {
  33571. "description": "修改人",
  33572. "type": "integer"
  33573. },
  33574. "modifyremark": {
  33575. "description": "变更备注",
  33576. "type": "string"
  33577. },
  33578. "modifystatus": {
  33579. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33580. "type": "integer"
  33581. },
  33582. "modifytime": {
  33583. "description": "修改时间",
  33584. "type": "string"
  33585. },
  33586. "parenttopuser": {
  33587. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33588. "type": "string"
  33589. },
  33590. "parentuserid": {
  33591. "description": "所属机构ID",
  33592. "type": "integer"
  33593. },
  33594. "reckonaccountid": {
  33595. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33596. "type": "integer"
  33597. },
  33598. "refercount": {
  33599. "description": "推荐总人数",
  33600. "type": "integer"
  33601. },
  33602. "refereeuserid": {
  33603. "description": "推荐人ID",
  33604. "type": "integer"
  33605. },
  33606. "refernum": {
  33607. "description": "推荐码",
  33608. "type": "string"
  33609. },
  33610. "rootuserid": {
  33611. "description": "根用户ID",
  33612. "type": "integer"
  33613. },
  33614. "subaccountlevel": {
  33615. "description": "子账户层数",
  33616. "type": "integer"
  33617. },
  33618. "subarealevelpath": {
  33619. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33620. "type": "string"
  33621. },
  33622. "userid": {
  33623. "description": "用户ID",
  33624. "type": "integer"
  33625. },
  33626. "usertype": {
  33627. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33628. "type": "integer"
  33629. }
  33630. }
  33631. },
  33632. "models.Userfavoritegoods": {
  33633. "type": "object",
  33634. "required": [
  33635. "goodsid"
  33636. ],
  33637. "properties": {
  33638. "goodsid": {
  33639. "description": "商品ID",
  33640. "type": "integer"
  33641. }
  33642. }
  33643. },
  33644. "models.Userinfo": {
  33645. "type": "object",
  33646. "required": [
  33647. "userid"
  33648. ],
  33649. "properties": {
  33650. "address": {
  33651. "description": "地址",
  33652. "type": "string"
  33653. },
  33654. "attachment1": {
  33655. "description": "附件1",
  33656. "type": "string"
  33657. },
  33658. "attachment2": {
  33659. "description": "附件2",
  33660. "type": "string"
  33661. },
  33662. "bankaccount": {
  33663. "description": "银行帐号 (加密存储)",
  33664. "type": "string"
  33665. },
  33666. "bankaccountname": {
  33667. "description": "收款人名称",
  33668. "type": "string"
  33669. },
  33670. "bankcardfrontphotourl": {
  33671. "description": "银行卡正面照地址",
  33672. "type": "string"
  33673. },
  33674. "bankid": {
  33675. "description": "银行编码",
  33676. "type": "string"
  33677. },
  33678. "bankname": {
  33679. "description": "银行名称",
  33680. "type": "string"
  33681. },
  33682. "biznature": {
  33683. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33684. "type": "integer"
  33685. },
  33686. "bizscope": {
  33687. "description": "企业经营范围(企业)",
  33688. "type": "string"
  33689. },
  33690. "cardbackphotourl": {
  33691. "description": "证件背面图片地址",
  33692. "type": "string"
  33693. },
  33694. "cardfrontphotourl": {
  33695. "description": "证件正面图片地址",
  33696. "type": "string"
  33697. },
  33698. "cardnum": {
  33699. "description": "证件号码(加密存储)",
  33700. "type": "string"
  33701. },
  33702. "cardtypeid": {
  33703. "description": "证件类型ID",
  33704. "type": "integer"
  33705. },
  33706. "cityid": {
  33707. "description": "市",
  33708. "type": "integer"
  33709. },
  33710. "company": {
  33711. "description": "公司(个人)",
  33712. "type": "string"
  33713. },
  33714. "contactname": {
  33715. "description": "联系人",
  33716. "type": "string"
  33717. },
  33718. "countryid": {
  33719. "description": "国家",
  33720. "type": "integer"
  33721. },
  33722. "createtime": {
  33723. "description": "创建时间",
  33724. "type": "string"
  33725. },
  33726. "creatorid": {
  33727. "description": "创建人",
  33728. "type": "integer"
  33729. },
  33730. "customername": {
  33731. "description": "客户名称(企业名称)",
  33732. "type": "string"
  33733. },
  33734. "districtid": {
  33735. "description": "地区",
  33736. "type": "integer"
  33737. },
  33738. "email": {
  33739. "description": "邮件(加密存储)",
  33740. "type": "string"
  33741. },
  33742. "fax": {
  33743. "description": "传真(加密存储)",
  33744. "type": "string"
  33745. },
  33746. "halfbodyphotourl": {
  33747. "description": "半身照地址",
  33748. "type": "string"
  33749. },
  33750. "hasencrypt": {
  33751. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33752. "type": "integer"
  33753. },
  33754. "headurl": {
  33755. "description": "头像地址",
  33756. "type": "string"
  33757. },
  33758. "legalcardbackphotourl": {
  33759. "description": "法人身份证背面照地址",
  33760. "type": "string"
  33761. },
  33762. "legalcardfrontphotourl": {
  33763. "description": "法人身份证正面照地址",
  33764. "type": "string"
  33765. },
  33766. "legalpersonname": {
  33767. "description": "法人姓名(企业)",
  33768. "type": "string"
  33769. },
  33770. "mobile": {
  33771. "description": "手机号码(加密存储)",
  33772. "type": "string"
  33773. },
  33774. "mobile2": {
  33775. "description": "手机号码[明文-尚志]",
  33776. "type": "string"
  33777. },
  33778. "modifierid": {
  33779. "description": "修改人",
  33780. "type": "integer"
  33781. },
  33782. "modifiertime": {
  33783. "description": "修改时间",
  33784. "type": "string"
  33785. },
  33786. "needinvoice": {
  33787. "description": "是否需要发票 - 0:不需要 1:需要",
  33788. "type": "integer"
  33789. },
  33790. "nickname": {
  33791. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33792. "type": "string"
  33793. },
  33794. "openmode": {
  33795. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33796. "type": "integer"
  33797. },
  33798. "otherurl": {
  33799. "description": "其它图片地址[使用分号分隔]",
  33800. "type": "string"
  33801. },
  33802. "postalcode": {
  33803. "description": "邮政编码",
  33804. "type": "string"
  33805. },
  33806. "provinceid": {
  33807. "description": "省",
  33808. "type": "integer"
  33809. },
  33810. "qq": {
  33811. "description": "QQ(加密存储",
  33812. "type": "string"
  33813. },
  33814. "remark": {
  33815. "description": "备注",
  33816. "type": "string"
  33817. },
  33818. "sex": {
  33819. "description": "用户性别 0: 女 1: 男",
  33820. "type": "integer"
  33821. },
  33822. "signpdfurl": {
  33823. "description": "签约pdf文件",
  33824. "type": "string"
  33825. },
  33826. "telphone": {
  33827. "description": "联系电话(加密存储)",
  33828. "type": "string"
  33829. },
  33830. "userid": {
  33831. "description": "用户ID",
  33832. "type": "integer"
  33833. },
  33834. "userinfotype": {
  33835. "description": "用户信息类型 - 1:个人 2:企业",
  33836. "type": "integer"
  33837. },
  33838. "userstatus": {
  33839. "description": "用户状态 - 1:正常 2:注销",
  33840. "type": "integer"
  33841. },
  33842. "usertype": {
  33843. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33844. "type": "integer"
  33845. },
  33846. "wechat": {
  33847. "description": "微信(加密存储)",
  33848. "type": "string"
  33849. },
  33850. "wskhinfo": {
  33851. "description": "开户申请信息(JSON)",
  33852. "type": "string"
  33853. }
  33854. }
  33855. },
  33856. "models.WRSConverTDetail": {
  33857. "type": "object",
  33858. "properties": {
  33859. "convertratio": {
  33860. "description": "套保系数",
  33861. "type": "number"
  33862. },
  33863. "deliverygoodscode": {
  33864. "description": "现货商品代码",
  33865. "type": "string"
  33866. },
  33867. "deliverygoodsid": {
  33868. "description": "现货品种ID",
  33869. "type": "integer"
  33870. },
  33871. "deliverygoodsname": {
  33872. "description": "现货商品名称",
  33873. "type": "string"
  33874. },
  33875. "enumdicname": {
  33876. "description": "单位名称",
  33877. "type": "string"
  33878. },
  33879. "goodsunitid": {
  33880. "description": "套保品种单位id",
  33881. "type": "integer"
  33882. },
  33883. "middlegoodscode": {
  33884. "description": "套保品种代码",
  33885. "type": "string"
  33886. },
  33887. "middlegoodsid": {
  33888. "description": "套保品种ID",
  33889. "type": "integer"
  33890. },
  33891. "middlegoodsname": {
  33892. "description": "套保品种名称",
  33893. "type": "string"
  33894. },
  33895. "modifytime": {
  33896. "description": "修改时间",
  33897. "type": "string"
  33898. },
  33899. "wrstandardid": {
  33900. "description": "品类ID",
  33901. "type": "integer"
  33902. }
  33903. }
  33904. },
  33905. "models.WRStandardInfo": {
  33906. "type": "object",
  33907. "required": [
  33908. "wrstandardid"
  33909. ],
  33910. "properties": {
  33911. "areauserid": {
  33912. "description": "所属机构",
  33913. "type": "integer"
  33914. },
  33915. "convertfactor": {
  33916. "description": "标仓系数",
  33917. "type": "number"
  33918. },
  33919. "createtime": {
  33920. "description": "创建时间",
  33921. "type": "string"
  33922. },
  33923. "creatorid": {
  33924. "description": "创建人",
  33925. "type": "integer"
  33926. },
  33927. "deliverygoodsid": {
  33928. "description": "品种ID",
  33929. "type": "integer"
  33930. },
  33931. "deliverygoodsname": {
  33932. "description": "交割商品名称",
  33933. "type": "string"
  33934. },
  33935. "factoryitemjson": {
  33936. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33937. "type": "string"
  33938. },
  33939. "isvalid": {
  33940. "description": "是否有效 - 0:无效 1:有效",
  33941. "type": "integer"
  33942. },
  33943. "minivalue": {
  33944. "description": "最小变动值",
  33945. "type": "integer"
  33946. },
  33947. "minivaluedp": {
  33948. "description": "最小变动值小数位",
  33949. "type": "integer"
  33950. },
  33951. "realminivalue": {
  33952. "description": "实际最小变动值",
  33953. "type": "integer"
  33954. },
  33955. "realminivaluedp": {
  33956. "description": "实际最小变动值小数位",
  33957. "type": "integer"
  33958. },
  33959. "remark": {
  33960. "description": "备注",
  33961. "type": "string"
  33962. },
  33963. "unitid": {
  33964. "description": "单位ID",
  33965. "type": "integer"
  33966. },
  33967. "unitname": {
  33968. "description": "单位",
  33969. "type": "string"
  33970. },
  33971. "updatetime": {
  33972. "description": "更新时间",
  33973. "type": "string"
  33974. },
  33975. "updatorid": {
  33976. "description": "更新人",
  33977. "type": "integer"
  33978. },
  33979. "wrsstatus": {
  33980. "description": "状态 - 作废 - 0:未激活 1:正常",
  33981. "type": "integer"
  33982. },
  33983. "wrstandardcode": {
  33984. "description": "现货品类代码",
  33985. "type": "string"
  33986. },
  33987. "wrstandardid": {
  33988. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33989. "type": "integer"
  33990. },
  33991. "wrstandardname": {
  33992. "description": "现货品类名称",
  33993. "type": "string"
  33994. }
  33995. }
  33996. },
  33997. "models.WRTradeBargainApply": {
  33998. "type": "object",
  33999. "properties": {
  34000. "accountid": {
  34001. "description": "摘牌资金账号",
  34002. "type": "integer"
  34003. },
  34004. "applyprice": {
  34005. "description": "申请价格(议价价格)",
  34006. "type": "string"
  34007. },
  34008. "applyqty": {
  34009. "description": "摘牌数量(议价数量)",
  34010. "type": "number"
  34011. },
  34012. "applyremark": {
  34013. "description": "申请备注",
  34014. "type": "string"
  34015. },
  34016. "applystatus": {
  34017. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  34018. "type": "integer"
  34019. },
  34020. "applytime": {
  34021. "description": "申请时间(议价时间)",
  34022. "type": "string"
  34023. },
  34024. "begindate": {
  34025. "description": "开始交易日(yyyymmdd)",
  34026. "type": "string"
  34027. },
  34028. "buyorsell": {
  34029. "description": "买卖(挂牌类型) - 0:买 1:卖",
  34030. "type": "integer"
  34031. },
  34032. "confirmremark": {
  34033. "description": "确认备注",
  34034. "type": "string"
  34035. },
  34036. "confirmtime": {
  34037. "description": "确认时间",
  34038. "type": "string"
  34039. },
  34040. "confirmuserid": {
  34041. "description": "确认人",
  34042. "type": "integer"
  34043. },
  34044. "deliverygoodscode": {
  34045. "description": "品种代码",
  34046. "type": "string"
  34047. },
  34048. "deliverygoodsid": {
  34049. "description": "品种ID",
  34050. "type": "integer"
  34051. },
  34052. "deliverygoodsname": {
  34053. "description": "品种名称",
  34054. "type": "string"
  34055. },
  34056. "deliverymonth": {
  34057. "description": "交收月",
  34058. "type": "string"
  34059. },
  34060. "enddate": {
  34061. "description": "结束交易日(yyyymmdd)",
  34062. "type": "string"
  34063. },
  34064. "enumdicname": {
  34065. "description": "单位名称",
  34066. "type": "string"
  34067. },
  34068. "fixedprice": {
  34069. "description": "挂牌价格",
  34070. "type": "number"
  34071. },
  34072. "handlestatus": {
  34073. "description": "处理状态",
  34074. "type": "integer"
  34075. },
  34076. "marginvalue": {
  34077. "description": "履约保证金比例",
  34078. "type": "number"
  34079. },
  34080. "marketid": {
  34081. "description": "市场ID",
  34082. "type": "integer"
  34083. },
  34084. "matchaccountid": {
  34085. "description": "挂牌方资金账号",
  34086. "type": "integer"
  34087. },
  34088. "matchuserid": {
  34089. "description": "挂牌方用户id",
  34090. "type": "integer"
  34091. },
  34092. "matchusername": {
  34093. "description": "挂牌方用户名称(已脱敏)",
  34094. "type": "string"
  34095. },
  34096. "minivalue": {
  34097. "description": "现货商品最小变动值",
  34098. "type": "integer"
  34099. },
  34100. "optioncompare": {
  34101. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34102. "type": "string"
  34103. },
  34104. "orderqty": {
  34105. "description": "挂牌数量",
  34106. "type": "integer"
  34107. },
  34108. "refprice": {
  34109. "description": "参考价格",
  34110. "type": "string"
  34111. },
  34112. "retcode": {
  34113. "description": "委托返回代码",
  34114. "type": "integer"
  34115. },
  34116. "templatename": {
  34117. "description": "履约方式(履约模板名称)",
  34118. "type": "string"
  34119. },
  34120. "tradedate": {
  34121. "description": "交易日(yyyyMMdd)",
  34122. "type": "string"
  34123. },
  34124. "userid": {
  34125. "description": "摘牌人用户ID(议价人ID)",
  34126. "type": "integer"
  34127. },
  34128. "username": {
  34129. "description": "议价人名字(已脱敏)",
  34130. "type": "string"
  34131. },
  34132. "validtime": {
  34133. "description": "有效期限",
  34134. "type": "string"
  34135. },
  34136. "warehouseid": {
  34137. "description": "仓库ID",
  34138. "type": "integer"
  34139. },
  34140. "warehousename": {
  34141. "description": "仓库名称",
  34142. "type": "string"
  34143. },
  34144. "wrbargainid": {
  34145. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  34146. "type": "string"
  34147. },
  34148. "wrfactortypeid": {
  34149. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34150. "type": "string"
  34151. },
  34152. "wrfactortypename": {
  34153. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34154. "type": "string"
  34155. },
  34156. "wrstandardcode": {
  34157. "description": "现货商品代码",
  34158. "type": "string"
  34159. },
  34160. "wrstandardid": {
  34161. "description": "现货商品ID",
  34162. "type": "integer"
  34163. },
  34164. "wrstandardname": {
  34165. "description": "商品名称",
  34166. "type": "string"
  34167. },
  34168. "wrtradeorderid": {
  34169. "description": "关联委托单ID",
  34170. "type": "string"
  34171. },
  34172. "wrtypename": {
  34173. "description": "商品",
  34174. "type": "string"
  34175. }
  34176. }
  34177. },
  34178. "models.Warehouseinfo": {
  34179. "type": "object",
  34180. "required": [
  34181. "autoid",
  34182. "warehousecode"
  34183. ],
  34184. "properties": {
  34185. "address": {
  34186. "description": "详细地址",
  34187. "type": "string"
  34188. },
  34189. "areauserid": {
  34190. "description": "所属机构",
  34191. "type": "integer"
  34192. },
  34193. "autoid": {
  34194. "description": "自增ID",
  34195. "type": "integer"
  34196. },
  34197. "cityid": {
  34198. "description": "市",
  34199. "type": "integer"
  34200. },
  34201. "contactname": {
  34202. "description": "联系人",
  34203. "type": "string"
  34204. },
  34205. "contactnum": {
  34206. "description": "联系电话",
  34207. "type": "string"
  34208. },
  34209. "countryid": {
  34210. "description": "国家",
  34211. "type": "integer"
  34212. },
  34213. "createtime": {
  34214. "description": "创建时间",
  34215. "type": "string"
  34216. },
  34217. "districtid": {
  34218. "description": "区",
  34219. "type": "integer"
  34220. },
  34221. "hasvideo": {
  34222. "description": "是否有视频 - 0:无 1:有",
  34223. "type": "integer"
  34224. },
  34225. "provinceid": {
  34226. "description": "省",
  34227. "type": "integer"
  34228. },
  34229. "remark": {
  34230. "description": "审核备注",
  34231. "type": "string"
  34232. },
  34233. "videourl": {
  34234. "description": "视频地址",
  34235. "type": "string"
  34236. },
  34237. "warehousecode": {
  34238. "description": "仓库代码",
  34239. "type": "string"
  34240. },
  34241. "warehousename": {
  34242. "description": "仓库名称",
  34243. "type": "string"
  34244. },
  34245. "warehousestatus": {
  34246. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34247. "type": "integer"
  34248. },
  34249. "warehousetype": {
  34250. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34251. "type": "integer"
  34252. }
  34253. }
  34254. },
  34255. "models.WrAverageTradePrice": {
  34256. "type": "object",
  34257. "properties": {
  34258. "averageprice": {
  34259. "description": "成交均价",
  34260. "type": "number"
  34261. },
  34262. "tradedate": {
  34263. "description": "交易日yyyymm",
  34264. "type": "string"
  34265. }
  34266. }
  34267. },
  34268. "models.WrBsGoodsInfo": {
  34269. "type": "object",
  34270. "properties": {
  34271. "buyorsell": {
  34272. "description": "买卖方向 0-买 1-卖",
  34273. "type": "integer"
  34274. },
  34275. "goodsid": {
  34276. "description": "交易合约ID",
  34277. "type": "integer"
  34278. },
  34279. "lstitem": {
  34280. "description": "商品信息项",
  34281. "type": "array",
  34282. "items": {
  34283. "$ref": "#/definitions/models.WrTypeItem"
  34284. }
  34285. },
  34286. "lststep": {
  34287. "description": "履约规则",
  34288. "type": "array",
  34289. "items": {
  34290. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34291. }
  34292. }
  34293. }
  34294. },
  34295. "models.WrBuybackDetail": {
  34296. "type": "object",
  34297. "properties": {
  34298. "buybackamount": {
  34299. "description": "回购金额",
  34300. "type": "number"
  34301. },
  34302. "buybackqty": {
  34303. "description": "回购数量",
  34304. "type": "number"
  34305. },
  34306. "buybackreleasemargin": {
  34307. "description": "回购释放保证金",
  34308. "type": "number"
  34309. },
  34310. "buybacktime": {
  34311. "description": "回购时间",
  34312. "type": "string"
  34313. },
  34314. "errordesc": {
  34315. "description": "错误描述",
  34316. "type": "string"
  34317. },
  34318. "handlestatus": {
  34319. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34320. "type": "integer"
  34321. },
  34322. "relatedwrid": {
  34323. "description": "关联仓单ID",
  34324. "type": "integer"
  34325. },
  34326. "scfcontractid": {
  34327. "description": "SCF合同ID",
  34328. "type": "string"
  34329. },
  34330. "scfwrbuybackid": {
  34331. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34332. "type": "integer"
  34333. },
  34334. "tradedate": {
  34335. "description": "交易日(yyyyMMdd)",
  34336. "type": "string"
  34337. }
  34338. }
  34339. },
  34340. "models.WrDeliveryAvalidHoldLB": {
  34341. "type": "object",
  34342. "properties": {
  34343. "accountid": {
  34344. "description": "资金账号",
  34345. "type": "integer"
  34346. },
  34347. "avalidqty": {
  34348. "description": "数量(可点选数量)",
  34349. "type": "number"
  34350. },
  34351. "deliverygoodsid": {
  34352. "description": "品种id",
  34353. "type": "integer"
  34354. },
  34355. "enumdicname": {
  34356. "description": "单位名称",
  34357. "type": "string"
  34358. },
  34359. "goodsid": {
  34360. "description": "x合约商品id",
  34361. "type": "integer"
  34362. },
  34363. "ladingbillid": {
  34364. "description": "提单id",
  34365. "type": "string"
  34366. },
  34367. "pgoodscode": {
  34368. "description": "p商品代码(点价合约)",
  34369. "type": "string"
  34370. },
  34371. "pgoodsid": {
  34372. "description": "p商品id(点价合约)",
  34373. "type": "integer"
  34374. },
  34375. "pgoodsname": {
  34376. "description": "p商品名称(点价合约)",
  34377. "type": "string"
  34378. },
  34379. "pricemove": {
  34380. "description": "升贴水",
  34381. "type": "number"
  34382. },
  34383. "subnum": {
  34384. "description": "提单子id",
  34385. "type": "integer"
  34386. },
  34387. "userid": {
  34388. "description": "用户id",
  34389. "type": "integer"
  34390. },
  34391. "username": {
  34392. "description": "仓单持有人",
  34393. "type": "string"
  34394. },
  34395. "warehousecode": {
  34396. "description": "仓库代码",
  34397. "type": "string"
  34398. },
  34399. "warehouseid": {
  34400. "description": "仓库id",
  34401. "type": "integer"
  34402. },
  34403. "warehousename": {
  34404. "description": "仓库名称",
  34405. "type": "string"
  34406. },
  34407. "wrfactortypeid": {
  34408. "description": "仓单要素id",
  34409. "type": "string"
  34410. },
  34411. "wrstandardcode": {
  34412. "description": "品代码",
  34413. "type": "string"
  34414. },
  34415. "wrstandardid": {
  34416. "description": "品类d",
  34417. "type": "integer"
  34418. },
  34419. "wrstandardname": {
  34420. "description": "品类名称",
  34421. "type": "string"
  34422. },
  34423. "wrtypename": {
  34424. "description": "商品",
  34425. "type": "string"
  34426. },
  34427. "xgoodscode": {
  34428. "description": "x合约代码",
  34429. "type": "string"
  34430. },
  34431. "xgoodsname": {
  34432. "description": "x合约名称",
  34433. "type": "string"
  34434. }
  34435. }
  34436. },
  34437. "models.WrDeliveryDetail": {
  34438. "type": "object",
  34439. "properties": {
  34440. "accountid": {
  34441. "description": "账号ID",
  34442. "type": "integer"
  34443. },
  34444. "averageprice": {
  34445. "description": "交割均价 = 交割金额 / 交割数量",
  34446. "type": "number"
  34447. },
  34448. "begindate": {
  34449. "description": "开始交易日(yyyymmdd)",
  34450. "type": "string"
  34451. },
  34452. "buyorsell": {
  34453. "description": "方向 - 0:买 1:卖",
  34454. "type": "integer"
  34455. },
  34456. "deliveryamount": {
  34457. "description": "货款金额(X总货款+P总货款)",
  34458. "type": "number"
  34459. },
  34460. "deliveryid": {
  34461. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34462. "type": "string"
  34463. },
  34464. "deliveryorderid": {
  34465. "description": "申报单号",
  34466. "type": "string"
  34467. },
  34468. "deliverypricemove": {
  34469. "description": "升贴水(升贴水总额)",
  34470. "type": "number"
  34471. },
  34472. "deliveryqty": {
  34473. "description": "交收数量(点选数量)",
  34474. "type": "number"
  34475. },
  34476. "deliverystatus": {
  34477. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34478. "type": "integer"
  34479. },
  34480. "deliverytime": {
  34481. "description": "交割时间",
  34482. "type": "string"
  34483. },
  34484. "deliverytotalamount": {
  34485. "description": "交收金额",
  34486. "type": "number"
  34487. },
  34488. "enddate": {
  34489. "description": "结束交易日(yyyymmdd)",
  34490. "type": "string"
  34491. },
  34492. "enumdicname": {
  34493. "description": "单位名称",
  34494. "type": "string"
  34495. },
  34496. "matchaccountid": {
  34497. "description": "对手账号ID",
  34498. "type": "integer"
  34499. },
  34500. "matchusername": {
  34501. "description": "对手方名称(仓单持有人)",
  34502. "type": "string"
  34503. },
  34504. "p1goodsremainamount": {
  34505. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34506. "type": "number"
  34507. },
  34508. "pdeliverycloseqty": {
  34509. "description": "p合约平仓数量",
  34510. "type": "number"
  34511. },
  34512. "pdeliveryprice": {
  34513. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34514. "type": "number"
  34515. },
  34516. "pgoodscode": {
  34517. "description": "商品代码",
  34518. "type": "string"
  34519. },
  34520. "pgoodsid": {
  34521. "description": "p点选合约id",
  34522. "type": "integer"
  34523. },
  34524. "pgoodsname": {
  34525. "description": "商品名称",
  34526. "type": "string"
  34527. },
  34528. "ppricemode": {
  34529. "description": "点价价格方式 - 1:商品价 2:固定值",
  34530. "type": "integer"
  34531. },
  34532. "tradedate": {
  34533. "description": "交易日(yyyymmdd)",
  34534. "type": "string"
  34535. },
  34536. "userid": {
  34537. "description": "用户id",
  34538. "type": "integer"
  34539. },
  34540. "username": {
  34541. "description": "用户名称",
  34542. "type": "string"
  34543. },
  34544. "warehousename": {
  34545. "description": "仓库名称",
  34546. "type": "string"
  34547. },
  34548. "wrfactortypeid": {
  34549. "description": "仓单要素类型ID",
  34550. "type": "string"
  34551. },
  34552. "wrtypename": {
  34553. "description": "商品",
  34554. "type": "string"
  34555. },
  34556. "xdeliverycloseqty": {
  34557. "description": "合约数量",
  34558. "type": "number"
  34559. },
  34560. "xgoodsamount": {
  34561. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34562. "type": "number"
  34563. },
  34564. "xgoodscode": {
  34565. "description": "商品代码",
  34566. "type": "string"
  34567. },
  34568. "xgoodsid": {
  34569. "description": "x交易合约ID",
  34570. "type": "integer"
  34571. },
  34572. "xgoodsname": {
  34573. "description": "商品名称",
  34574. "type": "string"
  34575. }
  34576. }
  34577. },
  34578. "models.WrDeliveryGoodsSection": {
  34579. "type": "object",
  34580. "properties": {
  34581. "dglst": {
  34582. "description": "板块商品列表",
  34583. "type": "array",
  34584. "items": {
  34585. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34586. }
  34587. },
  34588. "imagepath": {
  34589. "description": "图片地址",
  34590. "type": "string"
  34591. },
  34592. "orderindex": {
  34593. "description": "排序",
  34594. "type": "integer"
  34595. },
  34596. "sectionid": {
  34597. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34598. "type": "integer"
  34599. },
  34600. "sectionname": {
  34601. "description": "版块名称",
  34602. "type": "string"
  34603. },
  34604. "sectiontype": {
  34605. "description": "版块类型 - 1:指数版块 2:普通版块",
  34606. "type": "integer"
  34607. }
  34608. }
  34609. },
  34610. "models.WrDeliveryGoodsSectionConfig": {
  34611. "type": "object",
  34612. "properties": {
  34613. "deliverygoodscode": {
  34614. "description": "现货商品代码",
  34615. "type": "string"
  34616. },
  34617. "deliverygoodsid": {
  34618. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34619. "type": "integer"
  34620. },
  34621. "deliverygoodsname": {
  34622. "description": "现货商品名称",
  34623. "type": "string"
  34624. },
  34625. "orderindex": {
  34626. "description": "排序",
  34627. "type": "integer"
  34628. }
  34629. }
  34630. },
  34631. "models.WrFAProductDetail": {
  34632. "type": "object",
  34633. "properties": {
  34634. "accountid": {
  34635. "description": "资金账号",
  34636. "type": "integer"
  34637. },
  34638. "areauserid": {
  34639. "description": "金融机构ID",
  34640. "type": "integer"
  34641. },
  34642. "financingdays": {
  34643. "description": "天数(天)",
  34644. "type": "integer"
  34645. },
  34646. "interestminlen": {
  34647. "description": "最小起息天数",
  34648. "type": "integer"
  34649. },
  34650. "interestrate": {
  34651. "description": "利率",
  34652. "type": "number"
  34653. },
  34654. "interestratemode": {
  34655. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34656. "type": "integer"
  34657. },
  34658. "interestsettlemode": {
  34659. "description": "结息方式 - 1:按日结息 3:按月结息",
  34660. "type": "integer"
  34661. },
  34662. "interestsettlevalue": {
  34663. "description": "结息方式值",
  34664. "type": "integer"
  34665. },
  34666. "isautoloan": {
  34667. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34668. "type": "integer"
  34669. },
  34670. "loantag": {
  34671. "description": "放款标识: \"放款快\" 或者为空",
  34672. "type": "string"
  34673. },
  34674. "marginratio": {
  34675. "description": "保证金比率质押率 - [仓单质押]",
  34676. "type": "number"
  34677. },
  34678. "productdetailid": {
  34679. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34680. "type": "integer"
  34681. },
  34682. "productid": {
  34683. "description": "金融产品ID",
  34684. "type": "integer"
  34685. },
  34686. "productname": {
  34687. "description": "产品名称",
  34688. "type": "string"
  34689. },
  34690. "updatetime": {
  34691. "description": "更新时间",
  34692. "type": "string"
  34693. },
  34694. "username": {
  34695. "description": "融出方",
  34696. "type": "string"
  34697. }
  34698. }
  34699. },
  34700. "models.WrFactorTypeInfo": {
  34701. "type": "object",
  34702. "properties": {
  34703. "deliverygoodscode": {
  34704. "description": "品种代码",
  34705. "type": "string"
  34706. },
  34707. "deliverygoodsname": {
  34708. "description": "品种名称",
  34709. "type": "string"
  34710. },
  34711. "dgfactoryitemid": {
  34712. "description": "选择项id",
  34713. "type": "integer"
  34714. },
  34715. "dgfactoryitemtypeid": {
  34716. "description": "要素选择项ID (1-仓库 2-品牌)",
  34717. "type": "integer"
  34718. },
  34719. "dgfactoryitemvalue": {
  34720. "description": "要素项值",
  34721. "type": "string"
  34722. },
  34723. "itemtypename": {
  34724. "description": "要素项名称",
  34725. "type": "string"
  34726. },
  34727. "optioncompare": {
  34728. "description": "选择比较串",
  34729. "type": "string"
  34730. },
  34731. "warehouseid": {
  34732. "description": "仓库id",
  34733. "type": "integer"
  34734. },
  34735. "wrfactortypeid": {
  34736. "description": "仓单要素ID",
  34737. "type": "string"
  34738. },
  34739. "wrfactortypename": {
  34740. "description": "要素名称",
  34741. "type": "string"
  34742. },
  34743. "wrfactortypename2": {
  34744. "description": "要素名称(不含仓库)",
  34745. "type": "string"
  34746. },
  34747. "wrstandardcode": {
  34748. "description": "品类代码",
  34749. "type": "string"
  34750. },
  34751. "wrstandardid": {
  34752. "description": "品类id",
  34753. "type": "integer"
  34754. },
  34755. "wrstandardname": {
  34756. "description": "品类名称",
  34757. "type": "string"
  34758. }
  34759. }
  34760. },
  34761. "models.WrFilterItem": {
  34762. "type": "object",
  34763. "properties": {
  34764. "itemcode": {
  34765. "description": "代码",
  34766. "type": "string"
  34767. },
  34768. "itemid": {
  34769. "description": "项id",
  34770. "type": "integer"
  34771. },
  34772. "itemname": {
  34773. "description": "名称",
  34774. "type": "string"
  34775. },
  34776. "itemtype": {
  34777. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34778. "type": "integer"
  34779. }
  34780. }
  34781. },
  34782. "models.WrFinanceBuyApply": {
  34783. "type": "object",
  34784. "properties": {
  34785. "applydate": {
  34786. "description": "申请时间",
  34787. "type": "string"
  34788. },
  34789. "applystatus": {
  34790. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34791. "type": "integer"
  34792. },
  34793. "applyuserid": {
  34794. "description": "申请人",
  34795. "type": "integer"
  34796. },
  34797. "auditdate": {
  34798. "description": "审核时间",
  34799. "type": "string"
  34800. },
  34801. "auditremark": {
  34802. "description": "审核备注",
  34803. "type": "string"
  34804. },
  34805. "audituserid": {
  34806. "description": "审核人",
  34807. "type": "integer"
  34808. },
  34809. "buyaccountid": {
  34810. "description": "买方资金账号",
  34811. "type": "integer"
  34812. },
  34813. "buyorsell": {
  34814. "description": "买卖 - 0:买 1:卖",
  34815. "type": "integer"
  34816. },
  34817. "buyuserid": {
  34818. "description": "买方用户ID",
  34819. "type": "integer"
  34820. },
  34821. "buyusername": {
  34822. "description": "买方名称",
  34823. "type": "string"
  34824. },
  34825. "buywrtradeorderid": {
  34826. "description": "融资方买委托单ID",
  34827. "type": "string"
  34828. },
  34829. "deliverygoodscode": {
  34830. "description": "品种代码",
  34831. "type": "string"
  34832. },
  34833. "deliverygoodsid": {
  34834. "description": "品种ID",
  34835. "type": "integer"
  34836. },
  34837. "deliverygoodsname": {
  34838. "description": "品种名称",
  34839. "type": "string"
  34840. },
  34841. "deliverymonth": {
  34842. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34843. "type": "string"
  34844. },
  34845. "enumdicname": {
  34846. "description": "单位名称",
  34847. "type": "string"
  34848. },
  34849. "financeaccountid": {
  34850. "description": "融资方资金帐户ID",
  34851. "type": "integer"
  34852. },
  34853. "financeapplyid": {
  34854. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34855. "type": "string"
  34856. },
  34857. "financeareauserid": {
  34858. "description": "融资方用户ID",
  34859. "type": "string"
  34860. },
  34861. "financename": {
  34862. "description": "融出方名称",
  34863. "type": "string"
  34864. },
  34865. "financetype": {
  34866. "description": "融资类型 1-融资回购",
  34867. "type": "integer"
  34868. },
  34869. "financingdays": {
  34870. "description": "天数(天)",
  34871. "type": "integer"
  34872. },
  34873. "freezebuymargin": {
  34874. "description": "冻结融资保证金(买方)",
  34875. "type": "number"
  34876. },
  34877. "handleremark": {
  34878. "description": "处理备注",
  34879. "type": "string"
  34880. },
  34881. "handlestatus": {
  34882. "description": "处理状态",
  34883. "type": "integer"
  34884. },
  34885. "interestminlen": {
  34886. "description": "最小起息天数",
  34887. "type": "integer"
  34888. },
  34889. "interestrate": {
  34890. "description": "利率",
  34891. "type": "number"
  34892. },
  34893. "interestratemode": {
  34894. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34895. "type": "integer"
  34896. },
  34897. "interestsettlemode": {
  34898. "description": "结息方式 - 1:按日结息 3:按月结息",
  34899. "type": "integer"
  34900. },
  34901. "interestsettlevalue": {
  34902. "description": "结息方式值",
  34903. "type": "integer"
  34904. },
  34905. "isautoloan": {
  34906. "description": "是否自动放款 - 0:手动 1:自动",
  34907. "type": "integer"
  34908. },
  34909. "marginratio": {
  34910. "description": "保证金比率质押率 - [仓单质押]",
  34911. "type": "number"
  34912. },
  34913. "marketid": {
  34914. "description": "市场ID",
  34915. "type": "integer"
  34916. },
  34917. "minivalue": {
  34918. "description": "现货商品最小变动值",
  34919. "type": "integer"
  34920. },
  34921. "optioncompare": {
  34922. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34923. "type": "string"
  34924. },
  34925. "orderqty": {
  34926. "description": "委托数量(商品数量)",
  34927. "type": "number"
  34928. },
  34929. "productdetailid": {
  34930. "description": "产品组合ID",
  34931. "type": "integer"
  34932. },
  34933. "productid": {
  34934. "description": "金融产品ID",
  34935. "type": "integer"
  34936. },
  34937. "productname": {
  34938. "description": "产品名称",
  34939. "type": "string"
  34940. },
  34941. "remark": {
  34942. "description": "备注",
  34943. "type": "string"
  34944. },
  34945. "scfcontractid": {
  34946. "description": "仓单回购合同ID",
  34947. "type": "string"
  34948. },
  34949. "sellaccountid": {
  34950. "description": "卖方资金账号",
  34951. "type": "integer"
  34952. },
  34953. "selluserid": {
  34954. "description": "卖方用户ID",
  34955. "type": "integer"
  34956. },
  34957. "sellwrtradeorderid": {
  34958. "description": "卖方委托单ID",
  34959. "type": "string"
  34960. },
  34961. "tradeamount": {
  34962. "description": "成交金额(借款金额)",
  34963. "type": "number"
  34964. },
  34965. "tradedate": {
  34966. "description": "交易日(yyyyMMdd)",
  34967. "type": "string"
  34968. },
  34969. "tradeprice": {
  34970. "description": "成交价格",
  34971. "type": "number"
  34972. },
  34973. "warehouseid": {
  34974. "description": "仓库ID",
  34975. "type": "integer"
  34976. },
  34977. "warehousename": {
  34978. "description": "仓库名称",
  34979. "type": "string"
  34980. },
  34981. "wrfactortypeid": {
  34982. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34983. "type": "string"
  34984. },
  34985. "wrfactortypename": {
  34986. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34987. "type": "string"
  34988. },
  34989. "wrpricetype": {
  34990. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34991. "type": "integer"
  34992. },
  34993. "wrstandardcode": {
  34994. "description": "现货商品代码",
  34995. "type": "string"
  34996. },
  34997. "wrstandardid": {
  34998. "description": "现货商品ID",
  34999. "type": "integer"
  35000. },
  35001. "wrstandardname": {
  35002. "description": "商品名称",
  35003. "type": "string"
  35004. },
  35005. "wrtypename": {
  35006. "description": "商品",
  35007. "type": "string"
  35008. }
  35009. }
  35010. },
  35011. "models.WrFriendApply": {
  35012. "type": "object",
  35013. "properties": {
  35014. "applicantid": {
  35015. "description": "申请人",
  35016. "type": "integer"
  35017. },
  35018. "applyname": {
  35019. "description": "申请人名称",
  35020. "type": "string"
  35021. },
  35022. "applysrc": {
  35023. "description": "申请来源 - 1:管理端 2:终端",
  35024. "type": "integer"
  35025. },
  35026. "applystatus": {
  35027. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35028. "type": "integer"
  35029. },
  35030. "applytime": {
  35031. "description": "申请时间",
  35032. "type": "string"
  35033. },
  35034. "auditname": {
  35035. "description": "审核人名称",
  35036. "type": "string"
  35037. },
  35038. "auditorid": {
  35039. "description": "审核人",
  35040. "type": "integer"
  35041. },
  35042. "auditremark": {
  35043. "description": "审核备注",
  35044. "type": "string"
  35045. },
  35046. "auditsrc": {
  35047. "description": "审核来源 - 1:管理端 2:终端",
  35048. "type": "integer"
  35049. },
  35050. "audittime": {
  35051. "description": "审核时间",
  35052. "type": "string"
  35053. },
  35054. "friendapplyid": {
  35055. "description": "申请ID(SEQ_FRIENDAPPLY)",
  35056. "type": "string"
  35057. },
  35058. "friendname": {
  35059. "description": "好友名字(已脱敏)",
  35060. "type": "string"
  35061. },
  35062. "frienduserid": {
  35063. "description": "好友用户ID",
  35064. "type": "string"
  35065. },
  35066. "remark": {
  35067. "description": "备注",
  35068. "type": "string"
  35069. },
  35070. "userid": {
  35071. "description": "申请人用户ID",
  35072. "type": "integer"
  35073. }
  35074. }
  35075. },
  35076. "models.WrFtDeliveryGoods": {
  35077. "type": "object",
  35078. "properties": {
  35079. "deliverygoodscode": {
  35080. "description": "品种代码",
  35081. "type": "string"
  35082. },
  35083. "deliverygoodsid": {
  35084. "description": "品种ID",
  35085. "type": "integer"
  35086. },
  35087. "deliverygoodsname": {
  35088. "description": "品种名称",
  35089. "type": "string"
  35090. },
  35091. "wdlst": {
  35092. "description": "商品列表",
  35093. "type": "array",
  35094. "items": {
  35095. "$ref": "#/definitions/models.WrFtWrstandard"
  35096. }
  35097. }
  35098. }
  35099. },
  35100. "models.WrFtWrstandard": {
  35101. "type": "object",
  35102. "properties": {
  35103. "enumdicname": {
  35104. "description": "单位名称",
  35105. "type": "string"
  35106. },
  35107. "minivalue": {
  35108. "description": "最小变动值",
  35109. "type": "integer"
  35110. },
  35111. "wrstandardcode": {
  35112. "description": "现货商品代码",
  35113. "type": "string"
  35114. },
  35115. "wrstandardid": {
  35116. "description": "现货商品ID",
  35117. "type": "integer"
  35118. },
  35119. "wrstandardname": {
  35120. "description": "商品名称",
  35121. "type": "string"
  35122. }
  35123. }
  35124. },
  35125. "models.WrGoodsInfo": {
  35126. "type": "object",
  35127. "properties": {
  35128. "haswr": {
  35129. "description": "0:仓单预售 1:仓单贸易",
  35130. "type": "integer"
  35131. },
  35132. "lstitem": {
  35133. "description": "商品信息项",
  35134. "type": "array",
  35135. "items": {
  35136. "$ref": "#/definitions/models.WrTypeItem"
  35137. }
  35138. },
  35139. "lststep": {
  35140. "description": "履约规则",
  35141. "type": "array",
  35142. "items": {
  35143. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35144. }
  35145. },
  35146. "marketid": {
  35147. "description": "市场id",
  35148. "type": "integer"
  35149. }
  35150. }
  35151. },
  35152. "models.WrGoodsPerformanceStep": {
  35153. "type": "object",
  35154. "properties": {
  35155. "autoid": {
  35156. "description": "AutoID",
  35157. "type": "integer"
  35158. },
  35159. "isauto": {
  35160. "description": "是否自动 - 0:不自动 1:自动",
  35161. "type": "integer"
  35162. },
  35163. "remark": {
  35164. "description": "备注",
  35165. "type": "string"
  35166. },
  35167. "stepdate": {
  35168. "description": "天数信息(T+N)",
  35169. "type": "string"
  35170. },
  35171. "stepdays": {
  35172. "description": "距离上一步天数",
  35173. "type": "integer"
  35174. },
  35175. "stepindex": {
  35176. "description": "步骤序号",
  35177. "type": "integer"
  35178. },
  35179. "stepinfo": {
  35180. "description": "步骤信息(步骤名称+步骤值)",
  35181. "type": "string"
  35182. },
  35183. "steptypeid": {
  35184. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35185. "type": "integer"
  35186. },
  35187. "steptypename": {
  35188. "description": "步骤名称",
  35189. "type": "string"
  35190. },
  35191. "stepvalue": {
  35192. "description": "步骤值",
  35193. "type": "number"
  35194. },
  35195. "templateid": {
  35196. "description": "履约计划模板ID",
  35197. "type": "integer"
  35198. }
  35199. }
  35200. },
  35201. "models.WrHoldLB": {
  35202. "type": "object",
  35203. "properties": {
  35204. "accountid": {
  35205. "description": "持有人帐户ID",
  35206. "type": "integer"
  35207. },
  35208. "bannerpicurl": {
  35209. "description": "Banner图",
  35210. "type": "string"
  35211. },
  35212. "createtime": {
  35213. "description": "创建时间(过户时间)",
  35214. "type": "string"
  35215. },
  35216. "deliverygoodscode": {
  35217. "description": "品种代码",
  35218. "type": "string"
  35219. },
  35220. "deliverygoodsid": {
  35221. "description": "品种ID",
  35222. "type": "integer"
  35223. },
  35224. "deliverygoodsname": {
  35225. "description": "品种名称",
  35226. "type": "string"
  35227. },
  35228. "enableqty": {
  35229. "description": "可用数量",
  35230. "type": "number"
  35231. },
  35232. "enumdicname": {
  35233. "description": "单位名称",
  35234. "type": "string"
  35235. },
  35236. "freezerqty": {
  35237. "description": "冻结数量",
  35238. "type": "number"
  35239. },
  35240. "ladingbillid": {
  35241. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35242. "type": "string"
  35243. },
  35244. "minivalue": {
  35245. "description": "现货商品最小变动值",
  35246. "type": "integer"
  35247. },
  35248. "optioncompare": {
  35249. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35250. "type": "string"
  35251. },
  35252. "parentsubnum": {
  35253. "description": "拆分父子单号",
  35254. "type": "integer"
  35255. },
  35256. "pledgeqty": {
  35257. "description": "质押数量",
  35258. "type": "number"
  35259. },
  35260. "qty": {
  35261. "description": "数量",
  35262. "type": "number"
  35263. },
  35264. "subnum": {
  35265. "description": "提单子单号",
  35266. "type": "integer"
  35267. },
  35268. "tradedate": {
  35269. "description": "交易日(yyyyMMdd)",
  35270. "type": "string"
  35271. },
  35272. "userid": {
  35273. "description": "持有人ID",
  35274. "type": "integer"
  35275. },
  35276. "warehouseid": {
  35277. "description": "仓库ID",
  35278. "type": "integer"
  35279. },
  35280. "warehousename": {
  35281. "description": "仓库名称",
  35282. "type": "string"
  35283. },
  35284. "wrfactortypeid": {
  35285. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35286. "type": "string"
  35287. },
  35288. "wrfactortypename": {
  35289. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35290. "type": "string"
  35291. },
  35292. "wrholdeno": {
  35293. "description": "仓单编号",
  35294. "type": "string"
  35295. },
  35296. "wrid": {
  35297. "description": "仓单变更ID",
  35298. "type": "string"
  35299. },
  35300. "wrstandardcode": {
  35301. "description": "现货商品代码",
  35302. "type": "string"
  35303. },
  35304. "wrstandardid": {
  35305. "description": "现货商品ID",
  35306. "type": "integer"
  35307. },
  35308. "wrstandardname": {
  35309. "description": "商品名称",
  35310. "type": "string"
  35311. },
  35312. "wrtypename": {
  35313. "description": "商品",
  35314. "type": "string"
  35315. }
  35316. }
  35317. },
  35318. "models.WrMarketTradeConfig": {
  35319. "type": "object",
  35320. "properties": {
  35321. "basisdownratio": {
  35322. "description": "浮动价基差下限比例(仓单贸易)",
  35323. "type": "number"
  35324. },
  35325. "basisupratio": {
  35326. "description": "浮动价基差上限比例(仓单贸易)",
  35327. "type": "number"
  35328. },
  35329. "buychargealgorithm": {
  35330. "description": "买方手续费收取方式 1:比率 2:固定",
  35331. "type": "integer"
  35332. },
  35333. "buychargealgorithm2": {
  35334. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35335. "type": "integer"
  35336. },
  35337. "buychargealgorithmvalue": {
  35338. "description": "买方手续费设置值(交易所部分)",
  35339. "type": "number"
  35340. },
  35341. "buychargealgorithmvalue2": {
  35342. "description": "买方手续费设置值(会员部分)",
  35343. "type": "number"
  35344. },
  35345. "buychargealgorithmvalue3": {
  35346. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35347. "type": "number"
  35348. },
  35349. "buychargealgorithmvalue4": {
  35350. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35351. "type": "number"
  35352. },
  35353. "buyfirstmarginalgorithm": {
  35354. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35355. "type": "integer"
  35356. },
  35357. "buyfirstmarginvalue": {
  35358. "description": "买方出价保证金设置值 - [竞拍]",
  35359. "type": "number"
  35360. },
  35361. "buymarginalgorithm": {
  35362. "description": "买方保证金方式 - 1:比率 2:固定",
  35363. "type": "integer"
  35364. },
  35365. "buymarginvalue": {
  35366. "description": "买方保证金设置值",
  35367. "type": "number"
  35368. },
  35369. "buyreleaseratio": {
  35370. "description": "买方释放比率[2:分步履约]",
  35371. "type": "number"
  35372. },
  35373. "executemode": {
  35374. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35375. "type": "integer"
  35376. },
  35377. "executeside": {
  35378. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35379. "type": "integer"
  35380. },
  35381. "failedchargealgorithm": {
  35382. "description": "流拍手续费收取方式 1:比率 2:固定",
  35383. "type": "integer"
  35384. },
  35385. "failedchargevalue": {
  35386. "description": "流拍手续费设置值",
  35387. "type": "number"
  35388. },
  35389. "failedchargevalue2": {
  35390. "description": "流拍卖方手续费设置值",
  35391. "type": "number"
  35392. },
  35393. "holddays": {
  35394. "description": "合同期限[2:分步履约]",
  35395. "type": "integer"
  35396. },
  35397. "marketid": {
  35398. "description": "市场ID-仓单贸易、竞拍、预售",
  35399. "type": "integer"
  35400. },
  35401. "minqty": {
  35402. "description": "最小执行量[2:分步履约]",
  35403. "type": "number"
  35404. },
  35405. "modifierid": {
  35406. "description": "修改人",
  35407. "type": "integer"
  35408. },
  35409. "performancetempid": {
  35410. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35411. "type": "integer"
  35412. },
  35413. "performancetempid2": {
  35414. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35415. "type": "integer"
  35416. },
  35417. "performancetempid2s": {
  35418. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35419. "type": "string"
  35420. },
  35421. "performancetempids": {
  35422. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35423. "type": "string"
  35424. },
  35425. "performanceway": {
  35426. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35427. "type": "integer"
  35428. },
  35429. "sellchargealgorithm": {
  35430. "description": "卖方手续费收取方式 1:比率 2:固定",
  35431. "type": "integer"
  35432. },
  35433. "sellchargealgorithm2": {
  35434. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35435. "type": "integer"
  35436. },
  35437. "sellchargealgorithmvalue": {
  35438. "description": "卖方手续费设置值(交易所部分)",
  35439. "type": "number"
  35440. },
  35441. "sellchargealgorithmvalue2": {
  35442. "description": "卖方手续费设置值(会员部分)",
  35443. "type": "number"
  35444. },
  35445. "sellchargealgorithmvalue3": {
  35446. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35447. "type": "number"
  35448. },
  35449. "sellchargealgorithmvalue4": {
  35450. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35451. "type": "number"
  35452. },
  35453. "sellmarginalgorithm": {
  35454. "description": "卖方保证金方式 - 1:比率 2:固定",
  35455. "type": "integer"
  35456. },
  35457. "sellmarginvalue": {
  35458. "description": "卖方保证金设置值",
  35459. "type": "number"
  35460. },
  35461. "sellmarginvalue2": {
  35462. "description": "卖方保证金设置值(无仓单)",
  35463. "type": "number"
  35464. },
  35465. "sellreleaseratio": {
  35466. "description": "卖方释放比率[2:分步履约]",
  35467. "type": "number"
  35468. },
  35469. "updatetime": {
  35470. "description": "更新时间",
  35471. "type": "string"
  35472. }
  35473. }
  35474. },
  35475. "models.WrOrderDetail": {
  35476. "type": "object",
  35477. "properties": {
  35478. "accountid": {
  35479. "description": "交易账号(资金账号)",
  35480. "type": "integer"
  35481. },
  35482. "allfriendsflag": {
  35483. "description": "是否全好友可见 - 0:否 1:是",
  35484. "type": "integer"
  35485. },
  35486. "amount": {
  35487. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35488. "type": "number"
  35489. },
  35490. "bannerpicurl": {
  35491. "description": "Banner图",
  35492. "type": "string"
  35493. },
  35494. "begindate": {
  35495. "description": "开始交易日(yyyymmdd)",
  35496. "type": "string"
  35497. },
  35498. "buyorsell": {
  35499. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35500. "type": "integer"
  35501. },
  35502. "canbargain": {
  35503. "description": "是否可议价 - 0:不可 1:可",
  35504. "type": "integer"
  35505. },
  35506. "cancelqty": {
  35507. "description": "撤销数量",
  35508. "type": "number"
  35509. },
  35510. "canpart": {
  35511. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35512. "type": "integer"
  35513. },
  35514. "delistminqty": {
  35515. "description": "起摘数量",
  35516. "type": "integer"
  35517. },
  35518. "deliverygoodscode": {
  35519. "description": "品种代码",
  35520. "type": "string"
  35521. },
  35522. "deliverygoodsid": {
  35523. "description": "品种ID",
  35524. "type": "integer"
  35525. },
  35526. "deliverygoodsname": {
  35527. "description": "品种名称",
  35528. "type": "string"
  35529. },
  35530. "deliverymonth": {
  35531. "description": "交收月",
  35532. "type": "string"
  35533. },
  35534. "enddate": {
  35535. "description": "结束交易日(yyyymmdd)",
  35536. "type": "string"
  35537. },
  35538. "enumdicname": {
  35539. "description": "单位名称",
  35540. "type": "string"
  35541. },
  35542. "fixedprice": {
  35543. "description": "固定价格 - [挂牌]",
  35544. "type": "number"
  35545. },
  35546. "freezecharge": {
  35547. "description": "冻结手续费",
  35548. "type": "number"
  35549. },
  35550. "freezemargin": {
  35551. "description": "冻结保证金(保证金)",
  35552. "type": "number"
  35553. },
  35554. "futupricemove": {
  35555. "description": "期货升贴水",
  35556. "type": "number"
  35557. },
  35558. "futushow": {
  35559. "description": "期货合约/升贴水",
  35560. "type": "string"
  35561. },
  35562. "goodscode": {
  35563. "description": "期货合约",
  35564. "type": "string"
  35565. },
  35566. "goodsid": {
  35567. "description": "期货商品id",
  35568. "type": "integer"
  35569. },
  35570. "goodsname": {
  35571. "description": "商品名称",
  35572. "type": "string"
  35573. },
  35574. "haswr": {
  35575. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35576. "type": "integer"
  35577. },
  35578. "isspecified": {
  35579. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35580. "type": "integer"
  35581. },
  35582. "ladingbillid": {
  35583. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35584. "type": "string"
  35585. },
  35586. "marginvalue": {
  35587. "description": "保证金设置值(履约保证金)",
  35588. "type": "number"
  35589. },
  35590. "marketid": {
  35591. "description": "市场ID",
  35592. "type": "integer"
  35593. },
  35594. "matchusername": {
  35595. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35596. "type": "string"
  35597. },
  35598. "minivalue": {
  35599. "description": "现货商品最小变动值",
  35600. "type": "integer"
  35601. },
  35602. "optioncompare": {
  35603. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35604. "type": "string"
  35605. },
  35606. "orderqty": {
  35607. "description": "委托数量",
  35608. "type": "number"
  35609. },
  35610. "ordertime": {
  35611. "description": "委托时间(挂牌时间)",
  35612. "type": "string"
  35613. },
  35614. "performancetemplateid": {
  35615. "description": "履约模板id",
  35616. "type": "integer"
  35617. },
  35618. "pricemove": {
  35619. "description": "升贴水(浮动价时填写) - [挂牌]",
  35620. "type": "number"
  35621. },
  35622. "taname": {
  35623. "description": "交易用户名称(资金账号名称)",
  35624. "type": "string"
  35625. },
  35626. "tradedate": {
  35627. "description": "交易日(yyyyMMdd)",
  35628. "type": "string"
  35629. },
  35630. "tradeprice": {
  35631. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35632. "type": "number"
  35633. },
  35634. "tradeqty": {
  35635. "description": "成交数量",
  35636. "type": "number"
  35637. },
  35638. "userid": {
  35639. "description": "用户ID",
  35640. "type": "integer"
  35641. },
  35642. "validtime": {
  35643. "description": "挂牌有效期",
  35644. "type": "string"
  35645. },
  35646. "validtype": {
  35647. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35648. "type": "integer"
  35649. },
  35650. "warehouseid": {
  35651. "description": "仓库ID",
  35652. "type": "integer"
  35653. },
  35654. "warehousename": {
  35655. "description": "仓库名称",
  35656. "type": "string"
  35657. },
  35658. "wrfactortypeid": {
  35659. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35660. "type": "string"
  35661. },
  35662. "wrfactortypename": {
  35663. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35664. "type": "string"
  35665. },
  35666. "wrpricetype": {
  35667. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35668. "type": "integer"
  35669. },
  35670. "wrstandardcode": {
  35671. "description": "现货商品代码",
  35672. "type": "string"
  35673. },
  35674. "wrstandardid": {
  35675. "description": "现货商品ID",
  35676. "type": "integer"
  35677. },
  35678. "wrstandardname": {
  35679. "description": "商品名称",
  35680. "type": "string"
  35681. },
  35682. "wrtradeorderid": {
  35683. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35684. "type": "string"
  35685. },
  35686. "wrtradeorderstatus": {
  35687. "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:撤单解冻贷款失败",
  35688. "type": "integer"
  35689. },
  35690. "wrtradetype": {
  35691. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35692. "type": "integer"
  35693. },
  35694. "wrtypename": {
  35695. "description": "商品",
  35696. "type": "string"
  35697. }
  35698. }
  35699. },
  35700. "models.WrOrderQuote": {
  35701. "type": "object",
  35702. "properties": {
  35703. "bannerpicurl": {
  35704. "description": "Banner图",
  35705. "type": "string"
  35706. },
  35707. "buyprice": {
  35708. "description": "买价",
  35709. "type": "number"
  35710. },
  35711. "buypricemove": {
  35712. "description": "买升贴水(基差)",
  35713. "type": "number"
  35714. },
  35715. "buyqty": {
  35716. "description": "买量",
  35717. "type": "number"
  35718. },
  35719. "deliverygoodscode": {
  35720. "description": "品种代码",
  35721. "type": "string"
  35722. },
  35723. "deliverygoodsid": {
  35724. "description": "品种id",
  35725. "type": "integer"
  35726. },
  35727. "deliverygoodsname": {
  35728. "description": "品种名称",
  35729. "type": "string"
  35730. },
  35731. "deliverymonth": {
  35732. "description": "交收月",
  35733. "type": "string"
  35734. },
  35735. "enumdicname": {
  35736. "description": "单位名称",
  35737. "type": "string"
  35738. },
  35739. "goodscode": {
  35740. "description": "商品合约(浮动价列表才有)",
  35741. "type": "string"
  35742. },
  35743. "goodsid": {
  35744. "description": "商品id(浮动价列表才有)",
  35745. "type": "integer"
  35746. },
  35747. "minivalue": {
  35748. "description": "现货商品最小变动值",
  35749. "type": "integer"
  35750. },
  35751. "pictureurls": {
  35752. "description": "详情图片(逗号分隔)",
  35753. "type": "string"
  35754. },
  35755. "sellprice": {
  35756. "description": "卖价",
  35757. "type": "number"
  35758. },
  35759. "sellpricemove": {
  35760. "description": "卖升贴水(基差)",
  35761. "type": "number"
  35762. },
  35763. "sellqty": {
  35764. "description": "卖量",
  35765. "type": "number"
  35766. },
  35767. "thumurls": {
  35768. "description": "缩略图片(1:1)(逗号分隔)",
  35769. "type": "string"
  35770. },
  35771. "warehousecode": {
  35772. "description": "仓库代码",
  35773. "type": "string"
  35774. },
  35775. "warehouseid": {
  35776. "description": "仓库id",
  35777. "type": "integer"
  35778. },
  35779. "warehousename": {
  35780. "description": "仓库名称",
  35781. "type": "string"
  35782. },
  35783. "wrfactortypeid": {
  35784. "description": "仓单要素id",
  35785. "type": "string"
  35786. },
  35787. "wrfactortypename": {
  35788. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35789. "type": "string"
  35790. },
  35791. "wrgoodsname": {
  35792. "description": "商品(商品名称+仓库要素名称 拼接)",
  35793. "type": "string"
  35794. },
  35795. "wrstandardcode": {
  35796. "description": "商品代码",
  35797. "type": "string"
  35798. },
  35799. "wrstandardid": {
  35800. "description": "商品id",
  35801. "type": "integer"
  35802. },
  35803. "wrstandardname": {
  35804. "description": "商品名称",
  35805. "type": "string"
  35806. }
  35807. }
  35808. },
  35809. "models.WrOrderQuoteDetail": {
  35810. "type": "object",
  35811. "properties": {
  35812. "buyorsell": {
  35813. "description": "买卖 - 0:买 1:卖",
  35814. "type": "integer"
  35815. },
  35816. "delistminqty": {
  35817. "description": "起摘数量",
  35818. "type": "number"
  35819. },
  35820. "deliverymonth": {
  35821. "description": "交收月",
  35822. "type": "string"
  35823. },
  35824. "enumdicname": {
  35825. "description": "单位名称",
  35826. "type": "string"
  35827. },
  35828. "fixedprice": {
  35829. "description": "买(卖)价",
  35830. "type": "number"
  35831. },
  35832. "marketid": {
  35833. "description": "市场id",
  35834. "type": "integer"
  35835. },
  35836. "minivalue": {
  35837. "description": "现货商品最小变动值",
  35838. "type": "integer"
  35839. },
  35840. "orderqty": {
  35841. "description": "买(卖)量(=委托量-成交量)",
  35842. "type": "number"
  35843. },
  35844. "ordertime": {
  35845. "description": "委托时间",
  35846. "type": "string"
  35847. },
  35848. "pricemove": {
  35849. "description": "买(卖)升贴水- 基差",
  35850. "type": "number"
  35851. },
  35852. "userid": {
  35853. "description": "购买方(销售方)用户ID",
  35854. "type": "integer"
  35855. },
  35856. "username": {
  35857. "description": "购买方(销售方)",
  35858. "type": "string"
  35859. },
  35860. "wrtradeorderid": {
  35861. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35862. "type": "string"
  35863. }
  35864. }
  35865. },
  35866. "models.WrOutInApply": {
  35867. "type": "object",
  35868. "properties": {
  35869. "applyid": {
  35870. "description": "申请单id",
  35871. "type": "string"
  35872. },
  35873. "applystatus": {
  35874. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35875. "type": "integer"
  35876. },
  35877. "applytime": {
  35878. "description": "申请时间",
  35879. "type": "string"
  35880. },
  35881. "applytype": {
  35882. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35883. "type": "integer"
  35884. },
  35885. "bannerpicurl": {
  35886. "description": "Banner图",
  35887. "type": "string"
  35888. },
  35889. "begindate": {
  35890. "description": "开始交易日(yyyymmdd)",
  35891. "type": "string"
  35892. },
  35893. "deliverygoodscode": {
  35894. "description": "品种代码",
  35895. "type": "string"
  35896. },
  35897. "deliverygoodsid": {
  35898. "description": "品种ID",
  35899. "type": "integer"
  35900. },
  35901. "deliverygoodsname": {
  35902. "description": "品种名称",
  35903. "type": "string"
  35904. },
  35905. "enddate": {
  35906. "description": "结束交易日(yyyymmdd)",
  35907. "type": "string"
  35908. },
  35909. "enumdicname": {
  35910. "description": "单位名称",
  35911. "type": "string"
  35912. },
  35913. "expresscompany": {
  35914. "description": "物流公司",
  35915. "type": "string"
  35916. },
  35917. "expressnum": {
  35918. "description": "物流单号",
  35919. "type": "string"
  35920. },
  35921. "minivalue": {
  35922. "description": "现货商品最小变动值",
  35923. "type": "integer"
  35924. },
  35925. "optioncompare": {
  35926. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35927. "type": "string"
  35928. },
  35929. "qty": {
  35930. "description": "数量",
  35931. "type": "integer"
  35932. },
  35933. "userid": {
  35934. "description": "用户id",
  35935. "type": "integer"
  35936. },
  35937. "warehouseid": {
  35938. "description": "仓库ID",
  35939. "type": "integer"
  35940. },
  35941. "warehousename": {
  35942. "description": "仓库名称",
  35943. "type": "string"
  35944. },
  35945. "wrfactortypeid": {
  35946. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35947. "type": "string"
  35948. },
  35949. "wrfactortypename": {
  35950. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35951. "type": "string"
  35952. },
  35953. "wrstandardcode": {
  35954. "description": "现货商品代码",
  35955. "type": "string"
  35956. },
  35957. "wrstandardid": {
  35958. "description": "现货商品ID",
  35959. "type": "integer"
  35960. },
  35961. "wrstandardname": {
  35962. "description": "商品名称",
  35963. "type": "string"
  35964. },
  35965. "wrtypename": {
  35966. "description": "商品",
  35967. "type": "string"
  35968. }
  35969. }
  35970. },
  35971. "models.WrPerformancePlan": {
  35972. "type": "object",
  35973. "required": [
  35974. "userid"
  35975. ],
  35976. "properties": {
  35977. "activatemonth": {
  35978. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35979. "type": "string"
  35980. },
  35981. "amount": {
  35982. "description": "履约金额(总金额)",
  35983. "type": "number"
  35984. },
  35985. "begindate": {
  35986. "description": "开始交易日(yyyymmdd)",
  35987. "type": "string"
  35988. },
  35989. "buyaccountid": {
  35990. "description": "买方账号",
  35991. "type": "integer"
  35992. },
  35993. "buyerfreezeamount": {
  35994. "description": "履约冻结(买履约)",
  35995. "type": "number"
  35996. },
  35997. "buyerfreezeamountremain": {
  35998. "description": "履约冻结剩余(买履约)",
  35999. "type": "number"
  36000. },
  36001. "buyorsell": {
  36002. "description": "买卖方向 0-买 1-卖",
  36003. "type": "integer"
  36004. },
  36005. "buypaidamount": {
  36006. "description": "买方已冻/已扣金额 (已付金额)",
  36007. "type": "number"
  36008. },
  36009. "buyusername": {
  36010. "description": "买方名字",
  36011. "type": "string"
  36012. },
  36013. "contractid": {
  36014. "description": "合同ID",
  36015. "type": "integer"
  36016. },
  36017. "createtime": {
  36018. "description": "创建时间",
  36019. "type": "string"
  36020. },
  36021. "creatorid": {
  36022. "description": "创建人",
  36023. "type": "integer"
  36024. },
  36025. "curstepdeadline": {
  36026. "description": "当前步骤到期时间",
  36027. "type": "string"
  36028. },
  36029. "curstepid": {
  36030. "description": "当前步骤ID",
  36031. "type": "string"
  36032. },
  36033. "curstepname": {
  36034. "description": "当前步骤名称",
  36035. "type": "string"
  36036. },
  36037. "deliverygoodscode": {
  36038. "description": "品种代码",
  36039. "type": "string"
  36040. },
  36041. "deliverygoodsid": {
  36042. "description": "品种ID",
  36043. "type": "integer"
  36044. },
  36045. "deliverygoodsname": {
  36046. "description": "品种名称",
  36047. "type": "string"
  36048. },
  36049. "enddate": {
  36050. "description": "结束交易日(yyyymmdd)",
  36051. "type": "string"
  36052. },
  36053. "enumdicname": {
  36054. "description": "单位名称",
  36055. "type": "string"
  36056. },
  36057. "expressfee": {
  36058. "description": "运费",
  36059. "type": "number"
  36060. },
  36061. "expressfeeconfirmed": {
  36062. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  36063. "type": "integer"
  36064. },
  36065. "hasovershort": {
  36066. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  36067. "type": "integer"
  36068. },
  36069. "haswr": {
  36070. "description": "类型 0-仓单预售 1-仓单贸易",
  36071. "type": "integer"
  36072. },
  36073. "marketid": {
  36074. "description": "市场ID",
  36075. "type": "integer"
  36076. },
  36077. "middleaccountid": {
  36078. "description": "中间商资金账号ID",
  36079. "type": "integer"
  36080. },
  36081. "middleuserid": {
  36082. "description": "中间商用户ID",
  36083. "type": "integer"
  36084. },
  36085. "minivalue": {
  36086. "description": "现货商品最小变动值",
  36087. "type": "integer"
  36088. },
  36089. "optioncompare": {
  36090. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36091. "type": "string"
  36092. },
  36093. "overshortamount": {
  36094. "description": "溢短金额",
  36095. "type": "number"
  36096. },
  36097. "overshortqty": {
  36098. "description": "溢短数量",
  36099. "type": "number"
  36100. },
  36101. "paymenttype": {
  36102. "description": "付款方式 - 1:冻结 2:扣款",
  36103. "type": "integer"
  36104. },
  36105. "performanceplanid": {
  36106. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  36107. "type": "string"
  36108. },
  36109. "performancestatus": {
  36110. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  36111. "type": "integer"
  36112. },
  36113. "performancetype": {
  36114. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  36115. "type": "integer"
  36116. },
  36117. "qty": {
  36118. "description": "履约数量",
  36119. "type": "number"
  36120. },
  36121. "relatedorderid": {
  36122. "description": "关联单号(履约类型的关联单号)",
  36123. "type": "string"
  36124. },
  36125. "remark": {
  36126. "description": "备注",
  36127. "type": "string"
  36128. },
  36129. "sellaccountid": {
  36130. "description": "卖方账号",
  36131. "type": "integer"
  36132. },
  36133. "sellerfreezeamount": {
  36134. "description": "履约冻结(卖履约)",
  36135. "type": "number"
  36136. },
  36137. "sellerfreezeamountremain": {
  36138. "description": "履约冻结剩余(卖履约)",
  36139. "type": "number"
  36140. },
  36141. "sellreceivedamount": {
  36142. "description": "卖方已收金额",
  36143. "type": "number"
  36144. },
  36145. "sellusername": {
  36146. "description": "卖方名字",
  36147. "type": "string"
  36148. },
  36149. "shipremark": {
  36150. "description": "发货备注[物流单号]",
  36151. "type": "string"
  36152. },
  36153. "starttime": {
  36154. "description": "开始时间",
  36155. "type": "string"
  36156. },
  36157. "steptypeid": {
  36158. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36159. "type": "integer"
  36160. },
  36161. "typename": {
  36162. "description": "履约类型 名称",
  36163. "type": "string"
  36164. },
  36165. "unpaidamount": {
  36166. "description": "剩余款(待支付金额)",
  36167. "type": "number"
  36168. },
  36169. "userid": {
  36170. "description": "用户id",
  36171. "type": "integer"
  36172. },
  36173. "warehouseid": {
  36174. "description": "仓库ID",
  36175. "type": "integer"
  36176. },
  36177. "warehousename": {
  36178. "description": "仓库名称",
  36179. "type": "string"
  36180. },
  36181. "wrfactortypeid": {
  36182. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36183. "type": "string"
  36184. },
  36185. "wrfactortypename": {
  36186. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36187. "type": "string"
  36188. },
  36189. "wrstandardcode": {
  36190. "description": "现货商品代码",
  36191. "type": "string"
  36192. },
  36193. "wrstandardid": {
  36194. "description": "现货商品ID",
  36195. "type": "integer"
  36196. },
  36197. "wrstandardname": {
  36198. "description": "商品名称",
  36199. "type": "string"
  36200. },
  36201. "wrtransferuserid": {
  36202. "description": "仓单受让用户",
  36203. "type": "integer"
  36204. },
  36205. "wrtypename": {
  36206. "description": "商品",
  36207. "type": "string"
  36208. }
  36209. }
  36210. },
  36211. "models.WrPerformancePlanStep": {
  36212. "type": "object",
  36213. "properties": {
  36214. "delaydays": {
  36215. "description": "延期申请天数",
  36216. "type": "integer"
  36217. },
  36218. "deliverygoodscode": {
  36219. "description": "品种代码",
  36220. "type": "string"
  36221. },
  36222. "deliverygoodsid": {
  36223. "description": "品种ID",
  36224. "type": "integer"
  36225. },
  36226. "deliverygoodsname": {
  36227. "description": "品种名称",
  36228. "type": "string"
  36229. },
  36230. "endtime": {
  36231. "description": "结束日期",
  36232. "type": "string"
  36233. },
  36234. "enumdicname": {
  36235. "description": "单位名称",
  36236. "type": "string"
  36237. },
  36238. "executeside": {
  36239. "description": "步骤执行方 - 1:买方 2:卖方",
  36240. "type": "integer"
  36241. },
  36242. "handlestatus": {
  36243. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  36244. "type": "integer"
  36245. },
  36246. "isauto": {
  36247. "description": "是否自动 - 0:不自动 1:自动",
  36248. "type": "integer"
  36249. },
  36250. "islastreceivestep": {
  36251. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  36252. "type": "integer"
  36253. },
  36254. "minivalue": {
  36255. "description": "现货商品最小变动值",
  36256. "type": "integer"
  36257. },
  36258. "optioncompare": {
  36259. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36260. "type": "string"
  36261. },
  36262. "overdays": {
  36263. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  36264. "type": "integer"
  36265. },
  36266. "performancestepid": {
  36267. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  36268. "type": "string"
  36269. },
  36270. "planid": {
  36271. "description": "所属履约计划ID",
  36272. "type": "string"
  36273. },
  36274. "realamount": {
  36275. "description": "实际完成金额",
  36276. "type": "number"
  36277. },
  36278. "relatedorderid": {
  36279. "description": "关联单号",
  36280. "type": "string"
  36281. },
  36282. "remaindays": {
  36283. "description": "剩余天数",
  36284. "type": "integer"
  36285. },
  36286. "remark": {
  36287. "description": "错误备注",
  36288. "type": "string"
  36289. },
  36290. "starttime": {
  36291. "description": "开始日期",
  36292. "type": "string"
  36293. },
  36294. "stepamount": {
  36295. "description": "步骤金额",
  36296. "type": "number"
  36297. },
  36298. "stepdays": {
  36299. "description": "距离上一步天数(分钟)",
  36300. "type": "integer"
  36301. },
  36302. "stepindex": {
  36303. "description": "步骤序号",
  36304. "type": "integer"
  36305. },
  36306. "steplanchtype": {
  36307. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36308. "type": "integer"
  36309. },
  36310. "stepremark": {
  36311. "description": "步骤备注",
  36312. "type": "string"
  36313. },
  36314. "stepstatus": {
  36315. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36316. "type": "integer"
  36317. },
  36318. "steptypeid": {
  36319. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36320. "type": "integer"
  36321. },
  36322. "steptypename": {
  36323. "description": "步骤名称",
  36324. "type": "string"
  36325. },
  36326. "stepvalue": {
  36327. "description": "步骤值",
  36328. "type": "number"
  36329. },
  36330. "warehouseid": {
  36331. "description": "仓库ID",
  36332. "type": "integer"
  36333. },
  36334. "warehousename": {
  36335. "description": "仓库名称",
  36336. "type": "string"
  36337. },
  36338. "wrfactortypeid": {
  36339. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36340. "type": "string"
  36341. },
  36342. "wrfactortypename": {
  36343. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36344. "type": "string"
  36345. },
  36346. "wrstandardcode": {
  36347. "description": "现货商品代码",
  36348. "type": "string"
  36349. },
  36350. "wrstandardid": {
  36351. "description": "现货商品ID",
  36352. "type": "integer"
  36353. },
  36354. "wrstandardname": {
  36355. "description": "商品名称",
  36356. "type": "string"
  36357. },
  36358. "wrtypename": {
  36359. "description": "商品",
  36360. "type": "string"
  36361. }
  36362. }
  36363. },
  36364. "models.WrPerformanceStepType": {
  36365. "type": "object",
  36366. "properties": {
  36367. "canauto": {
  36368. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36369. "type": "integer"
  36370. },
  36371. "steptypeid": {
  36372. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36373. "type": "integer"
  36374. },
  36375. "steptypename": {
  36376. "description": "步骤类型名称",
  36377. "type": "string"
  36378. }
  36379. }
  36380. },
  36381. "models.WrPerformanceTemplateEx": {
  36382. "type": "object",
  36383. "properties": {
  36384. "autoid": {
  36385. "description": "AutoID 模板id",
  36386. "type": "integer"
  36387. },
  36388. "createtime": {
  36389. "description": "创建时间",
  36390. "type": "string"
  36391. },
  36392. "creatorid": {
  36393. "description": "创建人",
  36394. "type": "integer"
  36395. },
  36396. "lstStep": {
  36397. "description": "步骤信息列表",
  36398. "type": "array",
  36399. "items": {
  36400. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36401. }
  36402. },
  36403. "paymenttype": {
  36404. "description": "支付方式 - 1:冻结 2:扣款",
  36405. "type": "integer"
  36406. },
  36407. "takemode": {
  36408. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36409. "type": "integer"
  36410. },
  36411. "templatename": {
  36412. "description": "模板名称",
  36413. "type": "string"
  36414. },
  36415. "templatetype": {
  36416. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36417. "type": "integer"
  36418. },
  36419. "userid": {
  36420. "description": "所属用户",
  36421. "type": "integer"
  36422. }
  36423. }
  36424. },
  36425. "models.WrPosition": {
  36426. "type": "object",
  36427. "properties": {
  36428. "accountid": {
  36429. "description": "帐户ID",
  36430. "type": "integer"
  36431. },
  36432. "buyexcuteqty": {
  36433. "description": "采购履约中数量",
  36434. "type": "number"
  36435. },
  36436. "creditcurqty": {
  36437. "description": "授信当前数量(预售仓单:预售当前量)",
  36438. "type": "number"
  36439. },
  36440. "creditenableqty": {
  36441. "description": "授信可用数量(预售仓单: 可用数量)",
  36442. "type": "number"
  36443. },
  36444. "creditfreezeqty": {
  36445. "description": "授信冻结数量(预售仓单: 当前数量)",
  36446. "type": "number"
  36447. },
  36448. "credittotalqty": {
  36449. "description": "授信总数量(预售仓单:预售总量)",
  36450. "type": "number"
  36451. },
  36452. "credittradeqty": {
  36453. "description": "授信成交数量(预售仓单:成交总量)",
  36454. "type": "number"
  36455. },
  36456. "deliverygoodscode": {
  36457. "description": "品种代码",
  36458. "type": "string"
  36459. },
  36460. "deliverygoodsid": {
  36461. "description": "品种ID",
  36462. "type": "integer"
  36463. },
  36464. "deliverygoodsname": {
  36465. "description": "品种名称",
  36466. "type": "string"
  36467. },
  36468. "enalbeqty": {
  36469. "description": "可用数量",
  36470. "type": "number"
  36471. },
  36472. "enumdicname": {
  36473. "description": "单位名称",
  36474. "type": "string"
  36475. },
  36476. "freezeqty": {
  36477. "description": "总冻结数量",
  36478. "type": "number"
  36479. },
  36480. "haswr": {
  36481. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36482. "type": "integer"
  36483. },
  36484. "minivalue": {
  36485. "description": "现货商品最小变动值",
  36486. "type": "integer"
  36487. },
  36488. "modifytime": {
  36489. "description": "修改时间(过户时间)",
  36490. "type": "string"
  36491. },
  36492. "optioncompare": {
  36493. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36494. "type": "string"
  36495. },
  36496. "pledgeqty": {
  36497. "description": "质押数量",
  36498. "type": "number"
  36499. },
  36500. "querytype": {
  36501. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36502. "type": "integer"
  36503. },
  36504. "sellexcuteqty": {
  36505. "description": "销售履约中数量",
  36506. "type": "number"
  36507. },
  36508. "totalqty": {
  36509. "description": "总数量(库存数量)",
  36510. "type": "number"
  36511. },
  36512. "warehouseid": {
  36513. "description": "仓库ID",
  36514. "type": "integer"
  36515. },
  36516. "warehousename": {
  36517. "description": "仓库名称",
  36518. "type": "string"
  36519. },
  36520. "wrfactortypeid": {
  36521. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36522. "type": "string"
  36523. },
  36524. "wrfactortypename": {
  36525. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36526. "type": "string"
  36527. },
  36528. "wrpositionid": {
  36529. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36530. "type": "string"
  36531. },
  36532. "wrpositionno": {
  36533. "description": "仓单编号",
  36534. "type": "string"
  36535. },
  36536. "wrstandardcode": {
  36537. "description": "现货商品代码",
  36538. "type": "string"
  36539. },
  36540. "wrstandardid": {
  36541. "description": "现货商品ID",
  36542. "type": "integer"
  36543. },
  36544. "wrstandardname": {
  36545. "description": "商品名称",
  36546. "type": "string"
  36547. },
  36548. "wrtypename": {
  36549. "description": "商品",
  36550. "type": "string"
  36551. },
  36552. "wruserid": {
  36553. "description": "持有人ID",
  36554. "type": "integer"
  36555. }
  36556. }
  36557. },
  36558. "models.WrPreSaleInfo": {
  36559. "type": "object",
  36560. "properties": {
  36561. "bannerpicurl": {
  36562. "description": "Banner图",
  36563. "type": "string"
  36564. },
  36565. "baseqty": {
  36566. "description": "中签基数",
  36567. "type": "number"
  36568. },
  36569. "createtime": {
  36570. "description": "创建时间",
  36571. "type": "string"
  36572. },
  36573. "deliverygoodsid": {
  36574. "description": "现货品种ID",
  36575. "type": "integer"
  36576. },
  36577. "enddate": {
  36578. "description": "预售结束日期",
  36579. "type": "string"
  36580. },
  36581. "enumdicname": {
  36582. "description": "单位名称",
  36583. "type": "string"
  36584. },
  36585. "lotteryflag": {
  36586. "description": "摇号标识 - 0:未摇号 1:已摇号",
  36587. "type": "integer"
  36588. },
  36589. "lotteryqty": {
  36590. "description": "摇号总量",
  36591. "type": "number"
  36592. },
  36593. "luckyqty": {
  36594. "description": "已中签量",
  36595. "type": "number"
  36596. },
  36597. "marketid": {
  36598. "description": "市场ID",
  36599. "type": "integer"
  36600. },
  36601. "maxbuyqty": {
  36602. "description": "单人最大申购量",
  36603. "type": "number"
  36604. },
  36605. "maxluckyqty": {
  36606. "description": "单人最大中签量",
  36607. "type": "number"
  36608. },
  36609. "pictureurls": {
  36610. "description": "详情图片(逗号分隔)",
  36611. "type": "string"
  36612. },
  36613. "placeqty": {
  36614. "description": "已配售量",
  36615. "type": "number"
  36616. },
  36617. "presaleapplyid": {
  36618. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  36619. "type": "string",
  36620. "example": "0"
  36621. },
  36622. "presaleqty": {
  36623. "description": "预售总量",
  36624. "type": "number"
  36625. },
  36626. "presalestatus": {
  36627. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  36628. "type": "integer"
  36629. },
  36630. "sellaccountid": {
  36631. "description": "发行方资金账户ID",
  36632. "type": "integer"
  36633. },
  36634. "selluserid": {
  36635. "description": "发行方用户ID",
  36636. "type": "integer"
  36637. },
  36638. "sellwrtradeorderid": {
  36639. "description": "发行方卖委托单ID",
  36640. "type": "string"
  36641. },
  36642. "startdate": {
  36643. "description": "预售开始日期",
  36644. "type": "string"
  36645. },
  36646. "takestartdate": {
  36647. "description": "提货开始日期",
  36648. "type": "string"
  36649. },
  36650. "thumurls": {
  36651. "description": "缩略图片(1:1)(逗号分隔)",
  36652. "type": "string"
  36653. },
  36654. "tradedate": {
  36655. "description": "交易日",
  36656. "type": "string"
  36657. },
  36658. "unitid": {
  36659. "description": "单位ID",
  36660. "type": "integer"
  36661. },
  36662. "unitprice": {
  36663. "description": "商品单价",
  36664. "type": "number"
  36665. },
  36666. "username": {
  36667. "description": "发行方用户名称",
  36668. "type": "string"
  36669. },
  36670. "warehousecode": {
  36671. "description": "仓库代码(仓库简称)",
  36672. "type": "string"
  36673. },
  36674. "warehouseid": {
  36675. "description": "仓库ID",
  36676. "type": "integer"
  36677. },
  36678. "warehousename": {
  36679. "description": "仓库名称",
  36680. "type": "string"
  36681. },
  36682. "wrfactortypeid": {
  36683. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  36684. "type": "string",
  36685. "example": "0"
  36686. },
  36687. "wrstandardid": {
  36688. "description": "现货商品ID",
  36689. "type": "integer"
  36690. },
  36691. "wrstandardname": {
  36692. "description": "现货商品名称",
  36693. "type": "string"
  36694. }
  36695. }
  36696. },
  36697. "models.WrQuoteOrderMyq": {
  36698. "type": "object",
  36699. "properties": {
  36700. "buyorsell": {
  36701. "description": "买卖 - 0:买 1:卖",
  36702. "type": "integer"
  36703. },
  36704. "canbargain": {
  36705. "description": "是否可议价 - 0:不可 1:可",
  36706. "type": "integer"
  36707. },
  36708. "canpart": {
  36709. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36710. "type": "integer"
  36711. },
  36712. "delistminqty": {
  36713. "description": "起摘数量",
  36714. "type": "number"
  36715. },
  36716. "deliverygoodscode": {
  36717. "description": "品种代码",
  36718. "type": "string"
  36719. },
  36720. "deliverygoodsid": {
  36721. "description": "品种ID",
  36722. "type": "integer"
  36723. },
  36724. "deliverygoodsname": {
  36725. "description": "品种名称",
  36726. "type": "string"
  36727. },
  36728. "deliverymonth": {
  36729. "description": "交收月",
  36730. "type": "string"
  36731. },
  36732. "enumdicname": {
  36733. "description": "单位名称",
  36734. "type": "string"
  36735. },
  36736. "fixedprice": {
  36737. "description": "买(卖)价",
  36738. "type": "number"
  36739. },
  36740. "goodscode": {
  36741. "description": "商品合约代码",
  36742. "type": "string"
  36743. },
  36744. "marginflag": {
  36745. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36746. "type": "integer"
  36747. },
  36748. "marginvalue": {
  36749. "description": "保证金设置值",
  36750. "type": "number"
  36751. },
  36752. "minivalue": {
  36753. "description": "现货商品最小变动值",
  36754. "type": "integer"
  36755. },
  36756. "orderqty": {
  36757. "description": "买(卖)量(=委托量-成交量)",
  36758. "type": "number"
  36759. },
  36760. "ordertime": {
  36761. "description": "委托时间",
  36762. "type": "string"
  36763. },
  36764. "performancetemplateid": {
  36765. "description": "履约模板id",
  36766. "type": "integer"
  36767. },
  36768. "pricemove": {
  36769. "description": "买(卖)升贴水- 基差",
  36770. "type": "number"
  36771. },
  36772. "templatename": {
  36773. "description": "履约模板名称",
  36774. "type": "string"
  36775. },
  36776. "userid": {
  36777. "description": "购买方(销售方)用户ID",
  36778. "type": "integer"
  36779. },
  36780. "username": {
  36781. "description": "购买方(销售方)",
  36782. "type": "string"
  36783. },
  36784. "validtime": {
  36785. "description": "有效期限",
  36786. "type": "string"
  36787. },
  36788. "validtype": {
  36789. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36790. "type": "integer"
  36791. },
  36792. "warehousename": {
  36793. "description": "仓库名称",
  36794. "type": "string"
  36795. },
  36796. "wrfactortypeid": {
  36797. "description": "仓单要素id",
  36798. "type": "string"
  36799. },
  36800. "wrstandardcode": {
  36801. "description": "现货商品代码",
  36802. "type": "string"
  36803. },
  36804. "wrstandardid": {
  36805. "description": "现货商品ID",
  36806. "type": "integer"
  36807. },
  36808. "wrstandardname": {
  36809. "description": "商品名称",
  36810. "type": "string"
  36811. },
  36812. "wrtradeorderid": {
  36813. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36814. "type": "string"
  36815. },
  36816. "wrtypename": {
  36817. "description": "商品",
  36818. "type": "string"
  36819. }
  36820. }
  36821. },
  36822. "models.WrReckonSpotGoodsTradeSum": {
  36823. "type": "object",
  36824. "properties": {
  36825. "begindate": {
  36826. "description": "开始日期(结果含开始日期) yyyymmdd",
  36827. "type": "string"
  36828. },
  36829. "enddate": {
  36830. "description": "结束日期(结果含结束日期) yyyymmdd",
  36831. "type": "string"
  36832. },
  36833. "marketid": {
  36834. "description": "市场ID",
  36835. "type": "integer"
  36836. },
  36837. "price": {
  36838. "description": "价格 = 日成交金额 / 日成交数量",
  36839. "type": "string"
  36840. },
  36841. "reckondate": {
  36842. "description": "日期 格式 yyyymmdd",
  36843. "type": "string"
  36844. },
  36845. "tradeamount": {
  36846. "description": "日成交金额(当日单方向成交金额)",
  36847. "type": "number"
  36848. },
  36849. "tradeqty": {
  36850. "description": "日成交数量(当日单方向成交数量)",
  36851. "type": "number"
  36852. },
  36853. "wrstandardid": {
  36854. "description": "现货商品ID",
  36855. "type": "integer"
  36856. }
  36857. }
  36858. },
  36859. "models.WrScfContract": {
  36860. "type": "object",
  36861. "properties": {
  36862. "borroweruserid": {
  36863. "description": "借款用户ID",
  36864. "type": "integer"
  36865. },
  36866. "buybackwrpositionqty": {
  36867. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36868. "type": "number"
  36869. },
  36870. "closeinterest": {
  36871. "description": "已结利息 -\u003e 已结费用",
  36872. "type": "number"
  36873. },
  36874. "currisklevel": {
  36875. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36876. "type": "integer"
  36877. },
  36878. "deadline": {
  36879. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36880. "type": "string"
  36881. },
  36882. "deliverygoodscode": {
  36883. "description": "品种代码",
  36884. "type": "string"
  36885. },
  36886. "deliverygoodsid": {
  36887. "description": "品种ID",
  36888. "type": "integer"
  36889. },
  36890. "deliverygoodsname": {
  36891. "description": "品种名称",
  36892. "type": "string"
  36893. },
  36894. "enumdicname": {
  36895. "description": "单位名称",
  36896. "type": "string"
  36897. },
  36898. "financingdays": {
  36899. "description": "天数(天)",
  36900. "type": "integer"
  36901. },
  36902. "initmargin": {
  36903. "description": "保证金 - [仓单回购]",
  36904. "type": "number"
  36905. },
  36906. "interestamount": {
  36907. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36908. "type": "number"
  36909. },
  36910. "interestdebt": {
  36911. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36912. "type": "number"
  36913. },
  36914. "interestminlen": {
  36915. "description": "最小起息天数",
  36916. "type": "integer"
  36917. },
  36918. "interestrate": {
  36919. "description": "利率",
  36920. "type": "number"
  36921. },
  36922. "interestratemode": {
  36923. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36924. "type": "integer"
  36925. },
  36926. "interestsettlemode": {
  36927. "description": "结息方式 - 1:按日结息 3:按月结息",
  36928. "type": "integer"
  36929. },
  36930. "interestsettlevalue": {
  36931. "description": "结息方式值",
  36932. "type": "integer"
  36933. },
  36934. "isautoloan": {
  36935. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36936. "type": "integer"
  36937. },
  36938. "lastcloseinterestday": {
  36939. "description": "最近结息日(yyyyMMdd)",
  36940. "type": "string"
  36941. },
  36942. "lenderamount": {
  36943. "description": "贷款金额 -\u003e 借款金额",
  36944. "type": "number"
  36945. },
  36946. "lenderuserid": {
  36947. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36948. "type": "integer"
  36949. },
  36950. "lenderusername": {
  36951. "description": "融出方",
  36952. "type": "string"
  36953. },
  36954. "marginratio": {
  36955. "description": "保证金比率质押率 - [仓单质押]",
  36956. "type": "number"
  36957. },
  36958. "marketid": {
  36959. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36960. "type": "integer"
  36961. },
  36962. "minivalue": {
  36963. "description": "现货商品最小变动值",
  36964. "type": "integer"
  36965. },
  36966. "optioncompare": {
  36967. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36968. "type": "string"
  36969. },
  36970. "pricemove": {
  36971. "description": "估值升贴水值",
  36972. "type": "number"
  36973. },
  36974. "productdetailid": {
  36975. "description": "产品组合ID",
  36976. "type": "integer"
  36977. },
  36978. "productid": {
  36979. "description": "金融产品ID",
  36980. "type": "integer"
  36981. },
  36982. "productname": {
  36983. "description": "产品名称",
  36984. "type": "string"
  36985. },
  36986. "remainamount": {
  36987. "description": "合同剩余金额 -\u003e 剩余金额",
  36988. "type": "number"
  36989. },
  36990. "remainwrpositionqty": {
  36991. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36992. "type": "number"
  36993. },
  36994. "remark": {
  36995. "description": "备注",
  36996. "type": "string"
  36997. },
  36998. "scfcontractid": {
  36999. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  37000. "type": "string"
  37001. },
  37002. "scfcontractstatus": {
  37003. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  37004. "type": "integer"
  37005. },
  37006. "scfcontracttype": {
  37007. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  37008. "type": "integer"
  37009. },
  37010. "startinterestday": {
  37011. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  37012. "type": "string"
  37013. },
  37014. "totalinterest": {
  37015. "description": "已计利息 -\u003e 已计费用",
  37016. "type": "number"
  37017. },
  37018. "unpaidinterest": {
  37019. "description": "未结费用",
  37020. "type": "number"
  37021. },
  37022. "updatetime": {
  37023. "description": "更新时间",
  37024. "type": "string"
  37025. },
  37026. "warehouseid": {
  37027. "description": "仓库ID",
  37028. "type": "integer"
  37029. },
  37030. "warehousename": {
  37031. "description": "仓库名称",
  37032. "type": "string"
  37033. },
  37034. "wrfactortypeid": {
  37035. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37036. "type": "string"
  37037. },
  37038. "wrfactortypename": {
  37039. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37040. "type": "string"
  37041. },
  37042. "wrqty": {
  37043. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  37044. "type": "number"
  37045. },
  37046. "wrstandardcode": {
  37047. "description": "现货商品代码",
  37048. "type": "string"
  37049. },
  37050. "wrstandardid": {
  37051. "description": "现货商品ID",
  37052. "type": "integer"
  37053. },
  37054. "wrstandardname": {
  37055. "description": "商品名称",
  37056. "type": "string"
  37057. },
  37058. "wrtypename": {
  37059. "description": "商品",
  37060. "type": "string"
  37061. }
  37062. }
  37063. },
  37064. "models.WrScfContractInterest": {
  37065. "type": "object",
  37066. "properties": {
  37067. "closeinterest": {
  37068. "description": "已结利息",
  37069. "type": "number"
  37070. },
  37071. "closeintereststatus": {
  37072. "description": "结息状态 - 1:未结 2:已结",
  37073. "type": "integer"
  37074. },
  37075. "closetime": {
  37076. "description": "结息时间",
  37077. "type": "string"
  37078. },
  37079. "closetradedate": {
  37080. "description": "结息交易日",
  37081. "type": "string"
  37082. },
  37083. "creatorid": {
  37084. "description": "操作人ID",
  37085. "type": "integer"
  37086. },
  37087. "dayrate": {
  37088. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  37089. "type": "number"
  37090. },
  37091. "interest": {
  37092. "description": "利息",
  37093. "type": "number"
  37094. },
  37095. "interestamount": {
  37096. "description": "计息金额",
  37097. "type": "number"
  37098. },
  37099. "interestday": {
  37100. "description": "计息日(yyyyMMdd)",
  37101. "type": "string"
  37102. },
  37103. "scfcontractid": {
  37104. "description": "SCF合同ID",
  37105. "type": "string"
  37106. },
  37107. "scfcontractinterestid": {
  37108. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  37109. "type": "integer"
  37110. },
  37111. "updatetime": {
  37112. "description": "更新时间",
  37113. "type": "string"
  37114. }
  37115. }
  37116. },
  37117. "models.WrSearchUser": {
  37118. "type": "object",
  37119. "required": [
  37120. "username"
  37121. ],
  37122. "properties": {
  37123. "userid": {
  37124. "description": "用户ID",
  37125. "type": "integer"
  37126. },
  37127. "username": {
  37128. "description": "用户名称(已脱敏)",
  37129. "type": "string"
  37130. },
  37131. "username2": {
  37132. "description": "用户名称(未脱敏)",
  37133. "type": "string"
  37134. }
  37135. }
  37136. },
  37137. "models.WrSiteColumnDetail": {
  37138. "type": "object",
  37139. "properties": {
  37140. "brief": {
  37141. "description": "简介",
  37142. "type": "string"
  37143. },
  37144. "context": {
  37145. "description": "内容",
  37146. "type": "string"
  37147. },
  37148. "coverimage": {
  37149. "description": "封面图片",
  37150. "type": "string"
  37151. },
  37152. "creaedate": {
  37153. "description": "创建时间",
  37154. "type": "string"
  37155. },
  37156. "id": {
  37157. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  37158. "type": "integer"
  37159. },
  37160. "istop": {
  37161. "description": "是否置顶 - 0:不置 1:置顶",
  37162. "type": "integer"
  37163. },
  37164. "publishdate": {
  37165. "description": "发布日期",
  37166. "type": "string"
  37167. },
  37168. "title": {
  37169. "description": "标题",
  37170. "type": "string"
  37171. },
  37172. "updatedate": {
  37173. "description": "修改时间",
  37174. "type": "string"
  37175. }
  37176. }
  37177. },
  37178. "models.WrSpecialMatchOrder": {
  37179. "type": "object",
  37180. "properties": {
  37181. "amount": {
  37182. "description": "金额 = 数量 * 价格",
  37183. "type": "number"
  37184. },
  37185. "buyorsell": {
  37186. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37187. "type": "integer"
  37188. },
  37189. "cancelqty": {
  37190. "description": "撤销数量",
  37191. "type": "number"
  37192. },
  37193. "deliverygoodscode": {
  37194. "description": "品种代码",
  37195. "type": "string"
  37196. },
  37197. "deliverygoodsid": {
  37198. "description": "品种ID",
  37199. "type": "integer"
  37200. },
  37201. "deliverygoodsname": {
  37202. "description": "品种名称",
  37203. "type": "string"
  37204. },
  37205. "enumdicname": {
  37206. "description": "单位名称",
  37207. "type": "string"
  37208. },
  37209. "fixedprice": {
  37210. "description": "固定价格(价格)",
  37211. "type": "number"
  37212. },
  37213. "haswr": {
  37214. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37215. "type": "integer"
  37216. },
  37217. "isspecified": {
  37218. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  37219. "type": "integer"
  37220. },
  37221. "marketid": {
  37222. "description": "市场ID",
  37223. "type": "integer"
  37224. },
  37225. "matchuserid": {
  37226. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  37227. "type": "integer"
  37228. },
  37229. "matchusername": {
  37230. "description": "指定方",
  37231. "type": "string"
  37232. },
  37233. "minivalue": {
  37234. "description": "现货商品最小变动值",
  37235. "type": "integer"
  37236. },
  37237. "optioncompare": {
  37238. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37239. "type": "string"
  37240. },
  37241. "orderqty": {
  37242. "description": "委托数量",
  37243. "type": "number"
  37244. },
  37245. "ordertime": {
  37246. "description": "委托时间",
  37247. "type": "string"
  37248. },
  37249. "pricemove": {
  37250. "description": "升贴水(浮动价时填写) - [挂牌]",
  37251. "type": "number"
  37252. },
  37253. "tradedate": {
  37254. "description": "交易日(yyyyMMdd)",
  37255. "type": "string"
  37256. },
  37257. "tradeprice": {
  37258. "description": "成交价格",
  37259. "type": "number"
  37260. },
  37261. "tradeqty": {
  37262. "description": "成交数量",
  37263. "type": "number"
  37264. },
  37265. "userid": {
  37266. "description": "用户ID",
  37267. "type": "integer"
  37268. },
  37269. "username": {
  37270. "description": "发起方",
  37271. "type": "string"
  37272. },
  37273. "warehouseid": {
  37274. "description": "仓库ID",
  37275. "type": "integer"
  37276. },
  37277. "warehousename": {
  37278. "description": "仓库名称",
  37279. "type": "string"
  37280. },
  37281. "wrfactortypeid": {
  37282. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37283. "type": "string"
  37284. },
  37285. "wrfactortypename": {
  37286. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37287. "type": "string"
  37288. },
  37289. "wrpricetype": {
  37290. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  37291. "type": "integer"
  37292. },
  37293. "wrstandardcode": {
  37294. "description": "现货商品代码",
  37295. "type": "string"
  37296. },
  37297. "wrstandardid": {
  37298. "description": "现货商品ID",
  37299. "type": "integer"
  37300. },
  37301. "wrstandardname": {
  37302. "description": "商品名称",
  37303. "type": "string"
  37304. },
  37305. "wrtradeorderid": {
  37306. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37307. "type": "string"
  37308. },
  37309. "wrtradeorderstatus": {
  37310. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  37311. "type": "integer"
  37312. },
  37313. "wrtradetype": {
  37314. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37315. "type": "integer"
  37316. },
  37317. "wrtypename": {
  37318. "description": "商品",
  37319. "type": "string"
  37320. }
  37321. }
  37322. },
  37323. "models.WrSpotGroupTradeSum": {
  37324. "type": "object",
  37325. "properties": {
  37326. "deliverygoodscode": {
  37327. "description": "现货品种代码",
  37328. "type": "string"
  37329. },
  37330. "deliverygoodsid": {
  37331. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37332. "type": "integer"
  37333. },
  37334. "deliverygoodsname": {
  37335. "description": "现货品种名称",
  37336. "type": "string"
  37337. },
  37338. "lastavgprice": {
  37339. "description": "上上个交易日价格(前2天价格)",
  37340. "type": "string"
  37341. },
  37342. "lastreckondate": {
  37343. "description": "上上个交易日(前2天交易日)",
  37344. "type": "string"
  37345. },
  37346. "reckondate": {
  37347. "description": "上个交易日(前1天交易日)",
  37348. "type": "string"
  37349. },
  37350. "todayavgprice": {
  37351. "description": "上个交易日价格(前1天价格)",
  37352. "type": "string"
  37353. },
  37354. "updown": {
  37355. "description": "涨跌",
  37356. "type": "string"
  37357. },
  37358. "updownratio": {
  37359. "description": "涨幅(已格式化, 直接显示即可)",
  37360. "type": "string"
  37361. }
  37362. }
  37363. },
  37364. "models.WrSpotGroupTradeSumDetail": {
  37365. "type": "object",
  37366. "properties": {
  37367. "deliverygoodsid": {
  37368. "description": "现货商品id",
  37369. "type": "integer"
  37370. },
  37371. "price": {
  37372. "description": "价格",
  37373. "type": "number"
  37374. },
  37375. "reckondate": {
  37376. "description": "日期(yyymmdd, 如:20211031)",
  37377. "type": "string"
  37378. }
  37379. }
  37380. },
  37381. "models.WrSpotGroupTradeSumEx": {
  37382. "type": "object",
  37383. "properties": {
  37384. "lst": {
  37385. "description": "指数列表",
  37386. "type": "array",
  37387. "items": {
  37388. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  37389. }
  37390. },
  37391. "prereckondate": {
  37392. "description": "上上个交易日(yyymmdd)",
  37393. "type": "string"
  37394. },
  37395. "reckondate": {
  37396. "description": "上个交易日(yyyymmdd)",
  37397. "type": "string"
  37398. }
  37399. }
  37400. },
  37401. "models.WrStandardFactoryItem": {
  37402. "type": "object",
  37403. "properties": {
  37404. "dgfactoryitemid": {
  37405. "description": "选择项id",
  37406. "type": "integer"
  37407. },
  37408. "dgfactoryitemvalue": {
  37409. "description": "要素项值",
  37410. "type": "string"
  37411. },
  37412. "warehouseid": {
  37413. "description": "仓库id",
  37414. "type": "integer"
  37415. }
  37416. }
  37417. },
  37418. "models.WrStandardFactoryItemEx": {
  37419. "type": "object",
  37420. "properties": {
  37421. "dgfactoryitemtypeid": {
  37422. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  37423. "type": "integer"
  37424. },
  37425. "itemlst": {
  37426. "description": "要素项列表",
  37427. "type": "array",
  37428. "items": {
  37429. "$ref": "#/definitions/models.WrStandardFactoryItem"
  37430. }
  37431. },
  37432. "itemtypename": {
  37433. "description": "要素项类型名称",
  37434. "type": "string"
  37435. },
  37436. "wrstandardid": {
  37437. "description": "品类",
  37438. "type": "integer"
  37439. }
  37440. }
  37441. },
  37442. "models.WrTradeDetail": {
  37443. "type": "object",
  37444. "properties": {
  37445. "accountid": {
  37446. "description": "资金账号",
  37447. "type": "integer"
  37448. },
  37449. "bannerpicurl": {
  37450. "description": "Banner图",
  37451. "type": "string"
  37452. },
  37453. "begindate": {
  37454. "description": "开始交易日(yyyymmdd)",
  37455. "type": "string"
  37456. },
  37457. "buyorsell": {
  37458. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37459. "type": "integer"
  37460. },
  37461. "chargevalue": {
  37462. "description": "手续费",
  37463. "type": "number"
  37464. },
  37465. "deliverygoodscode": {
  37466. "description": "品种代码",
  37467. "type": "string"
  37468. },
  37469. "deliverygoodsid": {
  37470. "description": "品种ID",
  37471. "type": "integer"
  37472. },
  37473. "deliverygoodsname": {
  37474. "description": "品种名称",
  37475. "type": "string"
  37476. },
  37477. "deliverymonth": {
  37478. "description": "交收月",
  37479. "type": "string"
  37480. },
  37481. "enddate": {
  37482. "description": "结束交易日(yyyymmdd)",
  37483. "type": "string"
  37484. },
  37485. "enumdicname": {
  37486. "description": "单位名称",
  37487. "type": "string"
  37488. },
  37489. "haswr": {
  37490. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37491. "type": "integer"
  37492. },
  37493. "marketid": {
  37494. "description": "市场ID",
  37495. "type": "integer"
  37496. },
  37497. "matchaccountid": {
  37498. "description": "对手账号",
  37499. "type": "integer"
  37500. },
  37501. "matchusername": {
  37502. "description": "对手方",
  37503. "type": "string"
  37504. },
  37505. "minivalue": {
  37506. "description": "现货商品最小变动值",
  37507. "type": "integer"
  37508. },
  37509. "optioncompare": {
  37510. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37511. "type": "string"
  37512. },
  37513. "tradedate": {
  37514. "description": "交易日(yyyyMMdd)",
  37515. "type": "string"
  37516. },
  37517. "tradeprice": {
  37518. "description": "成交价格",
  37519. "type": "number"
  37520. },
  37521. "tradeqty": {
  37522. "description": "成交数量",
  37523. "type": "number"
  37524. },
  37525. "tradetime": {
  37526. "description": "成交时间",
  37527. "type": "string"
  37528. },
  37529. "userid": {
  37530. "description": "用户ID",
  37531. "type": "integer"
  37532. },
  37533. "warehouseid": {
  37534. "description": "仓库ID",
  37535. "type": "integer"
  37536. },
  37537. "warehousename": {
  37538. "description": "仓库名称",
  37539. "type": "string"
  37540. },
  37541. "wrfactortypeid": {
  37542. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37543. "type": "string"
  37544. },
  37545. "wrfactortypename": {
  37546. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37547. "type": "string"
  37548. },
  37549. "wrstandardcode": {
  37550. "description": "现货商品代码",
  37551. "type": "string"
  37552. },
  37553. "wrstandardid": {
  37554. "description": "现货商品ID",
  37555. "type": "integer"
  37556. },
  37557. "wrstandardname": {
  37558. "description": "商品名称",
  37559. "type": "string"
  37560. },
  37561. "wrtradedetailid": {
  37562. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  37563. "type": "string"
  37564. },
  37565. "wrtradetype": {
  37566. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37567. "type": "integer"
  37568. },
  37569. "wrtypename": {
  37570. "description": "商品",
  37571. "type": "string"
  37572. }
  37573. }
  37574. },
  37575. "models.WrTradeOrderDetail": {
  37576. "type": "object",
  37577. "properties": {
  37578. "buyorsell": {
  37579. "description": "买卖方向 0-买 1-卖",
  37580. "type": "integer"
  37581. },
  37582. "goodsid": {
  37583. "description": "商品id",
  37584. "type": "integer"
  37585. },
  37586. "orderid": {
  37587. "description": "委托单号",
  37588. "type": "string"
  37589. },
  37590. "orderprice": {
  37591. "description": "委托价格",
  37592. "type": "number"
  37593. },
  37594. "orderqty": {
  37595. "description": "委托数量",
  37596. "type": "integer"
  37597. },
  37598. "userid": {
  37599. "description": "用户id",
  37600. "type": "integer"
  37601. },
  37602. "username": {
  37603. "description": "用户名称(已脱敏)",
  37604. "type": "string"
  37605. }
  37606. }
  37607. },
  37608. "models.WrTypeItem": {
  37609. "type": "object",
  37610. "properties": {
  37611. "name": {
  37612. "description": "名称",
  37613. "type": "string"
  37614. },
  37615. "value": {
  37616. "description": "值",
  37617. "type": "string"
  37618. }
  37619. }
  37620. },
  37621. "models.WrUserFriend": {
  37622. "type": "object",
  37623. "properties": {
  37624. "friendname": {
  37625. "description": "朋友名称(已脱敏)",
  37626. "type": "string"
  37627. },
  37628. "frienduserid": {
  37629. "description": "朋友id",
  37630. "type": "integer"
  37631. },
  37632. "isfriend": {
  37633. "description": "是否好友 0-不是 1-是",
  37634. "type": "integer"
  37635. },
  37636. "userid": {
  37637. "description": "用户id",
  37638. "type": "integer"
  37639. }
  37640. }
  37641. },
  37642. "models.WrUserReceiptInfo": {
  37643. "type": "object",
  37644. "properties": {
  37645. "address": {
  37646. "description": "地址[发票类型:企业]",
  37647. "type": "string"
  37648. },
  37649. "autoid": {
  37650. "description": "AutoID",
  37651. "type": "integer"
  37652. },
  37653. "contactinfo": {
  37654. "description": "联系方式",
  37655. "type": "string"
  37656. },
  37657. "idnum": {
  37658. "description": "身份证号码[发票类型:个人]",
  37659. "type": "string"
  37660. },
  37661. "isdefault": {
  37662. "description": "是否默认地址 - 0:否 1:是",
  37663. "type": "integer"
  37664. },
  37665. "receiptaccount": {
  37666. "description": "发票帐号[发票类型:企业]",
  37667. "type": "string"
  37668. },
  37669. "receiptbank": {
  37670. "description": "发票开户行[发票类型:企业]",
  37671. "type": "string"
  37672. },
  37673. "receipttype": {
  37674. "description": "发票类型 - 1:个人 2:企业",
  37675. "type": "integer"
  37676. },
  37677. "taxpayerid": {
  37678. "description": "纳税人识别号",
  37679. "type": "string"
  37680. },
  37681. "userid": {
  37682. "description": "用户ID",
  37683. "type": "integer"
  37684. },
  37685. "username": {
  37686. "description": "户名(个人姓名或企业名称)",
  37687. "type": "string"
  37688. }
  37689. }
  37690. },
  37691. "models.XHBRAND": {
  37692. "type": "object",
  37693. "properties": {
  37694. "brandid": {
  37695. "description": "品牌id",
  37696. "type": "integer"
  37697. },
  37698. "brandname": {
  37699. "description": "品牌名称",
  37700. "type": "string"
  37701. },
  37702. "isvalid": {
  37703. "description": "是否有效 0-无效 1-有效",
  37704. "type": "integer"
  37705. }
  37706. }
  37707. },
  37708. "models.XHDeliveryGoods": {
  37709. "type": "object",
  37710. "properties": {
  37711. "areauserid": {
  37712. "description": "所属机构",
  37713. "type": "integer"
  37714. },
  37715. "bdlst": {
  37716. "description": "品牌列表",
  37717. "type": "array",
  37718. "items": {
  37719. "$ref": "#/definitions/models.XHBRAND"
  37720. }
  37721. },
  37722. "deliverygoodscode": {
  37723. "description": "现货品种代码",
  37724. "type": "string"
  37725. },
  37726. "deliverygoodsid": {
  37727. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37728. "type": "integer"
  37729. },
  37730. "deliverygoodsname": {
  37731. "description": "现货品种名称",
  37732. "type": "string"
  37733. },
  37734. "dgstatus": {
  37735. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37736. "type": "integer"
  37737. },
  37738. "filterSubEmpty": {
  37739. "description": "过滤下级为空的",
  37740. "type": "integer"
  37741. },
  37742. "isvalid": {
  37743. "description": "是否有效 - 0:无效 1:有效",
  37744. "type": "integer"
  37745. },
  37746. "remark": {
  37747. "description": "备注",
  37748. "type": "string"
  37749. },
  37750. "unitid": {
  37751. "description": "单位id(目前看,数据库中是空值)",
  37752. "type": "integer"
  37753. },
  37754. "wdlst": {
  37755. "description": "品类(现货商品)列表",
  37756. "type": "array",
  37757. "items": {
  37758. "$ref": "#/definitions/models.XHWrstandard"
  37759. }
  37760. }
  37761. }
  37762. },
  37763. "models.XHMiddleGoods": {
  37764. "type": "object",
  37765. "properties": {
  37766. "GPLST": {
  37767. "description": "期货品种列表",
  37768. "type": "array",
  37769. "items": {
  37770. "$ref": "#/definitions/models.TBGoodsGroup"
  37771. }
  37772. },
  37773. "convertratio": {
  37774. "description": "拆算系数",
  37775. "type": "number"
  37776. },
  37777. "costratio": {
  37778. "description": "成本权重",
  37779. "type": "number"
  37780. },
  37781. "deliverygoodsid": {
  37782. "description": "现货商品id",
  37783. "type": "integer"
  37784. },
  37785. "enumdicname": {
  37786. "description": "单位名称",
  37787. "type": "string"
  37788. },
  37789. "middlegoodscode": {
  37790. "description": "套保品种代码",
  37791. "type": "string"
  37792. },
  37793. "middlegoodsid": {
  37794. "description": "套保品种id",
  37795. "type": "integer"
  37796. },
  37797. "middlegoodsname": {
  37798. "description": "套保品种名称",
  37799. "type": "string"
  37800. },
  37801. "unitid": {
  37802. "description": "单位id",
  37803. "type": "integer"
  37804. }
  37805. }
  37806. },
  37807. "models.XHWrstandard": {
  37808. "type": "object",
  37809. "properties": {
  37810. "bannerpicurl": {
  37811. "description": "banner图",
  37812. "type": "string"
  37813. },
  37814. "deliverygoodsid": {
  37815. "description": "品种ID",
  37816. "type": "integer"
  37817. },
  37818. "enumdicname": {
  37819. "description": "单位名称",
  37820. "type": "string"
  37821. },
  37822. "mglst": {
  37823. "description": "套保品列表",
  37824. "type": "array",
  37825. "items": {
  37826. "$ref": "#/definitions/models.XHMiddleGoods"
  37827. }
  37828. },
  37829. "pictureurls": {
  37830. "description": "详情图片(逗号分隔)",
  37831. "type": "string"
  37832. },
  37833. "thumurls": {
  37834. "description": "缩略图片(1:1)(逗号分隔)",
  37835. "type": "string"
  37836. },
  37837. "unitid": {
  37838. "description": "单位id",
  37839. "type": "integer"
  37840. },
  37841. "vatrate": {
  37842. "description": "增值税率",
  37843. "type": "number"
  37844. },
  37845. "wrstandardcode": {
  37846. "description": "现货商品代码",
  37847. "type": "string"
  37848. },
  37849. "wrstandardid": {
  37850. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37851. "type": "integer"
  37852. },
  37853. "wrstandardname": {
  37854. "description": "现货商品名称",
  37855. "type": "string"
  37856. }
  37857. }
  37858. },
  37859. "order.QueryHisTradeDetailRsp": {
  37860. "type": "object",
  37861. "required": [
  37862. "accountid",
  37863. "buyorsell",
  37864. "goodsid",
  37865. "histradedate",
  37866. "marketid",
  37867. "memberuserid",
  37868. "orderid",
  37869. "tradeamount",
  37870. "tradedate",
  37871. "tradeid",
  37872. "tradeprice",
  37873. "tradeqty",
  37874. "tradetime"
  37875. ],
  37876. "properties": {
  37877. "accountid": {
  37878. "description": "账户ID[报价币种]",
  37879. "type": "integer"
  37880. },
  37881. "advanceratio": {
  37882. "description": "首付比率",
  37883. "type": "number"
  37884. },
  37885. "buildtype": {
  37886. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37887. "type": "integer"
  37888. },
  37889. "buyorsell": {
  37890. "description": "方向 - 0:买 1:卖",
  37891. "type": "integer"
  37892. },
  37893. "charge": {
  37894. "description": "手续费",
  37895. "type": "number"
  37896. },
  37897. "closecharge": {
  37898. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37899. "type": "number"
  37900. },
  37901. "closeexchagechargevalue": {
  37902. "description": "平仓交易所手续费设置值",
  37903. "type": "number"
  37904. },
  37905. "closefeealgorithm": {
  37906. "description": "平仓手续费收取方式 1:比率 2:固定",
  37907. "type": "integer"
  37908. },
  37909. "closememberchargevalue": {
  37910. "description": "平仓会员手续费设置值",
  37911. "type": "number"
  37912. },
  37913. "closepl": {
  37914. "description": "平仓盈亏",
  37915. "type": "number"
  37916. },
  37917. "closepl2": {
  37918. "description": "平仓盈亏[逐笔]",
  37919. "type": "number"
  37920. },
  37921. "closeqty": {
  37922. "description": "平仓数量(先建后平操作 需要记录)",
  37923. "type": "number"
  37924. },
  37925. "creditamount": {
  37926. "description": "授信金额",
  37927. "type": "number"
  37928. },
  37929. "decimalplace": {
  37930. "description": "商品报价小数位",
  37931. "type": "integer"
  37932. },
  37933. "enumdicname": {
  37934. "description": "单位名称",
  37935. "type": "string"
  37936. },
  37937. "gcaccountid": {
  37938. "description": "账户ID[合约币种]",
  37939. "type": "integer"
  37940. },
  37941. "goodscode": {
  37942. "description": "商品代码",
  37943. "type": "string"
  37944. },
  37945. "goodsid": {
  37946. "description": "商品ID",
  37947. "type": "integer"
  37948. },
  37949. "goodsname": {
  37950. "description": "商品名称",
  37951. "type": "string"
  37952. },
  37953. "goodunitid": {
  37954. "description": "商品单位id",
  37955. "type": "integer"
  37956. },
  37957. "histradedate": {
  37958. "description": "历史交易日",
  37959. "type": "string"
  37960. },
  37961. "intclosepl": {
  37962. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37963. "type": "integer"
  37964. },
  37965. "isconfirmexercise": {
  37966. "description": "是否确认行权- 0:否 1:是",
  37967. "type": "integer"
  37968. },
  37969. "ismain": {
  37970. "description": "是否主单 - 0:不是 1:是",
  37971. "type": "integer"
  37972. },
  37973. "ispreexercise": {
  37974. "description": "是否预申报- 0:否 1:是",
  37975. "type": "integer"
  37976. },
  37977. "isreckoned": {
  37978. "description": "是否结算 - 0:未结算 1:已结算",
  37979. "type": "integer"
  37980. },
  37981. "isvaliddata": {
  37982. "description": "是否有效 - 0:无效 1:有效",
  37983. "type": "integer"
  37984. },
  37985. "listingselecttype": {
  37986. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37987. "type": "integer"
  37988. },
  37989. "marketid": {
  37990. "description": "市场ID",
  37991. "type": "integer"
  37992. },
  37993. "marketname": {
  37994. "description": "市场名称",
  37995. "type": "string"
  37996. },
  37997. "matchaccountid": {
  37998. "description": "对手账号id",
  37999. "type": "integer"
  38000. },
  38001. "memberuserid": {
  38002. "description": "会员id 个人投资者 需要填写",
  38003. "type": "integer"
  38004. },
  38005. "opencharge": {
  38006. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38007. "type": "number"
  38008. },
  38009. "openexchagechargevalue": {
  38010. "description": "建仓交易所手续费设置值",
  38011. "type": "number"
  38012. },
  38013. "openfeealgorithm": {
  38014. "description": "建仓手续费收取方式 1:比率 2:固定",
  38015. "type": "integer"
  38016. },
  38017. "openmemberchargevalue": {
  38018. "description": "建仓会员手续费设置值",
  38019. "type": "number"
  38020. },
  38021. "openqty": {
  38022. "description": "开仓数量(先建后平操作 需要记录)",
  38023. "type": "number"
  38024. },
  38025. "optiontype": {
  38026. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38027. "type": "integer"
  38028. },
  38029. "orderid": {
  38030. "description": "委托单号",
  38031. "type": "string"
  38032. },
  38033. "payamount": {
  38034. "description": "支付金额(付款金额)",
  38035. "type": "number"
  38036. },
  38037. "performanceplanid": {
  38038. "description": "履约计划ID[期权]",
  38039. "type": "integer"
  38040. },
  38041. "performancestatus": {
  38042. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38043. "type": "integer"
  38044. },
  38045. "preexerciseprice": {
  38046. "description": "预申报价格",
  38047. "type": "number"
  38048. },
  38049. "premium": {
  38050. "description": "权利金 - [持仓单的权利金]",
  38051. "type": "number"
  38052. },
  38053. "qtydecimalplace": {
  38054. "description": "商品报价小数位",
  38055. "type": "integer"
  38056. },
  38057. "recvamount": {
  38058. "description": "到账金额 = 成交金额 - 手续费",
  38059. "type": "number"
  38060. },
  38061. "relatedouttradeid": {
  38062. "description": "关联外部成交单ID",
  38063. "type": "integer"
  38064. },
  38065. "status": {
  38066. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38067. "type": "integer"
  38068. },
  38069. "totalamount": {
  38070. "description": "订单总额 = 成交金额 + 手续费",
  38071. "type": "number"
  38072. },
  38073. "tradeamount": {
  38074. "description": "成交金额[账户币种,用于所有权]",
  38075. "type": "number"
  38076. },
  38077. "tradedate": {
  38078. "description": "交易日(yyyyMMdd)",
  38079. "type": "string"
  38080. },
  38081. "tradeid": {
  38082. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38083. "type": "string"
  38084. },
  38085. "trademode": {
  38086. "description": "交易模式",
  38087. "type": "integer"
  38088. },
  38089. "tradeprice": {
  38090. "description": "成交价格",
  38091. "type": "number"
  38092. },
  38093. "tradeproperty": {
  38094. "description": "交易属性",
  38095. "type": "integer"
  38096. },
  38097. "tradeqty": {
  38098. "description": "成交数量",
  38099. "type": "number"
  38100. },
  38101. "tradetime": {
  38102. "description": "成交时间",
  38103. "type": "string"
  38104. },
  38105. "tradetype": {
  38106. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38107. "type": "integer"
  38108. }
  38109. }
  38110. },
  38111. "order.QueryHisTradeOrderDetailRsp": {
  38112. "type": "object",
  38113. "required": [
  38114. "accountid",
  38115. "buildtype",
  38116. "buyorsell",
  38117. "goodsid",
  38118. "histradedate",
  38119. "marketid",
  38120. "memberuserid",
  38121. "operatetype",
  38122. "orderid",
  38123. "orderqty",
  38124. "ordertime",
  38125. "pricemode",
  38126. "tradedate",
  38127. "validtype"
  38128. ],
  38129. "properties": {
  38130. "accountid": {
  38131. "description": "账户ID[报价币种]",
  38132. "type": "integer"
  38133. },
  38134. "buildtype": {
  38135. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38136. "type": "integer"
  38137. },
  38138. "buyorsell": {
  38139. "description": "买卖 - 0:买 1:卖",
  38140. "type": "integer"
  38141. },
  38142. "cancelorderid": {
  38143. "description": "撤单单号(撤单时填写)",
  38144. "type": "string"
  38145. },
  38146. "cancelqty": {
  38147. "description": "撤单数量",
  38148. "type": "number"
  38149. },
  38150. "clientordertime": {
  38151. "description": "客户端委托时间",
  38152. "type": "string"
  38153. },
  38154. "clientticket": {
  38155. "description": "客户端流水号",
  38156. "type": "string"
  38157. },
  38158. "clienttype": {
  38159. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38160. "type": "integer"
  38161. },
  38162. "closeexchagechargevalue": {
  38163. "description": "平仓交易所手续费设置值",
  38164. "type": "number"
  38165. },
  38166. "closefeealgorithm": {
  38167. "description": "平仓手续费收取方式 1:比率 2:固定",
  38168. "type": "integer"
  38169. },
  38170. "closefreezecharge": {
  38171. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38172. "type": "number"
  38173. },
  38174. "closememberchargevalue": {
  38175. "description": "平仓会员手续费设置值",
  38176. "type": "number"
  38177. },
  38178. "closeqty": {
  38179. "description": "平仓数量(先建后平操作 需要记录)",
  38180. "type": "number"
  38181. },
  38182. "closetradeqty": {
  38183. "description": "平仓成交数量(先建后平操作,需要记录)",
  38184. "type": "number"
  38185. },
  38186. "closeunfreezecharge": {
  38187. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38188. "type": "number"
  38189. },
  38190. "decimalplace": {
  38191. "description": "商品报价小数位",
  38192. "type": "integer"
  38193. },
  38194. "delistingtype": {
  38195. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38196. "type": "integer"
  38197. },
  38198. "enumdicname": {
  38199. "description": "单位名称",
  38200. "type": "string"
  38201. },
  38202. "freezecharge": {
  38203. "description": "冻结手续费",
  38204. "type": "number"
  38205. },
  38206. "freezemargin": {
  38207. "description": "冻结保证金(冻结交易金额)",
  38208. "type": "number"
  38209. },
  38210. "gcaccountid": {
  38211. "description": "账户ID[合约币种]",
  38212. "type": "integer"
  38213. },
  38214. "goodscode": {
  38215. "description": "商品代码",
  38216. "type": "string"
  38217. },
  38218. "goodsid": {
  38219. "description": "商品ID",
  38220. "type": "integer"
  38221. },
  38222. "goodsname": {
  38223. "description": "商品名称",
  38224. "type": "string"
  38225. },
  38226. "goodunitid": {
  38227. "description": "商品单位id",
  38228. "type": "integer"
  38229. },
  38230. "histradedate": {
  38231. "description": "历史交易日",
  38232. "type": "string"
  38233. },
  38234. "isconfirmexercise": {
  38235. "description": "是否确认行权- 0:否 1:是",
  38236. "type": "integer"
  38237. },
  38238. "ispreexercise": {
  38239. "description": "是否预申报- 0:否 1:是",
  38240. "type": "integer"
  38241. },
  38242. "isvaliddata": {
  38243. "description": "是否有效 - 0:无效 1:有效",
  38244. "type": "integer"
  38245. },
  38246. "listingselecttype": {
  38247. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38248. "type": "integer"
  38249. },
  38250. "marginalgorithm": {
  38251. "description": "保证金收取方式 1:比率 2:固定",
  38252. "type": "integer"
  38253. },
  38254. "marginvalue": {
  38255. "description": "即市保证金设置值",
  38256. "type": "number"
  38257. },
  38258. "marketid": {
  38259. "description": "市场ID",
  38260. "type": "integer"
  38261. },
  38262. "marketmaxsub": {
  38263. "description": "市价最大偏移范围",
  38264. "type": "number"
  38265. },
  38266. "marketname": {
  38267. "description": "市场名称",
  38268. "type": "string"
  38269. },
  38270. "memberuserid": {
  38271. "description": "所属会员UserID",
  38272. "type": "integer"
  38273. },
  38274. "openexchagechargevalue": {
  38275. "description": "建仓交易所手续费设置值",
  38276. "type": "number"
  38277. },
  38278. "openfeealgorithm": {
  38279. "description": "建仓手续费收取方式 1:比率 2:固定",
  38280. "type": "integer"
  38281. },
  38282. "openfreezecharge": {
  38283. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38284. "type": "number"
  38285. },
  38286. "openmemberchargevalue": {
  38287. "description": "建仓会员手续费设置值",
  38288. "type": "number"
  38289. },
  38290. "openqty": {
  38291. "description": "开仓数量(先建后平操作,需要记录)",
  38292. "type": "number"
  38293. },
  38294. "opentradeqty": {
  38295. "description": "开仓成交数量(先建后平操作,需要记录)",
  38296. "type": "number"
  38297. },
  38298. "openunfreezecharge": {
  38299. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38300. "type": "number"
  38301. },
  38302. "operatetype": {
  38303. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38304. "type": "integer"
  38305. },
  38306. "operatorid": {
  38307. "description": "登录账号(LoginID)",
  38308. "type": "integer"
  38309. },
  38310. "optiontype": {
  38311. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38312. "type": "integer"
  38313. },
  38314. "orderid": {
  38315. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38316. "type": "string"
  38317. },
  38318. "orderprice": {
  38319. "description": "委托价格",
  38320. "type": "number"
  38321. },
  38322. "orderqty": {
  38323. "description": "委托数量",
  38324. "type": "number"
  38325. },
  38326. "ordersrc": {
  38327. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38328. "type": "integer"
  38329. },
  38330. "orderstatus": {
  38331. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38332. "type": "integer"
  38333. },
  38334. "ordertime": {
  38335. "description": "委托时间",
  38336. "type": "string"
  38337. },
  38338. "preexerciseprice": {
  38339. "description": "预申报价格",
  38340. "type": "number"
  38341. },
  38342. "premium": {
  38343. "description": "权利金",
  38344. "type": "number"
  38345. },
  38346. "preorderid": {
  38347. "description": "关联预埋单号(止盈止损单时填写)",
  38348. "type": "string"
  38349. },
  38350. "pricemode": {
  38351. "description": "取价方式 - 1:市价 2: 限价",
  38352. "type": "integer"
  38353. },
  38354. "qtydecimalplace": {
  38355. "description": "成交量小数位",
  38356. "type": "integer"
  38357. },
  38358. "quoteid": {
  38359. "description": "报价单ID",
  38360. "type": "integer"
  38361. },
  38362. "relatedid": {
  38363. "description": "关联单号(交割单)",
  38364. "type": "string"
  38365. },
  38366. "retcode": {
  38367. "description": "错误代码",
  38368. "type": "integer"
  38369. },
  38370. "sessionid": {
  38371. "description": "会话ID",
  38372. "type": "integer"
  38373. },
  38374. "tradedate": {
  38375. "description": "交易日(yyyyMMdd)",
  38376. "type": "string"
  38377. },
  38378. "trademode": {
  38379. "description": "交易模式",
  38380. "type": "integer"
  38381. },
  38382. "tradeproperty": {
  38383. "description": "交易属性",
  38384. "type": "integer"
  38385. },
  38386. "tradeqty": {
  38387. "description": "成交数量",
  38388. "type": "number"
  38389. },
  38390. "unfreezecharge": {
  38391. "description": "解冻手续费",
  38392. "type": "number"
  38393. },
  38394. "unfreezemargin": {
  38395. "description": "解冻保证金",
  38396. "type": "number"
  38397. },
  38398. "updatetime": {
  38399. "description": "更新时间",
  38400. "type": "string"
  38401. },
  38402. "uuid": {
  38403. "description": "发起端唯一id",
  38404. "type": "string"
  38405. },
  38406. "validtime": {
  38407. "description": "有效期限",
  38408. "type": "string"
  38409. },
  38410. "validtype": {
  38411. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38412. "type": "integer"
  38413. },
  38414. "volumetype": {
  38415. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38416. "type": "integer"
  38417. }
  38418. }
  38419. },
  38420. "order.QueryTradeDetailRsp": {
  38421. "type": "object",
  38422. "required": [
  38423. "accountid",
  38424. "buyorsell",
  38425. "goodsid",
  38426. "marketid",
  38427. "memberuserid",
  38428. "orderid",
  38429. "tradeamount",
  38430. "tradedate",
  38431. "tradeid",
  38432. "tradeprice",
  38433. "tradeqty",
  38434. "tradetime"
  38435. ],
  38436. "properties": {
  38437. "accountid": {
  38438. "description": "账户ID[报价币种]",
  38439. "type": "integer"
  38440. },
  38441. "advanceratio": {
  38442. "description": "首付比率",
  38443. "type": "number"
  38444. },
  38445. "buildtype": {
  38446. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  38447. "type": "integer"
  38448. },
  38449. "buyorsell": {
  38450. "description": "方向 - 0:买 1:卖",
  38451. "type": "integer"
  38452. },
  38453. "charge": {
  38454. "description": "手续费",
  38455. "type": "number"
  38456. },
  38457. "closecharge": {
  38458. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38459. "type": "number"
  38460. },
  38461. "closeexchagechargevalue": {
  38462. "description": "平仓交易所手续费设置值",
  38463. "type": "number"
  38464. },
  38465. "closefeealgorithm": {
  38466. "description": "平仓手续费收取方式 1:比率 2:固定",
  38467. "type": "integer"
  38468. },
  38469. "closememberchargevalue": {
  38470. "description": "平仓会员手续费设置值",
  38471. "type": "number"
  38472. },
  38473. "closepl": {
  38474. "description": "平仓盈亏",
  38475. "type": "number"
  38476. },
  38477. "closepl2": {
  38478. "description": "平仓盈亏[逐笔]",
  38479. "type": "number"
  38480. },
  38481. "closeqty": {
  38482. "description": "平仓数量(先建后平操作 需要记录)",
  38483. "type": "number"
  38484. },
  38485. "creditamount": {
  38486. "description": "授信金额",
  38487. "type": "number"
  38488. },
  38489. "decimalplace": {
  38490. "description": "商品报价小数位",
  38491. "type": "integer"
  38492. },
  38493. "enumdicname": {
  38494. "description": "单位名称",
  38495. "type": "string"
  38496. },
  38497. "gcaccountid": {
  38498. "description": "账户ID[合约币种]",
  38499. "type": "integer"
  38500. },
  38501. "goodscode": {
  38502. "description": "商品代码",
  38503. "type": "string"
  38504. },
  38505. "goodsid": {
  38506. "description": "商品ID",
  38507. "type": "integer"
  38508. },
  38509. "goodsname": {
  38510. "description": "商品名称",
  38511. "type": "string"
  38512. },
  38513. "goodunitid": {
  38514. "description": "商品单位id",
  38515. "type": "integer"
  38516. },
  38517. "intclosepl": {
  38518. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38519. "type": "integer"
  38520. },
  38521. "isconfirmexercise": {
  38522. "description": "是否确认行权- 0:否 1:是",
  38523. "type": "integer"
  38524. },
  38525. "ismain": {
  38526. "description": "是否主单 - 0:不是 1:是",
  38527. "type": "integer"
  38528. },
  38529. "ispreexercise": {
  38530. "description": "是否预申报- 0:否 1:是",
  38531. "type": "integer"
  38532. },
  38533. "isreckoned": {
  38534. "description": "是否结算 - 0:未结算 1:已结算",
  38535. "type": "integer"
  38536. },
  38537. "listingselecttype": {
  38538. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38539. "type": "integer"
  38540. },
  38541. "marketid": {
  38542. "description": "市场ID",
  38543. "type": "integer"
  38544. },
  38545. "marketname": {
  38546. "description": "市场名称",
  38547. "type": "string"
  38548. },
  38549. "matchaccountid": {
  38550. "description": "对手账号id",
  38551. "type": "integer"
  38552. },
  38553. "memberuserid": {
  38554. "description": "会员id 个人投资者 需要填写",
  38555. "type": "integer"
  38556. },
  38557. "opencharge": {
  38558. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38559. "type": "number"
  38560. },
  38561. "openexchagechargevalue": {
  38562. "description": "建仓交易所手续费设置值",
  38563. "type": "number"
  38564. },
  38565. "openfeealgorithm": {
  38566. "description": "建仓手续费收取方式 1:比率 2:固定",
  38567. "type": "integer"
  38568. },
  38569. "openmemberchargevalue": {
  38570. "description": "建仓会员手续费设置值",
  38571. "type": "number"
  38572. },
  38573. "openqty": {
  38574. "description": "开仓数量(先建后平操作 需要记录)",
  38575. "type": "number"
  38576. },
  38577. "optiontype": {
  38578. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38579. "type": "integer"
  38580. },
  38581. "orderid": {
  38582. "description": "委托单号",
  38583. "type": "string"
  38584. },
  38585. "payamount": {
  38586. "description": "支付金额(付款金额)",
  38587. "type": "number"
  38588. },
  38589. "performanceplanid": {
  38590. "description": "履约计划ID[期权]",
  38591. "type": "integer"
  38592. },
  38593. "performancestatus": {
  38594. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38595. "type": "integer"
  38596. },
  38597. "preexerciseprice": {
  38598. "description": "预申报价格",
  38599. "type": "number"
  38600. },
  38601. "premium": {
  38602. "description": "权利金 - [持仓单的权利金]",
  38603. "type": "number"
  38604. },
  38605. "qtydecimalplace": {
  38606. "description": "商品报价小数位",
  38607. "type": "integer"
  38608. },
  38609. "recvamount": {
  38610. "description": "到账金额 = 成交金额 - 手续费",
  38611. "type": "number"
  38612. },
  38613. "relatedouttradeid": {
  38614. "description": "关联外部成交单ID",
  38615. "type": "integer"
  38616. },
  38617. "status": {
  38618. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38619. "type": "integer"
  38620. },
  38621. "totalamount": {
  38622. "description": "订单总额 = 成交金额 + 手续费",
  38623. "type": "number"
  38624. },
  38625. "tradeamount": {
  38626. "description": "成交金额[账户币种,用于所有权]",
  38627. "type": "number"
  38628. },
  38629. "tradedate": {
  38630. "description": "交易日(yyyyMMdd)",
  38631. "type": "string"
  38632. },
  38633. "tradeid": {
  38634. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38635. "type": "string"
  38636. },
  38637. "trademode": {
  38638. "description": "交易模式",
  38639. "type": "integer"
  38640. },
  38641. "tradeprice": {
  38642. "description": "成交价格",
  38643. "type": "number"
  38644. },
  38645. "tradeproperty": {
  38646. "description": "交易属性",
  38647. "type": "integer"
  38648. },
  38649. "tradeqty": {
  38650. "description": "成交数量",
  38651. "type": "number"
  38652. },
  38653. "tradetime": {
  38654. "description": "成交时间",
  38655. "type": "string"
  38656. },
  38657. "tradetype": {
  38658. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38659. "type": "integer"
  38660. }
  38661. }
  38662. },
  38663. "order.QueryTradeOrderDetailRsp": {
  38664. "type": "object",
  38665. "required": [
  38666. "accountid",
  38667. "buildtype",
  38668. "buyorsell",
  38669. "goodsid",
  38670. "marketid",
  38671. "operatetype",
  38672. "orderqty",
  38673. "ordertime",
  38674. "pricemode",
  38675. "tradedate",
  38676. "validtype"
  38677. ],
  38678. "properties": {
  38679. "accountid": {
  38680. "description": "账户ID[报价币种]",
  38681. "type": "integer"
  38682. },
  38683. "buildtype": {
  38684. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38685. "type": "integer"
  38686. },
  38687. "buyorsell": {
  38688. "description": "买卖 - 0:买 1:卖",
  38689. "type": "integer"
  38690. },
  38691. "cancelorderid": {
  38692. "description": "撤单单号(撤单时填写)",
  38693. "type": "string"
  38694. },
  38695. "cancelqty": {
  38696. "description": "撤单数量",
  38697. "type": "number"
  38698. },
  38699. "clienttype": {
  38700. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38701. "type": "integer"
  38702. },
  38703. "closefreezecharge": {
  38704. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38705. "type": "number"
  38706. },
  38707. "closeqty": {
  38708. "description": "平仓数量(先建后平操作 需要记录)",
  38709. "type": "number"
  38710. },
  38711. "closetradeqty": {
  38712. "description": "平仓成交数量(先建后平操作,需要记录)",
  38713. "type": "number"
  38714. },
  38715. "closeunfreezecharge": {
  38716. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38717. "type": "number"
  38718. },
  38719. "decimalplace": {
  38720. "description": "商品报价小数位",
  38721. "type": "integer"
  38722. },
  38723. "delistingtype": {
  38724. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38725. "type": "integer"
  38726. },
  38727. "enableqty": {
  38728. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38729. "type": "number"
  38730. },
  38731. "enumdicname": {
  38732. "description": "单位名称",
  38733. "type": "string"
  38734. },
  38735. "freezecharge": {
  38736. "description": "冻结手续费",
  38737. "type": "number"
  38738. },
  38739. "freezemargin": {
  38740. "description": "冻结保证金(冻结交易金额)",
  38741. "type": "number"
  38742. },
  38743. "goodscode": {
  38744. "description": "商品代码",
  38745. "type": "string"
  38746. },
  38747. "goodsid": {
  38748. "description": "商品ID",
  38749. "type": "integer"
  38750. },
  38751. "goodsname": {
  38752. "description": "商品名称",
  38753. "type": "string"
  38754. },
  38755. "goodunitid": {
  38756. "description": "商品单位id",
  38757. "type": "integer"
  38758. },
  38759. "listingselecttype": {
  38760. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38761. "type": "integer"
  38762. },
  38763. "marketid": {
  38764. "description": "市场ID",
  38765. "type": "integer"
  38766. },
  38767. "marketname": {
  38768. "description": "市场名称",
  38769. "type": "string"
  38770. },
  38771. "openfreezecharge": {
  38772. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38773. "type": "number"
  38774. },
  38775. "openqty": {
  38776. "description": "开仓数量(先建后平操作,需要记录)",
  38777. "type": "number"
  38778. },
  38779. "opentradeqty": {
  38780. "description": "开仓成交数量(先建后平操作,需要记录)",
  38781. "type": "number"
  38782. },
  38783. "openunfreezecharge": {
  38784. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38785. "type": "number"
  38786. },
  38787. "operatetype": {
  38788. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38789. "type": "integer"
  38790. },
  38791. "operatorid": {
  38792. "description": "登录账号(LoginID)",
  38793. "type": "integer"
  38794. },
  38795. "orderid": {
  38796. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38797. "type": "string"
  38798. },
  38799. "orderprice": {
  38800. "description": "委托价格",
  38801. "type": "number"
  38802. },
  38803. "orderqty": {
  38804. "description": "委托数量",
  38805. "type": "number"
  38806. },
  38807. "ordersrc": {
  38808. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38809. "type": "integer"
  38810. },
  38811. "orderstatus": {
  38812. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38813. "type": "integer"
  38814. },
  38815. "ordertime": {
  38816. "description": "委托时间",
  38817. "type": "string"
  38818. },
  38819. "preorderid": {
  38820. "description": "关联预埋单号(止盈止损单时填写)",
  38821. "type": "string"
  38822. },
  38823. "pricemode": {
  38824. "description": "取价方式 - 1:市价 2: 限价",
  38825. "type": "integer"
  38826. },
  38827. "qtydecimalplace": {
  38828. "description": "商品报价小数位",
  38829. "type": "integer"
  38830. },
  38831. "relatedid": {
  38832. "description": "关联单号(交割单)",
  38833. "type": "string"
  38834. },
  38835. "tradedate": {
  38836. "description": "交易日(yyyyMMdd)",
  38837. "type": "string"
  38838. },
  38839. "trademode": {
  38840. "description": "交易模式",
  38841. "type": "integer"
  38842. },
  38843. "tradeqty": {
  38844. "description": "成交数量",
  38845. "type": "number"
  38846. },
  38847. "unfreezecharge": {
  38848. "description": "解冻手续费",
  38849. "type": "number"
  38850. },
  38851. "unfreezemargin": {
  38852. "description": "解冻保证金",
  38853. "type": "number"
  38854. },
  38855. "validtime": {
  38856. "description": "有效期限",
  38857. "type": "string"
  38858. },
  38859. "validtype": {
  38860. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38861. "type": "integer"
  38862. },
  38863. "volumetype": {
  38864. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38865. "type": "integer"
  38866. }
  38867. }
  38868. },
  38869. "order.QueryTradePositionRsp": {
  38870. "type": "object",
  38871. "required": [
  38872. "goodsid"
  38873. ],
  38874. "properties": {
  38875. "accountid": {
  38876. "description": "资金账户",
  38877. "type": "integer"
  38878. },
  38879. "agreeunit": {
  38880. "description": "合约单位",
  38881. "type": "number"
  38882. },
  38883. "averageprice": {
  38884. "description": "持仓均价",
  38885. "type": "number"
  38886. },
  38887. "buyorsell": {
  38888. "description": "方向 - 0:买 1:卖",
  38889. "type": "integer"
  38890. },
  38891. "closetotalqty": {
  38892. "description": "平仓总数量",
  38893. "type": "number"
  38894. },
  38895. "curholderamount": {
  38896. "description": "当前持仓总金额[商品币种]",
  38897. "type": "number"
  38898. },
  38899. "curpositionqty": {
  38900. "description": "当前持仓总数量",
  38901. "type": "number"
  38902. },
  38903. "currencyid": {
  38904. "description": "报价货币ID",
  38905. "type": "integer"
  38906. },
  38907. "curtdposition": {
  38908. "description": "期末今日头寸",
  38909. "type": "number"
  38910. },
  38911. "decimalplace": {
  38912. "description": "报价小数位",
  38913. "type": "integer"
  38914. },
  38915. "enableqty": {
  38916. "description": "可用量",
  38917. "type": "number"
  38918. },
  38919. "fretdposition": {
  38920. "description": "冻结今日头寸",
  38921. "type": "number"
  38922. },
  38923. "frozenqty": {
  38924. "description": "持仓冻结数量",
  38925. "type": "number"
  38926. },
  38927. "goodscode": {
  38928. "description": "商品代码",
  38929. "type": "string"
  38930. },
  38931. "goodsid": {
  38932. "description": "商品Id",
  38933. "type": "integer"
  38934. },
  38935. "goodsname": {
  38936. "description": "商品名称",
  38937. "type": "string"
  38938. },
  38939. "goodunit": {
  38940. "description": "报价单位",
  38941. "type": "string"
  38942. },
  38943. "goodunitid": {
  38944. "description": "报价单位ID",
  38945. "type": "integer"
  38946. },
  38947. "holderamount": {
  38948. "description": "期初持仓总金额[商品币种]",
  38949. "type": "number"
  38950. },
  38951. "lastprice": {
  38952. "description": "最新价",
  38953. "type": "number"
  38954. },
  38955. "marketamount": {
  38956. "description": "市值",
  38957. "type": "number"
  38958. },
  38959. "marketid": {
  38960. "description": "所属市场ID",
  38961. "type": "integer"
  38962. },
  38963. "openreqqty": {
  38964. "description": "开仓申请数量(用于比较最大持仓数量)",
  38965. "type": "number"
  38966. },
  38967. "opentotalqty": {
  38968. "description": "开仓总数量",
  38969. "type": "number"
  38970. },
  38971. "otherfrozenqty": {
  38972. "description": "持仓其他冻结数量(交割冻结)",
  38973. "type": "number"
  38974. },
  38975. "positionpl": {
  38976. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38977. "type": "number"
  38978. },
  38979. "positionplrate": {
  38980. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38981. "type": "number"
  38982. },
  38983. "positionqty": {
  38984. "description": "期初持仓数量",
  38985. "type": "number"
  38986. },
  38987. "qtydecimalplace": {
  38988. "description": "成交量小数位",
  38989. "type": "integer"
  38990. },
  38991. "refgoodscode": {
  38992. "description": "参考商品代码",
  38993. "type": "string"
  38994. },
  38995. "refgoodsid": {
  38996. "description": "参考商品ID",
  38997. "type": "integer"
  38998. },
  38999. "tnqty": {
  39000. "description": "T+N冻结总量",
  39001. "type": "number"
  39002. },
  39003. "tnusedqty": {
  39004. "description": "T+N使用量(可以使用T+N的冻结数量)",
  39005. "type": "number"
  39006. },
  39007. "trademode": {
  39008. "description": "交易模式",
  39009. "type": "integer"
  39010. },
  39011. "tradeproperty": {
  39012. "description": "交易属性",
  39013. "type": "integer"
  39014. },
  39015. "usedmargin": {
  39016. "description": "占用保证金[商品币种]",
  39017. "type": "number"
  39018. }
  39019. }
  39020. },
  39021. "pb.GoodsMarginCfgStruct": {
  39022. "type": "object",
  39023. "properties": {
  39024. "CustomerTypeID": {
  39025. "description": "投资者客户类型",
  39026. "type": "integer"
  39027. },
  39028. "GoodsID": {
  39029. "description": "商品ID",
  39030. "type": "integer"
  39031. },
  39032. "IsDefault": {
  39033. "description": "是否默认标志位",
  39034. "type": "integer"
  39035. },
  39036. "LockMarginValue": {
  39037. "description": "锁仓保证金",
  39038. "type": "number"
  39039. },
  39040. "MarginAlgorithm": {
  39041. "description": "保证金计算方式",
  39042. "type": "integer"
  39043. },
  39044. "MarketMarginValue": {
  39045. "description": "即市保证金值",
  39046. "type": "number"
  39047. },
  39048. "RealMarginAlgorithm": {
  39049. "description": "实付保证金计算方式",
  39050. "type": "integer"
  39051. },
  39052. "RealMarginValue": {
  39053. "description": "实付比例",
  39054. "type": "number"
  39055. },
  39056. "ReckonMarginValue": {
  39057. "description": "结算保证金值",
  39058. "type": "number"
  39059. }
  39060. }
  39061. },
  39062. "quote.HistoryData": {
  39063. "type": "object",
  39064. "properties": {
  39065. "c": {
  39066. "description": "收盘价",
  39067. "type": "number"
  39068. },
  39069. "f": {
  39070. "description": "是否补充数据",
  39071. "type": "boolean"
  39072. },
  39073. "h": {
  39074. "description": "最高价",
  39075. "type": "number"
  39076. },
  39077. "hv": {
  39078. "description": "持仓量",
  39079. "type": "integer"
  39080. },
  39081. "l": {
  39082. "description": "最低价",
  39083. "type": "number"
  39084. },
  39085. "o": {
  39086. "description": "开盘价",
  39087. "type": "number"
  39088. },
  39089. "s": {
  39090. "description": "结算价,日线周期(包括)以上才有",
  39091. "type": "number"
  39092. },
  39093. "ts": {
  39094. "description": "时间",
  39095. "type": "string"
  39096. },
  39097. "tt": {
  39098. "description": "总金额",
  39099. "type": "number"
  39100. },
  39101. "tv": {
  39102. "description": "总量(成交量)",
  39103. "type": "integer"
  39104. }
  39105. }
  39106. },
  39107. "quote.HistoryTikData": {
  39108. "type": "object",
  39109. "properties": {
  39110. "AV": {
  39111. "description": "卖量",
  39112. "type": "integer"
  39113. },
  39114. "Ask": {
  39115. "description": "卖价",
  39116. "type": "number"
  39117. },
  39118. "BV": {
  39119. "description": "买量",
  39120. "type": "integer"
  39121. },
  39122. "Bid": {
  39123. "description": "买价",
  39124. "type": "number"
  39125. },
  39126. "HI": {
  39127. "description": "单笔持仓",
  39128. "type": "integer"
  39129. },
  39130. "HV": {
  39131. "description": "持仓量",
  39132. "type": "integer"
  39133. },
  39134. "PE": {
  39135. "description": "现价",
  39136. "type": "number"
  39137. },
  39138. "TDR": {
  39139. "description": "交易方向,0:买 1:卖",
  39140. "type": "integer"
  39141. },
  39142. "TK": {
  39143. "description": "交易类型",
  39144. "type": "integer"
  39145. },
  39146. "TS": {
  39147. "description": "行情时间文本",
  39148. "type": "string"
  39149. },
  39150. "TT": {
  39151. "description": "现金额",
  39152. "type": "number"
  39153. },
  39154. "Vol": {
  39155. "description": "现量",
  39156. "type": "integer"
  39157. }
  39158. }
  39159. },
  39160. "quote.QueryQuoteDayRsp": {
  39161. "type": "object",
  39162. "properties": {
  39163. "ask": {
  39164. "description": "卖1",
  39165. "type": "number"
  39166. },
  39167. "ask10": {
  39168. "description": "卖10",
  39169. "type": "number"
  39170. },
  39171. "ask2": {
  39172. "description": "卖2",
  39173. "type": "number"
  39174. },
  39175. "ask3": {
  39176. "description": "卖3",
  39177. "type": "number"
  39178. },
  39179. "ask4": {
  39180. "description": "卖4",
  39181. "type": "number"
  39182. },
  39183. "ask5": {
  39184. "description": "卖5",
  39185. "type": "number"
  39186. },
  39187. "ask6": {
  39188. "description": "卖6",
  39189. "type": "number"
  39190. },
  39191. "ask7": {
  39192. "description": "卖7",
  39193. "type": "number"
  39194. },
  39195. "ask8": {
  39196. "description": "卖8",
  39197. "type": "number"
  39198. },
  39199. "ask9": {
  39200. "description": "卖9",
  39201. "type": "number"
  39202. },
  39203. "askorderid": {
  39204. "description": "卖单号1",
  39205. "type": "integer"
  39206. },
  39207. "askorderid2": {
  39208. "description": "卖单号2",
  39209. "type": "integer"
  39210. },
  39211. "askorderid3": {
  39212. "description": "卖单号3",
  39213. "type": "integer"
  39214. },
  39215. "askorderid4": {
  39216. "description": "卖单号4",
  39217. "type": "integer"
  39218. },
  39219. "askorderid5": {
  39220. "description": "卖单号5",
  39221. "type": "integer"
  39222. },
  39223. "askordervolume": {
  39224. "description": "卖单量1",
  39225. "type": "integer"
  39226. },
  39227. "askordervolume10": {
  39228. "description": "卖单量10",
  39229. "type": "integer"
  39230. },
  39231. "askordervolume2": {
  39232. "description": "卖单量2",
  39233. "type": "integer"
  39234. },
  39235. "askordervolume3": {
  39236. "description": "卖单量3",
  39237. "type": "integer"
  39238. },
  39239. "askordervolume4": {
  39240. "description": "卖单量4",
  39241. "type": "integer"
  39242. },
  39243. "askordervolume5": {
  39244. "description": "卖单量5",
  39245. "type": "integer"
  39246. },
  39247. "askordervolume6": {
  39248. "description": "卖单量6",
  39249. "type": "integer"
  39250. },
  39251. "askordervolume7": {
  39252. "description": "卖单量7",
  39253. "type": "integer"
  39254. },
  39255. "askordervolume8": {
  39256. "description": "卖单量8",
  39257. "type": "integer"
  39258. },
  39259. "askordervolume9": {
  39260. "description": "卖单量9",
  39261. "type": "integer"
  39262. },
  39263. "askqueueinfo": {
  39264. "description": "大利市卖港股用",
  39265. "type": "string"
  39266. },
  39267. "askvolume": {
  39268. "description": "卖量1",
  39269. "type": "integer"
  39270. },
  39271. "askvolume10": {
  39272. "description": "卖量10",
  39273. "type": "integer"
  39274. },
  39275. "askvolume2": {
  39276. "description": "卖量2",
  39277. "type": "integer"
  39278. },
  39279. "askvolume3": {
  39280. "description": "卖量3",
  39281. "type": "integer"
  39282. },
  39283. "askvolume4": {
  39284. "description": "卖量4",
  39285. "type": "integer"
  39286. },
  39287. "askvolume5": {
  39288. "description": "卖量5",
  39289. "type": "integer"
  39290. },
  39291. "askvolume6": {
  39292. "description": "卖量6",
  39293. "type": "integer"
  39294. },
  39295. "askvolume7": {
  39296. "description": "卖量7",
  39297. "type": "integer"
  39298. },
  39299. "askvolume8": {
  39300. "description": "卖量8",
  39301. "type": "integer"
  39302. },
  39303. "askvolume9": {
  39304. "description": "卖量9",
  39305. "type": "integer"
  39306. },
  39307. "averageprice": {
  39308. "description": "均价",
  39309. "type": "number"
  39310. },
  39311. "bid": {
  39312. "description": "买1",
  39313. "type": "number"
  39314. },
  39315. "bid10": {
  39316. "description": "买10",
  39317. "type": "number"
  39318. },
  39319. "bid2": {
  39320. "description": "买2",
  39321. "type": "number"
  39322. },
  39323. "bid3": {
  39324. "description": "买3",
  39325. "type": "number"
  39326. },
  39327. "bid4": {
  39328. "description": "买4",
  39329. "type": "number"
  39330. },
  39331. "bid5": {
  39332. "description": "买5",
  39333. "type": "number"
  39334. },
  39335. "bid6": {
  39336. "description": "买6",
  39337. "type": "number"
  39338. },
  39339. "bid7": {
  39340. "description": "买7",
  39341. "type": "number"
  39342. },
  39343. "bid8": {
  39344. "description": "买8",
  39345. "type": "number"
  39346. },
  39347. "bid9": {
  39348. "description": "买9",
  39349. "type": "number"
  39350. },
  39351. "bidorderid": {
  39352. "description": "买单号1",
  39353. "type": "integer"
  39354. },
  39355. "bidorderid2": {
  39356. "description": "买单号2",
  39357. "type": "integer"
  39358. },
  39359. "bidorderid3": {
  39360. "description": "买单号3",
  39361. "type": "integer"
  39362. },
  39363. "bidorderid4": {
  39364. "description": "买单号4",
  39365. "type": "integer"
  39366. },
  39367. "bidorderid5": {
  39368. "description": "买单号5",
  39369. "type": "integer"
  39370. },
  39371. "bidordervolume": {
  39372. "description": "买单量1",
  39373. "type": "integer"
  39374. },
  39375. "bidordervolume10": {
  39376. "description": "买单量10",
  39377. "type": "integer"
  39378. },
  39379. "bidordervolume2": {
  39380. "description": "买单量2",
  39381. "type": "integer"
  39382. },
  39383. "bidordervolume3": {
  39384. "description": "买单量3",
  39385. "type": "integer"
  39386. },
  39387. "bidordervolume4": {
  39388. "description": "买单量4",
  39389. "type": "integer"
  39390. },
  39391. "bidordervolume5": {
  39392. "description": "买单量5",
  39393. "type": "integer"
  39394. },
  39395. "bidordervolume6": {
  39396. "description": "买单量6",
  39397. "type": "integer"
  39398. },
  39399. "bidordervolume7": {
  39400. "description": "买单量7",
  39401. "type": "integer"
  39402. },
  39403. "bidordervolume8": {
  39404. "description": "买单量8",
  39405. "type": "integer"
  39406. },
  39407. "bidordervolume9": {
  39408. "description": "买单量9",
  39409. "type": "integer"
  39410. },
  39411. "bidqueueinfo": {
  39412. "description": "大利市买港股用",
  39413. "type": "string"
  39414. },
  39415. "bidvolume": {
  39416. "description": "买量1",
  39417. "type": "integer"
  39418. },
  39419. "bidvolume10": {
  39420. "description": "买量10",
  39421. "type": "integer"
  39422. },
  39423. "bidvolume2": {
  39424. "description": "买量2",
  39425. "type": "integer"
  39426. },
  39427. "bidvolume3": {
  39428. "description": "买量3",
  39429. "type": "integer"
  39430. },
  39431. "bidvolume4": {
  39432. "description": "买量4",
  39433. "type": "integer"
  39434. },
  39435. "bidvolume5": {
  39436. "description": "买量5",
  39437. "type": "integer"
  39438. },
  39439. "bidvolume6": {
  39440. "description": "买量6",
  39441. "type": "integer"
  39442. },
  39443. "bidvolume7": {
  39444. "description": "买量7",
  39445. "type": "integer"
  39446. },
  39447. "bidvolume8": {
  39448. "description": "买量8",
  39449. "type": "integer"
  39450. },
  39451. "bidvolume9": {
  39452. "description": "买量9",
  39453. "type": "integer"
  39454. },
  39455. "calloptionpremiums": {
  39456. "description": "认购期权1",
  39457. "type": "integer"
  39458. },
  39459. "calloptionpremiums2": {
  39460. "description": "认购期权2",
  39461. "type": "integer"
  39462. },
  39463. "calloptionpremiums3": {
  39464. "description": "认购期权3",
  39465. "type": "integer"
  39466. },
  39467. "calloptionpremiums4": {
  39468. "description": "认购期权4",
  39469. "type": "integer"
  39470. },
  39471. "calloptionpremiums5": {
  39472. "description": "认购期权5",
  39473. "type": "integer"
  39474. },
  39475. "cleartime": {
  39476. "description": "清盘时间",
  39477. "type": "integer"
  39478. },
  39479. "exchangecode": {
  39480. "description": "交易所代码",
  39481. "type": "integer"
  39482. },
  39483. "exchangedate": {
  39484. "description": "交易日",
  39485. "type": "integer"
  39486. },
  39487. "goodscode": {
  39488. "description": "商品代码",
  39489. "type": "string"
  39490. },
  39491. "grepmarketprice": {
  39492. "description": "暗盘价 港股专用",
  39493. "type": "number"
  39494. },
  39495. "highest": {
  39496. "description": "最高价",
  39497. "type": "number"
  39498. },
  39499. "holdincrement": {
  39500. "description": "单笔持仓",
  39501. "type": "integer"
  39502. },
  39503. "holdvolume": {
  39504. "description": "持仓",
  39505. "type": "integer"
  39506. },
  39507. "iep": {
  39508. "description": "平衡价 港股专用",
  39509. "type": "number"
  39510. },
  39511. "iev": {
  39512. "description": "平衡量 港股专用",
  39513. "type": "number"
  39514. },
  39515. "inventory": {
  39516. "description": "库存",
  39517. "type": "integer"
  39518. },
  39519. "iscleared": {
  39520. "description": "是否清盘标志",
  39521. "type": "integer"
  39522. },
  39523. "issettled": {
  39524. "description": "是否结算标志",
  39525. "type": "integer"
  39526. },
  39527. "last": {
  39528. "description": "最新价",
  39529. "type": "number"
  39530. },
  39531. "lastlot": {
  39532. "description": "最新成交手数",
  39533. "type": "integer"
  39534. },
  39535. "lasttime": {
  39536. "description": "行情时间(只有现价变化行情时间才变化)",
  39537. "type": "string"
  39538. },
  39539. "lastturnover": {
  39540. "description": "最新成交金额",
  39541. "type": "number"
  39542. },
  39543. "lastvolume": {
  39544. "description": "最新成交量",
  39545. "type": "integer"
  39546. },
  39547. "limitdown": {
  39548. "description": "跌停价",
  39549. "type": "number"
  39550. },
  39551. "limitup": {
  39552. "description": "涨停价",
  39553. "type": "number"
  39554. },
  39555. "lowest": {
  39556. "description": "最低价",
  39557. "type": "number"
  39558. },
  39559. "nontotalholdervolume": {
  39560. "description": "非交易持仓量",
  39561. "type": "integer"
  39562. },
  39563. "nontotallot": {
  39564. "description": "非交易总手数",
  39565. "type": "integer"
  39566. },
  39567. "nontotalturnover": {
  39568. "description": "非交易总金额",
  39569. "type": "integer"
  39570. },
  39571. "nontotalvolume": {
  39572. "description": "非交易总量",
  39573. "type": "integer"
  39574. },
  39575. "opened": {
  39576. "description": "开盘价",
  39577. "type": "number"
  39578. },
  39579. "opentime": {
  39580. "description": "开盘时间",
  39581. "type": "string"
  39582. },
  39583. "orderid": {
  39584. "description": "序号",
  39585. "type": "integer"
  39586. },
  39587. "preclose": {
  39588. "description": "昨收",
  39589. "type": "number"
  39590. },
  39591. "preholdvolume": {
  39592. "description": "昨持仓",
  39593. "type": "integer"
  39594. },
  39595. "presettle": {
  39596. "description": "昨结价",
  39597. "type": "number"
  39598. },
  39599. "publictradetype": {
  39600. "description": "公共交易标志类型 港股专用",
  39601. "type": "string"
  39602. },
  39603. "putoptionpremiums": {
  39604. "description": "认沽期权1",
  39605. "type": "integer"
  39606. },
  39607. "putoptionpremiums2": {
  39608. "description": "认沽期权2",
  39609. "type": "integer"
  39610. },
  39611. "putoptionpremiums3": {
  39612. "description": "认沽期权3",
  39613. "type": "integer"
  39614. },
  39615. "putoptionpremiums4": {
  39616. "description": "认沽期权4",
  39617. "type": "integer"
  39618. },
  39619. "putoptionpremiums5": {
  39620. "description": "认沽期权5",
  39621. "type": "integer"
  39622. },
  39623. "settle": {
  39624. "description": "结算价",
  39625. "type": "number"
  39626. },
  39627. "strikeprice": {
  39628. "description": "发行价",
  39629. "type": "number"
  39630. },
  39631. "totalaskvolume": {
  39632. "description": "内盘",
  39633. "type": "integer"
  39634. },
  39635. "totalbidvolume": {
  39636. "description": "外盘",
  39637. "type": "integer"
  39638. },
  39639. "totallot": {
  39640. "description": "总手数",
  39641. "type": "integer"
  39642. },
  39643. "totalturnover": {
  39644. "description": "总金额",
  39645. "type": "number"
  39646. },
  39647. "totalvolume": {
  39648. "description": "总量",
  39649. "type": "integer"
  39650. },
  39651. "utclasttime": {
  39652. "description": "utc的行情时间",
  39653. "type": "string"
  39654. }
  39655. }
  39656. },
  39657. "quote.QueryTSDataRsp": {
  39658. "type": "object",
  39659. "properties": {
  39660. "Count": {
  39661. "description": "交易日应有数据个数",
  39662. "type": "integer"
  39663. },
  39664. "decimalPlace": {
  39665. "description": "小数位",
  39666. "type": "integer"
  39667. },
  39668. "endTime": {
  39669. "description": "结束时间",
  39670. "type": "string"
  39671. },
  39672. "goodsCode": {
  39673. "description": "商品代码",
  39674. "type": "string"
  39675. },
  39676. "historyDatas": {
  39677. "description": "历史数据",
  39678. "type": "array",
  39679. "items": {
  39680. "$ref": "#/definitions/quote.HistoryData"
  39681. }
  39682. },
  39683. "outGoodsCode": {
  39684. "description": "外部商品代码",
  39685. "type": "string"
  39686. },
  39687. "preSettle": {
  39688. "description": "昨结价",
  39689. "type": "number"
  39690. },
  39691. "runSteps": {
  39692. "description": "交易日开休市计划",
  39693. "type": "array",
  39694. "items": {
  39695. "$ref": "#/definitions/quote.TSDataRunStep"
  39696. }
  39697. },
  39698. "startTime": {
  39699. "description": "开始时间",
  39700. "type": "string"
  39701. },
  39702. "tradeDate": {
  39703. "description": "交易日",
  39704. "type": "string"
  39705. }
  39706. }
  39707. },
  39708. "quote.TSDataRunStep": {
  39709. "type": "object",
  39710. "properties": {
  39711. "end": {
  39712. "description": "真实结束时间",
  39713. "type": "string"
  39714. },
  39715. "endflag": {
  39716. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39717. "type": "integer"
  39718. },
  39719. "endtime": {
  39720. "description": "结束时间(HH:mm)",
  39721. "type": "string"
  39722. },
  39723. "endweekday": {
  39724. "description": "结束周几",
  39725. "type": "integer"
  39726. },
  39727. "groupid": {
  39728. "description": "分组ID",
  39729. "type": "integer"
  39730. },
  39731. "runstep": {
  39732. "description": "运行阶段 - 2:连续交易",
  39733. "type": "integer"
  39734. },
  39735. "sectionid": {
  39736. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39737. "type": "integer"
  39738. },
  39739. "start": {
  39740. "description": "真实开始时间",
  39741. "type": "string"
  39742. },
  39743. "startflag": {
  39744. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39745. "type": "integer"
  39746. },
  39747. "starttime": {
  39748. "description": "起始时间(HH:mm)",
  39749. "type": "string"
  39750. },
  39751. "startweekday": {
  39752. "description": "起始周几",
  39753. "type": "integer"
  39754. },
  39755. "tradeweekday": {
  39756. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39757. "type": "integer"
  39758. }
  39759. }
  39760. },
  39761. "szdz.QueryConvertLogRsp": {
  39762. "type": "object",
  39763. "required": [
  39764. "logid"
  39765. ],
  39766. "properties": {
  39767. "accountid": {
  39768. "description": "资金账户ID",
  39769. "type": "integer"
  39770. },
  39771. "clientticket": {
  39772. "description": "客户端流水号",
  39773. "type": "string"
  39774. },
  39775. "converttype": {
  39776. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39777. "type": "integer"
  39778. },
  39779. "createtime": {
  39780. "description": "记账时间",
  39781. "type": "string"
  39782. },
  39783. "daymaxvalue": {
  39784. "description": "配置当日最大转入限制",
  39785. "type": "number"
  39786. },
  39787. "daymaxvalue2": {
  39788. "description": "配置当日最大转入限制(转入)",
  39789. "type": "number"
  39790. },
  39791. "goodscode": {
  39792. "description": "商品代码",
  39793. "type": "string"
  39794. },
  39795. "goodsname": {
  39796. "description": "商品名称",
  39797. "type": "string"
  39798. },
  39799. "handlestatus": {
  39800. "description": "处理状态",
  39801. "type": "integer"
  39802. },
  39803. "innergoodsid": {
  39804. "description": "内部商品ID",
  39805. "type": "integer"
  39806. },
  39807. "inratio": {
  39808. "description": "配置转入比值",
  39809. "type": "integer"
  39810. },
  39811. "invalue": {
  39812. "description": "目标值",
  39813. "type": "number"
  39814. },
  39815. "logid": {
  39816. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39817. "type": "integer"
  39818. },
  39819. "mobile": {
  39820. "description": "手机号码(加密存储)",
  39821. "type": "string"
  39822. },
  39823. "outergoodscode": {
  39824. "description": "外部商品代码[JD\\PD]",
  39825. "type": "string"
  39826. },
  39827. "outratio": {
  39828. "description": "配置转出比值",
  39829. "type": "integer"
  39830. },
  39831. "outvalue": {
  39832. "description": "源值",
  39833. "type": "number"
  39834. },
  39835. "pddecimalplace": {
  39836. "description": "PD小数位",
  39837. "type": "integer"
  39838. },
  39839. "qty": {
  39840. "description": "数量",
  39841. "type": "string"
  39842. },
  39843. "remark": {
  39844. "description": "备注",
  39845. "type": "string"
  39846. },
  39847. "sessionid": {
  39848. "description": "会话ID",
  39849. "type": "integer"
  39850. },
  39851. "timemaxvalue": {
  39852. "description": "配置单次最大转入限制",
  39853. "type": "number"
  39854. },
  39855. "timemaxvalue2": {
  39856. "description": "配置单次最大转入限制(转入)",
  39857. "type": "number"
  39858. },
  39859. "timeminvalue": {
  39860. "description": "配置单次最小数量限制",
  39861. "type": "number"
  39862. },
  39863. "timeminvalue2": {
  39864. "description": "配置单次最小数量限制(转入)",
  39865. "type": "number"
  39866. },
  39867. "tradedate": {
  39868. "description": "交易日(yyyyMMdd)",
  39869. "type": "string"
  39870. },
  39871. "userid": {
  39872. "description": "用户ID",
  39873. "type": "integer"
  39874. }
  39875. }
  39876. },
  39877. "szdz.QueryGoodsPickupRsp": {
  39878. "type": "object",
  39879. "required": [
  39880. "takeorderid"
  39881. ],
  39882. "properties": {
  39883. "accountid": {
  39884. "description": "账户ID",
  39885. "type": "integer"
  39886. },
  39887. "address": {
  39888. "description": "提货人详细地址",
  39889. "type": "string"
  39890. },
  39891. "auditer": {
  39892. "description": "审核人",
  39893. "type": "integer"
  39894. },
  39895. "audittime": {
  39896. "description": "审核时间",
  39897. "type": "string"
  39898. },
  39899. "cardnum": {
  39900. "description": "提货人证件号码",
  39901. "type": "string"
  39902. },
  39903. "cardtypeid": {
  39904. "description": "提货人证件类型",
  39905. "type": "integer"
  39906. },
  39907. "checkremark": {
  39908. "description": "审核备注",
  39909. "type": "string"
  39910. },
  39911. "goodscode": {
  39912. "description": "商品代码",
  39913. "type": "string"
  39914. },
  39915. "goodsid": {
  39916. "description": "商品ID",
  39917. "type": "integer"
  39918. },
  39919. "goodsname": {
  39920. "description": "商品名称",
  39921. "type": "string"
  39922. },
  39923. "handlestatus": {
  39924. "description": "处理状态",
  39925. "type": "integer"
  39926. },
  39927. "marketid": {
  39928. "description": "市场ID",
  39929. "type": "integer"
  39930. },
  39931. "phonenum": {
  39932. "description": "提货人联系方式",
  39933. "type": "string"
  39934. },
  39935. "qty": {
  39936. "description": "提货数量",
  39937. "type": "number"
  39938. },
  39939. "recivername": {
  39940. "description": "提货人姓名",
  39941. "type": "string"
  39942. },
  39943. "reqtime": {
  39944. "description": "更新时间",
  39945. "type": "string"
  39946. },
  39947. "takemode": {
  39948. "description": "提货方式 - 2:自提 3:配送",
  39949. "type": "integer"
  39950. },
  39951. "takeorderid": {
  39952. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39953. "type": "string"
  39954. },
  39955. "takeorderstatus": {
  39956. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39957. "type": "integer"
  39958. },
  39959. "takeremark": {
  39960. "description": "提货备注",
  39961. "type": "string"
  39962. },
  39963. "tradedate": {
  39964. "description": "交易日(yyyyMMdd)",
  39965. "type": "string"
  39966. },
  39967. "userid": {
  39968. "description": "用户ID",
  39969. "type": "integer"
  39970. }
  39971. }
  39972. },
  39973. "szdz.QueryRecieptOrderRsp": {
  39974. "type": "object",
  39975. "required": [
  39976. "ordertime"
  39977. ],
  39978. "properties": {
  39979. "accountName": {
  39980. "description": "所属账号名称(已脱敏)",
  39981. "type": "string"
  39982. },
  39983. "accountid": {
  39984. "description": "资金账号",
  39985. "type": "integer"
  39986. },
  39987. "buyorsell": {
  39988. "description": "方向 - 0:买 1:卖",
  39989. "type": "integer"
  39990. },
  39991. "enableqty": {
  39992. "description": "可摘数量",
  39993. "type": "integer"
  39994. },
  39995. "goodscode": {
  39996. "description": "商品代码",
  39997. "type": "string"
  39998. },
  39999. "goodsid": {
  40000. "description": "商品ID",
  40001. "type": "integer"
  40002. },
  40003. "goodsname": {
  40004. "description": "商品名称",
  40005. "type": "string"
  40006. },
  40007. "orderid": {
  40008. "description": "委托单号",
  40009. "type": "string"
  40010. },
  40011. "orderprice": {
  40012. "description": "委托价格",
  40013. "type": "number"
  40014. },
  40015. "ordertime": {
  40016. "description": "委托时间",
  40017. "type": "string"
  40018. },
  40019. "tradedate": {
  40020. "description": "交易日(yyyyMMdd)",
  40021. "type": "string"
  40022. }
  40023. }
  40024. },
  40025. "szdz.QuerySZDZTradePositionRsp": {
  40026. "type": "object",
  40027. "properties": {
  40028. "accountid": {
  40029. "description": "账号Id",
  40030. "type": "integer"
  40031. },
  40032. "agreeunit": {
  40033. "description": "合约单位",
  40034. "type": "number"
  40035. },
  40036. "averageprice": {
  40037. "description": "持仓均价",
  40038. "type": "number"
  40039. },
  40040. "buyorsell": {
  40041. "description": "方向 - 0:买 1:卖",
  40042. "type": "integer"
  40043. },
  40044. "closetotalqty": {
  40045. "description": "平仓总数量",
  40046. "type": "integer"
  40047. },
  40048. "curholderamount": {
  40049. "description": "当前持仓总金额",
  40050. "type": "number"
  40051. },
  40052. "curpositionqty": {
  40053. "description": "当前持仓总数量",
  40054. "type": "integer"
  40055. },
  40056. "currencyid": {
  40057. "description": "报价货币ID",
  40058. "type": "integer"
  40059. },
  40060. "curtdposition": {
  40061. "description": "期末今日头寸",
  40062. "type": "integer"
  40063. },
  40064. "decimalplace": {
  40065. "description": "报价小数位",
  40066. "type": "integer"
  40067. },
  40068. "enableqty": {
  40069. "description": "可用量",
  40070. "type": "integer"
  40071. },
  40072. "fretdposition": {
  40073. "description": "冻结今日头寸",
  40074. "type": "integer"
  40075. },
  40076. "frozenqty": {
  40077. "description": "持仓冻结数量",
  40078. "type": "integer"
  40079. },
  40080. "goodscode": {
  40081. "description": "商品代码(内部)",
  40082. "type": "string"
  40083. },
  40084. "goodsid": {
  40085. "description": "商品Id",
  40086. "type": "integer"
  40087. },
  40088. "goodsname": {
  40089. "description": "商品名称",
  40090. "type": "string"
  40091. },
  40092. "goodunit": {
  40093. "description": "报价单位",
  40094. "type": "string"
  40095. },
  40096. "goodunitid": {
  40097. "description": "报价单位ID",
  40098. "type": "integer"
  40099. },
  40100. "holderamount": {
  40101. "description": "期初持仓总金额",
  40102. "type": "number"
  40103. },
  40104. "marketid": {
  40105. "description": "市场ID",
  40106. "type": "integer"
  40107. },
  40108. "openreqqty": {
  40109. "description": "开仓申请数量",
  40110. "type": "integer"
  40111. },
  40112. "opentotalqty": {
  40113. "description": "开仓总数量",
  40114. "type": "integer"
  40115. },
  40116. "otherfrozenqty": {
  40117. "description": "持仓其他冻结数量(交割冻结)",
  40118. "type": "integer"
  40119. },
  40120. "positionqty": {
  40121. "description": "期初持仓数量",
  40122. "type": "integer"
  40123. },
  40124. "szdz3freezqty": {
  40125. "description": "尚志大宗转换冻结总数量",
  40126. "type": "integer"
  40127. },
  40128. "tnqty": {
  40129. "description": "T+N冻结总量",
  40130. "type": "integer"
  40131. },
  40132. "tnusedqty": {
  40133. "description": "T+N使用量",
  40134. "type": "integer"
  40135. },
  40136. "trademode": {
  40137. "description": "交易模式",
  40138. "type": "integer"
  40139. },
  40140. "usedmargin": {
  40141. "description": "占用保证金",
  40142. "type": "number"
  40143. }
  40144. }
  40145. },
  40146. "taaccount.QueryAmountLogRsp": {
  40147. "type": "object",
  40148. "required": [
  40149. "accountid",
  40150. "amount",
  40151. "amountadjusttype",
  40152. "autoid",
  40153. "balance",
  40154. "createtime",
  40155. "currentbalance",
  40156. "operatetype"
  40157. ],
  40158. "properties": {
  40159. "OPERATETYPENAME": {
  40160. "description": "资金操作类型名称",
  40161. "type": "string"
  40162. },
  40163. "accountid": {
  40164. "description": "资金账户ID",
  40165. "type": "integer"
  40166. },
  40167. "agoodscode": {
  40168. "description": "竞拍商品代码",
  40169. "type": "string"
  40170. },
  40171. "agoodsname": {
  40172. "description": "竞拍商品名称",
  40173. "type": "string"
  40174. },
  40175. "amount": {
  40176. "description": "资金金额",
  40177. "type": "number"
  40178. },
  40179. "amountadjusttype": {
  40180. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  40181. "type": "integer"
  40182. },
  40183. "autoid": {
  40184. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  40185. "type": "integer"
  40186. },
  40187. "balance": {
  40188. "description": "期初余额",
  40189. "type": "number"
  40190. },
  40191. "businesscode": {
  40192. "description": "业务编号",
  40193. "type": "integer"
  40194. },
  40195. "createtime": {
  40196. "description": "发生时间",
  40197. "type": "string"
  40198. },
  40199. "currencyid": {
  40200. "description": "币种ID",
  40201. "type": "integer"
  40202. },
  40203. "currentbalance": {
  40204. "description": "期末余额(变动后金额)",
  40205. "type": "number"
  40206. },
  40207. "dgoodscode": {
  40208. "description": "交割商品代码",
  40209. "type": "string"
  40210. },
  40211. "dgoodsname": {
  40212. "description": "交割商品名称",
  40213. "type": "string"
  40214. },
  40215. "goodscode": {
  40216. "description": "商品代码",
  40217. "type": "string"
  40218. },
  40219. "goodsid": {
  40220. "description": "商品ID",
  40221. "type": "integer"
  40222. },
  40223. "goodsname": {
  40224. "description": "商品名称",
  40225. "type": "string"
  40226. },
  40227. "marketid": {
  40228. "description": "市场ID",
  40229. "type": "integer"
  40230. },
  40231. "marketname": {
  40232. "description": "市场名称",
  40233. "type": "string"
  40234. },
  40235. "moneyticket": {
  40236. "description": "资金流水号:银行端流水号",
  40237. "type": "integer"
  40238. },
  40239. "operatetype": {
  40240. "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:营销收款",
  40241. "type": "integer"
  40242. },
  40243. "relationorderid": {
  40244. "description": "关联单号",
  40245. "type": "string"
  40246. },
  40247. "remark": {
  40248. "description": "备注",
  40249. "type": "string"
  40250. },
  40251. "trademode": {
  40252. "description": "交易模式",
  40253. "type": "integer"
  40254. }
  40255. }
  40256. },
  40257. "taaccount.QueryHisAmountLogRsp": {
  40258. "type": "object",
  40259. "required": [
  40260. "accountid",
  40261. "amount",
  40262. "amountadjusttype",
  40263. "autoid",
  40264. "balance",
  40265. "createtime",
  40266. "currentbalance",
  40267. "histradedate",
  40268. "operatetype"
  40269. ],
  40270. "properties": {
  40271. "OPERATETYPENAME": {
  40272. "description": "资金操作类型名称",
  40273. "type": "string"
  40274. },
  40275. "accountid": {
  40276. "description": "资金账户ID",
  40277. "type": "integer"
  40278. },
  40279. "agoodscode": {
  40280. "description": "竞拍商品代码",
  40281. "type": "string"
  40282. },
  40283. "agoodsname": {
  40284. "description": "竞拍商品名称",
  40285. "type": "string"
  40286. },
  40287. "amount": {
  40288. "description": "资金金额",
  40289. "type": "number"
  40290. },
  40291. "amountadjusttype": {
  40292. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  40293. "type": "integer"
  40294. },
  40295. "autoid": {
  40296. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  40297. "type": "integer"
  40298. },
  40299. "balance": {
  40300. "description": "期初余额",
  40301. "type": "number"
  40302. },
  40303. "businesscode": {
  40304. "description": "业务编号",
  40305. "type": "integer"
  40306. },
  40307. "createtime": {
  40308. "description": "发生时间",
  40309. "type": "string"
  40310. },
  40311. "currencyid": {
  40312. "description": "币种ID",
  40313. "type": "integer"
  40314. },
  40315. "currentbalance": {
  40316. "description": "期末余额(变动后金额)",
  40317. "type": "number"
  40318. },
  40319. "dgoodscode": {
  40320. "description": "交割商品代码",
  40321. "type": "string"
  40322. },
  40323. "dgoodsname": {
  40324. "description": "交割商品名称",
  40325. "type": "string"
  40326. },
  40327. "goodscode": {
  40328. "description": "商品代码",
  40329. "type": "string"
  40330. },
  40331. "goodsid": {
  40332. "description": "商品ID",
  40333. "type": "integer"
  40334. },
  40335. "goodsname": {
  40336. "description": "商品名称",
  40337. "type": "string"
  40338. },
  40339. "histradedate": {
  40340. "description": "历史交易日",
  40341. "type": "string"
  40342. },
  40343. "isvaliddata": {
  40344. "description": "是否有效 - 0:无效 1:有效",
  40345. "type": "integer"
  40346. },
  40347. "marketid": {
  40348. "description": "市场ID",
  40349. "type": "integer"
  40350. },
  40351. "marketname": {
  40352. "description": "市场名称",
  40353. "type": "string"
  40354. },
  40355. "moneyticket": {
  40356. "description": "资金流水号:银行端流水号",
  40357. "type": "integer"
  40358. },
  40359. "operatetype": {
  40360. "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:营销收款",
  40361. "type": "integer"
  40362. },
  40363. "relationorderid": {
  40364. "description": "关联单号",
  40365. "type": "string"
  40366. },
  40367. "remark": {
  40368. "description": "备注",
  40369. "type": "string"
  40370. },
  40371. "trademode": {
  40372. "description": "交易模式",
  40373. "type": "integer"
  40374. }
  40375. }
  40376. },
  40377. "trade.QueryRecieptOrderRsp": {
  40378. "type": "object",
  40379. "required": [
  40380. "ordertime"
  40381. ],
  40382. "properties": {
  40383. "accountName": {
  40384. "description": "所属账号名称(已脱敏)",
  40385. "type": "string"
  40386. },
  40387. "accountid": {
  40388. "description": "资金账号",
  40389. "type": "integer"
  40390. },
  40391. "buyorsell": {
  40392. "description": "方向 - 0:买 1:卖",
  40393. "type": "integer"
  40394. },
  40395. "enableqty": {
  40396. "description": "可摘数量",
  40397. "type": "integer"
  40398. },
  40399. "goodscode": {
  40400. "description": "商品代码",
  40401. "type": "string"
  40402. },
  40403. "goodsid": {
  40404. "description": "商品ID",
  40405. "type": "integer"
  40406. },
  40407. "goodsname": {
  40408. "description": "商品名称",
  40409. "type": "string"
  40410. },
  40411. "orderid": {
  40412. "description": "委托单号",
  40413. "type": "string"
  40414. },
  40415. "orderprice": {
  40416. "description": "委托价格",
  40417. "type": "number"
  40418. },
  40419. "ordertime": {
  40420. "description": "委托时间",
  40421. "type": "string"
  40422. },
  40423. "tradedate": {
  40424. "description": "交易日(yyyyMMdd)",
  40425. "type": "string"
  40426. }
  40427. }
  40428. },
  40429. "user.LoginQueryRsp": {
  40430. "type": "object",
  40431. "properties": {
  40432. "areaRoles": {
  40433. "description": "所属角色信息",
  40434. "type": "array",
  40435. "items": {
  40436. "$ref": "#/definitions/models.Arearole"
  40437. }
  40438. },
  40439. "externalExchanges": {
  40440. "description": "外部交易所",
  40441. "type": "array",
  40442. "items": {
  40443. "$ref": "#/definitions/models.Externalexchange"
  40444. }
  40445. },
  40446. "goodsgroups": {
  40447. "description": "商品组",
  40448. "type": "array",
  40449. "items": {
  40450. "$ref": "#/definitions/models.Goodsgroup"
  40451. }
  40452. },
  40453. "loginAccount": {
  40454. "description": "登录账号",
  40455. "$ref": "#/definitions/models.Loginaccount"
  40456. },
  40457. "markets": {
  40458. "description": "市场",
  40459. "type": "array",
  40460. "items": {
  40461. "$ref": "#/definitions/models.Market"
  40462. }
  40463. },
  40464. "systemParams": {
  40465. "description": "系统参数",
  40466. "type": "array",
  40467. "items": {
  40468. "$ref": "#/definitions/models.Systemparam"
  40469. }
  40470. },
  40471. "userAccount": {
  40472. "description": "用户账号",
  40473. "$ref": "#/definitions/models.Useraccount"
  40474. },
  40475. "userInfo": {
  40476. "description": "用户信息",
  40477. "$ref": "#/definitions/models.Userinfo"
  40478. },
  40479. "username": {
  40480. "description": "用户姓名",
  40481. "type": "string"
  40482. }
  40483. }
  40484. }
  40485. },
  40486. "securityDefinitions": {
  40487. "ApiKeyAuth": {
  40488. "type": "apiKey",
  40489. "name": "Authorization",
  40490. "in": "header"
  40491. }
  40492. }
  40493. }`
  40494. type swaggerInfo struct {
  40495. Version string
  40496. Host string
  40497. BasePath string
  40498. Schemes []string
  40499. Title string
  40500. Description string
  40501. }
  40502. // SwaggerInfo holds exported Swagger Info so clients can modify it
  40503. var SwaggerInfo = swaggerInfo{
  40504. Version: "1.0",
  40505. Host: "",
  40506. BasePath: "/api",
  40507. Schemes: []string{},
  40508. Title: "MTP2.0 查询服务 API",
  40509. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  40510. }
  40511. type s struct{}
  40512. func (s *s) ReadDoc() string {
  40513. sInfo := SwaggerInfo
  40514. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  40515. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  40516. "marshal": func(v interface{}) string {
  40517. a, _ := json.Marshal(v)
  40518. return string(a)
  40519. },
  40520. "escape": func(v interface{}) string {
  40521. // escape tabs
  40522. str := strings.Replace(v.(string), "\t", "\\t", -1)
  40523. // replace " with \", and if that results in \\", replace that with \\\"
  40524. str = strings.Replace(str, "\"", "\\\"", -1)
  40525. return strings.Replace(str, "\\\\\"", "\\\\\\\"", -1)
  40526. },
  40527. }).Parse(doc)
  40528. if err != nil {
  40529. return doc
  40530. }
  40531. var tpl bytes.Buffer
  40532. if err := t.Execute(&tpl, sInfo); err != nil {
  40533. return doc
  40534. }
  40535. return tpl.String()
  40536. }
  40537. func init() {
  40538. swag.Register("swagger", &s{})
  40539. }