docs.go 1.3 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  427. "name": "clientType",
  428. "in": "query"
  429. },
  430. {
  431. "type": "string",
  432. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  433. "name": "name",
  434. "in": "query"
  435. }
  436. ],
  437. "responses": {
  438. "200": {
  439. "description": "OK",
  440. "schema": {
  441. "type": "array",
  442. "items": {
  443. "$ref": "#/definitions/common.ClientMenu"
  444. }
  445. }
  446. },
  447. "500": {
  448. "description": "Internal Server Error",
  449. "schema": {
  450. "$ref": "#/definitions/app.Response"
  451. }
  452. }
  453. }
  454. }
  455. },
  456. "/Common/GetDivisions": {
  457. "get": {
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "查询区域信息",
  465. "responses": {
  466. "200": {
  467. "description": "OK",
  468. "schema": {
  469. "$ref": "#/definitions/models.Division"
  470. }
  471. },
  472. "500": {
  473. "description": "Internal Server Error",
  474. "schema": {
  475. "$ref": "#/definitions/app.Response"
  476. }
  477. }
  478. }
  479. }
  480. },
  481. "/Common/GetServerTime": {
  482. "get": {
  483. "produces": [
  484. "application/json"
  485. ],
  486. "tags": [
  487. "通用服务"
  488. ],
  489. "summary": "获取服务器时间",
  490. "responses": {
  491. "200": {
  492. "description": "OK",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. },
  497. "500": {
  498. "description": "Internal Server Error",
  499. "schema": {
  500. "$ref": "#/definitions/app.Response"
  501. }
  502. }
  503. }
  504. }
  505. },
  506. "/Common/NoticeReaded": {
  507. "post": {
  508. "security": [
  509. {
  510. "ApiKeyAuth": []
  511. }
  512. ],
  513. "produces": [
  514. "application/json"
  515. ],
  516. "tags": [
  517. "通用服务"
  518. ],
  519. "summary": "通知公告设置已读请求",
  520. "parameters": [
  521. {
  522. "type": "integer",
  523. "description": "登录账号",
  524. "name": "loginID",
  525. "in": "query",
  526. "required": true
  527. },
  528. {
  529. "type": "integer",
  530. "description": "通知公告ID",
  531. "name": "noticeID",
  532. "in": "query",
  533. "required": true
  534. }
  535. ],
  536. "responses": {
  537. "200": {
  538. "description": "OK",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/QueryErrorInfos": {
  553. "get": {
  554. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  555. "produces": [
  556. "application/json"
  557. ],
  558. "tags": [
  559. "通用服务"
  560. ],
  561. "summary": "获取数据库错误信息",
  562. "parameters": [
  563. {
  564. "type": "string",
  565. "description": "起始行号前索引",
  566. "name": "rowNumber",
  567. "in": "query"
  568. }
  569. ],
  570. "responses": {
  571. "200": {
  572. "description": "OK",
  573. "schema": {
  574. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  575. }
  576. },
  577. "500": {
  578. "description": "Internal Server Error",
  579. "schema": {
  580. "$ref": "#/definitions/app.Response"
  581. }
  582. }
  583. }
  584. }
  585. },
  586. "/Common/QueryImageConfigs": {
  587. "get": {
  588. "produces": [
  589. "application/json"
  590. ],
  591. "tags": [
  592. "通用服务"
  593. ],
  594. "summary": "查询轮播图配置信息",
  595. "parameters": [
  596. {
  597. "type": "integer",
  598. "description": "用户id",
  599. "name": "userId",
  600. "in": "query"
  601. },
  602. {
  603. "type": "integer",
  604. "description": "类型 - 1:App首页轮播 2:我的",
  605. "name": "imageType",
  606. "in": "query"
  607. }
  608. ],
  609. "responses": {
  610. "200": {
  611. "description": "OK",
  612. "schema": {
  613. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  614. }
  615. },
  616. "500": {
  617. "description": "Internal Server Error",
  618. "schema": {
  619. "$ref": "#/definitions/app.Response"
  620. }
  621. }
  622. }
  623. }
  624. },
  625. "/Common/QueryNotice": {
  626. "get": {
  627. "security": [
  628. {
  629. "ApiKeyAuth": []
  630. }
  631. ],
  632. "produces": [
  633. "application/json"
  634. ],
  635. "tags": [
  636. "通用服务"
  637. ],
  638. "summary": "通知公告系统消息查询",
  639. "parameters": [
  640. {
  641. "type": "integer",
  642. "description": "页码",
  643. "name": "page",
  644. "in": "query"
  645. },
  646. {
  647. "type": "integer",
  648. "description": "每页条数",
  649. "name": "pagesize",
  650. "in": "query"
  651. },
  652. {
  653. "type": "integer",
  654. "description": "登录账号",
  655. "name": "loginID",
  656. "in": "query",
  657. "required": true
  658. },
  659. {
  660. "type": "integer",
  661. "description": "消息类型 - 1:公告通知 2:系统消息",
  662. "name": "msgType",
  663. "in": "query"
  664. },
  665. {
  666. "type": "boolean",
  667. "description": "是否只获取未读信息",
  668. "name": "onlyUnRead",
  669. "in": "query"
  670. },
  671. {
  672. "type": "integer",
  673. "description": "自增ID,传入后会返回这个ID后面的记录",
  674. "name": "lastID",
  675. "in": "query"
  676. }
  677. ],
  678. "responses": {
  679. "200": {
  680. "description": "OK",
  681. "schema": {
  682. "$ref": "#/definitions/common.QueryNoticeRsp"
  683. }
  684. },
  685. "500": {
  686. "description": "Internal Server Error",
  687. "schema": {
  688. "$ref": "#/definitions/app.Response"
  689. }
  690. }
  691. }
  692. }
  693. },
  694. "/Common/QueryProvincesAndCities": {
  695. "get": {
  696. "produces": [
  697. "application/json"
  698. ],
  699. "tags": [
  700. "通用服务"
  701. ],
  702. "summary": "查询省市信息(不包括区)",
  703. "parameters": [
  704. {
  705. "type": "integer",
  706. "description": "省ID",
  707. "name": "provinceID",
  708. "in": "query"
  709. }
  710. ],
  711. "responses": {
  712. "200": {
  713. "description": "OK",
  714. "schema": {
  715. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  716. }
  717. },
  718. "500": {
  719. "description": "Internal Server Error",
  720. "schema": {
  721. "$ref": "#/definitions/app.Response"
  722. }
  723. }
  724. }
  725. }
  726. },
  727. "/Common/QueryTableDefine": {
  728. "get": {
  729. "produces": [
  730. "application/json"
  731. ],
  732. "tags": [
  733. "通用服务"
  734. ],
  735. "summary": "查询交易端列表头信息",
  736. "parameters": [
  737. {
  738. "type": "string",
  739. "description": "表key",
  740. "name": "tableKey",
  741. "in": "query"
  742. },
  743. {
  744. "type": "integer",
  745. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  746. "name": "tableType",
  747. "in": "query"
  748. }
  749. ],
  750. "responses": {
  751. "200": {
  752. "description": "OK",
  753. "schema": {
  754. "$ref": "#/definitions/common.QueryTableDefineRsp"
  755. }
  756. },
  757. "500": {
  758. "description": "Internal Server Error",
  759. "schema": {
  760. "$ref": "#/definitions/app.Response"
  761. }
  762. }
  763. }
  764. }
  765. },
  766. "/Common/QueryTraderMenu": {
  767. "get": {
  768. "produces": [
  769. "application/json"
  770. ],
  771. "tags": [
  772. "通用服务"
  773. ],
  774. "summary": "查询交易端菜单",
  775. "parameters": [
  776. {
  777. "type": "integer",
  778. "description": "登录账号",
  779. "name": "loginid",
  780. "in": "query",
  781. "required": true
  782. }
  783. ],
  784. "responses": {
  785. "200": {
  786. "description": "OK",
  787. "schema": {
  788. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  789. }
  790. },
  791. "500": {
  792. "description": "Internal Server Error",
  793. "schema": {
  794. "$ref": "#/definitions/app.Response"
  795. }
  796. }
  797. }
  798. }
  799. },
  800. "/Delivery/QueryDeliveryRelation": {
  801. "get": {
  802. "security": [
  803. {
  804. "ApiKeyAuth": []
  805. }
  806. ],
  807. "produces": [
  808. "application/json"
  809. ],
  810. "tags": [
  811. "交割服务"
  812. ],
  813. "summary": "查询商品交割关系表",
  814. "parameters": [
  815. {
  816. "type": "integer",
  817. "description": "商品ID",
  818. "name": "goodsid",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "品种ID",
  824. "name": "deliverygoodsid",
  825. "in": "query"
  826. },
  827. {
  828. "type": "integer",
  829. "description": "市场ID",
  830. "name": "marketid",
  831. "in": "query"
  832. }
  833. ],
  834. "responses": {
  835. "200": {
  836. "description": "OK",
  837. "schema": {
  838. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  839. }
  840. },
  841. "500": {
  842. "description": "Internal Server Error",
  843. "schema": {
  844. "$ref": "#/definitions/app.Response"
  845. }
  846. }
  847. }
  848. }
  849. },
  850. "/Ermcp/GetErmcpGoods": {
  851. "get": {
  852. "security": [
  853. {
  854. "ApiKeyAuth": []
  855. }
  856. ],
  857. "produces": [
  858. "application/json"
  859. ],
  860. "tags": [
  861. "企业风险管理(app)"
  862. ],
  863. "summary": "查询企业风管期货商品信息",
  864. "parameters": [
  865. {
  866. "type": "string",
  867. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  868. "name": "lastUpdateTime",
  869. "in": "query"
  870. }
  871. ],
  872. "responses": {
  873. "200": {
  874. "description": "OK",
  875. "schema": {
  876. "$ref": "#/definitions/models.ErmcpGoods"
  877. }
  878. },
  879. "500": {
  880. "description": "Internal Server Error",
  881. "schema": {
  882. "$ref": "#/definitions/app.Response"
  883. }
  884. }
  885. }
  886. }
  887. },
  888. "/Ermcp/GetErmcpGoodsSortByPosition": {
  889. "get": {
  890. "security": [
  891. {
  892. "ApiKeyAuth": []
  893. }
  894. ],
  895. "produces": [
  896. "application/json"
  897. ],
  898. "tags": [
  899. "企业风险管理(app)"
  900. ],
  901. "summary": "查询企业风管期货主力、次主力商品信息",
  902. "parameters": [
  903. {
  904. "type": "string",
  905. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  906. "name": "sortIndex",
  907. "in": "query"
  908. }
  909. ],
  910. "responses": {
  911. "200": {
  912. "description": "OK",
  913. "schema": {
  914. "$ref": "#/definitions/models.Goodssortbypreposition"
  915. }
  916. },
  917. "500": {
  918. "description": "Internal Server Error",
  919. "schema": {
  920. "$ref": "#/definitions/app.Response"
  921. }
  922. }
  923. }
  924. }
  925. },
  926. "/Ermcp/GetErmcpOutAccountStatus": {
  927. "get": {
  928. "security": [
  929. {
  930. "ApiKeyAuth": []
  931. }
  932. ],
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "企业风险管理(app)"
  938. ],
  939. "summary": "获取目标登录账号当前对冲账号在线状态",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "登录账号",
  944. "name": "loginID",
  945. "in": "query",
  946. "required": true
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "$ref": "#/definitions/models.Hedgemarketopenlog"
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "获取企业风管终端权限",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "登录账号",
  983. "name": "loginID",
  984. "in": "query",
  985. "required": true
  986. }
  987. ],
  988. "responses": {
  989. "200": {
  990. "description": "OK",
  991. "schema": {
  992. "$ref": "#/definitions/models.Funcmenulist"
  993. }
  994. },
  995. "500": {
  996. "description": "Internal Server Error",
  997. "schema": {
  998. "$ref": "#/definitions/app.Response"
  999. }
  1000. }
  1001. }
  1002. }
  1003. },
  1004. "/Ermcp/QueryAccMgrBizGroupSet": {
  1005. "get": {
  1006. "security": [
  1007. {
  1008. "ApiKeyAuth": []
  1009. }
  1010. ],
  1011. "produces": [
  1012. "application/json"
  1013. ],
  1014. "tags": [
  1015. "企业风险管理(app)"
  1016. ],
  1017. "summary": "查询业务类型分组(账户管理/账户设置)",
  1018. "parameters": [
  1019. {
  1020. "type": "integer",
  1021. "description": "用户ID",
  1022. "name": "userid",
  1023. "in": "query",
  1024. "required": true
  1025. },
  1026. {
  1027. "type": "integer",
  1028. "description": "现货商品id",
  1029. "name": "deliverygoodsid",
  1030. "in": "query"
  1031. }
  1032. ],
  1033. "responses": {
  1034. "200": {
  1035. "description": "OK",
  1036. "schema": {
  1037. "type": "array",
  1038. "items": {
  1039. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1040. }
  1041. }
  1042. },
  1043. "500": {
  1044. "description": "Internal Server Error",
  1045. "schema": {
  1046. "$ref": "#/definitions/app.Response"
  1047. }
  1048. }
  1049. }
  1050. }
  1051. },
  1052. "/Ermcp/QueryAccMgrLoginUser": {
  1053. "get": {
  1054. "security": [
  1055. {
  1056. "ApiKeyAuth": []
  1057. }
  1058. ],
  1059. "produces": [
  1060. "application/json"
  1061. ],
  1062. "tags": [
  1063. "企业风险管理(app)"
  1064. ],
  1065. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1066. "parameters": [
  1067. {
  1068. "type": "integer",
  1069. "description": "用户ID",
  1070. "name": "userid",
  1071. "in": "query",
  1072. "required": true
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "用户类型 2-机构 7-企业成员",
  1077. "name": "usertype",
  1078. "in": "query"
  1079. },
  1080. {
  1081. "type": "integer",
  1082. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1083. "name": "querytype",
  1084. "in": "query",
  1085. "required": true
  1086. }
  1087. ],
  1088. "responses": {
  1089. "200": {
  1090. "description": "OK",
  1091. "schema": {
  1092. "type": "array",
  1093. "items": {
  1094. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1095. }
  1096. }
  1097. },
  1098. "500": {
  1099. "description": "Internal Server Error",
  1100. "schema": {
  1101. "$ref": "#/definitions/app.Response"
  1102. }
  1103. }
  1104. }
  1105. }
  1106. },
  1107. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1108. "get": {
  1109. "security": [
  1110. {
  1111. "ApiKeyAuth": []
  1112. }
  1113. ],
  1114. "produces": [
  1115. "application/json"
  1116. ],
  1117. "tags": [
  1118. "企业风险管理(app)"
  1119. ],
  1120. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1121. "parameters": [
  1122. {
  1123. "type": "integer",
  1124. "description": "用户ID",
  1125. "name": "userid",
  1126. "in": "query"
  1127. },
  1128. {
  1129. "type": "integer",
  1130. "description": "主账号id",
  1131. "name": "accountid",
  1132. "in": "query"
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.MainAccountInfo"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrRole": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query",
  1174. "required": true
  1175. }
  1176. ],
  1177. "responses": {
  1178. "200": {
  1179. "description": "OK",
  1180. "schema": {
  1181. "type": "array",
  1182. "items": {
  1183. "$ref": "#/definitions/models.ErmcpRole"
  1184. }
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/QueryAccMgrRoleMenu": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户ID",
  1214. "name": "userid",
  1215. "in": "query",
  1216. "required": true
  1217. },
  1218. {
  1219. "type": "string",
  1220. "description": "角色id(可多个,逗号隔开)",
  1221. "name": "roleid",
  1222. "in": "query"
  1223. },
  1224. {
  1225. "type": "integer",
  1226. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1227. "name": "menutype",
  1228. "in": "query"
  1229. }
  1230. ],
  1231. "responses": {
  1232. "200": {
  1233. "description": "OK",
  1234. "schema": {
  1235. "type": "array",
  1236. "items": {
  1237. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1238. }
  1239. }
  1240. },
  1241. "500": {
  1242. "description": "Internal Server Error",
  1243. "schema": {
  1244. "$ref": "#/definitions/app.Response"
  1245. }
  1246. }
  1247. }
  1248. }
  1249. },
  1250. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1251. "get": {
  1252. "security": [
  1253. {
  1254. "ApiKeyAuth": []
  1255. }
  1256. ],
  1257. "produces": [
  1258. "application/json"
  1259. ],
  1260. "tags": [
  1261. "企业风险管理(app)"
  1262. ],
  1263. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1264. "parameters": [
  1265. {
  1266. "type": "integer",
  1267. "description": "用户ID",
  1268. "name": "userid",
  1269. "in": "query",
  1270. "required": true
  1271. },
  1272. {
  1273. "type": "integer",
  1274. "description": "账号id",
  1275. "name": "accountid",
  1276. "in": "query"
  1277. }
  1278. ],
  1279. "responses": {
  1280. "200": {
  1281. "description": "OK",
  1282. "schema": {
  1283. "type": "array",
  1284. "items": {
  1285. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1286. }
  1287. }
  1288. },
  1289. "500": {
  1290. "description": "Internal Server Error",
  1291. "schema": {
  1292. "$ref": "#/definitions/app.Response"
  1293. }
  1294. }
  1295. }
  1296. }
  1297. },
  1298. "/Ermcp/QueryAccMgrTaaccount": {
  1299. "get": {
  1300. "security": [
  1301. {
  1302. "ApiKeyAuth": []
  1303. }
  1304. ],
  1305. "produces": [
  1306. "application/json"
  1307. ],
  1308. "tags": [
  1309. "企业风险管理(app)"
  1310. ],
  1311. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1312. "parameters": [
  1313. {
  1314. "type": "integer",
  1315. "description": "用户ID",
  1316. "name": "userid",
  1317. "in": "query",
  1318. "required": true
  1319. }
  1320. ],
  1321. "responses": {
  1322. "200": {
  1323. "description": "OK",
  1324. "schema": {
  1325. "type": "array",
  1326. "items": {
  1327. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1328. }
  1329. }
  1330. },
  1331. "500": {
  1332. "description": "Internal Server Error",
  1333. "schema": {
  1334. "$ref": "#/definitions/app.Response"
  1335. }
  1336. }
  1337. }
  1338. }
  1339. },
  1340. "/Ermcp/QueryAvaildGoodsGroup": {
  1341. "get": {
  1342. "security": [
  1343. {
  1344. "ApiKeyAuth": []
  1345. }
  1346. ],
  1347. "produces": [
  1348. "application/json"
  1349. ],
  1350. "tags": [
  1351. "企业风险管理(app)"
  1352. ],
  1353. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1354. "parameters": [
  1355. {
  1356. "type": "integer",
  1357. "description": "所属机构ID",
  1358. "name": "userid",
  1359. "in": "query",
  1360. "required": true
  1361. }
  1362. ],
  1363. "responses": {
  1364. "200": {
  1365. "description": "OK",
  1366. "schema": {
  1367. "type": "array",
  1368. "items": {
  1369. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1370. }
  1371. }
  1372. },
  1373. "500": {
  1374. "description": "Internal Server Error",
  1375. "schema": {
  1376. "$ref": "#/definitions/app.Response"
  1377. }
  1378. }
  1379. }
  1380. }
  1381. },
  1382. "/Ermcp/QueryBusinessDj": {
  1383. "get": {
  1384. "security": [
  1385. {
  1386. "ApiKeyAuth": []
  1387. }
  1388. ],
  1389. "produces": [
  1390. "application/json"
  1391. ],
  1392. "tags": [
  1393. "企业风险管理(app)"
  1394. ],
  1395. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1396. "parameters": [
  1397. {
  1398. "type": "integer",
  1399. "description": "用户ID",
  1400. "name": "UserId",
  1401. "in": "query",
  1402. "required": true
  1403. },
  1404. {
  1405. "type": "integer",
  1406. "description": "用户类型 2-机构 7-企业成员",
  1407. "name": "usertype",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "string",
  1412. "description": "现货合同ID, 不填则查所有",
  1413. "name": "relatedid",
  1414. "in": "query"
  1415. },
  1416. {
  1417. "type": "string",
  1418. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1419. "name": "applystatus",
  1420. "in": "query"
  1421. }
  1422. ],
  1423. "responses": {
  1424. "200": {
  1425. "description": "OK",
  1426. "schema": {
  1427. "type": "array",
  1428. "items": {
  1429. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1430. }
  1431. }
  1432. },
  1433. "500": {
  1434. "description": "Internal Server Error",
  1435. "schema": {
  1436. "$ref": "#/definitions/app.Response"
  1437. }
  1438. }
  1439. }
  1440. }
  1441. },
  1442. "/Ermcp/QueryBusinessFp": {
  1443. "get": {
  1444. "security": [
  1445. {
  1446. "ApiKeyAuth": []
  1447. }
  1448. ],
  1449. "produces": [
  1450. "application/json"
  1451. ],
  1452. "tags": [
  1453. "企业风险管理(app)"
  1454. ],
  1455. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1456. "parameters": [
  1457. {
  1458. "type": "integer",
  1459. "description": "用户ID",
  1460. "name": "UserId",
  1461. "in": "query",
  1462. "required": true
  1463. },
  1464. {
  1465. "type": "integer",
  1466. "description": "用户类型 2-机构 7-企业成员",
  1467. "name": "usertype",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "string",
  1472. "description": "现货合同ID, 不填则查所有",
  1473. "name": "relatedid",
  1474. "in": "query"
  1475. },
  1476. {
  1477. "type": "string",
  1478. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1479. "name": "applystatus",
  1480. "in": "query"
  1481. }
  1482. ],
  1483. "responses": {
  1484. "200": {
  1485. "description": "OK",
  1486. "schema": {
  1487. "type": "array",
  1488. "items": {
  1489. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1490. }
  1491. }
  1492. },
  1493. "500": {
  1494. "description": "Internal Server Error",
  1495. "schema": {
  1496. "$ref": "#/definitions/app.Response"
  1497. }
  1498. }
  1499. }
  1500. }
  1501. },
  1502. "/Ermcp/QueryBusinessJs": {
  1503. "get": {
  1504. "security": [
  1505. {
  1506. "ApiKeyAuth": []
  1507. }
  1508. ],
  1509. "produces": [
  1510. "application/json"
  1511. ],
  1512. "tags": [
  1513. "企业风险管理(app)"
  1514. ],
  1515. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1516. "parameters": [
  1517. {
  1518. "type": "integer",
  1519. "description": "用户ID",
  1520. "name": "UserId",
  1521. "in": "query",
  1522. "required": true
  1523. },
  1524. {
  1525. "type": "integer",
  1526. "description": "用户类型 2-机构 7-企业成员",
  1527. "name": "usertype",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "现货合同ID, 不填则查所有",
  1533. "name": "relatedid",
  1534. "in": "query"
  1535. },
  1536. {
  1537. "type": "string",
  1538. "description": "操作申请id",
  1539. "name": "operateapplyid",
  1540. "in": "query"
  1541. },
  1542. {
  1543. "type": "string",
  1544. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1545. "name": "applystatus",
  1546. "in": "query"
  1547. }
  1548. ],
  1549. "responses": {
  1550. "200": {
  1551. "description": "OK",
  1552. "schema": {
  1553. "type": "array",
  1554. "items": {
  1555. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1556. }
  1557. }
  1558. },
  1559. "500": {
  1560. "description": "Internal Server Error",
  1561. "schema": {
  1562. "$ref": "#/definitions/app.Response"
  1563. }
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "/Ermcp/QueryBusinessJsEx": {
  1569. "get": {
  1570. "security": [
  1571. {
  1572. "ApiKeyAuth": []
  1573. }
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "企业风险管理(app)"
  1580. ],
  1581. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1582. "parameters": [
  1583. {
  1584. "type": "integer",
  1585. "description": "用户ID",
  1586. "name": "UserId",
  1587. "in": "query",
  1588. "required": true
  1589. },
  1590. {
  1591. "type": "integer",
  1592. "description": "用户类型 2-机构 7-企业成员",
  1593. "name": "usertype",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "string",
  1598. "description": "现货合同ID, 不填则查所有",
  1599. "name": "relatedid",
  1600. "in": "query"
  1601. },
  1602. {
  1603. "type": "string",
  1604. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1605. "name": "applystatus",
  1606. "in": "query"
  1607. }
  1608. ],
  1609. "responses": {
  1610. "200": {
  1611. "description": "OK",
  1612. "schema": {
  1613. "type": "array",
  1614. "items": {
  1615. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1616. }
  1617. }
  1618. },
  1619. "500": {
  1620. "description": "Internal Server Error",
  1621. "schema": {
  1622. "$ref": "#/definitions/app.Response"
  1623. }
  1624. }
  1625. }
  1626. }
  1627. },
  1628. "/Ermcp/QueryBusinessKx": {
  1629. "get": {
  1630. "security": [
  1631. {
  1632. "ApiKeyAuth": []
  1633. }
  1634. ],
  1635. "produces": [
  1636. "application/json"
  1637. ],
  1638. "tags": [
  1639. "企业风险管理(app)"
  1640. ],
  1641. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1642. "parameters": [
  1643. {
  1644. "type": "integer",
  1645. "description": "用户ID",
  1646. "name": "UserId",
  1647. "in": "query",
  1648. "required": true
  1649. },
  1650. {
  1651. "type": "integer",
  1652. "description": "用户类型 2-机构 7-企业成员",
  1653. "name": "usertype",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "string",
  1658. "description": "现货合同ID, 不填则查所有",
  1659. "name": "relatedid",
  1660. "in": "query"
  1661. },
  1662. {
  1663. "type": "string",
  1664. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1665. "name": "applystatus",
  1666. "in": "query"
  1667. }
  1668. ],
  1669. "responses": {
  1670. "200": {
  1671. "description": "OK",
  1672. "schema": {
  1673. "type": "array",
  1674. "items": {
  1675. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1676. }
  1677. }
  1678. },
  1679. "500": {
  1680. "description": "Internal Server Error",
  1681. "schema": {
  1682. "$ref": "#/definitions/app.Response"
  1683. }
  1684. }
  1685. }
  1686. }
  1687. },
  1688. "/Ermcp/QueryChangeLog": {
  1689. "get": {
  1690. "security": [
  1691. {
  1692. "ApiKeyAuth": []
  1693. }
  1694. ],
  1695. "produces": [
  1696. "application/json"
  1697. ],
  1698. "tags": [
  1699. "企业风险管理(app)"
  1700. ],
  1701. "summary": "查询变更记录",
  1702. "parameters": [
  1703. {
  1704. "type": "string",
  1705. "description": "合同ID",
  1706. "name": "RelatedId",
  1707. "in": "query",
  1708. "required": true
  1709. }
  1710. ],
  1711. "responses": {
  1712. "200": {
  1713. "description": "OK",
  1714. "schema": {
  1715. "type": "array",
  1716. "items": {
  1717. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1718. }
  1719. }
  1720. },
  1721. "500": {
  1722. "description": "Internal Server Error",
  1723. "schema": {
  1724. "$ref": "#/definitions/app.Response"
  1725. }
  1726. }
  1727. }
  1728. }
  1729. },
  1730. "/Ermcp/QueryErmcpHisOrderDetails": {
  1731. "get": {
  1732. "security": [
  1733. {
  1734. "ApiKeyAuth": []
  1735. }
  1736. ],
  1737. "produces": [
  1738. "application/json"
  1739. ],
  1740. "tags": [
  1741. "企业风险管理(app)"
  1742. ],
  1743. "summary": "获取企业风管期货历史委托单信息",
  1744. "parameters": [
  1745. {
  1746. "type": "integer",
  1747. "description": "资金账户ID",
  1748. "name": "accountID",
  1749. "in": "query",
  1750. "required": true
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1755. "name": "startDate",
  1756. "in": "query"
  1757. },
  1758. {
  1759. "type": "string",
  1760. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1761. "name": "endDate",
  1762. "in": "query"
  1763. }
  1764. ],
  1765. "responses": {
  1766. "200": {
  1767. "description": "OK",
  1768. "schema": {
  1769. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1770. }
  1771. },
  1772. "500": {
  1773. "description": "Internal Server Error",
  1774. "schema": {
  1775. "$ref": "#/definitions/app.Response"
  1776. }
  1777. }
  1778. }
  1779. }
  1780. },
  1781. "/Ermcp/QueryErmcpHisTradeDetails": {
  1782. "get": {
  1783. "security": [
  1784. {
  1785. "ApiKeyAuth": []
  1786. }
  1787. ],
  1788. "produces": [
  1789. "application/json"
  1790. ],
  1791. "tags": [
  1792. "企业风险管理(app)"
  1793. ],
  1794. "summary": "获取企业风管期货历史成交单信息",
  1795. "parameters": [
  1796. {
  1797. "type": "integer",
  1798. "description": "资金账户ID",
  1799. "name": "accountID",
  1800. "in": "query",
  1801. "required": true
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "商品ID",
  1806. "name": "goodsID",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "integer",
  1811. "description": "买卖方向,0:买 1:卖",
  1812. "name": "buyOrSell",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "integer",
  1817. "description": "关联委托单号",
  1818. "name": "orderID",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "string",
  1823. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1824. "name": "startDate",
  1825. "in": "query"
  1826. },
  1827. {
  1828. "type": "string",
  1829. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1830. "name": "endDate",
  1831. "in": "query"
  1832. }
  1833. ],
  1834. "responses": {
  1835. "200": {
  1836. "description": "OK",
  1837. "schema": {
  1838. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1839. }
  1840. },
  1841. "500": {
  1842. "description": "Internal Server Error",
  1843. "schema": {
  1844. "$ref": "#/definitions/app.Response"
  1845. }
  1846. }
  1847. }
  1848. }
  1849. },
  1850. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1851. "get": {
  1852. "security": [
  1853. {
  1854. "ApiKeyAuth": []
  1855. }
  1856. ],
  1857. "produces": [
  1858. "application/json"
  1859. ],
  1860. "tags": [
  1861. "企业风险管理(app)"
  1862. ],
  1863. "summary": "获取企业风管期货内部持仓单信息",
  1864. "parameters": [
  1865. {
  1866. "type": "integer",
  1867. "description": "资金账户ID",
  1868. "name": "accountID",
  1869. "in": "query",
  1870. "required": true
  1871. },
  1872. {
  1873. "type": "integer",
  1874. "description": "商品ID",
  1875. "name": "goodsID",
  1876. "in": "query"
  1877. },
  1878. {
  1879. "type": "integer",
  1880. "description": "买卖方向,0:买 1:卖",
  1881. "name": "buyOrSell",
  1882. "in": "query"
  1883. }
  1884. ],
  1885. "responses": {
  1886. "200": {
  1887. "description": "OK",
  1888. "schema": {
  1889. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1890. }
  1891. },
  1892. "500": {
  1893. "description": "Internal Server Error",
  1894. "schema": {
  1895. "$ref": "#/definitions/app.Response"
  1896. }
  1897. }
  1898. }
  1899. }
  1900. },
  1901. "/Ermcp/QueryErmcpOrderDetails": {
  1902. "get": {
  1903. "security": [
  1904. {
  1905. "ApiKeyAuth": []
  1906. }
  1907. ],
  1908. "produces": [
  1909. "application/json"
  1910. ],
  1911. "tags": [
  1912. "企业风险管理(app)"
  1913. ],
  1914. "summary": "获取企业风管期货委托单信息",
  1915. "parameters": [
  1916. {
  1917. "type": "integer",
  1918. "description": "资金账户ID",
  1919. "name": "accountID",
  1920. "in": "query",
  1921. "required": true
  1922. }
  1923. ],
  1924. "responses": {
  1925. "200": {
  1926. "description": "OK",
  1927. "schema": {
  1928. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1929. }
  1930. },
  1931. "500": {
  1932. "description": "Internal Server Error",
  1933. "schema": {
  1934. "$ref": "#/definitions/app.Response"
  1935. }
  1936. }
  1937. }
  1938. }
  1939. },
  1940. "/Ermcp/QueryErmcpTradeDetails": {
  1941. "get": {
  1942. "security": [
  1943. {
  1944. "ApiKeyAuth": []
  1945. }
  1946. ],
  1947. "produces": [
  1948. "application/json"
  1949. ],
  1950. "tags": [
  1951. "企业风险管理(app)"
  1952. ],
  1953. "summary": "获取企业风管期货成交单信息",
  1954. "parameters": [
  1955. {
  1956. "type": "integer",
  1957. "description": "资金账户ID",
  1958. "name": "accountID",
  1959. "in": "query",
  1960. "required": true
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "商品ID",
  1965. "name": "goodsID",
  1966. "in": "query"
  1967. },
  1968. {
  1969. "type": "integer",
  1970. "description": "买卖方向,0:买 1:卖",
  1971. "name": "buyOrSell",
  1972. "in": "query"
  1973. },
  1974. {
  1975. "type": "integer",
  1976. "description": "关联委托单号",
  1977. "name": "orderID",
  1978. "in": "query"
  1979. }
  1980. ],
  1981. "responses": {
  1982. "200": {
  1983. "description": "OK",
  1984. "schema": {
  1985. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1986. }
  1987. },
  1988. "500": {
  1989. "description": "Internal Server Error",
  1990. "schema": {
  1991. "$ref": "#/definitions/app.Response"
  1992. }
  1993. }
  1994. }
  1995. }
  1996. },
  1997. "/Ermcp/QueryErmcpTradePosition": {
  1998. "get": {
  1999. "security": [
  2000. {
  2001. "ApiKeyAuth": []
  2002. }
  2003. ],
  2004. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2005. "produces": [
  2006. "application/json"
  2007. ],
  2008. "tags": [
  2009. "企业风险管理(app)"
  2010. ],
  2011. "summary": "获取企业风管期货持仓头寸信息",
  2012. "parameters": [
  2013. {
  2014. "type": "integer",
  2015. "description": "资金账户ID",
  2016. "name": "accountID",
  2017. "in": "query",
  2018. "required": true
  2019. },
  2020. {
  2021. "type": "integer",
  2022. "description": "所属市场ID",
  2023. "name": "marketID",
  2024. "in": "query"
  2025. }
  2026. ],
  2027. "responses": {
  2028. "200": {
  2029. "description": "OK",
  2030. "schema": {
  2031. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2032. }
  2033. },
  2034. "500": {
  2035. "description": "Internal Server Error",
  2036. "schema": {
  2037. "$ref": "#/definitions/app.Response"
  2038. }
  2039. }
  2040. }
  2041. }
  2042. },
  2043. "/Ermcp/QueryExposureDetail": {
  2044. "get": {
  2045. "security": [
  2046. {
  2047. "ApiKeyAuth": []
  2048. }
  2049. ],
  2050. "produces": [
  2051. "application/json"
  2052. ],
  2053. "tags": [
  2054. "企业风险管理(app)"
  2055. ],
  2056. "summary": "查询敞口现货明细",
  2057. "parameters": [
  2058. {
  2059. "type": "integer",
  2060. "description": "所属机构ID",
  2061. "name": "areaUserId",
  2062. "in": "query",
  2063. "required": true
  2064. },
  2065. {
  2066. "type": "integer",
  2067. "description": "套保商品",
  2068. "name": "middleGoodsId",
  2069. "in": "query",
  2070. "required": true
  2071. }
  2072. ],
  2073. "responses": {
  2074. "200": {
  2075. "description": "OK",
  2076. "schema": {
  2077. "type": "array",
  2078. "items": {
  2079. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2080. }
  2081. }
  2082. },
  2083. "500": {
  2084. "description": "Internal Server Error",
  2085. "schema": {
  2086. "$ref": "#/definitions/app.Response"
  2087. }
  2088. }
  2089. }
  2090. }
  2091. },
  2092. "/Ermcp/QueryExposureGoods": {
  2093. "get": {
  2094. "security": [
  2095. {
  2096. "ApiKeyAuth": []
  2097. }
  2098. ],
  2099. "produces": [
  2100. "application/json"
  2101. ],
  2102. "tags": [
  2103. "企业风险管理(app)"
  2104. ],
  2105. "summary": "查询敞口主力合约",
  2106. "parameters": [
  2107. {
  2108. "type": "integer",
  2109. "description": "套保商品id",
  2110. "name": "middlegoodsid",
  2111. "in": "query",
  2112. "required": true
  2113. }
  2114. ],
  2115. "responses": {
  2116. "200": {
  2117. "description": "OK",
  2118. "schema": {
  2119. "type": "array",
  2120. "items": {
  2121. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2122. }
  2123. }
  2124. },
  2125. "500": {
  2126. "description": "Internal Server Error",
  2127. "schema": {
  2128. "$ref": "#/definitions/app.Response"
  2129. }
  2130. }
  2131. }
  2132. }
  2133. },
  2134. "/Ermcp/QueryExposureHedgePosition": {
  2135. "get": {
  2136. "security": [
  2137. {
  2138. "ApiKeyAuth": []
  2139. }
  2140. ],
  2141. "produces": [
  2142. "application/json"
  2143. ],
  2144. "tags": [
  2145. "企业风险管理(app)"
  2146. ],
  2147. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2148. "parameters": [
  2149. {
  2150. "type": "integer",
  2151. "description": "用户id",
  2152. "name": "userid",
  2153. "in": "query",
  2154. "required": true
  2155. }
  2156. ],
  2157. "responses": {
  2158. "200": {
  2159. "description": "OK",
  2160. "schema": {
  2161. "type": "array",
  2162. "items": {
  2163. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2164. }
  2165. }
  2166. },
  2167. "500": {
  2168. "description": "Internal Server Error",
  2169. "schema": {
  2170. "$ref": "#/definitions/app.Response"
  2171. }
  2172. }
  2173. }
  2174. }
  2175. },
  2176. "/Ermcp/QueryExposureHedgePositionDetail": {
  2177. "get": {
  2178. "security": [
  2179. {
  2180. "ApiKeyAuth": []
  2181. }
  2182. ],
  2183. "produces": [
  2184. "application/json"
  2185. ],
  2186. "tags": [
  2187. "企业风险管理(app)"
  2188. ],
  2189. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2190. "parameters": [
  2191. {
  2192. "type": "integer",
  2193. "description": "所属机构ID",
  2194. "name": "userid",
  2195. "in": "query",
  2196. "required": true
  2197. },
  2198. {
  2199. "type": "integer",
  2200. "description": "商品id",
  2201. "name": "goodsId",
  2202. "in": "query",
  2203. "required": true
  2204. }
  2205. ],
  2206. "responses": {
  2207. "200": {
  2208. "description": "OK",
  2209. "schema": {
  2210. "type": "array",
  2211. "items": {
  2212. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2213. }
  2214. }
  2215. },
  2216. "500": {
  2217. "description": "Internal Server Error",
  2218. "schema": {
  2219. "$ref": "#/definitions/app.Response"
  2220. }
  2221. }
  2222. }
  2223. }
  2224. },
  2225. "/Ermcp/QueryExposureSpot": {
  2226. "get": {
  2227. "security": [
  2228. {
  2229. "ApiKeyAuth": []
  2230. }
  2231. ],
  2232. "produces": [
  2233. "application/json"
  2234. ],
  2235. "tags": [
  2236. "企业风险管理(app)"
  2237. ],
  2238. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2239. "parameters": [
  2240. {
  2241. "type": "integer",
  2242. "description": "所属机构ID",
  2243. "name": "areaUserId",
  2244. "in": "query",
  2245. "required": true
  2246. }
  2247. ],
  2248. "responses": {
  2249. "200": {
  2250. "description": "OK",
  2251. "schema": {
  2252. "type": "array",
  2253. "items": {
  2254. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2255. }
  2256. }
  2257. },
  2258. "500": {
  2259. "description": "Internal Server Error",
  2260. "schema": {
  2261. "$ref": "#/definitions/app.Response"
  2262. }
  2263. }
  2264. }
  2265. }
  2266. },
  2267. "/Ermcp/QueryExposureSpotDetail": {
  2268. "get": {
  2269. "security": [
  2270. {
  2271. "ApiKeyAuth": []
  2272. }
  2273. ],
  2274. "produces": [
  2275. "application/json"
  2276. ],
  2277. "tags": [
  2278. "企业风险管理(app)"
  2279. ],
  2280. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2281. "parameters": [
  2282. {
  2283. "type": "integer",
  2284. "description": "所属机构ID",
  2285. "name": "areaUserId",
  2286. "in": "query",
  2287. "required": true
  2288. },
  2289. {
  2290. "type": "integer",
  2291. "description": "现货品种ID",
  2292. "name": "wrstandardId",
  2293. "in": "query",
  2294. "required": true
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "OK",
  2300. "schema": {
  2301. "type": "array",
  2302. "items": {
  2303. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2304. }
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/Ermcp/QueryFuturesCompany": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "企业风险管理(app)"
  2328. ],
  2329. "summary": "查询期货公司",
  2330. "responses": {
  2331. "200": {
  2332. "description": "OK",
  2333. "schema": {
  2334. "type": "array",
  2335. "items": {
  2336. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2337. }
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryGGConvertConfig": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "produces": [
  2357. "application/json"
  2358. ],
  2359. "tags": [
  2360. "企业风险管理(app)"
  2361. ],
  2362. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2363. "parameters": [
  2364. {
  2365. "type": "integer",
  2366. "description": "品种id(不填则查所有)",
  2367. "name": "goodsgroupid",
  2368. "in": "query"
  2369. }
  2370. ],
  2371. "responses": {
  2372. "200": {
  2373. "description": "OK",
  2374. "schema": {
  2375. "type": "array",
  2376. "items": {
  2377. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2378. }
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/Ermcp/QueryGoodsBrand": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "企业风险管理(app)"
  2402. ],
  2403. "summary": "查询商品品牌",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "用户ID",
  2408. "name": "userid",
  2409. "in": "query",
  2410. "required": true
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "现货商品ID",
  2415. "name": "wrstandardid",
  2416. "in": "query"
  2417. }
  2418. ],
  2419. "responses": {
  2420. "200": {
  2421. "description": "OK",
  2422. "schema": {
  2423. "type": "array",
  2424. "items": {
  2425. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2426. }
  2427. }
  2428. },
  2429. "500": {
  2430. "description": "Internal Server Error",
  2431. "schema": {
  2432. "$ref": "#/definitions/app.Response"
  2433. }
  2434. }
  2435. }
  2436. }
  2437. },
  2438. "/Ermcp/QueryGoodsModel": {
  2439. "get": {
  2440. "security": [
  2441. {
  2442. "ApiKeyAuth": []
  2443. }
  2444. ],
  2445. "produces": [
  2446. "application/json"
  2447. ],
  2448. "tags": [
  2449. "企业风险管理(app)"
  2450. ],
  2451. "summary": "查询商品型号",
  2452. "parameters": [
  2453. {
  2454. "type": "integer",
  2455. "description": "用户ID",
  2456. "name": "userid",
  2457. "in": "query",
  2458. "required": true
  2459. }
  2460. ],
  2461. "responses": {
  2462. "200": {
  2463. "description": "OK",
  2464. "schema": {
  2465. "type": "array",
  2466. "items": {
  2467. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2468. }
  2469. }
  2470. },
  2471. "500": {
  2472. "description": "Internal Server Error",
  2473. "schema": {
  2474. "$ref": "#/definitions/app.Response"
  2475. }
  2476. }
  2477. }
  2478. }
  2479. },
  2480. "/Ermcp/QueryHisExposure": {
  2481. "get": {
  2482. "security": [
  2483. {
  2484. "ApiKeyAuth": []
  2485. }
  2486. ],
  2487. "produces": [
  2488. "application/json"
  2489. ],
  2490. "tags": [
  2491. "企业风险管理(app)"
  2492. ],
  2493. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2494. "parameters": [
  2495. {
  2496. "type": "integer",
  2497. "description": "用户id",
  2498. "name": "userid",
  2499. "in": "query",
  2500. "required": true
  2501. },
  2502. {
  2503. "type": "integer",
  2504. "description": "每个品种记录数",
  2505. "name": "lastNum",
  2506. "in": "query",
  2507. "required": true
  2508. }
  2509. ],
  2510. "responses": {
  2511. "200": {
  2512. "description": "OK",
  2513. "schema": {
  2514. "type": "array",
  2515. "items": {
  2516. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2517. }
  2518. }
  2519. },
  2520. "500": {
  2521. "description": "Internal Server Error",
  2522. "schema": {
  2523. "$ref": "#/definitions/app.Response"
  2524. }
  2525. }
  2526. }
  2527. }
  2528. },
  2529. "/Ermcp/QueryMiddleGoods": {
  2530. "get": {
  2531. "security": [
  2532. {
  2533. "ApiKeyAuth": []
  2534. }
  2535. ],
  2536. "produces": [
  2537. "application/json"
  2538. ],
  2539. "tags": [
  2540. "企业风险管理(app)"
  2541. ],
  2542. "summary": "查询套保品种(菜单:套保品种)",
  2543. "parameters": [
  2544. {
  2545. "type": "integer",
  2546. "description": "所属机构ID",
  2547. "name": "userid",
  2548. "in": "query",
  2549. "required": true
  2550. },
  2551. {
  2552. "type": "integer",
  2553. "description": "状态 0-停用 1-正常",
  2554. "name": "status",
  2555. "in": "query",
  2556. "required": true
  2557. }
  2558. ],
  2559. "responses": {
  2560. "200": {
  2561. "description": "OK",
  2562. "schema": {
  2563. "type": "array",
  2564. "items": {
  2565. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2566. }
  2567. }
  2568. },
  2569. "500": {
  2570. "description": "Internal Server Error",
  2571. "schema": {
  2572. "$ref": "#/definitions/app.Response"
  2573. }
  2574. }
  2575. }
  2576. }
  2577. },
  2578. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2579. "get": {
  2580. "security": [
  2581. {
  2582. "ApiKeyAuth": []
  2583. }
  2584. ],
  2585. "produces": [
  2586. "application/json"
  2587. ],
  2588. "tags": [
  2589. "企业风险管理(app)"
  2590. ],
  2591. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2592. "parameters": [
  2593. {
  2594. "type": "integer",
  2595. "description": "所属机构ID",
  2596. "name": "userid",
  2597. "in": "query",
  2598. "required": true
  2599. },
  2600. {
  2601. "type": "integer",
  2602. "description": "套保品种id",
  2603. "name": "middlegoodsid",
  2604. "in": "query",
  2605. "required": true
  2606. }
  2607. ],
  2608. "responses": {
  2609. "200": {
  2610. "description": "OK",
  2611. "schema": {
  2612. "type": "array",
  2613. "items": {
  2614. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2615. }
  2616. }
  2617. },
  2618. "500": {
  2619. "description": "Internal Server Error",
  2620. "schema": {
  2621. "$ref": "#/definitions/app.Response"
  2622. }
  2623. }
  2624. }
  2625. }
  2626. },
  2627. "/Ermcp/QueryMiddleGoodsDetail": {
  2628. "get": {
  2629. "security": [
  2630. {
  2631. "ApiKeyAuth": []
  2632. }
  2633. ],
  2634. "produces": [
  2635. "application/json"
  2636. ],
  2637. "tags": [
  2638. "企业风险管理(app)"
  2639. ],
  2640. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2641. "parameters": [
  2642. {
  2643. "type": "integer",
  2644. "description": "所属机构ID",
  2645. "name": "userid",
  2646. "in": "query",
  2647. "required": true
  2648. },
  2649. {
  2650. "type": "integer",
  2651. "description": "套保品种id",
  2652. "name": "middlegoodsid",
  2653. "in": "query"
  2654. }
  2655. ],
  2656. "responses": {
  2657. "200": {
  2658. "description": "OK",
  2659. "schema": {
  2660. "type": "array",
  2661. "items": {
  2662. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2663. }
  2664. }
  2665. },
  2666. "500": {
  2667. "description": "Internal Server Error",
  2668. "schema": {
  2669. "$ref": "#/definitions/app.Response"
  2670. }
  2671. }
  2672. }
  2673. }
  2674. },
  2675. "/Ermcp/QueryPendingAuditInfo": {
  2676. "get": {
  2677. "security": [
  2678. {
  2679. "ApiKeyAuth": []
  2680. }
  2681. ],
  2682. "produces": [
  2683. "application/json"
  2684. ],
  2685. "tags": [
  2686. "企业风险管理(app)"
  2687. ],
  2688. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2689. "parameters": [
  2690. {
  2691. "type": "integer",
  2692. "description": "用户ID",
  2693. "name": "UserId",
  2694. "in": "query",
  2695. "required": true
  2696. }
  2697. ],
  2698. "responses": {
  2699. "200": {
  2700. "description": "OK",
  2701. "schema": {
  2702. "type": "array",
  2703. "items": {
  2704. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2705. }
  2706. }
  2707. },
  2708. "500": {
  2709. "description": "Internal Server Error",
  2710. "schema": {
  2711. "$ref": "#/definitions/app.Response"
  2712. }
  2713. }
  2714. }
  2715. }
  2716. },
  2717. "/Ermcp/QueryRealtimeExposure": {
  2718. "get": {
  2719. "security": [
  2720. {
  2721. "ApiKeyAuth": []
  2722. }
  2723. ],
  2724. "produces": [
  2725. "application/json"
  2726. ],
  2727. "tags": [
  2728. "企业风险管理(app)"
  2729. ],
  2730. "summary": "查询实时敞口",
  2731. "parameters": [
  2732. {
  2733. "type": "integer",
  2734. "description": "所属机构ID",
  2735. "name": "userid",
  2736. "in": "query",
  2737. "required": true
  2738. }
  2739. ],
  2740. "responses": {
  2741. "200": {
  2742. "description": "OK",
  2743. "schema": {
  2744. "type": "array",
  2745. "items": {
  2746. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2747. }
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryRealtimeExposurePosition": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "用户id",
  2777. "name": "userid",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "套保商品ID",
  2784. "name": "middleGoodsId",
  2785. "in": "query",
  2786. "required": true
  2787. }
  2788. ],
  2789. "responses": {
  2790. "200": {
  2791. "description": "OK",
  2792. "schema": {
  2793. "type": "array",
  2794. "items": {
  2795. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2796. }
  2797. }
  2798. },
  2799. "500": {
  2800. "description": "Internal Server Error",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. }
  2805. }
  2806. }
  2807. },
  2808. "/Ermcp/QueryRoleMenu": {
  2809. "get": {
  2810. "security": [
  2811. {
  2812. "ApiKeyAuth": []
  2813. }
  2814. ],
  2815. "produces": [
  2816. "application/json"
  2817. ],
  2818. "tags": [
  2819. "企业风险管理(app)"
  2820. ],
  2821. "summary": "查询角色菜单和权限",
  2822. "parameters": [
  2823. {
  2824. "type": "integer",
  2825. "description": "登录ID",
  2826. "name": "loginid",
  2827. "in": "query",
  2828. "required": true
  2829. },
  2830. {
  2831. "type": "integer",
  2832. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2833. "name": "menutype",
  2834. "in": "query"
  2835. }
  2836. ],
  2837. "responses": {
  2838. "200": {
  2839. "description": "OK",
  2840. "schema": {
  2841. "type": "array",
  2842. "items": {
  2843. "$ref": "#/definitions/models.RoleMenu"
  2844. }
  2845. }
  2846. },
  2847. "500": {
  2848. "description": "Internal Server Error",
  2849. "schema": {
  2850. "$ref": "#/definitions/app.Response"
  2851. }
  2852. }
  2853. }
  2854. }
  2855. },
  2856. "/Ermcp/QueryTradeConfigTMP": {
  2857. "get": {
  2858. "security": [
  2859. {
  2860. "ApiKeyAuth": []
  2861. }
  2862. ],
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理(app)"
  2868. ],
  2869. "summary": "查询交易模板配置",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "所属机构id",
  2874. "name": "areauserid",
  2875. "in": "query"
  2876. }
  2877. ],
  2878. "responses": {
  2879. "200": {
  2880. "description": "OK",
  2881. "schema": {
  2882. "type": "array",
  2883. "items": {
  2884. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2885. }
  2886. }
  2887. },
  2888. "500": {
  2889. "description": "Internal Server Error",
  2890. "schema": {
  2891. "$ref": "#/definitions/app.Response"
  2892. }
  2893. }
  2894. }
  2895. }
  2896. },
  2897. "/Ermcp/QueryUserInfo": {
  2898. "get": {
  2899. "security": [
  2900. {
  2901. "ApiKeyAuth": []
  2902. }
  2903. ],
  2904. "produces": [
  2905. "application/json"
  2906. ],
  2907. "tags": [
  2908. "企业风险管理(app)"
  2909. ],
  2910. "summary": "查询客户资料",
  2911. "parameters": [
  2912. {
  2913. "type": "integer",
  2914. "description": "所属机构用户ID",
  2915. "name": "MemberUserID",
  2916. "in": "query",
  2917. "required": true
  2918. },
  2919. {
  2920. "type": "integer",
  2921. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2922. "name": "queryType",
  2923. "in": "query",
  2924. "required": true
  2925. }
  2926. ],
  2927. "responses": {
  2928. "200": {
  2929. "description": "OK",
  2930. "schema": {
  2931. "type": "array",
  2932. "items": {
  2933. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2934. }
  2935. }
  2936. },
  2937. "500": {
  2938. "description": "Internal Server Error",
  2939. "schema": {
  2940. "$ref": "#/definitions/app.Response"
  2941. }
  2942. }
  2943. }
  2944. }
  2945. },
  2946. "/Ermcp/QueryWarehouseInfo": {
  2947. "get": {
  2948. "security": [
  2949. {
  2950. "ApiKeyAuth": []
  2951. }
  2952. ],
  2953. "produces": [
  2954. "application/json"
  2955. ],
  2956. "tags": [
  2957. "企业风险管理(app)"
  2958. ],
  2959. "summary": "查询仓库信息",
  2960. "parameters": [
  2961. {
  2962. "type": "integer",
  2963. "description": "用户ID",
  2964. "name": "userid",
  2965. "in": "query",
  2966. "required": true
  2967. },
  2968. {
  2969. "type": "string",
  2970. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2971. "name": "status",
  2972. "in": "query"
  2973. }
  2974. ],
  2975. "responses": {
  2976. "200": {
  2977. "description": "OK",
  2978. "schema": {
  2979. "type": "array",
  2980. "items": {
  2981. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2982. }
  2983. }
  2984. },
  2985. "500": {
  2986. "description": "Internal Server Error",
  2987. "schema": {
  2988. "$ref": "#/definitions/app.Response"
  2989. }
  2990. }
  2991. }
  2992. }
  2993. },
  2994. "/Ermcp3/QryAreaExpourseContractDetail": {
  2995. "get": {
  2996. "security": [
  2997. {
  2998. "ApiKeyAuth": []
  2999. }
  3000. ],
  3001. "produces": [
  3002. "application/json"
  3003. ],
  3004. "tags": [
  3005. "企业风险管理v3(app)"
  3006. ],
  3007. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3008. "parameters": [
  3009. {
  3010. "type": "integer",
  3011. "description": "用户ID",
  3012. "name": "userid",
  3013. "in": "query",
  3014. "required": true
  3015. },
  3016. {
  3017. "type": "integer",
  3018. "description": "套保商品id",
  3019. "name": "middlegoodsid",
  3020. "in": "query",
  3021. "required": true
  3022. },
  3023. {
  3024. "type": "integer",
  3025. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3026. "name": "cycletype",
  3027. "in": "query",
  3028. "required": true
  3029. },
  3030. {
  3031. "type": "string",
  3032. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3033. "name": "cycletime",
  3034. "in": "query",
  3035. "required": true
  3036. }
  3037. ],
  3038. "responses": {
  3039. "200": {
  3040. "description": "OK",
  3041. "schema": {
  3042. "type": "array",
  3043. "items": {
  3044. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3045. }
  3046. }
  3047. },
  3048. "500": {
  3049. "description": "Internal Server Error",
  3050. "schema": {
  3051. "$ref": "#/definitions/app.Response"
  3052. }
  3053. }
  3054. }
  3055. }
  3056. },
  3057. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3058. "get": {
  3059. "security": [
  3060. {
  3061. "ApiKeyAuth": []
  3062. }
  3063. ],
  3064. "produces": [
  3065. "application/json"
  3066. ],
  3067. "tags": [
  3068. "企业风险管理v3(app)"
  3069. ],
  3070. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3071. "parameters": [
  3072. {
  3073. "type": "integer",
  3074. "description": "用户ID",
  3075. "name": "userid",
  3076. "in": "query",
  3077. "required": true
  3078. },
  3079. {
  3080. "type": "integer",
  3081. "description": "套保商品id",
  3082. "name": "middlegoodsid",
  3083. "in": "query",
  3084. "required": true
  3085. },
  3086. {
  3087. "type": "integer",
  3088. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3089. "name": "cycletype",
  3090. "in": "query",
  3091. "required": true
  3092. },
  3093. {
  3094. "type": "string",
  3095. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3096. "name": "cycletime",
  3097. "in": "query",
  3098. "required": true
  3099. }
  3100. ],
  3101. "responses": {
  3102. "200": {
  3103. "description": "OK",
  3104. "schema": {
  3105. "type": "array",
  3106. "items": {
  3107. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3108. }
  3109. }
  3110. },
  3111. "500": {
  3112. "description": "Internal Server Error",
  3113. "schema": {
  3114. "$ref": "#/definitions/app.Response"
  3115. }
  3116. }
  3117. }
  3118. }
  3119. },
  3120. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3121. "get": {
  3122. "security": [
  3123. {
  3124. "ApiKeyAuth": []
  3125. }
  3126. ],
  3127. "produces": [
  3128. "application/json"
  3129. ],
  3130. "tags": [
  3131. "企业风险管理v3(app)"
  3132. ],
  3133. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3134. "parameters": [
  3135. {
  3136. "type": "integer",
  3137. "description": "用户ID",
  3138. "name": "userid",
  3139. "in": "query",
  3140. "required": true
  3141. },
  3142. {
  3143. "type": "integer",
  3144. "description": "套保商品id",
  3145. "name": "middlegoodsid",
  3146. "in": "query",
  3147. "required": true
  3148. },
  3149. {
  3150. "type": "integer",
  3151. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3152. "name": "cycletype",
  3153. "in": "query",
  3154. "required": true
  3155. },
  3156. {
  3157. "type": "string",
  3158. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3159. "name": "cycletime",
  3160. "in": "query",
  3161. "required": true
  3162. }
  3163. ],
  3164. "responses": {
  3165. "200": {
  3166. "description": "OK",
  3167. "schema": {
  3168. "type": "array",
  3169. "items": {
  3170. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3171. }
  3172. }
  3173. },
  3174. "500": {
  3175. "description": "Internal Server Error",
  3176. "schema": {
  3177. "$ref": "#/definitions/app.Response"
  3178. }
  3179. }
  3180. }
  3181. }
  3182. },
  3183. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3184. "get": {
  3185. "security": [
  3186. {
  3187. "ApiKeyAuth": []
  3188. }
  3189. ],
  3190. "produces": [
  3191. "application/json"
  3192. ],
  3193. "tags": [
  3194. "企业风险管理v3(app)"
  3195. ],
  3196. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3197. "parameters": [
  3198. {
  3199. "type": "integer",
  3200. "description": "用户ID",
  3201. "name": "userid",
  3202. "in": "query",
  3203. "required": true
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "套保商品id",
  3208. "name": "middlegoodsid",
  3209. "in": "query",
  3210. "required": true
  3211. },
  3212. {
  3213. "type": "integer",
  3214. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3215. "name": "cycletype",
  3216. "in": "query",
  3217. "required": true
  3218. },
  3219. {
  3220. "type": "string",
  3221. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3222. "name": "cycletime",
  3223. "in": "query",
  3224. "required": true
  3225. }
  3226. ],
  3227. "responses": {
  3228. "200": {
  3229. "description": "OK",
  3230. "schema": {
  3231. "type": "array",
  3232. "items": {
  3233. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3234. }
  3235. }
  3236. },
  3237. "500": {
  3238. "description": "Internal Server Error",
  3239. "schema": {
  3240. "$ref": "#/definitions/app.Response"
  3241. }
  3242. }
  3243. }
  3244. }
  3245. },
  3246. "/Ermcp3/QryAreaExpourseReport": {
  3247. "get": {
  3248. "security": [
  3249. {
  3250. "ApiKeyAuth": []
  3251. }
  3252. ],
  3253. "produces": [
  3254. "application/json"
  3255. ],
  3256. "tags": [
  3257. "企业风险管理v3(app)"
  3258. ],
  3259. "summary": "查询敞口报表",
  3260. "parameters": [
  3261. {
  3262. "type": "integer",
  3263. "description": "用户ID",
  3264. "name": "userid",
  3265. "in": "query",
  3266. "required": true
  3267. },
  3268. {
  3269. "type": "integer",
  3270. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3271. "name": "querytype",
  3272. "in": "query",
  3273. "required": true
  3274. },
  3275. {
  3276. "type": "integer",
  3277. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3278. "name": "cycletype",
  3279. "in": "query",
  3280. "required": true
  3281. },
  3282. {
  3283. "type": "string",
  3284. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3285. "name": "cycletime",
  3286. "in": "query",
  3287. "required": true
  3288. }
  3289. ],
  3290. "responses": {
  3291. "200": {
  3292. "description": "OK",
  3293. "schema": {
  3294. "type": "array",
  3295. "items": {
  3296. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3297. }
  3298. }
  3299. },
  3300. "500": {
  3301. "description": "Internal Server Error",
  3302. "schema": {
  3303. "$ref": "#/definitions/app.Response"
  3304. }
  3305. }
  3306. }
  3307. }
  3308. },
  3309. "/Ermcp3/QryAreaSpotplReport": {
  3310. "get": {
  3311. "security": [
  3312. {
  3313. "ApiKeyAuth": []
  3314. }
  3315. ],
  3316. "produces": [
  3317. "application/json"
  3318. ],
  3319. "tags": [
  3320. "企业风险管理v3(app)"
  3321. ],
  3322. "summary": "查询现货报表",
  3323. "parameters": [
  3324. {
  3325. "type": "integer",
  3326. "description": "用户ID",
  3327. "name": "userid",
  3328. "in": "query",
  3329. "required": true
  3330. },
  3331. {
  3332. "type": "integer",
  3333. "description": "查询类型 1-报表 2-报表明细",
  3334. "name": "querytype",
  3335. "in": "query",
  3336. "required": true
  3337. },
  3338. {
  3339. "type": "integer",
  3340. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3341. "name": "cycletype",
  3342. "in": "query",
  3343. "required": true
  3344. },
  3345. {
  3346. "type": "string",
  3347. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3348. "name": "cycletime",
  3349. "in": "query",
  3350. "required": true
  3351. },
  3352. {
  3353. "type": "integer",
  3354. "description": "现货品种id(明细必填)",
  3355. "name": "deliverygoodsid",
  3356. "in": "query"
  3357. },
  3358. {
  3359. "type": "integer",
  3360. "description": "币种id(明细必填)",
  3361. "name": "currencyid",
  3362. "in": "query"
  3363. }
  3364. ],
  3365. "responses": {
  3366. "200": {
  3367. "description": "OK",
  3368. "schema": {
  3369. "type": "array",
  3370. "items": {
  3371. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3372. }
  3373. }
  3374. },
  3375. "500": {
  3376. "description": "Internal Server Error",
  3377. "schema": {
  3378. "$ref": "#/definitions/app.Response"
  3379. }
  3380. }
  3381. }
  3382. }
  3383. },
  3384. "/Ermcp3/QryAreaStockReport": {
  3385. "get": {
  3386. "security": [
  3387. {
  3388. "ApiKeyAuth": []
  3389. }
  3390. ],
  3391. "produces": [
  3392. "application/json"
  3393. ],
  3394. "tags": [
  3395. "企业风险管理v3(app)"
  3396. ],
  3397. "summary": "查询库存报表",
  3398. "parameters": [
  3399. {
  3400. "type": "integer",
  3401. "description": "用户ID",
  3402. "name": "userid",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "查询类型 1-报表 2-报表明细",
  3409. "name": "querytype",
  3410. "in": "query",
  3411. "required": true
  3412. },
  3413. {
  3414. "type": "integer",
  3415. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3416. "name": "cycletype",
  3417. "in": "query",
  3418. "required": true
  3419. },
  3420. {
  3421. "type": "string",
  3422. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3423. "name": "cycletime",
  3424. "in": "query",
  3425. "required": true
  3426. },
  3427. {
  3428. "type": "string",
  3429. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3430. "name": "sumfields",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品种ID",
  3436. "name": "deliverygoodsid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "品类ID",
  3442. "name": "wrstandardid",
  3443. "in": "query"
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "品牌ID",
  3448. "name": "spotgoodsbrandid",
  3449. "in": "query"
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "仓库ID",
  3454. "name": "warehouseinfoid",
  3455. "in": "query"
  3456. }
  3457. ],
  3458. "responses": {
  3459. "200": {
  3460. "description": "OK",
  3461. "schema": {
  3462. "type": "array",
  3463. "items": {
  3464. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3465. }
  3466. }
  3467. },
  3468. "500": {
  3469. "description": "Internal Server Error",
  3470. "schema": {
  3471. "$ref": "#/definitions/app.Response"
  3472. }
  3473. }
  3474. }
  3475. }
  3476. },
  3477. "/Ermcp3/QryAreaSumPL": {
  3478. "get": {
  3479. "security": [
  3480. {
  3481. "ApiKeyAuth": []
  3482. }
  3483. ],
  3484. "produces": [
  3485. "application/json"
  3486. ],
  3487. "tags": [
  3488. "企业风险管理v3(app)"
  3489. ],
  3490. "summary": "查询汇总损益表",
  3491. "parameters": [
  3492. {
  3493. "type": "integer",
  3494. "description": "用户ID",
  3495. "name": "userid",
  3496. "in": "query",
  3497. "required": true
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "查询类型 1-报表 2-报表明细",
  3502. "name": "querytype",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "integer",
  3508. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3509. "name": "cycletype",
  3510. "in": "query",
  3511. "required": true
  3512. },
  3513. {
  3514. "type": "string",
  3515. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3516. "name": "cycletime",
  3517. "in": "query",
  3518. "required": true
  3519. },
  3520. {
  3521. "type": "integer",
  3522. "description": "币种id(明细必填)",
  3523. "name": "currencyid",
  3524. "in": "query"
  3525. }
  3526. ],
  3527. "responses": {
  3528. "200": {
  3529. "description": "OK",
  3530. "schema": {
  3531. "type": "array",
  3532. "items": {
  3533. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3534. }
  3535. }
  3536. },
  3537. "500": {
  3538. "description": "Internal Server Error",
  3539. "schema": {
  3540. "$ref": "#/definitions/app.Response"
  3541. }
  3542. }
  3543. }
  3544. }
  3545. },
  3546. "/Ermcp3/QryFinanceReport": {
  3547. "get": {
  3548. "security": [
  3549. {
  3550. "ApiKeyAuth": []
  3551. }
  3552. ],
  3553. "produces": [
  3554. "application/json"
  3555. ],
  3556. "tags": [
  3557. "企业风险管理v3(app)"
  3558. ],
  3559. "summary": "查询财务报表",
  3560. "parameters": [
  3561. {
  3562. "type": "integer",
  3563. "description": "用户ID",
  3564. "name": "userid",
  3565. "in": "query",
  3566. "required": true
  3567. },
  3568. {
  3569. "type": "integer",
  3570. "description": "查询类型 1-报表 2-报表明细",
  3571. "name": "querytype",
  3572. "in": "query",
  3573. "required": true
  3574. },
  3575. {
  3576. "type": "integer",
  3577. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3578. "name": "cycletype",
  3579. "in": "query",
  3580. "required": true
  3581. },
  3582. {
  3583. "type": "string",
  3584. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3585. "name": "cycletime",
  3586. "in": "query",
  3587. "required": true
  3588. },
  3589. {
  3590. "type": "integer",
  3591. "description": "币种id(报表明细必填)",
  3592. "name": "currencyid",
  3593. "in": "query"
  3594. },
  3595. {
  3596. "type": "string",
  3597. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3598. "name": "sumfields",
  3599. "in": "query"
  3600. }
  3601. ],
  3602. "responses": {
  3603. "200": {
  3604. "description": "OK",
  3605. "schema": {
  3606. "type": "array",
  3607. "items": {
  3608. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3609. }
  3610. }
  3611. },
  3612. "500": {
  3613. "description": "Internal Server Error",
  3614. "schema": {
  3615. "$ref": "#/definitions/app.Response"
  3616. }
  3617. }
  3618. }
  3619. }
  3620. },
  3621. "/Ermcp3/QryTaFutureDataReport": {
  3622. "get": {
  3623. "security": [
  3624. {
  3625. "ApiKeyAuth": []
  3626. }
  3627. ],
  3628. "produces": [
  3629. "application/json"
  3630. ],
  3631. "tags": [
  3632. "企业风险管理v3(app)"
  3633. ],
  3634. "summary": "查询期货报表",
  3635. "parameters": [
  3636. {
  3637. "type": "integer",
  3638. "description": "用户ID",
  3639. "name": "userid",
  3640. "in": "query",
  3641. "required": true
  3642. },
  3643. {
  3644. "type": "integer",
  3645. "description": "查询类型 1-报表 2-报表明细",
  3646. "name": "querytype",
  3647. "in": "query",
  3648. "required": true
  3649. },
  3650. {
  3651. "type": "integer",
  3652. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3653. "name": "cycletype",
  3654. "in": "query",
  3655. "required": true
  3656. },
  3657. {
  3658. "type": "string",
  3659. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3660. "name": "cycletime",
  3661. "in": "query",
  3662. "required": true
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "币种id(查明细必填)",
  3667. "name": "currencyid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "品种id(查明细必填)",
  3673. "name": "goodsgroupid",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "商品id(查明细必填)",
  3679. "name": "goodsid",
  3680. "in": "query"
  3681. },
  3682. {
  3683. "type": "integer",
  3684. "description": "买卖方向(查明细必填)",
  3685. "name": "buyorsell",
  3686. "in": "query"
  3687. }
  3688. ],
  3689. "responses": {
  3690. "200": {
  3691. "description": "OK",
  3692. "schema": {
  3693. "type": "array",
  3694. "items": {
  3695. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3696. }
  3697. }
  3698. },
  3699. "500": {
  3700. "description": "Internal Server Error",
  3701. "schema": {
  3702. "$ref": "#/definitions/app.Response"
  3703. }
  3704. }
  3705. }
  3706. }
  3707. },
  3708. "/Ermcp3/QueryAreaStock": {
  3709. "get": {
  3710. "security": [
  3711. {
  3712. "ApiKeyAuth": []
  3713. }
  3714. ],
  3715. "produces": [
  3716. "application/json"
  3717. ],
  3718. "tags": [
  3719. "企业风险管理v3(app)"
  3720. ],
  3721. "summary": "查询机构库存(库存管理/当前库存)",
  3722. "parameters": [
  3723. {
  3724. "type": "integer",
  3725. "description": "用户ID",
  3726. "name": "userid",
  3727. "in": "query",
  3728. "required": true
  3729. }
  3730. ],
  3731. "responses": {
  3732. "200": {
  3733. "description": "OK",
  3734. "schema": {
  3735. "type": "array",
  3736. "items": {
  3737. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3738. }
  3739. }
  3740. },
  3741. "500": {
  3742. "description": "Internal Server Error",
  3743. "schema": {
  3744. "$ref": "#/definitions/app.Response"
  3745. }
  3746. }
  3747. }
  3748. }
  3749. },
  3750. "/Ermcp3/QueryAreaStockApply": {
  3751. "get": {
  3752. "security": [
  3753. {
  3754. "ApiKeyAuth": []
  3755. }
  3756. ],
  3757. "produces": [
  3758. "application/json"
  3759. ],
  3760. "tags": [
  3761. "企业风险管理v3(app)"
  3762. ],
  3763. "summary": "查询库存申请(出入库记录|库存审核)",
  3764. "parameters": [
  3765. {
  3766. "type": "integer",
  3767. "description": "用户ID",
  3768. "name": "userid",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "用户类型 2-机构 7-企业成员",
  3775. "name": "usertype",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "现货商品ID",
  3781. "name": "deliverygoodsid",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "string",
  3786. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3787. "name": "inouttype",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "合同ID",
  3793. "name": "spotcontractid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "品类ID",
  3799. "name": "wrstandardid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "integer",
  3804. "description": "品牌ID",
  3805. "name": "spotgoodsbrandid",
  3806. "in": "query"
  3807. },
  3808. {
  3809. "type": "integer",
  3810. "description": "仓库ID",
  3811. "name": "warehouseinfoid",
  3812. "in": "query"
  3813. },
  3814. {
  3815. "type": "string",
  3816. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3817. "name": "applystatus",
  3818. "in": "query"
  3819. }
  3820. ],
  3821. "responses": {
  3822. "200": {
  3823. "description": "OK",
  3824. "schema": {
  3825. "type": "array",
  3826. "items": {
  3827. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3828. }
  3829. }
  3830. },
  3831. "500": {
  3832. "description": "Internal Server Error",
  3833. "schema": {
  3834. "$ref": "#/definitions/app.Response"
  3835. }
  3836. }
  3837. }
  3838. }
  3839. },
  3840. "/Ermcp3/QueryAreaStockApplySum": {
  3841. "get": {
  3842. "security": [
  3843. {
  3844. "ApiKeyAuth": []
  3845. }
  3846. ],
  3847. "produces": [
  3848. "application/json"
  3849. ],
  3850. "tags": [
  3851. "企业风险管理v3(app)"
  3852. ],
  3853. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3854. "parameters": [
  3855. {
  3856. "type": "integer",
  3857. "description": "合同ID",
  3858. "name": "spotcontractid",
  3859. "in": "query",
  3860. "required": true
  3861. }
  3862. ],
  3863. "responses": {
  3864. "200": {
  3865. "description": "OK",
  3866. "schema": {
  3867. "type": "array",
  3868. "items": {
  3869. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3870. }
  3871. }
  3872. },
  3873. "500": {
  3874. "description": "Internal Server Error",
  3875. "schema": {
  3876. "$ref": "#/definitions/app.Response"
  3877. }
  3878. }
  3879. }
  3880. }
  3881. },
  3882. "/Ermcp3/QueryDGFactoryItem": {
  3883. "get": {
  3884. "security": [
  3885. {
  3886. "ApiKeyAuth": []
  3887. }
  3888. ],
  3889. "produces": [
  3890. "application/json"
  3891. ],
  3892. "tags": [
  3893. "企业风险管理v3(app)"
  3894. ],
  3895. "summary": "查询品种要素定义项",
  3896. "parameters": [
  3897. {
  3898. "type": "integer",
  3899. "description": "用户id",
  3900. "name": "userid",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "用户类型 2-机构 7-企业成员",
  3906. "name": "usertype",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3912. "name": "dgfactoryitemid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "现货品种ID",
  3918. "name": "deliverygoodsid",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "要素项类型",
  3924. "name": "dgfactoryitemtypeid",
  3925. "in": "query"
  3926. },
  3927. {
  3928. "type": "integer",
  3929. "description": "顺序",
  3930. "name": "orderindex",
  3931. "in": "query"
  3932. }
  3933. ],
  3934. "responses": {
  3935. "200": {
  3936. "description": "OK",
  3937. "schema": {
  3938. "type": "array",
  3939. "items": {
  3940. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3941. }
  3942. }
  3943. },
  3944. "500": {
  3945. "description": "Internal Server Error",
  3946. "schema": {
  3947. "$ref": "#/definitions/app.Response"
  3948. }
  3949. }
  3950. }
  3951. }
  3952. },
  3953. "/Ermcp3/QueryDeliveryGoods": {
  3954. "get": {
  3955. "security": [
  3956. {
  3957. "ApiKeyAuth": []
  3958. }
  3959. ],
  3960. "produces": [
  3961. "application/json"
  3962. ],
  3963. "tags": [
  3964. "企业风险管理v3(app)"
  3965. ],
  3966. "summary": "查询现货商品",
  3967. "parameters": [
  3968. {
  3969. "type": "integer",
  3970. "description": "用户id",
  3971. "name": "userid",
  3972. "in": "query",
  3973. "required": true
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "用户类型 2-机构 7-企业成员",
  3978. "name": "usertype",
  3979. "in": "query"
  3980. },
  3981. {
  3982. "type": "integer",
  3983. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3984. "name": "excludecfg",
  3985. "in": "query"
  3986. }
  3987. ],
  3988. "responses": {
  3989. "200": {
  3990. "description": "OK",
  3991. "schema": {
  3992. "type": "array",
  3993. "items": {
  3994. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3995. }
  3996. }
  3997. },
  3998. "500": {
  3999. "description": "Internal Server Error",
  4000. "schema": {
  4001. "$ref": "#/definitions/app.Response"
  4002. }
  4003. }
  4004. }
  4005. }
  4006. },
  4007. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4008. "get": {
  4009. "security": [
  4010. {
  4011. "ApiKeyAuth": []
  4012. }
  4013. ],
  4014. "produces": [
  4015. "application/json"
  4016. ],
  4017. "tags": [
  4018. "企业风险管理v3(app)"
  4019. ],
  4020. "summary": "查询现货商品详情",
  4021. "parameters": [
  4022. {
  4023. "type": "integer",
  4024. "description": "用户id",
  4025. "name": "userid",
  4026. "in": "query",
  4027. "required": true
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "用户类型 2-机构 7-企业成员",
  4032. "name": "usertype",
  4033. "in": "query"
  4034. },
  4035. {
  4036. "type": "integer",
  4037. "description": "现货商品id",
  4038. "name": "deliverygoodsid",
  4039. "in": "query"
  4040. }
  4041. ],
  4042. "responses": {
  4043. "200": {
  4044. "description": "OK",
  4045. "schema": {
  4046. "type": "array",
  4047. "items": {
  4048. "$ref": "#/definitions/models.XHDeliveryGoods"
  4049. }
  4050. }
  4051. },
  4052. "500": {
  4053. "description": "Internal Server Error",
  4054. "schema": {
  4055. "$ref": "#/definitions/app.Response"
  4056. }
  4057. }
  4058. }
  4059. }
  4060. },
  4061. "/Ermcp3/QueryExposureDetail": {
  4062. "get": {
  4063. "security": [
  4064. {
  4065. "ApiKeyAuth": []
  4066. }
  4067. ],
  4068. "produces": [
  4069. "application/json"
  4070. ],
  4071. "tags": [
  4072. "企业风险管理v3(app)"
  4073. ],
  4074. "summary": "查询敞口现货明细",
  4075. "parameters": [
  4076. {
  4077. "type": "integer",
  4078. "description": "用户id",
  4079. "name": "userid",
  4080. "in": "query",
  4081. "required": true
  4082. },
  4083. {
  4084. "type": "integer",
  4085. "description": "用户类型 2-机构 7-企业成员",
  4086. "name": "usertype",
  4087. "in": "query"
  4088. },
  4089. {
  4090. "type": "integer",
  4091. "description": "套保商品",
  4092. "name": "middlegoodsid",
  4093. "in": "query",
  4094. "required": true
  4095. }
  4096. ],
  4097. "responses": {
  4098. "200": {
  4099. "description": "OK",
  4100. "schema": {
  4101. "type": "array",
  4102. "items": {
  4103. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4104. }
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/app.Response"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/Ermcp3/QueryExposureSpot": {
  4117. "get": {
  4118. "security": [
  4119. {
  4120. "ApiKeyAuth": []
  4121. }
  4122. ],
  4123. "produces": [
  4124. "application/json"
  4125. ],
  4126. "tags": [
  4127. "企业风险管理v3(app)"
  4128. ],
  4129. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4130. "parameters": [
  4131. {
  4132. "type": "integer",
  4133. "description": "用户id",
  4134. "name": "userid",
  4135. "in": "query",
  4136. "required": true
  4137. },
  4138. {
  4139. "type": "integer",
  4140. "description": "用户类型 2-机构 7-企业成员",
  4141. "name": "usertype",
  4142. "in": "query"
  4143. }
  4144. ],
  4145. "responses": {
  4146. "200": {
  4147. "description": "OK",
  4148. "schema": {
  4149. "type": "array",
  4150. "items": {
  4151. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4152. }
  4153. }
  4154. },
  4155. "500": {
  4156. "description": "Internal Server Error",
  4157. "schema": {
  4158. "$ref": "#/definitions/app.Response"
  4159. }
  4160. }
  4161. }
  4162. }
  4163. },
  4164. "/Ermcp3/QueryExposureSpotDetail": {
  4165. "get": {
  4166. "security": [
  4167. {
  4168. "ApiKeyAuth": []
  4169. }
  4170. ],
  4171. "produces": [
  4172. "application/json"
  4173. ],
  4174. "tags": [
  4175. "企业风险管理v3(app)"
  4176. ],
  4177. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4178. "parameters": [
  4179. {
  4180. "type": "integer",
  4181. "description": "用户id",
  4182. "name": "userid",
  4183. "in": "query",
  4184. "required": true
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "用户类型 2-机构 7-企业成员",
  4189. "name": "usertype",
  4190. "in": "query"
  4191. },
  4192. {
  4193. "type": "integer",
  4194. "description": "现货品种ID",
  4195. "name": "deliverygoodsid",
  4196. "in": "query",
  4197. "required": true
  4198. }
  4199. ],
  4200. "responses": {
  4201. "200": {
  4202. "description": "OK",
  4203. "schema": {
  4204. "type": "array",
  4205. "items": {
  4206. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4207. }
  4208. }
  4209. },
  4210. "500": {
  4211. "description": "Internal Server Error",
  4212. "schema": {
  4213. "$ref": "#/definitions/app.Response"
  4214. }
  4215. }
  4216. }
  4217. }
  4218. },
  4219. "/Ermcp3/QueryGoodsGroup": {
  4220. "get": {
  4221. "security": [
  4222. {
  4223. "ApiKeyAuth": []
  4224. }
  4225. ],
  4226. "produces": [
  4227. "application/json"
  4228. ],
  4229. "tags": [
  4230. "企业风险管理v3(app)"
  4231. ],
  4232. "summary": "查询期货商品组",
  4233. "parameters": [
  4234. {
  4235. "type": "integer",
  4236. "description": "用户id",
  4237. "name": "userid",
  4238. "in": "query",
  4239. "required": true
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "用户类型 2-机构 7-企业成员",
  4244. "name": "usertype",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "排除套保品中已关联的商品组 1-排除",
  4250. "name": "excludecfg",
  4251. "in": "query"
  4252. }
  4253. ],
  4254. "responses": {
  4255. "200": {
  4256. "description": "OK",
  4257. "schema": {
  4258. "type": "array",
  4259. "items": {
  4260. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4261. }
  4262. }
  4263. },
  4264. "500": {
  4265. "description": "Internal Server Error",
  4266. "schema": {
  4267. "$ref": "#/definitions/app.Response"
  4268. }
  4269. }
  4270. }
  4271. }
  4272. },
  4273. "/Ermcp3/QueryGoodsWrstandard": {
  4274. "get": {
  4275. "security": [
  4276. {
  4277. "ApiKeyAuth": []
  4278. }
  4279. ],
  4280. "produces": [
  4281. "application/json"
  4282. ],
  4283. "tags": [
  4284. "企业风险管理v3(app)"
  4285. ],
  4286. "summary": "查询商品品类",
  4287. "parameters": [
  4288. {
  4289. "type": "integer",
  4290. "description": "用户id",
  4291. "name": "userid",
  4292. "in": "query",
  4293. "required": true
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "用户类型 2-机构 7-企业成员",
  4298. "name": "usertype",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "现货商品id",
  4304. "name": "deliverygoodsid",
  4305. "in": "query"
  4306. }
  4307. ],
  4308. "responses": {
  4309. "200": {
  4310. "description": "OK",
  4311. "schema": {
  4312. "type": "array",
  4313. "items": {
  4314. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4315. }
  4316. }
  4317. },
  4318. "500": {
  4319. "description": "Internal Server Error",
  4320. "schema": {
  4321. "$ref": "#/definitions/app.Response"
  4322. }
  4323. }
  4324. }
  4325. }
  4326. },
  4327. "/Ermcp3/QueryGoodsbrand": {
  4328. "get": {
  4329. "security": [
  4330. {
  4331. "ApiKeyAuth": []
  4332. }
  4333. ],
  4334. "produces": [
  4335. "application/json"
  4336. ],
  4337. "tags": [
  4338. "企业风险管理v3(app)"
  4339. ],
  4340. "summary": "查询商品品牌",
  4341. "parameters": [
  4342. {
  4343. "type": "integer",
  4344. "description": "用户id",
  4345. "name": "userid",
  4346. "in": "query",
  4347. "required": true
  4348. },
  4349. {
  4350. "type": "integer",
  4351. "description": "用户类型 2-机构 7-企业成员",
  4352. "name": "usertype",
  4353. "in": "query"
  4354. }
  4355. ],
  4356. "responses": {
  4357. "200": {
  4358. "description": "OK",
  4359. "schema": {
  4360. "type": "array",
  4361. "items": {
  4362. "$ref": "#/definitions/models.Ermcp3Brand"
  4363. }
  4364. }
  4365. },
  4366. "500": {
  4367. "description": "Internal Server Error",
  4368. "schema": {
  4369. "$ref": "#/definitions/app.Response"
  4370. }
  4371. }
  4372. }
  4373. }
  4374. },
  4375. "/Ermcp3/QueryHedgePlan": {
  4376. "get": {
  4377. "security": [
  4378. {
  4379. "ApiKeyAuth": []
  4380. }
  4381. ],
  4382. "produces": [
  4383. "application/json"
  4384. ],
  4385. "tags": [
  4386. "企业风险管理v3(app)"
  4387. ],
  4388. "summary": "查询套保计划",
  4389. "parameters": [
  4390. {
  4391. "type": "integer",
  4392. "description": "用户ID",
  4393. "name": "userid",
  4394. "in": "query",
  4395. "required": true
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "用户类型 2-机构 7-企业成员",
  4400. "name": "usertype",
  4401. "in": "query"
  4402. },
  4403. {
  4404. "type": "string",
  4405. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4406. "name": "hedgeplanstatus",
  4407. "in": "query",
  4408. "required": true
  4409. }
  4410. ],
  4411. "responses": {
  4412. "200": {
  4413. "description": "OK",
  4414. "schema": {
  4415. "type": "array",
  4416. "items": {
  4417. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4418. }
  4419. }
  4420. },
  4421. "500": {
  4422. "description": "Internal Server Error",
  4423. "schema": {
  4424. "$ref": "#/definitions/app.Response"
  4425. }
  4426. }
  4427. }
  4428. }
  4429. },
  4430. "/Ermcp3/QueryMiddleGoodsDetail": {
  4431. "get": {
  4432. "security": [
  4433. {
  4434. "ApiKeyAuth": []
  4435. }
  4436. ],
  4437. "produces": [
  4438. "application/json"
  4439. ],
  4440. "tags": [
  4441. "企业风险管理v3(app)"
  4442. ],
  4443. "summary": "查询套保品种详情(套保品种/商品详情)",
  4444. "parameters": [
  4445. {
  4446. "type": "integer",
  4447. "description": "用户id",
  4448. "name": "userid",
  4449. "in": "query",
  4450. "required": true
  4451. },
  4452. {
  4453. "type": "integer",
  4454. "description": "用户类型 2-机构 7-企业成员",
  4455. "name": "usertype",
  4456. "in": "query"
  4457. },
  4458. {
  4459. "type": "integer",
  4460. "description": "套保品种id",
  4461. "name": "middlegoodsid",
  4462. "in": "query"
  4463. }
  4464. ],
  4465. "responses": {
  4466. "200": {
  4467. "description": "OK",
  4468. "schema": {
  4469. "type": "array",
  4470. "items": {
  4471. "$ref": "#/definitions/models.TBMiddleGoods"
  4472. }
  4473. }
  4474. },
  4475. "500": {
  4476. "description": "Internal Server Error",
  4477. "schema": {
  4478. "$ref": "#/definitions/app.Response"
  4479. }
  4480. }
  4481. }
  4482. }
  4483. },
  4484. "/Ermcp3/QueryPaAreaAuditCfg": {
  4485. "get": {
  4486. "security": [
  4487. {
  4488. "ApiKeyAuth": []
  4489. }
  4490. ],
  4491. "produces": [
  4492. "application/json"
  4493. ],
  4494. "tags": [
  4495. "企业风险管理v3(app)"
  4496. ],
  4497. "summary": "查询审核设置",
  4498. "parameters": [
  4499. {
  4500. "type": "integer",
  4501. "description": "用户id",
  4502. "name": "userid",
  4503. "in": "query",
  4504. "required": true
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "type": "array",
  4512. "items": {
  4513. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4514. }
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Ermcp3/QueryPaAreaSubject": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "企业风险管理v3(app)"
  4538. ],
  4539. "summary": "查询交易主体",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "用户id",
  4544. "name": "userid",
  4545. "in": "query",
  4546. "required": true
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4551. "name": "subjectid",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "integer",
  4556. "description": "主体类型 - 1:交易主体 2:业务部门",
  4557. "name": "subjecttype",
  4558. "in": "query"
  4559. },
  4560. {
  4561. "type": "integer",
  4562. "description": "主体状态 - 1:正常 2: 停用",
  4563. "name": "subjectstatus",
  4564. "in": "query"
  4565. }
  4566. ],
  4567. "responses": {
  4568. "200": {
  4569. "description": "OK",
  4570. "schema": {
  4571. "type": "array",
  4572. "items": {
  4573. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4574. }
  4575. }
  4576. },
  4577. "500": {
  4578. "description": "Internal Server Error",
  4579. "schema": {
  4580. "$ref": "#/definitions/app.Response"
  4581. }
  4582. }
  4583. }
  4584. }
  4585. },
  4586. "/Ermcp3/QueryRootUserAccount": {
  4587. "get": {
  4588. "security": [
  4589. {
  4590. "ApiKeyAuth": []
  4591. }
  4592. ],
  4593. "produces": [
  4594. "application/json"
  4595. ],
  4596. "tags": [
  4597. "企业风险管理v3(app)"
  4598. ],
  4599. "summary": "查询顶级用户信息",
  4600. "parameters": [
  4601. {
  4602. "type": "integer",
  4603. "description": "用户ID",
  4604. "name": "userid",
  4605. "in": "query",
  4606. "required": true
  4607. }
  4608. ],
  4609. "responses": {
  4610. "200": {
  4611. "description": "OK",
  4612. "schema": {
  4613. "type": "array",
  4614. "items": {
  4615. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4616. }
  4617. }
  4618. },
  4619. "500": {
  4620. "description": "Internal Server Error",
  4621. "schema": {
  4622. "$ref": "#/definitions/app.Response"
  4623. }
  4624. }
  4625. }
  4626. }
  4627. },
  4628. "/Ermcp3/QuerySpotContract": {
  4629. "get": {
  4630. "security": [
  4631. {
  4632. "ApiKeyAuth": []
  4633. }
  4634. ],
  4635. "produces": [
  4636. "application/json"
  4637. ],
  4638. "tags": [
  4639. "企业风险管理v3(app)"
  4640. ],
  4641. "summary": "查询现货合同",
  4642. "parameters": [
  4643. {
  4644. "type": "integer",
  4645. "description": "用户id",
  4646. "name": "userid",
  4647. "in": "query",
  4648. "required": true
  4649. },
  4650. {
  4651. "type": "integer",
  4652. "description": "用户类型 2-机构 7-企业成员",
  4653. "name": "usertype",
  4654. "in": "query"
  4655. },
  4656. {
  4657. "type": "integer",
  4658. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4659. "name": "querytype",
  4660. "in": "query",
  4661. "required": true
  4662. },
  4663. {
  4664. "type": "string",
  4665. "description": "合同ID(SpotContractId)",
  4666. "name": "contractid",
  4667. "in": "query"
  4668. }
  4669. ],
  4670. "responses": {
  4671. "200": {
  4672. "description": "OK",
  4673. "schema": {
  4674. "type": "array",
  4675. "items": {
  4676. "$ref": "#/definitions/models.Ermcp3Contract"
  4677. }
  4678. }
  4679. },
  4680. "500": {
  4681. "description": "Internal Server Error",
  4682. "schema": {
  4683. "$ref": "#/definitions/app.Response"
  4684. }
  4685. }
  4686. }
  4687. }
  4688. },
  4689. "/Ermcp3/QuerySpotContractBS": {
  4690. "get": {
  4691. "security": [
  4692. {
  4693. "ApiKeyAuth": []
  4694. }
  4695. ],
  4696. "produces": [
  4697. "application/json"
  4698. ],
  4699. "tags": [
  4700. "企业风险管理v3(app)"
  4701. ],
  4702. "summary": "查询合同(采购/销售)",
  4703. "parameters": [
  4704. {
  4705. "type": "integer",
  4706. "description": "用户id",
  4707. "name": "userid",
  4708. "in": "query",
  4709. "required": true
  4710. },
  4711. {
  4712. "type": "integer",
  4713. "description": "用户类型 2-机构 7-企业成员",
  4714. "name": "usertype",
  4715. "in": "query"
  4716. },
  4717. {
  4718. "type": "integer",
  4719. "description": "合同类型 1-采购, -1-销售",
  4720. "name": "contracttype",
  4721. "in": "query",
  4722. "required": true
  4723. },
  4724. {
  4725. "type": "integer",
  4726. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4727. "name": "querytype",
  4728. "in": "query",
  4729. "required": true
  4730. },
  4731. {
  4732. "type": "string",
  4733. "description": "合同ID(SpotContractId)",
  4734. "name": "contractid",
  4735. "in": "query"
  4736. }
  4737. ],
  4738. "responses": {
  4739. "200": {
  4740. "description": "OK",
  4741. "schema": {
  4742. "type": "array",
  4743. "items": {
  4744. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4745. }
  4746. }
  4747. },
  4748. "500": {
  4749. "description": "Internal Server Error",
  4750. "schema": {
  4751. "$ref": "#/definitions/app.Response"
  4752. }
  4753. }
  4754. }
  4755. }
  4756. },
  4757. "/Ermcp3/QuerySpotGoodsPrice": {
  4758. "get": {
  4759. "security": [
  4760. {
  4761. "ApiKeyAuth": []
  4762. }
  4763. ],
  4764. "produces": [
  4765. "application/json"
  4766. ],
  4767. "tags": [
  4768. "企业风险管理v3(app)"
  4769. ],
  4770. "summary": "查询现货市价(现货市价)",
  4771. "parameters": [
  4772. {
  4773. "type": "integer",
  4774. "description": "用户ID",
  4775. "name": "userid",
  4776. "in": "query",
  4777. "required": true
  4778. }
  4779. ],
  4780. "responses": {
  4781. "200": {
  4782. "description": "OK",
  4783. "schema": {
  4784. "type": "array",
  4785. "items": {
  4786. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4787. }
  4788. }
  4789. },
  4790. "500": {
  4791. "description": "Internal Server Error",
  4792. "schema": {
  4793. "$ref": "#/definitions/app.Response"
  4794. }
  4795. }
  4796. }
  4797. }
  4798. },
  4799. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4800. "get": {
  4801. "security": [
  4802. {
  4803. "ApiKeyAuth": []
  4804. }
  4805. ],
  4806. "produces": [
  4807. "application/json"
  4808. ],
  4809. "tags": [
  4810. "企业风险管理v3(app)"
  4811. ],
  4812. "summary": "查询现货市价详情(现货市价/详情)",
  4813. "parameters": [
  4814. {
  4815. "type": "integer",
  4816. "description": "用户ID",
  4817. "name": "userid",
  4818. "in": "query",
  4819. "required": true
  4820. },
  4821. {
  4822. "type": "integer",
  4823. "description": "现货商品ID",
  4824. "name": "deliverygoodsid",
  4825. "in": "query",
  4826. "required": true
  4827. },
  4828. {
  4829. "type": "integer",
  4830. "description": "品牌ID",
  4831. "name": "brandid",
  4832. "in": "query"
  4833. },
  4834. {
  4835. "type": "integer",
  4836. "description": "品类ID",
  4837. "name": "wrstandardid",
  4838. "in": "query"
  4839. }
  4840. ],
  4841. "responses": {
  4842. "200": {
  4843. "description": "OK",
  4844. "schema": {
  4845. "type": "array",
  4846. "items": {
  4847. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4848. }
  4849. }
  4850. },
  4851. "500": {
  4852. "description": "Internal Server Error",
  4853. "schema": {
  4854. "$ref": "#/definitions/app.Response"
  4855. }
  4856. }
  4857. }
  4858. }
  4859. },
  4860. "/Erms2/QueryArbitrageStrategy": {
  4861. "get": {
  4862. "security": [
  4863. {
  4864. "ApiKeyAuth": []
  4865. }
  4866. ],
  4867. "produces": [
  4868. "application/json"
  4869. ],
  4870. "tags": [
  4871. "风险管理"
  4872. ],
  4873. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4874. "parameters": [
  4875. {
  4876. "type": "integer",
  4877. "description": "账户ID",
  4878. "name": "userid",
  4879. "in": "query",
  4880. "required": true
  4881. },
  4882. {
  4883. "type": "string",
  4884. "description": "商品组ID(品种ID)",
  4885. "name": "goodsgroupid",
  4886. "in": "query"
  4887. }
  4888. ],
  4889. "responses": {
  4890. "200": {
  4891. "description": "OK",
  4892. "schema": {
  4893. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4894. }
  4895. },
  4896. "500": {
  4897. "description": "Internal Server Error",
  4898. "schema": {
  4899. "$ref": "#/definitions/app.Response"
  4900. }
  4901. }
  4902. }
  4903. }
  4904. },
  4905. "/Erms2/QueryInnerTradeDetail": {
  4906. "get": {
  4907. "security": [
  4908. {
  4909. "ApiKeyAuth": []
  4910. }
  4911. ],
  4912. "produces": [
  4913. "application/json"
  4914. ],
  4915. "tags": [
  4916. "风险管理"
  4917. ],
  4918. "summary": "查询内部成交单信息",
  4919. "parameters": [
  4920. {
  4921. "type": "integer",
  4922. "description": "资金账户",
  4923. "name": "accountid",
  4924. "in": "query",
  4925. "required": true
  4926. }
  4927. ],
  4928. "responses": {
  4929. "200": {
  4930. "description": "OK",
  4931. "schema": {
  4932. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4933. }
  4934. },
  4935. "500": {
  4936. "description": "Internal Server Error",
  4937. "schema": {
  4938. "$ref": "#/definitions/app.Response"
  4939. }
  4940. }
  4941. }
  4942. }
  4943. },
  4944. "/Erms2/QuerySpotContract": {
  4945. "get": {
  4946. "security": [
  4947. {
  4948. "ApiKeyAuth": []
  4949. }
  4950. ],
  4951. "produces": [
  4952. "application/json"
  4953. ],
  4954. "tags": [
  4955. "风险管理"
  4956. ],
  4957. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4958. "parameters": [
  4959. {
  4960. "type": "integer",
  4961. "description": "策略申请ID",
  4962. "name": "asapplyid",
  4963. "in": "query",
  4964. "required": true
  4965. },
  4966. {
  4967. "type": "integer",
  4968. "description": "现货合同ID",
  4969. "name": "spotcontractid",
  4970. "in": "query"
  4971. }
  4972. ],
  4973. "responses": {
  4974. "200": {
  4975. "description": "OK",
  4976. "schema": {
  4977. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4978. }
  4979. },
  4980. "500": {
  4981. "description": "Internal Server Error",
  4982. "schema": {
  4983. "$ref": "#/definitions/app.Response"
  4984. }
  4985. }
  4986. }
  4987. }
  4988. },
  4989. "/Erms3/AddErms2ASApply": {
  4990. "post": {
  4991. "security": [
  4992. {
  4993. "ApiKeyAuth": []
  4994. }
  4995. ],
  4996. "produces": [
  4997. "application/json"
  4998. ],
  4999. "tags": [
  5000. "风险管理v3"
  5001. ],
  5002. "summary": "新增期现套利业务申请",
  5003. "parameters": [
  5004. {
  5005. "description": "申请参数",
  5006. "name": "jsonBody",
  5007. "in": "body",
  5008. "required": true,
  5009. "schema": {
  5010. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5011. }
  5012. }
  5013. ],
  5014. "responses": {
  5015. "200": {
  5016. "description": "OK",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. },
  5021. "500": {
  5022. "description": "Internal Server Error",
  5023. "schema": {
  5024. "$ref": "#/definitions/app.Response"
  5025. }
  5026. }
  5027. }
  5028. }
  5029. },
  5030. "/Erms3/AddErms2SpotTradeApply": {
  5031. "post": {
  5032. "security": [
  5033. {
  5034. "ApiKeyAuth": []
  5035. }
  5036. ],
  5037. "produces": [
  5038. "application/json"
  5039. ],
  5040. "tags": [
  5041. "风险管理v3"
  5042. ],
  5043. "summary": "新增现货贸易业务申请",
  5044. "parameters": [
  5045. {
  5046. "description": "申请参数",
  5047. "name": "jsonBody",
  5048. "in": "body",
  5049. "required": true,
  5050. "schema": {
  5051. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5052. }
  5053. }
  5054. ],
  5055. "responses": {
  5056. "200": {
  5057. "description": "OK",
  5058. "schema": {
  5059. "$ref": "#/definitions/app.Response"
  5060. }
  5061. },
  5062. "500": {
  5063. "description": "Internal Server Error",
  5064. "schema": {
  5065. "$ref": "#/definitions/app.Response"
  5066. }
  5067. }
  5068. }
  5069. }
  5070. },
  5071. "/Erms3/AddSpotContractApply": {
  5072. "post": {
  5073. "security": [
  5074. {
  5075. "ApiKeyAuth": []
  5076. }
  5077. ],
  5078. "produces": [
  5079. "application/json"
  5080. ],
  5081. "tags": [
  5082. "风险管理v3"
  5083. ],
  5084. "summary": "新增现货合同申请",
  5085. "parameters": [
  5086. {
  5087. "description": "申请参数",
  5088. "name": "jsonBody",
  5089. "in": "body",
  5090. "required": true,
  5091. "schema": {
  5092. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5093. }
  5094. }
  5095. ],
  5096. "responses": {
  5097. "200": {
  5098. "description": "OK",
  5099. "schema": {
  5100. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5101. }
  5102. },
  5103. "500": {
  5104. "description": "Internal Server Error",
  5105. "schema": {
  5106. "$ref": "#/definitions/app.Response"
  5107. }
  5108. }
  5109. }
  5110. }
  5111. },
  5112. "/Erms3/AddUserInfoApply": {
  5113. "post": {
  5114. "security": [
  5115. {
  5116. "ApiKeyAuth": []
  5117. }
  5118. ],
  5119. "produces": [
  5120. "application/json"
  5121. ],
  5122. "tags": [
  5123. "风险管理v3"
  5124. ],
  5125. "summary": "新增客户申请",
  5126. "parameters": [
  5127. {
  5128. "description": "用户信息",
  5129. "name": "jsonBody",
  5130. "in": "body",
  5131. "required": true,
  5132. "schema": {
  5133. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5134. }
  5135. }
  5136. ],
  5137. "responses": {
  5138. "200": {
  5139. "description": "OK",
  5140. "schema": {
  5141. "$ref": "#/definitions/app.Response"
  5142. }
  5143. },
  5144. "500": {
  5145. "description": "Internal Server Error",
  5146. "schema": {
  5147. "$ref": "#/definitions/app.Response"
  5148. }
  5149. }
  5150. }
  5151. }
  5152. },
  5153. "/Erms3/DeleteUserInfoApply": {
  5154. "get": {
  5155. "security": [
  5156. {
  5157. "ApiKeyAuth": []
  5158. }
  5159. ],
  5160. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5161. "produces": [
  5162. "application/json"
  5163. ],
  5164. "tags": [
  5165. "风险管理v3"
  5166. ],
  5167. "summary": "删除客户申请",
  5168. "parameters": [
  5169. {
  5170. "type": "integer",
  5171. "description": "用户ID",
  5172. "name": "userID",
  5173. "in": "query",
  5174. "required": true
  5175. }
  5176. ],
  5177. "responses": {
  5178. "200": {
  5179. "description": "OK",
  5180. "schema": {
  5181. "$ref": "#/definitions/app.Response"
  5182. }
  5183. },
  5184. "500": {
  5185. "description": "Internal Server Error",
  5186. "schema": {
  5187. "$ref": "#/definitions/app.Response"
  5188. }
  5189. }
  5190. }
  5191. }
  5192. },
  5193. "/Erms3/ModifyUserInfoApply": {
  5194. "post": {
  5195. "security": [
  5196. {
  5197. "ApiKeyAuth": []
  5198. }
  5199. ],
  5200. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5201. "produces": [
  5202. "application/json"
  5203. ],
  5204. "tags": [
  5205. "风险管理v3"
  5206. ],
  5207. "summary": "修改客户申请",
  5208. "parameters": [
  5209. {
  5210. "description": "用户信息",
  5211. "name": "jsonBody",
  5212. "in": "body",
  5213. "required": true,
  5214. "schema": {
  5215. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5216. }
  5217. }
  5218. ],
  5219. "responses": {
  5220. "200": {
  5221. "description": "OK",
  5222. "schema": {
  5223. "$ref": "#/definitions/app.Response"
  5224. }
  5225. },
  5226. "500": {
  5227. "description": "Internal Server Error",
  5228. "schema": {
  5229. "$ref": "#/definitions/app.Response"
  5230. }
  5231. }
  5232. }
  5233. }
  5234. },
  5235. "/Erms3/QueryBusinessInfo": {
  5236. "get": {
  5237. "security": [
  5238. {
  5239. "ApiKeyAuth": []
  5240. }
  5241. ],
  5242. "produces": [
  5243. "application/json"
  5244. ],
  5245. "tags": [
  5246. "风险管理v3"
  5247. ],
  5248. "summary": "查询业务表单数据",
  5249. "parameters": [
  5250. {
  5251. "type": "string",
  5252. "description": "资金账号ID列表,用逗号分隔",
  5253. "name": "accountids",
  5254. "in": "query",
  5255. "required": true
  5256. },
  5257. {
  5258. "type": "integer",
  5259. "description": "状态,0为未结束 1为已结束",
  5260. "name": "status",
  5261. "in": "query",
  5262. "required": true
  5263. }
  5264. ],
  5265. "responses": {
  5266. "200": {
  5267. "description": "OK",
  5268. "schema": {
  5269. "type": "array",
  5270. "items": {
  5271. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5272. }
  5273. }
  5274. },
  5275. "500": {
  5276. "description": "Internal Server Error",
  5277. "schema": {
  5278. "$ref": "#/definitions/app.Response"
  5279. }
  5280. }
  5281. }
  5282. }
  5283. },
  5284. "/Erms3/QueryPendingAuditContract": {
  5285. "get": {
  5286. "security": [
  5287. {
  5288. "ApiKeyAuth": []
  5289. }
  5290. ],
  5291. "produces": [
  5292. "application/json"
  5293. ],
  5294. "tags": [
  5295. "风险管理v3"
  5296. ],
  5297. "summary": "查询待审核合同",
  5298. "parameters": [
  5299. {
  5300. "type": "string",
  5301. "description": "资金账号ID列表,逗号隔开",
  5302. "name": "accountids",
  5303. "in": "query",
  5304. "required": true
  5305. },
  5306. {
  5307. "type": "integer",
  5308. "description": "合同类型 1-采购 -1-销售",
  5309. "name": "contracttype",
  5310. "in": "query",
  5311. "required": true
  5312. },
  5313. {
  5314. "type": "integer",
  5315. "description": "合同模式 1-普通 2-回购",
  5316. "name": "contractmode",
  5317. "in": "query",
  5318. "required": true
  5319. }
  5320. ],
  5321. "responses": {
  5322. "200": {
  5323. "description": "OK",
  5324. "schema": {
  5325. "type": "array",
  5326. "items": {
  5327. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5328. }
  5329. }
  5330. },
  5331. "500": {
  5332. "description": "Internal Server Error",
  5333. "schema": {
  5334. "$ref": "#/definitions/app.Response"
  5335. }
  5336. }
  5337. }
  5338. }
  5339. },
  5340. "/Erms3/QueryPendingBusiness": {
  5341. "get": {
  5342. "security": [
  5343. {
  5344. "ApiKeyAuth": []
  5345. }
  5346. ],
  5347. "produces": [
  5348. "application/json"
  5349. ],
  5350. "tags": [
  5351. "风险管理v3"
  5352. ],
  5353. "summary": "查询待审核基差贸易业务",
  5354. "parameters": [
  5355. {
  5356. "type": "string",
  5357. "description": "资金账号ID列表,逗号隔开",
  5358. "name": "accountids",
  5359. "in": "query",
  5360. "required": true
  5361. }
  5362. ],
  5363. "responses": {
  5364. "200": {
  5365. "description": "OK",
  5366. "schema": {
  5367. "type": "array",
  5368. "items": {
  5369. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5370. }
  5371. }
  5372. },
  5373. "500": {
  5374. "description": "Internal Server Error",
  5375. "schema": {
  5376. "$ref": "#/definitions/app.Response"
  5377. }
  5378. }
  5379. }
  5380. }
  5381. },
  5382. "/Erms3/QuerySpotContractAppleForm": {
  5383. "get": {
  5384. "security": [
  5385. {
  5386. "ApiKeyAuth": []
  5387. }
  5388. ],
  5389. "produces": [
  5390. "application/json"
  5391. ],
  5392. "tags": [
  5393. "风险管理v3"
  5394. ],
  5395. "summary": "查询合同申请表单数据",
  5396. "parameters": [
  5397. {
  5398. "type": "integer",
  5399. "description": "登录账号",
  5400. "name": "loginID",
  5401. "in": "query",
  5402. "required": true
  5403. }
  5404. ],
  5405. "responses": {
  5406. "200": {
  5407. "description": "OK",
  5408. "schema": {
  5409. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5410. }
  5411. },
  5412. "500": {
  5413. "description": "Internal Server Error",
  5414. "schema": {
  5415. "$ref": "#/definitions/app.Response"
  5416. }
  5417. }
  5418. }
  5419. }
  5420. },
  5421. "/Erms3/QuerySpotContractDetail": {
  5422. "get": {
  5423. "security": [
  5424. {
  5425. "ApiKeyAuth": []
  5426. }
  5427. ],
  5428. "produces": [
  5429. "application/json"
  5430. ],
  5431. "tags": [
  5432. "风险管理v3"
  5433. ],
  5434. "summary": "查询合同详细信息",
  5435. "parameters": [
  5436. {
  5437. "type": "string",
  5438. "description": "资金账号ID列表,用逗号分隔",
  5439. "name": "accountids",
  5440. "in": "query",
  5441. "required": true
  5442. },
  5443. {
  5444. "type": "integer",
  5445. "description": "合同类型,1为采购合同 -1为销售合同",
  5446. "name": "contracttype",
  5447. "in": "query",
  5448. "required": true
  5449. },
  5450. {
  5451. "type": "integer",
  5452. "description": "合同模式,1为普通合同 2为回购销售合同",
  5453. "name": "contractmode",
  5454. "in": "query",
  5455. "required": true
  5456. },
  5457. {
  5458. "type": "integer",
  5459. "description": "状态,0为履约中 1为已完成",
  5460. "name": "status",
  5461. "in": "query",
  5462. "required": true
  5463. }
  5464. ],
  5465. "responses": {
  5466. "200": {
  5467. "description": "OK",
  5468. "schema": {
  5469. "type": "array",
  5470. "items": {
  5471. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5472. }
  5473. }
  5474. },
  5475. "500": {
  5476. "description": "Internal Server Error",
  5477. "schema": {
  5478. "$ref": "#/definitions/app.Response"
  5479. }
  5480. }
  5481. }
  5482. }
  5483. },
  5484. "/Erms3/QueryUserInfoApplies": {
  5485. "get": {
  5486. "security": [
  5487. {
  5488. "ApiKeyAuth": []
  5489. }
  5490. ],
  5491. "produces": [
  5492. "application/json"
  5493. ],
  5494. "tags": [
  5495. "风险管理v3"
  5496. ],
  5497. "summary": "客户申请信息查询",
  5498. "parameters": [
  5499. {
  5500. "type": "integer",
  5501. "description": "页码",
  5502. "name": "page",
  5503. "in": "query"
  5504. },
  5505. {
  5506. "type": "integer",
  5507. "description": "每页条数",
  5508. "name": "pagesize",
  5509. "in": "query"
  5510. },
  5511. {
  5512. "type": "string",
  5513. "description": "客户名称,支持模糊查询",
  5514. "name": "userName",
  5515. "in": "query"
  5516. }
  5517. ],
  5518. "responses": {
  5519. "200": {
  5520. "description": "OK",
  5521. "schema": {
  5522. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5523. }
  5524. },
  5525. "500": {
  5526. "description": "Internal Server Error",
  5527. "schema": {
  5528. "$ref": "#/definitions/app.Response"
  5529. }
  5530. }
  5531. }
  5532. }
  5533. },
  5534. "/Erms3/QueryUserInfos": {
  5535. "get": {
  5536. "security": [
  5537. {
  5538. "ApiKeyAuth": []
  5539. }
  5540. ],
  5541. "produces": [
  5542. "application/json"
  5543. ],
  5544. "tags": [
  5545. "风险管理v3"
  5546. ],
  5547. "summary": "客户信息查询",
  5548. "parameters": [
  5549. {
  5550. "type": "integer",
  5551. "description": "页码",
  5552. "name": "page",
  5553. "in": "query"
  5554. },
  5555. {
  5556. "type": "integer",
  5557. "description": "每页条数",
  5558. "name": "pagesize",
  5559. "in": "query"
  5560. },
  5561. {
  5562. "type": "string",
  5563. "description": "客户名称,支持模糊查询",
  5564. "name": "userName",
  5565. "in": "query"
  5566. }
  5567. ],
  5568. "responses": {
  5569. "200": {
  5570. "description": "OK",
  5571. "schema": {
  5572. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/HSBY/GetHsbyMyCount": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "description": "说明: 不包括已完成的数量。",
  5592. "produces": [
  5593. "application/json"
  5594. ],
  5595. "tags": [
  5596. "定制【海商报业】"
  5597. ],
  5598. "summary": "获取我的订单与包裹数量",
  5599. "parameters": [
  5600. {
  5601. "type": "string",
  5602. "description": "资金账户列表,格式:1,2,3",
  5603. "name": "accountIDs",
  5604. "in": "query",
  5605. "required": true
  5606. }
  5607. ],
  5608. "responses": {
  5609. "200": {
  5610. "description": "OK",
  5611. "schema": {
  5612. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5613. }
  5614. },
  5615. "500": {
  5616. "description": "Internal Server Error",
  5617. "schema": {
  5618. "$ref": "#/definitions/app.Response"
  5619. }
  5620. }
  5621. }
  5622. }
  5623. },
  5624. "/HSBY/QueryClientFixedADConfigs": {
  5625. "get": {
  5626. "security": [
  5627. {
  5628. "ApiKeyAuth": []
  5629. }
  5630. ],
  5631. "produces": [
  5632. "application/json"
  5633. ],
  5634. "tags": [
  5635. "定制【海商报业】"
  5636. ],
  5637. "summary": "获取终端固定广告配置",
  5638. "responses": {
  5639. "200": {
  5640. "description": "OK",
  5641. "schema": {
  5642. "$ref": "#/definitions/models.Clientfixedadconfig"
  5643. }
  5644. },
  5645. "500": {
  5646. "description": "Internal Server Error",
  5647. "schema": {
  5648. "$ref": "#/definitions/app.Response"
  5649. }
  5650. }
  5651. }
  5652. }
  5653. },
  5654. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5655. "get": {
  5656. "security": [
  5657. {
  5658. "ApiKeyAuth": []
  5659. }
  5660. ],
  5661. "produces": [
  5662. "application/json"
  5663. ],
  5664. "tags": [
  5665. "定制【海商报业】"
  5666. ],
  5667. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5668. "parameters": [
  5669. {
  5670. "type": "integer",
  5671. "description": "页码",
  5672. "name": "page",
  5673. "in": "query"
  5674. },
  5675. {
  5676. "type": "integer",
  5677. "description": "每页条数",
  5678. "name": "pagesize",
  5679. "in": "query"
  5680. },
  5681. {
  5682. "type": "string",
  5683. "description": "资金账户列表,格式:1,2,3",
  5684. "name": "accountIDs",
  5685. "in": "query",
  5686. "required": true
  5687. }
  5688. ],
  5689. "responses": {
  5690. "200": {
  5691. "description": "OK",
  5692. "schema": {
  5693. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5694. }
  5695. },
  5696. "500": {
  5697. "description": "Internal Server Error",
  5698. "schema": {
  5699. "$ref": "#/definitions/app.Response"
  5700. }
  5701. }
  5702. }
  5703. }
  5704. },
  5705. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5706. "get": {
  5707. "security": [
  5708. {
  5709. "ApiKeyAuth": []
  5710. }
  5711. ],
  5712. "description": "说明:查询结果已按委托价格和委托时间排序",
  5713. "produces": [
  5714. "application/json"
  5715. ],
  5716. "tags": [
  5717. "定制【海商报业】"
  5718. ],
  5719. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5720. "parameters": [
  5721. {
  5722. "type": "integer",
  5723. "description": "商品ID",
  5724. "name": "goodsID",
  5725. "in": "query",
  5726. "required": true
  5727. },
  5728. {
  5729. "type": "string",
  5730. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5731. "name": "accountIDs",
  5732. "in": "query"
  5733. },
  5734. {
  5735. "type": "integer",
  5736. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5737. "name": "buyOrSell",
  5738. "in": "query"
  5739. },
  5740. {
  5741. "type": "number",
  5742. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5743. "name": "price",
  5744. "in": "query"
  5745. },
  5746. {
  5747. "type": "integer",
  5748. "description": "档位,不传则默认为3档",
  5749. "name": "speed",
  5750. "in": "query"
  5751. }
  5752. ],
  5753. "responses": {
  5754. "200": {
  5755. "description": "OK",
  5756. "schema": {
  5757. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5758. }
  5759. },
  5760. "500": {
  5761. "description": "Internal Server Error",
  5762. "schema": {
  5763. "$ref": "#/definitions/app.Response"
  5764. }
  5765. }
  5766. }
  5767. }
  5768. },
  5769. "/HSBY/QueryHsbyListingGoodsDetail": {
  5770. "get": {
  5771. "security": [
  5772. {
  5773. "ApiKeyAuth": []
  5774. }
  5775. ],
  5776. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5777. "produces": [
  5778. "application/json"
  5779. ],
  5780. "tags": [
  5781. "定制【海商报业】"
  5782. ],
  5783. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5784. "parameters": [
  5785. {
  5786. "type": "integer",
  5787. "description": "商品ID",
  5788. "name": "goodsID",
  5789. "in": "query",
  5790. "required": true
  5791. },
  5792. {
  5793. "type": "integer",
  5794. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5795. "name": "accountID",
  5796. "in": "query"
  5797. }
  5798. ],
  5799. "responses": {
  5800. "200": {
  5801. "description": "OK",
  5802. "schema": {
  5803. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5804. }
  5805. },
  5806. "500": {
  5807. "description": "Internal Server Error",
  5808. "schema": {
  5809. "$ref": "#/definitions/app.Response"
  5810. }
  5811. }
  5812. }
  5813. }
  5814. },
  5815. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5816. "get": {
  5817. "security": [
  5818. {
  5819. "ApiKeyAuth": []
  5820. }
  5821. ],
  5822. "produces": [
  5823. "application/json"
  5824. ],
  5825. "tags": [
  5826. "定制【海商报业】"
  5827. ],
  5828. "summary": "查询三级市场(商城)商品信息详情",
  5829. "parameters": [
  5830. {
  5831. "type": "integer",
  5832. "description": "委托单号",
  5833. "name": "orderID",
  5834. "in": "query",
  5835. "required": true
  5836. },
  5837. {
  5838. "type": "integer",
  5839. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5840. "name": "accountID",
  5841. "in": "query"
  5842. }
  5843. ],
  5844. "responses": {
  5845. "200": {
  5846. "description": "OK",
  5847. "schema": {
  5848. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5849. }
  5850. },
  5851. "500": {
  5852. "description": "Internal Server Error",
  5853. "schema": {
  5854. "$ref": "#/definitions/app.Response"
  5855. }
  5856. }
  5857. }
  5858. }
  5859. },
  5860. "/HSBY/QueryHsbyMarketGoodses": {
  5861. "get": {
  5862. "security": [
  5863. {
  5864. "ApiKeyAuth": []
  5865. }
  5866. ],
  5867. "produces": [
  5868. "application/json"
  5869. ],
  5870. "tags": [
  5871. "定制【海商报业】"
  5872. ],
  5873. "summary": "查询特卖商品列表(三级商城)",
  5874. "parameters": [
  5875. {
  5876. "type": "integer",
  5877. "description": "页码",
  5878. "name": "page",
  5879. "in": "query"
  5880. },
  5881. {
  5882. "type": "integer",
  5883. "description": "每页条数",
  5884. "name": "pagesize",
  5885. "in": "query"
  5886. },
  5887. {
  5888. "type": "string",
  5889. "description": "市场ID列表,格式:1,2,3",
  5890. "name": "marketIDs",
  5891. "in": "query",
  5892. "required": true
  5893. },
  5894. {
  5895. "type": "integer",
  5896. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5897. "name": "accountID",
  5898. "in": "query",
  5899. "required": true
  5900. },
  5901. {
  5902. "type": "integer",
  5903. "description": "类别ID",
  5904. "name": "categoryID",
  5905. "in": "query"
  5906. },
  5907. {
  5908. "type": "string",
  5909. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5910. "name": "goodsIDs",
  5911. "in": "query"
  5912. },
  5913. {
  5914. "type": "integer",
  5915. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5916. "name": "couponTypeID",
  5917. "in": "query"
  5918. }
  5919. ],
  5920. "responses": {
  5921. "200": {
  5922. "description": "OK",
  5923. "schema": {
  5924. "$ref": "#/definitions/models.HsbyMarketGoods"
  5925. }
  5926. },
  5927. "500": {
  5928. "description": "Internal Server Error",
  5929. "schema": {
  5930. "$ref": "#/definitions/app.Response"
  5931. }
  5932. }
  5933. }
  5934. }
  5935. },
  5936. "/HSBY/QueryHsbyMarkets": {
  5937. "get": {
  5938. "security": [
  5939. {
  5940. "ApiKeyAuth": []
  5941. }
  5942. ],
  5943. "produces": [
  5944. "application/json"
  5945. ],
  5946. "tags": [
  5947. "定制【海商报业】"
  5948. ],
  5949. "summary": "查询海商报业相关市场信息",
  5950. "responses": {
  5951. "200": {
  5952. "description": "OK",
  5953. "schema": {
  5954. "$ref": "#/definitions/models.HsbyMarketInfo"
  5955. }
  5956. },
  5957. "500": {
  5958. "description": "Internal Server Error",
  5959. "schema": {
  5960. "$ref": "#/definitions/app.Response"
  5961. }
  5962. }
  5963. }
  5964. }
  5965. },
  5966. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5967. "get": {
  5968. "security": [
  5969. {
  5970. "ApiKeyAuth": []
  5971. }
  5972. ],
  5973. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5974. "produces": [
  5975. "application/json"
  5976. ],
  5977. "tags": [
  5978. "定制【海商报业】"
  5979. ],
  5980. "summary": "查询“我的订单”信息",
  5981. "parameters": [
  5982. {
  5983. "type": "string",
  5984. "description": "资金账户列表,格式:1,2,3",
  5985. "name": "accountIDs",
  5986. "in": "query",
  5987. "required": true
  5988. }
  5989. ],
  5990. "responses": {
  5991. "200": {
  5992. "description": "OK",
  5993. "schema": {
  5994. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5995. }
  5996. },
  5997. "500": {
  5998. "description": "Internal Server Error",
  5999. "schema": {
  6000. "$ref": "#/definitions/app.Response"
  6001. }
  6002. }
  6003. }
  6004. }
  6005. },
  6006. "/HSBY/QueryHsbyMyGoods": {
  6007. "get": {
  6008. "security": [
  6009. {
  6010. "ApiKeyAuth": []
  6011. }
  6012. ],
  6013. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6014. "produces": [
  6015. "application/json"
  6016. ],
  6017. "tags": [
  6018. "定制【海商报业】"
  6019. ],
  6020. "summary": "查询“我的商品”信息",
  6021. "parameters": [
  6022. {
  6023. "type": "string",
  6024. "description": "资金账户列表,格式:1,2,3",
  6025. "name": "accountIDs",
  6026. "in": "query",
  6027. "required": true
  6028. }
  6029. ],
  6030. "responses": {
  6031. "200": {
  6032. "description": "OK",
  6033. "schema": {
  6034. "$ref": "#/definitions/models.HsbyMyGoods"
  6035. }
  6036. },
  6037. "500": {
  6038. "description": "Internal Server Error",
  6039. "schema": {
  6040. "$ref": "#/definitions/app.Response"
  6041. }
  6042. }
  6043. }
  6044. }
  6045. },
  6046. "/HSBY/QueryHsbyMyPackages": {
  6047. "get": {
  6048. "security": [
  6049. {
  6050. "ApiKeyAuth": []
  6051. }
  6052. ],
  6053. "produces": [
  6054. "application/json"
  6055. ],
  6056. "tags": [
  6057. "定制【海商报业】"
  6058. ],
  6059. "summary": "查询我的包裹信息",
  6060. "parameters": [
  6061. {
  6062. "type": "string",
  6063. "description": "资金账户列表,格式:1,2,3",
  6064. "name": "accountIDs",
  6065. "in": "query",
  6066. "required": true
  6067. },
  6068. {
  6069. "type": "integer",
  6070. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6071. "name": "takeOrderStatus",
  6072. "in": "query"
  6073. }
  6074. ],
  6075. "responses": {
  6076. "200": {
  6077. "description": "OK",
  6078. "schema": {
  6079. "$ref": "#/definitions/models.HsbyMyPackage"
  6080. }
  6081. },
  6082. "500": {
  6083. "description": "Internal Server Error",
  6084. "schema": {
  6085. "$ref": "#/definitions/app.Response"
  6086. }
  6087. }
  6088. }
  6089. }
  6090. },
  6091. "/HSBY/QueryHsbyPreGoodsDetail": {
  6092. "get": {
  6093. "security": [
  6094. {
  6095. "ApiKeyAuth": []
  6096. }
  6097. ],
  6098. "produces": [
  6099. "application/json"
  6100. ],
  6101. "tags": [
  6102. "定制【海商报业】"
  6103. ],
  6104. "summary": "查询一级市场(预售)商品信息详情",
  6105. "parameters": [
  6106. {
  6107. "type": "integer",
  6108. "description": "商品ID",
  6109. "name": "goodsID",
  6110. "in": "query",
  6111. "required": true
  6112. },
  6113. {
  6114. "type": "integer",
  6115. "description": "资金账户,主要用于获取预售商品购买上限",
  6116. "name": "accountID",
  6117. "in": "query"
  6118. }
  6119. ],
  6120. "responses": {
  6121. "200": {
  6122. "description": "OK",
  6123. "schema": {
  6124. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6125. }
  6126. },
  6127. "500": {
  6128. "description": "Internal Server Error",
  6129. "schema": {
  6130. "$ref": "#/definitions/app.Response"
  6131. }
  6132. }
  6133. }
  6134. }
  6135. },
  6136. "/HSBY/QueryHsbyPreGoodses": {
  6137. "get": {
  6138. "security": [
  6139. {
  6140. "ApiKeyAuth": []
  6141. }
  6142. ],
  6143. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6144. "produces": [
  6145. "application/json"
  6146. ],
  6147. "tags": [
  6148. "定制【海商报业】"
  6149. ],
  6150. "summary": "查询新品上市商品列表(一级市场预售)",
  6151. "parameters": [
  6152. {
  6153. "type": "integer",
  6154. "description": "页码",
  6155. "name": "page",
  6156. "in": "query"
  6157. },
  6158. {
  6159. "type": "integer",
  6160. "description": "每页条数",
  6161. "name": "pagesize",
  6162. "in": "query"
  6163. },
  6164. {
  6165. "type": "string",
  6166. "description": "市场ID列表,格式:1,2,3",
  6167. "name": "marketIDs",
  6168. "in": "query",
  6169. "required": true
  6170. },
  6171. {
  6172. "type": "integer",
  6173. "description": "目的地(省)ID",
  6174. "name": "descProvinceID",
  6175. "in": "query"
  6176. },
  6177. {
  6178. "type": "integer",
  6179. "description": "目的地(市)ID",
  6180. "name": "descCityID",
  6181. "in": "query"
  6182. }
  6183. ],
  6184. "responses": {
  6185. "200": {
  6186. "description": "OK",
  6187. "schema": {
  6188. "$ref": "#/definitions/models.HsbyPreGoods"
  6189. }
  6190. },
  6191. "500": {
  6192. "description": "Internal Server Error",
  6193. "schema": {
  6194. "$ref": "#/definitions/app.Response"
  6195. }
  6196. }
  6197. }
  6198. }
  6199. },
  6200. "/HSBY/QueryHsbySellMyDetails": {
  6201. "get": {
  6202. "security": [
  6203. {
  6204. "ApiKeyAuth": []
  6205. }
  6206. ],
  6207. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6208. "produces": [
  6209. "application/json"
  6210. ],
  6211. "tags": [
  6212. "定制【海商报业】"
  6213. ],
  6214. "summary": "查询\"我的闲置\"单据信息",
  6215. "parameters": [
  6216. {
  6217. "type": "integer",
  6218. "description": "页码",
  6219. "name": "page",
  6220. "in": "query"
  6221. },
  6222. {
  6223. "type": "integer",
  6224. "description": "每页条数",
  6225. "name": "pagesize",
  6226. "in": "query"
  6227. },
  6228. {
  6229. "type": "string",
  6230. "description": "资金账户列表,格式:1,2,3",
  6231. "name": "accountIDs",
  6232. "in": "query",
  6233. "required": true
  6234. },
  6235. {
  6236. "type": "integer",
  6237. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6238. "name": "orderType",
  6239. "in": "query"
  6240. }
  6241. ],
  6242. "responses": {
  6243. "200": {
  6244. "description": "OK",
  6245. "schema": {
  6246. "$ref": "#/definitions/models.HsbySellMyDetail"
  6247. }
  6248. },
  6249. "500": {
  6250. "description": "Internal Server Error",
  6251. "schema": {
  6252. "$ref": "#/definitions/app.Response"
  6253. }
  6254. }
  6255. }
  6256. }
  6257. },
  6258. "/HSBY/QueryHsbyTopGoodses": {
  6259. "get": {
  6260. "security": [
  6261. {
  6262. "ApiKeyAuth": []
  6263. }
  6264. ],
  6265. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6266. "produces": [
  6267. "application/json"
  6268. ],
  6269. "tags": [
  6270. "定制【海商报业】"
  6271. ],
  6272. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6273. "parameters": [
  6274. {
  6275. "type": "integer",
  6276. "description": "页码",
  6277. "name": "page",
  6278. "in": "query"
  6279. },
  6280. {
  6281. "type": "integer",
  6282. "description": "每页条数",
  6283. "name": "pagesize",
  6284. "in": "query"
  6285. },
  6286. {
  6287. "type": "string",
  6288. "description": "市场ID列表,格式:1,2,3",
  6289. "name": "marketIDs",
  6290. "in": "query",
  6291. "required": true
  6292. },
  6293. {
  6294. "type": "integer",
  6295. "description": "目的地(省)ID",
  6296. "name": "descProvinceID",
  6297. "in": "query"
  6298. },
  6299. {
  6300. "type": "integer",
  6301. "description": "目的地(市)ID",
  6302. "name": "descCityID",
  6303. "in": "query"
  6304. }
  6305. ],
  6306. "responses": {
  6307. "200": {
  6308. "description": "OK",
  6309. "schema": {
  6310. "$ref": "#/definitions/models.HsbyTopGoods"
  6311. }
  6312. },
  6313. "500": {
  6314. "description": "Internal Server Error",
  6315. "schema": {
  6316. "$ref": "#/definitions/app.Response"
  6317. }
  6318. }
  6319. }
  6320. }
  6321. },
  6322. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6323. "get": {
  6324. "security": [
  6325. {
  6326. "ApiKeyAuth": []
  6327. }
  6328. ],
  6329. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6330. "produces": [
  6331. "application/json"
  6332. ],
  6333. "tags": [
  6334. "定制【海商报业】"
  6335. ],
  6336. "summary": "查询游客三级市场(商城)商品信息详情",
  6337. "parameters": [
  6338. {
  6339. "type": "integer",
  6340. "description": "商品ID",
  6341. "name": "goodsID",
  6342. "in": "query",
  6343. "required": true
  6344. }
  6345. ],
  6346. "responses": {
  6347. "200": {
  6348. "description": "OK",
  6349. "schema": {
  6350. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6351. }
  6352. },
  6353. "500": {
  6354. "description": "Internal Server Error",
  6355. "schema": {
  6356. "$ref": "#/definitions/app.Response"
  6357. }
  6358. }
  6359. }
  6360. }
  6361. },
  6362. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6363. "get": {
  6364. "security": [
  6365. {
  6366. "ApiKeyAuth": []
  6367. }
  6368. ],
  6369. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6370. "produces": [
  6371. "application/json"
  6372. ],
  6373. "tags": [
  6374. "定制【海商报业】"
  6375. ],
  6376. "summary": "查询游客特卖商品列表(三级商城)",
  6377. "parameters": [
  6378. {
  6379. "type": "integer",
  6380. "description": "页码",
  6381. "name": "page",
  6382. "in": "query"
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": "每页条数",
  6387. "name": "pagesize",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "string",
  6392. "description": "市场ID列表,格式:1,2,3",
  6393. "name": "marketIDs",
  6394. "in": "query",
  6395. "required": true
  6396. },
  6397. {
  6398. "type": "integer",
  6399. "description": "类别ID",
  6400. "name": "categoryID",
  6401. "in": "query"
  6402. },
  6403. {
  6404. "type": "string",
  6405. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6406. "name": "goodsIDs",
  6407. "in": "query"
  6408. }
  6409. ],
  6410. "responses": {
  6411. "200": {
  6412. "description": "OK",
  6413. "schema": {
  6414. "$ref": "#/definitions/models.HsbyMarketGoods"
  6415. }
  6416. },
  6417. "500": {
  6418. "description": "Internal Server Error",
  6419. "schema": {
  6420. "$ref": "#/definitions/app.Response"
  6421. }
  6422. }
  6423. }
  6424. }
  6425. },
  6426. "/HSBY/QueryMyCollectionOrders": {
  6427. "get": {
  6428. "security": [
  6429. {
  6430. "ApiKeyAuth": []
  6431. }
  6432. ],
  6433. "produces": [
  6434. "application/json"
  6435. ],
  6436. "tags": [
  6437. "定制【海商报业】"
  6438. ],
  6439. "summary": "我的闲置中收款信息查询",
  6440. "parameters": [
  6441. {
  6442. "type": "integer",
  6443. "description": "页码",
  6444. "name": "page",
  6445. "in": "query"
  6446. },
  6447. {
  6448. "type": "integer",
  6449. "description": "每页条数",
  6450. "name": "pagesize",
  6451. "in": "query"
  6452. },
  6453. {
  6454. "type": "string",
  6455. "description": "资金账户,格式:1,2,3",
  6456. "name": "accountIDs",
  6457. "in": "query",
  6458. "required": true
  6459. }
  6460. ],
  6461. "responses": {
  6462. "200": {
  6463. "description": "OK",
  6464. "schema": {
  6465. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6466. }
  6467. },
  6468. "500": {
  6469. "description": "Internal Server Error",
  6470. "schema": {
  6471. "$ref": "#/definitions/app.Response"
  6472. }
  6473. }
  6474. }
  6475. }
  6476. },
  6477. "/HSBY/QueryMyCouponHolds": {
  6478. "get": {
  6479. "security": [
  6480. {
  6481. "ApiKeyAuth": []
  6482. }
  6483. ],
  6484. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6485. "produces": [
  6486. "application/json"
  6487. ],
  6488. "tags": [
  6489. "定制【海商报业】"
  6490. ],
  6491. "summary": "我的优惠卷持仓查询",
  6492. "parameters": [
  6493. {
  6494. "type": "string",
  6495. "description": "资金账户列表,格式:1,2,3",
  6496. "name": "accountIDs",
  6497. "in": "query",
  6498. "required": true
  6499. },
  6500. {
  6501. "type": "string",
  6502. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6503. "name": "holdStatus",
  6504. "in": "query"
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "$ref": "#/definitions/models.MyCouponHold"
  6512. }
  6513. },
  6514. "500": {
  6515. "description": "Internal Server Error",
  6516. "schema": {
  6517. "$ref": "#/definitions/app.Response"
  6518. }
  6519. }
  6520. }
  6521. }
  6522. },
  6523. "/HSBY/QueryMyCoupons": {
  6524. "get": {
  6525. "security": [
  6526. {
  6527. "ApiKeyAuth": []
  6528. }
  6529. ],
  6530. "produces": [
  6531. "application/json"
  6532. ],
  6533. "tags": [
  6534. "定制【海商报业】"
  6535. ],
  6536. "summary": "我的优惠卷查询",
  6537. "parameters": [
  6538. {
  6539. "type": "string",
  6540. "description": "资金账户列表,格式:1,2,3",
  6541. "name": "accountIDs",
  6542. "in": "query",
  6543. "required": true
  6544. },
  6545. {
  6546. "type": "integer",
  6547. "description": "商品ID, 一般与sellUserID配套传入",
  6548. "name": "goodsID",
  6549. "in": "query"
  6550. },
  6551. {
  6552. "type": "integer",
  6553. "description": "卖方UserID",
  6554. "name": "sellUserID",
  6555. "in": "query"
  6556. }
  6557. ],
  6558. "responses": {
  6559. "200": {
  6560. "description": "OK",
  6561. "schema": {
  6562. "$ref": "#/definitions/models.MyCoupon"
  6563. }
  6564. },
  6565. "500": {
  6566. "description": "Internal Server Error",
  6567. "schema": {
  6568. "$ref": "#/definitions/app.Response"
  6569. }
  6570. }
  6571. }
  6572. }
  6573. },
  6574. "/HSBY/QueryMyPayOrders": {
  6575. "get": {
  6576. "security": [
  6577. {
  6578. "ApiKeyAuth": []
  6579. }
  6580. ],
  6581. "produces": [
  6582. "application/json"
  6583. ],
  6584. "tags": [
  6585. "定制【海商报业】"
  6586. ],
  6587. "summary": "获取我的订单中待付款信息",
  6588. "parameters": [
  6589. {
  6590. "type": "integer",
  6591. "description": "页码",
  6592. "name": "page",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "每页条数",
  6598. "name": "pagesize",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "string",
  6603. "description": "资金账户列表,格式:1,2,3",
  6604. "name": "accountIDs",
  6605. "in": "query",
  6606. "required": true
  6607. },
  6608. {
  6609. "type": "integer",
  6610. "description": "买方委托单号",
  6611. "name": "buyOrderID",
  6612. "in": "query"
  6613. },
  6614. {
  6615. "type": "integer",
  6616. "description": "卖方委托单号",
  6617. "name": "sellOrderID",
  6618. "in": "query"
  6619. }
  6620. ],
  6621. "responses": {
  6622. "200": {
  6623. "description": "OK",
  6624. "schema": {
  6625. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6626. }
  6627. },
  6628. "500": {
  6629. "description": "Internal Server Error",
  6630. "schema": {
  6631. "$ref": "#/definitions/app.Response"
  6632. }
  6633. }
  6634. }
  6635. }
  6636. },
  6637. "/HSBY/QueryMyUsedCoupon": {
  6638. "get": {
  6639. "security": [
  6640. {
  6641. "ApiKeyAuth": []
  6642. }
  6643. ],
  6644. "produces": [
  6645. "application/json"
  6646. ],
  6647. "tags": [
  6648. "定制【海商报业】"
  6649. ],
  6650. "summary": "已使用优惠卷查询",
  6651. "parameters": [
  6652. {
  6653. "type": "string",
  6654. "description": "资金账户列表,格式:1,2,3",
  6655. "name": "accountIDs",
  6656. "in": "query",
  6657. "required": true
  6658. }
  6659. ],
  6660. "responses": {
  6661. "200": {
  6662. "description": "OK",
  6663. "schema": {
  6664. "$ref": "#/definitions/models.MyUsedCoupon"
  6665. }
  6666. },
  6667. "500": {
  6668. "description": "Internal Server Error",
  6669. "schema": {
  6670. "$ref": "#/definitions/app.Response"
  6671. }
  6672. }
  6673. }
  6674. }
  6675. },
  6676. "/HSBY/QueryProvincesAndCities": {
  6677. "get": {
  6678. "security": [
  6679. {
  6680. "ApiKeyAuth": []
  6681. }
  6682. ],
  6683. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6684. "produces": [
  6685. "application/json"
  6686. ],
  6687. "tags": [
  6688. "定制【海商报业】"
  6689. ],
  6690. "summary": "查询省市信息(不包括区)",
  6691. "parameters": [
  6692. {
  6693. "type": "integer",
  6694. "description": "省ID",
  6695. "name": "provinceID",
  6696. "in": "query"
  6697. }
  6698. ],
  6699. "responses": {
  6700. "200": {
  6701. "description": "OK",
  6702. "schema": {
  6703. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6704. }
  6705. },
  6706. "500": {
  6707. "description": "Internal Server Error",
  6708. "schema": {
  6709. "$ref": "#/definitions/app.Response"
  6710. }
  6711. }
  6712. }
  6713. }
  6714. },
  6715. "/HSBY/SetHsbyMyPackagesStatus": {
  6716. "post": {
  6717. "security": [
  6718. {
  6719. "ApiKeyAuth": []
  6720. }
  6721. ],
  6722. "produces": [
  6723. "application/json"
  6724. ],
  6725. "tags": [
  6726. "定制【海商报业】"
  6727. ],
  6728. "summary": "设置我的包裹已收货状态",
  6729. "parameters": [
  6730. {
  6731. "type": "string",
  6732. "description": "提货单号",
  6733. "name": "takeOrderID",
  6734. "in": "query",
  6735. "required": true
  6736. },
  6737. {
  6738. "type": "integer",
  6739. "description": "资金账号",
  6740. "name": "accountID",
  6741. "in": "query",
  6742. "required": true
  6743. }
  6744. ],
  6745. "responses": {
  6746. "200": {
  6747. "description": "OK",
  6748. "schema": {
  6749. "$ref": "#/definitions/app.Response"
  6750. }
  6751. },
  6752. "500": {
  6753. "description": "Internal Server Error",
  6754. "schema": {
  6755. "$ref": "#/definitions/app.Response"
  6756. }
  6757. }
  6758. }
  6759. }
  6760. },
  6761. "/Market/GetAllExExchanges": {
  6762. "get": {
  6763. "security": [
  6764. {
  6765. "ApiKeyAuth": []
  6766. }
  6767. ],
  6768. "produces": [
  6769. "application/json"
  6770. ],
  6771. "tags": [
  6772. "通用市场"
  6773. ],
  6774. "summary": "获取所有外部交易所信息",
  6775. "responses": {
  6776. "200": {
  6777. "description": "OK",
  6778. "schema": {
  6779. "$ref": "#/definitions/models.Goods"
  6780. }
  6781. },
  6782. "500": {
  6783. "description": "Internal Server Error",
  6784. "schema": {
  6785. "$ref": "#/definitions/app.Response"
  6786. }
  6787. }
  6788. }
  6789. }
  6790. },
  6791. "/Market/QueryGoodsesByLoginID": {
  6792. "get": {
  6793. "security": [
  6794. {
  6795. "ApiKeyAuth": []
  6796. }
  6797. ],
  6798. "produces": [
  6799. "application/json"
  6800. ],
  6801. "tags": [
  6802. "通用市场"
  6803. ],
  6804. "summary": "获取登录账号有权限的商品信息",
  6805. "parameters": [
  6806. {
  6807. "type": "integer",
  6808. "description": "登录账号",
  6809. "name": "loginID",
  6810. "in": "query",
  6811. "required": true
  6812. },
  6813. {
  6814. "type": "string",
  6815. "description": "市场ID列表,格式:1,2,3",
  6816. "name": "marketIDs",
  6817. "in": "query"
  6818. }
  6819. ],
  6820. "responses": {
  6821. "200": {
  6822. "description": "OK",
  6823. "schema": {
  6824. "$ref": "#/definitions/models.Goods"
  6825. }
  6826. },
  6827. "500": {
  6828. "description": "Internal Server Error",
  6829. "schema": {
  6830. "$ref": "#/definitions/app.Response"
  6831. }
  6832. }
  6833. }
  6834. }
  6835. },
  6836. "/Market/QueryMarketRun": {
  6837. "get": {
  6838. "security": [
  6839. {
  6840. "ApiKeyAuth": []
  6841. }
  6842. ],
  6843. "produces": [
  6844. "application/json"
  6845. ],
  6846. "tags": [
  6847. "通用市场"
  6848. ],
  6849. "summary": "查询市场运行信息",
  6850. "parameters": [
  6851. {
  6852. "type": "integer",
  6853. "description": "市场ID,不传返回所有",
  6854. "name": "marketID",
  6855. "in": "query"
  6856. }
  6857. ],
  6858. "responses": {
  6859. "200": {
  6860. "description": "OK",
  6861. "schema": {
  6862. "$ref": "#/definitions/models.Marketrun"
  6863. }
  6864. },
  6865. "500": {
  6866. "description": "Internal Server Error",
  6867. "schema": {
  6868. "$ref": "#/definitions/app.Response"
  6869. }
  6870. }
  6871. }
  6872. }
  6873. },
  6874. "/Market/QueryMarketsByLoginID": {
  6875. "get": {
  6876. "security": [
  6877. {
  6878. "ApiKeyAuth": []
  6879. }
  6880. ],
  6881. "produces": [
  6882. "application/json"
  6883. ],
  6884. "tags": [
  6885. "通用市场"
  6886. ],
  6887. "summary": "获取登录账号有权限的市场信息",
  6888. "parameters": [
  6889. {
  6890. "type": "integer",
  6891. "description": "登录账号",
  6892. "name": "loginID",
  6893. "in": "query",
  6894. "required": true
  6895. }
  6896. ],
  6897. "responses": {
  6898. "200": {
  6899. "description": "OK",
  6900. "schema": {
  6901. "$ref": "#/definitions/models.Market"
  6902. }
  6903. },
  6904. "500": {
  6905. "description": "Internal Server Error",
  6906. "schema": {
  6907. "$ref": "#/definitions/app.Response"
  6908. }
  6909. }
  6910. }
  6911. }
  6912. },
  6913. "/Order/QueryHisTradeDetail": {
  6914. "get": {
  6915. "security": [
  6916. {
  6917. "ApiKeyAuth": []
  6918. }
  6919. ],
  6920. "produces": [
  6921. "application/json"
  6922. ],
  6923. "tags": [
  6924. "通用单据"
  6925. ],
  6926. "summary": "历史成交单查询(合约市场)",
  6927. "parameters": [
  6928. {
  6929. "type": "string",
  6930. "description": "资金账户 - 格式:1,2,3",
  6931. "name": "accountID",
  6932. "in": "query",
  6933. "required": true
  6934. },
  6935. {
  6936. "type": "integer",
  6937. "description": "成交单号",
  6938. "name": "tradeID",
  6939. "in": "query"
  6940. },
  6941. {
  6942. "type": "integer",
  6943. "description": "委托单号",
  6944. "name": "orderID",
  6945. "in": "query"
  6946. },
  6947. {
  6948. "type": "integer",
  6949. "description": "商品ID",
  6950. "name": "goodsID",
  6951. "in": "query"
  6952. },
  6953. {
  6954. "type": "string",
  6955. "description": "交易模式 - 格式:1,2,3",
  6956. "name": "tradeMode",
  6957. "in": "query"
  6958. },
  6959. {
  6960. "type": "integer",
  6961. "description": "委托单据类型",
  6962. "name": "buildType",
  6963. "in": "query"
  6964. },
  6965. {
  6966. "type": "string",
  6967. "description": "成交类别 - 格式:1,2,3",
  6968. "name": "tradeType",
  6969. "in": "query"
  6970. },
  6971. {
  6972. "type": "string",
  6973. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6974. "name": "startDate",
  6975. "in": "query"
  6976. },
  6977. {
  6978. "type": "string",
  6979. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6980. "name": "endDate",
  6981. "in": "query"
  6982. }
  6983. ],
  6984. "responses": {
  6985. "200": {
  6986. "description": "OK",
  6987. "schema": {
  6988. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6989. }
  6990. },
  6991. "500": {
  6992. "description": "Internal Server Error",
  6993. "schema": {
  6994. "$ref": "#/definitions/app.Response"
  6995. }
  6996. }
  6997. }
  6998. }
  6999. },
  7000. "/Order/QueryHisTradeOrderDetail": {
  7001. "get": {
  7002. "security": [
  7003. {
  7004. "ApiKeyAuth": []
  7005. }
  7006. ],
  7007. "produces": [
  7008. "application/json"
  7009. ],
  7010. "tags": [
  7011. "通用单据"
  7012. ],
  7013. "summary": "历史委托单查询请求(合约市场)",
  7014. "parameters": [
  7015. {
  7016. "type": "string",
  7017. "description": "资金账户 - 格式:1,2,3",
  7018. "name": "accountID",
  7019. "in": "query",
  7020. "required": true
  7021. },
  7022. {
  7023. "type": "string",
  7024. "description": "交易模式 - 格式:1,2,3",
  7025. "name": "tradeMode",
  7026. "in": "query"
  7027. },
  7028. {
  7029. "type": "string",
  7030. "description": "委托状态 - 格式:1,2,3",
  7031. "name": "orderStatus",
  7032. "in": "query"
  7033. },
  7034. {
  7035. "type": "integer",
  7036. "description": "委托单号",
  7037. "name": "orderID",
  7038. "in": "query"
  7039. },
  7040. {
  7041. "type": "string",
  7042. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7043. "name": "startDate",
  7044. "in": "query"
  7045. },
  7046. {
  7047. "type": "string",
  7048. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7049. "name": "endDate",
  7050. "in": "query"
  7051. }
  7052. ],
  7053. "responses": {
  7054. "200": {
  7055. "description": "OK",
  7056. "schema": {
  7057. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7058. }
  7059. },
  7060. "500": {
  7061. "description": "Internal Server Error",
  7062. "schema": {
  7063. "$ref": "#/definitions/app.Response"
  7064. }
  7065. }
  7066. }
  7067. }
  7068. },
  7069. "/Order/QueryTradeDetail": {
  7070. "get": {
  7071. "security": [
  7072. {
  7073. "ApiKeyAuth": []
  7074. }
  7075. ],
  7076. "produces": [
  7077. "application/json"
  7078. ],
  7079. "tags": [
  7080. "通用单据"
  7081. ],
  7082. "summary": "成交单查询(合约市场)",
  7083. "parameters": [
  7084. {
  7085. "type": "string",
  7086. "description": "资金账户 - 格式:1,2,3",
  7087. "name": "accountID",
  7088. "in": "query",
  7089. "required": true
  7090. },
  7091. {
  7092. "type": "integer",
  7093. "description": "成交单号",
  7094. "name": "tradeID",
  7095. "in": "query"
  7096. },
  7097. {
  7098. "type": "integer",
  7099. "description": "委托单号",
  7100. "name": "orderID",
  7101. "in": "query"
  7102. },
  7103. {
  7104. "type": "string",
  7105. "description": "交易模式 - 格式:1,2,3",
  7106. "name": "tradeMode",
  7107. "in": "query"
  7108. },
  7109. {
  7110. "type": "integer",
  7111. "description": "委托单据类型",
  7112. "name": "buildType",
  7113. "in": "query"
  7114. },
  7115. {
  7116. "type": "string",
  7117. "description": "成交类别 - 格式:1,2,3",
  7118. "name": "tradeType",
  7119. "in": "query"
  7120. },
  7121. {
  7122. "type": "integer",
  7123. "description": "商品ID",
  7124. "name": "goodsID",
  7125. "in": "query"
  7126. }
  7127. ],
  7128. "responses": {
  7129. "200": {
  7130. "description": "OK",
  7131. "schema": {
  7132. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7133. }
  7134. },
  7135. "500": {
  7136. "description": "Internal Server Error",
  7137. "schema": {
  7138. "$ref": "#/definitions/app.Response"
  7139. }
  7140. }
  7141. }
  7142. }
  7143. },
  7144. "/Order/QueryTradeHolderDetail": {
  7145. "get": {
  7146. "security": [
  7147. {
  7148. "ApiKeyAuth": []
  7149. }
  7150. ],
  7151. "produces": [
  7152. "application/json"
  7153. ],
  7154. "tags": [
  7155. "通用单据"
  7156. ],
  7157. "summary": "查询持仓明细",
  7158. "parameters": [
  7159. {
  7160. "type": "integer",
  7161. "description": "用户id",
  7162. "name": "userid",
  7163. "in": "query"
  7164. },
  7165. {
  7166. "type": "string",
  7167. "description": "资金账号, 格式 1,2,3",
  7168. "name": "accids",
  7169. "in": "query"
  7170. },
  7171. {
  7172. "type": "string",
  7173. "description": "交易模式, 格式 1,2,3",
  7174. "name": "trademodes",
  7175. "in": "query"
  7176. },
  7177. {
  7178. "type": "string",
  7179. "description": "市场id, 格式 1,2,3",
  7180. "name": "marketids",
  7181. "in": "query"
  7182. },
  7183. {
  7184. "type": "integer",
  7185. "description": "商品id",
  7186. "name": "goodsid",
  7187. "in": "query"
  7188. },
  7189. {
  7190. "type": "integer",
  7191. "description": "买卖方向 0-买 1-卖",
  7192. "name": "buyorsell",
  7193. "in": "query"
  7194. }
  7195. ],
  7196. "responses": {
  7197. "200": {
  7198. "description": "OK",
  7199. "schema": {
  7200. "type": "array",
  7201. "items": {
  7202. "$ref": "#/definitions/models.TradeHolderDetail"
  7203. }
  7204. }
  7205. },
  7206. "500": {
  7207. "description": "Internal Server Error",
  7208. "schema": {
  7209. "$ref": "#/definitions/app.Response"
  7210. }
  7211. }
  7212. }
  7213. }
  7214. },
  7215. "/Order/QueryTradeOrderDetail": {
  7216. "get": {
  7217. "security": [
  7218. {
  7219. "ApiKeyAuth": []
  7220. }
  7221. ],
  7222. "produces": [
  7223. "application/json"
  7224. ],
  7225. "tags": [
  7226. "通用单据"
  7227. ],
  7228. "summary": "委托单查询请求(合约市场)",
  7229. "parameters": [
  7230. {
  7231. "type": "string",
  7232. "description": "资金账户 - 格式:1,2,3",
  7233. "name": "accountID",
  7234. "in": "query",
  7235. "required": true
  7236. },
  7237. {
  7238. "type": "string",
  7239. "description": "交易模式 - 格式:1,2,3",
  7240. "name": "tradeMode",
  7241. "in": "query"
  7242. },
  7243. {
  7244. "type": "string",
  7245. "description": "委托状态 - 格式:1,2,3",
  7246. "name": "orderStatus",
  7247. "in": "query"
  7248. },
  7249. {
  7250. "type": "integer",
  7251. "description": "委托单号",
  7252. "name": "orderID",
  7253. "in": "query"
  7254. }
  7255. ],
  7256. "responses": {
  7257. "200": {
  7258. "description": "OK",
  7259. "schema": {
  7260. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7261. }
  7262. },
  7263. "500": {
  7264. "description": "Internal Server Error",
  7265. "schema": {
  7266. "$ref": "#/definitions/app.Response"
  7267. }
  7268. }
  7269. }
  7270. }
  7271. },
  7272. "/Order/QueryTradePosition": {
  7273. "get": {
  7274. "security": [
  7275. {
  7276. "ApiKeyAuth": []
  7277. }
  7278. ],
  7279. "produces": [
  7280. "application/json"
  7281. ],
  7282. "tags": [
  7283. "通用单据"
  7284. ],
  7285. "summary": "持仓汇总查询(合约市场)",
  7286. "parameters": [
  7287. {
  7288. "type": "string",
  7289. "description": "资金账户 - 格式:1,2,3",
  7290. "name": "accountID",
  7291. "in": "query",
  7292. "required": true
  7293. },
  7294. {
  7295. "type": "string",
  7296. "description": "交易模式 - 格式:1,2,3",
  7297. "name": "tradeMode",
  7298. "in": "query"
  7299. }
  7300. ],
  7301. "responses": {
  7302. "200": {
  7303. "description": "OK",
  7304. "schema": {
  7305. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7306. }
  7307. },
  7308. "500": {
  7309. "description": "Internal Server Error",
  7310. "schema": {
  7311. "$ref": "#/definitions/app.Response"
  7312. }
  7313. }
  7314. }
  7315. }
  7316. },
  7317. "/Qhj/QueryAccountInOutApply": {
  7318. "get": {
  7319. "security": [
  7320. {
  7321. "ApiKeyAuth": []
  7322. }
  7323. ],
  7324. "produces": [
  7325. "application/json"
  7326. ],
  7327. "tags": [
  7328. "大连千海金"
  7329. ],
  7330. "summary": "查询充值提现",
  7331. "parameters": [
  7332. {
  7333. "type": "integer",
  7334. "description": "用户ID",
  7335. "name": "userid",
  7336. "in": "query",
  7337. "required": true
  7338. },
  7339. {
  7340. "type": "string",
  7341. "description": "申请起始日期(格式yyyymmdd)",
  7342. "name": "begindate",
  7343. "in": "query"
  7344. },
  7345. {
  7346. "type": "string",
  7347. "description": "申请截止日期(格式yyyymmdd)",
  7348. "name": "enddate",
  7349. "in": "query"
  7350. },
  7351. {
  7352. "type": "string",
  7353. "description": "模糊搜索名称",
  7354. "name": "likename",
  7355. "in": "query"
  7356. }
  7357. ],
  7358. "responses": {
  7359. "200": {
  7360. "description": "OK",
  7361. "schema": {
  7362. "type": "array",
  7363. "items": {
  7364. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7365. }
  7366. }
  7367. },
  7368. "500": {
  7369. "description": "Internal Server Error",
  7370. "schema": {
  7371. "$ref": "#/definitions/app.Response"
  7372. }
  7373. }
  7374. }
  7375. }
  7376. },
  7377. "/Qhj/QueryAreaFinanceConfig": {
  7378. "get": {
  7379. "security": [
  7380. {
  7381. "ApiKeyAuth": []
  7382. }
  7383. ],
  7384. "produces": [
  7385. "application/json"
  7386. ],
  7387. "tags": [
  7388. "大连千海金"
  7389. ],
  7390. "summary": "查询企业配置表",
  7391. "parameters": [
  7392. {
  7393. "type": "integer",
  7394. "description": "机构用户ID 其他做市关系,都设置为 1",
  7395. "name": "userid",
  7396. "in": "query"
  7397. }
  7398. ],
  7399. "responses": {
  7400. "200": {
  7401. "description": "OK",
  7402. "schema": {
  7403. "type": "array",
  7404. "items": {
  7405. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7406. }
  7407. }
  7408. },
  7409. "500": {
  7410. "description": "Internal Server Error",
  7411. "schema": {
  7412. "$ref": "#/definitions/app.Response"
  7413. }
  7414. }
  7415. }
  7416. }
  7417. },
  7418. "/Qhj/QueryBankAccountSign": {
  7419. "get": {
  7420. "security": [
  7421. {
  7422. "ApiKeyAuth": []
  7423. }
  7424. ],
  7425. "produces": [
  7426. "application/json"
  7427. ],
  7428. "tags": [
  7429. "大连千海金"
  7430. ],
  7431. "summary": "查询签约银行信息(提现账户管理)",
  7432. "parameters": [
  7433. {
  7434. "type": "integer",
  7435. "description": "用户ID",
  7436. "name": "userid",
  7437. "in": "query",
  7438. "required": true
  7439. }
  7440. ],
  7441. "responses": {
  7442. "200": {
  7443. "description": "OK",
  7444. "schema": {
  7445. "type": "array",
  7446. "items": {
  7447. "$ref": "#/definitions/models.QhjBankAccountSign"
  7448. }
  7449. }
  7450. },
  7451. "500": {
  7452. "description": "Internal Server Error",
  7453. "schema": {
  7454. "$ref": "#/definitions/app.Response"
  7455. }
  7456. }
  7457. }
  7458. }
  7459. },
  7460. "/Qhj/QueryBankInfo": {
  7461. "get": {
  7462. "security": [
  7463. {
  7464. "ApiKeyAuth": []
  7465. }
  7466. ],
  7467. "produces": [
  7468. "application/json"
  7469. ],
  7470. "tags": [
  7471. "大连千海金"
  7472. ],
  7473. "summary": "查询开户行",
  7474. "responses": {
  7475. "200": {
  7476. "description": "OK",
  7477. "schema": {
  7478. "type": "array",
  7479. "items": {
  7480. "$ref": "#/definitions/models.QhjBankInfo"
  7481. }
  7482. }
  7483. },
  7484. "500": {
  7485. "description": "Internal Server Error",
  7486. "schema": {
  7487. "$ref": "#/definitions/app.Response"
  7488. }
  7489. }
  7490. }
  7491. }
  7492. },
  7493. "/Qhj/QueryBrokerApply": {
  7494. "get": {
  7495. "security": [
  7496. {
  7497. "ApiKeyAuth": []
  7498. }
  7499. ],
  7500. "produces": [
  7501. "application/json"
  7502. ],
  7503. "tags": [
  7504. "大连千海金"
  7505. ],
  7506. "summary": "查询经纪人申请",
  7507. "parameters": [
  7508. {
  7509. "type": "integer",
  7510. "description": "所属机构ID",
  7511. "name": "userid",
  7512. "in": "query"
  7513. },
  7514. {
  7515. "type": "string",
  7516. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7517. "name": "filterstatus",
  7518. "in": "query"
  7519. }
  7520. ],
  7521. "responses": {
  7522. "200": {
  7523. "description": "OK",
  7524. "schema": {
  7525. "type": "array",
  7526. "items": {
  7527. "$ref": "#/definitions/models.QhjBrokerApply"
  7528. }
  7529. }
  7530. },
  7531. "500": {
  7532. "description": "Internal Server Error",
  7533. "schema": {
  7534. "$ref": "#/definitions/app.Response"
  7535. }
  7536. }
  7537. }
  7538. }
  7539. },
  7540. "/Qhj/QueryBrokerApplyEx": {
  7541. "get": {
  7542. "security": [
  7543. {
  7544. "ApiKeyAuth": []
  7545. }
  7546. ],
  7547. "produces": [
  7548. "application/json"
  7549. ],
  7550. "tags": [
  7551. "大连千海金"
  7552. ],
  7553. "summary": "查询经纪人信息和申请记录",
  7554. "parameters": [
  7555. {
  7556. "type": "integer",
  7557. "description": "所属机构ID",
  7558. "name": "userid",
  7559. "in": "query"
  7560. }
  7561. ],
  7562. "responses": {
  7563. "200": {
  7564. "description": "OK",
  7565. "schema": {
  7566. "type": "array",
  7567. "items": {
  7568. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7569. }
  7570. }
  7571. },
  7572. "500": {
  7573. "description": "Internal Server Error",
  7574. "schema": {
  7575. "$ref": "#/definitions/app.Response"
  7576. }
  7577. }
  7578. }
  7579. }
  7580. },
  7581. "/Qhj/QueryBrokerRewardLog": {
  7582. "get": {
  7583. "security": [
  7584. {
  7585. "ApiKeyAuth": []
  7586. }
  7587. ],
  7588. "produces": [
  7589. "application/json"
  7590. ],
  7591. "tags": [
  7592. "大连千海金"
  7593. ],
  7594. "summary": "查询奖励流水(我的奖励)",
  7595. "parameters": [
  7596. {
  7597. "type": "integer",
  7598. "description": "用户ID",
  7599. "name": "userid",
  7600. "in": "query",
  7601. "required": true
  7602. },
  7603. {
  7604. "type": "string",
  7605. "description": "开始交易日(yyyymmdd)",
  7606. "name": "begindate",
  7607. "in": "query"
  7608. },
  7609. {
  7610. "type": "string",
  7611. "description": "结束交易日(yyyymmdd)",
  7612. "name": "enddate",
  7613. "in": "query"
  7614. }
  7615. ],
  7616. "responses": {
  7617. "200": {
  7618. "description": "OK",
  7619. "schema": {
  7620. "type": "array",
  7621. "items": {
  7622. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7623. }
  7624. }
  7625. },
  7626. "500": {
  7627. "description": "Internal Server Error",
  7628. "schema": {
  7629. "$ref": "#/definitions/app.Response"
  7630. }
  7631. }
  7632. }
  7633. }
  7634. },
  7635. "/Qhj/QueryContract": {
  7636. "get": {
  7637. "security": [
  7638. {
  7639. "ApiKeyAuth": []
  7640. }
  7641. ],
  7642. "produces": [
  7643. "application/json"
  7644. ],
  7645. "tags": [
  7646. "大连千海金"
  7647. ],
  7648. "summary": "查询融资明细(合同)",
  7649. "parameters": [
  7650. {
  7651. "type": "integer",
  7652. "description": "用户ID",
  7653. "name": "userid",
  7654. "in": "query"
  7655. },
  7656. {
  7657. "type": "integer",
  7658. "description": "scf合同id",
  7659. "name": "scfcontractid",
  7660. "in": "query"
  7661. }
  7662. ],
  7663. "responses": {
  7664. "200": {
  7665. "description": "OK",
  7666. "schema": {
  7667. "type": "array",
  7668. "items": {
  7669. "$ref": "#/definitions/models.QhjContract"
  7670. }
  7671. }
  7672. },
  7673. "500": {
  7674. "description": "Internal Server Error",
  7675. "schema": {
  7676. "$ref": "#/definitions/app.Response"
  7677. }
  7678. }
  7679. }
  7680. }
  7681. },
  7682. "/Qhj/QueryContractLog": {
  7683. "get": {
  7684. "security": [
  7685. {
  7686. "ApiKeyAuth": []
  7687. }
  7688. ],
  7689. "produces": [
  7690. "application/json"
  7691. ],
  7692. "tags": [
  7693. "大连千海金"
  7694. ],
  7695. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7696. "parameters": [
  7697. {
  7698. "type": "integer",
  7699. "description": "scf合同id",
  7700. "name": "scfcontractid",
  7701. "in": "query",
  7702. "required": true
  7703. },
  7704. {
  7705. "type": "string",
  7706. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7707. "name": "amounttype",
  7708. "in": "query"
  7709. }
  7710. ],
  7711. "responses": {
  7712. "200": {
  7713. "description": "OK",
  7714. "schema": {
  7715. "type": "array",
  7716. "items": {
  7717. "$ref": "#/definitions/models.QhjContractLog"
  7718. }
  7719. }
  7720. },
  7721. "500": {
  7722. "description": "Internal Server Error",
  7723. "schema": {
  7724. "$ref": "#/definitions/app.Response"
  7725. }
  7726. }
  7727. }
  7728. }
  7729. },
  7730. "/Qhj/QueryCusBankSignBank": {
  7731. "get": {
  7732. "security": [
  7733. {
  7734. "ApiKeyAuth": []
  7735. }
  7736. ],
  7737. "produces": [
  7738. "application/json"
  7739. ],
  7740. "tags": [
  7741. "大连千海金"
  7742. ],
  7743. "summary": "查询托管银行",
  7744. "responses": {
  7745. "200": {
  7746. "description": "OK",
  7747. "schema": {
  7748. "type": "array",
  7749. "items": {
  7750. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7751. }
  7752. }
  7753. },
  7754. "500": {
  7755. "description": "Internal Server Error",
  7756. "schema": {
  7757. "$ref": "#/definitions/app.Response"
  7758. }
  7759. }
  7760. }
  7761. }
  7762. },
  7763. "/Qhj/QueryCustomerInfo": {
  7764. "get": {
  7765. "security": [
  7766. {
  7767. "ApiKeyAuth": []
  7768. }
  7769. ],
  7770. "produces": [
  7771. "application/json"
  7772. ],
  7773. "tags": [
  7774. "大连千海金"
  7775. ],
  7776. "summary": "查询客户资料",
  7777. "parameters": [
  7778. {
  7779. "type": "integer",
  7780. "description": "用户ID",
  7781. "name": "userid",
  7782. "in": "query",
  7783. "required": true
  7784. },
  7785. {
  7786. "type": "integer",
  7787. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7788. "name": "querytype",
  7789. "in": "query",
  7790. "required": true
  7791. },
  7792. {
  7793. "type": "integer",
  7794. "description": "客户类型 1-个人 2-企业",
  7795. "name": "userinfotype",
  7796. "in": "query"
  7797. },
  7798. {
  7799. "type": "string",
  7800. "description": "客户名称(模糊匹配)",
  7801. "name": "customername",
  7802. "in": "query"
  7803. },
  7804. {
  7805. "type": "string",
  7806. "description": "昵称(模糊匹配)",
  7807. "name": "nickname",
  7808. "in": "query"
  7809. },
  7810. {
  7811. "type": "integer",
  7812. "description": "是否包含子级 1-包含",
  7813. "name": "includesub",
  7814. "in": "query"
  7815. }
  7816. ],
  7817. "responses": {
  7818. "200": {
  7819. "description": "OK",
  7820. "schema": {
  7821. "type": "array",
  7822. "items": {
  7823. "$ref": "#/definitions/models.QhjCustomer"
  7824. }
  7825. }
  7826. },
  7827. "500": {
  7828. "description": "Internal Server Error",
  7829. "schema": {
  7830. "$ref": "#/definitions/app.Response"
  7831. }
  7832. }
  7833. }
  7834. }
  7835. },
  7836. "/Qhj/QueryGoodsEx": {
  7837. "get": {
  7838. "security": [
  7839. {
  7840. "ApiKeyAuth": []
  7841. }
  7842. ],
  7843. "produces": [
  7844. "application/json"
  7845. ],
  7846. "tags": [
  7847. "大连千海金"
  7848. ],
  7849. "summary": "交易商品扩展表",
  7850. "parameters": [
  7851. {
  7852. "type": "integer",
  7853. "description": "商品id",
  7854. "name": "goodsid",
  7855. "in": "query"
  7856. }
  7857. ],
  7858. "responses": {
  7859. "200": {
  7860. "description": "OK",
  7861. "schema": {
  7862. "type": "array",
  7863. "items": {
  7864. "$ref": "#/definitions/models.Qhjgoodsex"
  7865. }
  7866. }
  7867. },
  7868. "500": {
  7869. "description": "Internal Server Error",
  7870. "schema": {
  7871. "$ref": "#/definitions/app.Response"
  7872. }
  7873. }
  7874. }
  7875. }
  7876. },
  7877. "/Qhj/QueryMyTeam": {
  7878. "get": {
  7879. "security": [
  7880. {
  7881. "ApiKeyAuth": []
  7882. }
  7883. ],
  7884. "produces": [
  7885. "application/json"
  7886. ],
  7887. "tags": [
  7888. "大连千海金"
  7889. ],
  7890. "summary": "查询我的团队",
  7891. "parameters": [
  7892. {
  7893. "type": "integer",
  7894. "description": "用户ID",
  7895. "name": "userid",
  7896. "in": "query",
  7897. "required": true
  7898. }
  7899. ],
  7900. "responses": {
  7901. "200": {
  7902. "description": "OK",
  7903. "schema": {
  7904. "type": "array",
  7905. "items": {
  7906. "$ref": "#/definitions/models.QhjMyTeamEx"
  7907. }
  7908. }
  7909. },
  7910. "500": {
  7911. "description": "Internal Server Error",
  7912. "schema": {
  7913. "$ref": "#/definitions/app.Response"
  7914. }
  7915. }
  7916. }
  7917. }
  7918. },
  7919. "/Qhj/QueryMyTeamOrder": {
  7920. "get": {
  7921. "security": [
  7922. {
  7923. "ApiKeyAuth": []
  7924. }
  7925. ],
  7926. "produces": [
  7927. "application/json"
  7928. ],
  7929. "tags": [
  7930. "大连千海金"
  7931. ],
  7932. "summary": "查询团队订单(我的团队/团队订单)",
  7933. "parameters": [
  7934. {
  7935. "type": "integer",
  7936. "description": "页码",
  7937. "name": "page",
  7938. "in": "query"
  7939. },
  7940. {
  7941. "type": "integer",
  7942. "description": "每页条数",
  7943. "name": "pagesize",
  7944. "in": "query"
  7945. },
  7946. {
  7947. "type": "integer",
  7948. "description": "用户ID",
  7949. "name": "userid",
  7950. "in": "query",
  7951. "required": true
  7952. },
  7953. {
  7954. "type": "integer",
  7955. "description": "交易模式",
  7956. "name": "trademode",
  7957. "in": "query"
  7958. },
  7959. {
  7960. "type": "string",
  7961. "description": "名称(模糊搜索账户)",
  7962. "name": "filtername",
  7963. "in": "query"
  7964. }
  7965. ],
  7966. "responses": {
  7967. "200": {
  7968. "description": "OK",
  7969. "schema": {
  7970. "type": "array",
  7971. "items": {
  7972. "$ref": "#/definitions/models.QhjTeamOrder"
  7973. }
  7974. }
  7975. },
  7976. "500": {
  7977. "description": "Internal Server Error",
  7978. "schema": {
  7979. "$ref": "#/definitions/app.Response"
  7980. }
  7981. }
  7982. }
  7983. }
  7984. },
  7985. "/Qhj/QueryParentAreaList": {
  7986. "get": {
  7987. "security": [
  7988. {
  7989. "ApiKeyAuth": []
  7990. }
  7991. ],
  7992. "produces": [
  7993. "application/json"
  7994. ],
  7995. "tags": [
  7996. "大连千海金"
  7997. ],
  7998. "summary": "查询所属机构列表",
  7999. "parameters": [
  8000. {
  8001. "type": "integer",
  8002. "description": "用户ID",
  8003. "name": "userid",
  8004. "in": "query",
  8005. "required": true
  8006. }
  8007. ],
  8008. "responses": {
  8009. "200": {
  8010. "description": "OK",
  8011. "schema": {
  8012. "type": "array",
  8013. "items": {
  8014. "$ref": "#/definitions/models.QhjParentAreaList"
  8015. }
  8016. }
  8017. },
  8018. "500": {
  8019. "description": "Internal Server Error",
  8020. "schema": {
  8021. "$ref": "#/definitions/app.Response"
  8022. }
  8023. }
  8024. }
  8025. }
  8026. },
  8027. "/Qhj/QueryPayOrder": {
  8028. "get": {
  8029. "security": [
  8030. {
  8031. "ApiKeyAuth": []
  8032. }
  8033. ],
  8034. "produces": [
  8035. "application/json"
  8036. ],
  8037. "tags": [
  8038. "大连千海金"
  8039. ],
  8040. "summary": "查询待付款单据",
  8041. "parameters": [
  8042. {
  8043. "type": "integer",
  8044. "description": "资金账号id",
  8045. "name": "accountid",
  8046. "in": "query",
  8047. "required": true
  8048. },
  8049. {
  8050. "type": "integer",
  8051. "description": "成交单号",
  8052. "name": "tradeid",
  8053. "in": "query"
  8054. },
  8055. {
  8056. "type": "string",
  8057. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8058. "name": "payflag",
  8059. "in": "query"
  8060. }
  8061. ],
  8062. "responses": {
  8063. "200": {
  8064. "description": "OK",
  8065. "schema": {
  8066. "type": "array",
  8067. "items": {
  8068. "$ref": "#/definitions/models.QhjPayOrder"
  8069. }
  8070. }
  8071. },
  8072. "500": {
  8073. "description": "Internal Server Error",
  8074. "schema": {
  8075. "$ref": "#/definitions/app.Response"
  8076. }
  8077. }
  8078. }
  8079. }
  8080. },
  8081. "/Qhj/QueryPickArea": {
  8082. "get": {
  8083. "security": [
  8084. {
  8085. "ApiKeyAuth": []
  8086. }
  8087. ],
  8088. "produces": [
  8089. "application/json"
  8090. ],
  8091. "tags": [
  8092. "大连千海金"
  8093. ],
  8094. "summary": "查询提货门店",
  8095. "parameters": [
  8096. {
  8097. "type": "integer",
  8098. "description": "用户ID",
  8099. "name": "userid",
  8100. "in": "query"
  8101. }
  8102. ],
  8103. "responses": {
  8104. "200": {
  8105. "description": "OK",
  8106. "schema": {
  8107. "type": "array",
  8108. "items": {
  8109. "$ref": "#/definitions/models.QhjPickArea"
  8110. }
  8111. }
  8112. },
  8113. "500": {
  8114. "description": "Internal Server Error",
  8115. "schema": {
  8116. "$ref": "#/definitions/app.Response"
  8117. }
  8118. }
  8119. }
  8120. }
  8121. },
  8122. "/Qhj/QueryPickGoods": {
  8123. "get": {
  8124. "security": [
  8125. {
  8126. "ApiKeyAuth": []
  8127. }
  8128. ],
  8129. "produces": [
  8130. "application/json"
  8131. ],
  8132. "tags": [
  8133. "大连千海金"
  8134. ],
  8135. "summary": "查询提货商品",
  8136. "parameters": [
  8137. {
  8138. "type": "integer",
  8139. "description": "交易商品id",
  8140. "name": "goodsid",
  8141. "in": "query",
  8142. "required": true
  8143. },
  8144. {
  8145. "type": "string",
  8146. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8147. "name": "status",
  8148. "in": "query"
  8149. }
  8150. ],
  8151. "responses": {
  8152. "200": {
  8153. "description": "OK",
  8154. "schema": {
  8155. "type": "array",
  8156. "items": {
  8157. "$ref": "#/definitions/models.QhjPickGoods"
  8158. }
  8159. }
  8160. },
  8161. "500": {
  8162. "description": "Internal Server Error",
  8163. "schema": {
  8164. "$ref": "#/definitions/app.Response"
  8165. }
  8166. }
  8167. }
  8168. }
  8169. },
  8170. "/Qhj/QueryRSTriggerLog": {
  8171. "get": {
  8172. "security": [
  8173. {
  8174. "ApiKeyAuth": []
  8175. }
  8176. ],
  8177. "produces": [
  8178. "application/json"
  8179. ],
  8180. "tags": [
  8181. "大连千海金"
  8182. ],
  8183. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8184. "parameters": [
  8185. {
  8186. "type": "integer",
  8187. "description": "用户ID",
  8188. "name": "userid",
  8189. "in": "query"
  8190. },
  8191. {
  8192. "type": "integer",
  8193. "description": "定投策略id",
  8194. "name": "regularlystrategyid",
  8195. "in": "query"
  8196. },
  8197. {
  8198. "type": "integer",
  8199. "description": "商品id",
  8200. "name": "goodsid",
  8201. "in": "query"
  8202. },
  8203. {
  8204. "type": "string",
  8205. "description": "开始交易日(yyyymmdd)",
  8206. "name": "begindate",
  8207. "in": "query"
  8208. },
  8209. {
  8210. "type": "string",
  8211. "description": "结束交易日(yyyymmdd)",
  8212. "name": "enddate",
  8213. "in": "query"
  8214. },
  8215. {
  8216. "type": "string",
  8217. "description": "名称(模糊搜索账户)",
  8218. "name": "filtername",
  8219. "in": "query"
  8220. }
  8221. ],
  8222. "responses": {
  8223. "200": {
  8224. "description": "OK",
  8225. "schema": {
  8226. "type": "array",
  8227. "items": {
  8228. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8229. }
  8230. }
  8231. },
  8232. "500": {
  8233. "description": "Internal Server Error",
  8234. "schema": {
  8235. "$ref": "#/definitions/app.Response"
  8236. }
  8237. }
  8238. }
  8239. }
  8240. },
  8241. "/Qhj/QueryRStrategy": {
  8242. "get": {
  8243. "security": [
  8244. {
  8245. "ApiKeyAuth": []
  8246. }
  8247. ],
  8248. "produces": [
  8249. "application/json"
  8250. ],
  8251. "tags": [
  8252. "大连千海金"
  8253. ],
  8254. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8255. "parameters": [
  8256. {
  8257. "type": "integer",
  8258. "description": "用户ID",
  8259. "name": "userid",
  8260. "in": "query"
  8261. },
  8262. {
  8263. "type": "integer",
  8264. "description": "商品id",
  8265. "name": "goodsid",
  8266. "in": "query"
  8267. },
  8268. {
  8269. "type": "string",
  8270. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8271. "name": "status",
  8272. "in": "query"
  8273. },
  8274. {
  8275. "type": "string",
  8276. "description": "名称(模糊搜索账户)",
  8277. "name": "filtername",
  8278. "in": "query"
  8279. }
  8280. ],
  8281. "responses": {
  8282. "200": {
  8283. "description": "OK",
  8284. "schema": {
  8285. "type": "array",
  8286. "items": {
  8287. "$ref": "#/definitions/models.QhjRStrategy"
  8288. }
  8289. }
  8290. },
  8291. "500": {
  8292. "description": "Internal Server Error",
  8293. "schema": {
  8294. "$ref": "#/definitions/app.Response"
  8295. }
  8296. }
  8297. }
  8298. }
  8299. },
  8300. "/Qhj/QueryReckonPriceLog": {
  8301. "get": {
  8302. "security": [
  8303. {
  8304. "ApiKeyAuth": []
  8305. }
  8306. ],
  8307. "produces": [
  8308. "application/json"
  8309. ],
  8310. "tags": [
  8311. "大连千海金"
  8312. ],
  8313. "summary": "查询定投价(结算价)",
  8314. "parameters": [
  8315. {
  8316. "type": "integer",
  8317. "description": "商品ID",
  8318. "name": "goodsid",
  8319. "in": "query"
  8320. },
  8321. {
  8322. "type": "string",
  8323. "description": "交易日 格式(yyyymmdd)",
  8324. "name": "tradedate",
  8325. "in": "query"
  8326. }
  8327. ],
  8328. "responses": {
  8329. "200": {
  8330. "description": "OK",
  8331. "schema": {
  8332. "type": "array",
  8333. "items": {
  8334. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8335. }
  8336. }
  8337. },
  8338. "500": {
  8339. "description": "Internal Server Error",
  8340. "schema": {
  8341. "$ref": "#/definitions/app.Response"
  8342. }
  8343. }
  8344. }
  8345. }
  8346. },
  8347. "/Qhj/QueryScoreLog": {
  8348. "get": {
  8349. "security": [
  8350. {
  8351. "ApiKeyAuth": []
  8352. }
  8353. ],
  8354. "produces": [
  8355. "application/json"
  8356. ],
  8357. "tags": [
  8358. "大连千海金"
  8359. ],
  8360. "summary": "查询积分流水(我的积分)",
  8361. "parameters": [
  8362. {
  8363. "type": "integer",
  8364. "description": "用户ID",
  8365. "name": "userid",
  8366. "in": "query",
  8367. "required": true
  8368. },
  8369. {
  8370. "type": "string",
  8371. "description": "开始交易日(yyyymmdd)",
  8372. "name": "begindate",
  8373. "in": "query"
  8374. },
  8375. {
  8376. "type": "string",
  8377. "description": "结束交易日(yyyymmdd)",
  8378. "name": "enddate",
  8379. "in": "query"
  8380. },
  8381. {
  8382. "type": "integer",
  8383. "description": "最近多少条",
  8384. "name": "lastnum",
  8385. "in": "query"
  8386. }
  8387. ],
  8388. "responses": {
  8389. "200": {
  8390. "description": "OK",
  8391. "schema": {
  8392. "type": "array",
  8393. "items": {
  8394. "$ref": "#/definitions/models.QhjScoreLog"
  8395. }
  8396. }
  8397. },
  8398. "500": {
  8399. "description": "Internal Server Error",
  8400. "schema": {
  8401. "$ref": "#/definitions/app.Response"
  8402. }
  8403. }
  8404. }
  8405. }
  8406. },
  8407. "/Qhj/QuerySiteColumnDetail": {
  8408. "get": {
  8409. "security": [
  8410. {
  8411. "ApiKeyAuth": []
  8412. }
  8413. ],
  8414. "produces": [
  8415. "application/json"
  8416. ],
  8417. "tags": [
  8418. "大连千海金"
  8419. ],
  8420. "summary": "查询资讯",
  8421. "parameters": [
  8422. {
  8423. "type": "integer",
  8424. "description": "用户ID",
  8425. "name": "userid",
  8426. "in": "query",
  8427. "required": true
  8428. }
  8429. ],
  8430. "responses": {
  8431. "200": {
  8432. "description": "OK",
  8433. "schema": {
  8434. "type": "array",
  8435. "items": {
  8436. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8437. }
  8438. }
  8439. },
  8440. "500": {
  8441. "description": "Internal Server Error",
  8442. "schema": {
  8443. "$ref": "#/definitions/app.Response"
  8444. }
  8445. }
  8446. }
  8447. }
  8448. },
  8449. "/Qhj/QueryTradeGoodsPickup": {
  8450. "get": {
  8451. "security": [
  8452. {
  8453. "ApiKeyAuth": []
  8454. }
  8455. ],
  8456. "produces": [
  8457. "application/json"
  8458. ],
  8459. "tags": [
  8460. "大连千海金"
  8461. ],
  8462. "summary": "查询提货",
  8463. "parameters": [
  8464. {
  8465. "type": "integer",
  8466. "description": "用户ID",
  8467. "name": "userid",
  8468. "in": "query",
  8469. "required": true
  8470. },
  8471. {
  8472. "type": "integer",
  8473. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8474. "name": "takeorderstatus",
  8475. "in": "query"
  8476. }
  8477. ],
  8478. "responses": {
  8479. "200": {
  8480. "description": "OK",
  8481. "schema": {
  8482. "type": "array",
  8483. "items": {
  8484. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8485. }
  8486. }
  8487. },
  8488. "500": {
  8489. "description": "Internal Server Error",
  8490. "schema": {
  8491. "$ref": "#/definitions/app.Response"
  8492. }
  8493. }
  8494. }
  8495. }
  8496. },
  8497. "/Qhj/QueryUserCollectConfig": {
  8498. "get": {
  8499. "security": [
  8500. {
  8501. "ApiKeyAuth": []
  8502. }
  8503. ],
  8504. "produces": [
  8505. "application/json"
  8506. ],
  8507. "tags": [
  8508. "大连千海金"
  8509. ],
  8510. "summary": "查询提现账户设置",
  8511. "parameters": [
  8512. {
  8513. "type": "integer",
  8514. "description": "用户ID",
  8515. "name": "userid",
  8516. "in": "query",
  8517. "required": true
  8518. }
  8519. ],
  8520. "responses": {
  8521. "200": {
  8522. "description": "OK",
  8523. "schema": {
  8524. "type": "array",
  8525. "items": {
  8526. "$ref": "#/definitions/models.UserCollectConfig"
  8527. }
  8528. }
  8529. },
  8530. "500": {
  8531. "description": "Internal Server Error",
  8532. "schema": {
  8533. "$ref": "#/definitions/app.Response"
  8534. }
  8535. }
  8536. }
  8537. }
  8538. },
  8539. "/Qhj/QueryUserReceiveInfo": {
  8540. "get": {
  8541. "security": [
  8542. {
  8543. "ApiKeyAuth": []
  8544. }
  8545. ],
  8546. "produces": [
  8547. "application/json"
  8548. ],
  8549. "tags": [
  8550. "大连千海金"
  8551. ],
  8552. "summary": "查询收货地址信息",
  8553. "parameters": [
  8554. {
  8555. "type": "integer",
  8556. "description": "用户ID",
  8557. "name": "userid",
  8558. "in": "query",
  8559. "required": true
  8560. }
  8561. ],
  8562. "responses": {
  8563. "200": {
  8564. "description": "OK",
  8565. "schema": {
  8566. "type": "array",
  8567. "items": {
  8568. "$ref": "#/definitions/models.UserReceiveInfo"
  8569. }
  8570. }
  8571. },
  8572. "500": {
  8573. "description": "Internal Server Error",
  8574. "schema": {
  8575. "$ref": "#/definitions/app.Response"
  8576. }
  8577. }
  8578. }
  8579. }
  8580. },
  8581. "/QhjMgr/QueryAccountInOutApply": {
  8582. "get": {
  8583. "security": [
  8584. {
  8585. "ApiKeyAuth": []
  8586. }
  8587. ],
  8588. "produces": [
  8589. "application/json"
  8590. ],
  8591. "tags": [
  8592. "大连千海金(PCWeb)"
  8593. ],
  8594. "summary": "查询充值提现",
  8595. "parameters": [
  8596. {
  8597. "type": "integer",
  8598. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8599. "name": "querytype",
  8600. "in": "query",
  8601. "required": true
  8602. },
  8603. {
  8604. "type": "integer",
  8605. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8606. "name": "applystatus",
  8607. "in": "query"
  8608. },
  8609. {
  8610. "type": "string",
  8611. "description": "申请起始日期(格式yyyymmdd)",
  8612. "name": "begindate",
  8613. "in": "query"
  8614. },
  8615. {
  8616. "type": "string",
  8617. "description": "申请截止日期(格式yyyymmdd)",
  8618. "name": "enddate",
  8619. "in": "query"
  8620. },
  8621. {
  8622. "type": "string",
  8623. "description": "模糊搜索名称",
  8624. "name": "likename",
  8625. "in": "query"
  8626. }
  8627. ],
  8628. "responses": {
  8629. "200": {
  8630. "description": "OK",
  8631. "schema": {
  8632. "type": "array",
  8633. "items": {
  8634. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8635. }
  8636. }
  8637. },
  8638. "500": {
  8639. "description": "Internal Server Error",
  8640. "schema": {
  8641. "$ref": "#/definitions/app.Response"
  8642. }
  8643. }
  8644. }
  8645. }
  8646. },
  8647. "/QhjMgr/QueryBrokerApply": {
  8648. "get": {
  8649. "security": [
  8650. {
  8651. "ApiKeyAuth": []
  8652. }
  8653. ],
  8654. "produces": [
  8655. "application/json"
  8656. ],
  8657. "tags": [
  8658. "大连千海金(PCWeb)"
  8659. ],
  8660. "summary": "查询经纪人申请",
  8661. "parameters": [
  8662. {
  8663. "type": "integer",
  8664. "description": "所属机构ID",
  8665. "name": "userid",
  8666. "in": "query"
  8667. },
  8668. {
  8669. "type": "string",
  8670. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8671. "name": "filterstatus",
  8672. "in": "query"
  8673. },
  8674. {
  8675. "type": "string",
  8676. "description": "名称(模糊匹配)",
  8677. "name": "filtername",
  8678. "in": "query"
  8679. },
  8680. {
  8681. "type": "integer",
  8682. "description": "是否包含子级 1-包含",
  8683. "name": "includesub",
  8684. "in": "query"
  8685. }
  8686. ],
  8687. "responses": {
  8688. "200": {
  8689. "description": "OK",
  8690. "schema": {
  8691. "type": "array",
  8692. "items": {
  8693. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8694. }
  8695. }
  8696. },
  8697. "500": {
  8698. "description": "Internal Server Error",
  8699. "schema": {
  8700. "$ref": "#/definitions/app.Response"
  8701. }
  8702. }
  8703. }
  8704. }
  8705. },
  8706. "/QhjMgr/QueryBrokerRewardReport": {
  8707. "get": {
  8708. "security": [
  8709. {
  8710. "ApiKeyAuth": []
  8711. }
  8712. ],
  8713. "produces": [
  8714. "application/json"
  8715. ],
  8716. "tags": [
  8717. "大连千海金(PCWeb)"
  8718. ],
  8719. "summary": "查询经纪人奖励报表(废弃)",
  8720. "parameters": [
  8721. {
  8722. "type": "integer",
  8723. "description": "所属机构ID",
  8724. "name": "userid",
  8725. "in": "query",
  8726. "required": true
  8727. },
  8728. {
  8729. "type": "integer",
  8730. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8731. "name": "cycletype",
  8732. "in": "query",
  8733. "required": true
  8734. },
  8735. {
  8736. "type": "string",
  8737. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8738. "name": "cycletime",
  8739. "in": "query",
  8740. "required": true
  8741. },
  8742. {
  8743. "type": "string",
  8744. "description": "名称(模糊匹配)",
  8745. "name": "filtername",
  8746. "in": "query"
  8747. },
  8748. {
  8749. "type": "integer",
  8750. "description": "是否包含子级 1-包含",
  8751. "name": "includesub",
  8752. "in": "query"
  8753. }
  8754. ],
  8755. "responses": {
  8756. "200": {
  8757. "description": "OK",
  8758. "schema": {
  8759. "type": "array",
  8760. "items": {
  8761. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8762. }
  8763. }
  8764. },
  8765. "500": {
  8766. "description": "Internal Server Error",
  8767. "schema": {
  8768. "$ref": "#/definitions/app.Response"
  8769. }
  8770. }
  8771. }
  8772. }
  8773. },
  8774. "/QhjMgr/QueryContract": {
  8775. "get": {
  8776. "security": [
  8777. {
  8778. "ApiKeyAuth": []
  8779. }
  8780. ],
  8781. "produces": [
  8782. "application/json"
  8783. ],
  8784. "tags": [
  8785. "大连千海金(PCWeb)"
  8786. ],
  8787. "summary": "查询融资信息(合同)",
  8788. "parameters": [
  8789. {
  8790. "type": "integer",
  8791. "description": "用户ID",
  8792. "name": "userid",
  8793. "in": "query"
  8794. },
  8795. {
  8796. "type": "integer",
  8797. "description": "商品id",
  8798. "name": "goodsid",
  8799. "in": "query"
  8800. },
  8801. {
  8802. "type": "string",
  8803. "description": "名称(模糊搜索账户)",
  8804. "name": "filtername",
  8805. "in": "query"
  8806. },
  8807. {
  8808. "type": "string",
  8809. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8810. "name": "risklevel",
  8811. "in": "query"
  8812. },
  8813. {
  8814. "type": "string",
  8815. "description": "开始交易日(yyyymmdd)",
  8816. "name": "begindate",
  8817. "in": "query"
  8818. },
  8819. {
  8820. "type": "string",
  8821. "description": "结束交易日(yyyymmdd)",
  8822. "name": "enddate",
  8823. "in": "query"
  8824. }
  8825. ],
  8826. "responses": {
  8827. "200": {
  8828. "description": "OK",
  8829. "schema": {
  8830. "type": "array",
  8831. "items": {
  8832. "$ref": "#/definitions/models.QhjMgrContract"
  8833. }
  8834. }
  8835. },
  8836. "500": {
  8837. "description": "Internal Server Error",
  8838. "schema": {
  8839. "$ref": "#/definitions/app.Response"
  8840. }
  8841. }
  8842. }
  8843. }
  8844. },
  8845. "/QhjMgr/QueryCustomerInfo": {
  8846. "get": {
  8847. "security": [
  8848. {
  8849. "ApiKeyAuth": []
  8850. }
  8851. ],
  8852. "produces": [
  8853. "application/json"
  8854. ],
  8855. "tags": [
  8856. "大连千海金(PCWeb)"
  8857. ],
  8858. "summary": "查询客户资料",
  8859. "parameters": [
  8860. {
  8861. "type": "integer",
  8862. "description": "用户ID",
  8863. "name": "userid",
  8864. "in": "query",
  8865. "required": true
  8866. },
  8867. {
  8868. "type": "integer",
  8869. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8870. "name": "querytype",
  8871. "in": "query",
  8872. "required": true
  8873. },
  8874. {
  8875. "type": "integer",
  8876. "description": "客户类型 1-个人 2-企业",
  8877. "name": "userinfotype",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "string",
  8882. "description": "客户名称(模糊匹配)",
  8883. "name": "customername",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "string",
  8888. "description": "昵称(模糊匹配)",
  8889. "name": "nickname",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "string",
  8894. "description": "所属客户经理(模糊匹配)",
  8895. "name": "brokername",
  8896. "in": "query"
  8897. },
  8898. {
  8899. "type": "string",
  8900. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  8901. "name": "birthday",
  8902. "in": "query"
  8903. },
  8904. {
  8905. "type": "integer",
  8906. "description": "是否包含子级 1-包含",
  8907. "name": "includesub",
  8908. "in": "query"
  8909. }
  8910. ],
  8911. "responses": {
  8912. "200": {
  8913. "description": "OK",
  8914. "schema": {
  8915. "type": "array",
  8916. "items": {
  8917. "$ref": "#/definitions/models.QhjMgrCustomer"
  8918. }
  8919. }
  8920. },
  8921. "500": {
  8922. "description": "Internal Server Error",
  8923. "schema": {
  8924. "$ref": "#/definitions/app.Response"
  8925. }
  8926. }
  8927. }
  8928. }
  8929. },
  8930. "/QhjMgr/QueryPickGoods": {
  8931. "get": {
  8932. "security": [
  8933. {
  8934. "ApiKeyAuth": []
  8935. }
  8936. ],
  8937. "produces": [
  8938. "application/json"
  8939. ],
  8940. "tags": [
  8941. "大连千海金(PCWeb)"
  8942. ],
  8943. "summary": "查询提货商品",
  8944. "parameters": [
  8945. {
  8946. "type": "string",
  8947. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8948. "name": "status",
  8949. "in": "query"
  8950. }
  8951. ],
  8952. "responses": {
  8953. "200": {
  8954. "description": "OK",
  8955. "schema": {
  8956. "type": "array",
  8957. "items": {
  8958. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8959. }
  8960. }
  8961. },
  8962. "500": {
  8963. "description": "Internal Server Error",
  8964. "schema": {
  8965. "$ref": "#/definitions/app.Response"
  8966. }
  8967. }
  8968. }
  8969. }
  8970. },
  8971. "/QhjMgr/QuerySubArea": {
  8972. "get": {
  8973. "security": [
  8974. {
  8975. "ApiKeyAuth": []
  8976. }
  8977. ],
  8978. "produces": [
  8979. "application/json"
  8980. ],
  8981. "tags": [
  8982. "大连千海金(PCWeb)"
  8983. ],
  8984. "summary": "查询子机构列表",
  8985. "parameters": [
  8986. {
  8987. "type": "integer",
  8988. "description": "用户ID",
  8989. "name": "userid",
  8990. "in": "query",
  8991. "required": true
  8992. }
  8993. ],
  8994. "responses": {
  8995. "200": {
  8996. "description": "OK",
  8997. "schema": {
  8998. "type": "array",
  8999. "items": {
  9000. "$ref": "#/definitions/models.QhjMgrSubArea"
  9001. }
  9002. }
  9003. },
  9004. "500": {
  9005. "description": "Internal Server Error",
  9006. "schema": {
  9007. "$ref": "#/definitions/app.Response"
  9008. }
  9009. }
  9010. }
  9011. }
  9012. },
  9013. "/QhjMgr/QueryTradeDetail": {
  9014. "get": {
  9015. "security": [
  9016. {
  9017. "ApiKeyAuth": []
  9018. }
  9019. ],
  9020. "produces": [
  9021. "application/json"
  9022. ],
  9023. "tags": [
  9024. "大连千海金(PCWeb)"
  9025. ],
  9026. "summary": "查询成交明细",
  9027. "parameters": [
  9028. {
  9029. "type": "integer",
  9030. "description": "用户ID",
  9031. "name": "userid",
  9032. "in": "query",
  9033. "required": true
  9034. },
  9035. {
  9036. "type": "integer",
  9037. "description": "用户类型 1-个人 2-企业",
  9038. "name": "userinfotype",
  9039. "in": "query"
  9040. },
  9041. {
  9042. "type": "integer",
  9043. "description": "交易模式",
  9044. "name": "trademode",
  9045. "in": "query"
  9046. },
  9047. {
  9048. "type": "integer",
  9049. "description": "商品id",
  9050. "name": "goodsid",
  9051. "in": "query"
  9052. },
  9053. {
  9054. "type": "string",
  9055. "description": "名称(模糊搜索账户)",
  9056. "name": "filtername",
  9057. "in": "query"
  9058. },
  9059. {
  9060. "type": "string",
  9061. "description": "开始交易日(yyyymmdd)",
  9062. "name": "begindate",
  9063. "in": "query"
  9064. },
  9065. {
  9066. "type": "string",
  9067. "description": "结束交易日(yyyymmdd)",
  9068. "name": "enddate",
  9069. "in": "query"
  9070. },
  9071. {
  9072. "type": "integer",
  9073. "description": "是否包含子级 1-包含",
  9074. "name": "includesub",
  9075. "in": "query"
  9076. }
  9077. ],
  9078. "responses": {
  9079. "200": {
  9080. "description": "OK",
  9081. "schema": {
  9082. "type": "array",
  9083. "items": {
  9084. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9085. }
  9086. }
  9087. },
  9088. "500": {
  9089. "description": "Internal Server Error",
  9090. "schema": {
  9091. "$ref": "#/definitions/app.Response"
  9092. }
  9093. }
  9094. }
  9095. }
  9096. },
  9097. "/QhjMgr/QueryTradeOrderDetail": {
  9098. "get": {
  9099. "security": [
  9100. {
  9101. "ApiKeyAuth": []
  9102. }
  9103. ],
  9104. "produces": [
  9105. "application/json"
  9106. ],
  9107. "tags": [
  9108. "大连千海金(PCWeb)"
  9109. ],
  9110. "summary": "查询委托明细",
  9111. "parameters": [
  9112. {
  9113. "type": "integer",
  9114. "description": "用户ID",
  9115. "name": "userid",
  9116. "in": "query",
  9117. "required": true
  9118. },
  9119. {
  9120. "type": "integer",
  9121. "description": "用户类型 1-个人 2-企业",
  9122. "name": "userinfotype",
  9123. "in": "query"
  9124. },
  9125. {
  9126. "type": "integer",
  9127. "description": "交易模式",
  9128. "name": "trademode",
  9129. "in": "query"
  9130. },
  9131. {
  9132. "type": "integer",
  9133. "description": "商品id",
  9134. "name": "goodsid",
  9135. "in": "query"
  9136. },
  9137. {
  9138. "type": "string",
  9139. "description": "名称(模糊搜索账户)",
  9140. "name": "filtername",
  9141. "in": "query"
  9142. },
  9143. {
  9144. "type": "string",
  9145. "description": "开始交易日(yyyymmdd)",
  9146. "name": "begindate",
  9147. "in": "query"
  9148. },
  9149. {
  9150. "type": "string",
  9151. "description": "结束交易日(yyyymmdd)",
  9152. "name": "enddate",
  9153. "in": "query"
  9154. },
  9155. {
  9156. "type": "integer",
  9157. "description": "是否包含子级 1-包含",
  9158. "name": "includesub",
  9159. "in": "query"
  9160. }
  9161. ],
  9162. "responses": {
  9163. "200": {
  9164. "description": "OK",
  9165. "schema": {
  9166. "type": "array",
  9167. "items": {
  9168. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9169. }
  9170. }
  9171. },
  9172. "500": {
  9173. "description": "Internal Server Error",
  9174. "schema": {
  9175. "$ref": "#/definitions/app.Response"
  9176. }
  9177. }
  9178. }
  9179. }
  9180. },
  9181. "/QhjMgr/QueryTradePayOrder": {
  9182. "get": {
  9183. "security": [
  9184. {
  9185. "ApiKeyAuth": []
  9186. }
  9187. ],
  9188. "produces": [
  9189. "application/json"
  9190. ],
  9191. "tags": [
  9192. "大连千海金(PCWeb)"
  9193. ],
  9194. "summary": "查询待付款单",
  9195. "parameters": [
  9196. {
  9197. "type": "integer",
  9198. "description": "用户ID",
  9199. "name": "userid",
  9200. "in": "query",
  9201. "required": true
  9202. },
  9203. {
  9204. "type": "string",
  9205. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9206. "name": "payflag",
  9207. "in": "query"
  9208. },
  9209. {
  9210. "type": "integer",
  9211. "description": "用户类型 1-个人 2-企业",
  9212. "name": "userinfotype",
  9213. "in": "query"
  9214. },
  9215. {
  9216. "type": "integer",
  9217. "description": "交易模式",
  9218. "name": "trademode",
  9219. "in": "query"
  9220. },
  9221. {
  9222. "type": "integer",
  9223. "description": "商品id",
  9224. "name": "goodsid",
  9225. "in": "query"
  9226. },
  9227. {
  9228. "type": "string",
  9229. "description": "名称(模糊搜索账户)",
  9230. "name": "filtername",
  9231. "in": "query"
  9232. },
  9233. {
  9234. "type": "string",
  9235. "description": "开始交易日(yyyymmdd)",
  9236. "name": "begindate",
  9237. "in": "query"
  9238. },
  9239. {
  9240. "type": "string",
  9241. "description": "结束交易日(yyyymmdd)",
  9242. "name": "enddate",
  9243. "in": "query"
  9244. },
  9245. {
  9246. "type": "integer",
  9247. "description": "是否包含子级 1-包含",
  9248. "name": "includesub",
  9249. "in": "query"
  9250. }
  9251. ],
  9252. "responses": {
  9253. "200": {
  9254. "description": "OK",
  9255. "schema": {
  9256. "type": "array",
  9257. "items": {
  9258. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9259. }
  9260. }
  9261. },
  9262. "500": {
  9263. "description": "Internal Server Error",
  9264. "schema": {
  9265. "$ref": "#/definitions/app.Response"
  9266. }
  9267. }
  9268. }
  9269. }
  9270. },
  9271. "/QhjMgr/QueryTradePosition": {
  9272. "get": {
  9273. "security": [
  9274. {
  9275. "ApiKeyAuth": []
  9276. }
  9277. ],
  9278. "produces": [
  9279. "application/json"
  9280. ],
  9281. "tags": [
  9282. "大连千海金(PCWeb)"
  9283. ],
  9284. "summary": "查询持仓汇总",
  9285. "parameters": [
  9286. {
  9287. "type": "integer",
  9288. "description": "用户ID",
  9289. "name": "userid",
  9290. "in": "query",
  9291. "required": true
  9292. },
  9293. {
  9294. "type": "integer",
  9295. "description": "用户类型 1-个人 2-企业",
  9296. "name": "userinfotype",
  9297. "in": "query"
  9298. },
  9299. {
  9300. "type": "integer",
  9301. "description": "交易模式",
  9302. "name": "trademode",
  9303. "in": "query"
  9304. },
  9305. {
  9306. "type": "integer",
  9307. "description": "商品id",
  9308. "name": "goodsid",
  9309. "in": "query"
  9310. },
  9311. {
  9312. "type": "string",
  9313. "description": "名称(模糊搜索账户)",
  9314. "name": "filtername",
  9315. "in": "query"
  9316. },
  9317. {
  9318. "type": "integer",
  9319. "description": "是否包含子级 1-包含",
  9320. "name": "includesub",
  9321. "in": "query"
  9322. }
  9323. ],
  9324. "responses": {
  9325. "200": {
  9326. "description": "OK",
  9327. "schema": {
  9328. "type": "array",
  9329. "items": {
  9330. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9331. }
  9332. }
  9333. },
  9334. "500": {
  9335. "description": "Internal Server Error",
  9336. "schema": {
  9337. "$ref": "#/definitions/app.Response"
  9338. }
  9339. }
  9340. }
  9341. }
  9342. },
  9343. "/QhjSys/QueryAgreementChangeLog": {
  9344. "get": {
  9345. "security": [
  9346. {
  9347. "ApiKeyAuth": []
  9348. }
  9349. ],
  9350. "produces": [
  9351. "application/json"
  9352. ],
  9353. "tags": [
  9354. "大连千海金(协议和签约信息)"
  9355. ],
  9356. "summary": "查询协议配置变更流水",
  9357. "parameters": [
  9358. {
  9359. "type": "integer",
  9360. "description": "协议ID",
  9361. "name": "agreementid",
  9362. "in": "query"
  9363. },
  9364. {
  9365. "type": "integer",
  9366. "description": "协议版本号",
  9367. "name": "agreementversion",
  9368. "in": "query"
  9369. },
  9370. {
  9371. "type": "integer",
  9372. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9373. "name": "agreementtype",
  9374. "in": "query"
  9375. },
  9376. {
  9377. "type": "string",
  9378. "description": "协议编号(模糊匹配)",
  9379. "name": "agreementno",
  9380. "in": "query"
  9381. },
  9382. {
  9383. "type": "string",
  9384. "description": "协议名称(模糊匹配)",
  9385. "name": "agreementname",
  9386. "in": "query"
  9387. }
  9388. ],
  9389. "responses": {
  9390. "200": {
  9391. "description": "OK",
  9392. "schema": {
  9393. "type": "array",
  9394. "items": {
  9395. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9396. }
  9397. }
  9398. },
  9399. "500": {
  9400. "description": "Internal Server Error",
  9401. "schema": {
  9402. "$ref": "#/definitions/app.Response"
  9403. }
  9404. }
  9405. }
  9406. }
  9407. },
  9408. "/QhjSys/QueryAgreementConfig": {
  9409. "get": {
  9410. "security": [
  9411. {
  9412. "ApiKeyAuth": []
  9413. }
  9414. ],
  9415. "produces": [
  9416. "application/json"
  9417. ],
  9418. "tags": [
  9419. "大连千海金(协议和签约信息)"
  9420. ],
  9421. "summary": "查询协议配置",
  9422. "parameters": [
  9423. {
  9424. "type": "integer",
  9425. "description": "协议ID",
  9426. "name": "agreementid",
  9427. "in": "query"
  9428. },
  9429. {
  9430. "type": "integer",
  9431. "description": "协议版本号",
  9432. "name": "agreementversion",
  9433. "in": "query"
  9434. },
  9435. {
  9436. "type": "integer",
  9437. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9438. "name": "agreementtype",
  9439. "in": "query"
  9440. },
  9441. {
  9442. "type": "integer",
  9443. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9444. "name": "isvalid",
  9445. "in": "query"
  9446. },
  9447. {
  9448. "type": "string",
  9449. "description": "协议编号(模糊匹配)",
  9450. "name": "agreementno",
  9451. "in": "query"
  9452. },
  9453. {
  9454. "type": "string",
  9455. "description": "协议名称(模糊匹配)",
  9456. "name": "agreementname",
  9457. "in": "query"
  9458. }
  9459. ],
  9460. "responses": {
  9461. "200": {
  9462. "description": "OK",
  9463. "schema": {
  9464. "type": "array",
  9465. "items": {
  9466. "$ref": "#/definitions/models.QhjAgreementConfig"
  9467. }
  9468. }
  9469. },
  9470. "500": {
  9471. "description": "Internal Server Error",
  9472. "schema": {
  9473. "$ref": "#/definitions/app.Response"
  9474. }
  9475. }
  9476. }
  9477. }
  9478. },
  9479. "/QhjSys/QueryCustomerSignStatus": {
  9480. "get": {
  9481. "security": [
  9482. {
  9483. "ApiKeyAuth": []
  9484. }
  9485. ],
  9486. "produces": [
  9487. "application/json"
  9488. ],
  9489. "tags": [
  9490. "大连千海金(协议和签约信息)"
  9491. ],
  9492. "summary": "查询客户协议签约状态",
  9493. "parameters": [
  9494. {
  9495. "type": "integer",
  9496. "description": "客户ID",
  9497. "name": "userid",
  9498. "in": "query"
  9499. },
  9500. {
  9501. "type": "integer",
  9502. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9503. "name": "nodetype",
  9504. "in": "query"
  9505. },
  9506. {
  9507. "type": "integer",
  9508. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9509. "name": "goodsid",
  9510. "in": "query"
  9511. },
  9512. {
  9513. "type": "string",
  9514. "description": "创建交易日(yyyyMMdd)",
  9515. "name": "tradedate",
  9516. "in": "query"
  9517. },
  9518. {
  9519. "type": "string",
  9520. "description": "用户名称(模糊匹配)",
  9521. "name": "username",
  9522. "in": "query"
  9523. }
  9524. ],
  9525. "responses": {
  9526. "200": {
  9527. "description": "OK",
  9528. "schema": {
  9529. "type": "array",
  9530. "items": {
  9531. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9532. }
  9533. }
  9534. },
  9535. "500": {
  9536. "description": "Internal Server Error",
  9537. "schema": {
  9538. "$ref": "#/definitions/app.Response"
  9539. }
  9540. }
  9541. }
  9542. }
  9543. },
  9544. "/QhjSys/QueryNodeAgreementConfig": {
  9545. "get": {
  9546. "security": [
  9547. {
  9548. "ApiKeyAuth": []
  9549. }
  9550. ],
  9551. "produces": [
  9552. "application/json"
  9553. ],
  9554. "tags": [
  9555. "大连千海金(协议和签约信息)"
  9556. ],
  9557. "summary": "查询协议节点配置",
  9558. "parameters": [
  9559. {
  9560. "type": "integer",
  9561. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9562. "name": "configid",
  9563. "in": "query"
  9564. },
  9565. {
  9566. "type": "integer",
  9567. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9568. "name": "nodetype",
  9569. "in": "query"
  9570. },
  9571. {
  9572. "type": "integer",
  9573. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9574. "name": "goodsid",
  9575. "in": "query"
  9576. },
  9577. {
  9578. "type": "integer",
  9579. "description": "协议ID",
  9580. "name": "agreementid",
  9581. "in": "query"
  9582. },
  9583. {
  9584. "type": "integer",
  9585. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9586. "name": "agreementtype",
  9587. "in": "query"
  9588. },
  9589. {
  9590. "type": "integer",
  9591. "description": "协议版本号",
  9592. "name": "agreementversion",
  9593. "in": "query"
  9594. },
  9595. {
  9596. "type": "string",
  9597. "description": "协议编号(模糊匹配)",
  9598. "name": "agreementno",
  9599. "in": "query"
  9600. },
  9601. {
  9602. "type": "string",
  9603. "description": "协议名称(模糊匹配)",
  9604. "name": "agreementname",
  9605. "in": "query"
  9606. }
  9607. ],
  9608. "responses": {
  9609. "200": {
  9610. "description": "OK",
  9611. "schema": {
  9612. "type": "array",
  9613. "items": {
  9614. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9615. }
  9616. }
  9617. },
  9618. "500": {
  9619. "description": "Internal Server Error",
  9620. "schema": {
  9621. "$ref": "#/definitions/app.Response"
  9622. }
  9623. }
  9624. }
  9625. }
  9626. },
  9627. "/QhjSys/QueryQhjCustomerSignLog": {
  9628. "get": {
  9629. "security": [
  9630. {
  9631. "ApiKeyAuth": []
  9632. }
  9633. ],
  9634. "produces": [
  9635. "application/json"
  9636. ],
  9637. "tags": [
  9638. "大连千海金(协议和签约信息)"
  9639. ],
  9640. "summary": "查询客户协议签约流水",
  9641. "parameters": [
  9642. {
  9643. "type": "integer",
  9644. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9645. "name": "logid",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "integer",
  9650. "description": "客户ID",
  9651. "name": "userid",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "integer",
  9656. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9657. "name": "nodetype",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "integer",
  9662. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9663. "name": "goodsid",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "integer",
  9668. "description": "协议ID",
  9669. "name": "agreementid",
  9670. "in": "query"
  9671. },
  9672. {
  9673. "type": "string",
  9674. "description": "用户名称(模糊匹配)",
  9675. "name": "username",
  9676. "in": "query"
  9677. },
  9678. {
  9679. "type": "string",
  9680. "description": "协议编号(模糊匹配)",
  9681. "name": "agreementno",
  9682. "in": "query"
  9683. },
  9684. {
  9685. "type": "string",
  9686. "description": "协议名称(模糊匹配)",
  9687. "name": "agreementname",
  9688. "in": "query"
  9689. }
  9690. ],
  9691. "responses": {
  9692. "200": {
  9693. "description": "OK",
  9694. "schema": {
  9695. "type": "array",
  9696. "items": {
  9697. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9698. }
  9699. }
  9700. },
  9701. "500": {
  9702. "description": "Internal Server Error",
  9703. "schema": {
  9704. "$ref": "#/definitions/app.Response"
  9705. }
  9706. }
  9707. }
  9708. }
  9709. },
  9710. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9711. "get": {
  9712. "security": [
  9713. {
  9714. "ApiKeyAuth": []
  9715. }
  9716. ],
  9717. "produces": [
  9718. "application/json"
  9719. ],
  9720. "tags": [
  9721. "大连千海金(协议和签约信息)"
  9722. ],
  9723. "summary": "查询用户协议节点配置和状态",
  9724. "parameters": [
  9725. {
  9726. "type": "integer",
  9727. "description": "客户ID",
  9728. "name": "userid",
  9729. "in": "query"
  9730. },
  9731. {
  9732. "type": "integer",
  9733. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9734. "name": "configid",
  9735. "in": "query"
  9736. },
  9737. {
  9738. "type": "string",
  9739. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9740. "name": "nodetype",
  9741. "in": "query"
  9742. },
  9743. {
  9744. "type": "integer",
  9745. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9746. "name": "goodsid",
  9747. "in": "query"
  9748. },
  9749. {
  9750. "type": "integer",
  9751. "description": "协议ID",
  9752. "name": "agreementid",
  9753. "in": "query"
  9754. },
  9755. {
  9756. "type": "integer",
  9757. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9758. "name": "agreementtype",
  9759. "in": "query"
  9760. },
  9761. {
  9762. "type": "integer",
  9763. "description": "协议版本号",
  9764. "name": "agreementversion",
  9765. "in": "query"
  9766. },
  9767. {
  9768. "type": "string",
  9769. "description": "协议编号(模糊匹配)",
  9770. "name": "agreementno",
  9771. "in": "query"
  9772. },
  9773. {
  9774. "type": "string",
  9775. "description": "协议名称(模糊匹配)",
  9776. "name": "agreementname",
  9777. "in": "query"
  9778. }
  9779. ],
  9780. "responses": {
  9781. "200": {
  9782. "description": "OK",
  9783. "schema": {
  9784. "type": "array",
  9785. "items": {
  9786. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9787. }
  9788. }
  9789. },
  9790. "500": {
  9791. "description": "Internal Server Error",
  9792. "schema": {
  9793. "$ref": "#/definitions/app.Response"
  9794. }
  9795. }
  9796. }
  9797. }
  9798. },
  9799. "/Quote/QueryHistoryDatas": {
  9800. "get": {
  9801. "security": [
  9802. {
  9803. "ApiKeyAuth": []
  9804. }
  9805. ],
  9806. "produces": [
  9807. "application/json"
  9808. ],
  9809. "tags": [
  9810. "行情服务"
  9811. ],
  9812. "summary": "查询行情历史数据",
  9813. "parameters": [
  9814. {
  9815. "type": "integer",
  9816. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9817. "name": "cycleType",
  9818. "in": "query",
  9819. "required": true
  9820. },
  9821. {
  9822. "type": "string",
  9823. "description": "商品代码",
  9824. "name": "goodsCode",
  9825. "in": "query",
  9826. "required": true
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9831. "name": "startTime",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9837. "name": "endTime",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "integer",
  9842. "description": "条数",
  9843. "name": "count",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "boolean",
  9848. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9849. "name": "isAsc",
  9850. "in": "query"
  9851. }
  9852. ],
  9853. "responses": {
  9854. "200": {
  9855. "description": "OK",
  9856. "schema": {
  9857. "$ref": "#/definitions/quote.HistoryData"
  9858. }
  9859. },
  9860. "500": {
  9861. "description": "Internal Server Error",
  9862. "schema": {
  9863. "$ref": "#/definitions/app.Response"
  9864. }
  9865. }
  9866. }
  9867. }
  9868. },
  9869. "/Quote/QueryHistoryTikDatas": {
  9870. "get": {
  9871. "security": [
  9872. {
  9873. "ApiKeyAuth": []
  9874. }
  9875. ],
  9876. "produces": [
  9877. "application/json"
  9878. ],
  9879. "tags": [
  9880. "行情服务"
  9881. ],
  9882. "summary": "查询行情Tik数据",
  9883. "parameters": [
  9884. {
  9885. "type": "string",
  9886. "description": "商品代码",
  9887. "name": "goodsCode",
  9888. "in": "query",
  9889. "required": true
  9890. },
  9891. {
  9892. "type": "string",
  9893. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9894. "name": "startTime",
  9895. "in": "query"
  9896. },
  9897. {
  9898. "type": "string",
  9899. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9900. "name": "endTime",
  9901. "in": "query"
  9902. },
  9903. {
  9904. "type": "integer",
  9905. "description": "条数",
  9906. "name": "count",
  9907. "in": "query"
  9908. },
  9909. {
  9910. "type": "boolean",
  9911. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9912. "name": "isAsc",
  9913. "in": "query"
  9914. }
  9915. ],
  9916. "responses": {
  9917. "200": {
  9918. "description": "OK",
  9919. "schema": {
  9920. "$ref": "#/definitions/quote.HistoryTikData"
  9921. }
  9922. },
  9923. "500": {
  9924. "description": "Internal Server Error",
  9925. "schema": {
  9926. "$ref": "#/definitions/app.Response"
  9927. }
  9928. }
  9929. }
  9930. }
  9931. },
  9932. "/Quote/QueryQuoteDay": {
  9933. "get": {
  9934. "security": [
  9935. {
  9936. "ApiKeyAuth": []
  9937. }
  9938. ],
  9939. "produces": [
  9940. "application/json"
  9941. ],
  9942. "tags": [
  9943. "行情服务"
  9944. ],
  9945. "summary": "获取商品盘面信息",
  9946. "parameters": [
  9947. {
  9948. "type": "string",
  9949. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9950. "name": "goodsCodes",
  9951. "in": "query",
  9952. "required": true
  9953. }
  9954. ],
  9955. "responses": {
  9956. "200": {
  9957. "description": "OK",
  9958. "schema": {
  9959. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9960. }
  9961. },
  9962. "500": {
  9963. "description": "Internal Server Error",
  9964. "schema": {
  9965. "$ref": "#/definitions/app.Response"
  9966. }
  9967. }
  9968. }
  9969. }
  9970. },
  9971. "/Quote/QueryTSData": {
  9972. "get": {
  9973. "security": [
  9974. {
  9975. "ApiKeyAuth": []
  9976. }
  9977. ],
  9978. "produces": [
  9979. "application/json"
  9980. ],
  9981. "tags": [
  9982. "行情服务"
  9983. ],
  9984. "summary": "分时图数据查询",
  9985. "parameters": [
  9986. {
  9987. "type": "string",
  9988. "description": "商品代码",
  9989. "name": "goodsCode",
  9990. "in": "query",
  9991. "required": true
  9992. }
  9993. ],
  9994. "responses": {
  9995. "200": {
  9996. "description": "OK",
  9997. "schema": {
  9998. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9999. }
  10000. },
  10001. "500": {
  10002. "description": "Internal Server Error",
  10003. "schema": {
  10004. "$ref": "#/definitions/app.Response"
  10005. }
  10006. }
  10007. }
  10008. }
  10009. },
  10010. "/SZDZ/QueryConvertConfig": {
  10011. "get": {
  10012. "security": [
  10013. {
  10014. "ApiKeyAuth": []
  10015. }
  10016. ],
  10017. "produces": [
  10018. "application/json"
  10019. ],
  10020. "tags": [
  10021. "定制【尚志大宗】"
  10022. ],
  10023. "summary": "查询交易系统转换设置",
  10024. "parameters": [
  10025. {
  10026. "type": "integer",
  10027. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10028. "name": "convertType",
  10029. "in": "query"
  10030. },
  10031. {
  10032. "type": "string",
  10033. "description": "外部商品代码[JD\\PD]",
  10034. "name": "outerGoodsCode",
  10035. "in": "query"
  10036. },
  10037. {
  10038. "type": "string",
  10039. "description": "内部商品ID列表[交易],格式:1,2,3",
  10040. "name": "innerGoodsIDs",
  10041. "in": "query"
  10042. }
  10043. ],
  10044. "responses": {
  10045. "200": {
  10046. "description": "OK",
  10047. "schema": {
  10048. "$ref": "#/definitions/models.Szdz3convertconfig"
  10049. }
  10050. },
  10051. "500": {
  10052. "description": "Internal Server Error",
  10053. "schema": {
  10054. "$ref": "#/definitions/app.Response"
  10055. }
  10056. }
  10057. }
  10058. }
  10059. },
  10060. "/SZDZ/QueryConvertLog": {
  10061. "get": {
  10062. "security": [
  10063. {
  10064. "ApiKeyAuth": []
  10065. }
  10066. ],
  10067. "produces": [
  10068. "application/json"
  10069. ],
  10070. "tags": [
  10071. "定制【尚志大宗】"
  10072. ],
  10073. "summary": "交易系统转换流水查询",
  10074. "parameters": [
  10075. {
  10076. "type": "string",
  10077. "description": "资金账户 - 格式:1,2,3",
  10078. "name": "accountID",
  10079. "in": "query",
  10080. "required": true
  10081. },
  10082. {
  10083. "type": "string",
  10084. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10085. "name": "startDate",
  10086. "in": "query"
  10087. },
  10088. {
  10089. "type": "string",
  10090. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10091. "name": "endDate",
  10092. "in": "query"
  10093. }
  10094. ],
  10095. "responses": {
  10096. "200": {
  10097. "description": "OK",
  10098. "schema": {
  10099. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10100. }
  10101. },
  10102. "500": {
  10103. "description": "Internal Server Error",
  10104. "schema": {
  10105. "$ref": "#/definitions/app.Response"
  10106. }
  10107. }
  10108. }
  10109. }
  10110. },
  10111. "/SZDZ/QueryGoodsPickup": {
  10112. "get": {
  10113. "security": [
  10114. {
  10115. "ApiKeyAuth": []
  10116. }
  10117. ],
  10118. "produces": [
  10119. "application/json"
  10120. ],
  10121. "tags": [
  10122. "定制【尚志大宗】"
  10123. ],
  10124. "summary": "商品提货单查询",
  10125. "parameters": [
  10126. {
  10127. "type": "string",
  10128. "description": "资金账户 - 格式:1,2,3",
  10129. "name": "accountID",
  10130. "in": "query",
  10131. "required": true
  10132. },
  10133. {
  10134. "type": "integer",
  10135. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10136. "name": "takeOrderStatus",
  10137. "in": "query"
  10138. }
  10139. ],
  10140. "responses": {
  10141. "200": {
  10142. "description": "OK",
  10143. "schema": {
  10144. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10145. }
  10146. },
  10147. "500": {
  10148. "description": "Internal Server Error",
  10149. "schema": {
  10150. "$ref": "#/definitions/app.Response"
  10151. }
  10152. }
  10153. }
  10154. }
  10155. },
  10156. "/SZDZ/QueryRecieptOrder": {
  10157. "get": {
  10158. "security": [
  10159. {
  10160. "ApiKeyAuth": []
  10161. }
  10162. ],
  10163. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10164. "produces": [
  10165. "application/json"
  10166. ],
  10167. "tags": [
  10168. "定制【尚志大宗】"
  10169. ],
  10170. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10171. "parameters": [
  10172. {
  10173. "type": "integer",
  10174. "description": "页码",
  10175. "name": "page",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "每页条数",
  10181. "name": "pagesize",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "integer",
  10186. "description": "商品ID",
  10187. "name": "goodsID",
  10188. "in": "query",
  10189. "required": true
  10190. },
  10191. {
  10192. "type": "string",
  10193. "description": "所属账户名称",
  10194. "name": "accountName",
  10195. "in": "query"
  10196. },
  10197. {
  10198. "type": "integer",
  10199. "description": "市场ID",
  10200. "name": "marketID",
  10201. "in": "query"
  10202. },
  10203. {
  10204. "type": "integer",
  10205. "description": "方向 - 0:买 1:卖",
  10206. "name": "buyorsell",
  10207. "in": "query",
  10208. "required": true
  10209. }
  10210. ],
  10211. "responses": {
  10212. "200": {
  10213. "description": "OK",
  10214. "schema": {
  10215. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10216. }
  10217. },
  10218. "500": {
  10219. "description": "Internal Server Error",
  10220. "schema": {
  10221. "$ref": "#/definitions/app.Response"
  10222. }
  10223. }
  10224. }
  10225. }
  10226. },
  10227. "/SZDZ/QuerySZDZTradePosition": {
  10228. "get": {
  10229. "security": [
  10230. {
  10231. "ApiKeyAuth": []
  10232. }
  10233. ],
  10234. "produces": [
  10235. "application/json"
  10236. ],
  10237. "tags": [
  10238. "定制【尚志大宗】"
  10239. ],
  10240. "summary": "持仓汇总查询(尚志大宗)",
  10241. "parameters": [
  10242. {
  10243. "type": "integer",
  10244. "description": "资金账户",
  10245. "name": "accountID",
  10246. "in": "query",
  10247. "required": true
  10248. }
  10249. ],
  10250. "responses": {
  10251. "200": {
  10252. "description": "OK",
  10253. "schema": {
  10254. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10255. }
  10256. },
  10257. "500": {
  10258. "description": "Internal Server Error",
  10259. "schema": {
  10260. "$ref": "#/definitions/app.Response"
  10261. }
  10262. }
  10263. }
  10264. }
  10265. },
  10266. "/SZDZ/SearchWhite": {
  10267. "get": {
  10268. "security": [
  10269. {
  10270. "ApiKeyAuth": []
  10271. }
  10272. ],
  10273. "produces": [
  10274. "application/json"
  10275. ],
  10276. "tags": [
  10277. "定制【尚志大宗】"
  10278. ],
  10279. "summary": "搜索白名单",
  10280. "parameters": [
  10281. {
  10282. "type": "integer",
  10283. "description": "用户ID",
  10284. "name": "userID",
  10285. "in": "query",
  10286. "required": true
  10287. }
  10288. ],
  10289. "responses": {
  10290. "200": {
  10291. "description": "OK",
  10292. "schema": {
  10293. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10294. }
  10295. },
  10296. "500": {
  10297. "description": "Internal Server Error",
  10298. "schema": {
  10299. "$ref": "#/definitions/app.Response"
  10300. }
  10301. }
  10302. }
  10303. }
  10304. },
  10305. "/Search/SearchGoodses": {
  10306. "get": {
  10307. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10308. "produces": [
  10309. "application/json"
  10310. ],
  10311. "tags": [
  10312. "检索服务"
  10313. ],
  10314. "summary": "检索商品信息",
  10315. "parameters": [
  10316. {
  10317. "type": "string",
  10318. "description": "检索内容",
  10319. "name": "content",
  10320. "in": "query",
  10321. "required": true
  10322. },
  10323. {
  10324. "type": "string",
  10325. "description": "交易模式,格式:1,2,3",
  10326. "name": "tradeModes",
  10327. "in": "query"
  10328. }
  10329. ],
  10330. "responses": {
  10331. "200": {
  10332. "description": "OK",
  10333. "schema": {
  10334. "$ref": "#/definitions/models.SearchGoods"
  10335. }
  10336. },
  10337. "500": {
  10338. "description": "Internal Server Error",
  10339. "schema": {
  10340. "$ref": "#/definitions/app.Response"
  10341. }
  10342. }
  10343. }
  10344. }
  10345. },
  10346. "/TaAccount/GetTaAccounts": {
  10347. "get": {
  10348. "security": [
  10349. {
  10350. "ApiKeyAuth": []
  10351. }
  10352. ],
  10353. "produces": [
  10354. "application/json"
  10355. ],
  10356. "tags": [
  10357. "资金账户"
  10358. ],
  10359. "summary": "获取资金账户信息",
  10360. "parameters": [
  10361. {
  10362. "type": "integer",
  10363. "description": "登录账户",
  10364. "name": "loginID",
  10365. "in": "query",
  10366. "required": true
  10367. },
  10368. {
  10369. "type": "integer",
  10370. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10371. "name": "taAccountType",
  10372. "in": "query"
  10373. }
  10374. ],
  10375. "responses": {
  10376. "200": {
  10377. "description": "OK",
  10378. "schema": {
  10379. "$ref": "#/definitions/models.Taaccount"
  10380. }
  10381. },
  10382. "500": {
  10383. "description": "Internal Server Error",
  10384. "schema": {
  10385. "$ref": "#/definitions/app.Response"
  10386. }
  10387. }
  10388. }
  10389. }
  10390. },
  10391. "/TaAccount/QueryAmountLog": {
  10392. "get": {
  10393. "security": [
  10394. {
  10395. "ApiKeyAuth": []
  10396. }
  10397. ],
  10398. "produces": [
  10399. "application/json"
  10400. ],
  10401. "tags": [
  10402. "资金账户"
  10403. ],
  10404. "summary": "资金流水查询(当前)",
  10405. "parameters": [
  10406. {
  10407. "type": "integer",
  10408. "description": "页码",
  10409. "name": "page",
  10410. "in": "query"
  10411. },
  10412. {
  10413. "type": "integer",
  10414. "description": "每页条数",
  10415. "name": "pagesize",
  10416. "in": "query"
  10417. },
  10418. {
  10419. "type": "string",
  10420. "description": "资金账户 - 格式:1,2,3",
  10421. "name": "accountID",
  10422. "in": "query",
  10423. "required": true
  10424. },
  10425. {
  10426. "type": "string",
  10427. "description": "资金操作类型 - 格式:1,2,3",
  10428. "name": "OperateType",
  10429. "in": "query"
  10430. }
  10431. ],
  10432. "responses": {
  10433. "200": {
  10434. "description": "OK",
  10435. "schema": {
  10436. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10437. }
  10438. },
  10439. "500": {
  10440. "description": "Internal Server Error",
  10441. "schema": {
  10442. "$ref": "#/definitions/app.Response"
  10443. }
  10444. }
  10445. }
  10446. }
  10447. },
  10448. "/TaAccount/QueryHisAmountLog": {
  10449. "get": {
  10450. "security": [
  10451. {
  10452. "ApiKeyAuth": []
  10453. }
  10454. ],
  10455. "produces": [
  10456. "application/json"
  10457. ],
  10458. "tags": [
  10459. "资金账户"
  10460. ],
  10461. "summary": "资金流水查询(历史)",
  10462. "parameters": [
  10463. {
  10464. "type": "integer",
  10465. "description": "页码",
  10466. "name": "page",
  10467. "in": "query"
  10468. },
  10469. {
  10470. "type": "integer",
  10471. "description": "每页条数",
  10472. "name": "pagesize",
  10473. "in": "query"
  10474. },
  10475. {
  10476. "type": "string",
  10477. "description": "资金账户 - 格式:1,2,3",
  10478. "name": "accountID",
  10479. "in": "query",
  10480. "required": true
  10481. },
  10482. {
  10483. "type": "string",
  10484. "description": "资金操作类型 - 格式:1,2,3",
  10485. "name": "OperateType",
  10486. "in": "query"
  10487. },
  10488. {
  10489. "type": "string",
  10490. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10491. "name": "startDate",
  10492. "in": "query"
  10493. },
  10494. {
  10495. "type": "string",
  10496. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10497. "name": "endDate",
  10498. "in": "query"
  10499. }
  10500. ],
  10501. "responses": {
  10502. "200": {
  10503. "description": "OK",
  10504. "schema": {
  10505. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10506. }
  10507. },
  10508. "500": {
  10509. "description": "Internal Server Error",
  10510. "schema": {
  10511. "$ref": "#/definitions/app.Response"
  10512. }
  10513. }
  10514. }
  10515. }
  10516. },
  10517. "/Tjmd/QueryQuoteGoodsList": {
  10518. "get": {
  10519. "security": [
  10520. {
  10521. "ApiKeyAuth": []
  10522. }
  10523. ],
  10524. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  10525. "produces": [
  10526. "application/json"
  10527. ],
  10528. "tags": [
  10529. "天津麦顿"
  10530. ],
  10531. "summary": "查询掉期报价列表",
  10532. "parameters": [
  10533. {
  10534. "type": "integer",
  10535. "description": "用户类型",
  10536. "name": "usertype",
  10537. "in": "query",
  10538. "required": true
  10539. },
  10540. {
  10541. "type": "string",
  10542. "description": "市场id, 格式 1,2,3",
  10543. "name": "marketids",
  10544. "in": "query"
  10545. },
  10546. {
  10547. "type": "integer",
  10548. "description": "商品组id",
  10549. "name": "goodsgroupid",
  10550. "in": "query"
  10551. },
  10552. {
  10553. "type": "integer",
  10554. "description": "商品id",
  10555. "name": "goodsid",
  10556. "in": "query"
  10557. }
  10558. ],
  10559. "responses": {
  10560. "200": {
  10561. "description": "OK",
  10562. "schema": {
  10563. "type": "array",
  10564. "items": {
  10565. "$ref": "#/definitions/models.TjmdQuoteGoods"
  10566. }
  10567. }
  10568. },
  10569. "500": {
  10570. "description": "Internal Server Error",
  10571. "schema": {
  10572. "$ref": "#/definitions/app.Response"
  10573. }
  10574. }
  10575. }
  10576. }
  10577. },
  10578. "/Tjmd/QueryTjmdTodayAccountMargin": {
  10579. "get": {
  10580. "security": [
  10581. {
  10582. "ApiKeyAuth": []
  10583. }
  10584. ],
  10585. "produces": [
  10586. "application/json"
  10587. ],
  10588. "tags": [
  10589. "天津麦顿"
  10590. ],
  10591. "summary": "查询今日账户保证金配置",
  10592. "parameters": [
  10593. {
  10594. "type": "string",
  10595. "description": "市场id",
  10596. "name": "marketid",
  10597. "in": "query"
  10598. },
  10599. {
  10600. "type": "string",
  10601. "description": "商品id",
  10602. "name": "goodsid",
  10603. "in": "query"
  10604. },
  10605. {
  10606. "type": "string",
  10607. "description": "资金账号",
  10608. "name": "accountid",
  10609. "in": "query"
  10610. }
  10611. ],
  10612. "responses": {
  10613. "200": {
  10614. "description": "OK",
  10615. "schema": {
  10616. "type": "array",
  10617. "items": {
  10618. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  10619. }
  10620. }
  10621. },
  10622. "500": {
  10623. "description": "Internal Server Error",
  10624. "schema": {
  10625. "$ref": "#/definitions/app.Response"
  10626. }
  10627. }
  10628. }
  10629. }
  10630. },
  10631. "/Tjmd/QueryTjmdTradeOrderDetail": {
  10632. "get": {
  10633. "security": [
  10634. {
  10635. "ApiKeyAuth": []
  10636. }
  10637. ],
  10638. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  10639. "produces": [
  10640. "application/json"
  10641. ],
  10642. "tags": [
  10643. "天津麦顿"
  10644. ],
  10645. "summary": "查询掉期买卖大厅",
  10646. "parameters": [
  10647. {
  10648. "type": "integer",
  10649. "description": "页码",
  10650. "name": "page",
  10651. "in": "query"
  10652. },
  10653. {
  10654. "type": "integer",
  10655. "description": "每页条数",
  10656. "name": "pagesize",
  10657. "in": "query"
  10658. },
  10659. {
  10660. "type": "integer",
  10661. "description": "用户类型",
  10662. "name": "usertype",
  10663. "in": "query",
  10664. "required": true
  10665. },
  10666. {
  10667. "type": "string",
  10668. "description": "市场id, 格式 1,2,3",
  10669. "name": "marketids",
  10670. "in": "query"
  10671. },
  10672. {
  10673. "type": "integer",
  10674. "description": "商品id",
  10675. "name": "goodsid",
  10676. "in": "query",
  10677. "required": true
  10678. },
  10679. {
  10680. "type": "integer",
  10681. "description": "买卖方向 0-买 1-卖",
  10682. "name": "buyorsell",
  10683. "in": "query",
  10684. "required": true
  10685. }
  10686. ],
  10687. "responses": {
  10688. "200": {
  10689. "description": "OK",
  10690. "schema": {
  10691. "type": "array",
  10692. "items": {
  10693. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  10694. }
  10695. }
  10696. },
  10697. "500": {
  10698. "description": "Internal Server Error",
  10699. "schema": {
  10700. "$ref": "#/definitions/app.Response"
  10701. }
  10702. }
  10703. }
  10704. }
  10705. },
  10706. "/Tjmd/QueryTjmdTransferApply": {
  10707. "get": {
  10708. "security": [
  10709. {
  10710. "ApiKeyAuth": []
  10711. }
  10712. ],
  10713. "produces": [
  10714. "application/json"
  10715. ],
  10716. "tags": [
  10717. "天津麦顿"
  10718. ],
  10719. "summary": "查询掉期协议单",
  10720. "parameters": [
  10721. {
  10722. "type": "integer",
  10723. "description": "类型 1-我的申请 2-对方申请",
  10724. "name": "applytype",
  10725. "in": "query",
  10726. "required": true
  10727. },
  10728. {
  10729. "type": "string",
  10730. "description": "市场id, 格式 1,2,3",
  10731. "name": "marketids",
  10732. "in": "query"
  10733. },
  10734. {
  10735. "type": "string",
  10736. "description": "资金账号, 格式 25000000001,25000000003",
  10737. "name": "accountids",
  10738. "in": "query"
  10739. }
  10740. ],
  10741. "responses": {
  10742. "200": {
  10743. "description": "OK",
  10744. "schema": {
  10745. "type": "array",
  10746. "items": {
  10747. "$ref": "#/definitions/models.TjmdTransferApply"
  10748. }
  10749. }
  10750. },
  10751. "500": {
  10752. "description": "Internal Server Error",
  10753. "schema": {
  10754. "$ref": "#/definitions/app.Response"
  10755. }
  10756. }
  10757. }
  10758. }
  10759. },
  10760. "/Trade/QueryRecieptOrder": {
  10761. "get": {
  10762. "security": [
  10763. {
  10764. "ApiKeyAuth": []
  10765. }
  10766. ],
  10767. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10768. "produces": [
  10769. "application/json"
  10770. ],
  10771. "tags": [
  10772. "通用交易"
  10773. ],
  10774. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10775. "parameters": [
  10776. {
  10777. "type": "integer",
  10778. "description": "页码",
  10779. "name": "page",
  10780. "in": "query"
  10781. },
  10782. {
  10783. "type": "integer",
  10784. "description": "每页条数",
  10785. "name": "pagesize",
  10786. "in": "query"
  10787. },
  10788. {
  10789. "type": "integer",
  10790. "description": "商品ID",
  10791. "name": "goodsID",
  10792. "in": "query",
  10793. "required": true
  10794. },
  10795. {
  10796. "type": "string",
  10797. "description": "所属账户名称",
  10798. "name": "accountName",
  10799. "in": "query"
  10800. },
  10801. {
  10802. "type": "integer",
  10803. "description": "市场ID",
  10804. "name": "marketID",
  10805. "in": "query"
  10806. },
  10807. {
  10808. "type": "integer",
  10809. "description": "方向 - 0:买 1:卖",
  10810. "name": "buyorsell",
  10811. "in": "query",
  10812. "required": true
  10813. }
  10814. ],
  10815. "responses": {
  10816. "200": {
  10817. "description": "OK",
  10818. "schema": {
  10819. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10820. }
  10821. },
  10822. "500": {
  10823. "description": "Internal Server Error",
  10824. "schema": {
  10825. "$ref": "#/definitions/app.Response"
  10826. }
  10827. }
  10828. }
  10829. }
  10830. },
  10831. "/User/AddMessageBoard": {
  10832. "post": {
  10833. "security": [
  10834. {
  10835. "ApiKeyAuth": []
  10836. }
  10837. ],
  10838. "produces": [
  10839. "application/json"
  10840. ],
  10841. "tags": [
  10842. "用户信息"
  10843. ],
  10844. "summary": "添加用户留言板信息",
  10845. "parameters": [
  10846. {
  10847. "type": "integer",
  10848. "description": "用户ID",
  10849. "name": "userID",
  10850. "in": "query",
  10851. "required": true
  10852. },
  10853. {
  10854. "type": "string",
  10855. "description": "留言信息",
  10856. "name": "message",
  10857. "in": "query",
  10858. "required": true
  10859. },
  10860. {
  10861. "type": "string",
  10862. "description": "联系电话",
  10863. "name": "contactNum",
  10864. "in": "query",
  10865. "required": true
  10866. }
  10867. ],
  10868. "responses": {
  10869. "200": {
  10870. "description": "OK",
  10871. "schema": {
  10872. "$ref": "#/definitions/app.Response"
  10873. }
  10874. },
  10875. "500": {
  10876. "description": "Internal Server Error",
  10877. "schema": {
  10878. "$ref": "#/definitions/app.Response"
  10879. }
  10880. }
  10881. }
  10882. }
  10883. },
  10884. "/User/AddUserFavoriteGoods": {
  10885. "post": {
  10886. "security": [
  10887. {
  10888. "ApiKeyAuth": []
  10889. }
  10890. ],
  10891. "produces": [
  10892. "application/json"
  10893. ],
  10894. "tags": [
  10895. "用户信息"
  10896. ],
  10897. "summary": "添加用户商品收藏信息",
  10898. "parameters": [
  10899. {
  10900. "type": "integer",
  10901. "description": "用户ID",
  10902. "name": "userID",
  10903. "in": "query",
  10904. "required": true
  10905. },
  10906. {
  10907. "type": "integer",
  10908. "description": "商品ID",
  10909. "name": "goodsID",
  10910. "in": "query",
  10911. "required": true
  10912. }
  10913. ],
  10914. "responses": {
  10915. "200": {
  10916. "description": "OK",
  10917. "schema": {
  10918. "$ref": "#/definitions/app.Response"
  10919. }
  10920. },
  10921. "500": {
  10922. "description": "Internal Server Error",
  10923. "schema": {
  10924. "$ref": "#/definitions/app.Response"
  10925. }
  10926. }
  10927. }
  10928. }
  10929. },
  10930. "/User/GetLoginID": {
  10931. "get": {
  10932. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10933. "produces": [
  10934. "application/json"
  10935. ],
  10936. "tags": [
  10937. "用户信息"
  10938. ],
  10939. "summary": "获取登录ID",
  10940. "parameters": [
  10941. {
  10942. "type": "string",
  10943. "description": "登录代码",
  10944. "name": "username",
  10945. "in": "query",
  10946. "required": true
  10947. }
  10948. ],
  10949. "responses": {
  10950. "200": {
  10951. "description": "OK",
  10952. "schema": {
  10953. "$ref": "#/definitions/app.Response"
  10954. }
  10955. },
  10956. "500": {
  10957. "description": "Internal Server Error",
  10958. "schema": {
  10959. "$ref": "#/definitions/app.Response"
  10960. }
  10961. }
  10962. }
  10963. }
  10964. },
  10965. "/User/GetUserAccount": {
  10966. "get": {
  10967. "security": [
  10968. {
  10969. "ApiKeyAuth": []
  10970. }
  10971. ],
  10972. "produces": [
  10973. "application/json"
  10974. ],
  10975. "tags": [
  10976. "用户信息"
  10977. ],
  10978. "summary": "获取用户账号信息",
  10979. "parameters": [
  10980. {
  10981. "type": "integer",
  10982. "description": "用户ID",
  10983. "name": "userID",
  10984. "in": "query",
  10985. "required": true
  10986. }
  10987. ],
  10988. "responses": {
  10989. "200": {
  10990. "description": "OK",
  10991. "schema": {
  10992. "$ref": "#/definitions/models.Useraccount"
  10993. }
  10994. },
  10995. "500": {
  10996. "description": "Internal Server Error",
  10997. "schema": {
  10998. "$ref": "#/definitions/app.Response"
  10999. }
  11000. }
  11001. }
  11002. }
  11003. },
  11004. "/User/GetUserAuthStatus": {
  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": "用户ID",
  11022. "name": "userID",
  11023. "in": "query",
  11024. "required": true
  11025. }
  11026. ],
  11027. "responses": {
  11028. "200": {
  11029. "description": "OK",
  11030. "schema": {
  11031. "$ref": "#/definitions/app.Response"
  11032. }
  11033. },
  11034. "500": {
  11035. "description": "Internal Server Error",
  11036. "schema": {
  11037. "$ref": "#/definitions/app.Response"
  11038. }
  11039. }
  11040. }
  11041. }
  11042. },
  11043. "/User/LoginQuery": {
  11044. "get": {
  11045. "security": [
  11046. {
  11047. "ApiKeyAuth": []
  11048. }
  11049. ],
  11050. "produces": [
  11051. "application/json"
  11052. ],
  11053. "tags": [
  11054. "用户信息"
  11055. ],
  11056. "summary": "账户登录后信息查询",
  11057. "parameters": [
  11058. {
  11059. "type": "integer",
  11060. "description": "登录账号",
  11061. "name": "loginID",
  11062. "in": "query",
  11063. "required": true
  11064. }
  11065. ],
  11066. "responses": {
  11067. "200": {
  11068. "description": "OK",
  11069. "schema": {
  11070. "$ref": "#/definitions/user.LoginQueryRsp"
  11071. }
  11072. },
  11073. "500": {
  11074. "description": "Internal Server Error",
  11075. "schema": {
  11076. "$ref": "#/definitions/app.Response"
  11077. }
  11078. }
  11079. }
  11080. }
  11081. },
  11082. "/User/QueryMessageBoard": {
  11083. "get": {
  11084. "security": [
  11085. {
  11086. "ApiKeyAuth": []
  11087. }
  11088. ],
  11089. "produces": [
  11090. "application/json"
  11091. ],
  11092. "tags": [
  11093. "用户信息"
  11094. ],
  11095. "summary": "获取用户留言板信息",
  11096. "parameters": [
  11097. {
  11098. "type": "integer",
  11099. "description": "用户ID",
  11100. "name": "userID",
  11101. "in": "query",
  11102. "required": true
  11103. }
  11104. ],
  11105. "responses": {
  11106. "200": {
  11107. "description": "OK",
  11108. "schema": {
  11109. "$ref": "#/definitions/models.Messageboard"
  11110. }
  11111. },
  11112. "500": {
  11113. "description": "Internal Server Error",
  11114. "schema": {
  11115. "$ref": "#/definitions/app.Response"
  11116. }
  11117. }
  11118. }
  11119. }
  11120. },
  11121. "/User/QueryUserFavoriteGoodses": {
  11122. "get": {
  11123. "security": [
  11124. {
  11125. "ApiKeyAuth": []
  11126. }
  11127. ],
  11128. "produces": [
  11129. "application/json"
  11130. ],
  11131. "tags": [
  11132. "用户信息"
  11133. ],
  11134. "summary": "获取用户商品收藏信息",
  11135. "parameters": [
  11136. {
  11137. "type": "integer",
  11138. "description": "用户ID",
  11139. "name": "userID",
  11140. "in": "query",
  11141. "required": true
  11142. }
  11143. ],
  11144. "responses": {
  11145. "200": {
  11146. "description": "OK",
  11147. "schema": {
  11148. "$ref": "#/definitions/models.Userfavoritegoods"
  11149. }
  11150. },
  11151. "500": {
  11152. "description": "Internal Server Error",
  11153. "schema": {
  11154. "$ref": "#/definitions/app.Response"
  11155. }
  11156. }
  11157. }
  11158. }
  11159. },
  11160. "/User/QueryUserInfo": {
  11161. "get": {
  11162. "security": [
  11163. {
  11164. "ApiKeyAuth": []
  11165. }
  11166. ],
  11167. "produces": [
  11168. "application/json"
  11169. ],
  11170. "tags": [
  11171. "用户信息"
  11172. ],
  11173. "summary": "获取用户信息",
  11174. "parameters": [
  11175. {
  11176. "type": "integer",
  11177. "description": "用户ID",
  11178. "name": "userID",
  11179. "in": "query",
  11180. "required": true
  11181. },
  11182. {
  11183. "type": "boolean",
  11184. "description": "是否解密",
  11185. "name": "isDecrypt",
  11186. "in": "query"
  11187. }
  11188. ],
  11189. "responses": {
  11190. "200": {
  11191. "description": "OK",
  11192. "schema": {
  11193. "$ref": "#/definitions/models.Userinfo"
  11194. }
  11195. },
  11196. "500": {
  11197. "description": "Internal Server Error",
  11198. "schema": {
  11199. "$ref": "#/definitions/app.Response"
  11200. }
  11201. }
  11202. }
  11203. }
  11204. },
  11205. "/User/QueryUserReferNum": {
  11206. "get": {
  11207. "produces": [
  11208. "application/json"
  11209. ],
  11210. "tags": [
  11211. "用户信息"
  11212. ],
  11213. "summary": "获取用户邀请码",
  11214. "parameters": [
  11215. {
  11216. "type": "integer",
  11217. "description": "用户ID",
  11218. "name": "userID",
  11219. "in": "query",
  11220. "required": true
  11221. }
  11222. ],
  11223. "responses": {
  11224. "200": {
  11225. "description": "OK",
  11226. "schema": {
  11227. "$ref": "#/definitions/app.Response"
  11228. }
  11229. },
  11230. "500": {
  11231. "description": "Internal Server Error",
  11232. "schema": {
  11233. "$ref": "#/definitions/app.Response"
  11234. }
  11235. }
  11236. }
  11237. }
  11238. },
  11239. "/User/RemoveUserFavoriteGoods": {
  11240. "post": {
  11241. "security": [
  11242. {
  11243. "ApiKeyAuth": []
  11244. }
  11245. ],
  11246. "produces": [
  11247. "application/json"
  11248. ],
  11249. "tags": [
  11250. "用户信息"
  11251. ],
  11252. "summary": "移除用户商品收藏信息",
  11253. "parameters": [
  11254. {
  11255. "type": "integer",
  11256. "description": "用户ID",
  11257. "name": "userID",
  11258. "in": "query",
  11259. "required": true
  11260. },
  11261. {
  11262. "type": "integer",
  11263. "description": "商品ID",
  11264. "name": "goodsID",
  11265. "in": "query",
  11266. "required": true
  11267. }
  11268. ],
  11269. "responses": {
  11270. "200": {
  11271. "description": "OK",
  11272. "schema": {
  11273. "$ref": "#/definitions/app.Response"
  11274. }
  11275. },
  11276. "500": {
  11277. "description": "Internal Server Error",
  11278. "schema": {
  11279. "$ref": "#/definitions/app.Response"
  11280. }
  11281. }
  11282. }
  11283. }
  11284. },
  11285. "/User/UpdateUserAccountStatus": {
  11286. "post": {
  11287. "security": [
  11288. {
  11289. "ApiKeyAuth": []
  11290. }
  11291. ],
  11292. "produces": [
  11293. "application/json"
  11294. ],
  11295. "tags": [
  11296. "用户信息"
  11297. ],
  11298. "summary": "更新用户状态",
  11299. "parameters": [
  11300. {
  11301. "type": "integer",
  11302. "description": "用户ID",
  11303. "name": "userID",
  11304. "in": "query",
  11305. "required": true
  11306. },
  11307. {
  11308. "type": "integer",
  11309. "description": "账户状态 - 4:正常 6:注销(停用)",
  11310. "name": "accountStatus",
  11311. "in": "query",
  11312. "required": true
  11313. }
  11314. ],
  11315. "responses": {
  11316. "200": {
  11317. "description": "OK",
  11318. "schema": {
  11319. "$ref": "#/definitions/app.Response"
  11320. }
  11321. },
  11322. "500": {
  11323. "description": "Internal Server Error",
  11324. "schema": {
  11325. "$ref": "#/definitions/app.Response"
  11326. }
  11327. }
  11328. }
  11329. }
  11330. },
  11331. "/WRTrade/GetAllDeliveryGoods": {
  11332. "get": {
  11333. "security": [
  11334. {
  11335. "ApiKeyAuth": []
  11336. },
  11337. {
  11338. "ApiKeyAuth": []
  11339. }
  11340. ],
  11341. "produces": [
  11342. "application/json",
  11343. "application/json"
  11344. ],
  11345. "tags": [
  11346. "仓单贸易",
  11347. "仓单贸易"
  11348. ],
  11349. "summary": "获取带仓单分类的种类信息",
  11350. "responses": {
  11351. "200": {
  11352. "description": "OK",
  11353. "schema": {
  11354. "$ref": "#/definitions/app.Response"
  11355. }
  11356. },
  11357. "500": {
  11358. "description": "Internal Server Error",
  11359. "schema": {
  11360. "$ref": "#/definitions/app.Response"
  11361. }
  11362. }
  11363. }
  11364. }
  11365. },
  11366. "/WrTrade2/QueryFaProductDetail": {
  11367. "get": {
  11368. "security": [
  11369. {
  11370. "ApiKeyAuth": []
  11371. }
  11372. ],
  11373. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11374. "produces": [
  11375. "application/json"
  11376. ],
  11377. "tags": [
  11378. "仓单贸易v2"
  11379. ],
  11380. "summary": "查询融资产品列表",
  11381. "parameters": [
  11382. {
  11383. "type": "integer",
  11384. "description": "仓单要素id",
  11385. "name": "wrfactortypeid",
  11386. "in": "query",
  11387. "required": true
  11388. }
  11389. ],
  11390. "responses": {
  11391. "200": {
  11392. "description": "OK",
  11393. "schema": {
  11394. "type": "array",
  11395. "items": {
  11396. "$ref": "#/definitions/models.WrFAProductDetail"
  11397. }
  11398. }
  11399. },
  11400. "500": {
  11401. "description": "Internal Server Error",
  11402. "schema": {
  11403. "$ref": "#/definitions/app.Response"
  11404. }
  11405. }
  11406. }
  11407. }
  11408. },
  11409. "/WrTrade2/QueryFilterItem": {
  11410. "get": {
  11411. "security": [
  11412. {
  11413. "ApiKeyAuth": []
  11414. }
  11415. ],
  11416. "produces": [
  11417. "application/json"
  11418. ],
  11419. "tags": [
  11420. "仓单贸易v2"
  11421. ],
  11422. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11423. "parameters": [
  11424. {
  11425. "type": "string",
  11426. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11427. "name": "itype",
  11428. "in": "query",
  11429. "required": true
  11430. }
  11431. ],
  11432. "responses": {
  11433. "200": {
  11434. "description": "OK",
  11435. "schema": {
  11436. "type": "array",
  11437. "items": {
  11438. "$ref": "#/definitions/models.WrFilterItem"
  11439. }
  11440. }
  11441. },
  11442. "500": {
  11443. "description": "Internal Server Error",
  11444. "schema": {
  11445. "$ref": "#/definitions/app.Response"
  11446. }
  11447. }
  11448. }
  11449. }
  11450. },
  11451. "/WrTrade2/QueryFtDeliveryGoods": {
  11452. "get": {
  11453. "security": [
  11454. {
  11455. "ApiKeyAuth": []
  11456. }
  11457. ],
  11458. "produces": [
  11459. "application/json"
  11460. ],
  11461. "tags": [
  11462. "仓单贸易v2"
  11463. ],
  11464. "summary": "查询品种品类筛选框列表",
  11465. "responses": {
  11466. "200": {
  11467. "description": "OK",
  11468. "schema": {
  11469. "type": "array",
  11470. "items": {
  11471. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11472. }
  11473. }
  11474. },
  11475. "500": {
  11476. "description": "Internal Server Error",
  11477. "schema": {
  11478. "$ref": "#/definitions/app.Response"
  11479. }
  11480. }
  11481. }
  11482. }
  11483. },
  11484. "/WrTrade2/QueryHoldLB": {
  11485. "get": {
  11486. "security": [
  11487. {
  11488. "ApiKeyAuth": []
  11489. }
  11490. ],
  11491. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11492. "produces": [
  11493. "application/json"
  11494. ],
  11495. "tags": [
  11496. "仓单贸易v2"
  11497. ],
  11498. "summary": "查询仓单持有记录",
  11499. "parameters": [
  11500. {
  11501. "type": "integer",
  11502. "description": "资金账号",
  11503. "name": "accountid",
  11504. "in": "query",
  11505. "required": true
  11506. },
  11507. {
  11508. "type": "integer",
  11509. "description": "仓库id",
  11510. "name": "warehouseid",
  11511. "in": "query"
  11512. },
  11513. {
  11514. "type": "integer",
  11515. "description": "品种id",
  11516. "name": "deliverygoodsid",
  11517. "in": "query"
  11518. },
  11519. {
  11520. "type": "integer",
  11521. "description": "品类id",
  11522. "name": "wrstandardid",
  11523. "in": "query"
  11524. },
  11525. {
  11526. "type": "integer",
  11527. "description": "仓单要素id",
  11528. "name": "wrfactortypeid",
  11529. "in": "query"
  11530. }
  11531. ],
  11532. "responses": {
  11533. "200": {
  11534. "description": "OK",
  11535. "schema": {
  11536. "type": "array",
  11537. "items": {
  11538. "$ref": "#/definitions/models.WrHoldLB"
  11539. }
  11540. }
  11541. },
  11542. "500": {
  11543. "description": "Internal Server Error",
  11544. "schema": {
  11545. "$ref": "#/definitions/app.Response"
  11546. }
  11547. }
  11548. }
  11549. }
  11550. },
  11551. "/WrTrade2/QueryOrderQuote": {
  11552. "get": {
  11553. "security": [
  11554. {
  11555. "ApiKeyAuth": []
  11556. }
  11557. ],
  11558. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11559. "produces": [
  11560. "application/json"
  11561. ],
  11562. "tags": [
  11563. "仓单贸易v2"
  11564. ],
  11565. "summary": "查询大厅行情列表",
  11566. "parameters": [
  11567. {
  11568. "type": "integer",
  11569. "description": "页码",
  11570. "name": "page",
  11571. "in": "query"
  11572. },
  11573. {
  11574. "type": "integer",
  11575. "description": "每页条数",
  11576. "name": "pagesize",
  11577. "in": "query"
  11578. },
  11579. {
  11580. "type": "integer",
  11581. "description": "仓单贸易市场id",
  11582. "name": "marketid",
  11583. "in": "query"
  11584. },
  11585. {
  11586. "type": "integer",
  11587. "description": "价格方式 - 1:固定价 2-浮动价",
  11588. "name": "wrpricetype",
  11589. "in": "query",
  11590. "required": true
  11591. },
  11592. {
  11593. "type": "integer",
  11594. "description": "0:仓单预售 1:仓单贸易",
  11595. "name": "haswr",
  11596. "in": "query",
  11597. "required": true
  11598. },
  11599. {
  11600. "type": "string",
  11601. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11602. "name": "dgitemname",
  11603. "in": "query"
  11604. },
  11605. {
  11606. "type": "integer",
  11607. "description": "仓库id(筛选条件)",
  11608. "name": "warehouseid",
  11609. "in": "query"
  11610. },
  11611. {
  11612. "type": "integer",
  11613. "description": "品种id",
  11614. "name": "deliverygoodsid",
  11615. "in": "query"
  11616. },
  11617. {
  11618. "type": "integer",
  11619. "description": "品类id",
  11620. "name": "wrstandardid",
  11621. "in": "query"
  11622. },
  11623. {
  11624. "type": "integer",
  11625. "description": "仓单要素id",
  11626. "name": "wrfactortypeid",
  11627. "in": "query"
  11628. },
  11629. {
  11630. "type": "string",
  11631. "description": "交收月(yyyy-mm) 仓单预售填写",
  11632. "name": "deliverymonth",
  11633. "in": "query"
  11634. }
  11635. ],
  11636. "responses": {
  11637. "200": {
  11638. "description": "OK",
  11639. "schema": {
  11640. "type": "array",
  11641. "items": {
  11642. "$ref": "#/definitions/models.WrOrderQuote"
  11643. }
  11644. }
  11645. },
  11646. "500": {
  11647. "description": "Internal Server Error",
  11648. "schema": {
  11649. "$ref": "#/definitions/app.Response"
  11650. }
  11651. }
  11652. }
  11653. }
  11654. },
  11655. "/WrTrade2/QueryOrderQuoteDetail": {
  11656. "get": {
  11657. "security": [
  11658. {
  11659. "ApiKeyAuth": []
  11660. }
  11661. ],
  11662. "produces": [
  11663. "application/json"
  11664. ],
  11665. "tags": [
  11666. "仓单贸易v2"
  11667. ],
  11668. "summary": "查询买卖大厅",
  11669. "parameters": [
  11670. {
  11671. "type": "integer",
  11672. "description": "页码",
  11673. "name": "page",
  11674. "in": "query"
  11675. },
  11676. {
  11677. "type": "integer",
  11678. "description": "每页条数",
  11679. "name": "pagesize",
  11680. "in": "query"
  11681. },
  11682. {
  11683. "type": "integer",
  11684. "description": "仓单贸易市场id",
  11685. "name": "marketid",
  11686. "in": "query"
  11687. },
  11688. {
  11689. "type": "integer",
  11690. "description": "价格方式 - 1:固定价 2-浮动价",
  11691. "name": "wrpricetype",
  11692. "in": "query",
  11693. "required": true
  11694. },
  11695. {
  11696. "type": "integer",
  11697. "description": "0:仓单预售 1:仓单贸易",
  11698. "name": "haswr",
  11699. "in": "query",
  11700. "required": true
  11701. },
  11702. {
  11703. "type": "integer",
  11704. "description": "仓单要素id",
  11705. "name": "wrfactortypeid",
  11706. "in": "query",
  11707. "required": true
  11708. },
  11709. {
  11710. "type": "integer",
  11711. "description": "期货商品id(浮动价方式时填)",
  11712. "name": "goodsid",
  11713. "in": "query"
  11714. },
  11715. {
  11716. "type": "integer",
  11717. "description": "买卖方向 0-买 1-卖",
  11718. "name": "buyorsell",
  11719. "in": "query",
  11720. "required": true
  11721. },
  11722. {
  11723. "type": "string",
  11724. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11725. "name": "deliverymonth",
  11726. "in": "query"
  11727. }
  11728. ],
  11729. "responses": {
  11730. "200": {
  11731. "description": "OK",
  11732. "schema": {
  11733. "type": "array",
  11734. "items": {
  11735. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11736. }
  11737. }
  11738. },
  11739. "500": {
  11740. "description": "Internal Server Error",
  11741. "schema": {
  11742. "$ref": "#/definitions/app.Response"
  11743. }
  11744. }
  11745. }
  11746. }
  11747. },
  11748. "/WrTrade2/QueryOrderQuoteMyq": {
  11749. "get": {
  11750. "security": [
  11751. {
  11752. "ApiKeyAuth": []
  11753. }
  11754. ],
  11755. "produces": [
  11756. "application/json"
  11757. ],
  11758. "tags": [
  11759. "仓单贸易v2"
  11760. ],
  11761. "summary": "查询贸易圈挂牌大厅",
  11762. "parameters": [
  11763. {
  11764. "type": "integer",
  11765. "description": "页码",
  11766. "name": "page",
  11767. "in": "query"
  11768. },
  11769. {
  11770. "type": "integer",
  11771. "description": "每页条数",
  11772. "name": "pagesize",
  11773. "in": "query"
  11774. },
  11775. {
  11776. "type": "integer",
  11777. "description": "用户id",
  11778. "name": "userid",
  11779. "in": "query",
  11780. "required": true
  11781. },
  11782. {
  11783. "type": "integer",
  11784. "description": "仓单贸易市场id",
  11785. "name": "marketid",
  11786. "in": "query"
  11787. },
  11788. {
  11789. "type": "integer",
  11790. "description": "0:仓单预售 1:仓单贸易",
  11791. "name": "haswr",
  11792. "in": "query",
  11793. "required": true
  11794. },
  11795. {
  11796. "type": "integer",
  11797. "description": "买卖方向 0-买 1-卖",
  11798. "name": "buyorsell",
  11799. "in": "query",
  11800. "required": true
  11801. },
  11802. {
  11803. "type": "integer",
  11804. "description": "品种id",
  11805. "name": "deliverygoodsid",
  11806. "in": "query"
  11807. },
  11808. {
  11809. "type": "integer",
  11810. "description": "品类id",
  11811. "name": "wrstandardid",
  11812. "in": "query"
  11813. },
  11814. {
  11815. "type": "string",
  11816. "description": "交收月(yyyy-mm) 仓单预售填写",
  11817. "name": "deliverymonth",
  11818. "in": "query"
  11819. },
  11820. {
  11821. "type": "string",
  11822. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11823. "name": "dgitemname",
  11824. "in": "query"
  11825. }
  11826. ],
  11827. "responses": {
  11828. "200": {
  11829. "description": "OK",
  11830. "schema": {
  11831. "type": "array",
  11832. "items": {
  11833. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11834. }
  11835. }
  11836. },
  11837. "500": {
  11838. "description": "Internal Server Error",
  11839. "schema": {
  11840. "$ref": "#/definitions/app.Response"
  11841. }
  11842. }
  11843. }
  11844. }
  11845. },
  11846. "/WrTrade2/QueryPerformancePlan": {
  11847. "get": {
  11848. "security": [
  11849. {
  11850. "ApiKeyAuth": []
  11851. }
  11852. ],
  11853. "produces": [
  11854. "application/json"
  11855. ],
  11856. "tags": [
  11857. "仓单贸易v2"
  11858. ],
  11859. "summary": "查询履约信息",
  11860. "parameters": [
  11861. {
  11862. "type": "integer",
  11863. "description": "用户id",
  11864. "name": "userid",
  11865. "in": "query",
  11866. "required": true
  11867. },
  11868. {
  11869. "type": "integer",
  11870. "description": "买卖方向 0-买 1-卖",
  11871. "name": "buyorsell",
  11872. "in": "query",
  11873. "required": true
  11874. }
  11875. ],
  11876. "responses": {
  11877. "200": {
  11878. "description": "OK",
  11879. "schema": {
  11880. "type": "array",
  11881. "items": {
  11882. "$ref": "#/definitions/models.WrPerformancePlan"
  11883. }
  11884. }
  11885. },
  11886. "500": {
  11887. "description": "Internal Server Error",
  11888. "schema": {
  11889. "$ref": "#/definitions/app.Response"
  11890. }
  11891. }
  11892. }
  11893. }
  11894. },
  11895. "/WrTrade2/QueryPermancePlanTmp": {
  11896. "get": {
  11897. "security": [
  11898. {
  11899. "ApiKeyAuth": []
  11900. }
  11901. ],
  11902. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11903. "produces": [
  11904. "application/json"
  11905. ],
  11906. "tags": [
  11907. "仓单贸易v2"
  11908. ],
  11909. "summary": "查询履约模板",
  11910. "parameters": [
  11911. {
  11912. "type": "integer",
  11913. "description": "用户id",
  11914. "name": "userid",
  11915. "in": "query"
  11916. },
  11917. {
  11918. "type": "string",
  11919. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11920. "name": "tmptype",
  11921. "in": "query"
  11922. },
  11923. {
  11924. "type": "integer",
  11925. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11926. "name": "includepub",
  11927. "in": "query"
  11928. }
  11929. ],
  11930. "responses": {
  11931. "200": {
  11932. "description": "OK",
  11933. "schema": {
  11934. "type": "array",
  11935. "items": {
  11936. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11937. }
  11938. }
  11939. },
  11940. "500": {
  11941. "description": "Internal Server Error",
  11942. "schema": {
  11943. "$ref": "#/definitions/app.Response"
  11944. }
  11945. }
  11946. }
  11947. }
  11948. },
  11949. "/WrTrade2/QueryWrAverageTradePrice": {
  11950. "get": {
  11951. "security": [
  11952. {
  11953. "ApiKeyAuth": []
  11954. }
  11955. ],
  11956. "produces": [
  11957. "application/json"
  11958. ],
  11959. "tags": [
  11960. "仓单贸易v2"
  11961. ],
  11962. "summary": "查询成交价(历史走势)",
  11963. "parameters": [
  11964. {
  11965. "type": "integer",
  11966. "description": "页码",
  11967. "name": "page",
  11968. "in": "query"
  11969. },
  11970. {
  11971. "type": "integer",
  11972. "description": "每页条数",
  11973. "name": "pagesize",
  11974. "in": "query"
  11975. },
  11976. {
  11977. "type": "integer",
  11978. "description": "0:仓单预售 1:仓单贸易",
  11979. "name": "haswr",
  11980. "in": "query",
  11981. "required": true
  11982. },
  11983. {
  11984. "type": "integer",
  11985. "description": "仓单要素id",
  11986. "name": "wrfactortypeid",
  11987. "in": "query",
  11988. "required": true
  11989. }
  11990. ],
  11991. "responses": {
  11992. "200": {
  11993. "description": "OK",
  11994. "schema": {
  11995. "type": "array",
  11996. "items": {
  11997. "$ref": "#/definitions/models.WrAverageTradePrice"
  11998. }
  11999. }
  12000. },
  12001. "500": {
  12002. "description": "Internal Server Error",
  12003. "schema": {
  12004. "$ref": "#/definitions/app.Response"
  12005. }
  12006. }
  12007. }
  12008. }
  12009. },
  12010. "/WrTrade2/QueryWrBsGoodsInfo": {
  12011. "get": {
  12012. "security": [
  12013. {
  12014. "ApiKeyAuth": []
  12015. }
  12016. ],
  12017. "description": "合约交易/买卖大厅/详情",
  12018. "produces": [
  12019. "application/json"
  12020. ],
  12021. "tags": [
  12022. "仓单贸易v2"
  12023. ],
  12024. "summary": "查询合约交易买卖大厅详情",
  12025. "parameters": [
  12026. {
  12027. "type": "integer",
  12028. "description": "商品id",
  12029. "name": "goodsid",
  12030. "in": "query",
  12031. "required": true
  12032. }
  12033. ],
  12034. "responses": {
  12035. "200": {
  12036. "description": "OK",
  12037. "schema": {
  12038. "type": "array",
  12039. "items": {
  12040. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12041. }
  12042. }
  12043. },
  12044. "500": {
  12045. "description": "Internal Server Error",
  12046. "schema": {
  12047. "$ref": "#/definitions/app.Response"
  12048. }
  12049. }
  12050. }
  12051. }
  12052. },
  12053. "/WrTrade2/QueryWrBuybackDetail": {
  12054. "get": {
  12055. "security": [
  12056. {
  12057. "ApiKeyAuth": []
  12058. }
  12059. ],
  12060. "produces": [
  12061. "application/json"
  12062. ],
  12063. "tags": [
  12064. "仓单贸易v2"
  12065. ],
  12066. "summary": "查询仓单回购明细",
  12067. "parameters": [
  12068. {
  12069. "type": "integer",
  12070. "description": "融资合同id",
  12071. "name": "scfcontractid",
  12072. "in": "query"
  12073. }
  12074. ],
  12075. "responses": {
  12076. "200": {
  12077. "description": "OK",
  12078. "schema": {
  12079. "type": "array",
  12080. "items": {
  12081. "$ref": "#/definitions/models.WrBuybackDetail"
  12082. }
  12083. }
  12084. },
  12085. "500": {
  12086. "description": "Internal Server Error",
  12087. "schema": {
  12088. "$ref": "#/definitions/app.Response"
  12089. }
  12090. }
  12091. }
  12092. }
  12093. },
  12094. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12095. "get": {
  12096. "security": [
  12097. {
  12098. "ApiKeyAuth": []
  12099. }
  12100. ],
  12101. "produces": [
  12102. "application/json"
  12103. ],
  12104. "tags": [
  12105. "仓单贸易v2"
  12106. ],
  12107. "summary": "查询合约交收可点选仓单",
  12108. "parameters": [
  12109. {
  12110. "type": "integer",
  12111. "description": "资金账号",
  12112. "name": "accountid",
  12113. "in": "query",
  12114. "required": true
  12115. },
  12116. {
  12117. "type": "integer",
  12118. "description": "商品id",
  12119. "name": "goodsid",
  12120. "in": "query",
  12121. "required": true
  12122. }
  12123. ],
  12124. "responses": {
  12125. "200": {
  12126. "description": "OK",
  12127. "schema": {
  12128. "type": "array",
  12129. "items": {
  12130. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12131. }
  12132. }
  12133. },
  12134. "500": {
  12135. "description": "Internal Server Error",
  12136. "schema": {
  12137. "$ref": "#/definitions/app.Response"
  12138. }
  12139. }
  12140. }
  12141. }
  12142. },
  12143. "/WrTrade2/QueryWrDeliveryDetail": {
  12144. "get": {
  12145. "security": [
  12146. {
  12147. "ApiKeyAuth": []
  12148. }
  12149. ],
  12150. "produces": [
  12151. "application/json"
  12152. ],
  12153. "tags": [
  12154. "仓单贸易v2"
  12155. ],
  12156. "summary": "查询交收",
  12157. "parameters": [
  12158. {
  12159. "type": "integer",
  12160. "description": "用户id",
  12161. "name": "userid",
  12162. "in": "query",
  12163. "required": true
  12164. },
  12165. {
  12166. "type": "integer",
  12167. "description": "资金账号id",
  12168. "name": "accountid",
  12169. "in": "query"
  12170. }
  12171. ],
  12172. "responses": {
  12173. "200": {
  12174. "description": "OK",
  12175. "schema": {
  12176. "type": "array",
  12177. "items": {
  12178. "$ref": "#/definitions/models.WrDeliveryDetail"
  12179. }
  12180. }
  12181. },
  12182. "500": {
  12183. "description": "Internal Server Error",
  12184. "schema": {
  12185. "$ref": "#/definitions/app.Response"
  12186. }
  12187. }
  12188. }
  12189. }
  12190. },
  12191. "/WrTrade2/QueryWrFactorTypeInfo": {
  12192. "get": {
  12193. "security": [
  12194. {
  12195. "ApiKeyAuth": []
  12196. }
  12197. ],
  12198. "produces": [
  12199. "application/json"
  12200. ],
  12201. "tags": [
  12202. "仓单贸易v2"
  12203. ],
  12204. "summary": "查询仓单要素详细信息",
  12205. "parameters": [
  12206. {
  12207. "type": "integer",
  12208. "description": "仓单要素id",
  12209. "name": "wrfactortypeid",
  12210. "in": "query",
  12211. "required": true
  12212. }
  12213. ],
  12214. "responses": {
  12215. "200": {
  12216. "description": "OK",
  12217. "schema": {
  12218. "type": "array",
  12219. "items": {
  12220. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12221. }
  12222. }
  12223. },
  12224. "500": {
  12225. "description": "Internal Server Error",
  12226. "schema": {
  12227. "$ref": "#/definitions/app.Response"
  12228. }
  12229. }
  12230. }
  12231. }
  12232. },
  12233. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12234. "get": {
  12235. "security": [
  12236. {
  12237. "ApiKeyAuth": []
  12238. }
  12239. ],
  12240. "produces": [
  12241. "application/json"
  12242. ],
  12243. "tags": [
  12244. "仓单贸易v2"
  12245. ],
  12246. "summary": "查询仓单要素详细信息列表项",
  12247. "parameters": [
  12248. {
  12249. "type": "integer",
  12250. "description": "仓单要素id",
  12251. "name": "wrfactortypeid",
  12252. "in": "query",
  12253. "required": true
  12254. }
  12255. ],
  12256. "responses": {
  12257. "200": {
  12258. "description": "OK",
  12259. "schema": {
  12260. "type": "array",
  12261. "items": {
  12262. "$ref": "#/definitions/models.WrTypeItem"
  12263. }
  12264. }
  12265. },
  12266. "500": {
  12267. "description": "Internal Server Error",
  12268. "schema": {
  12269. "$ref": "#/definitions/app.Response"
  12270. }
  12271. }
  12272. }
  12273. }
  12274. },
  12275. "/WrTrade2/QueryWrFinanceBuyApply": {
  12276. "get": {
  12277. "security": [
  12278. {
  12279. "ApiKeyAuth": []
  12280. }
  12281. ],
  12282. "description": "页面 融资信息+ / 申请单",
  12283. "produces": [
  12284. "application/json"
  12285. ],
  12286. "tags": [
  12287. "仓单贸易v2"
  12288. ],
  12289. "summary": "查询融资购买申请",
  12290. "parameters": [
  12291. {
  12292. "type": "integer",
  12293. "description": "用户id",
  12294. "name": "userid",
  12295. "in": "query",
  12296. "required": true
  12297. }
  12298. ],
  12299. "responses": {
  12300. "200": {
  12301. "description": "OK",
  12302. "schema": {
  12303. "type": "array",
  12304. "items": {
  12305. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12306. }
  12307. }
  12308. },
  12309. "500": {
  12310. "description": "Internal Server Error",
  12311. "schema": {
  12312. "$ref": "#/definitions/app.Response"
  12313. }
  12314. }
  12315. }
  12316. }
  12317. },
  12318. "/WrTrade2/QueryWrFriendApply": {
  12319. "get": {
  12320. "security": [
  12321. {
  12322. "ApiKeyAuth": []
  12323. }
  12324. ],
  12325. "produces": [
  12326. "application/json"
  12327. ],
  12328. "tags": [
  12329. "仓单贸易v2"
  12330. ],
  12331. "summary": "查询好友申请记录",
  12332. "parameters": [
  12333. {
  12334. "type": "integer",
  12335. "description": "用户id",
  12336. "name": "userid",
  12337. "in": "query",
  12338. "required": true
  12339. }
  12340. ],
  12341. "responses": {
  12342. "200": {
  12343. "description": "OK",
  12344. "schema": {
  12345. "type": "array",
  12346. "items": {
  12347. "$ref": "#/definitions/models.WrFriendApply"
  12348. }
  12349. }
  12350. },
  12351. "500": {
  12352. "description": "Internal Server Error",
  12353. "schema": {
  12354. "$ref": "#/definitions/app.Response"
  12355. }
  12356. }
  12357. }
  12358. }
  12359. },
  12360. "/WrTrade2/QueryWrGoodsInfo": {
  12361. "get": {
  12362. "security": [
  12363. {
  12364. "ApiKeyAuth": []
  12365. }
  12366. ],
  12367. "produces": [
  12368. "application/json"
  12369. ],
  12370. "tags": [
  12371. "仓单贸易v2"
  12372. ],
  12373. "summary": "查询仓单商品信息",
  12374. "parameters": [
  12375. {
  12376. "type": "integer",
  12377. "description": "仓单贸易市场id",
  12378. "name": "marketid",
  12379. "in": "query"
  12380. },
  12381. {
  12382. "type": "integer",
  12383. "description": "0:仓单预售 1:仓单贸易",
  12384. "name": "haswr",
  12385. "in": "query",
  12386. "required": true
  12387. },
  12388. {
  12389. "type": "integer",
  12390. "description": "仓单要素id",
  12391. "name": "wrfactortypeid",
  12392. "in": "query",
  12393. "required": true
  12394. },
  12395. {
  12396. "type": "integer",
  12397. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12398. "name": "tmplateid",
  12399. "in": "query"
  12400. }
  12401. ],
  12402. "responses": {
  12403. "200": {
  12404. "description": "OK",
  12405. "schema": {
  12406. "type": "array",
  12407. "items": {
  12408. "$ref": "#/definitions/models.WrGoodsInfo"
  12409. }
  12410. }
  12411. },
  12412. "500": {
  12413. "description": "Internal Server Error",
  12414. "schema": {
  12415. "$ref": "#/definitions/app.Response"
  12416. }
  12417. }
  12418. }
  12419. }
  12420. },
  12421. "/WrTrade2/QueryWrMarketTradeConfig": {
  12422. "get": {
  12423. "security": [
  12424. {
  12425. "ApiKeyAuth": []
  12426. }
  12427. ],
  12428. "produces": [
  12429. "application/json"
  12430. ],
  12431. "tags": [
  12432. "仓单贸易v2"
  12433. ],
  12434. "summary": "查询市场交易参数配置",
  12435. "parameters": [
  12436. {
  12437. "type": "integer",
  12438. "description": "市场id",
  12439. "name": "marketid",
  12440. "in": "query"
  12441. }
  12442. ],
  12443. "responses": {
  12444. "200": {
  12445. "description": "OK",
  12446. "schema": {
  12447. "type": "array",
  12448. "items": {
  12449. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12450. }
  12451. }
  12452. },
  12453. "500": {
  12454. "description": "Internal Server Error",
  12455. "schema": {
  12456. "$ref": "#/definitions/app.Response"
  12457. }
  12458. }
  12459. }
  12460. }
  12461. },
  12462. "/WrTrade2/QueryWrOrderDetail": {
  12463. "get": {
  12464. "security": [
  12465. {
  12466. "ApiKeyAuth": []
  12467. }
  12468. ],
  12469. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12470. "produces": [
  12471. "application/json"
  12472. ],
  12473. "tags": [
  12474. "仓单贸易v2"
  12475. ],
  12476. "summary": "查询仓单委托单(挂单)",
  12477. "parameters": [
  12478. {
  12479. "type": "integer",
  12480. "description": "页码",
  12481. "name": "page",
  12482. "in": "query"
  12483. },
  12484. {
  12485. "type": "integer",
  12486. "description": "每页条数",
  12487. "name": "pagesize",
  12488. "in": "query"
  12489. },
  12490. {
  12491. "type": "integer",
  12492. "description": "用户id",
  12493. "name": "userid",
  12494. "in": "query",
  12495. "required": true
  12496. },
  12497. {
  12498. "type": "integer",
  12499. "description": "仓单贸易市场id",
  12500. "name": "marketid",
  12501. "in": "query"
  12502. },
  12503. {
  12504. "type": "integer",
  12505. "description": "0:仓单预售 1:仓单贸易",
  12506. "name": "haswr",
  12507. "in": "query",
  12508. "required": true
  12509. }
  12510. ],
  12511. "responses": {
  12512. "200": {
  12513. "description": "OK",
  12514. "schema": {
  12515. "type": "array",
  12516. "items": {
  12517. "$ref": "#/definitions/models.WrOrderDetail"
  12518. }
  12519. }
  12520. },
  12521. "500": {
  12522. "description": "Internal Server Error",
  12523. "schema": {
  12524. "$ref": "#/definitions/app.Response"
  12525. }
  12526. }
  12527. }
  12528. }
  12529. },
  12530. "/WrTrade2/QueryWrOutInApply": {
  12531. "get": {
  12532. "security": [
  12533. {
  12534. "ApiKeyAuth": []
  12535. }
  12536. ],
  12537. "produces": [
  12538. "application/json"
  12539. ],
  12540. "tags": [
  12541. "仓单贸易v2"
  12542. ],
  12543. "summary": "查询提货申请",
  12544. "parameters": [
  12545. {
  12546. "type": "integer",
  12547. "description": "用户id",
  12548. "name": "userid",
  12549. "in": "query",
  12550. "required": true
  12551. }
  12552. ],
  12553. "responses": {
  12554. "200": {
  12555. "description": "OK",
  12556. "schema": {
  12557. "type": "array",
  12558. "items": {
  12559. "$ref": "#/definitions/models.WrOutInApply"
  12560. }
  12561. }
  12562. },
  12563. "500": {
  12564. "description": "Internal Server Error",
  12565. "schema": {
  12566. "$ref": "#/definitions/app.Response"
  12567. }
  12568. }
  12569. }
  12570. }
  12571. },
  12572. "/WrTrade2/QueryWrPerformancePlanStep": {
  12573. "get": {
  12574. "security": [
  12575. {
  12576. "ApiKeyAuth": []
  12577. }
  12578. ],
  12579. "produces": [
  12580. "application/json"
  12581. ],
  12582. "tags": [
  12583. "仓单贸易v2"
  12584. ],
  12585. "summary": "查询履约信息详情",
  12586. "parameters": [
  12587. {
  12588. "type": "integer",
  12589. "description": "履约计划id(performanceplanid)",
  12590. "name": "planid",
  12591. "in": "query",
  12592. "required": true
  12593. },
  12594. {
  12595. "type": "integer",
  12596. "description": "当前步骤id",
  12597. "name": "curstepid",
  12598. "in": "query"
  12599. }
  12600. ],
  12601. "responses": {
  12602. "200": {
  12603. "description": "OK",
  12604. "schema": {
  12605. "type": "array",
  12606. "items": {
  12607. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12608. }
  12609. }
  12610. },
  12611. "500": {
  12612. "description": "Internal Server Error",
  12613. "schema": {
  12614. "$ref": "#/definitions/app.Response"
  12615. }
  12616. }
  12617. }
  12618. }
  12619. },
  12620. "/WrTrade2/QueryWrPerformanceStepType": {
  12621. "get": {
  12622. "security": [
  12623. {
  12624. "ApiKeyAuth": []
  12625. }
  12626. ],
  12627. "produces": [
  12628. "application/json"
  12629. ],
  12630. "tags": [
  12631. "仓单贸易v2"
  12632. ],
  12633. "summary": "查询履约步骤枚举",
  12634. "responses": {
  12635. "200": {
  12636. "description": "OK",
  12637. "schema": {
  12638. "type": "array",
  12639. "items": {
  12640. "$ref": "#/definitions/models.WrPerformanceStepType"
  12641. }
  12642. }
  12643. },
  12644. "500": {
  12645. "description": "Internal Server Error",
  12646. "schema": {
  12647. "$ref": "#/definitions/app.Response"
  12648. }
  12649. }
  12650. }
  12651. }
  12652. },
  12653. "/WrTrade2/QueryWrPosition": {
  12654. "get": {
  12655. "security": [
  12656. {
  12657. "ApiKeyAuth": []
  12658. }
  12659. ],
  12660. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12661. "produces": [
  12662. "application/json"
  12663. ],
  12664. "tags": [
  12665. "仓单贸易v2"
  12666. ],
  12667. "summary": "查询现货(预售)仓单持仓",
  12668. "parameters": [
  12669. {
  12670. "type": "integer",
  12671. "description": "用户id",
  12672. "name": "userid",
  12673. "in": "query",
  12674. "required": true
  12675. },
  12676. {
  12677. "type": "integer",
  12678. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12679. "name": "querytype",
  12680. "in": "query",
  12681. "required": true
  12682. },
  12683. {
  12684. "type": "integer",
  12685. "description": "0:仓单预售 1:仓单贸易",
  12686. "name": "haswr",
  12687. "in": "query",
  12688. "required": true
  12689. },
  12690. {
  12691. "type": "string",
  12692. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12693. "name": "dgitemname",
  12694. "in": "query"
  12695. },
  12696. {
  12697. "type": "integer",
  12698. "description": "仓库id(筛选条件)",
  12699. "name": "warehouseid",
  12700. "in": "query"
  12701. },
  12702. {
  12703. "type": "integer",
  12704. "description": "品种id",
  12705. "name": "deliverygoodsid",
  12706. "in": "query"
  12707. },
  12708. {
  12709. "type": "integer",
  12710. "description": "品类id",
  12711. "name": "wrstandardid",
  12712. "in": "query"
  12713. }
  12714. ],
  12715. "responses": {
  12716. "200": {
  12717. "description": "OK",
  12718. "schema": {
  12719. "type": "array",
  12720. "items": {
  12721. "$ref": "#/definitions/models.WrPosition"
  12722. }
  12723. }
  12724. },
  12725. "500": {
  12726. "description": "Internal Server Error",
  12727. "schema": {
  12728. "$ref": "#/definitions/app.Response"
  12729. }
  12730. }
  12731. }
  12732. }
  12733. },
  12734. "/WrTrade2/QueryWrScfContract": {
  12735. "get": {
  12736. "security": [
  12737. {
  12738. "ApiKeyAuth": []
  12739. }
  12740. ],
  12741. "produces": [
  12742. "application/json"
  12743. ],
  12744. "tags": [
  12745. "仓单贸易v2"
  12746. ],
  12747. "summary": "查询仓单贸易融资合同",
  12748. "parameters": [
  12749. {
  12750. "type": "integer",
  12751. "description": "用户id",
  12752. "name": "userid",
  12753. "in": "query",
  12754. "required": true
  12755. },
  12756. {
  12757. "type": "integer",
  12758. "description": "融资合同id",
  12759. "name": "scfcontractid",
  12760. "in": "query"
  12761. }
  12762. ],
  12763. "responses": {
  12764. "200": {
  12765. "description": "OK",
  12766. "schema": {
  12767. "type": "array",
  12768. "items": {
  12769. "$ref": "#/definitions/models.WrScfContract"
  12770. }
  12771. }
  12772. },
  12773. "500": {
  12774. "description": "Internal Server Error",
  12775. "schema": {
  12776. "$ref": "#/definitions/app.Response"
  12777. }
  12778. }
  12779. }
  12780. }
  12781. },
  12782. "/WrTrade2/QueryWrScfContractInterest": {
  12783. "get": {
  12784. "security": [
  12785. {
  12786. "ApiKeyAuth": []
  12787. }
  12788. ],
  12789. "produces": [
  12790. "application/json"
  12791. ],
  12792. "tags": [
  12793. "仓单贸易v2"
  12794. ],
  12795. "summary": "查询融资合同费用明细",
  12796. "parameters": [
  12797. {
  12798. "type": "integer",
  12799. "description": "融资合同id",
  12800. "name": "scfcontractid",
  12801. "in": "query"
  12802. }
  12803. ],
  12804. "responses": {
  12805. "200": {
  12806. "description": "OK",
  12807. "schema": {
  12808. "type": "array",
  12809. "items": {
  12810. "$ref": "#/definitions/models.WrScfContractInterest"
  12811. }
  12812. }
  12813. },
  12814. "500": {
  12815. "description": "Internal Server Error",
  12816. "schema": {
  12817. "$ref": "#/definitions/app.Response"
  12818. }
  12819. }
  12820. }
  12821. }
  12822. },
  12823. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12824. "get": {
  12825. "security": [
  12826. {
  12827. "ApiKeyAuth": []
  12828. }
  12829. ],
  12830. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12831. "produces": [
  12832. "application/json"
  12833. ],
  12834. "tags": [
  12835. "仓单贸易v2"
  12836. ],
  12837. "summary": "查询指定成交",
  12838. "parameters": [
  12839. {
  12840. "type": "integer",
  12841. "description": "页码",
  12842. "name": "page",
  12843. "in": "query"
  12844. },
  12845. {
  12846. "type": "integer",
  12847. "description": "每页条数",
  12848. "name": "pagesize",
  12849. "in": "query"
  12850. },
  12851. {
  12852. "type": "integer",
  12853. "description": "用户id",
  12854. "name": "userid",
  12855. "in": "query",
  12856. "required": true
  12857. },
  12858. {
  12859. "type": "integer",
  12860. "description": "仓单贸易市场id",
  12861. "name": "marketid",
  12862. "in": "query"
  12863. },
  12864. {
  12865. "type": "integer",
  12866. "description": "0:仓单预售 1:仓单贸易",
  12867. "name": "haswr",
  12868. "in": "query",
  12869. "required": true
  12870. }
  12871. ],
  12872. "responses": {
  12873. "200": {
  12874. "description": "OK",
  12875. "schema": {
  12876. "type": "array",
  12877. "items": {
  12878. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12879. }
  12880. }
  12881. },
  12882. "500": {
  12883. "description": "Internal Server Error",
  12884. "schema": {
  12885. "$ref": "#/definitions/app.Response"
  12886. }
  12887. }
  12888. }
  12889. }
  12890. },
  12891. "/WrTrade2/QueryWrStandardFactoryItem": {
  12892. "get": {
  12893. "security": [
  12894. {
  12895. "ApiKeyAuth": []
  12896. }
  12897. ],
  12898. "produces": [
  12899. "application/json"
  12900. ],
  12901. "tags": [
  12902. "仓单贸易v2"
  12903. ],
  12904. "summary": "查询品类要素定义项",
  12905. "parameters": [
  12906. {
  12907. "type": "integer",
  12908. "description": "品类id",
  12909. "name": "wrstandardid",
  12910. "in": "query",
  12911. "required": true
  12912. }
  12913. ],
  12914. "responses": {
  12915. "200": {
  12916. "description": "OK",
  12917. "schema": {
  12918. "type": "array",
  12919. "items": {
  12920. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12921. }
  12922. }
  12923. },
  12924. "500": {
  12925. "description": "Internal Server Error",
  12926. "schema": {
  12927. "$ref": "#/definitions/app.Response"
  12928. }
  12929. }
  12930. }
  12931. }
  12932. },
  12933. "/WrTrade2/QueryWrTradeBargainApply": {
  12934. "get": {
  12935. "security": [
  12936. {
  12937. "ApiKeyAuth": []
  12938. }
  12939. ],
  12940. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12941. "produces": [
  12942. "application/json"
  12943. ],
  12944. "tags": [
  12945. "仓单贸易v2"
  12946. ],
  12947. "summary": "查询议价单",
  12948. "parameters": [
  12949. {
  12950. "type": "integer",
  12951. "description": "议价人id(摘牌方)",
  12952. "name": "userid",
  12953. "in": "query"
  12954. },
  12955. {
  12956. "type": "integer",
  12957. "description": "关联委托单id",
  12958. "name": "wrtradeorderid",
  12959. "in": "query"
  12960. },
  12961. {
  12962. "type": "integer",
  12963. "description": "0:仓单预售 1:仓单贸易",
  12964. "name": "haswr",
  12965. "in": "query",
  12966. "required": true
  12967. }
  12968. ],
  12969. "responses": {
  12970. "200": {
  12971. "description": "OK",
  12972. "schema": {
  12973. "type": "array",
  12974. "items": {
  12975. "$ref": "#/definitions/models.WRTradeBargainApply"
  12976. }
  12977. }
  12978. },
  12979. "500": {
  12980. "description": "Internal Server Error",
  12981. "schema": {
  12982. "$ref": "#/definitions/app.Response"
  12983. }
  12984. }
  12985. }
  12986. }
  12987. },
  12988. "/WrTrade2/QueryWrTradeDetail": {
  12989. "get": {
  12990. "security": [
  12991. {
  12992. "ApiKeyAuth": []
  12993. }
  12994. ],
  12995. "produces": [
  12996. "application/json"
  12997. ],
  12998. "tags": [
  12999. "仓单贸易v2"
  13000. ],
  13001. "summary": "查询仓单成交明细",
  13002. "parameters": [
  13003. {
  13004. "type": "integer",
  13005. "description": "页码",
  13006. "name": "page",
  13007. "in": "query"
  13008. },
  13009. {
  13010. "type": "integer",
  13011. "description": "每页条数",
  13012. "name": "pagesize",
  13013. "in": "query"
  13014. },
  13015. {
  13016. "type": "integer",
  13017. "description": "用户id",
  13018. "name": "userid",
  13019. "in": "query",
  13020. "required": true
  13021. },
  13022. {
  13023. "type": "integer",
  13024. "description": "仓单贸易市场id",
  13025. "name": "marketid",
  13026. "in": "query"
  13027. },
  13028. {
  13029. "type": "integer",
  13030. "description": "0:仓单预售 1:仓单贸易",
  13031. "name": "haswr",
  13032. "in": "query",
  13033. "required": true
  13034. }
  13035. ],
  13036. "responses": {
  13037. "200": {
  13038. "description": "OK",
  13039. "schema": {
  13040. "type": "array",
  13041. "items": {
  13042. "$ref": "#/definitions/models.WrTradeDetail"
  13043. }
  13044. }
  13045. },
  13046. "500": {
  13047. "description": "Internal Server Error",
  13048. "schema": {
  13049. "$ref": "#/definitions/app.Response"
  13050. }
  13051. }
  13052. }
  13053. }
  13054. },
  13055. "/WrTrade2/QueryWrTradeOrderDetail": {
  13056. "get": {
  13057. "security": [
  13058. {
  13059. "ApiKeyAuth": []
  13060. }
  13061. ],
  13062. "produces": [
  13063. "application/json"
  13064. ],
  13065. "tags": [
  13066. "仓单贸易v2"
  13067. ],
  13068. "summary": "查询合约交易买卖大厅",
  13069. "parameters": [
  13070. {
  13071. "type": "integer",
  13072. "description": "页码",
  13073. "name": "page",
  13074. "in": "query"
  13075. },
  13076. {
  13077. "type": "integer",
  13078. "description": "每页条数",
  13079. "name": "pagesize",
  13080. "in": "query"
  13081. },
  13082. {
  13083. "type": "integer",
  13084. "description": "商品id",
  13085. "name": "goodsid",
  13086. "in": "query",
  13087. "required": true
  13088. },
  13089. {
  13090. "type": "integer",
  13091. "description": "买卖方向 0-买 1-卖",
  13092. "name": "buyorsell",
  13093. "in": "query",
  13094. "required": true
  13095. }
  13096. ],
  13097. "responses": {
  13098. "200": {
  13099. "description": "OK",
  13100. "schema": {
  13101. "type": "array",
  13102. "items": {
  13103. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13104. }
  13105. }
  13106. },
  13107. "500": {
  13108. "description": "Internal Server Error",
  13109. "schema": {
  13110. "$ref": "#/definitions/app.Response"
  13111. }
  13112. }
  13113. }
  13114. }
  13115. },
  13116. "/WrTrade2/QueryWrUserFriend": {
  13117. "get": {
  13118. "security": [
  13119. {
  13120. "ApiKeyAuth": []
  13121. }
  13122. ],
  13123. "produces": [
  13124. "application/json"
  13125. ],
  13126. "tags": [
  13127. "仓单贸易v2"
  13128. ],
  13129. "summary": "查询我的朋友",
  13130. "parameters": [
  13131. {
  13132. "type": "integer",
  13133. "description": "用户id",
  13134. "name": "userid",
  13135. "in": "query",
  13136. "required": true
  13137. },
  13138. {
  13139. "type": "integer",
  13140. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13141. "name": "newuserid",
  13142. "in": "query"
  13143. }
  13144. ],
  13145. "responses": {
  13146. "200": {
  13147. "description": "OK",
  13148. "schema": {
  13149. "type": "array",
  13150. "items": {
  13151. "$ref": "#/definitions/models.WrUserFriend"
  13152. }
  13153. }
  13154. },
  13155. "500": {
  13156. "description": "Internal Server Error",
  13157. "schema": {
  13158. "$ref": "#/definitions/app.Response"
  13159. }
  13160. }
  13161. }
  13162. }
  13163. }
  13164. },
  13165. "definitions": {
  13166. "app.Response": {
  13167. "type": "object",
  13168. "properties": {
  13169. "code": {
  13170. "type": "integer"
  13171. },
  13172. "data": {
  13173. "type": "object"
  13174. },
  13175. "msg": {
  13176. "type": "string"
  13177. },
  13178. "page": {
  13179. "description": "页码",
  13180. "type": "integer"
  13181. },
  13182. "pagesize": {
  13183. "description": "每页条数",
  13184. "type": "integer"
  13185. },
  13186. "total": {
  13187. "description": "总条数",
  13188. "type": "integer"
  13189. }
  13190. }
  13191. },
  13192. "common.ClientMenu": {
  13193. "type": "object",
  13194. "properties": {
  13195. "children": {
  13196. "description": "子菜单列表",
  13197. "type": "array",
  13198. "items": {
  13199. "$ref": "#/definitions/common.ClientMenu"
  13200. }
  13201. },
  13202. "code": {
  13203. "description": "ID",
  13204. "type": "string"
  13205. },
  13206. "isshow": {
  13207. "description": "是否显示",
  13208. "type": "boolean"
  13209. },
  13210. "remark": {
  13211. "description": "备注",
  13212. "type": "string"
  13213. },
  13214. "rulekey": {
  13215. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13216. "type": "string"
  13217. },
  13218. "sort": {
  13219. "description": "排序",
  13220. "type": "integer"
  13221. },
  13222. "title": {
  13223. "description": "标题",
  13224. "type": "string"
  13225. },
  13226. "type": {
  13227. "description": "类型,1:菜单 2:按钮",
  13228. "type": "integer"
  13229. },
  13230. "url": {
  13231. "description": "URL",
  13232. "type": "string"
  13233. }
  13234. }
  13235. },
  13236. "common.QueryImageConfigsRsp": {
  13237. "type": "object",
  13238. "required": [
  13239. "configid"
  13240. ],
  13241. "properties": {
  13242. "areauserid": {
  13243. "description": "所属机构ID",
  13244. "type": "integer"
  13245. },
  13246. "configid": {
  13247. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13248. "type": "integer"
  13249. },
  13250. "createdate": {
  13251. "description": "创建时间",
  13252. "type": "string"
  13253. },
  13254. "creatorid": {
  13255. "description": "创建人",
  13256. "type": "integer"
  13257. },
  13258. "imagepath": {
  13259. "description": "图片",
  13260. "type": "string"
  13261. },
  13262. "imagetype": {
  13263. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13264. "type": "integer"
  13265. },
  13266. "isshow": {
  13267. "description": "是否展示 - 0:不展示 1:展示",
  13268. "type": "integer"
  13269. },
  13270. "marketid": {
  13271. "description": "市场ID",
  13272. "type": "integer"
  13273. },
  13274. "modifierid": {
  13275. "description": "操作人",
  13276. "type": "integer"
  13277. },
  13278. "sort": {
  13279. "description": "排序",
  13280. "type": "integer"
  13281. },
  13282. "title": {
  13283. "description": "标题",
  13284. "type": "string"
  13285. },
  13286. "trademode": {
  13287. "description": "交易模式",
  13288. "type": "integer"
  13289. },
  13290. "updatedate": {
  13291. "description": "修改时间",
  13292. "type": "string"
  13293. },
  13294. "url": {
  13295. "description": "链接(地址或商品ID)",
  13296. "type": "string"
  13297. },
  13298. "urltype": {
  13299. "description": "链接类型 - 1:直接地址 2:商品ID",
  13300. "type": "integer"
  13301. }
  13302. }
  13303. },
  13304. "common.QueryNoticeRsp": {
  13305. "type": "object",
  13306. "required": [
  13307. "autoid"
  13308. ],
  13309. "properties": {
  13310. "auditoruserid": {
  13311. "description": "审核人",
  13312. "type": "integer"
  13313. },
  13314. "auditremark": {
  13315. "description": "审核备注",
  13316. "type": "string"
  13317. },
  13318. "audittime": {
  13319. "description": "审核日期",
  13320. "type": "string"
  13321. },
  13322. "autoid": {
  13323. "description": "自增ID",
  13324. "type": "integer"
  13325. },
  13326. "content": {
  13327. "description": "内容",
  13328. "type": "string"
  13329. },
  13330. "createtime": {
  13331. "description": "创建时间",
  13332. "type": "string"
  13333. },
  13334. "creatorid": {
  13335. "description": "建仓人",
  13336. "type": "integer"
  13337. },
  13338. "endtime": {
  13339. "description": "结束时间",
  13340. "type": "string"
  13341. },
  13342. "istop": {
  13343. "description": "是否置顶 - 0:不置顶 1:置顶",
  13344. "type": "integer"
  13345. },
  13346. "msgiconurl": {
  13347. "description": "消息图标Url",
  13348. "type": "string"
  13349. },
  13350. "msgtype": {
  13351. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13352. "type": "integer"
  13353. },
  13354. "publisher": {
  13355. "description": "消息发布者",
  13356. "type": "string"
  13357. },
  13358. "readed": {
  13359. "description": "是否已读",
  13360. "type": "boolean"
  13361. },
  13362. "scheduletime": {
  13363. "description": "计划发送时间",
  13364. "type": "string"
  13365. },
  13366. "sendtype": {
  13367. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13368. "type": "integer"
  13369. },
  13370. "sentstatus": {
  13371. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13372. "type": "integer"
  13373. },
  13374. "title": {
  13375. "description": "标题",
  13376. "type": "string"
  13377. },
  13378. "userid": {
  13379. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13380. "type": "integer"
  13381. }
  13382. }
  13383. },
  13384. "common.QueryProvincesAndCitiesRsp": {
  13385. "type": "object",
  13386. "properties": {
  13387. "cities": {
  13388. "description": "市",
  13389. "type": "array",
  13390. "items": {
  13391. "$ref": "#/definitions/models.Division"
  13392. }
  13393. },
  13394. "province": {
  13395. "description": "省",
  13396. "type": "object",
  13397. "$ref": "#/definitions/models.Division"
  13398. }
  13399. }
  13400. },
  13401. "common.QueryTableDefineRsp": {
  13402. "type": "object",
  13403. "required": [
  13404. "tablekey"
  13405. ],
  13406. "properties": {
  13407. "columns": {
  13408. "description": "列头信息数组",
  13409. "type": "array",
  13410. "items": {
  13411. "$ref": "#/definitions/models.Tablecolumnconfig"
  13412. }
  13413. },
  13414. "remark": {
  13415. "description": "Remark",
  13416. "type": "string"
  13417. },
  13418. "tabelmenu": {
  13419. "description": "列表菜单",
  13420. "type": "string"
  13421. },
  13422. "tablekey": {
  13423. "description": "列表Key",
  13424. "type": "string"
  13425. },
  13426. "tablename": {
  13427. "description": "列表名称",
  13428. "type": "string"
  13429. },
  13430. "tabletype": {
  13431. "description": "列表类型 - 1:管理端 2:终端",
  13432. "type": "integer"
  13433. }
  13434. }
  13435. },
  13436. "common.QueryTraderMenuRsp": {
  13437. "type": "object",
  13438. "properties": {
  13439. "OperationMenu": {
  13440. "description": "功能菜单",
  13441. "type": "array",
  13442. "items": {
  13443. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13444. }
  13445. },
  13446. "QuoteMenu": {
  13447. "description": "报价牌分类菜单",
  13448. "type": "array",
  13449. "items": {
  13450. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13451. }
  13452. }
  13453. }
  13454. },
  13455. "cptrade.Cptradepositioncancel": {
  13456. "type": "object",
  13457. "required": [
  13458. "cancelid"
  13459. ],
  13460. "properties": {
  13461. "accountid": {
  13462. "description": "申请人账户ID",
  13463. "type": "integer"
  13464. },
  13465. "applystatus": {
  13466. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13467. "type": "integer"
  13468. },
  13469. "applytime": {
  13470. "description": "申请时间",
  13471. "type": "string"
  13472. },
  13473. "cancelid": {
  13474. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13475. "type": "integer"
  13476. },
  13477. "cancelqty": {
  13478. "description": "注销数量",
  13479. "type": "integer"
  13480. },
  13481. "createtime": {
  13482. "description": "创建时间",
  13483. "type": "string"
  13484. },
  13485. "creatorid": {
  13486. "description": "创建人ID",
  13487. "type": "integer"
  13488. },
  13489. "creatorname": {
  13490. "description": "创建人",
  13491. "type": "string"
  13492. },
  13493. "goodscode": {
  13494. "description": "订单商品代码",
  13495. "type": "string"
  13496. },
  13497. "goodsid": {
  13498. "description": "商品ID",
  13499. "type": "integer"
  13500. },
  13501. "goodsname": {
  13502. "description": "订单商品名称",
  13503. "type": "string"
  13504. },
  13505. "goodunit": {
  13506. "description": "报价单位",
  13507. "type": "string"
  13508. },
  13509. "handlestatus": {
  13510. "description": "处理状态",
  13511. "type": "integer"
  13512. },
  13513. "marketid": {
  13514. "description": "市场ID",
  13515. "type": "integer"
  13516. },
  13517. "marketname": {
  13518. "description": "市场名称",
  13519. "type": "string"
  13520. },
  13521. "tradedate": {
  13522. "description": "交易日(yyyyMMdd)",
  13523. "type": "string"
  13524. },
  13525. "userid": {
  13526. "description": "申请人ID",
  13527. "type": "integer"
  13528. }
  13529. }
  13530. },
  13531. "cptrade.Cptradepresaleapply": {
  13532. "type": "object",
  13533. "required": [
  13534. "applyid"
  13535. ],
  13536. "properties": {
  13537. "accountid": {
  13538. "description": "申请人账户ID",
  13539. "type": "integer"
  13540. },
  13541. "applyid": {
  13542. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13543. "type": "integer"
  13544. },
  13545. "applyremark": {
  13546. "description": "申请备注",
  13547. "type": "string"
  13548. },
  13549. "applystatus": {
  13550. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13551. "type": "integer"
  13552. },
  13553. "applytime": {
  13554. "description": "申请时间",
  13555. "type": "string"
  13556. },
  13557. "attachmenturl": {
  13558. "description": "附件地址",
  13559. "type": "string"
  13560. },
  13561. "endtime": {
  13562. "description": "预售结束时间",
  13563. "type": "string"
  13564. },
  13565. "goodscode": {
  13566. "description": "商品代码",
  13567. "type": "string"
  13568. },
  13569. "goodsid": {
  13570. "description": "商品ID",
  13571. "type": "integer"
  13572. },
  13573. "goodsname": {
  13574. "description": "商品名称",
  13575. "type": "string"
  13576. },
  13577. "goodunit": {
  13578. "description": "报价单位",
  13579. "type": "string"
  13580. },
  13581. "handlestatus": {
  13582. "description": "处理状态",
  13583. "type": "integer"
  13584. },
  13585. "marketid": {
  13586. "description": "预售市场ID",
  13587. "type": "integer"
  13588. },
  13589. "marketname": {
  13590. "description": "预售市场名称",
  13591. "type": "string"
  13592. },
  13593. "presaleqty": {
  13594. "description": "预售数量",
  13595. "type": "integer"
  13596. },
  13597. "relatedgoodscode": {
  13598. "description": "关联交易合约代码",
  13599. "type": "string"
  13600. },
  13601. "relatedgoodsid": {
  13602. "description": "关联交易合约ID",
  13603. "type": "integer"
  13604. },
  13605. "relatedgoodsname": {
  13606. "description": "关联交易合约名称",
  13607. "type": "string"
  13608. },
  13609. "starttime": {
  13610. "description": "预售开始时间",
  13611. "type": "string"
  13612. },
  13613. "tradedate": {
  13614. "description": "交易日(yyyyMMdd)",
  13615. "type": "string"
  13616. },
  13617. "trademode": {
  13618. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13619. "type": "integer"
  13620. },
  13621. "userid": {
  13622. "description": "申请人ID",
  13623. "type": "integer"
  13624. }
  13625. }
  13626. },
  13627. "cptrade.Cptradeusergoodsdata": {
  13628. "type": "object",
  13629. "required": [
  13630. "accountid",
  13631. "goodsid"
  13632. ],
  13633. "properties": {
  13634. "EnabledQty": {
  13635. "description": "可用量",
  13636. "type": "integer"
  13637. },
  13638. "GoodsCode": {
  13639. "description": "订单商品代码",
  13640. "type": "string"
  13641. },
  13642. "GoodsName": {
  13643. "description": "订单商品名称",
  13644. "type": "string"
  13645. },
  13646. "WRStandardCode": {
  13647. "description": "仓单标准代码",
  13648. "type": "string"
  13649. },
  13650. "WRStandardName": {
  13651. "description": "仓单标准名称",
  13652. "type": "string"
  13653. },
  13654. "accountid": {
  13655. "description": "账户ID",
  13656. "type": "integer"
  13657. },
  13658. "cancelqty": {
  13659. "description": "注销量",
  13660. "type": "integer"
  13661. },
  13662. "curpresaleqty": {
  13663. "description": "当前预售量",
  13664. "type": "integer"
  13665. },
  13666. "deliveryqty": {
  13667. "description": "交割量",
  13668. "type": "integer"
  13669. },
  13670. "freezeamount": {
  13671. "description": "冻结金额",
  13672. "type": "number"
  13673. },
  13674. "goodsid": {
  13675. "description": "商品ID",
  13676. "type": "integer"
  13677. },
  13678. "goodunit": {
  13679. "description": "报价单位",
  13680. "type": "string"
  13681. },
  13682. "hasspotfreeze": {
  13683. "description": "是否有现货冻结 - 0:否 1:有",
  13684. "type": "integer"
  13685. },
  13686. "inqty": {
  13687. "description": "转入量(总数量)",
  13688. "type": "integer"
  13689. },
  13690. "marketid": {
  13691. "description": "市场ID",
  13692. "type": "integer"
  13693. },
  13694. "presaledamount": {
  13695. "description": "已预售总金额",
  13696. "type": "integer"
  13697. },
  13698. "presaledqty": {
  13699. "description": "已预售量",
  13700. "type": "integer"
  13701. },
  13702. "userid": {
  13703. "description": "用户ID",
  13704. "type": "integer"
  13705. },
  13706. "wrstandardid": {
  13707. "description": "仓单标准ID",
  13708. "type": "integer"
  13709. }
  13710. }
  13711. },
  13712. "cptrade.QueryCPTradeMyBidRsp": {
  13713. "type": "object",
  13714. "required": [
  13715. "accountid",
  13716. "goodsid",
  13717. "marketid",
  13718. "orderid",
  13719. "orderqty",
  13720. "ordertime",
  13721. "tradeprice",
  13722. "tradeqty"
  13723. ],
  13724. "properties": {
  13725. "accountid": {
  13726. "description": "账户ID[报价币种]",
  13727. "type": "integer"
  13728. },
  13729. "goodsid": {
  13730. "description": "商品ID",
  13731. "type": "integer"
  13732. },
  13733. "goodunit": {
  13734. "description": "报价单位",
  13735. "type": "string"
  13736. },
  13737. "marketid": {
  13738. "description": "市场ID",
  13739. "type": "integer"
  13740. },
  13741. "orderid": {
  13742. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13743. "type": "integer"
  13744. },
  13745. "orderprice": {
  13746. "description": "委托价格",
  13747. "type": "number"
  13748. },
  13749. "orderqty": {
  13750. "description": "委托数量",
  13751. "type": "integer"
  13752. },
  13753. "ordertime": {
  13754. "description": "委托时间",
  13755. "type": "string"
  13756. },
  13757. "ordertotalprice": {
  13758. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13759. "type": "number"
  13760. },
  13761. "ordertotalweight": {
  13762. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13763. "type": "integer"
  13764. },
  13765. "totaltotalprice": {
  13766. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13767. "type": "number"
  13768. },
  13769. "tradeprice": {
  13770. "description": "成交价格",
  13771. "type": "number"
  13772. },
  13773. "tradeqty": {
  13774. "description": "成交数量",
  13775. "type": "integer"
  13776. }
  13777. }
  13778. },
  13779. "cptrade.QueryCPTradeOrderDetailRsq": {
  13780. "type": "object",
  13781. "required": [
  13782. "accountid",
  13783. "buildtype",
  13784. "buyorsell",
  13785. "goodsid",
  13786. "marketid",
  13787. "memberuserid",
  13788. "operatetype",
  13789. "orderqty",
  13790. "ordertime",
  13791. "pricemode",
  13792. "strorderid",
  13793. "tradedate",
  13794. "validtype"
  13795. ],
  13796. "properties": {
  13797. "accountid": {
  13798. "description": "账户ID[报价币种]",
  13799. "type": "integer"
  13800. },
  13801. "buildtype": {
  13802. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13803. "type": "integer"
  13804. },
  13805. "buyorsell": {
  13806. "description": "买卖 - 0:买 1:卖",
  13807. "type": "integer"
  13808. },
  13809. "cancelorderid": {
  13810. "description": "撤单单号(撤单时填写)",
  13811. "type": "integer"
  13812. },
  13813. "cancelqty": {
  13814. "description": "撤单数量",
  13815. "type": "integer"
  13816. },
  13817. "clientordertime": {
  13818. "description": "客户端委托时间",
  13819. "type": "string"
  13820. },
  13821. "clientticket": {
  13822. "description": "客户端流水号",
  13823. "type": "string"
  13824. },
  13825. "clienttype": {
  13826. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13827. "type": "integer"
  13828. },
  13829. "closeexchagechargevalue": {
  13830. "description": "平仓交易所手续费设置值",
  13831. "type": "number"
  13832. },
  13833. "closefeealgorithm": {
  13834. "description": "平仓手续费收取方式 1:比率 2:固定",
  13835. "type": "integer"
  13836. },
  13837. "closefreezecharge": {
  13838. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13839. "type": "number"
  13840. },
  13841. "closememberchargevalue": {
  13842. "description": "平仓会员手续费设置值",
  13843. "type": "number"
  13844. },
  13845. "closeqty": {
  13846. "description": "平仓数量(先建后平操作 需要记录)",
  13847. "type": "integer"
  13848. },
  13849. "closetradeqty": {
  13850. "description": "平仓成交数量(先建后平操作,需要记录)",
  13851. "type": "integer"
  13852. },
  13853. "closeunfreezecharge": {
  13854. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13855. "type": "number"
  13856. },
  13857. "delistingtype": {
  13858. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13859. "type": "integer"
  13860. },
  13861. "freezecharge": {
  13862. "description": "冻结手续费",
  13863. "type": "number"
  13864. },
  13865. "freezemargin": {
  13866. "description": "冻结保证金(冻结交易金额)",
  13867. "type": "number"
  13868. },
  13869. "gcaccountid": {
  13870. "description": "账户ID[合约币种]",
  13871. "type": "integer"
  13872. },
  13873. "goodsid": {
  13874. "description": "商品ID",
  13875. "type": "integer"
  13876. },
  13877. "isconfirmexercise": {
  13878. "description": "是否确认行权- 0:否 1:是",
  13879. "type": "integer"
  13880. },
  13881. "ispreexercise": {
  13882. "description": "是否预申报- 0:否 1:是",
  13883. "type": "integer"
  13884. },
  13885. "listingselecttype": {
  13886. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13887. "type": "integer"
  13888. },
  13889. "marginalgorithm": {
  13890. "description": "保证金收取方式 1:比率 2:固定",
  13891. "type": "integer"
  13892. },
  13893. "marginvalue": {
  13894. "description": "即市保证金设置值",
  13895. "type": "number"
  13896. },
  13897. "marketid": {
  13898. "description": "市场ID",
  13899. "type": "integer"
  13900. },
  13901. "marketmaxsub": {
  13902. "description": "市价最大偏移范围",
  13903. "type": "number"
  13904. },
  13905. "memberuserid": {
  13906. "description": "所属会员UserID",
  13907. "type": "integer"
  13908. },
  13909. "openexchagechargevalue": {
  13910. "description": "建仓交易所手续费设置值",
  13911. "type": "number"
  13912. },
  13913. "openfeealgorithm": {
  13914. "description": "建仓手续费收取方式 1:比率 2:固定",
  13915. "type": "integer"
  13916. },
  13917. "openfreezecharge": {
  13918. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13919. "type": "number"
  13920. },
  13921. "openmemberchargevalue": {
  13922. "description": "建仓会员手续费设置值",
  13923. "type": "number"
  13924. },
  13925. "openqty": {
  13926. "description": "开仓数量(先建后平操作,需要记录)",
  13927. "type": "integer"
  13928. },
  13929. "opentradeqty": {
  13930. "description": "开仓成交数量(先建后平操作,需要记录)",
  13931. "type": "integer"
  13932. },
  13933. "openunfreezecharge": {
  13934. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13935. "type": "number"
  13936. },
  13937. "operatetype": {
  13938. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13939. "type": "integer"
  13940. },
  13941. "operatorid": {
  13942. "description": "登录账号(LoginID)",
  13943. "type": "integer"
  13944. },
  13945. "optiontype": {
  13946. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13947. "type": "integer"
  13948. },
  13949. "orderprice": {
  13950. "description": "委托价格",
  13951. "type": "number"
  13952. },
  13953. "orderqty": {
  13954. "description": "委托数量",
  13955. "type": "integer"
  13956. },
  13957. "ordersrc": {
  13958. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13959. "type": "integer"
  13960. },
  13961. "orderstatus": {
  13962. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13963. "type": "integer"
  13964. },
  13965. "ordertime": {
  13966. "description": "委托时间",
  13967. "type": "string"
  13968. },
  13969. "preexerciseprice": {
  13970. "description": "预申报价格",
  13971. "type": "number"
  13972. },
  13973. "premium": {
  13974. "description": "权利金",
  13975. "type": "number"
  13976. },
  13977. "preorderid": {
  13978. "description": "关联预埋单号(止盈止损单时填写)",
  13979. "type": "integer"
  13980. },
  13981. "pricemode": {
  13982. "description": "取价方式 - 1:市价 2: 限价",
  13983. "type": "integer"
  13984. },
  13985. "quoteid": {
  13986. "description": "报价单ID",
  13987. "type": "integer"
  13988. },
  13989. "relatedid": {
  13990. "description": "关联单号(交割单)",
  13991. "type": "integer"
  13992. },
  13993. "retcode": {
  13994. "description": "错误代码",
  13995. "type": "integer"
  13996. },
  13997. "sessionid": {
  13998. "description": "会话ID",
  13999. "type": "integer"
  14000. },
  14001. "strorderid": {
  14002. "description": "委托单号",
  14003. "type": "string"
  14004. },
  14005. "tradedate": {
  14006. "description": "交易日(yyyyMMdd)",
  14007. "type": "string"
  14008. },
  14009. "tradeproperty": {
  14010. "description": "交易属性",
  14011. "type": "integer"
  14012. },
  14013. "tradeqty": {
  14014. "description": "成交数量",
  14015. "type": "integer"
  14016. },
  14017. "unfreezecharge": {
  14018. "description": "解冻手续费",
  14019. "type": "number"
  14020. },
  14021. "unfreezemargin": {
  14022. "description": "解冻保证金",
  14023. "type": "number"
  14024. },
  14025. "updatetime": {
  14026. "description": "更新时间",
  14027. "type": "string"
  14028. },
  14029. "uuid": {
  14030. "description": "发起端唯一id",
  14031. "type": "string"
  14032. },
  14033. "validtime": {
  14034. "description": "有效期限",
  14035. "type": "string"
  14036. },
  14037. "validtype": {
  14038. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14039. "type": "integer"
  14040. },
  14041. "volumetype": {
  14042. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14043. "type": "integer"
  14044. }
  14045. }
  14046. },
  14047. "cptrade.QueryMyCPTradeGoodsRsp": {
  14048. "type": "object",
  14049. "required": [
  14050. "goodscode",
  14051. "goodsid",
  14052. "goodsname",
  14053. "marketid",
  14054. "relatedgoodscode",
  14055. "relatedgoodsname"
  14056. ],
  14057. "properties": {
  14058. "accountid": {
  14059. "description": "卖方账户ID",
  14060. "type": "integer"
  14061. },
  14062. "agreeunit": {
  14063. "description": "合约单位",
  14064. "type": "number"
  14065. },
  14066. "applyid": {
  14067. "description": "关联申请ID",
  14068. "type": "integer"
  14069. },
  14070. "attachmenturl": {
  14071. "description": "附件地址",
  14072. "type": "string"
  14073. },
  14074. "createtime": {
  14075. "description": "创建时间",
  14076. "type": "string"
  14077. },
  14078. "currencyid": {
  14079. "description": "报价货币ID",
  14080. "type": "integer"
  14081. },
  14082. "decimalplace": {
  14083. "description": "报价小数位",
  14084. "type": "integer"
  14085. },
  14086. "endtime": {
  14087. "description": "预售结束时间",
  14088. "type": "string"
  14089. },
  14090. "floorprice": {
  14091. "description": "底价[大宗式竞拍]",
  14092. "type": "number"
  14093. },
  14094. "goodscode": {
  14095. "description": "商品代码(预售)",
  14096. "type": "string"
  14097. },
  14098. "goodsdetail": {
  14099. "description": "详情[大宗]",
  14100. "type": "string"
  14101. },
  14102. "goodsid": {
  14103. "description": "商品ID(自增ID SEQ_GOODS)",
  14104. "type": "integer"
  14105. },
  14106. "goodsname": {
  14107. "description": "商品名称(预售)",
  14108. "type": "string"
  14109. },
  14110. "goodunit": {
  14111. "description": "报价单位",
  14112. "type": "string"
  14113. },
  14114. "goodunitid": {
  14115. "description": "报价单位ID",
  14116. "type": "integer"
  14117. },
  14118. "marketid": {
  14119. "description": "所属市场ID",
  14120. "type": "integer"
  14121. },
  14122. "marketname": {
  14123. "description": "预售市场名称",
  14124. "type": "string"
  14125. },
  14126. "presaledamount": {
  14127. "description": "已预售总金额(预售结束时更新)",
  14128. "type": "number"
  14129. },
  14130. "presaledqty": {
  14131. "description": "已预售量(预售结束时更新)",
  14132. "type": "integer"
  14133. },
  14134. "presalemode": {
  14135. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14136. "type": "integer"
  14137. },
  14138. "presaleqty": {
  14139. "description": "预售数量",
  14140. "type": "integer"
  14141. },
  14142. "refprice": {
  14143. "description": "参考价格[一口价]",
  14144. "type": "number"
  14145. },
  14146. "relatedgoodscode": {
  14147. "description": "商品代码(订单)",
  14148. "type": "string"
  14149. },
  14150. "relatedgoodsid": {
  14151. "description": "关联交易合约ID",
  14152. "type": "integer"
  14153. },
  14154. "relatedgoodsname": {
  14155. "description": "商品名称(订单)",
  14156. "type": "string"
  14157. },
  14158. "relatedmarketid": {
  14159. "description": "关联交易合约市场ID",
  14160. "type": "integer"
  14161. },
  14162. "sellstatus": {
  14163. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14164. "type": "integer"
  14165. },
  14166. "startprice": {
  14167. "description": "起拍价[大宗式竞拍]",
  14168. "type": "number"
  14169. },
  14170. "starttime": {
  14171. "description": "预售开始时间",
  14172. "type": "string"
  14173. },
  14174. "tradedate": {
  14175. "description": "交易日(yyyyMMdd)",
  14176. "type": "string"
  14177. },
  14178. "tradeprice": {
  14179. "description": "成交价[大宗]",
  14180. "type": "number"
  14181. },
  14182. "userid": {
  14183. "description": "卖方用户ID",
  14184. "type": "integer"
  14185. }
  14186. }
  14187. },
  14188. "cptrade.QueryPresaleGoodsExRsp": {
  14189. "type": "object",
  14190. "required": [
  14191. "goodsid"
  14192. ],
  14193. "properties": {
  14194. "attachmenturl": {
  14195. "description": "附件地址",
  14196. "type": "string"
  14197. },
  14198. "createtime": {
  14199. "description": "创建时间",
  14200. "type": "string"
  14201. },
  14202. "endtime": {
  14203. "description": "预售结束时间",
  14204. "type": "string"
  14205. },
  14206. "floorprice": {
  14207. "description": "底价[大宗式竞拍]",
  14208. "type": "number"
  14209. },
  14210. "goodsdetail": {
  14211. "description": "详情[大宗]",
  14212. "type": "string"
  14213. },
  14214. "goodsid": {
  14215. "description": "商品ID(预售)",
  14216. "type": "integer"
  14217. },
  14218. "goodunit": {
  14219. "description": "报价单位",
  14220. "type": "string"
  14221. },
  14222. "marketid": {
  14223. "description": "预售市场ID - 根据预售模式选择市场",
  14224. "type": "integer"
  14225. },
  14226. "presaledamount": {
  14227. "description": "已预售总金额(预售结束时更新)",
  14228. "type": "number"
  14229. },
  14230. "presaledqty": {
  14231. "description": "已预售量(预售结束时更新)",
  14232. "type": "integer"
  14233. },
  14234. "presalemode": {
  14235. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14236. "type": "integer"
  14237. },
  14238. "presaleqty": {
  14239. "description": "预售数量",
  14240. "type": "integer"
  14241. },
  14242. "refprice": {
  14243. "description": "参考价格[一口价]",
  14244. "type": "number"
  14245. },
  14246. "relatedgoodsid": {
  14247. "description": "关联交易合约ID",
  14248. "type": "integer"
  14249. },
  14250. "relatedmarketid": {
  14251. "description": "关联交易合约市场ID",
  14252. "type": "integer"
  14253. },
  14254. "sellstatus": {
  14255. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14256. "type": "integer"
  14257. },
  14258. "startprice": {
  14259. "description": "起拍价[大宗式竞拍]",
  14260. "type": "number"
  14261. },
  14262. "starttime": {
  14263. "description": "预售开始时间",
  14264. "type": "string"
  14265. },
  14266. "tradedate": {
  14267. "description": "交易日(yyyyMMdd)",
  14268. "type": "string"
  14269. },
  14270. "tradeprice": {
  14271. "description": "成交价[大宗]",
  14272. "type": "number"
  14273. }
  14274. }
  14275. },
  14276. "delivery.QueryDeliveryRelationRsp": {
  14277. "type": "object",
  14278. "required": [
  14279. "begindate",
  14280. "enddate",
  14281. "goodsid",
  14282. "mindeliveryqty",
  14283. "xdeliveryratio"
  14284. ],
  14285. "properties": {
  14286. "begindate": {
  14287. "description": "起始日期(yyyyMMdd)",
  14288. "type": "string"
  14289. },
  14290. "buytemplateid": {
  14291. "description": "买履约计划模板ID",
  14292. "type": "integer"
  14293. },
  14294. "deliverygoodscode": {
  14295. "description": "品种代码",
  14296. "type": "string"
  14297. },
  14298. "deliverygoodsid": {
  14299. "description": "交割商品",
  14300. "type": "integer"
  14301. },
  14302. "deliverygoodsname": {
  14303. "description": "品种名称",
  14304. "type": "string"
  14305. },
  14306. "deliverymode": {
  14307. "description": "交割方式 - 1:点选式 2:申报式",
  14308. "type": "integer"
  14309. },
  14310. "deliverypricerule": {
  14311. "description": "交割价规则- 1:行情价 2:建仓价",
  14312. "type": "integer"
  14313. },
  14314. "deliverytype": {
  14315. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14316. "type": "integer"
  14317. },
  14318. "enddate": {
  14319. "description": "结束日期(yyyyMMdd)",
  14320. "type": "string"
  14321. },
  14322. "enumdicname": {
  14323. "description": "品类单位名称",
  14324. "type": "string"
  14325. },
  14326. "goodscode": {
  14327. "description": "商品代码",
  14328. "type": "string"
  14329. },
  14330. "goodsid": {
  14331. "description": "交易合约ID",
  14332. "type": "integer"
  14333. },
  14334. "goodsname": {
  14335. "description": "商品名称",
  14336. "type": "string"
  14337. },
  14338. "marketid": {
  14339. "description": "市场ID",
  14340. "type": "integer"
  14341. },
  14342. "mindeliveryqty": {
  14343. "description": "最小交割系数(K)",
  14344. "type": "integer"
  14345. },
  14346. "p2deliveryprice": {
  14347. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14348. "type": "number"
  14349. },
  14350. "p2deliveryratio": {
  14351. "description": "P2合约系数(p)",
  14352. "type": "integer"
  14353. },
  14354. "p2goodsid": {
  14355. "description": "P2合约ID",
  14356. "type": "integer"
  14357. },
  14358. "p2pricemode": {
  14359. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14360. "type": "integer"
  14361. },
  14362. "pdeliveryprice": {
  14363. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14364. "type": "number"
  14365. },
  14366. "pdeliveryratio": {
  14367. "description": "P合约系数(n)",
  14368. "type": "integer"
  14369. },
  14370. "pgoodscode": {
  14371. "description": "p合约代码",
  14372. "type": "string"
  14373. },
  14374. "pgoodsid": {
  14375. "description": "P合约ID",
  14376. "type": "integer"
  14377. },
  14378. "ppricemode": {
  14379. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14380. "type": "integer"
  14381. },
  14382. "rratio": {
  14383. "description": "兑换系数(R)",
  14384. "type": "integer"
  14385. },
  14386. "rratio1": {
  14387. "description": "兑换系数(交易合约)(R1)",
  14388. "type": "integer"
  14389. },
  14390. "rratio2": {
  14391. "description": "兑换系数(仓单标准)(R2)",
  14392. "type": "integer"
  14393. },
  14394. "selltemplateid": {
  14395. "description": "卖履约计划模板ID",
  14396. "type": "integer"
  14397. },
  14398. "wrstandardid": {
  14399. "description": "仓单标准ID",
  14400. "type": "integer"
  14401. },
  14402. "xdeliveryratio": {
  14403. "description": "交易合约系数(m)",
  14404. "type": "integer"
  14405. }
  14406. }
  14407. },
  14408. "ermcp.ExposureDetailRsp": {
  14409. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  14410. },
  14411. "ermcp.ExposureHedgePosDetailRsp": {
  14412. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  14413. },
  14414. "ermcp.ExposureHedgePositionRsp": {
  14415. "$ref": "#/definitions/models.ErmcpHedgePosition"
  14416. },
  14417. "ermcp.ExposureSpotDetailRsp": {
  14418. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  14419. },
  14420. "ermcp.ExposureSpotRsp": {
  14421. "$ref": "#/definitions/models.AreaSpotModel"
  14422. },
  14423. "ermcp.HisExposureRsp": {
  14424. "$ref": "#/definitions/models.ErmcpHisExposureS"
  14425. },
  14426. "ermcp.PendingAuditCntRsp": {
  14427. "$ref": "#/definitions/models.ErmcpPendingAudit"
  14428. },
  14429. "ermcp.QryAvalidGPRsp": {
  14430. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  14431. },
  14432. "ermcp.QryBusinessDjRsp": {
  14433. "type": "object",
  14434. "properties": {
  14435. "amount": {
  14436. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14437. "type": "number"
  14438. },
  14439. "applyid": {
  14440. "description": "申请人",
  14441. "type": "string"
  14442. },
  14443. "applyname": {
  14444. "description": "申请人名称",
  14445. "type": "string"
  14446. },
  14447. "applystatus": {
  14448. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14449. "type": "integer"
  14450. },
  14451. "applytime": {
  14452. "description": "申请时间",
  14453. "type": "string"
  14454. },
  14455. "attachurl": {
  14456. "description": "附件",
  14457. "type": "string"
  14458. },
  14459. "auditid": {
  14460. "description": "审核人ID",
  14461. "type": "string"
  14462. },
  14463. "auditname": {
  14464. "description": "审核人名称",
  14465. "type": "string"
  14466. },
  14467. "audittime": {
  14468. "description": "审核时间",
  14469. "type": "string"
  14470. },
  14471. "buyusername": {
  14472. "description": "采购方名称",
  14473. "type": "string"
  14474. },
  14475. "contractno": {
  14476. "description": "合同编号",
  14477. "type": "string"
  14478. },
  14479. "contractstatus": {
  14480. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14481. "type": "integer"
  14482. },
  14483. "contracttype": {
  14484. "description": "现货合同类型 - 1:采购 -1:销售",
  14485. "type": "integer"
  14486. },
  14487. "deliverygoodscode": {
  14488. "description": "现货品种代码",
  14489. "type": "string"
  14490. },
  14491. "deliverygoodsid": {
  14492. "description": "现货商品ID",
  14493. "type": "integer"
  14494. },
  14495. "deliverygoodsname": {
  14496. "description": "现货品种名称",
  14497. "type": "string"
  14498. },
  14499. "enumdicname": {
  14500. "description": "单位名称",
  14501. "type": "string"
  14502. },
  14503. "goodscode": {
  14504. "description": "点价合约",
  14505. "type": "string"
  14506. },
  14507. "goodsname": {
  14508. "description": "商品名称",
  14509. "type": "string"
  14510. },
  14511. "operateapplyid": {
  14512. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14513. "type": "string"
  14514. },
  14515. "operateapplytype": {
  14516. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14517. "type": "integer"
  14518. },
  14519. "pricedPrice": {
  14520. "description": "点价价格(非必填)",
  14521. "type": "number"
  14522. },
  14523. "pricedQty": {
  14524. "description": "点价数量(非必填)",
  14525. "type": "number"
  14526. },
  14527. "pricemove": {
  14528. "description": "升贴水",
  14529. "type": "number"
  14530. },
  14531. "pricetype": {
  14532. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14533. "type": "integer"
  14534. },
  14535. "relatedid": {
  14536. "description": "现货合同ID",
  14537. "type": "string"
  14538. },
  14539. "sellusername": {
  14540. "description": "销售方名字",
  14541. "type": "string"
  14542. },
  14543. "userid": {
  14544. "description": "用户ID",
  14545. "type": "integer"
  14546. },
  14547. "wrstandardcode": {
  14548. "description": "品类代码",
  14549. "type": "string"
  14550. },
  14551. "wrstandardid": {
  14552. "description": "品类id",
  14553. "type": "integer"
  14554. },
  14555. "wrstandardname": {
  14556. "description": "品类名称",
  14557. "type": "string"
  14558. }
  14559. }
  14560. },
  14561. "ermcp.QryBussinessFpRsp": {
  14562. "type": "object",
  14563. "properties": {
  14564. "applyid": {
  14565. "description": "申请人",
  14566. "type": "string"
  14567. },
  14568. "applyname": {
  14569. "description": "申请人名称",
  14570. "type": "string"
  14571. },
  14572. "applystatus": {
  14573. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14574. "type": "integer"
  14575. },
  14576. "applytime": {
  14577. "description": "申请时间",
  14578. "type": "string"
  14579. },
  14580. "attachurl": {
  14581. "description": "附件",
  14582. "type": "string"
  14583. },
  14584. "auditid": {
  14585. "description": "审核人ID",
  14586. "type": "string"
  14587. },
  14588. "auditname": {
  14589. "description": "审核人名称",
  14590. "type": "string"
  14591. },
  14592. "audittime": {
  14593. "description": "审核时间",
  14594. "type": "string"
  14595. },
  14596. "buyusername": {
  14597. "description": "采购方名称",
  14598. "type": "string"
  14599. },
  14600. "contractno": {
  14601. "description": "合同编号",
  14602. "type": "string"
  14603. },
  14604. "contractstatus": {
  14605. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14606. "type": "integer"
  14607. },
  14608. "contracttype": {
  14609. "description": "现货合同类型 - 1:采购 -1:销售",
  14610. "type": "integer"
  14611. },
  14612. "deliverygoodscode": {
  14613. "description": "现货品种代码",
  14614. "type": "string"
  14615. },
  14616. "deliverygoodsid": {
  14617. "description": "现货商品ID",
  14618. "type": "integer"
  14619. },
  14620. "deliverygoodsname": {
  14621. "description": "现货品种名称",
  14622. "type": "string"
  14623. },
  14624. "enumdicname": {
  14625. "description": "单位名称",
  14626. "type": "string"
  14627. },
  14628. "goodscode": {
  14629. "description": "点价合约",
  14630. "type": "string"
  14631. },
  14632. "goodsname": {
  14633. "description": "商品名称",
  14634. "type": "string"
  14635. },
  14636. "invoiceAmount": {
  14637. "description": "已开收票金额(销售为开票,采购为收票)",
  14638. "type": "number"
  14639. },
  14640. "operateapplyid": {
  14641. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14642. "type": "string"
  14643. },
  14644. "operateapplytype": {
  14645. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14646. "type": "integer"
  14647. },
  14648. "pricemove": {
  14649. "description": "升贴水",
  14650. "type": "number"
  14651. },
  14652. "pricetype": {
  14653. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14654. "type": "integer"
  14655. },
  14656. "relatedid": {
  14657. "description": "现货合同ID",
  14658. "type": "string"
  14659. },
  14660. "sellusername": {
  14661. "description": "销售方名字",
  14662. "type": "string"
  14663. },
  14664. "userid": {
  14665. "description": "用户ID",
  14666. "type": "integer"
  14667. },
  14668. "wrstandardcode": {
  14669. "description": "品类代码",
  14670. "type": "string"
  14671. },
  14672. "wrstandardid": {
  14673. "description": "品类id",
  14674. "type": "integer"
  14675. },
  14676. "wrstandardname": {
  14677. "description": "品类名称",
  14678. "type": "string"
  14679. }
  14680. }
  14681. },
  14682. "ermcp.QryBussinessJsExRsp": {
  14683. "type": "object",
  14684. "properties": {
  14685. "applyid": {
  14686. "description": "申请人",
  14687. "type": "string"
  14688. },
  14689. "applyname": {
  14690. "description": "申请人名称",
  14691. "type": "string"
  14692. },
  14693. "applystatus": {
  14694. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14695. "type": "integer"
  14696. },
  14697. "applytime": {
  14698. "description": "申请时间",
  14699. "type": "string"
  14700. },
  14701. "attachurl": {
  14702. "description": "附件",
  14703. "type": "string"
  14704. },
  14705. "auditid": {
  14706. "description": "审核人ID",
  14707. "type": "string"
  14708. },
  14709. "auditname": {
  14710. "description": "审核人名称",
  14711. "type": "string"
  14712. },
  14713. "audittime": {
  14714. "description": "审核时间",
  14715. "type": "string"
  14716. },
  14717. "buyusername": {
  14718. "description": "采购方名称",
  14719. "type": "string"
  14720. },
  14721. "contractno": {
  14722. "description": "合同编号",
  14723. "type": "string"
  14724. },
  14725. "contractstatus": {
  14726. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14727. "type": "integer"
  14728. },
  14729. "contracttype": {
  14730. "description": "现货合同类型 - 1:采购 -1:销售",
  14731. "type": "integer"
  14732. },
  14733. "deliverygoodscode": {
  14734. "description": "现货品种代码",
  14735. "type": "string"
  14736. },
  14737. "deliverygoodsid": {
  14738. "description": "现货商品ID",
  14739. "type": "integer"
  14740. },
  14741. "deliverygoodsname": {
  14742. "description": "现货品种名称",
  14743. "type": "string"
  14744. },
  14745. "enumdicname": {
  14746. "description": "单位名称",
  14747. "type": "string"
  14748. },
  14749. "goodscode": {
  14750. "description": "点价合约",
  14751. "type": "string"
  14752. },
  14753. "goodsname": {
  14754. "description": "商品名称",
  14755. "type": "string"
  14756. },
  14757. "operateapplyid": {
  14758. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14759. "type": "string"
  14760. },
  14761. "operateapplytype": {
  14762. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14763. "type": "integer"
  14764. },
  14765. "pricemove": {
  14766. "description": "升贴水",
  14767. "type": "number"
  14768. },
  14769. "pricetype": {
  14770. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14771. "type": "integer"
  14772. },
  14773. "reckontype": {
  14774. "description": "结算类型",
  14775. "type": "string"
  14776. },
  14777. "reckonvalue": {
  14778. "description": "值",
  14779. "type": "number"
  14780. },
  14781. "relatedid": {
  14782. "description": "现货合同ID",
  14783. "type": "string"
  14784. },
  14785. "sellusername": {
  14786. "description": "销售方名字",
  14787. "type": "string"
  14788. },
  14789. "userid": {
  14790. "description": "用户ID",
  14791. "type": "integer"
  14792. },
  14793. "wrstandardcode": {
  14794. "description": "品类代码",
  14795. "type": "string"
  14796. },
  14797. "wrstandardid": {
  14798. "description": "品类id",
  14799. "type": "integer"
  14800. },
  14801. "wrstandardname": {
  14802. "description": "品类名称",
  14803. "type": "string"
  14804. }
  14805. }
  14806. },
  14807. "ermcp.QryBussinessJsRsp": {
  14808. "type": "object",
  14809. "properties": {
  14810. "addmargin": {
  14811. "description": "追加保证金(非必填)",
  14812. "type": "number"
  14813. },
  14814. "applyid": {
  14815. "description": "申请人",
  14816. "type": "string"
  14817. },
  14818. "applyname": {
  14819. "description": "申请人名称",
  14820. "type": "string"
  14821. },
  14822. "applystatus": {
  14823. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14824. "type": "integer"
  14825. },
  14826. "applytime": {
  14827. "description": "申请时间",
  14828. "type": "string"
  14829. },
  14830. "attachurl": {
  14831. "description": "附件",
  14832. "type": "string"
  14833. },
  14834. "auditid": {
  14835. "description": "审核人ID",
  14836. "type": "string"
  14837. },
  14838. "auditname": {
  14839. "description": "审核人名称",
  14840. "type": "string"
  14841. },
  14842. "audittime": {
  14843. "description": "审核时间",
  14844. "type": "string"
  14845. },
  14846. "buyusername": {
  14847. "description": "采购方名称",
  14848. "type": "string"
  14849. },
  14850. "contractno": {
  14851. "description": "合同编号",
  14852. "type": "string"
  14853. },
  14854. "contractstatus": {
  14855. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14856. "type": "integer"
  14857. },
  14858. "contracttype": {
  14859. "description": "现货合同类型 - 1:采购 -1:销售",
  14860. "type": "integer"
  14861. },
  14862. "decmargin": {
  14863. "description": "减少保证金(非必填)",
  14864. "type": "number"
  14865. },
  14866. "deliverygoodscode": {
  14867. "description": "现货品种代码",
  14868. "type": "string"
  14869. },
  14870. "deliverygoodsid": {
  14871. "description": "现货商品ID",
  14872. "type": "integer"
  14873. },
  14874. "deliverygoodsname": {
  14875. "description": "现货品种名称",
  14876. "type": "string"
  14877. },
  14878. "enumdicname": {
  14879. "description": "单位名称",
  14880. "type": "string"
  14881. },
  14882. "goodscode": {
  14883. "description": "点价合约",
  14884. "type": "string"
  14885. },
  14886. "goodsname": {
  14887. "description": "商品名称",
  14888. "type": "string"
  14889. },
  14890. "operateapplyid": {
  14891. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14892. "type": "string"
  14893. },
  14894. "operateapplytype": {
  14895. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14896. "type": "integer"
  14897. },
  14898. "pricemove": {
  14899. "description": "升贴水",
  14900. "type": "number"
  14901. },
  14902. "pricetype": {
  14903. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14904. "type": "integer"
  14905. },
  14906. "reckonadjustamount": {
  14907. "description": "结算调整金额(非必填)",
  14908. "type": "number"
  14909. },
  14910. "reckonosamount": {
  14911. "description": "结算溢短金额(非必填)",
  14912. "type": "number"
  14913. },
  14914. "reckonotheramount": {
  14915. "description": "结算其他费用(非必填)",
  14916. "type": "number"
  14917. },
  14918. "reckonrealqty": {
  14919. "description": "结算实际数量(非必填)",
  14920. "type": "number"
  14921. },
  14922. "relatedid": {
  14923. "description": "现货合同ID",
  14924. "type": "string"
  14925. },
  14926. "sellusername": {
  14927. "description": "销售方名字",
  14928. "type": "string"
  14929. },
  14930. "userid": {
  14931. "description": "用户ID",
  14932. "type": "integer"
  14933. },
  14934. "wrstandardcode": {
  14935. "description": "品类代码",
  14936. "type": "string"
  14937. },
  14938. "wrstandardid": {
  14939. "description": "品类id",
  14940. "type": "integer"
  14941. },
  14942. "wrstandardname": {
  14943. "description": "品类名称",
  14944. "type": "string"
  14945. }
  14946. }
  14947. },
  14948. "ermcp.QryBussinessKxRsp": {
  14949. "type": "object",
  14950. "properties": {
  14951. "applyid": {
  14952. "description": "申请人",
  14953. "type": "string"
  14954. },
  14955. "applyname": {
  14956. "description": "申请人名称",
  14957. "type": "string"
  14958. },
  14959. "applystatus": {
  14960. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14961. "type": "integer"
  14962. },
  14963. "applytime": {
  14964. "description": "申请时间",
  14965. "type": "string"
  14966. },
  14967. "attachurl": {
  14968. "description": "附件",
  14969. "type": "string"
  14970. },
  14971. "auditid": {
  14972. "description": "审核人ID",
  14973. "type": "string"
  14974. },
  14975. "auditname": {
  14976. "description": "审核人名称",
  14977. "type": "string"
  14978. },
  14979. "audittime": {
  14980. "description": "审核时间",
  14981. "type": "string"
  14982. },
  14983. "buyusername": {
  14984. "description": "采购方名称",
  14985. "type": "string"
  14986. },
  14987. "contractno": {
  14988. "description": "合同编号",
  14989. "type": "string"
  14990. },
  14991. "contractstatus": {
  14992. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14993. "type": "integer"
  14994. },
  14995. "contracttype": {
  14996. "description": "现货合同类型 - 1:采购 -1:销售",
  14997. "type": "integer"
  14998. },
  14999. "deductamount": {
  15000. "description": "退款(非必填)",
  15001. "type": "number"
  15002. },
  15003. "deliverygoodscode": {
  15004. "description": "现货品种代码",
  15005. "type": "string"
  15006. },
  15007. "deliverygoodsid": {
  15008. "description": "现货商品ID",
  15009. "type": "integer"
  15010. },
  15011. "deliverygoodsname": {
  15012. "description": "现货品种名称",
  15013. "type": "string"
  15014. },
  15015. "enumdicname": {
  15016. "description": "单位名称",
  15017. "type": "string"
  15018. },
  15019. "goodscode": {
  15020. "description": "点价合约",
  15021. "type": "string"
  15022. },
  15023. "goodsname": {
  15024. "description": "商品名称",
  15025. "type": "string"
  15026. },
  15027. "kxtype": {
  15028. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15029. "type": "integer"
  15030. },
  15031. "operateapplyid": {
  15032. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15033. "type": "string"
  15034. },
  15035. "operateapplytype": {
  15036. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15037. "type": "integer"
  15038. },
  15039. "payamount": {
  15040. "description": "收付款(非必填)",
  15041. "type": "number"
  15042. },
  15043. "pricemove": {
  15044. "description": "升贴水",
  15045. "type": "number"
  15046. },
  15047. "pricetype": {
  15048. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15049. "type": "integer"
  15050. },
  15051. "relatedid": {
  15052. "description": "现货合同ID",
  15053. "type": "string"
  15054. },
  15055. "sellusername": {
  15056. "description": "销售方名字",
  15057. "type": "string"
  15058. },
  15059. "userid": {
  15060. "description": "用户ID",
  15061. "type": "integer"
  15062. },
  15063. "wrstandardcode": {
  15064. "description": "品类代码",
  15065. "type": "string"
  15066. },
  15067. "wrstandardid": {
  15068. "description": "品类id",
  15069. "type": "integer"
  15070. },
  15071. "wrstandardname": {
  15072. "description": "品类名称",
  15073. "type": "string"
  15074. }
  15075. }
  15076. },
  15077. "ermcp.QryGGCovertCfgRsp": {
  15078. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15079. },
  15080. "ermcp.QryMGChangeLogRsp": {
  15081. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  15082. },
  15083. "ermcp.QryMiddleGoodsDetailRsp": {
  15084. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  15085. },
  15086. "ermcp.QryMiddleGoodsRsp": {
  15087. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15088. },
  15089. "ermcp.QryOPLogRsp": {
  15090. "$ref": "#/definitions/models.ErmcpOPLogModel"
  15091. },
  15092. "ermcp.QryUserInfoRsp": {
  15093. "$ref": "#/definitions/models.ErmcpUserModel"
  15094. },
  15095. "ermcp.QryWarehouseRsp": {
  15096. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  15097. },
  15098. "ermcp.QueryErmcpTradePositionRsp": {
  15099. "type": "object",
  15100. "properties": {
  15101. "agreeunit": {
  15102. "description": "合约单位",
  15103. "type": "number"
  15104. },
  15105. "buyorsell": {
  15106. "description": "方向 - 0:买 1:卖",
  15107. "type": "integer"
  15108. },
  15109. "curpositionqty": {
  15110. "description": "持仓(总仓数量, 期末头寸)",
  15111. "type": "integer"
  15112. },
  15113. "curtdposition": {
  15114. "description": "今仓数量(期末今日头寸)",
  15115. "type": "integer"
  15116. },
  15117. "curtdpositionenabled": {
  15118. "description": "今仓可用",
  15119. "type": "integer"
  15120. },
  15121. "decimalplace": {
  15122. "description": "报价小数位",
  15123. "type": "integer"
  15124. },
  15125. "enableqty": {
  15126. "description": "可用(总仓可用)",
  15127. "type": "integer"
  15128. },
  15129. "exexchangename": {
  15130. "description": "外部交易所名称",
  15131. "type": "string"
  15132. },
  15133. "goodscode": {
  15134. "description": "商品代码(内部)",
  15135. "type": "string"
  15136. },
  15137. "goodsid": {
  15138. "description": "商品ID(自增ID SEQ_GOODS)",
  15139. "type": "integer"
  15140. },
  15141. "goodsname": {
  15142. "description": "商品名称",
  15143. "type": "string"
  15144. },
  15145. "last": {
  15146. "description": "现价",
  15147. "type": "number"
  15148. },
  15149. "marketid": {
  15150. "description": "所属市场ID",
  15151. "type": "integer"
  15152. },
  15153. "openaverageprice": {
  15154. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  15155. "type": "number"
  15156. },
  15157. "opencost": {
  15158. "description": "开仓成本",
  15159. "type": "number"
  15160. },
  15161. "openpl": {
  15162. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15163. "type": "number"
  15164. },
  15165. "outgoodscode": {
  15166. "description": "商品代码(外部)",
  15167. "type": "string"
  15168. },
  15169. "positionaverageprice": {
  15170. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  15171. "type": "number"
  15172. },
  15173. "positioncost": {
  15174. "description": "持仓成本",
  15175. "type": "number"
  15176. },
  15177. "positionpl": {
  15178. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15179. "type": "number"
  15180. },
  15181. "positionplrate": {
  15182. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  15183. "type": "number"
  15184. },
  15185. "usedmargin": {
  15186. "description": "占用保证金",
  15187. "type": "number"
  15188. }
  15189. }
  15190. },
  15191. "ermcp.RealtimeExposurePositionRsp": {
  15192. "$ref": "#/definitions/models.ErmcpExposurePostion"
  15193. },
  15194. "ermcp.RealtimeExposureRsp": {
  15195. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  15196. },
  15197. "erms2.QueryArbitrageStrategyRsp": {
  15198. "type": "object",
  15199. "required": [
  15200. "asapplyid"
  15201. ],
  15202. "properties": {
  15203. "applybasis": {
  15204. "description": "申请基差",
  15205. "type": "number"
  15206. },
  15207. "asapplyid": {
  15208. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  15209. "type": "string"
  15210. },
  15211. "asname": {
  15212. "description": "策略名称",
  15213. "type": "string"
  15214. },
  15215. "asno": {
  15216. "description": "策略编号",
  15217. "type": "string"
  15218. },
  15219. "basischangepl": {
  15220. "description": "基差变动损益[结算更新]",
  15221. "type": "number"
  15222. },
  15223. "biztype": {
  15224. "description": "业务类型 - 1:正向套利 -1:反向套利",
  15225. "type": "integer"
  15226. },
  15227. "closetradedate": {
  15228. "description": "完结交易日(yyyyMMdd)",
  15229. "type": "string"
  15230. },
  15231. "curbasis": {
  15232. "description": "当前基差[结算更新]",
  15233. "type": "number"
  15234. },
  15235. "deliverygoodsid": {
  15236. "description": "现货品种ID",
  15237. "type": "integer"
  15238. },
  15239. "futureavgprice": {
  15240. "description": "期货建仓均价",
  15241. "type": "number"
  15242. },
  15243. "futurecloseamount": {
  15244. "description": "期货平仓金额",
  15245. "type": "number"
  15246. },
  15247. "futurecloseqty": {
  15248. "description": "期货平仓数量",
  15249. "type": "number"
  15250. },
  15251. "futureopenamount": {
  15252. "description": "期货开仓金额",
  15253. "type": "number"
  15254. },
  15255. "futureopenqty": {
  15256. "description": "期货开仓数量",
  15257. "type": "number"
  15258. },
  15259. "futurepl": {
  15260. "description": "期货总盈亏[结算更新]",
  15261. "type": "number"
  15262. },
  15263. "futureqty": {
  15264. "description": "期货持仓数量",
  15265. "type": "number"
  15266. },
  15267. "futurequote": {
  15268. "description": "期货额度",
  15269. "type": "number"
  15270. },
  15271. "goodsgroupid": {
  15272. "description": "期货品种ID",
  15273. "type": "integer"
  15274. },
  15275. "marketid": {
  15276. "description": "市场ID",
  15277. "type": "integer"
  15278. },
  15279. "netexposure": {
  15280. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  15281. "type": "number"
  15282. },
  15283. "netexposurepl": {
  15284. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  15285. "type": "number"
  15286. },
  15287. "netexposurerate": {
  15288. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  15289. "type": "number"
  15290. },
  15291. "openbasis": {
  15292. "description": "建仓基差",
  15293. "type": "number"
  15294. },
  15295. "pricedspotqty": {
  15296. "description": "已定价现货数量",
  15297. "type": "number"
  15298. },
  15299. "pricedspotqtynotax": {
  15300. "description": "已定价现货不含税数量",
  15301. "type": "number"
  15302. },
  15303. "remark": {
  15304. "description": "备注",
  15305. "type": "string"
  15306. },
  15307. "spotavgprice": {
  15308. "description": "现货均价",
  15309. "type": "number"
  15310. },
  15311. "spotbuyamount": {
  15312. "description": "现货采购金额",
  15313. "type": "number"
  15314. },
  15315. "spotbuyqty": {
  15316. "description": "现货采购数量",
  15317. "type": "number"
  15318. },
  15319. "spotpl": {
  15320. "description": "现货总盈亏[结算更新]",
  15321. "type": "number"
  15322. },
  15323. "spotquota": {
  15324. "description": "现货额度",
  15325. "type": "number"
  15326. },
  15327. "spotsellamount": {
  15328. "description": "现货销售金额",
  15329. "type": "number"
  15330. },
  15331. "spotsellqty": {
  15332. "description": "现货销售数量",
  15333. "type": "number"
  15334. },
  15335. "spotusedquota": {
  15336. "description": "现货占用资金",
  15337. "type": "number"
  15338. },
  15339. "strategystatus": {
  15340. "description": "策略状态 - 0:未结束 1:已结束",
  15341. "type": "integer"
  15342. },
  15343. "totalpl": {
  15344. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  15345. "type": "number"
  15346. },
  15347. "tradedate": {
  15348. "description": "交易日(yyyyMMdd)",
  15349. "type": "string"
  15350. },
  15351. "updatetime": {
  15352. "description": "更新时间",
  15353. "type": "string"
  15354. },
  15355. "usedquota": {
  15356. "description": "已占用资金",
  15357. "type": "number"
  15358. },
  15359. "userid": {
  15360. "description": "所属机构",
  15361. "type": "integer"
  15362. }
  15363. }
  15364. },
  15365. "erms2.QueryInnerTradeDetailRsp": {
  15366. "type": "object",
  15367. "required": [
  15368. "asapplyid",
  15369. "buyorsell",
  15370. "goodscode",
  15371. "goodsgroupid",
  15372. "goodsgroupname",
  15373. "goodsname",
  15374. "tradeid"
  15375. ],
  15376. "properties": {
  15377. "accountid": {
  15378. "description": "账号ID",
  15379. "type": "integer"
  15380. },
  15381. "agreeunit": {
  15382. "description": "合约单位",
  15383. "type": "number"
  15384. },
  15385. "asapplyid": {
  15386. "description": "策略申请ID",
  15387. "type": "integer"
  15388. },
  15389. "asname": {
  15390. "description": "策略名称",
  15391. "type": "string"
  15392. },
  15393. "asno": {
  15394. "description": "策略编号",
  15395. "type": "string"
  15396. },
  15397. "buyorsell": {
  15398. "description": "方向 - 0:买 1:卖",
  15399. "type": "integer"
  15400. },
  15401. "channelbuildtype": {
  15402. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15403. "type": "integer"
  15404. },
  15405. "closetype": {
  15406. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15407. "type": "integer"
  15408. },
  15409. "decimalplace": {
  15410. "description": "报价小数位",
  15411. "type": "integer"
  15412. },
  15413. "detailtype": {
  15414. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  15415. "type": "integer"
  15416. },
  15417. "exexchangecode": {
  15418. "description": "外部交易所代码",
  15419. "type": "string"
  15420. },
  15421. "exexchangename": {
  15422. "description": "外部交易所名称",
  15423. "type": "string"
  15424. },
  15425. "goodscode": {
  15426. "description": "商品代码(合约)",
  15427. "type": "string"
  15428. },
  15429. "goodsgroupid": {
  15430. "description": "商品组ID(品种ID)",
  15431. "type": "integer"
  15432. },
  15433. "goodsgroupname": {
  15434. "description": "商品组名称(品种)",
  15435. "type": "string"
  15436. },
  15437. "goodsid": {
  15438. "description": "商品ID",
  15439. "type": "integer"
  15440. },
  15441. "goodsname": {
  15442. "description": "商品名称(合约)",
  15443. "type": "string"
  15444. },
  15445. "goodunit": {
  15446. "description": "报价单位",
  15447. "type": "string"
  15448. },
  15449. "marketid": {
  15450. "description": "市场ID",
  15451. "type": "integer"
  15452. },
  15453. "orderid": {
  15454. "description": "委托单号",
  15455. "type": "string"
  15456. },
  15457. "outgoodscode": {
  15458. "description": "商品代码(外部)",
  15459. "type": "string"
  15460. },
  15461. "relatedouttradeid": {
  15462. "description": "关联外部成交单ID",
  15463. "type": "string"
  15464. },
  15465. "remark": {
  15466. "description": "备注",
  15467. "type": "string"
  15468. },
  15469. "spotcontractid": {
  15470. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  15471. "type": "integer"
  15472. },
  15473. "spotcontractno": {
  15474. "description": "现货合同编号",
  15475. "type": "string"
  15476. },
  15477. "tradeid": {
  15478. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15479. "type": "string"
  15480. },
  15481. "tradeprice": {
  15482. "description": "成交价格",
  15483. "type": "number"
  15484. },
  15485. "tradeqty": {
  15486. "description": "成交数量",
  15487. "type": "integer"
  15488. },
  15489. "tradetime": {
  15490. "description": "成交时间",
  15491. "type": "string"
  15492. },
  15493. "updatetime": {
  15494. "description": "更新时间",
  15495. "type": "string"
  15496. }
  15497. }
  15498. },
  15499. "erms2.QuerySpotContractRsp": {
  15500. "type": "object",
  15501. "required": [
  15502. "spotcontractid"
  15503. ],
  15504. "properties": {
  15505. "accountid": {
  15506. "description": "资金账户ID",
  15507. "type": "integer"
  15508. },
  15509. "areauserid": {
  15510. "description": "所属机构",
  15511. "type": "integer"
  15512. },
  15513. "closedate": {
  15514. "description": "终止日期",
  15515. "type": "string"
  15516. },
  15517. "closeremark": {
  15518. "description": "结束备注",
  15519. "type": "string"
  15520. },
  15521. "closetradedate": {
  15522. "description": "完结交易日(yyyyMMdd)",
  15523. "type": "string"
  15524. },
  15525. "closetype": {
  15526. "description": "终止类型 - 1:违约 2:提前终止",
  15527. "type": "integer"
  15528. },
  15529. "contractamount": {
  15530. "description": "合同金额",
  15531. "type": "number"
  15532. },
  15533. "contractattachment": {
  15534. "description": "合同附件",
  15535. "type": "string"
  15536. },
  15537. "contractno": {
  15538. "description": "现货合同编号",
  15539. "type": "string"
  15540. },
  15541. "contractqty": {
  15542. "description": "合同数量(数值) (用于计算)",
  15543. "type": "number"
  15544. },
  15545. "contractqtychar": {
  15546. "description": "合同数量\\已订价数量 (用于显示)",
  15547. "type": "string"
  15548. },
  15549. "contractstatus": {
  15550. "description": "合同状态 - 0:未结束 1:已结束",
  15551. "type": "integer"
  15552. },
  15553. "contracttype": {
  15554. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  15555. "type": "integer"
  15556. },
  15557. "customeraccountid": {
  15558. "description": "客户资金账户ID",
  15559. "type": "integer"
  15560. },
  15561. "customeruserid": {
  15562. "description": "客户ID",
  15563. "type": "integer"
  15564. },
  15565. "deliverygoodsdesc": {
  15566. "description": "品种说明",
  15567. "type": "string"
  15568. },
  15569. "deliverygoodsid": {
  15570. "description": "现货品种ID",
  15571. "type": "integer"
  15572. },
  15573. "handlestatus": {
  15574. "description": "处理状态",
  15575. "type": "integer"
  15576. },
  15577. "invoiceatt": {
  15578. "description": "发票附件",
  15579. "type": "string"
  15580. },
  15581. "invoicedatetime": {
  15582. "description": "开收票更新时间",
  15583. "type": "string"
  15584. },
  15585. "invoiceopentime": {
  15586. "description": "开票时间",
  15587. "type": "string"
  15588. },
  15589. "invoiceremark": {
  15590. "description": "发票备注",
  15591. "type": "string"
  15592. },
  15593. "invoicestatus": {
  15594. "description": "开收票状态 - 0:未开票 1:已开票",
  15595. "type": "integer"
  15596. },
  15597. "lastdate": {
  15598. "description": "交货时间",
  15599. "type": "string"
  15600. },
  15601. "marketid": {
  15602. "description": "市场ID",
  15603. "type": "integer"
  15604. },
  15605. "paydatetime": {
  15606. "description": "收付款更新时间",
  15607. "type": "string"
  15608. },
  15609. "payremark": {
  15610. "description": "收付款备注",
  15611. "type": "string"
  15612. },
  15613. "paystatus": {
  15614. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  15615. "type": "integer"
  15616. },
  15617. "positionqty": {
  15618. "description": "头寸数量 - 合同数量去小数部分",
  15619. "type": "integer"
  15620. },
  15621. "producttype": {
  15622. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15623. "type": "integer"
  15624. },
  15625. "relatedqty": {
  15626. "description": "已关联数量",
  15627. "type": "number"
  15628. },
  15629. "relatedstatus": {
  15630. "description": "关联完结状态 - 0:未结束 1:已结束",
  15631. "type": "integer"
  15632. },
  15633. "remark": {
  15634. "description": "备注",
  15635. "type": "string"
  15636. },
  15637. "signdate": {
  15638. "description": "签订日期",
  15639. "type": "string"
  15640. },
  15641. "spotcontractid": {
  15642. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  15643. "type": "string"
  15644. },
  15645. "spotdatetime": {
  15646. "description": "收发货更新时间",
  15647. "type": "string"
  15648. },
  15649. "spotprice": {
  15650. "description": "价格",
  15651. "type": "number"
  15652. },
  15653. "spotremark": {
  15654. "description": "收发货备注",
  15655. "type": "string"
  15656. },
  15657. "spotstatus": {
  15658. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  15659. "type": "integer"
  15660. },
  15661. "tradedate": {
  15662. "description": "交易日(yyyyMMdd)",
  15663. "type": "string"
  15664. },
  15665. "userid": {
  15666. "description": "业务员用户ID",
  15667. "type": "integer"
  15668. },
  15669. "warehouseid": {
  15670. "description": "仓库ID",
  15671. "type": "integer"
  15672. },
  15673. "wrfactortypeid": {
  15674. "description": "仓单要素类型ID",
  15675. "type": "integer"
  15676. },
  15677. "wrstandardid": {
  15678. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15679. "type": "integer"
  15680. }
  15681. }
  15682. },
  15683. "erms3.AddErms2ASApplyReq": {
  15684. "type": "object",
  15685. "required": [
  15686. "asapplyid"
  15687. ],
  15688. "properties": {
  15689. "applybasis": {
  15690. "description": "申请基差",
  15691. "type": "number"
  15692. },
  15693. "applystatus": {
  15694. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15695. "type": "integer"
  15696. },
  15697. "asapplyid": {
  15698. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  15699. "type": "integer"
  15700. },
  15701. "asname": {
  15702. "description": "策略名称",
  15703. "type": "string"
  15704. },
  15705. "asno": {
  15706. "description": "策略编号",
  15707. "type": "string"
  15708. },
  15709. "auditid": {
  15710. "description": "审核人",
  15711. "type": "integer"
  15712. },
  15713. "auditremark": {
  15714. "description": "审核备注",
  15715. "type": "string"
  15716. },
  15717. "audittime": {
  15718. "description": "审核时间",
  15719. "type": "string"
  15720. },
  15721. "biztype": {
  15722. "description": "业务类型 - 1:正向套利 2:反向套利",
  15723. "type": "integer"
  15724. },
  15725. "createtime": {
  15726. "description": "创建时间",
  15727. "type": "string"
  15728. },
  15729. "creatorid": {
  15730. "description": "创建人",
  15731. "type": "integer"
  15732. },
  15733. "deliverygoodsid": {
  15734. "description": "现货品种ID",
  15735. "type": "integer"
  15736. },
  15737. "futurequote": {
  15738. "description": "期货额度",
  15739. "type": "number"
  15740. },
  15741. "goodsgroupid": {
  15742. "description": "期货品种ID",
  15743. "type": "integer"
  15744. },
  15745. "marketid": {
  15746. "description": "市场ID",
  15747. "type": "integer"
  15748. },
  15749. "remark": {
  15750. "description": "备注",
  15751. "type": "string"
  15752. },
  15753. "spotquota": {
  15754. "description": "现货额度",
  15755. "type": "number"
  15756. },
  15757. "tradedate": {
  15758. "description": "交易日(yyyyMMdd)",
  15759. "type": "string"
  15760. },
  15761. "userid": {
  15762. "description": "所属机构",
  15763. "type": "integer"
  15764. }
  15765. }
  15766. },
  15767. "erms3.AddErms2SpotTradeApplyReq": {
  15768. "type": "object",
  15769. "required": [
  15770. "spottradeid"
  15771. ],
  15772. "properties": {
  15773. "applyjsondetail": {
  15774. "description": "申请明细(JSON)",
  15775. "type": "string"
  15776. },
  15777. "applystatus": {
  15778. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15779. "type": "integer"
  15780. },
  15781. "areauserid": {
  15782. "description": "所属机构",
  15783. "type": "integer"
  15784. },
  15785. "auditid": {
  15786. "description": "审核人",
  15787. "type": "integer"
  15788. },
  15789. "auditremark": {
  15790. "description": "审核备注",
  15791. "type": "string"
  15792. },
  15793. "audittime": {
  15794. "description": "审核时间",
  15795. "type": "string"
  15796. },
  15797. "createtime": {
  15798. "description": "创建时间",
  15799. "type": "string"
  15800. },
  15801. "creatorid": {
  15802. "description": "创建人",
  15803. "type": "integer"
  15804. },
  15805. "deliverygoodsid": {
  15806. "description": "现货品种ID",
  15807. "type": "integer"
  15808. },
  15809. "futureaccountid": {
  15810. "description": "期货资金账户",
  15811. "type": "integer"
  15812. },
  15813. "goodsgroupid": {
  15814. "description": "期货品种",
  15815. "type": "integer"
  15816. },
  15817. "marketid": {
  15818. "description": "市场ID",
  15819. "type": "integer"
  15820. },
  15821. "remark": {
  15822. "description": "备注",
  15823. "type": "string"
  15824. },
  15825. "spotaccountid": {
  15826. "description": "现货资金账户",
  15827. "type": "integer"
  15828. },
  15829. "spottradeid": {
  15830. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15831. "type": "integer"
  15832. },
  15833. "spottradename": {
  15834. "description": "业务名称",
  15835. "type": "string"
  15836. },
  15837. "spottradeno": {
  15838. "description": "业务编号",
  15839. "type": "string"
  15840. },
  15841. "tradedate": {
  15842. "description": "交易日(yyyyMMdd)",
  15843. "type": "string"
  15844. },
  15845. "wrstandardid": {
  15846. "description": "仓单标准ID",
  15847. "type": "integer"
  15848. }
  15849. }
  15850. },
  15851. "erms3.AddSpotContractApplyReq": {
  15852. "type": "object",
  15853. "required": [
  15854. "accountid",
  15855. "areauserid",
  15856. "contractno",
  15857. "contracttype",
  15858. "customeraccountid",
  15859. "customeruserid",
  15860. "details",
  15861. "orimargin",
  15862. "signdate"
  15863. ],
  15864. "properties": {
  15865. "accountid": {
  15866. "description": "资金账户ID",
  15867. "type": "integer"
  15868. },
  15869. "areauserid": {
  15870. "description": "所属机构",
  15871. "type": "integer"
  15872. },
  15873. "contractattachment": {
  15874. "description": "合同附件",
  15875. "type": "string"
  15876. },
  15877. "contractno": {
  15878. "description": "现货合同编号",
  15879. "type": "string"
  15880. },
  15881. "contracttype": {
  15882. "description": "现货合同类型 - 1:采购 -1:销售",
  15883. "type": "integer"
  15884. },
  15885. "creatorid": {
  15886. "description": "申请人",
  15887. "type": "integer"
  15888. },
  15889. "customeraccountid": {
  15890. "description": "客户资金账户ID",
  15891. "type": "integer"
  15892. },
  15893. "customeruserid": {
  15894. "description": "客户ID",
  15895. "type": "integer"
  15896. },
  15897. "details": {
  15898. "description": "明细",
  15899. "type": "array",
  15900. "items": {
  15901. "$ref": "#/definitions/erms3.SoptContractDetail"
  15902. }
  15903. },
  15904. "orimargin": {
  15905. "description": "初始保证金",
  15906. "type": "number"
  15907. },
  15908. "remark": {
  15909. "description": "备注",
  15910. "type": "string"
  15911. },
  15912. "signdate": {
  15913. "description": "签订日期",
  15914. "type": "string"
  15915. }
  15916. }
  15917. },
  15918. "erms3.AddSpotContractApplyRsp": {
  15919. "type": "object",
  15920. "required": [
  15921. "contractno"
  15922. ],
  15923. "properties": {
  15924. "contractno": {
  15925. "description": "现货合同编号",
  15926. "type": "string"
  15927. },
  15928. "spotcontractid": {
  15929. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15930. "type": "integer"
  15931. }
  15932. }
  15933. },
  15934. "erms3.AddUserInfoApplyReq": {
  15935. "type": "object",
  15936. "required": [
  15937. "userid"
  15938. ],
  15939. "properties": {
  15940. "accountid": {
  15941. "description": "交易系统帐号Id (加密存储)",
  15942. "type": "integer"
  15943. },
  15944. "areacode": {
  15945. "description": "机构代码",
  15946. "type": "string"
  15947. },
  15948. "areaid": {
  15949. "description": "机构Id",
  15950. "type": "integer"
  15951. },
  15952. "attachment1": {
  15953. "description": "附件1",
  15954. "type": "string"
  15955. },
  15956. "attachment2": {
  15957. "description": "附件2",
  15958. "type": "string"
  15959. },
  15960. "attachment3": {
  15961. "description": "附件3",
  15962. "type": "string"
  15963. },
  15964. "attachment4": {
  15965. "description": "附件4",
  15966. "type": "string"
  15967. },
  15968. "attachment5": {
  15969. "description": "附件5",
  15970. "type": "string"
  15971. },
  15972. "auditedby": {
  15973. "description": "审核人",
  15974. "type": "string"
  15975. },
  15976. "auditime": {
  15977. "description": "审核时间",
  15978. "type": "string"
  15979. },
  15980. "auditsrc": {
  15981. "description": "审核来源 - 1:管理端 2:终端",
  15982. "type": "integer"
  15983. },
  15984. "bankaccount": {
  15985. "description": "银行帐号 (加密存储)",
  15986. "type": "string"
  15987. },
  15988. "bankaccountname": {
  15989. "description": "收款人名称",
  15990. "type": "string"
  15991. },
  15992. "bankcardbackphotourl": {
  15993. "description": "银行卡背面照地址",
  15994. "type": "string"
  15995. },
  15996. "bankcardfrontphotourl": {
  15997. "description": "银行卡正面照地址",
  15998. "type": "string"
  15999. },
  16000. "bankid": {
  16001. "description": "银行编码",
  16002. "type": "string"
  16003. },
  16004. "bankname": {
  16005. "description": "银行名称",
  16006. "type": "string"
  16007. },
  16008. "bankpictureurl": {
  16009. "description": "银行卡正面地址",
  16010. "type": "string"
  16011. },
  16012. "biznature": {
  16013. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16014. "type": "integer"
  16015. },
  16016. "bizscope": {
  16017. "description": "企业经营范围(企业)",
  16018. "type": "string"
  16019. },
  16020. "biztype": {
  16021. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16022. "type": "integer"
  16023. },
  16024. "brokerid": {
  16025. "description": "经纪人ID(加密存储)",
  16026. "type": "string"
  16027. },
  16028. "cardaddress": {
  16029. "description": "证件地址 (加密存储)",
  16030. "type": "string"
  16031. },
  16032. "cardbackphotourl": {
  16033. "description": "背面证件照地址",
  16034. "type": "string"
  16035. },
  16036. "cardfrontphotourl": {
  16037. "description": "正面证件照地址",
  16038. "type": "string"
  16039. },
  16040. "cardnum": {
  16041. "description": "证件号码 (加密存储)",
  16042. "type": "string"
  16043. },
  16044. "cardtype": {
  16045. "description": "证件类型",
  16046. "type": "integer"
  16047. },
  16048. "cityid": {
  16049. "description": "市",
  16050. "type": "integer"
  16051. },
  16052. "company": {
  16053. "description": "公司(个人)",
  16054. "type": "string"
  16055. },
  16056. "contactcardbackphotourl": {
  16057. "description": "联系人证件背面图片地址",
  16058. "type": "string"
  16059. },
  16060. "contactcardfrontphotourl": {
  16061. "description": "联系人证件正面图片地址",
  16062. "type": "string"
  16063. },
  16064. "contactname": {
  16065. "description": "联系人",
  16066. "type": "string"
  16067. },
  16068. "countryid": {
  16069. "description": "国家",
  16070. "type": "integer"
  16071. },
  16072. "createtime": {
  16073. "description": "开户申请时间",
  16074. "type": "string"
  16075. },
  16076. "cusbankid": {
  16077. "description": "签约类型",
  16078. "type": "string"
  16079. },
  16080. "cusbankname": {
  16081. "description": "签约类型名称",
  16082. "type": "string"
  16083. },
  16084. "customername": {
  16085. "description": "客户名称(企业名称)",
  16086. "type": "string"
  16087. },
  16088. "districtid": {
  16089. "description": "地区",
  16090. "type": "integer"
  16091. },
  16092. "email": {
  16093. "description": "Email地址(加密存储)",
  16094. "type": "string"
  16095. },
  16096. "halfbodyphotourl": {
  16097. "description": "半身照地址",
  16098. "type": "string"
  16099. },
  16100. "headurl": {
  16101. "description": "头像地址",
  16102. "type": "string"
  16103. },
  16104. "ipaddress": {
  16105. "description": "IP地址",
  16106. "type": "string"
  16107. },
  16108. "isvalidate": {
  16109. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16110. "type": "string"
  16111. },
  16112. "legalcardbackphotourl": {
  16113. "description": "法人身份证背面照地址",
  16114. "type": "string"
  16115. },
  16116. "legalcardfrontphotourl": {
  16117. "description": "法人身份证正面照地址",
  16118. "type": "string"
  16119. },
  16120. "legalpersonname": {
  16121. "description": "法人姓名(企业)",
  16122. "type": "string"
  16123. },
  16124. "logincode": {
  16125. "description": "登录帐号 (加密存储)",
  16126. "type": "string"
  16127. },
  16128. "memberareaid": {
  16129. "description": "所属会员ID",
  16130. "type": "integer"
  16131. },
  16132. "mobile2": {
  16133. "description": "手机号码[明文-尚志]",
  16134. "type": "string"
  16135. },
  16136. "mobilephone": {
  16137. "description": "手机号码 (加密存储)",
  16138. "type": "string"
  16139. },
  16140. "modifiedby": {
  16141. "description": "修改人帐号",
  16142. "type": "integer"
  16143. },
  16144. "modifiedtime": {
  16145. "description": "修改时间",
  16146. "type": "string"
  16147. },
  16148. "nickname": {
  16149. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16150. "type": "string"
  16151. },
  16152. "openmode": {
  16153. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16154. "type": "integer"
  16155. },
  16156. "otherurl": {
  16157. "description": "其它图片地址[使用分号分隔]",
  16158. "type": "string"
  16159. },
  16160. "postalcode": {
  16161. "description": "邮政编码",
  16162. "type": "string"
  16163. },
  16164. "provinceid": {
  16165. "description": "省",
  16166. "type": "integer"
  16167. },
  16168. "proxystatementurl": {
  16169. "description": "授权委托书",
  16170. "type": "string"
  16171. },
  16172. "qq": {
  16173. "description": "QQ(加密存储",
  16174. "type": "string"
  16175. },
  16176. "referral": {
  16177. "description": "推荐人编码",
  16178. "type": "string"
  16179. },
  16180. "remark": {
  16181. "description": "备注",
  16182. "type": "string"
  16183. },
  16184. "removebeforestatus": {
  16185. "description": "REMOVEBEFORESTATUS",
  16186. "type": "integer"
  16187. },
  16188. "sex": {
  16189. "description": "性别 - 0:女 1:男",
  16190. "type": "integer"
  16191. },
  16192. "signedstatus": {
  16193. "description": "账户一号签签约状态",
  16194. "type": "integer"
  16195. },
  16196. "signpdfurl": {
  16197. "description": "签约pdf文件",
  16198. "type": "string"
  16199. },
  16200. "subbranch": {
  16201. "description": "开户支行",
  16202. "type": "string"
  16203. },
  16204. "taxpayernum": {
  16205. "description": "纳税人识别号",
  16206. "type": "string"
  16207. },
  16208. "telphone": {
  16209. "description": "联系电话(加密存储)",
  16210. "type": "string"
  16211. },
  16212. "userid": {
  16213. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16214. "type": "integer"
  16215. },
  16216. "userinfotype": {
  16217. "description": "用户信息类型 - 1:个人 2:企业",
  16218. "type": "integer"
  16219. },
  16220. "username": {
  16221. "description": "用户姓名",
  16222. "type": "string"
  16223. },
  16224. "userstate": {
  16225. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16226. "type": "integer"
  16227. },
  16228. "usertype": {
  16229. "description": "用户类型 - 1:投资者 2:机构",
  16230. "type": "integer"
  16231. },
  16232. "videourl": {
  16233. "description": "视频地址",
  16234. "type": "string"
  16235. },
  16236. "wechat": {
  16237. "description": "微信号 (加密存储)",
  16238. "type": "string"
  16239. }
  16240. }
  16241. },
  16242. "erms3.CustomerInfo": {
  16243. "type": "object",
  16244. "required": [
  16245. "userid"
  16246. ],
  16247. "properties": {
  16248. "accountids": {
  16249. "description": "资金账户ID列表",
  16250. "type": "array",
  16251. "items": {
  16252. "type": "integer"
  16253. }
  16254. },
  16255. "customername": {
  16256. "description": "名称(企业名称)",
  16257. "type": "string"
  16258. },
  16259. "mobile": {
  16260. "description": "手机号码",
  16261. "type": "string"
  16262. },
  16263. "userid": {
  16264. "description": "用户ID",
  16265. "type": "integer"
  16266. }
  16267. }
  16268. },
  16269. "erms3.ModifyUserInfoApplyReq": {
  16270. "type": "object",
  16271. "required": [
  16272. "userid"
  16273. ],
  16274. "properties": {
  16275. "accountid": {
  16276. "description": "交易系统帐号Id (加密存储)",
  16277. "type": "integer"
  16278. },
  16279. "areacode": {
  16280. "description": "机构代码",
  16281. "type": "string"
  16282. },
  16283. "areaid": {
  16284. "description": "机构Id",
  16285. "type": "integer"
  16286. },
  16287. "attachment1": {
  16288. "description": "附件1",
  16289. "type": "string"
  16290. },
  16291. "attachment2": {
  16292. "description": "附件2",
  16293. "type": "string"
  16294. },
  16295. "attachment3": {
  16296. "description": "附件3",
  16297. "type": "string"
  16298. },
  16299. "attachment4": {
  16300. "description": "附件4",
  16301. "type": "string"
  16302. },
  16303. "attachment5": {
  16304. "description": "附件5",
  16305. "type": "string"
  16306. },
  16307. "auditedby": {
  16308. "description": "审核人",
  16309. "type": "string"
  16310. },
  16311. "auditime": {
  16312. "description": "审核时间",
  16313. "type": "string"
  16314. },
  16315. "auditsrc": {
  16316. "description": "审核来源 - 1:管理端 2:终端",
  16317. "type": "integer"
  16318. },
  16319. "bankaccount": {
  16320. "description": "银行帐号 (加密存储)",
  16321. "type": "string"
  16322. },
  16323. "bankaccountname": {
  16324. "description": "收款人名称",
  16325. "type": "string"
  16326. },
  16327. "bankcardbackphotourl": {
  16328. "description": "银行卡背面照地址",
  16329. "type": "string"
  16330. },
  16331. "bankcardfrontphotourl": {
  16332. "description": "银行卡正面照地址",
  16333. "type": "string"
  16334. },
  16335. "bankid": {
  16336. "description": "银行编码",
  16337. "type": "string"
  16338. },
  16339. "bankname": {
  16340. "description": "银行名称",
  16341. "type": "string"
  16342. },
  16343. "bankpictureurl": {
  16344. "description": "银行卡正面地址",
  16345. "type": "string"
  16346. },
  16347. "biznature": {
  16348. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16349. "type": "integer"
  16350. },
  16351. "bizscope": {
  16352. "description": "企业经营范围(企业)",
  16353. "type": "string"
  16354. },
  16355. "biztype": {
  16356. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16357. "type": "integer"
  16358. },
  16359. "brokerid": {
  16360. "description": "经纪人ID(加密存储)",
  16361. "type": "string"
  16362. },
  16363. "cardaddress": {
  16364. "description": "证件地址 (加密存储)",
  16365. "type": "string"
  16366. },
  16367. "cardbackphotourl": {
  16368. "description": "背面证件照地址",
  16369. "type": "string"
  16370. },
  16371. "cardfrontphotourl": {
  16372. "description": "正面证件照地址",
  16373. "type": "string"
  16374. },
  16375. "cardnum": {
  16376. "description": "证件号码 (加密存储)",
  16377. "type": "string"
  16378. },
  16379. "cardtype": {
  16380. "description": "证件类型",
  16381. "type": "integer"
  16382. },
  16383. "cityid": {
  16384. "description": "市",
  16385. "type": "integer"
  16386. },
  16387. "company": {
  16388. "description": "公司(个人)",
  16389. "type": "string"
  16390. },
  16391. "contactcardbackphotourl": {
  16392. "description": "联系人证件背面图片地址",
  16393. "type": "string"
  16394. },
  16395. "contactcardfrontphotourl": {
  16396. "description": "联系人证件正面图片地址",
  16397. "type": "string"
  16398. },
  16399. "contactname": {
  16400. "description": "联系人",
  16401. "type": "string"
  16402. },
  16403. "countryid": {
  16404. "description": "国家",
  16405. "type": "integer"
  16406. },
  16407. "createtime": {
  16408. "description": "开户申请时间",
  16409. "type": "string"
  16410. },
  16411. "cusbankid": {
  16412. "description": "签约类型",
  16413. "type": "string"
  16414. },
  16415. "cusbankname": {
  16416. "description": "签约类型名称",
  16417. "type": "string"
  16418. },
  16419. "customername": {
  16420. "description": "客户名称(企业名称)",
  16421. "type": "string"
  16422. },
  16423. "districtid": {
  16424. "description": "地区",
  16425. "type": "integer"
  16426. },
  16427. "email": {
  16428. "description": "Email地址(加密存储)",
  16429. "type": "string"
  16430. },
  16431. "halfbodyphotourl": {
  16432. "description": "半身照地址",
  16433. "type": "string"
  16434. },
  16435. "headurl": {
  16436. "description": "头像地址",
  16437. "type": "string"
  16438. },
  16439. "ipaddress": {
  16440. "description": "IP地址",
  16441. "type": "string"
  16442. },
  16443. "isvalidate": {
  16444. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16445. "type": "string"
  16446. },
  16447. "legalcardbackphotourl": {
  16448. "description": "法人身份证背面照地址",
  16449. "type": "string"
  16450. },
  16451. "legalcardfrontphotourl": {
  16452. "description": "法人身份证正面照地址",
  16453. "type": "string"
  16454. },
  16455. "legalpersonname": {
  16456. "description": "法人姓名(企业)",
  16457. "type": "string"
  16458. },
  16459. "logincode": {
  16460. "description": "登录帐号 (加密存储)",
  16461. "type": "string"
  16462. },
  16463. "memberareaid": {
  16464. "description": "所属会员ID",
  16465. "type": "integer"
  16466. },
  16467. "mobile2": {
  16468. "description": "手机号码[明文-尚志]",
  16469. "type": "string"
  16470. },
  16471. "mobilephone": {
  16472. "description": "手机号码 (加密存储)",
  16473. "type": "string"
  16474. },
  16475. "modifiedby": {
  16476. "description": "修改人帐号",
  16477. "type": "integer"
  16478. },
  16479. "modifiedtime": {
  16480. "description": "修改时间",
  16481. "type": "string"
  16482. },
  16483. "nickname": {
  16484. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16485. "type": "string"
  16486. },
  16487. "openmode": {
  16488. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16489. "type": "integer"
  16490. },
  16491. "otherurl": {
  16492. "description": "其它图片地址[使用分号分隔]",
  16493. "type": "string"
  16494. },
  16495. "postalcode": {
  16496. "description": "邮政编码",
  16497. "type": "string"
  16498. },
  16499. "provinceid": {
  16500. "description": "省",
  16501. "type": "integer"
  16502. },
  16503. "proxystatementurl": {
  16504. "description": "授权委托书",
  16505. "type": "string"
  16506. },
  16507. "qq": {
  16508. "description": "QQ(加密存储",
  16509. "type": "string"
  16510. },
  16511. "referral": {
  16512. "description": "推荐人编码",
  16513. "type": "string"
  16514. },
  16515. "remark": {
  16516. "description": "备注",
  16517. "type": "string"
  16518. },
  16519. "removebeforestatus": {
  16520. "description": "REMOVEBEFORESTATUS",
  16521. "type": "integer"
  16522. },
  16523. "sex": {
  16524. "description": "性别 - 0:女 1:男",
  16525. "type": "integer"
  16526. },
  16527. "signedstatus": {
  16528. "description": "账户一号签签约状态",
  16529. "type": "integer"
  16530. },
  16531. "signpdfurl": {
  16532. "description": "签约pdf文件",
  16533. "type": "string"
  16534. },
  16535. "subbranch": {
  16536. "description": "开户支行",
  16537. "type": "string"
  16538. },
  16539. "taxpayernum": {
  16540. "description": "纳税人识别号",
  16541. "type": "string"
  16542. },
  16543. "telphone": {
  16544. "description": "联系电话(加密存储)",
  16545. "type": "string"
  16546. },
  16547. "userid": {
  16548. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16549. "type": "integer"
  16550. },
  16551. "userinfotype": {
  16552. "description": "用户信息类型 - 1:个人 2:企业",
  16553. "type": "integer"
  16554. },
  16555. "username": {
  16556. "description": "用户姓名",
  16557. "type": "string"
  16558. },
  16559. "userstate": {
  16560. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16561. "type": "integer"
  16562. },
  16563. "usertype": {
  16564. "description": "用户类型 - 1:投资者 2:机构",
  16565. "type": "integer"
  16566. },
  16567. "videourl": {
  16568. "description": "视频地址",
  16569. "type": "string"
  16570. },
  16571. "wechat": {
  16572. "description": "微信号 (加密存储)",
  16573. "type": "string"
  16574. }
  16575. }
  16576. },
  16577. "erms3.QryAuditContractRsp": {
  16578. "type": "object",
  16579. "required": [
  16580. "matchcustomername",
  16581. "spotcontractid"
  16582. ],
  16583. "properties": {
  16584. "accountid": {
  16585. "description": "交易员ID",
  16586. "type": "string"
  16587. },
  16588. "applystatus": {
  16589. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16590. "type": "integer"
  16591. },
  16592. "curdeliveryqty": {
  16593. "description": "未交收量",
  16594. "type": "integer"
  16595. },
  16596. "customername": {
  16597. "description": "采购方ID",
  16598. "type": "string"
  16599. },
  16600. "deliverygoodsid": {
  16601. "description": "品种ID",
  16602. "type": "string"
  16603. },
  16604. "deliveryqty": {
  16605. "description": "交收量",
  16606. "type": "integer"
  16607. },
  16608. "enumdicname": {
  16609. "description": "单位名称",
  16610. "type": "string"
  16611. },
  16612. "matchaccountid": {
  16613. "description": "业务员ID",
  16614. "type": "string"
  16615. },
  16616. "matchcustomername": {
  16617. "description": "销售方ID",
  16618. "type": "string"
  16619. },
  16620. "pricedqty": {
  16621. "description": "定价量",
  16622. "type": "number"
  16623. },
  16624. "signdate": {
  16625. "description": "签订日期",
  16626. "type": "string"
  16627. },
  16628. "spotcontractid": {
  16629. "description": "合同ID",
  16630. "type": "string"
  16631. },
  16632. "totaldqty": {
  16633. "description": "合同量",
  16634. "type": "number"
  16635. },
  16636. "unpricedqty": {
  16637. "description": "未定价量",
  16638. "type": "number"
  16639. },
  16640. "wrstandardname": {
  16641. "description": "商品名称",
  16642. "type": "string"
  16643. }
  16644. }
  16645. },
  16646. "erms3.QryPendingBizRsp": {
  16647. "$ref": "#/definitions/models.PendingAuditBizModel"
  16648. },
  16649. "erms3.QueryBusinessInfoRsp": {
  16650. "type": "object",
  16651. "properties": {
  16652. "businessid": {
  16653. "description": "业务ID.",
  16654. "type": "integer"
  16655. },
  16656. "buyamount": {
  16657. "description": "采购额.",
  16658. "type": "number"
  16659. },
  16660. "buyqty": {
  16661. "description": "采购量.",
  16662. "type": "string"
  16663. },
  16664. "futurepl": {
  16665. "description": "期货盈亏.",
  16666. "type": "number"
  16667. },
  16668. "futureqty": {
  16669. "description": "期货敞口.",
  16670. "type": "string"
  16671. },
  16672. "goodsid": {
  16673. "description": "商品名称/商品代码.",
  16674. "type": "string"
  16675. },
  16676. "hedgingqty": {
  16677. "description": "套保量.",
  16678. "type": "string"
  16679. },
  16680. "sellamount": {
  16681. "description": "销售额.",
  16682. "type": "number"
  16683. },
  16684. "sellqty": {
  16685. "description": "销售量.",
  16686. "type": "string"
  16687. },
  16688. "spotmarketvalue": {
  16689. "description": "现货市值.",
  16690. "type": "number"
  16691. },
  16692. "spotpl": {
  16693. "description": "浮动权益.",
  16694. "type": "number"
  16695. },
  16696. "spotqty": {
  16697. "description": "现货量.",
  16698. "type": "string"
  16699. },
  16700. "statu": {
  16701. "description": "状态,0-未结束 1-已结束.",
  16702. "type": "integer"
  16703. },
  16704. "totalpl": {
  16705. "description": "总盈亏.",
  16706. "type": "number"
  16707. },
  16708. "totalqty": {
  16709. "description": "总敞口.",
  16710. "type": "string"
  16711. },
  16712. "type": {
  16713. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  16714. "type": "integer"
  16715. }
  16716. }
  16717. },
  16718. "erms3.QuerySpotContractAppleFormRsp": {
  16719. "type": "object",
  16720. "properties": {
  16721. "goodses": {
  16722. "description": "合约列表",
  16723. "type": "array",
  16724. "items": {
  16725. "$ref": "#/definitions/models.GoodsIDAndName"
  16726. }
  16727. },
  16728. "oppositeusers": {
  16729. "description": "对方账号列表",
  16730. "type": "array",
  16731. "items": {
  16732. "$ref": "#/definitions/erms3.CustomerInfo"
  16733. }
  16734. },
  16735. "ouruser": {
  16736. "description": "我方账号",
  16737. "type": "object",
  16738. "$ref": "#/definitions/erms3.CustomerInfo"
  16739. },
  16740. "warehouseinfos": {
  16741. "description": "仓库信息列表",
  16742. "type": "array",
  16743. "items": {
  16744. "$ref": "#/definitions/models.Warehouseinfo"
  16745. }
  16746. },
  16747. "wrstandards": {
  16748. "description": "仓单标准列表",
  16749. "type": "array",
  16750. "items": {
  16751. "$ref": "#/definitions/models.WRStandardInfo"
  16752. }
  16753. }
  16754. }
  16755. },
  16756. "erms3.QuerySpotContractInfoRsp": {
  16757. "type": "object",
  16758. "properties": {
  16759. "accountid": {
  16760. "description": "表示交易员ID.",
  16761. "type": "integer"
  16762. },
  16763. "curdeliveryqty": {
  16764. "description": "表示未交收量.",
  16765. "type": "number"
  16766. },
  16767. "customername": {
  16768. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16769. "type": "string"
  16770. },
  16771. "deliverygoodsid": {
  16772. "description": "表示品种ID.",
  16773. "type": "string"
  16774. },
  16775. "deliveryqty": {
  16776. "description": "表示交收量.",
  16777. "type": "number"
  16778. },
  16779. "matchaccountid": {
  16780. "description": "表示业务员ID.",
  16781. "type": "integer"
  16782. },
  16783. "matchcustomername": {
  16784. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16785. "type": "string"
  16786. },
  16787. "priceqty": {
  16788. "description": "表示定价量.",
  16789. "type": "number"
  16790. },
  16791. "relatedbizid": {
  16792. "description": "表示业务ID.",
  16793. "type": "string"
  16794. },
  16795. "signdate": {
  16796. "description": "表示签订日期.",
  16797. "type": "string"
  16798. },
  16799. "spotcontractid": {
  16800. "description": "合同ID",
  16801. "type": "string"
  16802. },
  16803. "status": {
  16804. "description": "表示状态,0-履约中 1-已完成.",
  16805. "type": "integer"
  16806. },
  16807. "totalqty": {
  16808. "description": "表示合同量.",
  16809. "type": "number"
  16810. },
  16811. "unpricedqty": {
  16812. "description": "表示未定价量.",
  16813. "type": "number"
  16814. },
  16815. "wrstandardname": {
  16816. "description": "表示商品ID.",
  16817. "type": "string"
  16818. }
  16819. }
  16820. },
  16821. "erms3.QueryUserInfoAppliesRsp": {
  16822. "type": "object",
  16823. "required": [
  16824. "userid"
  16825. ],
  16826. "properties": {
  16827. "biznature": {
  16828. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16829. "type": "integer"
  16830. },
  16831. "contactname": {
  16832. "description": "联系人",
  16833. "type": "string"
  16834. },
  16835. "createtime": {
  16836. "description": "开户申请时间",
  16837. "type": "string"
  16838. },
  16839. "userid": {
  16840. "description": "用户ID(自增ID)",
  16841. "type": "integer"
  16842. },
  16843. "userinfotype": {
  16844. "description": "用户信息类型 - 1:个人 2:企业",
  16845. "type": "integer"
  16846. },
  16847. "username": {
  16848. "description": "用户姓名",
  16849. "type": "string"
  16850. },
  16851. "userstate": {
  16852. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16853. "type": "integer"
  16854. }
  16855. }
  16856. },
  16857. "erms3.QueryUserInfosRsp": {
  16858. "type": "object",
  16859. "required": [
  16860. "userid"
  16861. ],
  16862. "properties": {
  16863. "biznature": {
  16864. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16865. "type": "integer"
  16866. },
  16867. "contactname": {
  16868. "description": "联系人",
  16869. "type": "string"
  16870. },
  16871. "customername": {
  16872. "description": "客户名称(企业名称)",
  16873. "type": "string"
  16874. },
  16875. "userid": {
  16876. "description": "用户ID",
  16877. "type": "integer"
  16878. },
  16879. "userinfotype": {
  16880. "description": "用户信息类型 - 1:个人 2:企业",
  16881. "type": "integer"
  16882. },
  16883. "userstatus": {
  16884. "description": "用户状态 - 1:正常 2:注销",
  16885. "type": "integer"
  16886. }
  16887. }
  16888. },
  16889. "erms3.SoptContractDetail": {
  16890. "type": "object",
  16891. "required": [
  16892. "deliverygoodsid",
  16893. "producttype",
  16894. "unitname",
  16895. "warehouseid",
  16896. "wrstandardid",
  16897. "wrstandardname"
  16898. ],
  16899. "properties": {
  16900. "deliverygoodsdesc": {
  16901. "description": "现货品种说明",
  16902. "type": "string"
  16903. },
  16904. "deliverygoodsid": {
  16905. "description": "现货品种ID",
  16906. "type": "integer"
  16907. },
  16908. "deliverygoodsname": {
  16909. "description": "现货品种名称",
  16910. "type": "string"
  16911. },
  16912. "pointdesc": {
  16913. "description": "点价描述",
  16914. "type": "string"
  16915. },
  16916. "producttype": {
  16917. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16918. "type": "integer"
  16919. },
  16920. "producttypename": {
  16921. "description": "产品类型名称",
  16922. "type": "string"
  16923. },
  16924. "spotPointOrderVoList": {
  16925. "description": "点价列表",
  16926. "type": "array",
  16927. "items": {
  16928. "$ref": "#/definitions/erms3.SpotPointOrder"
  16929. }
  16930. },
  16931. "spotPriceOrderList": {
  16932. "description": "定价列表",
  16933. "type": "array",
  16934. "items": {
  16935. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16936. }
  16937. },
  16938. "unitname": {
  16939. "description": "单位名称",
  16940. "type": "string"
  16941. },
  16942. "warehouseid": {
  16943. "description": "仓库ID",
  16944. "type": "integer"
  16945. },
  16946. "warehousename": {
  16947. "description": "仓库名称",
  16948. "type": "string"
  16949. },
  16950. "wrstandardid": {
  16951. "description": "交易标的ID",
  16952. "type": "integer"
  16953. },
  16954. "wrstandardname": {
  16955. "description": "交易标的名称",
  16956. "type": "string"
  16957. }
  16958. }
  16959. },
  16960. "erms3.SpotPointOrder": {
  16961. "type": "object",
  16962. "required": [
  16963. "basic",
  16964. "goodsid",
  16965. "qty"
  16966. ],
  16967. "properties": {
  16968. "basic": {
  16969. "description": "基差",
  16970. "type": "number"
  16971. },
  16972. "deliveryenddate": {
  16973. "description": "交收结束日期",
  16974. "type": "string"
  16975. },
  16976. "deliverystartdate": {
  16977. "description": "交收开始日期",
  16978. "type": "string"
  16979. },
  16980. "enddate": {
  16981. "description": "点价结束日期",
  16982. "type": "string"
  16983. },
  16984. "goodsid": {
  16985. "description": "商品ID",
  16986. "type": "integer"
  16987. },
  16988. "goodsname": {
  16989. "description": "商品名称",
  16990. "type": "string"
  16991. },
  16992. "qty": {
  16993. "description": "数量",
  16994. "type": "number"
  16995. },
  16996. "startdate": {
  16997. "description": "点价开始日期",
  16998. "type": "string"
  16999. }
  17000. }
  17001. },
  17002. "erms3.SpotPriceOrder": {
  17003. "type": "object",
  17004. "required": [
  17005. "amount",
  17006. "price",
  17007. "qty"
  17008. ],
  17009. "properties": {
  17010. "amount": {
  17011. "description": "金额",
  17012. "type": "number"
  17013. },
  17014. "deliveryenddate": {
  17015. "description": "交收结束日期",
  17016. "type": "string"
  17017. },
  17018. "deliverystartdate": {
  17019. "description": "交收开始日期",
  17020. "type": "string"
  17021. },
  17022. "price": {
  17023. "description": "价格",
  17024. "type": "number"
  17025. },
  17026. "qty": {
  17027. "description": "数量",
  17028. "type": "number"
  17029. }
  17030. }
  17031. },
  17032. "hsby.GetHsbyMyCountRsp": {
  17033. "type": "object",
  17034. "properties": {
  17035. "myCouponCount": {
  17036. "description": "我的优惠卷数量",
  17037. "type": "integer"
  17038. },
  17039. "myOrderDetailListingCount": {
  17040. "description": "我的订单求购中数量",
  17041. "type": "integer"
  17042. },
  17043. "myOrderDetailPreCount": {
  17044. "description": "我的订单抢购中数量",
  17045. "type": "integer"
  17046. },
  17047. "myPackageUnReceiveCount": {
  17048. "description": "我的包裹待收货数量",
  17049. "type": "integer"
  17050. },
  17051. "myPackageUnSendCount": {
  17052. "description": "我的包裹待发货数量",
  17053. "type": "integer"
  17054. },
  17055. "myPayOrderCount": {
  17056. "description": "我的订单待付款数量",
  17057. "type": "integer"
  17058. }
  17059. }
  17060. },
  17061. "hsby.QueryProvincesAndCitiesRsp": {
  17062. "type": "object",
  17063. "properties": {
  17064. "cities": {
  17065. "description": "市",
  17066. "type": "array",
  17067. "items": {
  17068. "$ref": "#/definitions/models.Division"
  17069. }
  17070. },
  17071. "province": {
  17072. "description": "省",
  17073. "type": "object",
  17074. "$ref": "#/definitions/models.Division"
  17075. }
  17076. }
  17077. },
  17078. "models.AreaSpotModel": {
  17079. "type": "object",
  17080. "properties": {
  17081. "areauserid": {
  17082. "description": "所属机构",
  17083. "type": "integer"
  17084. },
  17085. "decreaseqty": {
  17086. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17087. "type": "number"
  17088. },
  17089. "increaseqty": {
  17090. "description": "增加数量=销售计划数量+采购已定价数量",
  17091. "type": "number"
  17092. },
  17093. "oritoalspotqty": {
  17094. "description": "昨日数量",
  17095. "type": "number"
  17096. },
  17097. "totalspotqty": {
  17098. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17099. "type": "number"
  17100. },
  17101. "updatetime": {
  17102. "description": "更新时间",
  17103. "type": "string"
  17104. },
  17105. "wrstandardcode": {
  17106. "description": "现货品种代码",
  17107. "type": "string"
  17108. },
  17109. "wrstandardid": {
  17110. "description": "现货商品ID",
  17111. "type": "integer"
  17112. },
  17113. "wrstandardname": {
  17114. "description": "现货品种",
  17115. "type": "string"
  17116. }
  17117. }
  17118. },
  17119. "models.Arearole": {
  17120. "type": "object",
  17121. "required": [
  17122. "roletype",
  17123. "userid"
  17124. ],
  17125. "properties": {
  17126. "createtime": {
  17127. "description": "创建时间",
  17128. "type": "string"
  17129. },
  17130. "creatorid": {
  17131. "description": "创建人ID",
  17132. "type": "integer"
  17133. },
  17134. "fromuserid": {
  17135. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  17136. "type": "integer"
  17137. },
  17138. "isreturnscore": {
  17139. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  17140. "type": "integer"
  17141. },
  17142. "modifierid": {
  17143. "description": "修改人ID",
  17144. "type": "integer"
  17145. },
  17146. "modifytime": {
  17147. "description": "修改时间",
  17148. "type": "string"
  17149. },
  17150. "orgtype": {
  17151. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  17152. "type": "integer"
  17153. },
  17154. "outuserid": {
  17155. "description": "外部账户[场外期权做市商]",
  17156. "type": "string"
  17157. },
  17158. "parentuserid": {
  17159. "description": "上级组织机构(组织机构)",
  17160. "type": "integer"
  17161. },
  17162. "roletype": {
  17163. "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:门店",
  17164. "type": "integer"
  17165. },
  17166. "rootuserid": {
  17167. "description": "顶级组织机构用户ID(组织机构)",
  17168. "type": "integer"
  17169. },
  17170. "shoppassword": {
  17171. "description": "商城店铺登陆密码(商城店铺角色使用)",
  17172. "type": "string"
  17173. },
  17174. "sublevelpath": {
  17175. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  17176. "type": "string"
  17177. },
  17178. "suborgtype": {
  17179. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  17180. "type": "integer"
  17181. },
  17182. "tradeaccountid": {
  17183. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  17184. "type": "integer"
  17185. },
  17186. "transurl": {
  17187. "description": "物流地址(物流机构)",
  17188. "type": "string"
  17189. },
  17190. "userid": {
  17191. "description": "机构用户ID其他做市关系,都设置为 1",
  17192. "type": "integer"
  17193. }
  17194. }
  17195. },
  17196. "models.Clientfixedadconfig": {
  17197. "type": "object",
  17198. "required": [
  17199. "adsort",
  17200. "adtype"
  17201. ],
  17202. "properties": {
  17203. "adsort": {
  17204. "description": "排序",
  17205. "type": "integer"
  17206. },
  17207. "adtype": {
  17208. "description": "广告位类型 - 1:新品抢购(HSBY)",
  17209. "type": "integer"
  17210. },
  17211. "areauserid": {
  17212. "description": "所属机构ID",
  17213. "type": "integer"
  17214. },
  17215. "createdate": {
  17216. "description": "创建时间",
  17217. "type": "string"
  17218. },
  17219. "creatorid": {
  17220. "description": "创建人",
  17221. "type": "integer"
  17222. },
  17223. "imagepath": {
  17224. "description": "图片",
  17225. "type": "string"
  17226. },
  17227. "isshow": {
  17228. "description": "是否展示 - 0:不展示 1:展示",
  17229. "type": "integer"
  17230. },
  17231. "modifierid": {
  17232. "description": "操作人",
  17233. "type": "integer"
  17234. },
  17235. "recsize": {
  17236. "description": "推荐尺寸",
  17237. "type": "string"
  17238. },
  17239. "title": {
  17240. "description": "标题",
  17241. "type": "string"
  17242. },
  17243. "updatedate": {
  17244. "description": "更新时间",
  17245. "type": "string"
  17246. },
  17247. "urlcontent": {
  17248. "description": "链接(地址或商品ID)",
  17249. "type": "string"
  17250. },
  17251. "urltype": {
  17252. "description": "链接类型 - 1:直接地址 2:商品ID",
  17253. "type": "integer"
  17254. }
  17255. }
  17256. },
  17257. "models.Division": {
  17258. "type": "object",
  17259. "required": [
  17260. "autoid",
  17261. "divisioncode"
  17262. ],
  17263. "properties": {
  17264. "autoid": {
  17265. "description": "自增ID",
  17266. "type": "integer"
  17267. },
  17268. "divisioncode": {
  17269. "description": "行政代码",
  17270. "type": "string"
  17271. },
  17272. "divisionlevel": {
  17273. "description": "行政级别",
  17274. "type": "string"
  17275. },
  17276. "divisionname": {
  17277. "description": "行政名称",
  17278. "type": "string"
  17279. },
  17280. "modifierid": {
  17281. "description": "修改人",
  17282. "type": "integer"
  17283. },
  17284. "modifytime": {
  17285. "description": "修改时间",
  17286. "type": "string"
  17287. },
  17288. "parentcode": {
  17289. "description": "上级行政代码",
  17290. "type": "string"
  17291. },
  17292. "pathname": {
  17293. "description": "路径名称",
  17294. "type": "string"
  17295. },
  17296. "postcode": {
  17297. "description": "邮政编码",
  17298. "type": "string"
  17299. },
  17300. "separablename": {
  17301. "description": "可拆分的全称",
  17302. "type": "string"
  17303. },
  17304. "shortcode": {
  17305. "description": "地区简码",
  17306. "type": "string"
  17307. }
  17308. }
  17309. },
  17310. "models.Enumdicitem": {
  17311. "type": "object",
  17312. "required": [
  17313. "autoid",
  17314. "enumdiccode",
  17315. "enumdicid",
  17316. "enumitemname"
  17317. ],
  17318. "properties": {
  17319. "autoid": {
  17320. "description": "自增ID",
  17321. "type": "integer"
  17322. },
  17323. "bankmappedvalue": {
  17324. "description": "银行服务对应值",
  17325. "type": "string"
  17326. },
  17327. "enumdiccode": {
  17328. "description": "所属枚举代码",
  17329. "type": "string"
  17330. },
  17331. "enumdicid": {
  17332. "description": "所属枚举ID",
  17333. "type": "integer"
  17334. },
  17335. "enumdicname": {
  17336. "description": "枚举项名称",
  17337. "type": "string"
  17338. },
  17339. "enumitemname": {
  17340. "description": "枚举项值",
  17341. "type": "integer"
  17342. },
  17343. "enumitemstatus": {
  17344. "description": "枚举项状态 - 1.启用 2.不启用",
  17345. "type": "integer"
  17346. },
  17347. "enumitemvalue": {
  17348. "description": "通用值 - [币种通用简写]",
  17349. "type": "string"
  17350. },
  17351. "param1": {
  17352. "description": "参数1[币种:币种小数位]",
  17353. "type": "string"
  17354. },
  17355. "param2": {
  17356. "description": "参数1[币种:币种显示单位]",
  17357. "type": "string"
  17358. },
  17359. "remark": {
  17360. "description": "备注",
  17361. "type": "string"
  17362. }
  17363. }
  17364. },
  17365. "models.Ermcp3AreaSpot": {
  17366. "type": "object",
  17367. "properties": {
  17368. "areauserid": {
  17369. "description": "所属机构",
  17370. "type": "integer"
  17371. },
  17372. "decreaseqty": {
  17373. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17374. "type": "number"
  17375. },
  17376. "deliverygoodscode": {
  17377. "description": "现货品种代码",
  17378. "type": "string"
  17379. },
  17380. "deliverygoodsid": {
  17381. "description": "现货品种id",
  17382. "type": "integer"
  17383. },
  17384. "deliverygoodsname": {
  17385. "description": "现货品种名称",
  17386. "type": "string"
  17387. },
  17388. "enumdicname": {
  17389. "description": "单位名称",
  17390. "type": "string"
  17391. },
  17392. "goodsunitid": {
  17393. "description": "现货品种单位id",
  17394. "type": "integer"
  17395. },
  17396. "increaseqty": {
  17397. "description": "增加数量=销售计划数量+采购已定价数量",
  17398. "type": "number"
  17399. },
  17400. "oritoalspotqty": {
  17401. "description": "昨日数量",
  17402. "type": "number"
  17403. },
  17404. "totalspotqty": {
  17405. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17406. "type": "number"
  17407. },
  17408. "updatetime": {
  17409. "description": "更新时间",
  17410. "type": "string"
  17411. }
  17412. }
  17413. },
  17414. "models.Ermcp3AreaSpotDetail": {
  17415. "type": "object",
  17416. "properties": {
  17417. "contracttype": {
  17418. "description": "合同类型 1-采购 -1-销售",
  17419. "type": "integer"
  17420. },
  17421. "createtime": {
  17422. "description": "创建时间",
  17423. "type": "string"
  17424. },
  17425. "deliverygoodscode": {
  17426. "description": "现货品种代码",
  17427. "type": "string"
  17428. },
  17429. "deliverygoodsid": {
  17430. "description": "现货品种id",
  17431. "type": "integer"
  17432. },
  17433. "deliverygoodsname": {
  17434. "description": "现货品种名称",
  17435. "type": "string"
  17436. },
  17437. "enumdicname": {
  17438. "description": "现货商品单位名称",
  17439. "type": "string"
  17440. },
  17441. "logtype": {
  17442. "description": "记录类型 1-套保 2-现货合同",
  17443. "type": "integer"
  17444. },
  17445. "qty": {
  17446. "description": "数量",
  17447. "type": "number"
  17448. },
  17449. "recordname": {
  17450. "description": "类型名称",
  17451. "type": "string"
  17452. },
  17453. "relatedid": {
  17454. "description": "套保计划ID/现货合同ID",
  17455. "type": "string"
  17456. },
  17457. "relatedno": {
  17458. "description": "编号",
  17459. "type": "string"
  17460. },
  17461. "strtime": {
  17462. "description": "时间",
  17463. "type": "string"
  17464. }
  17465. }
  17466. },
  17467. "models.Ermcp3AreaSpotPLReport": {
  17468. "type": "object",
  17469. "properties": {
  17470. "accountid": {
  17471. "description": "期货账户ID (作废, 默认为0)",
  17472. "type": "integer"
  17473. },
  17474. "accountname": {
  17475. "description": "机构名称",
  17476. "type": "string"
  17477. },
  17478. "actualpl": {
  17479. "description": "现货损益",
  17480. "type": "number"
  17481. },
  17482. "areauserid": {
  17483. "description": "所属机构\\交易用户ID",
  17484. "type": "integer"
  17485. },
  17486. "begindate": {
  17487. "description": "开始交易日",
  17488. "type": "string"
  17489. },
  17490. "biztype": {
  17491. "description": "业务类型 - 1:套保 2:套利",
  17492. "type": "integer"
  17493. },
  17494. "brandname": {
  17495. "description": "品牌名称",
  17496. "type": "string"
  17497. },
  17498. "curamount": {
  17499. "description": "期末额",
  17500. "type": "number"
  17501. },
  17502. "curaverageprice": {
  17503. "description": "期末均价",
  17504. "type": "number"
  17505. },
  17506. "curbuyamount": {
  17507. "description": "期末采购总额",
  17508. "type": "number"
  17509. },
  17510. "curbuyqty": {
  17511. "description": "期末采购总量",
  17512. "type": "number"
  17513. },
  17514. "curmarketvalue": {
  17515. "description": "参考市值(期末市值)",
  17516. "type": "number"
  17517. },
  17518. "curqty": {
  17519. "description": "期末量",
  17520. "type": "number"
  17521. },
  17522. "currencyid": {
  17523. "description": "结算币种ID【原值】",
  17524. "type": "integer"
  17525. },
  17526. "currencyname": {
  17527. "description": "币种名称",
  17528. "type": "string"
  17529. },
  17530. "cursellamount": {
  17531. "description": "期末销售总额",
  17532. "type": "number"
  17533. },
  17534. "cursellqty": {
  17535. "description": "期末销售总量",
  17536. "type": "number"
  17537. },
  17538. "curspotprice": {
  17539. "description": "参考市价(最新价)",
  17540. "type": "number"
  17541. },
  17542. "cycletime": {
  17543. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17544. "type": "string"
  17545. },
  17546. "cycletype": {
  17547. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17548. "type": "integer"
  17549. },
  17550. "deliverygoodscode": {
  17551. "description": "现货商品代码",
  17552. "type": "string"
  17553. },
  17554. "deliverygoodsid": {
  17555. "description": "现货品种ID",
  17556. "type": "integer"
  17557. },
  17558. "deliverygoodsname": {
  17559. "description": "现货商品名称",
  17560. "type": "string"
  17561. },
  17562. "enddate": {
  17563. "description": "结束交易日",
  17564. "type": "string"
  17565. },
  17566. "enumdicname": {
  17567. "description": "现货商品单位名称",
  17568. "type": "string"
  17569. },
  17570. "floatpl": {
  17571. "description": "浮动损益",
  17572. "type": "number"
  17573. },
  17574. "goodsunitid": {
  17575. "description": "现货商品单位id",
  17576. "type": "integer"
  17577. },
  17578. "oriamount": {
  17579. "description": "期初额",
  17580. "type": "number"
  17581. },
  17582. "oriaverageprice": {
  17583. "description": "期初均价",
  17584. "type": "number"
  17585. },
  17586. "oribuyamount": {
  17587. "description": "期初采购总额",
  17588. "type": "number"
  17589. },
  17590. "oribuyqty": {
  17591. "description": "期初采购总量",
  17592. "type": "number"
  17593. },
  17594. "oriqty": {
  17595. "description": "期初量",
  17596. "type": "number"
  17597. },
  17598. "orisellamount": {
  17599. "description": "期初销售总额",
  17600. "type": "number"
  17601. },
  17602. "orisellqty": {
  17603. "description": "期初销售总量",
  17604. "type": "number"
  17605. },
  17606. "reckondate": {
  17607. "description": "日照时期(yyyyMMdd)",
  17608. "type": "string"
  17609. },
  17610. "spotgoodsbrandid": {
  17611. "description": "现货品牌ID",
  17612. "type": "integer"
  17613. },
  17614. "todaybuyamount": {
  17615. "description": "今日采购额(今采购额)",
  17616. "type": "number"
  17617. },
  17618. "todaybuyaverageprice": {
  17619. "description": "今日采购均价",
  17620. "type": "number"
  17621. },
  17622. "todaybuyqty": {
  17623. "description": "今日采购量(今采购量)",
  17624. "type": "number"
  17625. },
  17626. "todayinqty": {
  17627. "description": "今日入库量(今入库量)",
  17628. "type": "number"
  17629. },
  17630. "todayoutqty": {
  17631. "description": "今日出库量(今出库量)",
  17632. "type": "number"
  17633. },
  17634. "todaysellamount": {
  17635. "description": "今日销售额(今销售额)",
  17636. "type": "number"
  17637. },
  17638. "todaysellaverageprice": {
  17639. "description": "今日销售均价",
  17640. "type": "number"
  17641. },
  17642. "todaysellqty": {
  17643. "description": "今日销售量(今销售量)",
  17644. "type": "number"
  17645. },
  17646. "unitid": {
  17647. "description": "品类单位id",
  17648. "type": "integer"
  17649. },
  17650. "unitidname": {
  17651. "description": "品类单位名称",
  17652. "type": "string"
  17653. },
  17654. "updatetime": {
  17655. "description": "更新时间",
  17656. "type": "string"
  17657. },
  17658. "wrfactortypeid": {
  17659. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17660. "type": "integer"
  17661. },
  17662. "wrstandardcode": {
  17663. "description": "品类代码",
  17664. "type": "string"
  17665. },
  17666. "wrstandardid": {
  17667. "description": "现货品类ID",
  17668. "type": "integer"
  17669. },
  17670. "wrstandardname": {
  17671. "description": "品类名称",
  17672. "type": "string"
  17673. }
  17674. }
  17675. },
  17676. "models.Ermcp3AreaStock": {
  17677. "type": "object",
  17678. "required": [
  17679. "userid"
  17680. ],
  17681. "properties": {
  17682. "brandname": {
  17683. "description": "品牌名称",
  17684. "type": "string"
  17685. },
  17686. "curstock": {
  17687. "description": "期末库存量(今日量)",
  17688. "type": "number"
  17689. },
  17690. "deliverygoodscode": {
  17691. "description": "现货品种代码",
  17692. "type": "string"
  17693. },
  17694. "deliverygoodsid": {
  17695. "description": "现货品种id",
  17696. "type": "integer"
  17697. },
  17698. "deliverygoodsname": {
  17699. "description": "现货品种名称",
  17700. "type": "string"
  17701. },
  17702. "enumdicname": {
  17703. "description": "单位名称",
  17704. "type": "string"
  17705. },
  17706. "goodsunitid": {
  17707. "description": "现货商品单位id",
  17708. "type": "integer"
  17709. },
  17710. "oristock": {
  17711. "description": "期初库存量(昨日量)",
  17712. "type": "number"
  17713. },
  17714. "spotgoodsbrandid": {
  17715. "description": "现货品牌ID",
  17716. "type": "integer"
  17717. },
  17718. "todaybuyinqty": {
  17719. "description": "今日采购入库量",
  17720. "type": "number"
  17721. },
  17722. "todayproduceinqty": {
  17723. "description": "今日生产入库量",
  17724. "type": "number"
  17725. },
  17726. "todayproduceoutqty": {
  17727. "description": "今日生产出库量",
  17728. "type": "number"
  17729. },
  17730. "todayselloutqty": {
  17731. "description": "今日销售出库量",
  17732. "type": "number"
  17733. },
  17734. "unitid": {
  17735. "description": "单位id",
  17736. "type": "integer"
  17737. },
  17738. "updatetime": {
  17739. "description": "更新时间",
  17740. "type": "string"
  17741. },
  17742. "userid": {
  17743. "description": "机构ID",
  17744. "type": "integer"
  17745. },
  17746. "username": {
  17747. "description": "机构名称",
  17748. "type": "string"
  17749. },
  17750. "warehousecode": {
  17751. "description": "仓库代码",
  17752. "type": "string"
  17753. },
  17754. "warehouseinfoid": {
  17755. "description": "仓库ID",
  17756. "type": "string"
  17757. },
  17758. "warehousename": {
  17759. "description": "仓库名称",
  17760. "type": "string"
  17761. },
  17762. "warehousetype": {
  17763. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17764. "type": "integer"
  17765. },
  17766. "wrstandardcode": {
  17767. "description": "品类代码",
  17768. "type": "string"
  17769. },
  17770. "wrstandardid": {
  17771. "description": "品类ID",
  17772. "type": "string"
  17773. },
  17774. "wrstandardname": {
  17775. "description": "品类名称",
  17776. "type": "string"
  17777. }
  17778. }
  17779. },
  17780. "models.Ermcp3AreaStockApply": {
  17781. "type": "object",
  17782. "properties": {
  17783. "applyid": {
  17784. "description": "申请人",
  17785. "type": "integer"
  17786. },
  17787. "applyname": {
  17788. "description": "申请人名称",
  17789. "type": "string"
  17790. },
  17791. "applyremark": {
  17792. "description": "申请备注",
  17793. "type": "string"
  17794. },
  17795. "applysrc": {
  17796. "description": "申请来源 - 1:管理端 2:终端",
  17797. "type": "integer"
  17798. },
  17799. "applystatus": {
  17800. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17801. "type": "integer"
  17802. },
  17803. "applytime": {
  17804. "description": "申请时间",
  17805. "type": "string"
  17806. },
  17807. "auditid": {
  17808. "description": "审核人",
  17809. "type": "integer"
  17810. },
  17811. "auditname": {
  17812. "description": "审核人名称",
  17813. "type": "string"
  17814. },
  17815. "auditremark": {
  17816. "description": "审核备注",
  17817. "type": "string"
  17818. },
  17819. "auditsrc": {
  17820. "description": "审核来源 - 1:管理端 2:终端",
  17821. "type": "integer"
  17822. },
  17823. "audittime": {
  17824. "description": "审核时间",
  17825. "type": "string"
  17826. },
  17827. "audittradedate": {
  17828. "description": "审核交易日(yyyyMMdd)",
  17829. "type": "string"
  17830. },
  17831. "brandname": {
  17832. "description": "品牌名称",
  17833. "type": "string"
  17834. },
  17835. "buynickname": {
  17836. "description": "采购方昵称",
  17837. "type": "string"
  17838. },
  17839. "buyuserid": {
  17840. "description": "采购方userid",
  17841. "type": "integer"
  17842. },
  17843. "buyusername": {
  17844. "description": "采购方名称",
  17845. "type": "string"
  17846. },
  17847. "contractno": {
  17848. "description": "合同编号",
  17849. "type": "string"
  17850. },
  17851. "contractqty": {
  17852. "description": "合同量",
  17853. "type": "number"
  17854. },
  17855. "contracttype": {
  17856. "description": "现货合同类型 - 1:采购 -1:销售",
  17857. "type": "integer"
  17858. },
  17859. "deliverygoodscode": {
  17860. "description": "现货品种代码",
  17861. "type": "string"
  17862. },
  17863. "deliverygoodsid": {
  17864. "description": "现货品种id",
  17865. "type": "integer"
  17866. },
  17867. "deliverygoodsname": {
  17868. "description": "现货品种名称",
  17869. "type": "string"
  17870. },
  17871. "detailjson": {
  17872. "description": "明细数据",
  17873. "type": "string"
  17874. },
  17875. "enumdicname": {
  17876. "description": "现货商品单位名称",
  17877. "type": "string"
  17878. },
  17879. "inoutapplyid": {
  17880. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17881. "type": "string"
  17882. },
  17883. "inouttype": {
  17884. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17885. "type": "integer"
  17886. },
  17887. "pricetype": {
  17888. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17889. "type": "integer"
  17890. },
  17891. "qty": {
  17892. "description": "数量",
  17893. "type": "number"
  17894. },
  17895. "sellnickname": {
  17896. "description": "销售方昵称",
  17897. "type": "string"
  17898. },
  17899. "selluserid": {
  17900. "description": "销售方userid",
  17901. "type": "integer"
  17902. },
  17903. "sellusername": {
  17904. "description": "销售方名称",
  17905. "type": "string"
  17906. },
  17907. "spotcontractid": {
  17908. "description": "关联现货合同ID",
  17909. "type": "string"
  17910. },
  17911. "spotgoodsbrandid": {
  17912. "description": "现货品牌ID",
  17913. "type": "integer"
  17914. },
  17915. "unitid": {
  17916. "description": "单位id",
  17917. "type": "integer"
  17918. },
  17919. "userid": {
  17920. "description": "机构ID",
  17921. "type": "integer"
  17922. },
  17923. "warehousecode": {
  17924. "description": "仓库代码",
  17925. "type": "string"
  17926. },
  17927. "warehouseinfoid": {
  17928. "description": "现货仓库ID",
  17929. "type": "string"
  17930. },
  17931. "warehousename": {
  17932. "description": "仓库名称",
  17933. "type": "string"
  17934. },
  17935. "warehousetype": {
  17936. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17937. "type": "integer"
  17938. },
  17939. "wrstandardcode": {
  17940. "description": "品类代码",
  17941. "type": "string"
  17942. },
  17943. "wrstandardid": {
  17944. "description": "品类ID",
  17945. "type": "integer"
  17946. },
  17947. "wrstandardname": {
  17948. "description": "品类名称",
  17949. "type": "string"
  17950. }
  17951. }
  17952. },
  17953. "models.Ermcp3AreaStockApplySum": {
  17954. "type": "object",
  17955. "properties": {
  17956. "brandname": {
  17957. "description": "品牌名称",
  17958. "type": "string"
  17959. },
  17960. "inouttype": {
  17961. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17962. "type": "integer"
  17963. },
  17964. "spotcontractid": {
  17965. "description": "关联现货合同ID",
  17966. "type": "string"
  17967. },
  17968. "spotgoodsbrandid": {
  17969. "description": "品牌id",
  17970. "type": "integer"
  17971. },
  17972. "totalqty": {
  17973. "description": "总数量",
  17974. "type": "number"
  17975. },
  17976. "wrstandardid": {
  17977. "description": "品类id",
  17978. "type": "integer"
  17979. },
  17980. "wrstandardname": {
  17981. "description": "品类名称",
  17982. "type": "string"
  17983. }
  17984. }
  17985. },
  17986. "models.Ermcp3AreaStockReportEx": {
  17987. "type": "object",
  17988. "properties": {
  17989. "begindate": {
  17990. "description": "开始交易日",
  17991. "type": "string"
  17992. },
  17993. "brandname": {
  17994. "description": "品牌名称",
  17995. "type": "string"
  17996. },
  17997. "curstock": {
  17998. "description": "期末库存量",
  17999. "type": "number"
  18000. },
  18001. "cycletime": {
  18002. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18003. "type": "string"
  18004. },
  18005. "cycletype": {
  18006. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18007. "type": "integer"
  18008. },
  18009. "deliverygoodscode": {
  18010. "description": "现货品种代码",
  18011. "type": "string"
  18012. },
  18013. "deliverygoodsid": {
  18014. "description": "现货品种id",
  18015. "type": "integer"
  18016. },
  18017. "deliverygoodsname": {
  18018. "description": "现货品种名称",
  18019. "type": "string"
  18020. },
  18021. "diffqty": {
  18022. "description": "库存变化量 = 期末 - 期初",
  18023. "type": "number"
  18024. },
  18025. "enddate": {
  18026. "description": "结束交易日",
  18027. "type": "string"
  18028. },
  18029. "enumdicname": {
  18030. "description": "单位名称",
  18031. "type": "string"
  18032. },
  18033. "goodsunitid": {
  18034. "description": "现货单位id",
  18035. "type": "integer"
  18036. },
  18037. "oristock": {
  18038. "description": "期初库存量",
  18039. "type": "number"
  18040. },
  18041. "reckondate": {
  18042. "description": "日照时期(yyyyMMdd)",
  18043. "type": "string"
  18044. },
  18045. "spotgoodsbrandid": {
  18046. "description": "现货品牌ID",
  18047. "type": "integer"
  18048. },
  18049. "todaybuyinqty": {
  18050. "description": "今采购入库量",
  18051. "type": "number"
  18052. },
  18053. "todayproduceinqty": {
  18054. "description": "今内部入库量",
  18055. "type": "number"
  18056. },
  18057. "todayproduceoutqty": {
  18058. "description": "今内部出库量",
  18059. "type": "number"
  18060. },
  18061. "todayselloutqty": {
  18062. "description": "今销售出库量",
  18063. "type": "number"
  18064. },
  18065. "unbuyinqty": {
  18066. "description": "采购未入库量(数据库未找到相关字段?)",
  18067. "type": "number"
  18068. },
  18069. "unitid": {
  18070. "description": "品类单位id",
  18071. "type": "integer"
  18072. },
  18073. "unselloutqty": {
  18074. "description": "销售未出库量(数据库未找到相关字段?)",
  18075. "type": "number"
  18076. },
  18077. "updatetime": {
  18078. "description": "更新时间",
  18079. "type": "string"
  18080. },
  18081. "userid": {
  18082. "description": "机构ID",
  18083. "type": "integer"
  18084. },
  18085. "username": {
  18086. "description": "机构名称",
  18087. "type": "string"
  18088. },
  18089. "warehousecode": {
  18090. "description": "仓库代码",
  18091. "type": "string"
  18092. },
  18093. "warehouseinfoid": {
  18094. "description": "仓库ID",
  18095. "type": "string"
  18096. },
  18097. "warehousename": {
  18098. "description": "仓库名称",
  18099. "type": "string"
  18100. },
  18101. "warehousetype": {
  18102. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18103. "type": "integer"
  18104. },
  18105. "wrstandardcode": {
  18106. "description": "品类代码",
  18107. "type": "string"
  18108. },
  18109. "wrstandardid": {
  18110. "description": "品类ID",
  18111. "type": "integer"
  18112. },
  18113. "wrstandardname": {
  18114. "description": "品类名称",
  18115. "type": "string"
  18116. }
  18117. }
  18118. },
  18119. "models.Ermcp3ArealSumPL": {
  18120. "type": "object",
  18121. "properties": {
  18122. "accountname": {
  18123. "description": "机构名称",
  18124. "type": "string"
  18125. },
  18126. "areauserid": {
  18127. "description": "所属机构\\交易用户ID",
  18128. "type": "integer"
  18129. },
  18130. "begindate": {
  18131. "description": "开始交易日",
  18132. "type": "string"
  18133. },
  18134. "currencyid": {
  18135. "description": "结算币种ID",
  18136. "type": "integer"
  18137. },
  18138. "currencyname": {
  18139. "description": "币种名称",
  18140. "type": "string"
  18141. },
  18142. "cycletime": {
  18143. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18144. "type": "string"
  18145. },
  18146. "cycletype": {
  18147. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18148. "type": "integer"
  18149. },
  18150. "enddate": {
  18151. "description": "结束交易日",
  18152. "type": "string"
  18153. },
  18154. "enumdicname": {
  18155. "description": "单位名称(套保品种)",
  18156. "type": "string"
  18157. },
  18158. "futureactualpl": {
  18159. "description": "期货损益",
  18160. "type": "number"
  18161. },
  18162. "futurefloatpl": {
  18163. "description": "期货浮动损益",
  18164. "type": "number"
  18165. },
  18166. "goodsunitid": {
  18167. "description": "套保品种单位id",
  18168. "type": "integer"
  18169. },
  18170. "middlegoodscode": {
  18171. "description": "套保品种代码",
  18172. "type": "string"
  18173. },
  18174. "middlegoodsid": {
  18175. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18176. "type": "integer"
  18177. },
  18178. "middlegoodsname": {
  18179. "description": "套保品种名称",
  18180. "type": "string"
  18181. },
  18182. "reckondate": {
  18183. "description": "日照时期(yyyyMMdd)",
  18184. "type": "string"
  18185. },
  18186. "spotactualpl": {
  18187. "description": "现货损益",
  18188. "type": "number"
  18189. },
  18190. "spotfloatpl": {
  18191. "description": "现货浮动损益",
  18192. "type": "number"
  18193. },
  18194. "sumactualpl": {
  18195. "description": "实际损益 = (ActualPL + FutureActualPL)",
  18196. "type": "number"
  18197. },
  18198. "sumpl": {
  18199. "description": "汇总损益",
  18200. "type": "number"
  18201. },
  18202. "updatetime": {
  18203. "description": "更新时间",
  18204. "type": "string"
  18205. }
  18206. }
  18207. },
  18208. "models.Ermcp3Brand": {
  18209. "type": "object",
  18210. "properties": {
  18211. "areauserid": {
  18212. "description": "用户id",
  18213. "type": "integer"
  18214. },
  18215. "brandid": {
  18216. "description": "品牌id",
  18217. "type": "integer"
  18218. },
  18219. "brandname": {
  18220. "description": "品牌名称",
  18221. "type": "string"
  18222. },
  18223. "deliverygoodsid": {
  18224. "description": "品种ID",
  18225. "type": "integer"
  18226. }
  18227. }
  18228. },
  18229. "models.Ermcp3Contract": {
  18230. "type": "object",
  18231. "properties": {
  18232. "accountid": {
  18233. "description": "期货账户id",
  18234. "type": "string"
  18235. },
  18236. "amount": {
  18237. "description": "金额 [1:一口价、3:暂定价]",
  18238. "type": "number"
  18239. },
  18240. "attachment": {
  18241. "description": "附件",
  18242. "type": "string"
  18243. },
  18244. "auditremark": {
  18245. "description": "审核意见",
  18246. "type": "string"
  18247. },
  18248. "audittime": {
  18249. "description": "审核时间",
  18250. "type": "string"
  18251. },
  18252. "biztype": {
  18253. "description": "业务类型 1-套保 2-套利",
  18254. "type": "integer"
  18255. },
  18256. "brandname": {
  18257. "description": "品牌名称",
  18258. "type": "string"
  18259. },
  18260. "buynickname": {
  18261. "description": "销售方昵称",
  18262. "type": "string"
  18263. },
  18264. "buyuserid": {
  18265. "description": "采购方ID",
  18266. "type": "integer"
  18267. },
  18268. "buyusername": {
  18269. "description": "采购方名称",
  18270. "type": "string"
  18271. },
  18272. "contracctstatus": {
  18273. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18274. "type": "integer"
  18275. },
  18276. "contractmargin": {
  18277. "description": "合同保证金",
  18278. "type": "number"
  18279. },
  18280. "contractno": {
  18281. "description": "现货合同编号",
  18282. "type": "string"
  18283. },
  18284. "contracttype": {
  18285. "description": "现货合同类型 - 1:采购 -1:销售",
  18286. "type": "integer"
  18287. },
  18288. "convertfactor": {
  18289. "description": "标仓系数(品类)",
  18290. "type": "number"
  18291. },
  18292. "createtime": {
  18293. "description": "创建时间",
  18294. "type": "string"
  18295. },
  18296. "currencyid": {
  18297. "description": "币种id",
  18298. "type": "integer"
  18299. },
  18300. "currencyname": {
  18301. "description": "币种名称",
  18302. "type": "string"
  18303. },
  18304. "deliveryenddate": {
  18305. "description": "交收期(结束)",
  18306. "type": "string"
  18307. },
  18308. "deliverygoodscode": {
  18309. "description": "现货品种代码",
  18310. "type": "string"
  18311. },
  18312. "deliverygoodsid": {
  18313. "description": "现货品种ID",
  18314. "type": "integer"
  18315. },
  18316. "deliverygoodsname": {
  18317. "description": "现货品种名称",
  18318. "type": "string"
  18319. },
  18320. "deliverystartdate": {
  18321. "description": "交收期(开始)",
  18322. "type": "string"
  18323. },
  18324. "enddate": {
  18325. "description": "点价结束日期 [2:点价 3:暂定价]",
  18326. "type": "string"
  18327. },
  18328. "enumdicname": {
  18329. "description": "单位名称",
  18330. "type": "string"
  18331. },
  18332. "goodscode": {
  18333. "description": "点价合约代码",
  18334. "type": "string"
  18335. },
  18336. "goodsid": {
  18337. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18338. "type": "integer"
  18339. },
  18340. "goodsname": {
  18341. "description": "点价商品名称",
  18342. "type": "string"
  18343. },
  18344. "margin": {
  18345. "description": "当前保证金",
  18346. "type": "number"
  18347. },
  18348. "meruserid": {
  18349. "description": "跟单员id",
  18350. "type": "integer"
  18351. },
  18352. "meruserlogincode": {
  18353. "description": "跟单员登录代码",
  18354. "type": "string"
  18355. },
  18356. "merusername": {
  18357. "description": "跟单员名称",
  18358. "type": "string"
  18359. },
  18360. "price": {
  18361. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18362. "type": "number"
  18363. },
  18364. "pricemove": {
  18365. "description": "升贴水 [2:点价 3:暂定价]",
  18366. "type": "number"
  18367. },
  18368. "pricetype": {
  18369. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18370. "type": "integer"
  18371. },
  18372. "producttype": {
  18373. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18374. "type": "integer"
  18375. },
  18376. "qty": {
  18377. "description": "数量",
  18378. "type": "number"
  18379. },
  18380. "remark": {
  18381. "description": "备注",
  18382. "type": "string"
  18383. },
  18384. "saleuserid": {
  18385. "description": "业务员id",
  18386. "type": "integer"
  18387. },
  18388. "saleuserlogincode": {
  18389. "description": "业务员登录代码",
  18390. "type": "string"
  18391. },
  18392. "saleusername": {
  18393. "description": "业务员名称",
  18394. "type": "string"
  18395. },
  18396. "sellnickname": {
  18397. "description": "采购方昵称",
  18398. "type": "string"
  18399. },
  18400. "selluserid": {
  18401. "description": "销售方ID",
  18402. "type": "integer"
  18403. },
  18404. "sellusername": {
  18405. "description": "销售方名称",
  18406. "type": "string"
  18407. },
  18408. "spotcontractid": {
  18409. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18410. "type": "string"
  18411. },
  18412. "spotgoodsbrandid": {
  18413. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18414. "type": "integer"
  18415. },
  18416. "spotgoodsdesc": {
  18417. "description": "商品型号",
  18418. "type": "string"
  18419. },
  18420. "startdate": {
  18421. "description": "点价开始日期 [2:点价 3:暂定价]",
  18422. "type": "string"
  18423. },
  18424. "subjectid": {
  18425. "description": "交易主体ID",
  18426. "type": "string"
  18427. },
  18428. "subjectname": {
  18429. "description": "交易主体名称",
  18430. "type": "string"
  18431. },
  18432. "tradeuserid": {
  18433. "description": "交易员id",
  18434. "type": "integer"
  18435. },
  18436. "tradeuserlogincode": {
  18437. "description": "交易员登录代码",
  18438. "type": "string"
  18439. },
  18440. "tradeusername": {
  18441. "description": "交易员名称",
  18442. "type": "string"
  18443. },
  18444. "unitid": {
  18445. "description": "单位id(取品类上的单位id)",
  18446. "type": "integer"
  18447. },
  18448. "updatetime": {
  18449. "description": "更新时间",
  18450. "type": "string"
  18451. },
  18452. "userid": {
  18453. "description": "所属机构ID",
  18454. "type": "integer"
  18455. },
  18456. "wrstandardcode": {
  18457. "description": "品类代码",
  18458. "type": "string"
  18459. },
  18460. "wrstandardid": {
  18461. "description": "品类ID",
  18462. "type": "integer"
  18463. },
  18464. "wrstandardname": {
  18465. "description": "品类名称",
  18466. "type": "string"
  18467. }
  18468. }
  18469. },
  18470. "models.Ermcp3ExposureContractDetail": {
  18471. "type": "object",
  18472. "properties": {
  18473. "biztype": {
  18474. "description": "业务类型 1-套保 2-套利",
  18475. "type": "integer"
  18476. },
  18477. "brandname": {
  18478. "description": "品牌名称",
  18479. "type": "string"
  18480. },
  18481. "buyuserid": {
  18482. "description": "采购方id",
  18483. "type": "integer"
  18484. },
  18485. "buyusername": {
  18486. "description": "采购方名称",
  18487. "type": "string"
  18488. },
  18489. "contractno": {
  18490. "description": "合同编号",
  18491. "type": "string"
  18492. },
  18493. "contracttype": {
  18494. "description": "现货合同类型 - 1:采购 -1:销售",
  18495. "type": "integer"
  18496. },
  18497. "convertfactor": {
  18498. "description": "标仓系数",
  18499. "type": "number"
  18500. },
  18501. "convertratio": {
  18502. "description": "折算系数(套保品种)",
  18503. "type": "number"
  18504. },
  18505. "curqty": {
  18506. "description": "今定价量",
  18507. "type": "number"
  18508. },
  18509. "deliverygoodscode": {
  18510. "description": "现货商品代码",
  18511. "type": "string"
  18512. },
  18513. "deliverygoodsid": {
  18514. "description": "现货商品id",
  18515. "type": "integer"
  18516. },
  18517. "deliverygoodsname": {
  18518. "description": "现货商品名称",
  18519. "type": "string"
  18520. },
  18521. "diffhedgeqty": {
  18522. "description": "套保变动量",
  18523. "type": "number"
  18524. },
  18525. "diffneedhedgeqty": {
  18526. "description": "应套保变动量",
  18527. "type": "number"
  18528. },
  18529. "diffqty": {
  18530. "description": "套保品种今变动量",
  18531. "type": "number"
  18532. },
  18533. "enumdicname": {
  18534. "description": "单位名称",
  18535. "type": "string"
  18536. },
  18537. "mgunitname": {
  18538. "description": "套保品种单位名称",
  18539. "type": "string"
  18540. },
  18541. "middlegoodscode": {
  18542. "description": "套保品种代码",
  18543. "type": "string"
  18544. },
  18545. "middlegoodsid": {
  18546. "description": "套保品种id",
  18547. "type": "integer"
  18548. },
  18549. "middlegoodsname": {
  18550. "description": "套保品种名称",
  18551. "type": "string"
  18552. },
  18553. "needarbitrageratio": {
  18554. "description": "应套利比例",
  18555. "type": "number"
  18556. },
  18557. "needhedgeratio": {
  18558. "description": "应套保比例",
  18559. "type": "number"
  18560. },
  18561. "pricedqty": {
  18562. "description": "已定价量",
  18563. "type": "number"
  18564. },
  18565. "qty": {
  18566. "description": "合同量",
  18567. "type": "number"
  18568. },
  18569. "selluserid": {
  18570. "description": "销售方id",
  18571. "type": "integer"
  18572. },
  18573. "sellusername": {
  18574. "description": "销售方名称",
  18575. "type": "string"
  18576. },
  18577. "spotcontractid": {
  18578. "description": "合同id",
  18579. "type": "string"
  18580. },
  18581. "todaypricedqty": {
  18582. "description": "今定价量",
  18583. "type": "number"
  18584. },
  18585. "tradedate": {
  18586. "description": "交易日",
  18587. "type": "string"
  18588. },
  18589. "unitid": {
  18590. "description": "品类单位id",
  18591. "type": "integer"
  18592. },
  18593. "userid": {
  18594. "description": "机构id",
  18595. "type": "integer"
  18596. },
  18597. "username": {
  18598. "description": "交易用户",
  18599. "type": "string"
  18600. },
  18601. "wrstandardcode": {
  18602. "description": "品类代码",
  18603. "type": "string"
  18604. },
  18605. "wrstandardid": {
  18606. "description": "品类id",
  18607. "type": "integer"
  18608. },
  18609. "wrstandardname": {
  18610. "description": "品类名称",
  18611. "type": "string"
  18612. }
  18613. }
  18614. },
  18615. "models.Ermcp3ExposureDetail": {
  18616. "type": "object",
  18617. "properties": {
  18618. "areauserid": {
  18619. "description": "机构ID",
  18620. "type": "integer"
  18621. },
  18622. "changeQty": {
  18623. "description": "套保变动量",
  18624. "type": "number"
  18625. },
  18626. "contracttype": {
  18627. "description": "现货合同类型 - 1:采购 -1:销售",
  18628. "type": "integer"
  18629. },
  18630. "convertfactor": {
  18631. "description": "标仓系数",
  18632. "type": "number"
  18633. },
  18634. "convertratio": {
  18635. "description": "套保系数",
  18636. "type": "number"
  18637. },
  18638. "createtime": {
  18639. "description": "时间",
  18640. "type": "string"
  18641. },
  18642. "deliverygoodscode": {
  18643. "description": "现货品种代码",
  18644. "type": "string"
  18645. },
  18646. "deliverygoodsid": {
  18647. "description": "现货品种id",
  18648. "type": "integer"
  18649. },
  18650. "deliverygoodsname": {
  18651. "description": "现货品种名称",
  18652. "type": "string"
  18653. },
  18654. "enumdicname": {
  18655. "description": "现货商品单位名称",
  18656. "type": "string"
  18657. },
  18658. "logtype": {
  18659. "description": "类型 - 1:套保计划 2:现货合同",
  18660. "type": "integer"
  18661. },
  18662. "mgunitid": {
  18663. "description": "套保品种单位id",
  18664. "type": "integer"
  18665. },
  18666. "mgunitidname": {
  18667. "description": "套保品种单位名称",
  18668. "type": "string"
  18669. },
  18670. "middlegoodsId": {
  18671. "description": "套保商品id",
  18672. "type": "integer"
  18673. },
  18674. "middlegoodscode": {
  18675. "description": "套保商品代码",
  18676. "type": "string"
  18677. },
  18678. "middlegoodsname": {
  18679. "description": "套保商品名称",
  18680. "type": "string"
  18681. },
  18682. "qty": {
  18683. "description": "数量",
  18684. "type": "number"
  18685. },
  18686. "relateNo": {
  18687. "description": "现货合同/套保计划编号",
  18688. "type": "string"
  18689. }
  18690. }
  18691. },
  18692. "models.Ermcp3ExposureFutuDetail": {
  18693. "type": "object",
  18694. "properties": {
  18695. "accountid": {
  18696. "description": "交易账户id",
  18697. "type": "integer"
  18698. },
  18699. "accountname": {
  18700. "description": "交易账户",
  18701. "type": "string"
  18702. },
  18703. "begindate": {
  18704. "description": "开始交易日",
  18705. "type": "string"
  18706. },
  18707. "buyorsell": {
  18708. "description": "方向 0-买 1-卖",
  18709. "type": "integer"
  18710. },
  18711. "diffmgqty": {
  18712. "description": "套保品种今变化量",
  18713. "type": "number"
  18714. },
  18715. "diffneedqty": {
  18716. "description": "应套保总量变化量",
  18717. "type": "number"
  18718. },
  18719. "difftradeqty": {
  18720. "description": "交易品种今变化量",
  18721. "type": "number"
  18722. },
  18723. "enddate": {
  18724. "description": "结束交易日",
  18725. "type": "string"
  18726. },
  18727. "enumdicname": {
  18728. "description": "单位名称",
  18729. "type": "string"
  18730. },
  18731. "goodscode": {
  18732. "description": "商品代码",
  18733. "type": "string"
  18734. },
  18735. "goodsid": {
  18736. "description": "商品id",
  18737. "type": "integer"
  18738. },
  18739. "goodsname": {
  18740. "description": "商品名称",
  18741. "type": "string"
  18742. },
  18743. "holdqty": {
  18744. "description": "期末持仓量",
  18745. "type": "number"
  18746. },
  18747. "middlegoodscode": {
  18748. "description": "套保商品代码",
  18749. "type": "string"
  18750. },
  18751. "middlegoodsid": {
  18752. "description": "套保商品id",
  18753. "type": "integer"
  18754. },
  18755. "middlegoodsname": {
  18756. "description": "套保商品名称",
  18757. "type": "string"
  18758. },
  18759. "oriholdqty": {
  18760. "description": "期初持仓量",
  18761. "type": "number"
  18762. },
  18763. "todaycloseqty": {
  18764. "description": "今平仓量",
  18765. "type": "number"
  18766. },
  18767. "todayopenqty": {
  18768. "description": "今开仓量",
  18769. "type": "number"
  18770. },
  18771. "tradedate": {
  18772. "description": "交易日",
  18773. "type": "string"
  18774. }
  18775. }
  18776. },
  18777. "models.Ermcp3ExposureHedgeplanDetail": {
  18778. "type": "object",
  18779. "properties": {
  18780. "biztype": {
  18781. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18782. "type": "integer"
  18783. },
  18784. "changqty": {
  18785. "description": "应套保总量变化量",
  18786. "type": "number"
  18787. },
  18788. "contracttype": {
  18789. "description": "计划类型 - 1:采购 -1:销售",
  18790. "type": "integer"
  18791. },
  18792. "convertratio": {
  18793. "description": "折算系数(套保品种)",
  18794. "type": "number"
  18795. },
  18796. "deliverygoodscode": {
  18797. "description": "现货商品代码",
  18798. "type": "string"
  18799. },
  18800. "deliverygoodsid": {
  18801. "description": "现货商品id",
  18802. "type": "integer"
  18803. },
  18804. "deliverygoodsname": {
  18805. "description": "现货商吕名称",
  18806. "type": "string"
  18807. },
  18808. "dgunitid": {
  18809. "description": "现货商品单位id",
  18810. "type": "integer"
  18811. },
  18812. "dgunitidname": {
  18813. "description": "单位名称(现货商品)",
  18814. "type": "string"
  18815. },
  18816. "diffqty": {
  18817. "description": "套保品种今变动量",
  18818. "type": "number"
  18819. },
  18820. "enumdicname": {
  18821. "description": "单位名称(品类)",
  18822. "type": "string"
  18823. },
  18824. "hedgeplanid": {
  18825. "description": "套保计划id",
  18826. "type": "string"
  18827. },
  18828. "hedgeplanno": {
  18829. "description": "套保计划名称",
  18830. "type": "string"
  18831. },
  18832. "hedgeplanstatus": {
  18833. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18834. "type": "integer"
  18835. },
  18836. "mgunitidname": {
  18837. "description": "单位名称(套保商品)",
  18838. "type": "string"
  18839. },
  18840. "middlegoodscode": {
  18841. "description": "套保品种代码",
  18842. "type": "string"
  18843. },
  18844. "middlegoodsid": {
  18845. "description": "套保品种id",
  18846. "type": "integer"
  18847. },
  18848. "middlegoodsname": {
  18849. "description": "套保品种名称",
  18850. "type": "string"
  18851. },
  18852. "needarbitrageratio": {
  18853. "description": "应套利比例",
  18854. "type": "number"
  18855. },
  18856. "needhedgeratio": {
  18857. "description": "应套保比例",
  18858. "type": "number"
  18859. },
  18860. "pricedqty": {
  18861. "description": "已定价量",
  18862. "type": "number"
  18863. },
  18864. "qty": {
  18865. "description": "合同量",
  18866. "type": "number"
  18867. },
  18868. "tradedate": {
  18869. "description": "交易日(登记日)",
  18870. "type": "string"
  18871. },
  18872. "unitid": {
  18873. "description": "品类单位id",
  18874. "type": "integer"
  18875. },
  18876. "userid": {
  18877. "description": "机构id",
  18878. "type": "integer"
  18879. },
  18880. "wrstandardcode": {
  18881. "description": "品类代码",
  18882. "type": "string"
  18883. },
  18884. "wrstandardid": {
  18885. "description": "品类id",
  18886. "type": "integer"
  18887. },
  18888. "wrstandardname": {
  18889. "description": "品类名称",
  18890. "type": "string"
  18891. }
  18892. }
  18893. },
  18894. "models.Ermcp3ExposureParamChLog": {
  18895. "type": "object",
  18896. "properties": {
  18897. "accountid": {
  18898. "description": "期货账户ID (作废, 默认为0)",
  18899. "type": "integer"
  18900. },
  18901. "aftervalue": {
  18902. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18903. "type": "number"
  18904. },
  18905. "areauserid": {
  18906. "description": "所属机构\\交易用户ID",
  18907. "type": "integer"
  18908. },
  18909. "beforevalue": {
  18910. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18911. "type": "number"
  18912. },
  18913. "begindate": {
  18914. "description": "开始交易日",
  18915. "type": "string"
  18916. },
  18917. "changelogtype": {
  18918. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18919. "type": "integer"
  18920. },
  18921. "curvalue": {
  18922. "description": "当前套保\\套利量(套保总量|套利总量)",
  18923. "type": "number"
  18924. },
  18925. "diffvalue": {
  18926. "description": "应套保总量变化量",
  18927. "type": "number"
  18928. },
  18929. "enddate": {
  18930. "description": "结束交易日",
  18931. "type": "string"
  18932. },
  18933. "logdatetime": {
  18934. "description": "流水日期",
  18935. "type": "string"
  18936. },
  18937. "logid": {
  18938. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18939. "type": "string"
  18940. },
  18941. "middlegoodscode": {
  18942. "description": "套保品种代码",
  18943. "type": "string"
  18944. },
  18945. "middlegoodsid": {
  18946. "description": "套保品种",
  18947. "type": "integer"
  18948. },
  18949. "middlegoodsname": {
  18950. "description": "套保品种名称",
  18951. "type": "string"
  18952. },
  18953. "paramaftervalue": {
  18954. "description": "参数变更后(调整后参数值)",
  18955. "type": "number"
  18956. },
  18957. "parambeforevalue": {
  18958. "description": "参数变更前(调整前参数值)",
  18959. "type": "number"
  18960. },
  18961. "tradedate": {
  18962. "description": "交易日(yyyyMMdd)",
  18963. "type": "string"
  18964. }
  18965. }
  18966. },
  18967. "models.Ermcp3ExpourseReport": {
  18968. "type": "object",
  18969. "properties": {
  18970. "accountid": {
  18971. "description": "期货账户ID (作废, 默认为0)",
  18972. "type": "integer"
  18973. },
  18974. "accountname": {
  18975. "description": "机构名称",
  18976. "type": "string"
  18977. },
  18978. "arbitrageqty": {
  18979. "description": "套利量",
  18980. "type": "number"
  18981. },
  18982. "areauserid": {
  18983. "description": "所属机构\\交易用户ID",
  18984. "type": "integer"
  18985. },
  18986. "begindate": {
  18987. "description": "开始交易日",
  18988. "type": "string"
  18989. },
  18990. "buyfutureqty": {
  18991. "description": "买入期货数量",
  18992. "type": "number"
  18993. },
  18994. "buyplanqty": {
  18995. "description": "采购计划数量",
  18996. "type": "number"
  18997. },
  18998. "buypricedqty": {
  18999. "description": "采购合同已定价数量",
  19000. "type": "number"
  19001. },
  19002. "cycletime": {
  19003. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19004. "type": "string"
  19005. },
  19006. "cycletype": {
  19007. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19008. "type": "integer"
  19009. },
  19010. "diffexposure": {
  19011. "description": "变动量(套保敞口)",
  19012. "type": "number"
  19013. },
  19014. "difffutuqty": {
  19015. "description": "变动量(期货)",
  19016. "type": "number"
  19017. },
  19018. "diffhedgeqty": {
  19019. "description": "变动量(现货应套保总量)",
  19020. "type": "number"
  19021. },
  19022. "diffmgqtya": {
  19023. "description": "套保变动量",
  19024. "type": "number"
  19025. },
  19026. "diffmgqtyb": {
  19027. "description": "套利变动量",
  19028. "type": "number"
  19029. },
  19030. "diffqty": {
  19031. "description": "变动量(总敞口)",
  19032. "type": "number"
  19033. },
  19034. "diffspotqty": {
  19035. "description": "变动量(现货)",
  19036. "type": "number"
  19037. },
  19038. "enddate": {
  19039. "description": "结束交易日",
  19040. "type": "string"
  19041. },
  19042. "enumdicname": {
  19043. "description": "单位名称",
  19044. "type": "string"
  19045. },
  19046. "hedgeqty": {
  19047. "description": "套保量",
  19048. "type": "number"
  19049. },
  19050. "mgneedhedgeratio": {
  19051. "description": "套保比例(套保品的)",
  19052. "type": "number"
  19053. },
  19054. "middlegoodsid": {
  19055. "description": "套保品种ID",
  19056. "type": "integer"
  19057. },
  19058. "middlegoodsname": {
  19059. "description": "套保商品名称",
  19060. "type": "string"
  19061. },
  19062. "middlgoodscode": {
  19063. "description": "套保商品代码",
  19064. "type": "string"
  19065. },
  19066. "needarbitrageqty": {
  19067. "description": "应套利量",
  19068. "type": "number"
  19069. },
  19070. "needarbitrageratio": {
  19071. "description": "套利比例(套保品的)",
  19072. "type": "number"
  19073. },
  19074. "needhedgeexposoure": {
  19075. "description": "应套保敞口(套保敞口)",
  19076. "type": "number"
  19077. },
  19078. "needhedgeqty": {
  19079. "description": "应套保量",
  19080. "type": "number"
  19081. },
  19082. "needhedgeratio": {
  19083. "description": "应套保敞口比例",
  19084. "type": "number"
  19085. },
  19086. "oriarbitrageqty": {
  19087. "description": "期初套利量",
  19088. "type": "number"
  19089. },
  19090. "oribuyfutureqty": {
  19091. "description": "期初买入期货数量",
  19092. "type": "number"
  19093. },
  19094. "oribuyplanqty": {
  19095. "description": "期初采购计划数量",
  19096. "type": "number"
  19097. },
  19098. "oribuypricedqty": {
  19099. "description": "期初采购合同已定价数量",
  19100. "type": "number"
  19101. },
  19102. "orihedgeqty": {
  19103. "description": "期初套保量",
  19104. "type": "number"
  19105. },
  19106. "orineedarbitrageqty": {
  19107. "description": "期初应套利量",
  19108. "type": "number"
  19109. },
  19110. "orineedhedgeexposoure": {
  19111. "description": "期初应套保敞口",
  19112. "type": "number"
  19113. },
  19114. "orineedhedgeqty": {
  19115. "description": "期初应套保量",
  19116. "type": "number"
  19117. },
  19118. "orisellfutureqty": {
  19119. "description": "期初卖出期货数量",
  19120. "type": "number"
  19121. },
  19122. "orisellplanqty": {
  19123. "description": "期初销售计划数量",
  19124. "type": "number"
  19125. },
  19126. "orisellpricedqty": {
  19127. "description": "期初销售合同已定价数量",
  19128. "type": "number"
  19129. },
  19130. "oritotalexposure": {
  19131. "description": "期初实时总敞口",
  19132. "type": "number"
  19133. },
  19134. "oritotalfutureqty": {
  19135. "description": "期初期货头寸总量",
  19136. "type": "number"
  19137. },
  19138. "oritotalneedhedgeqty": {
  19139. "description": "期初应套保总量",
  19140. "type": "number"
  19141. },
  19142. "oritotalspotqty": {
  19143. "description": "期初现货头寸总量",
  19144. "type": "number"
  19145. },
  19146. "reckondate": {
  19147. "description": "日照时期(yyyyMMdd)",
  19148. "type": "string"
  19149. },
  19150. "sellfutureqty": {
  19151. "description": "卖出期货数量",
  19152. "type": "number"
  19153. },
  19154. "sellplanqty": {
  19155. "description": "销售计划数量",
  19156. "type": "number"
  19157. },
  19158. "sellpricedqty": {
  19159. "description": "销售合同已定价数量",
  19160. "type": "number"
  19161. },
  19162. "totalexposure": {
  19163. "description": "实时总敞口(总敞口)",
  19164. "type": "number"
  19165. },
  19166. "totalfutureqty": {
  19167. "description": "期货头寸总量(期货总量)",
  19168. "type": "number"
  19169. },
  19170. "totalhedgeratio": {
  19171. "description": "敞口比例",
  19172. "type": "number"
  19173. },
  19174. "totalneedhedgeqty": {
  19175. "description": "应套保总量(现货应套保总量)",
  19176. "type": "number"
  19177. },
  19178. "totalspotqty": {
  19179. "description": "现货头寸总量",
  19180. "type": "number"
  19181. },
  19182. "unitid": {
  19183. "description": "单位id",
  19184. "type": "integer"
  19185. },
  19186. "updatetime": {
  19187. "description": "更新时间",
  19188. "type": "string"
  19189. }
  19190. }
  19191. },
  19192. "models.Ermcp3FinanceReport": {
  19193. "type": "object",
  19194. "properties": {
  19195. "accountname": {
  19196. "description": "机构名称",
  19197. "type": "string"
  19198. },
  19199. "areauserid": {
  19200. "description": "所属机构\\交易用户ID",
  19201. "type": "integer"
  19202. },
  19203. "begindate": {
  19204. "description": "开始交易日",
  19205. "type": "string"
  19206. },
  19207. "biztype": {
  19208. "description": "业务类型 - 1:套保 2:套利",
  19209. "type": "integer"
  19210. },
  19211. "brandname": {
  19212. "description": "品牌名称",
  19213. "type": "string"
  19214. },
  19215. "buypreinvoicedamount": {
  19216. "description": "采购预收票额(预收票额)",
  19217. "type": "number"
  19218. },
  19219. "buyprepaidamount": {
  19220. "description": "采购预付款额(预付货款额)",
  19221. "type": "number"
  19222. },
  19223. "buytodayinvoiceamount": {
  19224. "description": "采购今收票额(今收票额)",
  19225. "type": "number"
  19226. },
  19227. "buytodayrefundamount": {
  19228. "description": "采购今收退款额(今收退款额)",
  19229. "type": "number"
  19230. },
  19231. "buytodaysettleamount": {
  19232. "description": "采购今付款额(今付货款额)",
  19233. "type": "number"
  19234. },
  19235. "buyuninvoicedamount": {
  19236. "description": "采购应收票额(应收票额)",
  19237. "type": "number"
  19238. },
  19239. "buyunpaidamount": {
  19240. "description": "采购应付款额(应付货款额)",
  19241. "type": "number"
  19242. },
  19243. "currencyid": {
  19244. "description": "结算币种ID",
  19245. "type": "integer"
  19246. },
  19247. "currencyname": {
  19248. "description": "币种名称",
  19249. "type": "string"
  19250. },
  19251. "cycletime": {
  19252. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19253. "type": "string"
  19254. },
  19255. "cycletype": {
  19256. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19257. "type": "integer"
  19258. },
  19259. "deliverygoodscode": {
  19260. "description": "现货品种代码",
  19261. "type": "string"
  19262. },
  19263. "deliverygoodsid": {
  19264. "description": "现货品种ID",
  19265. "type": "integer"
  19266. },
  19267. "deliverygoodsname": {
  19268. "description": "现货品种名称",
  19269. "type": "string"
  19270. },
  19271. "enddate": {
  19272. "description": "结束交易日",
  19273. "type": "string"
  19274. },
  19275. "reckondate": {
  19276. "description": "日照时期(yyyyMMdd)",
  19277. "type": "string"
  19278. },
  19279. "sellpreinvoicedamount": {
  19280. "description": "销售预开票额(预开票额)",
  19281. "type": "number"
  19282. },
  19283. "sellprepaidamount": {
  19284. "description": "销售预收款额(预收货款额)",
  19285. "type": "number"
  19286. },
  19287. "selltodayinvoiceamount": {
  19288. "description": "销售今开票额(今开票额)",
  19289. "type": "number"
  19290. },
  19291. "selltodayrefundamount": {
  19292. "description": "销售今付退款额(今付退款额)",
  19293. "type": "number"
  19294. },
  19295. "selltodaysettleamount": {
  19296. "description": "销售今收款额(今收货款额)",
  19297. "type": "number"
  19298. },
  19299. "selluninvoicedamount": {
  19300. "description": "销售应开票额(应开票额)",
  19301. "type": "number"
  19302. },
  19303. "sellunpaidamount": {
  19304. "description": "销售应收款额(应收货款额)",
  19305. "type": "number"
  19306. },
  19307. "spotgoodsbrandid": {
  19308. "description": "现货品牌ID",
  19309. "type": "integer"
  19310. },
  19311. "todaypaysum": {
  19312. "description": "今付款合计",
  19313. "type": "number"
  19314. },
  19315. "todayreceivesum": {
  19316. "description": "今收款合计",
  19317. "type": "number"
  19318. },
  19319. "updatetime": {
  19320. "description": "更新时间",
  19321. "type": "string"
  19322. },
  19323. "wrfactortypeid": {
  19324. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19325. "type": "integer"
  19326. },
  19327. "wrstandardcode": {
  19328. "description": "品类代码",
  19329. "type": "string"
  19330. },
  19331. "wrstandardid": {
  19332. "description": "现货商品ID",
  19333. "type": "integer"
  19334. },
  19335. "wrstandardname": {
  19336. "description": "品类名称",
  19337. "type": "string"
  19338. }
  19339. }
  19340. },
  19341. "models.Ermcp3GoodsGroup": {
  19342. "type": "object",
  19343. "required": [
  19344. "areauserid"
  19345. ],
  19346. "properties": {
  19347. "agreeunit": {
  19348. "description": "合约单位",
  19349. "type": "number"
  19350. },
  19351. "areauserid": {
  19352. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  19353. "type": "integer"
  19354. },
  19355. "canshort": {
  19356. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19357. "type": "integer"
  19358. },
  19359. "closepricemode": {
  19360. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19361. "type": "integer"
  19362. },
  19363. "createtime": {
  19364. "description": "创建时间",
  19365. "type": "string"
  19366. },
  19367. "creatorid": {
  19368. "description": "创建人",
  19369. "type": "integer"
  19370. },
  19371. "currencyid": {
  19372. "description": "报价货币ID",
  19373. "type": "integer"
  19374. },
  19375. "decimalplace": {
  19376. "description": "报价小数位",
  19377. "type": "integer"
  19378. },
  19379. "enumdicname": {
  19380. "description": "单位名称",
  19381. "type": "string"
  19382. },
  19383. "exchangefullname": {
  19384. "description": "交易所全称",
  19385. "type": "string"
  19386. },
  19387. "excludecfg": {
  19388. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  19389. "type": "integer"
  19390. },
  19391. "exexchangecode": {
  19392. "description": "交易所代码",
  19393. "type": "string"
  19394. },
  19395. "exexchangeid": {
  19396. "description": "外部交易所ID[通道交易]",
  19397. "type": "integer"
  19398. },
  19399. "exexchangename": {
  19400. "description": "交易所名称",
  19401. "type": "string"
  19402. },
  19403. "goodsgroupid": {
  19404. "description": "商品组ID(自增ID)",
  19405. "type": "integer"
  19406. },
  19407. "goodsgroupname": {
  19408. "description": "商品组名称",
  19409. "type": "string"
  19410. },
  19411. "goodsgroupstatus": {
  19412. "description": "商品组状态 - 1:正常 2:注销",
  19413. "type": "integer"
  19414. },
  19415. "goodunitid": {
  19416. "description": "报价单位ID",
  19417. "type": "integer"
  19418. },
  19419. "groupcategroyid": {
  19420. "description": "品种分类ID",
  19421. "type": "integer"
  19422. },
  19423. "innerdealmode": {
  19424. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19425. "type": "integer"
  19426. },
  19427. "marketid": {
  19428. "description": "所属市场ID",
  19429. "type": "integer"
  19430. },
  19431. "modifierid": {
  19432. "description": "修改人",
  19433. "type": "integer"
  19434. },
  19435. "modifytime": {
  19436. "description": "修改时间",
  19437. "type": "string"
  19438. },
  19439. "outerdealmode": {
  19440. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19441. "type": "integer"
  19442. },
  19443. "outergroupcode": {
  19444. "description": "外部商品组代码[通道交易]",
  19445. "type": "string"
  19446. },
  19447. "quoteminunit": {
  19448. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19449. "type": "integer"
  19450. },
  19451. "quotesourcegroupid": {
  19452. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19453. "type": "integer"
  19454. },
  19455. "syncgoodsqty": {
  19456. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19457. "type": "integer"
  19458. }
  19459. }
  19460. },
  19461. "models.Ermcp3HedgePlan": {
  19462. "type": "object",
  19463. "properties": {
  19464. "accountid": {
  19465. "description": "资金账号",
  19466. "type": "integer"
  19467. },
  19468. "areauserid": {
  19469. "description": "用户ID",
  19470. "type": "integer"
  19471. },
  19472. "auditid": {
  19473. "description": "审核id",
  19474. "type": "integer"
  19475. },
  19476. "auditname": {
  19477. "description": "审核人名称",
  19478. "type": "string"
  19479. },
  19480. "auditremark": {
  19481. "description": "审核备注",
  19482. "type": "string"
  19483. },
  19484. "auditsrc": {
  19485. "description": "审核来源 1-管理端 2-终端",
  19486. "type": "integer"
  19487. },
  19488. "audittime": {
  19489. "description": "审核时间",
  19490. "type": "string"
  19491. },
  19492. "contracttype": {
  19493. "description": "计划类型 - 1:采购 -1:销售",
  19494. "type": "integer"
  19495. },
  19496. "convertfactor": {
  19497. "description": "标仓系数",
  19498. "type": "number"
  19499. },
  19500. "createtime": {
  19501. "description": "创建时间",
  19502. "type": "string"
  19503. },
  19504. "currencyid": {
  19505. "description": "币种id",
  19506. "type": "integer"
  19507. },
  19508. "currencyname": {
  19509. "description": "币种名称",
  19510. "type": "string"
  19511. },
  19512. "deliverygoodscode": {
  19513. "description": "现货品种代码",
  19514. "type": "string"
  19515. },
  19516. "deliverygoodsid": {
  19517. "description": "现货品种ID",
  19518. "type": "integer"
  19519. },
  19520. "deliverygoodsname": {
  19521. "description": "现货品种名称",
  19522. "type": "string"
  19523. },
  19524. "enumdicname": {
  19525. "description": "单位名称(现货商品)",
  19526. "type": "string"
  19527. },
  19528. "hedgeplanid": {
  19529. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  19530. "type": "string"
  19531. },
  19532. "hedgeplanno": {
  19533. "description": "套保计划编号(名称)",
  19534. "type": "string"
  19535. },
  19536. "hedgeplanstatus": {
  19537. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19538. "type": "integer"
  19539. },
  19540. "planqty": {
  19541. "description": "计划数量",
  19542. "type": "number"
  19543. },
  19544. "plantime": {
  19545. "description": "计划时间",
  19546. "type": "string"
  19547. },
  19548. "producttype": {
  19549. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19550. "type": "integer"
  19551. },
  19552. "remark": {
  19553. "description": "备注",
  19554. "type": "string"
  19555. },
  19556. "spotgoodsdesc": {
  19557. "description": "商品型号",
  19558. "type": "string"
  19559. },
  19560. "taaccountname": {
  19561. "description": "资金账号名称",
  19562. "type": "string"
  19563. },
  19564. "tradeuserid": {
  19565. "description": "交易用户id",
  19566. "type": "integer"
  19567. },
  19568. "tradeusername": {
  19569. "description": "交易用户名称",
  19570. "type": "string"
  19571. },
  19572. "unitid": {
  19573. "description": "单位id(现货商品)",
  19574. "type": "integer"
  19575. },
  19576. "updatetime": {
  19577. "description": "更新时间",
  19578. "type": "string"
  19579. },
  19580. "wrstandardcode": {
  19581. "description": "品类代码",
  19582. "type": "string"
  19583. },
  19584. "wrstandardid": {
  19585. "description": "品类id",
  19586. "type": "integer"
  19587. },
  19588. "wrstandardname": {
  19589. "description": "品类名称",
  19590. "type": "string"
  19591. },
  19592. "wrunitid": {
  19593. "description": "品类单位id",
  19594. "type": "integer"
  19595. },
  19596. "wrunitidame": {
  19597. "description": "品类单位名称",
  19598. "type": "string"
  19599. }
  19600. }
  19601. },
  19602. "models.Ermcp3PaAreaAuditCfg": {
  19603. "type": "object",
  19604. "properties": {
  19605. "areauserid": {
  19606. "description": "用户ID",
  19607. "type": "integer"
  19608. },
  19609. "buyinauditflag": {
  19610. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  19611. "type": "integer"
  19612. },
  19613. "customerauditflag": {
  19614. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  19615. "type": "integer"
  19616. },
  19617. "deliveryauditflag": {
  19618. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  19619. "type": "integer"
  19620. },
  19621. "invoiceauditflag": {
  19622. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  19623. "type": "integer"
  19624. },
  19625. "moneyauditflag": {
  19626. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  19627. "type": "integer"
  19628. },
  19629. "operatorid": {
  19630. "description": "操作人",
  19631. "type": "integer"
  19632. },
  19633. "operatorsrc": {
  19634. "description": "操作来源 - 1:管理端 2:终端",
  19635. "type": "integer"
  19636. },
  19637. "pointpriceauditflag": {
  19638. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  19639. "type": "integer"
  19640. },
  19641. "produceinauditflag": {
  19642. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  19643. "type": "integer"
  19644. },
  19645. "produceoutauditflag": {
  19646. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  19647. "type": "integer"
  19648. },
  19649. "selloutauditflag": {
  19650. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  19651. "type": "integer"
  19652. },
  19653. "spotcontractauditflag": {
  19654. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  19655. "type": "integer"
  19656. },
  19657. "updatetime": {
  19658. "description": "更新时间",
  19659. "type": "string"
  19660. }
  19661. }
  19662. },
  19663. "models.Ermcp3PaAreaSubject": {
  19664. "type": "object",
  19665. "properties": {
  19666. "areauserid": {
  19667. "description": "所属机构",
  19668. "type": "integer"
  19669. },
  19670. "canmodify": {
  19671. "description": "是否可修改 - 0:否 1:是",
  19672. "type": "integer"
  19673. },
  19674. "createtime": {
  19675. "description": "创建时间",
  19676. "type": "string"
  19677. },
  19678. "creatorid": {
  19679. "description": "创建人ID",
  19680. "type": "string"
  19681. },
  19682. "creatorsrc": {
  19683. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  19684. "type": "integer"
  19685. },
  19686. "modifierid": {
  19687. "description": "修改人",
  19688. "type": "string"
  19689. },
  19690. "modifiersrc": {
  19691. "description": "修改人来源 - 1:管理端 2:终端",
  19692. "type": "integer"
  19693. },
  19694. "modifytime": {
  19695. "description": "修改时间",
  19696. "type": "string"
  19697. },
  19698. "parentsubjectid": {
  19699. "description": "上级主体ID",
  19700. "type": "string"
  19701. },
  19702. "remark": {
  19703. "description": "备注",
  19704. "type": "string"
  19705. },
  19706. "subjectid": {
  19707. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  19708. "type": "integer"
  19709. },
  19710. "subjectname": {
  19711. "description": "主体名称",
  19712. "type": "string"
  19713. },
  19714. "subjectstatus": {
  19715. "description": "主体状态 - 1:正常 2: 停用",
  19716. "type": "integer"
  19717. },
  19718. "subjecttype": {
  19719. "description": "主体类型 - 1:交易主体 2:业务部门",
  19720. "type": "integer"
  19721. }
  19722. }
  19723. },
  19724. "models.Ermcp3RootUserAccount": {
  19725. "type": "object",
  19726. "properties": {
  19727. "accountname": {
  19728. "description": "账户名称(机构名称)",
  19729. "type": "string"
  19730. },
  19731. "accountstatus": {
  19732. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19733. "type": "integer"
  19734. },
  19735. "applysrc": {
  19736. "description": "申请来源 - 1:管理端 2:终端",
  19737. "type": "integer"
  19738. },
  19739. "auditremark": {
  19740. "description": "审核备注",
  19741. "type": "string"
  19742. },
  19743. "auditsrc": {
  19744. "description": "审核来源 - 1:管理端 2:终端",
  19745. "type": "integer"
  19746. },
  19747. "audittime": {
  19748. "description": "审核时间",
  19749. "type": "string"
  19750. },
  19751. "audituserid": {
  19752. "description": "审核人",
  19753. "type": "integer"
  19754. },
  19755. "broker": {
  19756. "description": "所属经纪人ID",
  19757. "type": "integer"
  19758. },
  19759. "canceltime": {
  19760. "description": "销户时间",
  19761. "type": "string"
  19762. },
  19763. "canceluserid": {
  19764. "description": "销户人",
  19765. "type": "integer"
  19766. },
  19767. "canrecommend": {
  19768. "description": "是否可推荐 - 0:不可 1;可",
  19769. "type": "integer"
  19770. },
  19771. "createtime": {
  19772. "description": "创建时间",
  19773. "type": "string"
  19774. },
  19775. "creatorid": {
  19776. "description": "创建人",
  19777. "type": "integer"
  19778. },
  19779. "hasauth": {
  19780. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19781. "type": "integer"
  19782. },
  19783. "isanonymous": {
  19784. "description": "是否匿名下单 - 0:否 1:是",
  19785. "type": "integer"
  19786. },
  19787. "maxinvestornum": {
  19788. "description": "最大用户数(经纪会员下投资者个数)",
  19789. "type": "integer"
  19790. },
  19791. "memberuserid": {
  19792. "description": "所属会员ID",
  19793. "type": "integer"
  19794. },
  19795. "modifierid": {
  19796. "description": "修改人",
  19797. "type": "integer"
  19798. },
  19799. "modifyremark": {
  19800. "description": "变更备注",
  19801. "type": "string"
  19802. },
  19803. "modifystatus": {
  19804. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19805. "type": "integer"
  19806. },
  19807. "modifytime": {
  19808. "description": "修改时间",
  19809. "type": "string"
  19810. },
  19811. "parenttopuser": {
  19812. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19813. "type": "string"
  19814. },
  19815. "parentuserid": {
  19816. "description": "所属机构ID",
  19817. "type": "integer"
  19818. },
  19819. "reckonaccountid": {
  19820. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19821. "type": "integer"
  19822. },
  19823. "refercount": {
  19824. "description": "推荐总人数",
  19825. "type": "integer"
  19826. },
  19827. "refereeuserid": {
  19828. "description": "推荐人ID",
  19829. "type": "integer"
  19830. },
  19831. "refernum": {
  19832. "description": "推荐码",
  19833. "type": "string"
  19834. },
  19835. "rootuserid": {
  19836. "description": "根用户ID",
  19837. "type": "integer"
  19838. },
  19839. "subaccountlevel": {
  19840. "description": "子账户层数",
  19841. "type": "integer"
  19842. },
  19843. "subarealevelpath": {
  19844. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19845. "type": "string"
  19846. },
  19847. "userid": {
  19848. "description": "用户ID",
  19849. "type": "integer"
  19850. },
  19851. "usertype": {
  19852. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19853. "type": "integer"
  19854. }
  19855. }
  19856. },
  19857. "models.Ermcp3SellBuyContract": {
  19858. "type": "object",
  19859. "properties": {
  19860. "accountid": {
  19861. "description": "期货账户id",
  19862. "type": "string"
  19863. },
  19864. "accountname": {
  19865. "description": "账户名称",
  19866. "type": "string"
  19867. },
  19868. "attachment": {
  19869. "description": "附件",
  19870. "type": "string"
  19871. },
  19872. "audittime": {
  19873. "description": "审核时间",
  19874. "type": "string"
  19875. },
  19876. "biztype": {
  19877. "description": "业务类型 1-套保 2-套利",
  19878. "type": "integer"
  19879. },
  19880. "brandname": {
  19881. "description": "品牌名称",
  19882. "type": "string"
  19883. },
  19884. "contracctstatus": {
  19885. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19886. "type": "integer"
  19887. },
  19888. "contractmargin": {
  19889. "description": "合同保证金",
  19890. "type": "number"
  19891. },
  19892. "contractno": {
  19893. "description": "合同编号",
  19894. "type": "string"
  19895. },
  19896. "contracttype": {
  19897. "description": "合同类型 1-采购, -1-销售",
  19898. "type": "integer"
  19899. },
  19900. "convertfactor": {
  19901. "description": "标仓系数(品类)",
  19902. "type": "number"
  19903. },
  19904. "createtime": {
  19905. "description": "创建时间",
  19906. "type": "string"
  19907. },
  19908. "currencyid": {
  19909. "description": "币种id",
  19910. "type": "integer"
  19911. },
  19912. "currencyname": {
  19913. "description": "币种名称",
  19914. "type": "string"
  19915. },
  19916. "daikaiamount": {
  19917. "description": "应收(开)票额",
  19918. "type": "number"
  19919. },
  19920. "deliveryenddate": {
  19921. "description": "交割结束日",
  19922. "type": "string"
  19923. },
  19924. "deliverygoodscode": {
  19925. "description": "现货品种代码",
  19926. "type": "string"
  19927. },
  19928. "deliverygoodsid": {
  19929. "description": "现货商品ID",
  19930. "type": "integer"
  19931. },
  19932. "deliverygoodsname": {
  19933. "description": "现货品种名称",
  19934. "type": "string"
  19935. },
  19936. "deliverystartdate": {
  19937. "description": "交割开始日",
  19938. "type": "string"
  19939. },
  19940. "enddate": {
  19941. "description": "点价结束日",
  19942. "type": "string"
  19943. },
  19944. "enumdicname": {
  19945. "description": "单位名称",
  19946. "type": "string"
  19947. },
  19948. "goodscode": {
  19949. "description": "点价商品代码",
  19950. "type": "string"
  19951. },
  19952. "goodsid": {
  19953. "description": "点价商品ID",
  19954. "type": "integer"
  19955. },
  19956. "goodsname": {
  19957. "description": "点价商品名称",
  19958. "type": "string"
  19959. },
  19960. "invoiceamount": {
  19961. "description": "已开票额",
  19962. "type": "number"
  19963. },
  19964. "loanamount": {
  19965. "description": "贷款总额=已定价额+调整金额",
  19966. "type": "number"
  19967. },
  19968. "margin": {
  19969. "description": "保证金",
  19970. "type": "number"
  19971. },
  19972. "meruserid": {
  19973. "description": "跟单员id",
  19974. "type": "integer"
  19975. },
  19976. "meruserlogincode": {
  19977. "description": "跟单员登录代码",
  19978. "type": "string"
  19979. },
  19980. "merusername": {
  19981. "description": "跟单员名称",
  19982. "type": "string"
  19983. },
  19984. "nickname": {
  19985. "description": "账户昵称",
  19986. "type": "string"
  19987. },
  19988. "payamount": {
  19989. "description": "已收付额(收款或付款)",
  19990. "type": "number"
  19991. },
  19992. "preinvoiceamount": {
  19993. "description": "预收(开)票额",
  19994. "type": "number"
  19995. },
  19996. "prepayamount": {
  19997. "description": "预收付额",
  19998. "type": "number"
  19999. },
  20000. "price": {
  20001. "description": "价格",
  20002. "type": "number"
  20003. },
  20004. "pricedamount": {
  20005. "description": "已定价额",
  20006. "type": "number"
  20007. },
  20008. "pricedavg": {
  20009. "description": "已点均价",
  20010. "type": "number"
  20011. },
  20012. "pricedqty": {
  20013. "description": "已定价量",
  20014. "type": "number"
  20015. },
  20016. "pricemove": {
  20017. "description": "升贴水",
  20018. "type": "number"
  20019. },
  20020. "pricetype": {
  20021. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20022. "type": "integer"
  20023. },
  20024. "producttype": {
  20025. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20026. "type": "integer"
  20027. },
  20028. "qty": {
  20029. "description": "合同量",
  20030. "type": "number"
  20031. },
  20032. "reckonadjustamount": {
  20033. "description": "调整金额",
  20034. "type": "number"
  20035. },
  20036. "reckonedamount": {
  20037. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  20038. "type": "number"
  20039. },
  20040. "reckonotheramount": {
  20041. "description": "其它费用",
  20042. "type": "number"
  20043. },
  20044. "reckonrealqty": {
  20045. "description": "已确定量",
  20046. "type": "number"
  20047. },
  20048. "remark": {
  20049. "description": "备注",
  20050. "type": "string"
  20051. },
  20052. "saleuserid": {
  20053. "description": "业务员id",
  20054. "type": "integer"
  20055. },
  20056. "saleuserlogincode": {
  20057. "description": "业务员登录代码",
  20058. "type": "string"
  20059. },
  20060. "saleusername": {
  20061. "description": "业务员名称",
  20062. "type": "string"
  20063. },
  20064. "spotcontractid": {
  20065. "description": "合同ID",
  20066. "type": "string"
  20067. },
  20068. "spotgoodsbrandid": {
  20069. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20070. "type": "integer"
  20071. },
  20072. "spotgoodsdesc": {
  20073. "description": "商品型号(商品规格)",
  20074. "type": "string"
  20075. },
  20076. "startdate": {
  20077. "description": "点价开始日",
  20078. "type": "string"
  20079. },
  20080. "subjectid": {
  20081. "description": "交易主体ID",
  20082. "type": "string"
  20083. },
  20084. "subjectname": {
  20085. "description": "交易主体名称",
  20086. "type": "string"
  20087. },
  20088. "totalamount": {
  20089. "description": "合计总额",
  20090. "type": "number"
  20091. },
  20092. "tradeuserid": {
  20093. "description": "交易员id",
  20094. "type": "integer"
  20095. },
  20096. "tradeuserlogincode": {
  20097. "description": "交易员登录代码",
  20098. "type": "string"
  20099. },
  20100. "tradeusername": {
  20101. "description": "交易员名称",
  20102. "type": "string"
  20103. },
  20104. "unpayamount": {
  20105. "description": "应收付款额(应支付或应收款)",
  20106. "type": "number"
  20107. },
  20108. "unpricedqty": {
  20109. "description": "未定价量",
  20110. "type": "number"
  20111. },
  20112. "unsureqty": {
  20113. "description": "未确定量",
  20114. "type": "number"
  20115. },
  20116. "userid": {
  20117. "description": "机构ID",
  20118. "type": "integer"
  20119. },
  20120. "wrstandardcode": {
  20121. "description": "品类代码",
  20122. "type": "string"
  20123. },
  20124. "wrstandardid": {
  20125. "description": "品类ID",
  20126. "type": "integer"
  20127. },
  20128. "wrstandardname": {
  20129. "description": "品类名称",
  20130. "type": "string"
  20131. }
  20132. }
  20133. },
  20134. "models.Ermcp3SpotGoodsPrice": {
  20135. "type": "object",
  20136. "properties": {
  20137. "areauserid": {
  20138. "description": "所属机构id",
  20139. "type": "integer"
  20140. },
  20141. "brandname": {
  20142. "description": "品牌名称",
  20143. "type": "string"
  20144. },
  20145. "currencyid": {
  20146. "description": "报价货币ID",
  20147. "type": "integer"
  20148. },
  20149. "currencyname": {
  20150. "description": "币种名称",
  20151. "type": "string"
  20152. },
  20153. "deliverygoodscode": {
  20154. "description": "现货商品代码",
  20155. "type": "string"
  20156. },
  20157. "deliverygoodsid": {
  20158. "description": "现货商品id",
  20159. "type": "integer"
  20160. },
  20161. "deliverygoodsname": {
  20162. "description": "现货商品名称",
  20163. "type": "string"
  20164. },
  20165. "enumdicname": {
  20166. "description": "现货商品单位名称",
  20167. "type": "string"
  20168. },
  20169. "gbenumdicname": {
  20170. "description": "品类单位名称",
  20171. "type": "string"
  20172. },
  20173. "gmunitid": {
  20174. "description": "品类单位id",
  20175. "type": "integer"
  20176. },
  20177. "isvalid": {
  20178. "description": "是否有效 - 0:无效 1:有效",
  20179. "type": "integer"
  20180. },
  20181. "operateid": {
  20182. "description": "最后操作人",
  20183. "type": "integer"
  20184. },
  20185. "operatesrc": {
  20186. "description": "最后操作来源 - 1:管理端 2:终端",
  20187. "type": "integer"
  20188. },
  20189. "operatetime": {
  20190. "description": "最后操作时间",
  20191. "type": "string"
  20192. },
  20193. "operatorname": {
  20194. "description": "操作人名称",
  20195. "type": "string"
  20196. },
  20197. "spotgoodsbrandid": {
  20198. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20199. "type": "integer"
  20200. },
  20201. "spotgoodsprice": {
  20202. "description": "现货价格",
  20203. "type": "number"
  20204. },
  20205. "tradedate": {
  20206. "description": "交易日(yyyyMMdd)",
  20207. "type": "string"
  20208. },
  20209. "unitid": {
  20210. "description": "现货商品单位id",
  20211. "type": "integer"
  20212. },
  20213. "wrstandardcode": {
  20214. "description": "品类代码",
  20215. "type": "string"
  20216. },
  20217. "wrstandardid": {
  20218. "description": "现货品类ID(通用则为0)",
  20219. "type": "integer"
  20220. },
  20221. "wrstandardname": {
  20222. "description": "品类名称",
  20223. "type": "string"
  20224. }
  20225. }
  20226. },
  20227. "models.Ermcp3SpotGoodsPriceLog": {
  20228. "type": "object",
  20229. "properties": {
  20230. "areauserid": {
  20231. "description": "所属机构id",
  20232. "type": "integer"
  20233. },
  20234. "brandname": {
  20235. "description": "品牌名称",
  20236. "type": "string"
  20237. },
  20238. "currencyid": {
  20239. "description": "报价货币ID",
  20240. "type": "integer"
  20241. },
  20242. "deliverygoodscode": {
  20243. "description": "现货商品代码",
  20244. "type": "string"
  20245. },
  20246. "deliverygoodsid": {
  20247. "description": "现货商品id",
  20248. "type": "integer"
  20249. },
  20250. "deliverygoodsname": {
  20251. "description": "现货商品名称",
  20252. "type": "string"
  20253. },
  20254. "enumdicname": {
  20255. "description": "现货商品单位名称",
  20256. "type": "string"
  20257. },
  20258. "gbenumdicname": {
  20259. "description": "品类单位名称",
  20260. "type": "string"
  20261. },
  20262. "gmunitid": {
  20263. "description": "品类单位id",
  20264. "type": "integer"
  20265. },
  20266. "logid": {
  20267. "description": "日志id",
  20268. "type": "integer"
  20269. },
  20270. "operateid": {
  20271. "description": "最后操作人",
  20272. "type": "integer"
  20273. },
  20274. "operatesrc": {
  20275. "description": "最后操作来源 - 1:管理端 2:终端",
  20276. "type": "integer"
  20277. },
  20278. "operatetime": {
  20279. "description": "最后操作时间",
  20280. "type": "string"
  20281. },
  20282. "operatorname": {
  20283. "description": "操作人名称",
  20284. "type": "string"
  20285. },
  20286. "spotgoodsbrandid": {
  20287. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20288. "type": "integer"
  20289. },
  20290. "spotgoodsprice": {
  20291. "description": "现货价格",
  20292. "type": "number"
  20293. },
  20294. "tradedate": {
  20295. "description": "交易日(yyyyMMdd)",
  20296. "type": "string"
  20297. },
  20298. "unitid": {
  20299. "description": "现货商品单位id",
  20300. "type": "integer"
  20301. },
  20302. "wrstandardcode": {
  20303. "description": "品类代码",
  20304. "type": "string"
  20305. },
  20306. "wrstandardid": {
  20307. "description": "现货品类ID(通用则为0)",
  20308. "type": "integer"
  20309. },
  20310. "wrstandardname": {
  20311. "description": "品类名称",
  20312. "type": "string"
  20313. }
  20314. }
  20315. },
  20316. "models.Ermcp3TaFutuReDataReport": {
  20317. "type": "object",
  20318. "properties": {
  20319. "accountid": {
  20320. "description": "交易账户",
  20321. "type": "integer"
  20322. },
  20323. "accountname": {
  20324. "description": "交易账号名称",
  20325. "type": "string"
  20326. },
  20327. "agreeunit": {
  20328. "description": "商品合约单位",
  20329. "type": "number"
  20330. },
  20331. "begindate": {
  20332. "description": "开始交易日",
  20333. "type": "string"
  20334. },
  20335. "buyorsell": {
  20336. "description": "持仓方向",
  20337. "type": "integer"
  20338. },
  20339. "charge": {
  20340. "description": "手续费",
  20341. "type": "number"
  20342. },
  20343. "closeavgprice": {
  20344. "description": "平仓均价",
  20345. "type": "number"
  20346. },
  20347. "closepl": {
  20348. "description": "平仓损益",
  20349. "type": "number"
  20350. },
  20351. "currencyid": {
  20352. "description": "结算币种ID",
  20353. "type": "integer"
  20354. },
  20355. "currencyname": {
  20356. "description": "币种名称",
  20357. "type": "string"
  20358. },
  20359. "cycletime": {
  20360. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20361. "type": "string"
  20362. },
  20363. "cycletype": {
  20364. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20365. "type": "integer"
  20366. },
  20367. "enddate": {
  20368. "description": "结束交易日",
  20369. "type": "string"
  20370. },
  20371. "enumdicname": {
  20372. "description": "单位名称",
  20373. "type": "string"
  20374. },
  20375. "floatpl": {
  20376. "description": "浮动损益",
  20377. "type": "number"
  20378. },
  20379. "goodscode": {
  20380. "description": "交易合约代码",
  20381. "type": "string"
  20382. },
  20383. "goodsgroupid": {
  20384. "description": "交易品种",
  20385. "type": "integer"
  20386. },
  20387. "goodsgroupname": {
  20388. "description": "交易品种名称",
  20389. "type": "string"
  20390. },
  20391. "goodsgroupspotqty": {
  20392. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  20393. "type": "number"
  20394. },
  20395. "goodsid": {
  20396. "description": "交易合约",
  20397. "type": "integer"
  20398. },
  20399. "goodsname": {
  20400. "description": "交易合约名称",
  20401. "type": "string"
  20402. },
  20403. "goodunitid": {
  20404. "description": "交易合约单位id",
  20405. "type": "integer"
  20406. },
  20407. "holdamount": {
  20408. "description": "期末持仓额",
  20409. "type": "number"
  20410. },
  20411. "holdqty": {
  20412. "description": "期末持仓量",
  20413. "type": "number"
  20414. },
  20415. "lastholdamount": {
  20416. "description": "当前持仓额",
  20417. "type": "number"
  20418. },
  20419. "lastprice": {
  20420. "description": "最新价",
  20421. "type": "number"
  20422. },
  20423. "middlegoodsid": {
  20424. "description": "套保品种id",
  20425. "type": "integer"
  20426. },
  20427. "middlegoodsname": {
  20428. "description": "套保商品名称",
  20429. "type": "string"
  20430. },
  20431. "middlegoodsqty": {
  20432. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  20433. "type": "number"
  20434. },
  20435. "middlgoodscode": {
  20436. "description": "套保商品代码",
  20437. "type": "string"
  20438. },
  20439. "openamount": {
  20440. "description": "期末开仓额",
  20441. "type": "number"
  20442. },
  20443. "openavgprice": {
  20444. "description": "开仓均价",
  20445. "type": "number"
  20446. },
  20447. "oriholdamount": {
  20448. "description": "期初持仓额",
  20449. "type": "number"
  20450. },
  20451. "oriholdqty": {
  20452. "description": "期初持仓量",
  20453. "type": "number"
  20454. },
  20455. "oriopenamount": {
  20456. "description": "期初开仓额",
  20457. "type": "number"
  20458. },
  20459. "outergroupcode": {
  20460. "description": "交易品种代码",
  20461. "type": "string"
  20462. },
  20463. "qtydecimalplace": {
  20464. "description": "成交量小数位",
  20465. "type": "integer"
  20466. },
  20467. "reckondate": {
  20468. "description": "日照时期(yyyyMMdd)",
  20469. "type": "string"
  20470. },
  20471. "reckonholdamount": {
  20472. "description": "结算持仓额",
  20473. "type": "number"
  20474. },
  20475. "reckonpl": {
  20476. "description": "结算损益",
  20477. "type": "number"
  20478. },
  20479. "reckonpl2": {
  20480. "description": "结算逐笔盈亏",
  20481. "type": "number"
  20482. },
  20483. "reckonprice": {
  20484. "description": "结算价",
  20485. "type": "number"
  20486. },
  20487. "relateduserid": {
  20488. "description": "账户关联用户ID",
  20489. "type": "integer"
  20490. },
  20491. "todaycloseamount": {
  20492. "description": "今平仓额",
  20493. "type": "number"
  20494. },
  20495. "todaycloseqty": {
  20496. "description": "今平仓量",
  20497. "type": "number"
  20498. },
  20499. "todaygoodsgroupspotqty": {
  20500. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  20501. "type": "number"
  20502. },
  20503. "todaymiddlegoodsqty": {
  20504. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  20505. "type": "number"
  20506. },
  20507. "todayopenamount": {
  20508. "description": "今开仓额",
  20509. "type": "number"
  20510. },
  20511. "todayopenqty": {
  20512. "description": "今开仓量",
  20513. "type": "number"
  20514. },
  20515. "userid": {
  20516. "description": "账户所属用户ID",
  20517. "type": "integer"
  20518. }
  20519. }
  20520. },
  20521. "models.Ermcp3Wrstandard": {
  20522. "type": "object",
  20523. "properties": {
  20524. "areauserid": {
  20525. "description": "所属机构",
  20526. "type": "integer"
  20527. },
  20528. "cantrade": {
  20529. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  20530. "type": "integer"
  20531. },
  20532. "convertfactor": {
  20533. "description": "标仓系数",
  20534. "type": "number"
  20535. },
  20536. "createtime": {
  20537. "description": "创建时间",
  20538. "type": "string"
  20539. },
  20540. "creatorid": {
  20541. "description": "创建人",
  20542. "type": "integer"
  20543. },
  20544. "deliverygoodsid": {
  20545. "description": "现货品种ID",
  20546. "type": "integer"
  20547. },
  20548. "enumdicname": {
  20549. "description": "品类单位名称",
  20550. "type": "string"
  20551. },
  20552. "isvalid": {
  20553. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  20554. "type": "integer"
  20555. },
  20556. "minivalue": {
  20557. "description": "最小变动值",
  20558. "type": "integer"
  20559. },
  20560. "minivaluedp": {
  20561. "description": "最小变动值小数位",
  20562. "type": "integer"
  20563. },
  20564. "realminivalue": {
  20565. "description": "实际最小变动值",
  20566. "type": "integer"
  20567. },
  20568. "realminivaluedp": {
  20569. "description": "实际最小变动值小数位",
  20570. "type": "integer"
  20571. },
  20572. "remark": {
  20573. "description": "备注",
  20574. "type": "string"
  20575. },
  20576. "unitid": {
  20577. "description": "品类单位ID",
  20578. "type": "integer"
  20579. },
  20580. "updatetime": {
  20581. "description": "更新时间",
  20582. "type": "string"
  20583. },
  20584. "wrstandardcode": {
  20585. "description": "品类代码",
  20586. "type": "string"
  20587. },
  20588. "wrstandardid": {
  20589. "description": "品类ID(SEQ_WRSTANDARD)",
  20590. "type": "integer"
  20591. },
  20592. "wrstandardname": {
  20593. "description": "品类名称",
  20594. "type": "string"
  20595. }
  20596. }
  20597. },
  20598. "models.ErmcpAreaSpotDetailModel": {
  20599. "type": "object",
  20600. "properties": {
  20601. "contracttype": {
  20602. "description": "合同类型 1-采购 -1-销售",
  20603. "type": "integer"
  20604. },
  20605. "createtime": {
  20606. "description": "创建时间",
  20607. "type": "string"
  20608. },
  20609. "enumdicname": {
  20610. "description": "现货商品单位名称",
  20611. "type": "string"
  20612. },
  20613. "logtype": {
  20614. "description": "记录类型 1-套保 2-现货合同",
  20615. "type": "integer"
  20616. },
  20617. "qty": {
  20618. "description": "数量",
  20619. "type": "number"
  20620. },
  20621. "recordname": {
  20622. "description": "类型名称",
  20623. "type": "string"
  20624. },
  20625. "relatedid": {
  20626. "description": "套保计划ID/现货合同ID",
  20627. "type": "string"
  20628. },
  20629. "relatedno": {
  20630. "description": "编号",
  20631. "type": "string"
  20632. },
  20633. "strtime": {
  20634. "description": "时间",
  20635. "type": "string"
  20636. },
  20637. "wrstandardcode": {
  20638. "description": "现货商品代码",
  20639. "type": "string"
  20640. },
  20641. "wrstandardname": {
  20642. "description": "现货商品名称",
  20643. "type": "string"
  20644. }
  20645. }
  20646. },
  20647. "models.ErmcpAvalidGoodsGroupModel": {
  20648. "type": "object",
  20649. "properties": {
  20650. "goodsgroupid": {
  20651. "description": "期货品种id",
  20652. "type": "integer"
  20653. },
  20654. "goodsgroupname": {
  20655. "description": "期货品种名称",
  20656. "type": "string"
  20657. },
  20658. "goodunitid": {
  20659. "description": "品种单位id",
  20660. "type": "integer"
  20661. },
  20662. "goodunitname": {
  20663. "description": "品种单位名称",
  20664. "type": "string"
  20665. },
  20666. "outergroupcode": {
  20667. "description": "期货品种代码",
  20668. "type": "string"
  20669. }
  20670. }
  20671. },
  20672. "models.ErmcpBizGroupEx": {
  20673. "type": "object",
  20674. "properties": {
  20675. "acclist": {
  20676. "description": "账号列表",
  20677. "type": "array",
  20678. "items": {
  20679. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  20680. }
  20681. },
  20682. "bizgroupid": {
  20683. "description": "业务分组id",
  20684. "type": "integer"
  20685. },
  20686. "biztype": {
  20687. "description": "业务类型 1-套保 2-套利",
  20688. "type": "integer"
  20689. },
  20690. "wrlist": {
  20691. "description": "现货商品表",
  20692. "type": "array",
  20693. "items": {
  20694. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  20695. }
  20696. }
  20697. }
  20698. },
  20699. "models.ErmcpBizGroupSpotGoods": {
  20700. "type": "object",
  20701. "properties": {
  20702. "areauserid": {
  20703. "description": "所属机构id",
  20704. "type": "integer"
  20705. },
  20706. "bizgroupid": {
  20707. "description": "分组id",
  20708. "type": "integer"
  20709. },
  20710. "biztype": {
  20711. "description": "业务类型 1-套保 2-套利",
  20712. "type": "integer"
  20713. },
  20714. "deliverygoodscode": {
  20715. "description": "现货商品代码",
  20716. "type": "string"
  20717. },
  20718. "deliverygoodsid": {
  20719. "description": "现货商品id",
  20720. "type": "integer"
  20721. },
  20722. "deliverygoodsname": {
  20723. "description": "现货商品名称",
  20724. "type": "string"
  20725. },
  20726. "unitid": {
  20727. "description": "现货商品单位id",
  20728. "type": "integer"
  20729. }
  20730. }
  20731. },
  20732. "models.ErmcpBizGroupTaAccount": {
  20733. "type": "object",
  20734. "properties": {
  20735. "accountid": {
  20736. "description": "账号id",
  20737. "type": "integer"
  20738. },
  20739. "accountname": {
  20740. "description": "账号名称",
  20741. "type": "string"
  20742. },
  20743. "areauserid": {
  20744. "description": "所属机构id",
  20745. "type": "integer"
  20746. },
  20747. "bizgroupid": {
  20748. "description": "业务分组id",
  20749. "type": "integer"
  20750. },
  20751. "ismain": {
  20752. "description": "是否主账号 1-是 0-否",
  20753. "type": "integer"
  20754. }
  20755. }
  20756. },
  20757. "models.ErmcpDGFactoryItem": {
  20758. "type": "object",
  20759. "properties": {
  20760. "areauserid": {
  20761. "description": "用户id",
  20762. "type": "integer"
  20763. },
  20764. "deliverygoodsid": {
  20765. "description": "现货品种ID",
  20766. "type": "integer"
  20767. },
  20768. "dgfactoryitemid": {
  20769. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20770. "type": "integer"
  20771. },
  20772. "dgfactoryitemtypeid": {
  20773. "description": "要素项类型",
  20774. "type": "integer"
  20775. },
  20776. "dgfactoryitemvalue": {
  20777. "description": "要素项值(类型为仓库时填写仓库名称)",
  20778. "type": "string"
  20779. },
  20780. "isvalid": {
  20781. "description": "是否有效 - 0:无效 1:有效",
  20782. "type": "integer"
  20783. },
  20784. "orderindex": {
  20785. "description": "顺序",
  20786. "type": "integer"
  20787. },
  20788. "warehouseid": {
  20789. "description": "仓库ID(类型为仓库时填写)",
  20790. "type": "integer"
  20791. }
  20792. }
  20793. },
  20794. "models.ErmcpDeliveryGoods": {
  20795. "type": "object",
  20796. "properties": {
  20797. "agreeunit": {
  20798. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20799. "type": "integer"
  20800. },
  20801. "areauserid": {
  20802. "description": "所属机构",
  20803. "type": "integer"
  20804. },
  20805. "auditflag": {
  20806. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20807. "type": "integer"
  20808. },
  20809. "categoryid": {
  20810. "description": "类别ID(SEQ_WRCATEGORY)",
  20811. "type": "integer"
  20812. },
  20813. "deliverygoodscode": {
  20814. "description": "现货品种代码",
  20815. "type": "string"
  20816. },
  20817. "deliverygoodsid": {
  20818. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20819. "type": "integer"
  20820. },
  20821. "deliverygoodsname": {
  20822. "description": "现货品种名称",
  20823. "type": "string"
  20824. },
  20825. "deliverygoodstype": {
  20826. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20827. "type": "integer"
  20828. },
  20829. "dgstatus": {
  20830. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20831. "type": "integer"
  20832. },
  20833. "enumdicname": {
  20834. "description": "现货品种单位名称",
  20835. "type": "string"
  20836. },
  20837. "goodsunitid": {
  20838. "description": "现货品种单位ID",
  20839. "type": "integer"
  20840. },
  20841. "isvalid": {
  20842. "description": "是否有效 - 0:无效 1:有效",
  20843. "type": "integer"
  20844. },
  20845. "qtydecimalplace": {
  20846. "description": "成交量小数位",
  20847. "type": "integer"
  20848. },
  20849. "remark": {
  20850. "description": "备注",
  20851. "type": "string"
  20852. },
  20853. "standardqty": {
  20854. "description": "标准数量(库位数量) [标准品特有]",
  20855. "type": "integer"
  20856. },
  20857. "standardqtyrange": {
  20858. "description": "标准数量偏差范围 [标准品特有]",
  20859. "type": "integer"
  20860. }
  20861. }
  20862. },
  20863. "models.ErmcpExposureDetailModel": {
  20864. "type": "object",
  20865. "properties": {
  20866. "areauserid": {
  20867. "description": "机构ID",
  20868. "type": "integer"
  20869. },
  20870. "changeQty": {
  20871. "description": "套保变动量",
  20872. "type": "number"
  20873. },
  20874. "contracttype": {
  20875. "description": "现货合同类型 - 1:采购 -1:销售",
  20876. "type": "integer"
  20877. },
  20878. "convertfactor": {
  20879. "description": "标仓系数",
  20880. "type": "number"
  20881. },
  20882. "convertratio": {
  20883. "description": "套保系数",
  20884. "type": "number"
  20885. },
  20886. "createtime": {
  20887. "description": "时间",
  20888. "type": "string"
  20889. },
  20890. "enumdicname": {
  20891. "description": "现货商品单位名称",
  20892. "type": "string"
  20893. },
  20894. "logtype": {
  20895. "description": "类型 - 1:套保计划 2:现货合同",
  20896. "type": "integer"
  20897. },
  20898. "middlegoodsId": {
  20899. "description": "套保商品id",
  20900. "type": "integer"
  20901. },
  20902. "middlegoodscode": {
  20903. "description": "套保商品代码",
  20904. "type": "string"
  20905. },
  20906. "middlegoodsname": {
  20907. "description": "套保商品名称",
  20908. "type": "string"
  20909. },
  20910. "qty": {
  20911. "description": "数量",
  20912. "type": "number"
  20913. },
  20914. "relateNo": {
  20915. "description": "现货合同/套保计划编号",
  20916. "type": "string"
  20917. },
  20918. "wrstandardcode": {
  20919. "description": "现货商品代码",
  20920. "type": "string"
  20921. },
  20922. "wrstandardid": {
  20923. "description": "现货商品ID",
  20924. "type": "integer"
  20925. },
  20926. "wrstandardname": {
  20927. "description": "现货商品名称",
  20928. "type": "string"
  20929. }
  20930. }
  20931. },
  20932. "models.ErmcpExposurePostion": {
  20933. "type": "object",
  20934. "properties": {
  20935. "agreeunit": {
  20936. "description": "合约单位",
  20937. "type": "string"
  20938. },
  20939. "areauserid": {
  20940. "description": "所属机构id",
  20941. "type": "integer"
  20942. },
  20943. "convertratio": {
  20944. "description": "期货品种系数(折算系数)",
  20945. "type": "number"
  20946. },
  20947. "curqty": {
  20948. "description": "当前持仓",
  20949. "type": "integer"
  20950. },
  20951. "diffhedgeqty": {
  20952. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20953. "type": "number"
  20954. },
  20955. "diffqty": {
  20956. "description": "持仓变动量=当前持仓-昨日持仓",
  20957. "type": "integer"
  20958. },
  20959. "goodscode": {
  20960. "description": "商品代码",
  20961. "type": "string"
  20962. },
  20963. "goodsid": {
  20964. "description": "商品id",
  20965. "type": "integer"
  20966. },
  20967. "goodsname": {
  20968. "description": "商品名称",
  20969. "type": "string"
  20970. },
  20971. "middlegoodsid": {
  20972. "description": "套保商品id",
  20973. "type": "integer"
  20974. },
  20975. "ydqty": {
  20976. "description": "昨日持仓",
  20977. "type": "integer"
  20978. }
  20979. }
  20980. },
  20981. "models.ErmcpFuturesCompany": {
  20982. "type": "object",
  20983. "properties": {
  20984. "brokerid": {
  20985. "description": "经纪公司代码",
  20986. "type": "string"
  20987. },
  20988. "channeladdress": {
  20989. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  20990. "type": "string"
  20991. },
  20992. "channelid": {
  20993. "description": "对冲渠道ID",
  20994. "type": "string"
  20995. },
  20996. "createtime": {
  20997. "description": "创建时间",
  20998. "type": "string"
  20999. },
  21000. "creatorid": {
  21001. "description": "创建人",
  21002. "type": "string"
  21003. },
  21004. "fcid": {
  21005. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  21006. "type": "integer"
  21007. },
  21008. "fcname": {
  21009. "description": "期货公司名称",
  21010. "type": "string"
  21011. },
  21012. "isvalid": {
  21013. "description": "是否有效 - 0:无效 1:有效",
  21014. "type": "integer"
  21015. },
  21016. "mhpaddress": {
  21017. "description": "MHP服务地址(IP:Port)",
  21018. "type": "string"
  21019. },
  21020. "riskrulegroupid": {
  21021. "description": "风控规则组ID",
  21022. "type": "string"
  21023. },
  21024. "tradefeetmpid": {
  21025. "description": "手续费模板ID[TradeConfigTmpType为2]",
  21026. "type": "string"
  21027. },
  21028. "trademargintmpid": {
  21029. "description": "保证金模板ID [TradeConfigTmpType为1]",
  21030. "type": "string"
  21031. },
  21032. "traderatetmpid": {
  21033. "description": "汇率模板ID[TradeConfigTmpType为3]",
  21034. "type": "string"
  21035. },
  21036. "updatetime": {
  21037. "description": "更新时间",
  21038. "type": "string"
  21039. },
  21040. "updatorid": {
  21041. "description": "更新人",
  21042. "type": "string"
  21043. }
  21044. }
  21045. },
  21046. "models.ErmcpGGConvertCfg": {
  21047. "type": "object",
  21048. "properties": {
  21049. "convertratio": {
  21050. "description": "折算系数",
  21051. "type": "number"
  21052. },
  21053. "destgoodsgroupid": {
  21054. "description": "目标品种ID",
  21055. "type": "integer"
  21056. },
  21057. "dstcode": {
  21058. "description": "目录品种代码",
  21059. "type": "string"
  21060. },
  21061. "dstexchangecode": {
  21062. "description": "目标期货交易所",
  21063. "type": "string"
  21064. },
  21065. "dstname": {
  21066. "description": "目标品种名称",
  21067. "type": "string"
  21068. },
  21069. "dstunitid": {
  21070. "description": "目标品种单位ID",
  21071. "type": "integer"
  21072. },
  21073. "dstunitidname": {
  21074. "description": "目标品种单位名称",
  21075. "type": "string"
  21076. },
  21077. "modifytime": {
  21078. "description": "修改时间",
  21079. "type": "string"
  21080. },
  21081. "srccode": {
  21082. "description": "源品种代码",
  21083. "type": "string"
  21084. },
  21085. "srcexchangecode": {
  21086. "description": "源期货交易所",
  21087. "type": "string"
  21088. },
  21089. "srcgoodsgroupid": {
  21090. "description": "源品种ID",
  21091. "type": "integer"
  21092. },
  21093. "srcname": {
  21094. "description": "源品种名称",
  21095. "type": "string"
  21096. },
  21097. "srcunitid": {
  21098. "description": "源品种单位ID",
  21099. "type": "integer"
  21100. },
  21101. "srcunitidname": {
  21102. "description": "源品种单位名称",
  21103. "type": "string"
  21104. }
  21105. }
  21106. },
  21107. "models.ErmcpGoods": {
  21108. "type": "object",
  21109. "required": [
  21110. "goodscode",
  21111. "goodsid",
  21112. "goodsname",
  21113. "marketid"
  21114. ],
  21115. "properties": {
  21116. "agreeunit": {
  21117. "description": "合约单位",
  21118. "type": "number"
  21119. },
  21120. "areauserid": {
  21121. "description": "所属机构",
  21122. "type": "integer"
  21123. },
  21124. "auditaccountid": {
  21125. "description": "审核操作员账号",
  21126. "type": "integer"
  21127. },
  21128. "audittime": {
  21129. "description": "审核时间",
  21130. "type": "string"
  21131. },
  21132. "cancelaccountid": {
  21133. "description": "注销操作员账号",
  21134. "type": "integer"
  21135. },
  21136. "canceltime": {
  21137. "description": "注销时间",
  21138. "type": "string"
  21139. },
  21140. "closepricemode": {
  21141. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21142. "type": "integer"
  21143. },
  21144. "closepriceparam": {
  21145. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21146. "type": "number"
  21147. },
  21148. "createtime": {
  21149. "description": "创建时间",
  21150. "type": "string"
  21151. },
  21152. "creatorid": {
  21153. "description": "创建人",
  21154. "type": "integer"
  21155. },
  21156. "currencyid": {
  21157. "description": "报价货币ID",
  21158. "type": "integer"
  21159. },
  21160. "cutmode": {
  21161. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21162. "type": "integer"
  21163. },
  21164. "decimalplace": {
  21165. "description": "报价小数位",
  21166. "type": "integer"
  21167. },
  21168. "delistingdate": {
  21169. "description": "商品退市时间(状态:退市) -- 已作废",
  21170. "type": "string"
  21171. },
  21172. "delistingmode": {
  21173. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21174. "type": "integer"
  21175. },
  21176. "deliveryflag": {
  21177. "description": "交割标志 - 0:不可交割 1:可交割",
  21178. "type": "integer"
  21179. },
  21180. "enumdicname": {
  21181. "description": "单位名称",
  21182. "type": "string"
  21183. },
  21184. "forceclosemode": {
  21185. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21186. "type": "integer"
  21187. },
  21188. "forceclosevalue": {
  21189. "description": "定期强平参数 [收益权]",
  21190. "type": "integer"
  21191. },
  21192. "goodscode": {
  21193. "description": "商品代码(内部)",
  21194. "type": "string"
  21195. },
  21196. "goodscurrencyid": {
  21197. "description": "合约货币ID",
  21198. "type": "integer"
  21199. },
  21200. "goodsgroupid": {
  21201. "description": "所属商品组ID",
  21202. "type": "integer"
  21203. },
  21204. "goodsid": {
  21205. "description": "商品ID(自增ID SEQ_GOODS)",
  21206. "type": "integer"
  21207. },
  21208. "goodsname": {
  21209. "description": "商品名称",
  21210. "type": "string"
  21211. },
  21212. "goodsquotetype": {
  21213. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21214. "type": "integer"
  21215. },
  21216. "goodsstatus": {
  21217. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21218. "type": "integer"
  21219. },
  21220. "goodstradetype": {
  21221. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21222. "type": "integer"
  21223. },
  21224. "goodunitid": {
  21225. "description": "报价单位ID",
  21226. "type": "integer"
  21227. },
  21228. "hasquoter": {
  21229. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21230. "type": "integer"
  21231. },
  21232. "hqprotecttime": {
  21233. "description": "行情保护时间(秒)",
  21234. "type": "integer"
  21235. },
  21236. "innerdealmode": {
  21237. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21238. "type": "integer"
  21239. },
  21240. "isbuylimited": {
  21241. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21242. "type": "integer"
  21243. },
  21244. "isvisible": {
  21245. "description": "游客是否可见 - 0:不可见 1:可见",
  21246. "type": "integer"
  21247. },
  21248. "lasttradedate": {
  21249. "description": "最后交易日期(状态:待退市)",
  21250. "type": "string"
  21251. },
  21252. "listingdate": {
  21253. "description": "交易开始日期",
  21254. "type": "string"
  21255. },
  21256. "marketid": {
  21257. "description": "所属市场ID",
  21258. "type": "integer"
  21259. },
  21260. "modifierid": {
  21261. "description": "修改人",
  21262. "type": "integer"
  21263. },
  21264. "modifystatus": {
  21265. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21266. "type": "integer"
  21267. },
  21268. "modifytime": {
  21269. "description": "修改时间",
  21270. "type": "string"
  21271. },
  21272. "outerdealmode": {
  21273. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21274. "type": "integer"
  21275. },
  21276. "outgoodscode": {
  21277. "description": "商品代码(外部)",
  21278. "type": "string"
  21279. },
  21280. "pictureurl": {
  21281. "description": "商品图片",
  21282. "type": "string"
  21283. },
  21284. "qtydecimalplace": {
  21285. "description": "成交量小数位",
  21286. "type": "integer"
  21287. },
  21288. "quotegear": {
  21289. "description": "行情档位(1-10)",
  21290. "type": "integer"
  21291. },
  21292. "quoteminunit": {
  21293. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21294. "type": "integer"
  21295. },
  21296. "quoteshowtype": {
  21297. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21298. "type": "integer"
  21299. },
  21300. "quoteshowtypeinterval": {
  21301. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21302. "type": "integer"
  21303. },
  21304. "relatedgoodsid": {
  21305. "description": "关联参考商品ID",
  21306. "type": "integer"
  21307. },
  21308. "remark": {
  21309. "description": "备注",
  21310. "type": "string"
  21311. },
  21312. "trademode": {
  21313. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21314. "type": "integer"
  21315. }
  21316. }
  21317. },
  21318. "models.ErmcpGoodsBrand": {
  21319. "type": "object",
  21320. "properties": {
  21321. "areauserid": {
  21322. "description": "所属机构",
  21323. "type": "integer"
  21324. },
  21325. "brandid": {
  21326. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  21327. "type": "integer"
  21328. },
  21329. "brandname": {
  21330. "description": "品牌名称",
  21331. "type": "string"
  21332. },
  21333. "createtime": {
  21334. "description": "创建时间",
  21335. "type": "string"
  21336. },
  21337. "creatorid": {
  21338. "description": "创建人",
  21339. "type": "integer"
  21340. },
  21341. "creatorsrc": {
  21342. "description": "创建人来源 - 1:管理端 2:终端",
  21343. "type": "integer"
  21344. },
  21345. "deliverygoodsid": {
  21346. "description": "现货品种ID",
  21347. "type": "integer"
  21348. },
  21349. "isvalid": {
  21350. "description": "是否有效 - 0:无效 1:有效",
  21351. "type": "integer"
  21352. },
  21353. "updatetime": {
  21354. "description": "更新时间",
  21355. "type": "string"
  21356. },
  21357. "updatorid": {
  21358. "description": "更新人",
  21359. "type": "integer"
  21360. },
  21361. "updatorsrc": {
  21362. "description": "更新人来源 - 1:管理端 2:终端",
  21363. "type": "integer"
  21364. },
  21365. "wrstandardid": {
  21366. "description": "现货商品ID",
  21367. "type": "integer"
  21368. }
  21369. }
  21370. },
  21371. "models.ErmcpGoodsModel": {
  21372. "type": "object",
  21373. "properties": {
  21374. "areauserid": {
  21375. "description": "所属机构",
  21376. "type": "integer"
  21377. },
  21378. "convertfactor": {
  21379. "description": "标仓系数",
  21380. "type": "number"
  21381. },
  21382. "createtime": {
  21383. "description": "创建时间",
  21384. "type": "string"
  21385. },
  21386. "creatorid": {
  21387. "description": "创建人",
  21388. "type": "integer"
  21389. },
  21390. "creatorsrc": {
  21391. "description": "创建人来源 - 1:管理端 2:终端",
  21392. "type": "integer"
  21393. },
  21394. "deliverygoodsid": {
  21395. "description": "现货品种ID",
  21396. "type": "integer"
  21397. },
  21398. "isvalid": {
  21399. "description": "是否有效 - 0:无效 1:有效",
  21400. "type": "integer"
  21401. },
  21402. "modelid": {
  21403. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  21404. "type": "integer"
  21405. },
  21406. "modelname": {
  21407. "description": "型号名称",
  21408. "type": "string"
  21409. },
  21410. "updatetime": {
  21411. "description": "更新时间",
  21412. "type": "string"
  21413. },
  21414. "updatorid": {
  21415. "description": "更新人",
  21416. "type": "integer"
  21417. },
  21418. "updatorsrc": {
  21419. "description": "更新人来源 - 1:管理端 2:终端",
  21420. "type": "integer"
  21421. },
  21422. "wrstandardid": {
  21423. "description": "现货商品ID",
  21424. "type": "integer"
  21425. }
  21426. }
  21427. },
  21428. "models.ErmcpHedgePosition": {
  21429. "type": "object",
  21430. "properties": {
  21431. "accountid": {
  21432. "description": "资金账号[外部母账户]",
  21433. "type": "integer"
  21434. },
  21435. "curbuyposition": {
  21436. "description": "期末买头寸",
  21437. "type": "integer"
  21438. },
  21439. "cursellposition": {
  21440. "description": "期末卖头寸",
  21441. "type": "integer"
  21442. },
  21443. "curtdbuyposition": {
  21444. "description": "期末今日买头寸",
  21445. "type": "integer"
  21446. },
  21447. "curtdsellposition": {
  21448. "description": "期末今日卖头寸",
  21449. "type": "integer"
  21450. },
  21451. "curydbuyposition": {
  21452. "description": "期末上日买头寸",
  21453. "type": "integer"
  21454. },
  21455. "curydsellposition": {
  21456. "description": "期末上日卖头寸",
  21457. "type": "integer"
  21458. },
  21459. "decreaseqty": {
  21460. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  21461. "type": "integer"
  21462. },
  21463. "fretdbuyposition": {
  21464. "description": "冻结今日买头寸",
  21465. "type": "integer"
  21466. },
  21467. "fretdsellposition": {
  21468. "description": "冻结今日卖头寸",
  21469. "type": "integer"
  21470. },
  21471. "freydbuyposition": {
  21472. "description": "冻结上日买头寸",
  21473. "type": "integer"
  21474. },
  21475. "freydsellposition": {
  21476. "description": "冻结上日卖头寸",
  21477. "type": "integer"
  21478. },
  21479. "goodscode": {
  21480. "description": "商品代码",
  21481. "type": "string"
  21482. },
  21483. "goodsid": {
  21484. "description": "商品id",
  21485. "type": "integer"
  21486. },
  21487. "goodsname": {
  21488. "description": "商品名称",
  21489. "type": "string"
  21490. },
  21491. "hedgeaccountcode": {
  21492. "description": "对冲账号",
  21493. "type": "string"
  21494. },
  21495. "hedgegoodsid": {
  21496. "description": "对冲合约ID",
  21497. "type": "integer"
  21498. },
  21499. "increaseqty": {
  21500. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  21501. "type": "integer"
  21502. },
  21503. "marketid": {
  21504. "description": "市场ID",
  21505. "type": "integer"
  21506. },
  21507. "relateduserid": {
  21508. "description": "关联用户id",
  21509. "type": "integer"
  21510. },
  21511. "totalcurqty": {
  21512. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  21513. "type": "integer"
  21514. },
  21515. "totalydqty": {
  21516. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  21517. "type": "integer"
  21518. },
  21519. "tradedate": {
  21520. "description": "交易日(yyyyMMdd)",
  21521. "type": "string"
  21522. },
  21523. "ydbuyposition": {
  21524. "description": "期初买头寸",
  21525. "type": "integer"
  21526. },
  21527. "ydsellposition": {
  21528. "description": "期初卖头寸",
  21529. "type": "integer"
  21530. }
  21531. }
  21532. },
  21533. "models.ErmcpHedgePositionDetail": {
  21534. "type": "object",
  21535. "properties": {
  21536. "buyorsell": {
  21537. "description": "买卖方向 0-买 1-卖",
  21538. "type": "integer"
  21539. },
  21540. "channelbuildtype": {
  21541. "description": "开平方向 1-建仓 2-平仓",
  21542. "type": "integer"
  21543. },
  21544. "goodscode": {
  21545. "description": "商品代码",
  21546. "type": "string"
  21547. },
  21548. "goodsname": {
  21549. "description": "商品名称",
  21550. "type": "string"
  21551. },
  21552. "hedgegoodsid": {
  21553. "description": "商品id",
  21554. "type": "integer"
  21555. },
  21556. "tradeqty": {
  21557. "description": "数量(成交数量)",
  21558. "type": "integer"
  21559. },
  21560. "tradetime": {
  21561. "description": "时间(成交时间)",
  21562. "type": "string"
  21563. }
  21564. }
  21565. },
  21566. "models.ErmcpHisExposure": {
  21567. "type": "object",
  21568. "properties": {
  21569. "needhedgeexposoure": {
  21570. "description": "应套保敞口",
  21571. "type": "number"
  21572. },
  21573. "reckondate": {
  21574. "description": "日照时期(yyyyMMdd)",
  21575. "type": "string"
  21576. },
  21577. "totalexposure": {
  21578. "description": "总敞口",
  21579. "type": "number"
  21580. }
  21581. }
  21582. },
  21583. "models.ErmcpHisExposureS": {
  21584. "type": "object",
  21585. "properties": {
  21586. "data": {
  21587. "description": "历史敞口",
  21588. "type": "array",
  21589. "items": {
  21590. "$ref": "#/definitions/models.ErmcpHisExposure"
  21591. }
  21592. },
  21593. "enumdicname": {
  21594. "description": "单位名称",
  21595. "type": "string"
  21596. },
  21597. "middlegoodscode": {
  21598. "description": "套保品种代码",
  21599. "type": "string"
  21600. },
  21601. "middlegoodsid": {
  21602. "description": "套保品种ID",
  21603. "type": "integer"
  21604. },
  21605. "middlegoodsname": {
  21606. "description": "套保品种名称",
  21607. "type": "string"
  21608. }
  21609. }
  21610. },
  21611. "models.ErmcpLoginTaAccount": {
  21612. "type": "object",
  21613. "properties": {
  21614. "accountid": {
  21615. "description": "账号id",
  21616. "type": "integer"
  21617. },
  21618. "accountname": {
  21619. "description": "账号名称",
  21620. "type": "string"
  21621. }
  21622. }
  21623. },
  21624. "models.ErmcpLoginUser": {
  21625. "type": "object",
  21626. "properties": {
  21627. "acclist": {
  21628. "description": "关联资金账号",
  21629. "type": "array",
  21630. "items": {
  21631. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  21632. }
  21633. },
  21634. "accountname": {
  21635. "description": "用户名称",
  21636. "type": "string"
  21637. },
  21638. "clientroleid": {
  21639. "description": "角色id(usertype=2)",
  21640. "type": "integer"
  21641. },
  21642. "createtime": {
  21643. "description": "创建时间",
  21644. "type": "string"
  21645. },
  21646. "logincode": {
  21647. "description": "登录代码",
  21648. "type": "string"
  21649. },
  21650. "loginid": {
  21651. "description": "登录id(LOGINID)",
  21652. "type": "integer"
  21653. },
  21654. "loginname": {
  21655. "description": "登录名称(loginaccount表中的accountname字段)",
  21656. "type": "string"
  21657. },
  21658. "loginstatus": {
  21659. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  21660. "type": "integer"
  21661. },
  21662. "memberuserid": {
  21663. "description": "所属会员id",
  21664. "type": "integer"
  21665. },
  21666. "mobile": {
  21667. "description": "手机号",
  21668. "type": "string"
  21669. },
  21670. "modifytime": {
  21671. "description": "修改时间",
  21672. "type": "string"
  21673. },
  21674. "password": {
  21675. "description": "密码(不可解密)",
  21676. "type": "string"
  21677. },
  21678. "rolename": {
  21679. "description": "角色名称",
  21680. "type": "string"
  21681. },
  21682. "rolestatus": {
  21683. "description": "角色状态 1-启用 2-停用",
  21684. "type": "integer"
  21685. },
  21686. "roletype": {
  21687. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  21688. "type": "string"
  21689. },
  21690. "userid": {
  21691. "description": "用户id",
  21692. "type": "integer"
  21693. },
  21694. "usertype": {
  21695. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21696. "type": "integer"
  21697. }
  21698. }
  21699. },
  21700. "models.ErmcpLoginUserEx": {
  21701. "type": "object",
  21702. "properties": {
  21703. "accountstatus": {
  21704. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21705. "type": "integer"
  21706. },
  21707. "mobile": {
  21708. "description": "手机号",
  21709. "type": "string"
  21710. },
  21711. "querytype": {
  21712. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  21713. "type": "integer"
  21714. },
  21715. "roleid": {
  21716. "description": "角色id(交易账户-\u003e用户id)",
  21717. "type": "integer"
  21718. },
  21719. "rolename": {
  21720. "description": "角色名称(交易账户-\u003e用户名称)",
  21721. "type": "string"
  21722. },
  21723. "userlist": {
  21724. "description": "用户列表",
  21725. "type": "array",
  21726. "items": {
  21727. "$ref": "#/definitions/models.ErmcpLoginUser"
  21728. }
  21729. },
  21730. "usertype": {
  21731. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21732. "type": "integer"
  21733. }
  21734. }
  21735. },
  21736. "models.ErmcpMiddleGoodsChangeLog": {
  21737. "type": "object",
  21738. "properties": {
  21739. "aftervalue": {
  21740. "description": "变更后",
  21741. "type": "number"
  21742. },
  21743. "applyid": {
  21744. "description": "操作人",
  21745. "type": "integer"
  21746. },
  21747. "applyname": {
  21748. "description": "操作人名称",
  21749. "type": "string"
  21750. },
  21751. "applysrc": {
  21752. "description": "操作来源 - 1:管理端 2:终端",
  21753. "type": "integer"
  21754. },
  21755. "beforevalue": {
  21756. "description": "变更前",
  21757. "type": "number"
  21758. },
  21759. "changelogtype": {
  21760. "description": "变更流水类型 - 1:套保比率变更",
  21761. "type": "integer"
  21762. },
  21763. "handlestatus": {
  21764. "description": "处理状态",
  21765. "type": "integer"
  21766. },
  21767. "logdatetime": {
  21768. "description": "流水日期",
  21769. "type": "string"
  21770. },
  21771. "logid": {
  21772. "description": "流水ID",
  21773. "type": "integer"
  21774. },
  21775. "logremark": {
  21776. "description": "流水备注",
  21777. "type": "string"
  21778. },
  21779. "middlegoodsid": {
  21780. "description": "套保品种ID",
  21781. "type": "integer"
  21782. },
  21783. "tradedate": {
  21784. "description": "交易日(yyyyMMdd)",
  21785. "type": "string"
  21786. },
  21787. "updatetime": {
  21788. "description": "更新时间",
  21789. "type": "string"
  21790. }
  21791. }
  21792. },
  21793. "models.ErmcpMiddleGoodsDetail": {
  21794. "type": "object",
  21795. "properties": {
  21796. "cvList": {
  21797. "description": "期货品种折算列表",
  21798. "type": "array",
  21799. "items": {
  21800. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21801. }
  21802. },
  21803. "mg": {
  21804. "description": "套保品种基本信息",
  21805. "type": "object",
  21806. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21807. },
  21808. "wrcList": {
  21809. "description": "现货品种列表(现货商品折算配置)",
  21810. "type": "array",
  21811. "items": {
  21812. "$ref": "#/definitions/models.WRSConverTDetail"
  21813. }
  21814. }
  21815. }
  21816. },
  21817. "models.ErmcpMiddleGoodsModel": {
  21818. "type": "object",
  21819. "properties": {
  21820. "areauserid": {
  21821. "description": "机构用户ID",
  21822. "type": "integer"
  21823. },
  21824. "createtime": {
  21825. "description": "修改时间",
  21826. "type": "string"
  21827. },
  21828. "enumdicname": {
  21829. "description": "单位名称",
  21830. "type": "string"
  21831. },
  21832. "evaluateratio": {
  21833. "description": "估价系数",
  21834. "type": "number"
  21835. },
  21836. "goodsgroupid": {
  21837. "description": "关联期货品种ID",
  21838. "type": "integer"
  21839. },
  21840. "goodsunitid": {
  21841. "description": "单位ID",
  21842. "type": "integer"
  21843. },
  21844. "isvalid": {
  21845. "description": "状态 0-无效(停用) 1-有效(正常)",
  21846. "type": "integer"
  21847. },
  21848. "middlegoodscode": {
  21849. "description": "套保品种代码",
  21850. "type": "string"
  21851. },
  21852. "middlegoodsid": {
  21853. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21854. "type": "integer"
  21855. },
  21856. "middlegoodsname": {
  21857. "description": "套保品种名称",
  21858. "type": "string"
  21859. },
  21860. "modifytime": {
  21861. "description": "修改时间",
  21862. "type": "string"
  21863. },
  21864. "needarbitrageratio": {
  21865. "description": "套利比例",
  21866. "type": "number"
  21867. },
  21868. "needhedgeratio": {
  21869. "description": "套保比率",
  21870. "type": "number"
  21871. },
  21872. "qtydecimalplace": {
  21873. "description": "数量小数位",
  21874. "type": "integer"
  21875. },
  21876. "relatedgoodsid": {
  21877. "description": "关联交易商品ID",
  21878. "type": "integer"
  21879. },
  21880. "relatedgoodstype": {
  21881. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21882. "type": "integer"
  21883. },
  21884. "remark": {
  21885. "description": "备注",
  21886. "type": "string"
  21887. }
  21888. }
  21889. },
  21890. "models.ErmcpMiddlegoodsRelateGoods": {
  21891. "type": "object",
  21892. "properties": {
  21893. "agreeunit": {
  21894. "description": "合约乘数",
  21895. "type": "number"
  21896. },
  21897. "convertratio": {
  21898. "description": "折算系数",
  21899. "type": "number"
  21900. },
  21901. "enumdicname": {
  21902. "description": "单位名称(交易商品)",
  21903. "type": "string"
  21904. },
  21905. "goodscode": {
  21906. "description": "交易商品代码",
  21907. "type": "string"
  21908. },
  21909. "goodsgroupid": {
  21910. "description": "交易品种id",
  21911. "type": "integer"
  21912. },
  21913. "goodsid": {
  21914. "description": "商品Id",
  21915. "type": "integer"
  21916. },
  21917. "goodsname": {
  21918. "description": "交易商品名称",
  21919. "type": "string"
  21920. },
  21921. "goodunitid": {
  21922. "description": "交易商品单位id",
  21923. "type": "integer"
  21924. },
  21925. "middlegoodsid": {
  21926. "description": "套保商品id",
  21927. "type": "integer"
  21928. },
  21929. "middlegoodsname": {
  21930. "description": "套保商品名称",
  21931. "type": "string"
  21932. },
  21933. "middlegoodsswcode": {
  21934. "description": "套保商品代码",
  21935. "type": "string"
  21936. },
  21937. "needarbitrageratio": {
  21938. "description": "应套利比例",
  21939. "type": "number"
  21940. },
  21941. "needhedgeratio": {
  21942. "description": "应套保比例",
  21943. "type": "number"
  21944. }
  21945. }
  21946. },
  21947. "models.ErmcpOPLogModel": {
  21948. "type": "object",
  21949. "properties": {
  21950. "aftervalue": {
  21951. "description": "变更后",
  21952. "type": "number"
  21953. },
  21954. "applyid": {
  21955. "description": "操作人ID",
  21956. "type": "string"
  21957. },
  21958. "applyname": {
  21959. "description": "操作人名称",
  21960. "type": "string"
  21961. },
  21962. "beforevalue": {
  21963. "description": "变更前",
  21964. "type": "number"
  21965. },
  21966. "biztype": {
  21967. "description": "业务类型 - 1:套保计划 2:现货合同",
  21968. "type": "integer"
  21969. },
  21970. "contracttype": {
  21971. "description": "现货合同类型 - 1:采购 -1:销售",
  21972. "type": "integer"
  21973. },
  21974. "logvalue": {
  21975. "description": "数值",
  21976. "type": "number"
  21977. },
  21978. "operatelogtype": {
  21979. "description": "操作流水类型",
  21980. "type": "integer"
  21981. },
  21982. "operatelogtypedesc": {
  21983. "description": "操作流水类型名称",
  21984. "type": "string"
  21985. },
  21986. "relatedid": {
  21987. "description": "现货合同ID\\套保计划",
  21988. "type": "string"
  21989. },
  21990. "updatetime": {
  21991. "description": "更新时间",
  21992. "type": "string"
  21993. }
  21994. }
  21995. },
  21996. "models.ErmcpPendingAudit": {
  21997. "type": "object",
  21998. "properties": {
  21999. "areastockqty": {
  22000. "description": "待审核数量: 库存申请",
  22001. "type": "integer"
  22002. },
  22003. "businessdjqty": {
  22004. "description": "待审核数量: 点价",
  22005. "type": "integer"
  22006. },
  22007. "businessfpqty": {
  22008. "description": "待审核数量: 发票",
  22009. "type": "integer"
  22010. },
  22011. "businessjsqty": {
  22012. "description": "待审核数量: 结算",
  22013. "type": "integer"
  22014. },
  22015. "businesskxqty": {
  22016. "description": "待审核数量: 款项",
  22017. "type": "integer"
  22018. },
  22019. "hedgeplanqty": {
  22020. "description": "待审核数量: 套保计划",
  22021. "type": "integer"
  22022. },
  22023. "spotcontractqty": {
  22024. "description": "待审核数量: 现货合同",
  22025. "type": "integer"
  22026. },
  22027. "userqty": {
  22028. "description": "待审核数量: 用户",
  22029. "type": "integer"
  22030. }
  22031. }
  22032. },
  22033. "models.ErmcpRealExposureModel": {
  22034. "type": "object",
  22035. "properties": {
  22036. "AreaUserID": {
  22037. "description": "所属机构",
  22038. "type": "integer"
  22039. },
  22040. "BuyFutureQty": {
  22041. "description": "买入期货数量",
  22042. "type": "number"
  22043. },
  22044. "BuyPlanQty": {
  22045. "description": "采购计划数量",
  22046. "type": "number"
  22047. },
  22048. "BuyPricedQty": {
  22049. "description": "采购合同已定价数量",
  22050. "type": "number"
  22051. },
  22052. "MiddleGoodsCode": {
  22053. "description": "套保品种代码",
  22054. "type": "string"
  22055. },
  22056. "MiddleGoodsHedgeRatio": {
  22057. "description": "套保比例",
  22058. "type": "number"
  22059. },
  22060. "MiddleGoodsID": {
  22061. "description": "套保品种",
  22062. "type": "integer"
  22063. },
  22064. "MiddleGoodsName": {
  22065. "description": "套保品种名称",
  22066. "type": "string"
  22067. },
  22068. "NeedHedgeExposoure": {
  22069. "description": "应套保敞口(套保敞口)",
  22070. "type": "number"
  22071. },
  22072. "NeedHedgeRatio": {
  22073. "description": "应套保敞口比例",
  22074. "type": "number"
  22075. },
  22076. "OriBuyFutureQty": {
  22077. "description": "期初买入期货数量",
  22078. "type": "number"
  22079. },
  22080. "OriBuyPlanQty": {
  22081. "description": "期初采购计划数量",
  22082. "type": "number"
  22083. },
  22084. "OriBuyPricedQty": {
  22085. "description": "期初采购合同已定价数量",
  22086. "type": "number"
  22087. },
  22088. "OriSellFutureQty": {
  22089. "description": "期初卖出期货数量",
  22090. "type": "number"
  22091. },
  22092. "OriSellPlanQty": {
  22093. "description": "期初销售计划数量",
  22094. "type": "number"
  22095. },
  22096. "OriSellPricedQty": {
  22097. "description": "期初销售合同已定价数量",
  22098. "type": "number"
  22099. },
  22100. "SellFutureQty": {
  22101. "description": "卖出期货数量",
  22102. "type": "number"
  22103. },
  22104. "SellPlanQty": {
  22105. "description": "销售计划数量",
  22106. "type": "number"
  22107. },
  22108. "SellPricedQty": {
  22109. "description": "销售合同已定价数量",
  22110. "type": "number"
  22111. },
  22112. "TotalExposure": {
  22113. "description": "总敞口 平安:净敞口",
  22114. "type": "number"
  22115. },
  22116. "TotalFutureQty": {
  22117. "description": "期货总量 平安:保值净持仓量",
  22118. "type": "number"
  22119. },
  22120. "TotalHedgeRatio": {
  22121. "description": "敞口比例",
  22122. "type": "number"
  22123. },
  22124. "TotalNeedHedgeQty": {
  22125. "description": "应套保总量(现货应套保总量)",
  22126. "type": "number"
  22127. },
  22128. "TotalSpotQty": {
  22129. "description": "现货总量 平安:采销定价净值",
  22130. "type": "number"
  22131. },
  22132. "arbitrageqty": {
  22133. "description": "套利量",
  22134. "type": "number"
  22135. },
  22136. "diffArbitrageQty": {
  22137. "description": "套利变动量",
  22138. "type": "number"
  22139. },
  22140. "diffExposoureQty": {
  22141. "description": "变动量(套保敞口)",
  22142. "type": "number"
  22143. },
  22144. "diffFutuQty": {
  22145. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  22146. "type": "number"
  22147. },
  22148. "diffHedgeQty": {
  22149. "description": "套保变动量",
  22150. "type": "number"
  22151. },
  22152. "diffQty": {
  22153. "description": "变动量(总敞口) 平安:净敞口今日变动",
  22154. "type": "number"
  22155. },
  22156. "diffSpotHedgeQty": {
  22157. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  22158. "type": "number"
  22159. },
  22160. "diffSpotQty": {
  22161. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  22162. "type": "number"
  22163. },
  22164. "enumdicname": {
  22165. "description": "单位名称",
  22166. "type": "string"
  22167. },
  22168. "hedgeqty": {
  22169. "description": "套保量",
  22170. "type": "number"
  22171. },
  22172. "needarbitrageqty": {
  22173. "description": "应套利量",
  22174. "type": "number"
  22175. },
  22176. "needarbitrageratio": {
  22177. "description": "套利比例",
  22178. "type": "number"
  22179. },
  22180. "needhedgeqty": {
  22181. "description": "应套保量",
  22182. "type": "number"
  22183. },
  22184. "oriTotalFutuQty": {
  22185. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  22186. "type": "number"
  22187. },
  22188. "oriTotalSpotQty": {
  22189. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  22190. "type": "number"
  22191. },
  22192. "oriarbitrageqty": {
  22193. "description": "期初套利量",
  22194. "type": "number"
  22195. },
  22196. "orihedgeqty": {
  22197. "description": "期初套保量",
  22198. "type": "number"
  22199. },
  22200. "orineedhedgeexposoure": {
  22201. "description": "期初套保敞口",
  22202. "type": "number"
  22203. },
  22204. "oritotalexposure": {
  22205. "description": "期初总敞口",
  22206. "type": "number"
  22207. },
  22208. "oritotalfutureqty": {
  22209. "description": "期初期货总量",
  22210. "type": "number"
  22211. },
  22212. "oritotalneedhedgeqty": {
  22213. "description": "期初现货应套保量",
  22214. "type": "number"
  22215. }
  22216. }
  22217. },
  22218. "models.ErmcpRole": {
  22219. "type": "object",
  22220. "properties": {
  22221. "areauserid": {
  22222. "description": "所属机构",
  22223. "type": "integer"
  22224. },
  22225. "autoid": {
  22226. "description": "角色ID(自增ID)",
  22227. "type": "integer"
  22228. },
  22229. "modifierid": {
  22230. "description": "修改人(创建人)",
  22231. "type": "integer"
  22232. },
  22233. "modifiername": {
  22234. "description": "修改人名称",
  22235. "type": "string"
  22236. },
  22237. "modifytime": {
  22238. "description": "修改时间(创建时间)",
  22239. "type": "string"
  22240. },
  22241. "rolename": {
  22242. "description": "角色名称",
  22243. "type": "string"
  22244. },
  22245. "rolestatus": {
  22246. "description": "角色状态 - 1:启用 2:停用",
  22247. "type": "integer"
  22248. },
  22249. "roletype": {
  22250. "description": "角色类型 - 1- 管理端 2- 交易端",
  22251. "type": "integer"
  22252. }
  22253. }
  22254. },
  22255. "models.ErmcpRoleMenu": {
  22256. "type": "object",
  22257. "properties": {
  22258. "iconame": {
  22259. "description": "菜单图标",
  22260. "type": "string"
  22261. },
  22262. "ishadrole": {
  22263. "description": "是否有权限",
  22264. "type": "boolean"
  22265. },
  22266. "menutype": {
  22267. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  22268. "type": "integer"
  22269. },
  22270. "parentcode": {
  22271. "description": "上级资源代码",
  22272. "type": "string"
  22273. },
  22274. "remark": {
  22275. "description": "菜单备注",
  22276. "type": "string"
  22277. },
  22278. "resourcecode": {
  22279. "description": "菜单代码",
  22280. "type": "string"
  22281. },
  22282. "resourcelevel": {
  22283. "description": "级别",
  22284. "type": "integer"
  22285. },
  22286. "resourcename": {
  22287. "description": "菜单名称",
  22288. "type": "string"
  22289. },
  22290. "roleid": {
  22291. "description": "角色id",
  22292. "type": "integer"
  22293. },
  22294. "sort": {
  22295. "description": "排序",
  22296. "type": "integer"
  22297. },
  22298. "url": {
  22299. "description": "URL",
  22300. "type": "string"
  22301. },
  22302. "userid": {
  22303. "description": "用户id",
  22304. "type": "integer"
  22305. }
  22306. }
  22307. },
  22308. "models.ErmcpRoleMenuEx": {
  22309. "type": "object",
  22310. "properties": {
  22311. "menu": {
  22312. "description": "父级菜单",
  22313. "type": "object",
  22314. "$ref": "#/definitions/models.ErmcpRoleMenu"
  22315. },
  22316. "subMenu": {
  22317. "description": "子级菜单",
  22318. "type": "array",
  22319. "items": {
  22320. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  22321. }
  22322. }
  22323. }
  22324. },
  22325. "models.ErmcpTaAccount": {
  22326. "type": "object",
  22327. "properties": {
  22328. "accountid": {
  22329. "description": "账户id",
  22330. "type": "integer"
  22331. },
  22332. "accountname": {
  22333. "description": "账户名称",
  22334. "type": "string"
  22335. },
  22336. "currencyid": {
  22337. "description": "币种id",
  22338. "type": "integer"
  22339. },
  22340. "hedgeaccountcode": {
  22341. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22342. "type": "string"
  22343. },
  22344. "ismain": {
  22345. "description": "是否主账户 0-否 1-是",
  22346. "type": "integer"
  22347. },
  22348. "parentaccountid": {
  22349. "description": "父账户id",
  22350. "type": "integer"
  22351. },
  22352. "relateduserid": {
  22353. "description": "关联userid",
  22354. "type": "integer"
  22355. },
  22356. "tradefeetmpid": {
  22357. "description": "手续费模板id",
  22358. "type": "integer"
  22359. },
  22360. "tradefeetmpname": {
  22361. "description": "手续费模板名称",
  22362. "type": "string"
  22363. },
  22364. "trademargintmpid": {
  22365. "description": "保证金模板id",
  22366. "type": "integer"
  22367. },
  22368. "trademargintmpname": {
  22369. "description": "保证金模板名称",
  22370. "type": "string"
  22371. },
  22372. "traderatetmpid": {
  22373. "description": "汇率模板id",
  22374. "type": "integer"
  22375. },
  22376. "traderatetmpname": {
  22377. "description": "汇率模板名称",
  22378. "type": "string"
  22379. },
  22380. "tradestatus": {
  22381. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22382. "type": "integer"
  22383. },
  22384. "userid": {
  22385. "description": "用户id",
  22386. "type": "integer"
  22387. }
  22388. }
  22389. },
  22390. "models.ErmcpTaAccountEx": {
  22391. "type": "object",
  22392. "properties": {
  22393. "mainAcc": {
  22394. "description": "主账号",
  22395. "type": "object",
  22396. "$ref": "#/definitions/models.ErmcpTaAccountM"
  22397. },
  22398. "subacclist": {
  22399. "description": "子账号列表",
  22400. "type": "array",
  22401. "items": {
  22402. "$ref": "#/definitions/models.ErmcpTaAccount"
  22403. }
  22404. }
  22405. }
  22406. },
  22407. "models.ErmcpTaAccountInfo": {
  22408. "type": "object",
  22409. "properties": {
  22410. "accountid": {
  22411. "description": "资金账户ID",
  22412. "type": "integer"
  22413. },
  22414. "accountname": {
  22415. "description": "账户名称",
  22416. "type": "string"
  22417. },
  22418. "balance": {
  22419. "description": "期初余额",
  22420. "type": "number"
  22421. },
  22422. "capitalbalance": {
  22423. "description": "本金余额[外部子账户实际出入金余额]",
  22424. "type": "number"
  22425. },
  22426. "closepl": {
  22427. "description": "今日平仓盈亏",
  22428. "type": "number"
  22429. },
  22430. "creditdecrease": {
  22431. "description": "今日授信减少",
  22432. "type": "number"
  22433. },
  22434. "creditincrease": {
  22435. "description": "今日授信增加",
  22436. "type": "number"
  22437. },
  22438. "curdebt": {
  22439. "description": "期末欠款",
  22440. "type": "number"
  22441. },
  22442. "currencyid": {
  22443. "description": "货币ID",
  22444. "type": "integer"
  22445. },
  22446. "currentbalance": {
  22447. "description": "期末余额",
  22448. "type": "number"
  22449. },
  22450. "freezecharge": {
  22451. "description": "手续费冻结",
  22452. "type": "number"
  22453. },
  22454. "freezemargin": {
  22455. "description": "冻结保证金",
  22456. "type": "number"
  22457. },
  22458. "fromaccountid": {
  22459. "description": "所属上级账户",
  22460. "type": "integer"
  22461. },
  22462. "inamount": {
  22463. "description": "今日入金金额(包括三方入金)",
  22464. "type": "number"
  22465. },
  22466. "ismain": {
  22467. "description": "是否母账号 0:不是母账户 1:是母账户",
  22468. "type": "integer"
  22469. },
  22470. "mortgagecredit": {
  22471. "description": "授信金额",
  22472. "type": "number"
  22473. },
  22474. "oridebt": {
  22475. "description": "期初欠款",
  22476. "type": "number"
  22477. },
  22478. "orifreezecharge": {
  22479. "description": "期初手续费冻结",
  22480. "type": "number"
  22481. },
  22482. "orifreezemargin": {
  22483. "description": "期初冻结保证金",
  22484. "type": "number"
  22485. },
  22486. "orimortgagecredit": {
  22487. "description": "期初授信金额",
  22488. "type": "number"
  22489. },
  22490. "oriothercredit": {
  22491. "description": "期初其它授信金额",
  22492. "type": "number"
  22493. },
  22494. "oriotherfreezemargin": {
  22495. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22496. "type": "number"
  22497. },
  22498. "orioutamountfreeze": {
  22499. "description": "期初出金冻结",
  22500. "type": "number"
  22501. },
  22502. "oriusedmargin": {
  22503. "description": "期初占用保证金",
  22504. "type": "number"
  22505. },
  22506. "othercredit": {
  22507. "description": "其它授信金额",
  22508. "type": "number"
  22509. },
  22510. "othercreditdecrease": {
  22511. "description": "今日其它授信减少",
  22512. "type": "number"
  22513. },
  22514. "othercreditincrease": {
  22515. "description": "今日其它授信增加",
  22516. "type": "number"
  22517. },
  22518. "otherfreezemargin": {
  22519. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22520. "type": "number"
  22521. },
  22522. "outamount": {
  22523. "description": "今日出金金额(包括三方出金)",
  22524. "type": "number"
  22525. },
  22526. "outamountfreeze": {
  22527. "description": "出金冻结",
  22528. "type": "number"
  22529. },
  22530. "outthreshold": {
  22531. "description": "出金阈值",
  22532. "type": "number"
  22533. },
  22534. "parentaccountid": {
  22535. "description": "所属根账号",
  22536. "type": "integer"
  22537. },
  22538. "paycharge": {
  22539. "description": "今日手续费支出",
  22540. "type": "number"
  22541. },
  22542. "relateduserid": {
  22543. "description": "关联用户",
  22544. "type": "integer"
  22545. },
  22546. "signstatus": {
  22547. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22548. "type": "integer"
  22549. },
  22550. "sublevelpath": {
  22551. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22552. "type": "string"
  22553. },
  22554. "taaccounttype": {
  22555. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22556. "type": "integer"
  22557. },
  22558. "thirdinamount": {
  22559. "description": "今日三方入金",
  22560. "type": "number"
  22561. },
  22562. "thirdoutamount": {
  22563. "description": "今日三方出金",
  22564. "type": "number"
  22565. },
  22566. "tradestatus": {
  22567. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22568. "type": "integer"
  22569. },
  22570. "transferamount": {
  22571. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22572. "type": "number"
  22573. },
  22574. "usedmargin": {
  22575. "description": "占用保证金",
  22576. "type": "number"
  22577. },
  22578. "userid": {
  22579. "description": "用户ID",
  22580. "type": "integer"
  22581. }
  22582. }
  22583. },
  22584. "models.ErmcpTaAccountM": {
  22585. "type": "object",
  22586. "properties": {
  22587. "accountid": {
  22588. "description": "账户id",
  22589. "type": "integer"
  22590. },
  22591. "accountname": {
  22592. "description": "账户名称",
  22593. "type": "string"
  22594. },
  22595. "currencyid": {
  22596. "description": "币种id",
  22597. "type": "integer"
  22598. },
  22599. "fcid": {
  22600. "description": "期货公司id",
  22601. "type": "integer"
  22602. },
  22603. "fcname": {
  22604. "description": "期货公司代码",
  22605. "type": "string"
  22606. },
  22607. "hedgeaccountcode": {
  22608. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22609. "type": "string"
  22610. },
  22611. "ismain": {
  22612. "description": "是否主账户 0-否 1-是",
  22613. "type": "integer"
  22614. },
  22615. "parentaccountid": {
  22616. "description": "父账户id",
  22617. "type": "integer"
  22618. },
  22619. "relateduserid": {
  22620. "description": "关联userid",
  22621. "type": "integer"
  22622. },
  22623. "tradefeetmpid": {
  22624. "description": "手续费模板id",
  22625. "type": "integer"
  22626. },
  22627. "tradefeetmpname": {
  22628. "description": "手续费模板名称",
  22629. "type": "string"
  22630. },
  22631. "trademargintmpid": {
  22632. "description": "保证金模板id",
  22633. "type": "integer"
  22634. },
  22635. "trademargintmpname": {
  22636. "description": "保证金模板名称",
  22637. "type": "string"
  22638. },
  22639. "traderatetmpid": {
  22640. "description": "汇率模板id",
  22641. "type": "integer"
  22642. },
  22643. "traderatetmpname": {
  22644. "description": "汇率模板名称",
  22645. "type": "string"
  22646. },
  22647. "tradestatus": {
  22648. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22649. "type": "integer"
  22650. },
  22651. "userid": {
  22652. "description": "用户id",
  22653. "type": "integer"
  22654. }
  22655. }
  22656. },
  22657. "models.ErmcpTradeConfigTMP": {
  22658. "type": "object",
  22659. "properties": {
  22660. "areauserid": {
  22661. "description": "所属机构",
  22662. "type": "integer"
  22663. },
  22664. "basiccurrencyid": {
  22665. "description": "基本币种ID[汇率] - 目标币种",
  22666. "type": "integer"
  22667. },
  22668. "mainaccountid": {
  22669. "description": "主账户ID",
  22670. "type": "integer"
  22671. },
  22672. "modifierid": {
  22673. "description": "修改人",
  22674. "type": "integer"
  22675. },
  22676. "remark": {
  22677. "description": "备注",
  22678. "type": "string"
  22679. },
  22680. "tradeconfigtmpid": {
  22681. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  22682. "type": "integer"
  22683. },
  22684. "tradeconfigtmpname": {
  22685. "description": "交易配置模板名称",
  22686. "type": "string"
  22687. },
  22688. "tradeconfigtmptype": {
  22689. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  22690. "type": "integer"
  22691. },
  22692. "updatetime": {
  22693. "description": "更新时间",
  22694. "type": "string"
  22695. }
  22696. }
  22697. },
  22698. "models.ErmcpUserModel": {
  22699. "type": "object",
  22700. "properties": {
  22701. "address": {
  22702. "description": "通讯地址",
  22703. "type": "string"
  22704. },
  22705. "attachment1": {
  22706. "description": "附件1",
  22707. "type": "string"
  22708. },
  22709. "audittime": {
  22710. "description": "审核时间",
  22711. "type": "string"
  22712. },
  22713. "cardbackphotourl": {
  22714. "description": "证件反面图片地址",
  22715. "type": "string"
  22716. },
  22717. "cardfrontphotourl": {
  22718. "description": "证件正面图片地址",
  22719. "type": "string"
  22720. },
  22721. "cardnum": {
  22722. "description": "证件号码",
  22723. "type": "string"
  22724. },
  22725. "cardtype": {
  22726. "description": "证件类型",
  22727. "type": "integer"
  22728. },
  22729. "cardtypename": {
  22730. "description": "证件类型名称",
  22731. "type": "string"
  22732. },
  22733. "cityid": {
  22734. "description": "市",
  22735. "type": "integer"
  22736. },
  22737. "contactname": {
  22738. "description": "联系人",
  22739. "type": "string"
  22740. },
  22741. "countryid": {
  22742. "description": "国家",
  22743. "type": "integer"
  22744. },
  22745. "createtime": {
  22746. "description": "创建时间",
  22747. "type": "string"
  22748. },
  22749. "customername": {
  22750. "description": "企业名称",
  22751. "type": "string"
  22752. },
  22753. "districtid": {
  22754. "description": "区域",
  22755. "type": "integer"
  22756. },
  22757. "email": {
  22758. "description": "邮件",
  22759. "type": "string"
  22760. },
  22761. "legalpersonname": {
  22762. "description": "法人姓名(企业)",
  22763. "type": "string"
  22764. },
  22765. "memberuserid": {
  22766. "description": "所属机构ID",
  22767. "type": "integer"
  22768. },
  22769. "mobile": {
  22770. "description": "手机号码",
  22771. "type": "string"
  22772. },
  22773. "modifytime": {
  22774. "description": "修改时间",
  22775. "type": "string"
  22776. },
  22777. "nickname": {
  22778. "description": "昵称",
  22779. "type": "string"
  22780. },
  22781. "provinceid": {
  22782. "description": "省",
  22783. "type": "integer"
  22784. },
  22785. "remark": {
  22786. "description": "备注",
  22787. "type": "string"
  22788. },
  22789. "status": {
  22790. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22791. "type": "integer"
  22792. },
  22793. "statusdesc": {
  22794. "description": "账户状态中文描述",
  22795. "type": "string"
  22796. },
  22797. "taxpayernum": {
  22798. "description": "纳税人识别号",
  22799. "type": "string"
  22800. },
  22801. "telphone": {
  22802. "description": "联系电话",
  22803. "type": "string"
  22804. },
  22805. "userid": {
  22806. "description": "用户ID",
  22807. "type": "integer"
  22808. },
  22809. "userinfotype": {
  22810. "description": "客户类型",
  22811. "type": "string"
  22812. }
  22813. }
  22814. },
  22815. "models.ErmcpWareHouseInfo": {
  22816. "type": "object",
  22817. "properties": {
  22818. "address": {
  22819. "description": "详细地址",
  22820. "type": "string"
  22821. },
  22822. "areauserid": {
  22823. "description": "所属机构",
  22824. "type": "integer"
  22825. },
  22826. "autoid": {
  22827. "description": "自增ID(仓库ID)",
  22828. "type": "integer"
  22829. },
  22830. "cityid": {
  22831. "description": "市",
  22832. "type": "integer"
  22833. },
  22834. "contactname": {
  22835. "description": "联系人",
  22836. "type": "string"
  22837. },
  22838. "contactnum": {
  22839. "description": "联系电话",
  22840. "type": "string"
  22841. },
  22842. "countryid": {
  22843. "description": "国家",
  22844. "type": "integer"
  22845. },
  22846. "createtime": {
  22847. "description": "创建时间",
  22848. "type": "string"
  22849. },
  22850. "districtid": {
  22851. "description": "区",
  22852. "type": "integer"
  22853. },
  22854. "hasvideo": {
  22855. "description": "是否有视频 - 0:无 1:有",
  22856. "type": "integer"
  22857. },
  22858. "provinceid": {
  22859. "description": "省",
  22860. "type": "integer"
  22861. },
  22862. "remark": {
  22863. "description": "审核备注",
  22864. "type": "string"
  22865. },
  22866. "videourl": {
  22867. "description": "视频地址",
  22868. "type": "string"
  22869. },
  22870. "warehousecode": {
  22871. "description": "仓库代码",
  22872. "type": "string"
  22873. },
  22874. "warehousename": {
  22875. "description": "仓库名称",
  22876. "type": "string"
  22877. },
  22878. "warehousestatus": {
  22879. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22880. "type": "integer"
  22881. },
  22882. "warehousetype": {
  22883. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22884. "type": "integer"
  22885. }
  22886. }
  22887. },
  22888. "models.Externalexchange": {
  22889. "type": "object",
  22890. "required": [
  22891. "autoid"
  22892. ],
  22893. "properties": {
  22894. "autoid": {
  22895. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22896. "type": "integer"
  22897. },
  22898. "exchangefullname": {
  22899. "description": "外部交易所全称",
  22900. "type": "string"
  22901. },
  22902. "exexchangecode": {
  22903. "description": "外部交易所代码",
  22904. "type": "string"
  22905. },
  22906. "exexchangename": {
  22907. "description": "外部交易所名称(简称)",
  22908. "type": "string"
  22909. },
  22910. "ismarketprice": {
  22911. "description": "是否支持市价 - 0:不支持 1:支持",
  22912. "type": "integer"
  22913. },
  22914. "quotegear": {
  22915. "description": "行情档位(1-10)",
  22916. "type": "integer"
  22917. },
  22918. "showbrokerflag": {
  22919. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22920. "type": "integer"
  22921. },
  22922. "updatetime": {
  22923. "description": "更新时间",
  22924. "type": "string"
  22925. }
  22926. }
  22927. },
  22928. "models.Funcmenulist": {
  22929. "type": "object",
  22930. "required": [
  22931. "resourcecode"
  22932. ],
  22933. "properties": {
  22934. "iconame": {
  22935. "description": "菜单图标",
  22936. "type": "string"
  22937. },
  22938. "menutype": {
  22939. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22940. "type": "integer"
  22941. },
  22942. "parentcode": {
  22943. "description": "上级资源代码",
  22944. "type": "string"
  22945. },
  22946. "remark": {
  22947. "description": "备注",
  22948. "type": "string"
  22949. },
  22950. "resourcecode": {
  22951. "description": "资源代码",
  22952. "type": "string"
  22953. },
  22954. "resourcelevel": {
  22955. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22956. "type": "integer"
  22957. },
  22958. "resourcename": {
  22959. "description": "资源名",
  22960. "type": "string"
  22961. },
  22962. "sort": {
  22963. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  22964. "type": "integer"
  22965. },
  22966. "url": {
  22967. "description": "URL",
  22968. "type": "string"
  22969. }
  22970. }
  22971. },
  22972. "models.Goods": {
  22973. "type": "object",
  22974. "required": [
  22975. "goodscode",
  22976. "goodsid",
  22977. "goodsname",
  22978. "marketid"
  22979. ],
  22980. "properties": {
  22981. "agreeunit": {
  22982. "description": "合约单位",
  22983. "type": "number"
  22984. },
  22985. "areauserid": {
  22986. "description": "所属机构",
  22987. "type": "integer"
  22988. },
  22989. "auditaccountid": {
  22990. "description": "审核操作员账号",
  22991. "type": "integer"
  22992. },
  22993. "audittime": {
  22994. "description": "审核时间",
  22995. "type": "string"
  22996. },
  22997. "cancelaccountid": {
  22998. "description": "注销操作员账号",
  22999. "type": "integer"
  23000. },
  23001. "canceltime": {
  23002. "description": "注销时间",
  23003. "type": "string"
  23004. },
  23005. "closepricemode": {
  23006. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23007. "type": "integer"
  23008. },
  23009. "closepriceparam": {
  23010. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23011. "type": "number"
  23012. },
  23013. "createtime": {
  23014. "description": "创建时间",
  23015. "type": "string"
  23016. },
  23017. "creatorid": {
  23018. "description": "创建人",
  23019. "type": "integer"
  23020. },
  23021. "currencyid": {
  23022. "description": "报价货币ID",
  23023. "type": "integer"
  23024. },
  23025. "cutmode": {
  23026. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23027. "type": "integer"
  23028. },
  23029. "decimalplace": {
  23030. "description": "报价小数位",
  23031. "type": "integer"
  23032. },
  23033. "delistingdate": {
  23034. "description": "商品退市时间(状态:退市) -- 已作废",
  23035. "type": "string"
  23036. },
  23037. "delistingmode": {
  23038. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23039. "type": "integer"
  23040. },
  23041. "deliveryflag": {
  23042. "description": "交割标志 - 0:不可交割 1:可交割",
  23043. "type": "integer"
  23044. },
  23045. "forceclosemode": {
  23046. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23047. "type": "integer"
  23048. },
  23049. "forceclosevalue": {
  23050. "description": "定期强平参数 [收益权]",
  23051. "type": "integer"
  23052. },
  23053. "goodscode": {
  23054. "description": "商品代码(内部)",
  23055. "type": "string"
  23056. },
  23057. "goodscurrencyid": {
  23058. "description": "合约货币ID",
  23059. "type": "integer"
  23060. },
  23061. "goodsgroupid": {
  23062. "description": "所属商品组ID",
  23063. "type": "integer"
  23064. },
  23065. "goodsid": {
  23066. "description": "商品ID(自增ID SEQ_GOODS)",
  23067. "type": "integer"
  23068. },
  23069. "goodsname": {
  23070. "description": "商品名称",
  23071. "type": "string"
  23072. },
  23073. "goodsquotetype": {
  23074. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23075. "type": "integer"
  23076. },
  23077. "goodsstatus": {
  23078. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23079. "type": "integer"
  23080. },
  23081. "goodstradetype": {
  23082. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23083. "type": "integer"
  23084. },
  23085. "goodunitid": {
  23086. "description": "报价单位ID",
  23087. "type": "integer"
  23088. },
  23089. "hasquoter": {
  23090. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23091. "type": "integer"
  23092. },
  23093. "hqprotecttime": {
  23094. "description": "行情保护时间(秒)",
  23095. "type": "integer"
  23096. },
  23097. "innerdealmode": {
  23098. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23099. "type": "integer"
  23100. },
  23101. "isbuylimited": {
  23102. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23103. "type": "integer"
  23104. },
  23105. "isvisible": {
  23106. "description": "游客是否可见 - 0:不可见 1:可见",
  23107. "type": "integer"
  23108. },
  23109. "lasttradedate": {
  23110. "description": "最后交易日期(状态:待退市)",
  23111. "type": "string"
  23112. },
  23113. "listingdate": {
  23114. "description": "交易开始日期",
  23115. "type": "string"
  23116. },
  23117. "marketid": {
  23118. "description": "所属市场ID",
  23119. "type": "integer"
  23120. },
  23121. "modifierid": {
  23122. "description": "修改人",
  23123. "type": "integer"
  23124. },
  23125. "modifystatus": {
  23126. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23127. "type": "integer"
  23128. },
  23129. "modifytime": {
  23130. "description": "修改时间",
  23131. "type": "string"
  23132. },
  23133. "outerdealmode": {
  23134. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23135. "type": "integer"
  23136. },
  23137. "outgoodscode": {
  23138. "description": "商品代码(外部)",
  23139. "type": "string"
  23140. },
  23141. "pictureurl": {
  23142. "description": "商品图片",
  23143. "type": "string"
  23144. },
  23145. "qtydecimalplace": {
  23146. "description": "成交量小数位",
  23147. "type": "integer"
  23148. },
  23149. "quotegear": {
  23150. "description": "行情档位(1-10)",
  23151. "type": "integer"
  23152. },
  23153. "quoteminunit": {
  23154. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23155. "type": "integer"
  23156. },
  23157. "quoteshowtype": {
  23158. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23159. "type": "integer"
  23160. },
  23161. "quoteshowtypeinterval": {
  23162. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23163. "type": "integer"
  23164. },
  23165. "remark": {
  23166. "description": "备注",
  23167. "type": "string"
  23168. }
  23169. }
  23170. },
  23171. "models.GoodsIDAndName": {
  23172. "type": "object",
  23173. "required": [
  23174. "goodscode",
  23175. "goodsid",
  23176. "goodsname",
  23177. "marketid"
  23178. ],
  23179. "properties": {
  23180. "goodscode": {
  23181. "description": "商品代码(内部)",
  23182. "type": "string"
  23183. },
  23184. "goodsid": {
  23185. "description": "商品ID(自增ID SEQ_GOODS)",
  23186. "type": "integer"
  23187. },
  23188. "goodsname": {
  23189. "description": "商品名称",
  23190. "type": "string"
  23191. },
  23192. "marketid": {
  23193. "description": "所属市场ID",
  23194. "type": "integer"
  23195. }
  23196. }
  23197. },
  23198. "models.Goodsgroup": {
  23199. "type": "object",
  23200. "required": [
  23201. "goodsgroupid",
  23202. "goodsgroupname",
  23203. "goodsgroupstatus",
  23204. "marketid"
  23205. ],
  23206. "properties": {
  23207. "agreeunit": {
  23208. "description": "合约单位",
  23209. "type": "number"
  23210. },
  23211. "canshort": {
  23212. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23213. "type": "integer"
  23214. },
  23215. "closepricemode": {
  23216. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23217. "type": "integer"
  23218. },
  23219. "closepriceparam": {
  23220. "description": "强平最新价浮动比例 - 方式为2时使用",
  23221. "type": "number"
  23222. },
  23223. "createtime": {
  23224. "description": "创建时间",
  23225. "type": "string"
  23226. },
  23227. "creatorid": {
  23228. "description": "创建人",
  23229. "type": "integer"
  23230. },
  23231. "currencyid": {
  23232. "description": "报价货币ID",
  23233. "type": "integer"
  23234. },
  23235. "decimalplace": {
  23236. "description": "报价小数位",
  23237. "type": "integer"
  23238. },
  23239. "exercisetype": {
  23240. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  23241. "type": "integer"
  23242. },
  23243. "exexchangeid": {
  23244. "description": "外部交易所ID[通道交易]",
  23245. "type": "integer"
  23246. },
  23247. "goodsgroupid": {
  23248. "description": "商品组ID(自增ID)",
  23249. "type": "integer"
  23250. },
  23251. "goodsgroupname": {
  23252. "description": "商品组名称",
  23253. "type": "string"
  23254. },
  23255. "goodsgroupstatus": {
  23256. "description": "商品组状态 - 1:正常 2:注销",
  23257. "type": "integer"
  23258. },
  23259. "goodunitid": {
  23260. "description": "报价单位ID",
  23261. "type": "integer"
  23262. },
  23263. "innerdealmode": {
  23264. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23265. "type": "integer"
  23266. },
  23267. "isbuylimited": {
  23268. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23269. "type": "integer"
  23270. },
  23271. "marketid": {
  23272. "description": "所属市场ID",
  23273. "type": "integer"
  23274. },
  23275. "modifierid": {
  23276. "description": "修改人",
  23277. "type": "integer"
  23278. },
  23279. "modifytime": {
  23280. "description": "修改时间",
  23281. "type": "string"
  23282. },
  23283. "outerdealmode": {
  23284. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23285. "type": "integer"
  23286. },
  23287. "outergroupcode": {
  23288. "description": "外部商品组代码[通道交易]",
  23289. "type": "string"
  23290. },
  23291. "premiumdecimalplace": {
  23292. "description": "权利金小数位[场外期权]",
  23293. "type": "integer"
  23294. },
  23295. "premiumspreadalgorithm": {
  23296. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  23297. "type": "integer"
  23298. },
  23299. "premiumspreadvalue": {
  23300. "description": "权利金点差值[场外期权]",
  23301. "type": "number"
  23302. },
  23303. "qtydecimalplace": {
  23304. "description": "成交量小数位",
  23305. "type": "integer"
  23306. },
  23307. "quotegear": {
  23308. "description": "行情档位(1-10)",
  23309. "type": "integer"
  23310. },
  23311. "quoteminunit": {
  23312. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23313. "type": "integer"
  23314. },
  23315. "quoterid": {
  23316. "description": "报价商ID[场外期权]",
  23317. "type": "integer"
  23318. },
  23319. "quotesourcegroupid": {
  23320. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23321. "type": "integer"
  23322. },
  23323. "syncgoodsqty": {
  23324. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23325. "type": "integer"
  23326. }
  23327. }
  23328. },
  23329. "models.Goodssortbypreposition": {
  23330. "type": "object",
  23331. "required": [
  23332. "goodscode",
  23333. "tradedate"
  23334. ],
  23335. "properties": {
  23336. "goodscode": {
  23337. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  23338. "type": "string"
  23339. },
  23340. "goodsgroupcode": {
  23341. "description": "品种代码",
  23342. "type": "string"
  23343. },
  23344. "prepositionqty": {
  23345. "description": "昨持仓量",
  23346. "type": "integer"
  23347. },
  23348. "sortindex": {
  23349. "description": "排序",
  23350. "type": "integer"
  23351. },
  23352. "tradedate": {
  23353. "description": "交易日",
  23354. "type": "string"
  23355. },
  23356. "updatetime": {
  23357. "description": "更新时间",
  23358. "type": "string"
  23359. }
  23360. }
  23361. },
  23362. "models.Hedgeinnerholderdetail": {
  23363. "type": "object",
  23364. "required": [
  23365. "buyorsell",
  23366. "tradeid"
  23367. ],
  23368. "properties": {
  23369. "accountid": {
  23370. "description": "账号ID",
  23371. "type": "integer"
  23372. },
  23373. "buyorsell": {
  23374. "description": "方向 - 0:买 1:卖",
  23375. "type": "integer"
  23376. },
  23377. "freezeqty": {
  23378. "description": "冻结数量 - 按单平使用",
  23379. "type": "integer"
  23380. },
  23381. "goodsid": {
  23382. "description": "商品ID",
  23383. "type": "integer"
  23384. },
  23385. "holderamount": {
  23386. "description": "持仓金额 [商品币种]",
  23387. "type": "number"
  23388. },
  23389. "holderdays": {
  23390. "description": "剩余冻结天数",
  23391. "type": "integer"
  23392. },
  23393. "holderprice": {
  23394. "description": "持仓价格",
  23395. "type": "number"
  23396. },
  23397. "holderqty": {
  23398. "description": "持仓数量",
  23399. "type": "integer"
  23400. },
  23401. "marketid": {
  23402. "description": "市场ID",
  23403. "type": "integer"
  23404. },
  23405. "openprice": {
  23406. "description": "建仓价格",
  23407. "type": "number"
  23408. },
  23409. "openqty": {
  23410. "description": "建仓数量",
  23411. "type": "integer"
  23412. },
  23413. "parentaccountid": {
  23414. "description": "所属母账户",
  23415. "type": "integer"
  23416. },
  23417. "releaseamount": {
  23418. "description": "释放持仓金额[商品币种]",
  23419. "type": "number"
  23420. },
  23421. "tradeamount": {
  23422. "description": "成交金额[账户]",
  23423. "type": "number"
  23424. },
  23425. "tradedate": {
  23426. "description": "交易日(yyyyMMdd)",
  23427. "type": "string"
  23428. },
  23429. "tradeid": {
  23430. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23431. "type": "string"
  23432. },
  23433. "tradetime": {
  23434. "description": "交易时间",
  23435. "type": "string"
  23436. }
  23437. }
  23438. },
  23439. "models.Hedgemarketopenlog": {
  23440. "type": "object",
  23441. "required": [
  23442. "accountid"
  23443. ],
  23444. "properties": {
  23445. "accountid": {
  23446. "description": "资金账号[外部母账户]",
  23447. "type": "integer"
  23448. },
  23449. "fcname": {
  23450. "description": "期货公司名称",
  23451. "type": "string"
  23452. },
  23453. "handlestatus": {
  23454. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23455. "type": "integer"
  23456. },
  23457. "marketid": {
  23458. "description": "市场ID",
  23459. "type": "integer"
  23460. },
  23461. "status": {
  23462. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23463. "type": "integer"
  23464. },
  23465. "tradedate": {
  23466. "description": "交易日(yyyyMMdd)",
  23467. "type": "string"
  23468. },
  23469. "updatetime": {
  23470. "description": "更新时间",
  23471. "type": "string"
  23472. }
  23473. }
  23474. },
  23475. "models.HsbyBuyMyPayOrder": {
  23476. "type": "object",
  23477. "required": [
  23478. "goodscode",
  23479. "goodsname",
  23480. "tradeid",
  23481. "trademode"
  23482. ],
  23483. "properties": {
  23484. "agreeunit": {
  23485. "description": "合约单位",
  23486. "type": "number"
  23487. },
  23488. "buyaccountid": {
  23489. "description": "买方账号ID[报价币种]",
  23490. "type": "integer"
  23491. },
  23492. "buyorderid": {
  23493. "description": "买方委托单号",
  23494. "type": "string"
  23495. },
  23496. "createtime": {
  23497. "description": "创建时间",
  23498. "type": "string"
  23499. },
  23500. "currencysign": {
  23501. "description": "货币符号",
  23502. "type": "string"
  23503. },
  23504. "decimalplace": {
  23505. "description": "报价小数位",
  23506. "type": "integer"
  23507. },
  23508. "goodscode": {
  23509. "description": "商品代码(内部)",
  23510. "type": "string"
  23511. },
  23512. "goodsid": {
  23513. "description": "商品ID",
  23514. "type": "integer"
  23515. },
  23516. "goodsname": {
  23517. "description": "商品名称",
  23518. "type": "string"
  23519. },
  23520. "marketid": {
  23521. "description": "市场ID",
  23522. "type": "integer"
  23523. },
  23524. "offamount": {
  23525. "description": "优惠金额",
  23526. "type": "number"
  23527. },
  23528. "originalamount": {
  23529. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23530. "type": "number"
  23531. },
  23532. "payamount": {
  23533. "description": "支付金额 = TradeAmount + TradeCharge",
  23534. "type": "number"
  23535. },
  23536. "payflag": {
  23537. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23538. "type": "integer"
  23539. },
  23540. "paylimitedtime": {
  23541. "description": "支付期限",
  23542. "type": "string"
  23543. },
  23544. "paytime": {
  23545. "description": "付款时间",
  23546. "type": "string"
  23547. },
  23548. "picurls1": {
  23549. "description": "预售商品介绍图片[多张用逗号分隔]",
  23550. "type": "string"
  23551. },
  23552. "picurls2": {
  23553. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23554. "type": "string"
  23555. },
  23556. "sellaccountid": {
  23557. "description": "卖方账号ID[报价币种]",
  23558. "type": "integer"
  23559. },
  23560. "sellorderid": {
  23561. "description": "卖方委托单号",
  23562. "type": "string"
  23563. },
  23564. "tradeamount": {
  23565. "description": "成交金额",
  23566. "type": "number"
  23567. },
  23568. "tradecharge": {
  23569. "description": "成交手续费(买方)",
  23570. "type": "number"
  23571. },
  23572. "tradedate": {
  23573. "description": "交易日(yyyyMMdd)",
  23574. "type": "string"
  23575. },
  23576. "tradeid": {
  23577. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23578. "type": "string"
  23579. },
  23580. "trademode": {
  23581. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23582. "type": "integer"
  23583. },
  23584. "tradeprice": {
  23585. "description": "成交价格",
  23586. "type": "number"
  23587. },
  23588. "tradeqty": {
  23589. "description": "成交数量",
  23590. "type": "integer"
  23591. },
  23592. "vendorname1": {
  23593. "description": "预售商品供应商名称",
  23594. "type": "string"
  23595. },
  23596. "vendorname2": {
  23597. "description": "挂牌商品供应商名称",
  23598. "type": "string"
  23599. }
  23600. }
  23601. },
  23602. "models.HsbyBuyMyTradeDetail": {
  23603. "type": "object",
  23604. "required": [
  23605. "accountid",
  23606. "buyorsell",
  23607. "goodscode",
  23608. "goodsid",
  23609. "goodsname",
  23610. "marketid",
  23611. "orderid",
  23612. "qty",
  23613. "time",
  23614. "trademode"
  23615. ],
  23616. "properties": {
  23617. "accountid": {
  23618. "description": "账户ID[报价币种]",
  23619. "type": "integer"
  23620. },
  23621. "agreeunit": {
  23622. "description": "合约单位",
  23623. "type": "number"
  23624. },
  23625. "amount": {
  23626. "description": "金额 = 价格 * 数量 * 合约单位",
  23627. "type": "number"
  23628. },
  23629. "buyorsell": {
  23630. "description": "买卖 - 0:买 1:卖",
  23631. "type": "integer"
  23632. },
  23633. "currencysign": {
  23634. "description": "货币符号",
  23635. "type": "string"
  23636. },
  23637. "decimalplace": {
  23638. "description": "报价小数位",
  23639. "type": "integer"
  23640. },
  23641. "goodscode": {
  23642. "description": "商品代码(内部)",
  23643. "type": "string"
  23644. },
  23645. "goodsid": {
  23646. "description": "商品ID",
  23647. "type": "integer"
  23648. },
  23649. "goodsname": {
  23650. "description": "商品名称",
  23651. "type": "string"
  23652. },
  23653. "marketid": {
  23654. "description": "市场ID",
  23655. "type": "integer"
  23656. },
  23657. "orderamount": {
  23658. "description": "委托金额",
  23659. "type": "number"
  23660. },
  23661. "orderid": {
  23662. "description": "单号(成交单号)",
  23663. "type": "string"
  23664. },
  23665. "picurls1": {
  23666. "description": "预售商品介绍图片[多张用逗号分隔]",
  23667. "type": "string"
  23668. },
  23669. "picurls2": {
  23670. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23671. "type": "string"
  23672. },
  23673. "price": {
  23674. "description": "价格",
  23675. "type": "number"
  23676. },
  23677. "qty": {
  23678. "description": "数量",
  23679. "type": "integer"
  23680. },
  23681. "time": {
  23682. "description": "时间",
  23683. "type": "string"
  23684. },
  23685. "trademode": {
  23686. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23687. "type": "integer"
  23688. },
  23689. "vendorname1": {
  23690. "description": "预售商品供应商名称",
  23691. "type": "string"
  23692. },
  23693. "vendorname2": {
  23694. "description": "挂牌商品供应商名称",
  23695. "type": "string"
  23696. }
  23697. }
  23698. },
  23699. "models.HsbyGoodsOrderDetail": {
  23700. "type": "object",
  23701. "required": [
  23702. "buyorsell",
  23703. "orderid",
  23704. "ordertime"
  23705. ],
  23706. "properties": {
  23707. "buyorsell": {
  23708. "description": "买卖 - 0:买 1:卖",
  23709. "type": "integer"
  23710. },
  23711. "currencysign": {
  23712. "description": "货币符号",
  23713. "type": "string"
  23714. },
  23715. "customername": {
  23716. "description": "客户名称(企业名称),已脱敏",
  23717. "type": "string"
  23718. },
  23719. "enableqty": {
  23720. "description": "可用数量",
  23721. "type": "integer"
  23722. },
  23723. "goodunit": {
  23724. "description": "报价单位",
  23725. "type": "string"
  23726. },
  23727. "orderid": {
  23728. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23729. "type": "string"
  23730. },
  23731. "orderprice": {
  23732. "description": "委托价格",
  23733. "type": "number"
  23734. },
  23735. "ordertime": {
  23736. "description": "委托时间",
  23737. "type": "string"
  23738. }
  23739. }
  23740. },
  23741. "models.HsbyListingGoodsDetail": {
  23742. "type": "object",
  23743. "required": [
  23744. "goodscode",
  23745. "goodsid",
  23746. "goodsname",
  23747. "marketid",
  23748. "trademode"
  23749. ],
  23750. "properties": {
  23751. "agreeunit": {
  23752. "description": "合约单位",
  23753. "type": "number"
  23754. },
  23755. "buymaxqty": {
  23756. "description": "购买上限 [71] - 0为不限",
  23757. "type": "integer"
  23758. },
  23759. "currency": {
  23760. "description": "货币",
  23761. "type": "string"
  23762. },
  23763. "currencysign": {
  23764. "description": "货币符号",
  23765. "type": "string"
  23766. },
  23767. "decimalplace": {
  23768. "description": "报价小数位",
  23769. "type": "integer"
  23770. },
  23771. "desccityid": {
  23772. "description": "目的地(市)ID",
  23773. "type": "integer"
  23774. },
  23775. "descprovinceid": {
  23776. "description": "目的地(省)ID",
  23777. "type": "integer"
  23778. },
  23779. "goodscode": {
  23780. "description": "商品代码(内部)",
  23781. "type": "string"
  23782. },
  23783. "goodsdesc": {
  23784. "description": "商品详情",
  23785. "type": "string"
  23786. },
  23787. "goodsid": {
  23788. "description": "商品ID(自增ID SEQ_GOODS)",
  23789. "type": "integer"
  23790. },
  23791. "goodsname": {
  23792. "description": "商品名称",
  23793. "type": "string"
  23794. },
  23795. "goodsprice": {
  23796. "description": "商品价格",
  23797. "type": "number"
  23798. },
  23799. "hotindex": {
  23800. "description": "景点热度",
  23801. "type": "integer"
  23802. },
  23803. "last": {
  23804. "description": "现价",
  23805. "type": "number"
  23806. },
  23807. "limitdown": {
  23808. "description": "跌停价",
  23809. "type": "number"
  23810. },
  23811. "limitup": {
  23812. "description": "涨停价",
  23813. "type": "number"
  23814. },
  23815. "lotsize": {
  23816. "description": "手数最小变动单位",
  23817. "type": "integer"
  23818. },
  23819. "marketid": {
  23820. "description": "所属市场ID",
  23821. "type": "integer"
  23822. },
  23823. "picurls": {
  23824. "description": "介绍图片[多张用逗号分隔]",
  23825. "type": "string"
  23826. },
  23827. "quoteminunit": {
  23828. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23829. "type": "integer"
  23830. },
  23831. "stepvalue": {
  23832. "description": "价格最小变动单位",
  23833. "type": "number"
  23834. },
  23835. "trademode": {
  23836. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23837. "type": "integer"
  23838. },
  23839. "vendorattr": {
  23840. "description": "供应商附件(多张,逗号分隔)",
  23841. "type": "string"
  23842. },
  23843. "vendorname": {
  23844. "description": "供应商名称",
  23845. "type": "string"
  23846. },
  23847. "vendorphone": {
  23848. "description": "供应商客服电话",
  23849. "type": "string"
  23850. },
  23851. "videourls": {
  23852. "description": "介绍视频[多张用逗号分隔]",
  23853. "type": "string"
  23854. }
  23855. }
  23856. },
  23857. "models.HsbyMarketGoods": {
  23858. "type": "object",
  23859. "required": [
  23860. "accountid",
  23861. "buyorsell",
  23862. "goodscode",
  23863. "goodsid",
  23864. "goodsname",
  23865. "marketid",
  23866. "orderid",
  23867. "trademode"
  23868. ],
  23869. "properties": {
  23870. "accountid": {
  23871. "description": "账户ID[报价币种]",
  23872. "type": "integer"
  23873. },
  23874. "agreeunit": {
  23875. "description": "合约单位",
  23876. "type": "number"
  23877. },
  23878. "buyorsell": {
  23879. "description": "买卖 - 0:买 1:卖",
  23880. "type": "integer"
  23881. },
  23882. "categoryid": {
  23883. "description": "类别ID(WRCATEGORY)",
  23884. "type": "integer"
  23885. },
  23886. "currency": {
  23887. "description": "货币",
  23888. "type": "string"
  23889. },
  23890. "currencysign": {
  23891. "description": "货币符号",
  23892. "type": "string"
  23893. },
  23894. "customername": {
  23895. "description": "卖家名称",
  23896. "type": "string"
  23897. },
  23898. "decimalplace": {
  23899. "description": "报价小数位",
  23900. "type": "integer"
  23901. },
  23902. "goodscode": {
  23903. "description": "商品代码(内部)",
  23904. "type": "string"
  23905. },
  23906. "goodsid": {
  23907. "description": "商品ID",
  23908. "type": "integer"
  23909. },
  23910. "goodsname": {
  23911. "description": "商品名称",
  23912. "type": "string"
  23913. },
  23914. "goodsprice": {
  23915. "description": "商品价格",
  23916. "type": "number"
  23917. },
  23918. "hascoupon": {
  23919. "description": "是否可用优惠卷",
  23920. "type": "boolean"
  23921. },
  23922. "hotindex": {
  23923. "description": "景点热度",
  23924. "type": "integer"
  23925. },
  23926. "marketid": {
  23927. "description": "市场ID",
  23928. "type": "integer"
  23929. },
  23930. "orderid": {
  23931. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23932. "type": "string"
  23933. },
  23934. "orderprice": {
  23935. "description": "委托价格",
  23936. "type": "number"
  23937. },
  23938. "orderstatus": {
  23939. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23940. "type": "integer"
  23941. },
  23942. "picurls": {
  23943. "description": "介绍图片[多张用逗号分隔]",
  23944. "type": "string"
  23945. },
  23946. "quoteminunit": {
  23947. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23948. "type": "integer"
  23949. },
  23950. "sellUserID": {
  23951. "description": "卖方UserID",
  23952. "type": "integer"
  23953. },
  23954. "trademode": {
  23955. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23956. "type": "integer"
  23957. },
  23958. "videourls": {
  23959. "description": "介绍视频[多张用逗号分隔]",
  23960. "type": "string"
  23961. }
  23962. }
  23963. },
  23964. "models.HsbyMarketGoodsDetail": {
  23965. "type": "object",
  23966. "required": [
  23967. "accountid",
  23968. "buyorsell",
  23969. "goodscode",
  23970. "goodsid",
  23971. "goodsname",
  23972. "marketid",
  23973. "orderid",
  23974. "orderqty",
  23975. "trademode"
  23976. ],
  23977. "properties": {
  23978. "accountid": {
  23979. "description": "账户ID[报价币种]",
  23980. "type": "integer"
  23981. },
  23982. "agreeunit": {
  23983. "description": "合约单位",
  23984. "type": "number"
  23985. },
  23986. "buymaxqty": {
  23987. "description": "购买上限 [71] - 0为不限",
  23988. "type": "integer"
  23989. },
  23990. "buyorsell": {
  23991. "description": "买卖 - 0:买 1:卖",
  23992. "type": "integer"
  23993. },
  23994. "cancelqty": {
  23995. "description": "撤单数量",
  23996. "type": "integer"
  23997. },
  23998. "categoryid": {
  23999. "description": "类别ID(WRCATEGORY)",
  24000. "type": "integer"
  24001. },
  24002. "currency": {
  24003. "description": "货币",
  24004. "type": "string"
  24005. },
  24006. "currencysign": {
  24007. "description": "货币符号",
  24008. "type": "string"
  24009. },
  24010. "customername": {
  24011. "description": "卖家名称",
  24012. "type": "string"
  24013. },
  24014. "decimalplace": {
  24015. "description": "报价小数位",
  24016. "type": "integer"
  24017. },
  24018. "goodscode": {
  24019. "description": "商品代码(内部)",
  24020. "type": "string"
  24021. },
  24022. "goodsdesc": {
  24023. "description": "商品详情",
  24024. "type": "string"
  24025. },
  24026. "goodsid": {
  24027. "description": "商品ID",
  24028. "type": "integer"
  24029. },
  24030. "goodsname": {
  24031. "description": "商品名称",
  24032. "type": "string"
  24033. },
  24034. "goodsprice": {
  24035. "description": "商品价格",
  24036. "type": "number"
  24037. },
  24038. "hotindex": {
  24039. "description": "景点热度",
  24040. "type": "integer"
  24041. },
  24042. "lotsize": {
  24043. "description": "手数最小变动单位",
  24044. "type": "integer"
  24045. },
  24046. "marketid": {
  24047. "description": "市场ID",
  24048. "type": "integer"
  24049. },
  24050. "orderid": {
  24051. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24052. "type": "string"
  24053. },
  24054. "orderprice": {
  24055. "description": "委托价格",
  24056. "type": "number"
  24057. },
  24058. "orderqty": {
  24059. "description": "委托数量",
  24060. "type": "integer"
  24061. },
  24062. "orderstatus": {
  24063. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24064. "type": "integer"
  24065. },
  24066. "picurls": {
  24067. "description": "介绍图片[多张用逗号分隔]",
  24068. "type": "string"
  24069. },
  24070. "quoteminunit": {
  24071. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24072. "type": "integer"
  24073. },
  24074. "sellUserID": {
  24075. "description": "卖方UserID",
  24076. "type": "integer"
  24077. },
  24078. "trademode": {
  24079. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24080. "type": "integer"
  24081. },
  24082. "tradeqty": {
  24083. "description": "成交数量",
  24084. "type": "integer"
  24085. },
  24086. "vendorattr": {
  24087. "description": "供应商附件(多张,逗号分隔)",
  24088. "type": "string"
  24089. },
  24090. "vendorname": {
  24091. "description": "供应商名称",
  24092. "type": "string"
  24093. },
  24094. "vendorphone": {
  24095. "description": "供应商客服电话",
  24096. "type": "string"
  24097. },
  24098. "videourls": {
  24099. "description": "介绍视频[多张用逗号分隔]",
  24100. "type": "string"
  24101. }
  24102. }
  24103. },
  24104. "models.HsbyMarketInfo": {
  24105. "type": "object",
  24106. "required": [
  24107. "marketid",
  24108. "marketstatus",
  24109. "trademode"
  24110. ],
  24111. "properties": {
  24112. "marketid": {
  24113. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24114. "type": "integer"
  24115. },
  24116. "marketname": {
  24117. "description": "市场名称",
  24118. "type": "string"
  24119. },
  24120. "marketstatus": {
  24121. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24122. "type": "integer"
  24123. },
  24124. "trademode": {
  24125. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24126. "type": "integer"
  24127. }
  24128. }
  24129. },
  24130. "models.HsbyMyGoods": {
  24131. "type": "object",
  24132. "required": [
  24133. "accountid",
  24134. "goodscode",
  24135. "goodsid",
  24136. "goodsname",
  24137. "marketid",
  24138. "trademode"
  24139. ],
  24140. "properties": {
  24141. "accountid": {
  24142. "description": "账号Id",
  24143. "type": "integer"
  24144. },
  24145. "agreeunit": {
  24146. "description": "合约单位",
  24147. "type": "number"
  24148. },
  24149. "buyaverageprice": {
  24150. "description": "持仓均价",
  24151. "type": "number"
  24152. },
  24153. "buycurholderamount": {
  24154. "description": "买当前持仓总金额[商品币种]",
  24155. "type": "number"
  24156. },
  24157. "buycurpositionqty": {
  24158. "description": "买当前持仓总数量",
  24159. "type": "integer"
  24160. },
  24161. "buymaxqty": {
  24162. "description": "购买上限 [71] - 0为不限",
  24163. "type": "integer"
  24164. },
  24165. "currencysign": {
  24166. "description": "货币符号",
  24167. "type": "string"
  24168. },
  24169. "decimalplace": {
  24170. "description": "报价小数位",
  24171. "type": "integer"
  24172. },
  24173. "enableqty": {
  24174. "description": "可用数量",
  24175. "type": "integer"
  24176. },
  24177. "goodscode": {
  24178. "description": "商品代码(内部)",
  24179. "type": "string"
  24180. },
  24181. "goodsid": {
  24182. "description": "商品Id",
  24183. "type": "integer"
  24184. },
  24185. "goodsname": {
  24186. "description": "商品名称",
  24187. "type": "string"
  24188. },
  24189. "goodsprice": {
  24190. "description": "商品价格",
  24191. "type": "number"
  24192. },
  24193. "goodsstatus": {
  24194. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24195. "type": "integer"
  24196. },
  24197. "last": {
  24198. "description": "现价(仅使用于挂牌点选)",
  24199. "type": "number"
  24200. },
  24201. "limitdown": {
  24202. "description": "跌停价(仅使用于挂牌点选)",
  24203. "type": "number"
  24204. },
  24205. "limitup": {
  24206. "description": "涨停价(仅使用于挂牌点选)",
  24207. "type": "number"
  24208. },
  24209. "lotsize": {
  24210. "description": "手数最小变动单位",
  24211. "type": "integer"
  24212. },
  24213. "marketid": {
  24214. "description": "所属市场ID",
  24215. "type": "integer"
  24216. },
  24217. "picurls": {
  24218. "description": "介绍图片[多张用逗号分隔]",
  24219. "type": "string"
  24220. },
  24221. "quoteminunit": {
  24222. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24223. "type": "integer"
  24224. },
  24225. "stepvalue": {
  24226. "description": "价格最小变动单位",
  24227. "type": "number"
  24228. },
  24229. "trademode": {
  24230. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24231. "type": "integer"
  24232. }
  24233. }
  24234. },
  24235. "models.HsbyMyPackage": {
  24236. "type": "object",
  24237. "required": [
  24238. "goodscode",
  24239. "goodsname",
  24240. "takeorderid",
  24241. "trademode"
  24242. ],
  24243. "properties": {
  24244. "accountid": {
  24245. "description": "账户ID",
  24246. "type": "integer"
  24247. },
  24248. "address": {
  24249. "description": "提货人详细地址",
  24250. "type": "string"
  24251. },
  24252. "agreeunit": {
  24253. "description": "合约单位",
  24254. "type": "number"
  24255. },
  24256. "amount": {
  24257. "description": "提货金额",
  24258. "type": "number"
  24259. },
  24260. "auditer": {
  24261. "description": "审核人",
  24262. "type": "integer"
  24263. },
  24264. "audittime": {
  24265. "description": "审核时间",
  24266. "type": "string"
  24267. },
  24268. "averageprice": {
  24269. "description": "均价",
  24270. "type": "number"
  24271. },
  24272. "cardnum": {
  24273. "description": "提货人证件号码",
  24274. "type": "string"
  24275. },
  24276. "cardtypeid": {
  24277. "description": "提货人证件类型",
  24278. "type": "integer"
  24279. },
  24280. "checkremark": {
  24281. "description": "审核备注",
  24282. "type": "string"
  24283. },
  24284. "currencysign": {
  24285. "description": "货币符号",
  24286. "type": "string"
  24287. },
  24288. "decimalplace": {
  24289. "description": "报价小数位",
  24290. "type": "integer"
  24291. },
  24292. "goodscode": {
  24293. "description": "商品代码(内部)",
  24294. "type": "string"
  24295. },
  24296. "goodsid": {
  24297. "description": "商品ID",
  24298. "type": "integer"
  24299. },
  24300. "goodsname": {
  24301. "description": "商品名称",
  24302. "type": "string"
  24303. },
  24304. "handlestatus": {
  24305. "description": "处理状态",
  24306. "type": "integer"
  24307. },
  24308. "marketid": {
  24309. "description": "市场ID",
  24310. "type": "integer"
  24311. },
  24312. "phonenum": {
  24313. "description": "提货人联系方式",
  24314. "type": "string"
  24315. },
  24316. "picurls": {
  24317. "description": "介绍图片[多张用逗号分隔]",
  24318. "type": "string"
  24319. },
  24320. "qty": {
  24321. "description": "提货数量",
  24322. "type": "number"
  24323. },
  24324. "recivername": {
  24325. "description": "提货人姓名",
  24326. "type": "string"
  24327. },
  24328. "reqtime": {
  24329. "description": "更新时间",
  24330. "type": "string"
  24331. },
  24332. "takemode": {
  24333. "description": "提货方式 - 2:自提 3:配送",
  24334. "type": "integer"
  24335. },
  24336. "takeorderid": {
  24337. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24338. "type": "string"
  24339. },
  24340. "takeorderstatus": {
  24341. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24342. "type": "integer"
  24343. },
  24344. "takeremark": {
  24345. "description": "提货备注",
  24346. "type": "string"
  24347. },
  24348. "tradedate": {
  24349. "description": "交易日(yyyyMMdd)",
  24350. "type": "string"
  24351. },
  24352. "trademode": {
  24353. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24354. "type": "integer"
  24355. },
  24356. "userid": {
  24357. "description": "用户ID",
  24358. "type": "integer"
  24359. },
  24360. "vendorname": {
  24361. "description": "供应商名称",
  24362. "type": "string"
  24363. }
  24364. }
  24365. },
  24366. "models.HsbyPreGoods": {
  24367. "type": "object",
  24368. "required": [
  24369. "goodscode",
  24370. "goodsid",
  24371. "goodsname",
  24372. "marketid",
  24373. "trademode"
  24374. ],
  24375. "properties": {
  24376. "agreeunit": {
  24377. "description": "合约单位",
  24378. "type": "number"
  24379. },
  24380. "currency": {
  24381. "description": "货币",
  24382. "type": "string"
  24383. },
  24384. "currencysign": {
  24385. "description": "货币符号",
  24386. "type": "string"
  24387. },
  24388. "decimalplace": {
  24389. "description": "报价小数位",
  24390. "type": "integer"
  24391. },
  24392. "desccityid": {
  24393. "description": "目的地(市)",
  24394. "type": "integer"
  24395. },
  24396. "descprovinceid": {
  24397. "description": "目的地(省)",
  24398. "type": "integer"
  24399. },
  24400. "enableqty": {
  24401. "description": "剩余数量",
  24402. "type": "integer"
  24403. },
  24404. "goodscode": {
  24405. "description": "商品代码(内部)",
  24406. "type": "string"
  24407. },
  24408. "goodsid": {
  24409. "description": "商品ID(自增ID SEQ_GOODS)",
  24410. "type": "integer"
  24411. },
  24412. "goodsname": {
  24413. "description": "商品名称",
  24414. "type": "string"
  24415. },
  24416. "goodsstatus": {
  24417. "description": "商品状态- 2:未上市 3:上市",
  24418. "type": "integer"
  24419. },
  24420. "lasttradedate": {
  24421. "description": "最后交易日期(状态:待退市)",
  24422. "type": "string"
  24423. },
  24424. "listingdate": {
  24425. "description": "交易开始日期",
  24426. "type": "string"
  24427. },
  24428. "marketid": {
  24429. "description": "所属市场ID",
  24430. "type": "integer"
  24431. },
  24432. "picurls": {
  24433. "description": "介绍图片[多张用逗号分隔]",
  24434. "type": "string"
  24435. },
  24436. "presaledqty": {
  24437. "description": "已预售量(预售结束时更新)",
  24438. "type": "integer"
  24439. },
  24440. "presaleqty": {
  24441. "description": "预售数量",
  24442. "type": "integer"
  24443. },
  24444. "quoteminunit": {
  24445. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24446. "type": "integer"
  24447. },
  24448. "refprice": {
  24449. "description": "参考价格[一口价]",
  24450. "type": "number"
  24451. },
  24452. "relatedgoodsid": {
  24453. "description": "关联交易合约ID",
  24454. "type": "integer"
  24455. },
  24456. "trademode": {
  24457. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24458. "type": "integer"
  24459. },
  24460. "videourls": {
  24461. "description": "介绍视频[多张用逗号分隔]",
  24462. "type": "string"
  24463. }
  24464. }
  24465. },
  24466. "models.HsbyPreGoodsDetail": {
  24467. "type": "object",
  24468. "required": [
  24469. "goodscode",
  24470. "goodsid",
  24471. "goodsname",
  24472. "marketid",
  24473. "trademode"
  24474. ],
  24475. "properties": {
  24476. "agreeunit": {
  24477. "description": "合约单位",
  24478. "type": "number"
  24479. },
  24480. "buymaxqty": {
  24481. "description": "购买上限 [71] - 0为不限",
  24482. "type": "integer"
  24483. },
  24484. "currency": {
  24485. "description": "货币",
  24486. "type": "string"
  24487. },
  24488. "currencysign": {
  24489. "description": "货币符号",
  24490. "type": "string"
  24491. },
  24492. "customername": {
  24493. "description": "发行单位",
  24494. "type": "string"
  24495. },
  24496. "decimalplace": {
  24497. "description": "报价小数位",
  24498. "type": "integer"
  24499. },
  24500. "desccityid": {
  24501. "description": "目的地(市)ID",
  24502. "type": "integer"
  24503. },
  24504. "descprovinceid": {
  24505. "description": "目的地(省)ID",
  24506. "type": "integer"
  24507. },
  24508. "enableqty": {
  24509. "description": "剩余数量",
  24510. "type": "integer"
  24511. },
  24512. "goodscode": {
  24513. "description": "商品代码(内部)",
  24514. "type": "string"
  24515. },
  24516. "goodsdesc": {
  24517. "description": "商品详情",
  24518. "type": "string"
  24519. },
  24520. "goodsid": {
  24521. "description": "商品ID(自增ID SEQ_GOODS)",
  24522. "type": "integer"
  24523. },
  24524. "goodsname": {
  24525. "description": "商品名称",
  24526. "type": "string"
  24527. },
  24528. "goodsstatus": {
  24529. "description": "商品状态- 2:未上市 3:上市",
  24530. "type": "integer"
  24531. },
  24532. "goodunit": {
  24533. "description": "报价单位",
  24534. "type": "string"
  24535. },
  24536. "lasttradedate": {
  24537. "description": "最后交易日期(状态:待退市)",
  24538. "type": "string"
  24539. },
  24540. "listingdate": {
  24541. "description": "交易开始日期",
  24542. "type": "string"
  24543. },
  24544. "lotsize": {
  24545. "description": "手数最小变动单位",
  24546. "type": "integer"
  24547. },
  24548. "marketid": {
  24549. "description": "所属市场ID",
  24550. "type": "integer"
  24551. },
  24552. "picurls": {
  24553. "description": "介绍图片[多张用逗号分隔]",
  24554. "type": "string"
  24555. },
  24556. "presaledqty": {
  24557. "description": "已预售量(预售结束时更新)",
  24558. "type": "integer"
  24559. },
  24560. "presaleqty": {
  24561. "description": "预售数量",
  24562. "type": "integer"
  24563. },
  24564. "quoteminunit": {
  24565. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24566. "type": "integer"
  24567. },
  24568. "refprice": {
  24569. "description": "参考价格[一口价]",
  24570. "type": "number"
  24571. },
  24572. "relatedgoodsid": {
  24573. "description": "关联交易合约ID",
  24574. "type": "integer"
  24575. },
  24576. "stepvalue": {
  24577. "description": "价格最小变动单位",
  24578. "type": "number"
  24579. },
  24580. "trademode": {
  24581. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24582. "type": "integer"
  24583. },
  24584. "vendorattr": {
  24585. "description": "供应商附件(多张,逗号分隔)",
  24586. "type": "string"
  24587. },
  24588. "vendorname": {
  24589. "description": "供应商名称",
  24590. "type": "string"
  24591. },
  24592. "vendorphone": {
  24593. "description": "供应商客服电话",
  24594. "type": "string"
  24595. },
  24596. "videourls": {
  24597. "description": "介绍视频[多张用逗号分隔]",
  24598. "type": "string"
  24599. }
  24600. }
  24601. },
  24602. "models.HsbySellCollectionOrder": {
  24603. "type": "object",
  24604. "required": [
  24605. "goodscode",
  24606. "goodsname",
  24607. "tradeid",
  24608. "trademode"
  24609. ],
  24610. "properties": {
  24611. "agreeunit": {
  24612. "description": "合约单位",
  24613. "type": "number"
  24614. },
  24615. "buyaccountid": {
  24616. "description": "买方账号ID[报价币种]",
  24617. "type": "integer"
  24618. },
  24619. "buyorderid": {
  24620. "description": "买方委托单号",
  24621. "type": "string"
  24622. },
  24623. "createtime": {
  24624. "description": "创建时间",
  24625. "type": "string"
  24626. },
  24627. "currencysign": {
  24628. "description": "货币符号",
  24629. "type": "string"
  24630. },
  24631. "decimalplace": {
  24632. "description": "报价小数位",
  24633. "type": "integer"
  24634. },
  24635. "goodscode": {
  24636. "description": "商品代码(内部)",
  24637. "type": "string"
  24638. },
  24639. "goodsid": {
  24640. "description": "商品ID",
  24641. "type": "integer"
  24642. },
  24643. "goodsname": {
  24644. "description": "商品名称",
  24645. "type": "string"
  24646. },
  24647. "marketid": {
  24648. "description": "市场ID",
  24649. "type": "integer"
  24650. },
  24651. "offamount": {
  24652. "description": "优惠金额",
  24653. "type": "number"
  24654. },
  24655. "payamount": {
  24656. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24657. "type": "number"
  24658. },
  24659. "payflag": {
  24660. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24661. "type": "integer"
  24662. },
  24663. "paylimitedtime": {
  24664. "description": "支付期限",
  24665. "type": "string"
  24666. },
  24667. "paytime": {
  24668. "description": "付款时间",
  24669. "type": "string"
  24670. },
  24671. "picurls": {
  24672. "description": "商品介绍图片[多张用逗号分隔]",
  24673. "type": "string"
  24674. },
  24675. "sellaccountid": {
  24676. "description": "卖方账号ID[报价币种]",
  24677. "type": "integer"
  24678. },
  24679. "sellorderid": {
  24680. "description": "卖方委托单号",
  24681. "type": "string"
  24682. },
  24683. "tradeamount": {
  24684. "description": "成交金额",
  24685. "type": "number"
  24686. },
  24687. "tradecharge": {
  24688. "description": "成交手续费(买方)",
  24689. "type": "number"
  24690. },
  24691. "tradedate": {
  24692. "description": "交易日(yyyyMMdd)",
  24693. "type": "string"
  24694. },
  24695. "tradeid": {
  24696. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24697. "type": "string"
  24698. },
  24699. "trademode": {
  24700. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24701. "type": "integer"
  24702. },
  24703. "tradeprice": {
  24704. "description": "成交价格",
  24705. "type": "number"
  24706. },
  24707. "tradeqty": {
  24708. "description": "成交数量",
  24709. "type": "integer"
  24710. }
  24711. }
  24712. },
  24713. "models.HsbySellMyDetail": {
  24714. "type": "object",
  24715. "required": [
  24716. "accountid",
  24717. "buyorsell",
  24718. "goodscode",
  24719. "goodsid",
  24720. "goodsname",
  24721. "marketid",
  24722. "orderid",
  24723. "time",
  24724. "trademode"
  24725. ],
  24726. "properties": {
  24727. "accountid": {
  24728. "description": "账户ID[报价币种]",
  24729. "type": "integer"
  24730. },
  24731. "agreeunit": {
  24732. "description": "合约单位",
  24733. "type": "number"
  24734. },
  24735. "buyorsell": {
  24736. "description": "买卖 - 0:买 1:卖",
  24737. "type": "integer"
  24738. },
  24739. "currencysign": {
  24740. "description": "货币符号",
  24741. "type": "string"
  24742. },
  24743. "decimalplace": {
  24744. "description": "报价小数位",
  24745. "type": "integer"
  24746. },
  24747. "goodscode": {
  24748. "description": "商品代码(内部)",
  24749. "type": "string"
  24750. },
  24751. "goodsid": {
  24752. "description": "商品ID",
  24753. "type": "integer"
  24754. },
  24755. "goodsname": {
  24756. "description": "商品名称",
  24757. "type": "string"
  24758. },
  24759. "marketid": {
  24760. "description": "市场ID",
  24761. "type": "integer"
  24762. },
  24763. "orderid": {
  24764. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24765. "type": "string"
  24766. },
  24767. "ordertype": {
  24768. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24769. "type": "integer"
  24770. },
  24771. "picurls": {
  24772. "description": "介绍图片[多张用逗号分隔]",
  24773. "type": "string"
  24774. },
  24775. "price": {
  24776. "description": "价格",
  24777. "type": "number"
  24778. },
  24779. "qty": {
  24780. "description": "数量",
  24781. "type": "integer"
  24782. },
  24783. "time": {
  24784. "description": "时间",
  24785. "type": "string"
  24786. },
  24787. "trademode": {
  24788. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24789. "type": "integer"
  24790. },
  24791. "vendorname": {
  24792. "description": "供应商名称",
  24793. "type": "string"
  24794. }
  24795. }
  24796. },
  24797. "models.HsbyTopGoods": {
  24798. "type": "object",
  24799. "required": [
  24800. "goodscode",
  24801. "goodsid",
  24802. "goodsname",
  24803. "marketid",
  24804. "trademode"
  24805. ],
  24806. "properties": {
  24807. "agreeunit": {
  24808. "description": "合约单位",
  24809. "type": "number"
  24810. },
  24811. "currency": {
  24812. "description": "货币",
  24813. "type": "string"
  24814. },
  24815. "currencysign": {
  24816. "description": "货币符号",
  24817. "type": "string"
  24818. },
  24819. "decimalplace": {
  24820. "description": "报价小数位",
  24821. "type": "integer"
  24822. },
  24823. "desccityid": {
  24824. "description": "目的地(市)",
  24825. "type": "integer"
  24826. },
  24827. "descprovinceid": {
  24828. "description": "目的地(省)",
  24829. "type": "integer"
  24830. },
  24831. "goodscode": {
  24832. "description": "商品代码(内部)",
  24833. "type": "string"
  24834. },
  24835. "goodsid": {
  24836. "description": "商品ID(自增ID SEQ_GOODS)",
  24837. "type": "integer"
  24838. },
  24839. "goodsname": {
  24840. "description": "商品名称",
  24841. "type": "string"
  24842. },
  24843. "hotindex": {
  24844. "description": "景点热度",
  24845. "type": "integer"
  24846. },
  24847. "last": {
  24848. "description": "现价",
  24849. "type": "number"
  24850. },
  24851. "marketid": {
  24852. "description": "所属市场ID",
  24853. "type": "integer"
  24854. },
  24855. "picurls": {
  24856. "description": "介绍图片[多张用逗号分隔]",
  24857. "type": "string"
  24858. },
  24859. "quoteminunit": {
  24860. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24861. "type": "integer"
  24862. },
  24863. "trademode": {
  24864. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24865. "type": "integer"
  24866. },
  24867. "videourls": {
  24868. "description": "介绍视频[多张用逗号分隔]",
  24869. "type": "string"
  24870. }
  24871. }
  24872. },
  24873. "models.HybsMyBuyOrderDetail": {
  24874. "type": "object",
  24875. "required": [
  24876. "accountid",
  24877. "buyorsell",
  24878. "goodscode",
  24879. "goodsid",
  24880. "goodsname",
  24881. "marketid",
  24882. "orderid",
  24883. "orderqty",
  24884. "ordertime",
  24885. "trademode"
  24886. ],
  24887. "properties": {
  24888. "accountid": {
  24889. "description": "账户ID[报价币种]",
  24890. "type": "integer"
  24891. },
  24892. "agreeunit": {
  24893. "description": "合约单位",
  24894. "type": "number"
  24895. },
  24896. "buyorsell": {
  24897. "description": "买卖 - 0:买 1:卖",
  24898. "type": "integer"
  24899. },
  24900. "cancelqty": {
  24901. "description": "撤单数量",
  24902. "type": "integer"
  24903. },
  24904. "currencysign": {
  24905. "description": "货币符号",
  24906. "type": "string"
  24907. },
  24908. "decimalplace": {
  24909. "description": "报价小数位",
  24910. "type": "integer"
  24911. },
  24912. "goodscode": {
  24913. "description": "商品代码(内部)",
  24914. "type": "string"
  24915. },
  24916. "goodsid": {
  24917. "description": "商品ID",
  24918. "type": "integer"
  24919. },
  24920. "goodsname": {
  24921. "description": "商品名称",
  24922. "type": "string"
  24923. },
  24924. "listingselecttype": {
  24925. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24926. "type": "integer"
  24927. },
  24928. "marketid": {
  24929. "description": "市场ID",
  24930. "type": "integer"
  24931. },
  24932. "mybuystatus": {
  24933. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24934. "type": "integer"
  24935. },
  24936. "orderamount": {
  24937. "description": "委托金额",
  24938. "type": "number"
  24939. },
  24940. "orderid": {
  24941. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24942. "type": "string"
  24943. },
  24944. "orderprice": {
  24945. "description": "委托价格",
  24946. "type": "number"
  24947. },
  24948. "orderqty": {
  24949. "description": "委托数量",
  24950. "type": "integer"
  24951. },
  24952. "orderstatus": {
  24953. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24954. "type": "integer"
  24955. },
  24956. "ordertime": {
  24957. "description": "委托时间",
  24958. "type": "string"
  24959. },
  24960. "picurls1": {
  24961. "description": "预售商品介绍图片[多张用逗号分隔]",
  24962. "type": "string"
  24963. },
  24964. "picurls2": {
  24965. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24966. "type": "string"
  24967. },
  24968. "trademode": {
  24969. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24970. "type": "integer"
  24971. },
  24972. "tradeqty": {
  24973. "description": "成交数量",
  24974. "type": "integer"
  24975. },
  24976. "vendorname1": {
  24977. "description": "预售商品供应商名称",
  24978. "type": "string"
  24979. },
  24980. "vendorname2": {
  24981. "description": "挂牌商品供应商名称",
  24982. "type": "string"
  24983. }
  24984. }
  24985. },
  24986. "models.Loginaccount": {
  24987. "type": "object",
  24988. "required": [
  24989. "loginid"
  24990. ],
  24991. "properties": {
  24992. "accountname": {
  24993. "description": "账户名称",
  24994. "type": "string"
  24995. },
  24996. "canoutin": {
  24997. "description": "是否可出入金 - 0:不可 1:可",
  24998. "type": "integer"
  24999. },
  25000. "clientroleid": {
  25001. "description": "终端角色ID",
  25002. "type": "integer"
  25003. },
  25004. "haslogined": {
  25005. "description": "是否已登录 - 0:未登录 1:已登录",
  25006. "type": "integer"
  25007. },
  25008. "hasupdatedpwd": {
  25009. "description": "是否已更改密码 - 0:未修改 1:已修改",
  25010. "type": "integer"
  25011. },
  25012. "lastloginip": {
  25013. "description": "最新登录地址",
  25014. "type": "string"
  25015. },
  25016. "lastloginmode": {
  25017. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25018. "type": "integer"
  25019. },
  25020. "lastloginremark": {
  25021. "description": "最新登录描述",
  25022. "type": "string"
  25023. },
  25024. "lastlogintime": {
  25025. "description": "最新登录时间",
  25026. "type": "string"
  25027. },
  25028. "logincode": {
  25029. "description": "登录代码",
  25030. "type": "string"
  25031. },
  25032. "loginfailnum": {
  25033. "description": "连续登录失败次数(登录成功时清零)",
  25034. "type": "integer"
  25035. },
  25036. "loginid": {
  25037. "description": "登陆账号",
  25038. "type": "integer"
  25039. },
  25040. "loginport": {
  25041. "description": "最新登录端口",
  25042. "type": "integer"
  25043. },
  25044. "loginstatus": {
  25045. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  25046. "type": "integer"
  25047. },
  25048. "loginusertype": {
  25049. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  25050. "type": "integer"
  25051. },
  25052. "mobile": {
  25053. "description": "手机号码(加密存储)",
  25054. "type": "string"
  25055. },
  25056. "modifierid": {
  25057. "description": "修改人",
  25058. "type": "integer"
  25059. },
  25060. "modifysrc": {
  25061. "description": "审核来源 - 1:管理端 2:终端",
  25062. "type": "integer"
  25063. },
  25064. "modifytime": {
  25065. "description": "修改时间",
  25066. "type": "string"
  25067. },
  25068. "password": {
  25069. "description": "登陆密码",
  25070. "type": "string"
  25071. },
  25072. "pwdwrongcount": {
  25073. "description": "密码错误次数",
  25074. "type": "integer"
  25075. },
  25076. "relateduserid": {
  25077. "description": "关联用户ID(机构)",
  25078. "type": "integer"
  25079. },
  25080. "taaccountrighttype": {
  25081. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  25082. "type": "integer"
  25083. },
  25084. "unfreezetime": {
  25085. "description": "账户解冻时间",
  25086. "type": "string"
  25087. },
  25088. "userid": {
  25089. "description": "用户ID",
  25090. "type": "integer"
  25091. }
  25092. }
  25093. },
  25094. "models.MainAccountInfo": {
  25095. "type": "object",
  25096. "properties": {
  25097. "accountid": {
  25098. "description": "账号id",
  25099. "type": "integer"
  25100. },
  25101. "accountname": {
  25102. "description": "账号名称(taaccount表中的名称)",
  25103. "type": "string"
  25104. },
  25105. "appid": {
  25106. "description": "AppID",
  25107. "type": "string"
  25108. },
  25109. "authcode": {
  25110. "description": "授权码",
  25111. "type": "string"
  25112. },
  25113. "brokerid": {
  25114. "description": "经纪商id",
  25115. "type": "string"
  25116. },
  25117. "fcid": {
  25118. "description": "期货公司id",
  25119. "type": "integer"
  25120. },
  25121. "fcname": {
  25122. "description": "期货公司代码",
  25123. "type": "string"
  25124. },
  25125. "hedgeaccountcode": {
  25126. "description": "外部账号代码(主账号登录代码)",
  25127. "type": "string"
  25128. },
  25129. "hedgeaccountpwd": {
  25130. "description": "密码",
  25131. "type": "string"
  25132. },
  25133. "ismain": {
  25134. "description": "是否主账号",
  25135. "type": "integer"
  25136. },
  25137. "relateduserid": {
  25138. "description": "关联用户id",
  25139. "type": "integer"
  25140. },
  25141. "userid": {
  25142. "description": "关联用户id",
  25143. "type": "integer"
  25144. }
  25145. }
  25146. },
  25147. "models.Market": {
  25148. "type": "object",
  25149. "required": [
  25150. "marketid",
  25151. "marketstatus",
  25152. "openmethod",
  25153. "reckonpricealgorithm",
  25154. "trademode",
  25155. "tradeproperty"
  25156. ],
  25157. "properties": {
  25158. "auctionwrtype": {
  25159. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  25160. "type": "integer"
  25161. },
  25162. "canacceptquote": {
  25163. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  25164. "type": "integer"
  25165. },
  25166. "cangoodsexercise": {
  25167. "description": "[期权]是否可现货行权- 0:否 1:是",
  25168. "type": "integer"
  25169. },
  25170. "cangoodsexercisetype": {
  25171. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  25172. "type": "integer"
  25173. },
  25174. "canmanualquotestrike": {
  25175. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  25176. "type": "integer"
  25177. },
  25178. "canmutistage": {
  25179. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  25180. "type": "integer"
  25181. },
  25182. "canpreexercise": {
  25183. "description": "[期权]是否可预申报- 0:否 1:是",
  25184. "type": "integer"
  25185. },
  25186. "clearinterval": {
  25187. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  25188. "type": "integer"
  25189. },
  25190. "contracttmp": {
  25191. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  25192. "type": "string"
  25193. },
  25194. "exchareaid": {
  25195. "description": "所属交易所,可以没有",
  25196. "type": "integer"
  25197. },
  25198. "goodstype": {
  25199. "description": "商品类型 - 1:交易商品 2:仓单商品",
  25200. "type": "integer"
  25201. },
  25202. "hasrebate": {
  25203. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  25204. "type": "integer"
  25205. },
  25206. "hastradecredit": {
  25207. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  25208. "type": "integer"
  25209. },
  25210. "haswr": {
  25211. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  25212. "type": "integer"
  25213. },
  25214. "isdeductmargin": {
  25215. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  25216. "type": "integer"
  25217. },
  25218. "isrecordsource": {
  25219. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  25220. "type": "integer"
  25221. },
  25222. "isreleasemargin": {
  25223. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  25224. "type": "integer"
  25225. },
  25226. "marginformula": {
  25227. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25228. "type": "integer"
  25229. },
  25230. "marginformula2": {
  25231. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25232. "type": "integer"
  25233. },
  25234. "marketid": {
  25235. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25236. "type": "integer"
  25237. },
  25238. "marketname": {
  25239. "description": "市场名称",
  25240. "type": "string"
  25241. },
  25242. "marketserviceid": {
  25243. "description": "市场服务ID",
  25244. "type": "integer"
  25245. },
  25246. "marketstatus": {
  25247. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25248. "type": "integer"
  25249. },
  25250. "markettype": {
  25251. "description": "市场类型- 1:非交易服务 2:交易服务",
  25252. "type": "integer"
  25253. },
  25254. "matchermode": {
  25255. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  25256. "type": "integer"
  25257. },
  25258. "openmethod": {
  25259. "description": "开盘模式 - 0 自动 1手动",
  25260. "type": "integer"
  25261. },
  25262. "otcuserid": {
  25263. "description": "场外期权做市商[场外期权]",
  25264. "type": "integer"
  25265. },
  25266. "outersynctime": {
  25267. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  25268. "type": "string"
  25269. },
  25270. "pendingflag": {
  25271. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  25272. "type": "integer"
  25273. },
  25274. "pendingtime": {
  25275. "description": "待开市时间[通道交易-对冲](HH:mm)",
  25276. "type": "string"
  25277. },
  25278. "performancetempid": {
  25279. "description": "履约计划模板ID - 作废",
  25280. "type": "integer"
  25281. },
  25282. "premiumquotemode": {
  25283. "description": "权利金报价方式 - 1:自动 2:手动",
  25284. "type": "integer"
  25285. },
  25286. "rebateratio": {
  25287. "description": "返利比率[竞价式]",
  25288. "type": "number"
  25289. },
  25290. "reckonorder": {
  25291. "description": "结算顺序",
  25292. "type": "integer"
  25293. },
  25294. "reckonpricealgorithm": {
  25295. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  25296. "type": "integer"
  25297. },
  25298. "reckonpriceparam": {
  25299. "description": "结算价参数",
  25300. "type": "integer"
  25301. },
  25302. "reckontime": {
  25303. "description": "结算时间[通道交易-对冲](HH:mm)",
  25304. "type": "string"
  25305. },
  25306. "roleprioritytype": {
  25307. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  25308. "type": "integer"
  25309. },
  25310. "selllistingauditflag": {
  25311. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  25312. "type": "integer"
  25313. },
  25314. "trademarkettype": {
  25315. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  25316. "type": "integer"
  25317. },
  25318. "trademode": {
  25319. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25320. "type": "integer"
  25321. },
  25322. "tradeproperty": {
  25323. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  25324. "type": "integer"
  25325. },
  25326. "tradetype": {
  25327. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  25328. "type": "integer"
  25329. }
  25330. }
  25331. },
  25332. "models.Marketrun": {
  25333. "type": "object",
  25334. "required": [
  25335. "marketid",
  25336. "nexttradedate",
  25337. "reckonflag",
  25338. "runstatus",
  25339. "tradedate",
  25340. "tradedate2"
  25341. ],
  25342. "properties": {
  25343. "afternexttradedate": {
  25344. "description": "下下交易日",
  25345. "type": "string"
  25346. },
  25347. "clearquoteflag": {
  25348. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  25349. "type": "integer"
  25350. },
  25351. "lastreckondate": {
  25352. "description": "最新交易日(结算成功)",
  25353. "type": "string"
  25354. },
  25355. "machinedate": {
  25356. "description": "机器时间",
  25357. "type": "string"
  25358. },
  25359. "manualflag": {
  25360. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  25361. "type": "integer"
  25362. },
  25363. "marketid": {
  25364. "description": "市场ID",
  25365. "type": "integer"
  25366. },
  25367. "nexttradedate": {
  25368. "description": "下一交易日",
  25369. "type": "string"
  25370. },
  25371. "pretradedate": {
  25372. "description": "上一交易日",
  25373. "type": "string"
  25374. },
  25375. "reckonflag": {
  25376. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  25377. "type": "integer"
  25378. },
  25379. "runstatus": {
  25380. "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.今日免清算",
  25381. "type": "integer"
  25382. },
  25383. "sectionid": {
  25384. "description": "时间段号[多时段时用]",
  25385. "type": "integer"
  25386. },
  25387. "tradedate": {
  25388. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  25389. "type": "string"
  25390. },
  25391. "tradedate2": {
  25392. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  25393. "type": "string"
  25394. },
  25395. "updatetime": {
  25396. "description": "更新时间",
  25397. "type": "string"
  25398. }
  25399. }
  25400. },
  25401. "models.Messageboard": {
  25402. "type": "object",
  25403. "required": [
  25404. "messageboardid"
  25405. ],
  25406. "properties": {
  25407. "contactnum": {
  25408. "description": "联系电话",
  25409. "type": "string"
  25410. },
  25411. "createtime": {
  25412. "description": "创建时间",
  25413. "type": "string"
  25414. },
  25415. "message": {
  25416. "description": "留言信息",
  25417. "type": "string"
  25418. },
  25419. "messageboardid": {
  25420. "description": "留言簿ID(SEQ_MessageBoard)",
  25421. "type": "integer"
  25422. },
  25423. "userid": {
  25424. "description": "用户ID",
  25425. "type": "integer"
  25426. }
  25427. }
  25428. },
  25429. "models.MyCoupon": {
  25430. "type": "object",
  25431. "required": [
  25432. "accountid",
  25433. "coupontypeid"
  25434. ],
  25435. "properties": {
  25436. "accountid": {
  25437. "description": "资金账户ID",
  25438. "type": "integer"
  25439. },
  25440. "areauserid": {
  25441. "description": "所属机构",
  25442. "type": "integer"
  25443. },
  25444. "conditionvalue": {
  25445. "description": "条件阈值(可为0)",
  25446. "type": "number"
  25447. },
  25448. "couponcategroy": {
  25449. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25450. "type": "integer"
  25451. },
  25452. "couponname": {
  25453. "description": "优惠券名称",
  25454. "type": "string"
  25455. },
  25456. "coupontypeid": {
  25457. "description": "优惠券类型ID",
  25458. "type": "string"
  25459. },
  25460. "couponvalue": {
  25461. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25462. "type": "number"
  25463. },
  25464. "curfreezeqty": {
  25465. "description": "期末冻结数量",
  25466. "type": "integer"
  25467. },
  25468. "curqty": {
  25469. "description": "期末数量",
  25470. "type": "integer"
  25471. },
  25472. "isgeneral": {
  25473. "description": "是否通用券 - 0:否 1:是",
  25474. "type": "integer"
  25475. },
  25476. "isunusable": {
  25477. "description": "是否不可用",
  25478. "type": "boolean"
  25479. },
  25480. "limitedflag": {
  25481. "description": "是否指定商品 - 0:不限 1:限制",
  25482. "type": "integer"
  25483. },
  25484. "limitedgoodsids": {
  25485. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25486. "type": "string"
  25487. },
  25488. "orifreezeqty": {
  25489. "description": "期初冻结数量",
  25490. "type": "integer"
  25491. },
  25492. "oriqty": {
  25493. "description": "期初数量",
  25494. "type": "integer"
  25495. },
  25496. "reasontype": {
  25497. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25498. "type": "integer"
  25499. },
  25500. "todaydecrease": {
  25501. "description": "今日减少",
  25502. "type": "integer"
  25503. },
  25504. "todayincrease": {
  25505. "description": "今日增加",
  25506. "type": "integer"
  25507. },
  25508. "userid": {
  25509. "description": "用户ID",
  25510. "type": "integer"
  25511. },
  25512. "userscope": {
  25513. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25514. "type": "string"
  25515. }
  25516. }
  25517. },
  25518. "models.MyCouponHold": {
  25519. "type": "object",
  25520. "required": [
  25521. "couponholdid"
  25522. ],
  25523. "properties": {
  25524. "accountid": {
  25525. "description": "资金账户ID",
  25526. "type": "integer"
  25527. },
  25528. "conditionvalue": {
  25529. "description": "条件阈值(可为0)",
  25530. "type": "number"
  25531. },
  25532. "couponcategroy": {
  25533. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25534. "type": "integer"
  25535. },
  25536. "couponholdid": {
  25537. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25538. "type": "string"
  25539. },
  25540. "couponname": {
  25541. "description": "优惠券名称",
  25542. "type": "string"
  25543. },
  25544. "coupontypeid": {
  25545. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25546. "type": "string"
  25547. },
  25548. "couponvalue": {
  25549. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25550. "type": "number"
  25551. },
  25552. "createtime": {
  25553. "description": "创建时间",
  25554. "type": "string"
  25555. },
  25556. "enddate": {
  25557. "description": "结束日期",
  25558. "type": "string"
  25559. },
  25560. "giveapplyid": {
  25561. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25562. "type": "integer"
  25563. },
  25564. "holdstatus": {
  25565. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25566. "type": "integer"
  25567. },
  25568. "isgeneral": {
  25569. "description": "是否通用券 - 0:否 1:是",
  25570. "type": "integer"
  25571. },
  25572. "limitedflag": {
  25573. "description": "是否指定商品 - 0:不限 1:限制",
  25574. "type": "integer"
  25575. },
  25576. "limitedgoodsids": {
  25577. "description": "指定商品IDs[逗号分隔]",
  25578. "type": "string"
  25579. },
  25580. "qty": {
  25581. "description": "数量(按1平铺)",
  25582. "type": "integer"
  25583. },
  25584. "startdate": {
  25585. "description": "开始日期",
  25586. "type": "string"
  25587. },
  25588. "userid": {
  25589. "description": "用户ID",
  25590. "type": "integer"
  25591. },
  25592. "userscope": {
  25593. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25594. "type": "string"
  25595. }
  25596. }
  25597. },
  25598. "models.MyUsedCoupon": {
  25599. "type": "object",
  25600. "required": [
  25601. "coupontypeid",
  25602. "orderid"
  25603. ],
  25604. "properties": {
  25605. "accountid": {
  25606. "description": "资金账户ID(买方)",
  25607. "type": "integer"
  25608. },
  25609. "conditionvalue": {
  25610. "description": "条件阈值(可为0)",
  25611. "type": "number"
  25612. },
  25613. "couponcategroy": {
  25614. "description": "种类 - 1:现金券 2:折扣券",
  25615. "type": "integer"
  25616. },
  25617. "couponname": {
  25618. "description": "优惠券名称",
  25619. "type": "string"
  25620. },
  25621. "coupontypeid": {
  25622. "description": "优惠券类型ID(买方)",
  25623. "type": "string"
  25624. },
  25625. "couponvalue": {
  25626. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25627. "type": "number"
  25628. },
  25629. "createtime": {
  25630. "description": "创建时间",
  25631. "type": "string"
  25632. },
  25633. "goodsid": {
  25634. "description": "商品ID",
  25635. "type": "integer"
  25636. },
  25637. "handlestatus": {
  25638. "description": "处理状态",
  25639. "type": "integer"
  25640. },
  25641. "marketid": {
  25642. "description": "市场ID",
  25643. "type": "integer"
  25644. },
  25645. "offamount": {
  25646. "description": "优惠金额",
  25647. "type": "number"
  25648. },
  25649. "orderid": {
  25650. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25651. "type": "string"
  25652. },
  25653. "sellaccountid": {
  25654. "description": "资金账户ID(卖方)",
  25655. "type": "integer"
  25656. },
  25657. "tradeamount": {
  25658. "description": "成交金额",
  25659. "type": "number"
  25660. },
  25661. "tradeid": {
  25662. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25663. "type": "string"
  25664. },
  25665. "usedqty": {
  25666. "description": "使用数量",
  25667. "type": "integer"
  25668. }
  25669. }
  25670. },
  25671. "models.OperationPrimaryMenu": {
  25672. "type": "object",
  25673. "properties": {
  25674. "Children": {
  25675. "description": "二级功能菜单",
  25676. "type": "array",
  25677. "items": {
  25678. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25679. }
  25680. },
  25681. "Key": {
  25682. "description": "菜单KEY",
  25683. "type": "string"
  25684. },
  25685. "Label": {
  25686. "description": "菜单标题",
  25687. "type": "string"
  25688. }
  25689. }
  25690. },
  25691. "models.OperationSecondaryMenu": {
  25692. "type": "object",
  25693. "properties": {
  25694. "Key": {
  25695. "description": "菜单KEY",
  25696. "type": "string"
  25697. },
  25698. "Label": {
  25699. "description": "菜单标题",
  25700. "type": "string"
  25701. },
  25702. "TabList": {
  25703. "description": "三级功能菜单",
  25704. "type": "array",
  25705. "items": {
  25706. "$ref": "#/definitions/models.OperationTabMenu"
  25707. }
  25708. }
  25709. }
  25710. },
  25711. "models.OperationTabMenu": {
  25712. "type": "object",
  25713. "properties": {
  25714. "Key": {
  25715. "description": "菜单KEY",
  25716. "type": "string"
  25717. },
  25718. "Label": {
  25719. "description": "菜单标题",
  25720. "type": "string"
  25721. }
  25722. }
  25723. },
  25724. "models.PendingAuditBizModel": {
  25725. "type": "object",
  25726. "properties": {
  25727. "accountid": {
  25728. "description": "现货账户",
  25729. "type": "string"
  25730. },
  25731. "areaname": {
  25732. "description": "所属部门",
  25733. "type": "string"
  25734. },
  25735. "bizid": {
  25736. "description": "业务ID",
  25737. "type": "string"
  25738. },
  25739. "bizname": {
  25740. "description": "业务名称",
  25741. "type": "string"
  25742. },
  25743. "status": {
  25744. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25745. "type": "integer"
  25746. },
  25747. "type": {
  25748. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25749. "type": "integer"
  25750. }
  25751. }
  25752. },
  25753. "models.QhjAccountOutInApply": {
  25754. "type": "object",
  25755. "properties": {
  25756. "accountcode": {
  25757. "description": "资金账号",
  25758. "type": "string"
  25759. },
  25760. "accountname": {
  25761. "description": "用户名称(名称)",
  25762. "type": "string"
  25763. },
  25764. "accountpwd": {
  25765. "description": "资金密码",
  25766. "type": "string"
  25767. },
  25768. "accountticket": {
  25769. "description": "最新账户服务流水号",
  25770. "type": "string"
  25771. },
  25772. "amount": {
  25773. "description": "金额",
  25774. "type": "number"
  25775. },
  25776. "applyremark": {
  25777. "description": "申请备注",
  25778. "type": "string"
  25779. },
  25780. "applystatus": {
  25781. "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: 复审通过,账户冻结金额检查中;",
  25782. "type": "integer"
  25783. },
  25784. "auditid": {
  25785. "description": "审核人",
  25786. "type": "integer"
  25787. },
  25788. "audittime": {
  25789. "description": "审核时间",
  25790. "type": "string"
  25791. },
  25792. "bank_apply_ticket": {
  25793. "description": "银行申请流水",
  25794. "type": "string"
  25795. },
  25796. "bankaccountname": {
  25797. "description": "银行账户名",
  25798. "type": "string"
  25799. },
  25800. "bankaccountno": {
  25801. "description": "银行卡号",
  25802. "type": "string"
  25803. },
  25804. "bankid": {
  25805. "description": "银行编号",
  25806. "type": "string"
  25807. },
  25808. "bankticket": {
  25809. "description": "银行流水",
  25810. "type": "string"
  25811. },
  25812. "branchbankid": {
  25813. "description": "银行支行号",
  25814. "type": "string"
  25815. },
  25816. "branchbankname": {
  25817. "description": "银行支行名称",
  25818. "type": "string"
  25819. },
  25820. "capamountout": {
  25821. "description": "出金(劣后本金) - 外部子账户",
  25822. "type": "number"
  25823. },
  25824. "certificatephotourl": {
  25825. "description": "凭证地址",
  25826. "type": "string"
  25827. },
  25828. "charge": {
  25829. "description": "手续费",
  25830. "type": "number"
  25831. },
  25832. "checkerrorflag": {
  25833. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25834. "type": "integer"
  25835. },
  25836. "currency": {
  25837. "description": "币种",
  25838. "type": "string"
  25839. },
  25840. "cusbankid": {
  25841. "description": "托管银行编号",
  25842. "type": "string"
  25843. },
  25844. "exchticket": {
  25845. "description": "银行服务流水号",
  25846. "type": "string"
  25847. },
  25848. "executetype": {
  25849. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25850. "type": "integer"
  25851. },
  25852. "extendinfo": {
  25853. "description": "扩展信息",
  25854. "type": "string"
  25855. },
  25856. "extoperateid": {
  25857. "description": "交易服务流水号",
  25858. "type": "integer"
  25859. },
  25860. "infamount": {
  25861. "description": "劣后金额(自有)",
  25862. "type": "number"
  25863. },
  25864. "logincode": {
  25865. "description": "登录账号(账号)",
  25866. "type": "string"
  25867. },
  25868. "netaddr": {
  25869. "description": "调转网址",
  25870. "type": "string"
  25871. },
  25872. "priamount": {
  25873. "description": "优先金额(授信)",
  25874. "type": "number"
  25875. },
  25876. "reauditid": {
  25877. "description": "复审人",
  25878. "type": "integer"
  25879. },
  25880. "reauditremark": {
  25881. "description": "复审备注",
  25882. "type": "string"
  25883. },
  25884. "reaudittime": {
  25885. "description": "复审时间",
  25886. "type": "string"
  25887. },
  25888. "relatedorderid": {
  25889. "description": "三方关联ID",
  25890. "type": "string"
  25891. },
  25892. "remark": {
  25893. "description": "备注",
  25894. "type": "string"
  25895. },
  25896. "remark2": {
  25897. "description": "备注(失败原因)",
  25898. "type": "string"
  25899. },
  25900. "soucreamount": {
  25901. "description": "原始出入金金额",
  25902. "type": "number"
  25903. },
  25904. "soucrecurrencyid": {
  25905. "description": "原始出入金币种",
  25906. "type": "integer"
  25907. },
  25908. "tradedate": {
  25909. "description": "交易日(yyyyMMdd)",
  25910. "type": "string"
  25911. },
  25912. "updatetime": {
  25913. "description": "更新时间(申请时间)",
  25914. "type": "string"
  25915. },
  25916. "userid": {
  25917. "description": "用户id",
  25918. "type": "integer"
  25919. },
  25920. "userinfotype": {
  25921. "description": "账户类型 1-个人 2-企业",
  25922. "type": "integer"
  25923. }
  25924. }
  25925. },
  25926. "models.QhjAgreementChangeLog": {
  25927. "type": "object",
  25928. "properties": {
  25929. "agreementcontent": {
  25930. "description": "协议内容",
  25931. "type": "string"
  25932. },
  25933. "agreementfrequency": {
  25934. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25935. "type": "integer"
  25936. },
  25937. "agreementid": {
  25938. "description": "协议ID",
  25939. "type": "integer"
  25940. },
  25941. "agreementname": {
  25942. "description": "协议名称",
  25943. "type": "string"
  25944. },
  25945. "agreementno": {
  25946. "description": "协议编号",
  25947. "type": "string"
  25948. },
  25949. "agreementtype": {
  25950. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25951. "type": "integer"
  25952. },
  25953. "agreementversion": {
  25954. "description": "协议版本号",
  25955. "type": "integer"
  25956. },
  25957. "logid": {
  25958. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25959. "type": "integer"
  25960. },
  25961. "reviserid": {
  25962. "description": "修改人",
  25963. "type": "integer"
  25964. },
  25965. "revisersrc": {
  25966. "description": "修改来源 - 1:管理端 2:终端",
  25967. "type": "integer"
  25968. },
  25969. "updatetime": {
  25970. "description": "更新时间",
  25971. "type": "string"
  25972. }
  25973. }
  25974. },
  25975. "models.QhjAgreementConfig": {
  25976. "type": "object",
  25977. "properties": {
  25978. "agreementcontent": {
  25979. "description": "协议内容",
  25980. "type": "string"
  25981. },
  25982. "agreementfrequency": {
  25983. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25984. "type": "integer"
  25985. },
  25986. "agreementid": {
  25987. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  25988. "type": "integer"
  25989. },
  25990. "agreementname": {
  25991. "description": "协议名称",
  25992. "type": "string"
  25993. },
  25994. "agreementno": {
  25995. "description": "协议编号",
  25996. "type": "string"
  25997. },
  25998. "agreementtype": {
  25999. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26000. "type": "integer"
  26001. },
  26002. "agreementversion": {
  26003. "description": "协议版本号(从1开始每次修改加1)",
  26004. "type": "integer"
  26005. },
  26006. "createtime": {
  26007. "description": "创建时间",
  26008. "type": "string"
  26009. },
  26010. "creatorid": {
  26011. "description": "创建人",
  26012. "type": "integer"
  26013. },
  26014. "creatorsrc": {
  26015. "description": "创建来源 - 1:管理端 2:终端",
  26016. "type": "integer"
  26017. },
  26018. "isvalid": {
  26019. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  26020. "type": "integer"
  26021. },
  26022. "reviserid": {
  26023. "description": "修改人",
  26024. "type": "integer"
  26025. },
  26026. "revisersrc": {
  26027. "description": "修改来源 - 1:管理端 2:终端",
  26028. "type": "integer"
  26029. },
  26030. "updatetime": {
  26031. "description": "更新时间",
  26032. "type": "string"
  26033. }
  26034. }
  26035. },
  26036. "models.QhjAreaFinanceConfig": {
  26037. "type": "object",
  26038. "properties": {
  26039. "additionalratio": {
  26040. "description": "追加款比例",
  26041. "type": "number"
  26042. },
  26043. "advanceratio": {
  26044. "description": "预付款比例",
  26045. "type": "number"
  26046. },
  26047. "alarmratio": {
  26048. "description": "告警比例",
  26049. "type": "number"
  26050. },
  26051. "consumptiondirectreward": {
  26052. "description": "消费直推奖励值",
  26053. "type": "number"
  26054. },
  26055. "consumptionenabled": {
  26056. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  26057. "type": "integer"
  26058. },
  26059. "consumptionindirectreward": {
  26060. "description": "消费间推奖励值",
  26061. "type": "number"
  26062. },
  26063. "consumptionmodel": {
  26064. "description": "消费奖励方式 - 1:比率 2:固定",
  26065. "type": "integer"
  26066. },
  26067. "customerservicenum": {
  26068. "description": "客服电话",
  26069. "type": "string"
  26070. },
  26071. "dayinterestrate": {
  26072. "description": "日利率",
  26073. "type": "number"
  26074. },
  26075. "disableconsumptiontips": {
  26076. "description": "关闭消费奖励提示",
  26077. "type": "string"
  26078. },
  26079. "modifierid": {
  26080. "description": "修改人ID",
  26081. "type": "integer"
  26082. },
  26083. "modifysrc": {
  26084. "description": "审核来源 - 1:管理端 2:终端",
  26085. "type": "integer"
  26086. },
  26087. "modifytime": {
  26088. "description": "修改时间",
  26089. "type": "string"
  26090. },
  26091. "promotionvalue": {
  26092. "description": "推广奖励值(固定)",
  26093. "type": "number"
  26094. },
  26095. "scoreconfigvalue1": {
  26096. "description": "提货积分配置1",
  26097. "type": "integer"
  26098. },
  26099. "scoreconfigvalue2": {
  26100. "description": "提货积分配置2",
  26101. "type": "integer"
  26102. },
  26103. "userid": {
  26104. "description": "机构用户ID其他做市关系,都设置为 1",
  26105. "type": "integer"
  26106. },
  26107. "username": {
  26108. "description": "用户名称",
  26109. "type": "string"
  26110. }
  26111. }
  26112. },
  26113. "models.QhjBankAccountSign": {
  26114. "type": "object",
  26115. "properties": {
  26116. "accountcode": {
  26117. "description": "资金账号",
  26118. "type": "string"
  26119. },
  26120. "accountname": {
  26121. "description": "资金账号对应的账号名(UserName)",
  26122. "type": "string"
  26123. },
  26124. "accountname2": {
  26125. "description": "资金账号对应的账号名(UserName) - 密文",
  26126. "type": "string"
  26127. },
  26128. "accounttype": {
  26129. "description": "账户类型(UserType)",
  26130. "type": "integer"
  26131. },
  26132. "applicationtime": {
  26133. "description": "最后一次更新的时间",
  26134. "type": "string"
  26135. },
  26136. "applyexchticket": {
  26137. "description": "申请流水",
  26138. "type": "string"
  26139. },
  26140. "auditid": {
  26141. "description": "审核人",
  26142. "type": "integer"
  26143. },
  26144. "audittime": {
  26145. "description": "审核时间",
  26146. "type": "string"
  26147. },
  26148. "bankaccountname": {
  26149. "description": "签约银行卡账号名",
  26150. "type": "string"
  26151. },
  26152. "bankaccountname2": {
  26153. "description": "签约银行卡账号名 - 密文",
  26154. "type": "string"
  26155. },
  26156. "bankaccountno": {
  26157. "description": "银行卡号",
  26158. "type": "string"
  26159. },
  26160. "bankaccountno2": {
  26161. "description": "银行卡号 - 密文",
  26162. "type": "string"
  26163. },
  26164. "bankaccounttype": {
  26165. "description": "银行账户类型 - 1-对私; 2-对公",
  26166. "type": "integer"
  26167. },
  26168. "bankcardtype": {
  26169. "description": "银行卡类型",
  26170. "type": "integer"
  26171. },
  26172. "bankchildaccount": {
  26173. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  26174. "type": "string"
  26175. },
  26176. "bankcity": {
  26177. "description": "开户行城市",
  26178. "type": "string"
  26179. },
  26180. "bankid": {
  26181. "description": "签约银行ID",
  26182. "type": "string"
  26183. },
  26184. "bankname": {
  26185. "description": "签约银行名称",
  26186. "type": "string"
  26187. },
  26188. "bankprovince": {
  26189. "description": "开户行省份",
  26190. "type": "string"
  26191. },
  26192. "branchbankid": {
  26193. "description": "签约银行支行号",
  26194. "type": "string"
  26195. },
  26196. "branchbankname": {
  26197. "description": "签约银行支行名称",
  26198. "type": "string"
  26199. },
  26200. "cardno": {
  26201. "description": "证件号码",
  26202. "type": "string"
  26203. },
  26204. "cardno2": {
  26205. "description": "证件号码 - 密文",
  26206. "type": "string"
  26207. },
  26208. "cardtype": {
  26209. "description": "证件类型",
  26210. "type": "string"
  26211. },
  26212. "currency": {
  26213. "description": "币种",
  26214. "type": "string"
  26215. },
  26216. "cusbankid": {
  26217. "description": "托管银行编号",
  26218. "type": "string"
  26219. },
  26220. "direct": {
  26221. "description": "方向(可以判断那方先发起的签约)",
  26222. "type": "integer"
  26223. },
  26224. "exchticket": {
  26225. "description": "最后一次签约成功的流水号",
  26226. "type": "string"
  26227. },
  26228. "extendinfo": {
  26229. "description": "扩展信息(JSON字符串)",
  26230. "type": "string"
  26231. },
  26232. "mobilephone": {
  26233. "description": "手机号",
  26234. "type": "string"
  26235. },
  26236. "mobilephone2": {
  26237. "description": "手机号 - 密文",
  26238. "type": "string"
  26239. },
  26240. "netaddr": {
  26241. "description": "调转网址",
  26242. "type": "string"
  26243. },
  26244. "relateduserid": {
  26245. "description": "关联使用者userid",
  26246. "type": "integer"
  26247. },
  26248. "signstatus": {
  26249. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  26250. "type": "integer"
  26251. },
  26252. "updatetime": {
  26253. "description": "更新时间(签解约更新时间)",
  26254. "type": "string"
  26255. }
  26256. }
  26257. },
  26258. "models.QhjBankInfo": {
  26259. "type": "object",
  26260. "properties": {
  26261. "bankid": {
  26262. "description": "银行ID",
  26263. "type": "string"
  26264. },
  26265. "bankname": {
  26266. "description": "银行名称",
  26267. "type": "string"
  26268. },
  26269. "clearbankno": {
  26270. "description": "清算系统银行编号",
  26271. "type": "string"
  26272. },
  26273. "orderindex": {
  26274. "description": "排序顺序",
  26275. "type": "integer"
  26276. },
  26277. "status": {
  26278. "description": "状态 - 0:正常 1:注销",
  26279. "type": "integer"
  26280. }
  26281. }
  26282. },
  26283. "models.QhjBrokerApply": {
  26284. "type": "object",
  26285. "properties": {
  26286. "applicantid": {
  26287. "description": "申请人",
  26288. "type": "integer"
  26289. },
  26290. "applysrc": {
  26291. "description": "申请来源 - 1:管理端 2:终端",
  26292. "type": "integer"
  26293. },
  26294. "applystatus": {
  26295. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26296. "type": "integer"
  26297. },
  26298. "applytime": {
  26299. "description": "申请时间",
  26300. "type": "string"
  26301. },
  26302. "auditorid": {
  26303. "description": "审核人",
  26304. "type": "integer"
  26305. },
  26306. "auditremark": {
  26307. "description": "审核备注",
  26308. "type": "string"
  26309. },
  26310. "auditsrc": {
  26311. "description": "审核来源 - 1:管理端 2:终端",
  26312. "type": "integer"
  26313. },
  26314. "audittime": {
  26315. "description": "审核时间",
  26316. "type": "string"
  26317. },
  26318. "audittradedate": {
  26319. "description": "审核交易日(yyyyMMdd)",
  26320. "type": "string"
  26321. },
  26322. "brokerapplyid": {
  26323. "description": "申请ID(SEQ_BROKERAPPLY)",
  26324. "type": "integer"
  26325. },
  26326. "cardbackphotourl": {
  26327. "description": "证件背面图片地址",
  26328. "type": "string"
  26329. },
  26330. "cardfrontphotourl": {
  26331. "description": "证件正面图片地址",
  26332. "type": "string"
  26333. },
  26334. "cardnum": {
  26335. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26336. "type": "string"
  26337. },
  26338. "customername": {
  26339. "description": "姓名",
  26340. "type": "string"
  26341. },
  26342. "logincode": {
  26343. "description": "登录代码",
  26344. "type": "string"
  26345. },
  26346. "mobile": {
  26347. "description": "手机号码",
  26348. "type": "string"
  26349. },
  26350. "parentuserid": {
  26351. "description": "所属机构id",
  26352. "type": "integer"
  26353. },
  26354. "parentusername": {
  26355. "description": "所属机构名称",
  26356. "type": "string"
  26357. },
  26358. "refereeuserid": {
  26359. "description": "推荐人id(经纪人)",
  26360. "type": "integer"
  26361. },
  26362. "refernum": {
  26363. "description": "推荐码",
  26364. "type": "string"
  26365. },
  26366. "remark": {
  26367. "description": "备注",
  26368. "type": "string"
  26369. },
  26370. "subarealevelpath": {
  26371. "description": "层级路径",
  26372. "type": "string"
  26373. },
  26374. "tradedate": {
  26375. "description": "交易日(yyyyMMdd)",
  26376. "type": "string"
  26377. },
  26378. "userid": {
  26379. "description": "申请人用户ID",
  26380. "type": "integer"
  26381. },
  26382. "userinfotype": {
  26383. "description": "用户类型 1-个人 2-企业",
  26384. "type": "integer"
  26385. },
  26386. "username": {
  26387. "description": "用户名称",
  26388. "type": "string"
  26389. }
  26390. }
  26391. },
  26392. "models.QhjBrokerApplyEx": {
  26393. "type": "object",
  26394. "properties": {
  26395. "applylist": {
  26396. "description": "经纪人申请记录(只返回最新一条)",
  26397. "type": "array",
  26398. "items": {
  26399. "$ref": "#/definitions/models.QhjBrokerApply"
  26400. }
  26401. },
  26402. "canrecommend": {
  26403. "description": "是否经纪人 0-不是 1-是",
  26404. "type": "integer"
  26405. },
  26406. "refernum": {
  26407. "description": "推荐码",
  26408. "type": "string"
  26409. },
  26410. "userid": {
  26411. "description": "用户id",
  26412. "type": "integer"
  26413. },
  26414. "userinfotype": {
  26415. "description": "用户类型 1-个人 2-企业",
  26416. "type": "integer"
  26417. }
  26418. }
  26419. },
  26420. "models.QhjBrokerRewardLog": {
  26421. "type": "object",
  26422. "properties": {
  26423. "accountid": {
  26424. "description": "资金账号ID",
  26425. "type": "integer"
  26426. },
  26427. "createtime": {
  26428. "description": "创建时间(时间)",
  26429. "type": "string"
  26430. },
  26431. "handlestatus": {
  26432. "description": "处理状态",
  26433. "type": "integer"
  26434. },
  26435. "logid": {
  26436. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26437. "type": "string"
  26438. },
  26439. "marketid": {
  26440. "description": "市场ID",
  26441. "type": "integer"
  26442. },
  26443. "mmaccountid": {
  26444. "description": "做市商资金账号ID",
  26445. "type": "string"
  26446. },
  26447. "mmuserid": {
  26448. "description": "做市商用户ID",
  26449. "type": "string"
  26450. },
  26451. "rewardamount": {
  26452. "description": "奖励金额",
  26453. "type": "number"
  26454. },
  26455. "rewardmodel": {
  26456. "description": "消费奖励方式 - 1:比率 2:固定",
  26457. "type": "integer"
  26458. },
  26459. "rewardtype": {
  26460. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26461. "type": "integer"
  26462. },
  26463. "rewardvalue": {
  26464. "description": "配置奖励值",
  26465. "type": "number"
  26466. },
  26467. "srcamount": {
  26468. "description": "成交金额 [消费奖励] (金额)",
  26469. "type": "number"
  26470. },
  26471. "srcgoodsid": {
  26472. "description": "来源商品ID [消费奖励]",
  26473. "type": "string"
  26474. },
  26475. "srctime": {
  26476. "description": "来源时间 (成交时间) [消费奖励]",
  26477. "type": "string"
  26478. },
  26479. "srctradeid": {
  26480. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26481. "type": "string"
  26482. },
  26483. "srcuserid": {
  26484. "description": "来源用户ID(推广账户)",
  26485. "type": "string"
  26486. },
  26487. "srcusername": {
  26488. "description": "推广账户名称",
  26489. "type": "string"
  26490. },
  26491. "tradedate": {
  26492. "description": "交易日(yyyyMMdd)",
  26493. "type": "string"
  26494. },
  26495. "userid": {
  26496. "description": "经纪人用户ID",
  26497. "type": "integer"
  26498. }
  26499. }
  26500. },
  26501. "models.QhjContract": {
  26502. "type": "object",
  26503. "properties": {
  26504. "contractconfirmtime": {
  26505. "description": "合同确认时间(时间)",
  26506. "type": "string"
  26507. },
  26508. "currisklevel": {
  26509. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26510. "type": "integer"
  26511. },
  26512. "decimalplace": {
  26513. "description": "商品报价小数位",
  26514. "type": "integer"
  26515. },
  26516. "enumdicname": {
  26517. "description": "单位名称",
  26518. "type": "string"
  26519. },
  26520. "goodscode": {
  26521. "description": "商品代码",
  26522. "type": "string"
  26523. },
  26524. "goodsid": {
  26525. "description": "商品ID [5:融资单]",
  26526. "type": "integer"
  26527. },
  26528. "goodsname": {
  26529. "description": "商品名称",
  26530. "type": "string"
  26531. },
  26532. "goodunitid": {
  26533. "description": "商品单位id",
  26534. "type": "integer"
  26535. },
  26536. "initmargin": {
  26537. "description": "初始保证金(首付款)",
  26538. "type": "number"
  26539. },
  26540. "lenderamount": {
  26541. "description": "贷款金额(总额|订单总额)",
  26542. "type": "number"
  26543. },
  26544. "marginratio": {
  26545. "description": "保证金比率(首付比例)",
  26546. "type": "number"
  26547. },
  26548. "payamount": {
  26549. "description": "已付(已付货款)",
  26550. "type": "number"
  26551. },
  26552. "reckonrecovermargin": {
  26553. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26554. "type": "number"
  26555. },
  26556. "recoveredmargin": {
  26557. "description": "已追缴保证金",
  26558. "type": "number"
  26559. },
  26560. "remainamount": {
  26561. "description": "合同剩余金额(融资额)",
  26562. "type": "number"
  26563. },
  26564. "scfcontractid": {
  26565. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26566. "type": "string"
  26567. },
  26568. "scfcontractstatus": {
  26569. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26570. "type": "integer"
  26571. },
  26572. "scfcontracttype": {
  26573. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26574. "type": "integer"
  26575. },
  26576. "totalinterest": {
  26577. "description": "已计总利息(利息)",
  26578. "type": "number"
  26579. },
  26580. "tradeprice": {
  26581. "description": "成交价格(成本价格)",
  26582. "type": "number"
  26583. },
  26584. "userid": {
  26585. "description": "用户ID",
  26586. "type": "integer"
  26587. },
  26588. "username": {
  26589. "description": "用户名称",
  26590. "type": "string"
  26591. },
  26592. "wrqty": {
  26593. "description": "仓单数量(数量)",
  26594. "type": "number"
  26595. }
  26596. }
  26597. },
  26598. "models.QhjContractLog": {
  26599. "type": "object",
  26600. "properties": {
  26601. "amount": {
  26602. "description": "支付金额",
  26603. "type": "number"
  26604. },
  26605. "amounttype": {
  26606. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26607. "type": "integer"
  26608. },
  26609. "logid": {
  26610. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26611. "type": "string"
  26612. },
  26613. "remainamount": {
  26614. "description": "剩余货款",
  26615. "type": "number"
  26616. },
  26617. "scfcontractid": {
  26618. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26619. "type": "integer"
  26620. },
  26621. "updatetime": {
  26622. "description": "更新时间",
  26623. "type": "string"
  26624. }
  26625. }
  26626. },
  26627. "models.QhjCusBankSignBankEx": {
  26628. "type": "object",
  26629. "properties": {
  26630. "banklst": {
  26631. "description": "银行列表",
  26632. "type": "array",
  26633. "items": {
  26634. "$ref": "#/definitions/models.QhjBankInfo"
  26635. }
  26636. },
  26637. "canallot": {
  26638. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26639. "type": "integer"
  26640. },
  26641. "canallotquery": {
  26642. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26643. "type": "integer"
  26644. },
  26645. "canbindcard": {
  26646. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26647. "type": "integer"
  26648. },
  26649. "caninamount": {
  26650. "description": "是否可入金 - 0:不可 1:可以",
  26651. "type": "integer"
  26652. },
  26653. "caninamount2": {
  26654. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26655. "type": "integer"
  26656. },
  26657. "canmodifybankcard": {
  26658. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26659. "type": "integer"
  26660. },
  26661. "canmodifyphone": {
  26662. "description": "是否可修改手机号 - 0:不可 1:可以",
  26663. "type": "integer"
  26664. },
  26665. "canmodifysigninfo": {
  26666. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26667. "type": "integer"
  26668. },
  26669. "canoutamount": {
  26670. "description": "是否可出金 - 0:不可 1:可以",
  26671. "type": "integer"
  26672. },
  26673. "canoutamount2": {
  26674. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26675. "type": "integer"
  26676. },
  26677. "canrelease": {
  26678. "description": "是否可解约 - 0:不可 1:可以",
  26679. "type": "integer"
  26680. },
  26681. "canrelease2": {
  26682. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26683. "type": "integer"
  26684. },
  26685. "cansign": {
  26686. "description": "是否可签约 - 0:不可 1:可以",
  26687. "type": "integer"
  26688. },
  26689. "cansign2": {
  26690. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26691. "type": "integer"
  26692. },
  26693. "currency": {
  26694. "description": "币种",
  26695. "type": "string"
  26696. },
  26697. "cusbankid": {
  26698. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26699. "type": "string"
  26700. },
  26701. "cusbankname": {
  26702. "description": "银行业务名称",
  26703. "type": "string"
  26704. },
  26705. "cusbankshortname": {
  26706. "description": "银行业务简称",
  26707. "type": "string"
  26708. },
  26709. "exchbankid": {
  26710. "description": "交易所开户银行ID",
  26711. "type": "string"
  26712. },
  26713. "exchpaybankaccname": {
  26714. "description": "交易所支出结算账户户名",
  26715. "type": "string"
  26716. },
  26717. "exchpaybankaccno": {
  26718. "description": "交易所支出结算账户",
  26719. "type": "string"
  26720. },
  26721. "isneedcheck": {
  26722. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26723. "type": "integer"
  26724. },
  26725. "isneedclear": {
  26726. "description": "是否需要清算 - 0:不需要 1:需要",
  26727. "type": "integer"
  26728. },
  26729. "lastcheckstatus": {
  26730. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26731. "type": "integer"
  26732. },
  26733. "lastchecktime": {
  26734. "description": "最后对账时间",
  26735. "type": "string"
  26736. },
  26737. "lastclearstatus": {
  26738. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26739. "type": "integer"
  26740. },
  26741. "lastcleartime": {
  26742. "description": "最后清算时间",
  26743. "type": "string"
  26744. },
  26745. "lastsignintime": {
  26746. "description": "最后签到时间",
  26747. "type": "string"
  26748. },
  26749. "lastsignouttime": {
  26750. "description": "最后签退时间",
  26751. "type": "string"
  26752. },
  26753. "riskinfo": {
  26754. "description": "签约风险提示书",
  26755. "type": "string"
  26756. },
  26757. "signstatus": {
  26758. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26759. "type": "integer"
  26760. },
  26761. "tradedate": {
  26762. "description": "交易日(yyyyMMdd)",
  26763. "type": "string"
  26764. },
  26765. "updatetime": {
  26766. "description": "当前签到/签退更新时间",
  26767. "type": "string"
  26768. }
  26769. }
  26770. },
  26771. "models.QhjCustomer": {
  26772. "type": "object",
  26773. "properties": {
  26774. "address": {
  26775. "description": "通讯地址",
  26776. "type": "string"
  26777. },
  26778. "attachment1": {
  26779. "description": "附件1",
  26780. "type": "string"
  26781. },
  26782. "audittime": {
  26783. "description": "审核时间",
  26784. "type": "string"
  26785. },
  26786. "cardbackphotourl": {
  26787. "description": "证件反面图片地址",
  26788. "type": "string"
  26789. },
  26790. "cardfrontphotourl": {
  26791. "description": "证件正面图片地址",
  26792. "type": "string"
  26793. },
  26794. "cardnum": {
  26795. "description": "证件号码",
  26796. "type": "string"
  26797. },
  26798. "cardtype": {
  26799. "description": "证件类型",
  26800. "type": "integer"
  26801. },
  26802. "cardtypename": {
  26803. "description": "证件类型名称",
  26804. "type": "string"
  26805. },
  26806. "cityid": {
  26807. "description": "市",
  26808. "type": "integer"
  26809. },
  26810. "cityname": {
  26811. "description": "城市名称",
  26812. "type": "string"
  26813. },
  26814. "contactname": {
  26815. "description": "联系人",
  26816. "type": "string"
  26817. },
  26818. "countryid": {
  26819. "description": "国家",
  26820. "type": "integer"
  26821. },
  26822. "countryname": {
  26823. "description": "国家名称",
  26824. "type": "string"
  26825. },
  26826. "createtime": {
  26827. "description": "创建时间",
  26828. "type": "string"
  26829. },
  26830. "customername": {
  26831. "description": "客户名称",
  26832. "type": "string"
  26833. },
  26834. "districtid": {
  26835. "description": "区域",
  26836. "type": "integer"
  26837. },
  26838. "districtname": {
  26839. "description": "地区名称",
  26840. "type": "string"
  26841. },
  26842. "email": {
  26843. "description": "邮件",
  26844. "type": "string"
  26845. },
  26846. "legalpersonname": {
  26847. "description": "法人姓名(企业)",
  26848. "type": "string"
  26849. },
  26850. "logincode": {
  26851. "description": "登录账号(代码)",
  26852. "type": "string"
  26853. },
  26854. "memberuserid": {
  26855. "description": "所属机构ID(所属会员)",
  26856. "type": "integer"
  26857. },
  26858. "memberusername": {
  26859. "description": "所属会员名称",
  26860. "type": "string"
  26861. },
  26862. "mobile": {
  26863. "description": "手机号码",
  26864. "type": "string"
  26865. },
  26866. "modifytime": {
  26867. "description": "修改时间",
  26868. "type": "string"
  26869. },
  26870. "nickname": {
  26871. "description": "昵称",
  26872. "type": "string"
  26873. },
  26874. "parentuserid": {
  26875. "description": "上级机构(所属机构)",
  26876. "type": "integer"
  26877. },
  26878. "parentusername": {
  26879. "description": "所属机构名称",
  26880. "type": "string"
  26881. },
  26882. "provinceid": {
  26883. "description": "省",
  26884. "type": "integer"
  26885. },
  26886. "provincename": {
  26887. "description": "省名称",
  26888. "type": "string"
  26889. },
  26890. "proxystatementurl": {
  26891. "description": "授权委托书",
  26892. "type": "string"
  26893. },
  26894. "remark": {
  26895. "description": "备注",
  26896. "type": "string"
  26897. },
  26898. "status": {
  26899. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26900. "type": "integer"
  26901. },
  26902. "statusdesc": {
  26903. "description": "账户状态中文描述",
  26904. "type": "string"
  26905. },
  26906. "taxpayernum": {
  26907. "description": "纳税人识别号",
  26908. "type": "string"
  26909. },
  26910. "telphone": {
  26911. "description": "联系电话",
  26912. "type": "string"
  26913. },
  26914. "userid": {
  26915. "description": "用户ID",
  26916. "type": "integer"
  26917. },
  26918. "userinfotype": {
  26919. "description": "客户类型 1-个人 2-企业",
  26920. "type": "integer"
  26921. },
  26922. "username": {
  26923. "description": "用户名称",
  26924. "type": "string"
  26925. }
  26926. }
  26927. },
  26928. "models.QhjCustomerSignLog": {
  26929. "type": "object",
  26930. "properties": {
  26931. "agreementcontent": {
  26932. "description": "协议内容",
  26933. "type": "string"
  26934. },
  26935. "agreementid": {
  26936. "description": "协议ID",
  26937. "type": "integer"
  26938. },
  26939. "agreementname": {
  26940. "description": "协议名称",
  26941. "type": "string"
  26942. },
  26943. "agreementno": {
  26944. "description": "协议编号",
  26945. "type": "string"
  26946. },
  26947. "agreementtype": {
  26948. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26949. "type": "integer"
  26950. },
  26951. "agreementversion": {
  26952. "description": "协议版本号",
  26953. "type": "integer"
  26954. },
  26955. "createtime": {
  26956. "description": "创建时间",
  26957. "type": "string"
  26958. },
  26959. "goodscode": {
  26960. "description": "商品代码",
  26961. "type": "string"
  26962. },
  26963. "goodsid": {
  26964. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26965. "type": "integer"
  26966. },
  26967. "goodsname": {
  26968. "description": "商品名称",
  26969. "type": "string"
  26970. },
  26971. "logid": {
  26972. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  26973. "type": "integer"
  26974. },
  26975. "nodetype": {
  26976. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26977. "type": "integer"
  26978. },
  26979. "signadressurl": {
  26980. "description": "签约文件地址",
  26981. "type": "string"
  26982. },
  26983. "signtimestamp": {
  26984. "description": "签约状态时间戳",
  26985. "type": "string"
  26986. },
  26987. "userid": {
  26988. "description": "客户ID",
  26989. "type": "integer"
  26990. },
  26991. "username": {
  26992. "description": "客户名称",
  26993. "type": "string"
  26994. }
  26995. }
  26996. },
  26997. "models.QhjCustomerSignStatus": {
  26998. "type": "object",
  26999. "properties": {
  27000. "createtime": {
  27001. "description": "创建时间",
  27002. "type": "string"
  27003. },
  27004. "goodscode": {
  27005. "description": "商品代码",
  27006. "type": "string"
  27007. },
  27008. "goodsid": {
  27009. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27010. "type": "integer"
  27011. },
  27012. "goodsname": {
  27013. "description": "商品名称",
  27014. "type": "string"
  27015. },
  27016. "nodetype": {
  27017. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  27018. "type": "integer"
  27019. },
  27020. "signtimestamp": {
  27021. "description": "签约状态时间戳",
  27022. "type": "string"
  27023. },
  27024. "tradedate": {
  27025. "description": "创建交易日(yyyyMMdd)",
  27026. "type": "string"
  27027. },
  27028. "updatetime": {
  27029. "description": "更新时间",
  27030. "type": "string"
  27031. },
  27032. "userid": {
  27033. "description": "客户ID",
  27034. "type": "integer"
  27035. },
  27036. "username": {
  27037. "description": "客户名称",
  27038. "type": "string"
  27039. }
  27040. }
  27041. },
  27042. "models.QhjMgrAccountOutInApply": {
  27043. "type": "object",
  27044. "properties": {
  27045. "accountcode": {
  27046. "description": "资金账号",
  27047. "type": "string"
  27048. },
  27049. "accountname": {
  27050. "description": "用户名称(名称)",
  27051. "type": "string"
  27052. },
  27053. "accountpwd": {
  27054. "description": "资金密码",
  27055. "type": "string"
  27056. },
  27057. "accountticket": {
  27058. "description": "最新账户服务流水号",
  27059. "type": "string"
  27060. },
  27061. "amount": {
  27062. "description": "金额",
  27063. "type": "number"
  27064. },
  27065. "applyremark": {
  27066. "description": "申请备注",
  27067. "type": "string"
  27068. },
  27069. "applystatus": {
  27070. "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: 复审通过,账户冻结金额检查中;",
  27071. "type": "integer"
  27072. },
  27073. "auditid": {
  27074. "description": "审核人",
  27075. "type": "integer"
  27076. },
  27077. "audittime": {
  27078. "description": "审核时间",
  27079. "type": "string"
  27080. },
  27081. "bank_apply_ticket": {
  27082. "description": "银行申请流水",
  27083. "type": "string"
  27084. },
  27085. "bankaccountname": {
  27086. "description": "银行账户名",
  27087. "type": "string"
  27088. },
  27089. "bankaccountno": {
  27090. "description": "银行卡号",
  27091. "type": "string"
  27092. },
  27093. "bankid": {
  27094. "description": "银行编号",
  27095. "type": "string"
  27096. },
  27097. "bankname": {
  27098. "description": "银行名称",
  27099. "type": "string"
  27100. },
  27101. "bankticket": {
  27102. "description": "银行流水",
  27103. "type": "string"
  27104. },
  27105. "branchbankid": {
  27106. "description": "银行支行号",
  27107. "type": "string"
  27108. },
  27109. "branchbankname": {
  27110. "description": "银行支行名称",
  27111. "type": "string"
  27112. },
  27113. "capamountout": {
  27114. "description": "出金(劣后本金) - 外部子账户",
  27115. "type": "number"
  27116. },
  27117. "certificatephotourl": {
  27118. "description": "凭证地址",
  27119. "type": "string"
  27120. },
  27121. "charge": {
  27122. "description": "手续费",
  27123. "type": "number"
  27124. },
  27125. "checkerrorflag": {
  27126. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27127. "type": "integer"
  27128. },
  27129. "currency": {
  27130. "description": "币种",
  27131. "type": "string"
  27132. },
  27133. "cusbankid": {
  27134. "description": "托管银行编号",
  27135. "type": "string"
  27136. },
  27137. "exchticket": {
  27138. "description": "银行服务流水号",
  27139. "type": "string"
  27140. },
  27141. "executetype": {
  27142. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27143. "type": "integer"
  27144. },
  27145. "extendinfo": {
  27146. "description": "扩展信息",
  27147. "type": "string"
  27148. },
  27149. "extoperateid": {
  27150. "description": "交易服务流水号",
  27151. "type": "integer"
  27152. },
  27153. "infamount": {
  27154. "description": "劣后金额(自有)",
  27155. "type": "number"
  27156. },
  27157. "logincode": {
  27158. "description": "登录账号(账号)",
  27159. "type": "string"
  27160. },
  27161. "netaddr": {
  27162. "description": "调转网址",
  27163. "type": "string"
  27164. },
  27165. "priamount": {
  27166. "description": "优先金额(授信)",
  27167. "type": "number"
  27168. },
  27169. "reauditid": {
  27170. "description": "复审人",
  27171. "type": "integer"
  27172. },
  27173. "reauditremark": {
  27174. "description": "复审备注",
  27175. "type": "string"
  27176. },
  27177. "reaudittime": {
  27178. "description": "复审时间",
  27179. "type": "string"
  27180. },
  27181. "relatedorderid": {
  27182. "description": "三方关联ID",
  27183. "type": "string"
  27184. },
  27185. "remark": {
  27186. "description": "备注",
  27187. "type": "string"
  27188. },
  27189. "remark2": {
  27190. "description": "备注(失败原因)",
  27191. "type": "string"
  27192. },
  27193. "soucreamount": {
  27194. "description": "原始出入金金额",
  27195. "type": "number"
  27196. },
  27197. "soucrecurrencyid": {
  27198. "description": "原始出入金币种",
  27199. "type": "integer"
  27200. },
  27201. "tradedate": {
  27202. "description": "交易日(yyyyMMdd)",
  27203. "type": "string"
  27204. },
  27205. "updatetime": {
  27206. "description": "更新时间(申请时间)",
  27207. "type": "string"
  27208. },
  27209. "userid": {
  27210. "description": "用户id",
  27211. "type": "integer"
  27212. },
  27213. "userinfotype": {
  27214. "description": "账户类型 1-个人 2-企业",
  27215. "type": "integer"
  27216. }
  27217. }
  27218. },
  27219. "models.QhjMgrBrokerApply": {
  27220. "type": "object",
  27221. "properties": {
  27222. "applicantid": {
  27223. "description": "申请人",
  27224. "type": "integer"
  27225. },
  27226. "applysrc": {
  27227. "description": "申请来源 - 1:管理端 2:终端",
  27228. "type": "integer"
  27229. },
  27230. "applystatus": {
  27231. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27232. "type": "integer"
  27233. },
  27234. "applytime": {
  27235. "description": "申请时间",
  27236. "type": "string"
  27237. },
  27238. "auditorid": {
  27239. "description": "审核人",
  27240. "type": "integer"
  27241. },
  27242. "auditremark": {
  27243. "description": "审核备注",
  27244. "type": "string"
  27245. },
  27246. "auditsrc": {
  27247. "description": "审核来源 - 1:管理端 2:终端",
  27248. "type": "integer"
  27249. },
  27250. "audittime": {
  27251. "description": "审核时间",
  27252. "type": "string"
  27253. },
  27254. "audittradedate": {
  27255. "description": "审核交易日(yyyyMMdd)",
  27256. "type": "string"
  27257. },
  27258. "brokerapplyid": {
  27259. "description": "申请ID(SEQ_BROKERAPPLY)",
  27260. "type": "integer"
  27261. },
  27262. "cardbackphotourl": {
  27263. "description": "证件背面图片地址",
  27264. "type": "string"
  27265. },
  27266. "cardfrontphotourl": {
  27267. "description": "证件正面图片地址",
  27268. "type": "string"
  27269. },
  27270. "cardnum": {
  27271. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27272. "type": "string"
  27273. },
  27274. "customername": {
  27275. "description": "姓名",
  27276. "type": "string"
  27277. },
  27278. "filterstatus": {
  27279. "description": "筛选条件",
  27280. "type": "string"
  27281. },
  27282. "logincode": {
  27283. "description": "登录代码",
  27284. "type": "string"
  27285. },
  27286. "mobile": {
  27287. "description": "手机号码",
  27288. "type": "string"
  27289. },
  27290. "parentuserid": {
  27291. "description": "所属机构id",
  27292. "type": "integer"
  27293. },
  27294. "parentusername": {
  27295. "description": "所属机构名称",
  27296. "type": "string"
  27297. },
  27298. "refereeuserid": {
  27299. "description": "推荐人id(经纪人)",
  27300. "type": "integer"
  27301. },
  27302. "refernum": {
  27303. "description": "推荐码",
  27304. "type": "string"
  27305. },
  27306. "remark": {
  27307. "description": "备注",
  27308. "type": "string"
  27309. },
  27310. "subarealevelpath": {
  27311. "description": "层级路径",
  27312. "type": "string"
  27313. },
  27314. "tradedate": {
  27315. "description": "交易日(yyyyMMdd)",
  27316. "type": "string"
  27317. },
  27318. "userid": {
  27319. "description": "申请人用户ID",
  27320. "type": "integer"
  27321. },
  27322. "userinfotype": {
  27323. "description": "用户类型 1-个人 2-企业",
  27324. "type": "integer"
  27325. },
  27326. "username": {
  27327. "description": "用户名称",
  27328. "type": "string"
  27329. }
  27330. }
  27331. },
  27332. "models.QhjMgrBrokerRewardReport": {
  27333. "type": "object",
  27334. "properties": {
  27335. "createtime": {
  27336. "description": "创建时间(注册时间)",
  27337. "type": "string"
  27338. },
  27339. "cycletime": {
  27340. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  27341. "type": "string"
  27342. },
  27343. "cycletype": {
  27344. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27345. "type": "integer"
  27346. },
  27347. "directtotalnum": {
  27348. "description": "直推总人数【期末】",
  27349. "type": "integer"
  27350. },
  27351. "indirecttotalnum": {
  27352. "description": "间推总人数【期末】",
  27353. "type": "integer"
  27354. },
  27355. "mobile": {
  27356. "description": "电话号码",
  27357. "type": "string"
  27358. },
  27359. "refereeuserid": {
  27360. "description": "推荐人id(经纪人id)",
  27361. "type": "integer"
  27362. },
  27363. "refereeusername": {
  27364. "description": "推荐人名称(经纪人) 上级经纪人名称",
  27365. "type": "string"
  27366. },
  27367. "refernum": {
  27368. "description": "推荐码",
  27369. "type": "string"
  27370. },
  27371. "subarealevelpath": {
  27372. "description": "用户层级路径",
  27373. "type": "string"
  27374. },
  27375. "todayrewardamount": {
  27376. "description": "奖励总金额【汇总】",
  27377. "type": "number"
  27378. },
  27379. "updatetime": {
  27380. "description": "更新时间",
  27381. "type": "string"
  27382. },
  27383. "userid": {
  27384. "description": "经纪人用户ID",
  27385. "type": "integer"
  27386. },
  27387. "userinfotype": {
  27388. "description": "用户类型 1-个人 2-企业",
  27389. "type": "integer"
  27390. },
  27391. "username": {
  27392. "description": "用户名称",
  27393. "type": "string"
  27394. }
  27395. }
  27396. },
  27397. "models.QhjMgrContract": {
  27398. "type": "object",
  27399. "properties": {
  27400. "contractconfirmtime": {
  27401. "description": "合同确认时间(时间)",
  27402. "type": "string"
  27403. },
  27404. "currisklevel": {
  27405. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27406. "type": "integer"
  27407. },
  27408. "decimalplace": {
  27409. "description": "商品报价小数位",
  27410. "type": "integer"
  27411. },
  27412. "enumdicname": {
  27413. "description": "单位名称",
  27414. "type": "string"
  27415. },
  27416. "goodscode": {
  27417. "description": "商品代码",
  27418. "type": "string"
  27419. },
  27420. "goodsid": {
  27421. "description": "商品ID [5:融资单]",
  27422. "type": "integer"
  27423. },
  27424. "goodsname": {
  27425. "description": "商品名称",
  27426. "type": "string"
  27427. },
  27428. "goodunitid": {
  27429. "description": "商品单位id",
  27430. "type": "integer"
  27431. },
  27432. "initmargin": {
  27433. "description": "初始保证金(首付款)",
  27434. "type": "number"
  27435. },
  27436. "lenderamount": {
  27437. "description": "贷款金额(总额|订单总额)",
  27438. "type": "number"
  27439. },
  27440. "logincode": {
  27441. "description": "账号(登录代码)",
  27442. "type": "string"
  27443. },
  27444. "marginratio": {
  27445. "description": "保证金比率(首付比例)",
  27446. "type": "number"
  27447. },
  27448. "mobile": {
  27449. "description": "电话号码(用户资料里的电话)",
  27450. "type": "string"
  27451. },
  27452. "payamount": {
  27453. "description": "已付(已付货款)",
  27454. "type": "number"
  27455. },
  27456. "reckonrecovermargin": {
  27457. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27458. "type": "number"
  27459. },
  27460. "recoveredmargin": {
  27461. "description": "已追缴保证金",
  27462. "type": "number"
  27463. },
  27464. "remainamount": {
  27465. "description": "合同剩余金额(融资额)",
  27466. "type": "number"
  27467. },
  27468. "scfcontractid": {
  27469. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27470. "type": "string"
  27471. },
  27472. "scfcontractstatus": {
  27473. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27474. "type": "integer"
  27475. },
  27476. "scfcontracttype": {
  27477. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27478. "type": "integer"
  27479. },
  27480. "totalinterest": {
  27481. "description": "已计总利息(利息)",
  27482. "type": "number"
  27483. },
  27484. "tradedate": {
  27485. "description": "交易日",
  27486. "type": "string"
  27487. },
  27488. "tradeprice": {
  27489. "description": "成交价格(成本价格)",
  27490. "type": "number"
  27491. },
  27492. "userid": {
  27493. "description": "用户ID",
  27494. "type": "integer"
  27495. },
  27496. "userinfotype": {
  27497. "description": "用户类型 1-个人 2-企业",
  27498. "type": "integer"
  27499. },
  27500. "username": {
  27501. "description": "用户名称",
  27502. "type": "string"
  27503. },
  27504. "wrqty": {
  27505. "description": "仓单数量(数量)",
  27506. "type": "number"
  27507. }
  27508. }
  27509. },
  27510. "models.QhjMgrCustomer": {
  27511. "type": "object",
  27512. "properties": {
  27513. "address": {
  27514. "description": "通讯地址",
  27515. "type": "string"
  27516. },
  27517. "attachment1": {
  27518. "description": "附件1",
  27519. "type": "string"
  27520. },
  27521. "audittime": {
  27522. "description": "审核时间",
  27523. "type": "string"
  27524. },
  27525. "birthday": {
  27526. "description": "生日",
  27527. "type": "string"
  27528. },
  27529. "brokerid": {
  27530. "description": "所属客户经理id",
  27531. "type": "integer"
  27532. },
  27533. "brokername": {
  27534. "description": "所属客户经理名称",
  27535. "type": "string"
  27536. },
  27537. "cardbackphotourl": {
  27538. "description": "证件反面图片地址",
  27539. "type": "string"
  27540. },
  27541. "cardfrontphotourl": {
  27542. "description": "证件正面图片地址",
  27543. "type": "string"
  27544. },
  27545. "cardnum": {
  27546. "description": "证件号码",
  27547. "type": "string"
  27548. },
  27549. "cardtype": {
  27550. "description": "证件类型",
  27551. "type": "integer"
  27552. },
  27553. "cardtypename": {
  27554. "description": "证件类型名称",
  27555. "type": "string"
  27556. },
  27557. "cityid": {
  27558. "description": "市",
  27559. "type": "integer"
  27560. },
  27561. "cityname": {
  27562. "description": "城市名称",
  27563. "type": "string"
  27564. },
  27565. "contactname": {
  27566. "description": "联系人",
  27567. "type": "string"
  27568. },
  27569. "countryid": {
  27570. "description": "国家",
  27571. "type": "integer"
  27572. },
  27573. "countryname": {
  27574. "description": "国家名称",
  27575. "type": "string"
  27576. },
  27577. "createtime": {
  27578. "description": "创建时间",
  27579. "type": "string"
  27580. },
  27581. "customername": {
  27582. "description": "客户名称",
  27583. "type": "string"
  27584. },
  27585. "districtid": {
  27586. "description": "区域",
  27587. "type": "integer"
  27588. },
  27589. "districtname": {
  27590. "description": "地区名称",
  27591. "type": "string"
  27592. },
  27593. "email": {
  27594. "description": "邮件",
  27595. "type": "string"
  27596. },
  27597. "legalpersonname": {
  27598. "description": "法人姓名(企业)",
  27599. "type": "string"
  27600. },
  27601. "logincode": {
  27602. "description": "登录账号(代码)",
  27603. "type": "string"
  27604. },
  27605. "memberuserid": {
  27606. "description": "所属机构ID(所属会员)",
  27607. "type": "integer"
  27608. },
  27609. "memberusername": {
  27610. "description": "所属会员名称",
  27611. "type": "string"
  27612. },
  27613. "mobile": {
  27614. "description": "手机号码",
  27615. "type": "string"
  27616. },
  27617. "modifytime": {
  27618. "description": "修改时间",
  27619. "type": "string"
  27620. },
  27621. "nickname": {
  27622. "description": "昵称",
  27623. "type": "string"
  27624. },
  27625. "parentuserid": {
  27626. "description": "上级机构(所属机构)",
  27627. "type": "integer"
  27628. },
  27629. "parentusername": {
  27630. "description": "所属机构名称",
  27631. "type": "string"
  27632. },
  27633. "provinceid": {
  27634. "description": "省",
  27635. "type": "integer"
  27636. },
  27637. "provincename": {
  27638. "description": "省名称",
  27639. "type": "string"
  27640. },
  27641. "proxystatementurl": {
  27642. "description": "授权委托书",
  27643. "type": "string"
  27644. },
  27645. "querytype": {
  27646. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27647. "type": "integer"
  27648. },
  27649. "remark": {
  27650. "description": "备注",
  27651. "type": "string"
  27652. },
  27653. "sex": {
  27654. "description": "性别 0-女 1-男",
  27655. "type": "integer"
  27656. },
  27657. "status": {
  27658. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27659. "type": "integer"
  27660. },
  27661. "statusdesc": {
  27662. "description": "账户状态中文描述",
  27663. "type": "string"
  27664. },
  27665. "taxpayernum": {
  27666. "description": "纳税人识别号",
  27667. "type": "string"
  27668. },
  27669. "telphone": {
  27670. "description": "联系电话",
  27671. "type": "string"
  27672. },
  27673. "userid": {
  27674. "description": "用户ID",
  27675. "type": "integer"
  27676. },
  27677. "userinfotype": {
  27678. "description": "客户类型 1-个人 2-企业",
  27679. "type": "integer"
  27680. },
  27681. "username": {
  27682. "description": "用户名称",
  27683. "type": "string"
  27684. }
  27685. }
  27686. },
  27687. "models.QhjMgrPickGoods": {
  27688. "type": "object",
  27689. "properties": {
  27690. "enumdicname": {
  27691. "description": "单位名称(提货商品)",
  27692. "type": "string"
  27693. },
  27694. "goodsid": {
  27695. "description": "商品id",
  27696. "type": "integer"
  27697. },
  27698. "imageaddress": {
  27699. "description": "图片",
  27700. "type": "string"
  27701. },
  27702. "modifierid": {
  27703. "description": "修改人",
  27704. "type": "integer"
  27705. },
  27706. "modifiername": {
  27707. "description": "修改人名称",
  27708. "type": "string"
  27709. },
  27710. "modifysrc": {
  27711. "description": "修改来源 - 1:管理端 2:终端",
  27712. "type": "integer"
  27713. },
  27714. "pickupgoodsagreeunit": {
  27715. "description": "合约乘数",
  27716. "type": "number"
  27717. },
  27718. "pickupgoodsdesc": {
  27719. "description": "描述",
  27720. "type": "string"
  27721. },
  27722. "pickupgoodsid": {
  27723. "description": "提货商品ID",
  27724. "type": "string"
  27725. },
  27726. "pickupgoodsname": {
  27727. "description": "提货商品名称",
  27728. "type": "string"
  27729. },
  27730. "pickupgoodsstatus": {
  27731. "description": "状态 - 1:正常 2:停用 3:注销",
  27732. "type": "integer"
  27733. },
  27734. "pickupgoodsunitid": {
  27735. "description": "单位ID",
  27736. "type": "integer"
  27737. },
  27738. "pickupratio": {
  27739. "description": "提货系数",
  27740. "type": "number"
  27741. },
  27742. "preparedays": {
  27743. "description": "备货期(天)",
  27744. "type": "integer"
  27745. },
  27746. "remark": {
  27747. "description": "备注",
  27748. "type": "string"
  27749. },
  27750. "updatetime": {
  27751. "description": "更新时间",
  27752. "type": "string"
  27753. }
  27754. }
  27755. },
  27756. "models.QhjMgrPositionRsp": {
  27757. "type": "object",
  27758. "properties": {
  27759. "accountid": {
  27760. "description": "账号Id",
  27761. "type": "integer"
  27762. },
  27763. "accountname": {
  27764. "description": "用户名称",
  27765. "type": "string"
  27766. },
  27767. "agreeunit": {
  27768. "description": "合约乘数",
  27769. "type": "number"
  27770. },
  27771. "averageprice": {
  27772. "description": "均价",
  27773. "type": "number"
  27774. },
  27775. "avialqty": {
  27776. "description": "可用数量",
  27777. "type": "number"
  27778. },
  27779. "decimalplace": {
  27780. "description": "报价小数位",
  27781. "type": "integer"
  27782. },
  27783. "enumdicname": {
  27784. "description": "单位名称(商品)",
  27785. "type": "string"
  27786. },
  27787. "frozenqty": {
  27788. "description": "冻结数量",
  27789. "type": "number"
  27790. },
  27791. "goodscode": {
  27792. "description": "商品代码(内部)",
  27793. "type": "string"
  27794. },
  27795. "goodsid": {
  27796. "description": "商品Id",
  27797. "type": "integer"
  27798. },
  27799. "goodsname": {
  27800. "description": "商品名称",
  27801. "type": "string"
  27802. },
  27803. "goodunitid": {
  27804. "description": "报价单位ID",
  27805. "type": "integer"
  27806. },
  27807. "holderamount": {
  27808. "description": "金额",
  27809. "type": "number"
  27810. },
  27811. "holderqty": {
  27812. "description": "持有数量",
  27813. "type": "number"
  27814. },
  27815. "holdertype": {
  27816. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27817. "type": "integer"
  27818. },
  27819. "logincode": {
  27820. "description": "登录代码(账户)",
  27821. "type": "string"
  27822. },
  27823. "marketid": {
  27824. "description": "市场id",
  27825. "type": "integer"
  27826. },
  27827. "qtydecimalplace": {
  27828. "description": "成交量小数位",
  27829. "type": "integer"
  27830. },
  27831. "trademode": {
  27832. "description": "交易模式",
  27833. "type": "integer"
  27834. },
  27835. "userid": {
  27836. "description": "用户id",
  27837. "type": "integer"
  27838. },
  27839. "userinfotype": {
  27840. "description": "账户类型 1-个人 2-企业",
  27841. "type": "integer"
  27842. }
  27843. }
  27844. },
  27845. "models.QhjMgrSubArea": {
  27846. "type": "object",
  27847. "properties": {
  27848. "accountname": {
  27849. "description": "账户名称(机构名称)",
  27850. "type": "string"
  27851. },
  27852. "memberuserid": {
  27853. "description": "所属会员ID",
  27854. "type": "integer"
  27855. },
  27856. "parenttopuser": {
  27857. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27858. "type": "string"
  27859. },
  27860. "parentuserid": {
  27861. "description": "所属机构ID",
  27862. "type": "integer"
  27863. },
  27864. "rootuserid": {
  27865. "description": "根用户ID",
  27866. "type": "string"
  27867. },
  27868. "subaccountlevel": {
  27869. "description": "子账户层数",
  27870. "type": "integer"
  27871. },
  27872. "subarealevelpath": {
  27873. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27874. "type": "string"
  27875. },
  27876. "userid": {
  27877. "description": "用户ID",
  27878. "type": "integer"
  27879. },
  27880. "usertype": {
  27881. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27882. "type": "integer"
  27883. }
  27884. }
  27885. },
  27886. "models.QhjMgrTradeDetailRsp": {
  27887. "type": "object",
  27888. "properties": {
  27889. "accountid": {
  27890. "description": "资金账号",
  27891. "type": "integer"
  27892. },
  27893. "accountname": {
  27894. "description": "用户名称",
  27895. "type": "string"
  27896. },
  27897. "agreeunit": {
  27898. "description": "合约乘数",
  27899. "type": "number"
  27900. },
  27901. "buyorsell": {
  27902. "description": "成交类型(方向) 0:买 1:卖",
  27903. "type": "integer"
  27904. },
  27905. "decimalplace": {
  27906. "description": "报价小数位",
  27907. "type": "integer"
  27908. },
  27909. "enumdicname": {
  27910. "description": "单位名称(商品)",
  27911. "type": "string"
  27912. },
  27913. "goodscode": {
  27914. "description": "商品代码(内部)",
  27915. "type": "string"
  27916. },
  27917. "goodsid": {
  27918. "description": "商品id",
  27919. "type": "integer"
  27920. },
  27921. "goodsname": {
  27922. "description": "商品名称",
  27923. "type": "string"
  27924. },
  27925. "goodunitid": {
  27926. "description": "报价单位ID",
  27927. "type": "integer"
  27928. },
  27929. "logincode": {
  27930. "description": "登录代码(账户)",
  27931. "type": "string"
  27932. },
  27933. "marketid": {
  27934. "description": "市场id",
  27935. "type": "integer"
  27936. },
  27937. "orderid": {
  27938. "description": "关联委托单号",
  27939. "type": "string"
  27940. },
  27941. "qtydecimalplace": {
  27942. "description": "成交量小数位",
  27943. "type": "integer"
  27944. },
  27945. "tradeamount": {
  27946. "description": "金额",
  27947. "type": "number"
  27948. },
  27949. "tradedate": {
  27950. "description": "交易日",
  27951. "type": "string"
  27952. },
  27953. "tradeid": {
  27954. "description": "成交单号",
  27955. "type": "string"
  27956. },
  27957. "trademode": {
  27958. "description": "交易模式",
  27959. "type": "integer"
  27960. },
  27961. "tradeprice": {
  27962. "description": "价格",
  27963. "type": "number"
  27964. },
  27965. "tradeqty": {
  27966. "description": "数量",
  27967. "type": "number"
  27968. },
  27969. "tradetime": {
  27970. "description": "成交时间",
  27971. "type": "string"
  27972. },
  27973. "userid": {
  27974. "description": "用户id",
  27975. "type": "integer"
  27976. },
  27977. "userinfotype": {
  27978. "description": "账户类型 1-个人 2-企业",
  27979. "type": "integer"
  27980. }
  27981. }
  27982. },
  27983. "models.QhjMgrTradeOrderDetailRsp": {
  27984. "type": "object",
  27985. "properties": {
  27986. "accountid": {
  27987. "description": "资金账号",
  27988. "type": "integer"
  27989. },
  27990. "accountname": {
  27991. "description": "用户名称",
  27992. "type": "string"
  27993. },
  27994. "agreeunit": {
  27995. "description": "合约乘数",
  27996. "type": "number"
  27997. },
  27998. "amount": {
  27999. "description": "金额",
  28000. "type": "number"
  28001. },
  28002. "decimalplace": {
  28003. "description": "报价小数位",
  28004. "type": "integer"
  28005. },
  28006. "enumdicname": {
  28007. "description": "单位名称(商品)",
  28008. "type": "string"
  28009. },
  28010. "goodscode": {
  28011. "description": "商品代码(内部)",
  28012. "type": "string"
  28013. },
  28014. "goodsid": {
  28015. "description": "商品id",
  28016. "type": "integer"
  28017. },
  28018. "goodsname": {
  28019. "description": "商品名称",
  28020. "type": "string"
  28021. },
  28022. "goodunitid": {
  28023. "description": "报价单位ID",
  28024. "type": "integer"
  28025. },
  28026. "logincode": {
  28027. "description": "登录代码(账户)",
  28028. "type": "string"
  28029. },
  28030. "marketid": {
  28031. "description": "市场id",
  28032. "type": "integer"
  28033. },
  28034. "orderid": {
  28035. "description": "关联委托单号",
  28036. "type": "string"
  28037. },
  28038. "orderprice": {
  28039. "description": "价格",
  28040. "type": "number"
  28041. },
  28042. "orderqty": {
  28043. "description": "数量",
  28044. "type": "number"
  28045. },
  28046. "orderstatus": {
  28047. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28048. "type": "integer"
  28049. },
  28050. "ordertime": {
  28051. "description": "委托时间",
  28052. "type": "string"
  28053. },
  28054. "qtydecimalplace": {
  28055. "description": "成交量小数位",
  28056. "type": "integer"
  28057. },
  28058. "tradedate": {
  28059. "description": "交易日",
  28060. "type": "string"
  28061. },
  28062. "trademode": {
  28063. "description": "交易模式",
  28064. "type": "integer"
  28065. },
  28066. "userid": {
  28067. "description": "用户id",
  28068. "type": "integer"
  28069. },
  28070. "userinfotype": {
  28071. "description": "账户类型 1-个人 2-企业",
  28072. "type": "integer"
  28073. }
  28074. }
  28075. },
  28076. "models.QhjMgrTradePayOrder": {
  28077. "type": "object",
  28078. "properties": {
  28079. "accountname": {
  28080. "description": "用户名称",
  28081. "type": "string"
  28082. },
  28083. "advanceratio": {
  28084. "description": "首付比率",
  28085. "type": "number"
  28086. },
  28087. "agreeunit": {
  28088. "description": "合约乘数",
  28089. "type": "number"
  28090. },
  28091. "buyaccountid": {
  28092. "description": "买方账号ID[报价币种]",
  28093. "type": "integer"
  28094. },
  28095. "buyorderid": {
  28096. "description": "买方委托单号(关联单号)",
  28097. "type": "string"
  28098. },
  28099. "createtime": {
  28100. "description": "创建时间",
  28101. "type": "string"
  28102. },
  28103. "decimalplace": {
  28104. "description": "报价小数位",
  28105. "type": "integer"
  28106. },
  28107. "enumdicname": {
  28108. "description": "单位名称(商品)",
  28109. "type": "string"
  28110. },
  28111. "goodscode": {
  28112. "description": "商品代码(内部)",
  28113. "type": "string"
  28114. },
  28115. "goodsid": {
  28116. "description": "商品ID",
  28117. "type": "integer"
  28118. },
  28119. "goodsname": {
  28120. "description": "商品名称",
  28121. "type": "string"
  28122. },
  28123. "goodunitid": {
  28124. "description": "报价单位ID",
  28125. "type": "integer"
  28126. },
  28127. "logincode": {
  28128. "description": "登录代码(账户)",
  28129. "type": "string"
  28130. },
  28131. "marketid": {
  28132. "description": "市场id",
  28133. "type": "integer"
  28134. },
  28135. "offamount": {
  28136. "description": "优惠金额",
  28137. "type": "number"
  28138. },
  28139. "operatetype": {
  28140. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28141. "type": "integer"
  28142. },
  28143. "payamount": {
  28144. "description": "支付金额(金额)",
  28145. "type": "number"
  28146. },
  28147. "payflag": {
  28148. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28149. "type": "integer"
  28150. },
  28151. "paylimitedtime": {
  28152. "description": "支付期限",
  28153. "type": "string"
  28154. },
  28155. "paytime": {
  28156. "description": "付款时间",
  28157. "type": "string"
  28158. },
  28159. "qtydecimalplace": {
  28160. "description": "成交量小数位",
  28161. "type": "integer"
  28162. },
  28163. "sellaccountid": {
  28164. "description": "卖方账号ID[报价币种]",
  28165. "type": "integer"
  28166. },
  28167. "sellorderid": {
  28168. "description": "卖方委托单号",
  28169. "type": "string"
  28170. },
  28171. "tradeamount": {
  28172. "description": "成交金额(优惠后金额)",
  28173. "type": "number"
  28174. },
  28175. "tradecharge": {
  28176. "description": "成交手续费(买方)",
  28177. "type": "number"
  28178. },
  28179. "tradedate": {
  28180. "description": "交易日(yyyyMMdd)",
  28181. "type": "string"
  28182. },
  28183. "tradeid": {
  28184. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28185. "type": "string"
  28186. },
  28187. "trademode": {
  28188. "description": "交易模式",
  28189. "type": "integer"
  28190. },
  28191. "tradeprice": {
  28192. "description": "成交价格(价格)",
  28193. "type": "number"
  28194. },
  28195. "tradeqty": {
  28196. "description": "成交数量(数量)",
  28197. "type": "number"
  28198. },
  28199. "tradetime": {
  28200. "description": "成交时间",
  28201. "type": "string"
  28202. },
  28203. "userid": {
  28204. "description": "用户id",
  28205. "type": "integer"
  28206. },
  28207. "userinfotype": {
  28208. "description": "账户类型 1-个人 2-企业",
  28209. "type": "integer"
  28210. }
  28211. }
  28212. },
  28213. "models.QhjMyTeamEx": {
  28214. "type": "object",
  28215. "properties": {
  28216. "accountname": {
  28217. "description": "用户名称",
  28218. "type": "string"
  28219. },
  28220. "accountstatus": {
  28221. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28222. "type": "integer"
  28223. },
  28224. "createtime": {
  28225. "description": "创建时间",
  28226. "type": "string"
  28227. },
  28228. "mobile": {
  28229. "description": "手机号码",
  28230. "type": "string"
  28231. },
  28232. "refereeuserid": {
  28233. "description": "推荐人id",
  28234. "type": "integer"
  28235. },
  28236. "refernum": {
  28237. "description": "推荐码",
  28238. "type": "string"
  28239. },
  28240. "subList": {
  28241. "type": "array",
  28242. "items": {
  28243. "$ref": "#/definitions/models.QhjMyTeamEx"
  28244. }
  28245. },
  28246. "userid": {
  28247. "description": "用户id",
  28248. "type": "integer"
  28249. },
  28250. "userinfotype": {
  28251. "description": "用户类型 1-个人 2-企业",
  28252. "type": "integer"
  28253. }
  28254. }
  28255. },
  28256. "models.QhjNodeAgreementConfig": {
  28257. "type": "object",
  28258. "properties": {
  28259. "agreementcontent": {
  28260. "description": "协议内容",
  28261. "type": "string"
  28262. },
  28263. "agreementid": {
  28264. "description": "协议ID",
  28265. "type": "integer"
  28266. },
  28267. "agreementname": {
  28268. "description": "协议名称",
  28269. "type": "string"
  28270. },
  28271. "agreementno": {
  28272. "description": "协议编号",
  28273. "type": "string"
  28274. },
  28275. "agreementtype": {
  28276. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28277. "type": "integer"
  28278. },
  28279. "agreementversion": {
  28280. "description": "协议版本号",
  28281. "type": "integer"
  28282. },
  28283. "configid": {
  28284. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28285. "type": "integer"
  28286. },
  28287. "createtime": {
  28288. "description": "创建时间",
  28289. "type": "string"
  28290. },
  28291. "goodsid": {
  28292. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28293. "type": "integer"
  28294. },
  28295. "nodetype": {
  28296. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28297. "type": "integer"
  28298. }
  28299. }
  28300. },
  28301. "models.QhjParentAreaList": {
  28302. "type": "object",
  28303. "properties": {
  28304. "accountname": {
  28305. "description": "账户名称(机构名称)",
  28306. "type": "string"
  28307. },
  28308. "userid": {
  28309. "description": "用户ID",
  28310. "type": "integer"
  28311. },
  28312. "usertype": {
  28313. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28314. "type": "integer"
  28315. }
  28316. }
  28317. },
  28318. "models.QhjPayOrder": {
  28319. "type": "object",
  28320. "properties": {
  28321. "advanceratio": {
  28322. "description": "首付比率",
  28323. "type": "number"
  28324. },
  28325. "buyaccountid": {
  28326. "description": "买方账号ID[报价币种]",
  28327. "type": "integer"
  28328. },
  28329. "buyorderid": {
  28330. "description": "买方委托单号",
  28331. "type": "string"
  28332. },
  28333. "createtime": {
  28334. "description": "创建时间",
  28335. "type": "string"
  28336. },
  28337. "decimalplace": {
  28338. "description": "商品报价小数位",
  28339. "type": "integer"
  28340. },
  28341. "enumdicname": {
  28342. "description": "单位名称",
  28343. "type": "string"
  28344. },
  28345. "goodscode": {
  28346. "description": "商品代码",
  28347. "type": "string"
  28348. },
  28349. "goodsid": {
  28350. "description": "商品ID",
  28351. "type": "integer"
  28352. },
  28353. "goodsname": {
  28354. "description": "商品名称",
  28355. "type": "string"
  28356. },
  28357. "goodunitid": {
  28358. "description": "商品单位id",
  28359. "type": "integer"
  28360. },
  28361. "marketid": {
  28362. "description": "市场ID",
  28363. "type": "integer"
  28364. },
  28365. "offamount": {
  28366. "description": "优惠金额",
  28367. "type": "number"
  28368. },
  28369. "operatetype": {
  28370. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28371. "type": "integer"
  28372. },
  28373. "payamount": {
  28374. "description": "支付金额",
  28375. "type": "number"
  28376. },
  28377. "payflag": {
  28378. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28379. "type": "integer"
  28380. },
  28381. "paylimitedtime": {
  28382. "description": "支付期限",
  28383. "type": "string"
  28384. },
  28385. "paytime": {
  28386. "description": "付款时间",
  28387. "type": "string"
  28388. },
  28389. "qtydecimalplace": {
  28390. "description": "成交量小数位",
  28391. "type": "integer"
  28392. },
  28393. "sellaccountid": {
  28394. "description": "卖方账号ID[报价币种]",
  28395. "type": "integer"
  28396. },
  28397. "sellorderid": {
  28398. "description": "卖方委托单号",
  28399. "type": "string"
  28400. },
  28401. "tradeamount": {
  28402. "description": "成交金额(优惠后金额)",
  28403. "type": "number"
  28404. },
  28405. "tradecharge": {
  28406. "description": "成交手续费(买方)",
  28407. "type": "number"
  28408. },
  28409. "tradedate": {
  28410. "description": "交易日(yyyyMMdd)",
  28411. "type": "string"
  28412. },
  28413. "tradeid": {
  28414. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28415. "type": "string"
  28416. },
  28417. "tradeprice": {
  28418. "description": "成交价格",
  28419. "type": "number"
  28420. },
  28421. "tradeqty": {
  28422. "description": "成交数量",
  28423. "type": "number"
  28424. }
  28425. }
  28426. },
  28427. "models.QhjPickArea": {
  28428. "type": "object",
  28429. "properties": {
  28430. "address": {
  28431. "description": "详细地址",
  28432. "type": "string"
  28433. },
  28434. "cityid": {
  28435. "description": "市",
  28436. "type": "integer"
  28437. },
  28438. "cityname": {
  28439. "description": "城市名称",
  28440. "type": "string"
  28441. },
  28442. "countryid": {
  28443. "description": "国家",
  28444. "type": "integer"
  28445. },
  28446. "countryname": {
  28447. "description": "国家名称",
  28448. "type": "string"
  28449. },
  28450. "districtid": {
  28451. "description": "地区",
  28452. "type": "integer"
  28453. },
  28454. "districtname": {
  28455. "description": "地区名称",
  28456. "type": "string"
  28457. },
  28458. "fromuserid": {
  28459. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28460. "type": "integer"
  28461. },
  28462. "fromusername": {
  28463. "description": "所属机构名称",
  28464. "type": "string"
  28465. },
  28466. "provinceid": {
  28467. "description": "省",
  28468. "type": "integer"
  28469. },
  28470. "provincename": {
  28471. "description": "省名称",
  28472. "type": "string"
  28473. },
  28474. "suborgtype": {
  28475. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28476. "type": "integer"
  28477. },
  28478. "userid": {
  28479. "description": "机构用户ID 其他做市关系,都设置为 1",
  28480. "type": "integer"
  28481. },
  28482. "username": {
  28483. "description": "机构用户名称(门店门称)",
  28484. "type": "string"
  28485. }
  28486. }
  28487. },
  28488. "models.QhjPickGoods": {
  28489. "type": "object",
  28490. "properties": {
  28491. "enumdicname": {
  28492. "description": "单位名称(提货商品)",
  28493. "type": "string"
  28494. },
  28495. "goodsid": {
  28496. "description": "商品id",
  28497. "type": "integer"
  28498. },
  28499. "imageaddress": {
  28500. "description": "图片",
  28501. "type": "string"
  28502. },
  28503. "modifierid": {
  28504. "description": "修改人",
  28505. "type": "integer"
  28506. },
  28507. "modifiername": {
  28508. "description": "修改人名称",
  28509. "type": "string"
  28510. },
  28511. "modifysrc": {
  28512. "description": "修改来源 - 1:管理端 2:终端",
  28513. "type": "integer"
  28514. },
  28515. "pickupgoodsagreeunit": {
  28516. "description": "合约乘数",
  28517. "type": "number"
  28518. },
  28519. "pickupgoodsdesc": {
  28520. "description": "描述",
  28521. "type": "string"
  28522. },
  28523. "pickupgoodsid": {
  28524. "description": "提货商品ID",
  28525. "type": "string"
  28526. },
  28527. "pickupgoodsname": {
  28528. "description": "提货商品名称",
  28529. "type": "string"
  28530. },
  28531. "pickupgoodsstatus": {
  28532. "description": "状态 - 1:正常 2:停用 3:注销",
  28533. "type": "integer"
  28534. },
  28535. "pickupgoodsunitid": {
  28536. "description": "单位ID",
  28537. "type": "integer"
  28538. },
  28539. "pickupratio": {
  28540. "description": "提货系数",
  28541. "type": "number"
  28542. },
  28543. "preparedays": {
  28544. "description": "备货期(天)",
  28545. "type": "integer"
  28546. },
  28547. "remark": {
  28548. "description": "备注",
  28549. "type": "string"
  28550. },
  28551. "updatetime": {
  28552. "description": "更新时间",
  28553. "type": "string"
  28554. }
  28555. }
  28556. },
  28557. "models.QhjRSTriggerLog": {
  28558. "type": "object",
  28559. "properties": {
  28560. "accountid": {
  28561. "description": "用户资金账户",
  28562. "type": "integer"
  28563. },
  28564. "accountname": {
  28565. "description": "账号名称(ACCOUNTID对应的名称)",
  28566. "type": "string"
  28567. },
  28568. "currencyid": {
  28569. "description": "币种id",
  28570. "type": "integer"
  28571. },
  28572. "currencyname": {
  28573. "description": "币种名称",
  28574. "type": "string"
  28575. },
  28576. "decimalplace": {
  28577. "description": "商品报价小数位",
  28578. "type": "integer"
  28579. },
  28580. "enumdicname": {
  28581. "description": "单位名称",
  28582. "type": "string"
  28583. },
  28584. "goodscode": {
  28585. "description": "定投商品代码",
  28586. "type": "string"
  28587. },
  28588. "goodsid": {
  28589. "description": "定投商品ID",
  28590. "type": "integer"
  28591. },
  28592. "goodsname": {
  28593. "description": "定投商品名称",
  28594. "type": "string"
  28595. },
  28596. "goodunitid": {
  28597. "description": "定投商品单位id",
  28598. "type": "integer"
  28599. },
  28600. "logid": {
  28601. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28602. "type": "string"
  28603. },
  28604. "logincode": {
  28605. "description": "账号(登录代码)",
  28606. "type": "string"
  28607. },
  28608. "qtydecimalplace": {
  28609. "description": "成交量小数位",
  28610. "type": "integer"
  28611. },
  28612. "regularlycycle": {
  28613. "description": "定投频率 - 1:每周 2:每月",
  28614. "type": "integer"
  28615. },
  28616. "regularlycyclevalue": {
  28617. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28618. "type": "string"
  28619. },
  28620. "regularlymode": {
  28621. "description": "定投方式 - 1:按数量 2:按金额",
  28622. "type": "integer"
  28623. },
  28624. "regularlymodevalue": {
  28625. "description": "定投方式值 - 数量或金额",
  28626. "type": "number"
  28627. },
  28628. "regularlystrategyid": {
  28629. "description": "定投策略ID",
  28630. "type": "integer"
  28631. },
  28632. "retcode": {
  28633. "description": "错误码",
  28634. "type": "string"
  28635. },
  28636. "tradeid": {
  28637. "description": "成交单ID",
  28638. "type": "string"
  28639. },
  28640. "triggeramount": {
  28641. "description": "触发金额",
  28642. "type": "number"
  28643. },
  28644. "triggerqty": {
  28645. "description": "触发数量",
  28646. "type": "number"
  28647. },
  28648. "triggerstatus": {
  28649. "description": "触发状态 - 1:成功 2:失败",
  28650. "type": "integer"
  28651. },
  28652. "triggertime": {
  28653. "description": "触发时间",
  28654. "type": "string"
  28655. },
  28656. "triggertradedate": {
  28657. "description": "触发交易日",
  28658. "type": "string"
  28659. },
  28660. "userid": {
  28661. "description": "所属用户ID",
  28662. "type": "integer"
  28663. },
  28664. "userinfotype": {
  28665. "description": "用户类型 1-个人 2-企业",
  28666. "type": "integer"
  28667. },
  28668. "username": {
  28669. "description": "用户名称(userid对应的名称)",
  28670. "type": "string"
  28671. }
  28672. }
  28673. },
  28674. "models.QhjRStrategy": {
  28675. "type": "object",
  28676. "properties": {
  28677. "accountid": {
  28678. "description": "用户资金账户",
  28679. "type": "integer"
  28680. },
  28681. "accountname": {
  28682. "description": "账号名称(ACCOUNTID对应的名称)",
  28683. "type": "string"
  28684. },
  28685. "currencyid": {
  28686. "description": "币种id",
  28687. "type": "integer"
  28688. },
  28689. "currencyname": {
  28690. "description": "币种名称",
  28691. "type": "string"
  28692. },
  28693. "decimalplace": {
  28694. "description": "商品报价小数位",
  28695. "type": "integer"
  28696. },
  28697. "enumdicname": {
  28698. "description": "单位名称",
  28699. "type": "string"
  28700. },
  28701. "goodscode": {
  28702. "description": "定投商品代码",
  28703. "type": "string"
  28704. },
  28705. "goodsid": {
  28706. "description": "定投商品ID",
  28707. "type": "integer"
  28708. },
  28709. "goodsname": {
  28710. "description": "定投商品名称",
  28711. "type": "string"
  28712. },
  28713. "goodunitid": {
  28714. "description": "定投商品单位id",
  28715. "type": "integer"
  28716. },
  28717. "lasteffecttradedate": {
  28718. "description": "最新生效交易日",
  28719. "type": "string"
  28720. },
  28721. "laststoptradedate": {
  28722. "description": "最新暂停交易日",
  28723. "type": "string"
  28724. },
  28725. "lasttriggertradedate": {
  28726. "description": "最新触发交易日",
  28727. "type": "string"
  28728. },
  28729. "logincode": {
  28730. "description": "账号(登录代码)",
  28731. "type": "string"
  28732. },
  28733. "nexttriggeramount": {
  28734. "description": "下次触发金额",
  28735. "type": "number"
  28736. },
  28737. "nexttriggerdate": {
  28738. "description": "下次触发日期",
  28739. "type": "string"
  28740. },
  28741. "nexttriggerqty": {
  28742. "description": "下次触发数量 [按小数位放大值]",
  28743. "type": "number"
  28744. },
  28745. "qtydecimalplace": {
  28746. "description": "成交量小数位",
  28747. "type": "integer"
  28748. },
  28749. "regularlycycle": {
  28750. "description": "定投频率 - 1:每周 2:每月",
  28751. "type": "integer"
  28752. },
  28753. "regularlycyclevalue": {
  28754. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28755. "type": "string"
  28756. },
  28757. "regularlymode": {
  28758. "description": "定投方式 - 1:按数量 2:按金额",
  28759. "type": "integer"
  28760. },
  28761. "regularlymodevalue": {
  28762. "description": "定投方式值 - 数量或金额",
  28763. "type": "number"
  28764. },
  28765. "regularlystrategyid": {
  28766. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28767. "type": "integer"
  28768. },
  28769. "regularlystrategystatus": {
  28770. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28771. "type": "integer"
  28772. },
  28773. "remark": {
  28774. "description": "备注",
  28775. "type": "string"
  28776. },
  28777. "triggersuccesstimes": {
  28778. "description": "累计定投成功次数",
  28779. "type": "string"
  28780. },
  28781. "triggertotalamount": {
  28782. "description": "累计定投金额(成功)",
  28783. "type": "number"
  28784. },
  28785. "triggertotalqty": {
  28786. "description": "累计定投数量(成功) [按小数位放大值]",
  28787. "type": "number"
  28788. },
  28789. "triggertotaltimes": {
  28790. "description": "累计定投总次数",
  28791. "type": "string"
  28792. },
  28793. "updatesrc": {
  28794. "description": "更新来源 - 1:管理端 2:终端",
  28795. "type": "integer"
  28796. },
  28797. "updatetime": {
  28798. "description": "更新时间",
  28799. "type": "string"
  28800. },
  28801. "updatorid": {
  28802. "description": "更新人",
  28803. "type": "string"
  28804. },
  28805. "userid": {
  28806. "description": "所属用户ID",
  28807. "type": "integer"
  28808. },
  28809. "userinfotype": {
  28810. "description": "用户类型 1-个人 2-企业",
  28811. "type": "integer"
  28812. },
  28813. "username": {
  28814. "description": "用户名称(userid对应的名称)",
  28815. "type": "string"
  28816. }
  28817. }
  28818. },
  28819. "models.QhjReckonPriceLog": {
  28820. "type": "object",
  28821. "properties": {
  28822. "decimalplace": {
  28823. "description": "商品报价小数位",
  28824. "type": "integer"
  28825. },
  28826. "goodscode": {
  28827. "description": "商品代码",
  28828. "type": "string"
  28829. },
  28830. "goodsid": {
  28831. "description": "商品ID",
  28832. "type": "integer"
  28833. },
  28834. "goodsname": {
  28835. "description": "商品名称",
  28836. "type": "string"
  28837. },
  28838. "lastreckonprice": {
  28839. "description": "上日结算价",
  28840. "type": "number"
  28841. },
  28842. "nextdnlimitprice": {
  28843. "description": "下个交易日跌停价",
  28844. "type": "number"
  28845. },
  28846. "nexttrade": {
  28847. "description": "下个交易日",
  28848. "type": "string"
  28849. },
  28850. "nextuplimitprice": {
  28851. "description": "下个交易日涨停价",
  28852. "type": "number"
  28853. },
  28854. "reckonprice": {
  28855. "description": "今日结算价(定投价)",
  28856. "type": "number"
  28857. },
  28858. "reckontime": {
  28859. "description": "结算时间",
  28860. "type": "string"
  28861. },
  28862. "totalholderqty": {
  28863. "description": "总持仓数",
  28864. "type": "integer"
  28865. },
  28866. "totalstock": {
  28867. "description": "总库存",
  28868. "type": "integer"
  28869. },
  28870. "tradedate": {
  28871. "description": "交易日",
  28872. "type": "string"
  28873. },
  28874. "updowncount": {
  28875. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28876. "type": "integer"
  28877. },
  28878. "updownflag": {
  28879. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28880. "type": "integer"
  28881. },
  28882. "updownrate": {
  28883. "description": "今日涨跌幅",
  28884. "type": "number"
  28885. },
  28886. "updownrate_2d": {
  28887. "description": "连续两日涨跌幅",
  28888. "type": "number"
  28889. },
  28890. "updownrate_3d": {
  28891. "description": "连续三日涨跌幅",
  28892. "type": "number"
  28893. }
  28894. }
  28895. },
  28896. "models.QhjScoreLog": {
  28897. "type": "object",
  28898. "properties": {
  28899. "accountid": {
  28900. "description": "账户ID",
  28901. "type": "integer"
  28902. },
  28903. "createtime": {
  28904. "description": "创建时间(时间)",
  28905. "type": "string"
  28906. },
  28907. "goodsid": {
  28908. "description": "商品ID",
  28909. "type": "integer"
  28910. },
  28911. "hasuploaded": {
  28912. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28913. "type": "integer"
  28914. },
  28915. "logid": {
  28916. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28917. "type": "string"
  28918. },
  28919. "marketid": {
  28920. "description": "市场ID",
  28921. "type": "integer"
  28922. },
  28923. "relatedamount": {
  28924. "description": "关联金额",
  28925. "type": "number"
  28926. },
  28927. "relatedorderid": {
  28928. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28929. "type": "string"
  28930. },
  28931. "scoreconfigvalue1": {
  28932. "description": "积分配置1",
  28933. "type": "integer"
  28934. },
  28935. "scoreconfigvalue2": {
  28936. "description": "积分配置1",
  28937. "type": "integer"
  28938. },
  28939. "scoretype": {
  28940. "description": "积分类型 - 1:提货积分",
  28941. "type": "integer"
  28942. },
  28943. "scorevalue": {
  28944. "description": "积分",
  28945. "type": "number"
  28946. },
  28947. "tradedate": {
  28948. "description": "交易日(yyyyMMdd)",
  28949. "type": "string"
  28950. },
  28951. "uploadedtime": {
  28952. "description": "同步时间",
  28953. "type": "string"
  28954. },
  28955. "userid": {
  28956. "description": "用户ID",
  28957. "type": "integer"
  28958. }
  28959. }
  28960. },
  28961. "models.QhjSiteColumnDetail": {
  28962. "type": "object",
  28963. "properties": {
  28964. "author": {
  28965. "description": "作者",
  28966. "type": "string"
  28967. },
  28968. "brief": {
  28969. "description": "简介",
  28970. "type": "string"
  28971. },
  28972. "columnid": {
  28973. "description": "所属栏目",
  28974. "type": "integer"
  28975. },
  28976. "context": {
  28977. "description": "内容",
  28978. "type": "string"
  28979. },
  28980. "coverimage": {
  28981. "description": "封面图片",
  28982. "type": "string"
  28983. },
  28984. "creaedate": {
  28985. "description": "创建时间",
  28986. "type": "string"
  28987. },
  28988. "creatorid": {
  28989. "description": "创建人",
  28990. "type": "integer"
  28991. },
  28992. "hits": {
  28993. "description": "点击数",
  28994. "type": "integer"
  28995. },
  28996. "id": {
  28997. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  28998. "type": "integer"
  28999. },
  29000. "isshow": {
  29001. "description": "是否展示 - 0:不展示 1:展示",
  29002. "type": "integer"
  29003. },
  29004. "istop": {
  29005. "description": "是否置顶 - 0:不置 1:置顶",
  29006. "type": "integer"
  29007. },
  29008. "modifierid": {
  29009. "description": "操作人",
  29010. "type": "integer"
  29011. },
  29012. "publishdate": {
  29013. "description": "发布日期",
  29014. "type": "string"
  29015. },
  29016. "status": {
  29017. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  29018. "type": "integer"
  29019. },
  29020. "title": {
  29021. "description": "标题",
  29022. "type": "string"
  29023. },
  29024. "updatedate": {
  29025. "description": "修改时间",
  29026. "type": "string"
  29027. },
  29028. "userid": {
  29029. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  29030. "type": "integer"
  29031. },
  29032. "username": {
  29033. "description": "用户名称",
  29034. "type": "string"
  29035. }
  29036. }
  29037. },
  29038. "models.QhjTeamOrder": {
  29039. "type": "object",
  29040. "properties": {
  29041. "accountid": {
  29042. "description": "账户ID[报价币种]",
  29043. "type": "integer"
  29044. },
  29045. "accountname": {
  29046. "description": "账户名称",
  29047. "type": "string"
  29048. },
  29049. "agreeunit": {
  29050. "description": "合约乘数",
  29051. "type": "number"
  29052. },
  29053. "buyorsell": {
  29054. "description": "方向 - 0:买 1:卖",
  29055. "type": "integer"
  29056. },
  29057. "decimalplace": {
  29058. "description": "报价小数位",
  29059. "type": "integer"
  29060. },
  29061. "enumdicname": {
  29062. "description": "单位名称",
  29063. "type": "string"
  29064. },
  29065. "goodscode": {
  29066. "description": "商品代码(内部)",
  29067. "type": "string"
  29068. },
  29069. "goodsid": {
  29070. "description": "商品ID",
  29071. "type": "integer"
  29072. },
  29073. "goodsname": {
  29074. "description": "商品名称",
  29075. "type": "string"
  29076. },
  29077. "goodunitid": {
  29078. "description": "报价单位ID",
  29079. "type": "integer"
  29080. },
  29081. "marketid": {
  29082. "description": "市场ID",
  29083. "type": "integer"
  29084. },
  29085. "marketname": {
  29086. "description": "市场名称",
  29087. "type": "string"
  29088. },
  29089. "qtydecimalplace": {
  29090. "description": "成交量小数位",
  29091. "type": "integer"
  29092. },
  29093. "refereeuserid": {
  29094. "description": "推荐人ID",
  29095. "type": "integer"
  29096. },
  29097. "tradeamount": {
  29098. "description": "成交金额[账户币种,用于所有权]",
  29099. "type": "number"
  29100. },
  29101. "tradedate": {
  29102. "description": "交易日(yyyyMMdd)",
  29103. "type": "string"
  29104. },
  29105. "trademode": {
  29106. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29107. "type": "integer"
  29108. },
  29109. "tradeprice": {
  29110. "description": "成交价格",
  29111. "type": "number"
  29112. },
  29113. "tradeqty": {
  29114. "description": "成交数量",
  29115. "type": "number"
  29116. },
  29117. "tradetime": {
  29118. "description": "成交时间",
  29119. "type": "string"
  29120. },
  29121. "userid": {
  29122. "description": "用户ID",
  29123. "type": "integer"
  29124. }
  29125. }
  29126. },
  29127. "models.QhjTradeGoodsPickup": {
  29128. "type": "object",
  29129. "properties": {
  29130. "accountid": {
  29131. "description": "账户ID",
  29132. "type": "integer"
  29133. },
  29134. "address": {
  29135. "description": "提货人详细地址",
  29136. "type": "string"
  29137. },
  29138. "amount": {
  29139. "description": "提货金额",
  29140. "type": "number"
  29141. },
  29142. "artradedate": {
  29143. "description": "自动收货交易日(yyyyMMdd)",
  29144. "type": "string"
  29145. },
  29146. "auditer": {
  29147. "description": "审核人",
  29148. "type": "integer"
  29149. },
  29150. "auditsrc": {
  29151. "description": "更新来源 - 1:管理端 2:终端",
  29152. "type": "integer"
  29153. },
  29154. "audittime": {
  29155. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  29156. "type": "string"
  29157. },
  29158. "audittradedate": {
  29159. "description": "审核交易日(yyyyMMdd)",
  29160. "type": "string"
  29161. },
  29162. "cardnum": {
  29163. "description": "提货人证件号码",
  29164. "type": "string"
  29165. },
  29166. "cardtypeid": {
  29167. "description": "提货人证件类型",
  29168. "type": "integer"
  29169. },
  29170. "checkremark": {
  29171. "description": "审核备注",
  29172. "type": "string"
  29173. },
  29174. "cityid": {
  29175. "description": "市",
  29176. "type": "integer"
  29177. },
  29178. "cityname": {
  29179. "description": "城市名称",
  29180. "type": "string"
  29181. },
  29182. "confirmtime": {
  29183. "description": "取货时间 或 收货时间",
  29184. "type": "string"
  29185. },
  29186. "countryid": {
  29187. "description": "国家",
  29188. "type": "integer"
  29189. },
  29190. "countryname": {
  29191. "description": "国家名称",
  29192. "type": "string"
  29193. },
  29194. "decimalplace": {
  29195. "description": "商品报价小数位",
  29196. "type": "integer"
  29197. },
  29198. "districtid": {
  29199. "description": "地区",
  29200. "type": "integer"
  29201. },
  29202. "districtname": {
  29203. "description": "地区名称",
  29204. "type": "string"
  29205. },
  29206. "enumdicname": {
  29207. "description": "单位名称(提货商品)",
  29208. "type": "string"
  29209. },
  29210. "expresscompany": {
  29211. "description": "物流公司",
  29212. "type": "string"
  29213. },
  29214. "expressnum": {
  29215. "description": "物流单号",
  29216. "type": "string"
  29217. },
  29218. "goodsagreeunit": {
  29219. "description": "交易商品乘数",
  29220. "type": "number"
  29221. },
  29222. "goodscode": {
  29223. "description": "商品代码",
  29224. "type": "string"
  29225. },
  29226. "goodsid": {
  29227. "description": "商品ID",
  29228. "type": "integer"
  29229. },
  29230. "goodsname": {
  29231. "description": "商品名称",
  29232. "type": "string"
  29233. },
  29234. "goodsqty": {
  29235. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  29236. "type": "number"
  29237. },
  29238. "handlestatus": {
  29239. "description": "处理状态",
  29240. "type": "integer"
  29241. },
  29242. "logincode": {
  29243. "description": "账号(登录代码, 有可能为空)",
  29244. "type": "string"
  29245. },
  29246. "marketid": {
  29247. "description": "市场ID",
  29248. "type": "integer"
  29249. },
  29250. "phonenum": {
  29251. "description": "提货人联系方式",
  29252. "type": "string"
  29253. },
  29254. "pickupgoodsagreeunit": {
  29255. "description": "提货商品合约乘数",
  29256. "type": "number"
  29257. },
  29258. "pickupgoodsid": {
  29259. "description": "提货商品ID",
  29260. "type": "string"
  29261. },
  29262. "pickupgoodsname": {
  29263. "description": "提货商品名称",
  29264. "type": "string"
  29265. },
  29266. "pickupgoodsqty": {
  29267. "description": "提货商品手数(数量)",
  29268. "type": "number"
  29269. },
  29270. "pickupgoodsunitid": {
  29271. "description": "单位ID(提货商品)",
  29272. "type": "integer"
  29273. },
  29274. "pickupratio": {
  29275. "description": "提货系数",
  29276. "type": "number"
  29277. },
  29278. "preparedays": {
  29279. "description": "备货期(天)-提货单明细表",
  29280. "type": "integer"
  29281. },
  29282. "provinceid": {
  29283. "description": "省",
  29284. "type": "integer"
  29285. },
  29286. "provincename": {
  29287. "description": "省名称",
  29288. "type": "string"
  29289. },
  29290. "qty": {
  29291. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  29292. "type": "number"
  29293. },
  29294. "qtydecimalplace": {
  29295. "description": "商品数量小数位",
  29296. "type": "integer"
  29297. },
  29298. "recivername": {
  29299. "description": "提货人姓名",
  29300. "type": "string"
  29301. },
  29302. "reqtime": {
  29303. "description": "提货申请时间",
  29304. "type": "string"
  29305. },
  29306. "storeuserid": {
  29307. "description": "门店用户ID (千海金)",
  29308. "type": "integer"
  29309. },
  29310. "storeusername": {
  29311. "description": "门店用户名称",
  29312. "type": "string"
  29313. },
  29314. "takemode": {
  29315. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  29316. "type": "integer"
  29317. },
  29318. "takeorderid": {
  29319. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29320. "type": "string"
  29321. },
  29322. "takeorderstatus": {
  29323. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  29324. "type": "integer"
  29325. },
  29326. "takeremark": {
  29327. "description": "提货备注",
  29328. "type": "string"
  29329. },
  29330. "tradedate": {
  29331. "description": "交易日(yyyyMMdd)",
  29332. "type": "string"
  29333. },
  29334. "updatetime": {
  29335. "description": "更新时间",
  29336. "type": "string"
  29337. },
  29338. "userid": {
  29339. "description": "用户ID",
  29340. "type": "integer"
  29341. },
  29342. "userinfotype": {
  29343. "description": "客户类型 1-个人 2-企业",
  29344. "type": "integer"
  29345. },
  29346. "username": {
  29347. "description": "用户名称",
  29348. "type": "string"
  29349. }
  29350. }
  29351. },
  29352. "models.QhjUserNodeCfgAndStatus": {
  29353. "type": "object",
  29354. "properties": {
  29355. "agreementcontent": {
  29356. "description": "协议内容",
  29357. "type": "string"
  29358. },
  29359. "agreementid": {
  29360. "description": "协议ID",
  29361. "type": "integer"
  29362. },
  29363. "agreementname": {
  29364. "description": "协议名称",
  29365. "type": "string"
  29366. },
  29367. "agreementno": {
  29368. "description": "协议编号",
  29369. "type": "string"
  29370. },
  29371. "agreementtype": {
  29372. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29373. "type": "integer"
  29374. },
  29375. "agreementversion": {
  29376. "description": "协议版本号",
  29377. "type": "integer"
  29378. },
  29379. "configid": {
  29380. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29381. "type": "integer"
  29382. },
  29383. "createtime": {
  29384. "description": "创建时间",
  29385. "type": "string"
  29386. },
  29387. "goodsid": {
  29388. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29389. "type": "integer"
  29390. },
  29391. "nodetype": {
  29392. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29393. "type": "integer"
  29394. },
  29395. "signtimestamp": {
  29396. "description": "签约状态时间戳(最近一次)",
  29397. "type": "string"
  29398. },
  29399. "tradedate": {
  29400. "description": "签约交易日(yyyyMMdd)",
  29401. "type": "string"
  29402. },
  29403. "userid": {
  29404. "description": "客户ID",
  29405. "type": "integer"
  29406. }
  29407. }
  29408. },
  29409. "models.Qhjgoodsex": {
  29410. "type": "object",
  29411. "properties": {
  29412. "canfinance": {
  29413. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29414. "type": "integer"
  29415. },
  29416. "canregularlybuy": {
  29417. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29418. "type": "integer"
  29419. },
  29420. "defaulttradeuserid": {
  29421. "description": "默认交易用户ID",
  29422. "type": "integer"
  29423. },
  29424. "deliverygoodsid": {
  29425. "description": "现货品种ID",
  29426. "type": "integer"
  29427. },
  29428. "goodsid": {
  29429. "description": "商品ID(自增ID SEQ_GOODS)",
  29430. "type": "integer"
  29431. },
  29432. "minamount": {
  29433. "description": "最小购买金额",
  29434. "type": "number"
  29435. },
  29436. "regularlybuyminamount": {
  29437. "description": "定投最小金额",
  29438. "type": "number"
  29439. },
  29440. "regularlybuyminqty": {
  29441. "description": "定投最小数量",
  29442. "type": "number"
  29443. },
  29444. "spotgoodsbrandid": {
  29445. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29446. "type": "integer"
  29447. },
  29448. "visibilityforenterprise": {
  29449. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29450. "type": "integer"
  29451. },
  29452. "visibilityforpersonal": {
  29453. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29454. "type": "integer"
  29455. },
  29456. "wrstandardid": {
  29457. "description": "现货商品ID",
  29458. "type": "integer"
  29459. }
  29460. }
  29461. },
  29462. "models.QueryErrorInfosRsp": {
  29463. "type": "object",
  29464. "required": [
  29465. "errorid"
  29466. ],
  29467. "properties": {
  29468. "description": {
  29469. "description": "异常描述",
  29470. "type": "string"
  29471. },
  29472. "errorcode": {
  29473. "description": "异常代码",
  29474. "type": "string"
  29475. },
  29476. "errorid": {
  29477. "description": "异常ID",
  29478. "type": "integer"
  29479. },
  29480. "modulecode": {
  29481. "description": "所属模块",
  29482. "type": "string"
  29483. },
  29484. "operatecode": {
  29485. "description": "所属操作",
  29486. "type": "string"
  29487. },
  29488. "rownumber": {
  29489. "description": "行号",
  29490. "type": "string"
  29491. }
  29492. }
  29493. },
  29494. "models.QueryHedgeOrderDetailRsp": {
  29495. "type": "object",
  29496. "properties": {
  29497. "accountid": {
  29498. "description": "账户ID",
  29499. "type": "integer"
  29500. },
  29501. "buyorsell": {
  29502. "description": "买卖 - 0:买 1:卖",
  29503. "type": "integer"
  29504. },
  29505. "cancellogincode": {
  29506. "description": "撤单人",
  29507. "type": "string"
  29508. },
  29509. "channelbuildtype": {
  29510. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29511. "type": "integer"
  29512. },
  29513. "channelinnerorderstatus": {
  29514. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29515. "type": "integer"
  29516. },
  29517. "channeloperatetype": {
  29518. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29519. "type": "integer"
  29520. },
  29521. "closetype": {
  29522. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29523. "type": "integer"
  29524. },
  29525. "curexchangerate": {
  29526. "description": "当前汇率",
  29527. "type": "number"
  29528. },
  29529. "exchangefullname": {
  29530. "description": "外部交易所全称",
  29531. "type": "string"
  29532. },
  29533. "goodscode": {
  29534. "description": "商品代码(内部)",
  29535. "type": "string"
  29536. },
  29537. "goodsid": {
  29538. "description": "商品ID",
  29539. "type": "integer"
  29540. },
  29541. "goodsname": {
  29542. "description": "商品名称",
  29543. "type": "string"
  29544. },
  29545. "marketid": {
  29546. "description": "市场ID",
  29547. "type": "integer"
  29548. },
  29549. "openfreezemargin": {
  29550. "description": "冻结保证金(冻结交易金额)",
  29551. "type": "number"
  29552. },
  29553. "orderid": {
  29554. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29555. "type": "string"
  29556. },
  29557. "orderlogincode": {
  29558. "description": "委托人",
  29559. "type": "string"
  29560. },
  29561. "orderprice": {
  29562. "description": "委托价格(账户)",
  29563. "type": "number"
  29564. },
  29565. "orderqty": {
  29566. "description": "委托数量",
  29567. "type": "integer"
  29568. },
  29569. "ordertime": {
  29570. "description": "委托时间",
  29571. "type": "string"
  29572. },
  29573. "pricemode": {
  29574. "description": "取价方式 - 1:市价 2: 限价",
  29575. "type": "integer"
  29576. },
  29577. "tradedate": {
  29578. "description": "交易日(yyyyMMdd)",
  29579. "type": "string"
  29580. },
  29581. "tradeqty": {
  29582. "description": "成交数量",
  29583. "type": "integer"
  29584. }
  29585. }
  29586. },
  29587. "models.QueryHedgeTradeDetailRsp": {
  29588. "type": "object",
  29589. "properties": {
  29590. "accountid": {
  29591. "description": "账号ID",
  29592. "type": "integer"
  29593. },
  29594. "buyorsell": {
  29595. "description": "方向 - 0:买 1:卖",
  29596. "type": "integer"
  29597. },
  29598. "channelbuildtype": {
  29599. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29600. "type": "integer"
  29601. },
  29602. "closecharge": {
  29603. "description": "平仓手续费(账户)",
  29604. "type": "number"
  29605. },
  29606. "closecharge2": {
  29607. "description": "平仓手续费(商品)",
  29608. "type": "number"
  29609. },
  29610. "closepl": {
  29611. "description": "平仓盈亏(账户)",
  29612. "type": "number"
  29613. },
  29614. "closepl2": {
  29615. "description": "平仓盈亏(商品)",
  29616. "type": "number"
  29617. },
  29618. "closepl3": {
  29619. "description": "平仓盈亏(账户)(逐笔)",
  29620. "type": "number"
  29621. },
  29622. "closepl4": {
  29623. "description": "平仓盈亏(商品)(逐笔)",
  29624. "type": "number"
  29625. },
  29626. "closetype": {
  29627. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29628. "type": "integer"
  29629. },
  29630. "curexchangerate": {
  29631. "description": "当前汇率",
  29632. "type": "number"
  29633. },
  29634. "exchangefullname": {
  29635. "description": "外部交易所全称",
  29636. "type": "string"
  29637. },
  29638. "goodscode": {
  29639. "description": "商品代码(内部)",
  29640. "type": "string"
  29641. },
  29642. "goodsid": {
  29643. "description": "商品ID",
  29644. "type": "integer"
  29645. },
  29646. "goodsname": {
  29647. "description": "商品名称",
  29648. "type": "string"
  29649. },
  29650. "marketid": {
  29651. "description": "市场ID",
  29652. "type": "integer"
  29653. },
  29654. "opencharge": {
  29655. "description": "建仓手续费(账户)",
  29656. "type": "number"
  29657. },
  29658. "opencharge2": {
  29659. "description": "建仓手续费(商品)",
  29660. "type": "number"
  29661. },
  29662. "orderid": {
  29663. "description": "委托单号",
  29664. "type": "string"
  29665. },
  29666. "orderlogincode": {
  29667. "description": "委托人",
  29668. "type": "string"
  29669. },
  29670. "tradeamount": {
  29671. "description": "成交金额(账户)",
  29672. "type": "number"
  29673. },
  29674. "tradedate": {
  29675. "description": "交易日(yyyyMMdd)",
  29676. "type": "string"
  29677. },
  29678. "tradeid": {
  29679. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29680. "type": "string"
  29681. },
  29682. "tradeprice": {
  29683. "description": "成交价格",
  29684. "type": "number"
  29685. },
  29686. "tradeqty": {
  29687. "description": "成交数量",
  29688. "type": "integer"
  29689. },
  29690. "tradetime": {
  29691. "description": "成交时间",
  29692. "type": "string"
  29693. },
  29694. "tradetype": {
  29695. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29696. "type": "integer"
  29697. }
  29698. }
  29699. },
  29700. "models.QuotePrimaryMenu": {
  29701. "type": "object",
  29702. "properties": {
  29703. "Index": {
  29704. "description": "序号",
  29705. "type": "integer"
  29706. },
  29707. "Key": {
  29708. "description": "键名",
  29709. "type": "string"
  29710. },
  29711. "Name": {
  29712. "description": "菜单名称",
  29713. "type": "string"
  29714. },
  29715. "SubMenus": {
  29716. "description": "子菜单",
  29717. "type": "array",
  29718. "items": {
  29719. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29720. }
  29721. },
  29722. "SubTitleType": {
  29723. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29724. "type": "integer"
  29725. },
  29726. "TradeModes": {
  29727. "description": "包含市场交易类型",
  29728. "type": "string"
  29729. }
  29730. }
  29731. },
  29732. "models.QuoteSecondaryMenu": {
  29733. "type": "object",
  29734. "properties": {
  29735. "ExExchangeCode": {
  29736. "description": "外部交易所代码",
  29737. "type": "string"
  29738. },
  29739. "ExExchangeID": {
  29740. "description": "外部交易所ID",
  29741. "type": "integer"
  29742. },
  29743. "GoodsGroupIDs": {
  29744. "description": "商品组ID列表",
  29745. "type": "array",
  29746. "items": {
  29747. "type": "integer"
  29748. }
  29749. },
  29750. "Index": {
  29751. "description": "序号",
  29752. "type": "integer"
  29753. },
  29754. "MarketID": {
  29755. "description": "市场ID",
  29756. "type": "integer"
  29757. },
  29758. "MenuTitle": {
  29759. "description": "菜单标题(市场名称或外部交易所名称)",
  29760. "type": "string"
  29761. },
  29762. "TradeMode": {
  29763. "description": "交易模式",
  29764. "type": "integer"
  29765. }
  29766. }
  29767. },
  29768. "models.RoleMenu": {
  29769. "type": "object",
  29770. "properties": {
  29771. "hasright": {
  29772. "description": "是否有权限 0-没有权限 1-有权限",
  29773. "type": "integer"
  29774. },
  29775. "iconame": {
  29776. "description": "菜单图标",
  29777. "type": "string"
  29778. },
  29779. "menutype": {
  29780. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29781. "type": "integer"
  29782. },
  29783. "parentcode": {
  29784. "description": "上级资源代码",
  29785. "type": "string"
  29786. },
  29787. "remark": {
  29788. "description": "菜单备注",
  29789. "type": "string"
  29790. },
  29791. "resourcecode": {
  29792. "description": "菜单代码",
  29793. "type": "string"
  29794. },
  29795. "resourcelevel": {
  29796. "description": "级别",
  29797. "type": "integer"
  29798. },
  29799. "resourcename": {
  29800. "description": "菜单名称",
  29801. "type": "string"
  29802. },
  29803. "roleid": {
  29804. "description": "角色id",
  29805. "type": "integer"
  29806. },
  29807. "sort": {
  29808. "description": "排序",
  29809. "type": "integer"
  29810. },
  29811. "subMenu": {
  29812. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29813. "type": "array",
  29814. "items": {
  29815. "$ref": "#/definitions/models.RoleMenu"
  29816. }
  29817. },
  29818. "url": {
  29819. "description": "URL",
  29820. "type": "string"
  29821. },
  29822. "userid": {
  29823. "description": "用户id",
  29824. "type": "integer"
  29825. }
  29826. }
  29827. },
  29828. "models.SearchGoods": {
  29829. "type": "object",
  29830. "required": [
  29831. "goodscode",
  29832. "goodsid",
  29833. "goodsname",
  29834. "marketid",
  29835. "trademode"
  29836. ],
  29837. "properties": {
  29838. "goodscode": {
  29839. "description": "商品代码(内部)",
  29840. "type": "string"
  29841. },
  29842. "goodsid": {
  29843. "description": "商品ID(自增ID SEQ_GOODS)",
  29844. "type": "integer"
  29845. },
  29846. "goodsname": {
  29847. "description": "商品名称",
  29848. "type": "string"
  29849. },
  29850. "marketid": {
  29851. "description": "所属市场ID",
  29852. "type": "integer"
  29853. },
  29854. "marketname": {
  29855. "description": "市场名称",
  29856. "type": "string"
  29857. },
  29858. "trademode": {
  29859. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29860. "type": "integer"
  29861. }
  29862. }
  29863. },
  29864. "models.Systemparam": {
  29865. "type": "object",
  29866. "required": [
  29867. "paramcode"
  29868. ],
  29869. "properties": {
  29870. "loginid": {
  29871. "description": "更新用户账号,登录账号",
  29872. "type": "string"
  29873. },
  29874. "modifyflag": {
  29875. "description": "修改标志0 不允许修改 1 允许修改",
  29876. "type": "integer"
  29877. },
  29878. "paramcode": {
  29879. "description": "参数代码",
  29880. "type": "string"
  29881. },
  29882. "paramname": {
  29883. "description": "参数名",
  29884. "type": "string"
  29885. },
  29886. "paramtype": {
  29887. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29888. "type": "integer"
  29889. },
  29890. "paramvalue": {
  29891. "description": "参数值",
  29892. "type": "string"
  29893. },
  29894. "paramvalue2": {
  29895. "description": "参数值(CLOB)",
  29896. "type": "string"
  29897. },
  29898. "regexpress": {
  29899. "description": "正则表达式",
  29900. "type": "string"
  29901. },
  29902. "remark": {
  29903. "description": "备注",
  29904. "type": "string"
  29905. },
  29906. "serverip": {
  29907. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29908. "type": "string"
  29909. },
  29910. "showflag": {
  29911. "description": "是否显示0 不显示 1 显示",
  29912. "type": "integer"
  29913. },
  29914. "updatetime": {
  29915. "description": "更新时间",
  29916. "type": "string"
  29917. },
  29918. "userid": {
  29919. "description": "更新用户ID",
  29920. "type": "integer"
  29921. }
  29922. }
  29923. },
  29924. "models.Szdz3convertconfig": {
  29925. "type": "object",
  29926. "required": [
  29927. "converttype",
  29928. "innergoodsid",
  29929. "outergoodscode"
  29930. ],
  29931. "properties": {
  29932. "canin": {
  29933. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29934. "type": "integer"
  29935. },
  29936. "canout": {
  29937. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29938. "type": "integer"
  29939. },
  29940. "converttype": {
  29941. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29942. "type": "integer"
  29943. },
  29944. "createtime": {
  29945. "description": "创建时间",
  29946. "type": "string"
  29947. },
  29948. "creatorid": {
  29949. "description": "创建人",
  29950. "type": "integer"
  29951. },
  29952. "daymaxvalue": {
  29953. "description": "当日最大转入限制",
  29954. "type": "number"
  29955. },
  29956. "freezedays": {
  29957. "description": "冻结天数 [5:花生米转交易]",
  29958. "type": "integer"
  29959. },
  29960. "innergoodsid": {
  29961. "description": "内部商品ID[交易]",
  29962. "type": "integer"
  29963. },
  29964. "inratio": {
  29965. "description": "目标值",
  29966. "type": "integer"
  29967. },
  29968. "modifierid": {
  29969. "description": "修改人",
  29970. "type": "integer"
  29971. },
  29972. "modifytime": {
  29973. "description": "修改时间",
  29974. "type": "string"
  29975. },
  29976. "outergoodscode": {
  29977. "description": "外部商品代码[JD\\PD]",
  29978. "type": "string"
  29979. },
  29980. "outratio": {
  29981. "description": "源值",
  29982. "type": "integer"
  29983. },
  29984. "pddecimalplace": {
  29985. "description": "PD小数位",
  29986. "type": "integer"
  29987. },
  29988. "timemaxvalue": {
  29989. "description": "单次最大转入限制",
  29990. "type": "number"
  29991. },
  29992. "timeminvalue": {
  29993. "description": "单次最小转入限制",
  29994. "type": "number"
  29995. }
  29996. }
  29997. },
  29998. "models.Szdz3searchwhitelist": {
  29999. "type": "object",
  30000. "required": [
  30001. "userid"
  30002. ],
  30003. "properties": {
  30004. "createtime": {
  30005. "description": "创建时间",
  30006. "type": "string"
  30007. },
  30008. "creatorid": {
  30009. "description": "创建人",
  30010. "type": "integer"
  30011. },
  30012. "modifierid": {
  30013. "description": "修改人",
  30014. "type": "integer"
  30015. },
  30016. "modifytime": {
  30017. "description": "修改时间",
  30018. "type": "string"
  30019. },
  30020. "userid": {
  30021. "description": "用户ID",
  30022. "type": "integer"
  30023. }
  30024. }
  30025. },
  30026. "models.TBGoods": {
  30027. "type": "object",
  30028. "properties": {
  30029. "agreeunit": {
  30030. "description": "合约乘数",
  30031. "type": "number"
  30032. },
  30033. "enumdicname": {
  30034. "description": "单位名称",
  30035. "type": "string"
  30036. },
  30037. "goodscode": {
  30038. "description": "商品代码(内部)",
  30039. "type": "string"
  30040. },
  30041. "goodsid": {
  30042. "description": "商品ID(自增ID SEQ_GOODS)",
  30043. "type": "integer"
  30044. },
  30045. "goodsname": {
  30046. "description": "商品名称",
  30047. "type": "string"
  30048. }
  30049. }
  30050. },
  30051. "models.TBGoodsGroup": {
  30052. "type": "object",
  30053. "properties": {
  30054. "convertratio": {
  30055. "description": "折算系数",
  30056. "type": "number"
  30057. },
  30058. "enumdicname": {
  30059. "description": "单位名称",
  30060. "type": "string"
  30061. },
  30062. "exexchangecode": {
  30063. "description": "交易所代码",
  30064. "type": "string"
  30065. },
  30066. "exexchangename": {
  30067. "description": "交易所名称",
  30068. "type": "string"
  30069. },
  30070. "gdlst": {
  30071. "description": "商品列表",
  30072. "type": "array",
  30073. "items": {
  30074. "$ref": "#/definitions/models.TBGoods"
  30075. }
  30076. },
  30077. "goodsgroupid": {
  30078. "description": "商品组ID(自增ID)",
  30079. "type": "integer"
  30080. },
  30081. "goodsgroupname": {
  30082. "description": "商品组名称",
  30083. "type": "string"
  30084. },
  30085. "goodunitid": {
  30086. "description": "报价单位ID",
  30087. "type": "integer"
  30088. }
  30089. }
  30090. },
  30091. "models.TBMiddleGoods": {
  30092. "type": "object",
  30093. "properties": {
  30094. "areauserid": {
  30095. "description": "机构用户ID",
  30096. "type": "integer"
  30097. },
  30098. "enumdicname": {
  30099. "description": "单位名称",
  30100. "type": "string"
  30101. },
  30102. "gplst": {
  30103. "description": "期货品种列表",
  30104. "type": "array",
  30105. "items": {
  30106. "$ref": "#/definitions/models.TBGoodsGroup"
  30107. }
  30108. },
  30109. "middlegoodscode": {
  30110. "description": "套保品种代码",
  30111. "type": "string"
  30112. },
  30113. "middlegoodsid": {
  30114. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  30115. "type": "integer"
  30116. },
  30117. "middlegoodsname": {
  30118. "description": "套保品种名称",
  30119. "type": "string"
  30120. },
  30121. "needarbitrageratio": {
  30122. "description": "套利比率",
  30123. "type": "number"
  30124. },
  30125. "needhedgeratio": {
  30126. "description": "套保比率",
  30127. "type": "number"
  30128. },
  30129. "wdlst": {
  30130. "description": "商品信息列表(现货品类)",
  30131. "type": "array",
  30132. "items": {
  30133. "$ref": "#/definitions/models.TBWrstandard"
  30134. }
  30135. }
  30136. }
  30137. },
  30138. "models.TBWrstandard": {
  30139. "type": "object",
  30140. "properties": {
  30141. "convertratio": {
  30142. "description": "折算系数",
  30143. "type": "number"
  30144. },
  30145. "deliverygoodsname": {
  30146. "description": "品种名称",
  30147. "type": "string"
  30148. },
  30149. "enumdicname": {
  30150. "description": "单位名称",
  30151. "type": "string"
  30152. },
  30153. "vatrate": {
  30154. "description": "增值税率",
  30155. "type": "number"
  30156. },
  30157. "wrstandardcode": {
  30158. "description": "现货商品代码",
  30159. "type": "string"
  30160. },
  30161. "wrstandardid": {
  30162. "description": "现货商品ID(SEQ_WRSTANDARD)",
  30163. "type": "integer"
  30164. },
  30165. "wrstandardname": {
  30166. "description": "现货商品名称",
  30167. "type": "string"
  30168. }
  30169. }
  30170. },
  30171. "models.Taaccount": {
  30172. "type": "object",
  30173. "required": [
  30174. "accountid",
  30175. "userid"
  30176. ],
  30177. "properties": {
  30178. "accountflag": {
  30179. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  30180. "type": "integer"
  30181. },
  30182. "accountid": {
  30183. "description": "资金账户ID",
  30184. "type": "integer"
  30185. },
  30186. "accountname": {
  30187. "description": "账户名称",
  30188. "type": "string"
  30189. },
  30190. "balance": {
  30191. "description": "期初余额",
  30192. "type": "number"
  30193. },
  30194. "capitalbalance": {
  30195. "description": "本金余额[外部子账户实际出入金余额]",
  30196. "type": "number"
  30197. },
  30198. "changeflag": {
  30199. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  30200. "type": "integer"
  30201. },
  30202. "changetime": {
  30203. "description": "账户状态变更时间",
  30204. "type": "string"
  30205. },
  30206. "closepl": {
  30207. "description": "今日平仓盈亏",
  30208. "type": "number"
  30209. },
  30210. "creditdecrease": {
  30211. "description": "今日授信减少",
  30212. "type": "number"
  30213. },
  30214. "creditincrease": {
  30215. "description": "今日授信增加",
  30216. "type": "number"
  30217. },
  30218. "curamount": {
  30219. "description": "总市值(从持仓中统计)",
  30220. "type": "number"
  30221. },
  30222. "currencyid": {
  30223. "description": "货币ID",
  30224. "type": "integer"
  30225. },
  30226. "currentbalance": {
  30227. "description": "期末余额",
  30228. "type": "number"
  30229. },
  30230. "freezecharge": {
  30231. "description": "手续费冻结",
  30232. "type": "number"
  30233. },
  30234. "freezemargin": {
  30235. "description": "冻结保证金",
  30236. "type": "number"
  30237. },
  30238. "fromaccountid": {
  30239. "description": "所属上级账户",
  30240. "type": "integer"
  30241. },
  30242. "inamount": {
  30243. "description": "今日入金金额(包括三方入金)",
  30244. "type": "number"
  30245. },
  30246. "ismain": {
  30247. "description": "是否母账号 0:不是母账户 1:是母账户",
  30248. "type": "integer"
  30249. },
  30250. "ismarketaccount": {
  30251. "description": "是否机构接单账号 0:不是 1:是",
  30252. "type": "integer"
  30253. },
  30254. "isreckonaccount": {
  30255. "description": "是否机构分润账号 0:不是 1:是",
  30256. "type": "integer"
  30257. },
  30258. "mortgagecredit": {
  30259. "description": "授信金额",
  30260. "type": "number"
  30261. },
  30262. "orifreezecharge": {
  30263. "description": "期初手续费冻结",
  30264. "type": "number"
  30265. },
  30266. "orifreezemargin": {
  30267. "description": "期初冻结保证金",
  30268. "type": "number"
  30269. },
  30270. "orimortgagecredit": {
  30271. "description": "期初授信金额",
  30272. "type": "number"
  30273. },
  30274. "oriothercredit": {
  30275. "description": "期初其它授信金额",
  30276. "type": "number"
  30277. },
  30278. "oriotherfreezemargin": {
  30279. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30280. "type": "number"
  30281. },
  30282. "orioutamountfreeze": {
  30283. "description": "期初出金冻结",
  30284. "type": "number"
  30285. },
  30286. "oriusedmargin": {
  30287. "description": "期初占用保证金",
  30288. "type": "number"
  30289. },
  30290. "othercredit": {
  30291. "description": "其它授信金额",
  30292. "type": "number"
  30293. },
  30294. "othercreditdecrease": {
  30295. "description": "今日其它授信减少",
  30296. "type": "number"
  30297. },
  30298. "othercreditincrease": {
  30299. "description": "今日其它授信增加",
  30300. "type": "number"
  30301. },
  30302. "otherfreezemargin": {
  30303. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30304. "type": "number"
  30305. },
  30306. "otherincome": {
  30307. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  30308. "type": "number"
  30309. },
  30310. "otherpay": {
  30311. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  30312. "type": "number"
  30313. },
  30314. "outamount": {
  30315. "description": "今日出金金额(包括三方出金)",
  30316. "type": "number"
  30317. },
  30318. "outamountfreeze": {
  30319. "description": "出金冻结",
  30320. "type": "number"
  30321. },
  30322. "outthreshold": {
  30323. "description": "出金阈值",
  30324. "type": "number"
  30325. },
  30326. "parentaccountid": {
  30327. "description": "所属根账号",
  30328. "type": "integer"
  30329. },
  30330. "paycharge": {
  30331. "description": "今日手续费支出",
  30332. "type": "number"
  30333. },
  30334. "relatedaccountstatus": {
  30335. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  30336. "type": "integer"
  30337. },
  30338. "relateduserid": {
  30339. "description": "关联用户",
  30340. "type": "integer"
  30341. },
  30342. "remainamount": {
  30343. "description": "融资额(从融资合同中统计)",
  30344. "type": "number"
  30345. },
  30346. "serivcegroup": {
  30347. "description": "服务分组",
  30348. "type": "integer"
  30349. },
  30350. "signstatus": {
  30351. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30352. "type": "integer"
  30353. },
  30354. "sublevelpath": {
  30355. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30356. "type": "string"
  30357. },
  30358. "taaccounttype": {
  30359. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30360. "type": "integer"
  30361. },
  30362. "thirdinamount": {
  30363. "description": "今日三方入金",
  30364. "type": "number"
  30365. },
  30366. "thirdoutamount": {
  30367. "description": "今日三方出金",
  30368. "type": "number"
  30369. },
  30370. "tradestatus": {
  30371. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30372. "type": "integer"
  30373. },
  30374. "tradestatuschangetime": {
  30375. "description": "激活时间",
  30376. "type": "string"
  30377. },
  30378. "transferamount": {
  30379. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30380. "type": "number"
  30381. },
  30382. "usedmargin": {
  30383. "description": "占用保证金",
  30384. "type": "number"
  30385. },
  30386. "userid": {
  30387. "description": "用户ID",
  30388. "type": "integer"
  30389. }
  30390. }
  30391. },
  30392. "models.Tablecolumnconfig": {
  30393. "type": "object",
  30394. "required": [
  30395. "autoid"
  30396. ],
  30397. "properties": {
  30398. "aligntype": {
  30399. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  30400. "type": "integer"
  30401. },
  30402. "autoid": {
  30403. "description": "AutoID",
  30404. "type": "integer"
  30405. },
  30406. "columnfield": {
  30407. "description": "列字段",
  30408. "type": "string"
  30409. },
  30410. "columntitle": {
  30411. "description": "列Title",
  30412. "type": "string"
  30413. },
  30414. "columnwidth": {
  30415. "description": "列宽",
  30416. "type": "string"
  30417. },
  30418. "formatterstring": {
  30419. "description": "格式化字符",
  30420. "type": "string"
  30421. },
  30422. "formattertype": {
  30423. "description": "格式化类型",
  30424. "type": "string"
  30425. },
  30426. "groupname": {
  30427. "description": "表头分组名称",
  30428. "type": "string"
  30429. },
  30430. "isshow": {
  30431. "description": "是否显示 - 0:不显示 1:显示",
  30432. "type": "integer"
  30433. },
  30434. "needsummary": {
  30435. "description": "是否需要汇总 - 0:不需要 1:需要",
  30436. "type": "integer"
  30437. },
  30438. "orderindex": {
  30439. "description": "顺序",
  30440. "type": "integer"
  30441. },
  30442. "remark": {
  30443. "description": "备注",
  30444. "type": "string"
  30445. },
  30446. "summarytype": {
  30447. "description": "汇总类型 - 1:加总 2:最后一个",
  30448. "type": "integer"
  30449. },
  30450. "tablekey": {
  30451. "description": "列表Key",
  30452. "type": "string"
  30453. }
  30454. }
  30455. },
  30456. "models.TjmdQuoteGoods": {
  30457. "type": "object",
  30458. "properties": {
  30459. "buyqty": {
  30460. "description": "买量(暂不做, 无值, 保留字段)",
  30461. "type": "number"
  30462. },
  30463. "goodscode": {
  30464. "description": "合约代码",
  30465. "type": "string"
  30466. },
  30467. "goodsgroupid": {
  30468. "description": "商品组ID(自增ID)",
  30469. "type": "integer"
  30470. },
  30471. "goodsgroupname": {
  30472. "description": "商品组名称",
  30473. "type": "string"
  30474. },
  30475. "goodsid": {
  30476. "description": "合约id",
  30477. "type": "integer"
  30478. },
  30479. "goodsname": {
  30480. "description": "合约名称",
  30481. "type": "string"
  30482. },
  30483. "refgoodscode": {
  30484. "description": "标的合约代码",
  30485. "type": "string"
  30486. },
  30487. "refgoodsid": {
  30488. "description": "标的合约id",
  30489. "type": "integer"
  30490. },
  30491. "refgoodsname": {
  30492. "description": "标的合约名称",
  30493. "type": "string"
  30494. },
  30495. "sellqty": {
  30496. "description": "卖量(暂不做, 无值, 保留字段)",
  30497. "type": "number"
  30498. }
  30499. }
  30500. },
  30501. "models.TjmdTodayAccountMargin": {
  30502. "type": "object",
  30503. "properties": {
  30504. "accountid": {
  30505. "description": "账号ID",
  30506. "type": "integer"
  30507. },
  30508. "goodsid": {
  30509. "description": "商品ID",
  30510. "type": "integer"
  30511. },
  30512. "infoc": {
  30513. "description": "配置参数",
  30514. "type": "object",
  30515. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  30516. },
  30517. "marketid": {
  30518. "description": "市场ID",
  30519. "type": "integer"
  30520. }
  30521. }
  30522. },
  30523. "models.TjmdTradeOrderDetail": {
  30524. "type": "object",
  30525. "properties": {
  30526. "buyorsell": {
  30527. "description": "买卖方向 0-买 1-卖",
  30528. "type": "integer"
  30529. },
  30530. "goodsid": {
  30531. "description": "商品id",
  30532. "type": "integer"
  30533. },
  30534. "marketmaxsub": {
  30535. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30536. "type": "number"
  30537. },
  30538. "orderid": {
  30539. "description": "委托单号",
  30540. "type": "string"
  30541. },
  30542. "orderprice": {
  30543. "description": "委托价格",
  30544. "type": "number"
  30545. },
  30546. "orderqty": {
  30547. "description": "委托数量",
  30548. "type": "integer"
  30549. },
  30550. "pricemode": {
  30551. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30552. "type": "integer"
  30553. },
  30554. "userid": {
  30555. "description": "用户id",
  30556. "type": "integer"
  30557. },
  30558. "username": {
  30559. "description": "用户名称(已脱敏)",
  30560. "type": "string"
  30561. }
  30562. }
  30563. },
  30564. "models.TjmdTransferApply": {
  30565. "type": "object",
  30566. "properties": {
  30567. "applyid": {
  30568. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30569. "type": "integer"
  30570. },
  30571. "applystatus": {
  30572. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30573. "type": "integer"
  30574. },
  30575. "applytime": {
  30576. "description": "申请时间(时间)",
  30577. "type": "string"
  30578. },
  30579. "auditremark": {
  30580. "description": "审核备注(拒绝原因?)",
  30581. "type": "string"
  30582. },
  30583. "buyorsell": {
  30584. "description": "买卖 - 0:买 1:卖",
  30585. "type": "integer"
  30586. },
  30587. "goodscode": {
  30588. "description": "商品代码",
  30589. "type": "string"
  30590. },
  30591. "goodsid": {
  30592. "description": "商品ID",
  30593. "type": "integer"
  30594. },
  30595. "goodsname": {
  30596. "description": "商品名称",
  30597. "type": "string"
  30598. },
  30599. "marketid": {
  30600. "description": "市场ID",
  30601. "type": "integer"
  30602. },
  30603. "qty": {
  30604. "description": "转让数量(数量)",
  30605. "type": "number"
  30606. },
  30607. "tradeid": {
  30608. "description": "成交单号(关联持仓)",
  30609. "type": "string"
  30610. },
  30611. "transferamount": {
  30612. "description": "转让总金额(金额)",
  30613. "type": "number"
  30614. },
  30615. "transferprice": {
  30616. "description": "转让价格(协议价格)",
  30617. "type": "number"
  30618. }
  30619. }
  30620. },
  30621. "models.TradeHolderDetail": {
  30622. "type": "object",
  30623. "properties": {
  30624. "accountid": {
  30625. "description": "账号ID",
  30626. "type": "integer"
  30627. },
  30628. "agreeunit": {
  30629. "description": "合约乘数",
  30630. "type": "number"
  30631. },
  30632. "buyorsell": {
  30633. "description": "方向 - 0:买 1:卖",
  30634. "type": "integer"
  30635. },
  30636. "currencyid": {
  30637. "description": "商品币种id",
  30638. "type": "integer"
  30639. },
  30640. "currencyname": {
  30641. "description": "币种名称",
  30642. "type": "string"
  30643. },
  30644. "decimalplace": {
  30645. "description": "商品价格小数位",
  30646. "type": "integer"
  30647. },
  30648. "enumdicname": {
  30649. "description": "商品单位名称",
  30650. "type": "string"
  30651. },
  30652. "expirecycle": {
  30653. "description": "行权周期(天) - 1:滚动行权时填写",
  30654. "type": "integer"
  30655. },
  30656. "expiredate": {
  30657. "description": "行权日(yyyyMMdd) - 到期日",
  30658. "type": "string"
  30659. },
  30660. "expiretype": {
  30661. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30662. "type": "integer"
  30663. },
  30664. "freezeqty": {
  30665. "description": "冻结数量",
  30666. "type": "number"
  30667. },
  30668. "goodscode": {
  30669. "description": "商品代码",
  30670. "type": "string"
  30671. },
  30672. "goodsid": {
  30673. "description": "商品ID",
  30674. "type": "integer"
  30675. },
  30676. "goodsname": {
  30677. "description": "商品名称",
  30678. "type": "string"
  30679. },
  30680. "goodunitid": {
  30681. "description": "商品单位id",
  30682. "type": "integer"
  30683. },
  30684. "holderamount": {
  30685. "description": "持仓金额",
  30686. "type": "number"
  30687. },
  30688. "holdercredit": {
  30689. "description": "持仓授信金额",
  30690. "type": "number"
  30691. },
  30692. "holderdays": {
  30693. "description": "剩余冻结天数",
  30694. "type": "integer"
  30695. },
  30696. "holderprice": {
  30697. "description": "持仓价格",
  30698. "type": "number"
  30699. },
  30700. "holderqty": {
  30701. "description": "持仓数量",
  30702. "type": "number"
  30703. },
  30704. "isconfirmexercise": {
  30705. "description": "是否确认行权- 0:否 1:是",
  30706. "type": "integer"
  30707. },
  30708. "ispreexercise": {
  30709. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30710. "type": "integer"
  30711. },
  30712. "marketid": {
  30713. "description": "市场id",
  30714. "type": "integer"
  30715. },
  30716. "marketname": {
  30717. "description": "市场名称",
  30718. "type": "string"
  30719. },
  30720. "openprice": {
  30721. "description": "建仓价格",
  30722. "type": "number"
  30723. },
  30724. "openqty": {
  30725. "description": "建仓数量",
  30726. "type": "number"
  30727. },
  30728. "optiontype": {
  30729. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30730. "type": "integer"
  30731. },
  30732. "preexerciseprice": {
  30733. "description": "预申报价格",
  30734. "type": "number"
  30735. },
  30736. "premium": {
  30737. "description": "权利金",
  30738. "type": "number"
  30739. },
  30740. "qtydecimalplace": {
  30741. "description": "商品成交量小数位",
  30742. "type": "integer"
  30743. },
  30744. "refgoodscode": {
  30745. "description": "标的合约代码",
  30746. "type": "string"
  30747. },
  30748. "refgoodsid": {
  30749. "description": "标的合约id",
  30750. "type": "integer"
  30751. },
  30752. "releaseamount": {
  30753. "description": "释放持仓金额",
  30754. "type": "number"
  30755. },
  30756. "releaseholdercredit": {
  30757. "description": "释放持仓授信金额",
  30758. "type": "number"
  30759. },
  30760. "taname": {
  30761. "description": "资金账号名称",
  30762. "type": "string"
  30763. },
  30764. "tradeamount": {
  30765. "description": "成交金额",
  30766. "type": "number"
  30767. },
  30768. "tradedate": {
  30769. "description": "交易日(yyyyMMdd)",
  30770. "type": "string"
  30771. },
  30772. "tradeid": {
  30773. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30774. "type": "string"
  30775. },
  30776. "trademode": {
  30777. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30778. "type": "integer"
  30779. },
  30780. "tradeproperty": {
  30781. "description": "交易属性",
  30782. "type": "integer"
  30783. },
  30784. "tradetime": {
  30785. "description": "交易时间",
  30786. "type": "string"
  30787. },
  30788. "userid": {
  30789. "description": "用户id",
  30790. "type": "integer"
  30791. },
  30792. "username": {
  30793. "description": "用户名称",
  30794. "type": "string"
  30795. }
  30796. }
  30797. },
  30798. "models.UserCollectConfig": {
  30799. "type": "object",
  30800. "properties": {
  30801. "accountstatus": {
  30802. "description": "账户状态 - 1:正常 2:停用 3:注销",
  30803. "type": "integer"
  30804. },
  30805. "collectaccountname": {
  30806. "description": "收款人账户名称",
  30807. "type": "string"
  30808. },
  30809. "collectaccountno": {
  30810. "description": "收款人账户",
  30811. "type": "string"
  30812. },
  30813. "collectbankname": {
  30814. "description": "收款人开户行",
  30815. "type": "string"
  30816. },
  30817. "collectbranchbankname": {
  30818. "description": "收款人开户支行",
  30819. "type": "string"
  30820. },
  30821. "collectconfigid": {
  30822. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  30823. "type": "string"
  30824. },
  30825. "remark": {
  30826. "description": "备注",
  30827. "type": "string"
  30828. },
  30829. "userid": {
  30830. "description": "收款人用户ID",
  30831. "type": "integer"
  30832. }
  30833. }
  30834. },
  30835. "models.UserReceiveInfo": {
  30836. "type": "object",
  30837. "properties": {
  30838. "address": {
  30839. "description": "提货人详细地址",
  30840. "type": "string"
  30841. },
  30842. "autoid": {
  30843. "description": "AutoID",
  30844. "type": "integer"
  30845. },
  30846. "cardnum": {
  30847. "description": "证件号码(加密存储)",
  30848. "type": "string"
  30849. },
  30850. "cardtypeid": {
  30851. "description": "证件类型",
  30852. "type": "integer"
  30853. },
  30854. "cityid": {
  30855. "description": "市",
  30856. "type": "integer"
  30857. },
  30858. "cityname": {
  30859. "description": "城市名称",
  30860. "type": "string"
  30861. },
  30862. "countryid": {
  30863. "description": "国家",
  30864. "type": "integer"
  30865. },
  30866. "countryname": {
  30867. "description": "国家名称",
  30868. "type": "string"
  30869. },
  30870. "districtid": {
  30871. "description": "地区",
  30872. "type": "integer"
  30873. },
  30874. "districtname": {
  30875. "description": "地区名称",
  30876. "type": "string"
  30877. },
  30878. "hasencrypt": {
  30879. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30880. "type": "integer"
  30881. },
  30882. "isdefault": {
  30883. "description": "是否默认地址 - 0:否 1:是",
  30884. "type": "integer"
  30885. },
  30886. "phonenum": {
  30887. "description": "提货人联系方式(加密存储)",
  30888. "type": "string"
  30889. },
  30890. "provinceid": {
  30891. "description": "省",
  30892. "type": "integer"
  30893. },
  30894. "provincename": {
  30895. "description": "省名称",
  30896. "type": "string"
  30897. },
  30898. "receivername": {
  30899. "description": "提货人姓名",
  30900. "type": "string"
  30901. },
  30902. "takeremark": {
  30903. "description": "提货备注",
  30904. "type": "string"
  30905. },
  30906. "userid": {
  30907. "description": "用户ID",
  30908. "type": "integer"
  30909. }
  30910. }
  30911. },
  30912. "models.Useraccount": {
  30913. "type": "object",
  30914. "required": [
  30915. "userid"
  30916. ],
  30917. "properties": {
  30918. "accountname": {
  30919. "description": "账户名称(机构名称)",
  30920. "type": "string"
  30921. },
  30922. "accountstatus": {
  30923. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30924. "type": "integer"
  30925. },
  30926. "applysrc": {
  30927. "description": "申请来源 - 1:管理端 2:终端",
  30928. "type": "integer"
  30929. },
  30930. "auditremark": {
  30931. "description": "审核备注",
  30932. "type": "string"
  30933. },
  30934. "auditsrc": {
  30935. "description": "审核来源 - 1:管理端 2:终端",
  30936. "type": "integer"
  30937. },
  30938. "audittime": {
  30939. "description": "审核时间",
  30940. "type": "string"
  30941. },
  30942. "audituserid": {
  30943. "description": "审核人",
  30944. "type": "integer"
  30945. },
  30946. "broker": {
  30947. "description": "所属经纪人ID",
  30948. "type": "integer"
  30949. },
  30950. "canceltime": {
  30951. "description": "销户时间",
  30952. "type": "string"
  30953. },
  30954. "canceluserid": {
  30955. "description": "销户人",
  30956. "type": "integer"
  30957. },
  30958. "canrecommend": {
  30959. "description": "是否可推荐 - 0:不可 1;可",
  30960. "type": "integer"
  30961. },
  30962. "createtime": {
  30963. "description": "创建时间",
  30964. "type": "string"
  30965. },
  30966. "creatorid": {
  30967. "description": "创建人",
  30968. "type": "integer"
  30969. },
  30970. "hasauth": {
  30971. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30972. "type": "integer"
  30973. },
  30974. "isanonymous": {
  30975. "description": "是否匿名下单 - 0:否 1:是",
  30976. "type": "integer"
  30977. },
  30978. "maxinvestornum": {
  30979. "description": "最大用户数(经纪会员下投资者个数)",
  30980. "type": "integer"
  30981. },
  30982. "memberuserid": {
  30983. "description": "所属会员ID",
  30984. "type": "integer"
  30985. },
  30986. "modifierid": {
  30987. "description": "修改人",
  30988. "type": "integer"
  30989. },
  30990. "modifyremark": {
  30991. "description": "变更备注",
  30992. "type": "string"
  30993. },
  30994. "modifystatus": {
  30995. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  30996. "type": "integer"
  30997. },
  30998. "modifytime": {
  30999. "description": "修改时间",
  31000. "type": "string"
  31001. },
  31002. "parenttopuser": {
  31003. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31004. "type": "string"
  31005. },
  31006. "parentuserid": {
  31007. "description": "所属机构ID",
  31008. "type": "integer"
  31009. },
  31010. "reckonaccountid": {
  31011. "description": "默认结算资金账号ID(机构分润使用) 作废",
  31012. "type": "integer"
  31013. },
  31014. "refercount": {
  31015. "description": "推荐总人数",
  31016. "type": "integer"
  31017. },
  31018. "refereeuserid": {
  31019. "description": "推荐人ID",
  31020. "type": "integer"
  31021. },
  31022. "refernum": {
  31023. "description": "推荐码",
  31024. "type": "string"
  31025. },
  31026. "rootuserid": {
  31027. "description": "根用户ID",
  31028. "type": "integer"
  31029. },
  31030. "subaccountlevel": {
  31031. "description": "子账户层数",
  31032. "type": "integer"
  31033. },
  31034. "subarealevelpath": {
  31035. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31036. "type": "string"
  31037. },
  31038. "userid": {
  31039. "description": "用户ID",
  31040. "type": "integer"
  31041. },
  31042. "usertype": {
  31043. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31044. "type": "integer"
  31045. }
  31046. }
  31047. },
  31048. "models.Userfavoritegoods": {
  31049. "type": "object",
  31050. "required": [
  31051. "goodsid"
  31052. ],
  31053. "properties": {
  31054. "goodsid": {
  31055. "description": "商品ID",
  31056. "type": "integer"
  31057. }
  31058. }
  31059. },
  31060. "models.Userinfo": {
  31061. "type": "object",
  31062. "required": [
  31063. "userid"
  31064. ],
  31065. "properties": {
  31066. "address": {
  31067. "description": "地址",
  31068. "type": "string"
  31069. },
  31070. "attachment1": {
  31071. "description": "附件1",
  31072. "type": "string"
  31073. },
  31074. "attachment2": {
  31075. "description": "附件2",
  31076. "type": "string"
  31077. },
  31078. "bankaccount": {
  31079. "description": "银行帐号 (加密存储)",
  31080. "type": "string"
  31081. },
  31082. "bankaccountname": {
  31083. "description": "收款人名称",
  31084. "type": "string"
  31085. },
  31086. "bankcardfrontphotourl": {
  31087. "description": "银行卡正面照地址",
  31088. "type": "string"
  31089. },
  31090. "bankid": {
  31091. "description": "银行编码",
  31092. "type": "string"
  31093. },
  31094. "bankname": {
  31095. "description": "银行名称",
  31096. "type": "string"
  31097. },
  31098. "biznature": {
  31099. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31100. "type": "integer"
  31101. },
  31102. "bizscope": {
  31103. "description": "企业经营范围(企业)",
  31104. "type": "string"
  31105. },
  31106. "cardbackphotourl": {
  31107. "description": "证件背面图片地址",
  31108. "type": "string"
  31109. },
  31110. "cardfrontphotourl": {
  31111. "description": "证件正面图片地址",
  31112. "type": "string"
  31113. },
  31114. "cardnum": {
  31115. "description": "证件号码(加密存储)",
  31116. "type": "string"
  31117. },
  31118. "cardtypeid": {
  31119. "description": "证件类型ID",
  31120. "type": "integer"
  31121. },
  31122. "cityid": {
  31123. "description": "市",
  31124. "type": "integer"
  31125. },
  31126. "company": {
  31127. "description": "公司(个人)",
  31128. "type": "string"
  31129. },
  31130. "contactname": {
  31131. "description": "联系人",
  31132. "type": "string"
  31133. },
  31134. "countryid": {
  31135. "description": "国家",
  31136. "type": "integer"
  31137. },
  31138. "createtime": {
  31139. "description": "创建时间",
  31140. "type": "string"
  31141. },
  31142. "creatorid": {
  31143. "description": "创建人",
  31144. "type": "integer"
  31145. },
  31146. "customername": {
  31147. "description": "客户名称(企业名称)",
  31148. "type": "string"
  31149. },
  31150. "districtid": {
  31151. "description": "地区",
  31152. "type": "integer"
  31153. },
  31154. "email": {
  31155. "description": "邮件(加密存储)",
  31156. "type": "string"
  31157. },
  31158. "fax": {
  31159. "description": "传真(加密存储)",
  31160. "type": "string"
  31161. },
  31162. "halfbodyphotourl": {
  31163. "description": "半身照地址",
  31164. "type": "string"
  31165. },
  31166. "hasencrypt": {
  31167. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31168. "type": "integer"
  31169. },
  31170. "headurl": {
  31171. "description": "头像地址",
  31172. "type": "string"
  31173. },
  31174. "legalcardbackphotourl": {
  31175. "description": "法人身份证背面照地址",
  31176. "type": "string"
  31177. },
  31178. "legalcardfrontphotourl": {
  31179. "description": "法人身份证正面照地址",
  31180. "type": "string"
  31181. },
  31182. "legalpersonname": {
  31183. "description": "法人姓名(企业)",
  31184. "type": "string"
  31185. },
  31186. "mobile": {
  31187. "description": "手机号码(加密存储)",
  31188. "type": "string"
  31189. },
  31190. "mobile2": {
  31191. "description": "手机号码[明文-尚志]",
  31192. "type": "string"
  31193. },
  31194. "modifierid": {
  31195. "description": "修改人",
  31196. "type": "integer"
  31197. },
  31198. "modifiertime": {
  31199. "description": "修改时间",
  31200. "type": "string"
  31201. },
  31202. "needinvoice": {
  31203. "description": "是否需要发票 - 0:不需要 1:需要",
  31204. "type": "integer"
  31205. },
  31206. "nickname": {
  31207. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  31208. "type": "string"
  31209. },
  31210. "openmode": {
  31211. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  31212. "type": "integer"
  31213. },
  31214. "otherurl": {
  31215. "description": "其它图片地址[使用分号分隔]",
  31216. "type": "string"
  31217. },
  31218. "postalcode": {
  31219. "description": "邮政编码",
  31220. "type": "string"
  31221. },
  31222. "provinceid": {
  31223. "description": "省",
  31224. "type": "integer"
  31225. },
  31226. "qq": {
  31227. "description": "QQ(加密存储",
  31228. "type": "string"
  31229. },
  31230. "remark": {
  31231. "description": "备注",
  31232. "type": "string"
  31233. },
  31234. "sex": {
  31235. "description": "用户性别 0: 女 1: 男",
  31236. "type": "integer"
  31237. },
  31238. "signpdfurl": {
  31239. "description": "签约pdf文件",
  31240. "type": "string"
  31241. },
  31242. "telphone": {
  31243. "description": "联系电话(加密存储)",
  31244. "type": "string"
  31245. },
  31246. "userid": {
  31247. "description": "用户ID",
  31248. "type": "integer"
  31249. },
  31250. "userinfotype": {
  31251. "description": "用户信息类型 - 1:个人 2:企业",
  31252. "type": "integer"
  31253. },
  31254. "userstatus": {
  31255. "description": "用户状态 - 1:正常 2:注销",
  31256. "type": "integer"
  31257. },
  31258. "usertype": {
  31259. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31260. "type": "integer"
  31261. },
  31262. "wechat": {
  31263. "description": "微信(加密存储)",
  31264. "type": "string"
  31265. },
  31266. "wskhinfo": {
  31267. "description": "开户申请信息(JSON)",
  31268. "type": "string"
  31269. }
  31270. }
  31271. },
  31272. "models.WRSConverTDetail": {
  31273. "type": "object",
  31274. "properties": {
  31275. "convertratio": {
  31276. "description": "套保系数",
  31277. "type": "number"
  31278. },
  31279. "deliverygoodscode": {
  31280. "description": "现货商品代码",
  31281. "type": "string"
  31282. },
  31283. "deliverygoodsid": {
  31284. "description": "现货品种ID",
  31285. "type": "integer"
  31286. },
  31287. "deliverygoodsname": {
  31288. "description": "现货商品名称",
  31289. "type": "string"
  31290. },
  31291. "enumdicname": {
  31292. "description": "单位名称",
  31293. "type": "string"
  31294. },
  31295. "goodsunitid": {
  31296. "description": "套保品种单位id",
  31297. "type": "integer"
  31298. },
  31299. "middlegoodscode": {
  31300. "description": "套保品种代码",
  31301. "type": "string"
  31302. },
  31303. "middlegoodsid": {
  31304. "description": "套保品种ID",
  31305. "type": "integer"
  31306. },
  31307. "middlegoodsname": {
  31308. "description": "套保品种名称",
  31309. "type": "string"
  31310. },
  31311. "modifytime": {
  31312. "description": "修改时间",
  31313. "type": "string"
  31314. },
  31315. "wrstandardid": {
  31316. "description": "品类ID",
  31317. "type": "integer"
  31318. }
  31319. }
  31320. },
  31321. "models.WRStandardInfo": {
  31322. "type": "object",
  31323. "required": [
  31324. "wrstandardid"
  31325. ],
  31326. "properties": {
  31327. "areauserid": {
  31328. "description": "所属机构",
  31329. "type": "integer"
  31330. },
  31331. "convertfactor": {
  31332. "description": "标仓系数",
  31333. "type": "number"
  31334. },
  31335. "createtime": {
  31336. "description": "创建时间",
  31337. "type": "string"
  31338. },
  31339. "creatorid": {
  31340. "description": "创建人",
  31341. "type": "integer"
  31342. },
  31343. "deliverygoodsid": {
  31344. "description": "品种ID",
  31345. "type": "integer"
  31346. },
  31347. "deliverygoodsname": {
  31348. "description": "交割商品名称",
  31349. "type": "string"
  31350. },
  31351. "factoryitemjson": {
  31352. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31353. "type": "string"
  31354. },
  31355. "isvalid": {
  31356. "description": "是否有效 - 0:无效 1:有效",
  31357. "type": "integer"
  31358. },
  31359. "minivalue": {
  31360. "description": "最小变动值",
  31361. "type": "integer"
  31362. },
  31363. "minivaluedp": {
  31364. "description": "最小变动值小数位",
  31365. "type": "integer"
  31366. },
  31367. "realminivalue": {
  31368. "description": "实际最小变动值",
  31369. "type": "integer"
  31370. },
  31371. "realminivaluedp": {
  31372. "description": "实际最小变动值小数位",
  31373. "type": "integer"
  31374. },
  31375. "remark": {
  31376. "description": "备注",
  31377. "type": "string"
  31378. },
  31379. "unitid": {
  31380. "description": "单位ID",
  31381. "type": "integer"
  31382. },
  31383. "unitname": {
  31384. "description": "单位",
  31385. "type": "string"
  31386. },
  31387. "updatetime": {
  31388. "description": "更新时间",
  31389. "type": "string"
  31390. },
  31391. "updatorid": {
  31392. "description": "更新人",
  31393. "type": "integer"
  31394. },
  31395. "wrsstatus": {
  31396. "description": "状态 - 作废 - 0:未激活 1:正常",
  31397. "type": "integer"
  31398. },
  31399. "wrstandardcode": {
  31400. "description": "现货品类代码",
  31401. "type": "string"
  31402. },
  31403. "wrstandardid": {
  31404. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31405. "type": "integer"
  31406. },
  31407. "wrstandardname": {
  31408. "description": "现货品类名称",
  31409. "type": "string"
  31410. }
  31411. }
  31412. },
  31413. "models.WRTradeBargainApply": {
  31414. "type": "object",
  31415. "properties": {
  31416. "accountid": {
  31417. "description": "摘牌资金账号",
  31418. "type": "integer"
  31419. },
  31420. "applyprice": {
  31421. "description": "申请价格(议价价格)",
  31422. "type": "string"
  31423. },
  31424. "applyqty": {
  31425. "description": "摘牌数量(议价数量)",
  31426. "type": "number"
  31427. },
  31428. "applyremark": {
  31429. "description": "申请备注",
  31430. "type": "string"
  31431. },
  31432. "applystatus": {
  31433. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31434. "type": "integer"
  31435. },
  31436. "applytime": {
  31437. "description": "申请时间(议价时间)",
  31438. "type": "string"
  31439. },
  31440. "buyorsell": {
  31441. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31442. "type": "integer"
  31443. },
  31444. "confirmremark": {
  31445. "description": "确认备注",
  31446. "type": "string"
  31447. },
  31448. "confirmtime": {
  31449. "description": "确认时间",
  31450. "type": "string"
  31451. },
  31452. "confirmuserid": {
  31453. "description": "确认人",
  31454. "type": "integer"
  31455. },
  31456. "deliverygoodscode": {
  31457. "description": "品种代码",
  31458. "type": "string"
  31459. },
  31460. "deliverygoodsid": {
  31461. "description": "品种ID",
  31462. "type": "integer"
  31463. },
  31464. "deliverygoodsname": {
  31465. "description": "品种名称",
  31466. "type": "string"
  31467. },
  31468. "deliverymonth": {
  31469. "description": "交收月",
  31470. "type": "string"
  31471. },
  31472. "enumdicname": {
  31473. "description": "单位名称",
  31474. "type": "string"
  31475. },
  31476. "fixedprice": {
  31477. "description": "挂牌价格",
  31478. "type": "number"
  31479. },
  31480. "handlestatus": {
  31481. "description": "处理状态",
  31482. "type": "integer"
  31483. },
  31484. "marginvalue": {
  31485. "description": "履约保证金比例",
  31486. "type": "number"
  31487. },
  31488. "marketid": {
  31489. "description": "市场ID",
  31490. "type": "integer"
  31491. },
  31492. "matchaccountid": {
  31493. "description": "挂牌方资金账号",
  31494. "type": "integer"
  31495. },
  31496. "matchuserid": {
  31497. "description": "挂牌方用户id",
  31498. "type": "integer"
  31499. },
  31500. "matchusername": {
  31501. "description": "挂牌方用户名称(已脱敏)",
  31502. "type": "string"
  31503. },
  31504. "minivalue": {
  31505. "description": "现货商品最小变动值",
  31506. "type": "integer"
  31507. },
  31508. "optioncompare": {
  31509. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31510. "type": "string"
  31511. },
  31512. "orderqty": {
  31513. "description": "挂牌数量",
  31514. "type": "integer"
  31515. },
  31516. "refprice": {
  31517. "description": "参考价格",
  31518. "type": "string"
  31519. },
  31520. "retcode": {
  31521. "description": "委托返回代码",
  31522. "type": "integer"
  31523. },
  31524. "templatename": {
  31525. "description": "履约方式(履约模板名称)",
  31526. "type": "string"
  31527. },
  31528. "tradedate": {
  31529. "description": "交易日(yyyyMMdd)",
  31530. "type": "string"
  31531. },
  31532. "userid": {
  31533. "description": "摘牌人用户ID(议价人ID)",
  31534. "type": "integer"
  31535. },
  31536. "username": {
  31537. "description": "议价人名字(已脱敏)",
  31538. "type": "string"
  31539. },
  31540. "validtime": {
  31541. "description": "有效期限",
  31542. "type": "string"
  31543. },
  31544. "warehouseid": {
  31545. "description": "仓库ID",
  31546. "type": "integer"
  31547. },
  31548. "warehousename": {
  31549. "description": "仓库名称",
  31550. "type": "string"
  31551. },
  31552. "wrbargainid": {
  31553. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31554. "type": "string"
  31555. },
  31556. "wrfactortypeid": {
  31557. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31558. "type": "string"
  31559. },
  31560. "wrfactortypename": {
  31561. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31562. "type": "string"
  31563. },
  31564. "wrstandardcode": {
  31565. "description": "现货商品代码",
  31566. "type": "string"
  31567. },
  31568. "wrstandardid": {
  31569. "description": "现货商品ID",
  31570. "type": "integer"
  31571. },
  31572. "wrstandardname": {
  31573. "description": "商品名称",
  31574. "type": "string"
  31575. },
  31576. "wrtradeorderid": {
  31577. "description": "关联委托单ID",
  31578. "type": "string"
  31579. },
  31580. "wrtypename": {
  31581. "description": "商品",
  31582. "type": "string"
  31583. }
  31584. }
  31585. },
  31586. "models.Warehouseinfo": {
  31587. "type": "object",
  31588. "required": [
  31589. "autoid",
  31590. "warehousecode"
  31591. ],
  31592. "properties": {
  31593. "address": {
  31594. "description": "详细地址",
  31595. "type": "string"
  31596. },
  31597. "areauserid": {
  31598. "description": "所属机构",
  31599. "type": "integer"
  31600. },
  31601. "autoid": {
  31602. "description": "自增ID",
  31603. "type": "integer"
  31604. },
  31605. "cityid": {
  31606. "description": "市",
  31607. "type": "integer"
  31608. },
  31609. "contactname": {
  31610. "description": "联系人",
  31611. "type": "string"
  31612. },
  31613. "contactnum": {
  31614. "description": "联系电话",
  31615. "type": "string"
  31616. },
  31617. "countryid": {
  31618. "description": "国家",
  31619. "type": "integer"
  31620. },
  31621. "createtime": {
  31622. "description": "创建时间",
  31623. "type": "string"
  31624. },
  31625. "districtid": {
  31626. "description": "区",
  31627. "type": "integer"
  31628. },
  31629. "hasvideo": {
  31630. "description": "是否有视频 - 0:无 1:有",
  31631. "type": "integer"
  31632. },
  31633. "provinceid": {
  31634. "description": "省",
  31635. "type": "integer"
  31636. },
  31637. "remark": {
  31638. "description": "审核备注",
  31639. "type": "string"
  31640. },
  31641. "videourl": {
  31642. "description": "视频地址",
  31643. "type": "string"
  31644. },
  31645. "warehousecode": {
  31646. "description": "仓库代码",
  31647. "type": "string"
  31648. },
  31649. "warehousename": {
  31650. "description": "仓库名称",
  31651. "type": "string"
  31652. },
  31653. "warehousestatus": {
  31654. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31655. "type": "integer"
  31656. },
  31657. "warehousetype": {
  31658. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31659. "type": "integer"
  31660. }
  31661. }
  31662. },
  31663. "models.WrAverageTradePrice": {
  31664. "type": "object",
  31665. "properties": {
  31666. "averageprice": {
  31667. "description": "成交均价",
  31668. "type": "number"
  31669. },
  31670. "tradedate": {
  31671. "description": "交易日yyyymm",
  31672. "type": "string"
  31673. }
  31674. }
  31675. },
  31676. "models.WrBsGoodsInfo": {
  31677. "type": "object",
  31678. "properties": {
  31679. "buyorsell": {
  31680. "description": "买卖方向 0-买 1-卖",
  31681. "type": "integer"
  31682. },
  31683. "goodsid": {
  31684. "description": "交易合约ID",
  31685. "type": "integer"
  31686. },
  31687. "lstitem": {
  31688. "description": "商品信息项",
  31689. "type": "array",
  31690. "items": {
  31691. "$ref": "#/definitions/models.WrTypeItem"
  31692. }
  31693. },
  31694. "lststep": {
  31695. "description": "履约规则",
  31696. "type": "array",
  31697. "items": {
  31698. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31699. }
  31700. }
  31701. }
  31702. },
  31703. "models.WrBuybackDetail": {
  31704. "type": "object",
  31705. "properties": {
  31706. "buybackamount": {
  31707. "description": "回购金额",
  31708. "type": "number"
  31709. },
  31710. "buybackqty": {
  31711. "description": "回购数量",
  31712. "type": "number"
  31713. },
  31714. "buybackreleasemargin": {
  31715. "description": "回购释放保证金",
  31716. "type": "number"
  31717. },
  31718. "buybacktime": {
  31719. "description": "回购时间",
  31720. "type": "string"
  31721. },
  31722. "errordesc": {
  31723. "description": "错误描述",
  31724. "type": "string"
  31725. },
  31726. "handlestatus": {
  31727. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31728. "type": "integer"
  31729. },
  31730. "relatedwrid": {
  31731. "description": "关联仓单ID",
  31732. "type": "integer"
  31733. },
  31734. "scfcontractid": {
  31735. "description": "SCF合同ID",
  31736. "type": "string"
  31737. },
  31738. "scfwrbuybackid": {
  31739. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31740. "type": "integer"
  31741. },
  31742. "tradedate": {
  31743. "description": "交易日(yyyyMMdd)",
  31744. "type": "string"
  31745. }
  31746. }
  31747. },
  31748. "models.WrDeliveryAvalidHoldLB": {
  31749. "type": "object",
  31750. "properties": {
  31751. "accountid": {
  31752. "description": "资金账号",
  31753. "type": "integer"
  31754. },
  31755. "avalidqty": {
  31756. "description": "数量(可点选数量)",
  31757. "type": "number"
  31758. },
  31759. "deliverygoodsid": {
  31760. "description": "品种id",
  31761. "type": "integer"
  31762. },
  31763. "enumdicname": {
  31764. "description": "单位名称",
  31765. "type": "string"
  31766. },
  31767. "goodsid": {
  31768. "description": "x合约商品id",
  31769. "type": "integer"
  31770. },
  31771. "ladingbillid": {
  31772. "description": "提单id",
  31773. "type": "string"
  31774. },
  31775. "pgoodscode": {
  31776. "description": "p商品代码(点价合约)",
  31777. "type": "string"
  31778. },
  31779. "pgoodsid": {
  31780. "description": "p商品id(点价合约)",
  31781. "type": "integer"
  31782. },
  31783. "pgoodsname": {
  31784. "description": "p商品名称(点价合约)",
  31785. "type": "string"
  31786. },
  31787. "pricemove": {
  31788. "description": "升贴水",
  31789. "type": "number"
  31790. },
  31791. "subnum": {
  31792. "description": "提单子id",
  31793. "type": "integer"
  31794. },
  31795. "userid": {
  31796. "description": "用户id",
  31797. "type": "integer"
  31798. },
  31799. "username": {
  31800. "description": "仓单持有人",
  31801. "type": "string"
  31802. },
  31803. "warehousecode": {
  31804. "description": "仓库代码",
  31805. "type": "string"
  31806. },
  31807. "warehouseid": {
  31808. "description": "仓库id",
  31809. "type": "integer"
  31810. },
  31811. "warehousename": {
  31812. "description": "仓库名称",
  31813. "type": "string"
  31814. },
  31815. "wrfactortypeid": {
  31816. "description": "仓单要素id",
  31817. "type": "string"
  31818. },
  31819. "wrstandardcode": {
  31820. "description": "品代码",
  31821. "type": "string"
  31822. },
  31823. "wrstandardid": {
  31824. "description": "品类d",
  31825. "type": "integer"
  31826. },
  31827. "wrstandardname": {
  31828. "description": "品类名称",
  31829. "type": "string"
  31830. },
  31831. "wrtypename": {
  31832. "description": "商品",
  31833. "type": "string"
  31834. },
  31835. "xgoodscode": {
  31836. "description": "x合约代码",
  31837. "type": "string"
  31838. },
  31839. "xgoodsname": {
  31840. "description": "x合约名称",
  31841. "type": "string"
  31842. }
  31843. }
  31844. },
  31845. "models.WrDeliveryDetail": {
  31846. "type": "object",
  31847. "properties": {
  31848. "accountid": {
  31849. "description": "账号ID",
  31850. "type": "integer"
  31851. },
  31852. "averageprice": {
  31853. "description": "交割均价 = 交割金额 / 交割数量",
  31854. "type": "number"
  31855. },
  31856. "buyorsell": {
  31857. "description": "方向 - 0:买 1:卖",
  31858. "type": "integer"
  31859. },
  31860. "deliveryamount": {
  31861. "description": "货款金额(X总货款+P总货款)",
  31862. "type": "number"
  31863. },
  31864. "deliveryid": {
  31865. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  31866. "type": "string"
  31867. },
  31868. "deliveryorderid": {
  31869. "description": "申报单号",
  31870. "type": "string"
  31871. },
  31872. "deliverypricemove": {
  31873. "description": "升贴水(升贴水总额)",
  31874. "type": "number"
  31875. },
  31876. "deliveryqty": {
  31877. "description": "交收数量(点选数量)",
  31878. "type": "number"
  31879. },
  31880. "deliverystatus": {
  31881. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  31882. "type": "integer"
  31883. },
  31884. "deliverytime": {
  31885. "description": "交割时间",
  31886. "type": "string"
  31887. },
  31888. "deliverytotalamount": {
  31889. "description": "交收金额",
  31890. "type": "number"
  31891. },
  31892. "enumdicname": {
  31893. "description": "单位名称",
  31894. "type": "string"
  31895. },
  31896. "matchaccountid": {
  31897. "description": "对手账号ID",
  31898. "type": "integer"
  31899. },
  31900. "matchusername": {
  31901. "description": "对手方名称(仓单持有人)",
  31902. "type": "string"
  31903. },
  31904. "p1goodsremainamount": {
  31905. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31906. "type": "number"
  31907. },
  31908. "pdeliverycloseqty": {
  31909. "description": "p合约平仓数量",
  31910. "type": "number"
  31911. },
  31912. "pdeliveryprice": {
  31913. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31914. "type": "number"
  31915. },
  31916. "pgoodscode": {
  31917. "description": "商品代码",
  31918. "type": "string"
  31919. },
  31920. "pgoodsid": {
  31921. "description": "p点选合约id",
  31922. "type": "integer"
  31923. },
  31924. "pgoodsname": {
  31925. "description": "商品名称",
  31926. "type": "string"
  31927. },
  31928. "ppricemode": {
  31929. "description": "点价价格方式 - 1:商品价 2:固定值",
  31930. "type": "integer"
  31931. },
  31932. "tradedate": {
  31933. "description": "交易日(yyyymmdd)",
  31934. "type": "string"
  31935. },
  31936. "userid": {
  31937. "description": "用户id",
  31938. "type": "integer"
  31939. },
  31940. "username": {
  31941. "description": "用户名称",
  31942. "type": "string"
  31943. },
  31944. "warehousename": {
  31945. "description": "仓库名称",
  31946. "type": "string"
  31947. },
  31948. "wrfactortypeid": {
  31949. "description": "仓单要素类型ID",
  31950. "type": "string"
  31951. },
  31952. "wrtypename": {
  31953. "description": "商品",
  31954. "type": "string"
  31955. },
  31956. "xdeliverycloseqty": {
  31957. "description": "合约数量",
  31958. "type": "number"
  31959. },
  31960. "xgoodsamount": {
  31961. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  31962. "type": "number"
  31963. },
  31964. "xgoodscode": {
  31965. "description": "商品代码",
  31966. "type": "string"
  31967. },
  31968. "xgoodsid": {
  31969. "description": "x交易合约ID",
  31970. "type": "integer"
  31971. },
  31972. "xgoodsname": {
  31973. "description": "商品名称",
  31974. "type": "string"
  31975. }
  31976. }
  31977. },
  31978. "models.WrFAProductDetail": {
  31979. "type": "object",
  31980. "properties": {
  31981. "accountid": {
  31982. "description": "资金账号",
  31983. "type": "integer"
  31984. },
  31985. "areauserid": {
  31986. "description": "金融机构ID",
  31987. "type": "integer"
  31988. },
  31989. "financingdays": {
  31990. "description": "天数(天)",
  31991. "type": "integer"
  31992. },
  31993. "interestminlen": {
  31994. "description": "最小起息天数",
  31995. "type": "integer"
  31996. },
  31997. "interestrate": {
  31998. "description": "利率",
  31999. "type": "number"
  32000. },
  32001. "interestratemode": {
  32002. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32003. "type": "integer"
  32004. },
  32005. "interestsettlemode": {
  32006. "description": "结息方式 - 1:按日结息 3:按月结息",
  32007. "type": "integer"
  32008. },
  32009. "interestsettlevalue": {
  32010. "description": "结息方式值",
  32011. "type": "integer"
  32012. },
  32013. "isautoloan": {
  32014. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32015. "type": "integer"
  32016. },
  32017. "loantag": {
  32018. "description": "放款标识: \"放款快\" 或者为空",
  32019. "type": "string"
  32020. },
  32021. "marginratio": {
  32022. "description": "保证金比率质押率 - [仓单质押]",
  32023. "type": "number"
  32024. },
  32025. "productdetailid": {
  32026. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32027. "type": "integer"
  32028. },
  32029. "productid": {
  32030. "description": "金融产品ID",
  32031. "type": "integer"
  32032. },
  32033. "productname": {
  32034. "description": "产品名称",
  32035. "type": "string"
  32036. },
  32037. "updatetime": {
  32038. "description": "更新时间",
  32039. "type": "string"
  32040. },
  32041. "username": {
  32042. "description": "融出方",
  32043. "type": "string"
  32044. }
  32045. }
  32046. },
  32047. "models.WrFactorTypeInfo": {
  32048. "type": "object",
  32049. "properties": {
  32050. "deliverygoodscode": {
  32051. "description": "品种代码",
  32052. "type": "string"
  32053. },
  32054. "deliverygoodsname": {
  32055. "description": "品种名称",
  32056. "type": "string"
  32057. },
  32058. "dgfactoryitemid": {
  32059. "description": "选择项id",
  32060. "type": "integer"
  32061. },
  32062. "dgfactoryitemtypeid": {
  32063. "description": "要素选择项ID (1-仓库 2-品牌)",
  32064. "type": "integer"
  32065. },
  32066. "dgfactoryitemvalue": {
  32067. "description": "要素项值",
  32068. "type": "string"
  32069. },
  32070. "itemtypename": {
  32071. "description": "要素项名称",
  32072. "type": "string"
  32073. },
  32074. "optioncompare": {
  32075. "description": "选择比较串",
  32076. "type": "string"
  32077. },
  32078. "warehouseid": {
  32079. "description": "仓库id",
  32080. "type": "integer"
  32081. },
  32082. "wrfactortypeid": {
  32083. "description": "仓单要素ID",
  32084. "type": "string"
  32085. },
  32086. "wrfactortypename": {
  32087. "description": "要素名称",
  32088. "type": "string"
  32089. },
  32090. "wrfactortypename2": {
  32091. "description": "要素名称(不含仓库)",
  32092. "type": "string"
  32093. },
  32094. "wrstandardcode": {
  32095. "description": "品类代码",
  32096. "type": "string"
  32097. },
  32098. "wrstandardid": {
  32099. "description": "品类id",
  32100. "type": "integer"
  32101. },
  32102. "wrstandardname": {
  32103. "description": "品类名称",
  32104. "type": "string"
  32105. }
  32106. }
  32107. },
  32108. "models.WrFilterItem": {
  32109. "type": "object",
  32110. "properties": {
  32111. "itemcode": {
  32112. "description": "代码",
  32113. "type": "string"
  32114. },
  32115. "itemid": {
  32116. "description": "项id",
  32117. "type": "integer"
  32118. },
  32119. "itemname": {
  32120. "description": "名称",
  32121. "type": "string"
  32122. },
  32123. "itemtype": {
  32124. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32125. "type": "integer"
  32126. }
  32127. }
  32128. },
  32129. "models.WrFinanceBuyApply": {
  32130. "type": "object",
  32131. "properties": {
  32132. "applydate": {
  32133. "description": "申请时间",
  32134. "type": "string"
  32135. },
  32136. "applystatus": {
  32137. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32138. "type": "integer"
  32139. },
  32140. "applyuserid": {
  32141. "description": "申请人",
  32142. "type": "integer"
  32143. },
  32144. "auditdate": {
  32145. "description": "审核时间",
  32146. "type": "string"
  32147. },
  32148. "auditremark": {
  32149. "description": "审核备注",
  32150. "type": "string"
  32151. },
  32152. "audituserid": {
  32153. "description": "审核人",
  32154. "type": "integer"
  32155. },
  32156. "buyaccountid": {
  32157. "description": "买方资金账号",
  32158. "type": "integer"
  32159. },
  32160. "buyorsell": {
  32161. "description": "买卖 - 0:买 1:卖",
  32162. "type": "integer"
  32163. },
  32164. "buyuserid": {
  32165. "description": "买方用户ID",
  32166. "type": "integer"
  32167. },
  32168. "buyusername": {
  32169. "description": "买方名称",
  32170. "type": "string"
  32171. },
  32172. "buywrtradeorderid": {
  32173. "description": "融资方买委托单ID",
  32174. "type": "string"
  32175. },
  32176. "deliverygoodscode": {
  32177. "description": "品种代码",
  32178. "type": "string"
  32179. },
  32180. "deliverygoodsid": {
  32181. "description": "品种ID",
  32182. "type": "integer"
  32183. },
  32184. "deliverygoodsname": {
  32185. "description": "品种名称",
  32186. "type": "string"
  32187. },
  32188. "deliverymonth": {
  32189. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32190. "type": "string"
  32191. },
  32192. "enumdicname": {
  32193. "description": "单位名称",
  32194. "type": "string"
  32195. },
  32196. "financeaccountid": {
  32197. "description": "融资方资金帐户ID",
  32198. "type": "integer"
  32199. },
  32200. "financeapplyid": {
  32201. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32202. "type": "string"
  32203. },
  32204. "financeareauserid": {
  32205. "description": "融资方用户ID",
  32206. "type": "string"
  32207. },
  32208. "financename": {
  32209. "description": "融出方名称",
  32210. "type": "string"
  32211. },
  32212. "financetype": {
  32213. "description": "融资类型 1-融资回购",
  32214. "type": "integer"
  32215. },
  32216. "financingdays": {
  32217. "description": "天数(天)",
  32218. "type": "integer"
  32219. },
  32220. "freezebuymargin": {
  32221. "description": "冻结融资保证金(买方)",
  32222. "type": "number"
  32223. },
  32224. "handleremark": {
  32225. "description": "处理备注",
  32226. "type": "string"
  32227. },
  32228. "handlestatus": {
  32229. "description": "处理状态",
  32230. "type": "integer"
  32231. },
  32232. "interestminlen": {
  32233. "description": "最小起息天数",
  32234. "type": "integer"
  32235. },
  32236. "interestrate": {
  32237. "description": "利率",
  32238. "type": "number"
  32239. },
  32240. "interestratemode": {
  32241. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32242. "type": "integer"
  32243. },
  32244. "interestsettlemode": {
  32245. "description": "结息方式 - 1:按日结息 3:按月结息",
  32246. "type": "integer"
  32247. },
  32248. "interestsettlevalue": {
  32249. "description": "结息方式值",
  32250. "type": "integer"
  32251. },
  32252. "isautoloan": {
  32253. "description": "是否自动放款 - 0:手动 1:自动",
  32254. "type": "integer"
  32255. },
  32256. "marginratio": {
  32257. "description": "保证金比率质押率 - [仓单质押]",
  32258. "type": "number"
  32259. },
  32260. "marketid": {
  32261. "description": "市场ID",
  32262. "type": "integer"
  32263. },
  32264. "minivalue": {
  32265. "description": "现货商品最小变动值",
  32266. "type": "integer"
  32267. },
  32268. "optioncompare": {
  32269. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32270. "type": "string"
  32271. },
  32272. "orderqty": {
  32273. "description": "委托数量(商品数量)",
  32274. "type": "number"
  32275. },
  32276. "productdetailid": {
  32277. "description": "产品组合ID",
  32278. "type": "integer"
  32279. },
  32280. "productid": {
  32281. "description": "金融产品ID",
  32282. "type": "integer"
  32283. },
  32284. "productname": {
  32285. "description": "产品名称",
  32286. "type": "string"
  32287. },
  32288. "remark": {
  32289. "description": "备注",
  32290. "type": "string"
  32291. },
  32292. "scfcontractid": {
  32293. "description": "仓单回购合同ID",
  32294. "type": "string"
  32295. },
  32296. "sellaccountid": {
  32297. "description": "卖方资金账号",
  32298. "type": "integer"
  32299. },
  32300. "selluserid": {
  32301. "description": "卖方用户ID",
  32302. "type": "integer"
  32303. },
  32304. "sellwrtradeorderid": {
  32305. "description": "卖方委托单ID",
  32306. "type": "string"
  32307. },
  32308. "tradeamount": {
  32309. "description": "成交金额(借款金额)",
  32310. "type": "number"
  32311. },
  32312. "tradedate": {
  32313. "description": "交易日(yyyyMMdd)",
  32314. "type": "string"
  32315. },
  32316. "tradeprice": {
  32317. "description": "成交价格",
  32318. "type": "number"
  32319. },
  32320. "warehouseid": {
  32321. "description": "仓库ID",
  32322. "type": "integer"
  32323. },
  32324. "warehousename": {
  32325. "description": "仓库名称",
  32326. "type": "string"
  32327. },
  32328. "wrfactortypeid": {
  32329. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32330. "type": "string"
  32331. },
  32332. "wrfactortypename": {
  32333. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32334. "type": "string"
  32335. },
  32336. "wrpricetype": {
  32337. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  32338. "type": "integer"
  32339. },
  32340. "wrstandardcode": {
  32341. "description": "现货商品代码",
  32342. "type": "string"
  32343. },
  32344. "wrstandardid": {
  32345. "description": "现货商品ID",
  32346. "type": "integer"
  32347. },
  32348. "wrstandardname": {
  32349. "description": "商品名称",
  32350. "type": "string"
  32351. },
  32352. "wrtypename": {
  32353. "description": "商品",
  32354. "type": "string"
  32355. }
  32356. }
  32357. },
  32358. "models.WrFriendApply": {
  32359. "type": "object",
  32360. "properties": {
  32361. "applicantid": {
  32362. "description": "申请人",
  32363. "type": "integer"
  32364. },
  32365. "applyname": {
  32366. "description": "申请人名称",
  32367. "type": "string"
  32368. },
  32369. "applysrc": {
  32370. "description": "申请来源 - 1:管理端 2:终端",
  32371. "type": "integer"
  32372. },
  32373. "applystatus": {
  32374. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32375. "type": "integer"
  32376. },
  32377. "applytime": {
  32378. "description": "申请时间",
  32379. "type": "string"
  32380. },
  32381. "auditname": {
  32382. "description": "审核人名称",
  32383. "type": "string"
  32384. },
  32385. "auditorid": {
  32386. "description": "审核人",
  32387. "type": "integer"
  32388. },
  32389. "auditremark": {
  32390. "description": "审核备注",
  32391. "type": "string"
  32392. },
  32393. "auditsrc": {
  32394. "description": "审核来源 - 1:管理端 2:终端",
  32395. "type": "integer"
  32396. },
  32397. "audittime": {
  32398. "description": "审核时间",
  32399. "type": "string"
  32400. },
  32401. "friendapplyid": {
  32402. "description": "申请ID(SEQ_FRIENDAPPLY)",
  32403. "type": "string"
  32404. },
  32405. "friendname": {
  32406. "description": "好友名字(已脱敏)",
  32407. "type": "string"
  32408. },
  32409. "frienduserid": {
  32410. "description": "好友用户ID",
  32411. "type": "string"
  32412. },
  32413. "remark": {
  32414. "description": "备注",
  32415. "type": "string"
  32416. },
  32417. "userid": {
  32418. "description": "申请人用户ID",
  32419. "type": "integer"
  32420. }
  32421. }
  32422. },
  32423. "models.WrFtDeliveryGoods": {
  32424. "type": "object",
  32425. "properties": {
  32426. "deliverygoodscode": {
  32427. "description": "品种代码",
  32428. "type": "string"
  32429. },
  32430. "deliverygoodsid": {
  32431. "description": "品种ID",
  32432. "type": "integer"
  32433. },
  32434. "deliverygoodsname": {
  32435. "description": "品种名称",
  32436. "type": "string"
  32437. },
  32438. "wdlst": {
  32439. "description": "商品列表",
  32440. "type": "array",
  32441. "items": {
  32442. "$ref": "#/definitions/models.WrFtWrstandard"
  32443. }
  32444. }
  32445. }
  32446. },
  32447. "models.WrFtWrstandard": {
  32448. "type": "object",
  32449. "properties": {
  32450. "enumdicname": {
  32451. "description": "单位名称",
  32452. "type": "string"
  32453. },
  32454. "minivalue": {
  32455. "description": "最小变动值",
  32456. "type": "integer"
  32457. },
  32458. "wrstandardcode": {
  32459. "description": "现货商品代码",
  32460. "type": "string"
  32461. },
  32462. "wrstandardid": {
  32463. "description": "现货商品ID",
  32464. "type": "integer"
  32465. },
  32466. "wrstandardname": {
  32467. "description": "商品名称",
  32468. "type": "string"
  32469. }
  32470. }
  32471. },
  32472. "models.WrGoodsInfo": {
  32473. "type": "object",
  32474. "properties": {
  32475. "haswr": {
  32476. "description": "0:仓单预售 1:仓单贸易",
  32477. "type": "integer"
  32478. },
  32479. "lstitem": {
  32480. "description": "商品信息项",
  32481. "type": "array",
  32482. "items": {
  32483. "$ref": "#/definitions/models.WrTypeItem"
  32484. }
  32485. },
  32486. "lststep": {
  32487. "description": "履约规则",
  32488. "type": "array",
  32489. "items": {
  32490. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32491. }
  32492. },
  32493. "marketid": {
  32494. "description": "市场id",
  32495. "type": "integer"
  32496. }
  32497. }
  32498. },
  32499. "models.WrGoodsPerformanceStep": {
  32500. "type": "object",
  32501. "properties": {
  32502. "autoid": {
  32503. "description": "AutoID",
  32504. "type": "integer"
  32505. },
  32506. "isauto": {
  32507. "description": "是否自动 - 0:不自动 1:自动",
  32508. "type": "integer"
  32509. },
  32510. "remark": {
  32511. "description": "备注",
  32512. "type": "string"
  32513. },
  32514. "stepdate": {
  32515. "description": "天数信息(T+N)",
  32516. "type": "string"
  32517. },
  32518. "stepdays": {
  32519. "description": "距离上一步天数",
  32520. "type": "integer"
  32521. },
  32522. "stepindex": {
  32523. "description": "步骤序号",
  32524. "type": "integer"
  32525. },
  32526. "stepinfo": {
  32527. "description": "步骤信息(步骤名称+步骤值)",
  32528. "type": "string"
  32529. },
  32530. "steptypeid": {
  32531. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32532. "type": "integer"
  32533. },
  32534. "steptypename": {
  32535. "description": "步骤名称",
  32536. "type": "string"
  32537. },
  32538. "stepvalue": {
  32539. "description": "步骤值",
  32540. "type": "number"
  32541. },
  32542. "templateid": {
  32543. "description": "履约计划模板ID",
  32544. "type": "integer"
  32545. }
  32546. }
  32547. },
  32548. "models.WrHoldLB": {
  32549. "type": "object",
  32550. "properties": {
  32551. "accountid": {
  32552. "description": "持有人帐户ID",
  32553. "type": "integer"
  32554. },
  32555. "createtime": {
  32556. "description": "创建时间(过户时间)",
  32557. "type": "string"
  32558. },
  32559. "deliverygoodscode": {
  32560. "description": "品种代码",
  32561. "type": "string"
  32562. },
  32563. "deliverygoodsid": {
  32564. "description": "品种ID",
  32565. "type": "integer"
  32566. },
  32567. "deliverygoodsname": {
  32568. "description": "品种名称",
  32569. "type": "string"
  32570. },
  32571. "enableqty": {
  32572. "description": "可用数量",
  32573. "type": "number"
  32574. },
  32575. "enumdicname": {
  32576. "description": "单位名称",
  32577. "type": "string"
  32578. },
  32579. "freezerqty": {
  32580. "description": "冻结数量",
  32581. "type": "number"
  32582. },
  32583. "ladingbillid": {
  32584. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32585. "type": "string"
  32586. },
  32587. "minivalue": {
  32588. "description": "现货商品最小变动值",
  32589. "type": "integer"
  32590. },
  32591. "optioncompare": {
  32592. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32593. "type": "string"
  32594. },
  32595. "parentsubnum": {
  32596. "description": "拆分父子单号",
  32597. "type": "integer"
  32598. },
  32599. "pledgeqty": {
  32600. "description": "质押数量",
  32601. "type": "number"
  32602. },
  32603. "qty": {
  32604. "description": "数量",
  32605. "type": "number"
  32606. },
  32607. "subnum": {
  32608. "description": "提单子单号",
  32609. "type": "integer"
  32610. },
  32611. "tradedate": {
  32612. "description": "交易日(yyyyMMdd)",
  32613. "type": "string"
  32614. },
  32615. "userid": {
  32616. "description": "持有人ID",
  32617. "type": "integer"
  32618. },
  32619. "warehouseid": {
  32620. "description": "仓库ID",
  32621. "type": "integer"
  32622. },
  32623. "warehousename": {
  32624. "description": "仓库名称",
  32625. "type": "string"
  32626. },
  32627. "wrfactortypeid": {
  32628. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32629. "type": "string"
  32630. },
  32631. "wrfactortypename": {
  32632. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32633. "type": "string"
  32634. },
  32635. "wrholdeno": {
  32636. "description": "仓单编号",
  32637. "type": "string"
  32638. },
  32639. "wrid": {
  32640. "description": "仓单变更ID",
  32641. "type": "string"
  32642. },
  32643. "wrstandardcode": {
  32644. "description": "现货商品代码",
  32645. "type": "string"
  32646. },
  32647. "wrstandardid": {
  32648. "description": "现货商品ID",
  32649. "type": "integer"
  32650. },
  32651. "wrstandardname": {
  32652. "description": "商品名称",
  32653. "type": "string"
  32654. },
  32655. "wrtypename": {
  32656. "description": "商品",
  32657. "type": "string"
  32658. }
  32659. }
  32660. },
  32661. "models.WrMarketTradeConfig": {
  32662. "type": "object",
  32663. "properties": {
  32664. "basisdownratio": {
  32665. "description": "浮动价基差下限比例(仓单贸易)",
  32666. "type": "number"
  32667. },
  32668. "basisupratio": {
  32669. "description": "浮动价基差上限比例(仓单贸易)",
  32670. "type": "number"
  32671. },
  32672. "buychargealgorithm": {
  32673. "description": "买方手续费收取方式 1:比率 2:固定",
  32674. "type": "integer"
  32675. },
  32676. "buychargealgorithm2": {
  32677. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32678. "type": "integer"
  32679. },
  32680. "buychargealgorithmvalue": {
  32681. "description": "买方手续费设置值(交易所部分)",
  32682. "type": "number"
  32683. },
  32684. "buychargealgorithmvalue2": {
  32685. "description": "买方手续费设置值(会员部分)",
  32686. "type": "number"
  32687. },
  32688. "buychargealgorithmvalue3": {
  32689. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  32690. "type": "number"
  32691. },
  32692. "buychargealgorithmvalue4": {
  32693. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  32694. "type": "number"
  32695. },
  32696. "buyfirstmarginalgorithm": {
  32697. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  32698. "type": "integer"
  32699. },
  32700. "buyfirstmarginvalue": {
  32701. "description": "买方出价保证金设置值 - [竞拍]",
  32702. "type": "number"
  32703. },
  32704. "buymarginalgorithm": {
  32705. "description": "买方保证金方式 - 1:比率 2:固定",
  32706. "type": "integer"
  32707. },
  32708. "buymarginvalue": {
  32709. "description": "买方保证金设置值",
  32710. "type": "number"
  32711. },
  32712. "buyreleaseratio": {
  32713. "description": "买方释放比率[2:分步履约]",
  32714. "type": "number"
  32715. },
  32716. "executemode": {
  32717. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  32718. "type": "integer"
  32719. },
  32720. "executeside": {
  32721. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  32722. "type": "integer"
  32723. },
  32724. "failedchargealgorithm": {
  32725. "description": "流拍手续费收取方式 1:比率 2:固定",
  32726. "type": "integer"
  32727. },
  32728. "failedchargevalue": {
  32729. "description": "流拍手续费设置值",
  32730. "type": "number"
  32731. },
  32732. "failedchargevalue2": {
  32733. "description": "流拍卖方手续费设置值",
  32734. "type": "number"
  32735. },
  32736. "holddays": {
  32737. "description": "合同期限[2:分步履约]",
  32738. "type": "integer"
  32739. },
  32740. "marketid": {
  32741. "description": "市场ID-仓单贸易、竞拍、预售",
  32742. "type": "integer"
  32743. },
  32744. "minqty": {
  32745. "description": "最小执行量[2:分步履约]",
  32746. "type": "number"
  32747. },
  32748. "modifierid": {
  32749. "description": "修改人",
  32750. "type": "integer"
  32751. },
  32752. "performancetempid": {
  32753. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32754. "type": "integer"
  32755. },
  32756. "performancetempid2": {
  32757. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32758. "type": "integer"
  32759. },
  32760. "performanceway": {
  32761. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  32762. "type": "integer"
  32763. },
  32764. "sellchargealgorithm": {
  32765. "description": "卖方手续费收取方式 1:比率 2:固定",
  32766. "type": "integer"
  32767. },
  32768. "sellchargealgorithm2": {
  32769. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32770. "type": "integer"
  32771. },
  32772. "sellchargealgorithmvalue": {
  32773. "description": "卖方手续费设置值(交易所部分)",
  32774. "type": "number"
  32775. },
  32776. "sellchargealgorithmvalue2": {
  32777. "description": "卖方手续费设置值(会员部分)",
  32778. "type": "number"
  32779. },
  32780. "sellchargealgorithmvalue3": {
  32781. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  32782. "type": "number"
  32783. },
  32784. "sellchargealgorithmvalue4": {
  32785. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  32786. "type": "number"
  32787. },
  32788. "sellmarginalgorithm": {
  32789. "description": "卖方保证金方式 - 1:比率 2:固定",
  32790. "type": "integer"
  32791. },
  32792. "sellmarginvalue": {
  32793. "description": "卖方保证金设置值",
  32794. "type": "number"
  32795. },
  32796. "sellmarginvalue2": {
  32797. "description": "卖方保证金设置值(无仓单)",
  32798. "type": "number"
  32799. },
  32800. "sellreleaseratio": {
  32801. "description": "卖方释放比率[2:分步履约]",
  32802. "type": "number"
  32803. },
  32804. "updatetime": {
  32805. "description": "更新时间",
  32806. "type": "string"
  32807. }
  32808. }
  32809. },
  32810. "models.WrOrderDetail": {
  32811. "type": "object",
  32812. "properties": {
  32813. "accountid": {
  32814. "description": "交易账号(资金账号)",
  32815. "type": "integer"
  32816. },
  32817. "allfriendsflag": {
  32818. "description": "是否全好友可见 - 0:否 1:是",
  32819. "type": "integer"
  32820. },
  32821. "amount": {
  32822. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  32823. "type": "number"
  32824. },
  32825. "buyorsell": {
  32826. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32827. "type": "integer"
  32828. },
  32829. "canbargain": {
  32830. "description": "是否可议价 - 0:不可 1:可",
  32831. "type": "integer"
  32832. },
  32833. "cancelqty": {
  32834. "description": "撤销数量",
  32835. "type": "number"
  32836. },
  32837. "canpart": {
  32838. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  32839. "type": "integer"
  32840. },
  32841. "delistminqty": {
  32842. "description": "起摘数量",
  32843. "type": "integer"
  32844. },
  32845. "deliverygoodscode": {
  32846. "description": "品种代码",
  32847. "type": "string"
  32848. },
  32849. "deliverygoodsid": {
  32850. "description": "品种ID",
  32851. "type": "integer"
  32852. },
  32853. "deliverygoodsname": {
  32854. "description": "品种名称",
  32855. "type": "string"
  32856. },
  32857. "deliverymonth": {
  32858. "description": "交收月",
  32859. "type": "string"
  32860. },
  32861. "enumdicname": {
  32862. "description": "单位名称",
  32863. "type": "string"
  32864. },
  32865. "fixedprice": {
  32866. "description": "固定价格 - [挂牌]",
  32867. "type": "number"
  32868. },
  32869. "freezemargin": {
  32870. "description": "冻结保证金(保证金)",
  32871. "type": "number"
  32872. },
  32873. "futupricemove": {
  32874. "description": "期货升贴水",
  32875. "type": "number"
  32876. },
  32877. "futushow": {
  32878. "description": "期货合约/升贴水",
  32879. "type": "string"
  32880. },
  32881. "goodscode": {
  32882. "description": "期货合约",
  32883. "type": "string"
  32884. },
  32885. "goodsid": {
  32886. "description": "期货商品id",
  32887. "type": "integer"
  32888. },
  32889. "goodsname": {
  32890. "description": "商品名称",
  32891. "type": "string"
  32892. },
  32893. "haswr": {
  32894. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32895. "type": "integer"
  32896. },
  32897. "isspecified": {
  32898. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  32899. "type": "integer"
  32900. },
  32901. "ladingbillid": {
  32902. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32903. "type": "string"
  32904. },
  32905. "marginvalue": {
  32906. "description": "保证金设置值(履约保证金)",
  32907. "type": "number"
  32908. },
  32909. "marketid": {
  32910. "description": "市场ID",
  32911. "type": "integer"
  32912. },
  32913. "matchusername": {
  32914. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  32915. "type": "string"
  32916. },
  32917. "minivalue": {
  32918. "description": "现货商品最小变动值",
  32919. "type": "integer"
  32920. },
  32921. "optioncompare": {
  32922. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32923. "type": "string"
  32924. },
  32925. "orderqty": {
  32926. "description": "委托数量",
  32927. "type": "number"
  32928. },
  32929. "ordertime": {
  32930. "description": "委托时间(挂牌时间)",
  32931. "type": "string"
  32932. },
  32933. "performancetemplateid": {
  32934. "description": "履约模板id",
  32935. "type": "integer"
  32936. },
  32937. "pricemove": {
  32938. "description": "升贴水(浮动价时填写) - [挂牌]",
  32939. "type": "number"
  32940. },
  32941. "taname": {
  32942. "description": "交易用户名称(资金账号名称)",
  32943. "type": "string"
  32944. },
  32945. "tradedate": {
  32946. "description": "交易日(yyyyMMdd)",
  32947. "type": "string"
  32948. },
  32949. "tradeprice": {
  32950. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32951. "type": "number"
  32952. },
  32953. "tradeqty": {
  32954. "description": "成交数量",
  32955. "type": "number"
  32956. },
  32957. "userid": {
  32958. "description": "用户ID",
  32959. "type": "integer"
  32960. },
  32961. "validtime": {
  32962. "description": "挂牌有效期",
  32963. "type": "string"
  32964. },
  32965. "warehouseid": {
  32966. "description": "仓库ID",
  32967. "type": "integer"
  32968. },
  32969. "warehousename": {
  32970. "description": "仓库名称",
  32971. "type": "string"
  32972. },
  32973. "wrfactortypeid": {
  32974. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32975. "type": "string"
  32976. },
  32977. "wrfactortypename": {
  32978. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32979. "type": "string"
  32980. },
  32981. "wrpricetype": {
  32982. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32983. "type": "integer"
  32984. },
  32985. "wrstandardcode": {
  32986. "description": "现货商品代码",
  32987. "type": "string"
  32988. },
  32989. "wrstandardid": {
  32990. "description": "现货商品ID",
  32991. "type": "integer"
  32992. },
  32993. "wrstandardname": {
  32994. "description": "商品名称",
  32995. "type": "string"
  32996. },
  32997. "wrtradeorderid": {
  32998. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32999. "type": "string"
  33000. },
  33001. "wrtradeorderstatus": {
  33002. "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:撤单解冻贷款失败",
  33003. "type": "integer"
  33004. },
  33005. "wrtradetype": {
  33006. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33007. "type": "integer"
  33008. },
  33009. "wrtypename": {
  33010. "description": "商品",
  33011. "type": "string"
  33012. }
  33013. }
  33014. },
  33015. "models.WrOrderQuote": {
  33016. "type": "object",
  33017. "properties": {
  33018. "buyprice": {
  33019. "description": "买价",
  33020. "type": "number"
  33021. },
  33022. "buypricemove": {
  33023. "description": "买升贴水(基差)",
  33024. "type": "number"
  33025. },
  33026. "buyqty": {
  33027. "description": "买量",
  33028. "type": "number"
  33029. },
  33030. "deliverygoodscode": {
  33031. "description": "品种代码",
  33032. "type": "string"
  33033. },
  33034. "deliverygoodsid": {
  33035. "description": "品种id",
  33036. "type": "integer"
  33037. },
  33038. "deliverygoodsname": {
  33039. "description": "品种名称",
  33040. "type": "string"
  33041. },
  33042. "deliverymonth": {
  33043. "description": "交收月",
  33044. "type": "string"
  33045. },
  33046. "enumdicname": {
  33047. "description": "单位名称",
  33048. "type": "string"
  33049. },
  33050. "goodscode": {
  33051. "description": "商品合约(浮动价列表才有)",
  33052. "type": "string"
  33053. },
  33054. "goodsid": {
  33055. "description": "商品id(浮动价列表才有)",
  33056. "type": "integer"
  33057. },
  33058. "minivalue": {
  33059. "description": "现货商品最小变动值",
  33060. "type": "integer"
  33061. },
  33062. "sellprice": {
  33063. "description": "卖价",
  33064. "type": "number"
  33065. },
  33066. "sellpricemove": {
  33067. "description": "卖升贴水(基差)",
  33068. "type": "number"
  33069. },
  33070. "sellqty": {
  33071. "description": "卖量",
  33072. "type": "number"
  33073. },
  33074. "warehousecode": {
  33075. "description": "仓库代码",
  33076. "type": "string"
  33077. },
  33078. "warehouseid": {
  33079. "description": "仓库id",
  33080. "type": "integer"
  33081. },
  33082. "warehousename": {
  33083. "description": "仓库名称",
  33084. "type": "string"
  33085. },
  33086. "wrfactortypeid": {
  33087. "description": "仓单要素id",
  33088. "type": "string"
  33089. },
  33090. "wrfactortypename": {
  33091. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33092. "type": "string"
  33093. },
  33094. "wrgoodsname": {
  33095. "description": "商品(商品名称+仓库要素名称 拼接)",
  33096. "type": "string"
  33097. },
  33098. "wrstandardcode": {
  33099. "description": "商品代码",
  33100. "type": "string"
  33101. },
  33102. "wrstandardid": {
  33103. "description": "商品id",
  33104. "type": "integer"
  33105. },
  33106. "wrstandardname": {
  33107. "description": "商品名称",
  33108. "type": "string"
  33109. }
  33110. }
  33111. },
  33112. "models.WrOrderQuoteDetail": {
  33113. "type": "object",
  33114. "properties": {
  33115. "buyorsell": {
  33116. "description": "买卖 - 0:买 1:卖",
  33117. "type": "integer"
  33118. },
  33119. "delistminqty": {
  33120. "description": "起摘数量",
  33121. "type": "number"
  33122. },
  33123. "deliverymonth": {
  33124. "description": "交收月",
  33125. "type": "string"
  33126. },
  33127. "enumdicname": {
  33128. "description": "单位名称",
  33129. "type": "string"
  33130. },
  33131. "fixedprice": {
  33132. "description": "买(卖)价",
  33133. "type": "number"
  33134. },
  33135. "minivalue": {
  33136. "description": "现货商品最小变动值",
  33137. "type": "integer"
  33138. },
  33139. "orderqty": {
  33140. "description": "买(卖)量(=委托量-成交量)",
  33141. "type": "number"
  33142. },
  33143. "ordertime": {
  33144. "description": "委托时间",
  33145. "type": "string"
  33146. },
  33147. "pricemove": {
  33148. "description": "买(卖)升贴水- 基差",
  33149. "type": "number"
  33150. },
  33151. "userid": {
  33152. "description": "购买方(销售方)用户ID",
  33153. "type": "integer"
  33154. },
  33155. "username": {
  33156. "description": "购买方(销售方)",
  33157. "type": "string"
  33158. },
  33159. "wrtradeorderid": {
  33160. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33161. "type": "string"
  33162. }
  33163. }
  33164. },
  33165. "models.WrOutInApply": {
  33166. "type": "object",
  33167. "properties": {
  33168. "applyid": {
  33169. "description": "申请单id",
  33170. "type": "string"
  33171. },
  33172. "applystatus": {
  33173. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  33174. "type": "integer"
  33175. },
  33176. "applytime": {
  33177. "description": "申请时间",
  33178. "type": "string"
  33179. },
  33180. "applytype": {
  33181. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  33182. "type": "integer"
  33183. },
  33184. "deliverygoodscode": {
  33185. "description": "品种代码",
  33186. "type": "string"
  33187. },
  33188. "deliverygoodsid": {
  33189. "description": "品种ID",
  33190. "type": "integer"
  33191. },
  33192. "deliverygoodsname": {
  33193. "description": "品种名称",
  33194. "type": "string"
  33195. },
  33196. "enumdicname": {
  33197. "description": "单位名称",
  33198. "type": "string"
  33199. },
  33200. "expresscompany": {
  33201. "description": "物流公司",
  33202. "type": "string"
  33203. },
  33204. "expressnum": {
  33205. "description": "物流单号",
  33206. "type": "string"
  33207. },
  33208. "minivalue": {
  33209. "description": "现货商品最小变动值",
  33210. "type": "integer"
  33211. },
  33212. "optioncompare": {
  33213. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33214. "type": "string"
  33215. },
  33216. "qty": {
  33217. "description": "数量",
  33218. "type": "integer"
  33219. },
  33220. "userid": {
  33221. "description": "用户id",
  33222. "type": "integer"
  33223. },
  33224. "warehouseid": {
  33225. "description": "仓库ID",
  33226. "type": "integer"
  33227. },
  33228. "warehousename": {
  33229. "description": "仓库名称",
  33230. "type": "string"
  33231. },
  33232. "wrfactortypeid": {
  33233. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33234. "type": "string"
  33235. },
  33236. "wrfactortypename": {
  33237. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33238. "type": "string"
  33239. },
  33240. "wrstandardcode": {
  33241. "description": "现货商品代码",
  33242. "type": "string"
  33243. },
  33244. "wrstandardid": {
  33245. "description": "现货商品ID",
  33246. "type": "integer"
  33247. },
  33248. "wrstandardname": {
  33249. "description": "商品名称",
  33250. "type": "string"
  33251. },
  33252. "wrtypename": {
  33253. "description": "商品",
  33254. "type": "string"
  33255. }
  33256. }
  33257. },
  33258. "models.WrPerformancePlan": {
  33259. "type": "object",
  33260. "required": [
  33261. "userid"
  33262. ],
  33263. "properties": {
  33264. "activatemonth": {
  33265. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  33266. "type": "string"
  33267. },
  33268. "amount": {
  33269. "description": "履约金额(总金额)",
  33270. "type": "number"
  33271. },
  33272. "buyaccountid": {
  33273. "description": "买方账号",
  33274. "type": "integer"
  33275. },
  33276. "buyerfreezeamount": {
  33277. "description": "履约冻结(买履约)",
  33278. "type": "number"
  33279. },
  33280. "buyerfreezeamountremain": {
  33281. "description": "履约冻结剩余(买履约)",
  33282. "type": "number"
  33283. },
  33284. "buyorsell": {
  33285. "description": "买卖方向 0-买 1-卖",
  33286. "type": "integer"
  33287. },
  33288. "buypaidamount": {
  33289. "description": "买方已冻/已扣金额 (已付金额)",
  33290. "type": "number"
  33291. },
  33292. "buyusername": {
  33293. "description": "买方名字",
  33294. "type": "string"
  33295. },
  33296. "contractid": {
  33297. "description": "合同ID",
  33298. "type": "integer"
  33299. },
  33300. "createtime": {
  33301. "description": "创建时间",
  33302. "type": "string"
  33303. },
  33304. "creatorid": {
  33305. "description": "创建人",
  33306. "type": "integer"
  33307. },
  33308. "curstepdeadline": {
  33309. "description": "当前步骤到期时间",
  33310. "type": "string"
  33311. },
  33312. "curstepid": {
  33313. "description": "当前步骤ID",
  33314. "type": "string"
  33315. },
  33316. "curstepname": {
  33317. "description": "当前步骤名称",
  33318. "type": "string"
  33319. },
  33320. "deliverygoodscode": {
  33321. "description": "品种代码",
  33322. "type": "string"
  33323. },
  33324. "deliverygoodsid": {
  33325. "description": "品种ID",
  33326. "type": "integer"
  33327. },
  33328. "deliverygoodsname": {
  33329. "description": "品种名称",
  33330. "type": "string"
  33331. },
  33332. "enumdicname": {
  33333. "description": "单位名称",
  33334. "type": "string"
  33335. },
  33336. "expressfee": {
  33337. "description": "运费",
  33338. "type": "number"
  33339. },
  33340. "expressfeeconfirmed": {
  33341. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  33342. "type": "integer"
  33343. },
  33344. "hasovershort": {
  33345. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  33346. "type": "integer"
  33347. },
  33348. "haswr": {
  33349. "description": "类型 0-仓单预售 1-仓单贸易",
  33350. "type": "integer"
  33351. },
  33352. "marketid": {
  33353. "description": "市场ID",
  33354. "type": "integer"
  33355. },
  33356. "middleaccountid": {
  33357. "description": "中间商资金账号ID",
  33358. "type": "integer"
  33359. },
  33360. "middleuserid": {
  33361. "description": "中间商用户ID",
  33362. "type": "integer"
  33363. },
  33364. "minivalue": {
  33365. "description": "现货商品最小变动值",
  33366. "type": "integer"
  33367. },
  33368. "optioncompare": {
  33369. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33370. "type": "string"
  33371. },
  33372. "overshortamount": {
  33373. "description": "溢短金额",
  33374. "type": "number"
  33375. },
  33376. "overshortqty": {
  33377. "description": "溢短数量",
  33378. "type": "number"
  33379. },
  33380. "paymenttype": {
  33381. "description": "付款方式 - 1:冻结 2:扣款",
  33382. "type": "integer"
  33383. },
  33384. "performanceplanid": {
  33385. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33386. "type": "string"
  33387. },
  33388. "performancestatus": {
  33389. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33390. "type": "integer"
  33391. },
  33392. "performancetype": {
  33393. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  33394. "type": "integer"
  33395. },
  33396. "qty": {
  33397. "description": "履约数量",
  33398. "type": "number"
  33399. },
  33400. "relatedorderid": {
  33401. "description": "关联单号(履约类型的关联单号)",
  33402. "type": "string"
  33403. },
  33404. "remark": {
  33405. "description": "备注",
  33406. "type": "string"
  33407. },
  33408. "sellaccountid": {
  33409. "description": "卖方账号",
  33410. "type": "integer"
  33411. },
  33412. "sellerfreezeamount": {
  33413. "description": "履约冻结(卖履约)",
  33414. "type": "number"
  33415. },
  33416. "sellerfreezeamountremain": {
  33417. "description": "履约冻结剩余(卖履约)",
  33418. "type": "number"
  33419. },
  33420. "sellreceivedamount": {
  33421. "description": "卖方已收金额",
  33422. "type": "number"
  33423. },
  33424. "sellusername": {
  33425. "description": "卖方名字",
  33426. "type": "string"
  33427. },
  33428. "shipremark": {
  33429. "description": "发货备注[物流单号]",
  33430. "type": "string"
  33431. },
  33432. "starttime": {
  33433. "description": "开始时间",
  33434. "type": "string"
  33435. },
  33436. "steptypeid": {
  33437. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33438. "type": "integer"
  33439. },
  33440. "typename": {
  33441. "description": "履约类型 名称",
  33442. "type": "string"
  33443. },
  33444. "unpaidamount": {
  33445. "description": "剩余款(待支付金额)",
  33446. "type": "number"
  33447. },
  33448. "userid": {
  33449. "description": "用户id",
  33450. "type": "integer"
  33451. },
  33452. "warehouseid": {
  33453. "description": "仓库ID",
  33454. "type": "integer"
  33455. },
  33456. "warehousename": {
  33457. "description": "仓库名称",
  33458. "type": "string"
  33459. },
  33460. "wrfactortypeid": {
  33461. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33462. "type": "string"
  33463. },
  33464. "wrfactortypename": {
  33465. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33466. "type": "string"
  33467. },
  33468. "wrstandardcode": {
  33469. "description": "现货商品代码",
  33470. "type": "string"
  33471. },
  33472. "wrstandardid": {
  33473. "description": "现货商品ID",
  33474. "type": "integer"
  33475. },
  33476. "wrstandardname": {
  33477. "description": "商品名称",
  33478. "type": "string"
  33479. },
  33480. "wrtransferuserid": {
  33481. "description": "仓单受让用户",
  33482. "type": "integer"
  33483. },
  33484. "wrtypename": {
  33485. "description": "商品",
  33486. "type": "string"
  33487. }
  33488. }
  33489. },
  33490. "models.WrPerformancePlanStep": {
  33491. "type": "object",
  33492. "properties": {
  33493. "delaydays": {
  33494. "description": "延期申请天数",
  33495. "type": "integer"
  33496. },
  33497. "deliverygoodscode": {
  33498. "description": "品种代码",
  33499. "type": "string"
  33500. },
  33501. "deliverygoodsid": {
  33502. "description": "品种ID",
  33503. "type": "integer"
  33504. },
  33505. "deliverygoodsname": {
  33506. "description": "品种名称",
  33507. "type": "string"
  33508. },
  33509. "endtime": {
  33510. "description": "结束日期",
  33511. "type": "string"
  33512. },
  33513. "enumdicname": {
  33514. "description": "单位名称",
  33515. "type": "string"
  33516. },
  33517. "executeside": {
  33518. "description": "步骤执行方 - 1:买方 2:卖方",
  33519. "type": "integer"
  33520. },
  33521. "handlestatus": {
  33522. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  33523. "type": "integer"
  33524. },
  33525. "isauto": {
  33526. "description": "是否自动 - 0:不自动 1:自动",
  33527. "type": "integer"
  33528. },
  33529. "islastreceivestep": {
  33530. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  33531. "type": "integer"
  33532. },
  33533. "minivalue": {
  33534. "description": "现货商品最小变动值",
  33535. "type": "integer"
  33536. },
  33537. "optioncompare": {
  33538. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33539. "type": "string"
  33540. },
  33541. "overdays": {
  33542. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  33543. "type": "integer"
  33544. },
  33545. "performancestepid": {
  33546. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  33547. "type": "string"
  33548. },
  33549. "planid": {
  33550. "description": "所属履约计划ID",
  33551. "type": "string"
  33552. },
  33553. "realamount": {
  33554. "description": "实际完成金额",
  33555. "type": "number"
  33556. },
  33557. "relatedorderid": {
  33558. "description": "关联单号",
  33559. "type": "string"
  33560. },
  33561. "remaindays": {
  33562. "description": "剩余天数",
  33563. "type": "integer"
  33564. },
  33565. "remark": {
  33566. "description": "错误备注",
  33567. "type": "string"
  33568. },
  33569. "starttime": {
  33570. "description": "开始日期",
  33571. "type": "string"
  33572. },
  33573. "stepamount": {
  33574. "description": "步骤金额",
  33575. "type": "number"
  33576. },
  33577. "stepdays": {
  33578. "description": "距离上一步天数(分钟)",
  33579. "type": "integer"
  33580. },
  33581. "stepindex": {
  33582. "description": "步骤序号",
  33583. "type": "integer"
  33584. },
  33585. "steplanchtype": {
  33586. "description": "步骤启动类型 - 1:系统自动 2:手动",
  33587. "type": "integer"
  33588. },
  33589. "stepremark": {
  33590. "description": "步骤备注",
  33591. "type": "string"
  33592. },
  33593. "stepstatus": {
  33594. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  33595. "type": "integer"
  33596. },
  33597. "steptypeid": {
  33598. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33599. "type": "integer"
  33600. },
  33601. "steptypename": {
  33602. "description": "步骤名称",
  33603. "type": "string"
  33604. },
  33605. "stepvalue": {
  33606. "description": "步骤值",
  33607. "type": "number"
  33608. },
  33609. "warehouseid": {
  33610. "description": "仓库ID",
  33611. "type": "integer"
  33612. },
  33613. "warehousename": {
  33614. "description": "仓库名称",
  33615. "type": "string"
  33616. },
  33617. "wrfactortypeid": {
  33618. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33619. "type": "string"
  33620. },
  33621. "wrfactortypename": {
  33622. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33623. "type": "string"
  33624. },
  33625. "wrstandardcode": {
  33626. "description": "现货商品代码",
  33627. "type": "string"
  33628. },
  33629. "wrstandardid": {
  33630. "description": "现货商品ID",
  33631. "type": "integer"
  33632. },
  33633. "wrstandardname": {
  33634. "description": "商品名称",
  33635. "type": "string"
  33636. },
  33637. "wrtypename": {
  33638. "description": "商品",
  33639. "type": "string"
  33640. }
  33641. }
  33642. },
  33643. "models.WrPerformanceStepType": {
  33644. "type": "object",
  33645. "properties": {
  33646. "canauto": {
  33647. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  33648. "type": "integer"
  33649. },
  33650. "steptypeid": {
  33651. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  33652. "type": "integer"
  33653. },
  33654. "steptypename": {
  33655. "description": "步骤类型名称",
  33656. "type": "string"
  33657. }
  33658. }
  33659. },
  33660. "models.WrPerformanceTemplateEx": {
  33661. "type": "object",
  33662. "properties": {
  33663. "autoid": {
  33664. "description": "AutoID 模板id",
  33665. "type": "integer"
  33666. },
  33667. "createtime": {
  33668. "description": "创建时间",
  33669. "type": "string"
  33670. },
  33671. "creatorid": {
  33672. "description": "创建人",
  33673. "type": "integer"
  33674. },
  33675. "lstStep": {
  33676. "description": "步骤信息列表",
  33677. "type": "array",
  33678. "items": {
  33679. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33680. }
  33681. },
  33682. "paymenttype": {
  33683. "description": "支付方式 - 1:冻结 2:扣款",
  33684. "type": "integer"
  33685. },
  33686. "takemode": {
  33687. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  33688. "type": "integer"
  33689. },
  33690. "templatename": {
  33691. "description": "模板名称",
  33692. "type": "string"
  33693. },
  33694. "templatetype": {
  33695. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  33696. "type": "integer"
  33697. },
  33698. "userid": {
  33699. "description": "所属用户",
  33700. "type": "integer"
  33701. }
  33702. }
  33703. },
  33704. "models.WrPosition": {
  33705. "type": "object",
  33706. "properties": {
  33707. "accountid": {
  33708. "description": "帐户ID",
  33709. "type": "integer"
  33710. },
  33711. "buyexcuteqty": {
  33712. "description": "采购履约中数量",
  33713. "type": "number"
  33714. },
  33715. "creditcurqty": {
  33716. "description": "授信当前数量(预售仓单:预售当前量)",
  33717. "type": "number"
  33718. },
  33719. "creditenableqty": {
  33720. "description": "授信可用数量(预售仓单: 可用数量)",
  33721. "type": "number"
  33722. },
  33723. "creditfreezeqty": {
  33724. "description": "授信冻结数量(预售仓单: 当前数量)",
  33725. "type": "number"
  33726. },
  33727. "credittotalqty": {
  33728. "description": "授信总数量(预售仓单:预售总量)",
  33729. "type": "number"
  33730. },
  33731. "credittradeqty": {
  33732. "description": "授信成交数量(预售仓单:成交总量)",
  33733. "type": "number"
  33734. },
  33735. "deliverygoodscode": {
  33736. "description": "品种代码",
  33737. "type": "string"
  33738. },
  33739. "deliverygoodsid": {
  33740. "description": "品种ID",
  33741. "type": "integer"
  33742. },
  33743. "deliverygoodsname": {
  33744. "description": "品种名称",
  33745. "type": "string"
  33746. },
  33747. "enalbeqty": {
  33748. "description": "可用数量",
  33749. "type": "number"
  33750. },
  33751. "enumdicname": {
  33752. "description": "单位名称",
  33753. "type": "string"
  33754. },
  33755. "freezeqty": {
  33756. "description": "总冻结数量",
  33757. "type": "number"
  33758. },
  33759. "haswr": {
  33760. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33761. "type": "integer"
  33762. },
  33763. "minivalue": {
  33764. "description": "现货商品最小变动值",
  33765. "type": "integer"
  33766. },
  33767. "modifytime": {
  33768. "description": "修改时间(过户时间)",
  33769. "type": "string"
  33770. },
  33771. "optioncompare": {
  33772. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33773. "type": "string"
  33774. },
  33775. "pledgeqty": {
  33776. "description": "质押数量",
  33777. "type": "number"
  33778. },
  33779. "querytype": {
  33780. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  33781. "type": "integer"
  33782. },
  33783. "sellexcuteqty": {
  33784. "description": "销售履约中数量",
  33785. "type": "number"
  33786. },
  33787. "totalqty": {
  33788. "description": "总数量(库存数量)",
  33789. "type": "number"
  33790. },
  33791. "warehouseid": {
  33792. "description": "仓库ID",
  33793. "type": "integer"
  33794. },
  33795. "warehousename": {
  33796. "description": "仓库名称",
  33797. "type": "string"
  33798. },
  33799. "wrfactortypeid": {
  33800. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33801. "type": "string"
  33802. },
  33803. "wrfactortypename": {
  33804. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33805. "type": "string"
  33806. },
  33807. "wrpositionid": {
  33808. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  33809. "type": "string"
  33810. },
  33811. "wrpositionno": {
  33812. "description": "仓单编号",
  33813. "type": "string"
  33814. },
  33815. "wrstandardcode": {
  33816. "description": "现货商品代码",
  33817. "type": "string"
  33818. },
  33819. "wrstandardid": {
  33820. "description": "现货商品ID",
  33821. "type": "integer"
  33822. },
  33823. "wrstandardname": {
  33824. "description": "商品名称",
  33825. "type": "string"
  33826. },
  33827. "wrtypename": {
  33828. "description": "商品",
  33829. "type": "string"
  33830. },
  33831. "wruserid": {
  33832. "description": "持有人ID",
  33833. "type": "integer"
  33834. }
  33835. }
  33836. },
  33837. "models.WrQuoteOrderMyq": {
  33838. "type": "object",
  33839. "properties": {
  33840. "buyorsell": {
  33841. "description": "买卖 - 0:买 1:卖",
  33842. "type": "integer"
  33843. },
  33844. "canbargain": {
  33845. "description": "是否可议价 - 0:不可 1:可",
  33846. "type": "integer"
  33847. },
  33848. "canpart": {
  33849. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  33850. "type": "integer"
  33851. },
  33852. "delistminqty": {
  33853. "description": "起摘数量",
  33854. "type": "number"
  33855. },
  33856. "deliverygoodscode": {
  33857. "description": "品种代码",
  33858. "type": "string"
  33859. },
  33860. "deliverygoodsid": {
  33861. "description": "品种ID",
  33862. "type": "integer"
  33863. },
  33864. "deliverygoodsname": {
  33865. "description": "品种名称",
  33866. "type": "string"
  33867. },
  33868. "deliverymonth": {
  33869. "description": "交收月",
  33870. "type": "string"
  33871. },
  33872. "enumdicname": {
  33873. "description": "单位名称",
  33874. "type": "string"
  33875. },
  33876. "fixedprice": {
  33877. "description": "买(卖)价",
  33878. "type": "number"
  33879. },
  33880. "goodscode": {
  33881. "description": "商品合约代码",
  33882. "type": "string"
  33883. },
  33884. "marginflag": {
  33885. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  33886. "type": "integer"
  33887. },
  33888. "marginvalue": {
  33889. "description": "保证金设置值",
  33890. "type": "number"
  33891. },
  33892. "minivalue": {
  33893. "description": "现货商品最小变动值",
  33894. "type": "integer"
  33895. },
  33896. "orderqty": {
  33897. "description": "买(卖)量(=委托量-成交量)",
  33898. "type": "number"
  33899. },
  33900. "ordertime": {
  33901. "description": "委托时间",
  33902. "type": "string"
  33903. },
  33904. "performancetemplateid": {
  33905. "description": "履约模板id",
  33906. "type": "integer"
  33907. },
  33908. "pricemove": {
  33909. "description": "买(卖)升贴水- 基差",
  33910. "type": "number"
  33911. },
  33912. "templatename": {
  33913. "description": "履约模板名称",
  33914. "type": "string"
  33915. },
  33916. "userid": {
  33917. "description": "购买方(销售方)用户ID",
  33918. "type": "integer"
  33919. },
  33920. "username": {
  33921. "description": "购买方(销售方)",
  33922. "type": "string"
  33923. },
  33924. "validtime": {
  33925. "description": "有效期限",
  33926. "type": "string"
  33927. },
  33928. "validtype": {
  33929. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33930. "type": "integer"
  33931. },
  33932. "warehousename": {
  33933. "description": "仓库名称",
  33934. "type": "string"
  33935. },
  33936. "wrfactortypeid": {
  33937. "description": "仓单要素id",
  33938. "type": "string"
  33939. },
  33940. "wrstandardcode": {
  33941. "description": "现货商品代码",
  33942. "type": "string"
  33943. },
  33944. "wrstandardid": {
  33945. "description": "现货商品ID",
  33946. "type": "integer"
  33947. },
  33948. "wrstandardname": {
  33949. "description": "商品名称",
  33950. "type": "string"
  33951. },
  33952. "wrtradeorderid": {
  33953. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33954. "type": "string"
  33955. },
  33956. "wrtypename": {
  33957. "description": "商品",
  33958. "type": "string"
  33959. }
  33960. }
  33961. },
  33962. "models.WrScfContract": {
  33963. "type": "object",
  33964. "properties": {
  33965. "borroweruserid": {
  33966. "description": "借款用户ID",
  33967. "type": "integer"
  33968. },
  33969. "buybackwrpositionqty": {
  33970. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  33971. "type": "number"
  33972. },
  33973. "closeinterest": {
  33974. "description": "已结利息 -\u003e 已结费用",
  33975. "type": "number"
  33976. },
  33977. "currisklevel": {
  33978. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33979. "type": "integer"
  33980. },
  33981. "deadline": {
  33982. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  33983. "type": "string"
  33984. },
  33985. "deliverygoodscode": {
  33986. "description": "品种代码",
  33987. "type": "string"
  33988. },
  33989. "deliverygoodsid": {
  33990. "description": "品种ID",
  33991. "type": "integer"
  33992. },
  33993. "deliverygoodsname": {
  33994. "description": "品种名称",
  33995. "type": "string"
  33996. },
  33997. "enumdicname": {
  33998. "description": "单位名称",
  33999. "type": "string"
  34000. },
  34001. "financingdays": {
  34002. "description": "天数(天)",
  34003. "type": "integer"
  34004. },
  34005. "initmargin": {
  34006. "description": "保证金 - [仓单回购]",
  34007. "type": "number"
  34008. },
  34009. "interestamount": {
  34010. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  34011. "type": "number"
  34012. },
  34013. "interestdebt": {
  34014. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  34015. "type": "number"
  34016. },
  34017. "interestminlen": {
  34018. "description": "最小起息天数",
  34019. "type": "integer"
  34020. },
  34021. "interestrate": {
  34022. "description": "利率",
  34023. "type": "number"
  34024. },
  34025. "interestratemode": {
  34026. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34027. "type": "integer"
  34028. },
  34029. "interestsettlemode": {
  34030. "description": "结息方式 - 1:按日结息 3:按月结息",
  34031. "type": "integer"
  34032. },
  34033. "interestsettlevalue": {
  34034. "description": "结息方式值",
  34035. "type": "integer"
  34036. },
  34037. "isautoloan": {
  34038. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  34039. "type": "integer"
  34040. },
  34041. "lastcloseinterestday": {
  34042. "description": "最近结息日(yyyyMMdd)",
  34043. "type": "string"
  34044. },
  34045. "lenderamount": {
  34046. "description": "贷款金额 -\u003e 借款金额",
  34047. "type": "number"
  34048. },
  34049. "lenderuserid": {
  34050. "description": "贷款方用户ID -\u003e 融出方用户ID",
  34051. "type": "integer"
  34052. },
  34053. "lenderusername": {
  34054. "description": "融出方",
  34055. "type": "string"
  34056. },
  34057. "marginratio": {
  34058. "description": "保证金比率质押率 - [仓单质押]",
  34059. "type": "number"
  34060. },
  34061. "marketid": {
  34062. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  34063. "type": "integer"
  34064. },
  34065. "minivalue": {
  34066. "description": "现货商品最小变动值",
  34067. "type": "integer"
  34068. },
  34069. "optioncompare": {
  34070. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34071. "type": "string"
  34072. },
  34073. "pricemove": {
  34074. "description": "估值升贴水值",
  34075. "type": "number"
  34076. },
  34077. "productdetailid": {
  34078. "description": "产品组合ID",
  34079. "type": "integer"
  34080. },
  34081. "productid": {
  34082. "description": "金融产品ID",
  34083. "type": "integer"
  34084. },
  34085. "productname": {
  34086. "description": "产品名称",
  34087. "type": "string"
  34088. },
  34089. "remainamount": {
  34090. "description": "合同剩余金额 -\u003e 剩余金额",
  34091. "type": "number"
  34092. },
  34093. "remainwrpositionqty": {
  34094. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  34095. "type": "number"
  34096. },
  34097. "remark": {
  34098. "description": "备注",
  34099. "type": "string"
  34100. },
  34101. "scfcontractid": {
  34102. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34103. "type": "string"
  34104. },
  34105. "scfcontractstatus": {
  34106. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34107. "type": "integer"
  34108. },
  34109. "scfcontracttype": {
  34110. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  34111. "type": "integer"
  34112. },
  34113. "startinterestday": {
  34114. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  34115. "type": "string"
  34116. },
  34117. "totalinterest": {
  34118. "description": "已计利息 -\u003e 已计费用",
  34119. "type": "number"
  34120. },
  34121. "unpaidinterest": {
  34122. "description": "未结费用",
  34123. "type": "number"
  34124. },
  34125. "updatetime": {
  34126. "description": "更新时间",
  34127. "type": "string"
  34128. },
  34129. "warehouseid": {
  34130. "description": "仓库ID",
  34131. "type": "integer"
  34132. },
  34133. "warehousename": {
  34134. "description": "仓库名称",
  34135. "type": "string"
  34136. },
  34137. "wrfactortypeid": {
  34138. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34139. "type": "string"
  34140. },
  34141. "wrfactortypename": {
  34142. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34143. "type": "string"
  34144. },
  34145. "wrqty": {
  34146. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  34147. "type": "number"
  34148. },
  34149. "wrstandardcode": {
  34150. "description": "现货商品代码",
  34151. "type": "string"
  34152. },
  34153. "wrstandardid": {
  34154. "description": "现货商品ID",
  34155. "type": "integer"
  34156. },
  34157. "wrstandardname": {
  34158. "description": "商品名称",
  34159. "type": "string"
  34160. },
  34161. "wrtypename": {
  34162. "description": "商品",
  34163. "type": "string"
  34164. }
  34165. }
  34166. },
  34167. "models.WrScfContractInterest": {
  34168. "type": "object",
  34169. "properties": {
  34170. "closeinterest": {
  34171. "description": "已结利息",
  34172. "type": "number"
  34173. },
  34174. "closeintereststatus": {
  34175. "description": "结息状态 - 1:未结 2:已结",
  34176. "type": "integer"
  34177. },
  34178. "closetime": {
  34179. "description": "结息时间",
  34180. "type": "string"
  34181. },
  34182. "closetradedate": {
  34183. "description": "结息交易日",
  34184. "type": "string"
  34185. },
  34186. "creatorid": {
  34187. "description": "操作人ID",
  34188. "type": "integer"
  34189. },
  34190. "dayrate": {
  34191. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  34192. "type": "number"
  34193. },
  34194. "interest": {
  34195. "description": "利息",
  34196. "type": "number"
  34197. },
  34198. "interestamount": {
  34199. "description": "计息金额",
  34200. "type": "number"
  34201. },
  34202. "interestday": {
  34203. "description": "计息日(yyyyMMdd)",
  34204. "type": "string"
  34205. },
  34206. "scfcontractid": {
  34207. "description": "SCF合同ID",
  34208. "type": "string"
  34209. },
  34210. "scfcontractinterestid": {
  34211. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  34212. "type": "integer"
  34213. },
  34214. "updatetime": {
  34215. "description": "更新时间",
  34216. "type": "string"
  34217. }
  34218. }
  34219. },
  34220. "models.WrSpecialMatchOrder": {
  34221. "type": "object",
  34222. "properties": {
  34223. "amount": {
  34224. "description": "金额 = 数量 * 价格",
  34225. "type": "number"
  34226. },
  34227. "buyorsell": {
  34228. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34229. "type": "integer"
  34230. },
  34231. "cancelqty": {
  34232. "description": "撤销数量",
  34233. "type": "number"
  34234. },
  34235. "deliverygoodscode": {
  34236. "description": "品种代码",
  34237. "type": "string"
  34238. },
  34239. "deliverygoodsid": {
  34240. "description": "品种ID",
  34241. "type": "integer"
  34242. },
  34243. "deliverygoodsname": {
  34244. "description": "品种名称",
  34245. "type": "string"
  34246. },
  34247. "enumdicname": {
  34248. "description": "单位名称",
  34249. "type": "string"
  34250. },
  34251. "fixedprice": {
  34252. "description": "固定价格(价格)",
  34253. "type": "number"
  34254. },
  34255. "haswr": {
  34256. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34257. "type": "integer"
  34258. },
  34259. "marketid": {
  34260. "description": "市场ID",
  34261. "type": "integer"
  34262. },
  34263. "matchuserid": {
  34264. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  34265. "type": "integer"
  34266. },
  34267. "matchusername": {
  34268. "description": "指定方",
  34269. "type": "string"
  34270. },
  34271. "minivalue": {
  34272. "description": "现货商品最小变动值",
  34273. "type": "integer"
  34274. },
  34275. "optioncompare": {
  34276. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34277. "type": "string"
  34278. },
  34279. "orderqty": {
  34280. "description": "委托数量",
  34281. "type": "number"
  34282. },
  34283. "ordertime": {
  34284. "description": "委托时间",
  34285. "type": "string"
  34286. },
  34287. "pricemove": {
  34288. "description": "升贴水(浮动价时填写) - [挂牌]",
  34289. "type": "number"
  34290. },
  34291. "tradedate": {
  34292. "description": "交易日(yyyyMMdd)",
  34293. "type": "string"
  34294. },
  34295. "tradeprice": {
  34296. "description": "成交价格",
  34297. "type": "number"
  34298. },
  34299. "tradeqty": {
  34300. "description": "成交数量",
  34301. "type": "number"
  34302. },
  34303. "userid": {
  34304. "description": "用户ID",
  34305. "type": "integer"
  34306. },
  34307. "username": {
  34308. "description": "发起方",
  34309. "type": "string"
  34310. },
  34311. "warehouseid": {
  34312. "description": "仓库ID",
  34313. "type": "integer"
  34314. },
  34315. "warehousename": {
  34316. "description": "仓库名称",
  34317. "type": "string"
  34318. },
  34319. "wrfactortypeid": {
  34320. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34321. "type": "string"
  34322. },
  34323. "wrfactortypename": {
  34324. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34325. "type": "string"
  34326. },
  34327. "wrpricetype": {
  34328. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34329. "type": "integer"
  34330. },
  34331. "wrstandardcode": {
  34332. "description": "现货商品代码",
  34333. "type": "string"
  34334. },
  34335. "wrstandardid": {
  34336. "description": "现货商品ID",
  34337. "type": "integer"
  34338. },
  34339. "wrstandardname": {
  34340. "description": "商品名称",
  34341. "type": "string"
  34342. },
  34343. "wrtradeorderid": {
  34344. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34345. "type": "string"
  34346. },
  34347. "wrtradeorderstatus": {
  34348. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  34349. "type": "integer"
  34350. },
  34351. "wrtradetype": {
  34352. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34353. "type": "integer"
  34354. },
  34355. "wrtypename": {
  34356. "description": "商品",
  34357. "type": "string"
  34358. }
  34359. }
  34360. },
  34361. "models.WrStandardFactoryItem": {
  34362. "type": "object",
  34363. "properties": {
  34364. "dgfactoryitemid": {
  34365. "description": "选择项id",
  34366. "type": "integer"
  34367. },
  34368. "dgfactoryitemvalue": {
  34369. "description": "要素项值",
  34370. "type": "string"
  34371. },
  34372. "warehouseid": {
  34373. "description": "仓库id",
  34374. "type": "integer"
  34375. }
  34376. }
  34377. },
  34378. "models.WrStandardFactoryItemEx": {
  34379. "type": "object",
  34380. "properties": {
  34381. "dgfactoryitemtypeid": {
  34382. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  34383. "type": "integer"
  34384. },
  34385. "itemlst": {
  34386. "description": "要素项列表",
  34387. "type": "array",
  34388. "items": {
  34389. "$ref": "#/definitions/models.WrStandardFactoryItem"
  34390. }
  34391. },
  34392. "itemtypename": {
  34393. "description": "要素项类型名称",
  34394. "type": "string"
  34395. },
  34396. "wrstandardid": {
  34397. "description": "品类",
  34398. "type": "integer"
  34399. }
  34400. }
  34401. },
  34402. "models.WrTradeDetail": {
  34403. "type": "object",
  34404. "properties": {
  34405. "accountid": {
  34406. "description": "资金账号",
  34407. "type": "integer"
  34408. },
  34409. "buyorsell": {
  34410. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34411. "type": "integer"
  34412. },
  34413. "chargevalue": {
  34414. "description": "手续费",
  34415. "type": "number"
  34416. },
  34417. "deliverygoodscode": {
  34418. "description": "品种代码",
  34419. "type": "string"
  34420. },
  34421. "deliverygoodsid": {
  34422. "description": "品种ID",
  34423. "type": "integer"
  34424. },
  34425. "deliverygoodsname": {
  34426. "description": "品种名称",
  34427. "type": "string"
  34428. },
  34429. "deliverymonth": {
  34430. "description": "交收月",
  34431. "type": "string"
  34432. },
  34433. "enumdicname": {
  34434. "description": "单位名称",
  34435. "type": "string"
  34436. },
  34437. "haswr": {
  34438. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34439. "type": "integer"
  34440. },
  34441. "marketid": {
  34442. "description": "市场ID",
  34443. "type": "integer"
  34444. },
  34445. "matchaccountid": {
  34446. "description": "对手账号",
  34447. "type": "integer"
  34448. },
  34449. "matchusername": {
  34450. "description": "对手方",
  34451. "type": "string"
  34452. },
  34453. "minivalue": {
  34454. "description": "现货商品最小变动值",
  34455. "type": "integer"
  34456. },
  34457. "optioncompare": {
  34458. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34459. "type": "string"
  34460. },
  34461. "tradedate": {
  34462. "description": "交易日(yyyyMMdd)",
  34463. "type": "string"
  34464. },
  34465. "tradeprice": {
  34466. "description": "成交价格",
  34467. "type": "number"
  34468. },
  34469. "tradeqty": {
  34470. "description": "成交数量",
  34471. "type": "number"
  34472. },
  34473. "tradetime": {
  34474. "description": "成交时间",
  34475. "type": "string"
  34476. },
  34477. "userid": {
  34478. "description": "用户ID",
  34479. "type": "integer"
  34480. },
  34481. "warehouseid": {
  34482. "description": "仓库ID",
  34483. "type": "integer"
  34484. },
  34485. "warehousename": {
  34486. "description": "仓库名称",
  34487. "type": "string"
  34488. },
  34489. "wrfactortypeid": {
  34490. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34491. "type": "string"
  34492. },
  34493. "wrfactortypename": {
  34494. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34495. "type": "string"
  34496. },
  34497. "wrstandardcode": {
  34498. "description": "现货商品代码",
  34499. "type": "string"
  34500. },
  34501. "wrstandardid": {
  34502. "description": "现货商品ID",
  34503. "type": "integer"
  34504. },
  34505. "wrstandardname": {
  34506. "description": "商品名称",
  34507. "type": "string"
  34508. },
  34509. "wrtradedetailid": {
  34510. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  34511. "type": "string"
  34512. },
  34513. "wrtradetype": {
  34514. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34515. "type": "integer"
  34516. },
  34517. "wrtypename": {
  34518. "description": "商品",
  34519. "type": "string"
  34520. }
  34521. }
  34522. },
  34523. "models.WrTradeOrderDetail": {
  34524. "type": "object",
  34525. "properties": {
  34526. "buyorsell": {
  34527. "description": "买卖方向 0-买 1-卖",
  34528. "type": "integer"
  34529. },
  34530. "goodsid": {
  34531. "description": "商品id",
  34532. "type": "integer"
  34533. },
  34534. "orderid": {
  34535. "description": "委托单号",
  34536. "type": "string"
  34537. },
  34538. "orderprice": {
  34539. "description": "委托价格",
  34540. "type": "number"
  34541. },
  34542. "orderqty": {
  34543. "description": "委托数量",
  34544. "type": "integer"
  34545. },
  34546. "userid": {
  34547. "description": "用户id",
  34548. "type": "integer"
  34549. },
  34550. "username": {
  34551. "description": "用户名称(已脱敏)",
  34552. "type": "string"
  34553. }
  34554. }
  34555. },
  34556. "models.WrTypeItem": {
  34557. "type": "object",
  34558. "properties": {
  34559. "name": {
  34560. "description": "名称",
  34561. "type": "string"
  34562. },
  34563. "value": {
  34564. "description": "值",
  34565. "type": "string"
  34566. }
  34567. }
  34568. },
  34569. "models.WrUserFriend": {
  34570. "type": "object",
  34571. "properties": {
  34572. "friendname": {
  34573. "description": "朋友名称(已脱敏)",
  34574. "type": "string"
  34575. },
  34576. "frienduserid": {
  34577. "description": "朋友id",
  34578. "type": "integer"
  34579. },
  34580. "isfriend": {
  34581. "description": "是否好友 0-不是 1-是",
  34582. "type": "integer"
  34583. },
  34584. "userid": {
  34585. "description": "用户id",
  34586. "type": "integer"
  34587. }
  34588. }
  34589. },
  34590. "models.XHBRAND": {
  34591. "type": "object",
  34592. "properties": {
  34593. "brandid": {
  34594. "description": "品牌id",
  34595. "type": "integer"
  34596. },
  34597. "brandname": {
  34598. "description": "品牌名称",
  34599. "type": "string"
  34600. }
  34601. }
  34602. },
  34603. "models.XHDeliveryGoods": {
  34604. "type": "object",
  34605. "properties": {
  34606. "areauserid": {
  34607. "description": "所属机构",
  34608. "type": "integer"
  34609. },
  34610. "bdlst": {
  34611. "description": "品牌列表",
  34612. "type": "array",
  34613. "items": {
  34614. "$ref": "#/definitions/models.XHBRAND"
  34615. }
  34616. },
  34617. "deliverygoodscode": {
  34618. "description": "现货品种代码",
  34619. "type": "string"
  34620. },
  34621. "deliverygoodsid": {
  34622. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34623. "type": "integer"
  34624. },
  34625. "deliverygoodsname": {
  34626. "description": "现货品种名称",
  34627. "type": "string"
  34628. },
  34629. "dgstatus": {
  34630. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  34631. "type": "integer"
  34632. },
  34633. "isvalid": {
  34634. "description": "是否有效 - 0:无效 1:有效",
  34635. "type": "integer"
  34636. },
  34637. "remark": {
  34638. "description": "备注",
  34639. "type": "string"
  34640. },
  34641. "wdlst": {
  34642. "description": "品类(现货商品)列表",
  34643. "type": "array",
  34644. "items": {
  34645. "$ref": "#/definitions/models.XHWrstandard"
  34646. }
  34647. }
  34648. }
  34649. },
  34650. "models.XHMiddleGoods": {
  34651. "type": "object",
  34652. "properties": {
  34653. "convertratio": {
  34654. "description": "拆算系数",
  34655. "type": "number"
  34656. },
  34657. "enumdicname": {
  34658. "description": "单位名称",
  34659. "type": "string"
  34660. },
  34661. "middlegoodscode": {
  34662. "description": "套保品种代码",
  34663. "type": "string"
  34664. },
  34665. "middlegoodsid": {
  34666. "description": "套保品种id",
  34667. "type": "integer"
  34668. },
  34669. "middlegoodsname": {
  34670. "description": "套保品种名称",
  34671. "type": "string"
  34672. }
  34673. }
  34674. },
  34675. "models.XHWrstandard": {
  34676. "type": "object",
  34677. "properties": {
  34678. "deliverygoodsid": {
  34679. "description": "品种ID",
  34680. "type": "integer"
  34681. },
  34682. "enumdicname": {
  34683. "description": "单位名称",
  34684. "type": "string"
  34685. },
  34686. "mglst": {
  34687. "description": "套保品列表",
  34688. "type": "array",
  34689. "items": {
  34690. "$ref": "#/definitions/models.XHMiddleGoods"
  34691. }
  34692. },
  34693. "vatrate": {
  34694. "description": "增值税率",
  34695. "type": "number"
  34696. },
  34697. "wrstandardcode": {
  34698. "description": "现货商品代码",
  34699. "type": "string"
  34700. },
  34701. "wrstandardid": {
  34702. "description": "现货商品ID(SEQ_WRSTANDARD)",
  34703. "type": "integer"
  34704. },
  34705. "wrstandardname": {
  34706. "description": "现货商品名称",
  34707. "type": "string"
  34708. }
  34709. }
  34710. },
  34711. "order.QueryHisTradeDetailRsp": {
  34712. "type": "object",
  34713. "required": [
  34714. "accountid",
  34715. "buyorsell",
  34716. "goodsid",
  34717. "histradedate",
  34718. "marketid",
  34719. "memberuserid",
  34720. "orderid",
  34721. "tradeamount",
  34722. "tradedate",
  34723. "tradeid",
  34724. "tradeprice",
  34725. "tradeqty",
  34726. "tradetime"
  34727. ],
  34728. "properties": {
  34729. "accountid": {
  34730. "description": "账户ID[报价币种]",
  34731. "type": "integer"
  34732. },
  34733. "advanceratio": {
  34734. "description": "首付比率",
  34735. "type": "number"
  34736. },
  34737. "buildtype": {
  34738. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34739. "type": "integer"
  34740. },
  34741. "buyorsell": {
  34742. "description": "方向 - 0:买 1:卖",
  34743. "type": "integer"
  34744. },
  34745. "charge": {
  34746. "description": "手续费",
  34747. "type": "number"
  34748. },
  34749. "closecharge": {
  34750. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34751. "type": "number"
  34752. },
  34753. "closeexchagechargevalue": {
  34754. "description": "平仓交易所手续费设置值",
  34755. "type": "number"
  34756. },
  34757. "closefeealgorithm": {
  34758. "description": "平仓手续费收取方式 1:比率 2:固定",
  34759. "type": "integer"
  34760. },
  34761. "closememberchargevalue": {
  34762. "description": "平仓会员手续费设置值",
  34763. "type": "number"
  34764. },
  34765. "closepl": {
  34766. "description": "平仓盈亏",
  34767. "type": "number"
  34768. },
  34769. "closepl2": {
  34770. "description": "平仓盈亏[逐笔]",
  34771. "type": "number"
  34772. },
  34773. "closeqty": {
  34774. "description": "平仓数量(先建后平操作 需要记录)",
  34775. "type": "number"
  34776. },
  34777. "creditamount": {
  34778. "description": "授信金额",
  34779. "type": "number"
  34780. },
  34781. "decimalplace": {
  34782. "description": "商品报价小数位",
  34783. "type": "integer"
  34784. },
  34785. "enumdicname": {
  34786. "description": "单位名称",
  34787. "type": "string"
  34788. },
  34789. "gcaccountid": {
  34790. "description": "账户ID[合约币种]",
  34791. "type": "integer"
  34792. },
  34793. "goodscode": {
  34794. "description": "商品代码",
  34795. "type": "string"
  34796. },
  34797. "goodsid": {
  34798. "description": "商品ID",
  34799. "type": "integer"
  34800. },
  34801. "goodsname": {
  34802. "description": "商品名称",
  34803. "type": "string"
  34804. },
  34805. "goodunitid": {
  34806. "description": "商品单位id",
  34807. "type": "integer"
  34808. },
  34809. "histradedate": {
  34810. "description": "历史交易日",
  34811. "type": "string"
  34812. },
  34813. "intclosepl": {
  34814. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34815. "type": "integer"
  34816. },
  34817. "isconfirmexercise": {
  34818. "description": "是否确认行权- 0:否 1:是",
  34819. "type": "integer"
  34820. },
  34821. "ismain": {
  34822. "description": "是否主单 - 0:不是 1:是",
  34823. "type": "integer"
  34824. },
  34825. "ispreexercise": {
  34826. "description": "是否预申报- 0:否 1:是",
  34827. "type": "integer"
  34828. },
  34829. "isreckoned": {
  34830. "description": "是否结算 - 0:未结算 1:已结算",
  34831. "type": "integer"
  34832. },
  34833. "isvaliddata": {
  34834. "description": "是否有效 - 0:无效 1:有效",
  34835. "type": "integer"
  34836. },
  34837. "listingselecttype": {
  34838. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34839. "type": "integer"
  34840. },
  34841. "marketid": {
  34842. "description": "市场ID",
  34843. "type": "integer"
  34844. },
  34845. "marketname": {
  34846. "description": "市场名称",
  34847. "type": "string"
  34848. },
  34849. "matchaccountid": {
  34850. "description": "对手账号id",
  34851. "type": "integer"
  34852. },
  34853. "memberuserid": {
  34854. "description": "会员id 个人投资者 需要填写",
  34855. "type": "integer"
  34856. },
  34857. "opencharge": {
  34858. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34859. "type": "number"
  34860. },
  34861. "openexchagechargevalue": {
  34862. "description": "建仓交易所手续费设置值",
  34863. "type": "number"
  34864. },
  34865. "openfeealgorithm": {
  34866. "description": "建仓手续费收取方式 1:比率 2:固定",
  34867. "type": "integer"
  34868. },
  34869. "openmemberchargevalue": {
  34870. "description": "建仓会员手续费设置值",
  34871. "type": "number"
  34872. },
  34873. "openqty": {
  34874. "description": "开仓数量(先建后平操作 需要记录)",
  34875. "type": "number"
  34876. },
  34877. "optiontype": {
  34878. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34879. "type": "integer"
  34880. },
  34881. "orderid": {
  34882. "description": "委托单号",
  34883. "type": "string"
  34884. },
  34885. "payamount": {
  34886. "description": "支付金额(付款金额)",
  34887. "type": "number"
  34888. },
  34889. "performanceplanid": {
  34890. "description": "履约计划ID[期权]",
  34891. "type": "integer"
  34892. },
  34893. "performancestatus": {
  34894. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34895. "type": "integer"
  34896. },
  34897. "preexerciseprice": {
  34898. "description": "预申报价格",
  34899. "type": "number"
  34900. },
  34901. "premium": {
  34902. "description": "权利金 - [持仓单的权利金]",
  34903. "type": "number"
  34904. },
  34905. "qtydecimalplace": {
  34906. "description": "商品报价小数位",
  34907. "type": "integer"
  34908. },
  34909. "recvamount": {
  34910. "description": "到账金额 = 成交金额 - 手续费",
  34911. "type": "number"
  34912. },
  34913. "relatedouttradeid": {
  34914. "description": "关联外部成交单ID",
  34915. "type": "integer"
  34916. },
  34917. "status": {
  34918. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34919. "type": "integer"
  34920. },
  34921. "totalamount": {
  34922. "description": "订单总额 = 成交金额 + 手续费",
  34923. "type": "number"
  34924. },
  34925. "tradeamount": {
  34926. "description": "成交金额[账户币种,用于所有权]",
  34927. "type": "number"
  34928. },
  34929. "tradedate": {
  34930. "description": "交易日(yyyyMMdd)",
  34931. "type": "string"
  34932. },
  34933. "tradeid": {
  34934. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34935. "type": "string"
  34936. },
  34937. "trademode": {
  34938. "description": "交易模式",
  34939. "type": "integer"
  34940. },
  34941. "tradeprice": {
  34942. "description": "成交价格",
  34943. "type": "number"
  34944. },
  34945. "tradeproperty": {
  34946. "description": "交易属性",
  34947. "type": "integer"
  34948. },
  34949. "tradeqty": {
  34950. "description": "成交数量",
  34951. "type": "number"
  34952. },
  34953. "tradetime": {
  34954. "description": "成交时间",
  34955. "type": "string"
  34956. },
  34957. "tradetype": {
  34958. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34959. "type": "integer"
  34960. }
  34961. }
  34962. },
  34963. "order.QueryHisTradeOrderDetailRsp": {
  34964. "type": "object",
  34965. "required": [
  34966. "accountid",
  34967. "buildtype",
  34968. "buyorsell",
  34969. "goodsid",
  34970. "histradedate",
  34971. "marketid",
  34972. "memberuserid",
  34973. "operatetype",
  34974. "orderid",
  34975. "orderqty",
  34976. "ordertime",
  34977. "pricemode",
  34978. "tradedate",
  34979. "validtype"
  34980. ],
  34981. "properties": {
  34982. "accountid": {
  34983. "description": "账户ID[报价币种]",
  34984. "type": "integer"
  34985. },
  34986. "buildtype": {
  34987. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  34988. "type": "integer"
  34989. },
  34990. "buyorsell": {
  34991. "description": "买卖 - 0:买 1:卖",
  34992. "type": "integer"
  34993. },
  34994. "cancelorderid": {
  34995. "description": "撤单单号(撤单时填写)",
  34996. "type": "string"
  34997. },
  34998. "cancelqty": {
  34999. "description": "撤单数量",
  35000. "type": "number"
  35001. },
  35002. "clientordertime": {
  35003. "description": "客户端委托时间",
  35004. "type": "string"
  35005. },
  35006. "clientticket": {
  35007. "description": "客户端流水号",
  35008. "type": "string"
  35009. },
  35010. "clienttype": {
  35011. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35012. "type": "integer"
  35013. },
  35014. "closeexchagechargevalue": {
  35015. "description": "平仓交易所手续费设置值",
  35016. "type": "number"
  35017. },
  35018. "closefeealgorithm": {
  35019. "description": "平仓手续费收取方式 1:比率 2:固定",
  35020. "type": "integer"
  35021. },
  35022. "closefreezecharge": {
  35023. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35024. "type": "number"
  35025. },
  35026. "closememberchargevalue": {
  35027. "description": "平仓会员手续费设置值",
  35028. "type": "number"
  35029. },
  35030. "closeqty": {
  35031. "description": "平仓数量(先建后平操作 需要记录)",
  35032. "type": "number"
  35033. },
  35034. "closetradeqty": {
  35035. "description": "平仓成交数量(先建后平操作,需要记录)",
  35036. "type": "number"
  35037. },
  35038. "closeunfreezecharge": {
  35039. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35040. "type": "number"
  35041. },
  35042. "decimalplace": {
  35043. "description": "商品报价小数位",
  35044. "type": "integer"
  35045. },
  35046. "delistingtype": {
  35047. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35048. "type": "integer"
  35049. },
  35050. "enumdicname": {
  35051. "description": "单位名称",
  35052. "type": "string"
  35053. },
  35054. "freezecharge": {
  35055. "description": "冻结手续费",
  35056. "type": "number"
  35057. },
  35058. "freezemargin": {
  35059. "description": "冻结保证金(冻结交易金额)",
  35060. "type": "number"
  35061. },
  35062. "gcaccountid": {
  35063. "description": "账户ID[合约币种]",
  35064. "type": "integer"
  35065. },
  35066. "goodscode": {
  35067. "description": "商品代码",
  35068. "type": "string"
  35069. },
  35070. "goodsid": {
  35071. "description": "商品ID",
  35072. "type": "integer"
  35073. },
  35074. "goodsname": {
  35075. "description": "商品名称",
  35076. "type": "string"
  35077. },
  35078. "goodunitid": {
  35079. "description": "商品单位id",
  35080. "type": "integer"
  35081. },
  35082. "histradedate": {
  35083. "description": "历史交易日",
  35084. "type": "string"
  35085. },
  35086. "isconfirmexercise": {
  35087. "description": "是否确认行权- 0:否 1:是",
  35088. "type": "integer"
  35089. },
  35090. "ispreexercise": {
  35091. "description": "是否预申报- 0:否 1:是",
  35092. "type": "integer"
  35093. },
  35094. "isvaliddata": {
  35095. "description": "是否有效 - 0:无效 1:有效",
  35096. "type": "integer"
  35097. },
  35098. "listingselecttype": {
  35099. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35100. "type": "integer"
  35101. },
  35102. "marginalgorithm": {
  35103. "description": "保证金收取方式 1:比率 2:固定",
  35104. "type": "integer"
  35105. },
  35106. "marginvalue": {
  35107. "description": "即市保证金设置值",
  35108. "type": "number"
  35109. },
  35110. "marketid": {
  35111. "description": "市场ID",
  35112. "type": "integer"
  35113. },
  35114. "marketmaxsub": {
  35115. "description": "市价最大偏移范围",
  35116. "type": "number"
  35117. },
  35118. "marketname": {
  35119. "description": "市场名称",
  35120. "type": "string"
  35121. },
  35122. "memberuserid": {
  35123. "description": "所属会员UserID",
  35124. "type": "integer"
  35125. },
  35126. "openexchagechargevalue": {
  35127. "description": "建仓交易所手续费设置值",
  35128. "type": "number"
  35129. },
  35130. "openfeealgorithm": {
  35131. "description": "建仓手续费收取方式 1:比率 2:固定",
  35132. "type": "integer"
  35133. },
  35134. "openfreezecharge": {
  35135. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35136. "type": "number"
  35137. },
  35138. "openmemberchargevalue": {
  35139. "description": "建仓会员手续费设置值",
  35140. "type": "number"
  35141. },
  35142. "openqty": {
  35143. "description": "开仓数量(先建后平操作,需要记录)",
  35144. "type": "number"
  35145. },
  35146. "opentradeqty": {
  35147. "description": "开仓成交数量(先建后平操作,需要记录)",
  35148. "type": "number"
  35149. },
  35150. "openunfreezecharge": {
  35151. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35152. "type": "number"
  35153. },
  35154. "operatetype": {
  35155. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35156. "type": "integer"
  35157. },
  35158. "operatorid": {
  35159. "description": "登录账号(LoginID)",
  35160. "type": "integer"
  35161. },
  35162. "optiontype": {
  35163. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35164. "type": "integer"
  35165. },
  35166. "orderid": {
  35167. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35168. "type": "string"
  35169. },
  35170. "orderprice": {
  35171. "description": "委托价格",
  35172. "type": "number"
  35173. },
  35174. "orderqty": {
  35175. "description": "委托数量",
  35176. "type": "number"
  35177. },
  35178. "ordersrc": {
  35179. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35180. "type": "integer"
  35181. },
  35182. "orderstatus": {
  35183. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35184. "type": "integer"
  35185. },
  35186. "ordertime": {
  35187. "description": "委托时间",
  35188. "type": "string"
  35189. },
  35190. "preexerciseprice": {
  35191. "description": "预申报价格",
  35192. "type": "number"
  35193. },
  35194. "premium": {
  35195. "description": "权利金",
  35196. "type": "number"
  35197. },
  35198. "preorderid": {
  35199. "description": "关联预埋单号(止盈止损单时填写)",
  35200. "type": "string"
  35201. },
  35202. "pricemode": {
  35203. "description": "取价方式 - 1:市价 2: 限价",
  35204. "type": "integer"
  35205. },
  35206. "qtydecimalplace": {
  35207. "description": "成交量小数位",
  35208. "type": "integer"
  35209. },
  35210. "quoteid": {
  35211. "description": "报价单ID",
  35212. "type": "integer"
  35213. },
  35214. "relatedid": {
  35215. "description": "关联单号(交割单)",
  35216. "type": "string"
  35217. },
  35218. "retcode": {
  35219. "description": "错误代码",
  35220. "type": "integer"
  35221. },
  35222. "sessionid": {
  35223. "description": "会话ID",
  35224. "type": "integer"
  35225. },
  35226. "tradedate": {
  35227. "description": "交易日(yyyyMMdd)",
  35228. "type": "string"
  35229. },
  35230. "trademode": {
  35231. "description": "交易模式",
  35232. "type": "integer"
  35233. },
  35234. "tradeproperty": {
  35235. "description": "交易属性",
  35236. "type": "integer"
  35237. },
  35238. "tradeqty": {
  35239. "description": "成交数量",
  35240. "type": "number"
  35241. },
  35242. "unfreezecharge": {
  35243. "description": "解冻手续费",
  35244. "type": "number"
  35245. },
  35246. "unfreezemargin": {
  35247. "description": "解冻保证金",
  35248. "type": "number"
  35249. },
  35250. "updatetime": {
  35251. "description": "更新时间",
  35252. "type": "string"
  35253. },
  35254. "uuid": {
  35255. "description": "发起端唯一id",
  35256. "type": "string"
  35257. },
  35258. "validtime": {
  35259. "description": "有效期限",
  35260. "type": "string"
  35261. },
  35262. "validtype": {
  35263. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35264. "type": "integer"
  35265. },
  35266. "volumetype": {
  35267. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35268. "type": "integer"
  35269. }
  35270. }
  35271. },
  35272. "order.QueryTradeDetailRsp": {
  35273. "type": "object",
  35274. "required": [
  35275. "accountid",
  35276. "buyorsell",
  35277. "goodsid",
  35278. "marketid",
  35279. "memberuserid",
  35280. "orderid",
  35281. "tradeamount",
  35282. "tradedate",
  35283. "tradeid",
  35284. "tradeprice",
  35285. "tradeqty",
  35286. "tradetime"
  35287. ],
  35288. "properties": {
  35289. "accountid": {
  35290. "description": "账户ID[报价币种]",
  35291. "type": "integer"
  35292. },
  35293. "advanceratio": {
  35294. "description": "首付比率",
  35295. "type": "number"
  35296. },
  35297. "buildtype": {
  35298. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35299. "type": "integer"
  35300. },
  35301. "buyorsell": {
  35302. "description": "方向 - 0:买 1:卖",
  35303. "type": "integer"
  35304. },
  35305. "charge": {
  35306. "description": "手续费",
  35307. "type": "number"
  35308. },
  35309. "closecharge": {
  35310. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35311. "type": "number"
  35312. },
  35313. "closeexchagechargevalue": {
  35314. "description": "平仓交易所手续费设置值",
  35315. "type": "number"
  35316. },
  35317. "closefeealgorithm": {
  35318. "description": "平仓手续费收取方式 1:比率 2:固定",
  35319. "type": "integer"
  35320. },
  35321. "closememberchargevalue": {
  35322. "description": "平仓会员手续费设置值",
  35323. "type": "number"
  35324. },
  35325. "closepl": {
  35326. "description": "平仓盈亏",
  35327. "type": "number"
  35328. },
  35329. "closepl2": {
  35330. "description": "平仓盈亏[逐笔]",
  35331. "type": "number"
  35332. },
  35333. "closeqty": {
  35334. "description": "平仓数量(先建后平操作 需要记录)",
  35335. "type": "number"
  35336. },
  35337. "creditamount": {
  35338. "description": "授信金额",
  35339. "type": "number"
  35340. },
  35341. "decimalplace": {
  35342. "description": "商品报价小数位",
  35343. "type": "integer"
  35344. },
  35345. "enumdicname": {
  35346. "description": "单位名称",
  35347. "type": "string"
  35348. },
  35349. "gcaccountid": {
  35350. "description": "账户ID[合约币种]",
  35351. "type": "integer"
  35352. },
  35353. "goodscode": {
  35354. "description": "商品代码",
  35355. "type": "string"
  35356. },
  35357. "goodsid": {
  35358. "description": "商品ID",
  35359. "type": "integer"
  35360. },
  35361. "goodsname": {
  35362. "description": "商品名称",
  35363. "type": "string"
  35364. },
  35365. "goodunitid": {
  35366. "description": "商品单位id",
  35367. "type": "integer"
  35368. },
  35369. "intclosepl": {
  35370. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  35371. "type": "integer"
  35372. },
  35373. "isconfirmexercise": {
  35374. "description": "是否确认行权- 0:否 1:是",
  35375. "type": "integer"
  35376. },
  35377. "ismain": {
  35378. "description": "是否主单 - 0:不是 1:是",
  35379. "type": "integer"
  35380. },
  35381. "ispreexercise": {
  35382. "description": "是否预申报- 0:否 1:是",
  35383. "type": "integer"
  35384. },
  35385. "isreckoned": {
  35386. "description": "是否结算 - 0:未结算 1:已结算",
  35387. "type": "integer"
  35388. },
  35389. "listingselecttype": {
  35390. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35391. "type": "integer"
  35392. },
  35393. "marketid": {
  35394. "description": "市场ID",
  35395. "type": "integer"
  35396. },
  35397. "marketname": {
  35398. "description": "市场名称",
  35399. "type": "string"
  35400. },
  35401. "matchaccountid": {
  35402. "description": "对手账号id",
  35403. "type": "integer"
  35404. },
  35405. "memberuserid": {
  35406. "description": "会员id 个人投资者 需要填写",
  35407. "type": "integer"
  35408. },
  35409. "opencharge": {
  35410. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35411. "type": "number"
  35412. },
  35413. "openexchagechargevalue": {
  35414. "description": "建仓交易所手续费设置值",
  35415. "type": "number"
  35416. },
  35417. "openfeealgorithm": {
  35418. "description": "建仓手续费收取方式 1:比率 2:固定",
  35419. "type": "integer"
  35420. },
  35421. "openmemberchargevalue": {
  35422. "description": "建仓会员手续费设置值",
  35423. "type": "number"
  35424. },
  35425. "openqty": {
  35426. "description": "开仓数量(先建后平操作 需要记录)",
  35427. "type": "number"
  35428. },
  35429. "optiontype": {
  35430. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35431. "type": "integer"
  35432. },
  35433. "orderid": {
  35434. "description": "委托单号",
  35435. "type": "string"
  35436. },
  35437. "payamount": {
  35438. "description": "支付金额(付款金额)",
  35439. "type": "number"
  35440. },
  35441. "performanceplanid": {
  35442. "description": "履约计划ID[期权]",
  35443. "type": "integer"
  35444. },
  35445. "performancestatus": {
  35446. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35447. "type": "integer"
  35448. },
  35449. "preexerciseprice": {
  35450. "description": "预申报价格",
  35451. "type": "number"
  35452. },
  35453. "premium": {
  35454. "description": "权利金 - [持仓单的权利金]",
  35455. "type": "number"
  35456. },
  35457. "qtydecimalplace": {
  35458. "description": "商品报价小数位",
  35459. "type": "integer"
  35460. },
  35461. "recvamount": {
  35462. "description": "到账金额 = 成交金额 - 手续费",
  35463. "type": "number"
  35464. },
  35465. "relatedouttradeid": {
  35466. "description": "关联外部成交单ID",
  35467. "type": "integer"
  35468. },
  35469. "status": {
  35470. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35471. "type": "integer"
  35472. },
  35473. "totalamount": {
  35474. "description": "订单总额 = 成交金额 + 手续费",
  35475. "type": "number"
  35476. },
  35477. "tradeamount": {
  35478. "description": "成交金额[账户币种,用于所有权]",
  35479. "type": "number"
  35480. },
  35481. "tradedate": {
  35482. "description": "交易日(yyyyMMdd)",
  35483. "type": "string"
  35484. },
  35485. "tradeid": {
  35486. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35487. "type": "string"
  35488. },
  35489. "trademode": {
  35490. "description": "交易模式",
  35491. "type": "integer"
  35492. },
  35493. "tradeprice": {
  35494. "description": "成交价格",
  35495. "type": "number"
  35496. },
  35497. "tradeproperty": {
  35498. "description": "交易属性",
  35499. "type": "integer"
  35500. },
  35501. "tradeqty": {
  35502. "description": "成交数量",
  35503. "type": "number"
  35504. },
  35505. "tradetime": {
  35506. "description": "成交时间",
  35507. "type": "string"
  35508. },
  35509. "tradetype": {
  35510. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35511. "type": "integer"
  35512. }
  35513. }
  35514. },
  35515. "order.QueryTradeOrderDetailRsp": {
  35516. "type": "object",
  35517. "required": [
  35518. "accountid",
  35519. "buildtype",
  35520. "buyorsell",
  35521. "goodsid",
  35522. "marketid",
  35523. "operatetype",
  35524. "orderqty",
  35525. "ordertime",
  35526. "pricemode",
  35527. "tradedate",
  35528. "validtype"
  35529. ],
  35530. "properties": {
  35531. "accountid": {
  35532. "description": "账户ID[报价币种]",
  35533. "type": "integer"
  35534. },
  35535. "buildtype": {
  35536. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35537. "type": "integer"
  35538. },
  35539. "buyorsell": {
  35540. "description": "买卖 - 0:买 1:卖",
  35541. "type": "integer"
  35542. },
  35543. "cancelorderid": {
  35544. "description": "撤单单号(撤单时填写)",
  35545. "type": "string"
  35546. },
  35547. "cancelqty": {
  35548. "description": "撤单数量",
  35549. "type": "number"
  35550. },
  35551. "clienttype": {
  35552. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35553. "type": "integer"
  35554. },
  35555. "closefreezecharge": {
  35556. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35557. "type": "number"
  35558. },
  35559. "closeqty": {
  35560. "description": "平仓数量(先建后平操作 需要记录)",
  35561. "type": "number"
  35562. },
  35563. "closetradeqty": {
  35564. "description": "平仓成交数量(先建后平操作,需要记录)",
  35565. "type": "number"
  35566. },
  35567. "closeunfreezecharge": {
  35568. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35569. "type": "number"
  35570. },
  35571. "decimalplace": {
  35572. "description": "商品报价小数位",
  35573. "type": "integer"
  35574. },
  35575. "delistingtype": {
  35576. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35577. "type": "integer"
  35578. },
  35579. "enableqty": {
  35580. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  35581. "type": "number"
  35582. },
  35583. "enumdicname": {
  35584. "description": "单位名称",
  35585. "type": "string"
  35586. },
  35587. "freezecharge": {
  35588. "description": "冻结手续费",
  35589. "type": "number"
  35590. },
  35591. "freezemargin": {
  35592. "description": "冻结保证金(冻结交易金额)",
  35593. "type": "number"
  35594. },
  35595. "goodscode": {
  35596. "description": "商品代码",
  35597. "type": "string"
  35598. },
  35599. "goodsid": {
  35600. "description": "商品ID",
  35601. "type": "integer"
  35602. },
  35603. "goodsname": {
  35604. "description": "商品名称",
  35605. "type": "string"
  35606. },
  35607. "goodunitid": {
  35608. "description": "商品单位id",
  35609. "type": "integer"
  35610. },
  35611. "listingselecttype": {
  35612. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35613. "type": "integer"
  35614. },
  35615. "marketid": {
  35616. "description": "市场ID",
  35617. "type": "integer"
  35618. },
  35619. "marketname": {
  35620. "description": "市场名称",
  35621. "type": "string"
  35622. },
  35623. "openfreezecharge": {
  35624. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35625. "type": "number"
  35626. },
  35627. "openqty": {
  35628. "description": "开仓数量(先建后平操作,需要记录)",
  35629. "type": "number"
  35630. },
  35631. "opentradeqty": {
  35632. "description": "开仓成交数量(先建后平操作,需要记录)",
  35633. "type": "number"
  35634. },
  35635. "openunfreezecharge": {
  35636. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35637. "type": "number"
  35638. },
  35639. "operatetype": {
  35640. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35641. "type": "integer"
  35642. },
  35643. "operatorid": {
  35644. "description": "登录账号(LoginID)",
  35645. "type": "integer"
  35646. },
  35647. "orderid": {
  35648. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35649. "type": "string"
  35650. },
  35651. "orderprice": {
  35652. "description": "委托价格",
  35653. "type": "number"
  35654. },
  35655. "orderqty": {
  35656. "description": "委托数量",
  35657. "type": "number"
  35658. },
  35659. "ordersrc": {
  35660. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35661. "type": "integer"
  35662. },
  35663. "orderstatus": {
  35664. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35665. "type": "integer"
  35666. },
  35667. "ordertime": {
  35668. "description": "委托时间",
  35669. "type": "string"
  35670. },
  35671. "preorderid": {
  35672. "description": "关联预埋单号(止盈止损单时填写)",
  35673. "type": "string"
  35674. },
  35675. "pricemode": {
  35676. "description": "取价方式 - 1:市价 2: 限价",
  35677. "type": "integer"
  35678. },
  35679. "qtydecimalplace": {
  35680. "description": "商品报价小数位",
  35681. "type": "integer"
  35682. },
  35683. "relatedid": {
  35684. "description": "关联单号(交割单)",
  35685. "type": "string"
  35686. },
  35687. "tradedate": {
  35688. "description": "交易日(yyyyMMdd)",
  35689. "type": "string"
  35690. },
  35691. "trademode": {
  35692. "description": "交易模式",
  35693. "type": "integer"
  35694. },
  35695. "tradeqty": {
  35696. "description": "成交数量",
  35697. "type": "number"
  35698. },
  35699. "unfreezecharge": {
  35700. "description": "解冻手续费",
  35701. "type": "number"
  35702. },
  35703. "unfreezemargin": {
  35704. "description": "解冻保证金",
  35705. "type": "number"
  35706. },
  35707. "validtime": {
  35708. "description": "有效期限",
  35709. "type": "string"
  35710. },
  35711. "validtype": {
  35712. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35713. "type": "integer"
  35714. },
  35715. "volumetype": {
  35716. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35717. "type": "integer"
  35718. }
  35719. }
  35720. },
  35721. "order.QueryTradePositionRsp": {
  35722. "type": "object",
  35723. "required": [
  35724. "goodsid"
  35725. ],
  35726. "properties": {
  35727. "accountid": {
  35728. "description": "资金账户",
  35729. "type": "integer"
  35730. },
  35731. "agreeunit": {
  35732. "description": "合约单位",
  35733. "type": "number"
  35734. },
  35735. "averageprice": {
  35736. "description": "持仓均价",
  35737. "type": "number"
  35738. },
  35739. "buyorsell": {
  35740. "description": "方向 - 0:买 1:卖",
  35741. "type": "integer"
  35742. },
  35743. "closetotalqty": {
  35744. "description": "平仓总数量",
  35745. "type": "number"
  35746. },
  35747. "curholderamount": {
  35748. "description": "当前持仓总金额[商品币种]",
  35749. "type": "number"
  35750. },
  35751. "curpositionqty": {
  35752. "description": "当前持仓总数量",
  35753. "type": "number"
  35754. },
  35755. "currencyid": {
  35756. "description": "报价货币ID",
  35757. "type": "integer"
  35758. },
  35759. "curtdposition": {
  35760. "description": "期末今日头寸",
  35761. "type": "number"
  35762. },
  35763. "decimalplace": {
  35764. "description": "报价小数位",
  35765. "type": "integer"
  35766. },
  35767. "enableqty": {
  35768. "description": "可用量",
  35769. "type": "number"
  35770. },
  35771. "fretdposition": {
  35772. "description": "冻结今日头寸",
  35773. "type": "number"
  35774. },
  35775. "frozenqty": {
  35776. "description": "持仓冻结数量",
  35777. "type": "number"
  35778. },
  35779. "goodscode": {
  35780. "description": "商品代码",
  35781. "type": "string"
  35782. },
  35783. "goodsid": {
  35784. "description": "商品Id",
  35785. "type": "integer"
  35786. },
  35787. "goodsname": {
  35788. "description": "商品名称",
  35789. "type": "string"
  35790. },
  35791. "goodunit": {
  35792. "description": "报价单位",
  35793. "type": "string"
  35794. },
  35795. "goodunitid": {
  35796. "description": "报价单位ID",
  35797. "type": "integer"
  35798. },
  35799. "holderamount": {
  35800. "description": "期初持仓总金额[商品币种]",
  35801. "type": "number"
  35802. },
  35803. "lastprice": {
  35804. "description": "最新价",
  35805. "type": "number"
  35806. },
  35807. "marketamount": {
  35808. "description": "市值",
  35809. "type": "number"
  35810. },
  35811. "marketid": {
  35812. "description": "所属市场ID",
  35813. "type": "integer"
  35814. },
  35815. "openreqqty": {
  35816. "description": "开仓申请数量(用于比较最大持仓数量)",
  35817. "type": "number"
  35818. },
  35819. "opentotalqty": {
  35820. "description": "开仓总数量",
  35821. "type": "number"
  35822. },
  35823. "otherfrozenqty": {
  35824. "description": "持仓其他冻结数量(交割冻结)",
  35825. "type": "number"
  35826. },
  35827. "positionpl": {
  35828. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  35829. "type": "number"
  35830. },
  35831. "positionplrate": {
  35832. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  35833. "type": "number"
  35834. },
  35835. "positionqty": {
  35836. "description": "期初持仓数量",
  35837. "type": "number"
  35838. },
  35839. "qtydecimalplace": {
  35840. "description": "成交量小数位",
  35841. "type": "integer"
  35842. },
  35843. "tnqty": {
  35844. "description": "T+N冻结总量",
  35845. "type": "number"
  35846. },
  35847. "tnusedqty": {
  35848. "description": "T+N使用量(可以使用T+N的冻结数量)",
  35849. "type": "number"
  35850. },
  35851. "trademode": {
  35852. "description": "交易模式",
  35853. "type": "integer"
  35854. },
  35855. "usedmargin": {
  35856. "description": "占用保证金[商品币种]",
  35857. "type": "number"
  35858. }
  35859. }
  35860. },
  35861. "pb.GoodsMarginCfgStruct": {
  35862. "type": "object",
  35863. "properties": {
  35864. "CustomerTypeID": {
  35865. "description": "投资者客户类型",
  35866. "type": "integer"
  35867. },
  35868. "GoodsID": {
  35869. "description": "商品ID",
  35870. "type": "integer"
  35871. },
  35872. "IsDefault": {
  35873. "description": "是否默认标志位",
  35874. "type": "integer"
  35875. },
  35876. "LockMarginValue": {
  35877. "description": "锁仓保证金",
  35878. "type": "number"
  35879. },
  35880. "MarginAlgorithm": {
  35881. "description": "保证金计算方式",
  35882. "type": "integer"
  35883. },
  35884. "MarketMarginValue": {
  35885. "description": "即市保证金值",
  35886. "type": "number"
  35887. },
  35888. "RealMarginAlgorithm": {
  35889. "description": "实付保证金计算方式",
  35890. "type": "integer"
  35891. },
  35892. "RealMarginValue": {
  35893. "description": "实付比例",
  35894. "type": "number"
  35895. },
  35896. "ReckonMarginValue": {
  35897. "description": "结算保证金值",
  35898. "type": "number"
  35899. }
  35900. }
  35901. },
  35902. "quote.HistoryData": {
  35903. "type": "object",
  35904. "properties": {
  35905. "c": {
  35906. "description": "收盘价",
  35907. "type": "number"
  35908. },
  35909. "f": {
  35910. "description": "是否补充数据",
  35911. "type": "boolean"
  35912. },
  35913. "h": {
  35914. "description": "最高价",
  35915. "type": "number"
  35916. },
  35917. "hv": {
  35918. "description": "持仓量",
  35919. "type": "integer"
  35920. },
  35921. "l": {
  35922. "description": "最低价",
  35923. "type": "number"
  35924. },
  35925. "o": {
  35926. "description": "开盘价",
  35927. "type": "number"
  35928. },
  35929. "s": {
  35930. "description": "结算价,日线周期(包括)以上才有",
  35931. "type": "number"
  35932. },
  35933. "ts": {
  35934. "description": "时间",
  35935. "type": "string"
  35936. },
  35937. "tt": {
  35938. "description": "总金额",
  35939. "type": "number"
  35940. },
  35941. "tv": {
  35942. "description": "总量",
  35943. "type": "integer"
  35944. }
  35945. }
  35946. },
  35947. "quote.HistoryTikData": {
  35948. "type": "object",
  35949. "properties": {
  35950. "AV": {
  35951. "description": "卖量",
  35952. "type": "integer"
  35953. },
  35954. "Ask": {
  35955. "description": "卖价",
  35956. "type": "number"
  35957. },
  35958. "BV": {
  35959. "description": "买量",
  35960. "type": "integer"
  35961. },
  35962. "Bid": {
  35963. "description": "买价",
  35964. "type": "number"
  35965. },
  35966. "HI": {
  35967. "description": "单笔持仓",
  35968. "type": "integer"
  35969. },
  35970. "HV": {
  35971. "description": "持仓量",
  35972. "type": "integer"
  35973. },
  35974. "PE": {
  35975. "description": "现价",
  35976. "type": "number"
  35977. },
  35978. "TDR": {
  35979. "description": "交易方向,0:买 1:卖",
  35980. "type": "integer"
  35981. },
  35982. "TK": {
  35983. "description": "交易类型",
  35984. "type": "integer"
  35985. },
  35986. "TS": {
  35987. "description": "行情时间文本",
  35988. "type": "string"
  35989. },
  35990. "TT": {
  35991. "description": "现金额",
  35992. "type": "number"
  35993. },
  35994. "Vol": {
  35995. "description": "现量",
  35996. "type": "integer"
  35997. }
  35998. }
  35999. },
  36000. "quote.QueryQuoteDayRsp": {
  36001. "type": "object",
  36002. "properties": {
  36003. "ask": {
  36004. "description": "卖1",
  36005. "type": "number"
  36006. },
  36007. "ask10": {
  36008. "description": "卖10",
  36009. "type": "number"
  36010. },
  36011. "ask2": {
  36012. "description": "卖2",
  36013. "type": "number"
  36014. },
  36015. "ask3": {
  36016. "description": "卖3",
  36017. "type": "number"
  36018. },
  36019. "ask4": {
  36020. "description": "卖4",
  36021. "type": "number"
  36022. },
  36023. "ask5": {
  36024. "description": "卖5",
  36025. "type": "number"
  36026. },
  36027. "ask6": {
  36028. "description": "卖6",
  36029. "type": "number"
  36030. },
  36031. "ask7": {
  36032. "description": "卖7",
  36033. "type": "number"
  36034. },
  36035. "ask8": {
  36036. "description": "卖8",
  36037. "type": "number"
  36038. },
  36039. "ask9": {
  36040. "description": "卖9",
  36041. "type": "number"
  36042. },
  36043. "askorderid": {
  36044. "description": "卖单号1",
  36045. "type": "integer"
  36046. },
  36047. "askorderid2": {
  36048. "description": "卖单号2",
  36049. "type": "integer"
  36050. },
  36051. "askorderid3": {
  36052. "description": "卖单号3",
  36053. "type": "integer"
  36054. },
  36055. "askorderid4": {
  36056. "description": "卖单号4",
  36057. "type": "integer"
  36058. },
  36059. "askorderid5": {
  36060. "description": "卖单号5",
  36061. "type": "integer"
  36062. },
  36063. "askordervolume": {
  36064. "description": "卖单量1",
  36065. "type": "integer"
  36066. },
  36067. "askordervolume10": {
  36068. "description": "卖单量10",
  36069. "type": "integer"
  36070. },
  36071. "askordervolume2": {
  36072. "description": "卖单量2",
  36073. "type": "integer"
  36074. },
  36075. "askordervolume3": {
  36076. "description": "卖单量3",
  36077. "type": "integer"
  36078. },
  36079. "askordervolume4": {
  36080. "description": "卖单量4",
  36081. "type": "integer"
  36082. },
  36083. "askordervolume5": {
  36084. "description": "卖单量5",
  36085. "type": "integer"
  36086. },
  36087. "askordervolume6": {
  36088. "description": "卖单量6",
  36089. "type": "integer"
  36090. },
  36091. "askordervolume7": {
  36092. "description": "卖单量7",
  36093. "type": "integer"
  36094. },
  36095. "askordervolume8": {
  36096. "description": "卖单量8",
  36097. "type": "integer"
  36098. },
  36099. "askordervolume9": {
  36100. "description": "卖单量9",
  36101. "type": "integer"
  36102. },
  36103. "askqueueinfo": {
  36104. "description": "大利市卖港股用",
  36105. "type": "string"
  36106. },
  36107. "askvolume": {
  36108. "description": "卖量1",
  36109. "type": "integer"
  36110. },
  36111. "askvolume10": {
  36112. "description": "卖量10",
  36113. "type": "integer"
  36114. },
  36115. "askvolume2": {
  36116. "description": "卖量2",
  36117. "type": "integer"
  36118. },
  36119. "askvolume3": {
  36120. "description": "卖量3",
  36121. "type": "integer"
  36122. },
  36123. "askvolume4": {
  36124. "description": "卖量4",
  36125. "type": "integer"
  36126. },
  36127. "askvolume5": {
  36128. "description": "卖量5",
  36129. "type": "integer"
  36130. },
  36131. "askvolume6": {
  36132. "description": "卖量6",
  36133. "type": "integer"
  36134. },
  36135. "askvolume7": {
  36136. "description": "卖量7",
  36137. "type": "integer"
  36138. },
  36139. "askvolume8": {
  36140. "description": "卖量8",
  36141. "type": "integer"
  36142. },
  36143. "askvolume9": {
  36144. "description": "卖量9",
  36145. "type": "integer"
  36146. },
  36147. "averageprice": {
  36148. "description": "均价",
  36149. "type": "number"
  36150. },
  36151. "bid": {
  36152. "description": "买1",
  36153. "type": "number"
  36154. },
  36155. "bid10": {
  36156. "description": "买10",
  36157. "type": "number"
  36158. },
  36159. "bid2": {
  36160. "description": "买2",
  36161. "type": "number"
  36162. },
  36163. "bid3": {
  36164. "description": "买3",
  36165. "type": "number"
  36166. },
  36167. "bid4": {
  36168. "description": "买4",
  36169. "type": "number"
  36170. },
  36171. "bid5": {
  36172. "description": "买5",
  36173. "type": "number"
  36174. },
  36175. "bid6": {
  36176. "description": "买6",
  36177. "type": "number"
  36178. },
  36179. "bid7": {
  36180. "description": "买7",
  36181. "type": "number"
  36182. },
  36183. "bid8": {
  36184. "description": "买8",
  36185. "type": "number"
  36186. },
  36187. "bid9": {
  36188. "description": "买9",
  36189. "type": "number"
  36190. },
  36191. "bidorderid": {
  36192. "description": "买单号1",
  36193. "type": "integer"
  36194. },
  36195. "bidorderid2": {
  36196. "description": "买单号2",
  36197. "type": "integer"
  36198. },
  36199. "bidorderid3": {
  36200. "description": "买单号3",
  36201. "type": "integer"
  36202. },
  36203. "bidorderid4": {
  36204. "description": "买单号4",
  36205. "type": "integer"
  36206. },
  36207. "bidorderid5": {
  36208. "description": "买单号5",
  36209. "type": "integer"
  36210. },
  36211. "bidordervolume": {
  36212. "description": "买单量1",
  36213. "type": "integer"
  36214. },
  36215. "bidordervolume10": {
  36216. "description": "买单量10",
  36217. "type": "integer"
  36218. },
  36219. "bidordervolume2": {
  36220. "description": "买单量2",
  36221. "type": "integer"
  36222. },
  36223. "bidordervolume3": {
  36224. "description": "买单量3",
  36225. "type": "integer"
  36226. },
  36227. "bidordervolume4": {
  36228. "description": "买单量4",
  36229. "type": "integer"
  36230. },
  36231. "bidordervolume5": {
  36232. "description": "买单量5",
  36233. "type": "integer"
  36234. },
  36235. "bidordervolume6": {
  36236. "description": "买单量6",
  36237. "type": "integer"
  36238. },
  36239. "bidordervolume7": {
  36240. "description": "买单量7",
  36241. "type": "integer"
  36242. },
  36243. "bidordervolume8": {
  36244. "description": "买单量8",
  36245. "type": "integer"
  36246. },
  36247. "bidordervolume9": {
  36248. "description": "买单量9",
  36249. "type": "integer"
  36250. },
  36251. "bidqueueinfo": {
  36252. "description": "大利市买港股用",
  36253. "type": "string"
  36254. },
  36255. "bidvolume": {
  36256. "description": "买量1",
  36257. "type": "integer"
  36258. },
  36259. "bidvolume10": {
  36260. "description": "买量10",
  36261. "type": "integer"
  36262. },
  36263. "bidvolume2": {
  36264. "description": "买量2",
  36265. "type": "integer"
  36266. },
  36267. "bidvolume3": {
  36268. "description": "买量3",
  36269. "type": "integer"
  36270. },
  36271. "bidvolume4": {
  36272. "description": "买量4",
  36273. "type": "integer"
  36274. },
  36275. "bidvolume5": {
  36276. "description": "买量5",
  36277. "type": "integer"
  36278. },
  36279. "bidvolume6": {
  36280. "description": "买量6",
  36281. "type": "integer"
  36282. },
  36283. "bidvolume7": {
  36284. "description": "买量7",
  36285. "type": "integer"
  36286. },
  36287. "bidvolume8": {
  36288. "description": "买量8",
  36289. "type": "integer"
  36290. },
  36291. "bidvolume9": {
  36292. "description": "买量9",
  36293. "type": "integer"
  36294. },
  36295. "calloptionpremiums": {
  36296. "description": "认购期权1",
  36297. "type": "integer"
  36298. },
  36299. "calloptionpremiums2": {
  36300. "description": "认购期权2",
  36301. "type": "integer"
  36302. },
  36303. "calloptionpremiums3": {
  36304. "description": "认购期权3",
  36305. "type": "integer"
  36306. },
  36307. "calloptionpremiums4": {
  36308. "description": "认购期权4",
  36309. "type": "integer"
  36310. },
  36311. "calloptionpremiums5": {
  36312. "description": "认购期权5",
  36313. "type": "integer"
  36314. },
  36315. "cleartime": {
  36316. "description": "清盘时间",
  36317. "type": "integer"
  36318. },
  36319. "exchangecode": {
  36320. "description": "交易所代码",
  36321. "type": "integer"
  36322. },
  36323. "exchangedate": {
  36324. "description": "交易日",
  36325. "type": "integer"
  36326. },
  36327. "goodscode": {
  36328. "description": "商品代码",
  36329. "type": "string"
  36330. },
  36331. "grepmarketprice": {
  36332. "description": "暗盘价 港股专用",
  36333. "type": "number"
  36334. },
  36335. "highest": {
  36336. "description": "最高价",
  36337. "type": "number"
  36338. },
  36339. "holdincrement": {
  36340. "description": "单笔持仓",
  36341. "type": "integer"
  36342. },
  36343. "holdvolume": {
  36344. "description": "持仓",
  36345. "type": "integer"
  36346. },
  36347. "iep": {
  36348. "description": "平衡价 港股专用",
  36349. "type": "number"
  36350. },
  36351. "iev": {
  36352. "description": "平衡量 港股专用",
  36353. "type": "number"
  36354. },
  36355. "inventory": {
  36356. "description": "库存",
  36357. "type": "integer"
  36358. },
  36359. "iscleared": {
  36360. "description": "是否清盘标志",
  36361. "type": "integer"
  36362. },
  36363. "issettled": {
  36364. "description": "是否结算标志",
  36365. "type": "integer"
  36366. },
  36367. "last": {
  36368. "description": "最新价",
  36369. "type": "number"
  36370. },
  36371. "lastlot": {
  36372. "description": "最新成交手数",
  36373. "type": "integer"
  36374. },
  36375. "lasttime": {
  36376. "description": "行情时间(只有现价变化行情时间才变化)",
  36377. "type": "string"
  36378. },
  36379. "lastturnover": {
  36380. "description": "最新成交金额",
  36381. "type": "number"
  36382. },
  36383. "lastvolume": {
  36384. "description": "最新成交量",
  36385. "type": "integer"
  36386. },
  36387. "limitdown": {
  36388. "description": "跌停价",
  36389. "type": "number"
  36390. },
  36391. "limitup": {
  36392. "description": "涨停价",
  36393. "type": "number"
  36394. },
  36395. "lowest": {
  36396. "description": "最低价",
  36397. "type": "number"
  36398. },
  36399. "nontotalholdervolume": {
  36400. "description": "非交易持仓量",
  36401. "type": "integer"
  36402. },
  36403. "nontotallot": {
  36404. "description": "非交易总手数",
  36405. "type": "integer"
  36406. },
  36407. "nontotalturnover": {
  36408. "description": "非交易总金额",
  36409. "type": "integer"
  36410. },
  36411. "nontotalvolume": {
  36412. "description": "非交易总量",
  36413. "type": "integer"
  36414. },
  36415. "opened": {
  36416. "description": "开盘价",
  36417. "type": "number"
  36418. },
  36419. "opentime": {
  36420. "description": "开盘时间",
  36421. "type": "string"
  36422. },
  36423. "orderid": {
  36424. "description": "序号",
  36425. "type": "integer"
  36426. },
  36427. "preclose": {
  36428. "description": "昨收",
  36429. "type": "number"
  36430. },
  36431. "preholdvolume": {
  36432. "description": "昨持仓",
  36433. "type": "integer"
  36434. },
  36435. "presettle": {
  36436. "description": "昨结价",
  36437. "type": "number"
  36438. },
  36439. "publictradetype": {
  36440. "description": "公共交易标志类型 港股专用",
  36441. "type": "string"
  36442. },
  36443. "putoptionpremiums": {
  36444. "description": "认沽期权1",
  36445. "type": "integer"
  36446. },
  36447. "putoptionpremiums2": {
  36448. "description": "认沽期权2",
  36449. "type": "integer"
  36450. },
  36451. "putoptionpremiums3": {
  36452. "description": "认沽期权3",
  36453. "type": "integer"
  36454. },
  36455. "putoptionpremiums4": {
  36456. "description": "认沽期权4",
  36457. "type": "integer"
  36458. },
  36459. "putoptionpremiums5": {
  36460. "description": "认沽期权5",
  36461. "type": "integer"
  36462. },
  36463. "settle": {
  36464. "description": "结算价",
  36465. "type": "number"
  36466. },
  36467. "strikeprice": {
  36468. "description": "发行价",
  36469. "type": "number"
  36470. },
  36471. "totalaskvolume": {
  36472. "description": "内盘",
  36473. "type": "integer"
  36474. },
  36475. "totalbidvolume": {
  36476. "description": "外盘",
  36477. "type": "integer"
  36478. },
  36479. "totallot": {
  36480. "description": "总手数",
  36481. "type": "integer"
  36482. },
  36483. "totalturnover": {
  36484. "description": "总金额",
  36485. "type": "number"
  36486. },
  36487. "totalvolume": {
  36488. "description": "总量",
  36489. "type": "integer"
  36490. },
  36491. "utclasttime": {
  36492. "description": "utc的行情时间",
  36493. "type": "string"
  36494. }
  36495. }
  36496. },
  36497. "quote.QueryTSDataRsp": {
  36498. "type": "object",
  36499. "properties": {
  36500. "Count": {
  36501. "description": "交易日应有数据个数",
  36502. "type": "integer"
  36503. },
  36504. "decimalPlace": {
  36505. "description": "小数位",
  36506. "type": "integer"
  36507. },
  36508. "endTime": {
  36509. "description": "结束时间",
  36510. "type": "string"
  36511. },
  36512. "goodsCode": {
  36513. "description": "商品代码",
  36514. "type": "string"
  36515. },
  36516. "historyDatas": {
  36517. "description": "历史数据",
  36518. "type": "array",
  36519. "items": {
  36520. "$ref": "#/definitions/quote.HistoryData"
  36521. }
  36522. },
  36523. "outGoodsCode": {
  36524. "description": "外部商品代码",
  36525. "type": "string"
  36526. },
  36527. "preSettle": {
  36528. "description": "昨结价",
  36529. "type": "number"
  36530. },
  36531. "runSteps": {
  36532. "description": "交易日开休市计划",
  36533. "type": "array",
  36534. "items": {
  36535. "$ref": "#/definitions/quote.TSDataRunStep"
  36536. }
  36537. },
  36538. "startTime": {
  36539. "description": "开始时间",
  36540. "type": "string"
  36541. },
  36542. "tradeDate": {
  36543. "description": "交易日",
  36544. "type": "string"
  36545. }
  36546. }
  36547. },
  36548. "quote.TSDataRunStep": {
  36549. "type": "object",
  36550. "properties": {
  36551. "end": {
  36552. "description": "真实结束时间",
  36553. "type": "string"
  36554. },
  36555. "endflag": {
  36556. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  36557. "type": "integer"
  36558. },
  36559. "endtime": {
  36560. "description": "结束时间(HH:mm)",
  36561. "type": "string"
  36562. },
  36563. "endweekday": {
  36564. "description": "结束周几",
  36565. "type": "integer"
  36566. },
  36567. "groupid": {
  36568. "description": "分组ID",
  36569. "type": "integer"
  36570. },
  36571. "runstep": {
  36572. "description": "运行阶段 - 2:连续交易",
  36573. "type": "integer"
  36574. },
  36575. "sectionid": {
  36576. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  36577. "type": "integer"
  36578. },
  36579. "start": {
  36580. "description": "真实开始时间",
  36581. "type": "string"
  36582. },
  36583. "startflag": {
  36584. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  36585. "type": "integer"
  36586. },
  36587. "starttime": {
  36588. "description": "起始时间(HH:mm)",
  36589. "type": "string"
  36590. },
  36591. "startweekday": {
  36592. "description": "起始周几",
  36593. "type": "integer"
  36594. },
  36595. "tradeweekday": {
  36596. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  36597. "type": "integer"
  36598. }
  36599. }
  36600. },
  36601. "szdz.QueryConvertLogRsp": {
  36602. "type": "object",
  36603. "required": [
  36604. "logid"
  36605. ],
  36606. "properties": {
  36607. "accountid": {
  36608. "description": "资金账户ID",
  36609. "type": "integer"
  36610. },
  36611. "clientticket": {
  36612. "description": "客户端流水号",
  36613. "type": "string"
  36614. },
  36615. "converttype": {
  36616. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  36617. "type": "integer"
  36618. },
  36619. "createtime": {
  36620. "description": "记账时间",
  36621. "type": "string"
  36622. },
  36623. "daymaxvalue": {
  36624. "description": "配置当日最大转入限制",
  36625. "type": "number"
  36626. },
  36627. "daymaxvalue2": {
  36628. "description": "配置当日最大转入限制(转入)",
  36629. "type": "number"
  36630. },
  36631. "goodscode": {
  36632. "description": "商品代码",
  36633. "type": "string"
  36634. },
  36635. "goodsname": {
  36636. "description": "商品名称",
  36637. "type": "string"
  36638. },
  36639. "handlestatus": {
  36640. "description": "处理状态",
  36641. "type": "integer"
  36642. },
  36643. "innergoodsid": {
  36644. "description": "内部商品ID",
  36645. "type": "integer"
  36646. },
  36647. "inratio": {
  36648. "description": "配置转入比值",
  36649. "type": "integer"
  36650. },
  36651. "invalue": {
  36652. "description": "目标值",
  36653. "type": "number"
  36654. },
  36655. "logid": {
  36656. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36657. "type": "integer"
  36658. },
  36659. "mobile": {
  36660. "description": "手机号码(加密存储)",
  36661. "type": "string"
  36662. },
  36663. "outergoodscode": {
  36664. "description": "外部商品代码[JD\\PD]",
  36665. "type": "string"
  36666. },
  36667. "outratio": {
  36668. "description": "配置转出比值",
  36669. "type": "integer"
  36670. },
  36671. "outvalue": {
  36672. "description": "源值",
  36673. "type": "number"
  36674. },
  36675. "pddecimalplace": {
  36676. "description": "PD小数位",
  36677. "type": "integer"
  36678. },
  36679. "qty": {
  36680. "description": "数量",
  36681. "type": "string"
  36682. },
  36683. "remark": {
  36684. "description": "备注",
  36685. "type": "string"
  36686. },
  36687. "sessionid": {
  36688. "description": "会话ID",
  36689. "type": "integer"
  36690. },
  36691. "timemaxvalue": {
  36692. "description": "配置单次最大转入限制",
  36693. "type": "number"
  36694. },
  36695. "timemaxvalue2": {
  36696. "description": "配置单次最大转入限制(转入)",
  36697. "type": "number"
  36698. },
  36699. "timeminvalue": {
  36700. "description": "配置单次最小数量限制",
  36701. "type": "number"
  36702. },
  36703. "timeminvalue2": {
  36704. "description": "配置单次最小数量限制(转入)",
  36705. "type": "number"
  36706. },
  36707. "tradedate": {
  36708. "description": "交易日(yyyyMMdd)",
  36709. "type": "string"
  36710. },
  36711. "userid": {
  36712. "description": "用户ID",
  36713. "type": "integer"
  36714. }
  36715. }
  36716. },
  36717. "szdz.QueryGoodsPickupRsp": {
  36718. "type": "object",
  36719. "required": [
  36720. "takeorderid"
  36721. ],
  36722. "properties": {
  36723. "accountid": {
  36724. "description": "账户ID",
  36725. "type": "integer"
  36726. },
  36727. "address": {
  36728. "description": "提货人详细地址",
  36729. "type": "string"
  36730. },
  36731. "auditer": {
  36732. "description": "审核人",
  36733. "type": "integer"
  36734. },
  36735. "audittime": {
  36736. "description": "审核时间",
  36737. "type": "string"
  36738. },
  36739. "cardnum": {
  36740. "description": "提货人证件号码",
  36741. "type": "string"
  36742. },
  36743. "cardtypeid": {
  36744. "description": "提货人证件类型",
  36745. "type": "integer"
  36746. },
  36747. "checkremark": {
  36748. "description": "审核备注",
  36749. "type": "string"
  36750. },
  36751. "goodscode": {
  36752. "description": "商品代码",
  36753. "type": "string"
  36754. },
  36755. "goodsid": {
  36756. "description": "商品ID",
  36757. "type": "integer"
  36758. },
  36759. "goodsname": {
  36760. "description": "商品名称",
  36761. "type": "string"
  36762. },
  36763. "handlestatus": {
  36764. "description": "处理状态",
  36765. "type": "integer"
  36766. },
  36767. "marketid": {
  36768. "description": "市场ID",
  36769. "type": "integer"
  36770. },
  36771. "phonenum": {
  36772. "description": "提货人联系方式",
  36773. "type": "string"
  36774. },
  36775. "qty": {
  36776. "description": "提货数量",
  36777. "type": "number"
  36778. },
  36779. "recivername": {
  36780. "description": "提货人姓名",
  36781. "type": "string"
  36782. },
  36783. "reqtime": {
  36784. "description": "更新时间",
  36785. "type": "string"
  36786. },
  36787. "takemode": {
  36788. "description": "提货方式 - 2:自提 3:配送",
  36789. "type": "integer"
  36790. },
  36791. "takeorderid": {
  36792. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  36793. "type": "string"
  36794. },
  36795. "takeorderstatus": {
  36796. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  36797. "type": "integer"
  36798. },
  36799. "takeremark": {
  36800. "description": "提货备注",
  36801. "type": "string"
  36802. },
  36803. "tradedate": {
  36804. "description": "交易日(yyyyMMdd)",
  36805. "type": "string"
  36806. },
  36807. "userid": {
  36808. "description": "用户ID",
  36809. "type": "integer"
  36810. }
  36811. }
  36812. },
  36813. "szdz.QueryRecieptOrderRsp": {
  36814. "type": "object",
  36815. "required": [
  36816. "ordertime"
  36817. ],
  36818. "properties": {
  36819. "accountName": {
  36820. "description": "所属账号名称(已脱敏)",
  36821. "type": "string"
  36822. },
  36823. "accountid": {
  36824. "description": "资金账号",
  36825. "type": "integer"
  36826. },
  36827. "buyorsell": {
  36828. "description": "方向 - 0:买 1:卖",
  36829. "type": "integer"
  36830. },
  36831. "enableqty": {
  36832. "description": "可摘数量",
  36833. "type": "integer"
  36834. },
  36835. "goodscode": {
  36836. "description": "商品代码",
  36837. "type": "string"
  36838. },
  36839. "goodsid": {
  36840. "description": "商品ID",
  36841. "type": "integer"
  36842. },
  36843. "goodsname": {
  36844. "description": "商品名称",
  36845. "type": "string"
  36846. },
  36847. "orderid": {
  36848. "description": "委托单号",
  36849. "type": "string"
  36850. },
  36851. "orderprice": {
  36852. "description": "委托价格",
  36853. "type": "number"
  36854. },
  36855. "ordertime": {
  36856. "description": "委托时间",
  36857. "type": "string"
  36858. },
  36859. "tradedate": {
  36860. "description": "交易日(yyyyMMdd)",
  36861. "type": "string"
  36862. }
  36863. }
  36864. },
  36865. "szdz.QuerySZDZTradePositionRsp": {
  36866. "type": "object",
  36867. "properties": {
  36868. "accountid": {
  36869. "description": "账号Id",
  36870. "type": "integer"
  36871. },
  36872. "agreeunit": {
  36873. "description": "合约单位",
  36874. "type": "number"
  36875. },
  36876. "averageprice": {
  36877. "description": "持仓均价",
  36878. "type": "number"
  36879. },
  36880. "buyorsell": {
  36881. "description": "方向 - 0:买 1:卖",
  36882. "type": "integer"
  36883. },
  36884. "closetotalqty": {
  36885. "description": "平仓总数量",
  36886. "type": "integer"
  36887. },
  36888. "curholderamount": {
  36889. "description": "当前持仓总金额",
  36890. "type": "number"
  36891. },
  36892. "curpositionqty": {
  36893. "description": "当前持仓总数量",
  36894. "type": "integer"
  36895. },
  36896. "currencyid": {
  36897. "description": "报价货币ID",
  36898. "type": "integer"
  36899. },
  36900. "curtdposition": {
  36901. "description": "期末今日头寸",
  36902. "type": "integer"
  36903. },
  36904. "decimalplace": {
  36905. "description": "报价小数位",
  36906. "type": "integer"
  36907. },
  36908. "enableqty": {
  36909. "description": "可用量",
  36910. "type": "integer"
  36911. },
  36912. "fretdposition": {
  36913. "description": "冻结今日头寸",
  36914. "type": "integer"
  36915. },
  36916. "frozenqty": {
  36917. "description": "持仓冻结数量",
  36918. "type": "integer"
  36919. },
  36920. "goodscode": {
  36921. "description": "商品代码(内部)",
  36922. "type": "string"
  36923. },
  36924. "goodsid": {
  36925. "description": "商品Id",
  36926. "type": "integer"
  36927. },
  36928. "goodsname": {
  36929. "description": "商品名称",
  36930. "type": "string"
  36931. },
  36932. "goodunit": {
  36933. "description": "报价单位",
  36934. "type": "string"
  36935. },
  36936. "goodunitid": {
  36937. "description": "报价单位ID",
  36938. "type": "integer"
  36939. },
  36940. "holderamount": {
  36941. "description": "期初持仓总金额",
  36942. "type": "number"
  36943. },
  36944. "marketid": {
  36945. "description": "市场ID",
  36946. "type": "integer"
  36947. },
  36948. "openreqqty": {
  36949. "description": "开仓申请数量",
  36950. "type": "integer"
  36951. },
  36952. "opentotalqty": {
  36953. "description": "开仓总数量",
  36954. "type": "integer"
  36955. },
  36956. "otherfrozenqty": {
  36957. "description": "持仓其他冻结数量(交割冻结)",
  36958. "type": "integer"
  36959. },
  36960. "positionqty": {
  36961. "description": "期初持仓数量",
  36962. "type": "integer"
  36963. },
  36964. "szdz3freezqty": {
  36965. "description": "尚志大宗转换冻结总数量",
  36966. "type": "integer"
  36967. },
  36968. "tnqty": {
  36969. "description": "T+N冻结总量",
  36970. "type": "integer"
  36971. },
  36972. "tnusedqty": {
  36973. "description": "T+N使用量",
  36974. "type": "integer"
  36975. },
  36976. "trademode": {
  36977. "description": "交易模式",
  36978. "type": "integer"
  36979. },
  36980. "usedmargin": {
  36981. "description": "占用保证金",
  36982. "type": "number"
  36983. }
  36984. }
  36985. },
  36986. "taaccount.QueryAmountLogRsp": {
  36987. "type": "object",
  36988. "required": [
  36989. "accountid",
  36990. "amount",
  36991. "amountadjusttype",
  36992. "autoid",
  36993. "balance",
  36994. "createtime",
  36995. "currentbalance",
  36996. "operatetype"
  36997. ],
  36998. "properties": {
  36999. "OPERATETYPENAME": {
  37000. "description": "资金操作类型名称",
  37001. "type": "string"
  37002. },
  37003. "accountid": {
  37004. "description": "资金账户ID",
  37005. "type": "integer"
  37006. },
  37007. "agoodscode": {
  37008. "description": "竞拍商品代码",
  37009. "type": "string"
  37010. },
  37011. "agoodsname": {
  37012. "description": "竞拍商品名称",
  37013. "type": "string"
  37014. },
  37015. "amount": {
  37016. "description": "资金金额",
  37017. "type": "number"
  37018. },
  37019. "amountadjusttype": {
  37020. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37021. "type": "integer"
  37022. },
  37023. "autoid": {
  37024. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37025. "type": "integer"
  37026. },
  37027. "balance": {
  37028. "description": "期初余额",
  37029. "type": "number"
  37030. },
  37031. "businesscode": {
  37032. "description": "业务编号",
  37033. "type": "integer"
  37034. },
  37035. "createtime": {
  37036. "description": "发生时间",
  37037. "type": "string"
  37038. },
  37039. "currencyid": {
  37040. "description": "币种ID",
  37041. "type": "integer"
  37042. },
  37043. "currentbalance": {
  37044. "description": "期末余额(变动后金额)",
  37045. "type": "number"
  37046. },
  37047. "dgoodscode": {
  37048. "description": "交割商品代码",
  37049. "type": "string"
  37050. },
  37051. "dgoodsname": {
  37052. "description": "交割商品名称",
  37053. "type": "string"
  37054. },
  37055. "goodscode": {
  37056. "description": "商品代码",
  37057. "type": "string"
  37058. },
  37059. "goodsid": {
  37060. "description": "商品ID",
  37061. "type": "integer"
  37062. },
  37063. "goodsname": {
  37064. "description": "商品名称",
  37065. "type": "string"
  37066. },
  37067. "marketid": {
  37068. "description": "市场ID",
  37069. "type": "integer"
  37070. },
  37071. "marketname": {
  37072. "description": "市场名称",
  37073. "type": "string"
  37074. },
  37075. "moneyticket": {
  37076. "description": "资金流水号:银行端流水号",
  37077. "type": "integer"
  37078. },
  37079. "operatetype": {
  37080. "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:营销收款",
  37081. "type": "integer"
  37082. },
  37083. "relationorderid": {
  37084. "description": "关联单号",
  37085. "type": "string"
  37086. },
  37087. "remark": {
  37088. "description": "备注",
  37089. "type": "string"
  37090. },
  37091. "trademode": {
  37092. "description": "交易模式",
  37093. "type": "integer"
  37094. }
  37095. }
  37096. },
  37097. "taaccount.QueryHisAmountLogRsp": {
  37098. "type": "object",
  37099. "required": [
  37100. "accountid",
  37101. "amount",
  37102. "amountadjusttype",
  37103. "autoid",
  37104. "balance",
  37105. "createtime",
  37106. "currentbalance",
  37107. "histradedate",
  37108. "operatetype"
  37109. ],
  37110. "properties": {
  37111. "OPERATETYPENAME": {
  37112. "description": "资金操作类型名称",
  37113. "type": "string"
  37114. },
  37115. "accountid": {
  37116. "description": "资金账户ID",
  37117. "type": "integer"
  37118. },
  37119. "agoodscode": {
  37120. "description": "竞拍商品代码",
  37121. "type": "string"
  37122. },
  37123. "agoodsname": {
  37124. "description": "竞拍商品名称",
  37125. "type": "string"
  37126. },
  37127. "amount": {
  37128. "description": "资金金额",
  37129. "type": "number"
  37130. },
  37131. "amountadjusttype": {
  37132. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37133. "type": "integer"
  37134. },
  37135. "autoid": {
  37136. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37137. "type": "integer"
  37138. },
  37139. "balance": {
  37140. "description": "期初余额",
  37141. "type": "number"
  37142. },
  37143. "businesscode": {
  37144. "description": "业务编号",
  37145. "type": "integer"
  37146. },
  37147. "createtime": {
  37148. "description": "发生时间",
  37149. "type": "string"
  37150. },
  37151. "currencyid": {
  37152. "description": "币种ID",
  37153. "type": "integer"
  37154. },
  37155. "currentbalance": {
  37156. "description": "期末余额(变动后金额)",
  37157. "type": "number"
  37158. },
  37159. "dgoodscode": {
  37160. "description": "交割商品代码",
  37161. "type": "string"
  37162. },
  37163. "dgoodsname": {
  37164. "description": "交割商品名称",
  37165. "type": "string"
  37166. },
  37167. "goodscode": {
  37168. "description": "商品代码",
  37169. "type": "string"
  37170. },
  37171. "goodsid": {
  37172. "description": "商品ID",
  37173. "type": "integer"
  37174. },
  37175. "goodsname": {
  37176. "description": "商品名称",
  37177. "type": "string"
  37178. },
  37179. "histradedate": {
  37180. "description": "历史交易日",
  37181. "type": "string"
  37182. },
  37183. "isvaliddata": {
  37184. "description": "是否有效 - 0:无效 1:有效",
  37185. "type": "integer"
  37186. },
  37187. "marketid": {
  37188. "description": "市场ID",
  37189. "type": "integer"
  37190. },
  37191. "marketname": {
  37192. "description": "市场名称",
  37193. "type": "string"
  37194. },
  37195. "moneyticket": {
  37196. "description": "资金流水号:银行端流水号",
  37197. "type": "integer"
  37198. },
  37199. "operatetype": {
  37200. "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:营销收款",
  37201. "type": "integer"
  37202. },
  37203. "relationorderid": {
  37204. "description": "关联单号",
  37205. "type": "string"
  37206. },
  37207. "remark": {
  37208. "description": "备注",
  37209. "type": "string"
  37210. },
  37211. "trademode": {
  37212. "description": "交易模式",
  37213. "type": "integer"
  37214. }
  37215. }
  37216. },
  37217. "trade.QueryRecieptOrderRsp": {
  37218. "type": "object",
  37219. "required": [
  37220. "ordertime"
  37221. ],
  37222. "properties": {
  37223. "accountName": {
  37224. "description": "所属账号名称(已脱敏)",
  37225. "type": "string"
  37226. },
  37227. "accountid": {
  37228. "description": "资金账号",
  37229. "type": "integer"
  37230. },
  37231. "buyorsell": {
  37232. "description": "方向 - 0:买 1:卖",
  37233. "type": "integer"
  37234. },
  37235. "enableqty": {
  37236. "description": "可摘数量",
  37237. "type": "integer"
  37238. },
  37239. "goodscode": {
  37240. "description": "商品代码",
  37241. "type": "string"
  37242. },
  37243. "goodsid": {
  37244. "description": "商品ID",
  37245. "type": "integer"
  37246. },
  37247. "goodsname": {
  37248. "description": "商品名称",
  37249. "type": "string"
  37250. },
  37251. "orderid": {
  37252. "description": "委托单号",
  37253. "type": "string"
  37254. },
  37255. "orderprice": {
  37256. "description": "委托价格",
  37257. "type": "number"
  37258. },
  37259. "ordertime": {
  37260. "description": "委托时间",
  37261. "type": "string"
  37262. },
  37263. "tradedate": {
  37264. "description": "交易日(yyyyMMdd)",
  37265. "type": "string"
  37266. }
  37267. }
  37268. },
  37269. "user.LoginQueryRsp": {
  37270. "type": "object",
  37271. "properties": {
  37272. "areaRoles": {
  37273. "description": "所属角色信息",
  37274. "type": "array",
  37275. "items": {
  37276. "$ref": "#/definitions/models.Arearole"
  37277. }
  37278. },
  37279. "externalExchanges": {
  37280. "description": "外部交易所",
  37281. "type": "array",
  37282. "items": {
  37283. "$ref": "#/definitions/models.Externalexchange"
  37284. }
  37285. },
  37286. "goodsgroups": {
  37287. "description": "商品组",
  37288. "type": "array",
  37289. "items": {
  37290. "$ref": "#/definitions/models.Goodsgroup"
  37291. }
  37292. },
  37293. "loginAccount": {
  37294. "description": "登录账号",
  37295. "type": "object",
  37296. "$ref": "#/definitions/models.Loginaccount"
  37297. },
  37298. "markets": {
  37299. "description": "市场",
  37300. "type": "array",
  37301. "items": {
  37302. "$ref": "#/definitions/models.Market"
  37303. }
  37304. },
  37305. "systemParams": {
  37306. "description": "系统参数",
  37307. "type": "array",
  37308. "items": {
  37309. "$ref": "#/definitions/models.Systemparam"
  37310. }
  37311. },
  37312. "userAccount": {
  37313. "description": "用户账号",
  37314. "type": "object",
  37315. "$ref": "#/definitions/models.Useraccount"
  37316. },
  37317. "userInfo": {
  37318. "description": "用户信息",
  37319. "type": "object",
  37320. "$ref": "#/definitions/models.Userinfo"
  37321. },
  37322. "username": {
  37323. "description": "用户姓名",
  37324. "type": "string"
  37325. }
  37326. }
  37327. }
  37328. },
  37329. "securityDefinitions": {
  37330. "ApiKeyAuth": {
  37331. "type": "apiKey",
  37332. "name": "Authorization",
  37333. "in": "header"
  37334. }
  37335. }
  37336. }`
  37337. type swaggerInfo struct {
  37338. Version string
  37339. Host string
  37340. BasePath string
  37341. Schemes []string
  37342. Title string
  37343. Description string
  37344. }
  37345. // SwaggerInfo holds exported Swagger Info so clients can modify it
  37346. var SwaggerInfo = swaggerInfo{
  37347. Version: "1.0",
  37348. Host: "",
  37349. BasePath: "/api",
  37350. Schemes: []string{},
  37351. Title: "MTP2.0 查询服务 API",
  37352. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  37353. }
  37354. type s struct{}
  37355. func (s *s) ReadDoc() string {
  37356. sInfo := SwaggerInfo
  37357. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  37358. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  37359. "marshal": func(v interface{}) string {
  37360. a, _ := json.Marshal(v)
  37361. return string(a)
  37362. },
  37363. }).Parse(doc)
  37364. if err != nil {
  37365. return doc
  37366. }
  37367. var tpl bytes.Buffer
  37368. if err := t.Execute(&tpl, sInfo); err != nil {
  37369. return doc
  37370. }
  37371. return tpl.String()
  37372. }
  37373. func init() {
  37374. swag.Register(swag.Name, &s{})
  37375. }