docs.go 1.3 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetServerTime": {
  481. "get": {
  482. "produces": [
  483. "application/json"
  484. ],
  485. "tags": [
  486. "通用服务"
  487. ],
  488. "summary": "获取服务器时间",
  489. "responses": {
  490. "200": {
  491. "description": "OK",
  492. "schema": {
  493. "$ref": "#/definitions/app.Response"
  494. }
  495. },
  496. "500": {
  497. "description": "Internal Server Error",
  498. "schema": {
  499. "$ref": "#/definitions/app.Response"
  500. }
  501. }
  502. }
  503. }
  504. },
  505. "/Common/NoticeReaded": {
  506. "post": {
  507. "security": [
  508. {
  509. "ApiKeyAuth": []
  510. }
  511. ],
  512. "produces": [
  513. "application/json"
  514. ],
  515. "tags": [
  516. "通用服务"
  517. ],
  518. "summary": "通知公告设置已读请求",
  519. "parameters": [
  520. {
  521. "type": "integer",
  522. "description": "登录账号",
  523. "name": "loginID",
  524. "in": "query",
  525. "required": true
  526. },
  527. {
  528. "type": "integer",
  529. "description": "通知公告ID",
  530. "name": "noticeID",
  531. "in": "query",
  532. "required": true
  533. }
  534. ],
  535. "responses": {
  536. "200": {
  537. "description": "OK",
  538. "schema": {
  539. "$ref": "#/definitions/app.Response"
  540. }
  541. },
  542. "500": {
  543. "description": "Internal Server Error",
  544. "schema": {
  545. "$ref": "#/definitions/app.Response"
  546. }
  547. }
  548. }
  549. }
  550. },
  551. "/Common/QueryErrorInfos": {
  552. "get": {
  553. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  554. "produces": [
  555. "application/json"
  556. ],
  557. "tags": [
  558. "通用服务"
  559. ],
  560. "summary": "获取数据库错误信息",
  561. "parameters": [
  562. {
  563. "type": "string",
  564. "description": "起始行号前索引",
  565. "name": "rowNumber",
  566. "in": "query"
  567. }
  568. ],
  569. "responses": {
  570. "200": {
  571. "description": "OK",
  572. "schema": {
  573. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  574. }
  575. },
  576. "500": {
  577. "description": "Internal Server Error",
  578. "schema": {
  579. "$ref": "#/definitions/app.Response"
  580. }
  581. }
  582. }
  583. }
  584. },
  585. "/Common/QueryImageConfigs": {
  586. "get": {
  587. "produces": [
  588. "application/json"
  589. ],
  590. "tags": [
  591. "通用服务"
  592. ],
  593. "summary": "查询轮播图配置信息",
  594. "parameters": [
  595. {
  596. "type": "integer",
  597. "description": "用户id",
  598. "name": "userId",
  599. "in": "query"
  600. },
  601. {
  602. "type": "integer",
  603. "description": "类型 - 1:App首页轮播 2:我的",
  604. "name": "imageType",
  605. "in": "query"
  606. }
  607. ],
  608. "responses": {
  609. "200": {
  610. "description": "OK",
  611. "schema": {
  612. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  613. }
  614. },
  615. "500": {
  616. "description": "Internal Server Error",
  617. "schema": {
  618. "$ref": "#/definitions/app.Response"
  619. }
  620. }
  621. }
  622. }
  623. },
  624. "/Common/QueryNotice": {
  625. "get": {
  626. "security": [
  627. {
  628. "ApiKeyAuth": []
  629. }
  630. ],
  631. "produces": [
  632. "application/json"
  633. ],
  634. "tags": [
  635. "通用服务"
  636. ],
  637. "summary": "通知公告系统消息查询",
  638. "parameters": [
  639. {
  640. "type": "integer",
  641. "description": "页码",
  642. "name": "page",
  643. "in": "query"
  644. },
  645. {
  646. "type": "integer",
  647. "description": "每页条数",
  648. "name": "pagesize",
  649. "in": "query"
  650. },
  651. {
  652. "type": "integer",
  653. "description": "登录账号",
  654. "name": "loginID",
  655. "in": "query",
  656. "required": true
  657. },
  658. {
  659. "type": "integer",
  660. "description": "消息类型 - 1:公告通知 2:系统消息",
  661. "name": "msgType",
  662. "in": "query"
  663. },
  664. {
  665. "type": "boolean",
  666. "description": "是否只获取未读信息",
  667. "name": "onlyUnRead",
  668. "in": "query"
  669. },
  670. {
  671. "type": "integer",
  672. "description": "自增ID,传入后会返回这个ID后面的记录",
  673. "name": "lastID",
  674. "in": "query"
  675. }
  676. ],
  677. "responses": {
  678. "200": {
  679. "description": "OK",
  680. "schema": {
  681. "$ref": "#/definitions/common.QueryNoticeRsp"
  682. }
  683. },
  684. "500": {
  685. "description": "Internal Server Error",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. }
  690. }
  691. }
  692. },
  693. "/Common/QueryProvincesAndCities": {
  694. "get": {
  695. "produces": [
  696. "application/json"
  697. ],
  698. "tags": [
  699. "通用服务"
  700. ],
  701. "summary": "查询省市信息(不包括区)",
  702. "parameters": [
  703. {
  704. "type": "integer",
  705. "description": "省ID",
  706. "name": "provinceID",
  707. "in": "query"
  708. }
  709. ],
  710. "responses": {
  711. "200": {
  712. "description": "OK",
  713. "schema": {
  714. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  715. }
  716. },
  717. "500": {
  718. "description": "Internal Server Error",
  719. "schema": {
  720. "$ref": "#/definitions/app.Response"
  721. }
  722. }
  723. }
  724. }
  725. },
  726. "/Common/QueryTableDefine": {
  727. "get": {
  728. "produces": [
  729. "application/json"
  730. ],
  731. "tags": [
  732. "通用服务"
  733. ],
  734. "summary": "查询交易端列表头信息",
  735. "parameters": [
  736. {
  737. "type": "string",
  738. "description": "表key",
  739. "name": "tableKey",
  740. "in": "query"
  741. },
  742. {
  743. "type": "integer",
  744. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  745. "name": "tableType",
  746. "in": "query"
  747. }
  748. ],
  749. "responses": {
  750. "200": {
  751. "description": "OK",
  752. "schema": {
  753. "$ref": "#/definitions/common.QueryTableDefineRsp"
  754. }
  755. },
  756. "500": {
  757. "description": "Internal Server Error",
  758. "schema": {
  759. "$ref": "#/definitions/app.Response"
  760. }
  761. }
  762. }
  763. }
  764. },
  765. "/Common/QueryTraderMenu": {
  766. "get": {
  767. "produces": [
  768. "application/json"
  769. ],
  770. "tags": [
  771. "通用服务"
  772. ],
  773. "summary": "查询交易端菜单",
  774. "parameters": [
  775. {
  776. "type": "integer",
  777. "description": "登录账号",
  778. "name": "loginid",
  779. "in": "query",
  780. "required": true
  781. }
  782. ],
  783. "responses": {
  784. "200": {
  785. "description": "OK",
  786. "schema": {
  787. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  788. }
  789. },
  790. "500": {
  791. "description": "Internal Server Error",
  792. "schema": {
  793. "$ref": "#/definitions/app.Response"
  794. }
  795. }
  796. }
  797. }
  798. },
  799. "/Delivery/QueryDeliveryRelation": {
  800. "get": {
  801. "security": [
  802. {
  803. "ApiKeyAuth": []
  804. }
  805. ],
  806. "produces": [
  807. "application/json"
  808. ],
  809. "tags": [
  810. "交割服务"
  811. ],
  812. "summary": "查询商品交割关系表",
  813. "parameters": [
  814. {
  815. "type": "integer",
  816. "description": "商品ID",
  817. "name": "goodsid",
  818. "in": "query"
  819. },
  820. {
  821. "type": "integer",
  822. "description": "品种ID",
  823. "name": "deliverygoodsid",
  824. "in": "query"
  825. },
  826. {
  827. "type": "integer",
  828. "description": "市场ID",
  829. "name": "marketid",
  830. "in": "query"
  831. }
  832. ],
  833. "responses": {
  834. "200": {
  835. "description": "OK",
  836. "schema": {
  837. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  838. }
  839. },
  840. "500": {
  841. "description": "Internal Server Error",
  842. "schema": {
  843. "$ref": "#/definitions/app.Response"
  844. }
  845. }
  846. }
  847. }
  848. },
  849. "/Ermcp/GetErmcpGoods": {
  850. "get": {
  851. "security": [
  852. {
  853. "ApiKeyAuth": []
  854. }
  855. ],
  856. "produces": [
  857. "application/json"
  858. ],
  859. "tags": [
  860. "企业风险管理(app)"
  861. ],
  862. "summary": "查询企业风管期货商品信息",
  863. "parameters": [
  864. {
  865. "type": "string",
  866. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  867. "name": "lastUpdateTime",
  868. "in": "query"
  869. }
  870. ],
  871. "responses": {
  872. "200": {
  873. "description": "OK",
  874. "schema": {
  875. "$ref": "#/definitions/models.ErmcpGoods"
  876. }
  877. },
  878. "500": {
  879. "description": "Internal Server Error",
  880. "schema": {
  881. "$ref": "#/definitions/app.Response"
  882. }
  883. }
  884. }
  885. }
  886. },
  887. "/Ermcp/GetErmcpGoodsSortByPosition": {
  888. "get": {
  889. "security": [
  890. {
  891. "ApiKeyAuth": []
  892. }
  893. ],
  894. "produces": [
  895. "application/json"
  896. ],
  897. "tags": [
  898. "企业风险管理(app)"
  899. ],
  900. "summary": "查询企业风管期货主力、次主力商品信息",
  901. "parameters": [
  902. {
  903. "type": "string",
  904. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  905. "name": "sortIndex",
  906. "in": "query"
  907. }
  908. ],
  909. "responses": {
  910. "200": {
  911. "description": "OK",
  912. "schema": {
  913. "$ref": "#/definitions/models.Goodssortbypreposition"
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/Ermcp/GetErmcpOutAccountStatus": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "produces": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "企业风险管理(app)"
  937. ],
  938. "summary": "获取目标登录账号当前对冲账号在线状态",
  939. "parameters": [
  940. {
  941. "type": "integer",
  942. "description": "登录账号",
  943. "name": "loginID",
  944. "in": "query",
  945. "required": true
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/models.Hedgemarketopenlog"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. }
  970. ],
  971. "produces": [
  972. "application/json"
  973. ],
  974. "tags": [
  975. "企业风险管理(app)"
  976. ],
  977. "summary": "获取企业风管终端权限",
  978. "parameters": [
  979. {
  980. "type": "integer",
  981. "description": "登录账号",
  982. "name": "loginID",
  983. "in": "query",
  984. "required": true
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "$ref": "#/definitions/models.Funcmenulist"
  992. }
  993. },
  994. "500": {
  995. "description": "Internal Server Error",
  996. "schema": {
  997. "$ref": "#/definitions/app.Response"
  998. }
  999. }
  1000. }
  1001. }
  1002. },
  1003. "/Ermcp/QueryAccMgrBizGroupSet": {
  1004. "get": {
  1005. "security": [
  1006. {
  1007. "ApiKeyAuth": []
  1008. }
  1009. ],
  1010. "produces": [
  1011. "application/json"
  1012. ],
  1013. "tags": [
  1014. "企业风险管理(app)"
  1015. ],
  1016. "summary": "查询业务类型分组(账户管理/账户设置)",
  1017. "parameters": [
  1018. {
  1019. "type": "integer",
  1020. "description": "用户ID",
  1021. "name": "userid",
  1022. "in": "query",
  1023. "required": true
  1024. },
  1025. {
  1026. "type": "integer",
  1027. "description": "现货商品id",
  1028. "name": "deliverygoodsid",
  1029. "in": "query"
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrLoginUser": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "用户类型 2-机构 7-企业成员",
  1076. "name": "usertype",
  1077. "in": "query"
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1082. "name": "querytype",
  1083. "in": "query",
  1084. "required": true
  1085. }
  1086. ],
  1087. "responses": {
  1088. "200": {
  1089. "description": "OK",
  1090. "schema": {
  1091. "type": "array",
  1092. "items": {
  1093. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1094. }
  1095. }
  1096. },
  1097. "500": {
  1098. "description": "Internal Server Error",
  1099. "schema": {
  1100. "$ref": "#/definitions/app.Response"
  1101. }
  1102. }
  1103. }
  1104. }
  1105. },
  1106. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1107. "get": {
  1108. "security": [
  1109. {
  1110. "ApiKeyAuth": []
  1111. }
  1112. ],
  1113. "produces": [
  1114. "application/json"
  1115. ],
  1116. "tags": [
  1117. "企业风险管理(app)"
  1118. ],
  1119. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1120. "parameters": [
  1121. {
  1122. "type": "integer",
  1123. "description": "用户ID",
  1124. "name": "userid",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "主账号id",
  1130. "name": "accountid",
  1131. "in": "query"
  1132. }
  1133. ],
  1134. "responses": {
  1135. "200": {
  1136. "description": "OK",
  1137. "schema": {
  1138. "type": "array",
  1139. "items": {
  1140. "$ref": "#/definitions/models.MainAccountInfo"
  1141. }
  1142. }
  1143. },
  1144. "500": {
  1145. "description": "Internal Server Error",
  1146. "schema": {
  1147. "$ref": "#/definitions/app.Response"
  1148. }
  1149. }
  1150. }
  1151. }
  1152. },
  1153. "/Ermcp/QueryAccMgrRole": {
  1154. "get": {
  1155. "security": [
  1156. {
  1157. "ApiKeyAuth": []
  1158. }
  1159. ],
  1160. "produces": [
  1161. "application/json"
  1162. ],
  1163. "tags": [
  1164. "企业风险管理(app)"
  1165. ],
  1166. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1167. "parameters": [
  1168. {
  1169. "type": "integer",
  1170. "description": "用户ID",
  1171. "name": "userid",
  1172. "in": "query",
  1173. "required": true
  1174. }
  1175. ],
  1176. "responses": {
  1177. "200": {
  1178. "description": "OK",
  1179. "schema": {
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/models.ErmcpRole"
  1183. }
  1184. }
  1185. },
  1186. "500": {
  1187. "description": "Internal Server Error",
  1188. "schema": {
  1189. "$ref": "#/definitions/app.Response"
  1190. }
  1191. }
  1192. }
  1193. }
  1194. },
  1195. "/Ermcp/QueryAccMgrRoleMenu": {
  1196. "get": {
  1197. "security": [
  1198. {
  1199. "ApiKeyAuth": []
  1200. }
  1201. ],
  1202. "produces": [
  1203. "application/json"
  1204. ],
  1205. "tags": [
  1206. "企业风险管理(app)"
  1207. ],
  1208. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1209. "parameters": [
  1210. {
  1211. "type": "integer",
  1212. "description": "用户ID",
  1213. "name": "userid",
  1214. "in": "query",
  1215. "required": true
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "角色id(可多个,逗号隔开)",
  1220. "name": "roleid",
  1221. "in": "query"
  1222. },
  1223. {
  1224. "type": "integer",
  1225. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1226. "name": "menutype",
  1227. "in": "query"
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "账号id",
  1274. "name": "accountid",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaaccount": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. }
  1319. ],
  1320. "responses": {
  1321. "200": {
  1322. "description": "OK",
  1323. "schema": {
  1324. "type": "array",
  1325. "items": {
  1326. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1327. }
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/Ermcp/QueryAvaildGoodsGroup": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "produces": [
  1347. "application/json"
  1348. ],
  1349. "tags": [
  1350. "企业风险管理(app)"
  1351. ],
  1352. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1353. "parameters": [
  1354. {
  1355. "type": "integer",
  1356. "description": "所属机构ID",
  1357. "name": "userid",
  1358. "in": "query",
  1359. "required": true
  1360. }
  1361. ],
  1362. "responses": {
  1363. "200": {
  1364. "description": "OK",
  1365. "schema": {
  1366. "type": "array",
  1367. "items": {
  1368. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1369. }
  1370. }
  1371. },
  1372. "500": {
  1373. "description": "Internal Server Error",
  1374. "schema": {
  1375. "$ref": "#/definitions/app.Response"
  1376. }
  1377. }
  1378. }
  1379. }
  1380. },
  1381. "/Ermcp/QueryBusinessDj": {
  1382. "get": {
  1383. "security": [
  1384. {
  1385. "ApiKeyAuth": []
  1386. }
  1387. ],
  1388. "produces": [
  1389. "application/json"
  1390. ],
  1391. "tags": [
  1392. "企业风险管理(app)"
  1393. ],
  1394. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1395. "parameters": [
  1396. {
  1397. "type": "integer",
  1398. "description": "用户ID",
  1399. "name": "UserId",
  1400. "in": "query",
  1401. "required": true
  1402. },
  1403. {
  1404. "type": "integer",
  1405. "description": "用户类型 2-机构 7-企业成员",
  1406. "name": "usertype",
  1407. "in": "query"
  1408. },
  1409. {
  1410. "type": "string",
  1411. "description": "现货合同ID, 不填则查所有",
  1412. "name": "relatedid",
  1413. "in": "query"
  1414. },
  1415. {
  1416. "type": "string",
  1417. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1418. "name": "applystatus",
  1419. "in": "query"
  1420. }
  1421. ],
  1422. "responses": {
  1423. "200": {
  1424. "description": "OK",
  1425. "schema": {
  1426. "type": "array",
  1427. "items": {
  1428. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1429. }
  1430. }
  1431. },
  1432. "500": {
  1433. "description": "Internal Server Error",
  1434. "schema": {
  1435. "$ref": "#/definitions/app.Response"
  1436. }
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/Ermcp/QueryBusinessFp": {
  1442. "get": {
  1443. "security": [
  1444. {
  1445. "ApiKeyAuth": []
  1446. }
  1447. ],
  1448. "produces": [
  1449. "application/json"
  1450. ],
  1451. "tags": [
  1452. "企业风险管理(app)"
  1453. ],
  1454. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1455. "parameters": [
  1456. {
  1457. "type": "integer",
  1458. "description": "用户ID",
  1459. "name": "UserId",
  1460. "in": "query",
  1461. "required": true
  1462. },
  1463. {
  1464. "type": "integer",
  1465. "description": "用户类型 2-机构 7-企业成员",
  1466. "name": "usertype",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "现货合同ID, 不填则查所有",
  1472. "name": "relatedid",
  1473. "in": "query"
  1474. },
  1475. {
  1476. "type": "string",
  1477. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1478. "name": "applystatus",
  1479. "in": "query"
  1480. }
  1481. ],
  1482. "responses": {
  1483. "200": {
  1484. "description": "OK",
  1485. "schema": {
  1486. "type": "array",
  1487. "items": {
  1488. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1489. }
  1490. }
  1491. },
  1492. "500": {
  1493. "description": "Internal Server Error",
  1494. "schema": {
  1495. "$ref": "#/definitions/app.Response"
  1496. }
  1497. }
  1498. }
  1499. }
  1500. },
  1501. "/Ermcp/QueryBusinessJs": {
  1502. "get": {
  1503. "security": [
  1504. {
  1505. "ApiKeyAuth": []
  1506. }
  1507. ],
  1508. "produces": [
  1509. "application/json"
  1510. ],
  1511. "tags": [
  1512. "企业风险管理(app)"
  1513. ],
  1514. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1515. "parameters": [
  1516. {
  1517. "type": "integer",
  1518. "description": "用户ID",
  1519. "name": "UserId",
  1520. "in": "query",
  1521. "required": true
  1522. },
  1523. {
  1524. "type": "integer",
  1525. "description": "用户类型 2-机构 7-企业成员",
  1526. "name": "usertype",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "现货合同ID, 不填则查所有",
  1532. "name": "relatedid",
  1533. "in": "query"
  1534. },
  1535. {
  1536. "type": "string",
  1537. "description": "操作申请id",
  1538. "name": "operateapplyid",
  1539. "in": "query"
  1540. },
  1541. {
  1542. "type": "string",
  1543. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1544. "name": "applystatus",
  1545. "in": "query"
  1546. }
  1547. ],
  1548. "responses": {
  1549. "200": {
  1550. "description": "OK",
  1551. "schema": {
  1552. "type": "array",
  1553. "items": {
  1554. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1555. }
  1556. }
  1557. },
  1558. "500": {
  1559. "description": "Internal Server Error",
  1560. "schema": {
  1561. "$ref": "#/definitions/app.Response"
  1562. }
  1563. }
  1564. }
  1565. }
  1566. },
  1567. "/Ermcp/QueryBusinessJsEx": {
  1568. "get": {
  1569. "security": [
  1570. {
  1571. "ApiKeyAuth": []
  1572. }
  1573. ],
  1574. "produces": [
  1575. "application/json"
  1576. ],
  1577. "tags": [
  1578. "企业风险管理(app)"
  1579. ],
  1580. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1581. "parameters": [
  1582. {
  1583. "type": "integer",
  1584. "description": "用户ID",
  1585. "name": "UserId",
  1586. "in": "query",
  1587. "required": true
  1588. },
  1589. {
  1590. "type": "integer",
  1591. "description": "用户类型 2-机构 7-企业成员",
  1592. "name": "usertype",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "现货合同ID, 不填则查所有",
  1598. "name": "relatedid",
  1599. "in": "query"
  1600. },
  1601. {
  1602. "type": "string",
  1603. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1604. "name": "applystatus",
  1605. "in": "query"
  1606. }
  1607. ],
  1608. "responses": {
  1609. "200": {
  1610. "description": "OK",
  1611. "schema": {
  1612. "type": "array",
  1613. "items": {
  1614. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1615. }
  1616. }
  1617. },
  1618. "500": {
  1619. "description": "Internal Server Error",
  1620. "schema": {
  1621. "$ref": "#/definitions/app.Response"
  1622. }
  1623. }
  1624. }
  1625. }
  1626. },
  1627. "/Ermcp/QueryBusinessKx": {
  1628. "get": {
  1629. "security": [
  1630. {
  1631. "ApiKeyAuth": []
  1632. }
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "企业风险管理(app)"
  1639. ],
  1640. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1641. "parameters": [
  1642. {
  1643. "type": "integer",
  1644. "description": "用户ID",
  1645. "name": "UserId",
  1646. "in": "query",
  1647. "required": true
  1648. },
  1649. {
  1650. "type": "integer",
  1651. "description": "用户类型 2-机构 7-企业成员",
  1652. "name": "usertype",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "现货合同ID, 不填则查所有",
  1658. "name": "relatedid",
  1659. "in": "query"
  1660. },
  1661. {
  1662. "type": "string",
  1663. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1664. "name": "applystatus",
  1665. "in": "query"
  1666. }
  1667. ],
  1668. "responses": {
  1669. "200": {
  1670. "description": "OK",
  1671. "schema": {
  1672. "type": "array",
  1673. "items": {
  1674. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1675. }
  1676. }
  1677. },
  1678. "500": {
  1679. "description": "Internal Server Error",
  1680. "schema": {
  1681. "$ref": "#/definitions/app.Response"
  1682. }
  1683. }
  1684. }
  1685. }
  1686. },
  1687. "/Ermcp/QueryChangeLog": {
  1688. "get": {
  1689. "security": [
  1690. {
  1691. "ApiKeyAuth": []
  1692. }
  1693. ],
  1694. "produces": [
  1695. "application/json"
  1696. ],
  1697. "tags": [
  1698. "企业风险管理(app)"
  1699. ],
  1700. "summary": "查询变更记录",
  1701. "parameters": [
  1702. {
  1703. "type": "string",
  1704. "description": "合同ID",
  1705. "name": "RelatedId",
  1706. "in": "query",
  1707. "required": true
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryErmcpHisOrderDetails": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "获取企业风管期货历史委托单信息",
  1743. "parameters": [
  1744. {
  1745. "type": "integer",
  1746. "description": "资金账户ID",
  1747. "name": "accountID",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "string",
  1753. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1754. "name": "startDate",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1760. "name": "endDate",
  1761. "in": "query"
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1769. }
  1770. },
  1771. "500": {
  1772. "description": "Internal Server Error",
  1773. "schema": {
  1774. "$ref": "#/definitions/app.Response"
  1775. }
  1776. }
  1777. }
  1778. }
  1779. },
  1780. "/Ermcp/QueryErmcpHisTradeDetails": {
  1781. "get": {
  1782. "security": [
  1783. {
  1784. "ApiKeyAuth": []
  1785. }
  1786. ],
  1787. "produces": [
  1788. "application/json"
  1789. ],
  1790. "tags": [
  1791. "企业风险管理(app)"
  1792. ],
  1793. "summary": "获取企业风管期货历史成交单信息",
  1794. "parameters": [
  1795. {
  1796. "type": "integer",
  1797. "description": "资金账户ID",
  1798. "name": "accountID",
  1799. "in": "query",
  1800. "required": true
  1801. },
  1802. {
  1803. "type": "integer",
  1804. "description": "商品ID",
  1805. "name": "goodsID",
  1806. "in": "query"
  1807. },
  1808. {
  1809. "type": "integer",
  1810. "description": "买卖方向,0:买 1:卖",
  1811. "name": "buyOrSell",
  1812. "in": "query"
  1813. },
  1814. {
  1815. "type": "integer",
  1816. "description": "关联委托单号",
  1817. "name": "orderID",
  1818. "in": "query"
  1819. },
  1820. {
  1821. "type": "string",
  1822. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1823. "name": "startDate",
  1824. "in": "query"
  1825. },
  1826. {
  1827. "type": "string",
  1828. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1829. "name": "endDate",
  1830. "in": "query"
  1831. }
  1832. ],
  1833. "responses": {
  1834. "200": {
  1835. "description": "OK",
  1836. "schema": {
  1837. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1838. }
  1839. },
  1840. "500": {
  1841. "description": "Internal Server Error",
  1842. "schema": {
  1843. "$ref": "#/definitions/app.Response"
  1844. }
  1845. }
  1846. }
  1847. }
  1848. },
  1849. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1850. "get": {
  1851. "security": [
  1852. {
  1853. "ApiKeyAuth": []
  1854. }
  1855. ],
  1856. "produces": [
  1857. "application/json"
  1858. ],
  1859. "tags": [
  1860. "企业风险管理(app)"
  1861. ],
  1862. "summary": "获取企业风管期货内部持仓单信息",
  1863. "parameters": [
  1864. {
  1865. "type": "integer",
  1866. "description": "资金账户ID",
  1867. "name": "accountID",
  1868. "in": "query",
  1869. "required": true
  1870. },
  1871. {
  1872. "type": "integer",
  1873. "description": "商品ID",
  1874. "name": "goodsID",
  1875. "in": "query"
  1876. },
  1877. {
  1878. "type": "integer",
  1879. "description": "买卖方向,0:买 1:卖",
  1880. "name": "buyOrSell",
  1881. "in": "query"
  1882. }
  1883. ],
  1884. "responses": {
  1885. "200": {
  1886. "description": "OK",
  1887. "schema": {
  1888. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1889. }
  1890. },
  1891. "500": {
  1892. "description": "Internal Server Error",
  1893. "schema": {
  1894. "$ref": "#/definitions/app.Response"
  1895. }
  1896. }
  1897. }
  1898. }
  1899. },
  1900. "/Ermcp/QueryErmcpOrderDetails": {
  1901. "get": {
  1902. "security": [
  1903. {
  1904. "ApiKeyAuth": []
  1905. }
  1906. ],
  1907. "produces": [
  1908. "application/json"
  1909. ],
  1910. "tags": [
  1911. "企业风险管理(app)"
  1912. ],
  1913. "summary": "获取企业风管期货委托单信息",
  1914. "parameters": [
  1915. {
  1916. "type": "integer",
  1917. "description": "资金账户ID",
  1918. "name": "accountID",
  1919. "in": "query",
  1920. "required": true
  1921. }
  1922. ],
  1923. "responses": {
  1924. "200": {
  1925. "description": "OK",
  1926. "schema": {
  1927. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1928. }
  1929. },
  1930. "500": {
  1931. "description": "Internal Server Error",
  1932. "schema": {
  1933. "$ref": "#/definitions/app.Response"
  1934. }
  1935. }
  1936. }
  1937. }
  1938. },
  1939. "/Ermcp/QueryErmcpTradeDetails": {
  1940. "get": {
  1941. "security": [
  1942. {
  1943. "ApiKeyAuth": []
  1944. }
  1945. ],
  1946. "produces": [
  1947. "application/json"
  1948. ],
  1949. "tags": [
  1950. "企业风险管理(app)"
  1951. ],
  1952. "summary": "获取企业风管期货成交单信息",
  1953. "parameters": [
  1954. {
  1955. "type": "integer",
  1956. "description": "资金账户ID",
  1957. "name": "accountID",
  1958. "in": "query",
  1959. "required": true
  1960. },
  1961. {
  1962. "type": "integer",
  1963. "description": "商品ID",
  1964. "name": "goodsID",
  1965. "in": "query"
  1966. },
  1967. {
  1968. "type": "integer",
  1969. "description": "买卖方向,0:买 1:卖",
  1970. "name": "buyOrSell",
  1971. "in": "query"
  1972. },
  1973. {
  1974. "type": "integer",
  1975. "description": "关联委托单号",
  1976. "name": "orderID",
  1977. "in": "query"
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1985. }
  1986. },
  1987. "500": {
  1988. "description": "Internal Server Error",
  1989. "schema": {
  1990. "$ref": "#/definitions/app.Response"
  1991. }
  1992. }
  1993. }
  1994. }
  1995. },
  1996. "/Ermcp/QueryErmcpTradePosition": {
  1997. "get": {
  1998. "security": [
  1999. {
  2000. "ApiKeyAuth": []
  2001. }
  2002. ],
  2003. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2004. "produces": [
  2005. "application/json"
  2006. ],
  2007. "tags": [
  2008. "企业风险管理(app)"
  2009. ],
  2010. "summary": "获取企业风管期货持仓头寸信息",
  2011. "parameters": [
  2012. {
  2013. "type": "integer",
  2014. "description": "资金账户ID",
  2015. "name": "accountID",
  2016. "in": "query",
  2017. "required": true
  2018. },
  2019. {
  2020. "type": "integer",
  2021. "description": "所属市场ID",
  2022. "name": "marketID",
  2023. "in": "query"
  2024. }
  2025. ],
  2026. "responses": {
  2027. "200": {
  2028. "description": "OK",
  2029. "schema": {
  2030. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2031. }
  2032. },
  2033. "500": {
  2034. "description": "Internal Server Error",
  2035. "schema": {
  2036. "$ref": "#/definitions/app.Response"
  2037. }
  2038. }
  2039. }
  2040. }
  2041. },
  2042. "/Ermcp/QueryExposureDetail": {
  2043. "get": {
  2044. "security": [
  2045. {
  2046. "ApiKeyAuth": []
  2047. }
  2048. ],
  2049. "produces": [
  2050. "application/json"
  2051. ],
  2052. "tags": [
  2053. "企业风险管理(app)"
  2054. ],
  2055. "summary": "查询敞口现货明细",
  2056. "parameters": [
  2057. {
  2058. "type": "integer",
  2059. "description": "所属机构ID",
  2060. "name": "areaUserId",
  2061. "in": "query",
  2062. "required": true
  2063. },
  2064. {
  2065. "type": "integer",
  2066. "description": "套保商品",
  2067. "name": "middleGoodsId",
  2068. "in": "query",
  2069. "required": true
  2070. }
  2071. ],
  2072. "responses": {
  2073. "200": {
  2074. "description": "OK",
  2075. "schema": {
  2076. "type": "array",
  2077. "items": {
  2078. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2079. }
  2080. }
  2081. },
  2082. "500": {
  2083. "description": "Internal Server Error",
  2084. "schema": {
  2085. "$ref": "#/definitions/app.Response"
  2086. }
  2087. }
  2088. }
  2089. }
  2090. },
  2091. "/Ermcp/QueryExposureGoods": {
  2092. "get": {
  2093. "security": [
  2094. {
  2095. "ApiKeyAuth": []
  2096. }
  2097. ],
  2098. "produces": [
  2099. "application/json"
  2100. ],
  2101. "tags": [
  2102. "企业风险管理(app)"
  2103. ],
  2104. "summary": "查询敞口主力合约",
  2105. "parameters": [
  2106. {
  2107. "type": "integer",
  2108. "description": "套保商品id",
  2109. "name": "middlegoodsid",
  2110. "in": "query",
  2111. "required": true
  2112. }
  2113. ],
  2114. "responses": {
  2115. "200": {
  2116. "description": "OK",
  2117. "schema": {
  2118. "type": "array",
  2119. "items": {
  2120. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2121. }
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryExposureHedgePosition": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "用户id",
  2151. "name": "userid",
  2152. "in": "query",
  2153. "required": true
  2154. }
  2155. ],
  2156. "responses": {
  2157. "200": {
  2158. "description": "OK",
  2159. "schema": {
  2160. "type": "array",
  2161. "items": {
  2162. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2163. }
  2164. }
  2165. },
  2166. "500": {
  2167. "description": "Internal Server Error",
  2168. "schema": {
  2169. "$ref": "#/definitions/app.Response"
  2170. }
  2171. }
  2172. }
  2173. }
  2174. },
  2175. "/Ermcp/QueryExposureHedgePositionDetail": {
  2176. "get": {
  2177. "security": [
  2178. {
  2179. "ApiKeyAuth": []
  2180. }
  2181. ],
  2182. "produces": [
  2183. "application/json"
  2184. ],
  2185. "tags": [
  2186. "企业风险管理(app)"
  2187. ],
  2188. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2189. "parameters": [
  2190. {
  2191. "type": "integer",
  2192. "description": "所属机构ID",
  2193. "name": "userid",
  2194. "in": "query",
  2195. "required": true
  2196. },
  2197. {
  2198. "type": "integer",
  2199. "description": "商品id",
  2200. "name": "goodsId",
  2201. "in": "query",
  2202. "required": true
  2203. }
  2204. ],
  2205. "responses": {
  2206. "200": {
  2207. "description": "OK",
  2208. "schema": {
  2209. "type": "array",
  2210. "items": {
  2211. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2212. }
  2213. }
  2214. },
  2215. "500": {
  2216. "description": "Internal Server Error",
  2217. "schema": {
  2218. "$ref": "#/definitions/app.Response"
  2219. }
  2220. }
  2221. }
  2222. }
  2223. },
  2224. "/Ermcp/QueryExposureSpot": {
  2225. "get": {
  2226. "security": [
  2227. {
  2228. "ApiKeyAuth": []
  2229. }
  2230. ],
  2231. "produces": [
  2232. "application/json"
  2233. ],
  2234. "tags": [
  2235. "企业风险管理(app)"
  2236. ],
  2237. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2238. "parameters": [
  2239. {
  2240. "type": "integer",
  2241. "description": "所属机构ID",
  2242. "name": "areaUserId",
  2243. "in": "query",
  2244. "required": true
  2245. }
  2246. ],
  2247. "responses": {
  2248. "200": {
  2249. "description": "OK",
  2250. "schema": {
  2251. "type": "array",
  2252. "items": {
  2253. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2254. }
  2255. }
  2256. },
  2257. "500": {
  2258. "description": "Internal Server Error",
  2259. "schema": {
  2260. "$ref": "#/definitions/app.Response"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "/Ermcp/QueryExposureSpotDetail": {
  2267. "get": {
  2268. "security": [
  2269. {
  2270. "ApiKeyAuth": []
  2271. }
  2272. ],
  2273. "produces": [
  2274. "application/json"
  2275. ],
  2276. "tags": [
  2277. "企业风险管理(app)"
  2278. ],
  2279. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2280. "parameters": [
  2281. {
  2282. "type": "integer",
  2283. "description": "所属机构ID",
  2284. "name": "areaUserId",
  2285. "in": "query",
  2286. "required": true
  2287. },
  2288. {
  2289. "type": "integer",
  2290. "description": "现货品种ID",
  2291. "name": "wrstandardId",
  2292. "in": "query",
  2293. "required": true
  2294. }
  2295. ],
  2296. "responses": {
  2297. "200": {
  2298. "description": "OK",
  2299. "schema": {
  2300. "type": "array",
  2301. "items": {
  2302. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2303. }
  2304. }
  2305. },
  2306. "500": {
  2307. "description": "Internal Server Error",
  2308. "schema": {
  2309. "$ref": "#/definitions/app.Response"
  2310. }
  2311. }
  2312. }
  2313. }
  2314. },
  2315. "/Ermcp/QueryFuturesCompany": {
  2316. "get": {
  2317. "security": [
  2318. {
  2319. "ApiKeyAuth": []
  2320. }
  2321. ],
  2322. "produces": [
  2323. "application/json"
  2324. ],
  2325. "tags": [
  2326. "企业风险管理(app)"
  2327. ],
  2328. "summary": "查询期货公司",
  2329. "responses": {
  2330. "200": {
  2331. "description": "OK",
  2332. "schema": {
  2333. "type": "array",
  2334. "items": {
  2335. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2336. }
  2337. }
  2338. },
  2339. "500": {
  2340. "description": "Internal Server Error",
  2341. "schema": {
  2342. "$ref": "#/definitions/app.Response"
  2343. }
  2344. }
  2345. }
  2346. }
  2347. },
  2348. "/Ermcp/QueryGGConvertConfig": {
  2349. "get": {
  2350. "security": [
  2351. {
  2352. "ApiKeyAuth": []
  2353. }
  2354. ],
  2355. "produces": [
  2356. "application/json"
  2357. ],
  2358. "tags": [
  2359. "企业风险管理(app)"
  2360. ],
  2361. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2362. "parameters": [
  2363. {
  2364. "type": "integer",
  2365. "description": "品种id(不填则查所有)",
  2366. "name": "goodsgroupid",
  2367. "in": "query"
  2368. }
  2369. ],
  2370. "responses": {
  2371. "200": {
  2372. "description": "OK",
  2373. "schema": {
  2374. "type": "array",
  2375. "items": {
  2376. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2377. }
  2378. }
  2379. },
  2380. "500": {
  2381. "description": "Internal Server Error",
  2382. "schema": {
  2383. "$ref": "#/definitions/app.Response"
  2384. }
  2385. }
  2386. }
  2387. }
  2388. },
  2389. "/Ermcp/QueryGoodsBrand": {
  2390. "get": {
  2391. "security": [
  2392. {
  2393. "ApiKeyAuth": []
  2394. }
  2395. ],
  2396. "produces": [
  2397. "application/json"
  2398. ],
  2399. "tags": [
  2400. "企业风险管理(app)"
  2401. ],
  2402. "summary": "查询商品品牌",
  2403. "parameters": [
  2404. {
  2405. "type": "integer",
  2406. "description": "用户ID",
  2407. "name": "userid",
  2408. "in": "query",
  2409. "required": true
  2410. },
  2411. {
  2412. "type": "integer",
  2413. "description": "现货商品ID",
  2414. "name": "wrstandardid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsModel": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品型号",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. }
  2459. ],
  2460. "responses": {
  2461. "200": {
  2462. "description": "OK",
  2463. "schema": {
  2464. "type": "array",
  2465. "items": {
  2466. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2467. }
  2468. }
  2469. },
  2470. "500": {
  2471. "description": "Internal Server Error",
  2472. "schema": {
  2473. "$ref": "#/definitions/app.Response"
  2474. }
  2475. }
  2476. }
  2477. }
  2478. },
  2479. "/Ermcp/QueryHisExposure": {
  2480. "get": {
  2481. "security": [
  2482. {
  2483. "ApiKeyAuth": []
  2484. }
  2485. ],
  2486. "produces": [
  2487. "application/json"
  2488. ],
  2489. "tags": [
  2490. "企业风险管理(app)"
  2491. ],
  2492. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2493. "parameters": [
  2494. {
  2495. "type": "integer",
  2496. "description": "用户id",
  2497. "name": "userid",
  2498. "in": "query",
  2499. "required": true
  2500. },
  2501. {
  2502. "type": "integer",
  2503. "description": "每个品种记录数",
  2504. "name": "lastNum",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryMiddleGoods": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询套保品种(菜单:套保品种)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "状态 0-停用 1-正常",
  2553. "name": "status",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "userid",
  2596. "in": "query",
  2597. "required": true
  2598. },
  2599. {
  2600. "type": "integer",
  2601. "description": "套保品种id",
  2602. "name": "middlegoodsid",
  2603. "in": "query",
  2604. "required": true
  2605. }
  2606. ],
  2607. "responses": {
  2608. "200": {
  2609. "description": "OK",
  2610. "schema": {
  2611. "type": "array",
  2612. "items": {
  2613. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2614. }
  2615. }
  2616. },
  2617. "500": {
  2618. "description": "Internal Server Error",
  2619. "schema": {
  2620. "$ref": "#/definitions/app.Response"
  2621. }
  2622. }
  2623. }
  2624. }
  2625. },
  2626. "/Ermcp/QueryMiddleGoodsDetail": {
  2627. "get": {
  2628. "security": [
  2629. {
  2630. "ApiKeyAuth": []
  2631. }
  2632. ],
  2633. "produces": [
  2634. "application/json"
  2635. ],
  2636. "tags": [
  2637. "企业风险管理(app)"
  2638. ],
  2639. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2640. "parameters": [
  2641. {
  2642. "type": "integer",
  2643. "description": "所属机构ID",
  2644. "name": "userid",
  2645. "in": "query",
  2646. "required": true
  2647. },
  2648. {
  2649. "type": "integer",
  2650. "description": "套保品种id",
  2651. "name": "middlegoodsid",
  2652. "in": "query"
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryPendingAuditInfo": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "用户ID",
  2692. "name": "UserId",
  2693. "in": "query",
  2694. "required": true
  2695. }
  2696. ],
  2697. "responses": {
  2698. "200": {
  2699. "description": "OK",
  2700. "schema": {
  2701. "type": "array",
  2702. "items": {
  2703. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2704. }
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Ermcp/QueryRealtimeExposure": {
  2717. "get": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "企业风险管理(app)"
  2728. ],
  2729. "summary": "查询实时敞口",
  2730. "parameters": [
  2731. {
  2732. "type": "integer",
  2733. "description": "所属机构ID",
  2734. "name": "userid",
  2735. "in": "query",
  2736. "required": true
  2737. }
  2738. ],
  2739. "responses": {
  2740. "200": {
  2741. "description": "OK",
  2742. "schema": {
  2743. "type": "array",
  2744. "items": {
  2745. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2746. }
  2747. }
  2748. },
  2749. "500": {
  2750. "description": "Internal Server Error",
  2751. "schema": {
  2752. "$ref": "#/definitions/app.Response"
  2753. }
  2754. }
  2755. }
  2756. }
  2757. },
  2758. "/Ermcp/QueryRealtimeExposurePosition": {
  2759. "get": {
  2760. "security": [
  2761. {
  2762. "ApiKeyAuth": []
  2763. }
  2764. ],
  2765. "produces": [
  2766. "application/json"
  2767. ],
  2768. "tags": [
  2769. "企业风险管理(app)"
  2770. ],
  2771. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2772. "parameters": [
  2773. {
  2774. "type": "integer",
  2775. "description": "用户id",
  2776. "name": "userid",
  2777. "in": "query",
  2778. "required": true
  2779. },
  2780. {
  2781. "type": "integer",
  2782. "description": "套保商品ID",
  2783. "name": "middleGoodsId",
  2784. "in": "query",
  2785. "required": true
  2786. }
  2787. ],
  2788. "responses": {
  2789. "200": {
  2790. "description": "OK",
  2791. "schema": {
  2792. "type": "array",
  2793. "items": {
  2794. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2795. }
  2796. }
  2797. },
  2798. "500": {
  2799. "description": "Internal Server Error",
  2800. "schema": {
  2801. "$ref": "#/definitions/app.Response"
  2802. }
  2803. }
  2804. }
  2805. }
  2806. },
  2807. "/Ermcp/QueryRoleMenu": {
  2808. "get": {
  2809. "security": [
  2810. {
  2811. "ApiKeyAuth": []
  2812. }
  2813. ],
  2814. "produces": [
  2815. "application/json"
  2816. ],
  2817. "tags": [
  2818. "企业风险管理(app)"
  2819. ],
  2820. "summary": "查询角色菜单和权限",
  2821. "parameters": [
  2822. {
  2823. "type": "integer",
  2824. "description": "登录ID",
  2825. "name": "loginid",
  2826. "in": "query",
  2827. "required": true
  2828. },
  2829. {
  2830. "type": "integer",
  2831. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2832. "name": "menutype",
  2833. "in": "query"
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/models.RoleMenu"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryTradeConfigTMP": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询交易模板配置",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "所属机构id",
  2873. "name": "areauserid",
  2874. "in": "query"
  2875. }
  2876. ],
  2877. "responses": {
  2878. "200": {
  2879. "description": "OK",
  2880. "schema": {
  2881. "type": "array",
  2882. "items": {
  2883. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2884. }
  2885. }
  2886. },
  2887. "500": {
  2888. "description": "Internal Server Error",
  2889. "schema": {
  2890. "$ref": "#/definitions/app.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/Ermcp/QueryUserInfo": {
  2897. "get": {
  2898. "security": [
  2899. {
  2900. "ApiKeyAuth": []
  2901. }
  2902. ],
  2903. "produces": [
  2904. "application/json"
  2905. ],
  2906. "tags": [
  2907. "企业风险管理(app)"
  2908. ],
  2909. "summary": "查询客户资料",
  2910. "parameters": [
  2911. {
  2912. "type": "integer",
  2913. "description": "所属机构用户ID",
  2914. "name": "MemberUserID",
  2915. "in": "query",
  2916. "required": true
  2917. },
  2918. {
  2919. "type": "integer",
  2920. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2921. "name": "queryType",
  2922. "in": "query",
  2923. "required": true
  2924. }
  2925. ],
  2926. "responses": {
  2927. "200": {
  2928. "description": "OK",
  2929. "schema": {
  2930. "type": "array",
  2931. "items": {
  2932. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2933. }
  2934. }
  2935. },
  2936. "500": {
  2937. "description": "Internal Server Error",
  2938. "schema": {
  2939. "$ref": "#/definitions/app.Response"
  2940. }
  2941. }
  2942. }
  2943. }
  2944. },
  2945. "/Ermcp/QueryWarehouseInfo": {
  2946. "get": {
  2947. "security": [
  2948. {
  2949. "ApiKeyAuth": []
  2950. }
  2951. ],
  2952. "produces": [
  2953. "application/json"
  2954. ],
  2955. "tags": [
  2956. "企业风险管理(app)"
  2957. ],
  2958. "summary": "查询仓库信息",
  2959. "parameters": [
  2960. {
  2961. "type": "integer",
  2962. "description": "用户ID",
  2963. "name": "userid",
  2964. "in": "query",
  2965. "required": true
  2966. },
  2967. {
  2968. "type": "string",
  2969. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2970. "name": "status",
  2971. "in": "query"
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp3/QryAreaExpourseContractDetail": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理v3(app)"
  3005. ],
  3006. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "integer",
  3017. "description": "套保商品id",
  3018. "name": "middlegoodsid",
  3019. "in": "query",
  3020. "required": true
  3021. },
  3022. {
  3023. "type": "integer",
  3024. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3025. "name": "cycletype",
  3026. "in": "query",
  3027. "required": true
  3028. },
  3029. {
  3030. "type": "string",
  3031. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3032. "name": "cycletime",
  3033. "in": "query",
  3034. "required": true
  3035. }
  3036. ],
  3037. "responses": {
  3038. "200": {
  3039. "description": "OK",
  3040. "schema": {
  3041. "type": "array",
  3042. "items": {
  3043. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3044. }
  3045. }
  3046. },
  3047. "500": {
  3048. "description": "Internal Server Error",
  3049. "schema": {
  3050. "$ref": "#/definitions/app.Response"
  3051. }
  3052. }
  3053. }
  3054. }
  3055. },
  3056. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3057. "get": {
  3058. "security": [
  3059. {
  3060. "ApiKeyAuth": []
  3061. }
  3062. ],
  3063. "produces": [
  3064. "application/json"
  3065. ],
  3066. "tags": [
  3067. "企业风险管理v3(app)"
  3068. ],
  3069. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3070. "parameters": [
  3071. {
  3072. "type": "integer",
  3073. "description": "用户ID",
  3074. "name": "userid",
  3075. "in": "query",
  3076. "required": true
  3077. },
  3078. {
  3079. "type": "integer",
  3080. "description": "套保商品id",
  3081. "name": "middlegoodsid",
  3082. "in": "query",
  3083. "required": true
  3084. },
  3085. {
  3086. "type": "integer",
  3087. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3088. "name": "cycletype",
  3089. "in": "query",
  3090. "required": true
  3091. },
  3092. {
  3093. "type": "string",
  3094. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3095. "name": "cycletime",
  3096. "in": "query",
  3097. "required": true
  3098. }
  3099. ],
  3100. "responses": {
  3101. "200": {
  3102. "description": "OK",
  3103. "schema": {
  3104. "type": "array",
  3105. "items": {
  3106. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3107. }
  3108. }
  3109. },
  3110. "500": {
  3111. "description": "Internal Server Error",
  3112. "schema": {
  3113. "$ref": "#/definitions/app.Response"
  3114. }
  3115. }
  3116. }
  3117. }
  3118. },
  3119. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3120. "get": {
  3121. "security": [
  3122. {
  3123. "ApiKeyAuth": []
  3124. }
  3125. ],
  3126. "produces": [
  3127. "application/json"
  3128. ],
  3129. "tags": [
  3130. "企业风险管理v3(app)"
  3131. ],
  3132. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3133. "parameters": [
  3134. {
  3135. "type": "integer",
  3136. "description": "用户ID",
  3137. "name": "userid",
  3138. "in": "query",
  3139. "required": true
  3140. },
  3141. {
  3142. "type": "integer",
  3143. "description": "套保商品id",
  3144. "name": "middlegoodsid",
  3145. "in": "query",
  3146. "required": true
  3147. },
  3148. {
  3149. "type": "integer",
  3150. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3151. "name": "cycletype",
  3152. "in": "query",
  3153. "required": true
  3154. },
  3155. {
  3156. "type": "string",
  3157. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3158. "name": "cycletime",
  3159. "in": "query",
  3160. "required": true
  3161. }
  3162. ],
  3163. "responses": {
  3164. "200": {
  3165. "description": "OK",
  3166. "schema": {
  3167. "type": "array",
  3168. "items": {
  3169. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3170. }
  3171. }
  3172. },
  3173. "500": {
  3174. "description": "Internal Server Error",
  3175. "schema": {
  3176. "$ref": "#/definitions/app.Response"
  3177. }
  3178. }
  3179. }
  3180. }
  3181. },
  3182. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3183. "get": {
  3184. "security": [
  3185. {
  3186. "ApiKeyAuth": []
  3187. }
  3188. ],
  3189. "produces": [
  3190. "application/json"
  3191. ],
  3192. "tags": [
  3193. "企业风险管理v3(app)"
  3194. ],
  3195. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3196. "parameters": [
  3197. {
  3198. "type": "integer",
  3199. "description": "用户ID",
  3200. "name": "userid",
  3201. "in": "query",
  3202. "required": true
  3203. },
  3204. {
  3205. "type": "integer",
  3206. "description": "套保商品id",
  3207. "name": "middlegoodsid",
  3208. "in": "query",
  3209. "required": true
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3214. "name": "cycletype",
  3215. "in": "query",
  3216. "required": true
  3217. },
  3218. {
  3219. "type": "string",
  3220. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3221. "name": "cycletime",
  3222. "in": "query",
  3223. "required": true
  3224. }
  3225. ],
  3226. "responses": {
  3227. "200": {
  3228. "description": "OK",
  3229. "schema": {
  3230. "type": "array",
  3231. "items": {
  3232. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3233. }
  3234. }
  3235. },
  3236. "500": {
  3237. "description": "Internal Server Error",
  3238. "schema": {
  3239. "$ref": "#/definitions/app.Response"
  3240. }
  3241. }
  3242. }
  3243. }
  3244. },
  3245. "/Ermcp3/QryAreaExpourseReport": {
  3246. "get": {
  3247. "security": [
  3248. {
  3249. "ApiKeyAuth": []
  3250. }
  3251. ],
  3252. "produces": [
  3253. "application/json"
  3254. ],
  3255. "tags": [
  3256. "企业风险管理v3(app)"
  3257. ],
  3258. "summary": "查询敞口报表",
  3259. "parameters": [
  3260. {
  3261. "type": "integer",
  3262. "description": "用户ID",
  3263. "name": "userid",
  3264. "in": "query",
  3265. "required": true
  3266. },
  3267. {
  3268. "type": "integer",
  3269. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3270. "name": "querytype",
  3271. "in": "query",
  3272. "required": true
  3273. },
  3274. {
  3275. "type": "integer",
  3276. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3277. "name": "cycletype",
  3278. "in": "query",
  3279. "required": true
  3280. },
  3281. {
  3282. "type": "string",
  3283. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3284. "name": "cycletime",
  3285. "in": "query",
  3286. "required": true
  3287. }
  3288. ],
  3289. "responses": {
  3290. "200": {
  3291. "description": "OK",
  3292. "schema": {
  3293. "type": "array",
  3294. "items": {
  3295. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3296. }
  3297. }
  3298. },
  3299. "500": {
  3300. "description": "Internal Server Error",
  3301. "schema": {
  3302. "$ref": "#/definitions/app.Response"
  3303. }
  3304. }
  3305. }
  3306. }
  3307. },
  3308. "/Ermcp3/QryAreaSpotplReport": {
  3309. "get": {
  3310. "security": [
  3311. {
  3312. "ApiKeyAuth": []
  3313. }
  3314. ],
  3315. "produces": [
  3316. "application/json"
  3317. ],
  3318. "tags": [
  3319. "企业风险管理v3(app)"
  3320. ],
  3321. "summary": "查询现货报表",
  3322. "parameters": [
  3323. {
  3324. "type": "integer",
  3325. "description": "用户ID",
  3326. "name": "userid",
  3327. "in": "query",
  3328. "required": true
  3329. },
  3330. {
  3331. "type": "integer",
  3332. "description": "查询类型 1-报表 2-报表明细",
  3333. "name": "querytype",
  3334. "in": "query",
  3335. "required": true
  3336. },
  3337. {
  3338. "type": "integer",
  3339. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3340. "name": "cycletype",
  3341. "in": "query",
  3342. "required": true
  3343. },
  3344. {
  3345. "type": "string",
  3346. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3347. "name": "cycletime",
  3348. "in": "query",
  3349. "required": true
  3350. },
  3351. {
  3352. "type": "integer",
  3353. "description": "现货品种id(明细必填)",
  3354. "name": "deliverygoodsid",
  3355. "in": "query"
  3356. },
  3357. {
  3358. "type": "integer",
  3359. "description": "币种id(明细必填)",
  3360. "name": "currencyid",
  3361. "in": "query"
  3362. }
  3363. ],
  3364. "responses": {
  3365. "200": {
  3366. "description": "OK",
  3367. "schema": {
  3368. "type": "array",
  3369. "items": {
  3370. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3371. }
  3372. }
  3373. },
  3374. "500": {
  3375. "description": "Internal Server Error",
  3376. "schema": {
  3377. "$ref": "#/definitions/app.Response"
  3378. }
  3379. }
  3380. }
  3381. }
  3382. },
  3383. "/Ermcp3/QryAreaStockReport": {
  3384. "get": {
  3385. "security": [
  3386. {
  3387. "ApiKeyAuth": []
  3388. }
  3389. ],
  3390. "produces": [
  3391. "application/json"
  3392. ],
  3393. "tags": [
  3394. "企业风险管理v3(app)"
  3395. ],
  3396. "summary": "查询库存报表",
  3397. "parameters": [
  3398. {
  3399. "type": "integer",
  3400. "description": "用户ID",
  3401. "name": "userid",
  3402. "in": "query",
  3403. "required": true
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "查询类型 1-报表 2-报表明细",
  3408. "name": "querytype",
  3409. "in": "query",
  3410. "required": true
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3415. "name": "cycletype",
  3416. "in": "query",
  3417. "required": true
  3418. },
  3419. {
  3420. "type": "string",
  3421. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3422. "name": "cycletime",
  3423. "in": "query",
  3424. "required": true
  3425. },
  3426. {
  3427. "type": "string",
  3428. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3429. "name": "sumfields",
  3430. "in": "query"
  3431. },
  3432. {
  3433. "type": "integer",
  3434. "description": "品种ID",
  3435. "name": "deliverygoodsid",
  3436. "in": "query"
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "品类ID",
  3441. "name": "wrstandardid",
  3442. "in": "query"
  3443. },
  3444. {
  3445. "type": "integer",
  3446. "description": "品牌ID",
  3447. "name": "spotgoodsbrandid",
  3448. "in": "query"
  3449. },
  3450. {
  3451. "type": "integer",
  3452. "description": "仓库ID",
  3453. "name": "warehouseinfoid",
  3454. "in": "query"
  3455. }
  3456. ],
  3457. "responses": {
  3458. "200": {
  3459. "description": "OK",
  3460. "schema": {
  3461. "type": "array",
  3462. "items": {
  3463. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3464. }
  3465. }
  3466. },
  3467. "500": {
  3468. "description": "Internal Server Error",
  3469. "schema": {
  3470. "$ref": "#/definitions/app.Response"
  3471. }
  3472. }
  3473. }
  3474. }
  3475. },
  3476. "/Ermcp3/QryAreaSumPL": {
  3477. "get": {
  3478. "security": [
  3479. {
  3480. "ApiKeyAuth": []
  3481. }
  3482. ],
  3483. "produces": [
  3484. "application/json"
  3485. ],
  3486. "tags": [
  3487. "企业风险管理v3(app)"
  3488. ],
  3489. "summary": "查询汇总损益表",
  3490. "parameters": [
  3491. {
  3492. "type": "integer",
  3493. "description": "用户ID",
  3494. "name": "userid",
  3495. "in": "query",
  3496. "required": true
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "查询类型 1-报表 2-报表明细",
  3501. "name": "querytype",
  3502. "in": "query",
  3503. "required": true
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3508. "name": "cycletype",
  3509. "in": "query",
  3510. "required": true
  3511. },
  3512. {
  3513. "type": "string",
  3514. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3515. "name": "cycletime",
  3516. "in": "query",
  3517. "required": true
  3518. },
  3519. {
  3520. "type": "integer",
  3521. "description": "币种id(明细必填)",
  3522. "name": "currencyid",
  3523. "in": "query"
  3524. }
  3525. ],
  3526. "responses": {
  3527. "200": {
  3528. "description": "OK",
  3529. "schema": {
  3530. "type": "array",
  3531. "items": {
  3532. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3533. }
  3534. }
  3535. },
  3536. "500": {
  3537. "description": "Internal Server Error",
  3538. "schema": {
  3539. "$ref": "#/definitions/app.Response"
  3540. }
  3541. }
  3542. }
  3543. }
  3544. },
  3545. "/Ermcp3/QryFinanceReport": {
  3546. "get": {
  3547. "security": [
  3548. {
  3549. "ApiKeyAuth": []
  3550. }
  3551. ],
  3552. "produces": [
  3553. "application/json"
  3554. ],
  3555. "tags": [
  3556. "企业风险管理v3(app)"
  3557. ],
  3558. "summary": "查询财务报表",
  3559. "parameters": [
  3560. {
  3561. "type": "integer",
  3562. "description": "用户ID",
  3563. "name": "userid",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "查询类型 1-报表 2-报表明细",
  3570. "name": "querytype",
  3571. "in": "query",
  3572. "required": true
  3573. },
  3574. {
  3575. "type": "integer",
  3576. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3577. "name": "cycletype",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "string",
  3583. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3584. "name": "cycletime",
  3585. "in": "query",
  3586. "required": true
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "币种id(报表明细必填)",
  3591. "name": "currencyid",
  3592. "in": "query"
  3593. },
  3594. {
  3595. "type": "string",
  3596. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3597. "name": "sumfields",
  3598. "in": "query"
  3599. }
  3600. ],
  3601. "responses": {
  3602. "200": {
  3603. "description": "OK",
  3604. "schema": {
  3605. "type": "array",
  3606. "items": {
  3607. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3608. }
  3609. }
  3610. },
  3611. "500": {
  3612. "description": "Internal Server Error",
  3613. "schema": {
  3614. "$ref": "#/definitions/app.Response"
  3615. }
  3616. }
  3617. }
  3618. }
  3619. },
  3620. "/Ermcp3/QryTaFutureDataReport": {
  3621. "get": {
  3622. "security": [
  3623. {
  3624. "ApiKeyAuth": []
  3625. }
  3626. ],
  3627. "produces": [
  3628. "application/json"
  3629. ],
  3630. "tags": [
  3631. "企业风险管理v3(app)"
  3632. ],
  3633. "summary": "查询期货报表",
  3634. "parameters": [
  3635. {
  3636. "type": "integer",
  3637. "description": "用户ID",
  3638. "name": "userid",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "integer",
  3644. "description": "查询类型 1-报表 2-报表明细",
  3645. "name": "querytype",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "integer",
  3651. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3652. "name": "cycletype",
  3653. "in": "query",
  3654. "required": true
  3655. },
  3656. {
  3657. "type": "string",
  3658. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3659. "name": "cycletime",
  3660. "in": "query",
  3661. "required": true
  3662. },
  3663. {
  3664. "type": "integer",
  3665. "description": "币种id(查明细必填)",
  3666. "name": "currencyid",
  3667. "in": "query"
  3668. },
  3669. {
  3670. "type": "integer",
  3671. "description": "品种id(查明细必填)",
  3672. "name": "goodsgroupid",
  3673. "in": "query"
  3674. },
  3675. {
  3676. "type": "integer",
  3677. "description": "商品id(查明细必填)",
  3678. "name": "goodsid",
  3679. "in": "query"
  3680. },
  3681. {
  3682. "type": "integer",
  3683. "description": "买卖方向(查明细必填)",
  3684. "name": "buyorsell",
  3685. "in": "query"
  3686. }
  3687. ],
  3688. "responses": {
  3689. "200": {
  3690. "description": "OK",
  3691. "schema": {
  3692. "type": "array",
  3693. "items": {
  3694. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3695. }
  3696. }
  3697. },
  3698. "500": {
  3699. "description": "Internal Server Error",
  3700. "schema": {
  3701. "$ref": "#/definitions/app.Response"
  3702. }
  3703. }
  3704. }
  3705. }
  3706. },
  3707. "/Ermcp3/QueryAreaStock": {
  3708. "get": {
  3709. "security": [
  3710. {
  3711. "ApiKeyAuth": []
  3712. }
  3713. ],
  3714. "produces": [
  3715. "application/json"
  3716. ],
  3717. "tags": [
  3718. "企业风险管理v3(app)"
  3719. ],
  3720. "summary": "查询机构库存(库存管理/当前库存)",
  3721. "parameters": [
  3722. {
  3723. "type": "integer",
  3724. "description": "用户ID",
  3725. "name": "userid",
  3726. "in": "query",
  3727. "required": true
  3728. }
  3729. ],
  3730. "responses": {
  3731. "200": {
  3732. "description": "OK",
  3733. "schema": {
  3734. "type": "array",
  3735. "items": {
  3736. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3737. }
  3738. }
  3739. },
  3740. "500": {
  3741. "description": "Internal Server Error",
  3742. "schema": {
  3743. "$ref": "#/definitions/app.Response"
  3744. }
  3745. }
  3746. }
  3747. }
  3748. },
  3749. "/Ermcp3/QueryAreaStockApply": {
  3750. "get": {
  3751. "security": [
  3752. {
  3753. "ApiKeyAuth": []
  3754. }
  3755. ],
  3756. "produces": [
  3757. "application/json"
  3758. ],
  3759. "tags": [
  3760. "企业风险管理v3(app)"
  3761. ],
  3762. "summary": "查询库存申请(出入库记录|库存审核)",
  3763. "parameters": [
  3764. {
  3765. "type": "integer",
  3766. "description": "用户ID",
  3767. "name": "userid",
  3768. "in": "query",
  3769. "required": true
  3770. },
  3771. {
  3772. "type": "integer",
  3773. "description": "用户类型 2-机构 7-企业成员",
  3774. "name": "usertype",
  3775. "in": "query"
  3776. },
  3777. {
  3778. "type": "integer",
  3779. "description": "现货商品ID",
  3780. "name": "deliverygoodsid",
  3781. "in": "query"
  3782. },
  3783. {
  3784. "type": "string",
  3785. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3786. "name": "inouttype",
  3787. "in": "query"
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "合同ID",
  3792. "name": "spotcontractid",
  3793. "in": "query"
  3794. },
  3795. {
  3796. "type": "integer",
  3797. "description": "品类ID",
  3798. "name": "wrstandardid",
  3799. "in": "query"
  3800. },
  3801. {
  3802. "type": "integer",
  3803. "description": "品牌ID",
  3804. "name": "spotgoodsbrandid",
  3805. "in": "query"
  3806. },
  3807. {
  3808. "type": "integer",
  3809. "description": "仓库ID",
  3810. "name": "warehouseinfoid",
  3811. "in": "query"
  3812. },
  3813. {
  3814. "type": "string",
  3815. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3816. "name": "applystatus",
  3817. "in": "query"
  3818. }
  3819. ],
  3820. "responses": {
  3821. "200": {
  3822. "description": "OK",
  3823. "schema": {
  3824. "type": "array",
  3825. "items": {
  3826. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3827. }
  3828. }
  3829. },
  3830. "500": {
  3831. "description": "Internal Server Error",
  3832. "schema": {
  3833. "$ref": "#/definitions/app.Response"
  3834. }
  3835. }
  3836. }
  3837. }
  3838. },
  3839. "/Ermcp3/QueryAreaStockApplySum": {
  3840. "get": {
  3841. "security": [
  3842. {
  3843. "ApiKeyAuth": []
  3844. }
  3845. ],
  3846. "produces": [
  3847. "application/json"
  3848. ],
  3849. "tags": [
  3850. "企业风险管理v3(app)"
  3851. ],
  3852. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3853. "parameters": [
  3854. {
  3855. "type": "integer",
  3856. "description": "合同ID",
  3857. "name": "spotcontractid",
  3858. "in": "query",
  3859. "required": true
  3860. }
  3861. ],
  3862. "responses": {
  3863. "200": {
  3864. "description": "OK",
  3865. "schema": {
  3866. "type": "array",
  3867. "items": {
  3868. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3869. }
  3870. }
  3871. },
  3872. "500": {
  3873. "description": "Internal Server Error",
  3874. "schema": {
  3875. "$ref": "#/definitions/app.Response"
  3876. }
  3877. }
  3878. }
  3879. }
  3880. },
  3881. "/Ermcp3/QueryDGFactoryItem": {
  3882. "get": {
  3883. "security": [
  3884. {
  3885. "ApiKeyAuth": []
  3886. }
  3887. ],
  3888. "produces": [
  3889. "application/json"
  3890. ],
  3891. "tags": [
  3892. "企业风险管理v3(app)"
  3893. ],
  3894. "summary": "查询品种要素定义项",
  3895. "parameters": [
  3896. {
  3897. "type": "integer",
  3898. "description": "用户id",
  3899. "name": "userid",
  3900. "in": "query"
  3901. },
  3902. {
  3903. "type": "integer",
  3904. "description": "用户类型 2-机构 7-企业成员",
  3905. "name": "usertype",
  3906. "in": "query"
  3907. },
  3908. {
  3909. "type": "integer",
  3910. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3911. "name": "dgfactoryitemid",
  3912. "in": "query"
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "现货品种ID",
  3917. "name": "deliverygoodsid",
  3918. "in": "query"
  3919. },
  3920. {
  3921. "type": "integer",
  3922. "description": "要素项类型",
  3923. "name": "dgfactoryitemtypeid",
  3924. "in": "query"
  3925. },
  3926. {
  3927. "type": "integer",
  3928. "description": "顺序",
  3929. "name": "orderindex",
  3930. "in": "query"
  3931. }
  3932. ],
  3933. "responses": {
  3934. "200": {
  3935. "description": "OK",
  3936. "schema": {
  3937. "type": "array",
  3938. "items": {
  3939. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3940. }
  3941. }
  3942. },
  3943. "500": {
  3944. "description": "Internal Server Error",
  3945. "schema": {
  3946. "$ref": "#/definitions/app.Response"
  3947. }
  3948. }
  3949. }
  3950. }
  3951. },
  3952. "/Ermcp3/QueryDeliveryGoods": {
  3953. "get": {
  3954. "security": [
  3955. {
  3956. "ApiKeyAuth": []
  3957. }
  3958. ],
  3959. "produces": [
  3960. "application/json"
  3961. ],
  3962. "tags": [
  3963. "企业风险管理v3(app)"
  3964. ],
  3965. "summary": "查询现货商品",
  3966. "parameters": [
  3967. {
  3968. "type": "integer",
  3969. "description": "用户id",
  3970. "name": "userid",
  3971. "in": "query",
  3972. "required": true
  3973. },
  3974. {
  3975. "type": "integer",
  3976. "description": "用户类型 2-机构 7-企业成员",
  3977. "name": "usertype",
  3978. "in": "query"
  3979. },
  3980. {
  3981. "type": "integer",
  3982. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3983. "name": "excludecfg",
  3984. "in": "query"
  3985. }
  3986. ],
  3987. "responses": {
  3988. "200": {
  3989. "description": "OK",
  3990. "schema": {
  3991. "type": "array",
  3992. "items": {
  3993. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3994. }
  3995. }
  3996. },
  3997. "500": {
  3998. "description": "Internal Server Error",
  3999. "schema": {
  4000. "$ref": "#/definitions/app.Response"
  4001. }
  4002. }
  4003. }
  4004. }
  4005. },
  4006. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4007. "get": {
  4008. "security": [
  4009. {
  4010. "ApiKeyAuth": []
  4011. }
  4012. ],
  4013. "produces": [
  4014. "application/json"
  4015. ],
  4016. "tags": [
  4017. "企业风险管理v3(app)"
  4018. ],
  4019. "summary": "查询现货商品详情",
  4020. "parameters": [
  4021. {
  4022. "type": "integer",
  4023. "description": "用户id",
  4024. "name": "userid",
  4025. "in": "query",
  4026. "required": true
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "用户类型 2-机构 7-企业成员",
  4031. "name": "usertype",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "现货商品id",
  4037. "name": "deliverygoodsid",
  4038. "in": "query"
  4039. }
  4040. ],
  4041. "responses": {
  4042. "200": {
  4043. "description": "OK",
  4044. "schema": {
  4045. "type": "array",
  4046. "items": {
  4047. "$ref": "#/definitions/models.XHDeliveryGoods"
  4048. }
  4049. }
  4050. },
  4051. "500": {
  4052. "description": "Internal Server Error",
  4053. "schema": {
  4054. "$ref": "#/definitions/app.Response"
  4055. }
  4056. }
  4057. }
  4058. }
  4059. },
  4060. "/Ermcp3/QueryExposureDetail": {
  4061. "get": {
  4062. "security": [
  4063. {
  4064. "ApiKeyAuth": []
  4065. }
  4066. ],
  4067. "produces": [
  4068. "application/json"
  4069. ],
  4070. "tags": [
  4071. "企业风险管理v3(app)"
  4072. ],
  4073. "summary": "查询敞口现货明细",
  4074. "parameters": [
  4075. {
  4076. "type": "integer",
  4077. "description": "用户id",
  4078. "name": "userid",
  4079. "in": "query",
  4080. "required": true
  4081. },
  4082. {
  4083. "type": "integer",
  4084. "description": "用户类型 2-机构 7-企业成员",
  4085. "name": "usertype",
  4086. "in": "query"
  4087. },
  4088. {
  4089. "type": "integer",
  4090. "description": "套保商品",
  4091. "name": "middlegoodsid",
  4092. "in": "query",
  4093. "required": true
  4094. }
  4095. ],
  4096. "responses": {
  4097. "200": {
  4098. "description": "OK",
  4099. "schema": {
  4100. "type": "array",
  4101. "items": {
  4102. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4103. }
  4104. }
  4105. },
  4106. "500": {
  4107. "description": "Internal Server Error",
  4108. "schema": {
  4109. "$ref": "#/definitions/app.Response"
  4110. }
  4111. }
  4112. }
  4113. }
  4114. },
  4115. "/Ermcp3/QueryExposureSpot": {
  4116. "get": {
  4117. "security": [
  4118. {
  4119. "ApiKeyAuth": []
  4120. }
  4121. ],
  4122. "produces": [
  4123. "application/json"
  4124. ],
  4125. "tags": [
  4126. "企业风险管理v3(app)"
  4127. ],
  4128. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4129. "parameters": [
  4130. {
  4131. "type": "integer",
  4132. "description": "用户id",
  4133. "name": "userid",
  4134. "in": "query",
  4135. "required": true
  4136. },
  4137. {
  4138. "type": "integer",
  4139. "description": "用户类型 2-机构 7-企业成员",
  4140. "name": "usertype",
  4141. "in": "query"
  4142. }
  4143. ],
  4144. "responses": {
  4145. "200": {
  4146. "description": "OK",
  4147. "schema": {
  4148. "type": "array",
  4149. "items": {
  4150. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4151. }
  4152. }
  4153. },
  4154. "500": {
  4155. "description": "Internal Server Error",
  4156. "schema": {
  4157. "$ref": "#/definitions/app.Response"
  4158. }
  4159. }
  4160. }
  4161. }
  4162. },
  4163. "/Ermcp3/QueryExposureSpotDetail": {
  4164. "get": {
  4165. "security": [
  4166. {
  4167. "ApiKeyAuth": []
  4168. }
  4169. ],
  4170. "produces": [
  4171. "application/json"
  4172. ],
  4173. "tags": [
  4174. "企业风险管理v3(app)"
  4175. ],
  4176. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4177. "parameters": [
  4178. {
  4179. "type": "integer",
  4180. "description": "用户id",
  4181. "name": "userid",
  4182. "in": "query",
  4183. "required": true
  4184. },
  4185. {
  4186. "type": "integer",
  4187. "description": "用户类型 2-机构 7-企业成员",
  4188. "name": "usertype",
  4189. "in": "query"
  4190. },
  4191. {
  4192. "type": "integer",
  4193. "description": "现货商品ID",
  4194. "name": "wrstandardid",
  4195. "in": "query",
  4196. "required": true
  4197. }
  4198. ],
  4199. "responses": {
  4200. "200": {
  4201. "description": "OK",
  4202. "schema": {
  4203. "type": "array",
  4204. "items": {
  4205. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4206. }
  4207. }
  4208. },
  4209. "500": {
  4210. "description": "Internal Server Error",
  4211. "schema": {
  4212. "$ref": "#/definitions/app.Response"
  4213. }
  4214. }
  4215. }
  4216. }
  4217. },
  4218. "/Ermcp3/QueryGoodsGroup": {
  4219. "get": {
  4220. "security": [
  4221. {
  4222. "ApiKeyAuth": []
  4223. }
  4224. ],
  4225. "produces": [
  4226. "application/json"
  4227. ],
  4228. "tags": [
  4229. "企业风险管理v3(app)"
  4230. ],
  4231. "summary": "查询期货商品组",
  4232. "parameters": [
  4233. {
  4234. "type": "integer",
  4235. "description": "用户id",
  4236. "name": "userid",
  4237. "in": "query",
  4238. "required": true
  4239. },
  4240. {
  4241. "type": "integer",
  4242. "description": "用户类型 2-机构 7-企业成员",
  4243. "name": "usertype",
  4244. "in": "query"
  4245. },
  4246. {
  4247. "type": "integer",
  4248. "description": "排除套保品中已关联的商品组 1-排除",
  4249. "name": "excludecfg",
  4250. "in": "query"
  4251. }
  4252. ],
  4253. "responses": {
  4254. "200": {
  4255. "description": "OK",
  4256. "schema": {
  4257. "type": "array",
  4258. "items": {
  4259. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4260. }
  4261. }
  4262. },
  4263. "500": {
  4264. "description": "Internal Server Error",
  4265. "schema": {
  4266. "$ref": "#/definitions/app.Response"
  4267. }
  4268. }
  4269. }
  4270. }
  4271. },
  4272. "/Ermcp3/QueryGoodsWrstandard": {
  4273. "get": {
  4274. "security": [
  4275. {
  4276. "ApiKeyAuth": []
  4277. }
  4278. ],
  4279. "produces": [
  4280. "application/json"
  4281. ],
  4282. "tags": [
  4283. "企业风险管理v3(app)"
  4284. ],
  4285. "summary": "查询商品品类",
  4286. "parameters": [
  4287. {
  4288. "type": "integer",
  4289. "description": "用户id",
  4290. "name": "userid",
  4291. "in": "query",
  4292. "required": true
  4293. },
  4294. {
  4295. "type": "integer",
  4296. "description": "用户类型 2-机构 7-企业成员",
  4297. "name": "usertype",
  4298. "in": "query"
  4299. },
  4300. {
  4301. "type": "integer",
  4302. "description": "现货商品id",
  4303. "name": "deliverygoodsid",
  4304. "in": "query"
  4305. }
  4306. ],
  4307. "responses": {
  4308. "200": {
  4309. "description": "OK",
  4310. "schema": {
  4311. "type": "array",
  4312. "items": {
  4313. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4314. }
  4315. }
  4316. },
  4317. "500": {
  4318. "description": "Internal Server Error",
  4319. "schema": {
  4320. "$ref": "#/definitions/app.Response"
  4321. }
  4322. }
  4323. }
  4324. }
  4325. },
  4326. "/Ermcp3/QueryGoodsbrand": {
  4327. "get": {
  4328. "security": [
  4329. {
  4330. "ApiKeyAuth": []
  4331. }
  4332. ],
  4333. "produces": [
  4334. "application/json"
  4335. ],
  4336. "tags": [
  4337. "企业风险管理v3(app)"
  4338. ],
  4339. "summary": "查询商品品牌",
  4340. "parameters": [
  4341. {
  4342. "type": "integer",
  4343. "description": "用户id",
  4344. "name": "userid",
  4345. "in": "query",
  4346. "required": true
  4347. },
  4348. {
  4349. "type": "integer",
  4350. "description": "用户类型 2-机构 7-企业成员",
  4351. "name": "usertype",
  4352. "in": "query"
  4353. }
  4354. ],
  4355. "responses": {
  4356. "200": {
  4357. "description": "OK",
  4358. "schema": {
  4359. "type": "array",
  4360. "items": {
  4361. "$ref": "#/definitions/models.Ermcp3Brand"
  4362. }
  4363. }
  4364. },
  4365. "500": {
  4366. "description": "Internal Server Error",
  4367. "schema": {
  4368. "$ref": "#/definitions/app.Response"
  4369. }
  4370. }
  4371. }
  4372. }
  4373. },
  4374. "/Ermcp3/QueryHedgePlan": {
  4375. "get": {
  4376. "security": [
  4377. {
  4378. "ApiKeyAuth": []
  4379. }
  4380. ],
  4381. "produces": [
  4382. "application/json"
  4383. ],
  4384. "tags": [
  4385. "企业风险管理v3(app)"
  4386. ],
  4387. "summary": "查询套保计划",
  4388. "parameters": [
  4389. {
  4390. "type": "integer",
  4391. "description": "用户ID",
  4392. "name": "userid",
  4393. "in": "query",
  4394. "required": true
  4395. },
  4396. {
  4397. "type": "integer",
  4398. "description": "用户类型 2-机构 7-企业成员",
  4399. "name": "usertype",
  4400. "in": "query"
  4401. },
  4402. {
  4403. "type": "string",
  4404. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4405. "name": "hedgeplanstatus",
  4406. "in": "query",
  4407. "required": true
  4408. }
  4409. ],
  4410. "responses": {
  4411. "200": {
  4412. "description": "OK",
  4413. "schema": {
  4414. "type": "array",
  4415. "items": {
  4416. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4417. }
  4418. }
  4419. },
  4420. "500": {
  4421. "description": "Internal Server Error",
  4422. "schema": {
  4423. "$ref": "#/definitions/app.Response"
  4424. }
  4425. }
  4426. }
  4427. }
  4428. },
  4429. "/Ermcp3/QueryMiddleGoodsDetail": {
  4430. "get": {
  4431. "security": [
  4432. {
  4433. "ApiKeyAuth": []
  4434. }
  4435. ],
  4436. "produces": [
  4437. "application/json"
  4438. ],
  4439. "tags": [
  4440. "企业风险管理v3(app)"
  4441. ],
  4442. "summary": "查询套保品种详情(套保品种/商品详情)",
  4443. "parameters": [
  4444. {
  4445. "type": "integer",
  4446. "description": "用户id",
  4447. "name": "userid",
  4448. "in": "query",
  4449. "required": true
  4450. },
  4451. {
  4452. "type": "integer",
  4453. "description": "用户类型 2-机构 7-企业成员",
  4454. "name": "usertype",
  4455. "in": "query"
  4456. },
  4457. {
  4458. "type": "integer",
  4459. "description": "套保品种id",
  4460. "name": "middlegoodsid",
  4461. "in": "query"
  4462. }
  4463. ],
  4464. "responses": {
  4465. "200": {
  4466. "description": "OK",
  4467. "schema": {
  4468. "type": "array",
  4469. "items": {
  4470. "$ref": "#/definitions/models.TBMiddleGoods"
  4471. }
  4472. }
  4473. },
  4474. "500": {
  4475. "description": "Internal Server Error",
  4476. "schema": {
  4477. "$ref": "#/definitions/app.Response"
  4478. }
  4479. }
  4480. }
  4481. }
  4482. },
  4483. "/Ermcp3/QueryPaAreaAuditCfg": {
  4484. "get": {
  4485. "security": [
  4486. {
  4487. "ApiKeyAuth": []
  4488. }
  4489. ],
  4490. "produces": [
  4491. "application/json"
  4492. ],
  4493. "tags": [
  4494. "企业风险管理v3(app)"
  4495. ],
  4496. "summary": "查询审核设置",
  4497. "parameters": [
  4498. {
  4499. "type": "integer",
  4500. "description": "用户id",
  4501. "name": "userid",
  4502. "in": "query",
  4503. "required": true
  4504. }
  4505. ],
  4506. "responses": {
  4507. "200": {
  4508. "description": "OK",
  4509. "schema": {
  4510. "type": "array",
  4511. "items": {
  4512. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4513. }
  4514. }
  4515. },
  4516. "500": {
  4517. "description": "Internal Server Error",
  4518. "schema": {
  4519. "$ref": "#/definitions/app.Response"
  4520. }
  4521. }
  4522. }
  4523. }
  4524. },
  4525. "/Ermcp3/QueryPaAreaSubject": {
  4526. "get": {
  4527. "security": [
  4528. {
  4529. "ApiKeyAuth": []
  4530. }
  4531. ],
  4532. "produces": [
  4533. "application/json"
  4534. ],
  4535. "tags": [
  4536. "企业风险管理v3(app)"
  4537. ],
  4538. "summary": "查询交易主体",
  4539. "parameters": [
  4540. {
  4541. "type": "integer",
  4542. "description": "用户id",
  4543. "name": "userid",
  4544. "in": "query",
  4545. "required": true
  4546. },
  4547. {
  4548. "type": "integer",
  4549. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4550. "name": "subjectid",
  4551. "in": "query"
  4552. },
  4553. {
  4554. "type": "integer",
  4555. "description": "主体类型 - 1:交易主体 2:业务部门",
  4556. "name": "subjecttype",
  4557. "in": "query"
  4558. },
  4559. {
  4560. "type": "integer",
  4561. "description": "主体状态 - 1:正常 2: 停用",
  4562. "name": "subjectstatus",
  4563. "in": "query"
  4564. }
  4565. ],
  4566. "responses": {
  4567. "200": {
  4568. "description": "OK",
  4569. "schema": {
  4570. "type": "array",
  4571. "items": {
  4572. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4573. }
  4574. }
  4575. },
  4576. "500": {
  4577. "description": "Internal Server Error",
  4578. "schema": {
  4579. "$ref": "#/definitions/app.Response"
  4580. }
  4581. }
  4582. }
  4583. }
  4584. },
  4585. "/Ermcp3/QueryRootUserAccount": {
  4586. "get": {
  4587. "security": [
  4588. {
  4589. "ApiKeyAuth": []
  4590. }
  4591. ],
  4592. "produces": [
  4593. "application/json"
  4594. ],
  4595. "tags": [
  4596. "企业风险管理v3(app)"
  4597. ],
  4598. "summary": "查询顶级用户信息",
  4599. "parameters": [
  4600. {
  4601. "type": "integer",
  4602. "description": "用户ID",
  4603. "name": "userid",
  4604. "in": "query",
  4605. "required": true
  4606. }
  4607. ],
  4608. "responses": {
  4609. "200": {
  4610. "description": "OK",
  4611. "schema": {
  4612. "type": "array",
  4613. "items": {
  4614. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4615. }
  4616. }
  4617. },
  4618. "500": {
  4619. "description": "Internal Server Error",
  4620. "schema": {
  4621. "$ref": "#/definitions/app.Response"
  4622. }
  4623. }
  4624. }
  4625. }
  4626. },
  4627. "/Ermcp3/QuerySpotContract": {
  4628. "get": {
  4629. "security": [
  4630. {
  4631. "ApiKeyAuth": []
  4632. }
  4633. ],
  4634. "produces": [
  4635. "application/json"
  4636. ],
  4637. "tags": [
  4638. "企业风险管理v3(app)"
  4639. ],
  4640. "summary": "查询现货合同",
  4641. "parameters": [
  4642. {
  4643. "type": "integer",
  4644. "description": "用户id",
  4645. "name": "userid",
  4646. "in": "query",
  4647. "required": true
  4648. },
  4649. {
  4650. "type": "integer",
  4651. "description": "用户类型 2-机构 7-企业成员",
  4652. "name": "usertype",
  4653. "in": "query"
  4654. },
  4655. {
  4656. "type": "integer",
  4657. "description": "合同类型 1-采购, -1-销售",
  4658. "name": "contracttype",
  4659. "in": "query"
  4660. },
  4661. {
  4662. "type": "integer",
  4663. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4664. "name": "querytype",
  4665. "in": "query",
  4666. "required": true
  4667. },
  4668. {
  4669. "type": "string",
  4670. "description": "合同ID(SpotContractId)",
  4671. "name": "contractid",
  4672. "in": "query"
  4673. }
  4674. ],
  4675. "responses": {
  4676. "200": {
  4677. "description": "OK",
  4678. "schema": {
  4679. "type": "array",
  4680. "items": {
  4681. "$ref": "#/definitions/models.Ermcp3Contract"
  4682. }
  4683. }
  4684. },
  4685. "500": {
  4686. "description": "Internal Server Error",
  4687. "schema": {
  4688. "$ref": "#/definitions/app.Response"
  4689. }
  4690. }
  4691. }
  4692. }
  4693. },
  4694. "/Ermcp3/QuerySpotContractBS": {
  4695. "get": {
  4696. "security": [
  4697. {
  4698. "ApiKeyAuth": []
  4699. }
  4700. ],
  4701. "produces": [
  4702. "application/json"
  4703. ],
  4704. "tags": [
  4705. "企业风险管理v3(app)"
  4706. ],
  4707. "summary": "查询合同(采购/销售)",
  4708. "parameters": [
  4709. {
  4710. "type": "integer",
  4711. "description": "用户id",
  4712. "name": "userid",
  4713. "in": "query",
  4714. "required": true
  4715. },
  4716. {
  4717. "type": "integer",
  4718. "description": "用户类型 2-机构 7-企业成员",
  4719. "name": "usertype",
  4720. "in": "query"
  4721. },
  4722. {
  4723. "type": "integer",
  4724. "description": "合同类型 1-采购, -1-销售",
  4725. "name": "contracttype",
  4726. "in": "query",
  4727. "required": true
  4728. },
  4729. {
  4730. "type": "integer",
  4731. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4732. "name": "querytype",
  4733. "in": "query",
  4734. "required": true
  4735. },
  4736. {
  4737. "type": "string",
  4738. "description": "合同ID(SpotContractId)",
  4739. "name": "contractid",
  4740. "in": "query"
  4741. }
  4742. ],
  4743. "responses": {
  4744. "200": {
  4745. "description": "OK",
  4746. "schema": {
  4747. "type": "array",
  4748. "items": {
  4749. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4750. }
  4751. }
  4752. },
  4753. "500": {
  4754. "description": "Internal Server Error",
  4755. "schema": {
  4756. "$ref": "#/definitions/app.Response"
  4757. }
  4758. }
  4759. }
  4760. }
  4761. },
  4762. "/Ermcp3/QuerySpotGoodsPrice": {
  4763. "get": {
  4764. "security": [
  4765. {
  4766. "ApiKeyAuth": []
  4767. }
  4768. ],
  4769. "produces": [
  4770. "application/json"
  4771. ],
  4772. "tags": [
  4773. "企业风险管理v3(app)"
  4774. ],
  4775. "summary": "查询现货市价(现货市价)",
  4776. "parameters": [
  4777. {
  4778. "type": "integer",
  4779. "description": "用户ID",
  4780. "name": "userid",
  4781. "in": "query",
  4782. "required": true
  4783. }
  4784. ],
  4785. "responses": {
  4786. "200": {
  4787. "description": "OK",
  4788. "schema": {
  4789. "type": "array",
  4790. "items": {
  4791. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4792. }
  4793. }
  4794. },
  4795. "500": {
  4796. "description": "Internal Server Error",
  4797. "schema": {
  4798. "$ref": "#/definitions/app.Response"
  4799. }
  4800. }
  4801. }
  4802. }
  4803. },
  4804. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4805. "get": {
  4806. "security": [
  4807. {
  4808. "ApiKeyAuth": []
  4809. }
  4810. ],
  4811. "produces": [
  4812. "application/json"
  4813. ],
  4814. "tags": [
  4815. "企业风险管理v3(app)"
  4816. ],
  4817. "summary": "查询现货市价详情(现货市价/详情)",
  4818. "parameters": [
  4819. {
  4820. "type": "integer",
  4821. "description": "用户ID",
  4822. "name": "userid",
  4823. "in": "query",
  4824. "required": true
  4825. },
  4826. {
  4827. "type": "integer",
  4828. "description": "现货商品ID",
  4829. "name": "deliverygoodsid",
  4830. "in": "query",
  4831. "required": true
  4832. },
  4833. {
  4834. "type": "integer",
  4835. "description": "品牌ID",
  4836. "name": "brandid",
  4837. "in": "query"
  4838. },
  4839. {
  4840. "type": "integer",
  4841. "description": "品类ID",
  4842. "name": "wrstandardid",
  4843. "in": "query"
  4844. }
  4845. ],
  4846. "responses": {
  4847. "200": {
  4848. "description": "OK",
  4849. "schema": {
  4850. "type": "array",
  4851. "items": {
  4852. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4853. }
  4854. }
  4855. },
  4856. "500": {
  4857. "description": "Internal Server Error",
  4858. "schema": {
  4859. "$ref": "#/definitions/app.Response"
  4860. }
  4861. }
  4862. }
  4863. }
  4864. },
  4865. "/Erms2/QueryArbitrageStrategy": {
  4866. "get": {
  4867. "security": [
  4868. {
  4869. "ApiKeyAuth": []
  4870. }
  4871. ],
  4872. "produces": [
  4873. "application/json"
  4874. ],
  4875. "tags": [
  4876. "风险管理"
  4877. ],
  4878. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4879. "parameters": [
  4880. {
  4881. "type": "integer",
  4882. "description": "账户ID",
  4883. "name": "userid",
  4884. "in": "query",
  4885. "required": true
  4886. },
  4887. {
  4888. "type": "string",
  4889. "description": "商品组ID(品种ID)",
  4890. "name": "goodsgroupid",
  4891. "in": "query"
  4892. }
  4893. ],
  4894. "responses": {
  4895. "200": {
  4896. "description": "OK",
  4897. "schema": {
  4898. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4899. }
  4900. },
  4901. "500": {
  4902. "description": "Internal Server Error",
  4903. "schema": {
  4904. "$ref": "#/definitions/app.Response"
  4905. }
  4906. }
  4907. }
  4908. }
  4909. },
  4910. "/Erms2/QueryInnerTradeDetail": {
  4911. "get": {
  4912. "security": [
  4913. {
  4914. "ApiKeyAuth": []
  4915. }
  4916. ],
  4917. "produces": [
  4918. "application/json"
  4919. ],
  4920. "tags": [
  4921. "风险管理"
  4922. ],
  4923. "summary": "查询内部成交单信息",
  4924. "parameters": [
  4925. {
  4926. "type": "integer",
  4927. "description": "资金账户",
  4928. "name": "accountid",
  4929. "in": "query",
  4930. "required": true
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4938. }
  4939. },
  4940. "500": {
  4941. "description": "Internal Server Error",
  4942. "schema": {
  4943. "$ref": "#/definitions/app.Response"
  4944. }
  4945. }
  4946. }
  4947. }
  4948. },
  4949. "/Erms2/QuerySpotContract": {
  4950. "get": {
  4951. "security": [
  4952. {
  4953. "ApiKeyAuth": []
  4954. }
  4955. ],
  4956. "produces": [
  4957. "application/json"
  4958. ],
  4959. "tags": [
  4960. "风险管理"
  4961. ],
  4962. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4963. "parameters": [
  4964. {
  4965. "type": "integer",
  4966. "description": "策略申请ID",
  4967. "name": "asapplyid",
  4968. "in": "query",
  4969. "required": true
  4970. },
  4971. {
  4972. "type": "integer",
  4973. "description": "现货合同ID",
  4974. "name": "spotcontractid",
  4975. "in": "query"
  4976. }
  4977. ],
  4978. "responses": {
  4979. "200": {
  4980. "description": "OK",
  4981. "schema": {
  4982. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4983. }
  4984. },
  4985. "500": {
  4986. "description": "Internal Server Error",
  4987. "schema": {
  4988. "$ref": "#/definitions/app.Response"
  4989. }
  4990. }
  4991. }
  4992. }
  4993. },
  4994. "/Erms3/AddErms2ASApply": {
  4995. "post": {
  4996. "security": [
  4997. {
  4998. "ApiKeyAuth": []
  4999. }
  5000. ],
  5001. "produces": [
  5002. "application/json"
  5003. ],
  5004. "tags": [
  5005. "风险管理v3"
  5006. ],
  5007. "summary": "新增期现套利业务申请",
  5008. "parameters": [
  5009. {
  5010. "description": "申请参数",
  5011. "name": "jsonBody",
  5012. "in": "body",
  5013. "required": true,
  5014. "schema": {
  5015. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5016. }
  5017. }
  5018. ],
  5019. "responses": {
  5020. "200": {
  5021. "description": "OK",
  5022. "schema": {
  5023. "$ref": "#/definitions/app.Response"
  5024. }
  5025. },
  5026. "500": {
  5027. "description": "Internal Server Error",
  5028. "schema": {
  5029. "$ref": "#/definitions/app.Response"
  5030. }
  5031. }
  5032. }
  5033. }
  5034. },
  5035. "/Erms3/AddErms2SpotTradeApply": {
  5036. "post": {
  5037. "security": [
  5038. {
  5039. "ApiKeyAuth": []
  5040. }
  5041. ],
  5042. "produces": [
  5043. "application/json"
  5044. ],
  5045. "tags": [
  5046. "风险管理v3"
  5047. ],
  5048. "summary": "新增现货贸易业务申请",
  5049. "parameters": [
  5050. {
  5051. "description": "申请参数",
  5052. "name": "jsonBody",
  5053. "in": "body",
  5054. "required": true,
  5055. "schema": {
  5056. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5057. }
  5058. }
  5059. ],
  5060. "responses": {
  5061. "200": {
  5062. "description": "OK",
  5063. "schema": {
  5064. "$ref": "#/definitions/app.Response"
  5065. }
  5066. },
  5067. "500": {
  5068. "description": "Internal Server Error",
  5069. "schema": {
  5070. "$ref": "#/definitions/app.Response"
  5071. }
  5072. }
  5073. }
  5074. }
  5075. },
  5076. "/Erms3/AddSpotContractApply": {
  5077. "post": {
  5078. "security": [
  5079. {
  5080. "ApiKeyAuth": []
  5081. }
  5082. ],
  5083. "produces": [
  5084. "application/json"
  5085. ],
  5086. "tags": [
  5087. "风险管理v3"
  5088. ],
  5089. "summary": "新增现货合同申请",
  5090. "parameters": [
  5091. {
  5092. "description": "申请参数",
  5093. "name": "jsonBody",
  5094. "in": "body",
  5095. "required": true,
  5096. "schema": {
  5097. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5098. }
  5099. }
  5100. ],
  5101. "responses": {
  5102. "200": {
  5103. "description": "OK",
  5104. "schema": {
  5105. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5106. }
  5107. },
  5108. "500": {
  5109. "description": "Internal Server Error",
  5110. "schema": {
  5111. "$ref": "#/definitions/app.Response"
  5112. }
  5113. }
  5114. }
  5115. }
  5116. },
  5117. "/Erms3/AddUserInfoApply": {
  5118. "post": {
  5119. "security": [
  5120. {
  5121. "ApiKeyAuth": []
  5122. }
  5123. ],
  5124. "produces": [
  5125. "application/json"
  5126. ],
  5127. "tags": [
  5128. "风险管理v3"
  5129. ],
  5130. "summary": "新增客户申请",
  5131. "parameters": [
  5132. {
  5133. "description": "用户信息",
  5134. "name": "jsonBody",
  5135. "in": "body",
  5136. "required": true,
  5137. "schema": {
  5138. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5139. }
  5140. }
  5141. ],
  5142. "responses": {
  5143. "200": {
  5144. "description": "OK",
  5145. "schema": {
  5146. "$ref": "#/definitions/app.Response"
  5147. }
  5148. },
  5149. "500": {
  5150. "description": "Internal Server Error",
  5151. "schema": {
  5152. "$ref": "#/definitions/app.Response"
  5153. }
  5154. }
  5155. }
  5156. }
  5157. },
  5158. "/Erms3/DeleteUserInfoApply": {
  5159. "get": {
  5160. "security": [
  5161. {
  5162. "ApiKeyAuth": []
  5163. }
  5164. ],
  5165. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5166. "produces": [
  5167. "application/json"
  5168. ],
  5169. "tags": [
  5170. "风险管理v3"
  5171. ],
  5172. "summary": "删除客户申请",
  5173. "parameters": [
  5174. {
  5175. "type": "integer",
  5176. "description": "用户ID",
  5177. "name": "userID",
  5178. "in": "query",
  5179. "required": true
  5180. }
  5181. ],
  5182. "responses": {
  5183. "200": {
  5184. "description": "OK",
  5185. "schema": {
  5186. "$ref": "#/definitions/app.Response"
  5187. }
  5188. },
  5189. "500": {
  5190. "description": "Internal Server Error",
  5191. "schema": {
  5192. "$ref": "#/definitions/app.Response"
  5193. }
  5194. }
  5195. }
  5196. }
  5197. },
  5198. "/Erms3/ModifyUserInfoApply": {
  5199. "post": {
  5200. "security": [
  5201. {
  5202. "ApiKeyAuth": []
  5203. }
  5204. ],
  5205. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5206. "produces": [
  5207. "application/json"
  5208. ],
  5209. "tags": [
  5210. "风险管理v3"
  5211. ],
  5212. "summary": "修改客户申请",
  5213. "parameters": [
  5214. {
  5215. "description": "用户信息",
  5216. "name": "jsonBody",
  5217. "in": "body",
  5218. "required": true,
  5219. "schema": {
  5220. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5221. }
  5222. }
  5223. ],
  5224. "responses": {
  5225. "200": {
  5226. "description": "OK",
  5227. "schema": {
  5228. "$ref": "#/definitions/app.Response"
  5229. }
  5230. },
  5231. "500": {
  5232. "description": "Internal Server Error",
  5233. "schema": {
  5234. "$ref": "#/definitions/app.Response"
  5235. }
  5236. }
  5237. }
  5238. }
  5239. },
  5240. "/Erms3/QueryBusinessInfo": {
  5241. "get": {
  5242. "security": [
  5243. {
  5244. "ApiKeyAuth": []
  5245. }
  5246. ],
  5247. "produces": [
  5248. "application/json"
  5249. ],
  5250. "tags": [
  5251. "风险管理v3"
  5252. ],
  5253. "summary": "查询业务表单数据",
  5254. "parameters": [
  5255. {
  5256. "type": "string",
  5257. "description": "资金账号ID列表,用逗号分隔",
  5258. "name": "accountids",
  5259. "in": "query",
  5260. "required": true
  5261. },
  5262. {
  5263. "type": "integer",
  5264. "description": "状态,0为未结束 1为已结束",
  5265. "name": "status",
  5266. "in": "query",
  5267. "required": true
  5268. }
  5269. ],
  5270. "responses": {
  5271. "200": {
  5272. "description": "OK",
  5273. "schema": {
  5274. "type": "array",
  5275. "items": {
  5276. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5277. }
  5278. }
  5279. },
  5280. "500": {
  5281. "description": "Internal Server Error",
  5282. "schema": {
  5283. "$ref": "#/definitions/app.Response"
  5284. }
  5285. }
  5286. }
  5287. }
  5288. },
  5289. "/Erms3/QueryPendingAuditContract": {
  5290. "get": {
  5291. "security": [
  5292. {
  5293. "ApiKeyAuth": []
  5294. }
  5295. ],
  5296. "produces": [
  5297. "application/json"
  5298. ],
  5299. "tags": [
  5300. "风险管理v3"
  5301. ],
  5302. "summary": "查询待审核合同",
  5303. "parameters": [
  5304. {
  5305. "type": "string",
  5306. "description": "资金账号ID列表,逗号隔开",
  5307. "name": "accountids",
  5308. "in": "query",
  5309. "required": true
  5310. },
  5311. {
  5312. "type": "integer",
  5313. "description": "合同类型 1-采购 -1-销售",
  5314. "name": "contracttype",
  5315. "in": "query",
  5316. "required": true
  5317. },
  5318. {
  5319. "type": "integer",
  5320. "description": "合同模式 1-普通 2-回购",
  5321. "name": "contractmode",
  5322. "in": "query",
  5323. "required": true
  5324. }
  5325. ],
  5326. "responses": {
  5327. "200": {
  5328. "description": "OK",
  5329. "schema": {
  5330. "type": "array",
  5331. "items": {
  5332. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5333. }
  5334. }
  5335. },
  5336. "500": {
  5337. "description": "Internal Server Error",
  5338. "schema": {
  5339. "$ref": "#/definitions/app.Response"
  5340. }
  5341. }
  5342. }
  5343. }
  5344. },
  5345. "/Erms3/QueryPendingBusiness": {
  5346. "get": {
  5347. "security": [
  5348. {
  5349. "ApiKeyAuth": []
  5350. }
  5351. ],
  5352. "produces": [
  5353. "application/json"
  5354. ],
  5355. "tags": [
  5356. "风险管理v3"
  5357. ],
  5358. "summary": "查询待审核基差贸易业务",
  5359. "parameters": [
  5360. {
  5361. "type": "string",
  5362. "description": "资金账号ID列表,逗号隔开",
  5363. "name": "accountids",
  5364. "in": "query",
  5365. "required": true
  5366. }
  5367. ],
  5368. "responses": {
  5369. "200": {
  5370. "description": "OK",
  5371. "schema": {
  5372. "type": "array",
  5373. "items": {
  5374. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5375. }
  5376. }
  5377. },
  5378. "500": {
  5379. "description": "Internal Server Error",
  5380. "schema": {
  5381. "$ref": "#/definitions/app.Response"
  5382. }
  5383. }
  5384. }
  5385. }
  5386. },
  5387. "/Erms3/QuerySpotContractAppleForm": {
  5388. "get": {
  5389. "security": [
  5390. {
  5391. "ApiKeyAuth": []
  5392. }
  5393. ],
  5394. "produces": [
  5395. "application/json"
  5396. ],
  5397. "tags": [
  5398. "风险管理v3"
  5399. ],
  5400. "summary": "查询合同申请表单数据",
  5401. "parameters": [
  5402. {
  5403. "type": "integer",
  5404. "description": "登录账号",
  5405. "name": "loginID",
  5406. "in": "query",
  5407. "required": true
  5408. }
  5409. ],
  5410. "responses": {
  5411. "200": {
  5412. "description": "OK",
  5413. "schema": {
  5414. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5415. }
  5416. },
  5417. "500": {
  5418. "description": "Internal Server Error",
  5419. "schema": {
  5420. "$ref": "#/definitions/app.Response"
  5421. }
  5422. }
  5423. }
  5424. }
  5425. },
  5426. "/Erms3/QuerySpotContractDetail": {
  5427. "get": {
  5428. "security": [
  5429. {
  5430. "ApiKeyAuth": []
  5431. }
  5432. ],
  5433. "produces": [
  5434. "application/json"
  5435. ],
  5436. "tags": [
  5437. "风险管理v3"
  5438. ],
  5439. "summary": "查询合同详细信息",
  5440. "parameters": [
  5441. {
  5442. "type": "string",
  5443. "description": "资金账号ID列表,用逗号分隔",
  5444. "name": "accountids",
  5445. "in": "query",
  5446. "required": true
  5447. },
  5448. {
  5449. "type": "integer",
  5450. "description": "合同类型,1为采购合同 -1为销售合同",
  5451. "name": "contracttype",
  5452. "in": "query",
  5453. "required": true
  5454. },
  5455. {
  5456. "type": "integer",
  5457. "description": "合同模式,1为普通合同 2为回购销售合同",
  5458. "name": "contractmode",
  5459. "in": "query",
  5460. "required": true
  5461. },
  5462. {
  5463. "type": "integer",
  5464. "description": "状态,0为履约中 1为已完成",
  5465. "name": "status",
  5466. "in": "query",
  5467. "required": true
  5468. }
  5469. ],
  5470. "responses": {
  5471. "200": {
  5472. "description": "OK",
  5473. "schema": {
  5474. "type": "array",
  5475. "items": {
  5476. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5477. }
  5478. }
  5479. },
  5480. "500": {
  5481. "description": "Internal Server Error",
  5482. "schema": {
  5483. "$ref": "#/definitions/app.Response"
  5484. }
  5485. }
  5486. }
  5487. }
  5488. },
  5489. "/Erms3/QueryUserInfoApplies": {
  5490. "get": {
  5491. "security": [
  5492. {
  5493. "ApiKeyAuth": []
  5494. }
  5495. ],
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "风险管理v3"
  5501. ],
  5502. "summary": "客户申请信息查询",
  5503. "parameters": [
  5504. {
  5505. "type": "integer",
  5506. "description": "页码",
  5507. "name": "page",
  5508. "in": "query"
  5509. },
  5510. {
  5511. "type": "integer",
  5512. "description": "每页条数",
  5513. "name": "pagesize",
  5514. "in": "query"
  5515. },
  5516. {
  5517. "type": "string",
  5518. "description": "客户名称,支持模糊查询",
  5519. "name": "userName",
  5520. "in": "query"
  5521. }
  5522. ],
  5523. "responses": {
  5524. "200": {
  5525. "description": "OK",
  5526. "schema": {
  5527. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5528. }
  5529. },
  5530. "500": {
  5531. "description": "Internal Server Error",
  5532. "schema": {
  5533. "$ref": "#/definitions/app.Response"
  5534. }
  5535. }
  5536. }
  5537. }
  5538. },
  5539. "/Erms3/QueryUserInfos": {
  5540. "get": {
  5541. "security": [
  5542. {
  5543. "ApiKeyAuth": []
  5544. }
  5545. ],
  5546. "produces": [
  5547. "application/json"
  5548. ],
  5549. "tags": [
  5550. "风险管理v3"
  5551. ],
  5552. "summary": "客户信息查询",
  5553. "parameters": [
  5554. {
  5555. "type": "integer",
  5556. "description": "页码",
  5557. "name": "page",
  5558. "in": "query"
  5559. },
  5560. {
  5561. "type": "integer",
  5562. "description": "每页条数",
  5563. "name": "pagesize",
  5564. "in": "query"
  5565. },
  5566. {
  5567. "type": "string",
  5568. "description": "客户名称,支持模糊查询",
  5569. "name": "userName",
  5570. "in": "query"
  5571. }
  5572. ],
  5573. "responses": {
  5574. "200": {
  5575. "description": "OK",
  5576. "schema": {
  5577. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5578. }
  5579. },
  5580. "500": {
  5581. "description": "Internal Server Error",
  5582. "schema": {
  5583. "$ref": "#/definitions/app.Response"
  5584. }
  5585. }
  5586. }
  5587. }
  5588. },
  5589. "/HSBY/GetHsbyMyCount": {
  5590. "get": {
  5591. "security": [
  5592. {
  5593. "ApiKeyAuth": []
  5594. }
  5595. ],
  5596. "description": "说明: 不包括已完成的数量。",
  5597. "produces": [
  5598. "application/json"
  5599. ],
  5600. "tags": [
  5601. "定制【海商报业】"
  5602. ],
  5603. "summary": "获取我的订单与包裹数量",
  5604. "parameters": [
  5605. {
  5606. "type": "string",
  5607. "description": "资金账户列表,格式:1,2,3",
  5608. "name": "accountIDs",
  5609. "in": "query",
  5610. "required": true
  5611. }
  5612. ],
  5613. "responses": {
  5614. "200": {
  5615. "description": "OK",
  5616. "schema": {
  5617. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5618. }
  5619. },
  5620. "500": {
  5621. "description": "Internal Server Error",
  5622. "schema": {
  5623. "$ref": "#/definitions/app.Response"
  5624. }
  5625. }
  5626. }
  5627. }
  5628. },
  5629. "/HSBY/QueryClientFixedADConfigs": {
  5630. "get": {
  5631. "security": [
  5632. {
  5633. "ApiKeyAuth": []
  5634. }
  5635. ],
  5636. "produces": [
  5637. "application/json"
  5638. ],
  5639. "tags": [
  5640. "定制【海商报业】"
  5641. ],
  5642. "summary": "获取终端固定广告配置",
  5643. "responses": {
  5644. "200": {
  5645. "description": "OK",
  5646. "schema": {
  5647. "$ref": "#/definitions/models.Clientfixedadconfig"
  5648. }
  5649. },
  5650. "500": {
  5651. "description": "Internal Server Error",
  5652. "schema": {
  5653. "$ref": "#/definitions/app.Response"
  5654. }
  5655. }
  5656. }
  5657. }
  5658. },
  5659. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5660. "get": {
  5661. "security": [
  5662. {
  5663. "ApiKeyAuth": []
  5664. }
  5665. ],
  5666. "produces": [
  5667. "application/json"
  5668. ],
  5669. "tags": [
  5670. "定制【海商报业】"
  5671. ],
  5672. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5673. "parameters": [
  5674. {
  5675. "type": "integer",
  5676. "description": "页码",
  5677. "name": "page",
  5678. "in": "query"
  5679. },
  5680. {
  5681. "type": "integer",
  5682. "description": "每页条数",
  5683. "name": "pagesize",
  5684. "in": "query"
  5685. },
  5686. {
  5687. "type": "string",
  5688. "description": "资金账户列表,格式:1,2,3",
  5689. "name": "accountIDs",
  5690. "in": "query",
  5691. "required": true
  5692. }
  5693. ],
  5694. "responses": {
  5695. "200": {
  5696. "description": "OK",
  5697. "schema": {
  5698. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5699. }
  5700. },
  5701. "500": {
  5702. "description": "Internal Server Error",
  5703. "schema": {
  5704. "$ref": "#/definitions/app.Response"
  5705. }
  5706. }
  5707. }
  5708. }
  5709. },
  5710. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5711. "get": {
  5712. "security": [
  5713. {
  5714. "ApiKeyAuth": []
  5715. }
  5716. ],
  5717. "description": "说明:查询结果已按委托价格和委托时间排序",
  5718. "produces": [
  5719. "application/json"
  5720. ],
  5721. "tags": [
  5722. "定制【海商报业】"
  5723. ],
  5724. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5725. "parameters": [
  5726. {
  5727. "type": "integer",
  5728. "description": "商品ID",
  5729. "name": "goodsID",
  5730. "in": "query",
  5731. "required": true
  5732. },
  5733. {
  5734. "type": "string",
  5735. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5736. "name": "accountIDs",
  5737. "in": "query"
  5738. },
  5739. {
  5740. "type": "integer",
  5741. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5742. "name": "buyOrSell",
  5743. "in": "query"
  5744. },
  5745. {
  5746. "type": "number",
  5747. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5748. "name": "price",
  5749. "in": "query"
  5750. },
  5751. {
  5752. "type": "integer",
  5753. "description": "档位,不传则默认为3档",
  5754. "name": "speed",
  5755. "in": "query"
  5756. }
  5757. ],
  5758. "responses": {
  5759. "200": {
  5760. "description": "OK",
  5761. "schema": {
  5762. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5763. }
  5764. },
  5765. "500": {
  5766. "description": "Internal Server Error",
  5767. "schema": {
  5768. "$ref": "#/definitions/app.Response"
  5769. }
  5770. }
  5771. }
  5772. }
  5773. },
  5774. "/HSBY/QueryHsbyListingGoodsDetail": {
  5775. "get": {
  5776. "security": [
  5777. {
  5778. "ApiKeyAuth": []
  5779. }
  5780. ],
  5781. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5782. "produces": [
  5783. "application/json"
  5784. ],
  5785. "tags": [
  5786. "定制【海商报业】"
  5787. ],
  5788. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5789. "parameters": [
  5790. {
  5791. "type": "integer",
  5792. "description": "商品ID",
  5793. "name": "goodsID",
  5794. "in": "query",
  5795. "required": true
  5796. },
  5797. {
  5798. "type": "integer",
  5799. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5800. "name": "accountID",
  5801. "in": "query"
  5802. }
  5803. ],
  5804. "responses": {
  5805. "200": {
  5806. "description": "OK",
  5807. "schema": {
  5808. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5809. }
  5810. },
  5811. "500": {
  5812. "description": "Internal Server Error",
  5813. "schema": {
  5814. "$ref": "#/definitions/app.Response"
  5815. }
  5816. }
  5817. }
  5818. }
  5819. },
  5820. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5821. "get": {
  5822. "security": [
  5823. {
  5824. "ApiKeyAuth": []
  5825. }
  5826. ],
  5827. "produces": [
  5828. "application/json"
  5829. ],
  5830. "tags": [
  5831. "定制【海商报业】"
  5832. ],
  5833. "summary": "查询三级市场(商城)商品信息详情",
  5834. "parameters": [
  5835. {
  5836. "type": "integer",
  5837. "description": "委托单号",
  5838. "name": "orderID",
  5839. "in": "query",
  5840. "required": true
  5841. },
  5842. {
  5843. "type": "integer",
  5844. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5845. "name": "accountID",
  5846. "in": "query"
  5847. }
  5848. ],
  5849. "responses": {
  5850. "200": {
  5851. "description": "OK",
  5852. "schema": {
  5853. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5854. }
  5855. },
  5856. "500": {
  5857. "description": "Internal Server Error",
  5858. "schema": {
  5859. "$ref": "#/definitions/app.Response"
  5860. }
  5861. }
  5862. }
  5863. }
  5864. },
  5865. "/HSBY/QueryHsbyMarketGoodses": {
  5866. "get": {
  5867. "security": [
  5868. {
  5869. "ApiKeyAuth": []
  5870. }
  5871. ],
  5872. "produces": [
  5873. "application/json"
  5874. ],
  5875. "tags": [
  5876. "定制【海商报业】"
  5877. ],
  5878. "summary": "查询特卖商品列表(三级商城)",
  5879. "parameters": [
  5880. {
  5881. "type": "integer",
  5882. "description": "页码",
  5883. "name": "page",
  5884. "in": "query"
  5885. },
  5886. {
  5887. "type": "integer",
  5888. "description": "每页条数",
  5889. "name": "pagesize",
  5890. "in": "query"
  5891. },
  5892. {
  5893. "type": "string",
  5894. "description": "市场ID列表,格式:1,2,3",
  5895. "name": "marketIDs",
  5896. "in": "query",
  5897. "required": true
  5898. },
  5899. {
  5900. "type": "integer",
  5901. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5902. "name": "accountID",
  5903. "in": "query",
  5904. "required": true
  5905. },
  5906. {
  5907. "type": "integer",
  5908. "description": "类别ID",
  5909. "name": "categoryID",
  5910. "in": "query"
  5911. },
  5912. {
  5913. "type": "string",
  5914. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5915. "name": "goodsIDs",
  5916. "in": "query"
  5917. },
  5918. {
  5919. "type": "integer",
  5920. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5921. "name": "couponTypeID",
  5922. "in": "query"
  5923. }
  5924. ],
  5925. "responses": {
  5926. "200": {
  5927. "description": "OK",
  5928. "schema": {
  5929. "$ref": "#/definitions/models.HsbyMarketGoods"
  5930. }
  5931. },
  5932. "500": {
  5933. "description": "Internal Server Error",
  5934. "schema": {
  5935. "$ref": "#/definitions/app.Response"
  5936. }
  5937. }
  5938. }
  5939. }
  5940. },
  5941. "/HSBY/QueryHsbyMarkets": {
  5942. "get": {
  5943. "security": [
  5944. {
  5945. "ApiKeyAuth": []
  5946. }
  5947. ],
  5948. "produces": [
  5949. "application/json"
  5950. ],
  5951. "tags": [
  5952. "定制【海商报业】"
  5953. ],
  5954. "summary": "查询海商报业相关市场信息",
  5955. "responses": {
  5956. "200": {
  5957. "description": "OK",
  5958. "schema": {
  5959. "$ref": "#/definitions/models.HsbyMarketInfo"
  5960. }
  5961. },
  5962. "500": {
  5963. "description": "Internal Server Error",
  5964. "schema": {
  5965. "$ref": "#/definitions/app.Response"
  5966. }
  5967. }
  5968. }
  5969. }
  5970. },
  5971. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5972. "get": {
  5973. "security": [
  5974. {
  5975. "ApiKeyAuth": []
  5976. }
  5977. ],
  5978. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5979. "produces": [
  5980. "application/json"
  5981. ],
  5982. "tags": [
  5983. "定制【海商报业】"
  5984. ],
  5985. "summary": "查询“我的订单”信息",
  5986. "parameters": [
  5987. {
  5988. "type": "string",
  5989. "description": "资金账户列表,格式:1,2,3",
  5990. "name": "accountIDs",
  5991. "in": "query",
  5992. "required": true
  5993. }
  5994. ],
  5995. "responses": {
  5996. "200": {
  5997. "description": "OK",
  5998. "schema": {
  5999. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6000. }
  6001. },
  6002. "500": {
  6003. "description": "Internal Server Error",
  6004. "schema": {
  6005. "$ref": "#/definitions/app.Response"
  6006. }
  6007. }
  6008. }
  6009. }
  6010. },
  6011. "/HSBY/QueryHsbyMyGoods": {
  6012. "get": {
  6013. "security": [
  6014. {
  6015. "ApiKeyAuth": []
  6016. }
  6017. ],
  6018. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6019. "produces": [
  6020. "application/json"
  6021. ],
  6022. "tags": [
  6023. "定制【海商报业】"
  6024. ],
  6025. "summary": "查询“我的商品”信息",
  6026. "parameters": [
  6027. {
  6028. "type": "string",
  6029. "description": "资金账户列表,格式:1,2,3",
  6030. "name": "accountIDs",
  6031. "in": "query",
  6032. "required": true
  6033. }
  6034. ],
  6035. "responses": {
  6036. "200": {
  6037. "description": "OK",
  6038. "schema": {
  6039. "$ref": "#/definitions/models.HsbyMyGoods"
  6040. }
  6041. },
  6042. "500": {
  6043. "description": "Internal Server Error",
  6044. "schema": {
  6045. "$ref": "#/definitions/app.Response"
  6046. }
  6047. }
  6048. }
  6049. }
  6050. },
  6051. "/HSBY/QueryHsbyMyPackages": {
  6052. "get": {
  6053. "security": [
  6054. {
  6055. "ApiKeyAuth": []
  6056. }
  6057. ],
  6058. "produces": [
  6059. "application/json"
  6060. ],
  6061. "tags": [
  6062. "定制【海商报业】"
  6063. ],
  6064. "summary": "查询我的包裹信息",
  6065. "parameters": [
  6066. {
  6067. "type": "string",
  6068. "description": "资金账户列表,格式:1,2,3",
  6069. "name": "accountIDs",
  6070. "in": "query",
  6071. "required": true
  6072. },
  6073. {
  6074. "type": "integer",
  6075. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6076. "name": "takeOrderStatus",
  6077. "in": "query"
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "$ref": "#/definitions/models.HsbyMyPackage"
  6085. }
  6086. },
  6087. "500": {
  6088. "description": "Internal Server Error",
  6089. "schema": {
  6090. "$ref": "#/definitions/app.Response"
  6091. }
  6092. }
  6093. }
  6094. }
  6095. },
  6096. "/HSBY/QueryHsbyPreGoodsDetail": {
  6097. "get": {
  6098. "security": [
  6099. {
  6100. "ApiKeyAuth": []
  6101. }
  6102. ],
  6103. "produces": [
  6104. "application/json"
  6105. ],
  6106. "tags": [
  6107. "定制【海商报业】"
  6108. ],
  6109. "summary": "查询一级市场(预售)商品信息详情",
  6110. "parameters": [
  6111. {
  6112. "type": "integer",
  6113. "description": "商品ID",
  6114. "name": "goodsID",
  6115. "in": "query",
  6116. "required": true
  6117. },
  6118. {
  6119. "type": "integer",
  6120. "description": "资金账户,主要用于获取预售商品购买上限",
  6121. "name": "accountID",
  6122. "in": "query"
  6123. }
  6124. ],
  6125. "responses": {
  6126. "200": {
  6127. "description": "OK",
  6128. "schema": {
  6129. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6130. }
  6131. },
  6132. "500": {
  6133. "description": "Internal Server Error",
  6134. "schema": {
  6135. "$ref": "#/definitions/app.Response"
  6136. }
  6137. }
  6138. }
  6139. }
  6140. },
  6141. "/HSBY/QueryHsbyPreGoodses": {
  6142. "get": {
  6143. "security": [
  6144. {
  6145. "ApiKeyAuth": []
  6146. }
  6147. ],
  6148. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6149. "produces": [
  6150. "application/json"
  6151. ],
  6152. "tags": [
  6153. "定制【海商报业】"
  6154. ],
  6155. "summary": "查询新品上市商品列表(一级市场预售)",
  6156. "parameters": [
  6157. {
  6158. "type": "integer",
  6159. "description": "页码",
  6160. "name": "page",
  6161. "in": "query"
  6162. },
  6163. {
  6164. "type": "integer",
  6165. "description": "每页条数",
  6166. "name": "pagesize",
  6167. "in": "query"
  6168. },
  6169. {
  6170. "type": "string",
  6171. "description": "市场ID列表,格式:1,2,3",
  6172. "name": "marketIDs",
  6173. "in": "query",
  6174. "required": true
  6175. },
  6176. {
  6177. "type": "integer",
  6178. "description": "目的地(省)ID",
  6179. "name": "descProvinceID",
  6180. "in": "query"
  6181. },
  6182. {
  6183. "type": "integer",
  6184. "description": "目的地(市)ID",
  6185. "name": "descCityID",
  6186. "in": "query"
  6187. }
  6188. ],
  6189. "responses": {
  6190. "200": {
  6191. "description": "OK",
  6192. "schema": {
  6193. "$ref": "#/definitions/models.HsbyPreGoods"
  6194. }
  6195. },
  6196. "500": {
  6197. "description": "Internal Server Error",
  6198. "schema": {
  6199. "$ref": "#/definitions/app.Response"
  6200. }
  6201. }
  6202. }
  6203. }
  6204. },
  6205. "/HSBY/QueryHsbySellMyDetails": {
  6206. "get": {
  6207. "security": [
  6208. {
  6209. "ApiKeyAuth": []
  6210. }
  6211. ],
  6212. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6213. "produces": [
  6214. "application/json"
  6215. ],
  6216. "tags": [
  6217. "定制【海商报业】"
  6218. ],
  6219. "summary": "查询\"我的闲置\"单据信息",
  6220. "parameters": [
  6221. {
  6222. "type": "integer",
  6223. "description": "页码",
  6224. "name": "page",
  6225. "in": "query"
  6226. },
  6227. {
  6228. "type": "integer",
  6229. "description": "每页条数",
  6230. "name": "pagesize",
  6231. "in": "query"
  6232. },
  6233. {
  6234. "type": "string",
  6235. "description": "资金账户列表,格式:1,2,3",
  6236. "name": "accountIDs",
  6237. "in": "query",
  6238. "required": true
  6239. },
  6240. {
  6241. "type": "integer",
  6242. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6243. "name": "orderType",
  6244. "in": "query"
  6245. }
  6246. ],
  6247. "responses": {
  6248. "200": {
  6249. "description": "OK",
  6250. "schema": {
  6251. "$ref": "#/definitions/models.HsbySellMyDetail"
  6252. }
  6253. },
  6254. "500": {
  6255. "description": "Internal Server Error",
  6256. "schema": {
  6257. "$ref": "#/definitions/app.Response"
  6258. }
  6259. }
  6260. }
  6261. }
  6262. },
  6263. "/HSBY/QueryHsbyTopGoodses": {
  6264. "get": {
  6265. "security": [
  6266. {
  6267. "ApiKeyAuth": []
  6268. }
  6269. ],
  6270. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6271. "produces": [
  6272. "application/json"
  6273. ],
  6274. "tags": [
  6275. "定制【海商报业】"
  6276. ],
  6277. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6278. "parameters": [
  6279. {
  6280. "type": "integer",
  6281. "description": "页码",
  6282. "name": "page",
  6283. "in": "query"
  6284. },
  6285. {
  6286. "type": "integer",
  6287. "description": "每页条数",
  6288. "name": "pagesize",
  6289. "in": "query"
  6290. },
  6291. {
  6292. "type": "string",
  6293. "description": "市场ID列表,格式:1,2,3",
  6294. "name": "marketIDs",
  6295. "in": "query",
  6296. "required": true
  6297. },
  6298. {
  6299. "type": "integer",
  6300. "description": "目的地(省)ID",
  6301. "name": "descProvinceID",
  6302. "in": "query"
  6303. },
  6304. {
  6305. "type": "integer",
  6306. "description": "目的地(市)ID",
  6307. "name": "descCityID",
  6308. "in": "query"
  6309. }
  6310. ],
  6311. "responses": {
  6312. "200": {
  6313. "description": "OK",
  6314. "schema": {
  6315. "$ref": "#/definitions/models.HsbyTopGoods"
  6316. }
  6317. },
  6318. "500": {
  6319. "description": "Internal Server Error",
  6320. "schema": {
  6321. "$ref": "#/definitions/app.Response"
  6322. }
  6323. }
  6324. }
  6325. }
  6326. },
  6327. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6328. "get": {
  6329. "security": [
  6330. {
  6331. "ApiKeyAuth": []
  6332. }
  6333. ],
  6334. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6335. "produces": [
  6336. "application/json"
  6337. ],
  6338. "tags": [
  6339. "定制【海商报业】"
  6340. ],
  6341. "summary": "查询游客三级市场(商城)商品信息详情",
  6342. "parameters": [
  6343. {
  6344. "type": "integer",
  6345. "description": "商品ID",
  6346. "name": "goodsID",
  6347. "in": "query",
  6348. "required": true
  6349. }
  6350. ],
  6351. "responses": {
  6352. "200": {
  6353. "description": "OK",
  6354. "schema": {
  6355. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6356. }
  6357. },
  6358. "500": {
  6359. "description": "Internal Server Error",
  6360. "schema": {
  6361. "$ref": "#/definitions/app.Response"
  6362. }
  6363. }
  6364. }
  6365. }
  6366. },
  6367. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6368. "get": {
  6369. "security": [
  6370. {
  6371. "ApiKeyAuth": []
  6372. }
  6373. ],
  6374. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6375. "produces": [
  6376. "application/json"
  6377. ],
  6378. "tags": [
  6379. "定制【海商报业】"
  6380. ],
  6381. "summary": "查询游客特卖商品列表(三级商城)",
  6382. "parameters": [
  6383. {
  6384. "type": "integer",
  6385. "description": "页码",
  6386. "name": "page",
  6387. "in": "query"
  6388. },
  6389. {
  6390. "type": "integer",
  6391. "description": "每页条数",
  6392. "name": "pagesize",
  6393. "in": "query"
  6394. },
  6395. {
  6396. "type": "string",
  6397. "description": "市场ID列表,格式:1,2,3",
  6398. "name": "marketIDs",
  6399. "in": "query",
  6400. "required": true
  6401. },
  6402. {
  6403. "type": "integer",
  6404. "description": "类别ID",
  6405. "name": "categoryID",
  6406. "in": "query"
  6407. },
  6408. {
  6409. "type": "string",
  6410. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6411. "name": "goodsIDs",
  6412. "in": "query"
  6413. }
  6414. ],
  6415. "responses": {
  6416. "200": {
  6417. "description": "OK",
  6418. "schema": {
  6419. "$ref": "#/definitions/models.HsbyMarketGoods"
  6420. }
  6421. },
  6422. "500": {
  6423. "description": "Internal Server Error",
  6424. "schema": {
  6425. "$ref": "#/definitions/app.Response"
  6426. }
  6427. }
  6428. }
  6429. }
  6430. },
  6431. "/HSBY/QueryMyCollectionOrders": {
  6432. "get": {
  6433. "security": [
  6434. {
  6435. "ApiKeyAuth": []
  6436. }
  6437. ],
  6438. "produces": [
  6439. "application/json"
  6440. ],
  6441. "tags": [
  6442. "定制【海商报业】"
  6443. ],
  6444. "summary": "我的闲置中收款信息查询",
  6445. "parameters": [
  6446. {
  6447. "type": "integer",
  6448. "description": "页码",
  6449. "name": "page",
  6450. "in": "query"
  6451. },
  6452. {
  6453. "type": "integer",
  6454. "description": "每页条数",
  6455. "name": "pagesize",
  6456. "in": "query"
  6457. },
  6458. {
  6459. "type": "string",
  6460. "description": "资金账户,格式:1,2,3",
  6461. "name": "accountIDs",
  6462. "in": "query",
  6463. "required": true
  6464. }
  6465. ],
  6466. "responses": {
  6467. "200": {
  6468. "description": "OK",
  6469. "schema": {
  6470. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6471. }
  6472. },
  6473. "500": {
  6474. "description": "Internal Server Error",
  6475. "schema": {
  6476. "$ref": "#/definitions/app.Response"
  6477. }
  6478. }
  6479. }
  6480. }
  6481. },
  6482. "/HSBY/QueryMyCouponHolds": {
  6483. "get": {
  6484. "security": [
  6485. {
  6486. "ApiKeyAuth": []
  6487. }
  6488. ],
  6489. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6490. "produces": [
  6491. "application/json"
  6492. ],
  6493. "tags": [
  6494. "定制【海商报业】"
  6495. ],
  6496. "summary": "我的优惠卷持仓查询",
  6497. "parameters": [
  6498. {
  6499. "type": "string",
  6500. "description": "资金账户列表,格式:1,2,3",
  6501. "name": "accountIDs",
  6502. "in": "query",
  6503. "required": true
  6504. },
  6505. {
  6506. "type": "string",
  6507. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6508. "name": "holdStatus",
  6509. "in": "query"
  6510. }
  6511. ],
  6512. "responses": {
  6513. "200": {
  6514. "description": "OK",
  6515. "schema": {
  6516. "$ref": "#/definitions/models.MyCouponHold"
  6517. }
  6518. },
  6519. "500": {
  6520. "description": "Internal Server Error",
  6521. "schema": {
  6522. "$ref": "#/definitions/app.Response"
  6523. }
  6524. }
  6525. }
  6526. }
  6527. },
  6528. "/HSBY/QueryMyCoupons": {
  6529. "get": {
  6530. "security": [
  6531. {
  6532. "ApiKeyAuth": []
  6533. }
  6534. ],
  6535. "produces": [
  6536. "application/json"
  6537. ],
  6538. "tags": [
  6539. "定制【海商报业】"
  6540. ],
  6541. "summary": "我的优惠卷查询",
  6542. "parameters": [
  6543. {
  6544. "type": "string",
  6545. "description": "资金账户列表,格式:1,2,3",
  6546. "name": "accountIDs",
  6547. "in": "query",
  6548. "required": true
  6549. },
  6550. {
  6551. "type": "integer",
  6552. "description": "商品ID, 一般与sellUserID配套传入",
  6553. "name": "goodsID",
  6554. "in": "query"
  6555. },
  6556. {
  6557. "type": "integer",
  6558. "description": "卖方UserID",
  6559. "name": "sellUserID",
  6560. "in": "query"
  6561. }
  6562. ],
  6563. "responses": {
  6564. "200": {
  6565. "description": "OK",
  6566. "schema": {
  6567. "$ref": "#/definitions/models.MyCoupon"
  6568. }
  6569. },
  6570. "500": {
  6571. "description": "Internal Server Error",
  6572. "schema": {
  6573. "$ref": "#/definitions/app.Response"
  6574. }
  6575. }
  6576. }
  6577. }
  6578. },
  6579. "/HSBY/QueryMyPayOrders": {
  6580. "get": {
  6581. "security": [
  6582. {
  6583. "ApiKeyAuth": []
  6584. }
  6585. ],
  6586. "produces": [
  6587. "application/json"
  6588. ],
  6589. "tags": [
  6590. "定制【海商报业】"
  6591. ],
  6592. "summary": "获取我的订单中待付款信息",
  6593. "parameters": [
  6594. {
  6595. "type": "integer",
  6596. "description": "页码",
  6597. "name": "page",
  6598. "in": "query"
  6599. },
  6600. {
  6601. "type": "integer",
  6602. "description": "每页条数",
  6603. "name": "pagesize",
  6604. "in": "query"
  6605. },
  6606. {
  6607. "type": "string",
  6608. "description": "资金账户列表,格式:1,2,3",
  6609. "name": "accountIDs",
  6610. "in": "query",
  6611. "required": true
  6612. },
  6613. {
  6614. "type": "integer",
  6615. "description": "买方委托单号",
  6616. "name": "buyOrderID",
  6617. "in": "query"
  6618. },
  6619. {
  6620. "type": "integer",
  6621. "description": "卖方委托单号",
  6622. "name": "sellOrderID",
  6623. "in": "query"
  6624. }
  6625. ],
  6626. "responses": {
  6627. "200": {
  6628. "description": "OK",
  6629. "schema": {
  6630. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6631. }
  6632. },
  6633. "500": {
  6634. "description": "Internal Server Error",
  6635. "schema": {
  6636. "$ref": "#/definitions/app.Response"
  6637. }
  6638. }
  6639. }
  6640. }
  6641. },
  6642. "/HSBY/QueryMyUsedCoupon": {
  6643. "get": {
  6644. "security": [
  6645. {
  6646. "ApiKeyAuth": []
  6647. }
  6648. ],
  6649. "produces": [
  6650. "application/json"
  6651. ],
  6652. "tags": [
  6653. "定制【海商报业】"
  6654. ],
  6655. "summary": "已使用优惠卷查询",
  6656. "parameters": [
  6657. {
  6658. "type": "string",
  6659. "description": "资金账户列表,格式:1,2,3",
  6660. "name": "accountIDs",
  6661. "in": "query",
  6662. "required": true
  6663. }
  6664. ],
  6665. "responses": {
  6666. "200": {
  6667. "description": "OK",
  6668. "schema": {
  6669. "$ref": "#/definitions/models.MyUsedCoupon"
  6670. }
  6671. },
  6672. "500": {
  6673. "description": "Internal Server Error",
  6674. "schema": {
  6675. "$ref": "#/definitions/app.Response"
  6676. }
  6677. }
  6678. }
  6679. }
  6680. },
  6681. "/HSBY/QueryProvincesAndCities": {
  6682. "get": {
  6683. "security": [
  6684. {
  6685. "ApiKeyAuth": []
  6686. }
  6687. ],
  6688. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6689. "produces": [
  6690. "application/json"
  6691. ],
  6692. "tags": [
  6693. "定制【海商报业】"
  6694. ],
  6695. "summary": "查询省市信息(不包括区)",
  6696. "parameters": [
  6697. {
  6698. "type": "integer",
  6699. "description": "省ID",
  6700. "name": "provinceID",
  6701. "in": "query"
  6702. }
  6703. ],
  6704. "responses": {
  6705. "200": {
  6706. "description": "OK",
  6707. "schema": {
  6708. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6709. }
  6710. },
  6711. "500": {
  6712. "description": "Internal Server Error",
  6713. "schema": {
  6714. "$ref": "#/definitions/app.Response"
  6715. }
  6716. }
  6717. }
  6718. }
  6719. },
  6720. "/HSBY/SetHsbyMyPackagesStatus": {
  6721. "post": {
  6722. "security": [
  6723. {
  6724. "ApiKeyAuth": []
  6725. }
  6726. ],
  6727. "produces": [
  6728. "application/json"
  6729. ],
  6730. "tags": [
  6731. "定制【海商报业】"
  6732. ],
  6733. "summary": "设置我的包裹已收货状态",
  6734. "parameters": [
  6735. {
  6736. "type": "string",
  6737. "description": "提货单号",
  6738. "name": "takeOrderID",
  6739. "in": "query",
  6740. "required": true
  6741. },
  6742. {
  6743. "type": "integer",
  6744. "description": "资金账号",
  6745. "name": "accountID",
  6746. "in": "query",
  6747. "required": true
  6748. }
  6749. ],
  6750. "responses": {
  6751. "200": {
  6752. "description": "OK",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. },
  6757. "500": {
  6758. "description": "Internal Server Error",
  6759. "schema": {
  6760. "$ref": "#/definitions/app.Response"
  6761. }
  6762. }
  6763. }
  6764. }
  6765. },
  6766. "/Market/GetAllExExchanges": {
  6767. "get": {
  6768. "security": [
  6769. {
  6770. "ApiKeyAuth": []
  6771. }
  6772. ],
  6773. "produces": [
  6774. "application/json"
  6775. ],
  6776. "tags": [
  6777. "通用市场"
  6778. ],
  6779. "summary": "获取所有外部交易所信息",
  6780. "responses": {
  6781. "200": {
  6782. "description": "OK",
  6783. "schema": {
  6784. "$ref": "#/definitions/models.Goods"
  6785. }
  6786. },
  6787. "500": {
  6788. "description": "Internal Server Error",
  6789. "schema": {
  6790. "$ref": "#/definitions/app.Response"
  6791. }
  6792. }
  6793. }
  6794. }
  6795. },
  6796. "/Market/QueryGoodsesByLoginID": {
  6797. "get": {
  6798. "security": [
  6799. {
  6800. "ApiKeyAuth": []
  6801. }
  6802. ],
  6803. "produces": [
  6804. "application/json"
  6805. ],
  6806. "tags": [
  6807. "通用市场"
  6808. ],
  6809. "summary": "获取登录账号有权限的商品信息",
  6810. "parameters": [
  6811. {
  6812. "type": "integer",
  6813. "description": "登录账号",
  6814. "name": "loginID",
  6815. "in": "query",
  6816. "required": true
  6817. },
  6818. {
  6819. "type": "string",
  6820. "description": "市场ID列表,格式:1,2,3",
  6821. "name": "marketIDs",
  6822. "in": "query"
  6823. }
  6824. ],
  6825. "responses": {
  6826. "200": {
  6827. "description": "OK",
  6828. "schema": {
  6829. "$ref": "#/definitions/models.Goods"
  6830. }
  6831. },
  6832. "500": {
  6833. "description": "Internal Server Error",
  6834. "schema": {
  6835. "$ref": "#/definitions/app.Response"
  6836. }
  6837. }
  6838. }
  6839. }
  6840. },
  6841. "/Market/QueryMarketRun": {
  6842. "get": {
  6843. "security": [
  6844. {
  6845. "ApiKeyAuth": []
  6846. }
  6847. ],
  6848. "produces": [
  6849. "application/json"
  6850. ],
  6851. "tags": [
  6852. "通用市场"
  6853. ],
  6854. "summary": "查询市场运行信息",
  6855. "parameters": [
  6856. {
  6857. "type": "integer",
  6858. "description": "市场ID,不传返回所有",
  6859. "name": "marketID",
  6860. "in": "query"
  6861. }
  6862. ],
  6863. "responses": {
  6864. "200": {
  6865. "description": "OK",
  6866. "schema": {
  6867. "$ref": "#/definitions/models.Marketrun"
  6868. }
  6869. },
  6870. "500": {
  6871. "description": "Internal Server Error",
  6872. "schema": {
  6873. "$ref": "#/definitions/app.Response"
  6874. }
  6875. }
  6876. }
  6877. }
  6878. },
  6879. "/Market/QueryMarketsByLoginID": {
  6880. "get": {
  6881. "security": [
  6882. {
  6883. "ApiKeyAuth": []
  6884. }
  6885. ],
  6886. "produces": [
  6887. "application/json"
  6888. ],
  6889. "tags": [
  6890. "通用市场"
  6891. ],
  6892. "summary": "获取登录账号有权限的市场信息",
  6893. "parameters": [
  6894. {
  6895. "type": "integer",
  6896. "description": "登录账号",
  6897. "name": "loginID",
  6898. "in": "query",
  6899. "required": true
  6900. }
  6901. ],
  6902. "responses": {
  6903. "200": {
  6904. "description": "OK",
  6905. "schema": {
  6906. "$ref": "#/definitions/models.Market"
  6907. }
  6908. },
  6909. "500": {
  6910. "description": "Internal Server Error",
  6911. "schema": {
  6912. "$ref": "#/definitions/app.Response"
  6913. }
  6914. }
  6915. }
  6916. }
  6917. },
  6918. "/Order/QueryHisTradeDetail": {
  6919. "get": {
  6920. "security": [
  6921. {
  6922. "ApiKeyAuth": []
  6923. }
  6924. ],
  6925. "produces": [
  6926. "application/json"
  6927. ],
  6928. "tags": [
  6929. "通用单据"
  6930. ],
  6931. "summary": "历史成交单查询(合约市场)",
  6932. "parameters": [
  6933. {
  6934. "type": "string",
  6935. "description": "资金账户 - 格式:1,2,3",
  6936. "name": "accountID",
  6937. "in": "query",
  6938. "required": true
  6939. },
  6940. {
  6941. "type": "integer",
  6942. "description": "成交单号",
  6943. "name": "tradeID",
  6944. "in": "query"
  6945. },
  6946. {
  6947. "type": "integer",
  6948. "description": "委托单号",
  6949. "name": "orderID",
  6950. "in": "query"
  6951. },
  6952. {
  6953. "type": "integer",
  6954. "description": "商品ID",
  6955. "name": "goodsID",
  6956. "in": "query"
  6957. },
  6958. {
  6959. "type": "string",
  6960. "description": "交易模式 - 格式:1,2,3",
  6961. "name": "tradeMode",
  6962. "in": "query"
  6963. },
  6964. {
  6965. "type": "integer",
  6966. "description": "委托单据类型",
  6967. "name": "buildType",
  6968. "in": "query"
  6969. },
  6970. {
  6971. "type": "string",
  6972. "description": "成交类别 - 格式:1,2,3",
  6973. "name": "tradeType",
  6974. "in": "query"
  6975. },
  6976. {
  6977. "type": "string",
  6978. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6979. "name": "startDate",
  6980. "in": "query"
  6981. },
  6982. {
  6983. "type": "string",
  6984. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6985. "name": "endDate",
  6986. "in": "query"
  6987. }
  6988. ],
  6989. "responses": {
  6990. "200": {
  6991. "description": "OK",
  6992. "schema": {
  6993. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6994. }
  6995. },
  6996. "500": {
  6997. "description": "Internal Server Error",
  6998. "schema": {
  6999. "$ref": "#/definitions/app.Response"
  7000. }
  7001. }
  7002. }
  7003. }
  7004. },
  7005. "/Order/QueryHisTradeOrderDetail": {
  7006. "get": {
  7007. "security": [
  7008. {
  7009. "ApiKeyAuth": []
  7010. }
  7011. ],
  7012. "produces": [
  7013. "application/json"
  7014. ],
  7015. "tags": [
  7016. "通用单据"
  7017. ],
  7018. "summary": "历史委托单查询请求(合约市场)",
  7019. "parameters": [
  7020. {
  7021. "type": "string",
  7022. "description": "资金账户 - 格式:1,2,3",
  7023. "name": "accountID",
  7024. "in": "query",
  7025. "required": true
  7026. },
  7027. {
  7028. "type": "string",
  7029. "description": "交易模式 - 格式:1,2,3",
  7030. "name": "tradeMode",
  7031. "in": "query"
  7032. },
  7033. {
  7034. "type": "string",
  7035. "description": "委托状态 - 格式:1,2,3",
  7036. "name": "orderStatus",
  7037. "in": "query"
  7038. },
  7039. {
  7040. "type": "integer",
  7041. "description": "委托单号",
  7042. "name": "orderID",
  7043. "in": "query"
  7044. },
  7045. {
  7046. "type": "string",
  7047. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7048. "name": "startDate",
  7049. "in": "query"
  7050. },
  7051. {
  7052. "type": "string",
  7053. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7054. "name": "endDate",
  7055. "in": "query"
  7056. }
  7057. ],
  7058. "responses": {
  7059. "200": {
  7060. "description": "OK",
  7061. "schema": {
  7062. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7063. }
  7064. },
  7065. "500": {
  7066. "description": "Internal Server Error",
  7067. "schema": {
  7068. "$ref": "#/definitions/app.Response"
  7069. }
  7070. }
  7071. }
  7072. }
  7073. },
  7074. "/Order/QueryTradeDetail": {
  7075. "get": {
  7076. "security": [
  7077. {
  7078. "ApiKeyAuth": []
  7079. }
  7080. ],
  7081. "produces": [
  7082. "application/json"
  7083. ],
  7084. "tags": [
  7085. "通用单据"
  7086. ],
  7087. "summary": "成交单查询(合约市场)",
  7088. "parameters": [
  7089. {
  7090. "type": "string",
  7091. "description": "资金账户 - 格式:1,2,3",
  7092. "name": "accountID",
  7093. "in": "query",
  7094. "required": true
  7095. },
  7096. {
  7097. "type": "integer",
  7098. "description": "成交单号",
  7099. "name": "tradeID",
  7100. "in": "query"
  7101. },
  7102. {
  7103. "type": "integer",
  7104. "description": "委托单号",
  7105. "name": "orderID",
  7106. "in": "query"
  7107. },
  7108. {
  7109. "type": "string",
  7110. "description": "交易模式 - 格式:1,2,3",
  7111. "name": "tradeMode",
  7112. "in": "query"
  7113. },
  7114. {
  7115. "type": "integer",
  7116. "description": "委托单据类型",
  7117. "name": "buildType",
  7118. "in": "query"
  7119. },
  7120. {
  7121. "type": "string",
  7122. "description": "成交类别 - 格式:1,2,3",
  7123. "name": "tradeType",
  7124. "in": "query"
  7125. },
  7126. {
  7127. "type": "integer",
  7128. "description": "商品ID",
  7129. "name": "goodsID",
  7130. "in": "query"
  7131. }
  7132. ],
  7133. "responses": {
  7134. "200": {
  7135. "description": "OK",
  7136. "schema": {
  7137. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7138. }
  7139. },
  7140. "500": {
  7141. "description": "Internal Server Error",
  7142. "schema": {
  7143. "$ref": "#/definitions/app.Response"
  7144. }
  7145. }
  7146. }
  7147. }
  7148. },
  7149. "/Order/QueryTradeHolderDetail": {
  7150. "get": {
  7151. "security": [
  7152. {
  7153. "ApiKeyAuth": []
  7154. }
  7155. ],
  7156. "produces": [
  7157. "application/json"
  7158. ],
  7159. "tags": [
  7160. "通用单据"
  7161. ],
  7162. "summary": "查询持仓明细",
  7163. "parameters": [
  7164. {
  7165. "type": "integer",
  7166. "description": "用户id",
  7167. "name": "userid",
  7168. "in": "query"
  7169. },
  7170. {
  7171. "type": "string",
  7172. "description": "资金账号, 格式 1,2,3",
  7173. "name": "accids",
  7174. "in": "query"
  7175. },
  7176. {
  7177. "type": "string",
  7178. "description": "交易模式, 格式 1,2,3",
  7179. "name": "trademodes",
  7180. "in": "query"
  7181. },
  7182. {
  7183. "type": "string",
  7184. "description": "市场id, 格式 1,2,3",
  7185. "name": "marketids",
  7186. "in": "query"
  7187. },
  7188. {
  7189. "type": "integer",
  7190. "description": "商品id",
  7191. "name": "goodsid",
  7192. "in": "query"
  7193. },
  7194. {
  7195. "type": "integer",
  7196. "description": "买卖方向 0-买 1-卖",
  7197. "name": "buyorsell",
  7198. "in": "query"
  7199. }
  7200. ],
  7201. "responses": {
  7202. "200": {
  7203. "description": "OK",
  7204. "schema": {
  7205. "type": "array",
  7206. "items": {
  7207. "$ref": "#/definitions/models.TradeHolderDetail"
  7208. }
  7209. }
  7210. },
  7211. "500": {
  7212. "description": "Internal Server Error",
  7213. "schema": {
  7214. "$ref": "#/definitions/app.Response"
  7215. }
  7216. }
  7217. }
  7218. }
  7219. },
  7220. "/Order/QueryTradeOrderDetail": {
  7221. "get": {
  7222. "security": [
  7223. {
  7224. "ApiKeyAuth": []
  7225. }
  7226. ],
  7227. "produces": [
  7228. "application/json"
  7229. ],
  7230. "tags": [
  7231. "通用单据"
  7232. ],
  7233. "summary": "委托单查询请求(合约市场)",
  7234. "parameters": [
  7235. {
  7236. "type": "string",
  7237. "description": "资金账户 - 格式:1,2,3",
  7238. "name": "accountID",
  7239. "in": "query",
  7240. "required": true
  7241. },
  7242. {
  7243. "type": "string",
  7244. "description": "交易模式 - 格式:1,2,3",
  7245. "name": "tradeMode",
  7246. "in": "query"
  7247. },
  7248. {
  7249. "type": "string",
  7250. "description": "委托状态 - 格式:1,2,3",
  7251. "name": "orderStatus",
  7252. "in": "query"
  7253. },
  7254. {
  7255. "type": "integer",
  7256. "description": "委托单号",
  7257. "name": "orderID",
  7258. "in": "query"
  7259. }
  7260. ],
  7261. "responses": {
  7262. "200": {
  7263. "description": "OK",
  7264. "schema": {
  7265. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7266. }
  7267. },
  7268. "500": {
  7269. "description": "Internal Server Error",
  7270. "schema": {
  7271. "$ref": "#/definitions/app.Response"
  7272. }
  7273. }
  7274. }
  7275. }
  7276. },
  7277. "/Order/QueryTradePosition": {
  7278. "get": {
  7279. "security": [
  7280. {
  7281. "ApiKeyAuth": []
  7282. }
  7283. ],
  7284. "produces": [
  7285. "application/json"
  7286. ],
  7287. "tags": [
  7288. "通用单据"
  7289. ],
  7290. "summary": "持仓汇总查询(合约市场)",
  7291. "parameters": [
  7292. {
  7293. "type": "string",
  7294. "description": "资金账户 - 格式:1,2,3",
  7295. "name": "accountID",
  7296. "in": "query",
  7297. "required": true
  7298. },
  7299. {
  7300. "type": "string",
  7301. "description": "交易模式 - 格式:1,2,3",
  7302. "name": "tradeMode",
  7303. "in": "query"
  7304. }
  7305. ],
  7306. "responses": {
  7307. "200": {
  7308. "description": "OK",
  7309. "schema": {
  7310. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7311. }
  7312. },
  7313. "500": {
  7314. "description": "Internal Server Error",
  7315. "schema": {
  7316. "$ref": "#/definitions/app.Response"
  7317. }
  7318. }
  7319. }
  7320. }
  7321. },
  7322. "/Qhj/QueryAccountInOutApply": {
  7323. "get": {
  7324. "security": [
  7325. {
  7326. "ApiKeyAuth": []
  7327. }
  7328. ],
  7329. "produces": [
  7330. "application/json"
  7331. ],
  7332. "tags": [
  7333. "大连千海金"
  7334. ],
  7335. "summary": "查询充值提现",
  7336. "parameters": [
  7337. {
  7338. "type": "integer",
  7339. "description": "用户ID",
  7340. "name": "userid",
  7341. "in": "query",
  7342. "required": true
  7343. },
  7344. {
  7345. "type": "string",
  7346. "description": "申请起始日期(格式yyyymmdd)",
  7347. "name": "begindate",
  7348. "in": "query"
  7349. },
  7350. {
  7351. "type": "string",
  7352. "description": "申请截止日期(格式yyyymmdd)",
  7353. "name": "enddate",
  7354. "in": "query"
  7355. },
  7356. {
  7357. "type": "string",
  7358. "description": "模糊搜索名称",
  7359. "name": "likename",
  7360. "in": "query"
  7361. }
  7362. ],
  7363. "responses": {
  7364. "200": {
  7365. "description": "OK",
  7366. "schema": {
  7367. "type": "array",
  7368. "items": {
  7369. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7370. }
  7371. }
  7372. },
  7373. "500": {
  7374. "description": "Internal Server Error",
  7375. "schema": {
  7376. "$ref": "#/definitions/app.Response"
  7377. }
  7378. }
  7379. }
  7380. }
  7381. },
  7382. "/Qhj/QueryAreaFinanceConfig": {
  7383. "get": {
  7384. "security": [
  7385. {
  7386. "ApiKeyAuth": []
  7387. }
  7388. ],
  7389. "produces": [
  7390. "application/json"
  7391. ],
  7392. "tags": [
  7393. "大连千海金"
  7394. ],
  7395. "summary": "查询企业配置表",
  7396. "parameters": [
  7397. {
  7398. "type": "integer",
  7399. "description": "机构用户ID 其他做市关系,都设置为 1",
  7400. "name": "userid",
  7401. "in": "query"
  7402. }
  7403. ],
  7404. "responses": {
  7405. "200": {
  7406. "description": "OK",
  7407. "schema": {
  7408. "type": "array",
  7409. "items": {
  7410. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7411. }
  7412. }
  7413. },
  7414. "500": {
  7415. "description": "Internal Server Error",
  7416. "schema": {
  7417. "$ref": "#/definitions/app.Response"
  7418. }
  7419. }
  7420. }
  7421. }
  7422. },
  7423. "/Qhj/QueryBankAccountSign": {
  7424. "get": {
  7425. "security": [
  7426. {
  7427. "ApiKeyAuth": []
  7428. }
  7429. ],
  7430. "produces": [
  7431. "application/json"
  7432. ],
  7433. "tags": [
  7434. "大连千海金"
  7435. ],
  7436. "summary": "查询签约银行信息(提现账户管理)",
  7437. "parameters": [
  7438. {
  7439. "type": "integer",
  7440. "description": "用户ID",
  7441. "name": "userid",
  7442. "in": "query",
  7443. "required": true
  7444. }
  7445. ],
  7446. "responses": {
  7447. "200": {
  7448. "description": "OK",
  7449. "schema": {
  7450. "type": "array",
  7451. "items": {
  7452. "$ref": "#/definitions/models.QhjBankAccountSign"
  7453. }
  7454. }
  7455. },
  7456. "500": {
  7457. "description": "Internal Server Error",
  7458. "schema": {
  7459. "$ref": "#/definitions/app.Response"
  7460. }
  7461. }
  7462. }
  7463. }
  7464. },
  7465. "/Qhj/QueryBankInfo": {
  7466. "get": {
  7467. "security": [
  7468. {
  7469. "ApiKeyAuth": []
  7470. }
  7471. ],
  7472. "produces": [
  7473. "application/json"
  7474. ],
  7475. "tags": [
  7476. "大连千海金"
  7477. ],
  7478. "summary": "查询开户行",
  7479. "responses": {
  7480. "200": {
  7481. "description": "OK",
  7482. "schema": {
  7483. "type": "array",
  7484. "items": {
  7485. "$ref": "#/definitions/models.QhjBankInfo"
  7486. }
  7487. }
  7488. },
  7489. "500": {
  7490. "description": "Internal Server Error",
  7491. "schema": {
  7492. "$ref": "#/definitions/app.Response"
  7493. }
  7494. }
  7495. }
  7496. }
  7497. },
  7498. "/Qhj/QueryBrokerApply": {
  7499. "get": {
  7500. "security": [
  7501. {
  7502. "ApiKeyAuth": []
  7503. }
  7504. ],
  7505. "produces": [
  7506. "application/json"
  7507. ],
  7508. "tags": [
  7509. "大连千海金"
  7510. ],
  7511. "summary": "查询经纪人申请",
  7512. "parameters": [
  7513. {
  7514. "type": "integer",
  7515. "description": "所属机构ID",
  7516. "name": "userid",
  7517. "in": "query"
  7518. },
  7519. {
  7520. "type": "string",
  7521. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7522. "name": "filterstatus",
  7523. "in": "query"
  7524. }
  7525. ],
  7526. "responses": {
  7527. "200": {
  7528. "description": "OK",
  7529. "schema": {
  7530. "type": "array",
  7531. "items": {
  7532. "$ref": "#/definitions/models.QhjBrokerApply"
  7533. }
  7534. }
  7535. },
  7536. "500": {
  7537. "description": "Internal Server Error",
  7538. "schema": {
  7539. "$ref": "#/definitions/app.Response"
  7540. }
  7541. }
  7542. }
  7543. }
  7544. },
  7545. "/Qhj/QueryBrokerApplyEx": {
  7546. "get": {
  7547. "security": [
  7548. {
  7549. "ApiKeyAuth": []
  7550. }
  7551. ],
  7552. "produces": [
  7553. "application/json"
  7554. ],
  7555. "tags": [
  7556. "大连千海金"
  7557. ],
  7558. "summary": "查询经纪人信息和申请记录",
  7559. "parameters": [
  7560. {
  7561. "type": "integer",
  7562. "description": "所属机构ID",
  7563. "name": "userid",
  7564. "in": "query"
  7565. }
  7566. ],
  7567. "responses": {
  7568. "200": {
  7569. "description": "OK",
  7570. "schema": {
  7571. "type": "array",
  7572. "items": {
  7573. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7574. }
  7575. }
  7576. },
  7577. "500": {
  7578. "description": "Internal Server Error",
  7579. "schema": {
  7580. "$ref": "#/definitions/app.Response"
  7581. }
  7582. }
  7583. }
  7584. }
  7585. },
  7586. "/Qhj/QueryBrokerRewardLog": {
  7587. "get": {
  7588. "security": [
  7589. {
  7590. "ApiKeyAuth": []
  7591. }
  7592. ],
  7593. "produces": [
  7594. "application/json"
  7595. ],
  7596. "tags": [
  7597. "大连千海金"
  7598. ],
  7599. "summary": "查询奖励流水(我的奖励)",
  7600. "parameters": [
  7601. {
  7602. "type": "integer",
  7603. "description": "用户ID",
  7604. "name": "userid",
  7605. "in": "query",
  7606. "required": true
  7607. },
  7608. {
  7609. "type": "string",
  7610. "description": "开始交易日(yyyymmdd)",
  7611. "name": "begindate",
  7612. "in": "query"
  7613. },
  7614. {
  7615. "type": "string",
  7616. "description": "结束交易日(yyyymmdd)",
  7617. "name": "enddate",
  7618. "in": "query"
  7619. }
  7620. ],
  7621. "responses": {
  7622. "200": {
  7623. "description": "OK",
  7624. "schema": {
  7625. "type": "array",
  7626. "items": {
  7627. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7628. }
  7629. }
  7630. },
  7631. "500": {
  7632. "description": "Internal Server Error",
  7633. "schema": {
  7634. "$ref": "#/definitions/app.Response"
  7635. }
  7636. }
  7637. }
  7638. }
  7639. },
  7640. "/Qhj/QueryContract": {
  7641. "get": {
  7642. "security": [
  7643. {
  7644. "ApiKeyAuth": []
  7645. }
  7646. ],
  7647. "produces": [
  7648. "application/json"
  7649. ],
  7650. "tags": [
  7651. "大连千海金"
  7652. ],
  7653. "summary": "查询融资明细(合同)",
  7654. "parameters": [
  7655. {
  7656. "type": "integer",
  7657. "description": "用户ID",
  7658. "name": "userid",
  7659. "in": "query"
  7660. },
  7661. {
  7662. "type": "integer",
  7663. "description": "scf合同id",
  7664. "name": "scfcontractid",
  7665. "in": "query"
  7666. }
  7667. ],
  7668. "responses": {
  7669. "200": {
  7670. "description": "OK",
  7671. "schema": {
  7672. "type": "array",
  7673. "items": {
  7674. "$ref": "#/definitions/models.QhjContract"
  7675. }
  7676. }
  7677. },
  7678. "500": {
  7679. "description": "Internal Server Error",
  7680. "schema": {
  7681. "$ref": "#/definitions/app.Response"
  7682. }
  7683. }
  7684. }
  7685. }
  7686. },
  7687. "/Qhj/QueryContractLog": {
  7688. "get": {
  7689. "security": [
  7690. {
  7691. "ApiKeyAuth": []
  7692. }
  7693. ],
  7694. "produces": [
  7695. "application/json"
  7696. ],
  7697. "tags": [
  7698. "大连千海金"
  7699. ],
  7700. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7701. "parameters": [
  7702. {
  7703. "type": "integer",
  7704. "description": "scf合同id",
  7705. "name": "scfcontractid",
  7706. "in": "query",
  7707. "required": true
  7708. },
  7709. {
  7710. "type": "string",
  7711. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7712. "name": "amounttype",
  7713. "in": "query"
  7714. }
  7715. ],
  7716. "responses": {
  7717. "200": {
  7718. "description": "OK",
  7719. "schema": {
  7720. "type": "array",
  7721. "items": {
  7722. "$ref": "#/definitions/models.QhjContractLog"
  7723. }
  7724. }
  7725. },
  7726. "500": {
  7727. "description": "Internal Server Error",
  7728. "schema": {
  7729. "$ref": "#/definitions/app.Response"
  7730. }
  7731. }
  7732. }
  7733. }
  7734. },
  7735. "/Qhj/QueryCusBankSignBank": {
  7736. "get": {
  7737. "security": [
  7738. {
  7739. "ApiKeyAuth": []
  7740. }
  7741. ],
  7742. "produces": [
  7743. "application/json"
  7744. ],
  7745. "tags": [
  7746. "大连千海金"
  7747. ],
  7748. "summary": "查询托管银行",
  7749. "responses": {
  7750. "200": {
  7751. "description": "OK",
  7752. "schema": {
  7753. "type": "array",
  7754. "items": {
  7755. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7756. }
  7757. }
  7758. },
  7759. "500": {
  7760. "description": "Internal Server Error",
  7761. "schema": {
  7762. "$ref": "#/definitions/app.Response"
  7763. }
  7764. }
  7765. }
  7766. }
  7767. },
  7768. "/Qhj/QueryCustomerInfo": {
  7769. "get": {
  7770. "security": [
  7771. {
  7772. "ApiKeyAuth": []
  7773. }
  7774. ],
  7775. "produces": [
  7776. "application/json"
  7777. ],
  7778. "tags": [
  7779. "大连千海金"
  7780. ],
  7781. "summary": "查询客户资料",
  7782. "parameters": [
  7783. {
  7784. "type": "integer",
  7785. "description": "用户ID",
  7786. "name": "userid",
  7787. "in": "query",
  7788. "required": true
  7789. },
  7790. {
  7791. "type": "integer",
  7792. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7793. "name": "querytype",
  7794. "in": "query",
  7795. "required": true
  7796. },
  7797. {
  7798. "type": "integer",
  7799. "description": "客户类型 1-个人 2-企业",
  7800. "name": "userinfotype",
  7801. "in": "query"
  7802. },
  7803. {
  7804. "type": "string",
  7805. "description": "客户名称(模糊匹配)",
  7806. "name": "customername",
  7807. "in": "query"
  7808. },
  7809. {
  7810. "type": "string",
  7811. "description": "昵称(模糊匹配)",
  7812. "name": "nickname",
  7813. "in": "query"
  7814. },
  7815. {
  7816. "type": "integer",
  7817. "description": "是否包含子级 1-包含",
  7818. "name": "includesub",
  7819. "in": "query"
  7820. }
  7821. ],
  7822. "responses": {
  7823. "200": {
  7824. "description": "OK",
  7825. "schema": {
  7826. "type": "array",
  7827. "items": {
  7828. "$ref": "#/definitions/models.QhjCustomer"
  7829. }
  7830. }
  7831. },
  7832. "500": {
  7833. "description": "Internal Server Error",
  7834. "schema": {
  7835. "$ref": "#/definitions/app.Response"
  7836. }
  7837. }
  7838. }
  7839. }
  7840. },
  7841. "/Qhj/QueryGoodsEx": {
  7842. "get": {
  7843. "security": [
  7844. {
  7845. "ApiKeyAuth": []
  7846. }
  7847. ],
  7848. "produces": [
  7849. "application/json"
  7850. ],
  7851. "tags": [
  7852. "大连千海金"
  7853. ],
  7854. "summary": "交易商品扩展表",
  7855. "parameters": [
  7856. {
  7857. "type": "integer",
  7858. "description": "商品id",
  7859. "name": "goodsid",
  7860. "in": "query"
  7861. }
  7862. ],
  7863. "responses": {
  7864. "200": {
  7865. "description": "OK",
  7866. "schema": {
  7867. "type": "array",
  7868. "items": {
  7869. "$ref": "#/definitions/models.Qhjgoodsex"
  7870. }
  7871. }
  7872. },
  7873. "500": {
  7874. "description": "Internal Server Error",
  7875. "schema": {
  7876. "$ref": "#/definitions/app.Response"
  7877. }
  7878. }
  7879. }
  7880. }
  7881. },
  7882. "/Qhj/QueryMyTeam": {
  7883. "get": {
  7884. "security": [
  7885. {
  7886. "ApiKeyAuth": []
  7887. }
  7888. ],
  7889. "produces": [
  7890. "application/json"
  7891. ],
  7892. "tags": [
  7893. "大连千海金"
  7894. ],
  7895. "summary": "查询我的团队",
  7896. "parameters": [
  7897. {
  7898. "type": "integer",
  7899. "description": "用户ID",
  7900. "name": "userid",
  7901. "in": "query",
  7902. "required": true
  7903. }
  7904. ],
  7905. "responses": {
  7906. "200": {
  7907. "description": "OK",
  7908. "schema": {
  7909. "type": "array",
  7910. "items": {
  7911. "$ref": "#/definitions/models.QhjMyTeamEx"
  7912. }
  7913. }
  7914. },
  7915. "500": {
  7916. "description": "Internal Server Error",
  7917. "schema": {
  7918. "$ref": "#/definitions/app.Response"
  7919. }
  7920. }
  7921. }
  7922. }
  7923. },
  7924. "/Qhj/QueryMyTeamOrder": {
  7925. "get": {
  7926. "security": [
  7927. {
  7928. "ApiKeyAuth": []
  7929. }
  7930. ],
  7931. "produces": [
  7932. "application/json"
  7933. ],
  7934. "tags": [
  7935. "大连千海金"
  7936. ],
  7937. "summary": "查询团队订单(我的团队/团队订单)",
  7938. "parameters": [
  7939. {
  7940. "type": "integer",
  7941. "description": "页码",
  7942. "name": "page",
  7943. "in": "query"
  7944. },
  7945. {
  7946. "type": "integer",
  7947. "description": "每页条数",
  7948. "name": "pagesize",
  7949. "in": "query"
  7950. },
  7951. {
  7952. "type": "integer",
  7953. "description": "用户ID",
  7954. "name": "userid",
  7955. "in": "query",
  7956. "required": true
  7957. },
  7958. {
  7959. "type": "integer",
  7960. "description": "交易模式",
  7961. "name": "trademode",
  7962. "in": "query"
  7963. },
  7964. {
  7965. "type": "string",
  7966. "description": "名称(模糊搜索账户)",
  7967. "name": "filtername",
  7968. "in": "query"
  7969. }
  7970. ],
  7971. "responses": {
  7972. "200": {
  7973. "description": "OK",
  7974. "schema": {
  7975. "type": "array",
  7976. "items": {
  7977. "$ref": "#/definitions/models.QhjTeamOrder"
  7978. }
  7979. }
  7980. },
  7981. "500": {
  7982. "description": "Internal Server Error",
  7983. "schema": {
  7984. "$ref": "#/definitions/app.Response"
  7985. }
  7986. }
  7987. }
  7988. }
  7989. },
  7990. "/Qhj/QueryParentAreaList": {
  7991. "get": {
  7992. "security": [
  7993. {
  7994. "ApiKeyAuth": []
  7995. }
  7996. ],
  7997. "produces": [
  7998. "application/json"
  7999. ],
  8000. "tags": [
  8001. "大连千海金"
  8002. ],
  8003. "summary": "查询所属机构列表",
  8004. "parameters": [
  8005. {
  8006. "type": "integer",
  8007. "description": "用户ID",
  8008. "name": "userid",
  8009. "in": "query",
  8010. "required": true
  8011. }
  8012. ],
  8013. "responses": {
  8014. "200": {
  8015. "description": "OK",
  8016. "schema": {
  8017. "type": "array",
  8018. "items": {
  8019. "$ref": "#/definitions/models.QhjParentAreaList"
  8020. }
  8021. }
  8022. },
  8023. "500": {
  8024. "description": "Internal Server Error",
  8025. "schema": {
  8026. "$ref": "#/definitions/app.Response"
  8027. }
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "/Qhj/QueryPayOrder": {
  8033. "get": {
  8034. "security": [
  8035. {
  8036. "ApiKeyAuth": []
  8037. }
  8038. ],
  8039. "produces": [
  8040. "application/json"
  8041. ],
  8042. "tags": [
  8043. "大连千海金"
  8044. ],
  8045. "summary": "查询待付款单据",
  8046. "parameters": [
  8047. {
  8048. "type": "integer",
  8049. "description": "资金账号id",
  8050. "name": "accountid",
  8051. "in": "query",
  8052. "required": true
  8053. },
  8054. {
  8055. "type": "integer",
  8056. "description": "成交单号",
  8057. "name": "tradeid",
  8058. "in": "query"
  8059. },
  8060. {
  8061. "type": "string",
  8062. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8063. "name": "payflag",
  8064. "in": "query"
  8065. }
  8066. ],
  8067. "responses": {
  8068. "200": {
  8069. "description": "OK",
  8070. "schema": {
  8071. "type": "array",
  8072. "items": {
  8073. "$ref": "#/definitions/models.QhjPayOrder"
  8074. }
  8075. }
  8076. },
  8077. "500": {
  8078. "description": "Internal Server Error",
  8079. "schema": {
  8080. "$ref": "#/definitions/app.Response"
  8081. }
  8082. }
  8083. }
  8084. }
  8085. },
  8086. "/Qhj/QueryPickArea": {
  8087. "get": {
  8088. "security": [
  8089. {
  8090. "ApiKeyAuth": []
  8091. }
  8092. ],
  8093. "produces": [
  8094. "application/json"
  8095. ],
  8096. "tags": [
  8097. "大连千海金"
  8098. ],
  8099. "summary": "查询提货门店",
  8100. "parameters": [
  8101. {
  8102. "type": "integer",
  8103. "description": "用户ID",
  8104. "name": "userid",
  8105. "in": "query"
  8106. }
  8107. ],
  8108. "responses": {
  8109. "200": {
  8110. "description": "OK",
  8111. "schema": {
  8112. "type": "array",
  8113. "items": {
  8114. "$ref": "#/definitions/models.QhjPickArea"
  8115. }
  8116. }
  8117. },
  8118. "500": {
  8119. "description": "Internal Server Error",
  8120. "schema": {
  8121. "$ref": "#/definitions/app.Response"
  8122. }
  8123. }
  8124. }
  8125. }
  8126. },
  8127. "/Qhj/QueryPickGoods": {
  8128. "get": {
  8129. "security": [
  8130. {
  8131. "ApiKeyAuth": []
  8132. }
  8133. ],
  8134. "produces": [
  8135. "application/json"
  8136. ],
  8137. "tags": [
  8138. "大连千海金"
  8139. ],
  8140. "summary": "查询提货商品",
  8141. "parameters": [
  8142. {
  8143. "type": "integer",
  8144. "description": "交易商品id",
  8145. "name": "goodsid",
  8146. "in": "query",
  8147. "required": true
  8148. },
  8149. {
  8150. "type": "string",
  8151. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8152. "name": "status",
  8153. "in": "query"
  8154. }
  8155. ],
  8156. "responses": {
  8157. "200": {
  8158. "description": "OK",
  8159. "schema": {
  8160. "type": "array",
  8161. "items": {
  8162. "$ref": "#/definitions/models.QhjPickGoods"
  8163. }
  8164. }
  8165. },
  8166. "500": {
  8167. "description": "Internal Server Error",
  8168. "schema": {
  8169. "$ref": "#/definitions/app.Response"
  8170. }
  8171. }
  8172. }
  8173. }
  8174. },
  8175. "/Qhj/QueryRSTriggerLog": {
  8176. "get": {
  8177. "security": [
  8178. {
  8179. "ApiKeyAuth": []
  8180. }
  8181. ],
  8182. "produces": [
  8183. "application/json"
  8184. ],
  8185. "tags": [
  8186. "大连千海金"
  8187. ],
  8188. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8189. "parameters": [
  8190. {
  8191. "type": "integer",
  8192. "description": "用户ID",
  8193. "name": "userid",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "integer",
  8198. "description": "定投策略id",
  8199. "name": "regularlystrategyid",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "integer",
  8204. "description": "商品id",
  8205. "name": "goodsid",
  8206. "in": "query"
  8207. },
  8208. {
  8209. "type": "string",
  8210. "description": "开始交易日(yyyymmdd)",
  8211. "name": "begindate",
  8212. "in": "query"
  8213. },
  8214. {
  8215. "type": "string",
  8216. "description": "结束交易日(yyyymmdd)",
  8217. "name": "enddate",
  8218. "in": "query"
  8219. },
  8220. {
  8221. "type": "string",
  8222. "description": "名称(模糊搜索账户)",
  8223. "name": "filtername",
  8224. "in": "query"
  8225. }
  8226. ],
  8227. "responses": {
  8228. "200": {
  8229. "description": "OK",
  8230. "schema": {
  8231. "type": "array",
  8232. "items": {
  8233. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8234. }
  8235. }
  8236. },
  8237. "500": {
  8238. "description": "Internal Server Error",
  8239. "schema": {
  8240. "$ref": "#/definitions/app.Response"
  8241. }
  8242. }
  8243. }
  8244. }
  8245. },
  8246. "/Qhj/QueryRStrategy": {
  8247. "get": {
  8248. "security": [
  8249. {
  8250. "ApiKeyAuth": []
  8251. }
  8252. ],
  8253. "produces": [
  8254. "application/json"
  8255. ],
  8256. "tags": [
  8257. "大连千海金"
  8258. ],
  8259. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8260. "parameters": [
  8261. {
  8262. "type": "integer",
  8263. "description": "用户ID",
  8264. "name": "userid",
  8265. "in": "query"
  8266. },
  8267. {
  8268. "type": "integer",
  8269. "description": "商品id",
  8270. "name": "goodsid",
  8271. "in": "query"
  8272. },
  8273. {
  8274. "type": "string",
  8275. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8276. "name": "status",
  8277. "in": "query"
  8278. },
  8279. {
  8280. "type": "string",
  8281. "description": "名称(模糊搜索账户)",
  8282. "name": "filtername",
  8283. "in": "query"
  8284. }
  8285. ],
  8286. "responses": {
  8287. "200": {
  8288. "description": "OK",
  8289. "schema": {
  8290. "type": "array",
  8291. "items": {
  8292. "$ref": "#/definitions/models.QhjRStrategy"
  8293. }
  8294. }
  8295. },
  8296. "500": {
  8297. "description": "Internal Server Error",
  8298. "schema": {
  8299. "$ref": "#/definitions/app.Response"
  8300. }
  8301. }
  8302. }
  8303. }
  8304. },
  8305. "/Qhj/QueryReckonPriceLog": {
  8306. "get": {
  8307. "security": [
  8308. {
  8309. "ApiKeyAuth": []
  8310. }
  8311. ],
  8312. "produces": [
  8313. "application/json"
  8314. ],
  8315. "tags": [
  8316. "大连千海金"
  8317. ],
  8318. "summary": "查询定投价(结算价)",
  8319. "parameters": [
  8320. {
  8321. "type": "integer",
  8322. "description": "商品ID",
  8323. "name": "goodsid",
  8324. "in": "query"
  8325. },
  8326. {
  8327. "type": "string",
  8328. "description": "交易日 格式(yyyymmdd)",
  8329. "name": "tradedate",
  8330. "in": "query"
  8331. }
  8332. ],
  8333. "responses": {
  8334. "200": {
  8335. "description": "OK",
  8336. "schema": {
  8337. "type": "array",
  8338. "items": {
  8339. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8340. }
  8341. }
  8342. },
  8343. "500": {
  8344. "description": "Internal Server Error",
  8345. "schema": {
  8346. "$ref": "#/definitions/app.Response"
  8347. }
  8348. }
  8349. }
  8350. }
  8351. },
  8352. "/Qhj/QueryScoreLog": {
  8353. "get": {
  8354. "security": [
  8355. {
  8356. "ApiKeyAuth": []
  8357. }
  8358. ],
  8359. "produces": [
  8360. "application/json"
  8361. ],
  8362. "tags": [
  8363. "大连千海金"
  8364. ],
  8365. "summary": "查询积分流水(我的积分)",
  8366. "parameters": [
  8367. {
  8368. "type": "integer",
  8369. "description": "用户ID",
  8370. "name": "userid",
  8371. "in": "query",
  8372. "required": true
  8373. },
  8374. {
  8375. "type": "string",
  8376. "description": "开始交易日(yyyymmdd)",
  8377. "name": "begindate",
  8378. "in": "query"
  8379. },
  8380. {
  8381. "type": "string",
  8382. "description": "结束交易日(yyyymmdd)",
  8383. "name": "enddate",
  8384. "in": "query"
  8385. },
  8386. {
  8387. "type": "integer",
  8388. "description": "最近多少条",
  8389. "name": "lastnum",
  8390. "in": "query"
  8391. }
  8392. ],
  8393. "responses": {
  8394. "200": {
  8395. "description": "OK",
  8396. "schema": {
  8397. "type": "array",
  8398. "items": {
  8399. "$ref": "#/definitions/models.QhjScoreLog"
  8400. }
  8401. }
  8402. },
  8403. "500": {
  8404. "description": "Internal Server Error",
  8405. "schema": {
  8406. "$ref": "#/definitions/app.Response"
  8407. }
  8408. }
  8409. }
  8410. }
  8411. },
  8412. "/Qhj/QuerySiteColumnDetail": {
  8413. "get": {
  8414. "security": [
  8415. {
  8416. "ApiKeyAuth": []
  8417. }
  8418. ],
  8419. "produces": [
  8420. "application/json"
  8421. ],
  8422. "tags": [
  8423. "大连千海金"
  8424. ],
  8425. "summary": "查询资讯",
  8426. "parameters": [
  8427. {
  8428. "type": "integer",
  8429. "description": "用户ID",
  8430. "name": "userid",
  8431. "in": "query",
  8432. "required": true
  8433. }
  8434. ],
  8435. "responses": {
  8436. "200": {
  8437. "description": "OK",
  8438. "schema": {
  8439. "type": "array",
  8440. "items": {
  8441. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8442. }
  8443. }
  8444. },
  8445. "500": {
  8446. "description": "Internal Server Error",
  8447. "schema": {
  8448. "$ref": "#/definitions/app.Response"
  8449. }
  8450. }
  8451. }
  8452. }
  8453. },
  8454. "/Qhj/QueryTradeGoodsPickup": {
  8455. "get": {
  8456. "security": [
  8457. {
  8458. "ApiKeyAuth": []
  8459. }
  8460. ],
  8461. "produces": [
  8462. "application/json"
  8463. ],
  8464. "tags": [
  8465. "大连千海金"
  8466. ],
  8467. "summary": "查询提货",
  8468. "parameters": [
  8469. {
  8470. "type": "integer",
  8471. "description": "用户ID",
  8472. "name": "userid",
  8473. "in": "query",
  8474. "required": true
  8475. },
  8476. {
  8477. "type": "integer",
  8478. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8479. "name": "takeorderstatus",
  8480. "in": "query"
  8481. }
  8482. ],
  8483. "responses": {
  8484. "200": {
  8485. "description": "OK",
  8486. "schema": {
  8487. "type": "array",
  8488. "items": {
  8489. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8490. }
  8491. }
  8492. },
  8493. "500": {
  8494. "description": "Internal Server Error",
  8495. "schema": {
  8496. "$ref": "#/definitions/app.Response"
  8497. }
  8498. }
  8499. }
  8500. }
  8501. },
  8502. "/Qhj/QueryUserCollectConfig": {
  8503. "get": {
  8504. "security": [
  8505. {
  8506. "ApiKeyAuth": []
  8507. }
  8508. ],
  8509. "produces": [
  8510. "application/json"
  8511. ],
  8512. "tags": [
  8513. "大连千海金"
  8514. ],
  8515. "summary": "查询提现账户设置",
  8516. "parameters": [
  8517. {
  8518. "type": "integer",
  8519. "description": "用户ID",
  8520. "name": "userid",
  8521. "in": "query",
  8522. "required": true
  8523. }
  8524. ],
  8525. "responses": {
  8526. "200": {
  8527. "description": "OK",
  8528. "schema": {
  8529. "type": "array",
  8530. "items": {
  8531. "$ref": "#/definitions/models.UserCollectConfig"
  8532. }
  8533. }
  8534. },
  8535. "500": {
  8536. "description": "Internal Server Error",
  8537. "schema": {
  8538. "$ref": "#/definitions/app.Response"
  8539. }
  8540. }
  8541. }
  8542. }
  8543. },
  8544. "/Qhj/QueryUserReceiveInfo": {
  8545. "get": {
  8546. "security": [
  8547. {
  8548. "ApiKeyAuth": []
  8549. }
  8550. ],
  8551. "produces": [
  8552. "application/json"
  8553. ],
  8554. "tags": [
  8555. "大连千海金"
  8556. ],
  8557. "summary": "查询收货地址信息",
  8558. "parameters": [
  8559. {
  8560. "type": "integer",
  8561. "description": "用户ID",
  8562. "name": "userid",
  8563. "in": "query",
  8564. "required": true
  8565. }
  8566. ],
  8567. "responses": {
  8568. "200": {
  8569. "description": "OK",
  8570. "schema": {
  8571. "type": "array",
  8572. "items": {
  8573. "$ref": "#/definitions/models.UserReceiveInfo"
  8574. }
  8575. }
  8576. },
  8577. "500": {
  8578. "description": "Internal Server Error",
  8579. "schema": {
  8580. "$ref": "#/definitions/app.Response"
  8581. }
  8582. }
  8583. }
  8584. }
  8585. },
  8586. "/QhjMgr/QueryAccountInOutApply": {
  8587. "get": {
  8588. "security": [
  8589. {
  8590. "ApiKeyAuth": []
  8591. }
  8592. ],
  8593. "produces": [
  8594. "application/json"
  8595. ],
  8596. "tags": [
  8597. "大连千海金(PCWeb)"
  8598. ],
  8599. "summary": "查询充值提现",
  8600. "parameters": [
  8601. {
  8602. "type": "integer",
  8603. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8604. "name": "querytype",
  8605. "in": "query",
  8606. "required": true
  8607. },
  8608. {
  8609. "type": "integer",
  8610. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8611. "name": "applystatus",
  8612. "in": "query"
  8613. },
  8614. {
  8615. "type": "string",
  8616. "description": "申请起始日期(格式yyyymmdd)",
  8617. "name": "begindate",
  8618. "in": "query"
  8619. },
  8620. {
  8621. "type": "string",
  8622. "description": "申请截止日期(格式yyyymmdd)",
  8623. "name": "enddate",
  8624. "in": "query"
  8625. },
  8626. {
  8627. "type": "string",
  8628. "description": "模糊搜索名称",
  8629. "name": "likename",
  8630. "in": "query"
  8631. }
  8632. ],
  8633. "responses": {
  8634. "200": {
  8635. "description": "OK",
  8636. "schema": {
  8637. "type": "array",
  8638. "items": {
  8639. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8640. }
  8641. }
  8642. },
  8643. "500": {
  8644. "description": "Internal Server Error",
  8645. "schema": {
  8646. "$ref": "#/definitions/app.Response"
  8647. }
  8648. }
  8649. }
  8650. }
  8651. },
  8652. "/QhjMgr/QueryBrokerApply": {
  8653. "get": {
  8654. "security": [
  8655. {
  8656. "ApiKeyAuth": []
  8657. }
  8658. ],
  8659. "produces": [
  8660. "application/json"
  8661. ],
  8662. "tags": [
  8663. "大连千海金(PCWeb)"
  8664. ],
  8665. "summary": "查询经纪人申请",
  8666. "parameters": [
  8667. {
  8668. "type": "integer",
  8669. "description": "所属机构ID",
  8670. "name": "userid",
  8671. "in": "query"
  8672. },
  8673. {
  8674. "type": "string",
  8675. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8676. "name": "filterstatus",
  8677. "in": "query"
  8678. },
  8679. {
  8680. "type": "string",
  8681. "description": "名称(模糊匹配)",
  8682. "name": "filtername",
  8683. "in": "query"
  8684. },
  8685. {
  8686. "type": "integer",
  8687. "description": "是否包含子级 1-包含",
  8688. "name": "includesub",
  8689. "in": "query"
  8690. }
  8691. ],
  8692. "responses": {
  8693. "200": {
  8694. "description": "OK",
  8695. "schema": {
  8696. "type": "array",
  8697. "items": {
  8698. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8699. }
  8700. }
  8701. },
  8702. "500": {
  8703. "description": "Internal Server Error",
  8704. "schema": {
  8705. "$ref": "#/definitions/app.Response"
  8706. }
  8707. }
  8708. }
  8709. }
  8710. },
  8711. "/QhjMgr/QueryBrokerRewardReport": {
  8712. "get": {
  8713. "security": [
  8714. {
  8715. "ApiKeyAuth": []
  8716. }
  8717. ],
  8718. "produces": [
  8719. "application/json"
  8720. ],
  8721. "tags": [
  8722. "大连千海金(PCWeb)"
  8723. ],
  8724. "summary": "查询经纪人奖励报表(废弃)",
  8725. "parameters": [
  8726. {
  8727. "type": "integer",
  8728. "description": "所属机构ID",
  8729. "name": "userid",
  8730. "in": "query",
  8731. "required": true
  8732. },
  8733. {
  8734. "type": "integer",
  8735. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8736. "name": "cycletype",
  8737. "in": "query",
  8738. "required": true
  8739. },
  8740. {
  8741. "type": "string",
  8742. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8743. "name": "cycletime",
  8744. "in": "query",
  8745. "required": true
  8746. },
  8747. {
  8748. "type": "string",
  8749. "description": "名称(模糊匹配)",
  8750. "name": "filtername",
  8751. "in": "query"
  8752. },
  8753. {
  8754. "type": "integer",
  8755. "description": "是否包含子级 1-包含",
  8756. "name": "includesub",
  8757. "in": "query"
  8758. }
  8759. ],
  8760. "responses": {
  8761. "200": {
  8762. "description": "OK",
  8763. "schema": {
  8764. "type": "array",
  8765. "items": {
  8766. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8767. }
  8768. }
  8769. },
  8770. "500": {
  8771. "description": "Internal Server Error",
  8772. "schema": {
  8773. "$ref": "#/definitions/app.Response"
  8774. }
  8775. }
  8776. }
  8777. }
  8778. },
  8779. "/QhjMgr/QueryContract": {
  8780. "get": {
  8781. "security": [
  8782. {
  8783. "ApiKeyAuth": []
  8784. }
  8785. ],
  8786. "produces": [
  8787. "application/json"
  8788. ],
  8789. "tags": [
  8790. "大连千海金(PCWeb)"
  8791. ],
  8792. "summary": "查询融资信息(合同)",
  8793. "parameters": [
  8794. {
  8795. "type": "integer",
  8796. "description": "用户ID",
  8797. "name": "userid",
  8798. "in": "query"
  8799. },
  8800. {
  8801. "type": "integer",
  8802. "description": "商品id",
  8803. "name": "goodsid",
  8804. "in": "query"
  8805. },
  8806. {
  8807. "type": "string",
  8808. "description": "名称(模糊搜索账户)",
  8809. "name": "filtername",
  8810. "in": "query"
  8811. },
  8812. {
  8813. "type": "string",
  8814. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8815. "name": "risklevel",
  8816. "in": "query"
  8817. },
  8818. {
  8819. "type": "string",
  8820. "description": "开始交易日(yyyymmdd)",
  8821. "name": "begindate",
  8822. "in": "query"
  8823. },
  8824. {
  8825. "type": "string",
  8826. "description": "结束交易日(yyyymmdd)",
  8827. "name": "enddate",
  8828. "in": "query"
  8829. }
  8830. ],
  8831. "responses": {
  8832. "200": {
  8833. "description": "OK",
  8834. "schema": {
  8835. "type": "array",
  8836. "items": {
  8837. "$ref": "#/definitions/models.QhjMgrContract"
  8838. }
  8839. }
  8840. },
  8841. "500": {
  8842. "description": "Internal Server Error",
  8843. "schema": {
  8844. "$ref": "#/definitions/app.Response"
  8845. }
  8846. }
  8847. }
  8848. }
  8849. },
  8850. "/QhjMgr/QueryCustomerInfo": {
  8851. "get": {
  8852. "security": [
  8853. {
  8854. "ApiKeyAuth": []
  8855. }
  8856. ],
  8857. "produces": [
  8858. "application/json"
  8859. ],
  8860. "tags": [
  8861. "大连千海金(PCWeb)"
  8862. ],
  8863. "summary": "查询客户资料",
  8864. "parameters": [
  8865. {
  8866. "type": "integer",
  8867. "description": "用户ID",
  8868. "name": "userid",
  8869. "in": "query",
  8870. "required": true
  8871. },
  8872. {
  8873. "type": "integer",
  8874. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8875. "name": "querytype",
  8876. "in": "query",
  8877. "required": true
  8878. },
  8879. {
  8880. "type": "integer",
  8881. "description": "客户类型 1-个人 2-企业",
  8882. "name": "userinfotype",
  8883. "in": "query"
  8884. },
  8885. {
  8886. "type": "string",
  8887. "description": "客户名称(模糊匹配)",
  8888. "name": "customername",
  8889. "in": "query"
  8890. },
  8891. {
  8892. "type": "string",
  8893. "description": "昵称(模糊匹配)",
  8894. "name": "nickname",
  8895. "in": "query"
  8896. },
  8897. {
  8898. "type": "string",
  8899. "description": "所属客户经理(模糊匹配)",
  8900. "name": "brokername",
  8901. "in": "query"
  8902. },
  8903. {
  8904. "type": "string",
  8905. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  8906. "name": "birthday",
  8907. "in": "query"
  8908. },
  8909. {
  8910. "type": "integer",
  8911. "description": "是否包含子级 1-包含",
  8912. "name": "includesub",
  8913. "in": "query"
  8914. }
  8915. ],
  8916. "responses": {
  8917. "200": {
  8918. "description": "OK",
  8919. "schema": {
  8920. "type": "array",
  8921. "items": {
  8922. "$ref": "#/definitions/models.QhjMgrCustomer"
  8923. }
  8924. }
  8925. },
  8926. "500": {
  8927. "description": "Internal Server Error",
  8928. "schema": {
  8929. "$ref": "#/definitions/app.Response"
  8930. }
  8931. }
  8932. }
  8933. }
  8934. },
  8935. "/QhjMgr/QueryPickGoods": {
  8936. "get": {
  8937. "security": [
  8938. {
  8939. "ApiKeyAuth": []
  8940. }
  8941. ],
  8942. "produces": [
  8943. "application/json"
  8944. ],
  8945. "tags": [
  8946. "大连千海金(PCWeb)"
  8947. ],
  8948. "summary": "查询提货商品",
  8949. "parameters": [
  8950. {
  8951. "type": "string",
  8952. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8953. "name": "status",
  8954. "in": "query"
  8955. }
  8956. ],
  8957. "responses": {
  8958. "200": {
  8959. "description": "OK",
  8960. "schema": {
  8961. "type": "array",
  8962. "items": {
  8963. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8964. }
  8965. }
  8966. },
  8967. "500": {
  8968. "description": "Internal Server Error",
  8969. "schema": {
  8970. "$ref": "#/definitions/app.Response"
  8971. }
  8972. }
  8973. }
  8974. }
  8975. },
  8976. "/QhjMgr/QuerySubArea": {
  8977. "get": {
  8978. "security": [
  8979. {
  8980. "ApiKeyAuth": []
  8981. }
  8982. ],
  8983. "produces": [
  8984. "application/json"
  8985. ],
  8986. "tags": [
  8987. "大连千海金(PCWeb)"
  8988. ],
  8989. "summary": "查询子机构列表",
  8990. "parameters": [
  8991. {
  8992. "type": "integer",
  8993. "description": "用户ID",
  8994. "name": "userid",
  8995. "in": "query",
  8996. "required": true
  8997. }
  8998. ],
  8999. "responses": {
  9000. "200": {
  9001. "description": "OK",
  9002. "schema": {
  9003. "type": "array",
  9004. "items": {
  9005. "$ref": "#/definitions/models.QhjMgrSubArea"
  9006. }
  9007. }
  9008. },
  9009. "500": {
  9010. "description": "Internal Server Error",
  9011. "schema": {
  9012. "$ref": "#/definitions/app.Response"
  9013. }
  9014. }
  9015. }
  9016. }
  9017. },
  9018. "/QhjMgr/QueryTradeDetail": {
  9019. "get": {
  9020. "security": [
  9021. {
  9022. "ApiKeyAuth": []
  9023. }
  9024. ],
  9025. "produces": [
  9026. "application/json"
  9027. ],
  9028. "tags": [
  9029. "大连千海金(PCWeb)"
  9030. ],
  9031. "summary": "查询成交明细",
  9032. "parameters": [
  9033. {
  9034. "type": "integer",
  9035. "description": "用户ID",
  9036. "name": "userid",
  9037. "in": "query",
  9038. "required": true
  9039. },
  9040. {
  9041. "type": "integer",
  9042. "description": "用户类型 1-个人 2-企业",
  9043. "name": "userinfotype",
  9044. "in": "query"
  9045. },
  9046. {
  9047. "type": "integer",
  9048. "description": "交易模式",
  9049. "name": "trademode",
  9050. "in": "query"
  9051. },
  9052. {
  9053. "type": "integer",
  9054. "description": "商品id",
  9055. "name": "goodsid",
  9056. "in": "query"
  9057. },
  9058. {
  9059. "type": "string",
  9060. "description": "名称(模糊搜索账户)",
  9061. "name": "filtername",
  9062. "in": "query"
  9063. },
  9064. {
  9065. "type": "string",
  9066. "description": "开始交易日(yyyymmdd)",
  9067. "name": "begindate",
  9068. "in": "query"
  9069. },
  9070. {
  9071. "type": "string",
  9072. "description": "结束交易日(yyyymmdd)",
  9073. "name": "enddate",
  9074. "in": "query"
  9075. },
  9076. {
  9077. "type": "integer",
  9078. "description": "是否包含子级 1-包含",
  9079. "name": "includesub",
  9080. "in": "query"
  9081. }
  9082. ],
  9083. "responses": {
  9084. "200": {
  9085. "description": "OK",
  9086. "schema": {
  9087. "type": "array",
  9088. "items": {
  9089. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9090. }
  9091. }
  9092. },
  9093. "500": {
  9094. "description": "Internal Server Error",
  9095. "schema": {
  9096. "$ref": "#/definitions/app.Response"
  9097. }
  9098. }
  9099. }
  9100. }
  9101. },
  9102. "/QhjMgr/QueryTradeOrderDetail": {
  9103. "get": {
  9104. "security": [
  9105. {
  9106. "ApiKeyAuth": []
  9107. }
  9108. ],
  9109. "produces": [
  9110. "application/json"
  9111. ],
  9112. "tags": [
  9113. "大连千海金(PCWeb)"
  9114. ],
  9115. "summary": "查询委托明细",
  9116. "parameters": [
  9117. {
  9118. "type": "integer",
  9119. "description": "用户ID",
  9120. "name": "userid",
  9121. "in": "query",
  9122. "required": true
  9123. },
  9124. {
  9125. "type": "integer",
  9126. "description": "用户类型 1-个人 2-企业",
  9127. "name": "userinfotype",
  9128. "in": "query"
  9129. },
  9130. {
  9131. "type": "integer",
  9132. "description": "交易模式",
  9133. "name": "trademode",
  9134. "in": "query"
  9135. },
  9136. {
  9137. "type": "integer",
  9138. "description": "商品id",
  9139. "name": "goodsid",
  9140. "in": "query"
  9141. },
  9142. {
  9143. "type": "string",
  9144. "description": "名称(模糊搜索账户)",
  9145. "name": "filtername",
  9146. "in": "query"
  9147. },
  9148. {
  9149. "type": "string",
  9150. "description": "开始交易日(yyyymmdd)",
  9151. "name": "begindate",
  9152. "in": "query"
  9153. },
  9154. {
  9155. "type": "string",
  9156. "description": "结束交易日(yyyymmdd)",
  9157. "name": "enddate",
  9158. "in": "query"
  9159. },
  9160. {
  9161. "type": "integer",
  9162. "description": "是否包含子级 1-包含",
  9163. "name": "includesub",
  9164. "in": "query"
  9165. }
  9166. ],
  9167. "responses": {
  9168. "200": {
  9169. "description": "OK",
  9170. "schema": {
  9171. "type": "array",
  9172. "items": {
  9173. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9174. }
  9175. }
  9176. },
  9177. "500": {
  9178. "description": "Internal Server Error",
  9179. "schema": {
  9180. "$ref": "#/definitions/app.Response"
  9181. }
  9182. }
  9183. }
  9184. }
  9185. },
  9186. "/QhjMgr/QueryTradePayOrder": {
  9187. "get": {
  9188. "security": [
  9189. {
  9190. "ApiKeyAuth": []
  9191. }
  9192. ],
  9193. "produces": [
  9194. "application/json"
  9195. ],
  9196. "tags": [
  9197. "大连千海金(PCWeb)"
  9198. ],
  9199. "summary": "查询待付款单",
  9200. "parameters": [
  9201. {
  9202. "type": "integer",
  9203. "description": "用户ID",
  9204. "name": "userid",
  9205. "in": "query",
  9206. "required": true
  9207. },
  9208. {
  9209. "type": "string",
  9210. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9211. "name": "payflag",
  9212. "in": "query"
  9213. },
  9214. {
  9215. "type": "integer",
  9216. "description": "用户类型 1-个人 2-企业",
  9217. "name": "userinfotype",
  9218. "in": "query"
  9219. },
  9220. {
  9221. "type": "integer",
  9222. "description": "交易模式",
  9223. "name": "trademode",
  9224. "in": "query"
  9225. },
  9226. {
  9227. "type": "integer",
  9228. "description": "商品id",
  9229. "name": "goodsid",
  9230. "in": "query"
  9231. },
  9232. {
  9233. "type": "string",
  9234. "description": "名称(模糊搜索账户)",
  9235. "name": "filtername",
  9236. "in": "query"
  9237. },
  9238. {
  9239. "type": "string",
  9240. "description": "开始交易日(yyyymmdd)",
  9241. "name": "begindate",
  9242. "in": "query"
  9243. },
  9244. {
  9245. "type": "string",
  9246. "description": "结束交易日(yyyymmdd)",
  9247. "name": "enddate",
  9248. "in": "query"
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "是否包含子级 1-包含",
  9253. "name": "includesub",
  9254. "in": "query"
  9255. }
  9256. ],
  9257. "responses": {
  9258. "200": {
  9259. "description": "OK",
  9260. "schema": {
  9261. "type": "array",
  9262. "items": {
  9263. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9264. }
  9265. }
  9266. },
  9267. "500": {
  9268. "description": "Internal Server Error",
  9269. "schema": {
  9270. "$ref": "#/definitions/app.Response"
  9271. }
  9272. }
  9273. }
  9274. }
  9275. },
  9276. "/QhjMgr/QueryTradePosition": {
  9277. "get": {
  9278. "security": [
  9279. {
  9280. "ApiKeyAuth": []
  9281. }
  9282. ],
  9283. "produces": [
  9284. "application/json"
  9285. ],
  9286. "tags": [
  9287. "大连千海金(PCWeb)"
  9288. ],
  9289. "summary": "查询持仓汇总",
  9290. "parameters": [
  9291. {
  9292. "type": "integer",
  9293. "description": "用户ID",
  9294. "name": "userid",
  9295. "in": "query",
  9296. "required": true
  9297. },
  9298. {
  9299. "type": "integer",
  9300. "description": "用户类型 1-个人 2-企业",
  9301. "name": "userinfotype",
  9302. "in": "query"
  9303. },
  9304. {
  9305. "type": "integer",
  9306. "description": "交易模式",
  9307. "name": "trademode",
  9308. "in": "query"
  9309. },
  9310. {
  9311. "type": "integer",
  9312. "description": "商品id",
  9313. "name": "goodsid",
  9314. "in": "query"
  9315. },
  9316. {
  9317. "type": "string",
  9318. "description": "名称(模糊搜索账户)",
  9319. "name": "filtername",
  9320. "in": "query"
  9321. },
  9322. {
  9323. "type": "integer",
  9324. "description": "是否包含子级 1-包含",
  9325. "name": "includesub",
  9326. "in": "query"
  9327. }
  9328. ],
  9329. "responses": {
  9330. "200": {
  9331. "description": "OK",
  9332. "schema": {
  9333. "type": "array",
  9334. "items": {
  9335. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9336. }
  9337. }
  9338. },
  9339. "500": {
  9340. "description": "Internal Server Error",
  9341. "schema": {
  9342. "$ref": "#/definitions/app.Response"
  9343. }
  9344. }
  9345. }
  9346. }
  9347. },
  9348. "/QhjSys/QueryAgreementChangeLog": {
  9349. "get": {
  9350. "security": [
  9351. {
  9352. "ApiKeyAuth": []
  9353. }
  9354. ],
  9355. "produces": [
  9356. "application/json"
  9357. ],
  9358. "tags": [
  9359. "大连千海金(协议和签约信息)"
  9360. ],
  9361. "summary": "查询协议配置变更流水",
  9362. "parameters": [
  9363. {
  9364. "type": "integer",
  9365. "description": "协议ID",
  9366. "name": "agreementid",
  9367. "in": "query"
  9368. },
  9369. {
  9370. "type": "integer",
  9371. "description": "协议版本号",
  9372. "name": "agreementversion",
  9373. "in": "query"
  9374. },
  9375. {
  9376. "type": "integer",
  9377. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9378. "name": "agreementtype",
  9379. "in": "query"
  9380. },
  9381. {
  9382. "type": "string",
  9383. "description": "协议编号(模糊匹配)",
  9384. "name": "agreementno",
  9385. "in": "query"
  9386. },
  9387. {
  9388. "type": "string",
  9389. "description": "协议名称(模糊匹配)",
  9390. "name": "agreementname",
  9391. "in": "query"
  9392. }
  9393. ],
  9394. "responses": {
  9395. "200": {
  9396. "description": "OK",
  9397. "schema": {
  9398. "type": "array",
  9399. "items": {
  9400. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9401. }
  9402. }
  9403. },
  9404. "500": {
  9405. "description": "Internal Server Error",
  9406. "schema": {
  9407. "$ref": "#/definitions/app.Response"
  9408. }
  9409. }
  9410. }
  9411. }
  9412. },
  9413. "/QhjSys/QueryAgreementConfig": {
  9414. "get": {
  9415. "security": [
  9416. {
  9417. "ApiKeyAuth": []
  9418. }
  9419. ],
  9420. "produces": [
  9421. "application/json"
  9422. ],
  9423. "tags": [
  9424. "大连千海金(协议和签约信息)"
  9425. ],
  9426. "summary": "查询协议配置",
  9427. "parameters": [
  9428. {
  9429. "type": "integer",
  9430. "description": "协议ID",
  9431. "name": "agreementid",
  9432. "in": "query"
  9433. },
  9434. {
  9435. "type": "integer",
  9436. "description": "协议版本号",
  9437. "name": "agreementversion",
  9438. "in": "query"
  9439. },
  9440. {
  9441. "type": "integer",
  9442. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9443. "name": "agreementtype",
  9444. "in": "query"
  9445. },
  9446. {
  9447. "type": "integer",
  9448. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9449. "name": "isvalid",
  9450. "in": "query"
  9451. },
  9452. {
  9453. "type": "string",
  9454. "description": "协议编号(模糊匹配)",
  9455. "name": "agreementno",
  9456. "in": "query"
  9457. },
  9458. {
  9459. "type": "string",
  9460. "description": "协议名称(模糊匹配)",
  9461. "name": "agreementname",
  9462. "in": "query"
  9463. }
  9464. ],
  9465. "responses": {
  9466. "200": {
  9467. "description": "OK",
  9468. "schema": {
  9469. "type": "array",
  9470. "items": {
  9471. "$ref": "#/definitions/models.QhjAgreementConfig"
  9472. }
  9473. }
  9474. },
  9475. "500": {
  9476. "description": "Internal Server Error",
  9477. "schema": {
  9478. "$ref": "#/definitions/app.Response"
  9479. }
  9480. }
  9481. }
  9482. }
  9483. },
  9484. "/QhjSys/QueryCustomerSignStatus": {
  9485. "get": {
  9486. "security": [
  9487. {
  9488. "ApiKeyAuth": []
  9489. }
  9490. ],
  9491. "produces": [
  9492. "application/json"
  9493. ],
  9494. "tags": [
  9495. "大连千海金(协议和签约信息)"
  9496. ],
  9497. "summary": "查询客户协议签约状态",
  9498. "parameters": [
  9499. {
  9500. "type": "integer",
  9501. "description": "客户ID",
  9502. "name": "userid",
  9503. "in": "query"
  9504. },
  9505. {
  9506. "type": "integer",
  9507. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9508. "name": "nodetype",
  9509. "in": "query"
  9510. },
  9511. {
  9512. "type": "integer",
  9513. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9514. "name": "goodsid",
  9515. "in": "query"
  9516. },
  9517. {
  9518. "type": "string",
  9519. "description": "创建交易日(yyyyMMdd)",
  9520. "name": "tradedate",
  9521. "in": "query"
  9522. },
  9523. {
  9524. "type": "string",
  9525. "description": "用户名称(模糊匹配)",
  9526. "name": "username",
  9527. "in": "query"
  9528. }
  9529. ],
  9530. "responses": {
  9531. "200": {
  9532. "description": "OK",
  9533. "schema": {
  9534. "type": "array",
  9535. "items": {
  9536. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9537. }
  9538. }
  9539. },
  9540. "500": {
  9541. "description": "Internal Server Error",
  9542. "schema": {
  9543. "$ref": "#/definitions/app.Response"
  9544. }
  9545. }
  9546. }
  9547. }
  9548. },
  9549. "/QhjSys/QueryNodeAgreementConfig": {
  9550. "get": {
  9551. "security": [
  9552. {
  9553. "ApiKeyAuth": []
  9554. }
  9555. ],
  9556. "produces": [
  9557. "application/json"
  9558. ],
  9559. "tags": [
  9560. "大连千海金(协议和签约信息)"
  9561. ],
  9562. "summary": "查询协议节点配置",
  9563. "parameters": [
  9564. {
  9565. "type": "integer",
  9566. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9567. "name": "configid",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9573. "name": "nodetype",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "integer",
  9578. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9579. "name": "goodsid",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "integer",
  9584. "description": "协议ID",
  9585. "name": "agreementid",
  9586. "in": "query"
  9587. },
  9588. {
  9589. "type": "integer",
  9590. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9591. "name": "agreementtype",
  9592. "in": "query"
  9593. },
  9594. {
  9595. "type": "integer",
  9596. "description": "协议版本号",
  9597. "name": "agreementversion",
  9598. "in": "query"
  9599. },
  9600. {
  9601. "type": "string",
  9602. "description": "协议编号(模糊匹配)",
  9603. "name": "agreementno",
  9604. "in": "query"
  9605. },
  9606. {
  9607. "type": "string",
  9608. "description": "协议名称(模糊匹配)",
  9609. "name": "agreementname",
  9610. "in": "query"
  9611. }
  9612. ],
  9613. "responses": {
  9614. "200": {
  9615. "description": "OK",
  9616. "schema": {
  9617. "type": "array",
  9618. "items": {
  9619. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9620. }
  9621. }
  9622. },
  9623. "500": {
  9624. "description": "Internal Server Error",
  9625. "schema": {
  9626. "$ref": "#/definitions/app.Response"
  9627. }
  9628. }
  9629. }
  9630. }
  9631. },
  9632. "/QhjSys/QueryQhjCustomerSignLog": {
  9633. "get": {
  9634. "security": [
  9635. {
  9636. "ApiKeyAuth": []
  9637. }
  9638. ],
  9639. "produces": [
  9640. "application/json"
  9641. ],
  9642. "tags": [
  9643. "大连千海金(协议和签约信息)"
  9644. ],
  9645. "summary": "查询客户协议签约流水",
  9646. "parameters": [
  9647. {
  9648. "type": "integer",
  9649. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9650. "name": "logid",
  9651. "in": "query"
  9652. },
  9653. {
  9654. "type": "integer",
  9655. "description": "客户ID",
  9656. "name": "userid",
  9657. "in": "query"
  9658. },
  9659. {
  9660. "type": "integer",
  9661. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9662. "name": "nodetype",
  9663. "in": "query"
  9664. },
  9665. {
  9666. "type": "integer",
  9667. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9668. "name": "goodsid",
  9669. "in": "query"
  9670. },
  9671. {
  9672. "type": "integer",
  9673. "description": "协议ID",
  9674. "name": "agreementid",
  9675. "in": "query"
  9676. },
  9677. {
  9678. "type": "string",
  9679. "description": "用户名称(模糊匹配)",
  9680. "name": "username",
  9681. "in": "query"
  9682. },
  9683. {
  9684. "type": "string",
  9685. "description": "协议编号(模糊匹配)",
  9686. "name": "agreementno",
  9687. "in": "query"
  9688. },
  9689. {
  9690. "type": "string",
  9691. "description": "协议名称(模糊匹配)",
  9692. "name": "agreementname",
  9693. "in": "query"
  9694. }
  9695. ],
  9696. "responses": {
  9697. "200": {
  9698. "description": "OK",
  9699. "schema": {
  9700. "type": "array",
  9701. "items": {
  9702. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9703. }
  9704. }
  9705. },
  9706. "500": {
  9707. "description": "Internal Server Error",
  9708. "schema": {
  9709. "$ref": "#/definitions/app.Response"
  9710. }
  9711. }
  9712. }
  9713. }
  9714. },
  9715. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9716. "get": {
  9717. "security": [
  9718. {
  9719. "ApiKeyAuth": []
  9720. }
  9721. ],
  9722. "produces": [
  9723. "application/json"
  9724. ],
  9725. "tags": [
  9726. "大连千海金(协议和签约信息)"
  9727. ],
  9728. "summary": "查询用户协议节点配置和状态",
  9729. "parameters": [
  9730. {
  9731. "type": "integer",
  9732. "description": "客户ID",
  9733. "name": "userid",
  9734. "in": "query"
  9735. },
  9736. {
  9737. "type": "integer",
  9738. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9739. "name": "configid",
  9740. "in": "query"
  9741. },
  9742. {
  9743. "type": "string",
  9744. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9745. "name": "nodetype",
  9746. "in": "query"
  9747. },
  9748. {
  9749. "type": "integer",
  9750. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9751. "name": "goodsid",
  9752. "in": "query"
  9753. },
  9754. {
  9755. "type": "integer",
  9756. "description": "协议ID",
  9757. "name": "agreementid",
  9758. "in": "query"
  9759. },
  9760. {
  9761. "type": "integer",
  9762. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9763. "name": "agreementtype",
  9764. "in": "query"
  9765. },
  9766. {
  9767. "type": "integer",
  9768. "description": "协议版本号",
  9769. "name": "agreementversion",
  9770. "in": "query"
  9771. },
  9772. {
  9773. "type": "string",
  9774. "description": "协议编号(模糊匹配)",
  9775. "name": "agreementno",
  9776. "in": "query"
  9777. },
  9778. {
  9779. "type": "string",
  9780. "description": "协议名称(模糊匹配)",
  9781. "name": "agreementname",
  9782. "in": "query"
  9783. }
  9784. ],
  9785. "responses": {
  9786. "200": {
  9787. "description": "OK",
  9788. "schema": {
  9789. "type": "array",
  9790. "items": {
  9791. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9792. }
  9793. }
  9794. },
  9795. "500": {
  9796. "description": "Internal Server Error",
  9797. "schema": {
  9798. "$ref": "#/definitions/app.Response"
  9799. }
  9800. }
  9801. }
  9802. }
  9803. },
  9804. "/Quote/QueryHistoryDatas": {
  9805. "get": {
  9806. "security": [
  9807. {
  9808. "ApiKeyAuth": []
  9809. }
  9810. ],
  9811. "produces": [
  9812. "application/json"
  9813. ],
  9814. "tags": [
  9815. "行情服务"
  9816. ],
  9817. "summary": "查询行情历史数据",
  9818. "parameters": [
  9819. {
  9820. "type": "integer",
  9821. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9822. "name": "cycleType",
  9823. "in": "query",
  9824. "required": true
  9825. },
  9826. {
  9827. "type": "string",
  9828. "description": "商品代码",
  9829. "name": "goodsCode",
  9830. "in": "query",
  9831. "required": true
  9832. },
  9833. {
  9834. "type": "string",
  9835. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9836. "name": "startTime",
  9837. "in": "query"
  9838. },
  9839. {
  9840. "type": "string",
  9841. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9842. "name": "endTime",
  9843. "in": "query"
  9844. },
  9845. {
  9846. "type": "integer",
  9847. "description": "条数",
  9848. "name": "count",
  9849. "in": "query"
  9850. },
  9851. {
  9852. "type": "boolean",
  9853. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9854. "name": "isAsc",
  9855. "in": "query"
  9856. }
  9857. ],
  9858. "responses": {
  9859. "200": {
  9860. "description": "OK",
  9861. "schema": {
  9862. "$ref": "#/definitions/quote.HistoryData"
  9863. }
  9864. },
  9865. "500": {
  9866. "description": "Internal Server Error",
  9867. "schema": {
  9868. "$ref": "#/definitions/app.Response"
  9869. }
  9870. }
  9871. }
  9872. }
  9873. },
  9874. "/Quote/QueryHistoryTikDatas": {
  9875. "get": {
  9876. "security": [
  9877. {
  9878. "ApiKeyAuth": []
  9879. }
  9880. ],
  9881. "produces": [
  9882. "application/json"
  9883. ],
  9884. "tags": [
  9885. "行情服务"
  9886. ],
  9887. "summary": "查询行情Tik数据",
  9888. "parameters": [
  9889. {
  9890. "type": "string",
  9891. "description": "商品代码",
  9892. "name": "goodsCode",
  9893. "in": "query",
  9894. "required": true
  9895. },
  9896. {
  9897. "type": "string",
  9898. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9899. "name": "startTime",
  9900. "in": "query"
  9901. },
  9902. {
  9903. "type": "string",
  9904. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9905. "name": "endTime",
  9906. "in": "query"
  9907. },
  9908. {
  9909. "type": "integer",
  9910. "description": "条数",
  9911. "name": "count",
  9912. "in": "query"
  9913. },
  9914. {
  9915. "type": "boolean",
  9916. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9917. "name": "isAsc",
  9918. "in": "query"
  9919. }
  9920. ],
  9921. "responses": {
  9922. "200": {
  9923. "description": "OK",
  9924. "schema": {
  9925. "$ref": "#/definitions/quote.HistoryTikData"
  9926. }
  9927. },
  9928. "500": {
  9929. "description": "Internal Server Error",
  9930. "schema": {
  9931. "$ref": "#/definitions/app.Response"
  9932. }
  9933. }
  9934. }
  9935. }
  9936. },
  9937. "/Quote/QueryQuoteDay": {
  9938. "get": {
  9939. "security": [
  9940. {
  9941. "ApiKeyAuth": []
  9942. }
  9943. ],
  9944. "produces": [
  9945. "application/json"
  9946. ],
  9947. "tags": [
  9948. "行情服务"
  9949. ],
  9950. "summary": "获取商品盘面信息",
  9951. "parameters": [
  9952. {
  9953. "type": "string",
  9954. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9955. "name": "goodsCodes",
  9956. "in": "query",
  9957. "required": true
  9958. }
  9959. ],
  9960. "responses": {
  9961. "200": {
  9962. "description": "OK",
  9963. "schema": {
  9964. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9965. }
  9966. },
  9967. "500": {
  9968. "description": "Internal Server Error",
  9969. "schema": {
  9970. "$ref": "#/definitions/app.Response"
  9971. }
  9972. }
  9973. }
  9974. }
  9975. },
  9976. "/Quote/QueryTSData": {
  9977. "get": {
  9978. "security": [
  9979. {
  9980. "ApiKeyAuth": []
  9981. }
  9982. ],
  9983. "produces": [
  9984. "application/json"
  9985. ],
  9986. "tags": [
  9987. "行情服务"
  9988. ],
  9989. "summary": "分时图数据查询",
  9990. "parameters": [
  9991. {
  9992. "type": "string",
  9993. "description": "商品代码",
  9994. "name": "goodsCode",
  9995. "in": "query",
  9996. "required": true
  9997. }
  9998. ],
  9999. "responses": {
  10000. "200": {
  10001. "description": "OK",
  10002. "schema": {
  10003. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10004. }
  10005. },
  10006. "500": {
  10007. "description": "Internal Server Error",
  10008. "schema": {
  10009. "$ref": "#/definitions/app.Response"
  10010. }
  10011. }
  10012. }
  10013. }
  10014. },
  10015. "/SZDZ/QueryConvertConfig": {
  10016. "get": {
  10017. "security": [
  10018. {
  10019. "ApiKeyAuth": []
  10020. }
  10021. ],
  10022. "produces": [
  10023. "application/json"
  10024. ],
  10025. "tags": [
  10026. "定制【尚志大宗】"
  10027. ],
  10028. "summary": "查询交易系统转换设置",
  10029. "parameters": [
  10030. {
  10031. "type": "integer",
  10032. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10033. "name": "convertType",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "string",
  10038. "description": "外部商品代码[JD\\PD]",
  10039. "name": "outerGoodsCode",
  10040. "in": "query"
  10041. },
  10042. {
  10043. "type": "string",
  10044. "description": "内部商品ID列表[交易],格式:1,2,3",
  10045. "name": "innerGoodsIDs",
  10046. "in": "query"
  10047. }
  10048. ],
  10049. "responses": {
  10050. "200": {
  10051. "description": "OK",
  10052. "schema": {
  10053. "$ref": "#/definitions/models.Szdz3convertconfig"
  10054. }
  10055. },
  10056. "500": {
  10057. "description": "Internal Server Error",
  10058. "schema": {
  10059. "$ref": "#/definitions/app.Response"
  10060. }
  10061. }
  10062. }
  10063. }
  10064. },
  10065. "/SZDZ/QueryConvertLog": {
  10066. "get": {
  10067. "security": [
  10068. {
  10069. "ApiKeyAuth": []
  10070. }
  10071. ],
  10072. "produces": [
  10073. "application/json"
  10074. ],
  10075. "tags": [
  10076. "定制【尚志大宗】"
  10077. ],
  10078. "summary": "交易系统转换流水查询",
  10079. "parameters": [
  10080. {
  10081. "type": "string",
  10082. "description": "资金账户 - 格式:1,2,3",
  10083. "name": "accountID",
  10084. "in": "query",
  10085. "required": true
  10086. },
  10087. {
  10088. "type": "string",
  10089. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10090. "name": "startDate",
  10091. "in": "query"
  10092. },
  10093. {
  10094. "type": "string",
  10095. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10096. "name": "endDate",
  10097. "in": "query"
  10098. }
  10099. ],
  10100. "responses": {
  10101. "200": {
  10102. "description": "OK",
  10103. "schema": {
  10104. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10105. }
  10106. },
  10107. "500": {
  10108. "description": "Internal Server Error",
  10109. "schema": {
  10110. "$ref": "#/definitions/app.Response"
  10111. }
  10112. }
  10113. }
  10114. }
  10115. },
  10116. "/SZDZ/QueryGoodsPickup": {
  10117. "get": {
  10118. "security": [
  10119. {
  10120. "ApiKeyAuth": []
  10121. }
  10122. ],
  10123. "produces": [
  10124. "application/json"
  10125. ],
  10126. "tags": [
  10127. "定制【尚志大宗】"
  10128. ],
  10129. "summary": "商品提货单查询",
  10130. "parameters": [
  10131. {
  10132. "type": "string",
  10133. "description": "资金账户 - 格式:1,2,3",
  10134. "name": "accountID",
  10135. "in": "query",
  10136. "required": true
  10137. },
  10138. {
  10139. "type": "integer",
  10140. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10141. "name": "takeOrderStatus",
  10142. "in": "query"
  10143. }
  10144. ],
  10145. "responses": {
  10146. "200": {
  10147. "description": "OK",
  10148. "schema": {
  10149. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10150. }
  10151. },
  10152. "500": {
  10153. "description": "Internal Server Error",
  10154. "schema": {
  10155. "$ref": "#/definitions/app.Response"
  10156. }
  10157. }
  10158. }
  10159. }
  10160. },
  10161. "/SZDZ/QueryRecieptOrder": {
  10162. "get": {
  10163. "security": [
  10164. {
  10165. "ApiKeyAuth": []
  10166. }
  10167. ],
  10168. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10169. "produces": [
  10170. "application/json"
  10171. ],
  10172. "tags": [
  10173. "定制【尚志大宗】"
  10174. ],
  10175. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10176. "parameters": [
  10177. {
  10178. "type": "integer",
  10179. "description": "页码",
  10180. "name": "page",
  10181. "in": "query"
  10182. },
  10183. {
  10184. "type": "integer",
  10185. "description": "每页条数",
  10186. "name": "pagesize",
  10187. "in": "query"
  10188. },
  10189. {
  10190. "type": "integer",
  10191. "description": "商品ID",
  10192. "name": "goodsID",
  10193. "in": "query",
  10194. "required": true
  10195. },
  10196. {
  10197. "type": "string",
  10198. "description": "所属账户名称",
  10199. "name": "accountName",
  10200. "in": "query"
  10201. },
  10202. {
  10203. "type": "integer",
  10204. "description": "市场ID",
  10205. "name": "marketID",
  10206. "in": "query"
  10207. },
  10208. {
  10209. "type": "integer",
  10210. "description": "方向 - 0:买 1:卖",
  10211. "name": "buyorsell",
  10212. "in": "query",
  10213. "required": true
  10214. }
  10215. ],
  10216. "responses": {
  10217. "200": {
  10218. "description": "OK",
  10219. "schema": {
  10220. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10221. }
  10222. },
  10223. "500": {
  10224. "description": "Internal Server Error",
  10225. "schema": {
  10226. "$ref": "#/definitions/app.Response"
  10227. }
  10228. }
  10229. }
  10230. }
  10231. },
  10232. "/SZDZ/QuerySZDZTradePosition": {
  10233. "get": {
  10234. "security": [
  10235. {
  10236. "ApiKeyAuth": []
  10237. }
  10238. ],
  10239. "produces": [
  10240. "application/json"
  10241. ],
  10242. "tags": [
  10243. "定制【尚志大宗】"
  10244. ],
  10245. "summary": "持仓汇总查询(尚志大宗)",
  10246. "parameters": [
  10247. {
  10248. "type": "integer",
  10249. "description": "资金账户",
  10250. "name": "accountID",
  10251. "in": "query",
  10252. "required": true
  10253. }
  10254. ],
  10255. "responses": {
  10256. "200": {
  10257. "description": "OK",
  10258. "schema": {
  10259. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10260. }
  10261. },
  10262. "500": {
  10263. "description": "Internal Server Error",
  10264. "schema": {
  10265. "$ref": "#/definitions/app.Response"
  10266. }
  10267. }
  10268. }
  10269. }
  10270. },
  10271. "/SZDZ/SearchWhite": {
  10272. "get": {
  10273. "security": [
  10274. {
  10275. "ApiKeyAuth": []
  10276. }
  10277. ],
  10278. "produces": [
  10279. "application/json"
  10280. ],
  10281. "tags": [
  10282. "定制【尚志大宗】"
  10283. ],
  10284. "summary": "搜索白名单",
  10285. "parameters": [
  10286. {
  10287. "type": "integer",
  10288. "description": "用户ID",
  10289. "name": "userID",
  10290. "in": "query",
  10291. "required": true
  10292. }
  10293. ],
  10294. "responses": {
  10295. "200": {
  10296. "description": "OK",
  10297. "schema": {
  10298. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10299. }
  10300. },
  10301. "500": {
  10302. "description": "Internal Server Error",
  10303. "schema": {
  10304. "$ref": "#/definitions/app.Response"
  10305. }
  10306. }
  10307. }
  10308. }
  10309. },
  10310. "/Search/SearchGoodses": {
  10311. "get": {
  10312. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10313. "produces": [
  10314. "application/json"
  10315. ],
  10316. "tags": [
  10317. "检索服务"
  10318. ],
  10319. "summary": "检索商品信息",
  10320. "parameters": [
  10321. {
  10322. "type": "string",
  10323. "description": "检索内容",
  10324. "name": "content",
  10325. "in": "query",
  10326. "required": true
  10327. },
  10328. {
  10329. "type": "string",
  10330. "description": "交易模式,格式:1,2,3",
  10331. "name": "tradeModes",
  10332. "in": "query"
  10333. }
  10334. ],
  10335. "responses": {
  10336. "200": {
  10337. "description": "OK",
  10338. "schema": {
  10339. "$ref": "#/definitions/models.SearchGoods"
  10340. }
  10341. },
  10342. "500": {
  10343. "description": "Internal Server Error",
  10344. "schema": {
  10345. "$ref": "#/definitions/app.Response"
  10346. }
  10347. }
  10348. }
  10349. }
  10350. },
  10351. "/TaAccount/GetTaAccounts": {
  10352. "get": {
  10353. "security": [
  10354. {
  10355. "ApiKeyAuth": []
  10356. }
  10357. ],
  10358. "produces": [
  10359. "application/json"
  10360. ],
  10361. "tags": [
  10362. "资金账户"
  10363. ],
  10364. "summary": "获取资金账户信息",
  10365. "parameters": [
  10366. {
  10367. "type": "integer",
  10368. "description": "登录账户",
  10369. "name": "loginID",
  10370. "in": "query",
  10371. "required": true
  10372. },
  10373. {
  10374. "type": "integer",
  10375. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10376. "name": "taAccountType",
  10377. "in": "query"
  10378. }
  10379. ],
  10380. "responses": {
  10381. "200": {
  10382. "description": "OK",
  10383. "schema": {
  10384. "$ref": "#/definitions/models.Taaccount"
  10385. }
  10386. },
  10387. "500": {
  10388. "description": "Internal Server Error",
  10389. "schema": {
  10390. "$ref": "#/definitions/app.Response"
  10391. }
  10392. }
  10393. }
  10394. }
  10395. },
  10396. "/TaAccount/QueryAmountLog": {
  10397. "get": {
  10398. "security": [
  10399. {
  10400. "ApiKeyAuth": []
  10401. }
  10402. ],
  10403. "produces": [
  10404. "application/json"
  10405. ],
  10406. "tags": [
  10407. "资金账户"
  10408. ],
  10409. "summary": "资金流水查询(当前)",
  10410. "parameters": [
  10411. {
  10412. "type": "integer",
  10413. "description": "页码",
  10414. "name": "page",
  10415. "in": "query"
  10416. },
  10417. {
  10418. "type": "integer",
  10419. "description": "每页条数",
  10420. "name": "pagesize",
  10421. "in": "query"
  10422. },
  10423. {
  10424. "type": "string",
  10425. "description": "资金账户 - 格式:1,2,3",
  10426. "name": "accountID",
  10427. "in": "query",
  10428. "required": true
  10429. },
  10430. {
  10431. "type": "string",
  10432. "description": "资金操作类型 - 格式:1,2,3",
  10433. "name": "OperateType",
  10434. "in": "query"
  10435. }
  10436. ],
  10437. "responses": {
  10438. "200": {
  10439. "description": "OK",
  10440. "schema": {
  10441. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10442. }
  10443. },
  10444. "500": {
  10445. "description": "Internal Server Error",
  10446. "schema": {
  10447. "$ref": "#/definitions/app.Response"
  10448. }
  10449. }
  10450. }
  10451. }
  10452. },
  10453. "/TaAccount/QueryHisAmountLog": {
  10454. "get": {
  10455. "security": [
  10456. {
  10457. "ApiKeyAuth": []
  10458. }
  10459. ],
  10460. "produces": [
  10461. "application/json"
  10462. ],
  10463. "tags": [
  10464. "资金账户"
  10465. ],
  10466. "summary": "资金流水查询(历史)",
  10467. "parameters": [
  10468. {
  10469. "type": "integer",
  10470. "description": "页码",
  10471. "name": "page",
  10472. "in": "query"
  10473. },
  10474. {
  10475. "type": "integer",
  10476. "description": "每页条数",
  10477. "name": "pagesize",
  10478. "in": "query"
  10479. },
  10480. {
  10481. "type": "string",
  10482. "description": "资金账户 - 格式:1,2,3",
  10483. "name": "accountID",
  10484. "in": "query",
  10485. "required": true
  10486. },
  10487. {
  10488. "type": "string",
  10489. "description": "资金操作类型 - 格式:1,2,3",
  10490. "name": "OperateType",
  10491. "in": "query"
  10492. },
  10493. {
  10494. "type": "string",
  10495. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10496. "name": "startDate",
  10497. "in": "query"
  10498. },
  10499. {
  10500. "type": "string",
  10501. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10502. "name": "endDate",
  10503. "in": "query"
  10504. }
  10505. ],
  10506. "responses": {
  10507. "200": {
  10508. "description": "OK",
  10509. "schema": {
  10510. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10511. }
  10512. },
  10513. "500": {
  10514. "description": "Internal Server Error",
  10515. "schema": {
  10516. "$ref": "#/definitions/app.Response"
  10517. }
  10518. }
  10519. }
  10520. }
  10521. },
  10522. "/Tjmd/QueryQuoteGoodsList": {
  10523. "get": {
  10524. "security": [
  10525. {
  10526. "ApiKeyAuth": []
  10527. }
  10528. ],
  10529. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  10530. "produces": [
  10531. "application/json"
  10532. ],
  10533. "tags": [
  10534. "天津麦顿"
  10535. ],
  10536. "summary": "查询掉期报价列表",
  10537. "parameters": [
  10538. {
  10539. "type": "integer",
  10540. "description": "用户类型",
  10541. "name": "usertype",
  10542. "in": "query",
  10543. "required": true
  10544. },
  10545. {
  10546. "type": "string",
  10547. "description": "市场id, 格式 1,2,3",
  10548. "name": "marketids",
  10549. "in": "query"
  10550. },
  10551. {
  10552. "type": "integer",
  10553. "description": "商品组id",
  10554. "name": "goodsgroupid",
  10555. "in": "query"
  10556. },
  10557. {
  10558. "type": "integer",
  10559. "description": "商品id",
  10560. "name": "goodsid",
  10561. "in": "query"
  10562. }
  10563. ],
  10564. "responses": {
  10565. "200": {
  10566. "description": "OK",
  10567. "schema": {
  10568. "type": "array",
  10569. "items": {
  10570. "$ref": "#/definitions/models.TjmdQuoteGoods"
  10571. }
  10572. }
  10573. },
  10574. "500": {
  10575. "description": "Internal Server Error",
  10576. "schema": {
  10577. "$ref": "#/definitions/app.Response"
  10578. }
  10579. }
  10580. }
  10581. }
  10582. },
  10583. "/Tjmd/QueryTjmdTodayAccountMargin": {
  10584. "get": {
  10585. "security": [
  10586. {
  10587. "ApiKeyAuth": []
  10588. }
  10589. ],
  10590. "produces": [
  10591. "application/json"
  10592. ],
  10593. "tags": [
  10594. "天津麦顿"
  10595. ],
  10596. "summary": "查询今日账户保证金配置",
  10597. "parameters": [
  10598. {
  10599. "type": "string",
  10600. "description": "市场id",
  10601. "name": "marketid",
  10602. "in": "query"
  10603. },
  10604. {
  10605. "type": "string",
  10606. "description": "商品id",
  10607. "name": "goodsid",
  10608. "in": "query"
  10609. },
  10610. {
  10611. "type": "string",
  10612. "description": "资金账号",
  10613. "name": "accountid",
  10614. "in": "query"
  10615. }
  10616. ],
  10617. "responses": {
  10618. "200": {
  10619. "description": "OK",
  10620. "schema": {
  10621. "type": "array",
  10622. "items": {
  10623. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  10624. }
  10625. }
  10626. },
  10627. "500": {
  10628. "description": "Internal Server Error",
  10629. "schema": {
  10630. "$ref": "#/definitions/app.Response"
  10631. }
  10632. }
  10633. }
  10634. }
  10635. },
  10636. "/Tjmd/QueryTjmdTradeOrderDetail": {
  10637. "get": {
  10638. "security": [
  10639. {
  10640. "ApiKeyAuth": []
  10641. }
  10642. ],
  10643. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  10644. "produces": [
  10645. "application/json"
  10646. ],
  10647. "tags": [
  10648. "天津麦顿"
  10649. ],
  10650. "summary": "查询掉期买卖大厅",
  10651. "parameters": [
  10652. {
  10653. "type": "integer",
  10654. "description": "页码",
  10655. "name": "page",
  10656. "in": "query"
  10657. },
  10658. {
  10659. "type": "integer",
  10660. "description": "每页条数",
  10661. "name": "pagesize",
  10662. "in": "query"
  10663. },
  10664. {
  10665. "type": "integer",
  10666. "description": "用户id",
  10667. "name": "userid",
  10668. "in": "query",
  10669. "required": true
  10670. },
  10671. {
  10672. "type": "integer",
  10673. "description": "用户类型",
  10674. "name": "usertype",
  10675. "in": "query",
  10676. "required": true
  10677. },
  10678. {
  10679. "type": "string",
  10680. "description": "市场id, 格式 1,2,3",
  10681. "name": "marketids",
  10682. "in": "query"
  10683. },
  10684. {
  10685. "type": "integer",
  10686. "description": "商品id",
  10687. "name": "goodsid",
  10688. "in": "query",
  10689. "required": true
  10690. },
  10691. {
  10692. "type": "integer",
  10693. "description": "买卖方向 0-买 1-卖",
  10694. "name": "buyorsell",
  10695. "in": "query",
  10696. "required": true
  10697. }
  10698. ],
  10699. "responses": {
  10700. "200": {
  10701. "description": "OK",
  10702. "schema": {
  10703. "type": "array",
  10704. "items": {
  10705. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  10706. }
  10707. }
  10708. },
  10709. "500": {
  10710. "description": "Internal Server Error",
  10711. "schema": {
  10712. "$ref": "#/definitions/app.Response"
  10713. }
  10714. }
  10715. }
  10716. }
  10717. },
  10718. "/Tjmd/QueryTjmdTransferApply": {
  10719. "get": {
  10720. "security": [
  10721. {
  10722. "ApiKeyAuth": []
  10723. }
  10724. ],
  10725. "produces": [
  10726. "application/json"
  10727. ],
  10728. "tags": [
  10729. "天津麦顿"
  10730. ],
  10731. "summary": "查询掉期协议单",
  10732. "parameters": [
  10733. {
  10734. "type": "integer",
  10735. "description": "类型 1-我的申请 2-对方申请",
  10736. "name": "applytype",
  10737. "in": "query",
  10738. "required": true
  10739. },
  10740. {
  10741. "type": "string",
  10742. "description": "市场id, 格式 1,2,3",
  10743. "name": "marketids",
  10744. "in": "query"
  10745. },
  10746. {
  10747. "type": "string",
  10748. "description": "资金账号, 格式 25000000001,25000000003",
  10749. "name": "accountids",
  10750. "in": "query"
  10751. }
  10752. ],
  10753. "responses": {
  10754. "200": {
  10755. "description": "OK",
  10756. "schema": {
  10757. "type": "array",
  10758. "items": {
  10759. "$ref": "#/definitions/models.TjmdTransferApply"
  10760. }
  10761. }
  10762. },
  10763. "500": {
  10764. "description": "Internal Server Error",
  10765. "schema": {
  10766. "$ref": "#/definitions/app.Response"
  10767. }
  10768. }
  10769. }
  10770. }
  10771. },
  10772. "/Trade/QueryRecieptOrder": {
  10773. "get": {
  10774. "security": [
  10775. {
  10776. "ApiKeyAuth": []
  10777. }
  10778. ],
  10779. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10780. "produces": [
  10781. "application/json"
  10782. ],
  10783. "tags": [
  10784. "通用交易"
  10785. ],
  10786. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10787. "parameters": [
  10788. {
  10789. "type": "integer",
  10790. "description": "页码",
  10791. "name": "page",
  10792. "in": "query"
  10793. },
  10794. {
  10795. "type": "integer",
  10796. "description": "每页条数",
  10797. "name": "pagesize",
  10798. "in": "query"
  10799. },
  10800. {
  10801. "type": "integer",
  10802. "description": "商品ID",
  10803. "name": "goodsID",
  10804. "in": "query",
  10805. "required": true
  10806. },
  10807. {
  10808. "type": "string",
  10809. "description": "所属账户名称",
  10810. "name": "accountName",
  10811. "in": "query"
  10812. },
  10813. {
  10814. "type": "integer",
  10815. "description": "市场ID",
  10816. "name": "marketID",
  10817. "in": "query"
  10818. },
  10819. {
  10820. "type": "integer",
  10821. "description": "方向 - 0:买 1:卖",
  10822. "name": "buyorsell",
  10823. "in": "query",
  10824. "required": true
  10825. }
  10826. ],
  10827. "responses": {
  10828. "200": {
  10829. "description": "OK",
  10830. "schema": {
  10831. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10832. }
  10833. },
  10834. "500": {
  10835. "description": "Internal Server Error",
  10836. "schema": {
  10837. "$ref": "#/definitions/app.Response"
  10838. }
  10839. }
  10840. }
  10841. }
  10842. },
  10843. "/User/AddMessageBoard": {
  10844. "post": {
  10845. "security": [
  10846. {
  10847. "ApiKeyAuth": []
  10848. }
  10849. ],
  10850. "produces": [
  10851. "application/json"
  10852. ],
  10853. "tags": [
  10854. "用户信息"
  10855. ],
  10856. "summary": "添加用户留言板信息",
  10857. "parameters": [
  10858. {
  10859. "type": "integer",
  10860. "description": "用户ID",
  10861. "name": "userID",
  10862. "in": "query",
  10863. "required": true
  10864. },
  10865. {
  10866. "type": "string",
  10867. "description": "留言信息",
  10868. "name": "message",
  10869. "in": "query",
  10870. "required": true
  10871. },
  10872. {
  10873. "type": "string",
  10874. "description": "联系电话",
  10875. "name": "contactNum",
  10876. "in": "query",
  10877. "required": true
  10878. }
  10879. ],
  10880. "responses": {
  10881. "200": {
  10882. "description": "OK",
  10883. "schema": {
  10884. "$ref": "#/definitions/app.Response"
  10885. }
  10886. },
  10887. "500": {
  10888. "description": "Internal Server Error",
  10889. "schema": {
  10890. "$ref": "#/definitions/app.Response"
  10891. }
  10892. }
  10893. }
  10894. }
  10895. },
  10896. "/User/AddUserFavoriteGoods": {
  10897. "post": {
  10898. "security": [
  10899. {
  10900. "ApiKeyAuth": []
  10901. }
  10902. ],
  10903. "produces": [
  10904. "application/json"
  10905. ],
  10906. "tags": [
  10907. "用户信息"
  10908. ],
  10909. "summary": "添加用户商品收藏信息",
  10910. "parameters": [
  10911. {
  10912. "type": "integer",
  10913. "description": "用户ID",
  10914. "name": "userID",
  10915. "in": "query",
  10916. "required": true
  10917. },
  10918. {
  10919. "type": "integer",
  10920. "description": "商品ID",
  10921. "name": "goodsID",
  10922. "in": "query",
  10923. "required": true
  10924. }
  10925. ],
  10926. "responses": {
  10927. "200": {
  10928. "description": "OK",
  10929. "schema": {
  10930. "$ref": "#/definitions/app.Response"
  10931. }
  10932. },
  10933. "500": {
  10934. "description": "Internal Server Error",
  10935. "schema": {
  10936. "$ref": "#/definitions/app.Response"
  10937. }
  10938. }
  10939. }
  10940. }
  10941. },
  10942. "/User/GetLoginID": {
  10943. "get": {
  10944. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10945. "produces": [
  10946. "application/json"
  10947. ],
  10948. "tags": [
  10949. "用户信息"
  10950. ],
  10951. "summary": "获取登录ID",
  10952. "parameters": [
  10953. {
  10954. "type": "string",
  10955. "description": "登录代码",
  10956. "name": "username",
  10957. "in": "query",
  10958. "required": true
  10959. }
  10960. ],
  10961. "responses": {
  10962. "200": {
  10963. "description": "OK",
  10964. "schema": {
  10965. "$ref": "#/definitions/app.Response"
  10966. }
  10967. },
  10968. "500": {
  10969. "description": "Internal Server Error",
  10970. "schema": {
  10971. "$ref": "#/definitions/app.Response"
  10972. }
  10973. }
  10974. }
  10975. }
  10976. },
  10977. "/User/GetUserAccount": {
  10978. "get": {
  10979. "security": [
  10980. {
  10981. "ApiKeyAuth": []
  10982. }
  10983. ],
  10984. "produces": [
  10985. "application/json"
  10986. ],
  10987. "tags": [
  10988. "用户信息"
  10989. ],
  10990. "summary": "获取用户账号信息",
  10991. "parameters": [
  10992. {
  10993. "type": "integer",
  10994. "description": "用户ID",
  10995. "name": "userID",
  10996. "in": "query",
  10997. "required": true
  10998. }
  10999. ],
  11000. "responses": {
  11001. "200": {
  11002. "description": "OK",
  11003. "schema": {
  11004. "$ref": "#/definitions/models.Useraccount"
  11005. }
  11006. },
  11007. "500": {
  11008. "description": "Internal Server Error",
  11009. "schema": {
  11010. "$ref": "#/definitions/app.Response"
  11011. }
  11012. }
  11013. }
  11014. }
  11015. },
  11016. "/User/GetUserAuthStatus": {
  11017. "get": {
  11018. "security": [
  11019. {
  11020. "ApiKeyAuth": []
  11021. }
  11022. ],
  11023. "produces": [
  11024. "application/json"
  11025. ],
  11026. "tags": [
  11027. "用户信息"
  11028. ],
  11029. "summary": "获取用户实名认证状态",
  11030. "parameters": [
  11031. {
  11032. "type": "integer",
  11033. "description": "用户ID",
  11034. "name": "userID",
  11035. "in": "query",
  11036. "required": true
  11037. }
  11038. ],
  11039. "responses": {
  11040. "200": {
  11041. "description": "OK",
  11042. "schema": {
  11043. "$ref": "#/definitions/app.Response"
  11044. }
  11045. },
  11046. "500": {
  11047. "description": "Internal Server Error",
  11048. "schema": {
  11049. "$ref": "#/definitions/app.Response"
  11050. }
  11051. }
  11052. }
  11053. }
  11054. },
  11055. "/User/LoginQuery": {
  11056. "get": {
  11057. "security": [
  11058. {
  11059. "ApiKeyAuth": []
  11060. }
  11061. ],
  11062. "produces": [
  11063. "application/json"
  11064. ],
  11065. "tags": [
  11066. "用户信息"
  11067. ],
  11068. "summary": "账户登录后信息查询",
  11069. "parameters": [
  11070. {
  11071. "type": "integer",
  11072. "description": "登录账号",
  11073. "name": "loginID",
  11074. "in": "query",
  11075. "required": true
  11076. }
  11077. ],
  11078. "responses": {
  11079. "200": {
  11080. "description": "OK",
  11081. "schema": {
  11082. "$ref": "#/definitions/user.LoginQueryRsp"
  11083. }
  11084. },
  11085. "500": {
  11086. "description": "Internal Server Error",
  11087. "schema": {
  11088. "$ref": "#/definitions/app.Response"
  11089. }
  11090. }
  11091. }
  11092. }
  11093. },
  11094. "/User/QueryMessageBoard": {
  11095. "get": {
  11096. "security": [
  11097. {
  11098. "ApiKeyAuth": []
  11099. }
  11100. ],
  11101. "produces": [
  11102. "application/json"
  11103. ],
  11104. "tags": [
  11105. "用户信息"
  11106. ],
  11107. "summary": "获取用户留言板信息",
  11108. "parameters": [
  11109. {
  11110. "type": "integer",
  11111. "description": "用户ID",
  11112. "name": "userID",
  11113. "in": "query",
  11114. "required": true
  11115. }
  11116. ],
  11117. "responses": {
  11118. "200": {
  11119. "description": "OK",
  11120. "schema": {
  11121. "$ref": "#/definitions/models.Messageboard"
  11122. }
  11123. },
  11124. "500": {
  11125. "description": "Internal Server Error",
  11126. "schema": {
  11127. "$ref": "#/definitions/app.Response"
  11128. }
  11129. }
  11130. }
  11131. }
  11132. },
  11133. "/User/QueryUserFavoriteGoodses": {
  11134. "get": {
  11135. "security": [
  11136. {
  11137. "ApiKeyAuth": []
  11138. }
  11139. ],
  11140. "produces": [
  11141. "application/json"
  11142. ],
  11143. "tags": [
  11144. "用户信息"
  11145. ],
  11146. "summary": "获取用户商品收藏信息",
  11147. "parameters": [
  11148. {
  11149. "type": "integer",
  11150. "description": "用户ID",
  11151. "name": "userID",
  11152. "in": "query",
  11153. "required": true
  11154. }
  11155. ],
  11156. "responses": {
  11157. "200": {
  11158. "description": "OK",
  11159. "schema": {
  11160. "$ref": "#/definitions/models.Userfavoritegoods"
  11161. }
  11162. },
  11163. "500": {
  11164. "description": "Internal Server Error",
  11165. "schema": {
  11166. "$ref": "#/definitions/app.Response"
  11167. }
  11168. }
  11169. }
  11170. }
  11171. },
  11172. "/User/QueryUserInfo": {
  11173. "get": {
  11174. "security": [
  11175. {
  11176. "ApiKeyAuth": []
  11177. }
  11178. ],
  11179. "produces": [
  11180. "application/json"
  11181. ],
  11182. "tags": [
  11183. "用户信息"
  11184. ],
  11185. "summary": "获取用户信息",
  11186. "parameters": [
  11187. {
  11188. "type": "integer",
  11189. "description": "用户ID",
  11190. "name": "userID",
  11191. "in": "query",
  11192. "required": true
  11193. },
  11194. {
  11195. "type": "boolean",
  11196. "description": "是否解密",
  11197. "name": "isDecrypt",
  11198. "in": "query"
  11199. }
  11200. ],
  11201. "responses": {
  11202. "200": {
  11203. "description": "OK",
  11204. "schema": {
  11205. "$ref": "#/definitions/models.Userinfo"
  11206. }
  11207. },
  11208. "500": {
  11209. "description": "Internal Server Error",
  11210. "schema": {
  11211. "$ref": "#/definitions/app.Response"
  11212. }
  11213. }
  11214. }
  11215. }
  11216. },
  11217. "/User/QueryUserReferNum": {
  11218. "get": {
  11219. "produces": [
  11220. "application/json"
  11221. ],
  11222. "tags": [
  11223. "用户信息"
  11224. ],
  11225. "summary": "获取用户邀请码",
  11226. "parameters": [
  11227. {
  11228. "type": "integer",
  11229. "description": "用户ID",
  11230. "name": "userID",
  11231. "in": "query",
  11232. "required": true
  11233. }
  11234. ],
  11235. "responses": {
  11236. "200": {
  11237. "description": "OK",
  11238. "schema": {
  11239. "$ref": "#/definitions/app.Response"
  11240. }
  11241. },
  11242. "500": {
  11243. "description": "Internal Server Error",
  11244. "schema": {
  11245. "$ref": "#/definitions/app.Response"
  11246. }
  11247. }
  11248. }
  11249. }
  11250. },
  11251. "/User/RemoveUserFavoriteGoods": {
  11252. "post": {
  11253. "security": [
  11254. {
  11255. "ApiKeyAuth": []
  11256. }
  11257. ],
  11258. "produces": [
  11259. "application/json"
  11260. ],
  11261. "tags": [
  11262. "用户信息"
  11263. ],
  11264. "summary": "移除用户商品收藏信息",
  11265. "parameters": [
  11266. {
  11267. "type": "integer",
  11268. "description": "用户ID",
  11269. "name": "userID",
  11270. "in": "query",
  11271. "required": true
  11272. },
  11273. {
  11274. "type": "integer",
  11275. "description": "商品ID",
  11276. "name": "goodsID",
  11277. "in": "query",
  11278. "required": true
  11279. }
  11280. ],
  11281. "responses": {
  11282. "200": {
  11283. "description": "OK",
  11284. "schema": {
  11285. "$ref": "#/definitions/app.Response"
  11286. }
  11287. },
  11288. "500": {
  11289. "description": "Internal Server Error",
  11290. "schema": {
  11291. "$ref": "#/definitions/app.Response"
  11292. }
  11293. }
  11294. }
  11295. }
  11296. },
  11297. "/User/UpdateUserAccountStatus": {
  11298. "post": {
  11299. "security": [
  11300. {
  11301. "ApiKeyAuth": []
  11302. }
  11303. ],
  11304. "produces": [
  11305. "application/json"
  11306. ],
  11307. "tags": [
  11308. "用户信息"
  11309. ],
  11310. "summary": "更新用户状态",
  11311. "parameters": [
  11312. {
  11313. "type": "integer",
  11314. "description": "用户ID",
  11315. "name": "userID",
  11316. "in": "query",
  11317. "required": true
  11318. },
  11319. {
  11320. "type": "integer",
  11321. "description": "账户状态 - 4:正常 6:注销(停用)",
  11322. "name": "accountStatus",
  11323. "in": "query",
  11324. "required": true
  11325. }
  11326. ],
  11327. "responses": {
  11328. "200": {
  11329. "description": "OK",
  11330. "schema": {
  11331. "$ref": "#/definitions/app.Response"
  11332. }
  11333. },
  11334. "500": {
  11335. "description": "Internal Server Error",
  11336. "schema": {
  11337. "$ref": "#/definitions/app.Response"
  11338. }
  11339. }
  11340. }
  11341. }
  11342. },
  11343. "/WRTrade/GetAllDeliveryGoods": {
  11344. "get": {
  11345. "security": [
  11346. {
  11347. "ApiKeyAuth": []
  11348. },
  11349. {
  11350. "ApiKeyAuth": []
  11351. }
  11352. ],
  11353. "produces": [
  11354. "application/json",
  11355. "application/json"
  11356. ],
  11357. "tags": [
  11358. "仓单贸易",
  11359. "仓单贸易"
  11360. ],
  11361. "summary": "获取带仓单分类的种类信息",
  11362. "responses": {
  11363. "200": {
  11364. "description": "OK",
  11365. "schema": {
  11366. "$ref": "#/definitions/app.Response"
  11367. }
  11368. },
  11369. "500": {
  11370. "description": "Internal Server Error",
  11371. "schema": {
  11372. "$ref": "#/definitions/app.Response"
  11373. }
  11374. }
  11375. }
  11376. }
  11377. },
  11378. "/WrTrade2/QueryFaProductDetail": {
  11379. "get": {
  11380. "security": [
  11381. {
  11382. "ApiKeyAuth": []
  11383. }
  11384. ],
  11385. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11386. "produces": [
  11387. "application/json"
  11388. ],
  11389. "tags": [
  11390. "仓单贸易v2"
  11391. ],
  11392. "summary": "查询融资产品列表",
  11393. "parameters": [
  11394. {
  11395. "type": "integer",
  11396. "description": "仓单要素id",
  11397. "name": "wrfactortypeid",
  11398. "in": "query",
  11399. "required": true
  11400. }
  11401. ],
  11402. "responses": {
  11403. "200": {
  11404. "description": "OK",
  11405. "schema": {
  11406. "type": "array",
  11407. "items": {
  11408. "$ref": "#/definitions/models.WrFAProductDetail"
  11409. }
  11410. }
  11411. },
  11412. "500": {
  11413. "description": "Internal Server Error",
  11414. "schema": {
  11415. "$ref": "#/definitions/app.Response"
  11416. }
  11417. }
  11418. }
  11419. }
  11420. },
  11421. "/WrTrade2/QueryFilterItem": {
  11422. "get": {
  11423. "security": [
  11424. {
  11425. "ApiKeyAuth": []
  11426. }
  11427. ],
  11428. "produces": [
  11429. "application/json"
  11430. ],
  11431. "tags": [
  11432. "仓单贸易v2"
  11433. ],
  11434. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11435. "parameters": [
  11436. {
  11437. "type": "string",
  11438. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11439. "name": "itype",
  11440. "in": "query",
  11441. "required": true
  11442. }
  11443. ],
  11444. "responses": {
  11445. "200": {
  11446. "description": "OK",
  11447. "schema": {
  11448. "type": "array",
  11449. "items": {
  11450. "$ref": "#/definitions/models.WrFilterItem"
  11451. }
  11452. }
  11453. },
  11454. "500": {
  11455. "description": "Internal Server Error",
  11456. "schema": {
  11457. "$ref": "#/definitions/app.Response"
  11458. }
  11459. }
  11460. }
  11461. }
  11462. },
  11463. "/WrTrade2/QueryFtDeliveryGoods": {
  11464. "get": {
  11465. "security": [
  11466. {
  11467. "ApiKeyAuth": []
  11468. }
  11469. ],
  11470. "produces": [
  11471. "application/json"
  11472. ],
  11473. "tags": [
  11474. "仓单贸易v2"
  11475. ],
  11476. "summary": "查询品种品类筛选框列表",
  11477. "responses": {
  11478. "200": {
  11479. "description": "OK",
  11480. "schema": {
  11481. "type": "array",
  11482. "items": {
  11483. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11484. }
  11485. }
  11486. },
  11487. "500": {
  11488. "description": "Internal Server Error",
  11489. "schema": {
  11490. "$ref": "#/definitions/app.Response"
  11491. }
  11492. }
  11493. }
  11494. }
  11495. },
  11496. "/WrTrade2/QueryHoldLB": {
  11497. "get": {
  11498. "security": [
  11499. {
  11500. "ApiKeyAuth": []
  11501. }
  11502. ],
  11503. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11504. "produces": [
  11505. "application/json"
  11506. ],
  11507. "tags": [
  11508. "仓单贸易v2"
  11509. ],
  11510. "summary": "查询仓单持有记录",
  11511. "parameters": [
  11512. {
  11513. "type": "integer",
  11514. "description": "资金账号",
  11515. "name": "accountid",
  11516. "in": "query",
  11517. "required": true
  11518. },
  11519. {
  11520. "type": "integer",
  11521. "description": "仓库id",
  11522. "name": "warehouseid",
  11523. "in": "query"
  11524. },
  11525. {
  11526. "type": "integer",
  11527. "description": "品种id",
  11528. "name": "deliverygoodsid",
  11529. "in": "query"
  11530. },
  11531. {
  11532. "type": "integer",
  11533. "description": "品类id",
  11534. "name": "wrstandardid",
  11535. "in": "query"
  11536. },
  11537. {
  11538. "type": "integer",
  11539. "description": "仓单要素id",
  11540. "name": "wrfactortypeid",
  11541. "in": "query"
  11542. }
  11543. ],
  11544. "responses": {
  11545. "200": {
  11546. "description": "OK",
  11547. "schema": {
  11548. "type": "array",
  11549. "items": {
  11550. "$ref": "#/definitions/models.WrHoldLB"
  11551. }
  11552. }
  11553. },
  11554. "500": {
  11555. "description": "Internal Server Error",
  11556. "schema": {
  11557. "$ref": "#/definitions/app.Response"
  11558. }
  11559. }
  11560. }
  11561. }
  11562. },
  11563. "/WrTrade2/QueryOrderQuote": {
  11564. "get": {
  11565. "security": [
  11566. {
  11567. "ApiKeyAuth": []
  11568. }
  11569. ],
  11570. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11571. "produces": [
  11572. "application/json"
  11573. ],
  11574. "tags": [
  11575. "仓单贸易v2"
  11576. ],
  11577. "summary": "查询大厅行情列表",
  11578. "parameters": [
  11579. {
  11580. "type": "integer",
  11581. "description": "页码",
  11582. "name": "page",
  11583. "in": "query"
  11584. },
  11585. {
  11586. "type": "integer",
  11587. "description": "每页条数",
  11588. "name": "pagesize",
  11589. "in": "query"
  11590. },
  11591. {
  11592. "type": "integer",
  11593. "description": "仓单贸易市场id",
  11594. "name": "marketid",
  11595. "in": "query"
  11596. },
  11597. {
  11598. "type": "integer",
  11599. "description": "价格方式 - 1:固定价 2-浮动价",
  11600. "name": "wrpricetype",
  11601. "in": "query",
  11602. "required": true
  11603. },
  11604. {
  11605. "type": "integer",
  11606. "description": "0:仓单预售 1:仓单贸易",
  11607. "name": "haswr",
  11608. "in": "query",
  11609. "required": true
  11610. },
  11611. {
  11612. "type": "string",
  11613. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11614. "name": "dgitemname",
  11615. "in": "query"
  11616. },
  11617. {
  11618. "type": "integer",
  11619. "description": "仓库id(筛选条件)",
  11620. "name": "warehouseid",
  11621. "in": "query"
  11622. },
  11623. {
  11624. "type": "integer",
  11625. "description": "品种id",
  11626. "name": "deliverygoodsid",
  11627. "in": "query"
  11628. },
  11629. {
  11630. "type": "integer",
  11631. "description": "品类id",
  11632. "name": "wrstandardid",
  11633. "in": "query"
  11634. },
  11635. {
  11636. "type": "integer",
  11637. "description": "仓单要素id",
  11638. "name": "wrfactortypeid",
  11639. "in": "query"
  11640. },
  11641. {
  11642. "type": "string",
  11643. "description": "交收月(yyyy-mm) 仓单预售填写",
  11644. "name": "deliverymonth",
  11645. "in": "query"
  11646. }
  11647. ],
  11648. "responses": {
  11649. "200": {
  11650. "description": "OK",
  11651. "schema": {
  11652. "type": "array",
  11653. "items": {
  11654. "$ref": "#/definitions/models.WrOrderQuote"
  11655. }
  11656. }
  11657. },
  11658. "500": {
  11659. "description": "Internal Server Error",
  11660. "schema": {
  11661. "$ref": "#/definitions/app.Response"
  11662. }
  11663. }
  11664. }
  11665. }
  11666. },
  11667. "/WrTrade2/QueryOrderQuoteDetail": {
  11668. "get": {
  11669. "security": [
  11670. {
  11671. "ApiKeyAuth": []
  11672. }
  11673. ],
  11674. "produces": [
  11675. "application/json"
  11676. ],
  11677. "tags": [
  11678. "仓单贸易v2"
  11679. ],
  11680. "summary": "查询买卖大厅",
  11681. "parameters": [
  11682. {
  11683. "type": "integer",
  11684. "description": "页码",
  11685. "name": "page",
  11686. "in": "query"
  11687. },
  11688. {
  11689. "type": "integer",
  11690. "description": "每页条数",
  11691. "name": "pagesize",
  11692. "in": "query"
  11693. },
  11694. {
  11695. "type": "integer",
  11696. "description": "仓单贸易市场id",
  11697. "name": "marketid",
  11698. "in": "query"
  11699. },
  11700. {
  11701. "type": "integer",
  11702. "description": "价格方式 - 1:固定价 2-浮动价",
  11703. "name": "wrpricetype",
  11704. "in": "query",
  11705. "required": true
  11706. },
  11707. {
  11708. "type": "integer",
  11709. "description": "0:仓单预售 1:仓单贸易",
  11710. "name": "haswr",
  11711. "in": "query",
  11712. "required": true
  11713. },
  11714. {
  11715. "type": "integer",
  11716. "description": "仓单要素id",
  11717. "name": "wrfactortypeid",
  11718. "in": "query",
  11719. "required": true
  11720. },
  11721. {
  11722. "type": "integer",
  11723. "description": "期货商品id(浮动价方式时填)",
  11724. "name": "goodsid",
  11725. "in": "query"
  11726. },
  11727. {
  11728. "type": "integer",
  11729. "description": "买卖方向 0-买 1-卖",
  11730. "name": "buyorsell",
  11731. "in": "query",
  11732. "required": true
  11733. },
  11734. {
  11735. "type": "string",
  11736. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11737. "name": "deliverymonth",
  11738. "in": "query"
  11739. }
  11740. ],
  11741. "responses": {
  11742. "200": {
  11743. "description": "OK",
  11744. "schema": {
  11745. "type": "array",
  11746. "items": {
  11747. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11748. }
  11749. }
  11750. },
  11751. "500": {
  11752. "description": "Internal Server Error",
  11753. "schema": {
  11754. "$ref": "#/definitions/app.Response"
  11755. }
  11756. }
  11757. }
  11758. }
  11759. },
  11760. "/WrTrade2/QueryOrderQuoteMyq": {
  11761. "get": {
  11762. "security": [
  11763. {
  11764. "ApiKeyAuth": []
  11765. }
  11766. ],
  11767. "produces": [
  11768. "application/json"
  11769. ],
  11770. "tags": [
  11771. "仓单贸易v2"
  11772. ],
  11773. "summary": "查询贸易圈挂牌大厅",
  11774. "parameters": [
  11775. {
  11776. "type": "integer",
  11777. "description": "页码",
  11778. "name": "page",
  11779. "in": "query"
  11780. },
  11781. {
  11782. "type": "integer",
  11783. "description": "每页条数",
  11784. "name": "pagesize",
  11785. "in": "query"
  11786. },
  11787. {
  11788. "type": "integer",
  11789. "description": "用户id",
  11790. "name": "userid",
  11791. "in": "query",
  11792. "required": true
  11793. },
  11794. {
  11795. "type": "integer",
  11796. "description": "仓单贸易市场id",
  11797. "name": "marketid",
  11798. "in": "query"
  11799. },
  11800. {
  11801. "type": "integer",
  11802. "description": "0:仓单预售 1:仓单贸易",
  11803. "name": "haswr",
  11804. "in": "query",
  11805. "required": true
  11806. },
  11807. {
  11808. "type": "integer",
  11809. "description": "买卖方向 0-买 1-卖",
  11810. "name": "buyorsell",
  11811. "in": "query",
  11812. "required": true
  11813. },
  11814. {
  11815. "type": "integer",
  11816. "description": "品种id",
  11817. "name": "deliverygoodsid",
  11818. "in": "query"
  11819. },
  11820. {
  11821. "type": "integer",
  11822. "description": "品类id",
  11823. "name": "wrstandardid",
  11824. "in": "query"
  11825. },
  11826. {
  11827. "type": "string",
  11828. "description": "交收月(yyyy-mm) 仓单预售填写",
  11829. "name": "deliverymonth",
  11830. "in": "query"
  11831. },
  11832. {
  11833. "type": "string",
  11834. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11835. "name": "dgitemname",
  11836. "in": "query"
  11837. }
  11838. ],
  11839. "responses": {
  11840. "200": {
  11841. "description": "OK",
  11842. "schema": {
  11843. "type": "array",
  11844. "items": {
  11845. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11846. }
  11847. }
  11848. },
  11849. "500": {
  11850. "description": "Internal Server Error",
  11851. "schema": {
  11852. "$ref": "#/definitions/app.Response"
  11853. }
  11854. }
  11855. }
  11856. }
  11857. },
  11858. "/WrTrade2/QueryPerformancePlan": {
  11859. "get": {
  11860. "security": [
  11861. {
  11862. "ApiKeyAuth": []
  11863. }
  11864. ],
  11865. "produces": [
  11866. "application/json"
  11867. ],
  11868. "tags": [
  11869. "仓单贸易v2"
  11870. ],
  11871. "summary": "查询履约信息",
  11872. "parameters": [
  11873. {
  11874. "type": "integer",
  11875. "description": "用户id",
  11876. "name": "userid",
  11877. "in": "query",
  11878. "required": true
  11879. },
  11880. {
  11881. "type": "integer",
  11882. "description": "买卖方向 0-买 1-卖",
  11883. "name": "buyorsell",
  11884. "in": "query",
  11885. "required": true
  11886. }
  11887. ],
  11888. "responses": {
  11889. "200": {
  11890. "description": "OK",
  11891. "schema": {
  11892. "type": "array",
  11893. "items": {
  11894. "$ref": "#/definitions/models.WrPerformancePlan"
  11895. }
  11896. }
  11897. },
  11898. "500": {
  11899. "description": "Internal Server Error",
  11900. "schema": {
  11901. "$ref": "#/definitions/app.Response"
  11902. }
  11903. }
  11904. }
  11905. }
  11906. },
  11907. "/WrTrade2/QueryPermancePlanTmp": {
  11908. "get": {
  11909. "security": [
  11910. {
  11911. "ApiKeyAuth": []
  11912. }
  11913. ],
  11914. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11915. "produces": [
  11916. "application/json"
  11917. ],
  11918. "tags": [
  11919. "仓单贸易v2"
  11920. ],
  11921. "summary": "查询履约模板",
  11922. "parameters": [
  11923. {
  11924. "type": "integer",
  11925. "description": "用户id",
  11926. "name": "userid",
  11927. "in": "query"
  11928. },
  11929. {
  11930. "type": "string",
  11931. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11932. "name": "tmptype",
  11933. "in": "query"
  11934. },
  11935. {
  11936. "type": "integer",
  11937. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11938. "name": "includepub",
  11939. "in": "query"
  11940. }
  11941. ],
  11942. "responses": {
  11943. "200": {
  11944. "description": "OK",
  11945. "schema": {
  11946. "type": "array",
  11947. "items": {
  11948. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11949. }
  11950. }
  11951. },
  11952. "500": {
  11953. "description": "Internal Server Error",
  11954. "schema": {
  11955. "$ref": "#/definitions/app.Response"
  11956. }
  11957. }
  11958. }
  11959. }
  11960. },
  11961. "/WrTrade2/QueryWrAverageTradePrice": {
  11962. "get": {
  11963. "security": [
  11964. {
  11965. "ApiKeyAuth": []
  11966. }
  11967. ],
  11968. "produces": [
  11969. "application/json"
  11970. ],
  11971. "tags": [
  11972. "仓单贸易v2"
  11973. ],
  11974. "summary": "查询成交价(历史走势)",
  11975. "parameters": [
  11976. {
  11977. "type": "integer",
  11978. "description": "页码",
  11979. "name": "page",
  11980. "in": "query"
  11981. },
  11982. {
  11983. "type": "integer",
  11984. "description": "每页条数",
  11985. "name": "pagesize",
  11986. "in": "query"
  11987. },
  11988. {
  11989. "type": "integer",
  11990. "description": "0:仓单预售 1:仓单贸易",
  11991. "name": "haswr",
  11992. "in": "query",
  11993. "required": true
  11994. },
  11995. {
  11996. "type": "integer",
  11997. "description": "仓单要素id",
  11998. "name": "wrfactortypeid",
  11999. "in": "query",
  12000. "required": true
  12001. }
  12002. ],
  12003. "responses": {
  12004. "200": {
  12005. "description": "OK",
  12006. "schema": {
  12007. "type": "array",
  12008. "items": {
  12009. "$ref": "#/definitions/models.WrAverageTradePrice"
  12010. }
  12011. }
  12012. },
  12013. "500": {
  12014. "description": "Internal Server Error",
  12015. "schema": {
  12016. "$ref": "#/definitions/app.Response"
  12017. }
  12018. }
  12019. }
  12020. }
  12021. },
  12022. "/WrTrade2/QueryWrBsGoodsInfo": {
  12023. "get": {
  12024. "security": [
  12025. {
  12026. "ApiKeyAuth": []
  12027. }
  12028. ],
  12029. "description": "合约交易/买卖大厅/详情",
  12030. "produces": [
  12031. "application/json"
  12032. ],
  12033. "tags": [
  12034. "仓单贸易v2"
  12035. ],
  12036. "summary": "查询合约交易买卖大厅详情",
  12037. "parameters": [
  12038. {
  12039. "type": "integer",
  12040. "description": "商品id",
  12041. "name": "goodsid",
  12042. "in": "query",
  12043. "required": true
  12044. }
  12045. ],
  12046. "responses": {
  12047. "200": {
  12048. "description": "OK",
  12049. "schema": {
  12050. "type": "array",
  12051. "items": {
  12052. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12053. }
  12054. }
  12055. },
  12056. "500": {
  12057. "description": "Internal Server Error",
  12058. "schema": {
  12059. "$ref": "#/definitions/app.Response"
  12060. }
  12061. }
  12062. }
  12063. }
  12064. },
  12065. "/WrTrade2/QueryWrBuybackDetail": {
  12066. "get": {
  12067. "security": [
  12068. {
  12069. "ApiKeyAuth": []
  12070. }
  12071. ],
  12072. "produces": [
  12073. "application/json"
  12074. ],
  12075. "tags": [
  12076. "仓单贸易v2"
  12077. ],
  12078. "summary": "查询仓单回购明细",
  12079. "parameters": [
  12080. {
  12081. "type": "integer",
  12082. "description": "融资合同id",
  12083. "name": "scfcontractid",
  12084. "in": "query"
  12085. }
  12086. ],
  12087. "responses": {
  12088. "200": {
  12089. "description": "OK",
  12090. "schema": {
  12091. "type": "array",
  12092. "items": {
  12093. "$ref": "#/definitions/models.WrBuybackDetail"
  12094. }
  12095. }
  12096. },
  12097. "500": {
  12098. "description": "Internal Server Error",
  12099. "schema": {
  12100. "$ref": "#/definitions/app.Response"
  12101. }
  12102. }
  12103. }
  12104. }
  12105. },
  12106. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12107. "get": {
  12108. "security": [
  12109. {
  12110. "ApiKeyAuth": []
  12111. }
  12112. ],
  12113. "produces": [
  12114. "application/json"
  12115. ],
  12116. "tags": [
  12117. "仓单贸易v2"
  12118. ],
  12119. "summary": "查询合约交收可点选仓单",
  12120. "parameters": [
  12121. {
  12122. "type": "integer",
  12123. "description": "资金账号",
  12124. "name": "accountid",
  12125. "in": "query",
  12126. "required": true
  12127. },
  12128. {
  12129. "type": "integer",
  12130. "description": "商品id",
  12131. "name": "goodsid",
  12132. "in": "query",
  12133. "required": true
  12134. }
  12135. ],
  12136. "responses": {
  12137. "200": {
  12138. "description": "OK",
  12139. "schema": {
  12140. "type": "array",
  12141. "items": {
  12142. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12143. }
  12144. }
  12145. },
  12146. "500": {
  12147. "description": "Internal Server Error",
  12148. "schema": {
  12149. "$ref": "#/definitions/app.Response"
  12150. }
  12151. }
  12152. }
  12153. }
  12154. },
  12155. "/WrTrade2/QueryWrDeliveryDetail": {
  12156. "get": {
  12157. "security": [
  12158. {
  12159. "ApiKeyAuth": []
  12160. }
  12161. ],
  12162. "produces": [
  12163. "application/json"
  12164. ],
  12165. "tags": [
  12166. "仓单贸易v2"
  12167. ],
  12168. "summary": "查询交收",
  12169. "parameters": [
  12170. {
  12171. "type": "integer",
  12172. "description": "用户id",
  12173. "name": "userid",
  12174. "in": "query",
  12175. "required": true
  12176. },
  12177. {
  12178. "type": "integer",
  12179. "description": "资金账号id",
  12180. "name": "accountid",
  12181. "in": "query"
  12182. }
  12183. ],
  12184. "responses": {
  12185. "200": {
  12186. "description": "OK",
  12187. "schema": {
  12188. "type": "array",
  12189. "items": {
  12190. "$ref": "#/definitions/models.WrDeliveryDetail"
  12191. }
  12192. }
  12193. },
  12194. "500": {
  12195. "description": "Internal Server Error",
  12196. "schema": {
  12197. "$ref": "#/definitions/app.Response"
  12198. }
  12199. }
  12200. }
  12201. }
  12202. },
  12203. "/WrTrade2/QueryWrFactorTypeInfo": {
  12204. "get": {
  12205. "security": [
  12206. {
  12207. "ApiKeyAuth": []
  12208. }
  12209. ],
  12210. "produces": [
  12211. "application/json"
  12212. ],
  12213. "tags": [
  12214. "仓单贸易v2"
  12215. ],
  12216. "summary": "查询仓单要素详细信息",
  12217. "parameters": [
  12218. {
  12219. "type": "integer",
  12220. "description": "仓单要素id",
  12221. "name": "wrfactortypeid",
  12222. "in": "query",
  12223. "required": true
  12224. }
  12225. ],
  12226. "responses": {
  12227. "200": {
  12228. "description": "OK",
  12229. "schema": {
  12230. "type": "array",
  12231. "items": {
  12232. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12233. }
  12234. }
  12235. },
  12236. "500": {
  12237. "description": "Internal Server Error",
  12238. "schema": {
  12239. "$ref": "#/definitions/app.Response"
  12240. }
  12241. }
  12242. }
  12243. }
  12244. },
  12245. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12246. "get": {
  12247. "security": [
  12248. {
  12249. "ApiKeyAuth": []
  12250. }
  12251. ],
  12252. "produces": [
  12253. "application/json"
  12254. ],
  12255. "tags": [
  12256. "仓单贸易v2"
  12257. ],
  12258. "summary": "查询仓单要素详细信息列表项",
  12259. "parameters": [
  12260. {
  12261. "type": "integer",
  12262. "description": "仓单要素id",
  12263. "name": "wrfactortypeid",
  12264. "in": "query",
  12265. "required": true
  12266. }
  12267. ],
  12268. "responses": {
  12269. "200": {
  12270. "description": "OK",
  12271. "schema": {
  12272. "type": "array",
  12273. "items": {
  12274. "$ref": "#/definitions/models.WrTypeItem"
  12275. }
  12276. }
  12277. },
  12278. "500": {
  12279. "description": "Internal Server Error",
  12280. "schema": {
  12281. "$ref": "#/definitions/app.Response"
  12282. }
  12283. }
  12284. }
  12285. }
  12286. },
  12287. "/WrTrade2/QueryWrFinanceBuyApply": {
  12288. "get": {
  12289. "security": [
  12290. {
  12291. "ApiKeyAuth": []
  12292. }
  12293. ],
  12294. "description": "页面 融资信息+ / 申请单",
  12295. "produces": [
  12296. "application/json"
  12297. ],
  12298. "tags": [
  12299. "仓单贸易v2"
  12300. ],
  12301. "summary": "查询融资购买申请",
  12302. "parameters": [
  12303. {
  12304. "type": "integer",
  12305. "description": "用户id",
  12306. "name": "userid",
  12307. "in": "query",
  12308. "required": true
  12309. }
  12310. ],
  12311. "responses": {
  12312. "200": {
  12313. "description": "OK",
  12314. "schema": {
  12315. "type": "array",
  12316. "items": {
  12317. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12318. }
  12319. }
  12320. },
  12321. "500": {
  12322. "description": "Internal Server Error",
  12323. "schema": {
  12324. "$ref": "#/definitions/app.Response"
  12325. }
  12326. }
  12327. }
  12328. }
  12329. },
  12330. "/WrTrade2/QueryWrFriendApply": {
  12331. "get": {
  12332. "security": [
  12333. {
  12334. "ApiKeyAuth": []
  12335. }
  12336. ],
  12337. "produces": [
  12338. "application/json"
  12339. ],
  12340. "tags": [
  12341. "仓单贸易v2"
  12342. ],
  12343. "summary": "查询好友申请记录",
  12344. "parameters": [
  12345. {
  12346. "type": "integer",
  12347. "description": "用户id",
  12348. "name": "userid",
  12349. "in": "query",
  12350. "required": true
  12351. }
  12352. ],
  12353. "responses": {
  12354. "200": {
  12355. "description": "OK",
  12356. "schema": {
  12357. "type": "array",
  12358. "items": {
  12359. "$ref": "#/definitions/models.WrFriendApply"
  12360. }
  12361. }
  12362. },
  12363. "500": {
  12364. "description": "Internal Server Error",
  12365. "schema": {
  12366. "$ref": "#/definitions/app.Response"
  12367. }
  12368. }
  12369. }
  12370. }
  12371. },
  12372. "/WrTrade2/QueryWrGoodsInfo": {
  12373. "get": {
  12374. "security": [
  12375. {
  12376. "ApiKeyAuth": []
  12377. }
  12378. ],
  12379. "produces": [
  12380. "application/json"
  12381. ],
  12382. "tags": [
  12383. "仓单贸易v2"
  12384. ],
  12385. "summary": "查询仓单商品信息",
  12386. "parameters": [
  12387. {
  12388. "type": "integer",
  12389. "description": "仓单贸易市场id",
  12390. "name": "marketid",
  12391. "in": "query"
  12392. },
  12393. {
  12394. "type": "integer",
  12395. "description": "0:仓单预售 1:仓单贸易",
  12396. "name": "haswr",
  12397. "in": "query",
  12398. "required": true
  12399. },
  12400. {
  12401. "type": "integer",
  12402. "description": "仓单要素id",
  12403. "name": "wrfactortypeid",
  12404. "in": "query",
  12405. "required": true
  12406. },
  12407. {
  12408. "type": "integer",
  12409. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12410. "name": "tmplateid",
  12411. "in": "query"
  12412. }
  12413. ],
  12414. "responses": {
  12415. "200": {
  12416. "description": "OK",
  12417. "schema": {
  12418. "type": "array",
  12419. "items": {
  12420. "$ref": "#/definitions/models.WrGoodsInfo"
  12421. }
  12422. }
  12423. },
  12424. "500": {
  12425. "description": "Internal Server Error",
  12426. "schema": {
  12427. "$ref": "#/definitions/app.Response"
  12428. }
  12429. }
  12430. }
  12431. }
  12432. },
  12433. "/WrTrade2/QueryWrMarketTradeConfig": {
  12434. "get": {
  12435. "security": [
  12436. {
  12437. "ApiKeyAuth": []
  12438. }
  12439. ],
  12440. "produces": [
  12441. "application/json"
  12442. ],
  12443. "tags": [
  12444. "仓单贸易v2"
  12445. ],
  12446. "summary": "查询市场交易参数配置",
  12447. "parameters": [
  12448. {
  12449. "type": "integer",
  12450. "description": "市场id",
  12451. "name": "marketid",
  12452. "in": "query"
  12453. }
  12454. ],
  12455. "responses": {
  12456. "200": {
  12457. "description": "OK",
  12458. "schema": {
  12459. "type": "array",
  12460. "items": {
  12461. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12462. }
  12463. }
  12464. },
  12465. "500": {
  12466. "description": "Internal Server Error",
  12467. "schema": {
  12468. "$ref": "#/definitions/app.Response"
  12469. }
  12470. }
  12471. }
  12472. }
  12473. },
  12474. "/WrTrade2/QueryWrOrderDetail": {
  12475. "get": {
  12476. "security": [
  12477. {
  12478. "ApiKeyAuth": []
  12479. }
  12480. ],
  12481. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12482. "produces": [
  12483. "application/json"
  12484. ],
  12485. "tags": [
  12486. "仓单贸易v2"
  12487. ],
  12488. "summary": "查询仓单委托单(挂单)",
  12489. "parameters": [
  12490. {
  12491. "type": "integer",
  12492. "description": "页码",
  12493. "name": "page",
  12494. "in": "query"
  12495. },
  12496. {
  12497. "type": "integer",
  12498. "description": "每页条数",
  12499. "name": "pagesize",
  12500. "in": "query"
  12501. },
  12502. {
  12503. "type": "integer",
  12504. "description": "用户id",
  12505. "name": "userid",
  12506. "in": "query",
  12507. "required": true
  12508. },
  12509. {
  12510. "type": "integer",
  12511. "description": "仓单贸易市场id",
  12512. "name": "marketid",
  12513. "in": "query"
  12514. },
  12515. {
  12516. "type": "integer",
  12517. "description": "0:仓单预售 1:仓单贸易",
  12518. "name": "haswr",
  12519. "in": "query",
  12520. "required": true
  12521. }
  12522. ],
  12523. "responses": {
  12524. "200": {
  12525. "description": "OK",
  12526. "schema": {
  12527. "type": "array",
  12528. "items": {
  12529. "$ref": "#/definitions/models.WrOrderDetail"
  12530. }
  12531. }
  12532. },
  12533. "500": {
  12534. "description": "Internal Server Error",
  12535. "schema": {
  12536. "$ref": "#/definitions/app.Response"
  12537. }
  12538. }
  12539. }
  12540. }
  12541. },
  12542. "/WrTrade2/QueryWrOutInApply": {
  12543. "get": {
  12544. "security": [
  12545. {
  12546. "ApiKeyAuth": []
  12547. }
  12548. ],
  12549. "produces": [
  12550. "application/json"
  12551. ],
  12552. "tags": [
  12553. "仓单贸易v2"
  12554. ],
  12555. "summary": "查询提货申请",
  12556. "parameters": [
  12557. {
  12558. "type": "integer",
  12559. "description": "用户id",
  12560. "name": "userid",
  12561. "in": "query",
  12562. "required": true
  12563. }
  12564. ],
  12565. "responses": {
  12566. "200": {
  12567. "description": "OK",
  12568. "schema": {
  12569. "type": "array",
  12570. "items": {
  12571. "$ref": "#/definitions/models.WrOutInApply"
  12572. }
  12573. }
  12574. },
  12575. "500": {
  12576. "description": "Internal Server Error",
  12577. "schema": {
  12578. "$ref": "#/definitions/app.Response"
  12579. }
  12580. }
  12581. }
  12582. }
  12583. },
  12584. "/WrTrade2/QueryWrPerformancePlanStep": {
  12585. "get": {
  12586. "security": [
  12587. {
  12588. "ApiKeyAuth": []
  12589. }
  12590. ],
  12591. "produces": [
  12592. "application/json"
  12593. ],
  12594. "tags": [
  12595. "仓单贸易v2"
  12596. ],
  12597. "summary": "查询履约信息详情",
  12598. "parameters": [
  12599. {
  12600. "type": "integer",
  12601. "description": "履约计划id(performanceplanid)",
  12602. "name": "planid",
  12603. "in": "query",
  12604. "required": true
  12605. },
  12606. {
  12607. "type": "integer",
  12608. "description": "当前步骤id",
  12609. "name": "curstepid",
  12610. "in": "query"
  12611. }
  12612. ],
  12613. "responses": {
  12614. "200": {
  12615. "description": "OK",
  12616. "schema": {
  12617. "type": "array",
  12618. "items": {
  12619. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12620. }
  12621. }
  12622. },
  12623. "500": {
  12624. "description": "Internal Server Error",
  12625. "schema": {
  12626. "$ref": "#/definitions/app.Response"
  12627. }
  12628. }
  12629. }
  12630. }
  12631. },
  12632. "/WrTrade2/QueryWrPerformanceStepType": {
  12633. "get": {
  12634. "security": [
  12635. {
  12636. "ApiKeyAuth": []
  12637. }
  12638. ],
  12639. "produces": [
  12640. "application/json"
  12641. ],
  12642. "tags": [
  12643. "仓单贸易v2"
  12644. ],
  12645. "summary": "查询履约步骤枚举",
  12646. "responses": {
  12647. "200": {
  12648. "description": "OK",
  12649. "schema": {
  12650. "type": "array",
  12651. "items": {
  12652. "$ref": "#/definitions/models.WrPerformanceStepType"
  12653. }
  12654. }
  12655. },
  12656. "500": {
  12657. "description": "Internal Server Error",
  12658. "schema": {
  12659. "$ref": "#/definitions/app.Response"
  12660. }
  12661. }
  12662. }
  12663. }
  12664. },
  12665. "/WrTrade2/QueryWrPosition": {
  12666. "get": {
  12667. "security": [
  12668. {
  12669. "ApiKeyAuth": []
  12670. }
  12671. ],
  12672. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12673. "produces": [
  12674. "application/json"
  12675. ],
  12676. "tags": [
  12677. "仓单贸易v2"
  12678. ],
  12679. "summary": "查询现货(预售)仓单持仓",
  12680. "parameters": [
  12681. {
  12682. "type": "integer",
  12683. "description": "用户id",
  12684. "name": "userid",
  12685. "in": "query",
  12686. "required": true
  12687. },
  12688. {
  12689. "type": "integer",
  12690. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12691. "name": "querytype",
  12692. "in": "query",
  12693. "required": true
  12694. },
  12695. {
  12696. "type": "integer",
  12697. "description": "0:仓单预售 1:仓单贸易",
  12698. "name": "haswr",
  12699. "in": "query",
  12700. "required": true
  12701. },
  12702. {
  12703. "type": "string",
  12704. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12705. "name": "dgitemname",
  12706. "in": "query"
  12707. },
  12708. {
  12709. "type": "integer",
  12710. "description": "仓库id(筛选条件)",
  12711. "name": "warehouseid",
  12712. "in": "query"
  12713. },
  12714. {
  12715. "type": "integer",
  12716. "description": "品种id",
  12717. "name": "deliverygoodsid",
  12718. "in": "query"
  12719. },
  12720. {
  12721. "type": "integer",
  12722. "description": "品类id",
  12723. "name": "wrstandardid",
  12724. "in": "query"
  12725. }
  12726. ],
  12727. "responses": {
  12728. "200": {
  12729. "description": "OK",
  12730. "schema": {
  12731. "type": "array",
  12732. "items": {
  12733. "$ref": "#/definitions/models.WrPosition"
  12734. }
  12735. }
  12736. },
  12737. "500": {
  12738. "description": "Internal Server Error",
  12739. "schema": {
  12740. "$ref": "#/definitions/app.Response"
  12741. }
  12742. }
  12743. }
  12744. }
  12745. },
  12746. "/WrTrade2/QueryWrScfContract": {
  12747. "get": {
  12748. "security": [
  12749. {
  12750. "ApiKeyAuth": []
  12751. }
  12752. ],
  12753. "produces": [
  12754. "application/json"
  12755. ],
  12756. "tags": [
  12757. "仓单贸易v2"
  12758. ],
  12759. "summary": "查询仓单贸易融资合同",
  12760. "parameters": [
  12761. {
  12762. "type": "integer",
  12763. "description": "用户id",
  12764. "name": "userid",
  12765. "in": "query",
  12766. "required": true
  12767. },
  12768. {
  12769. "type": "integer",
  12770. "description": "融资合同id",
  12771. "name": "scfcontractid",
  12772. "in": "query"
  12773. }
  12774. ],
  12775. "responses": {
  12776. "200": {
  12777. "description": "OK",
  12778. "schema": {
  12779. "type": "array",
  12780. "items": {
  12781. "$ref": "#/definitions/models.WrScfContract"
  12782. }
  12783. }
  12784. },
  12785. "500": {
  12786. "description": "Internal Server Error",
  12787. "schema": {
  12788. "$ref": "#/definitions/app.Response"
  12789. }
  12790. }
  12791. }
  12792. }
  12793. },
  12794. "/WrTrade2/QueryWrScfContractInterest": {
  12795. "get": {
  12796. "security": [
  12797. {
  12798. "ApiKeyAuth": []
  12799. }
  12800. ],
  12801. "produces": [
  12802. "application/json"
  12803. ],
  12804. "tags": [
  12805. "仓单贸易v2"
  12806. ],
  12807. "summary": "查询融资合同费用明细",
  12808. "parameters": [
  12809. {
  12810. "type": "integer",
  12811. "description": "融资合同id",
  12812. "name": "scfcontractid",
  12813. "in": "query"
  12814. }
  12815. ],
  12816. "responses": {
  12817. "200": {
  12818. "description": "OK",
  12819. "schema": {
  12820. "type": "array",
  12821. "items": {
  12822. "$ref": "#/definitions/models.WrScfContractInterest"
  12823. }
  12824. }
  12825. },
  12826. "500": {
  12827. "description": "Internal Server Error",
  12828. "schema": {
  12829. "$ref": "#/definitions/app.Response"
  12830. }
  12831. }
  12832. }
  12833. }
  12834. },
  12835. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12836. "get": {
  12837. "security": [
  12838. {
  12839. "ApiKeyAuth": []
  12840. }
  12841. ],
  12842. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12843. "produces": [
  12844. "application/json"
  12845. ],
  12846. "tags": [
  12847. "仓单贸易v2"
  12848. ],
  12849. "summary": "查询指定成交",
  12850. "parameters": [
  12851. {
  12852. "type": "integer",
  12853. "description": "页码",
  12854. "name": "page",
  12855. "in": "query"
  12856. },
  12857. {
  12858. "type": "integer",
  12859. "description": "每页条数",
  12860. "name": "pagesize",
  12861. "in": "query"
  12862. },
  12863. {
  12864. "type": "integer",
  12865. "description": "用户id",
  12866. "name": "userid",
  12867. "in": "query",
  12868. "required": true
  12869. },
  12870. {
  12871. "type": "integer",
  12872. "description": "仓单贸易市场id",
  12873. "name": "marketid",
  12874. "in": "query"
  12875. },
  12876. {
  12877. "type": "integer",
  12878. "description": "0:仓单预售 1:仓单贸易",
  12879. "name": "haswr",
  12880. "in": "query",
  12881. "required": true
  12882. }
  12883. ],
  12884. "responses": {
  12885. "200": {
  12886. "description": "OK",
  12887. "schema": {
  12888. "type": "array",
  12889. "items": {
  12890. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12891. }
  12892. }
  12893. },
  12894. "500": {
  12895. "description": "Internal Server Error",
  12896. "schema": {
  12897. "$ref": "#/definitions/app.Response"
  12898. }
  12899. }
  12900. }
  12901. }
  12902. },
  12903. "/WrTrade2/QueryWrStandardFactoryItem": {
  12904. "get": {
  12905. "security": [
  12906. {
  12907. "ApiKeyAuth": []
  12908. }
  12909. ],
  12910. "produces": [
  12911. "application/json"
  12912. ],
  12913. "tags": [
  12914. "仓单贸易v2"
  12915. ],
  12916. "summary": "查询品类要素定义项",
  12917. "parameters": [
  12918. {
  12919. "type": "integer",
  12920. "description": "品类id",
  12921. "name": "wrstandardid",
  12922. "in": "query",
  12923. "required": true
  12924. }
  12925. ],
  12926. "responses": {
  12927. "200": {
  12928. "description": "OK",
  12929. "schema": {
  12930. "type": "array",
  12931. "items": {
  12932. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12933. }
  12934. }
  12935. },
  12936. "500": {
  12937. "description": "Internal Server Error",
  12938. "schema": {
  12939. "$ref": "#/definitions/app.Response"
  12940. }
  12941. }
  12942. }
  12943. }
  12944. },
  12945. "/WrTrade2/QueryWrTradeBargainApply": {
  12946. "get": {
  12947. "security": [
  12948. {
  12949. "ApiKeyAuth": []
  12950. }
  12951. ],
  12952. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12953. "produces": [
  12954. "application/json"
  12955. ],
  12956. "tags": [
  12957. "仓单贸易v2"
  12958. ],
  12959. "summary": "查询议价单",
  12960. "parameters": [
  12961. {
  12962. "type": "integer",
  12963. "description": "议价人id(摘牌方)",
  12964. "name": "userid",
  12965. "in": "query"
  12966. },
  12967. {
  12968. "type": "integer",
  12969. "description": "关联委托单id",
  12970. "name": "wrtradeorderid",
  12971. "in": "query"
  12972. },
  12973. {
  12974. "type": "integer",
  12975. "description": "0:仓单预售 1:仓单贸易",
  12976. "name": "haswr",
  12977. "in": "query",
  12978. "required": true
  12979. }
  12980. ],
  12981. "responses": {
  12982. "200": {
  12983. "description": "OK",
  12984. "schema": {
  12985. "type": "array",
  12986. "items": {
  12987. "$ref": "#/definitions/models.WRTradeBargainApply"
  12988. }
  12989. }
  12990. },
  12991. "500": {
  12992. "description": "Internal Server Error",
  12993. "schema": {
  12994. "$ref": "#/definitions/app.Response"
  12995. }
  12996. }
  12997. }
  12998. }
  12999. },
  13000. "/WrTrade2/QueryWrTradeDetail": {
  13001. "get": {
  13002. "security": [
  13003. {
  13004. "ApiKeyAuth": []
  13005. }
  13006. ],
  13007. "produces": [
  13008. "application/json"
  13009. ],
  13010. "tags": [
  13011. "仓单贸易v2"
  13012. ],
  13013. "summary": "查询仓单成交明细",
  13014. "parameters": [
  13015. {
  13016. "type": "integer",
  13017. "description": "页码",
  13018. "name": "page",
  13019. "in": "query"
  13020. },
  13021. {
  13022. "type": "integer",
  13023. "description": "每页条数",
  13024. "name": "pagesize",
  13025. "in": "query"
  13026. },
  13027. {
  13028. "type": "integer",
  13029. "description": "用户id",
  13030. "name": "userid",
  13031. "in": "query",
  13032. "required": true
  13033. },
  13034. {
  13035. "type": "integer",
  13036. "description": "仓单贸易市场id",
  13037. "name": "marketid",
  13038. "in": "query"
  13039. },
  13040. {
  13041. "type": "integer",
  13042. "description": "0:仓单预售 1:仓单贸易",
  13043. "name": "haswr",
  13044. "in": "query",
  13045. "required": true
  13046. }
  13047. ],
  13048. "responses": {
  13049. "200": {
  13050. "description": "OK",
  13051. "schema": {
  13052. "type": "array",
  13053. "items": {
  13054. "$ref": "#/definitions/models.WrTradeDetail"
  13055. }
  13056. }
  13057. },
  13058. "500": {
  13059. "description": "Internal Server Error",
  13060. "schema": {
  13061. "$ref": "#/definitions/app.Response"
  13062. }
  13063. }
  13064. }
  13065. }
  13066. },
  13067. "/WrTrade2/QueryWrTradeOrderDetail": {
  13068. "get": {
  13069. "security": [
  13070. {
  13071. "ApiKeyAuth": []
  13072. }
  13073. ],
  13074. "produces": [
  13075. "application/json"
  13076. ],
  13077. "tags": [
  13078. "仓单贸易v2"
  13079. ],
  13080. "summary": "查询合约交易买卖大厅",
  13081. "parameters": [
  13082. {
  13083. "type": "integer",
  13084. "description": "页码",
  13085. "name": "page",
  13086. "in": "query"
  13087. },
  13088. {
  13089. "type": "integer",
  13090. "description": "每页条数",
  13091. "name": "pagesize",
  13092. "in": "query"
  13093. },
  13094. {
  13095. "type": "integer",
  13096. "description": "商品id",
  13097. "name": "goodsid",
  13098. "in": "query",
  13099. "required": true
  13100. },
  13101. {
  13102. "type": "integer",
  13103. "description": "买卖方向 0-买 1-卖",
  13104. "name": "buyorsell",
  13105. "in": "query",
  13106. "required": true
  13107. }
  13108. ],
  13109. "responses": {
  13110. "200": {
  13111. "description": "OK",
  13112. "schema": {
  13113. "type": "array",
  13114. "items": {
  13115. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13116. }
  13117. }
  13118. },
  13119. "500": {
  13120. "description": "Internal Server Error",
  13121. "schema": {
  13122. "$ref": "#/definitions/app.Response"
  13123. }
  13124. }
  13125. }
  13126. }
  13127. },
  13128. "/WrTrade2/QueryWrUserFriend": {
  13129. "get": {
  13130. "security": [
  13131. {
  13132. "ApiKeyAuth": []
  13133. }
  13134. ],
  13135. "produces": [
  13136. "application/json"
  13137. ],
  13138. "tags": [
  13139. "仓单贸易v2"
  13140. ],
  13141. "summary": "查询我的朋友",
  13142. "parameters": [
  13143. {
  13144. "type": "integer",
  13145. "description": "用户id",
  13146. "name": "userid",
  13147. "in": "query",
  13148. "required": true
  13149. },
  13150. {
  13151. "type": "integer",
  13152. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13153. "name": "newuserid",
  13154. "in": "query"
  13155. }
  13156. ],
  13157. "responses": {
  13158. "200": {
  13159. "description": "OK",
  13160. "schema": {
  13161. "type": "array",
  13162. "items": {
  13163. "$ref": "#/definitions/models.WrUserFriend"
  13164. }
  13165. }
  13166. },
  13167. "500": {
  13168. "description": "Internal Server Error",
  13169. "schema": {
  13170. "$ref": "#/definitions/app.Response"
  13171. }
  13172. }
  13173. }
  13174. }
  13175. },
  13176. "/ZJ/GetBankTip": {
  13177. "get": {
  13178. "produces": [
  13179. "application/json"
  13180. ],
  13181. "tags": [
  13182. "中江"
  13183. ],
  13184. "summary": "获取中江网银端出入金提示信息",
  13185. "responses": {
  13186. "200": {
  13187. "description": "OK",
  13188. "schema": {
  13189. "type": "string"
  13190. }
  13191. },
  13192. "500": {
  13193. "description": "Internal Server Error",
  13194. "schema": {
  13195. "$ref": "#/definitions/app.Response"
  13196. }
  13197. }
  13198. }
  13199. }
  13200. },
  13201. "/ZJ/GetCusBankChannels": {
  13202. "get": {
  13203. "produces": [
  13204. "application/json"
  13205. ],
  13206. "tags": [
  13207. "中江"
  13208. ],
  13209. "summary": "获取中江出入金渠道显示列表",
  13210. "responses": {
  13211. "200": {
  13212. "description": "OK",
  13213. "schema": {
  13214. "type": "array",
  13215. "items": {
  13216. "type": "string"
  13217. }
  13218. }
  13219. },
  13220. "500": {
  13221. "description": "Internal Server Error",
  13222. "schema": {
  13223. "$ref": "#/definitions/app.Response"
  13224. }
  13225. }
  13226. }
  13227. }
  13228. }
  13229. },
  13230. "definitions": {
  13231. "app.Response": {
  13232. "type": "object",
  13233. "properties": {
  13234. "code": {
  13235. "type": "integer"
  13236. },
  13237. "data": {
  13238. "type": "object"
  13239. },
  13240. "msg": {
  13241. "type": "string"
  13242. },
  13243. "page": {
  13244. "description": "页码",
  13245. "type": "integer"
  13246. },
  13247. "pagesize": {
  13248. "description": "每页条数",
  13249. "type": "integer"
  13250. },
  13251. "total": {
  13252. "description": "总条数",
  13253. "type": "integer"
  13254. }
  13255. }
  13256. },
  13257. "common.ClientMenu": {
  13258. "type": "object",
  13259. "properties": {
  13260. "children": {
  13261. "description": "子菜单列表",
  13262. "type": "array",
  13263. "items": {
  13264. "$ref": "#/definitions/common.ClientMenu"
  13265. }
  13266. },
  13267. "code": {
  13268. "description": "ID",
  13269. "type": "string"
  13270. },
  13271. "isshow": {
  13272. "description": "是否显示",
  13273. "type": "boolean"
  13274. },
  13275. "remark": {
  13276. "description": "备注",
  13277. "type": "string"
  13278. },
  13279. "rulekey": {
  13280. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13281. "type": "string"
  13282. },
  13283. "sort": {
  13284. "description": "排序",
  13285. "type": "integer"
  13286. },
  13287. "title": {
  13288. "description": "标题",
  13289. "type": "string"
  13290. },
  13291. "type": {
  13292. "description": "类型,1:菜单 2:按钮",
  13293. "type": "integer"
  13294. },
  13295. "url": {
  13296. "description": "URL",
  13297. "type": "string"
  13298. }
  13299. }
  13300. },
  13301. "common.QueryImageConfigsRsp": {
  13302. "type": "object",
  13303. "required": [
  13304. "configid"
  13305. ],
  13306. "properties": {
  13307. "areauserid": {
  13308. "description": "所属机构ID",
  13309. "type": "integer"
  13310. },
  13311. "configid": {
  13312. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13313. "type": "integer"
  13314. },
  13315. "createdate": {
  13316. "description": "创建时间",
  13317. "type": "string"
  13318. },
  13319. "creatorid": {
  13320. "description": "创建人",
  13321. "type": "integer"
  13322. },
  13323. "imagepath": {
  13324. "description": "图片",
  13325. "type": "string"
  13326. },
  13327. "imagetype": {
  13328. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13329. "type": "integer"
  13330. },
  13331. "isshow": {
  13332. "description": "是否展示 - 0:不展示 1:展示",
  13333. "type": "integer"
  13334. },
  13335. "marketid": {
  13336. "description": "市场ID",
  13337. "type": "integer"
  13338. },
  13339. "modifierid": {
  13340. "description": "操作人",
  13341. "type": "integer"
  13342. },
  13343. "sort": {
  13344. "description": "排序",
  13345. "type": "integer"
  13346. },
  13347. "title": {
  13348. "description": "标题",
  13349. "type": "string"
  13350. },
  13351. "trademode": {
  13352. "description": "交易模式",
  13353. "type": "integer"
  13354. },
  13355. "updatedate": {
  13356. "description": "修改时间",
  13357. "type": "string"
  13358. },
  13359. "url": {
  13360. "description": "链接(地址或商品ID)",
  13361. "type": "string"
  13362. },
  13363. "urltype": {
  13364. "description": "链接类型 - 1:直接地址 2:商品ID",
  13365. "type": "integer"
  13366. }
  13367. }
  13368. },
  13369. "common.QueryNoticeRsp": {
  13370. "type": "object",
  13371. "required": [
  13372. "autoid"
  13373. ],
  13374. "properties": {
  13375. "auditoruserid": {
  13376. "description": "审核人",
  13377. "type": "integer"
  13378. },
  13379. "auditremark": {
  13380. "description": "审核备注",
  13381. "type": "string"
  13382. },
  13383. "audittime": {
  13384. "description": "审核日期",
  13385. "type": "string"
  13386. },
  13387. "autoid": {
  13388. "description": "自增ID",
  13389. "type": "integer"
  13390. },
  13391. "content": {
  13392. "description": "内容",
  13393. "type": "string"
  13394. },
  13395. "createtime": {
  13396. "description": "创建时间",
  13397. "type": "string"
  13398. },
  13399. "creatorid": {
  13400. "description": "建仓人",
  13401. "type": "integer"
  13402. },
  13403. "endtime": {
  13404. "description": "结束时间",
  13405. "type": "string"
  13406. },
  13407. "istop": {
  13408. "description": "是否置顶 - 0:不置顶 1:置顶",
  13409. "type": "integer"
  13410. },
  13411. "msgiconurl": {
  13412. "description": "消息图标Url",
  13413. "type": "string"
  13414. },
  13415. "msgtype": {
  13416. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13417. "type": "integer"
  13418. },
  13419. "publisher": {
  13420. "description": "消息发布者",
  13421. "type": "string"
  13422. },
  13423. "readed": {
  13424. "description": "是否已读",
  13425. "type": "boolean"
  13426. },
  13427. "scheduletime": {
  13428. "description": "计划发送时间",
  13429. "type": "string"
  13430. },
  13431. "sendtype": {
  13432. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13433. "type": "integer"
  13434. },
  13435. "sentstatus": {
  13436. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13437. "type": "integer"
  13438. },
  13439. "title": {
  13440. "description": "标题",
  13441. "type": "string"
  13442. },
  13443. "userid": {
  13444. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13445. "type": "integer"
  13446. }
  13447. }
  13448. },
  13449. "common.QueryProvincesAndCitiesRsp": {
  13450. "type": "object",
  13451. "properties": {
  13452. "cities": {
  13453. "description": "市",
  13454. "type": "array",
  13455. "items": {
  13456. "$ref": "#/definitions/models.Division"
  13457. }
  13458. },
  13459. "province": {
  13460. "description": "省",
  13461. "$ref": "#/definitions/models.Division"
  13462. }
  13463. }
  13464. },
  13465. "common.QueryTableDefineRsp": {
  13466. "type": "object",
  13467. "required": [
  13468. "tablekey"
  13469. ],
  13470. "properties": {
  13471. "columns": {
  13472. "description": "列头信息数组",
  13473. "type": "array",
  13474. "items": {
  13475. "$ref": "#/definitions/models.Tablecolumnconfig"
  13476. }
  13477. },
  13478. "remark": {
  13479. "description": "Remark",
  13480. "type": "string"
  13481. },
  13482. "tabelmenu": {
  13483. "description": "列表菜单",
  13484. "type": "string"
  13485. },
  13486. "tablekey": {
  13487. "description": "列表Key",
  13488. "type": "string"
  13489. },
  13490. "tablename": {
  13491. "description": "列表名称",
  13492. "type": "string"
  13493. },
  13494. "tabletype": {
  13495. "description": "列表类型 - 1:管理端 2:终端",
  13496. "type": "integer"
  13497. }
  13498. }
  13499. },
  13500. "common.QueryTraderMenuRsp": {
  13501. "type": "object",
  13502. "properties": {
  13503. "OperationMenu": {
  13504. "description": "功能菜单",
  13505. "type": "array",
  13506. "items": {
  13507. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13508. }
  13509. },
  13510. "QuoteMenu": {
  13511. "description": "报价牌分类菜单",
  13512. "type": "array",
  13513. "items": {
  13514. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13515. }
  13516. }
  13517. }
  13518. },
  13519. "cptrade.Cptradepositioncancel": {
  13520. "type": "object",
  13521. "required": [
  13522. "cancelid"
  13523. ],
  13524. "properties": {
  13525. "accountid": {
  13526. "description": "申请人账户ID",
  13527. "type": "integer"
  13528. },
  13529. "applystatus": {
  13530. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13531. "type": "integer"
  13532. },
  13533. "applytime": {
  13534. "description": "申请时间",
  13535. "type": "string"
  13536. },
  13537. "cancelid": {
  13538. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13539. "type": "integer"
  13540. },
  13541. "cancelqty": {
  13542. "description": "注销数量",
  13543. "type": "integer"
  13544. },
  13545. "createtime": {
  13546. "description": "创建时间",
  13547. "type": "string"
  13548. },
  13549. "creatorid": {
  13550. "description": "创建人ID",
  13551. "type": "integer"
  13552. },
  13553. "creatorname": {
  13554. "description": "创建人",
  13555. "type": "string"
  13556. },
  13557. "goodscode": {
  13558. "description": "订单商品代码",
  13559. "type": "string"
  13560. },
  13561. "goodsid": {
  13562. "description": "商品ID",
  13563. "type": "integer"
  13564. },
  13565. "goodsname": {
  13566. "description": "订单商品名称",
  13567. "type": "string"
  13568. },
  13569. "goodunit": {
  13570. "description": "报价单位",
  13571. "type": "string"
  13572. },
  13573. "handlestatus": {
  13574. "description": "处理状态",
  13575. "type": "integer"
  13576. },
  13577. "marketid": {
  13578. "description": "市场ID",
  13579. "type": "integer"
  13580. },
  13581. "marketname": {
  13582. "description": "市场名称",
  13583. "type": "string"
  13584. },
  13585. "tradedate": {
  13586. "description": "交易日(yyyyMMdd)",
  13587. "type": "string"
  13588. },
  13589. "userid": {
  13590. "description": "申请人ID",
  13591. "type": "integer"
  13592. }
  13593. }
  13594. },
  13595. "cptrade.Cptradepresaleapply": {
  13596. "type": "object",
  13597. "required": [
  13598. "applyid"
  13599. ],
  13600. "properties": {
  13601. "accountid": {
  13602. "description": "申请人账户ID",
  13603. "type": "integer"
  13604. },
  13605. "applyid": {
  13606. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13607. "type": "integer"
  13608. },
  13609. "applyremark": {
  13610. "description": "申请备注",
  13611. "type": "string"
  13612. },
  13613. "applystatus": {
  13614. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13615. "type": "integer"
  13616. },
  13617. "applytime": {
  13618. "description": "申请时间",
  13619. "type": "string"
  13620. },
  13621. "attachmenturl": {
  13622. "description": "附件地址",
  13623. "type": "string"
  13624. },
  13625. "endtime": {
  13626. "description": "预售结束时间",
  13627. "type": "string"
  13628. },
  13629. "goodscode": {
  13630. "description": "商品代码",
  13631. "type": "string"
  13632. },
  13633. "goodsid": {
  13634. "description": "商品ID",
  13635. "type": "integer"
  13636. },
  13637. "goodsname": {
  13638. "description": "商品名称",
  13639. "type": "string"
  13640. },
  13641. "goodunit": {
  13642. "description": "报价单位",
  13643. "type": "string"
  13644. },
  13645. "handlestatus": {
  13646. "description": "处理状态",
  13647. "type": "integer"
  13648. },
  13649. "marketid": {
  13650. "description": "预售市场ID",
  13651. "type": "integer"
  13652. },
  13653. "marketname": {
  13654. "description": "预售市场名称",
  13655. "type": "string"
  13656. },
  13657. "presaleqty": {
  13658. "description": "预售数量",
  13659. "type": "integer"
  13660. },
  13661. "relatedgoodscode": {
  13662. "description": "关联交易合约代码",
  13663. "type": "string"
  13664. },
  13665. "relatedgoodsid": {
  13666. "description": "关联交易合约ID",
  13667. "type": "integer"
  13668. },
  13669. "relatedgoodsname": {
  13670. "description": "关联交易合约名称",
  13671. "type": "string"
  13672. },
  13673. "starttime": {
  13674. "description": "预售开始时间",
  13675. "type": "string"
  13676. },
  13677. "tradedate": {
  13678. "description": "交易日(yyyyMMdd)",
  13679. "type": "string"
  13680. },
  13681. "trademode": {
  13682. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13683. "type": "integer"
  13684. },
  13685. "userid": {
  13686. "description": "申请人ID",
  13687. "type": "integer"
  13688. }
  13689. }
  13690. },
  13691. "cptrade.Cptradeusergoodsdata": {
  13692. "type": "object",
  13693. "required": [
  13694. "accountid",
  13695. "goodsid"
  13696. ],
  13697. "properties": {
  13698. "EnabledQty": {
  13699. "description": "可用量",
  13700. "type": "integer"
  13701. },
  13702. "GoodsCode": {
  13703. "description": "订单商品代码",
  13704. "type": "string"
  13705. },
  13706. "GoodsName": {
  13707. "description": "订单商品名称",
  13708. "type": "string"
  13709. },
  13710. "WRStandardCode": {
  13711. "description": "仓单标准代码",
  13712. "type": "string"
  13713. },
  13714. "WRStandardName": {
  13715. "description": "仓单标准名称",
  13716. "type": "string"
  13717. },
  13718. "accountid": {
  13719. "description": "账户ID",
  13720. "type": "integer"
  13721. },
  13722. "cancelqty": {
  13723. "description": "注销量",
  13724. "type": "integer"
  13725. },
  13726. "curpresaleqty": {
  13727. "description": "当前预售量",
  13728. "type": "integer"
  13729. },
  13730. "deliveryqty": {
  13731. "description": "交割量",
  13732. "type": "integer"
  13733. },
  13734. "freezeamount": {
  13735. "description": "冻结金额",
  13736. "type": "number"
  13737. },
  13738. "goodsid": {
  13739. "description": "商品ID",
  13740. "type": "integer"
  13741. },
  13742. "goodunit": {
  13743. "description": "报价单位",
  13744. "type": "string"
  13745. },
  13746. "hasspotfreeze": {
  13747. "description": "是否有现货冻结 - 0:否 1:有",
  13748. "type": "integer"
  13749. },
  13750. "inqty": {
  13751. "description": "转入量(总数量)",
  13752. "type": "integer"
  13753. },
  13754. "marketid": {
  13755. "description": "市场ID",
  13756. "type": "integer"
  13757. },
  13758. "presaledamount": {
  13759. "description": "已预售总金额",
  13760. "type": "integer"
  13761. },
  13762. "presaledqty": {
  13763. "description": "已预售量",
  13764. "type": "integer"
  13765. },
  13766. "userid": {
  13767. "description": "用户ID",
  13768. "type": "integer"
  13769. },
  13770. "wrstandardid": {
  13771. "description": "仓单标准ID",
  13772. "type": "integer"
  13773. }
  13774. }
  13775. },
  13776. "cptrade.QueryCPTradeMyBidRsp": {
  13777. "type": "object",
  13778. "required": [
  13779. "accountid",
  13780. "goodsid",
  13781. "marketid",
  13782. "orderid",
  13783. "orderqty",
  13784. "ordertime",
  13785. "tradeprice",
  13786. "tradeqty"
  13787. ],
  13788. "properties": {
  13789. "accountid": {
  13790. "description": "账户ID[报价币种]",
  13791. "type": "integer"
  13792. },
  13793. "goodsid": {
  13794. "description": "商品ID",
  13795. "type": "integer"
  13796. },
  13797. "goodunit": {
  13798. "description": "报价单位",
  13799. "type": "string"
  13800. },
  13801. "marketid": {
  13802. "description": "市场ID",
  13803. "type": "integer"
  13804. },
  13805. "orderid": {
  13806. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13807. "type": "integer"
  13808. },
  13809. "orderprice": {
  13810. "description": "委托价格",
  13811. "type": "number"
  13812. },
  13813. "orderqty": {
  13814. "description": "委托数量",
  13815. "type": "integer"
  13816. },
  13817. "ordertime": {
  13818. "description": "委托时间",
  13819. "type": "string"
  13820. },
  13821. "ordertotalprice": {
  13822. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13823. "type": "number"
  13824. },
  13825. "ordertotalweight": {
  13826. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13827. "type": "integer"
  13828. },
  13829. "totaltotalprice": {
  13830. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13831. "type": "number"
  13832. },
  13833. "tradeprice": {
  13834. "description": "成交价格",
  13835. "type": "number"
  13836. },
  13837. "tradeqty": {
  13838. "description": "成交数量",
  13839. "type": "integer"
  13840. }
  13841. }
  13842. },
  13843. "cptrade.QueryCPTradeOrderDetailRsq": {
  13844. "type": "object",
  13845. "required": [
  13846. "accountid",
  13847. "buildtype",
  13848. "buyorsell",
  13849. "goodsid",
  13850. "marketid",
  13851. "memberuserid",
  13852. "operatetype",
  13853. "orderqty",
  13854. "ordertime",
  13855. "pricemode",
  13856. "strorderid",
  13857. "tradedate",
  13858. "validtype"
  13859. ],
  13860. "properties": {
  13861. "accountid": {
  13862. "description": "账户ID[报价币种]",
  13863. "type": "integer"
  13864. },
  13865. "buildtype": {
  13866. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13867. "type": "integer"
  13868. },
  13869. "buyorsell": {
  13870. "description": "买卖 - 0:买 1:卖",
  13871. "type": "integer"
  13872. },
  13873. "cancelorderid": {
  13874. "description": "撤单单号(撤单时填写)",
  13875. "type": "integer"
  13876. },
  13877. "cancelqty": {
  13878. "description": "撤单数量",
  13879. "type": "integer"
  13880. },
  13881. "clientordertime": {
  13882. "description": "客户端委托时间",
  13883. "type": "string"
  13884. },
  13885. "clientticket": {
  13886. "description": "客户端流水号",
  13887. "type": "string"
  13888. },
  13889. "clienttype": {
  13890. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13891. "type": "integer"
  13892. },
  13893. "closeexchagechargevalue": {
  13894. "description": "平仓交易所手续费设置值",
  13895. "type": "number"
  13896. },
  13897. "closefeealgorithm": {
  13898. "description": "平仓手续费收取方式 1:比率 2:固定",
  13899. "type": "integer"
  13900. },
  13901. "closefreezecharge": {
  13902. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13903. "type": "number"
  13904. },
  13905. "closememberchargevalue": {
  13906. "description": "平仓会员手续费设置值",
  13907. "type": "number"
  13908. },
  13909. "closeqty": {
  13910. "description": "平仓数量(先建后平操作 需要记录)",
  13911. "type": "integer"
  13912. },
  13913. "closetradeqty": {
  13914. "description": "平仓成交数量(先建后平操作,需要记录)",
  13915. "type": "integer"
  13916. },
  13917. "closeunfreezecharge": {
  13918. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13919. "type": "number"
  13920. },
  13921. "delistingtype": {
  13922. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13923. "type": "integer"
  13924. },
  13925. "freezecharge": {
  13926. "description": "冻结手续费",
  13927. "type": "number"
  13928. },
  13929. "freezemargin": {
  13930. "description": "冻结保证金(冻结交易金额)",
  13931. "type": "number"
  13932. },
  13933. "gcaccountid": {
  13934. "description": "账户ID[合约币种]",
  13935. "type": "integer"
  13936. },
  13937. "goodsid": {
  13938. "description": "商品ID",
  13939. "type": "integer"
  13940. },
  13941. "isconfirmexercise": {
  13942. "description": "是否确认行权- 0:否 1:是",
  13943. "type": "integer"
  13944. },
  13945. "ispreexercise": {
  13946. "description": "是否预申报- 0:否 1:是",
  13947. "type": "integer"
  13948. },
  13949. "listingselecttype": {
  13950. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13951. "type": "integer"
  13952. },
  13953. "marginalgorithm": {
  13954. "description": "保证金收取方式 1:比率 2:固定",
  13955. "type": "integer"
  13956. },
  13957. "marginvalue": {
  13958. "description": "即市保证金设置值",
  13959. "type": "number"
  13960. },
  13961. "marketid": {
  13962. "description": "市场ID",
  13963. "type": "integer"
  13964. },
  13965. "marketmaxsub": {
  13966. "description": "市价最大偏移范围",
  13967. "type": "number"
  13968. },
  13969. "memberuserid": {
  13970. "description": "所属会员UserID",
  13971. "type": "integer"
  13972. },
  13973. "openexchagechargevalue": {
  13974. "description": "建仓交易所手续费设置值",
  13975. "type": "number"
  13976. },
  13977. "openfeealgorithm": {
  13978. "description": "建仓手续费收取方式 1:比率 2:固定",
  13979. "type": "integer"
  13980. },
  13981. "openfreezecharge": {
  13982. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13983. "type": "number"
  13984. },
  13985. "openmemberchargevalue": {
  13986. "description": "建仓会员手续费设置值",
  13987. "type": "number"
  13988. },
  13989. "openqty": {
  13990. "description": "开仓数量(先建后平操作,需要记录)",
  13991. "type": "integer"
  13992. },
  13993. "opentradeqty": {
  13994. "description": "开仓成交数量(先建后平操作,需要记录)",
  13995. "type": "integer"
  13996. },
  13997. "openunfreezecharge": {
  13998. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13999. "type": "number"
  14000. },
  14001. "operatetype": {
  14002. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14003. "type": "integer"
  14004. },
  14005. "operatorid": {
  14006. "description": "登录账号(LoginID)",
  14007. "type": "integer"
  14008. },
  14009. "optiontype": {
  14010. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14011. "type": "integer"
  14012. },
  14013. "orderprice": {
  14014. "description": "委托价格",
  14015. "type": "number"
  14016. },
  14017. "orderqty": {
  14018. "description": "委托数量",
  14019. "type": "integer"
  14020. },
  14021. "ordersrc": {
  14022. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14023. "type": "integer"
  14024. },
  14025. "orderstatus": {
  14026. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14027. "type": "integer"
  14028. },
  14029. "ordertime": {
  14030. "description": "委托时间",
  14031. "type": "string"
  14032. },
  14033. "preexerciseprice": {
  14034. "description": "预申报价格",
  14035. "type": "number"
  14036. },
  14037. "premium": {
  14038. "description": "权利金",
  14039. "type": "number"
  14040. },
  14041. "preorderid": {
  14042. "description": "关联预埋单号(止盈止损单时填写)",
  14043. "type": "integer"
  14044. },
  14045. "pricemode": {
  14046. "description": "取价方式 - 1:市价 2: 限价",
  14047. "type": "integer"
  14048. },
  14049. "quoteid": {
  14050. "description": "报价单ID",
  14051. "type": "integer"
  14052. },
  14053. "relatedid": {
  14054. "description": "关联单号(交割单)",
  14055. "type": "integer"
  14056. },
  14057. "retcode": {
  14058. "description": "错误代码",
  14059. "type": "integer"
  14060. },
  14061. "sessionid": {
  14062. "description": "会话ID",
  14063. "type": "integer"
  14064. },
  14065. "strorderid": {
  14066. "description": "委托单号",
  14067. "type": "string"
  14068. },
  14069. "tradedate": {
  14070. "description": "交易日(yyyyMMdd)",
  14071. "type": "string"
  14072. },
  14073. "tradeproperty": {
  14074. "description": "交易属性",
  14075. "type": "integer"
  14076. },
  14077. "tradeqty": {
  14078. "description": "成交数量",
  14079. "type": "integer"
  14080. },
  14081. "unfreezecharge": {
  14082. "description": "解冻手续费",
  14083. "type": "number"
  14084. },
  14085. "unfreezemargin": {
  14086. "description": "解冻保证金",
  14087. "type": "number"
  14088. },
  14089. "updatetime": {
  14090. "description": "更新时间",
  14091. "type": "string"
  14092. },
  14093. "uuid": {
  14094. "description": "发起端唯一id",
  14095. "type": "string"
  14096. },
  14097. "validtime": {
  14098. "description": "有效期限",
  14099. "type": "string"
  14100. },
  14101. "validtype": {
  14102. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14103. "type": "integer"
  14104. },
  14105. "volumetype": {
  14106. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14107. "type": "integer"
  14108. }
  14109. }
  14110. },
  14111. "cptrade.QueryMyCPTradeGoodsRsp": {
  14112. "type": "object",
  14113. "required": [
  14114. "goodscode",
  14115. "goodsid",
  14116. "goodsname",
  14117. "marketid",
  14118. "relatedgoodscode",
  14119. "relatedgoodsname"
  14120. ],
  14121. "properties": {
  14122. "accountid": {
  14123. "description": "卖方账户ID",
  14124. "type": "integer"
  14125. },
  14126. "agreeunit": {
  14127. "description": "合约单位",
  14128. "type": "number"
  14129. },
  14130. "applyid": {
  14131. "description": "关联申请ID",
  14132. "type": "integer"
  14133. },
  14134. "attachmenturl": {
  14135. "description": "附件地址",
  14136. "type": "string"
  14137. },
  14138. "createtime": {
  14139. "description": "创建时间",
  14140. "type": "string"
  14141. },
  14142. "currencyid": {
  14143. "description": "报价货币ID",
  14144. "type": "integer"
  14145. },
  14146. "decimalplace": {
  14147. "description": "报价小数位",
  14148. "type": "integer"
  14149. },
  14150. "endtime": {
  14151. "description": "预售结束时间",
  14152. "type": "string"
  14153. },
  14154. "floorprice": {
  14155. "description": "底价[大宗式竞拍]",
  14156. "type": "number"
  14157. },
  14158. "goodscode": {
  14159. "description": "商品代码(预售)",
  14160. "type": "string"
  14161. },
  14162. "goodsdetail": {
  14163. "description": "详情[大宗]",
  14164. "type": "string"
  14165. },
  14166. "goodsid": {
  14167. "description": "商品ID(自增ID SEQ_GOODS)",
  14168. "type": "integer"
  14169. },
  14170. "goodsname": {
  14171. "description": "商品名称(预售)",
  14172. "type": "string"
  14173. },
  14174. "goodunit": {
  14175. "description": "报价单位",
  14176. "type": "string"
  14177. },
  14178. "goodunitid": {
  14179. "description": "报价单位ID",
  14180. "type": "integer"
  14181. },
  14182. "marketid": {
  14183. "description": "所属市场ID",
  14184. "type": "integer"
  14185. },
  14186. "marketname": {
  14187. "description": "预售市场名称",
  14188. "type": "string"
  14189. },
  14190. "presaledamount": {
  14191. "description": "已预售总金额(预售结束时更新)",
  14192. "type": "number"
  14193. },
  14194. "presaledqty": {
  14195. "description": "已预售量(预售结束时更新)",
  14196. "type": "integer"
  14197. },
  14198. "presalemode": {
  14199. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14200. "type": "integer"
  14201. },
  14202. "presaleqty": {
  14203. "description": "预售数量",
  14204. "type": "integer"
  14205. },
  14206. "refprice": {
  14207. "description": "参考价格[一口价]",
  14208. "type": "number"
  14209. },
  14210. "relatedgoodscode": {
  14211. "description": "商品代码(订单)",
  14212. "type": "string"
  14213. },
  14214. "relatedgoodsid": {
  14215. "description": "关联交易合约ID",
  14216. "type": "integer"
  14217. },
  14218. "relatedgoodsname": {
  14219. "description": "商品名称(订单)",
  14220. "type": "string"
  14221. },
  14222. "relatedmarketid": {
  14223. "description": "关联交易合约市场ID",
  14224. "type": "integer"
  14225. },
  14226. "sellstatus": {
  14227. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14228. "type": "integer"
  14229. },
  14230. "startprice": {
  14231. "description": "起拍价[大宗式竞拍]",
  14232. "type": "number"
  14233. },
  14234. "starttime": {
  14235. "description": "预售开始时间",
  14236. "type": "string"
  14237. },
  14238. "tradedate": {
  14239. "description": "交易日(yyyyMMdd)",
  14240. "type": "string"
  14241. },
  14242. "tradeprice": {
  14243. "description": "成交价[大宗]",
  14244. "type": "number"
  14245. },
  14246. "userid": {
  14247. "description": "卖方用户ID",
  14248. "type": "integer"
  14249. }
  14250. }
  14251. },
  14252. "cptrade.QueryPresaleGoodsExRsp": {
  14253. "type": "object",
  14254. "required": [
  14255. "goodsid"
  14256. ],
  14257. "properties": {
  14258. "attachmenturl": {
  14259. "description": "附件地址",
  14260. "type": "string"
  14261. },
  14262. "createtime": {
  14263. "description": "创建时间",
  14264. "type": "string"
  14265. },
  14266. "endtime": {
  14267. "description": "预售结束时间",
  14268. "type": "string"
  14269. },
  14270. "floorprice": {
  14271. "description": "底价[大宗式竞拍]",
  14272. "type": "number"
  14273. },
  14274. "goodsdetail": {
  14275. "description": "详情[大宗]",
  14276. "type": "string"
  14277. },
  14278. "goodsid": {
  14279. "description": "商品ID(预售)",
  14280. "type": "integer"
  14281. },
  14282. "goodunit": {
  14283. "description": "报价单位",
  14284. "type": "string"
  14285. },
  14286. "marketid": {
  14287. "description": "预售市场ID - 根据预售模式选择市场",
  14288. "type": "integer"
  14289. },
  14290. "presaledamount": {
  14291. "description": "已预售总金额(预售结束时更新)",
  14292. "type": "number"
  14293. },
  14294. "presaledqty": {
  14295. "description": "已预售量(预售结束时更新)",
  14296. "type": "integer"
  14297. },
  14298. "presalemode": {
  14299. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14300. "type": "integer"
  14301. },
  14302. "presaleqty": {
  14303. "description": "预售数量",
  14304. "type": "integer"
  14305. },
  14306. "refprice": {
  14307. "description": "参考价格[一口价]",
  14308. "type": "number"
  14309. },
  14310. "relatedgoodsid": {
  14311. "description": "关联交易合约ID",
  14312. "type": "integer"
  14313. },
  14314. "relatedmarketid": {
  14315. "description": "关联交易合约市场ID",
  14316. "type": "integer"
  14317. },
  14318. "sellstatus": {
  14319. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14320. "type": "integer"
  14321. },
  14322. "startprice": {
  14323. "description": "起拍价[大宗式竞拍]",
  14324. "type": "number"
  14325. },
  14326. "starttime": {
  14327. "description": "预售开始时间",
  14328. "type": "string"
  14329. },
  14330. "tradedate": {
  14331. "description": "交易日(yyyyMMdd)",
  14332. "type": "string"
  14333. },
  14334. "tradeprice": {
  14335. "description": "成交价[大宗]",
  14336. "type": "number"
  14337. }
  14338. }
  14339. },
  14340. "delivery.QueryDeliveryRelationRsp": {
  14341. "type": "object",
  14342. "required": [
  14343. "begindate",
  14344. "enddate",
  14345. "goodsid",
  14346. "mindeliveryqty",
  14347. "xdeliveryratio"
  14348. ],
  14349. "properties": {
  14350. "begindate": {
  14351. "description": "起始日期(yyyyMMdd)",
  14352. "type": "string"
  14353. },
  14354. "buytemplateid": {
  14355. "description": "买履约计划模板ID",
  14356. "type": "integer"
  14357. },
  14358. "deliverygoodscode": {
  14359. "description": "品种代码",
  14360. "type": "string"
  14361. },
  14362. "deliverygoodsid": {
  14363. "description": "交割商品",
  14364. "type": "integer"
  14365. },
  14366. "deliverygoodsname": {
  14367. "description": "品种名称",
  14368. "type": "string"
  14369. },
  14370. "deliverymode": {
  14371. "description": "交割方式 - 1:点选式 2:申报式",
  14372. "type": "integer"
  14373. },
  14374. "deliverypricerule": {
  14375. "description": "交割价规则- 1:行情价 2:建仓价",
  14376. "type": "integer"
  14377. },
  14378. "deliverytype": {
  14379. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14380. "type": "integer"
  14381. },
  14382. "enddate": {
  14383. "description": "结束日期(yyyyMMdd)",
  14384. "type": "string"
  14385. },
  14386. "enumdicname": {
  14387. "description": "品类单位名称",
  14388. "type": "string"
  14389. },
  14390. "goodscode": {
  14391. "description": "商品代码",
  14392. "type": "string"
  14393. },
  14394. "goodsid": {
  14395. "description": "交易合约ID",
  14396. "type": "integer"
  14397. },
  14398. "goodsname": {
  14399. "description": "商品名称",
  14400. "type": "string"
  14401. },
  14402. "marketid": {
  14403. "description": "市场ID",
  14404. "type": "integer"
  14405. },
  14406. "mindeliveryqty": {
  14407. "description": "最小交割系数(K)",
  14408. "type": "integer"
  14409. },
  14410. "p2deliveryprice": {
  14411. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14412. "type": "number"
  14413. },
  14414. "p2deliveryratio": {
  14415. "description": "P2合约系数(p)",
  14416. "type": "integer"
  14417. },
  14418. "p2goodsid": {
  14419. "description": "P2合约ID",
  14420. "type": "integer"
  14421. },
  14422. "p2pricemode": {
  14423. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14424. "type": "integer"
  14425. },
  14426. "pdeliveryprice": {
  14427. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14428. "type": "number"
  14429. },
  14430. "pdeliveryratio": {
  14431. "description": "P合约系数(n)",
  14432. "type": "integer"
  14433. },
  14434. "pgoodscode": {
  14435. "description": "p合约代码",
  14436. "type": "string"
  14437. },
  14438. "pgoodsid": {
  14439. "description": "P合约ID",
  14440. "type": "integer"
  14441. },
  14442. "ppricemode": {
  14443. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14444. "type": "integer"
  14445. },
  14446. "rratio": {
  14447. "description": "兑换系数(R)",
  14448. "type": "integer"
  14449. },
  14450. "rratio1": {
  14451. "description": "兑换系数(交易合约)(R1)",
  14452. "type": "integer"
  14453. },
  14454. "rratio2": {
  14455. "description": "兑换系数(仓单标准)(R2)",
  14456. "type": "integer"
  14457. },
  14458. "selltemplateid": {
  14459. "description": "卖履约计划模板ID",
  14460. "type": "integer"
  14461. },
  14462. "wrstandardid": {
  14463. "description": "仓单标准ID",
  14464. "type": "integer"
  14465. },
  14466. "xdeliveryratio": {
  14467. "description": "交易合约系数(m)",
  14468. "type": "integer"
  14469. }
  14470. }
  14471. },
  14472. "ermcp.ExposureDetailRsp": {
  14473. "type": "object",
  14474. "properties": {
  14475. "areauserid": {
  14476. "description": "机构ID",
  14477. "type": "integer"
  14478. },
  14479. "changeQty": {
  14480. "description": "套保变动量",
  14481. "type": "number"
  14482. },
  14483. "contracttype": {
  14484. "description": "现货合同类型 - 1:采购 -1:销售",
  14485. "type": "integer"
  14486. },
  14487. "convertfactor": {
  14488. "description": "标仓系数",
  14489. "type": "number"
  14490. },
  14491. "convertratio": {
  14492. "description": "套保系数",
  14493. "type": "number"
  14494. },
  14495. "createtime": {
  14496. "description": "时间",
  14497. "type": "string"
  14498. },
  14499. "enumdicname": {
  14500. "description": "现货商品单位名称",
  14501. "type": "string"
  14502. },
  14503. "logtype": {
  14504. "description": "类型 - 1:套保计划 2:现货合同",
  14505. "type": "integer"
  14506. },
  14507. "middlegoodsId": {
  14508. "description": "套保商品id",
  14509. "type": "integer"
  14510. },
  14511. "middlegoodscode": {
  14512. "description": "套保商品代码",
  14513. "type": "string"
  14514. },
  14515. "middlegoodsname": {
  14516. "description": "套保商品名称",
  14517. "type": "string"
  14518. },
  14519. "qty": {
  14520. "description": "数量",
  14521. "type": "number"
  14522. },
  14523. "relateNo": {
  14524. "description": "现货合同/套保计划编号",
  14525. "type": "string"
  14526. },
  14527. "wrstandardcode": {
  14528. "description": "现货商品代码",
  14529. "type": "string"
  14530. },
  14531. "wrstandardid": {
  14532. "description": "现货商品ID",
  14533. "type": "integer"
  14534. },
  14535. "wrstandardname": {
  14536. "description": "现货商品名称",
  14537. "type": "string"
  14538. }
  14539. }
  14540. },
  14541. "ermcp.ExposureHedgePosDetailRsp": {
  14542. "type": "object",
  14543. "properties": {
  14544. "buyorsell": {
  14545. "description": "买卖方向 0-买 1-卖",
  14546. "type": "integer"
  14547. },
  14548. "channelbuildtype": {
  14549. "description": "开平方向 1-建仓 2-平仓",
  14550. "type": "integer"
  14551. },
  14552. "goodscode": {
  14553. "description": "商品代码",
  14554. "type": "string"
  14555. },
  14556. "goodsname": {
  14557. "description": "商品名称",
  14558. "type": "string"
  14559. },
  14560. "hedgegoodsid": {
  14561. "description": "商品id",
  14562. "type": "integer"
  14563. },
  14564. "tradeqty": {
  14565. "description": "数量(成交数量)",
  14566. "type": "integer"
  14567. },
  14568. "tradetime": {
  14569. "description": "时间(成交时间)",
  14570. "type": "string"
  14571. }
  14572. }
  14573. },
  14574. "ermcp.ExposureHedgePositionRsp": {
  14575. "type": "object",
  14576. "properties": {
  14577. "accountid": {
  14578. "description": "资金账号[外部母账户]",
  14579. "type": "integer"
  14580. },
  14581. "curbuyposition": {
  14582. "description": "期末买头寸",
  14583. "type": "integer"
  14584. },
  14585. "cursellposition": {
  14586. "description": "期末卖头寸",
  14587. "type": "integer"
  14588. },
  14589. "curtdbuyposition": {
  14590. "description": "期末今日买头寸",
  14591. "type": "integer"
  14592. },
  14593. "curtdsellposition": {
  14594. "description": "期末今日卖头寸",
  14595. "type": "integer"
  14596. },
  14597. "curydbuyposition": {
  14598. "description": "期末上日买头寸",
  14599. "type": "integer"
  14600. },
  14601. "curydsellposition": {
  14602. "description": "期末上日卖头寸",
  14603. "type": "integer"
  14604. },
  14605. "decreaseqty": {
  14606. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14607. "type": "integer"
  14608. },
  14609. "fretdbuyposition": {
  14610. "description": "冻结今日买头寸",
  14611. "type": "integer"
  14612. },
  14613. "fretdsellposition": {
  14614. "description": "冻结今日卖头寸",
  14615. "type": "integer"
  14616. },
  14617. "freydbuyposition": {
  14618. "description": "冻结上日买头寸",
  14619. "type": "integer"
  14620. },
  14621. "freydsellposition": {
  14622. "description": "冻结上日卖头寸",
  14623. "type": "integer"
  14624. },
  14625. "goodscode": {
  14626. "description": "商品代码",
  14627. "type": "string"
  14628. },
  14629. "goodsid": {
  14630. "description": "商品id",
  14631. "type": "integer"
  14632. },
  14633. "goodsname": {
  14634. "description": "商品名称",
  14635. "type": "string"
  14636. },
  14637. "hedgeaccountcode": {
  14638. "description": "对冲账号",
  14639. "type": "string"
  14640. },
  14641. "hedgegoodsid": {
  14642. "description": "对冲合约ID",
  14643. "type": "integer"
  14644. },
  14645. "increaseqty": {
  14646. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14647. "type": "integer"
  14648. },
  14649. "marketid": {
  14650. "description": "市场ID",
  14651. "type": "integer"
  14652. },
  14653. "relateduserid": {
  14654. "description": "关联用户id",
  14655. "type": "integer"
  14656. },
  14657. "totalcurqty": {
  14658. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14659. "type": "integer"
  14660. },
  14661. "totalydqty": {
  14662. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14663. "type": "integer"
  14664. },
  14665. "tradedate": {
  14666. "description": "交易日(yyyyMMdd)",
  14667. "type": "string"
  14668. },
  14669. "ydbuyposition": {
  14670. "description": "期初买头寸",
  14671. "type": "integer"
  14672. },
  14673. "ydsellposition": {
  14674. "description": "期初卖头寸",
  14675. "type": "integer"
  14676. }
  14677. }
  14678. },
  14679. "ermcp.ExposureSpotDetailRsp": {
  14680. "type": "object",
  14681. "properties": {
  14682. "contracttype": {
  14683. "description": "合同类型 1-采购 -1-销售",
  14684. "type": "integer"
  14685. },
  14686. "createtime": {
  14687. "description": "创建时间",
  14688. "type": "string"
  14689. },
  14690. "enumdicname": {
  14691. "description": "现货商品单位名称",
  14692. "type": "string"
  14693. },
  14694. "logtype": {
  14695. "description": "记录类型 1-套保 2-现货合同",
  14696. "type": "integer"
  14697. },
  14698. "qty": {
  14699. "description": "数量",
  14700. "type": "number"
  14701. },
  14702. "recordname": {
  14703. "description": "类型名称",
  14704. "type": "string"
  14705. },
  14706. "relatedid": {
  14707. "description": "套保计划ID/现货合同ID",
  14708. "type": "string"
  14709. },
  14710. "relatedno": {
  14711. "description": "编号",
  14712. "type": "string"
  14713. },
  14714. "strtime": {
  14715. "description": "时间",
  14716. "type": "string"
  14717. },
  14718. "wrstandardcode": {
  14719. "description": "现货商品代码",
  14720. "type": "string"
  14721. },
  14722. "wrstandardname": {
  14723. "description": "现货商品名称",
  14724. "type": "string"
  14725. }
  14726. }
  14727. },
  14728. "ermcp.ExposureSpotRsp": {
  14729. "type": "object",
  14730. "properties": {
  14731. "areauserid": {
  14732. "description": "所属机构",
  14733. "type": "integer"
  14734. },
  14735. "decreaseqty": {
  14736. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14737. "type": "number"
  14738. },
  14739. "increaseqty": {
  14740. "description": "增加数量=销售计划数量+采购已定价数量",
  14741. "type": "number"
  14742. },
  14743. "oritoalspotqty": {
  14744. "description": "昨日数量",
  14745. "type": "number"
  14746. },
  14747. "totalspotqty": {
  14748. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14749. "type": "number"
  14750. },
  14751. "updatetime": {
  14752. "description": "更新时间",
  14753. "type": "string"
  14754. },
  14755. "wrstandardcode": {
  14756. "description": "现货品种代码",
  14757. "type": "string"
  14758. },
  14759. "wrstandardid": {
  14760. "description": "现货商品ID",
  14761. "type": "integer"
  14762. },
  14763. "wrstandardname": {
  14764. "description": "现货品种",
  14765. "type": "string"
  14766. }
  14767. }
  14768. },
  14769. "ermcp.HisExposureRsp": {
  14770. "type": "object",
  14771. "properties": {
  14772. "data": {
  14773. "description": "历史敞口",
  14774. "type": "array",
  14775. "items": {
  14776. "$ref": "#/definitions/models.ErmcpHisExposure"
  14777. }
  14778. },
  14779. "enumdicname": {
  14780. "description": "单位名称",
  14781. "type": "string"
  14782. },
  14783. "middlegoodscode": {
  14784. "description": "套保品种代码",
  14785. "type": "string"
  14786. },
  14787. "middlegoodsid": {
  14788. "description": "套保品种ID",
  14789. "type": "integer"
  14790. },
  14791. "middlegoodsname": {
  14792. "description": "套保品种名称",
  14793. "type": "string"
  14794. }
  14795. }
  14796. },
  14797. "ermcp.PendingAuditCntRsp": {
  14798. "type": "object",
  14799. "properties": {
  14800. "areastockqty": {
  14801. "description": "待审核数量: 库存申请",
  14802. "type": "integer"
  14803. },
  14804. "businessdjqty": {
  14805. "description": "待审核数量: 点价",
  14806. "type": "integer"
  14807. },
  14808. "businessfpqty": {
  14809. "description": "待审核数量: 发票",
  14810. "type": "integer"
  14811. },
  14812. "businessjsqty": {
  14813. "description": "待审核数量: 结算",
  14814. "type": "integer"
  14815. },
  14816. "businesskxqty": {
  14817. "description": "待审核数量: 款项",
  14818. "type": "integer"
  14819. },
  14820. "hedgeplanqty": {
  14821. "description": "待审核数量: 套保计划",
  14822. "type": "integer"
  14823. },
  14824. "spotcontractqty": {
  14825. "description": "待审核数量: 现货合同",
  14826. "type": "integer"
  14827. },
  14828. "userqty": {
  14829. "description": "待审核数量: 用户",
  14830. "type": "integer"
  14831. }
  14832. }
  14833. },
  14834. "ermcp.QryAvalidGPRsp": {
  14835. "type": "object",
  14836. "properties": {
  14837. "goodsgroupid": {
  14838. "description": "期货品种id",
  14839. "type": "integer"
  14840. },
  14841. "goodsgroupname": {
  14842. "description": "期货品种名称",
  14843. "type": "string"
  14844. },
  14845. "goodunitid": {
  14846. "description": "品种单位id",
  14847. "type": "integer"
  14848. },
  14849. "goodunitname": {
  14850. "description": "品种单位名称",
  14851. "type": "string"
  14852. },
  14853. "outergroupcode": {
  14854. "description": "期货品种代码",
  14855. "type": "string"
  14856. }
  14857. }
  14858. },
  14859. "ermcp.QryBusinessDjRsp": {
  14860. "type": "object",
  14861. "properties": {
  14862. "amount": {
  14863. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14864. "type": "number"
  14865. },
  14866. "applyid": {
  14867. "description": "申请人",
  14868. "type": "string"
  14869. },
  14870. "applyname": {
  14871. "description": "申请人名称",
  14872. "type": "string"
  14873. },
  14874. "applystatus": {
  14875. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14876. "type": "integer"
  14877. },
  14878. "applytime": {
  14879. "description": "申请时间",
  14880. "type": "string"
  14881. },
  14882. "attachurl": {
  14883. "description": "附件",
  14884. "type": "string"
  14885. },
  14886. "auditid": {
  14887. "description": "审核人ID",
  14888. "type": "string"
  14889. },
  14890. "auditname": {
  14891. "description": "审核人名称",
  14892. "type": "string"
  14893. },
  14894. "audittime": {
  14895. "description": "审核时间",
  14896. "type": "string"
  14897. },
  14898. "buyusername": {
  14899. "description": "采购方名称",
  14900. "type": "string"
  14901. },
  14902. "contractno": {
  14903. "description": "合同编号",
  14904. "type": "string"
  14905. },
  14906. "contractstatus": {
  14907. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14908. "type": "integer"
  14909. },
  14910. "contracttype": {
  14911. "description": "现货合同类型 - 1:采购 -1:销售",
  14912. "type": "integer"
  14913. },
  14914. "deliverygoodscode": {
  14915. "description": "现货品种代码",
  14916. "type": "string"
  14917. },
  14918. "deliverygoodsid": {
  14919. "description": "现货商品ID",
  14920. "type": "integer"
  14921. },
  14922. "deliverygoodsname": {
  14923. "description": "现货品种名称",
  14924. "type": "string"
  14925. },
  14926. "enumdicname": {
  14927. "description": "单位名称",
  14928. "type": "string"
  14929. },
  14930. "goodscode": {
  14931. "description": "点价合约",
  14932. "type": "string"
  14933. },
  14934. "goodsname": {
  14935. "description": "商品名称",
  14936. "type": "string"
  14937. },
  14938. "operateapplyid": {
  14939. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14940. "type": "string"
  14941. },
  14942. "operateapplytype": {
  14943. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14944. "type": "integer"
  14945. },
  14946. "pricedPrice": {
  14947. "description": "点价价格(非必填)",
  14948. "type": "number"
  14949. },
  14950. "pricedQty": {
  14951. "description": "点价数量(非必填)",
  14952. "type": "number"
  14953. },
  14954. "pricemove": {
  14955. "description": "升贴水",
  14956. "type": "number"
  14957. },
  14958. "pricetype": {
  14959. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14960. "type": "integer"
  14961. },
  14962. "relatedid": {
  14963. "description": "现货合同ID",
  14964. "type": "string"
  14965. },
  14966. "sellusername": {
  14967. "description": "销售方名字",
  14968. "type": "string"
  14969. },
  14970. "userid": {
  14971. "description": "用户ID",
  14972. "type": "integer"
  14973. },
  14974. "wrstandardcode": {
  14975. "description": "品类代码",
  14976. "type": "string"
  14977. },
  14978. "wrstandardid": {
  14979. "description": "品类id",
  14980. "type": "integer"
  14981. },
  14982. "wrstandardname": {
  14983. "description": "品类名称",
  14984. "type": "string"
  14985. }
  14986. }
  14987. },
  14988. "ermcp.QryBussinessFpRsp": {
  14989. "type": "object",
  14990. "properties": {
  14991. "applyid": {
  14992. "description": "申请人",
  14993. "type": "string"
  14994. },
  14995. "applyname": {
  14996. "description": "申请人名称",
  14997. "type": "string"
  14998. },
  14999. "applystatus": {
  15000. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15001. "type": "integer"
  15002. },
  15003. "applytime": {
  15004. "description": "申请时间",
  15005. "type": "string"
  15006. },
  15007. "attachurl": {
  15008. "description": "附件",
  15009. "type": "string"
  15010. },
  15011. "auditid": {
  15012. "description": "审核人ID",
  15013. "type": "string"
  15014. },
  15015. "auditname": {
  15016. "description": "审核人名称",
  15017. "type": "string"
  15018. },
  15019. "audittime": {
  15020. "description": "审核时间",
  15021. "type": "string"
  15022. },
  15023. "buyusername": {
  15024. "description": "采购方名称",
  15025. "type": "string"
  15026. },
  15027. "contractno": {
  15028. "description": "合同编号",
  15029. "type": "string"
  15030. },
  15031. "contractstatus": {
  15032. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15033. "type": "integer"
  15034. },
  15035. "contracttype": {
  15036. "description": "现货合同类型 - 1:采购 -1:销售",
  15037. "type": "integer"
  15038. },
  15039. "deliverygoodscode": {
  15040. "description": "现货品种代码",
  15041. "type": "string"
  15042. },
  15043. "deliverygoodsid": {
  15044. "description": "现货商品ID",
  15045. "type": "integer"
  15046. },
  15047. "deliverygoodsname": {
  15048. "description": "现货品种名称",
  15049. "type": "string"
  15050. },
  15051. "enumdicname": {
  15052. "description": "单位名称",
  15053. "type": "string"
  15054. },
  15055. "goodscode": {
  15056. "description": "点价合约",
  15057. "type": "string"
  15058. },
  15059. "goodsname": {
  15060. "description": "商品名称",
  15061. "type": "string"
  15062. },
  15063. "invoiceAmount": {
  15064. "description": "已开收票金额(销售为开票,采购为收票)",
  15065. "type": "number"
  15066. },
  15067. "operateapplyid": {
  15068. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15069. "type": "string"
  15070. },
  15071. "operateapplytype": {
  15072. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15073. "type": "integer"
  15074. },
  15075. "pricemove": {
  15076. "description": "升贴水",
  15077. "type": "number"
  15078. },
  15079. "pricetype": {
  15080. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15081. "type": "integer"
  15082. },
  15083. "relatedid": {
  15084. "description": "现货合同ID",
  15085. "type": "string"
  15086. },
  15087. "sellusername": {
  15088. "description": "销售方名字",
  15089. "type": "string"
  15090. },
  15091. "userid": {
  15092. "description": "用户ID",
  15093. "type": "integer"
  15094. },
  15095. "wrstandardcode": {
  15096. "description": "品类代码",
  15097. "type": "string"
  15098. },
  15099. "wrstandardid": {
  15100. "description": "品类id",
  15101. "type": "integer"
  15102. },
  15103. "wrstandardname": {
  15104. "description": "品类名称",
  15105. "type": "string"
  15106. }
  15107. }
  15108. },
  15109. "ermcp.QryBussinessJsExRsp": {
  15110. "type": "object",
  15111. "properties": {
  15112. "applyid": {
  15113. "description": "申请人",
  15114. "type": "string"
  15115. },
  15116. "applyname": {
  15117. "description": "申请人名称",
  15118. "type": "string"
  15119. },
  15120. "applystatus": {
  15121. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15122. "type": "integer"
  15123. },
  15124. "applytime": {
  15125. "description": "申请时间",
  15126. "type": "string"
  15127. },
  15128. "attachurl": {
  15129. "description": "附件",
  15130. "type": "string"
  15131. },
  15132. "auditid": {
  15133. "description": "审核人ID",
  15134. "type": "string"
  15135. },
  15136. "auditname": {
  15137. "description": "审核人名称",
  15138. "type": "string"
  15139. },
  15140. "audittime": {
  15141. "description": "审核时间",
  15142. "type": "string"
  15143. },
  15144. "buyusername": {
  15145. "description": "采购方名称",
  15146. "type": "string"
  15147. },
  15148. "contractno": {
  15149. "description": "合同编号",
  15150. "type": "string"
  15151. },
  15152. "contractstatus": {
  15153. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15154. "type": "integer"
  15155. },
  15156. "contracttype": {
  15157. "description": "现货合同类型 - 1:采购 -1:销售",
  15158. "type": "integer"
  15159. },
  15160. "deliverygoodscode": {
  15161. "description": "现货品种代码",
  15162. "type": "string"
  15163. },
  15164. "deliverygoodsid": {
  15165. "description": "现货商品ID",
  15166. "type": "integer"
  15167. },
  15168. "deliverygoodsname": {
  15169. "description": "现货品种名称",
  15170. "type": "string"
  15171. },
  15172. "enumdicname": {
  15173. "description": "单位名称",
  15174. "type": "string"
  15175. },
  15176. "goodscode": {
  15177. "description": "点价合约",
  15178. "type": "string"
  15179. },
  15180. "goodsname": {
  15181. "description": "商品名称",
  15182. "type": "string"
  15183. },
  15184. "operateapplyid": {
  15185. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15186. "type": "string"
  15187. },
  15188. "operateapplytype": {
  15189. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15190. "type": "integer"
  15191. },
  15192. "pricemove": {
  15193. "description": "升贴水",
  15194. "type": "number"
  15195. },
  15196. "pricetype": {
  15197. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15198. "type": "integer"
  15199. },
  15200. "reckontype": {
  15201. "description": "结算类型",
  15202. "type": "string"
  15203. },
  15204. "reckonvalue": {
  15205. "description": "值",
  15206. "type": "number"
  15207. },
  15208. "relatedid": {
  15209. "description": "现货合同ID",
  15210. "type": "string"
  15211. },
  15212. "sellusername": {
  15213. "description": "销售方名字",
  15214. "type": "string"
  15215. },
  15216. "userid": {
  15217. "description": "用户ID",
  15218. "type": "integer"
  15219. },
  15220. "wrstandardcode": {
  15221. "description": "品类代码",
  15222. "type": "string"
  15223. },
  15224. "wrstandardid": {
  15225. "description": "品类id",
  15226. "type": "integer"
  15227. },
  15228. "wrstandardname": {
  15229. "description": "品类名称",
  15230. "type": "string"
  15231. }
  15232. }
  15233. },
  15234. "ermcp.QryBussinessJsRsp": {
  15235. "type": "object",
  15236. "properties": {
  15237. "addmargin": {
  15238. "description": "追加保证金(非必填)",
  15239. "type": "number"
  15240. },
  15241. "applyid": {
  15242. "description": "申请人",
  15243. "type": "string"
  15244. },
  15245. "applyname": {
  15246. "description": "申请人名称",
  15247. "type": "string"
  15248. },
  15249. "applystatus": {
  15250. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15251. "type": "integer"
  15252. },
  15253. "applytime": {
  15254. "description": "申请时间",
  15255. "type": "string"
  15256. },
  15257. "attachurl": {
  15258. "description": "附件",
  15259. "type": "string"
  15260. },
  15261. "auditid": {
  15262. "description": "审核人ID",
  15263. "type": "string"
  15264. },
  15265. "auditname": {
  15266. "description": "审核人名称",
  15267. "type": "string"
  15268. },
  15269. "audittime": {
  15270. "description": "审核时间",
  15271. "type": "string"
  15272. },
  15273. "buyusername": {
  15274. "description": "采购方名称",
  15275. "type": "string"
  15276. },
  15277. "contractno": {
  15278. "description": "合同编号",
  15279. "type": "string"
  15280. },
  15281. "contractstatus": {
  15282. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15283. "type": "integer"
  15284. },
  15285. "contracttype": {
  15286. "description": "现货合同类型 - 1:采购 -1:销售",
  15287. "type": "integer"
  15288. },
  15289. "decmargin": {
  15290. "description": "减少保证金(非必填)",
  15291. "type": "number"
  15292. },
  15293. "deliverygoodscode": {
  15294. "description": "现货品种代码",
  15295. "type": "string"
  15296. },
  15297. "deliverygoodsid": {
  15298. "description": "现货商品ID",
  15299. "type": "integer"
  15300. },
  15301. "deliverygoodsname": {
  15302. "description": "现货品种名称",
  15303. "type": "string"
  15304. },
  15305. "enumdicname": {
  15306. "description": "单位名称",
  15307. "type": "string"
  15308. },
  15309. "goodscode": {
  15310. "description": "点价合约",
  15311. "type": "string"
  15312. },
  15313. "goodsname": {
  15314. "description": "商品名称",
  15315. "type": "string"
  15316. },
  15317. "operateapplyid": {
  15318. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15319. "type": "string"
  15320. },
  15321. "operateapplytype": {
  15322. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15323. "type": "integer"
  15324. },
  15325. "pricemove": {
  15326. "description": "升贴水",
  15327. "type": "number"
  15328. },
  15329. "pricetype": {
  15330. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15331. "type": "integer"
  15332. },
  15333. "reckonadjustamount": {
  15334. "description": "结算调整金额(非必填)",
  15335. "type": "number"
  15336. },
  15337. "reckonosamount": {
  15338. "description": "结算溢短金额(非必填)",
  15339. "type": "number"
  15340. },
  15341. "reckonotheramount": {
  15342. "description": "结算其他费用(非必填)",
  15343. "type": "number"
  15344. },
  15345. "reckonrealqty": {
  15346. "description": "结算实际数量(非必填)",
  15347. "type": "number"
  15348. },
  15349. "relatedid": {
  15350. "description": "现货合同ID",
  15351. "type": "string"
  15352. },
  15353. "sellusername": {
  15354. "description": "销售方名字",
  15355. "type": "string"
  15356. },
  15357. "userid": {
  15358. "description": "用户ID",
  15359. "type": "integer"
  15360. },
  15361. "wrstandardcode": {
  15362. "description": "品类代码",
  15363. "type": "string"
  15364. },
  15365. "wrstandardid": {
  15366. "description": "品类id",
  15367. "type": "integer"
  15368. },
  15369. "wrstandardname": {
  15370. "description": "品类名称",
  15371. "type": "string"
  15372. }
  15373. }
  15374. },
  15375. "ermcp.QryBussinessKxRsp": {
  15376. "type": "object",
  15377. "properties": {
  15378. "applyid": {
  15379. "description": "申请人",
  15380. "type": "string"
  15381. },
  15382. "applyname": {
  15383. "description": "申请人名称",
  15384. "type": "string"
  15385. },
  15386. "applystatus": {
  15387. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15388. "type": "integer"
  15389. },
  15390. "applytime": {
  15391. "description": "申请时间",
  15392. "type": "string"
  15393. },
  15394. "attachurl": {
  15395. "description": "附件",
  15396. "type": "string"
  15397. },
  15398. "auditid": {
  15399. "description": "审核人ID",
  15400. "type": "string"
  15401. },
  15402. "auditname": {
  15403. "description": "审核人名称",
  15404. "type": "string"
  15405. },
  15406. "audittime": {
  15407. "description": "审核时间",
  15408. "type": "string"
  15409. },
  15410. "buyusername": {
  15411. "description": "采购方名称",
  15412. "type": "string"
  15413. },
  15414. "contractno": {
  15415. "description": "合同编号",
  15416. "type": "string"
  15417. },
  15418. "contractstatus": {
  15419. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15420. "type": "integer"
  15421. },
  15422. "contracttype": {
  15423. "description": "现货合同类型 - 1:采购 -1:销售",
  15424. "type": "integer"
  15425. },
  15426. "deductamount": {
  15427. "description": "退款(非必填)",
  15428. "type": "number"
  15429. },
  15430. "deliverygoodscode": {
  15431. "description": "现货品种代码",
  15432. "type": "string"
  15433. },
  15434. "deliverygoodsid": {
  15435. "description": "现货商品ID",
  15436. "type": "integer"
  15437. },
  15438. "deliverygoodsname": {
  15439. "description": "现货品种名称",
  15440. "type": "string"
  15441. },
  15442. "enumdicname": {
  15443. "description": "单位名称",
  15444. "type": "string"
  15445. },
  15446. "goodscode": {
  15447. "description": "点价合约",
  15448. "type": "string"
  15449. },
  15450. "goodsname": {
  15451. "description": "商品名称",
  15452. "type": "string"
  15453. },
  15454. "kxtype": {
  15455. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15456. "type": "integer"
  15457. },
  15458. "operateapplyid": {
  15459. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15460. "type": "string"
  15461. },
  15462. "operateapplytype": {
  15463. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15464. "type": "integer"
  15465. },
  15466. "payamount": {
  15467. "description": "收付款(非必填)",
  15468. "type": "number"
  15469. },
  15470. "pricemove": {
  15471. "description": "升贴水",
  15472. "type": "number"
  15473. },
  15474. "pricetype": {
  15475. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15476. "type": "integer"
  15477. },
  15478. "relatedid": {
  15479. "description": "现货合同ID",
  15480. "type": "string"
  15481. },
  15482. "sellusername": {
  15483. "description": "销售方名字",
  15484. "type": "string"
  15485. },
  15486. "userid": {
  15487. "description": "用户ID",
  15488. "type": "integer"
  15489. },
  15490. "wrstandardcode": {
  15491. "description": "品类代码",
  15492. "type": "string"
  15493. },
  15494. "wrstandardid": {
  15495. "description": "品类id",
  15496. "type": "integer"
  15497. },
  15498. "wrstandardname": {
  15499. "description": "品类名称",
  15500. "type": "string"
  15501. }
  15502. }
  15503. },
  15504. "ermcp.QryGGCovertCfgRsp": {
  15505. "type": "object",
  15506. "properties": {
  15507. "convertratio": {
  15508. "description": "折算系数",
  15509. "type": "number"
  15510. },
  15511. "destgoodsgroupid": {
  15512. "description": "目标品种ID",
  15513. "type": "integer"
  15514. },
  15515. "dstcode": {
  15516. "description": "目录品种代码",
  15517. "type": "string"
  15518. },
  15519. "dstexchangecode": {
  15520. "description": "目标期货交易所",
  15521. "type": "string"
  15522. },
  15523. "dstname": {
  15524. "description": "目标品种名称",
  15525. "type": "string"
  15526. },
  15527. "dstunitid": {
  15528. "description": "目标品种单位ID",
  15529. "type": "integer"
  15530. },
  15531. "dstunitidname": {
  15532. "description": "目标品种单位名称",
  15533. "type": "string"
  15534. },
  15535. "modifytime": {
  15536. "description": "修改时间",
  15537. "type": "string"
  15538. },
  15539. "srccode": {
  15540. "description": "源品种代码",
  15541. "type": "string"
  15542. },
  15543. "srcexchangecode": {
  15544. "description": "源期货交易所",
  15545. "type": "string"
  15546. },
  15547. "srcgoodsgroupid": {
  15548. "description": "源品种ID",
  15549. "type": "integer"
  15550. },
  15551. "srcname": {
  15552. "description": "源品种名称",
  15553. "type": "string"
  15554. },
  15555. "srcunitid": {
  15556. "description": "源品种单位ID",
  15557. "type": "integer"
  15558. },
  15559. "srcunitidname": {
  15560. "description": "源品种单位名称",
  15561. "type": "string"
  15562. }
  15563. }
  15564. },
  15565. "ermcp.QryMGChangeLogRsp": {
  15566. "type": "object",
  15567. "properties": {
  15568. "aftervalue": {
  15569. "description": "变更后",
  15570. "type": "number"
  15571. },
  15572. "applyid": {
  15573. "description": "操作人",
  15574. "type": "integer"
  15575. },
  15576. "applyname": {
  15577. "description": "操作人名称",
  15578. "type": "string"
  15579. },
  15580. "applysrc": {
  15581. "description": "操作来源 - 1:管理端 2:终端",
  15582. "type": "integer"
  15583. },
  15584. "beforevalue": {
  15585. "description": "变更前",
  15586. "type": "number"
  15587. },
  15588. "changelogtype": {
  15589. "description": "变更流水类型 - 1:套保比率变更",
  15590. "type": "integer"
  15591. },
  15592. "handlestatus": {
  15593. "description": "处理状态",
  15594. "type": "integer"
  15595. },
  15596. "logdatetime": {
  15597. "description": "流水日期",
  15598. "type": "string"
  15599. },
  15600. "logid": {
  15601. "description": "流水ID",
  15602. "type": "integer"
  15603. },
  15604. "logremark": {
  15605. "description": "流水备注",
  15606. "type": "string"
  15607. },
  15608. "middlegoodsid": {
  15609. "description": "套保品种ID",
  15610. "type": "integer"
  15611. },
  15612. "tradedate": {
  15613. "description": "交易日(yyyyMMdd)",
  15614. "type": "string"
  15615. },
  15616. "updatetime": {
  15617. "description": "更新时间",
  15618. "type": "string"
  15619. }
  15620. }
  15621. },
  15622. "ermcp.QryMiddleGoodsDetailRsp": {
  15623. "type": "object",
  15624. "properties": {
  15625. "cvList": {
  15626. "description": "期货品种折算列表",
  15627. "type": "array",
  15628. "items": {
  15629. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15630. }
  15631. },
  15632. "mg": {
  15633. "description": "套保品种基本信息",
  15634. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15635. },
  15636. "wrcList": {
  15637. "description": "现货品种列表(现货商品折算配置)",
  15638. "type": "array",
  15639. "items": {
  15640. "$ref": "#/definitions/models.WRSConverTDetail"
  15641. }
  15642. }
  15643. }
  15644. },
  15645. "ermcp.QryMiddleGoodsRsp": {
  15646. "type": "object",
  15647. "properties": {
  15648. "areauserid": {
  15649. "description": "机构用户ID",
  15650. "type": "integer"
  15651. },
  15652. "createtime": {
  15653. "description": "修改时间",
  15654. "type": "string"
  15655. },
  15656. "enumdicname": {
  15657. "description": "单位名称",
  15658. "type": "string"
  15659. },
  15660. "evaluateratio": {
  15661. "description": "估价系数",
  15662. "type": "number"
  15663. },
  15664. "goodsgroupid": {
  15665. "description": "关联期货品种ID",
  15666. "type": "integer"
  15667. },
  15668. "goodsunitid": {
  15669. "description": "单位ID",
  15670. "type": "integer"
  15671. },
  15672. "isvalid": {
  15673. "description": "状态 0-无效(停用) 1-有效(正常)",
  15674. "type": "integer"
  15675. },
  15676. "middlegoodscode": {
  15677. "description": "套保品种代码",
  15678. "type": "string"
  15679. },
  15680. "middlegoodsid": {
  15681. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15682. "type": "integer"
  15683. },
  15684. "middlegoodsname": {
  15685. "description": "套保品种名称",
  15686. "type": "string"
  15687. },
  15688. "modifytime": {
  15689. "description": "修改时间",
  15690. "type": "string"
  15691. },
  15692. "needarbitrageratio": {
  15693. "description": "套利比例",
  15694. "type": "number"
  15695. },
  15696. "needhedgeratio": {
  15697. "description": "套保比率",
  15698. "type": "number"
  15699. },
  15700. "qtydecimalplace": {
  15701. "description": "数量小数位",
  15702. "type": "integer"
  15703. },
  15704. "relatedgoodsid": {
  15705. "description": "关联交易商品ID",
  15706. "type": "integer"
  15707. },
  15708. "relatedgoodstype": {
  15709. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15710. "type": "integer"
  15711. },
  15712. "remark": {
  15713. "description": "备注",
  15714. "type": "string"
  15715. }
  15716. }
  15717. },
  15718. "ermcp.QryOPLogRsp": {
  15719. "type": "object",
  15720. "properties": {
  15721. "aftervalue": {
  15722. "description": "变更后",
  15723. "type": "number"
  15724. },
  15725. "applyid": {
  15726. "description": "操作人ID",
  15727. "type": "string"
  15728. },
  15729. "applyname": {
  15730. "description": "操作人名称",
  15731. "type": "string"
  15732. },
  15733. "beforevalue": {
  15734. "description": "变更前",
  15735. "type": "number"
  15736. },
  15737. "biztype": {
  15738. "description": "业务类型 - 1:套保计划 2:现货合同",
  15739. "type": "integer"
  15740. },
  15741. "contracttype": {
  15742. "description": "现货合同类型 - 1:采购 -1:销售",
  15743. "type": "integer"
  15744. },
  15745. "logvalue": {
  15746. "description": "数值",
  15747. "type": "number"
  15748. },
  15749. "operatelogtype": {
  15750. "description": "操作流水类型",
  15751. "type": "integer"
  15752. },
  15753. "operatelogtypedesc": {
  15754. "description": "操作流水类型名称",
  15755. "type": "string"
  15756. },
  15757. "relatedid": {
  15758. "description": "现货合同ID\\套保计划",
  15759. "type": "string"
  15760. },
  15761. "updatetime": {
  15762. "description": "更新时间",
  15763. "type": "string"
  15764. }
  15765. }
  15766. },
  15767. "ermcp.QryUserInfoRsp": {
  15768. "type": "object",
  15769. "properties": {
  15770. "address": {
  15771. "description": "通讯地址",
  15772. "type": "string"
  15773. },
  15774. "attachment1": {
  15775. "description": "附件1",
  15776. "type": "string"
  15777. },
  15778. "audittime": {
  15779. "description": "审核时间",
  15780. "type": "string"
  15781. },
  15782. "cardbackphotourl": {
  15783. "description": "证件反面图片地址",
  15784. "type": "string"
  15785. },
  15786. "cardfrontphotourl": {
  15787. "description": "证件正面图片地址",
  15788. "type": "string"
  15789. },
  15790. "cardnum": {
  15791. "description": "证件号码",
  15792. "type": "string"
  15793. },
  15794. "cardtype": {
  15795. "description": "证件类型",
  15796. "type": "integer"
  15797. },
  15798. "cardtypename": {
  15799. "description": "证件类型名称",
  15800. "type": "string"
  15801. },
  15802. "cityid": {
  15803. "description": "市",
  15804. "type": "integer"
  15805. },
  15806. "contactname": {
  15807. "description": "联系人",
  15808. "type": "string"
  15809. },
  15810. "countryid": {
  15811. "description": "国家",
  15812. "type": "integer"
  15813. },
  15814. "createtime": {
  15815. "description": "创建时间",
  15816. "type": "string"
  15817. },
  15818. "customername": {
  15819. "description": "企业名称",
  15820. "type": "string"
  15821. },
  15822. "districtid": {
  15823. "description": "区域",
  15824. "type": "integer"
  15825. },
  15826. "email": {
  15827. "description": "邮件",
  15828. "type": "string"
  15829. },
  15830. "legalpersonname": {
  15831. "description": "法人姓名(企业)",
  15832. "type": "string"
  15833. },
  15834. "memberuserid": {
  15835. "description": "所属机构ID",
  15836. "type": "integer"
  15837. },
  15838. "mobile": {
  15839. "description": "手机号码",
  15840. "type": "string"
  15841. },
  15842. "modifytime": {
  15843. "description": "修改时间",
  15844. "type": "string"
  15845. },
  15846. "nickname": {
  15847. "description": "昵称",
  15848. "type": "string"
  15849. },
  15850. "provinceid": {
  15851. "description": "省",
  15852. "type": "integer"
  15853. },
  15854. "remark": {
  15855. "description": "备注",
  15856. "type": "string"
  15857. },
  15858. "status": {
  15859. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15860. "type": "integer"
  15861. },
  15862. "statusdesc": {
  15863. "description": "账户状态中文描述",
  15864. "type": "string"
  15865. },
  15866. "taxpayernum": {
  15867. "description": "纳税人识别号",
  15868. "type": "string"
  15869. },
  15870. "telphone": {
  15871. "description": "联系电话",
  15872. "type": "string"
  15873. },
  15874. "userid": {
  15875. "description": "用户ID",
  15876. "type": "integer"
  15877. },
  15878. "userinfotype": {
  15879. "description": "客户类型",
  15880. "type": "string"
  15881. }
  15882. }
  15883. },
  15884. "ermcp.QryWarehouseRsp": {
  15885. "type": "object",
  15886. "properties": {
  15887. "address": {
  15888. "description": "详细地址",
  15889. "type": "string"
  15890. },
  15891. "areauserid": {
  15892. "description": "所属机构",
  15893. "type": "integer"
  15894. },
  15895. "autoid": {
  15896. "description": "自增ID(仓库ID)",
  15897. "type": "integer"
  15898. },
  15899. "cityid": {
  15900. "description": "市",
  15901. "type": "integer"
  15902. },
  15903. "contactname": {
  15904. "description": "联系人",
  15905. "type": "string"
  15906. },
  15907. "contactnum": {
  15908. "description": "联系电话",
  15909. "type": "string"
  15910. },
  15911. "countryid": {
  15912. "description": "国家",
  15913. "type": "integer"
  15914. },
  15915. "createtime": {
  15916. "description": "创建时间",
  15917. "type": "string"
  15918. },
  15919. "districtid": {
  15920. "description": "区",
  15921. "type": "integer"
  15922. },
  15923. "hasvideo": {
  15924. "description": "是否有视频 - 0:无 1:有",
  15925. "type": "integer"
  15926. },
  15927. "provinceid": {
  15928. "description": "省",
  15929. "type": "integer"
  15930. },
  15931. "remark": {
  15932. "description": "审核备注",
  15933. "type": "string"
  15934. },
  15935. "videourl": {
  15936. "description": "视频地址",
  15937. "type": "string"
  15938. },
  15939. "warehousecode": {
  15940. "description": "仓库代码",
  15941. "type": "string"
  15942. },
  15943. "warehousename": {
  15944. "description": "仓库名称",
  15945. "type": "string"
  15946. },
  15947. "warehousestatus": {
  15948. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15949. "type": "integer"
  15950. },
  15951. "warehousetype": {
  15952. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15953. "type": "integer"
  15954. }
  15955. }
  15956. },
  15957. "ermcp.QueryErmcpTradePositionRsp": {
  15958. "type": "object",
  15959. "properties": {
  15960. "agreeunit": {
  15961. "description": "合约单位",
  15962. "type": "number"
  15963. },
  15964. "buyorsell": {
  15965. "description": "方向 - 0:买 1:卖",
  15966. "type": "integer"
  15967. },
  15968. "curpositionqty": {
  15969. "description": "持仓(总仓数量, 期末头寸)",
  15970. "type": "integer"
  15971. },
  15972. "curtdposition": {
  15973. "description": "今仓数量(期末今日头寸)",
  15974. "type": "integer"
  15975. },
  15976. "curtdpositionenabled": {
  15977. "description": "今仓可用",
  15978. "type": "integer"
  15979. },
  15980. "decimalplace": {
  15981. "description": "报价小数位",
  15982. "type": "integer"
  15983. },
  15984. "enableqty": {
  15985. "description": "可用(总仓可用)",
  15986. "type": "integer"
  15987. },
  15988. "exexchangename": {
  15989. "description": "外部交易所名称",
  15990. "type": "string"
  15991. },
  15992. "goodscode": {
  15993. "description": "商品代码(内部)",
  15994. "type": "string"
  15995. },
  15996. "goodsid": {
  15997. "description": "商品ID(自增ID SEQ_GOODS)",
  15998. "type": "integer"
  15999. },
  16000. "goodsname": {
  16001. "description": "商品名称",
  16002. "type": "string"
  16003. },
  16004. "last": {
  16005. "description": "现价",
  16006. "type": "number"
  16007. },
  16008. "marketid": {
  16009. "description": "所属市场ID",
  16010. "type": "integer"
  16011. },
  16012. "openaverageprice": {
  16013. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16014. "type": "number"
  16015. },
  16016. "opencost": {
  16017. "description": "开仓成本",
  16018. "type": "number"
  16019. },
  16020. "openpl": {
  16021. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16022. "type": "number"
  16023. },
  16024. "outgoodscode": {
  16025. "description": "商品代码(外部)",
  16026. "type": "string"
  16027. },
  16028. "positionaverageprice": {
  16029. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16030. "type": "number"
  16031. },
  16032. "positioncost": {
  16033. "description": "持仓成本",
  16034. "type": "number"
  16035. },
  16036. "positionpl": {
  16037. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16038. "type": "number"
  16039. },
  16040. "positionplrate": {
  16041. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16042. "type": "number"
  16043. },
  16044. "usedmargin": {
  16045. "description": "占用保证金",
  16046. "type": "number"
  16047. }
  16048. }
  16049. },
  16050. "ermcp.RealtimeExposurePositionRsp": {
  16051. "type": "object",
  16052. "properties": {
  16053. "agreeunit": {
  16054. "description": "合约单位",
  16055. "type": "string"
  16056. },
  16057. "areauserid": {
  16058. "description": "所属机构id",
  16059. "type": "integer"
  16060. },
  16061. "convertratio": {
  16062. "description": "期货品种系数(折算系数)",
  16063. "type": "number"
  16064. },
  16065. "curqty": {
  16066. "description": "当前持仓",
  16067. "type": "integer"
  16068. },
  16069. "diffhedgeqty": {
  16070. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16071. "type": "number"
  16072. },
  16073. "diffqty": {
  16074. "description": "持仓变动量=当前持仓-昨日持仓",
  16075. "type": "integer"
  16076. },
  16077. "goodscode": {
  16078. "description": "商品代码",
  16079. "type": "string"
  16080. },
  16081. "goodsid": {
  16082. "description": "商品id",
  16083. "type": "integer"
  16084. },
  16085. "goodsname": {
  16086. "description": "商品名称",
  16087. "type": "string"
  16088. },
  16089. "middlegoodsid": {
  16090. "description": "套保商品id",
  16091. "type": "integer"
  16092. },
  16093. "ydqty": {
  16094. "description": "昨日持仓",
  16095. "type": "integer"
  16096. }
  16097. }
  16098. },
  16099. "ermcp.RealtimeExposureRsp": {
  16100. "type": "object",
  16101. "properties": {
  16102. "AreaUserID": {
  16103. "description": "所属机构",
  16104. "type": "integer"
  16105. },
  16106. "BuyFutureQty": {
  16107. "description": "买入期货数量",
  16108. "type": "number"
  16109. },
  16110. "BuyPlanQty": {
  16111. "description": "采购计划数量",
  16112. "type": "number"
  16113. },
  16114. "BuyPricedQty": {
  16115. "description": "采购合同已定价数量",
  16116. "type": "number"
  16117. },
  16118. "MiddleGoodsCode": {
  16119. "description": "套保品种代码",
  16120. "type": "string"
  16121. },
  16122. "MiddleGoodsHedgeRatio": {
  16123. "description": "套保比例",
  16124. "type": "number"
  16125. },
  16126. "MiddleGoodsID": {
  16127. "description": "套保品种",
  16128. "type": "integer"
  16129. },
  16130. "MiddleGoodsName": {
  16131. "description": "套保品种名称",
  16132. "type": "string"
  16133. },
  16134. "NeedHedgeExposoure": {
  16135. "description": "应套保敞口(套保敞口)",
  16136. "type": "number"
  16137. },
  16138. "NeedHedgeRatio": {
  16139. "description": "应套保敞口比例",
  16140. "type": "number"
  16141. },
  16142. "OriBuyFutureQty": {
  16143. "description": "期初买入期货数量",
  16144. "type": "number"
  16145. },
  16146. "OriBuyPlanQty": {
  16147. "description": "期初采购计划数量",
  16148. "type": "number"
  16149. },
  16150. "OriBuyPricedQty": {
  16151. "description": "期初采购合同已定价数量",
  16152. "type": "number"
  16153. },
  16154. "OriSellFutureQty": {
  16155. "description": "期初卖出期货数量",
  16156. "type": "number"
  16157. },
  16158. "OriSellPlanQty": {
  16159. "description": "期初销售计划数量",
  16160. "type": "number"
  16161. },
  16162. "OriSellPricedQty": {
  16163. "description": "期初销售合同已定价数量",
  16164. "type": "number"
  16165. },
  16166. "SellFutureQty": {
  16167. "description": "卖出期货数量",
  16168. "type": "number"
  16169. },
  16170. "SellPlanQty": {
  16171. "description": "销售计划数量",
  16172. "type": "number"
  16173. },
  16174. "SellPricedQty": {
  16175. "description": "销售合同已定价数量",
  16176. "type": "number"
  16177. },
  16178. "TotalExposure": {
  16179. "description": "总敞口 平安:净敞口",
  16180. "type": "number"
  16181. },
  16182. "TotalFutureQty": {
  16183. "description": "期货总量 平安:保值净持仓量",
  16184. "type": "number"
  16185. },
  16186. "TotalHedgeRatio": {
  16187. "description": "敞口比例",
  16188. "type": "number"
  16189. },
  16190. "TotalNeedHedgeQty": {
  16191. "description": "应套保总量(现货应套保总量)",
  16192. "type": "number"
  16193. },
  16194. "TotalSpotQty": {
  16195. "description": "现货总量 平安:采销定价净值",
  16196. "type": "number"
  16197. },
  16198. "arbitrageqty": {
  16199. "description": "套利量",
  16200. "type": "number"
  16201. },
  16202. "diffArbitrageQty": {
  16203. "description": "套利变动量",
  16204. "type": "number"
  16205. },
  16206. "diffExposoureQty": {
  16207. "description": "变动量(套保敞口)",
  16208. "type": "number"
  16209. },
  16210. "diffFutuQty": {
  16211. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  16212. "type": "number"
  16213. },
  16214. "diffHedgeQty": {
  16215. "description": "套保变动量",
  16216. "type": "number"
  16217. },
  16218. "diffQty": {
  16219. "description": "变动量(总敞口) 平安:净敞口今日变动",
  16220. "type": "number"
  16221. },
  16222. "diffSpotHedgeQty": {
  16223. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  16224. "type": "number"
  16225. },
  16226. "diffSpotQty": {
  16227. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  16228. "type": "number"
  16229. },
  16230. "enumdicname": {
  16231. "description": "单位名称",
  16232. "type": "string"
  16233. },
  16234. "hedgeqty": {
  16235. "description": "套保量",
  16236. "type": "number"
  16237. },
  16238. "needarbitrageqty": {
  16239. "description": "应套利量",
  16240. "type": "number"
  16241. },
  16242. "needarbitrageratio": {
  16243. "description": "套利比例",
  16244. "type": "number"
  16245. },
  16246. "needhedgeqty": {
  16247. "description": "应套保量",
  16248. "type": "number"
  16249. },
  16250. "oriTotalFutuQty": {
  16251. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16252. "type": "number"
  16253. },
  16254. "oriTotalSpotQty": {
  16255. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16256. "type": "number"
  16257. },
  16258. "oriarbitrageqty": {
  16259. "description": "期初套利量",
  16260. "type": "number"
  16261. },
  16262. "orihedgeqty": {
  16263. "description": "期初套保量",
  16264. "type": "number"
  16265. },
  16266. "orineedhedgeexposoure": {
  16267. "description": "期初套保敞口",
  16268. "type": "number"
  16269. },
  16270. "oritotalexposure": {
  16271. "description": "期初总敞口",
  16272. "type": "number"
  16273. },
  16274. "oritotalfutureqty": {
  16275. "description": "期初期货总量",
  16276. "type": "number"
  16277. },
  16278. "oritotalneedhedgeqty": {
  16279. "description": "期初现货应套保量",
  16280. "type": "number"
  16281. }
  16282. }
  16283. },
  16284. "erms2.QueryArbitrageStrategyRsp": {
  16285. "type": "object",
  16286. "required": [
  16287. "asapplyid"
  16288. ],
  16289. "properties": {
  16290. "applybasis": {
  16291. "description": "申请基差",
  16292. "type": "number"
  16293. },
  16294. "asapplyid": {
  16295. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16296. "type": "string"
  16297. },
  16298. "asname": {
  16299. "description": "策略名称",
  16300. "type": "string"
  16301. },
  16302. "asno": {
  16303. "description": "策略编号",
  16304. "type": "string"
  16305. },
  16306. "basischangepl": {
  16307. "description": "基差变动损益[结算更新]",
  16308. "type": "number"
  16309. },
  16310. "biztype": {
  16311. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16312. "type": "integer"
  16313. },
  16314. "closetradedate": {
  16315. "description": "完结交易日(yyyyMMdd)",
  16316. "type": "string"
  16317. },
  16318. "curbasis": {
  16319. "description": "当前基差[结算更新]",
  16320. "type": "number"
  16321. },
  16322. "deliverygoodsid": {
  16323. "description": "现货品种ID",
  16324. "type": "integer"
  16325. },
  16326. "futureavgprice": {
  16327. "description": "期货建仓均价",
  16328. "type": "number"
  16329. },
  16330. "futurecloseamount": {
  16331. "description": "期货平仓金额",
  16332. "type": "number"
  16333. },
  16334. "futurecloseqty": {
  16335. "description": "期货平仓数量",
  16336. "type": "number"
  16337. },
  16338. "futureopenamount": {
  16339. "description": "期货开仓金额",
  16340. "type": "number"
  16341. },
  16342. "futureopenqty": {
  16343. "description": "期货开仓数量",
  16344. "type": "number"
  16345. },
  16346. "futurepl": {
  16347. "description": "期货总盈亏[结算更新]",
  16348. "type": "number"
  16349. },
  16350. "futureqty": {
  16351. "description": "期货持仓数量",
  16352. "type": "number"
  16353. },
  16354. "futurequote": {
  16355. "description": "期货额度",
  16356. "type": "number"
  16357. },
  16358. "goodsgroupid": {
  16359. "description": "期货品种ID",
  16360. "type": "integer"
  16361. },
  16362. "marketid": {
  16363. "description": "市场ID",
  16364. "type": "integer"
  16365. },
  16366. "netexposure": {
  16367. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  16368. "type": "number"
  16369. },
  16370. "netexposurepl": {
  16371. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  16372. "type": "number"
  16373. },
  16374. "netexposurerate": {
  16375. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  16376. "type": "number"
  16377. },
  16378. "openbasis": {
  16379. "description": "建仓基差",
  16380. "type": "number"
  16381. },
  16382. "pricedspotqty": {
  16383. "description": "已定价现货数量",
  16384. "type": "number"
  16385. },
  16386. "pricedspotqtynotax": {
  16387. "description": "已定价现货不含税数量",
  16388. "type": "number"
  16389. },
  16390. "remark": {
  16391. "description": "备注",
  16392. "type": "string"
  16393. },
  16394. "spotavgprice": {
  16395. "description": "现货均价",
  16396. "type": "number"
  16397. },
  16398. "spotbuyamount": {
  16399. "description": "现货采购金额",
  16400. "type": "number"
  16401. },
  16402. "spotbuyqty": {
  16403. "description": "现货采购数量",
  16404. "type": "number"
  16405. },
  16406. "spotpl": {
  16407. "description": "现货总盈亏[结算更新]",
  16408. "type": "number"
  16409. },
  16410. "spotquota": {
  16411. "description": "现货额度",
  16412. "type": "number"
  16413. },
  16414. "spotsellamount": {
  16415. "description": "现货销售金额",
  16416. "type": "number"
  16417. },
  16418. "spotsellqty": {
  16419. "description": "现货销售数量",
  16420. "type": "number"
  16421. },
  16422. "spotusedquota": {
  16423. "description": "现货占用资金",
  16424. "type": "number"
  16425. },
  16426. "strategystatus": {
  16427. "description": "策略状态 - 0:未结束 1:已结束",
  16428. "type": "integer"
  16429. },
  16430. "totalpl": {
  16431. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  16432. "type": "number"
  16433. },
  16434. "tradedate": {
  16435. "description": "交易日(yyyyMMdd)",
  16436. "type": "string"
  16437. },
  16438. "updatetime": {
  16439. "description": "更新时间",
  16440. "type": "string"
  16441. },
  16442. "usedquota": {
  16443. "description": "已占用资金",
  16444. "type": "number"
  16445. },
  16446. "userid": {
  16447. "description": "所属机构",
  16448. "type": "integer"
  16449. }
  16450. }
  16451. },
  16452. "erms2.QueryInnerTradeDetailRsp": {
  16453. "type": "object",
  16454. "required": [
  16455. "asapplyid",
  16456. "buyorsell",
  16457. "goodscode",
  16458. "goodsgroupid",
  16459. "goodsgroupname",
  16460. "goodsname",
  16461. "tradeid"
  16462. ],
  16463. "properties": {
  16464. "accountid": {
  16465. "description": "账号ID",
  16466. "type": "integer"
  16467. },
  16468. "agreeunit": {
  16469. "description": "合约单位",
  16470. "type": "number"
  16471. },
  16472. "asapplyid": {
  16473. "description": "策略申请ID",
  16474. "type": "integer"
  16475. },
  16476. "asname": {
  16477. "description": "策略名称",
  16478. "type": "string"
  16479. },
  16480. "asno": {
  16481. "description": "策略编号",
  16482. "type": "string"
  16483. },
  16484. "buyorsell": {
  16485. "description": "方向 - 0:买 1:卖",
  16486. "type": "integer"
  16487. },
  16488. "channelbuildtype": {
  16489. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16490. "type": "integer"
  16491. },
  16492. "closetype": {
  16493. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16494. "type": "integer"
  16495. },
  16496. "decimalplace": {
  16497. "description": "报价小数位",
  16498. "type": "integer"
  16499. },
  16500. "detailtype": {
  16501. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  16502. "type": "integer"
  16503. },
  16504. "exexchangecode": {
  16505. "description": "外部交易所代码",
  16506. "type": "string"
  16507. },
  16508. "exexchangename": {
  16509. "description": "外部交易所名称",
  16510. "type": "string"
  16511. },
  16512. "goodscode": {
  16513. "description": "商品代码(合约)",
  16514. "type": "string"
  16515. },
  16516. "goodsgroupid": {
  16517. "description": "商品组ID(品种ID)",
  16518. "type": "integer"
  16519. },
  16520. "goodsgroupname": {
  16521. "description": "商品组名称(品种)",
  16522. "type": "string"
  16523. },
  16524. "goodsid": {
  16525. "description": "商品ID",
  16526. "type": "integer"
  16527. },
  16528. "goodsname": {
  16529. "description": "商品名称(合约)",
  16530. "type": "string"
  16531. },
  16532. "goodunit": {
  16533. "description": "报价单位",
  16534. "type": "string"
  16535. },
  16536. "marketid": {
  16537. "description": "市场ID",
  16538. "type": "integer"
  16539. },
  16540. "orderid": {
  16541. "description": "委托单号",
  16542. "type": "string"
  16543. },
  16544. "outgoodscode": {
  16545. "description": "商品代码(外部)",
  16546. "type": "string"
  16547. },
  16548. "relatedouttradeid": {
  16549. "description": "关联外部成交单ID",
  16550. "type": "string"
  16551. },
  16552. "remark": {
  16553. "description": "备注",
  16554. "type": "string"
  16555. },
  16556. "spotcontractid": {
  16557. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  16558. "type": "integer"
  16559. },
  16560. "spotcontractno": {
  16561. "description": "现货合同编号",
  16562. "type": "string"
  16563. },
  16564. "tradeid": {
  16565. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16566. "type": "string"
  16567. },
  16568. "tradeprice": {
  16569. "description": "成交价格",
  16570. "type": "number"
  16571. },
  16572. "tradeqty": {
  16573. "description": "成交数量",
  16574. "type": "integer"
  16575. },
  16576. "tradetime": {
  16577. "description": "成交时间",
  16578. "type": "string"
  16579. },
  16580. "updatetime": {
  16581. "description": "更新时间",
  16582. "type": "string"
  16583. }
  16584. }
  16585. },
  16586. "erms2.QuerySpotContractRsp": {
  16587. "type": "object",
  16588. "required": [
  16589. "spotcontractid"
  16590. ],
  16591. "properties": {
  16592. "accountid": {
  16593. "description": "资金账户ID",
  16594. "type": "integer"
  16595. },
  16596. "areauserid": {
  16597. "description": "所属机构",
  16598. "type": "integer"
  16599. },
  16600. "closedate": {
  16601. "description": "终止日期",
  16602. "type": "string"
  16603. },
  16604. "closeremark": {
  16605. "description": "结束备注",
  16606. "type": "string"
  16607. },
  16608. "closetradedate": {
  16609. "description": "完结交易日(yyyyMMdd)",
  16610. "type": "string"
  16611. },
  16612. "closetype": {
  16613. "description": "终止类型 - 1:违约 2:提前终止",
  16614. "type": "integer"
  16615. },
  16616. "contractamount": {
  16617. "description": "合同金额",
  16618. "type": "number"
  16619. },
  16620. "contractattachment": {
  16621. "description": "合同附件",
  16622. "type": "string"
  16623. },
  16624. "contractno": {
  16625. "description": "现货合同编号",
  16626. "type": "string"
  16627. },
  16628. "contractqty": {
  16629. "description": "合同数量(数值) (用于计算)",
  16630. "type": "number"
  16631. },
  16632. "contractqtychar": {
  16633. "description": "合同数量\\已订价数量 (用于显示)",
  16634. "type": "string"
  16635. },
  16636. "contractstatus": {
  16637. "description": "合同状态 - 0:未结束 1:已结束",
  16638. "type": "integer"
  16639. },
  16640. "contracttype": {
  16641. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  16642. "type": "integer"
  16643. },
  16644. "customeraccountid": {
  16645. "description": "客户资金账户ID",
  16646. "type": "integer"
  16647. },
  16648. "customeruserid": {
  16649. "description": "客户ID",
  16650. "type": "integer"
  16651. },
  16652. "deliverygoodsdesc": {
  16653. "description": "品种说明",
  16654. "type": "string"
  16655. },
  16656. "deliverygoodsid": {
  16657. "description": "现货品种ID",
  16658. "type": "integer"
  16659. },
  16660. "handlestatus": {
  16661. "description": "处理状态",
  16662. "type": "integer"
  16663. },
  16664. "invoiceatt": {
  16665. "description": "发票附件",
  16666. "type": "string"
  16667. },
  16668. "invoicedatetime": {
  16669. "description": "开收票更新时间",
  16670. "type": "string"
  16671. },
  16672. "invoiceopentime": {
  16673. "description": "开票时间",
  16674. "type": "string"
  16675. },
  16676. "invoiceremark": {
  16677. "description": "发票备注",
  16678. "type": "string"
  16679. },
  16680. "invoicestatus": {
  16681. "description": "开收票状态 - 0:未开票 1:已开票",
  16682. "type": "integer"
  16683. },
  16684. "lastdate": {
  16685. "description": "交货时间",
  16686. "type": "string"
  16687. },
  16688. "marketid": {
  16689. "description": "市场ID",
  16690. "type": "integer"
  16691. },
  16692. "paydatetime": {
  16693. "description": "收付款更新时间",
  16694. "type": "string"
  16695. },
  16696. "payremark": {
  16697. "description": "收付款备注",
  16698. "type": "string"
  16699. },
  16700. "paystatus": {
  16701. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  16702. "type": "integer"
  16703. },
  16704. "positionqty": {
  16705. "description": "头寸数量 - 合同数量去小数部分",
  16706. "type": "integer"
  16707. },
  16708. "producttype": {
  16709. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16710. "type": "integer"
  16711. },
  16712. "relatedqty": {
  16713. "description": "已关联数量",
  16714. "type": "number"
  16715. },
  16716. "relatedstatus": {
  16717. "description": "关联完结状态 - 0:未结束 1:已结束",
  16718. "type": "integer"
  16719. },
  16720. "remark": {
  16721. "description": "备注",
  16722. "type": "string"
  16723. },
  16724. "signdate": {
  16725. "description": "签订日期",
  16726. "type": "string"
  16727. },
  16728. "spotcontractid": {
  16729. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  16730. "type": "string"
  16731. },
  16732. "spotdatetime": {
  16733. "description": "收发货更新时间",
  16734. "type": "string"
  16735. },
  16736. "spotprice": {
  16737. "description": "价格",
  16738. "type": "number"
  16739. },
  16740. "spotremark": {
  16741. "description": "收发货备注",
  16742. "type": "string"
  16743. },
  16744. "spotstatus": {
  16745. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  16746. "type": "integer"
  16747. },
  16748. "tradedate": {
  16749. "description": "交易日(yyyyMMdd)",
  16750. "type": "string"
  16751. },
  16752. "userid": {
  16753. "description": "业务员用户ID",
  16754. "type": "integer"
  16755. },
  16756. "warehouseid": {
  16757. "description": "仓库ID",
  16758. "type": "integer"
  16759. },
  16760. "wrfactortypeid": {
  16761. "description": "仓单要素类型ID",
  16762. "type": "integer"
  16763. },
  16764. "wrstandardid": {
  16765. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16766. "type": "integer"
  16767. }
  16768. }
  16769. },
  16770. "erms3.AddErms2ASApplyReq": {
  16771. "type": "object",
  16772. "required": [
  16773. "asapplyid"
  16774. ],
  16775. "properties": {
  16776. "applybasis": {
  16777. "description": "申请基差",
  16778. "type": "number"
  16779. },
  16780. "applystatus": {
  16781. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16782. "type": "integer"
  16783. },
  16784. "asapplyid": {
  16785. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  16786. "type": "integer"
  16787. },
  16788. "asname": {
  16789. "description": "策略名称",
  16790. "type": "string"
  16791. },
  16792. "asno": {
  16793. "description": "策略编号",
  16794. "type": "string"
  16795. },
  16796. "auditid": {
  16797. "description": "审核人",
  16798. "type": "integer"
  16799. },
  16800. "auditremark": {
  16801. "description": "审核备注",
  16802. "type": "string"
  16803. },
  16804. "audittime": {
  16805. "description": "审核时间",
  16806. "type": "string"
  16807. },
  16808. "biztype": {
  16809. "description": "业务类型 - 1:正向套利 2:反向套利",
  16810. "type": "integer"
  16811. },
  16812. "createtime": {
  16813. "description": "创建时间",
  16814. "type": "string"
  16815. },
  16816. "creatorid": {
  16817. "description": "创建人",
  16818. "type": "integer"
  16819. },
  16820. "deliverygoodsid": {
  16821. "description": "现货品种ID",
  16822. "type": "integer"
  16823. },
  16824. "futurequote": {
  16825. "description": "期货额度",
  16826. "type": "number"
  16827. },
  16828. "goodsgroupid": {
  16829. "description": "期货品种ID",
  16830. "type": "integer"
  16831. },
  16832. "marketid": {
  16833. "description": "市场ID",
  16834. "type": "integer"
  16835. },
  16836. "remark": {
  16837. "description": "备注",
  16838. "type": "string"
  16839. },
  16840. "spotquota": {
  16841. "description": "现货额度",
  16842. "type": "number"
  16843. },
  16844. "tradedate": {
  16845. "description": "交易日(yyyyMMdd)",
  16846. "type": "string"
  16847. },
  16848. "userid": {
  16849. "description": "所属机构",
  16850. "type": "integer"
  16851. }
  16852. }
  16853. },
  16854. "erms3.AddErms2SpotTradeApplyReq": {
  16855. "type": "object",
  16856. "required": [
  16857. "spottradeid"
  16858. ],
  16859. "properties": {
  16860. "applyjsondetail": {
  16861. "description": "申请明细(JSON)",
  16862. "type": "string"
  16863. },
  16864. "applystatus": {
  16865. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16866. "type": "integer"
  16867. },
  16868. "areauserid": {
  16869. "description": "所属机构",
  16870. "type": "integer"
  16871. },
  16872. "auditid": {
  16873. "description": "审核人",
  16874. "type": "integer"
  16875. },
  16876. "auditremark": {
  16877. "description": "审核备注",
  16878. "type": "string"
  16879. },
  16880. "audittime": {
  16881. "description": "审核时间",
  16882. "type": "string"
  16883. },
  16884. "createtime": {
  16885. "description": "创建时间",
  16886. "type": "string"
  16887. },
  16888. "creatorid": {
  16889. "description": "创建人",
  16890. "type": "integer"
  16891. },
  16892. "deliverygoodsid": {
  16893. "description": "现货品种ID",
  16894. "type": "integer"
  16895. },
  16896. "futureaccountid": {
  16897. "description": "期货资金账户",
  16898. "type": "integer"
  16899. },
  16900. "goodsgroupid": {
  16901. "description": "期货品种",
  16902. "type": "integer"
  16903. },
  16904. "marketid": {
  16905. "description": "市场ID",
  16906. "type": "integer"
  16907. },
  16908. "remark": {
  16909. "description": "备注",
  16910. "type": "string"
  16911. },
  16912. "spotaccountid": {
  16913. "description": "现货资金账户",
  16914. "type": "integer"
  16915. },
  16916. "spottradeid": {
  16917. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  16918. "type": "integer"
  16919. },
  16920. "spottradename": {
  16921. "description": "业务名称",
  16922. "type": "string"
  16923. },
  16924. "spottradeno": {
  16925. "description": "业务编号",
  16926. "type": "string"
  16927. },
  16928. "tradedate": {
  16929. "description": "交易日(yyyyMMdd)",
  16930. "type": "string"
  16931. },
  16932. "wrstandardid": {
  16933. "description": "仓单标准ID",
  16934. "type": "integer"
  16935. }
  16936. }
  16937. },
  16938. "erms3.AddSpotContractApplyReq": {
  16939. "type": "object",
  16940. "required": [
  16941. "accountid",
  16942. "areauserid",
  16943. "contractno",
  16944. "contracttype",
  16945. "customeraccountid",
  16946. "customeruserid",
  16947. "details",
  16948. "orimargin",
  16949. "signdate"
  16950. ],
  16951. "properties": {
  16952. "accountid": {
  16953. "description": "资金账户ID",
  16954. "type": "integer"
  16955. },
  16956. "areauserid": {
  16957. "description": "所属机构",
  16958. "type": "integer"
  16959. },
  16960. "contractattachment": {
  16961. "description": "合同附件",
  16962. "type": "string"
  16963. },
  16964. "contractno": {
  16965. "description": "现货合同编号",
  16966. "type": "string"
  16967. },
  16968. "contracttype": {
  16969. "description": "现货合同类型 - 1:采购 -1:销售",
  16970. "type": "integer"
  16971. },
  16972. "creatorid": {
  16973. "description": "申请人",
  16974. "type": "integer"
  16975. },
  16976. "customeraccountid": {
  16977. "description": "客户资金账户ID",
  16978. "type": "integer"
  16979. },
  16980. "customeruserid": {
  16981. "description": "客户ID",
  16982. "type": "integer"
  16983. },
  16984. "details": {
  16985. "description": "明细",
  16986. "type": "array",
  16987. "items": {
  16988. "$ref": "#/definitions/erms3.SoptContractDetail"
  16989. }
  16990. },
  16991. "orimargin": {
  16992. "description": "初始保证金",
  16993. "type": "number"
  16994. },
  16995. "remark": {
  16996. "description": "备注",
  16997. "type": "string"
  16998. },
  16999. "signdate": {
  17000. "description": "签订日期",
  17001. "type": "string"
  17002. }
  17003. }
  17004. },
  17005. "erms3.AddSpotContractApplyRsp": {
  17006. "type": "object",
  17007. "required": [
  17008. "contractno"
  17009. ],
  17010. "properties": {
  17011. "contractno": {
  17012. "description": "现货合同编号",
  17013. "type": "string"
  17014. },
  17015. "spotcontractid": {
  17016. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17017. "type": "integer"
  17018. }
  17019. }
  17020. },
  17021. "erms3.AddUserInfoApplyReq": {
  17022. "type": "object",
  17023. "required": [
  17024. "userid"
  17025. ],
  17026. "properties": {
  17027. "accountid": {
  17028. "description": "交易系统帐号Id (加密存储)",
  17029. "type": "integer"
  17030. },
  17031. "areacode": {
  17032. "description": "机构代码",
  17033. "type": "string"
  17034. },
  17035. "areaid": {
  17036. "description": "机构Id",
  17037. "type": "integer"
  17038. },
  17039. "attachment1": {
  17040. "description": "附件1",
  17041. "type": "string"
  17042. },
  17043. "attachment2": {
  17044. "description": "附件2",
  17045. "type": "string"
  17046. },
  17047. "attachment3": {
  17048. "description": "附件3",
  17049. "type": "string"
  17050. },
  17051. "attachment4": {
  17052. "description": "附件4",
  17053. "type": "string"
  17054. },
  17055. "attachment5": {
  17056. "description": "附件5",
  17057. "type": "string"
  17058. },
  17059. "auditedby": {
  17060. "description": "审核人",
  17061. "type": "string"
  17062. },
  17063. "auditime": {
  17064. "description": "审核时间",
  17065. "type": "string"
  17066. },
  17067. "auditsrc": {
  17068. "description": "审核来源 - 1:管理端 2:终端",
  17069. "type": "integer"
  17070. },
  17071. "bankaccount": {
  17072. "description": "银行帐号 (加密存储)",
  17073. "type": "string"
  17074. },
  17075. "bankaccountname": {
  17076. "description": "收款人名称",
  17077. "type": "string"
  17078. },
  17079. "bankcardbackphotourl": {
  17080. "description": "银行卡背面照地址",
  17081. "type": "string"
  17082. },
  17083. "bankcardfrontphotourl": {
  17084. "description": "银行卡正面照地址",
  17085. "type": "string"
  17086. },
  17087. "bankid": {
  17088. "description": "银行编码",
  17089. "type": "string"
  17090. },
  17091. "bankname": {
  17092. "description": "银行名称",
  17093. "type": "string"
  17094. },
  17095. "bankpictureurl": {
  17096. "description": "银行卡正面地址",
  17097. "type": "string"
  17098. },
  17099. "biznature": {
  17100. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17101. "type": "integer"
  17102. },
  17103. "bizscope": {
  17104. "description": "企业经营范围(企业)",
  17105. "type": "string"
  17106. },
  17107. "biztype": {
  17108. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17109. "type": "integer"
  17110. },
  17111. "brokerid": {
  17112. "description": "经纪人ID(加密存储)",
  17113. "type": "string"
  17114. },
  17115. "cardaddress": {
  17116. "description": "证件地址 (加密存储)",
  17117. "type": "string"
  17118. },
  17119. "cardbackphotourl": {
  17120. "description": "背面证件照地址",
  17121. "type": "string"
  17122. },
  17123. "cardfrontphotourl": {
  17124. "description": "正面证件照地址",
  17125. "type": "string"
  17126. },
  17127. "cardnum": {
  17128. "description": "证件号码 (加密存储)",
  17129. "type": "string"
  17130. },
  17131. "cardtype": {
  17132. "description": "证件类型",
  17133. "type": "integer"
  17134. },
  17135. "cityid": {
  17136. "description": "市",
  17137. "type": "integer"
  17138. },
  17139. "company": {
  17140. "description": "公司(个人)",
  17141. "type": "string"
  17142. },
  17143. "contactcardbackphotourl": {
  17144. "description": "联系人证件背面图片地址",
  17145. "type": "string"
  17146. },
  17147. "contactcardfrontphotourl": {
  17148. "description": "联系人证件正面图片地址",
  17149. "type": "string"
  17150. },
  17151. "contactname": {
  17152. "description": "联系人",
  17153. "type": "string"
  17154. },
  17155. "countryid": {
  17156. "description": "国家",
  17157. "type": "integer"
  17158. },
  17159. "createtime": {
  17160. "description": "开户申请时间",
  17161. "type": "string"
  17162. },
  17163. "cusbankid": {
  17164. "description": "签约类型",
  17165. "type": "string"
  17166. },
  17167. "cusbankname": {
  17168. "description": "签约类型名称",
  17169. "type": "string"
  17170. },
  17171. "customername": {
  17172. "description": "客户名称(企业名称)",
  17173. "type": "string"
  17174. },
  17175. "districtid": {
  17176. "description": "地区",
  17177. "type": "integer"
  17178. },
  17179. "email": {
  17180. "description": "Email地址(加密存储)",
  17181. "type": "string"
  17182. },
  17183. "halfbodyphotourl": {
  17184. "description": "半身照地址",
  17185. "type": "string"
  17186. },
  17187. "headurl": {
  17188. "description": "头像地址",
  17189. "type": "string"
  17190. },
  17191. "ipaddress": {
  17192. "description": "IP地址",
  17193. "type": "string"
  17194. },
  17195. "isvalidate": {
  17196. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17197. "type": "string"
  17198. },
  17199. "legalcardbackphotourl": {
  17200. "description": "法人身份证背面照地址",
  17201. "type": "string"
  17202. },
  17203. "legalcardfrontphotourl": {
  17204. "description": "法人身份证正面照地址",
  17205. "type": "string"
  17206. },
  17207. "legalpersonname": {
  17208. "description": "法人姓名(企业)",
  17209. "type": "string"
  17210. },
  17211. "logincode": {
  17212. "description": "登录帐号 (加密存储)",
  17213. "type": "string"
  17214. },
  17215. "memberareaid": {
  17216. "description": "所属会员ID",
  17217. "type": "integer"
  17218. },
  17219. "mobile2": {
  17220. "description": "手机号码[明文-尚志]",
  17221. "type": "string"
  17222. },
  17223. "mobilephone": {
  17224. "description": "手机号码 (加密存储)",
  17225. "type": "string"
  17226. },
  17227. "modifiedby": {
  17228. "description": "修改人帐号",
  17229. "type": "integer"
  17230. },
  17231. "modifiedtime": {
  17232. "description": "修改时间",
  17233. "type": "string"
  17234. },
  17235. "nickname": {
  17236. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17237. "type": "string"
  17238. },
  17239. "openmode": {
  17240. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17241. "type": "integer"
  17242. },
  17243. "otherurl": {
  17244. "description": "其它图片地址[使用分号分隔]",
  17245. "type": "string"
  17246. },
  17247. "postalcode": {
  17248. "description": "邮政编码",
  17249. "type": "string"
  17250. },
  17251. "provinceid": {
  17252. "description": "省",
  17253. "type": "integer"
  17254. },
  17255. "proxystatementurl": {
  17256. "description": "授权委托书",
  17257. "type": "string"
  17258. },
  17259. "qq": {
  17260. "description": "QQ(加密存储",
  17261. "type": "string"
  17262. },
  17263. "referral": {
  17264. "description": "推荐人编码",
  17265. "type": "string"
  17266. },
  17267. "remark": {
  17268. "description": "备注",
  17269. "type": "string"
  17270. },
  17271. "removebeforestatus": {
  17272. "description": "REMOVEBEFORESTATUS",
  17273. "type": "integer"
  17274. },
  17275. "sex": {
  17276. "description": "性别 - 0:女 1:男",
  17277. "type": "integer"
  17278. },
  17279. "signedstatus": {
  17280. "description": "账户一号签签约状态",
  17281. "type": "integer"
  17282. },
  17283. "signpdfurl": {
  17284. "description": "签约pdf文件",
  17285. "type": "string"
  17286. },
  17287. "subbranch": {
  17288. "description": "开户支行",
  17289. "type": "string"
  17290. },
  17291. "taxpayernum": {
  17292. "description": "纳税人识别号",
  17293. "type": "string"
  17294. },
  17295. "telphone": {
  17296. "description": "联系电话(加密存储)",
  17297. "type": "string"
  17298. },
  17299. "userid": {
  17300. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17301. "type": "integer"
  17302. },
  17303. "userinfotype": {
  17304. "description": "用户信息类型 - 1:个人 2:企业",
  17305. "type": "integer"
  17306. },
  17307. "username": {
  17308. "description": "用户姓名",
  17309. "type": "string"
  17310. },
  17311. "userstate": {
  17312. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17313. "type": "integer"
  17314. },
  17315. "usertype": {
  17316. "description": "用户类型 - 1:投资者 2:机构",
  17317. "type": "integer"
  17318. },
  17319. "videourl": {
  17320. "description": "视频地址",
  17321. "type": "string"
  17322. },
  17323. "wechat": {
  17324. "description": "微信号 (加密存储)",
  17325. "type": "string"
  17326. }
  17327. }
  17328. },
  17329. "erms3.CustomerInfo": {
  17330. "type": "object",
  17331. "required": [
  17332. "userid"
  17333. ],
  17334. "properties": {
  17335. "accountids": {
  17336. "description": "资金账户ID列表",
  17337. "type": "array",
  17338. "items": {
  17339. "type": "integer"
  17340. }
  17341. },
  17342. "customername": {
  17343. "description": "名称(企业名称)",
  17344. "type": "string"
  17345. },
  17346. "mobile": {
  17347. "description": "手机号码",
  17348. "type": "string"
  17349. },
  17350. "userid": {
  17351. "description": "用户ID",
  17352. "type": "integer"
  17353. }
  17354. }
  17355. },
  17356. "erms3.ModifyUserInfoApplyReq": {
  17357. "type": "object",
  17358. "required": [
  17359. "userid"
  17360. ],
  17361. "properties": {
  17362. "accountid": {
  17363. "description": "交易系统帐号Id (加密存储)",
  17364. "type": "integer"
  17365. },
  17366. "areacode": {
  17367. "description": "机构代码",
  17368. "type": "string"
  17369. },
  17370. "areaid": {
  17371. "description": "机构Id",
  17372. "type": "integer"
  17373. },
  17374. "attachment1": {
  17375. "description": "附件1",
  17376. "type": "string"
  17377. },
  17378. "attachment2": {
  17379. "description": "附件2",
  17380. "type": "string"
  17381. },
  17382. "attachment3": {
  17383. "description": "附件3",
  17384. "type": "string"
  17385. },
  17386. "attachment4": {
  17387. "description": "附件4",
  17388. "type": "string"
  17389. },
  17390. "attachment5": {
  17391. "description": "附件5",
  17392. "type": "string"
  17393. },
  17394. "auditedby": {
  17395. "description": "审核人",
  17396. "type": "string"
  17397. },
  17398. "auditime": {
  17399. "description": "审核时间",
  17400. "type": "string"
  17401. },
  17402. "auditsrc": {
  17403. "description": "审核来源 - 1:管理端 2:终端",
  17404. "type": "integer"
  17405. },
  17406. "bankaccount": {
  17407. "description": "银行帐号 (加密存储)",
  17408. "type": "string"
  17409. },
  17410. "bankaccountname": {
  17411. "description": "收款人名称",
  17412. "type": "string"
  17413. },
  17414. "bankcardbackphotourl": {
  17415. "description": "银行卡背面照地址",
  17416. "type": "string"
  17417. },
  17418. "bankcardfrontphotourl": {
  17419. "description": "银行卡正面照地址",
  17420. "type": "string"
  17421. },
  17422. "bankid": {
  17423. "description": "银行编码",
  17424. "type": "string"
  17425. },
  17426. "bankname": {
  17427. "description": "银行名称",
  17428. "type": "string"
  17429. },
  17430. "bankpictureurl": {
  17431. "description": "银行卡正面地址",
  17432. "type": "string"
  17433. },
  17434. "biznature": {
  17435. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17436. "type": "integer"
  17437. },
  17438. "bizscope": {
  17439. "description": "企业经营范围(企业)",
  17440. "type": "string"
  17441. },
  17442. "biztype": {
  17443. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17444. "type": "integer"
  17445. },
  17446. "brokerid": {
  17447. "description": "经纪人ID(加密存储)",
  17448. "type": "string"
  17449. },
  17450. "cardaddress": {
  17451. "description": "证件地址 (加密存储)",
  17452. "type": "string"
  17453. },
  17454. "cardbackphotourl": {
  17455. "description": "背面证件照地址",
  17456. "type": "string"
  17457. },
  17458. "cardfrontphotourl": {
  17459. "description": "正面证件照地址",
  17460. "type": "string"
  17461. },
  17462. "cardnum": {
  17463. "description": "证件号码 (加密存储)",
  17464. "type": "string"
  17465. },
  17466. "cardtype": {
  17467. "description": "证件类型",
  17468. "type": "integer"
  17469. },
  17470. "cityid": {
  17471. "description": "市",
  17472. "type": "integer"
  17473. },
  17474. "company": {
  17475. "description": "公司(个人)",
  17476. "type": "string"
  17477. },
  17478. "contactcardbackphotourl": {
  17479. "description": "联系人证件背面图片地址",
  17480. "type": "string"
  17481. },
  17482. "contactcardfrontphotourl": {
  17483. "description": "联系人证件正面图片地址",
  17484. "type": "string"
  17485. },
  17486. "contactname": {
  17487. "description": "联系人",
  17488. "type": "string"
  17489. },
  17490. "countryid": {
  17491. "description": "国家",
  17492. "type": "integer"
  17493. },
  17494. "createtime": {
  17495. "description": "开户申请时间",
  17496. "type": "string"
  17497. },
  17498. "cusbankid": {
  17499. "description": "签约类型",
  17500. "type": "string"
  17501. },
  17502. "cusbankname": {
  17503. "description": "签约类型名称",
  17504. "type": "string"
  17505. },
  17506. "customername": {
  17507. "description": "客户名称(企业名称)",
  17508. "type": "string"
  17509. },
  17510. "districtid": {
  17511. "description": "地区",
  17512. "type": "integer"
  17513. },
  17514. "email": {
  17515. "description": "Email地址(加密存储)",
  17516. "type": "string"
  17517. },
  17518. "halfbodyphotourl": {
  17519. "description": "半身照地址",
  17520. "type": "string"
  17521. },
  17522. "headurl": {
  17523. "description": "头像地址",
  17524. "type": "string"
  17525. },
  17526. "ipaddress": {
  17527. "description": "IP地址",
  17528. "type": "string"
  17529. },
  17530. "isvalidate": {
  17531. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17532. "type": "string"
  17533. },
  17534. "legalcardbackphotourl": {
  17535. "description": "法人身份证背面照地址",
  17536. "type": "string"
  17537. },
  17538. "legalcardfrontphotourl": {
  17539. "description": "法人身份证正面照地址",
  17540. "type": "string"
  17541. },
  17542. "legalpersonname": {
  17543. "description": "法人姓名(企业)",
  17544. "type": "string"
  17545. },
  17546. "logincode": {
  17547. "description": "登录帐号 (加密存储)",
  17548. "type": "string"
  17549. },
  17550. "memberareaid": {
  17551. "description": "所属会员ID",
  17552. "type": "integer"
  17553. },
  17554. "mobile2": {
  17555. "description": "手机号码[明文-尚志]",
  17556. "type": "string"
  17557. },
  17558. "mobilephone": {
  17559. "description": "手机号码 (加密存储)",
  17560. "type": "string"
  17561. },
  17562. "modifiedby": {
  17563. "description": "修改人帐号",
  17564. "type": "integer"
  17565. },
  17566. "modifiedtime": {
  17567. "description": "修改时间",
  17568. "type": "string"
  17569. },
  17570. "nickname": {
  17571. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17572. "type": "string"
  17573. },
  17574. "openmode": {
  17575. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17576. "type": "integer"
  17577. },
  17578. "otherurl": {
  17579. "description": "其它图片地址[使用分号分隔]",
  17580. "type": "string"
  17581. },
  17582. "postalcode": {
  17583. "description": "邮政编码",
  17584. "type": "string"
  17585. },
  17586. "provinceid": {
  17587. "description": "省",
  17588. "type": "integer"
  17589. },
  17590. "proxystatementurl": {
  17591. "description": "授权委托书",
  17592. "type": "string"
  17593. },
  17594. "qq": {
  17595. "description": "QQ(加密存储",
  17596. "type": "string"
  17597. },
  17598. "referral": {
  17599. "description": "推荐人编码",
  17600. "type": "string"
  17601. },
  17602. "remark": {
  17603. "description": "备注",
  17604. "type": "string"
  17605. },
  17606. "removebeforestatus": {
  17607. "description": "REMOVEBEFORESTATUS",
  17608. "type": "integer"
  17609. },
  17610. "sex": {
  17611. "description": "性别 - 0:女 1:男",
  17612. "type": "integer"
  17613. },
  17614. "signedstatus": {
  17615. "description": "账户一号签签约状态",
  17616. "type": "integer"
  17617. },
  17618. "signpdfurl": {
  17619. "description": "签约pdf文件",
  17620. "type": "string"
  17621. },
  17622. "subbranch": {
  17623. "description": "开户支行",
  17624. "type": "string"
  17625. },
  17626. "taxpayernum": {
  17627. "description": "纳税人识别号",
  17628. "type": "string"
  17629. },
  17630. "telphone": {
  17631. "description": "联系电话(加密存储)",
  17632. "type": "string"
  17633. },
  17634. "userid": {
  17635. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17636. "type": "integer"
  17637. },
  17638. "userinfotype": {
  17639. "description": "用户信息类型 - 1:个人 2:企业",
  17640. "type": "integer"
  17641. },
  17642. "username": {
  17643. "description": "用户姓名",
  17644. "type": "string"
  17645. },
  17646. "userstate": {
  17647. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17648. "type": "integer"
  17649. },
  17650. "usertype": {
  17651. "description": "用户类型 - 1:投资者 2:机构",
  17652. "type": "integer"
  17653. },
  17654. "videourl": {
  17655. "description": "视频地址",
  17656. "type": "string"
  17657. },
  17658. "wechat": {
  17659. "description": "微信号 (加密存储)",
  17660. "type": "string"
  17661. }
  17662. }
  17663. },
  17664. "erms3.QryAuditContractRsp": {
  17665. "type": "object",
  17666. "required": [
  17667. "matchcustomername",
  17668. "spotcontractid"
  17669. ],
  17670. "properties": {
  17671. "accountid": {
  17672. "description": "交易员ID",
  17673. "type": "string"
  17674. },
  17675. "applystatus": {
  17676. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17677. "type": "integer"
  17678. },
  17679. "curdeliveryqty": {
  17680. "description": "未交收量",
  17681. "type": "integer"
  17682. },
  17683. "customername": {
  17684. "description": "采购方ID",
  17685. "type": "string"
  17686. },
  17687. "deliverygoodsid": {
  17688. "description": "品种ID",
  17689. "type": "string"
  17690. },
  17691. "deliveryqty": {
  17692. "description": "交收量",
  17693. "type": "integer"
  17694. },
  17695. "enumdicname": {
  17696. "description": "单位名称",
  17697. "type": "string"
  17698. },
  17699. "matchaccountid": {
  17700. "description": "业务员ID",
  17701. "type": "string"
  17702. },
  17703. "matchcustomername": {
  17704. "description": "销售方ID",
  17705. "type": "string"
  17706. },
  17707. "pricedqty": {
  17708. "description": "定价量",
  17709. "type": "number"
  17710. },
  17711. "signdate": {
  17712. "description": "签订日期",
  17713. "type": "string"
  17714. },
  17715. "spotcontractid": {
  17716. "description": "合同ID",
  17717. "type": "string"
  17718. },
  17719. "totaldqty": {
  17720. "description": "合同量",
  17721. "type": "number"
  17722. },
  17723. "unpricedqty": {
  17724. "description": "未定价量",
  17725. "type": "number"
  17726. },
  17727. "wrstandardname": {
  17728. "description": "商品名称",
  17729. "type": "string"
  17730. }
  17731. }
  17732. },
  17733. "erms3.QryPendingBizRsp": {
  17734. "type": "object",
  17735. "properties": {
  17736. "accountid": {
  17737. "description": "现货账户",
  17738. "type": "string"
  17739. },
  17740. "areaname": {
  17741. "description": "所属部门",
  17742. "type": "string"
  17743. },
  17744. "bizid": {
  17745. "description": "业务ID",
  17746. "type": "string"
  17747. },
  17748. "bizname": {
  17749. "description": "业务名称",
  17750. "type": "string"
  17751. },
  17752. "status": {
  17753. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17754. "type": "integer"
  17755. },
  17756. "type": {
  17757. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  17758. "type": "integer"
  17759. }
  17760. }
  17761. },
  17762. "erms3.QueryBusinessInfoRsp": {
  17763. "type": "object",
  17764. "properties": {
  17765. "businessid": {
  17766. "description": "业务ID.",
  17767. "type": "integer"
  17768. },
  17769. "buyamount": {
  17770. "description": "采购额.",
  17771. "type": "number"
  17772. },
  17773. "buyqty": {
  17774. "description": "采购量.",
  17775. "type": "string"
  17776. },
  17777. "futurepl": {
  17778. "description": "期货盈亏.",
  17779. "type": "number"
  17780. },
  17781. "futureqty": {
  17782. "description": "期货敞口.",
  17783. "type": "string"
  17784. },
  17785. "goodsid": {
  17786. "description": "商品名称/商品代码.",
  17787. "type": "string"
  17788. },
  17789. "hedgingqty": {
  17790. "description": "套保量.",
  17791. "type": "string"
  17792. },
  17793. "sellamount": {
  17794. "description": "销售额.",
  17795. "type": "number"
  17796. },
  17797. "sellqty": {
  17798. "description": "销售量.",
  17799. "type": "string"
  17800. },
  17801. "spotmarketvalue": {
  17802. "description": "现货市值.",
  17803. "type": "number"
  17804. },
  17805. "spotpl": {
  17806. "description": "浮动权益.",
  17807. "type": "number"
  17808. },
  17809. "spotqty": {
  17810. "description": "现货量.",
  17811. "type": "string"
  17812. },
  17813. "statu": {
  17814. "description": "状态,0-未结束 1-已结束.",
  17815. "type": "integer"
  17816. },
  17817. "totalpl": {
  17818. "description": "总盈亏.",
  17819. "type": "number"
  17820. },
  17821. "totalqty": {
  17822. "description": "总敞口.",
  17823. "type": "string"
  17824. },
  17825. "type": {
  17826. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  17827. "type": "integer"
  17828. }
  17829. }
  17830. },
  17831. "erms3.QuerySpotContractAppleFormRsp": {
  17832. "type": "object",
  17833. "properties": {
  17834. "goodses": {
  17835. "description": "合约列表",
  17836. "type": "array",
  17837. "items": {
  17838. "$ref": "#/definitions/models.GoodsIDAndName"
  17839. }
  17840. },
  17841. "oppositeusers": {
  17842. "description": "对方账号列表",
  17843. "type": "array",
  17844. "items": {
  17845. "$ref": "#/definitions/erms3.CustomerInfo"
  17846. }
  17847. },
  17848. "ouruser": {
  17849. "description": "我方账号",
  17850. "$ref": "#/definitions/erms3.CustomerInfo"
  17851. },
  17852. "warehouseinfos": {
  17853. "description": "仓库信息列表",
  17854. "type": "array",
  17855. "items": {
  17856. "$ref": "#/definitions/models.Warehouseinfo"
  17857. }
  17858. },
  17859. "wrstandards": {
  17860. "description": "仓单标准列表",
  17861. "type": "array",
  17862. "items": {
  17863. "$ref": "#/definitions/models.WRStandardInfo"
  17864. }
  17865. }
  17866. }
  17867. },
  17868. "erms3.QuerySpotContractInfoRsp": {
  17869. "type": "object",
  17870. "properties": {
  17871. "accountid": {
  17872. "description": "表示交易员ID.",
  17873. "type": "integer"
  17874. },
  17875. "curdeliveryqty": {
  17876. "description": "表示未交收量.",
  17877. "type": "number"
  17878. },
  17879. "customername": {
  17880. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  17881. "type": "string"
  17882. },
  17883. "deliverygoodsid": {
  17884. "description": "表示品种ID.",
  17885. "type": "string"
  17886. },
  17887. "deliveryqty": {
  17888. "description": "表示交收量.",
  17889. "type": "number"
  17890. },
  17891. "matchaccountid": {
  17892. "description": "表示业务员ID.",
  17893. "type": "integer"
  17894. },
  17895. "matchcustomername": {
  17896. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  17897. "type": "string"
  17898. },
  17899. "priceqty": {
  17900. "description": "表示定价量.",
  17901. "type": "number"
  17902. },
  17903. "relatedbizid": {
  17904. "description": "表示业务ID.",
  17905. "type": "string"
  17906. },
  17907. "signdate": {
  17908. "description": "表示签订日期.",
  17909. "type": "string"
  17910. },
  17911. "spotcontractid": {
  17912. "description": "合同ID",
  17913. "type": "string"
  17914. },
  17915. "status": {
  17916. "description": "表示状态,0-履约中 1-已完成.",
  17917. "type": "integer"
  17918. },
  17919. "totalqty": {
  17920. "description": "表示合同量.",
  17921. "type": "number"
  17922. },
  17923. "unpricedqty": {
  17924. "description": "表示未定价量.",
  17925. "type": "number"
  17926. },
  17927. "wrstandardname": {
  17928. "description": "表示商品ID.",
  17929. "type": "string"
  17930. }
  17931. }
  17932. },
  17933. "erms3.QueryUserInfoAppliesRsp": {
  17934. "type": "object",
  17935. "required": [
  17936. "userid"
  17937. ],
  17938. "properties": {
  17939. "biznature": {
  17940. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17941. "type": "integer"
  17942. },
  17943. "contactname": {
  17944. "description": "联系人",
  17945. "type": "string"
  17946. },
  17947. "createtime": {
  17948. "description": "开户申请时间",
  17949. "type": "string"
  17950. },
  17951. "userid": {
  17952. "description": "用户ID(自增ID)",
  17953. "type": "integer"
  17954. },
  17955. "userinfotype": {
  17956. "description": "用户信息类型 - 1:个人 2:企业",
  17957. "type": "integer"
  17958. },
  17959. "username": {
  17960. "description": "用户姓名",
  17961. "type": "string"
  17962. },
  17963. "userstate": {
  17964. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17965. "type": "integer"
  17966. }
  17967. }
  17968. },
  17969. "erms3.QueryUserInfosRsp": {
  17970. "type": "object",
  17971. "required": [
  17972. "userid"
  17973. ],
  17974. "properties": {
  17975. "biznature": {
  17976. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17977. "type": "integer"
  17978. },
  17979. "contactname": {
  17980. "description": "联系人",
  17981. "type": "string"
  17982. },
  17983. "customername": {
  17984. "description": "客户名称(企业名称)",
  17985. "type": "string"
  17986. },
  17987. "userid": {
  17988. "description": "用户ID",
  17989. "type": "integer"
  17990. },
  17991. "userinfotype": {
  17992. "description": "用户信息类型 - 1:个人 2:企业",
  17993. "type": "integer"
  17994. },
  17995. "userstatus": {
  17996. "description": "用户状态 - 1:正常 2:注销",
  17997. "type": "integer"
  17998. }
  17999. }
  18000. },
  18001. "erms3.SoptContractDetail": {
  18002. "type": "object",
  18003. "required": [
  18004. "deliverygoodsid",
  18005. "producttype",
  18006. "unitname",
  18007. "warehouseid",
  18008. "wrstandardid",
  18009. "wrstandardname"
  18010. ],
  18011. "properties": {
  18012. "deliverygoodsdesc": {
  18013. "description": "现货品种说明",
  18014. "type": "string"
  18015. },
  18016. "deliverygoodsid": {
  18017. "description": "现货品种ID",
  18018. "type": "integer"
  18019. },
  18020. "deliverygoodsname": {
  18021. "description": "现货品种名称",
  18022. "type": "string"
  18023. },
  18024. "pointdesc": {
  18025. "description": "点价描述",
  18026. "type": "string"
  18027. },
  18028. "producttype": {
  18029. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18030. "type": "integer"
  18031. },
  18032. "producttypename": {
  18033. "description": "产品类型名称",
  18034. "type": "string"
  18035. },
  18036. "spotPointOrderVoList": {
  18037. "description": "点价列表",
  18038. "type": "array",
  18039. "items": {
  18040. "$ref": "#/definitions/erms3.SpotPointOrder"
  18041. }
  18042. },
  18043. "spotPriceOrderList": {
  18044. "description": "定价列表",
  18045. "type": "array",
  18046. "items": {
  18047. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18048. }
  18049. },
  18050. "unitname": {
  18051. "description": "单位名称",
  18052. "type": "string"
  18053. },
  18054. "warehouseid": {
  18055. "description": "仓库ID",
  18056. "type": "integer"
  18057. },
  18058. "warehousename": {
  18059. "description": "仓库名称",
  18060. "type": "string"
  18061. },
  18062. "wrstandardid": {
  18063. "description": "交易标的ID",
  18064. "type": "integer"
  18065. },
  18066. "wrstandardname": {
  18067. "description": "交易标的名称",
  18068. "type": "string"
  18069. }
  18070. }
  18071. },
  18072. "erms3.SpotPointOrder": {
  18073. "type": "object",
  18074. "required": [
  18075. "basic",
  18076. "goodsid",
  18077. "qty"
  18078. ],
  18079. "properties": {
  18080. "basic": {
  18081. "description": "基差",
  18082. "type": "number"
  18083. },
  18084. "deliveryenddate": {
  18085. "description": "交收结束日期",
  18086. "type": "string"
  18087. },
  18088. "deliverystartdate": {
  18089. "description": "交收开始日期",
  18090. "type": "string"
  18091. },
  18092. "enddate": {
  18093. "description": "点价结束日期",
  18094. "type": "string"
  18095. },
  18096. "goodsid": {
  18097. "description": "商品ID",
  18098. "type": "integer"
  18099. },
  18100. "goodsname": {
  18101. "description": "商品名称",
  18102. "type": "string"
  18103. },
  18104. "qty": {
  18105. "description": "数量",
  18106. "type": "number"
  18107. },
  18108. "startdate": {
  18109. "description": "点价开始日期",
  18110. "type": "string"
  18111. }
  18112. }
  18113. },
  18114. "erms3.SpotPriceOrder": {
  18115. "type": "object",
  18116. "required": [
  18117. "amount",
  18118. "price",
  18119. "qty"
  18120. ],
  18121. "properties": {
  18122. "amount": {
  18123. "description": "金额",
  18124. "type": "number"
  18125. },
  18126. "deliveryenddate": {
  18127. "description": "交收结束日期",
  18128. "type": "string"
  18129. },
  18130. "deliverystartdate": {
  18131. "description": "交收开始日期",
  18132. "type": "string"
  18133. },
  18134. "price": {
  18135. "description": "价格",
  18136. "type": "number"
  18137. },
  18138. "qty": {
  18139. "description": "数量",
  18140. "type": "number"
  18141. }
  18142. }
  18143. },
  18144. "hsby.GetHsbyMyCountRsp": {
  18145. "type": "object",
  18146. "properties": {
  18147. "myCouponCount": {
  18148. "description": "我的优惠卷数量",
  18149. "type": "integer"
  18150. },
  18151. "myOrderDetailListingCount": {
  18152. "description": "我的订单求购中数量",
  18153. "type": "integer"
  18154. },
  18155. "myOrderDetailPreCount": {
  18156. "description": "我的订单抢购中数量",
  18157. "type": "integer"
  18158. },
  18159. "myPackageUnReceiveCount": {
  18160. "description": "我的包裹待收货数量",
  18161. "type": "integer"
  18162. },
  18163. "myPackageUnSendCount": {
  18164. "description": "我的包裹待发货数量",
  18165. "type": "integer"
  18166. },
  18167. "myPayOrderCount": {
  18168. "description": "我的订单待付款数量",
  18169. "type": "integer"
  18170. }
  18171. }
  18172. },
  18173. "hsby.QueryProvincesAndCitiesRsp": {
  18174. "type": "object",
  18175. "properties": {
  18176. "cities": {
  18177. "description": "市",
  18178. "type": "array",
  18179. "items": {
  18180. "$ref": "#/definitions/models.Division"
  18181. }
  18182. },
  18183. "province": {
  18184. "description": "省",
  18185. "$ref": "#/definitions/models.Division"
  18186. }
  18187. }
  18188. },
  18189. "models.Arearole": {
  18190. "type": "object",
  18191. "required": [
  18192. "roletype",
  18193. "userid"
  18194. ],
  18195. "properties": {
  18196. "createtime": {
  18197. "description": "创建时间",
  18198. "type": "string"
  18199. },
  18200. "creatorid": {
  18201. "description": "创建人ID",
  18202. "type": "integer"
  18203. },
  18204. "fromuserid": {
  18205. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18206. "type": "integer"
  18207. },
  18208. "isreturnscore": {
  18209. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18210. "type": "integer"
  18211. },
  18212. "modifierid": {
  18213. "description": "修改人ID",
  18214. "type": "integer"
  18215. },
  18216. "modifytime": {
  18217. "description": "修改时间",
  18218. "type": "string"
  18219. },
  18220. "orgtype": {
  18221. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18222. "type": "integer"
  18223. },
  18224. "outuserid": {
  18225. "description": "外部账户[场外期权做市商]",
  18226. "type": "string"
  18227. },
  18228. "parentuserid": {
  18229. "description": "上级组织机构(组织机构)",
  18230. "type": "integer"
  18231. },
  18232. "roletype": {
  18233. "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:门店",
  18234. "type": "integer"
  18235. },
  18236. "rootuserid": {
  18237. "description": "顶级组织机构用户ID(组织机构)",
  18238. "type": "integer"
  18239. },
  18240. "shoppassword": {
  18241. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18242. "type": "string"
  18243. },
  18244. "sublevelpath": {
  18245. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18246. "type": "string"
  18247. },
  18248. "suborgtype": {
  18249. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18250. "type": "integer"
  18251. },
  18252. "tradeaccountid": {
  18253. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18254. "type": "integer"
  18255. },
  18256. "transurl": {
  18257. "description": "物流地址(物流机构)",
  18258. "type": "string"
  18259. },
  18260. "userid": {
  18261. "description": "机构用户ID其他做市关系,都设置为 1",
  18262. "type": "integer"
  18263. }
  18264. }
  18265. },
  18266. "models.Clientfixedadconfig": {
  18267. "type": "object",
  18268. "required": [
  18269. "adsort",
  18270. "adtype"
  18271. ],
  18272. "properties": {
  18273. "adsort": {
  18274. "description": "排序",
  18275. "type": "integer"
  18276. },
  18277. "adtype": {
  18278. "description": "广告位类型 - 1:新品抢购(HSBY)",
  18279. "type": "integer"
  18280. },
  18281. "areauserid": {
  18282. "description": "所属机构ID",
  18283. "type": "integer"
  18284. },
  18285. "createdate": {
  18286. "description": "创建时间",
  18287. "type": "string"
  18288. },
  18289. "creatorid": {
  18290. "description": "创建人",
  18291. "type": "integer"
  18292. },
  18293. "imagepath": {
  18294. "description": "图片",
  18295. "type": "string"
  18296. },
  18297. "isshow": {
  18298. "description": "是否展示 - 0:不展示 1:展示",
  18299. "type": "integer"
  18300. },
  18301. "modifierid": {
  18302. "description": "操作人",
  18303. "type": "integer"
  18304. },
  18305. "recsize": {
  18306. "description": "推荐尺寸",
  18307. "type": "string"
  18308. },
  18309. "title": {
  18310. "description": "标题",
  18311. "type": "string"
  18312. },
  18313. "updatedate": {
  18314. "description": "更新时间",
  18315. "type": "string"
  18316. },
  18317. "urlcontent": {
  18318. "description": "链接(地址或商品ID)",
  18319. "type": "string"
  18320. },
  18321. "urltype": {
  18322. "description": "链接类型 - 1:直接地址 2:商品ID",
  18323. "type": "integer"
  18324. }
  18325. }
  18326. },
  18327. "models.Division": {
  18328. "type": "object",
  18329. "required": [
  18330. "autoid",
  18331. "divisioncode"
  18332. ],
  18333. "properties": {
  18334. "autoid": {
  18335. "description": "自增ID",
  18336. "type": "integer"
  18337. },
  18338. "divisioncode": {
  18339. "description": "行政代码",
  18340. "type": "string"
  18341. },
  18342. "divisionlevel": {
  18343. "description": "行政级别",
  18344. "type": "string"
  18345. },
  18346. "divisionname": {
  18347. "description": "行政名称",
  18348. "type": "string"
  18349. },
  18350. "modifierid": {
  18351. "description": "修改人",
  18352. "type": "integer"
  18353. },
  18354. "modifytime": {
  18355. "description": "修改时间",
  18356. "type": "string"
  18357. },
  18358. "parentcode": {
  18359. "description": "上级行政代码",
  18360. "type": "string"
  18361. },
  18362. "pathname": {
  18363. "description": "路径名称",
  18364. "type": "string"
  18365. },
  18366. "postcode": {
  18367. "description": "邮政编码",
  18368. "type": "string"
  18369. },
  18370. "separablename": {
  18371. "description": "可拆分的全称",
  18372. "type": "string"
  18373. },
  18374. "shortcode": {
  18375. "description": "地区简码",
  18376. "type": "string"
  18377. }
  18378. }
  18379. },
  18380. "models.Enumdicitem": {
  18381. "type": "object",
  18382. "required": [
  18383. "autoid",
  18384. "enumdiccode",
  18385. "enumdicid",
  18386. "enumitemname"
  18387. ],
  18388. "properties": {
  18389. "autoid": {
  18390. "description": "自增ID",
  18391. "type": "integer"
  18392. },
  18393. "bankmappedvalue": {
  18394. "description": "银行服务对应值",
  18395. "type": "string"
  18396. },
  18397. "enumdiccode": {
  18398. "description": "所属枚举代码",
  18399. "type": "string"
  18400. },
  18401. "enumdicid": {
  18402. "description": "所属枚举ID",
  18403. "type": "integer"
  18404. },
  18405. "enumdicname": {
  18406. "description": "枚举项名称",
  18407. "type": "string"
  18408. },
  18409. "enumitemname": {
  18410. "description": "枚举项值",
  18411. "type": "integer"
  18412. },
  18413. "enumitemstatus": {
  18414. "description": "枚举项状态 - 1.启用 2.不启用",
  18415. "type": "integer"
  18416. },
  18417. "enumitemvalue": {
  18418. "description": "通用值 - [币种通用简写]",
  18419. "type": "string"
  18420. },
  18421. "param1": {
  18422. "description": "参数1[币种:币种小数位]",
  18423. "type": "string"
  18424. },
  18425. "param2": {
  18426. "description": "参数1[币种:币种显示单位]",
  18427. "type": "string"
  18428. },
  18429. "remark": {
  18430. "description": "备注",
  18431. "type": "string"
  18432. }
  18433. }
  18434. },
  18435. "models.Ermcp3AreaSpot": {
  18436. "type": "object",
  18437. "properties": {
  18438. "areauserid": {
  18439. "description": "所属机构",
  18440. "type": "integer"
  18441. },
  18442. "convertratio": {
  18443. "description": "套保系数",
  18444. "type": "number"
  18445. },
  18446. "decreaseqty": {
  18447. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18448. "type": "number"
  18449. },
  18450. "enumdicname": {
  18451. "description": "单位名称",
  18452. "type": "string"
  18453. },
  18454. "increaseqty": {
  18455. "description": "增加数量=销售计划数量+采购已定价数量",
  18456. "type": "number"
  18457. },
  18458. "oritoalspotqty": {
  18459. "description": "昨日数量",
  18460. "type": "number"
  18461. },
  18462. "totalspotqty": {
  18463. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18464. "type": "number"
  18465. },
  18466. "unitid": {
  18467. "description": "现货商品单位id",
  18468. "type": "integer"
  18469. },
  18470. "updatetime": {
  18471. "description": "更新时间",
  18472. "type": "string"
  18473. },
  18474. "wrstandardcode": {
  18475. "description": "现货商品代码",
  18476. "type": "string"
  18477. },
  18478. "wrstandardid": {
  18479. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18480. "type": "integer"
  18481. },
  18482. "wrstandardname": {
  18483. "description": "现货商品名称",
  18484. "type": "string"
  18485. }
  18486. }
  18487. },
  18488. "models.Ermcp3AreaSpotDetail": {
  18489. "type": "object",
  18490. "properties": {
  18491. "contracttype": {
  18492. "description": "合同类型 1-采购 -1-销售",
  18493. "type": "integer"
  18494. },
  18495. "createtime": {
  18496. "description": "创建时间",
  18497. "type": "string"
  18498. },
  18499. "enumdicname": {
  18500. "description": "现货商品单位名称",
  18501. "type": "string"
  18502. },
  18503. "logtype": {
  18504. "description": "记录类型 1-套保 2-现货合同",
  18505. "type": "integer"
  18506. },
  18507. "qty": {
  18508. "description": "数量",
  18509. "type": "number"
  18510. },
  18511. "recordname": {
  18512. "description": "类型名称",
  18513. "type": "string"
  18514. },
  18515. "relatedid": {
  18516. "description": "套保计划ID/现货合同ID",
  18517. "type": "string"
  18518. },
  18519. "relatedno": {
  18520. "description": "编号",
  18521. "type": "string"
  18522. },
  18523. "strtime": {
  18524. "description": "时间",
  18525. "type": "string"
  18526. },
  18527. "wrstandardcode": {
  18528. "description": "现货商品代码",
  18529. "type": "string"
  18530. },
  18531. "wrstandardid": {
  18532. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18533. "type": "integer"
  18534. },
  18535. "wrstandardname": {
  18536. "description": "现货商品名称",
  18537. "type": "string"
  18538. }
  18539. }
  18540. },
  18541. "models.Ermcp3AreaSpotPLReport": {
  18542. "type": "object",
  18543. "properties": {
  18544. "accountid": {
  18545. "description": "期货账户ID (作废, 默认为0)",
  18546. "type": "integer"
  18547. },
  18548. "accountname": {
  18549. "description": "机构名称",
  18550. "type": "string"
  18551. },
  18552. "actualpl": {
  18553. "description": "现货损益",
  18554. "type": "number"
  18555. },
  18556. "areauserid": {
  18557. "description": "所属机构\\交易用户ID",
  18558. "type": "integer"
  18559. },
  18560. "begindate": {
  18561. "description": "开始交易日",
  18562. "type": "string"
  18563. },
  18564. "biztype": {
  18565. "description": "业务类型 - 1:套保 2:套利",
  18566. "type": "integer"
  18567. },
  18568. "brandname": {
  18569. "description": "品牌名称",
  18570. "type": "string"
  18571. },
  18572. "curamount": {
  18573. "description": "期末额",
  18574. "type": "number"
  18575. },
  18576. "curaverageprice": {
  18577. "description": "期末均价",
  18578. "type": "number"
  18579. },
  18580. "curbuyamount": {
  18581. "description": "期末采购总额",
  18582. "type": "number"
  18583. },
  18584. "curbuyqty": {
  18585. "description": "期末采购总量",
  18586. "type": "number"
  18587. },
  18588. "curmarketvalue": {
  18589. "description": "参考市值(期末市值)",
  18590. "type": "number"
  18591. },
  18592. "curqty": {
  18593. "description": "期末量",
  18594. "type": "number"
  18595. },
  18596. "currencyid": {
  18597. "description": "结算币种ID【原值】",
  18598. "type": "integer"
  18599. },
  18600. "currencyname": {
  18601. "description": "币种名称",
  18602. "type": "string"
  18603. },
  18604. "cursellamount": {
  18605. "description": "期末销售总额",
  18606. "type": "number"
  18607. },
  18608. "cursellqty": {
  18609. "description": "期末销售总量",
  18610. "type": "number"
  18611. },
  18612. "curspotprice": {
  18613. "description": "参考市价(最新价)",
  18614. "type": "number"
  18615. },
  18616. "cycletime": {
  18617. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18618. "type": "string"
  18619. },
  18620. "cycletype": {
  18621. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18622. "type": "integer"
  18623. },
  18624. "deliverygoodscode": {
  18625. "description": "现货商品代码",
  18626. "type": "string"
  18627. },
  18628. "deliverygoodsid": {
  18629. "description": "现货品种ID",
  18630. "type": "integer"
  18631. },
  18632. "deliverygoodsname": {
  18633. "description": "现货商品名称",
  18634. "type": "string"
  18635. },
  18636. "enddate": {
  18637. "description": "结束交易日",
  18638. "type": "string"
  18639. },
  18640. "enumdicname": {
  18641. "description": "现货商品单位名称",
  18642. "type": "string"
  18643. },
  18644. "floatpl": {
  18645. "description": "浮动损益",
  18646. "type": "number"
  18647. },
  18648. "goodsunitid": {
  18649. "description": "现货商品单位id",
  18650. "type": "integer"
  18651. },
  18652. "oriamount": {
  18653. "description": "期初额",
  18654. "type": "number"
  18655. },
  18656. "oriaverageprice": {
  18657. "description": "期初均价",
  18658. "type": "number"
  18659. },
  18660. "oribuyamount": {
  18661. "description": "期初采购总额",
  18662. "type": "number"
  18663. },
  18664. "oribuyqty": {
  18665. "description": "期初采购总量",
  18666. "type": "number"
  18667. },
  18668. "oriqty": {
  18669. "description": "期初量",
  18670. "type": "number"
  18671. },
  18672. "orisellamount": {
  18673. "description": "期初销售总额",
  18674. "type": "number"
  18675. },
  18676. "orisellqty": {
  18677. "description": "期初销售总量",
  18678. "type": "number"
  18679. },
  18680. "reckondate": {
  18681. "description": "日照时期(yyyyMMdd)",
  18682. "type": "string"
  18683. },
  18684. "spotgoodsbrandid": {
  18685. "description": "现货品牌ID",
  18686. "type": "integer"
  18687. },
  18688. "todaybuyamount": {
  18689. "description": "今日采购额(今采购额)",
  18690. "type": "number"
  18691. },
  18692. "todaybuyaverageprice": {
  18693. "description": "今日采购均价",
  18694. "type": "number"
  18695. },
  18696. "todaybuyqty": {
  18697. "description": "今日采购量(今采购量)",
  18698. "type": "number"
  18699. },
  18700. "todayinqty": {
  18701. "description": "今日入库量(今入库量)",
  18702. "type": "number"
  18703. },
  18704. "todayoutqty": {
  18705. "description": "今日出库量(今出库量)",
  18706. "type": "number"
  18707. },
  18708. "todaysellamount": {
  18709. "description": "今日销售额(今销售额)",
  18710. "type": "number"
  18711. },
  18712. "todaysellaverageprice": {
  18713. "description": "今日销售均价",
  18714. "type": "number"
  18715. },
  18716. "todaysellqty": {
  18717. "description": "今日销售量(今销售量)",
  18718. "type": "number"
  18719. },
  18720. "unitid": {
  18721. "description": "品类单位id",
  18722. "type": "integer"
  18723. },
  18724. "unitidname": {
  18725. "description": "品类单位名称",
  18726. "type": "string"
  18727. },
  18728. "updatetime": {
  18729. "description": "更新时间",
  18730. "type": "string"
  18731. },
  18732. "wrfactortypeid": {
  18733. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18734. "type": "integer"
  18735. },
  18736. "wrstandardcode": {
  18737. "description": "品类代码",
  18738. "type": "string"
  18739. },
  18740. "wrstandardid": {
  18741. "description": "现货品类ID",
  18742. "type": "integer"
  18743. },
  18744. "wrstandardname": {
  18745. "description": "品类名称",
  18746. "type": "string"
  18747. }
  18748. }
  18749. },
  18750. "models.Ermcp3AreaStock": {
  18751. "type": "object",
  18752. "required": [
  18753. "userid"
  18754. ],
  18755. "properties": {
  18756. "brandname": {
  18757. "description": "品牌名称",
  18758. "type": "string"
  18759. },
  18760. "curstock": {
  18761. "description": "期末库存量(今日量)",
  18762. "type": "number"
  18763. },
  18764. "deliverygoodscode": {
  18765. "description": "现货品种代码",
  18766. "type": "string"
  18767. },
  18768. "deliverygoodsid": {
  18769. "description": "现货品种id",
  18770. "type": "integer"
  18771. },
  18772. "deliverygoodsname": {
  18773. "description": "现货品种名称",
  18774. "type": "string"
  18775. },
  18776. "enumdicname": {
  18777. "description": "单位名称",
  18778. "type": "string"
  18779. },
  18780. "goodsunitid": {
  18781. "description": "现货商品单位id",
  18782. "type": "integer"
  18783. },
  18784. "oristock": {
  18785. "description": "期初库存量(昨日量)",
  18786. "type": "number"
  18787. },
  18788. "spotgoodsbrandid": {
  18789. "description": "现货品牌ID",
  18790. "type": "integer"
  18791. },
  18792. "todaybuyinqty": {
  18793. "description": "今日采购入库量",
  18794. "type": "number"
  18795. },
  18796. "todayproduceinqty": {
  18797. "description": "今日生产入库量",
  18798. "type": "number"
  18799. },
  18800. "todayproduceoutqty": {
  18801. "description": "今日生产出库量",
  18802. "type": "number"
  18803. },
  18804. "todayselloutqty": {
  18805. "description": "今日销售出库量",
  18806. "type": "number"
  18807. },
  18808. "unitid": {
  18809. "description": "单位id",
  18810. "type": "integer"
  18811. },
  18812. "updatetime": {
  18813. "description": "更新时间",
  18814. "type": "string"
  18815. },
  18816. "userid": {
  18817. "description": "机构ID",
  18818. "type": "integer"
  18819. },
  18820. "username": {
  18821. "description": "机构名称",
  18822. "type": "string"
  18823. },
  18824. "warehousecode": {
  18825. "description": "仓库代码",
  18826. "type": "string"
  18827. },
  18828. "warehouseinfoid": {
  18829. "description": "仓库ID",
  18830. "type": "string"
  18831. },
  18832. "warehousename": {
  18833. "description": "仓库名称",
  18834. "type": "string"
  18835. },
  18836. "warehousetype": {
  18837. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18838. "type": "integer"
  18839. },
  18840. "wrstandardcode": {
  18841. "description": "品类代码",
  18842. "type": "string"
  18843. },
  18844. "wrstandardid": {
  18845. "description": "品类ID",
  18846. "type": "string"
  18847. },
  18848. "wrstandardname": {
  18849. "description": "品类名称",
  18850. "type": "string"
  18851. }
  18852. }
  18853. },
  18854. "models.Ermcp3AreaStockApply": {
  18855. "type": "object",
  18856. "properties": {
  18857. "applyid": {
  18858. "description": "申请人",
  18859. "type": "integer"
  18860. },
  18861. "applyname": {
  18862. "description": "申请人名称",
  18863. "type": "string"
  18864. },
  18865. "applyremark": {
  18866. "description": "申请备注",
  18867. "type": "string"
  18868. },
  18869. "applysrc": {
  18870. "description": "申请来源 - 1:管理端 2:终端",
  18871. "type": "integer"
  18872. },
  18873. "applystatus": {
  18874. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18875. "type": "integer"
  18876. },
  18877. "applytime": {
  18878. "description": "申请时间",
  18879. "type": "string"
  18880. },
  18881. "auditid": {
  18882. "description": "审核人",
  18883. "type": "integer"
  18884. },
  18885. "auditname": {
  18886. "description": "审核人名称",
  18887. "type": "string"
  18888. },
  18889. "auditremark": {
  18890. "description": "审核备注",
  18891. "type": "string"
  18892. },
  18893. "auditsrc": {
  18894. "description": "审核来源 - 1:管理端 2:终端",
  18895. "type": "integer"
  18896. },
  18897. "audittime": {
  18898. "description": "审核时间",
  18899. "type": "string"
  18900. },
  18901. "audittradedate": {
  18902. "description": "审核交易日(yyyyMMdd)",
  18903. "type": "string"
  18904. },
  18905. "brandname": {
  18906. "description": "品牌名称",
  18907. "type": "string"
  18908. },
  18909. "buynickname": {
  18910. "description": "采购方昵称",
  18911. "type": "string"
  18912. },
  18913. "buyuserid": {
  18914. "description": "采购方userid",
  18915. "type": "integer"
  18916. },
  18917. "buyusername": {
  18918. "description": "采购方名称",
  18919. "type": "string"
  18920. },
  18921. "contractno": {
  18922. "description": "合同编号",
  18923. "type": "string"
  18924. },
  18925. "contractqty": {
  18926. "description": "合同量",
  18927. "type": "number"
  18928. },
  18929. "contracttype": {
  18930. "description": "现货合同类型 - 1:采购 -1:销售",
  18931. "type": "integer"
  18932. },
  18933. "deliverygoodscode": {
  18934. "description": "现货品种代码",
  18935. "type": "string"
  18936. },
  18937. "deliverygoodsid": {
  18938. "description": "现货品种id",
  18939. "type": "integer"
  18940. },
  18941. "deliverygoodsname": {
  18942. "description": "现货品种名称",
  18943. "type": "string"
  18944. },
  18945. "detailjson": {
  18946. "description": "明细数据",
  18947. "type": "string"
  18948. },
  18949. "enumdicname": {
  18950. "description": "现货商品单位名称",
  18951. "type": "string"
  18952. },
  18953. "inoutapplyid": {
  18954. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  18955. "type": "string"
  18956. },
  18957. "inouttype": {
  18958. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  18959. "type": "integer"
  18960. },
  18961. "pricetype": {
  18962. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18963. "type": "integer"
  18964. },
  18965. "qty": {
  18966. "description": "数量",
  18967. "type": "number"
  18968. },
  18969. "sellnickname": {
  18970. "description": "销售方昵称",
  18971. "type": "string"
  18972. },
  18973. "selluserid": {
  18974. "description": "销售方userid",
  18975. "type": "integer"
  18976. },
  18977. "sellusername": {
  18978. "description": "销售方名称",
  18979. "type": "string"
  18980. },
  18981. "spotcontractid": {
  18982. "description": "关联现货合同ID",
  18983. "type": "string"
  18984. },
  18985. "spotgoodsbrandid": {
  18986. "description": "现货品牌ID",
  18987. "type": "integer"
  18988. },
  18989. "unitid": {
  18990. "description": "单位id",
  18991. "type": "integer"
  18992. },
  18993. "userid": {
  18994. "description": "机构ID",
  18995. "type": "integer"
  18996. },
  18997. "warehousecode": {
  18998. "description": "仓库代码",
  18999. "type": "string"
  19000. },
  19001. "warehouseinfoid": {
  19002. "description": "现货仓库ID",
  19003. "type": "string"
  19004. },
  19005. "warehousename": {
  19006. "description": "仓库名称",
  19007. "type": "string"
  19008. },
  19009. "warehousetype": {
  19010. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19011. "type": "integer"
  19012. },
  19013. "wrstandardcode": {
  19014. "description": "品类代码",
  19015. "type": "string"
  19016. },
  19017. "wrstandardid": {
  19018. "description": "品类ID",
  19019. "type": "integer"
  19020. },
  19021. "wrstandardname": {
  19022. "description": "品类名称",
  19023. "type": "string"
  19024. }
  19025. }
  19026. },
  19027. "models.Ermcp3AreaStockApplySum": {
  19028. "type": "object",
  19029. "properties": {
  19030. "brandname": {
  19031. "description": "品牌名称",
  19032. "type": "string"
  19033. },
  19034. "inouttype": {
  19035. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19036. "type": "integer"
  19037. },
  19038. "spotcontractid": {
  19039. "description": "关联现货合同ID",
  19040. "type": "string"
  19041. },
  19042. "spotgoodsbrandid": {
  19043. "description": "品牌id",
  19044. "type": "integer"
  19045. },
  19046. "totalqty": {
  19047. "description": "总数量",
  19048. "type": "number"
  19049. },
  19050. "wrstandardid": {
  19051. "description": "品类id",
  19052. "type": "integer"
  19053. },
  19054. "wrstandardname": {
  19055. "description": "品类名称",
  19056. "type": "string"
  19057. }
  19058. }
  19059. },
  19060. "models.Ermcp3AreaStockReportEx": {
  19061. "type": "object",
  19062. "properties": {
  19063. "begindate": {
  19064. "description": "开始交易日",
  19065. "type": "string"
  19066. },
  19067. "brandname": {
  19068. "description": "品牌名称",
  19069. "type": "string"
  19070. },
  19071. "curstock": {
  19072. "description": "期末库存量",
  19073. "type": "number"
  19074. },
  19075. "cycletime": {
  19076. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19077. "type": "string"
  19078. },
  19079. "cycletype": {
  19080. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19081. "type": "integer"
  19082. },
  19083. "deliverygoodscode": {
  19084. "description": "现货品种代码",
  19085. "type": "string"
  19086. },
  19087. "deliverygoodsid": {
  19088. "description": "现货品种id",
  19089. "type": "integer"
  19090. },
  19091. "deliverygoodsname": {
  19092. "description": "现货品种名称",
  19093. "type": "string"
  19094. },
  19095. "diffqty": {
  19096. "description": "库存变化量 = 期末 - 期初",
  19097. "type": "number"
  19098. },
  19099. "enddate": {
  19100. "description": "结束交易日",
  19101. "type": "string"
  19102. },
  19103. "enumdicname": {
  19104. "description": "单位名称",
  19105. "type": "string"
  19106. },
  19107. "goodsunitid": {
  19108. "description": "现货单位id",
  19109. "type": "integer"
  19110. },
  19111. "oristock": {
  19112. "description": "期初库存量",
  19113. "type": "number"
  19114. },
  19115. "reckondate": {
  19116. "description": "日照时期(yyyyMMdd)",
  19117. "type": "string"
  19118. },
  19119. "spotgoodsbrandid": {
  19120. "description": "现货品牌ID",
  19121. "type": "integer"
  19122. },
  19123. "todaybuyinqty": {
  19124. "description": "今采购入库量",
  19125. "type": "number"
  19126. },
  19127. "todayproduceinqty": {
  19128. "description": "今内部入库量",
  19129. "type": "number"
  19130. },
  19131. "todayproduceoutqty": {
  19132. "description": "今内部出库量",
  19133. "type": "number"
  19134. },
  19135. "todayselloutqty": {
  19136. "description": "今销售出库量",
  19137. "type": "number"
  19138. },
  19139. "unbuyinqty": {
  19140. "description": "采购未入库量(数据库未找到相关字段?)",
  19141. "type": "number"
  19142. },
  19143. "unitid": {
  19144. "description": "品类单位id",
  19145. "type": "integer"
  19146. },
  19147. "unselloutqty": {
  19148. "description": "销售未出库量(数据库未找到相关字段?)",
  19149. "type": "number"
  19150. },
  19151. "updatetime": {
  19152. "description": "更新时间",
  19153. "type": "string"
  19154. },
  19155. "userid": {
  19156. "description": "机构ID",
  19157. "type": "integer"
  19158. },
  19159. "username": {
  19160. "description": "机构名称",
  19161. "type": "string"
  19162. },
  19163. "warehousecode": {
  19164. "description": "仓库代码",
  19165. "type": "string"
  19166. },
  19167. "warehouseinfoid": {
  19168. "description": "仓库ID",
  19169. "type": "string"
  19170. },
  19171. "warehousename": {
  19172. "description": "仓库名称",
  19173. "type": "string"
  19174. },
  19175. "warehousetype": {
  19176. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19177. "type": "integer"
  19178. },
  19179. "wrstandardcode": {
  19180. "description": "品类代码",
  19181. "type": "string"
  19182. },
  19183. "wrstandardid": {
  19184. "description": "品类ID",
  19185. "type": "integer"
  19186. },
  19187. "wrstandardname": {
  19188. "description": "品类名称",
  19189. "type": "string"
  19190. }
  19191. }
  19192. },
  19193. "models.Ermcp3ArealSumPL": {
  19194. "type": "object",
  19195. "properties": {
  19196. "accountname": {
  19197. "description": "机构名称",
  19198. "type": "string"
  19199. },
  19200. "areauserid": {
  19201. "description": "所属机构\\交易用户ID",
  19202. "type": "integer"
  19203. },
  19204. "begindate": {
  19205. "description": "开始交易日",
  19206. "type": "string"
  19207. },
  19208. "currencyid": {
  19209. "description": "结算币种ID",
  19210. "type": "integer"
  19211. },
  19212. "currencyname": {
  19213. "description": "币种名称",
  19214. "type": "string"
  19215. },
  19216. "cycletime": {
  19217. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19218. "type": "string"
  19219. },
  19220. "cycletype": {
  19221. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19222. "type": "integer"
  19223. },
  19224. "enddate": {
  19225. "description": "结束交易日",
  19226. "type": "string"
  19227. },
  19228. "enumdicname": {
  19229. "description": "单位名称(套保品种)",
  19230. "type": "string"
  19231. },
  19232. "futureactualpl": {
  19233. "description": "期货损益",
  19234. "type": "number"
  19235. },
  19236. "futurefloatpl": {
  19237. "description": "期货浮动损益",
  19238. "type": "number"
  19239. },
  19240. "goodsunitid": {
  19241. "description": "套保品种单位id",
  19242. "type": "integer"
  19243. },
  19244. "middlegoodscode": {
  19245. "description": "套保品种代码",
  19246. "type": "string"
  19247. },
  19248. "middlegoodsid": {
  19249. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19250. "type": "integer"
  19251. },
  19252. "middlegoodsname": {
  19253. "description": "套保品种名称",
  19254. "type": "string"
  19255. },
  19256. "reckondate": {
  19257. "description": "日照时期(yyyyMMdd)",
  19258. "type": "string"
  19259. },
  19260. "spotactualpl": {
  19261. "description": "现货损益",
  19262. "type": "number"
  19263. },
  19264. "spotfloatpl": {
  19265. "description": "现货浮动损益",
  19266. "type": "number"
  19267. },
  19268. "sumactualpl": {
  19269. "description": "实际损益 = (ActualPL + FutureActualPL)",
  19270. "type": "number"
  19271. },
  19272. "sumpl": {
  19273. "description": "汇总损益",
  19274. "type": "number"
  19275. },
  19276. "updatetime": {
  19277. "description": "更新时间",
  19278. "type": "string"
  19279. }
  19280. }
  19281. },
  19282. "models.Ermcp3Brand": {
  19283. "type": "object",
  19284. "properties": {
  19285. "areauserid": {
  19286. "description": "用户id",
  19287. "type": "integer"
  19288. },
  19289. "brandid": {
  19290. "description": "品牌id",
  19291. "type": "integer"
  19292. },
  19293. "brandname": {
  19294. "description": "品牌名称",
  19295. "type": "string"
  19296. },
  19297. "deliverygoodsid": {
  19298. "description": "品种ID",
  19299. "type": "integer"
  19300. }
  19301. }
  19302. },
  19303. "models.Ermcp3Contract": {
  19304. "type": "object",
  19305. "properties": {
  19306. "accountid": {
  19307. "description": "期货账户id",
  19308. "type": "string"
  19309. },
  19310. "amount": {
  19311. "description": "金额 [1:一口价、3:暂定价]",
  19312. "type": "number"
  19313. },
  19314. "attachment": {
  19315. "description": "附件",
  19316. "type": "string"
  19317. },
  19318. "auditremark": {
  19319. "description": "审核意见",
  19320. "type": "string"
  19321. },
  19322. "audittime": {
  19323. "description": "审核时间",
  19324. "type": "string"
  19325. },
  19326. "biztype": {
  19327. "description": "业务类型 1-套保 2-套利",
  19328. "type": "integer"
  19329. },
  19330. "brandname": {
  19331. "description": "品牌名称",
  19332. "type": "string"
  19333. },
  19334. "buynickname": {
  19335. "description": "销售方昵称",
  19336. "type": "string"
  19337. },
  19338. "buyuserid": {
  19339. "description": "采购方ID",
  19340. "type": "integer"
  19341. },
  19342. "buyusername": {
  19343. "description": "采购方名称",
  19344. "type": "string"
  19345. },
  19346. "contracctstatus": {
  19347. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19348. "type": "integer"
  19349. },
  19350. "contractmargin": {
  19351. "description": "合同保证金",
  19352. "type": "number"
  19353. },
  19354. "contractno": {
  19355. "description": "现货合同编号",
  19356. "type": "string"
  19357. },
  19358. "contracttype": {
  19359. "description": "现货合同类型 - 1:采购 -1:销售",
  19360. "type": "integer"
  19361. },
  19362. "convertfactor": {
  19363. "description": "标仓系数(品类)",
  19364. "type": "number"
  19365. },
  19366. "createtime": {
  19367. "description": "创建时间",
  19368. "type": "string"
  19369. },
  19370. "currencyid": {
  19371. "description": "币种id",
  19372. "type": "integer"
  19373. },
  19374. "currencyname": {
  19375. "description": "币种名称",
  19376. "type": "string"
  19377. },
  19378. "deliveryenddate": {
  19379. "description": "交收期(结束)",
  19380. "type": "string"
  19381. },
  19382. "deliverygoodscode": {
  19383. "description": "现货品种代码",
  19384. "type": "string"
  19385. },
  19386. "deliverygoodsid": {
  19387. "description": "现货品种ID",
  19388. "type": "integer"
  19389. },
  19390. "deliverygoodsname": {
  19391. "description": "现货品种名称",
  19392. "type": "string"
  19393. },
  19394. "deliverystartdate": {
  19395. "description": "交收期(开始)",
  19396. "type": "string"
  19397. },
  19398. "enddate": {
  19399. "description": "点价结束日期 [2:点价 3:暂定价]",
  19400. "type": "string"
  19401. },
  19402. "enumdicname": {
  19403. "description": "单位名称",
  19404. "type": "string"
  19405. },
  19406. "goodscode": {
  19407. "description": "点价合约代码",
  19408. "type": "string"
  19409. },
  19410. "goodsid": {
  19411. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  19412. "type": "integer"
  19413. },
  19414. "goodsname": {
  19415. "description": "点价商品名称",
  19416. "type": "string"
  19417. },
  19418. "margin": {
  19419. "description": "当前保证金",
  19420. "type": "number"
  19421. },
  19422. "meruserid": {
  19423. "description": "跟单员id",
  19424. "type": "integer"
  19425. },
  19426. "meruserlogincode": {
  19427. "description": "跟单员登录代码",
  19428. "type": "string"
  19429. },
  19430. "merusername": {
  19431. "description": "跟单员名称",
  19432. "type": "string"
  19433. },
  19434. "price": {
  19435. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  19436. "type": "number"
  19437. },
  19438. "pricemove": {
  19439. "description": "升贴水 [2:点价 3:暂定价]",
  19440. "type": "number"
  19441. },
  19442. "pricetype": {
  19443. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19444. "type": "integer"
  19445. },
  19446. "producttype": {
  19447. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19448. "type": "integer"
  19449. },
  19450. "qty": {
  19451. "description": "数量",
  19452. "type": "number"
  19453. },
  19454. "remark": {
  19455. "description": "备注",
  19456. "type": "string"
  19457. },
  19458. "saleuserid": {
  19459. "description": "业务员id",
  19460. "type": "integer"
  19461. },
  19462. "saleuserlogincode": {
  19463. "description": "业务员登录代码",
  19464. "type": "string"
  19465. },
  19466. "saleusername": {
  19467. "description": "业务员名称",
  19468. "type": "string"
  19469. },
  19470. "sellnickname": {
  19471. "description": "采购方昵称",
  19472. "type": "string"
  19473. },
  19474. "selluserid": {
  19475. "description": "销售方ID",
  19476. "type": "integer"
  19477. },
  19478. "sellusername": {
  19479. "description": "销售方名称",
  19480. "type": "string"
  19481. },
  19482. "spotcontractid": {
  19483. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  19484. "type": "string"
  19485. },
  19486. "spotgoodsbrandid": {
  19487. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19488. "type": "integer"
  19489. },
  19490. "spotgoodsdesc": {
  19491. "description": "商品型号",
  19492. "type": "string"
  19493. },
  19494. "startdate": {
  19495. "description": "点价开始日期 [2:点价 3:暂定价]",
  19496. "type": "string"
  19497. },
  19498. "subjectid": {
  19499. "description": "交易主体ID",
  19500. "type": "string"
  19501. },
  19502. "subjectname": {
  19503. "description": "交易主体名称",
  19504. "type": "string"
  19505. },
  19506. "tradeuserid": {
  19507. "description": "交易员id",
  19508. "type": "integer"
  19509. },
  19510. "tradeuserlogincode": {
  19511. "description": "交易员登录代码",
  19512. "type": "string"
  19513. },
  19514. "tradeusername": {
  19515. "description": "交易员名称",
  19516. "type": "string"
  19517. },
  19518. "unitid": {
  19519. "description": "单位id(取品类上的单位id)",
  19520. "type": "integer"
  19521. },
  19522. "updatetime": {
  19523. "description": "更新时间",
  19524. "type": "string"
  19525. },
  19526. "userid": {
  19527. "description": "所属机构ID",
  19528. "type": "integer"
  19529. },
  19530. "vatrate": {
  19531. "description": "增值税率",
  19532. "type": "number"
  19533. },
  19534. "wrstandardcode": {
  19535. "description": "品类代码",
  19536. "type": "string"
  19537. },
  19538. "wrstandardid": {
  19539. "description": "品类ID",
  19540. "type": "integer"
  19541. },
  19542. "wrstandardname": {
  19543. "description": "品类名称",
  19544. "type": "string"
  19545. }
  19546. }
  19547. },
  19548. "models.Ermcp3ExposureContractDetail": {
  19549. "type": "object",
  19550. "properties": {
  19551. "biztype": {
  19552. "description": "业务类型 1-套保 2-套利",
  19553. "type": "integer"
  19554. },
  19555. "brandname": {
  19556. "description": "品牌名称",
  19557. "type": "string"
  19558. },
  19559. "buyuserid": {
  19560. "description": "采购方id",
  19561. "type": "integer"
  19562. },
  19563. "buyusername": {
  19564. "description": "采购方名称",
  19565. "type": "string"
  19566. },
  19567. "contractno": {
  19568. "description": "合同编号",
  19569. "type": "string"
  19570. },
  19571. "contracttype": {
  19572. "description": "现货合同类型 - 1:采购 -1:销售",
  19573. "type": "integer"
  19574. },
  19575. "convertfactor": {
  19576. "description": "标仓系数",
  19577. "type": "number"
  19578. },
  19579. "convertratio": {
  19580. "description": "折算系数(套保品种)",
  19581. "type": "number"
  19582. },
  19583. "curqty": {
  19584. "description": "今定价量",
  19585. "type": "number"
  19586. },
  19587. "deliverygoodscode": {
  19588. "description": "现货商品代码",
  19589. "type": "string"
  19590. },
  19591. "deliverygoodsid": {
  19592. "description": "现货商品id",
  19593. "type": "integer"
  19594. },
  19595. "deliverygoodsname": {
  19596. "description": "现货商品名称",
  19597. "type": "string"
  19598. },
  19599. "diffhedgeqty": {
  19600. "description": "套保变动量",
  19601. "type": "number"
  19602. },
  19603. "diffneedhedgeqty": {
  19604. "description": "应套保变动量",
  19605. "type": "number"
  19606. },
  19607. "diffqty": {
  19608. "description": "套保品种今变动量",
  19609. "type": "number"
  19610. },
  19611. "enumdicname": {
  19612. "description": "单位名称",
  19613. "type": "string"
  19614. },
  19615. "mgunitname": {
  19616. "description": "套保品种单位名称",
  19617. "type": "string"
  19618. },
  19619. "middlegoodscode": {
  19620. "description": "套保品种代码",
  19621. "type": "string"
  19622. },
  19623. "middlegoodsid": {
  19624. "description": "套保品种id",
  19625. "type": "integer"
  19626. },
  19627. "middlegoodsname": {
  19628. "description": "套保品种名称",
  19629. "type": "string"
  19630. },
  19631. "needarbitrageratio": {
  19632. "description": "应套利比例",
  19633. "type": "number"
  19634. },
  19635. "needhedgeratio": {
  19636. "description": "应套保比例",
  19637. "type": "number"
  19638. },
  19639. "pricedqty": {
  19640. "description": "已定价量",
  19641. "type": "number"
  19642. },
  19643. "qty": {
  19644. "description": "合同量",
  19645. "type": "number"
  19646. },
  19647. "selluserid": {
  19648. "description": "销售方id",
  19649. "type": "integer"
  19650. },
  19651. "sellusername": {
  19652. "description": "销售方名称",
  19653. "type": "string"
  19654. },
  19655. "spotcontractid": {
  19656. "description": "合同id",
  19657. "type": "string"
  19658. },
  19659. "todaypricedqty": {
  19660. "description": "今定价量",
  19661. "type": "number"
  19662. },
  19663. "tradedate": {
  19664. "description": "交易日",
  19665. "type": "string"
  19666. },
  19667. "unitid": {
  19668. "description": "品类单位id",
  19669. "type": "integer"
  19670. },
  19671. "userid": {
  19672. "description": "机构id",
  19673. "type": "integer"
  19674. },
  19675. "username": {
  19676. "description": "交易用户",
  19677. "type": "string"
  19678. },
  19679. "wrstandardcode": {
  19680. "description": "品类代码",
  19681. "type": "string"
  19682. },
  19683. "wrstandardid": {
  19684. "description": "品类id",
  19685. "type": "integer"
  19686. },
  19687. "wrstandardname": {
  19688. "description": "品类名称",
  19689. "type": "string"
  19690. }
  19691. }
  19692. },
  19693. "models.Ermcp3ExposureDetail": {
  19694. "type": "object",
  19695. "properties": {
  19696. "areauserid": {
  19697. "description": "机构ID",
  19698. "type": "integer"
  19699. },
  19700. "changeQty": {
  19701. "description": "套保变动量",
  19702. "type": "number"
  19703. },
  19704. "contracttype": {
  19705. "description": "现货合同类型 - 1:采购 -1:销售",
  19706. "type": "integer"
  19707. },
  19708. "convertfactor": {
  19709. "description": "标仓系数",
  19710. "type": "number"
  19711. },
  19712. "convertratio": {
  19713. "description": "套保系数",
  19714. "type": "number"
  19715. },
  19716. "createtime": {
  19717. "description": "时间",
  19718. "type": "string"
  19719. },
  19720. "enumdicname": {
  19721. "description": "现货商品单位名称",
  19722. "type": "string"
  19723. },
  19724. "logtype": {
  19725. "description": "类型 - 1:套保计划 2:现货合同",
  19726. "type": "integer"
  19727. },
  19728. "mgunitid": {
  19729. "description": "套保品种单位id",
  19730. "type": "integer"
  19731. },
  19732. "mgunitidname": {
  19733. "description": "套保品种单位名称",
  19734. "type": "string"
  19735. },
  19736. "middlegoodsId": {
  19737. "description": "套保商品id",
  19738. "type": "integer"
  19739. },
  19740. "middlegoodscode": {
  19741. "description": "套保商品代码",
  19742. "type": "string"
  19743. },
  19744. "middlegoodsname": {
  19745. "description": "套保商品名称",
  19746. "type": "string"
  19747. },
  19748. "qty": {
  19749. "description": "数量",
  19750. "type": "number"
  19751. },
  19752. "relateNo": {
  19753. "description": "现货合同/套保计划编号",
  19754. "type": "string"
  19755. },
  19756. "unitid": {
  19757. "description": "现货商品单位id",
  19758. "type": "integer"
  19759. },
  19760. "wrstandardcode": {
  19761. "description": "现货商品代码",
  19762. "type": "string"
  19763. },
  19764. "wrstandardid": {
  19765. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19766. "type": "integer"
  19767. },
  19768. "wrstandardname": {
  19769. "description": "现货商品名称",
  19770. "type": "string"
  19771. }
  19772. }
  19773. },
  19774. "models.Ermcp3ExposureFutuDetail": {
  19775. "type": "object",
  19776. "properties": {
  19777. "accountid": {
  19778. "description": "交易账户id",
  19779. "type": "integer"
  19780. },
  19781. "accountname": {
  19782. "description": "交易账户",
  19783. "type": "string"
  19784. },
  19785. "begindate": {
  19786. "description": "开始交易日",
  19787. "type": "string"
  19788. },
  19789. "buyorsell": {
  19790. "description": "方向 0-买 1-卖",
  19791. "type": "integer"
  19792. },
  19793. "diffmgqty": {
  19794. "description": "套保品种今变化量",
  19795. "type": "number"
  19796. },
  19797. "diffneedqty": {
  19798. "description": "应套保总量变化量",
  19799. "type": "number"
  19800. },
  19801. "difftradeqty": {
  19802. "description": "交易品种今变化量",
  19803. "type": "number"
  19804. },
  19805. "enddate": {
  19806. "description": "结束交易日",
  19807. "type": "string"
  19808. },
  19809. "enumdicname": {
  19810. "description": "单位名称",
  19811. "type": "string"
  19812. },
  19813. "goodscode": {
  19814. "description": "商品代码",
  19815. "type": "string"
  19816. },
  19817. "goodsid": {
  19818. "description": "商品id",
  19819. "type": "integer"
  19820. },
  19821. "goodsname": {
  19822. "description": "商品名称",
  19823. "type": "string"
  19824. },
  19825. "holdqty": {
  19826. "description": "期末持仓量",
  19827. "type": "number"
  19828. },
  19829. "middlegoodscode": {
  19830. "description": "套保商品代码",
  19831. "type": "string"
  19832. },
  19833. "middlegoodsid": {
  19834. "description": "套保商品id",
  19835. "type": "integer"
  19836. },
  19837. "middlegoodsname": {
  19838. "description": "套保商品名称",
  19839. "type": "string"
  19840. },
  19841. "oriholdqty": {
  19842. "description": "期初持仓量",
  19843. "type": "number"
  19844. },
  19845. "todaycloseqty": {
  19846. "description": "今平仓量",
  19847. "type": "number"
  19848. },
  19849. "todayopenqty": {
  19850. "description": "今开仓量",
  19851. "type": "number"
  19852. },
  19853. "tradedate": {
  19854. "description": "交易日",
  19855. "type": "string"
  19856. }
  19857. }
  19858. },
  19859. "models.Ermcp3ExposureHedgeplanDetail": {
  19860. "type": "object",
  19861. "properties": {
  19862. "biztype": {
  19863. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  19864. "type": "integer"
  19865. },
  19866. "changqty": {
  19867. "description": "应套保总量变化量",
  19868. "type": "number"
  19869. },
  19870. "contracttype": {
  19871. "description": "计划类型 - 1:采购 -1:销售",
  19872. "type": "integer"
  19873. },
  19874. "convertratio": {
  19875. "description": "折算系数(套保品种)",
  19876. "type": "number"
  19877. },
  19878. "deliverygoodscode": {
  19879. "description": "现货商品代码",
  19880. "type": "string"
  19881. },
  19882. "deliverygoodsid": {
  19883. "description": "现货商品id",
  19884. "type": "integer"
  19885. },
  19886. "deliverygoodsname": {
  19887. "description": "现货商吕名称",
  19888. "type": "string"
  19889. },
  19890. "dgunitid": {
  19891. "description": "现货商品单位id",
  19892. "type": "integer"
  19893. },
  19894. "dgunitidname": {
  19895. "description": "单位名称(现货商品)",
  19896. "type": "string"
  19897. },
  19898. "diffqty": {
  19899. "description": "套保品种今变动量",
  19900. "type": "number"
  19901. },
  19902. "enumdicname": {
  19903. "description": "单位名称(品类)",
  19904. "type": "string"
  19905. },
  19906. "hedgeplanid": {
  19907. "description": "套保计划id",
  19908. "type": "string"
  19909. },
  19910. "hedgeplanno": {
  19911. "description": "套保计划名称",
  19912. "type": "string"
  19913. },
  19914. "hedgeplanstatus": {
  19915. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19916. "type": "integer"
  19917. },
  19918. "mgunitidname": {
  19919. "description": "单位名称(套保商品)",
  19920. "type": "string"
  19921. },
  19922. "middlegoodscode": {
  19923. "description": "套保品种代码",
  19924. "type": "string"
  19925. },
  19926. "middlegoodsid": {
  19927. "description": "套保品种id",
  19928. "type": "integer"
  19929. },
  19930. "middlegoodsname": {
  19931. "description": "套保品种名称",
  19932. "type": "string"
  19933. },
  19934. "needarbitrageratio": {
  19935. "description": "应套利比例",
  19936. "type": "number"
  19937. },
  19938. "needhedgeratio": {
  19939. "description": "应套保比例",
  19940. "type": "number"
  19941. },
  19942. "pricedqty": {
  19943. "description": "已定价量",
  19944. "type": "number"
  19945. },
  19946. "qty": {
  19947. "description": "合同量",
  19948. "type": "number"
  19949. },
  19950. "tradedate": {
  19951. "description": "交易日(登记日)",
  19952. "type": "string"
  19953. },
  19954. "unitid": {
  19955. "description": "品类单位id",
  19956. "type": "integer"
  19957. },
  19958. "userid": {
  19959. "description": "机构id",
  19960. "type": "integer"
  19961. },
  19962. "wrstandardcode": {
  19963. "description": "品类代码",
  19964. "type": "string"
  19965. },
  19966. "wrstandardid": {
  19967. "description": "品类id",
  19968. "type": "integer"
  19969. },
  19970. "wrstandardname": {
  19971. "description": "品类名称",
  19972. "type": "string"
  19973. }
  19974. }
  19975. },
  19976. "models.Ermcp3ExposureParamChLog": {
  19977. "type": "object",
  19978. "properties": {
  19979. "accountid": {
  19980. "description": "期货账户ID (作废, 默认为0)",
  19981. "type": "integer"
  19982. },
  19983. "aftervalue": {
  19984. "description": "应套保\\套利量变更后(调整后应套保总量)",
  19985. "type": "number"
  19986. },
  19987. "areauserid": {
  19988. "description": "所属机构\\交易用户ID",
  19989. "type": "integer"
  19990. },
  19991. "beforevalue": {
  19992. "description": "应套保\\套利量变更前(调整前应套保总量)",
  19993. "type": "number"
  19994. },
  19995. "begindate": {
  19996. "description": "开始交易日",
  19997. "type": "string"
  19998. },
  19999. "changelogtype": {
  20000. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20001. "type": "integer"
  20002. },
  20003. "curvalue": {
  20004. "description": "当前套保\\套利量(套保总量|套利总量)",
  20005. "type": "number"
  20006. },
  20007. "diffvalue": {
  20008. "description": "应套保总量变化量",
  20009. "type": "number"
  20010. },
  20011. "enddate": {
  20012. "description": "结束交易日",
  20013. "type": "string"
  20014. },
  20015. "logdatetime": {
  20016. "description": "流水日期",
  20017. "type": "string"
  20018. },
  20019. "logid": {
  20020. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20021. "type": "string"
  20022. },
  20023. "middlegoodscode": {
  20024. "description": "套保品种代码",
  20025. "type": "string"
  20026. },
  20027. "middlegoodsid": {
  20028. "description": "套保品种",
  20029. "type": "integer"
  20030. },
  20031. "middlegoodsname": {
  20032. "description": "套保品种名称",
  20033. "type": "string"
  20034. },
  20035. "paramaftervalue": {
  20036. "description": "参数变更后(调整后参数值)",
  20037. "type": "number"
  20038. },
  20039. "parambeforevalue": {
  20040. "description": "参数变更前(调整前参数值)",
  20041. "type": "number"
  20042. },
  20043. "tradedate": {
  20044. "description": "交易日(yyyyMMdd)",
  20045. "type": "string"
  20046. }
  20047. }
  20048. },
  20049. "models.Ermcp3ExpourseReport": {
  20050. "type": "object",
  20051. "properties": {
  20052. "accountid": {
  20053. "description": "期货账户ID (作废, 默认为0)",
  20054. "type": "integer"
  20055. },
  20056. "accountname": {
  20057. "description": "机构名称",
  20058. "type": "string"
  20059. },
  20060. "arbitrageqty": {
  20061. "description": "套利量",
  20062. "type": "number"
  20063. },
  20064. "areauserid": {
  20065. "description": "所属机构\\交易用户ID",
  20066. "type": "integer"
  20067. },
  20068. "begindate": {
  20069. "description": "开始交易日",
  20070. "type": "string"
  20071. },
  20072. "buyfutureqty": {
  20073. "description": "买入期货数量",
  20074. "type": "number"
  20075. },
  20076. "buyplanqty": {
  20077. "description": "采购计划数量",
  20078. "type": "number"
  20079. },
  20080. "buypricedqty": {
  20081. "description": "采购合同已定价数量",
  20082. "type": "number"
  20083. },
  20084. "cycletime": {
  20085. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20086. "type": "string"
  20087. },
  20088. "cycletype": {
  20089. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20090. "type": "integer"
  20091. },
  20092. "diffexposure": {
  20093. "description": "变动量(套保敞口)",
  20094. "type": "number"
  20095. },
  20096. "difffutuqty": {
  20097. "description": "变动量(期货)",
  20098. "type": "number"
  20099. },
  20100. "diffhedgeqty": {
  20101. "description": "变动量(现货应套保总量)",
  20102. "type": "number"
  20103. },
  20104. "diffmgqtya": {
  20105. "description": "套保变动量",
  20106. "type": "number"
  20107. },
  20108. "diffmgqtyb": {
  20109. "description": "套利变动量",
  20110. "type": "number"
  20111. },
  20112. "diffqty": {
  20113. "description": "变动量(总敞口)",
  20114. "type": "number"
  20115. },
  20116. "diffspotqty": {
  20117. "description": "变动量(现货)",
  20118. "type": "number"
  20119. },
  20120. "enddate": {
  20121. "description": "结束交易日",
  20122. "type": "string"
  20123. },
  20124. "enumdicname": {
  20125. "description": "单位名称",
  20126. "type": "string"
  20127. },
  20128. "hedgeqty": {
  20129. "description": "套保量",
  20130. "type": "number"
  20131. },
  20132. "mgneedhedgeratio": {
  20133. "description": "套保比例(套保品的)",
  20134. "type": "number"
  20135. },
  20136. "middlegoodsid": {
  20137. "description": "套保品种ID",
  20138. "type": "integer"
  20139. },
  20140. "middlegoodsname": {
  20141. "description": "套保商品名称",
  20142. "type": "string"
  20143. },
  20144. "middlgoodscode": {
  20145. "description": "套保商品代码",
  20146. "type": "string"
  20147. },
  20148. "needarbitrageqty": {
  20149. "description": "应套利量",
  20150. "type": "number"
  20151. },
  20152. "needarbitrageratio": {
  20153. "description": "套利比例(套保品的)",
  20154. "type": "number"
  20155. },
  20156. "needhedgeexposoure": {
  20157. "description": "应套保敞口(套保敞口)",
  20158. "type": "number"
  20159. },
  20160. "needhedgeqty": {
  20161. "description": "应套保量",
  20162. "type": "number"
  20163. },
  20164. "needhedgeratio": {
  20165. "description": "应套保敞口比例",
  20166. "type": "number"
  20167. },
  20168. "oriarbitrageqty": {
  20169. "description": "期初套利量",
  20170. "type": "number"
  20171. },
  20172. "oribuyfutureqty": {
  20173. "description": "期初买入期货数量",
  20174. "type": "number"
  20175. },
  20176. "oribuyplanqty": {
  20177. "description": "期初采购计划数量",
  20178. "type": "number"
  20179. },
  20180. "oribuypricedqty": {
  20181. "description": "期初采购合同已定价数量",
  20182. "type": "number"
  20183. },
  20184. "orihedgeqty": {
  20185. "description": "期初套保量",
  20186. "type": "number"
  20187. },
  20188. "orineedarbitrageqty": {
  20189. "description": "期初应套利量",
  20190. "type": "number"
  20191. },
  20192. "orineedhedgeexposoure": {
  20193. "description": "期初应套保敞口",
  20194. "type": "number"
  20195. },
  20196. "orineedhedgeqty": {
  20197. "description": "期初应套保量",
  20198. "type": "number"
  20199. },
  20200. "orisellfutureqty": {
  20201. "description": "期初卖出期货数量",
  20202. "type": "number"
  20203. },
  20204. "orisellplanqty": {
  20205. "description": "期初销售计划数量",
  20206. "type": "number"
  20207. },
  20208. "orisellpricedqty": {
  20209. "description": "期初销售合同已定价数量",
  20210. "type": "number"
  20211. },
  20212. "oritotalexposure": {
  20213. "description": "期初实时总敞口",
  20214. "type": "number"
  20215. },
  20216. "oritotalfutureqty": {
  20217. "description": "期初期货头寸总量",
  20218. "type": "number"
  20219. },
  20220. "oritotalneedhedgeqty": {
  20221. "description": "期初应套保总量",
  20222. "type": "number"
  20223. },
  20224. "oritotalspotqty": {
  20225. "description": "期初现货头寸总量",
  20226. "type": "number"
  20227. },
  20228. "reckondate": {
  20229. "description": "日照时期(yyyyMMdd)",
  20230. "type": "string"
  20231. },
  20232. "sellfutureqty": {
  20233. "description": "卖出期货数量",
  20234. "type": "number"
  20235. },
  20236. "sellplanqty": {
  20237. "description": "销售计划数量",
  20238. "type": "number"
  20239. },
  20240. "sellpricedqty": {
  20241. "description": "销售合同已定价数量",
  20242. "type": "number"
  20243. },
  20244. "totalexposure": {
  20245. "description": "实时总敞口(总敞口)",
  20246. "type": "number"
  20247. },
  20248. "totalfutureqty": {
  20249. "description": "期货头寸总量(期货总量)",
  20250. "type": "number"
  20251. },
  20252. "totalhedgeratio": {
  20253. "description": "敞口比例",
  20254. "type": "number"
  20255. },
  20256. "totalneedhedgeqty": {
  20257. "description": "应套保总量(现货应套保总量)",
  20258. "type": "number"
  20259. },
  20260. "totalspotqty": {
  20261. "description": "现货头寸总量",
  20262. "type": "number"
  20263. },
  20264. "unitid": {
  20265. "description": "单位id",
  20266. "type": "integer"
  20267. },
  20268. "updatetime": {
  20269. "description": "更新时间",
  20270. "type": "string"
  20271. }
  20272. }
  20273. },
  20274. "models.Ermcp3FinanceReport": {
  20275. "type": "object",
  20276. "properties": {
  20277. "accountname": {
  20278. "description": "机构名称",
  20279. "type": "string"
  20280. },
  20281. "areauserid": {
  20282. "description": "所属机构\\交易用户ID",
  20283. "type": "integer"
  20284. },
  20285. "begindate": {
  20286. "description": "开始交易日",
  20287. "type": "string"
  20288. },
  20289. "biztype": {
  20290. "description": "业务类型 - 1:套保 2:套利",
  20291. "type": "integer"
  20292. },
  20293. "brandname": {
  20294. "description": "品牌名称",
  20295. "type": "string"
  20296. },
  20297. "buypreinvoicedamount": {
  20298. "description": "采购预收票额(预收票额)",
  20299. "type": "number"
  20300. },
  20301. "buyprepaidamount": {
  20302. "description": "采购预付款额(预付货款额)",
  20303. "type": "number"
  20304. },
  20305. "buytodayinvoiceamount": {
  20306. "description": "采购今收票额(今收票额)",
  20307. "type": "number"
  20308. },
  20309. "buytodayrefundamount": {
  20310. "description": "采购今收退款额(今收退款额)",
  20311. "type": "number"
  20312. },
  20313. "buytodaysettleamount": {
  20314. "description": "采购今付款额(今付货款额)",
  20315. "type": "number"
  20316. },
  20317. "buyuninvoicedamount": {
  20318. "description": "采购应收票额(应收票额)",
  20319. "type": "number"
  20320. },
  20321. "buyunpaidamount": {
  20322. "description": "采购应付款额(应付货款额)",
  20323. "type": "number"
  20324. },
  20325. "currencyid": {
  20326. "description": "结算币种ID",
  20327. "type": "integer"
  20328. },
  20329. "currencyname": {
  20330. "description": "币种名称",
  20331. "type": "string"
  20332. },
  20333. "cycletime": {
  20334. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20335. "type": "string"
  20336. },
  20337. "cycletype": {
  20338. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20339. "type": "integer"
  20340. },
  20341. "deliverygoodscode": {
  20342. "description": "现货品种代码",
  20343. "type": "string"
  20344. },
  20345. "deliverygoodsid": {
  20346. "description": "现货品种ID",
  20347. "type": "integer"
  20348. },
  20349. "deliverygoodsname": {
  20350. "description": "现货品种名称",
  20351. "type": "string"
  20352. },
  20353. "enddate": {
  20354. "description": "结束交易日",
  20355. "type": "string"
  20356. },
  20357. "reckondate": {
  20358. "description": "日照时期(yyyyMMdd)",
  20359. "type": "string"
  20360. },
  20361. "sellpreinvoicedamount": {
  20362. "description": "销售预开票额(预开票额)",
  20363. "type": "number"
  20364. },
  20365. "sellprepaidamount": {
  20366. "description": "销售预收款额(预收货款额)",
  20367. "type": "number"
  20368. },
  20369. "selltodayinvoiceamount": {
  20370. "description": "销售今开票额(今开票额)",
  20371. "type": "number"
  20372. },
  20373. "selltodayrefundamount": {
  20374. "description": "销售今付退款额(今付退款额)",
  20375. "type": "number"
  20376. },
  20377. "selltodaysettleamount": {
  20378. "description": "销售今收款额(今收货款额)",
  20379. "type": "number"
  20380. },
  20381. "selluninvoicedamount": {
  20382. "description": "销售应开票额(应开票额)",
  20383. "type": "number"
  20384. },
  20385. "sellunpaidamount": {
  20386. "description": "销售应收款额(应收货款额)",
  20387. "type": "number"
  20388. },
  20389. "spotgoodsbrandid": {
  20390. "description": "现货品牌ID",
  20391. "type": "integer"
  20392. },
  20393. "todaypaysum": {
  20394. "description": "今付款合计",
  20395. "type": "number"
  20396. },
  20397. "todayreceivesum": {
  20398. "description": "今收款合计",
  20399. "type": "number"
  20400. },
  20401. "updatetime": {
  20402. "description": "更新时间",
  20403. "type": "string"
  20404. },
  20405. "wrfactortypeid": {
  20406. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  20407. "type": "integer"
  20408. },
  20409. "wrstandardcode": {
  20410. "description": "品类代码",
  20411. "type": "string"
  20412. },
  20413. "wrstandardid": {
  20414. "description": "现货商品ID",
  20415. "type": "integer"
  20416. },
  20417. "wrstandardname": {
  20418. "description": "品类名称",
  20419. "type": "string"
  20420. }
  20421. }
  20422. },
  20423. "models.Ermcp3GoodsGroup": {
  20424. "type": "object",
  20425. "required": [
  20426. "areauserid"
  20427. ],
  20428. "properties": {
  20429. "agreeunit": {
  20430. "description": "合约单位",
  20431. "type": "number"
  20432. },
  20433. "areauserid": {
  20434. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  20435. "type": "integer"
  20436. },
  20437. "canshort": {
  20438. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20439. "type": "integer"
  20440. },
  20441. "closepricemode": {
  20442. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20443. "type": "integer"
  20444. },
  20445. "createtime": {
  20446. "description": "创建时间",
  20447. "type": "string"
  20448. },
  20449. "creatorid": {
  20450. "description": "创建人",
  20451. "type": "integer"
  20452. },
  20453. "currencyid": {
  20454. "description": "报价货币ID",
  20455. "type": "integer"
  20456. },
  20457. "decimalplace": {
  20458. "description": "报价小数位",
  20459. "type": "integer"
  20460. },
  20461. "enumdicname": {
  20462. "description": "单位名称",
  20463. "type": "string"
  20464. },
  20465. "exchangefullname": {
  20466. "description": "交易所全称",
  20467. "type": "string"
  20468. },
  20469. "excludecfg": {
  20470. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  20471. "type": "integer"
  20472. },
  20473. "exexchangecode": {
  20474. "description": "交易所代码",
  20475. "type": "string"
  20476. },
  20477. "exexchangeid": {
  20478. "description": "外部交易所ID[通道交易]",
  20479. "type": "integer"
  20480. },
  20481. "exexchangename": {
  20482. "description": "交易所名称",
  20483. "type": "string"
  20484. },
  20485. "goodsgroupid": {
  20486. "description": "商品组ID(自增ID)",
  20487. "type": "integer"
  20488. },
  20489. "goodsgroupname": {
  20490. "description": "商品组名称",
  20491. "type": "string"
  20492. },
  20493. "goodsgroupstatus": {
  20494. "description": "商品组状态 - 1:正常 2:注销",
  20495. "type": "integer"
  20496. },
  20497. "goodunitid": {
  20498. "description": "报价单位ID",
  20499. "type": "integer"
  20500. },
  20501. "groupcategroyid": {
  20502. "description": "品种分类ID",
  20503. "type": "integer"
  20504. },
  20505. "innerdealmode": {
  20506. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20507. "type": "integer"
  20508. },
  20509. "marketid": {
  20510. "description": "所属市场ID",
  20511. "type": "integer"
  20512. },
  20513. "modifierid": {
  20514. "description": "修改人",
  20515. "type": "integer"
  20516. },
  20517. "modifytime": {
  20518. "description": "修改时间",
  20519. "type": "string"
  20520. },
  20521. "outerdealmode": {
  20522. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20523. "type": "integer"
  20524. },
  20525. "outergroupcode": {
  20526. "description": "外部商品组代码[通道交易]",
  20527. "type": "string"
  20528. },
  20529. "quoteminunit": {
  20530. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20531. "type": "integer"
  20532. },
  20533. "quotesourcegroupid": {
  20534. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20535. "type": "integer"
  20536. },
  20537. "syncgoodsqty": {
  20538. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20539. "type": "integer"
  20540. }
  20541. }
  20542. },
  20543. "models.Ermcp3HedgePlan": {
  20544. "type": "object",
  20545. "properties": {
  20546. "accountid": {
  20547. "description": "资金账号",
  20548. "type": "integer"
  20549. },
  20550. "areauserid": {
  20551. "description": "用户ID",
  20552. "type": "integer"
  20553. },
  20554. "auditid": {
  20555. "description": "审核id",
  20556. "type": "integer"
  20557. },
  20558. "auditname": {
  20559. "description": "审核人名称",
  20560. "type": "string"
  20561. },
  20562. "auditremark": {
  20563. "description": "审核备注",
  20564. "type": "string"
  20565. },
  20566. "auditsrc": {
  20567. "description": "审核来源 1-管理端 2-终端",
  20568. "type": "integer"
  20569. },
  20570. "audittime": {
  20571. "description": "审核时间",
  20572. "type": "string"
  20573. },
  20574. "contracttype": {
  20575. "description": "计划类型 - 1:采购 -1:销售",
  20576. "type": "integer"
  20577. },
  20578. "convertfactor": {
  20579. "description": "标仓系数",
  20580. "type": "number"
  20581. },
  20582. "createtime": {
  20583. "description": "创建时间",
  20584. "type": "string"
  20585. },
  20586. "currencyid": {
  20587. "description": "币种id",
  20588. "type": "integer"
  20589. },
  20590. "currencyname": {
  20591. "description": "币种名称",
  20592. "type": "string"
  20593. },
  20594. "deliverygoodscode": {
  20595. "description": "现货品种代码",
  20596. "type": "string"
  20597. },
  20598. "deliverygoodsid": {
  20599. "description": "现货品种ID",
  20600. "type": "integer"
  20601. },
  20602. "deliverygoodsname": {
  20603. "description": "现货品种名称",
  20604. "type": "string"
  20605. },
  20606. "enumdicname": {
  20607. "description": "单位名称(现货商品)",
  20608. "type": "string"
  20609. },
  20610. "hedgeplanid": {
  20611. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  20612. "type": "string"
  20613. },
  20614. "hedgeplanno": {
  20615. "description": "套保计划编号(名称)",
  20616. "type": "string"
  20617. },
  20618. "hedgeplanstatus": {
  20619. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20620. "type": "integer"
  20621. },
  20622. "planqty": {
  20623. "description": "计划数量",
  20624. "type": "number"
  20625. },
  20626. "plantime": {
  20627. "description": "计划时间",
  20628. "type": "string"
  20629. },
  20630. "producttype": {
  20631. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20632. "type": "integer"
  20633. },
  20634. "remark": {
  20635. "description": "备注",
  20636. "type": "string"
  20637. },
  20638. "spotgoodsdesc": {
  20639. "description": "商品型号",
  20640. "type": "string"
  20641. },
  20642. "taaccountname": {
  20643. "description": "资金账号名称",
  20644. "type": "string"
  20645. },
  20646. "tradeuserid": {
  20647. "description": "交易用户id",
  20648. "type": "integer"
  20649. },
  20650. "tradeusername": {
  20651. "description": "交易用户名称",
  20652. "type": "string"
  20653. },
  20654. "unitid": {
  20655. "description": "单位id(现货商品)",
  20656. "type": "integer"
  20657. },
  20658. "updatetime": {
  20659. "description": "更新时间",
  20660. "type": "string"
  20661. },
  20662. "vatrate": {
  20663. "description": "增值税率",
  20664. "type": "number"
  20665. },
  20666. "wrstandardcode": {
  20667. "description": "品类代码",
  20668. "type": "string"
  20669. },
  20670. "wrstandardid": {
  20671. "description": "品类id",
  20672. "type": "integer"
  20673. },
  20674. "wrstandardname": {
  20675. "description": "品类名称",
  20676. "type": "string"
  20677. },
  20678. "wrunitid": {
  20679. "description": "品类单位id",
  20680. "type": "integer"
  20681. },
  20682. "wrunitidame": {
  20683. "description": "品类单位名称",
  20684. "type": "string"
  20685. }
  20686. }
  20687. },
  20688. "models.Ermcp3PaAreaAuditCfg": {
  20689. "type": "object",
  20690. "properties": {
  20691. "areauserid": {
  20692. "description": "用户ID",
  20693. "type": "integer"
  20694. },
  20695. "buyinauditflag": {
  20696. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  20697. "type": "integer"
  20698. },
  20699. "customerauditflag": {
  20700. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  20701. "type": "integer"
  20702. },
  20703. "deliveryauditflag": {
  20704. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  20705. "type": "integer"
  20706. },
  20707. "invoiceauditflag": {
  20708. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  20709. "type": "integer"
  20710. },
  20711. "moneyauditflag": {
  20712. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  20713. "type": "integer"
  20714. },
  20715. "operatorid": {
  20716. "description": "操作人",
  20717. "type": "integer"
  20718. },
  20719. "operatorsrc": {
  20720. "description": "操作来源 - 1:管理端 2:终端",
  20721. "type": "integer"
  20722. },
  20723. "pointpriceauditflag": {
  20724. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  20725. "type": "integer"
  20726. },
  20727. "produceinauditflag": {
  20728. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  20729. "type": "integer"
  20730. },
  20731. "produceoutauditflag": {
  20732. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  20733. "type": "integer"
  20734. },
  20735. "selloutauditflag": {
  20736. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  20737. "type": "integer"
  20738. },
  20739. "spotcontractauditflag": {
  20740. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  20741. "type": "integer"
  20742. },
  20743. "updatetime": {
  20744. "description": "更新时间",
  20745. "type": "string"
  20746. }
  20747. }
  20748. },
  20749. "models.Ermcp3PaAreaSubject": {
  20750. "type": "object",
  20751. "properties": {
  20752. "areauserid": {
  20753. "description": "所属机构",
  20754. "type": "integer"
  20755. },
  20756. "canmodify": {
  20757. "description": "是否可修改 - 0:否 1:是",
  20758. "type": "integer"
  20759. },
  20760. "createtime": {
  20761. "description": "创建时间",
  20762. "type": "string"
  20763. },
  20764. "creatorid": {
  20765. "description": "创建人ID",
  20766. "type": "string"
  20767. },
  20768. "creatorsrc": {
  20769. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  20770. "type": "integer"
  20771. },
  20772. "modifierid": {
  20773. "description": "修改人",
  20774. "type": "string"
  20775. },
  20776. "modifiersrc": {
  20777. "description": "修改人来源 - 1:管理端 2:终端",
  20778. "type": "integer"
  20779. },
  20780. "modifytime": {
  20781. "description": "修改时间",
  20782. "type": "string"
  20783. },
  20784. "parentsubjectid": {
  20785. "description": "上级主体ID",
  20786. "type": "string"
  20787. },
  20788. "remark": {
  20789. "description": "备注",
  20790. "type": "string"
  20791. },
  20792. "subjectid": {
  20793. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  20794. "type": "integer"
  20795. },
  20796. "subjectname": {
  20797. "description": "主体名称",
  20798. "type": "string"
  20799. },
  20800. "subjectstatus": {
  20801. "description": "主体状态 - 1:正常 2: 停用",
  20802. "type": "integer"
  20803. },
  20804. "subjecttype": {
  20805. "description": "主体类型 - 1:交易主体 2:业务部门",
  20806. "type": "integer"
  20807. }
  20808. }
  20809. },
  20810. "models.Ermcp3RootUserAccount": {
  20811. "type": "object",
  20812. "properties": {
  20813. "accountname": {
  20814. "description": "账户名称(机构名称)",
  20815. "type": "string"
  20816. },
  20817. "accountstatus": {
  20818. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20819. "type": "integer"
  20820. },
  20821. "applysrc": {
  20822. "description": "申请来源 - 1:管理端 2:终端",
  20823. "type": "integer"
  20824. },
  20825. "auditremark": {
  20826. "description": "审核备注",
  20827. "type": "string"
  20828. },
  20829. "auditsrc": {
  20830. "description": "审核来源 - 1:管理端 2:终端",
  20831. "type": "integer"
  20832. },
  20833. "audittime": {
  20834. "description": "审核时间",
  20835. "type": "string"
  20836. },
  20837. "audituserid": {
  20838. "description": "审核人",
  20839. "type": "integer"
  20840. },
  20841. "broker": {
  20842. "description": "所属经纪人ID",
  20843. "type": "integer"
  20844. },
  20845. "canceltime": {
  20846. "description": "销户时间",
  20847. "type": "string"
  20848. },
  20849. "canceluserid": {
  20850. "description": "销户人",
  20851. "type": "integer"
  20852. },
  20853. "canrecommend": {
  20854. "description": "是否可推荐 - 0:不可 1;可",
  20855. "type": "integer"
  20856. },
  20857. "createtime": {
  20858. "description": "创建时间",
  20859. "type": "string"
  20860. },
  20861. "creatorid": {
  20862. "description": "创建人",
  20863. "type": "integer"
  20864. },
  20865. "hasauth": {
  20866. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  20867. "type": "integer"
  20868. },
  20869. "isanonymous": {
  20870. "description": "是否匿名下单 - 0:否 1:是",
  20871. "type": "integer"
  20872. },
  20873. "maxinvestornum": {
  20874. "description": "最大用户数(经纪会员下投资者个数)",
  20875. "type": "integer"
  20876. },
  20877. "memberuserid": {
  20878. "description": "所属会员ID",
  20879. "type": "integer"
  20880. },
  20881. "modifierid": {
  20882. "description": "修改人",
  20883. "type": "integer"
  20884. },
  20885. "modifyremark": {
  20886. "description": "变更备注",
  20887. "type": "string"
  20888. },
  20889. "modifystatus": {
  20890. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  20891. "type": "integer"
  20892. },
  20893. "modifytime": {
  20894. "description": "修改时间",
  20895. "type": "string"
  20896. },
  20897. "parenttopuser": {
  20898. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  20899. "type": "string"
  20900. },
  20901. "parentuserid": {
  20902. "description": "所属机构ID",
  20903. "type": "integer"
  20904. },
  20905. "reckonaccountid": {
  20906. "description": "默认结算资金账号ID(机构分润使用) 作废",
  20907. "type": "integer"
  20908. },
  20909. "refercount": {
  20910. "description": "推荐总人数",
  20911. "type": "integer"
  20912. },
  20913. "refereeuserid": {
  20914. "description": "推荐人ID",
  20915. "type": "integer"
  20916. },
  20917. "refernum": {
  20918. "description": "推荐码",
  20919. "type": "string"
  20920. },
  20921. "rootuserid": {
  20922. "description": "根用户ID",
  20923. "type": "integer"
  20924. },
  20925. "subaccountlevel": {
  20926. "description": "子账户层数",
  20927. "type": "integer"
  20928. },
  20929. "subarealevelpath": {
  20930. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  20931. "type": "string"
  20932. },
  20933. "userid": {
  20934. "description": "用户ID",
  20935. "type": "integer"
  20936. },
  20937. "usertype": {
  20938. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20939. "type": "integer"
  20940. }
  20941. }
  20942. },
  20943. "models.Ermcp3SellBuyContract": {
  20944. "type": "object",
  20945. "properties": {
  20946. "accountid": {
  20947. "description": "期货账户id",
  20948. "type": "string"
  20949. },
  20950. "accountname": {
  20951. "description": "账户名称",
  20952. "type": "string"
  20953. },
  20954. "attachment": {
  20955. "description": "附件",
  20956. "type": "string"
  20957. },
  20958. "audittime": {
  20959. "description": "审核时间",
  20960. "type": "string"
  20961. },
  20962. "biztype": {
  20963. "description": "业务类型 1-套保 2-套利",
  20964. "type": "integer"
  20965. },
  20966. "brandname": {
  20967. "description": "品牌名称",
  20968. "type": "string"
  20969. },
  20970. "contracctstatus": {
  20971. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20972. "type": "integer"
  20973. },
  20974. "contractmargin": {
  20975. "description": "合同保证金",
  20976. "type": "number"
  20977. },
  20978. "contractno": {
  20979. "description": "合同编号",
  20980. "type": "string"
  20981. },
  20982. "contracttype": {
  20983. "description": "合同类型 1-采购, -1-销售",
  20984. "type": "integer"
  20985. },
  20986. "convertfactor": {
  20987. "description": "标仓系数(品类)",
  20988. "type": "number"
  20989. },
  20990. "createtime": {
  20991. "description": "创建时间",
  20992. "type": "string"
  20993. },
  20994. "currencyid": {
  20995. "description": "币种id",
  20996. "type": "integer"
  20997. },
  20998. "currencyname": {
  20999. "description": "币种名称",
  21000. "type": "string"
  21001. },
  21002. "daikaiamount": {
  21003. "description": "应收(开)票额",
  21004. "type": "number"
  21005. },
  21006. "deliveryenddate": {
  21007. "description": "交割结束日",
  21008. "type": "string"
  21009. },
  21010. "deliverygoodscode": {
  21011. "description": "现货品种代码",
  21012. "type": "string"
  21013. },
  21014. "deliverygoodsid": {
  21015. "description": "现货商品ID",
  21016. "type": "integer"
  21017. },
  21018. "deliverygoodsname": {
  21019. "description": "现货品种名称",
  21020. "type": "string"
  21021. },
  21022. "deliverystartdate": {
  21023. "description": "交割开始日",
  21024. "type": "string"
  21025. },
  21026. "enddate": {
  21027. "description": "点价结束日",
  21028. "type": "string"
  21029. },
  21030. "enumdicname": {
  21031. "description": "单位名称",
  21032. "type": "string"
  21033. },
  21034. "goodscode": {
  21035. "description": "点价商品代码",
  21036. "type": "string"
  21037. },
  21038. "goodsid": {
  21039. "description": "点价商品ID",
  21040. "type": "integer"
  21041. },
  21042. "goodsname": {
  21043. "description": "点价商品名称",
  21044. "type": "string"
  21045. },
  21046. "invoiceamount": {
  21047. "description": "已开票额",
  21048. "type": "number"
  21049. },
  21050. "loanamount": {
  21051. "description": "贷款总额=已定价额+调整金额",
  21052. "type": "number"
  21053. },
  21054. "margin": {
  21055. "description": "保证金",
  21056. "type": "number"
  21057. },
  21058. "meruserid": {
  21059. "description": "跟单员id",
  21060. "type": "integer"
  21061. },
  21062. "meruserlogincode": {
  21063. "description": "跟单员登录代码",
  21064. "type": "string"
  21065. },
  21066. "merusername": {
  21067. "description": "跟单员名称",
  21068. "type": "string"
  21069. },
  21070. "nickname": {
  21071. "description": "账户昵称",
  21072. "type": "string"
  21073. },
  21074. "payamount": {
  21075. "description": "已收付额(收款或付款)",
  21076. "type": "number"
  21077. },
  21078. "preinvoiceamount": {
  21079. "description": "预收(开)票额",
  21080. "type": "number"
  21081. },
  21082. "prepayamount": {
  21083. "description": "预收付额",
  21084. "type": "number"
  21085. },
  21086. "price": {
  21087. "description": "价格",
  21088. "type": "number"
  21089. },
  21090. "pricedamount": {
  21091. "description": "已定价额",
  21092. "type": "number"
  21093. },
  21094. "pricedavg": {
  21095. "description": "已点均价",
  21096. "type": "number"
  21097. },
  21098. "pricedqty": {
  21099. "description": "已定价量",
  21100. "type": "number"
  21101. },
  21102. "pricemove": {
  21103. "description": "升贴水",
  21104. "type": "number"
  21105. },
  21106. "pricetype": {
  21107. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21108. "type": "integer"
  21109. },
  21110. "producttype": {
  21111. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21112. "type": "integer"
  21113. },
  21114. "qty": {
  21115. "description": "合同量",
  21116. "type": "number"
  21117. },
  21118. "reckonadjustamount": {
  21119. "description": "调整金额",
  21120. "type": "number"
  21121. },
  21122. "reckonedamount": {
  21123. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  21124. "type": "number"
  21125. },
  21126. "reckonotheramount": {
  21127. "description": "其它费用",
  21128. "type": "number"
  21129. },
  21130. "reckonrealqty": {
  21131. "description": "已确定量",
  21132. "type": "number"
  21133. },
  21134. "remark": {
  21135. "description": "备注",
  21136. "type": "string"
  21137. },
  21138. "saleuserid": {
  21139. "description": "业务员id",
  21140. "type": "integer"
  21141. },
  21142. "saleuserlogincode": {
  21143. "description": "业务员登录代码",
  21144. "type": "string"
  21145. },
  21146. "saleusername": {
  21147. "description": "业务员名称",
  21148. "type": "string"
  21149. },
  21150. "spotcontractid": {
  21151. "description": "合同ID",
  21152. "type": "string"
  21153. },
  21154. "spotgoodsbrandid": {
  21155. "description": "现货品牌ID(DGFactoryItem表的ID)",
  21156. "type": "integer"
  21157. },
  21158. "spotgoodsdesc": {
  21159. "description": "商品型号(商品规格)",
  21160. "type": "string"
  21161. },
  21162. "startdate": {
  21163. "description": "点价开始日",
  21164. "type": "string"
  21165. },
  21166. "subjectid": {
  21167. "description": "交易主体ID",
  21168. "type": "string"
  21169. },
  21170. "subjectname": {
  21171. "description": "交易主体名称",
  21172. "type": "string"
  21173. },
  21174. "totalamount": {
  21175. "description": "合计总额",
  21176. "type": "number"
  21177. },
  21178. "tradeuserid": {
  21179. "description": "交易员id",
  21180. "type": "integer"
  21181. },
  21182. "tradeuserlogincode": {
  21183. "description": "交易员登录代码",
  21184. "type": "string"
  21185. },
  21186. "tradeusername": {
  21187. "description": "交易员名称",
  21188. "type": "string"
  21189. },
  21190. "unpayamount": {
  21191. "description": "应收付款额(应支付或应收款)",
  21192. "type": "number"
  21193. },
  21194. "unpricedqty": {
  21195. "description": "未定价量",
  21196. "type": "number"
  21197. },
  21198. "unsureqty": {
  21199. "description": "未确定量",
  21200. "type": "number"
  21201. },
  21202. "userid": {
  21203. "description": "机构ID",
  21204. "type": "integer"
  21205. },
  21206. "vatrate": {
  21207. "description": "增值税率",
  21208. "type": "number"
  21209. },
  21210. "wrstandardcode": {
  21211. "description": "品类代码",
  21212. "type": "string"
  21213. },
  21214. "wrstandardid": {
  21215. "description": "品类ID",
  21216. "type": "integer"
  21217. },
  21218. "wrstandardname": {
  21219. "description": "品类名称",
  21220. "type": "string"
  21221. }
  21222. }
  21223. },
  21224. "models.Ermcp3SpotGoodsPrice": {
  21225. "type": "object",
  21226. "properties": {
  21227. "areauserid": {
  21228. "description": "所属机构id",
  21229. "type": "integer"
  21230. },
  21231. "brandname": {
  21232. "description": "品牌名称",
  21233. "type": "string"
  21234. },
  21235. "currencyid": {
  21236. "description": "报价货币ID",
  21237. "type": "integer"
  21238. },
  21239. "currencyname": {
  21240. "description": "币种名称",
  21241. "type": "string"
  21242. },
  21243. "deliverygoodscode": {
  21244. "description": "现货商品代码",
  21245. "type": "string"
  21246. },
  21247. "deliverygoodsid": {
  21248. "description": "现货商品id",
  21249. "type": "integer"
  21250. },
  21251. "deliverygoodsname": {
  21252. "description": "现货商品名称",
  21253. "type": "string"
  21254. },
  21255. "enumdicname": {
  21256. "description": "现货商品单位名称",
  21257. "type": "string"
  21258. },
  21259. "gbenumdicname": {
  21260. "description": "品类单位名称",
  21261. "type": "string"
  21262. },
  21263. "gmunitid": {
  21264. "description": "品类单位id",
  21265. "type": "integer"
  21266. },
  21267. "isvalid": {
  21268. "description": "是否有效 - 0:无效 1:有效",
  21269. "type": "integer"
  21270. },
  21271. "operateid": {
  21272. "description": "最后操作人",
  21273. "type": "integer"
  21274. },
  21275. "operatesrc": {
  21276. "description": "最后操作来源 - 1:管理端 2:终端",
  21277. "type": "integer"
  21278. },
  21279. "operatetime": {
  21280. "description": "最后操作时间",
  21281. "type": "string"
  21282. },
  21283. "operatorname": {
  21284. "description": "操作人名称",
  21285. "type": "string"
  21286. },
  21287. "spotgoodsbrandid": {
  21288. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  21289. "type": "integer"
  21290. },
  21291. "spotgoodsprice": {
  21292. "description": "现货价格",
  21293. "type": "number"
  21294. },
  21295. "tradedate": {
  21296. "description": "交易日(yyyyMMdd)",
  21297. "type": "string"
  21298. },
  21299. "unitid": {
  21300. "description": "现货商品单位id",
  21301. "type": "integer"
  21302. },
  21303. "wrstandardcode": {
  21304. "description": "品类代码",
  21305. "type": "string"
  21306. },
  21307. "wrstandardid": {
  21308. "description": "现货品类ID(通用则为0)",
  21309. "type": "integer"
  21310. },
  21311. "wrstandardname": {
  21312. "description": "品类名称",
  21313. "type": "string"
  21314. }
  21315. }
  21316. },
  21317. "models.Ermcp3SpotGoodsPriceLog": {
  21318. "type": "object",
  21319. "properties": {
  21320. "areauserid": {
  21321. "description": "所属机构id",
  21322. "type": "integer"
  21323. },
  21324. "brandname": {
  21325. "description": "品牌名称",
  21326. "type": "string"
  21327. },
  21328. "currencyid": {
  21329. "description": "报价货币ID",
  21330. "type": "integer"
  21331. },
  21332. "deliverygoodscode": {
  21333. "description": "现货商品代码",
  21334. "type": "string"
  21335. },
  21336. "deliverygoodsid": {
  21337. "description": "现货商品id",
  21338. "type": "integer"
  21339. },
  21340. "deliverygoodsname": {
  21341. "description": "现货商品名称",
  21342. "type": "string"
  21343. },
  21344. "enumdicname": {
  21345. "description": "现货商品单位名称",
  21346. "type": "string"
  21347. },
  21348. "gbenumdicname": {
  21349. "description": "品类单位名称",
  21350. "type": "string"
  21351. },
  21352. "gmunitid": {
  21353. "description": "品类单位id",
  21354. "type": "integer"
  21355. },
  21356. "logid": {
  21357. "description": "日志id",
  21358. "type": "integer"
  21359. },
  21360. "operateid": {
  21361. "description": "最后操作人",
  21362. "type": "integer"
  21363. },
  21364. "operatesrc": {
  21365. "description": "最后操作来源 - 1:管理端 2:终端",
  21366. "type": "integer"
  21367. },
  21368. "operatetime": {
  21369. "description": "最后操作时间",
  21370. "type": "string"
  21371. },
  21372. "operatorname": {
  21373. "description": "操作人名称",
  21374. "type": "string"
  21375. },
  21376. "spotgoodsbrandid": {
  21377. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  21378. "type": "integer"
  21379. },
  21380. "spotgoodsprice": {
  21381. "description": "现货价格",
  21382. "type": "number"
  21383. },
  21384. "tradedate": {
  21385. "description": "交易日(yyyyMMdd)",
  21386. "type": "string"
  21387. },
  21388. "unitid": {
  21389. "description": "现货商品单位id",
  21390. "type": "integer"
  21391. },
  21392. "wrstandardcode": {
  21393. "description": "品类代码",
  21394. "type": "string"
  21395. },
  21396. "wrstandardid": {
  21397. "description": "现货品类ID(通用则为0)",
  21398. "type": "integer"
  21399. },
  21400. "wrstandardname": {
  21401. "description": "品类名称",
  21402. "type": "string"
  21403. }
  21404. }
  21405. },
  21406. "models.Ermcp3TaFutuReDataReport": {
  21407. "type": "object",
  21408. "properties": {
  21409. "accountid": {
  21410. "description": "交易账户",
  21411. "type": "integer"
  21412. },
  21413. "accountname": {
  21414. "description": "交易账号名称",
  21415. "type": "string"
  21416. },
  21417. "agreeunit": {
  21418. "description": "商品合约单位",
  21419. "type": "number"
  21420. },
  21421. "begindate": {
  21422. "description": "开始交易日",
  21423. "type": "string"
  21424. },
  21425. "buyorsell": {
  21426. "description": "持仓方向",
  21427. "type": "integer"
  21428. },
  21429. "charge": {
  21430. "description": "手续费",
  21431. "type": "number"
  21432. },
  21433. "closeavgprice": {
  21434. "description": "平仓均价",
  21435. "type": "number"
  21436. },
  21437. "closepl": {
  21438. "description": "平仓损益",
  21439. "type": "number"
  21440. },
  21441. "currencyid": {
  21442. "description": "结算币种ID",
  21443. "type": "integer"
  21444. },
  21445. "currencyname": {
  21446. "description": "币种名称",
  21447. "type": "string"
  21448. },
  21449. "cycletime": {
  21450. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21451. "type": "string"
  21452. },
  21453. "cycletype": {
  21454. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21455. "type": "integer"
  21456. },
  21457. "enddate": {
  21458. "description": "结束交易日",
  21459. "type": "string"
  21460. },
  21461. "enumdicname": {
  21462. "description": "单位名称",
  21463. "type": "string"
  21464. },
  21465. "floatpl": {
  21466. "description": "浮动损益",
  21467. "type": "number"
  21468. },
  21469. "goodscode": {
  21470. "description": "交易合约代码",
  21471. "type": "string"
  21472. },
  21473. "goodsgroupid": {
  21474. "description": "交易品种",
  21475. "type": "integer"
  21476. },
  21477. "goodsgroupname": {
  21478. "description": "交易品种名称",
  21479. "type": "string"
  21480. },
  21481. "goodsgroupspotqty": {
  21482. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  21483. "type": "number"
  21484. },
  21485. "goodsid": {
  21486. "description": "交易合约",
  21487. "type": "integer"
  21488. },
  21489. "goodsname": {
  21490. "description": "交易合约名称",
  21491. "type": "string"
  21492. },
  21493. "goodunitid": {
  21494. "description": "交易合约单位id",
  21495. "type": "integer"
  21496. },
  21497. "holdamount": {
  21498. "description": "期末持仓额",
  21499. "type": "number"
  21500. },
  21501. "holdqty": {
  21502. "description": "期末持仓量",
  21503. "type": "number"
  21504. },
  21505. "lastholdamount": {
  21506. "description": "当前持仓额",
  21507. "type": "number"
  21508. },
  21509. "lastprice": {
  21510. "description": "最新价",
  21511. "type": "number"
  21512. },
  21513. "middlegoodsid": {
  21514. "description": "套保品种id",
  21515. "type": "integer"
  21516. },
  21517. "middlegoodsname": {
  21518. "description": "套保商品名称",
  21519. "type": "string"
  21520. },
  21521. "middlegoodsqty": {
  21522. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  21523. "type": "number"
  21524. },
  21525. "middlgoodscode": {
  21526. "description": "套保商品代码",
  21527. "type": "string"
  21528. },
  21529. "openamount": {
  21530. "description": "期末开仓额",
  21531. "type": "number"
  21532. },
  21533. "openavgprice": {
  21534. "description": "开仓均价",
  21535. "type": "number"
  21536. },
  21537. "oriholdamount": {
  21538. "description": "期初持仓额",
  21539. "type": "number"
  21540. },
  21541. "oriholdqty": {
  21542. "description": "期初持仓量",
  21543. "type": "number"
  21544. },
  21545. "oriopenamount": {
  21546. "description": "期初开仓额",
  21547. "type": "number"
  21548. },
  21549. "outergroupcode": {
  21550. "description": "交易品种代码",
  21551. "type": "string"
  21552. },
  21553. "qtydecimalplace": {
  21554. "description": "成交量小数位",
  21555. "type": "integer"
  21556. },
  21557. "reckondate": {
  21558. "description": "日照时期(yyyyMMdd)",
  21559. "type": "string"
  21560. },
  21561. "reckonholdamount": {
  21562. "description": "结算持仓额",
  21563. "type": "number"
  21564. },
  21565. "reckonpl": {
  21566. "description": "结算损益",
  21567. "type": "number"
  21568. },
  21569. "reckonpl2": {
  21570. "description": "结算逐笔盈亏",
  21571. "type": "number"
  21572. },
  21573. "reckonprice": {
  21574. "description": "结算价",
  21575. "type": "number"
  21576. },
  21577. "relateduserid": {
  21578. "description": "账户关联用户ID",
  21579. "type": "integer"
  21580. },
  21581. "todaycloseamount": {
  21582. "description": "今平仓额",
  21583. "type": "number"
  21584. },
  21585. "todaycloseqty": {
  21586. "description": "今平仓量",
  21587. "type": "number"
  21588. },
  21589. "todaygoodsgroupspotqty": {
  21590. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  21591. "type": "number"
  21592. },
  21593. "todaymiddlegoodsqty": {
  21594. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  21595. "type": "number"
  21596. },
  21597. "todayopenamount": {
  21598. "description": "今开仓额",
  21599. "type": "number"
  21600. },
  21601. "todayopenqty": {
  21602. "description": "今开仓量",
  21603. "type": "number"
  21604. },
  21605. "userid": {
  21606. "description": "账户所属用户ID",
  21607. "type": "integer"
  21608. }
  21609. }
  21610. },
  21611. "models.Ermcp3Wrstandard": {
  21612. "type": "object",
  21613. "properties": {
  21614. "areauserid": {
  21615. "description": "所属机构",
  21616. "type": "integer"
  21617. },
  21618. "cantrade": {
  21619. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  21620. "type": "integer"
  21621. },
  21622. "convertfactor": {
  21623. "description": "标仓系数",
  21624. "type": "number"
  21625. },
  21626. "createtime": {
  21627. "description": "创建时间",
  21628. "type": "string"
  21629. },
  21630. "creatorid": {
  21631. "description": "创建人",
  21632. "type": "integer"
  21633. },
  21634. "deliverygoodsid": {
  21635. "description": "现货品种ID",
  21636. "type": "integer"
  21637. },
  21638. "enumdicname": {
  21639. "description": "品类单位名称",
  21640. "type": "string"
  21641. },
  21642. "isvalid": {
  21643. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  21644. "type": "integer"
  21645. },
  21646. "minivalue": {
  21647. "description": "最小变动值",
  21648. "type": "integer"
  21649. },
  21650. "minivaluedp": {
  21651. "description": "最小变动值小数位",
  21652. "type": "integer"
  21653. },
  21654. "realminivalue": {
  21655. "description": "实际最小变动值",
  21656. "type": "integer"
  21657. },
  21658. "realminivaluedp": {
  21659. "description": "实际最小变动值小数位",
  21660. "type": "integer"
  21661. },
  21662. "remark": {
  21663. "description": "备注",
  21664. "type": "string"
  21665. },
  21666. "unitid": {
  21667. "description": "品类单位ID",
  21668. "type": "integer"
  21669. },
  21670. "updatetime": {
  21671. "description": "更新时间",
  21672. "type": "string"
  21673. },
  21674. "wrstandardcode": {
  21675. "description": "品类代码",
  21676. "type": "string"
  21677. },
  21678. "wrstandardid": {
  21679. "description": "品类ID(SEQ_WRSTANDARD)",
  21680. "type": "integer"
  21681. },
  21682. "wrstandardname": {
  21683. "description": "品类名称",
  21684. "type": "string"
  21685. }
  21686. }
  21687. },
  21688. "models.ErmcpBizGroupEx": {
  21689. "type": "object",
  21690. "properties": {
  21691. "acclist": {
  21692. "description": "账号列表",
  21693. "type": "array",
  21694. "items": {
  21695. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  21696. }
  21697. },
  21698. "bizgroupid": {
  21699. "description": "业务分组id",
  21700. "type": "integer"
  21701. },
  21702. "biztype": {
  21703. "description": "业务类型 1-套保 2-套利",
  21704. "type": "integer"
  21705. },
  21706. "wrlist": {
  21707. "description": "现货商品表",
  21708. "type": "array",
  21709. "items": {
  21710. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  21711. }
  21712. }
  21713. }
  21714. },
  21715. "models.ErmcpBizGroupSpotGoods": {
  21716. "type": "object",
  21717. "properties": {
  21718. "areauserid": {
  21719. "description": "所属机构id",
  21720. "type": "integer"
  21721. },
  21722. "bizgroupid": {
  21723. "description": "分组id",
  21724. "type": "integer"
  21725. },
  21726. "biztype": {
  21727. "description": "业务类型 1-套保 2-套利",
  21728. "type": "integer"
  21729. },
  21730. "deliverygoodscode": {
  21731. "description": "现货商品代码",
  21732. "type": "string"
  21733. },
  21734. "deliverygoodsid": {
  21735. "description": "现货商品id",
  21736. "type": "integer"
  21737. },
  21738. "deliverygoodsname": {
  21739. "description": "现货商品名称",
  21740. "type": "string"
  21741. },
  21742. "unitid": {
  21743. "description": "现货商品单位id",
  21744. "type": "integer"
  21745. }
  21746. }
  21747. },
  21748. "models.ErmcpBizGroupTaAccount": {
  21749. "type": "object",
  21750. "properties": {
  21751. "accountid": {
  21752. "description": "账号id",
  21753. "type": "integer"
  21754. },
  21755. "accountname": {
  21756. "description": "账号名称",
  21757. "type": "string"
  21758. },
  21759. "areauserid": {
  21760. "description": "所属机构id",
  21761. "type": "integer"
  21762. },
  21763. "bizgroupid": {
  21764. "description": "业务分组id",
  21765. "type": "integer"
  21766. },
  21767. "ismain": {
  21768. "description": "是否主账号 1-是 0-否",
  21769. "type": "integer"
  21770. }
  21771. }
  21772. },
  21773. "models.ErmcpDGFactoryItem": {
  21774. "type": "object",
  21775. "properties": {
  21776. "areauserid": {
  21777. "description": "用户id",
  21778. "type": "integer"
  21779. },
  21780. "deliverygoodsid": {
  21781. "description": "现货品种ID",
  21782. "type": "integer"
  21783. },
  21784. "dgfactoryitemid": {
  21785. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21786. "type": "integer"
  21787. },
  21788. "dgfactoryitemtypeid": {
  21789. "description": "要素项类型",
  21790. "type": "integer"
  21791. },
  21792. "dgfactoryitemvalue": {
  21793. "description": "要素项值(类型为仓库时填写仓库名称)",
  21794. "type": "string"
  21795. },
  21796. "isvalid": {
  21797. "description": "是否有效 - 0:无效 1:有效",
  21798. "type": "integer"
  21799. },
  21800. "orderindex": {
  21801. "description": "顺序",
  21802. "type": "integer"
  21803. },
  21804. "warehouseid": {
  21805. "description": "仓库ID(类型为仓库时填写)",
  21806. "type": "integer"
  21807. }
  21808. }
  21809. },
  21810. "models.ErmcpDeliveryGoods": {
  21811. "type": "object",
  21812. "properties": {
  21813. "agreeunit": {
  21814. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  21815. "type": "integer"
  21816. },
  21817. "areauserid": {
  21818. "description": "所属机构",
  21819. "type": "integer"
  21820. },
  21821. "auditflag": {
  21822. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  21823. "type": "integer"
  21824. },
  21825. "categoryid": {
  21826. "description": "类别ID(SEQ_WRCATEGORY)",
  21827. "type": "integer"
  21828. },
  21829. "deliverygoodscode": {
  21830. "description": "现货品种代码",
  21831. "type": "string"
  21832. },
  21833. "deliverygoodsid": {
  21834. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  21835. "type": "integer"
  21836. },
  21837. "deliverygoodsname": {
  21838. "description": "现货品种名称",
  21839. "type": "string"
  21840. },
  21841. "deliverygoodstype": {
  21842. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  21843. "type": "integer"
  21844. },
  21845. "dgstatus": {
  21846. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  21847. "type": "integer"
  21848. },
  21849. "enumdicname": {
  21850. "description": "现货品种单位名称",
  21851. "type": "string"
  21852. },
  21853. "goodsunitid": {
  21854. "description": "现货品种单位ID",
  21855. "type": "integer"
  21856. },
  21857. "isvalid": {
  21858. "description": "是否有效 - 0:无效 1:有效",
  21859. "type": "integer"
  21860. },
  21861. "qtydecimalplace": {
  21862. "description": "成交量小数位",
  21863. "type": "integer"
  21864. },
  21865. "remark": {
  21866. "description": "备注",
  21867. "type": "string"
  21868. },
  21869. "standardqty": {
  21870. "description": "标准数量(库位数量) [标准品特有]",
  21871. "type": "integer"
  21872. },
  21873. "standardqtyrange": {
  21874. "description": "标准数量偏差范围 [标准品特有]",
  21875. "type": "integer"
  21876. }
  21877. }
  21878. },
  21879. "models.ErmcpFuturesCompany": {
  21880. "type": "object",
  21881. "properties": {
  21882. "brokerid": {
  21883. "description": "经纪公司代码",
  21884. "type": "string"
  21885. },
  21886. "channeladdress": {
  21887. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  21888. "type": "string"
  21889. },
  21890. "channelid": {
  21891. "description": "对冲渠道ID",
  21892. "type": "string"
  21893. },
  21894. "createtime": {
  21895. "description": "创建时间",
  21896. "type": "string"
  21897. },
  21898. "creatorid": {
  21899. "description": "创建人",
  21900. "type": "string"
  21901. },
  21902. "fcid": {
  21903. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  21904. "type": "integer"
  21905. },
  21906. "fcname": {
  21907. "description": "期货公司名称",
  21908. "type": "string"
  21909. },
  21910. "isvalid": {
  21911. "description": "是否有效 - 0:无效 1:有效",
  21912. "type": "integer"
  21913. },
  21914. "mhpaddress": {
  21915. "description": "MHP服务地址(IP:Port)",
  21916. "type": "string"
  21917. },
  21918. "riskrulegroupid": {
  21919. "description": "风控规则组ID",
  21920. "type": "string"
  21921. },
  21922. "tradefeetmpid": {
  21923. "description": "手续费模板ID[TradeConfigTmpType为2]",
  21924. "type": "string"
  21925. },
  21926. "trademargintmpid": {
  21927. "description": "保证金模板ID [TradeConfigTmpType为1]",
  21928. "type": "string"
  21929. },
  21930. "traderatetmpid": {
  21931. "description": "汇率模板ID[TradeConfigTmpType为3]",
  21932. "type": "string"
  21933. },
  21934. "updatetime": {
  21935. "description": "更新时间",
  21936. "type": "string"
  21937. },
  21938. "updatorid": {
  21939. "description": "更新人",
  21940. "type": "string"
  21941. }
  21942. }
  21943. },
  21944. "models.ErmcpGGConvertCfg": {
  21945. "type": "object",
  21946. "properties": {
  21947. "convertratio": {
  21948. "description": "折算系数",
  21949. "type": "number"
  21950. },
  21951. "destgoodsgroupid": {
  21952. "description": "目标品种ID",
  21953. "type": "integer"
  21954. },
  21955. "dstcode": {
  21956. "description": "目录品种代码",
  21957. "type": "string"
  21958. },
  21959. "dstexchangecode": {
  21960. "description": "目标期货交易所",
  21961. "type": "string"
  21962. },
  21963. "dstname": {
  21964. "description": "目标品种名称",
  21965. "type": "string"
  21966. },
  21967. "dstunitid": {
  21968. "description": "目标品种单位ID",
  21969. "type": "integer"
  21970. },
  21971. "dstunitidname": {
  21972. "description": "目标品种单位名称",
  21973. "type": "string"
  21974. },
  21975. "modifytime": {
  21976. "description": "修改时间",
  21977. "type": "string"
  21978. },
  21979. "srccode": {
  21980. "description": "源品种代码",
  21981. "type": "string"
  21982. },
  21983. "srcexchangecode": {
  21984. "description": "源期货交易所",
  21985. "type": "string"
  21986. },
  21987. "srcgoodsgroupid": {
  21988. "description": "源品种ID",
  21989. "type": "integer"
  21990. },
  21991. "srcname": {
  21992. "description": "源品种名称",
  21993. "type": "string"
  21994. },
  21995. "srcunitid": {
  21996. "description": "源品种单位ID",
  21997. "type": "integer"
  21998. },
  21999. "srcunitidname": {
  22000. "description": "源品种单位名称",
  22001. "type": "string"
  22002. }
  22003. }
  22004. },
  22005. "models.ErmcpGoods": {
  22006. "type": "object",
  22007. "required": [
  22008. "goodscode",
  22009. "goodsid",
  22010. "goodsname",
  22011. "marketid"
  22012. ],
  22013. "properties": {
  22014. "agreeunit": {
  22015. "description": "合约单位",
  22016. "type": "number"
  22017. },
  22018. "areauserid": {
  22019. "description": "所属机构",
  22020. "type": "integer"
  22021. },
  22022. "auditaccountid": {
  22023. "description": "审核操作员账号",
  22024. "type": "integer"
  22025. },
  22026. "audittime": {
  22027. "description": "审核时间",
  22028. "type": "string"
  22029. },
  22030. "cancelaccountid": {
  22031. "description": "注销操作员账号",
  22032. "type": "integer"
  22033. },
  22034. "canceltime": {
  22035. "description": "注销时间",
  22036. "type": "string"
  22037. },
  22038. "closepricemode": {
  22039. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22040. "type": "integer"
  22041. },
  22042. "closepriceparam": {
  22043. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  22044. "type": "number"
  22045. },
  22046. "createtime": {
  22047. "description": "创建时间",
  22048. "type": "string"
  22049. },
  22050. "creatorid": {
  22051. "description": "创建人",
  22052. "type": "integer"
  22053. },
  22054. "currencyid": {
  22055. "description": "报价货币ID",
  22056. "type": "integer"
  22057. },
  22058. "cutmode": {
  22059. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22060. "type": "integer"
  22061. },
  22062. "decimalplace": {
  22063. "description": "报价小数位",
  22064. "type": "integer"
  22065. },
  22066. "delistingdate": {
  22067. "description": "商品退市时间(状态:退市) -- 已作废",
  22068. "type": "string"
  22069. },
  22070. "delistingmode": {
  22071. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22072. "type": "integer"
  22073. },
  22074. "deliveryflag": {
  22075. "description": "交割标志 - 0:不可交割 1:可交割",
  22076. "type": "integer"
  22077. },
  22078. "enumdicname": {
  22079. "description": "单位名称",
  22080. "type": "string"
  22081. },
  22082. "forceclosemode": {
  22083. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22084. "type": "integer"
  22085. },
  22086. "forceclosevalue": {
  22087. "description": "定期强平参数 [收益权]",
  22088. "type": "integer"
  22089. },
  22090. "goodscode": {
  22091. "description": "商品代码(内部)",
  22092. "type": "string"
  22093. },
  22094. "goodscurrencyid": {
  22095. "description": "合约货币ID",
  22096. "type": "integer"
  22097. },
  22098. "goodsgroupid": {
  22099. "description": "所属商品组ID",
  22100. "type": "integer"
  22101. },
  22102. "goodsid": {
  22103. "description": "商品ID(自增ID SEQ_GOODS)",
  22104. "type": "integer"
  22105. },
  22106. "goodsname": {
  22107. "description": "商品名称",
  22108. "type": "string"
  22109. },
  22110. "goodsquotetype": {
  22111. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22112. "type": "integer"
  22113. },
  22114. "goodsstatus": {
  22115. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22116. "type": "integer"
  22117. },
  22118. "goodstradetype": {
  22119. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22120. "type": "integer"
  22121. },
  22122. "goodunitid": {
  22123. "description": "报价单位ID",
  22124. "type": "integer"
  22125. },
  22126. "hasquoter": {
  22127. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  22128. "type": "integer"
  22129. },
  22130. "hqprotecttime": {
  22131. "description": "行情保护时间(秒)",
  22132. "type": "integer"
  22133. },
  22134. "innerdealmode": {
  22135. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22136. "type": "integer"
  22137. },
  22138. "isbuylimited": {
  22139. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22140. "type": "integer"
  22141. },
  22142. "isvisible": {
  22143. "description": "游客是否可见 - 0:不可见 1:可见",
  22144. "type": "integer"
  22145. },
  22146. "lasttradedate": {
  22147. "description": "最后交易日期(状态:待退市)",
  22148. "type": "string"
  22149. },
  22150. "listingdate": {
  22151. "description": "交易开始日期",
  22152. "type": "string"
  22153. },
  22154. "marketid": {
  22155. "description": "所属市场ID",
  22156. "type": "integer"
  22157. },
  22158. "modifierid": {
  22159. "description": "修改人",
  22160. "type": "integer"
  22161. },
  22162. "modifystatus": {
  22163. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  22164. "type": "integer"
  22165. },
  22166. "modifytime": {
  22167. "description": "修改时间",
  22168. "type": "string"
  22169. },
  22170. "outerdealmode": {
  22171. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22172. "type": "integer"
  22173. },
  22174. "outgoodscode": {
  22175. "description": "商品代码(外部)",
  22176. "type": "string"
  22177. },
  22178. "pictureurl": {
  22179. "description": "商品图片",
  22180. "type": "string"
  22181. },
  22182. "qtydecimalplace": {
  22183. "description": "成交量小数位",
  22184. "type": "integer"
  22185. },
  22186. "quotegear": {
  22187. "description": "行情档位(1-10)",
  22188. "type": "integer"
  22189. },
  22190. "quoteminunit": {
  22191. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22192. "type": "integer"
  22193. },
  22194. "quoteshowtype": {
  22195. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  22196. "type": "integer"
  22197. },
  22198. "quoteshowtypeinterval": {
  22199. "description": "行情报价间隔时间(秒)(成交价时为0)",
  22200. "type": "integer"
  22201. },
  22202. "relatedgoodsid": {
  22203. "description": "关联参考商品ID",
  22204. "type": "integer"
  22205. },
  22206. "remark": {
  22207. "description": "备注",
  22208. "type": "string"
  22209. },
  22210. "trademode": {
  22211. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22212. "type": "integer"
  22213. }
  22214. }
  22215. },
  22216. "models.ErmcpGoodsBrand": {
  22217. "type": "object",
  22218. "properties": {
  22219. "areauserid": {
  22220. "description": "所属机构",
  22221. "type": "integer"
  22222. },
  22223. "brandid": {
  22224. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  22225. "type": "integer"
  22226. },
  22227. "brandname": {
  22228. "description": "品牌名称",
  22229. "type": "string"
  22230. },
  22231. "createtime": {
  22232. "description": "创建时间",
  22233. "type": "string"
  22234. },
  22235. "creatorid": {
  22236. "description": "创建人",
  22237. "type": "integer"
  22238. },
  22239. "creatorsrc": {
  22240. "description": "创建人来源 - 1:管理端 2:终端",
  22241. "type": "integer"
  22242. },
  22243. "deliverygoodsid": {
  22244. "description": "现货品种ID",
  22245. "type": "integer"
  22246. },
  22247. "isvalid": {
  22248. "description": "是否有效 - 0:无效 1:有效",
  22249. "type": "integer"
  22250. },
  22251. "updatetime": {
  22252. "description": "更新时间",
  22253. "type": "string"
  22254. },
  22255. "updatorid": {
  22256. "description": "更新人",
  22257. "type": "integer"
  22258. },
  22259. "updatorsrc": {
  22260. "description": "更新人来源 - 1:管理端 2:终端",
  22261. "type": "integer"
  22262. },
  22263. "wrstandardid": {
  22264. "description": "现货商品ID",
  22265. "type": "integer"
  22266. }
  22267. }
  22268. },
  22269. "models.ErmcpGoodsModel": {
  22270. "type": "object",
  22271. "properties": {
  22272. "areauserid": {
  22273. "description": "所属机构",
  22274. "type": "integer"
  22275. },
  22276. "convertfactor": {
  22277. "description": "标仓系数",
  22278. "type": "number"
  22279. },
  22280. "createtime": {
  22281. "description": "创建时间",
  22282. "type": "string"
  22283. },
  22284. "creatorid": {
  22285. "description": "创建人",
  22286. "type": "integer"
  22287. },
  22288. "creatorsrc": {
  22289. "description": "创建人来源 - 1:管理端 2:终端",
  22290. "type": "integer"
  22291. },
  22292. "deliverygoodsid": {
  22293. "description": "现货品种ID",
  22294. "type": "integer"
  22295. },
  22296. "isvalid": {
  22297. "description": "是否有效 - 0:无效 1:有效",
  22298. "type": "integer"
  22299. },
  22300. "modelid": {
  22301. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  22302. "type": "integer"
  22303. },
  22304. "modelname": {
  22305. "description": "型号名称",
  22306. "type": "string"
  22307. },
  22308. "updatetime": {
  22309. "description": "更新时间",
  22310. "type": "string"
  22311. },
  22312. "updatorid": {
  22313. "description": "更新人",
  22314. "type": "integer"
  22315. },
  22316. "updatorsrc": {
  22317. "description": "更新人来源 - 1:管理端 2:终端",
  22318. "type": "integer"
  22319. },
  22320. "wrstandardid": {
  22321. "description": "现货商品ID",
  22322. "type": "integer"
  22323. }
  22324. }
  22325. },
  22326. "models.ErmcpHisExposure": {
  22327. "type": "object",
  22328. "properties": {
  22329. "needhedgeexposoure": {
  22330. "description": "应套保敞口",
  22331. "type": "number"
  22332. },
  22333. "reckondate": {
  22334. "description": "日照时期(yyyyMMdd)",
  22335. "type": "string"
  22336. },
  22337. "totalexposure": {
  22338. "description": "总敞口",
  22339. "type": "number"
  22340. }
  22341. }
  22342. },
  22343. "models.ErmcpLoginTaAccount": {
  22344. "type": "object",
  22345. "properties": {
  22346. "accountid": {
  22347. "description": "账号id",
  22348. "type": "integer"
  22349. },
  22350. "accountname": {
  22351. "description": "账号名称",
  22352. "type": "string"
  22353. }
  22354. }
  22355. },
  22356. "models.ErmcpLoginUser": {
  22357. "type": "object",
  22358. "properties": {
  22359. "acclist": {
  22360. "description": "关联资金账号",
  22361. "type": "array",
  22362. "items": {
  22363. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  22364. }
  22365. },
  22366. "accountname": {
  22367. "description": "用户名称",
  22368. "type": "string"
  22369. },
  22370. "clientroleid": {
  22371. "description": "角色id(usertype=2)",
  22372. "type": "integer"
  22373. },
  22374. "createtime": {
  22375. "description": "创建时间",
  22376. "type": "string"
  22377. },
  22378. "logincode": {
  22379. "description": "登录代码",
  22380. "type": "string"
  22381. },
  22382. "loginid": {
  22383. "description": "登录id(LOGINID)",
  22384. "type": "integer"
  22385. },
  22386. "loginname": {
  22387. "description": "登录名称(loginaccount表中的accountname字段)",
  22388. "type": "string"
  22389. },
  22390. "loginstatus": {
  22391. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  22392. "type": "integer"
  22393. },
  22394. "memberuserid": {
  22395. "description": "所属会员id",
  22396. "type": "integer"
  22397. },
  22398. "mobile": {
  22399. "description": "手机号",
  22400. "type": "string"
  22401. },
  22402. "modifytime": {
  22403. "description": "修改时间",
  22404. "type": "string"
  22405. },
  22406. "password": {
  22407. "description": "密码(不可解密)",
  22408. "type": "string"
  22409. },
  22410. "rolename": {
  22411. "description": "角色名称",
  22412. "type": "string"
  22413. },
  22414. "rolestatus": {
  22415. "description": "角色状态 1-启用 2-停用",
  22416. "type": "integer"
  22417. },
  22418. "roletype": {
  22419. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  22420. "type": "string"
  22421. },
  22422. "userid": {
  22423. "description": "用户id",
  22424. "type": "integer"
  22425. },
  22426. "usertype": {
  22427. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22428. "type": "integer"
  22429. }
  22430. }
  22431. },
  22432. "models.ErmcpLoginUserEx": {
  22433. "type": "object",
  22434. "properties": {
  22435. "accountstatus": {
  22436. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22437. "type": "integer"
  22438. },
  22439. "mobile": {
  22440. "description": "手机号",
  22441. "type": "string"
  22442. },
  22443. "querytype": {
  22444. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  22445. "type": "integer"
  22446. },
  22447. "roleid": {
  22448. "description": "角色id(交易账户-\u003e用户id)",
  22449. "type": "integer"
  22450. },
  22451. "rolename": {
  22452. "description": "角色名称(交易账户-\u003e用户名称)",
  22453. "type": "string"
  22454. },
  22455. "userlist": {
  22456. "description": "用户列表",
  22457. "type": "array",
  22458. "items": {
  22459. "$ref": "#/definitions/models.ErmcpLoginUser"
  22460. }
  22461. },
  22462. "usertype": {
  22463. "description": "用户类型 2-机构 7-企业成员(云平台)",
  22464. "type": "integer"
  22465. }
  22466. }
  22467. },
  22468. "models.ErmcpMiddleGoodsModel": {
  22469. "type": "object",
  22470. "properties": {
  22471. "areauserid": {
  22472. "description": "机构用户ID",
  22473. "type": "integer"
  22474. },
  22475. "createtime": {
  22476. "description": "修改时间",
  22477. "type": "string"
  22478. },
  22479. "enumdicname": {
  22480. "description": "单位名称",
  22481. "type": "string"
  22482. },
  22483. "evaluateratio": {
  22484. "description": "估价系数",
  22485. "type": "number"
  22486. },
  22487. "goodsgroupid": {
  22488. "description": "关联期货品种ID",
  22489. "type": "integer"
  22490. },
  22491. "goodsunitid": {
  22492. "description": "单位ID",
  22493. "type": "integer"
  22494. },
  22495. "isvalid": {
  22496. "description": "状态 0-无效(停用) 1-有效(正常)",
  22497. "type": "integer"
  22498. },
  22499. "middlegoodscode": {
  22500. "description": "套保品种代码",
  22501. "type": "string"
  22502. },
  22503. "middlegoodsid": {
  22504. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  22505. "type": "integer"
  22506. },
  22507. "middlegoodsname": {
  22508. "description": "套保品种名称",
  22509. "type": "string"
  22510. },
  22511. "modifytime": {
  22512. "description": "修改时间",
  22513. "type": "string"
  22514. },
  22515. "needarbitrageratio": {
  22516. "description": "套利比例",
  22517. "type": "number"
  22518. },
  22519. "needhedgeratio": {
  22520. "description": "套保比率",
  22521. "type": "number"
  22522. },
  22523. "qtydecimalplace": {
  22524. "description": "数量小数位",
  22525. "type": "integer"
  22526. },
  22527. "relatedgoodsid": {
  22528. "description": "关联交易商品ID",
  22529. "type": "integer"
  22530. },
  22531. "relatedgoodstype": {
  22532. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  22533. "type": "integer"
  22534. },
  22535. "remark": {
  22536. "description": "备注",
  22537. "type": "string"
  22538. }
  22539. }
  22540. },
  22541. "models.ErmcpMiddlegoodsRelateGoods": {
  22542. "type": "object",
  22543. "properties": {
  22544. "agreeunit": {
  22545. "description": "合约乘数",
  22546. "type": "number"
  22547. },
  22548. "convertratio": {
  22549. "description": "折算系数",
  22550. "type": "number"
  22551. },
  22552. "enumdicname": {
  22553. "description": "单位名称(交易商品)",
  22554. "type": "string"
  22555. },
  22556. "goodscode": {
  22557. "description": "交易商品代码",
  22558. "type": "string"
  22559. },
  22560. "goodsgroupid": {
  22561. "description": "交易品种id",
  22562. "type": "integer"
  22563. },
  22564. "goodsid": {
  22565. "description": "商品Id",
  22566. "type": "integer"
  22567. },
  22568. "goodsname": {
  22569. "description": "交易商品名称",
  22570. "type": "string"
  22571. },
  22572. "goodunitid": {
  22573. "description": "交易商品单位id",
  22574. "type": "integer"
  22575. },
  22576. "middlegoodsid": {
  22577. "description": "套保商品id",
  22578. "type": "integer"
  22579. },
  22580. "middlegoodsname": {
  22581. "description": "套保商品名称",
  22582. "type": "string"
  22583. },
  22584. "middlegoodsswcode": {
  22585. "description": "套保商品代码",
  22586. "type": "string"
  22587. },
  22588. "needarbitrageratio": {
  22589. "description": "应套利比例",
  22590. "type": "number"
  22591. },
  22592. "needhedgeratio": {
  22593. "description": "应套保比例",
  22594. "type": "number"
  22595. }
  22596. }
  22597. },
  22598. "models.ErmcpRole": {
  22599. "type": "object",
  22600. "properties": {
  22601. "areauserid": {
  22602. "description": "所属机构",
  22603. "type": "integer"
  22604. },
  22605. "autoid": {
  22606. "description": "角色ID(自增ID)",
  22607. "type": "integer"
  22608. },
  22609. "modifierid": {
  22610. "description": "修改人(创建人)",
  22611. "type": "integer"
  22612. },
  22613. "modifiername": {
  22614. "description": "修改人名称",
  22615. "type": "string"
  22616. },
  22617. "modifytime": {
  22618. "description": "修改时间(创建时间)",
  22619. "type": "string"
  22620. },
  22621. "rolename": {
  22622. "description": "角色名称",
  22623. "type": "string"
  22624. },
  22625. "rolestatus": {
  22626. "description": "角色状态 - 1:启用 2:停用",
  22627. "type": "integer"
  22628. },
  22629. "roletype": {
  22630. "description": "角色类型 - 1- 管理端 2- 交易端",
  22631. "type": "integer"
  22632. }
  22633. }
  22634. },
  22635. "models.ErmcpRoleMenu": {
  22636. "type": "object",
  22637. "properties": {
  22638. "iconame": {
  22639. "description": "菜单图标",
  22640. "type": "string"
  22641. },
  22642. "ishadrole": {
  22643. "description": "是否有权限",
  22644. "type": "boolean"
  22645. },
  22646. "menutype": {
  22647. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  22648. "type": "integer"
  22649. },
  22650. "parentcode": {
  22651. "description": "上级资源代码",
  22652. "type": "string"
  22653. },
  22654. "remark": {
  22655. "description": "菜单备注",
  22656. "type": "string"
  22657. },
  22658. "resourcecode": {
  22659. "description": "菜单代码",
  22660. "type": "string"
  22661. },
  22662. "resourcelevel": {
  22663. "description": "级别",
  22664. "type": "integer"
  22665. },
  22666. "resourcename": {
  22667. "description": "菜单名称",
  22668. "type": "string"
  22669. },
  22670. "roleid": {
  22671. "description": "角色id",
  22672. "type": "integer"
  22673. },
  22674. "sort": {
  22675. "description": "排序",
  22676. "type": "integer"
  22677. },
  22678. "url": {
  22679. "description": "URL",
  22680. "type": "string"
  22681. },
  22682. "userid": {
  22683. "description": "用户id",
  22684. "type": "integer"
  22685. }
  22686. }
  22687. },
  22688. "models.ErmcpRoleMenuEx": {
  22689. "type": "object",
  22690. "properties": {
  22691. "menu": {
  22692. "description": "父级菜单",
  22693. "$ref": "#/definitions/models.ErmcpRoleMenu"
  22694. },
  22695. "subMenu": {
  22696. "description": "子级菜单",
  22697. "type": "array",
  22698. "items": {
  22699. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  22700. }
  22701. }
  22702. }
  22703. },
  22704. "models.ErmcpTaAccount": {
  22705. "type": "object",
  22706. "properties": {
  22707. "accountid": {
  22708. "description": "账户id",
  22709. "type": "integer"
  22710. },
  22711. "accountname": {
  22712. "description": "账户名称",
  22713. "type": "string"
  22714. },
  22715. "currencyid": {
  22716. "description": "币种id",
  22717. "type": "integer"
  22718. },
  22719. "hedgeaccountcode": {
  22720. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22721. "type": "string"
  22722. },
  22723. "ismain": {
  22724. "description": "是否主账户 0-否 1-是",
  22725. "type": "integer"
  22726. },
  22727. "parentaccountid": {
  22728. "description": "父账户id",
  22729. "type": "integer"
  22730. },
  22731. "relateduserid": {
  22732. "description": "关联userid",
  22733. "type": "integer"
  22734. },
  22735. "tradefeetmpid": {
  22736. "description": "手续费模板id",
  22737. "type": "integer"
  22738. },
  22739. "tradefeetmpname": {
  22740. "description": "手续费模板名称",
  22741. "type": "string"
  22742. },
  22743. "trademargintmpid": {
  22744. "description": "保证金模板id",
  22745. "type": "integer"
  22746. },
  22747. "trademargintmpname": {
  22748. "description": "保证金模板名称",
  22749. "type": "string"
  22750. },
  22751. "traderatetmpid": {
  22752. "description": "汇率模板id",
  22753. "type": "integer"
  22754. },
  22755. "traderatetmpname": {
  22756. "description": "汇率模板名称",
  22757. "type": "string"
  22758. },
  22759. "tradestatus": {
  22760. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22761. "type": "integer"
  22762. },
  22763. "userid": {
  22764. "description": "用户id",
  22765. "type": "integer"
  22766. }
  22767. }
  22768. },
  22769. "models.ErmcpTaAccountEx": {
  22770. "type": "object",
  22771. "properties": {
  22772. "mainAcc": {
  22773. "description": "主账号",
  22774. "$ref": "#/definitions/models.ErmcpTaAccountM"
  22775. },
  22776. "subacclist": {
  22777. "description": "子账号列表",
  22778. "type": "array",
  22779. "items": {
  22780. "$ref": "#/definitions/models.ErmcpTaAccount"
  22781. }
  22782. }
  22783. }
  22784. },
  22785. "models.ErmcpTaAccountInfo": {
  22786. "type": "object",
  22787. "properties": {
  22788. "accountid": {
  22789. "description": "资金账户ID",
  22790. "type": "integer"
  22791. },
  22792. "accountname": {
  22793. "description": "账户名称",
  22794. "type": "string"
  22795. },
  22796. "balance": {
  22797. "description": "期初余额",
  22798. "type": "number"
  22799. },
  22800. "capitalbalance": {
  22801. "description": "本金余额[外部子账户实际出入金余额]",
  22802. "type": "number"
  22803. },
  22804. "closepl": {
  22805. "description": "今日平仓盈亏",
  22806. "type": "number"
  22807. },
  22808. "creditdecrease": {
  22809. "description": "今日授信减少",
  22810. "type": "number"
  22811. },
  22812. "creditincrease": {
  22813. "description": "今日授信增加",
  22814. "type": "number"
  22815. },
  22816. "curdebt": {
  22817. "description": "期末欠款",
  22818. "type": "number"
  22819. },
  22820. "currencyid": {
  22821. "description": "货币ID",
  22822. "type": "integer"
  22823. },
  22824. "currentbalance": {
  22825. "description": "期末余额",
  22826. "type": "number"
  22827. },
  22828. "freezecharge": {
  22829. "description": "手续费冻结",
  22830. "type": "number"
  22831. },
  22832. "freezemargin": {
  22833. "description": "冻结保证金",
  22834. "type": "number"
  22835. },
  22836. "fromaccountid": {
  22837. "description": "所属上级账户",
  22838. "type": "integer"
  22839. },
  22840. "inamount": {
  22841. "description": "今日入金金额(包括三方入金)",
  22842. "type": "number"
  22843. },
  22844. "ismain": {
  22845. "description": "是否母账号 0:不是母账户 1:是母账户",
  22846. "type": "integer"
  22847. },
  22848. "mortgagecredit": {
  22849. "description": "授信金额",
  22850. "type": "number"
  22851. },
  22852. "oridebt": {
  22853. "description": "期初欠款",
  22854. "type": "number"
  22855. },
  22856. "orifreezecharge": {
  22857. "description": "期初手续费冻结",
  22858. "type": "number"
  22859. },
  22860. "orifreezemargin": {
  22861. "description": "期初冻结保证金",
  22862. "type": "number"
  22863. },
  22864. "orimortgagecredit": {
  22865. "description": "期初授信金额",
  22866. "type": "number"
  22867. },
  22868. "oriothercredit": {
  22869. "description": "期初其它授信金额",
  22870. "type": "number"
  22871. },
  22872. "oriotherfreezemargin": {
  22873. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22874. "type": "number"
  22875. },
  22876. "orioutamountfreeze": {
  22877. "description": "期初出金冻结",
  22878. "type": "number"
  22879. },
  22880. "oriusedmargin": {
  22881. "description": "期初占用保证金",
  22882. "type": "number"
  22883. },
  22884. "othercredit": {
  22885. "description": "其它授信金额",
  22886. "type": "number"
  22887. },
  22888. "othercreditdecrease": {
  22889. "description": "今日其它授信减少",
  22890. "type": "number"
  22891. },
  22892. "othercreditincrease": {
  22893. "description": "今日其它授信增加",
  22894. "type": "number"
  22895. },
  22896. "otherfreezemargin": {
  22897. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22898. "type": "number"
  22899. },
  22900. "outamount": {
  22901. "description": "今日出金金额(包括三方出金)",
  22902. "type": "number"
  22903. },
  22904. "outamountfreeze": {
  22905. "description": "出金冻结",
  22906. "type": "number"
  22907. },
  22908. "outthreshold": {
  22909. "description": "出金阈值",
  22910. "type": "number"
  22911. },
  22912. "parentaccountid": {
  22913. "description": "所属根账号",
  22914. "type": "integer"
  22915. },
  22916. "paycharge": {
  22917. "description": "今日手续费支出",
  22918. "type": "number"
  22919. },
  22920. "relateduserid": {
  22921. "description": "关联用户",
  22922. "type": "integer"
  22923. },
  22924. "signstatus": {
  22925. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22926. "type": "integer"
  22927. },
  22928. "sublevelpath": {
  22929. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22930. "type": "string"
  22931. },
  22932. "taaccounttype": {
  22933. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22934. "type": "integer"
  22935. },
  22936. "thirdinamount": {
  22937. "description": "今日三方入金",
  22938. "type": "number"
  22939. },
  22940. "thirdoutamount": {
  22941. "description": "今日三方出金",
  22942. "type": "number"
  22943. },
  22944. "tradestatus": {
  22945. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22946. "type": "integer"
  22947. },
  22948. "transferamount": {
  22949. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22950. "type": "number"
  22951. },
  22952. "usedmargin": {
  22953. "description": "占用保证金",
  22954. "type": "number"
  22955. },
  22956. "userid": {
  22957. "description": "用户ID",
  22958. "type": "integer"
  22959. }
  22960. }
  22961. },
  22962. "models.ErmcpTaAccountM": {
  22963. "type": "object",
  22964. "properties": {
  22965. "accountid": {
  22966. "description": "账户id",
  22967. "type": "integer"
  22968. },
  22969. "accountname": {
  22970. "description": "账户名称",
  22971. "type": "string"
  22972. },
  22973. "currencyid": {
  22974. "description": "币种id",
  22975. "type": "integer"
  22976. },
  22977. "fcid": {
  22978. "description": "期货公司id",
  22979. "type": "integer"
  22980. },
  22981. "fcname": {
  22982. "description": "期货公司代码",
  22983. "type": "string"
  22984. },
  22985. "hedgeaccountcode": {
  22986. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22987. "type": "string"
  22988. },
  22989. "ismain": {
  22990. "description": "是否主账户 0-否 1-是",
  22991. "type": "integer"
  22992. },
  22993. "parentaccountid": {
  22994. "description": "父账户id",
  22995. "type": "integer"
  22996. },
  22997. "relateduserid": {
  22998. "description": "关联userid",
  22999. "type": "integer"
  23000. },
  23001. "tradefeetmpid": {
  23002. "description": "手续费模板id",
  23003. "type": "integer"
  23004. },
  23005. "tradefeetmpname": {
  23006. "description": "手续费模板名称",
  23007. "type": "string"
  23008. },
  23009. "trademargintmpid": {
  23010. "description": "保证金模板id",
  23011. "type": "integer"
  23012. },
  23013. "trademargintmpname": {
  23014. "description": "保证金模板名称",
  23015. "type": "string"
  23016. },
  23017. "traderatetmpid": {
  23018. "description": "汇率模板id",
  23019. "type": "integer"
  23020. },
  23021. "traderatetmpname": {
  23022. "description": "汇率模板名称",
  23023. "type": "string"
  23024. },
  23025. "tradestatus": {
  23026. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23027. "type": "integer"
  23028. },
  23029. "userid": {
  23030. "description": "用户id",
  23031. "type": "integer"
  23032. }
  23033. }
  23034. },
  23035. "models.ErmcpTradeConfigTMP": {
  23036. "type": "object",
  23037. "properties": {
  23038. "areauserid": {
  23039. "description": "所属机构",
  23040. "type": "integer"
  23041. },
  23042. "basiccurrencyid": {
  23043. "description": "基本币种ID[汇率] - 目标币种",
  23044. "type": "integer"
  23045. },
  23046. "mainaccountid": {
  23047. "description": "主账户ID",
  23048. "type": "integer"
  23049. },
  23050. "modifierid": {
  23051. "description": "修改人",
  23052. "type": "integer"
  23053. },
  23054. "remark": {
  23055. "description": "备注",
  23056. "type": "string"
  23057. },
  23058. "tradeconfigtmpid": {
  23059. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  23060. "type": "integer"
  23061. },
  23062. "tradeconfigtmpname": {
  23063. "description": "交易配置模板名称",
  23064. "type": "string"
  23065. },
  23066. "tradeconfigtmptype": {
  23067. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  23068. "type": "integer"
  23069. },
  23070. "updatetime": {
  23071. "description": "更新时间",
  23072. "type": "string"
  23073. }
  23074. }
  23075. },
  23076. "models.Externalexchange": {
  23077. "type": "object",
  23078. "required": [
  23079. "autoid"
  23080. ],
  23081. "properties": {
  23082. "autoid": {
  23083. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  23084. "type": "integer"
  23085. },
  23086. "exchangefullname": {
  23087. "description": "外部交易所全称",
  23088. "type": "string"
  23089. },
  23090. "exexchangecode": {
  23091. "description": "外部交易所代码",
  23092. "type": "string"
  23093. },
  23094. "exexchangename": {
  23095. "description": "外部交易所名称(简称)",
  23096. "type": "string"
  23097. },
  23098. "ismarketprice": {
  23099. "description": "是否支持市价 - 0:不支持 1:支持",
  23100. "type": "integer"
  23101. },
  23102. "quotegear": {
  23103. "description": "行情档位(1-10)",
  23104. "type": "integer"
  23105. },
  23106. "showbrokerflag": {
  23107. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  23108. "type": "integer"
  23109. },
  23110. "updatetime": {
  23111. "description": "更新时间",
  23112. "type": "string"
  23113. }
  23114. }
  23115. },
  23116. "models.Funcmenulist": {
  23117. "type": "object",
  23118. "required": [
  23119. "resourcecode"
  23120. ],
  23121. "properties": {
  23122. "iconame": {
  23123. "description": "菜单图标",
  23124. "type": "string"
  23125. },
  23126. "menutype": {
  23127. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  23128. "type": "integer"
  23129. },
  23130. "parentcode": {
  23131. "description": "上级资源代码",
  23132. "type": "string"
  23133. },
  23134. "remark": {
  23135. "description": "备注",
  23136. "type": "string"
  23137. },
  23138. "resourcecode": {
  23139. "description": "资源代码",
  23140. "type": "string"
  23141. },
  23142. "resourcelevel": {
  23143. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  23144. "type": "integer"
  23145. },
  23146. "resourcename": {
  23147. "description": "资源名",
  23148. "type": "string"
  23149. },
  23150. "sort": {
  23151. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  23152. "type": "integer"
  23153. },
  23154. "url": {
  23155. "description": "URL",
  23156. "type": "string"
  23157. }
  23158. }
  23159. },
  23160. "models.Goods": {
  23161. "type": "object",
  23162. "required": [
  23163. "goodscode",
  23164. "goodsid",
  23165. "goodsname",
  23166. "marketid"
  23167. ],
  23168. "properties": {
  23169. "agreeunit": {
  23170. "description": "合约单位",
  23171. "type": "number"
  23172. },
  23173. "areauserid": {
  23174. "description": "所属机构",
  23175. "type": "integer"
  23176. },
  23177. "auditaccountid": {
  23178. "description": "审核操作员账号",
  23179. "type": "integer"
  23180. },
  23181. "audittime": {
  23182. "description": "审核时间",
  23183. "type": "string"
  23184. },
  23185. "cancelaccountid": {
  23186. "description": "注销操作员账号",
  23187. "type": "integer"
  23188. },
  23189. "canceltime": {
  23190. "description": "注销时间",
  23191. "type": "string"
  23192. },
  23193. "closepricemode": {
  23194. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23195. "type": "integer"
  23196. },
  23197. "closepriceparam": {
  23198. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23199. "type": "number"
  23200. },
  23201. "createtime": {
  23202. "description": "创建时间",
  23203. "type": "string"
  23204. },
  23205. "creatorid": {
  23206. "description": "创建人",
  23207. "type": "integer"
  23208. },
  23209. "currencyid": {
  23210. "description": "报价货币ID",
  23211. "type": "integer"
  23212. },
  23213. "cutmode": {
  23214. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23215. "type": "integer"
  23216. },
  23217. "decimalplace": {
  23218. "description": "报价小数位",
  23219. "type": "integer"
  23220. },
  23221. "delistingdate": {
  23222. "description": "商品退市时间(状态:退市) -- 已作废",
  23223. "type": "string"
  23224. },
  23225. "delistingmode": {
  23226. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23227. "type": "integer"
  23228. },
  23229. "deliveryflag": {
  23230. "description": "交割标志 - 0:不可交割 1:可交割",
  23231. "type": "integer"
  23232. },
  23233. "forceclosemode": {
  23234. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23235. "type": "integer"
  23236. },
  23237. "forceclosevalue": {
  23238. "description": "定期强平参数 [收益权]",
  23239. "type": "integer"
  23240. },
  23241. "goodscode": {
  23242. "description": "商品代码(内部)",
  23243. "type": "string"
  23244. },
  23245. "goodscurrencyid": {
  23246. "description": "合约货币ID",
  23247. "type": "integer"
  23248. },
  23249. "goodsgroupid": {
  23250. "description": "所属商品组ID",
  23251. "type": "integer"
  23252. },
  23253. "goodsid": {
  23254. "description": "商品ID(自增ID SEQ_GOODS)",
  23255. "type": "integer"
  23256. },
  23257. "goodsname": {
  23258. "description": "商品名称",
  23259. "type": "string"
  23260. },
  23261. "goodsquotetype": {
  23262. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23263. "type": "integer"
  23264. },
  23265. "goodsstatus": {
  23266. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23267. "type": "integer"
  23268. },
  23269. "goodstradetype": {
  23270. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23271. "type": "integer"
  23272. },
  23273. "goodunitid": {
  23274. "description": "报价单位ID",
  23275. "type": "integer"
  23276. },
  23277. "hasquoter": {
  23278. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23279. "type": "integer"
  23280. },
  23281. "hqprotecttime": {
  23282. "description": "行情保护时间(秒)",
  23283. "type": "integer"
  23284. },
  23285. "innerdealmode": {
  23286. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23287. "type": "integer"
  23288. },
  23289. "isbuylimited": {
  23290. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23291. "type": "integer"
  23292. },
  23293. "isvisible": {
  23294. "description": "游客是否可见 - 0:不可见 1:可见",
  23295. "type": "integer"
  23296. },
  23297. "lasttradedate": {
  23298. "description": "最后交易日期(状态:待退市)",
  23299. "type": "string"
  23300. },
  23301. "listingdate": {
  23302. "description": "交易开始日期",
  23303. "type": "string"
  23304. },
  23305. "marketid": {
  23306. "description": "所属市场ID",
  23307. "type": "integer"
  23308. },
  23309. "modifierid": {
  23310. "description": "修改人",
  23311. "type": "integer"
  23312. },
  23313. "modifystatus": {
  23314. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23315. "type": "integer"
  23316. },
  23317. "modifytime": {
  23318. "description": "修改时间",
  23319. "type": "string"
  23320. },
  23321. "outerdealmode": {
  23322. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23323. "type": "integer"
  23324. },
  23325. "outgoodscode": {
  23326. "description": "商品代码(外部)",
  23327. "type": "string"
  23328. },
  23329. "pictureurl": {
  23330. "description": "商品图片",
  23331. "type": "string"
  23332. },
  23333. "qtydecimalplace": {
  23334. "description": "成交量小数位",
  23335. "type": "integer"
  23336. },
  23337. "quotegear": {
  23338. "description": "行情档位(1-10)",
  23339. "type": "integer"
  23340. },
  23341. "quoteminunit": {
  23342. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23343. "type": "integer"
  23344. },
  23345. "quoteshowtype": {
  23346. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23347. "type": "integer"
  23348. },
  23349. "quoteshowtypeinterval": {
  23350. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23351. "type": "integer"
  23352. },
  23353. "remark": {
  23354. "description": "备注",
  23355. "type": "string"
  23356. }
  23357. }
  23358. },
  23359. "models.GoodsIDAndName": {
  23360. "type": "object",
  23361. "required": [
  23362. "goodscode",
  23363. "goodsid",
  23364. "goodsname",
  23365. "marketid"
  23366. ],
  23367. "properties": {
  23368. "goodscode": {
  23369. "description": "商品代码(内部)",
  23370. "type": "string"
  23371. },
  23372. "goodsid": {
  23373. "description": "商品ID(自增ID SEQ_GOODS)",
  23374. "type": "integer"
  23375. },
  23376. "goodsname": {
  23377. "description": "商品名称",
  23378. "type": "string"
  23379. },
  23380. "marketid": {
  23381. "description": "所属市场ID",
  23382. "type": "integer"
  23383. }
  23384. }
  23385. },
  23386. "models.Goodsgroup": {
  23387. "type": "object",
  23388. "required": [
  23389. "goodsgroupid",
  23390. "goodsgroupname",
  23391. "goodsgroupstatus",
  23392. "marketid"
  23393. ],
  23394. "properties": {
  23395. "agreeunit": {
  23396. "description": "合约单位",
  23397. "type": "number"
  23398. },
  23399. "canshort": {
  23400. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23401. "type": "integer"
  23402. },
  23403. "closepricemode": {
  23404. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23405. "type": "integer"
  23406. },
  23407. "closepriceparam": {
  23408. "description": "强平最新价浮动比例 - 方式为2时使用",
  23409. "type": "number"
  23410. },
  23411. "createtime": {
  23412. "description": "创建时间",
  23413. "type": "string"
  23414. },
  23415. "creatorid": {
  23416. "description": "创建人",
  23417. "type": "integer"
  23418. },
  23419. "currencyid": {
  23420. "description": "报价货币ID",
  23421. "type": "integer"
  23422. },
  23423. "decimalplace": {
  23424. "description": "报价小数位",
  23425. "type": "integer"
  23426. },
  23427. "exercisetype": {
  23428. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  23429. "type": "integer"
  23430. },
  23431. "exexchangeid": {
  23432. "description": "外部交易所ID[通道交易]",
  23433. "type": "integer"
  23434. },
  23435. "goodsgroupid": {
  23436. "description": "商品组ID(自增ID)",
  23437. "type": "integer"
  23438. },
  23439. "goodsgroupname": {
  23440. "description": "商品组名称",
  23441. "type": "string"
  23442. },
  23443. "goodsgroupstatus": {
  23444. "description": "商品组状态 - 1:正常 2:注销",
  23445. "type": "integer"
  23446. },
  23447. "goodunitid": {
  23448. "description": "报价单位ID",
  23449. "type": "integer"
  23450. },
  23451. "innerdealmode": {
  23452. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23453. "type": "integer"
  23454. },
  23455. "isbuylimited": {
  23456. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23457. "type": "integer"
  23458. },
  23459. "marketid": {
  23460. "description": "所属市场ID",
  23461. "type": "integer"
  23462. },
  23463. "modifierid": {
  23464. "description": "修改人",
  23465. "type": "integer"
  23466. },
  23467. "modifytime": {
  23468. "description": "修改时间",
  23469. "type": "string"
  23470. },
  23471. "outerdealmode": {
  23472. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23473. "type": "integer"
  23474. },
  23475. "outergroupcode": {
  23476. "description": "外部商品组代码[通道交易]",
  23477. "type": "string"
  23478. },
  23479. "premiumdecimalplace": {
  23480. "description": "权利金小数位[场外期权]",
  23481. "type": "integer"
  23482. },
  23483. "premiumspreadalgorithm": {
  23484. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  23485. "type": "integer"
  23486. },
  23487. "premiumspreadvalue": {
  23488. "description": "权利金点差值[场外期权]",
  23489. "type": "number"
  23490. },
  23491. "qtydecimalplace": {
  23492. "description": "成交量小数位",
  23493. "type": "integer"
  23494. },
  23495. "quotegear": {
  23496. "description": "行情档位(1-10)",
  23497. "type": "integer"
  23498. },
  23499. "quoteminunit": {
  23500. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23501. "type": "integer"
  23502. },
  23503. "quoterid": {
  23504. "description": "报价商ID[场外期权]",
  23505. "type": "integer"
  23506. },
  23507. "quotesourcegroupid": {
  23508. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23509. "type": "integer"
  23510. },
  23511. "syncgoodsqty": {
  23512. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23513. "type": "integer"
  23514. }
  23515. }
  23516. },
  23517. "models.Goodssortbypreposition": {
  23518. "type": "object",
  23519. "required": [
  23520. "goodscode",
  23521. "tradedate"
  23522. ],
  23523. "properties": {
  23524. "goodscode": {
  23525. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  23526. "type": "string"
  23527. },
  23528. "goodsgroupcode": {
  23529. "description": "品种代码",
  23530. "type": "string"
  23531. },
  23532. "prepositionqty": {
  23533. "description": "昨持仓量",
  23534. "type": "integer"
  23535. },
  23536. "sortindex": {
  23537. "description": "排序",
  23538. "type": "integer"
  23539. },
  23540. "tradedate": {
  23541. "description": "交易日",
  23542. "type": "string"
  23543. },
  23544. "updatetime": {
  23545. "description": "更新时间",
  23546. "type": "string"
  23547. }
  23548. }
  23549. },
  23550. "models.Hedgeinnerholderdetail": {
  23551. "type": "object",
  23552. "required": [
  23553. "buyorsell",
  23554. "tradeid"
  23555. ],
  23556. "properties": {
  23557. "accountid": {
  23558. "description": "账号ID",
  23559. "type": "integer"
  23560. },
  23561. "buyorsell": {
  23562. "description": "方向 - 0:买 1:卖",
  23563. "type": "integer"
  23564. },
  23565. "freezeqty": {
  23566. "description": "冻结数量 - 按单平使用",
  23567. "type": "integer"
  23568. },
  23569. "goodsid": {
  23570. "description": "商品ID",
  23571. "type": "integer"
  23572. },
  23573. "holderamount": {
  23574. "description": "持仓金额 [商品币种]",
  23575. "type": "number"
  23576. },
  23577. "holderdays": {
  23578. "description": "剩余冻结天数",
  23579. "type": "integer"
  23580. },
  23581. "holderprice": {
  23582. "description": "持仓价格",
  23583. "type": "number"
  23584. },
  23585. "holderqty": {
  23586. "description": "持仓数量",
  23587. "type": "integer"
  23588. },
  23589. "marketid": {
  23590. "description": "市场ID",
  23591. "type": "integer"
  23592. },
  23593. "openprice": {
  23594. "description": "建仓价格",
  23595. "type": "number"
  23596. },
  23597. "openqty": {
  23598. "description": "建仓数量",
  23599. "type": "integer"
  23600. },
  23601. "parentaccountid": {
  23602. "description": "所属母账户",
  23603. "type": "integer"
  23604. },
  23605. "releaseamount": {
  23606. "description": "释放持仓金额[商品币种]",
  23607. "type": "number"
  23608. },
  23609. "tradeamount": {
  23610. "description": "成交金额[账户]",
  23611. "type": "number"
  23612. },
  23613. "tradedate": {
  23614. "description": "交易日(yyyyMMdd)",
  23615. "type": "string"
  23616. },
  23617. "tradeid": {
  23618. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23619. "type": "string"
  23620. },
  23621. "tradetime": {
  23622. "description": "交易时间",
  23623. "type": "string"
  23624. }
  23625. }
  23626. },
  23627. "models.Hedgemarketopenlog": {
  23628. "type": "object",
  23629. "required": [
  23630. "accountid"
  23631. ],
  23632. "properties": {
  23633. "accountid": {
  23634. "description": "资金账号[外部母账户]",
  23635. "type": "integer"
  23636. },
  23637. "fcname": {
  23638. "description": "期货公司名称",
  23639. "type": "string"
  23640. },
  23641. "handlestatus": {
  23642. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23643. "type": "integer"
  23644. },
  23645. "marketid": {
  23646. "description": "市场ID",
  23647. "type": "integer"
  23648. },
  23649. "status": {
  23650. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23651. "type": "integer"
  23652. },
  23653. "tradedate": {
  23654. "description": "交易日(yyyyMMdd)",
  23655. "type": "string"
  23656. },
  23657. "updatetime": {
  23658. "description": "更新时间",
  23659. "type": "string"
  23660. }
  23661. }
  23662. },
  23663. "models.HsbyBuyMyPayOrder": {
  23664. "type": "object",
  23665. "required": [
  23666. "goodscode",
  23667. "goodsname",
  23668. "tradeid",
  23669. "trademode"
  23670. ],
  23671. "properties": {
  23672. "agreeunit": {
  23673. "description": "合约单位",
  23674. "type": "number"
  23675. },
  23676. "buyaccountid": {
  23677. "description": "买方账号ID[报价币种]",
  23678. "type": "integer"
  23679. },
  23680. "buyorderid": {
  23681. "description": "买方委托单号",
  23682. "type": "string"
  23683. },
  23684. "createtime": {
  23685. "description": "创建时间",
  23686. "type": "string"
  23687. },
  23688. "currencysign": {
  23689. "description": "货币符号",
  23690. "type": "string"
  23691. },
  23692. "decimalplace": {
  23693. "description": "报价小数位",
  23694. "type": "integer"
  23695. },
  23696. "goodscode": {
  23697. "description": "商品代码(内部)",
  23698. "type": "string"
  23699. },
  23700. "goodsid": {
  23701. "description": "商品ID",
  23702. "type": "integer"
  23703. },
  23704. "goodsname": {
  23705. "description": "商品名称",
  23706. "type": "string"
  23707. },
  23708. "marketid": {
  23709. "description": "市场ID",
  23710. "type": "integer"
  23711. },
  23712. "offamount": {
  23713. "description": "优惠金额",
  23714. "type": "number"
  23715. },
  23716. "originalamount": {
  23717. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23718. "type": "number"
  23719. },
  23720. "payamount": {
  23721. "description": "支付金额 = TradeAmount + TradeCharge",
  23722. "type": "number"
  23723. },
  23724. "payflag": {
  23725. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23726. "type": "integer"
  23727. },
  23728. "paylimitedtime": {
  23729. "description": "支付期限",
  23730. "type": "string"
  23731. },
  23732. "paytime": {
  23733. "description": "付款时间",
  23734. "type": "string"
  23735. },
  23736. "picurls1": {
  23737. "description": "预售商品介绍图片[多张用逗号分隔]",
  23738. "type": "string"
  23739. },
  23740. "picurls2": {
  23741. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23742. "type": "string"
  23743. },
  23744. "sellaccountid": {
  23745. "description": "卖方账号ID[报价币种]",
  23746. "type": "integer"
  23747. },
  23748. "sellorderid": {
  23749. "description": "卖方委托单号",
  23750. "type": "string"
  23751. },
  23752. "tradeamount": {
  23753. "description": "成交金额",
  23754. "type": "number"
  23755. },
  23756. "tradecharge": {
  23757. "description": "成交手续费(买方)",
  23758. "type": "number"
  23759. },
  23760. "tradedate": {
  23761. "description": "交易日(yyyyMMdd)",
  23762. "type": "string"
  23763. },
  23764. "tradeid": {
  23765. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23766. "type": "string"
  23767. },
  23768. "trademode": {
  23769. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23770. "type": "integer"
  23771. },
  23772. "tradeprice": {
  23773. "description": "成交价格",
  23774. "type": "number"
  23775. },
  23776. "tradeqty": {
  23777. "description": "成交数量",
  23778. "type": "integer"
  23779. },
  23780. "vendorname1": {
  23781. "description": "预售商品供应商名称",
  23782. "type": "string"
  23783. },
  23784. "vendorname2": {
  23785. "description": "挂牌商品供应商名称",
  23786. "type": "string"
  23787. }
  23788. }
  23789. },
  23790. "models.HsbyBuyMyTradeDetail": {
  23791. "type": "object",
  23792. "required": [
  23793. "accountid",
  23794. "buyorsell",
  23795. "goodscode",
  23796. "goodsid",
  23797. "goodsname",
  23798. "marketid",
  23799. "orderid",
  23800. "qty",
  23801. "time",
  23802. "trademode"
  23803. ],
  23804. "properties": {
  23805. "accountid": {
  23806. "description": "账户ID[报价币种]",
  23807. "type": "integer"
  23808. },
  23809. "agreeunit": {
  23810. "description": "合约单位",
  23811. "type": "number"
  23812. },
  23813. "amount": {
  23814. "description": "金额 = 价格 * 数量 * 合约单位",
  23815. "type": "number"
  23816. },
  23817. "buyorsell": {
  23818. "description": "买卖 - 0:买 1:卖",
  23819. "type": "integer"
  23820. },
  23821. "currencysign": {
  23822. "description": "货币符号",
  23823. "type": "string"
  23824. },
  23825. "decimalplace": {
  23826. "description": "报价小数位",
  23827. "type": "integer"
  23828. },
  23829. "goodscode": {
  23830. "description": "商品代码(内部)",
  23831. "type": "string"
  23832. },
  23833. "goodsid": {
  23834. "description": "商品ID",
  23835. "type": "integer"
  23836. },
  23837. "goodsname": {
  23838. "description": "商品名称",
  23839. "type": "string"
  23840. },
  23841. "marketid": {
  23842. "description": "市场ID",
  23843. "type": "integer"
  23844. },
  23845. "orderamount": {
  23846. "description": "委托金额",
  23847. "type": "number"
  23848. },
  23849. "orderid": {
  23850. "description": "单号(成交单号)",
  23851. "type": "string"
  23852. },
  23853. "picurls1": {
  23854. "description": "预售商品介绍图片[多张用逗号分隔]",
  23855. "type": "string"
  23856. },
  23857. "picurls2": {
  23858. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23859. "type": "string"
  23860. },
  23861. "price": {
  23862. "description": "价格",
  23863. "type": "number"
  23864. },
  23865. "qty": {
  23866. "description": "数量",
  23867. "type": "integer"
  23868. },
  23869. "time": {
  23870. "description": "时间",
  23871. "type": "string"
  23872. },
  23873. "trademode": {
  23874. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23875. "type": "integer"
  23876. },
  23877. "vendorname1": {
  23878. "description": "预售商品供应商名称",
  23879. "type": "string"
  23880. },
  23881. "vendorname2": {
  23882. "description": "挂牌商品供应商名称",
  23883. "type": "string"
  23884. }
  23885. }
  23886. },
  23887. "models.HsbyGoodsOrderDetail": {
  23888. "type": "object",
  23889. "required": [
  23890. "buyorsell",
  23891. "orderid",
  23892. "ordertime"
  23893. ],
  23894. "properties": {
  23895. "buyorsell": {
  23896. "description": "买卖 - 0:买 1:卖",
  23897. "type": "integer"
  23898. },
  23899. "currencysign": {
  23900. "description": "货币符号",
  23901. "type": "string"
  23902. },
  23903. "customername": {
  23904. "description": "客户名称(企业名称),已脱敏",
  23905. "type": "string"
  23906. },
  23907. "enableqty": {
  23908. "description": "可用数量",
  23909. "type": "integer"
  23910. },
  23911. "goodunit": {
  23912. "description": "报价单位",
  23913. "type": "string"
  23914. },
  23915. "orderid": {
  23916. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23917. "type": "string"
  23918. },
  23919. "orderprice": {
  23920. "description": "委托价格",
  23921. "type": "number"
  23922. },
  23923. "ordertime": {
  23924. "description": "委托时间",
  23925. "type": "string"
  23926. }
  23927. }
  23928. },
  23929. "models.HsbyListingGoodsDetail": {
  23930. "type": "object",
  23931. "required": [
  23932. "goodscode",
  23933. "goodsid",
  23934. "goodsname",
  23935. "marketid",
  23936. "trademode"
  23937. ],
  23938. "properties": {
  23939. "agreeunit": {
  23940. "description": "合约单位",
  23941. "type": "number"
  23942. },
  23943. "buymaxqty": {
  23944. "description": "购买上限 [71] - 0为不限",
  23945. "type": "integer"
  23946. },
  23947. "currency": {
  23948. "description": "货币",
  23949. "type": "string"
  23950. },
  23951. "currencysign": {
  23952. "description": "货币符号",
  23953. "type": "string"
  23954. },
  23955. "decimalplace": {
  23956. "description": "报价小数位",
  23957. "type": "integer"
  23958. },
  23959. "desccityid": {
  23960. "description": "目的地(市)ID",
  23961. "type": "integer"
  23962. },
  23963. "descprovinceid": {
  23964. "description": "目的地(省)ID",
  23965. "type": "integer"
  23966. },
  23967. "goodscode": {
  23968. "description": "商品代码(内部)",
  23969. "type": "string"
  23970. },
  23971. "goodsdesc": {
  23972. "description": "商品详情",
  23973. "type": "string"
  23974. },
  23975. "goodsid": {
  23976. "description": "商品ID(自增ID SEQ_GOODS)",
  23977. "type": "integer"
  23978. },
  23979. "goodsname": {
  23980. "description": "商品名称",
  23981. "type": "string"
  23982. },
  23983. "goodsprice": {
  23984. "description": "商品价格",
  23985. "type": "number"
  23986. },
  23987. "hotindex": {
  23988. "description": "景点热度",
  23989. "type": "integer"
  23990. },
  23991. "last": {
  23992. "description": "现价",
  23993. "type": "number"
  23994. },
  23995. "limitdown": {
  23996. "description": "跌停价",
  23997. "type": "number"
  23998. },
  23999. "limitup": {
  24000. "description": "涨停价",
  24001. "type": "number"
  24002. },
  24003. "lotsize": {
  24004. "description": "手数最小变动单位",
  24005. "type": "integer"
  24006. },
  24007. "marketid": {
  24008. "description": "所属市场ID",
  24009. "type": "integer"
  24010. },
  24011. "picurls": {
  24012. "description": "介绍图片[多张用逗号分隔]",
  24013. "type": "string"
  24014. },
  24015. "quoteminunit": {
  24016. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24017. "type": "integer"
  24018. },
  24019. "stepvalue": {
  24020. "description": "价格最小变动单位",
  24021. "type": "number"
  24022. },
  24023. "trademode": {
  24024. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24025. "type": "integer"
  24026. },
  24027. "vendorattr": {
  24028. "description": "供应商附件(多张,逗号分隔)",
  24029. "type": "string"
  24030. },
  24031. "vendorname": {
  24032. "description": "供应商名称",
  24033. "type": "string"
  24034. },
  24035. "vendorphone": {
  24036. "description": "供应商客服电话",
  24037. "type": "string"
  24038. },
  24039. "videourls": {
  24040. "description": "介绍视频[多张用逗号分隔]",
  24041. "type": "string"
  24042. }
  24043. }
  24044. },
  24045. "models.HsbyMarketGoods": {
  24046. "type": "object",
  24047. "required": [
  24048. "accountid",
  24049. "buyorsell",
  24050. "goodscode",
  24051. "goodsid",
  24052. "goodsname",
  24053. "marketid",
  24054. "orderid",
  24055. "trademode"
  24056. ],
  24057. "properties": {
  24058. "accountid": {
  24059. "description": "账户ID[报价币种]",
  24060. "type": "integer"
  24061. },
  24062. "agreeunit": {
  24063. "description": "合约单位",
  24064. "type": "number"
  24065. },
  24066. "buyorsell": {
  24067. "description": "买卖 - 0:买 1:卖",
  24068. "type": "integer"
  24069. },
  24070. "categoryid": {
  24071. "description": "类别ID(WRCATEGORY)",
  24072. "type": "integer"
  24073. },
  24074. "currency": {
  24075. "description": "货币",
  24076. "type": "string"
  24077. },
  24078. "currencysign": {
  24079. "description": "货币符号",
  24080. "type": "string"
  24081. },
  24082. "customername": {
  24083. "description": "卖家名称",
  24084. "type": "string"
  24085. },
  24086. "decimalplace": {
  24087. "description": "报价小数位",
  24088. "type": "integer"
  24089. },
  24090. "goodscode": {
  24091. "description": "商品代码(内部)",
  24092. "type": "string"
  24093. },
  24094. "goodsid": {
  24095. "description": "商品ID",
  24096. "type": "integer"
  24097. },
  24098. "goodsname": {
  24099. "description": "商品名称",
  24100. "type": "string"
  24101. },
  24102. "goodsprice": {
  24103. "description": "商品价格",
  24104. "type": "number"
  24105. },
  24106. "hascoupon": {
  24107. "description": "是否可用优惠卷",
  24108. "type": "boolean"
  24109. },
  24110. "hotindex": {
  24111. "description": "景点热度",
  24112. "type": "integer"
  24113. },
  24114. "marketid": {
  24115. "description": "市场ID",
  24116. "type": "integer"
  24117. },
  24118. "orderid": {
  24119. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24120. "type": "string"
  24121. },
  24122. "orderprice": {
  24123. "description": "委托价格",
  24124. "type": "number"
  24125. },
  24126. "orderstatus": {
  24127. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24128. "type": "integer"
  24129. },
  24130. "picurls": {
  24131. "description": "介绍图片[多张用逗号分隔]",
  24132. "type": "string"
  24133. },
  24134. "quoteminunit": {
  24135. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24136. "type": "integer"
  24137. },
  24138. "sellUserID": {
  24139. "description": "卖方UserID",
  24140. "type": "integer"
  24141. },
  24142. "trademode": {
  24143. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24144. "type": "integer"
  24145. },
  24146. "videourls": {
  24147. "description": "介绍视频[多张用逗号分隔]",
  24148. "type": "string"
  24149. }
  24150. }
  24151. },
  24152. "models.HsbyMarketGoodsDetail": {
  24153. "type": "object",
  24154. "required": [
  24155. "accountid",
  24156. "buyorsell",
  24157. "goodscode",
  24158. "goodsid",
  24159. "goodsname",
  24160. "marketid",
  24161. "orderid",
  24162. "orderqty",
  24163. "trademode"
  24164. ],
  24165. "properties": {
  24166. "accountid": {
  24167. "description": "账户ID[报价币种]",
  24168. "type": "integer"
  24169. },
  24170. "agreeunit": {
  24171. "description": "合约单位",
  24172. "type": "number"
  24173. },
  24174. "buymaxqty": {
  24175. "description": "购买上限 [71] - 0为不限",
  24176. "type": "integer"
  24177. },
  24178. "buyorsell": {
  24179. "description": "买卖 - 0:买 1:卖",
  24180. "type": "integer"
  24181. },
  24182. "cancelqty": {
  24183. "description": "撤单数量",
  24184. "type": "integer"
  24185. },
  24186. "categoryid": {
  24187. "description": "类别ID(WRCATEGORY)",
  24188. "type": "integer"
  24189. },
  24190. "currency": {
  24191. "description": "货币",
  24192. "type": "string"
  24193. },
  24194. "currencysign": {
  24195. "description": "货币符号",
  24196. "type": "string"
  24197. },
  24198. "customername": {
  24199. "description": "卖家名称",
  24200. "type": "string"
  24201. },
  24202. "decimalplace": {
  24203. "description": "报价小数位",
  24204. "type": "integer"
  24205. },
  24206. "goodscode": {
  24207. "description": "商品代码(内部)",
  24208. "type": "string"
  24209. },
  24210. "goodsdesc": {
  24211. "description": "商品详情",
  24212. "type": "string"
  24213. },
  24214. "goodsid": {
  24215. "description": "商品ID",
  24216. "type": "integer"
  24217. },
  24218. "goodsname": {
  24219. "description": "商品名称",
  24220. "type": "string"
  24221. },
  24222. "goodsprice": {
  24223. "description": "商品价格",
  24224. "type": "number"
  24225. },
  24226. "hotindex": {
  24227. "description": "景点热度",
  24228. "type": "integer"
  24229. },
  24230. "lotsize": {
  24231. "description": "手数最小变动单位",
  24232. "type": "integer"
  24233. },
  24234. "marketid": {
  24235. "description": "市场ID",
  24236. "type": "integer"
  24237. },
  24238. "orderid": {
  24239. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24240. "type": "string"
  24241. },
  24242. "orderprice": {
  24243. "description": "委托价格",
  24244. "type": "number"
  24245. },
  24246. "orderqty": {
  24247. "description": "委托数量",
  24248. "type": "integer"
  24249. },
  24250. "orderstatus": {
  24251. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24252. "type": "integer"
  24253. },
  24254. "picurls": {
  24255. "description": "介绍图片[多张用逗号分隔]",
  24256. "type": "string"
  24257. },
  24258. "quoteminunit": {
  24259. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24260. "type": "integer"
  24261. },
  24262. "sellUserID": {
  24263. "description": "卖方UserID",
  24264. "type": "integer"
  24265. },
  24266. "trademode": {
  24267. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24268. "type": "integer"
  24269. },
  24270. "tradeqty": {
  24271. "description": "成交数量",
  24272. "type": "integer"
  24273. },
  24274. "vendorattr": {
  24275. "description": "供应商附件(多张,逗号分隔)",
  24276. "type": "string"
  24277. },
  24278. "vendorname": {
  24279. "description": "供应商名称",
  24280. "type": "string"
  24281. },
  24282. "vendorphone": {
  24283. "description": "供应商客服电话",
  24284. "type": "string"
  24285. },
  24286. "videourls": {
  24287. "description": "介绍视频[多张用逗号分隔]",
  24288. "type": "string"
  24289. }
  24290. }
  24291. },
  24292. "models.HsbyMarketInfo": {
  24293. "type": "object",
  24294. "required": [
  24295. "marketid",
  24296. "marketstatus",
  24297. "trademode"
  24298. ],
  24299. "properties": {
  24300. "marketid": {
  24301. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24302. "type": "integer"
  24303. },
  24304. "marketname": {
  24305. "description": "市场名称",
  24306. "type": "string"
  24307. },
  24308. "marketstatus": {
  24309. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24310. "type": "integer"
  24311. },
  24312. "trademode": {
  24313. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24314. "type": "integer"
  24315. }
  24316. }
  24317. },
  24318. "models.HsbyMyGoods": {
  24319. "type": "object",
  24320. "required": [
  24321. "accountid",
  24322. "goodscode",
  24323. "goodsid",
  24324. "goodsname",
  24325. "marketid",
  24326. "trademode"
  24327. ],
  24328. "properties": {
  24329. "accountid": {
  24330. "description": "账号Id",
  24331. "type": "integer"
  24332. },
  24333. "agreeunit": {
  24334. "description": "合约单位",
  24335. "type": "number"
  24336. },
  24337. "buyaverageprice": {
  24338. "description": "持仓均价",
  24339. "type": "number"
  24340. },
  24341. "buycurholderamount": {
  24342. "description": "买当前持仓总金额[商品币种]",
  24343. "type": "number"
  24344. },
  24345. "buycurpositionqty": {
  24346. "description": "买当前持仓总数量",
  24347. "type": "integer"
  24348. },
  24349. "buymaxqty": {
  24350. "description": "购买上限 [71] - 0为不限",
  24351. "type": "integer"
  24352. },
  24353. "currencysign": {
  24354. "description": "货币符号",
  24355. "type": "string"
  24356. },
  24357. "decimalplace": {
  24358. "description": "报价小数位",
  24359. "type": "integer"
  24360. },
  24361. "enableqty": {
  24362. "description": "可用数量",
  24363. "type": "integer"
  24364. },
  24365. "goodscode": {
  24366. "description": "商品代码(内部)",
  24367. "type": "string"
  24368. },
  24369. "goodsid": {
  24370. "description": "商品Id",
  24371. "type": "integer"
  24372. },
  24373. "goodsname": {
  24374. "description": "商品名称",
  24375. "type": "string"
  24376. },
  24377. "goodsprice": {
  24378. "description": "商品价格",
  24379. "type": "number"
  24380. },
  24381. "goodsstatus": {
  24382. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24383. "type": "integer"
  24384. },
  24385. "last": {
  24386. "description": "现价(仅使用于挂牌点选)",
  24387. "type": "number"
  24388. },
  24389. "limitdown": {
  24390. "description": "跌停价(仅使用于挂牌点选)",
  24391. "type": "number"
  24392. },
  24393. "limitup": {
  24394. "description": "涨停价(仅使用于挂牌点选)",
  24395. "type": "number"
  24396. },
  24397. "lotsize": {
  24398. "description": "手数最小变动单位",
  24399. "type": "integer"
  24400. },
  24401. "marketid": {
  24402. "description": "所属市场ID",
  24403. "type": "integer"
  24404. },
  24405. "picurls": {
  24406. "description": "介绍图片[多张用逗号分隔]",
  24407. "type": "string"
  24408. },
  24409. "quoteminunit": {
  24410. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24411. "type": "integer"
  24412. },
  24413. "stepvalue": {
  24414. "description": "价格最小变动单位",
  24415. "type": "number"
  24416. },
  24417. "trademode": {
  24418. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24419. "type": "integer"
  24420. }
  24421. }
  24422. },
  24423. "models.HsbyMyPackage": {
  24424. "type": "object",
  24425. "required": [
  24426. "goodscode",
  24427. "goodsname",
  24428. "takeorderid",
  24429. "trademode"
  24430. ],
  24431. "properties": {
  24432. "accountid": {
  24433. "description": "账户ID",
  24434. "type": "integer"
  24435. },
  24436. "address": {
  24437. "description": "提货人详细地址",
  24438. "type": "string"
  24439. },
  24440. "agreeunit": {
  24441. "description": "合约单位",
  24442. "type": "number"
  24443. },
  24444. "amount": {
  24445. "description": "提货金额",
  24446. "type": "number"
  24447. },
  24448. "auditer": {
  24449. "description": "审核人",
  24450. "type": "integer"
  24451. },
  24452. "audittime": {
  24453. "description": "审核时间",
  24454. "type": "string"
  24455. },
  24456. "averageprice": {
  24457. "description": "均价",
  24458. "type": "number"
  24459. },
  24460. "cardnum": {
  24461. "description": "提货人证件号码",
  24462. "type": "string"
  24463. },
  24464. "cardtypeid": {
  24465. "description": "提货人证件类型",
  24466. "type": "integer"
  24467. },
  24468. "checkremark": {
  24469. "description": "审核备注",
  24470. "type": "string"
  24471. },
  24472. "currencysign": {
  24473. "description": "货币符号",
  24474. "type": "string"
  24475. },
  24476. "decimalplace": {
  24477. "description": "报价小数位",
  24478. "type": "integer"
  24479. },
  24480. "goodscode": {
  24481. "description": "商品代码(内部)",
  24482. "type": "string"
  24483. },
  24484. "goodsid": {
  24485. "description": "商品ID",
  24486. "type": "integer"
  24487. },
  24488. "goodsname": {
  24489. "description": "商品名称",
  24490. "type": "string"
  24491. },
  24492. "handlestatus": {
  24493. "description": "处理状态",
  24494. "type": "integer"
  24495. },
  24496. "marketid": {
  24497. "description": "市场ID",
  24498. "type": "integer"
  24499. },
  24500. "phonenum": {
  24501. "description": "提货人联系方式",
  24502. "type": "string"
  24503. },
  24504. "picurls": {
  24505. "description": "介绍图片[多张用逗号分隔]",
  24506. "type": "string"
  24507. },
  24508. "qty": {
  24509. "description": "提货数量",
  24510. "type": "number"
  24511. },
  24512. "recivername": {
  24513. "description": "提货人姓名",
  24514. "type": "string"
  24515. },
  24516. "reqtime": {
  24517. "description": "更新时间",
  24518. "type": "string"
  24519. },
  24520. "takemode": {
  24521. "description": "提货方式 - 2:自提 3:配送",
  24522. "type": "integer"
  24523. },
  24524. "takeorderid": {
  24525. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24526. "type": "string"
  24527. },
  24528. "takeorderstatus": {
  24529. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24530. "type": "integer"
  24531. },
  24532. "takeremark": {
  24533. "description": "提货备注",
  24534. "type": "string"
  24535. },
  24536. "tradedate": {
  24537. "description": "交易日(yyyyMMdd)",
  24538. "type": "string"
  24539. },
  24540. "trademode": {
  24541. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24542. "type": "integer"
  24543. },
  24544. "userid": {
  24545. "description": "用户ID",
  24546. "type": "integer"
  24547. },
  24548. "vendorname": {
  24549. "description": "供应商名称",
  24550. "type": "string"
  24551. }
  24552. }
  24553. },
  24554. "models.HsbyPreGoods": {
  24555. "type": "object",
  24556. "required": [
  24557. "goodscode",
  24558. "goodsid",
  24559. "goodsname",
  24560. "marketid",
  24561. "trademode"
  24562. ],
  24563. "properties": {
  24564. "agreeunit": {
  24565. "description": "合约单位",
  24566. "type": "number"
  24567. },
  24568. "currency": {
  24569. "description": "货币",
  24570. "type": "string"
  24571. },
  24572. "currencysign": {
  24573. "description": "货币符号",
  24574. "type": "string"
  24575. },
  24576. "decimalplace": {
  24577. "description": "报价小数位",
  24578. "type": "integer"
  24579. },
  24580. "desccityid": {
  24581. "description": "目的地(市)",
  24582. "type": "integer"
  24583. },
  24584. "descprovinceid": {
  24585. "description": "目的地(省)",
  24586. "type": "integer"
  24587. },
  24588. "enableqty": {
  24589. "description": "剩余数量",
  24590. "type": "integer"
  24591. },
  24592. "goodscode": {
  24593. "description": "商品代码(内部)",
  24594. "type": "string"
  24595. },
  24596. "goodsid": {
  24597. "description": "商品ID(自增ID SEQ_GOODS)",
  24598. "type": "integer"
  24599. },
  24600. "goodsname": {
  24601. "description": "商品名称",
  24602. "type": "string"
  24603. },
  24604. "goodsstatus": {
  24605. "description": "商品状态- 2:未上市 3:上市",
  24606. "type": "integer"
  24607. },
  24608. "lasttradedate": {
  24609. "description": "最后交易日期(状态:待退市)",
  24610. "type": "string"
  24611. },
  24612. "listingdate": {
  24613. "description": "交易开始日期",
  24614. "type": "string"
  24615. },
  24616. "marketid": {
  24617. "description": "所属市场ID",
  24618. "type": "integer"
  24619. },
  24620. "picurls": {
  24621. "description": "介绍图片[多张用逗号分隔]",
  24622. "type": "string"
  24623. },
  24624. "presaledqty": {
  24625. "description": "已预售量(预售结束时更新)",
  24626. "type": "integer"
  24627. },
  24628. "presaleqty": {
  24629. "description": "预售数量",
  24630. "type": "integer"
  24631. },
  24632. "quoteminunit": {
  24633. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24634. "type": "integer"
  24635. },
  24636. "refprice": {
  24637. "description": "参考价格[一口价]",
  24638. "type": "number"
  24639. },
  24640. "relatedgoodsid": {
  24641. "description": "关联交易合约ID",
  24642. "type": "integer"
  24643. },
  24644. "trademode": {
  24645. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24646. "type": "integer"
  24647. },
  24648. "videourls": {
  24649. "description": "介绍视频[多张用逗号分隔]",
  24650. "type": "string"
  24651. }
  24652. }
  24653. },
  24654. "models.HsbyPreGoodsDetail": {
  24655. "type": "object",
  24656. "required": [
  24657. "goodscode",
  24658. "goodsid",
  24659. "goodsname",
  24660. "marketid",
  24661. "trademode"
  24662. ],
  24663. "properties": {
  24664. "agreeunit": {
  24665. "description": "合约单位",
  24666. "type": "number"
  24667. },
  24668. "buymaxqty": {
  24669. "description": "购买上限 [71] - 0为不限",
  24670. "type": "integer"
  24671. },
  24672. "currency": {
  24673. "description": "货币",
  24674. "type": "string"
  24675. },
  24676. "currencysign": {
  24677. "description": "货币符号",
  24678. "type": "string"
  24679. },
  24680. "customername": {
  24681. "description": "发行单位",
  24682. "type": "string"
  24683. },
  24684. "decimalplace": {
  24685. "description": "报价小数位",
  24686. "type": "integer"
  24687. },
  24688. "desccityid": {
  24689. "description": "目的地(市)ID",
  24690. "type": "integer"
  24691. },
  24692. "descprovinceid": {
  24693. "description": "目的地(省)ID",
  24694. "type": "integer"
  24695. },
  24696. "enableqty": {
  24697. "description": "剩余数量",
  24698. "type": "integer"
  24699. },
  24700. "goodscode": {
  24701. "description": "商品代码(内部)",
  24702. "type": "string"
  24703. },
  24704. "goodsdesc": {
  24705. "description": "商品详情",
  24706. "type": "string"
  24707. },
  24708. "goodsid": {
  24709. "description": "商品ID(自增ID SEQ_GOODS)",
  24710. "type": "integer"
  24711. },
  24712. "goodsname": {
  24713. "description": "商品名称",
  24714. "type": "string"
  24715. },
  24716. "goodsstatus": {
  24717. "description": "商品状态- 2:未上市 3:上市",
  24718. "type": "integer"
  24719. },
  24720. "goodunit": {
  24721. "description": "报价单位",
  24722. "type": "string"
  24723. },
  24724. "lasttradedate": {
  24725. "description": "最后交易日期(状态:待退市)",
  24726. "type": "string"
  24727. },
  24728. "listingdate": {
  24729. "description": "交易开始日期",
  24730. "type": "string"
  24731. },
  24732. "lotsize": {
  24733. "description": "手数最小变动单位",
  24734. "type": "integer"
  24735. },
  24736. "marketid": {
  24737. "description": "所属市场ID",
  24738. "type": "integer"
  24739. },
  24740. "picurls": {
  24741. "description": "介绍图片[多张用逗号分隔]",
  24742. "type": "string"
  24743. },
  24744. "presaledqty": {
  24745. "description": "已预售量(预售结束时更新)",
  24746. "type": "integer"
  24747. },
  24748. "presaleqty": {
  24749. "description": "预售数量",
  24750. "type": "integer"
  24751. },
  24752. "quoteminunit": {
  24753. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24754. "type": "integer"
  24755. },
  24756. "refprice": {
  24757. "description": "参考价格[一口价]",
  24758. "type": "number"
  24759. },
  24760. "relatedgoodsid": {
  24761. "description": "关联交易合约ID",
  24762. "type": "integer"
  24763. },
  24764. "stepvalue": {
  24765. "description": "价格最小变动单位",
  24766. "type": "number"
  24767. },
  24768. "trademode": {
  24769. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24770. "type": "integer"
  24771. },
  24772. "vendorattr": {
  24773. "description": "供应商附件(多张,逗号分隔)",
  24774. "type": "string"
  24775. },
  24776. "vendorname": {
  24777. "description": "供应商名称",
  24778. "type": "string"
  24779. },
  24780. "vendorphone": {
  24781. "description": "供应商客服电话",
  24782. "type": "string"
  24783. },
  24784. "videourls": {
  24785. "description": "介绍视频[多张用逗号分隔]",
  24786. "type": "string"
  24787. }
  24788. }
  24789. },
  24790. "models.HsbySellCollectionOrder": {
  24791. "type": "object",
  24792. "required": [
  24793. "goodscode",
  24794. "goodsname",
  24795. "tradeid",
  24796. "trademode"
  24797. ],
  24798. "properties": {
  24799. "agreeunit": {
  24800. "description": "合约单位",
  24801. "type": "number"
  24802. },
  24803. "buyaccountid": {
  24804. "description": "买方账号ID[报价币种]",
  24805. "type": "integer"
  24806. },
  24807. "buyorderid": {
  24808. "description": "买方委托单号",
  24809. "type": "string"
  24810. },
  24811. "createtime": {
  24812. "description": "创建时间",
  24813. "type": "string"
  24814. },
  24815. "currencysign": {
  24816. "description": "货币符号",
  24817. "type": "string"
  24818. },
  24819. "decimalplace": {
  24820. "description": "报价小数位",
  24821. "type": "integer"
  24822. },
  24823. "goodscode": {
  24824. "description": "商品代码(内部)",
  24825. "type": "string"
  24826. },
  24827. "goodsid": {
  24828. "description": "商品ID",
  24829. "type": "integer"
  24830. },
  24831. "goodsname": {
  24832. "description": "商品名称",
  24833. "type": "string"
  24834. },
  24835. "marketid": {
  24836. "description": "市场ID",
  24837. "type": "integer"
  24838. },
  24839. "offamount": {
  24840. "description": "优惠金额",
  24841. "type": "number"
  24842. },
  24843. "payamount": {
  24844. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24845. "type": "number"
  24846. },
  24847. "payflag": {
  24848. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24849. "type": "integer"
  24850. },
  24851. "paylimitedtime": {
  24852. "description": "支付期限",
  24853. "type": "string"
  24854. },
  24855. "paytime": {
  24856. "description": "付款时间",
  24857. "type": "string"
  24858. },
  24859. "picurls": {
  24860. "description": "商品介绍图片[多张用逗号分隔]",
  24861. "type": "string"
  24862. },
  24863. "sellaccountid": {
  24864. "description": "卖方账号ID[报价币种]",
  24865. "type": "integer"
  24866. },
  24867. "sellorderid": {
  24868. "description": "卖方委托单号",
  24869. "type": "string"
  24870. },
  24871. "tradeamount": {
  24872. "description": "成交金额",
  24873. "type": "number"
  24874. },
  24875. "tradecharge": {
  24876. "description": "成交手续费(买方)",
  24877. "type": "number"
  24878. },
  24879. "tradedate": {
  24880. "description": "交易日(yyyyMMdd)",
  24881. "type": "string"
  24882. },
  24883. "tradeid": {
  24884. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24885. "type": "string"
  24886. },
  24887. "trademode": {
  24888. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24889. "type": "integer"
  24890. },
  24891. "tradeprice": {
  24892. "description": "成交价格",
  24893. "type": "number"
  24894. },
  24895. "tradeqty": {
  24896. "description": "成交数量",
  24897. "type": "integer"
  24898. }
  24899. }
  24900. },
  24901. "models.HsbySellMyDetail": {
  24902. "type": "object",
  24903. "required": [
  24904. "accountid",
  24905. "buyorsell",
  24906. "goodscode",
  24907. "goodsid",
  24908. "goodsname",
  24909. "marketid",
  24910. "orderid",
  24911. "time",
  24912. "trademode"
  24913. ],
  24914. "properties": {
  24915. "accountid": {
  24916. "description": "账户ID[报价币种]",
  24917. "type": "integer"
  24918. },
  24919. "agreeunit": {
  24920. "description": "合约单位",
  24921. "type": "number"
  24922. },
  24923. "buyorsell": {
  24924. "description": "买卖 - 0:买 1:卖",
  24925. "type": "integer"
  24926. },
  24927. "currencysign": {
  24928. "description": "货币符号",
  24929. "type": "string"
  24930. },
  24931. "decimalplace": {
  24932. "description": "报价小数位",
  24933. "type": "integer"
  24934. },
  24935. "goodscode": {
  24936. "description": "商品代码(内部)",
  24937. "type": "string"
  24938. },
  24939. "goodsid": {
  24940. "description": "商品ID",
  24941. "type": "integer"
  24942. },
  24943. "goodsname": {
  24944. "description": "商品名称",
  24945. "type": "string"
  24946. },
  24947. "marketid": {
  24948. "description": "市场ID",
  24949. "type": "integer"
  24950. },
  24951. "orderid": {
  24952. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24953. "type": "string"
  24954. },
  24955. "ordertype": {
  24956. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24957. "type": "integer"
  24958. },
  24959. "picurls": {
  24960. "description": "介绍图片[多张用逗号分隔]",
  24961. "type": "string"
  24962. },
  24963. "price": {
  24964. "description": "价格",
  24965. "type": "number"
  24966. },
  24967. "qty": {
  24968. "description": "数量",
  24969. "type": "integer"
  24970. },
  24971. "time": {
  24972. "description": "时间",
  24973. "type": "string"
  24974. },
  24975. "trademode": {
  24976. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24977. "type": "integer"
  24978. },
  24979. "vendorname": {
  24980. "description": "供应商名称",
  24981. "type": "string"
  24982. }
  24983. }
  24984. },
  24985. "models.HsbyTopGoods": {
  24986. "type": "object",
  24987. "required": [
  24988. "goodscode",
  24989. "goodsid",
  24990. "goodsname",
  24991. "marketid",
  24992. "trademode"
  24993. ],
  24994. "properties": {
  24995. "agreeunit": {
  24996. "description": "合约单位",
  24997. "type": "number"
  24998. },
  24999. "currency": {
  25000. "description": "货币",
  25001. "type": "string"
  25002. },
  25003. "currencysign": {
  25004. "description": "货币符号",
  25005. "type": "string"
  25006. },
  25007. "decimalplace": {
  25008. "description": "报价小数位",
  25009. "type": "integer"
  25010. },
  25011. "desccityid": {
  25012. "description": "目的地(市)",
  25013. "type": "integer"
  25014. },
  25015. "descprovinceid": {
  25016. "description": "目的地(省)",
  25017. "type": "integer"
  25018. },
  25019. "goodscode": {
  25020. "description": "商品代码(内部)",
  25021. "type": "string"
  25022. },
  25023. "goodsid": {
  25024. "description": "商品ID(自增ID SEQ_GOODS)",
  25025. "type": "integer"
  25026. },
  25027. "goodsname": {
  25028. "description": "商品名称",
  25029. "type": "string"
  25030. },
  25031. "hotindex": {
  25032. "description": "景点热度",
  25033. "type": "integer"
  25034. },
  25035. "last": {
  25036. "description": "现价",
  25037. "type": "number"
  25038. },
  25039. "marketid": {
  25040. "description": "所属市场ID",
  25041. "type": "integer"
  25042. },
  25043. "picurls": {
  25044. "description": "介绍图片[多张用逗号分隔]",
  25045. "type": "string"
  25046. },
  25047. "quoteminunit": {
  25048. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25049. "type": "integer"
  25050. },
  25051. "trademode": {
  25052. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25053. "type": "integer"
  25054. },
  25055. "videourls": {
  25056. "description": "介绍视频[多张用逗号分隔]",
  25057. "type": "string"
  25058. }
  25059. }
  25060. },
  25061. "models.HybsMyBuyOrderDetail": {
  25062. "type": "object",
  25063. "required": [
  25064. "accountid",
  25065. "buyorsell",
  25066. "goodscode",
  25067. "goodsid",
  25068. "goodsname",
  25069. "marketid",
  25070. "orderid",
  25071. "orderqty",
  25072. "ordertime",
  25073. "trademode"
  25074. ],
  25075. "properties": {
  25076. "accountid": {
  25077. "description": "账户ID[报价币种]",
  25078. "type": "integer"
  25079. },
  25080. "agreeunit": {
  25081. "description": "合约单位",
  25082. "type": "number"
  25083. },
  25084. "buyorsell": {
  25085. "description": "买卖 - 0:买 1:卖",
  25086. "type": "integer"
  25087. },
  25088. "cancelqty": {
  25089. "description": "撤单数量",
  25090. "type": "integer"
  25091. },
  25092. "currencysign": {
  25093. "description": "货币符号",
  25094. "type": "string"
  25095. },
  25096. "decimalplace": {
  25097. "description": "报价小数位",
  25098. "type": "integer"
  25099. },
  25100. "goodscode": {
  25101. "description": "商品代码(内部)",
  25102. "type": "string"
  25103. },
  25104. "goodsid": {
  25105. "description": "商品ID",
  25106. "type": "integer"
  25107. },
  25108. "goodsname": {
  25109. "description": "商品名称",
  25110. "type": "string"
  25111. },
  25112. "listingselecttype": {
  25113. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25114. "type": "integer"
  25115. },
  25116. "marketid": {
  25117. "description": "市场ID",
  25118. "type": "integer"
  25119. },
  25120. "mybuystatus": {
  25121. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  25122. "type": "integer"
  25123. },
  25124. "orderamount": {
  25125. "description": "委托金额",
  25126. "type": "number"
  25127. },
  25128. "orderid": {
  25129. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25130. "type": "string"
  25131. },
  25132. "orderprice": {
  25133. "description": "委托价格",
  25134. "type": "number"
  25135. },
  25136. "orderqty": {
  25137. "description": "委托数量",
  25138. "type": "integer"
  25139. },
  25140. "orderstatus": {
  25141. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25142. "type": "integer"
  25143. },
  25144. "ordertime": {
  25145. "description": "委托时间",
  25146. "type": "string"
  25147. },
  25148. "picurls1": {
  25149. "description": "预售商品介绍图片[多张用逗号分隔]",
  25150. "type": "string"
  25151. },
  25152. "picurls2": {
  25153. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25154. "type": "string"
  25155. },
  25156. "trademode": {
  25157. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25158. "type": "integer"
  25159. },
  25160. "tradeqty": {
  25161. "description": "成交数量",
  25162. "type": "integer"
  25163. },
  25164. "vendorname1": {
  25165. "description": "预售商品供应商名称",
  25166. "type": "string"
  25167. },
  25168. "vendorname2": {
  25169. "description": "挂牌商品供应商名称",
  25170. "type": "string"
  25171. }
  25172. }
  25173. },
  25174. "models.Loginaccount": {
  25175. "type": "object",
  25176. "required": [
  25177. "loginid"
  25178. ],
  25179. "properties": {
  25180. "accountname": {
  25181. "description": "账户名称",
  25182. "type": "string"
  25183. },
  25184. "canoutin": {
  25185. "description": "是否可出入金 - 0:不可 1:可",
  25186. "type": "integer"
  25187. },
  25188. "clientroleid": {
  25189. "description": "终端角色ID",
  25190. "type": "integer"
  25191. },
  25192. "haslogined": {
  25193. "description": "是否已登录 - 0:未登录 1:已登录",
  25194. "type": "integer"
  25195. },
  25196. "hasupdatedpwd": {
  25197. "description": "是否已更改密码 - 0:未修改 1:已修改",
  25198. "type": "integer"
  25199. },
  25200. "lastloginip": {
  25201. "description": "最新登录地址",
  25202. "type": "string"
  25203. },
  25204. "lastloginmode": {
  25205. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25206. "type": "integer"
  25207. },
  25208. "lastloginremark": {
  25209. "description": "最新登录描述",
  25210. "type": "string"
  25211. },
  25212. "lastlogintime": {
  25213. "description": "最新登录时间",
  25214. "type": "string"
  25215. },
  25216. "logincode": {
  25217. "description": "登录代码",
  25218. "type": "string"
  25219. },
  25220. "loginfailnum": {
  25221. "description": "连续登录失败次数(登录成功时清零)",
  25222. "type": "integer"
  25223. },
  25224. "loginid": {
  25225. "description": "登陆账号",
  25226. "type": "integer"
  25227. },
  25228. "loginport": {
  25229. "description": "最新登录端口",
  25230. "type": "integer"
  25231. },
  25232. "loginstatus": {
  25233. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  25234. "type": "integer"
  25235. },
  25236. "loginusertype": {
  25237. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  25238. "type": "integer"
  25239. },
  25240. "mobile": {
  25241. "description": "手机号码(加密存储)",
  25242. "type": "string"
  25243. },
  25244. "modifierid": {
  25245. "description": "修改人",
  25246. "type": "integer"
  25247. },
  25248. "modifysrc": {
  25249. "description": "审核来源 - 1:管理端 2:终端",
  25250. "type": "integer"
  25251. },
  25252. "modifytime": {
  25253. "description": "修改时间",
  25254. "type": "string"
  25255. },
  25256. "password": {
  25257. "description": "登陆密码",
  25258. "type": "string"
  25259. },
  25260. "pwdwrongcount": {
  25261. "description": "密码错误次数",
  25262. "type": "integer"
  25263. },
  25264. "relateduserid": {
  25265. "description": "关联用户ID(机构)",
  25266. "type": "integer"
  25267. },
  25268. "taaccountrighttype": {
  25269. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  25270. "type": "integer"
  25271. },
  25272. "unfreezetime": {
  25273. "description": "账户解冻时间",
  25274. "type": "string"
  25275. },
  25276. "userid": {
  25277. "description": "用户ID",
  25278. "type": "integer"
  25279. }
  25280. }
  25281. },
  25282. "models.MainAccountInfo": {
  25283. "type": "object",
  25284. "properties": {
  25285. "accountid": {
  25286. "description": "账号id",
  25287. "type": "integer"
  25288. },
  25289. "accountname": {
  25290. "description": "账号名称(taaccount表中的名称)",
  25291. "type": "string"
  25292. },
  25293. "appid": {
  25294. "description": "AppID",
  25295. "type": "string"
  25296. },
  25297. "authcode": {
  25298. "description": "授权码",
  25299. "type": "string"
  25300. },
  25301. "brokerid": {
  25302. "description": "经纪商id",
  25303. "type": "string"
  25304. },
  25305. "fcid": {
  25306. "description": "期货公司id",
  25307. "type": "integer"
  25308. },
  25309. "fcname": {
  25310. "description": "期货公司代码",
  25311. "type": "string"
  25312. },
  25313. "hedgeaccountcode": {
  25314. "description": "外部账号代码(主账号登录代码)",
  25315. "type": "string"
  25316. },
  25317. "hedgeaccountpwd": {
  25318. "description": "密码",
  25319. "type": "string"
  25320. },
  25321. "ismain": {
  25322. "description": "是否主账号",
  25323. "type": "integer"
  25324. },
  25325. "relateduserid": {
  25326. "description": "关联用户id",
  25327. "type": "integer"
  25328. },
  25329. "userid": {
  25330. "description": "关联用户id",
  25331. "type": "integer"
  25332. }
  25333. }
  25334. },
  25335. "models.Market": {
  25336. "type": "object",
  25337. "required": [
  25338. "marketid",
  25339. "marketstatus",
  25340. "openmethod",
  25341. "reckonpricealgorithm",
  25342. "trademode",
  25343. "tradeproperty"
  25344. ],
  25345. "properties": {
  25346. "auctionwrtype": {
  25347. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  25348. "type": "integer"
  25349. },
  25350. "canacceptquote": {
  25351. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  25352. "type": "integer"
  25353. },
  25354. "cangoodsexercise": {
  25355. "description": "[期权]是否可现货行权- 0:否 1:是",
  25356. "type": "integer"
  25357. },
  25358. "cangoodsexercisetype": {
  25359. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  25360. "type": "integer"
  25361. },
  25362. "canmanualquotestrike": {
  25363. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  25364. "type": "integer"
  25365. },
  25366. "canmutistage": {
  25367. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  25368. "type": "integer"
  25369. },
  25370. "canpreexercise": {
  25371. "description": "[期权]是否可预申报- 0:否 1:是",
  25372. "type": "integer"
  25373. },
  25374. "clearinterval": {
  25375. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  25376. "type": "integer"
  25377. },
  25378. "contracttmp": {
  25379. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  25380. "type": "string"
  25381. },
  25382. "exchareaid": {
  25383. "description": "所属交易所,可以没有",
  25384. "type": "integer"
  25385. },
  25386. "goodstype": {
  25387. "description": "商品类型 - 1:交易商品 2:仓单商品",
  25388. "type": "integer"
  25389. },
  25390. "hasrebate": {
  25391. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  25392. "type": "integer"
  25393. },
  25394. "hastradecredit": {
  25395. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  25396. "type": "integer"
  25397. },
  25398. "haswr": {
  25399. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  25400. "type": "integer"
  25401. },
  25402. "isdeductmargin": {
  25403. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  25404. "type": "integer"
  25405. },
  25406. "isrecordsource": {
  25407. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  25408. "type": "integer"
  25409. },
  25410. "isreleasemargin": {
  25411. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  25412. "type": "integer"
  25413. },
  25414. "marginformula": {
  25415. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25416. "type": "integer"
  25417. },
  25418. "marginformula2": {
  25419. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25420. "type": "integer"
  25421. },
  25422. "marketid": {
  25423. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25424. "type": "integer"
  25425. },
  25426. "marketname": {
  25427. "description": "市场名称",
  25428. "type": "string"
  25429. },
  25430. "marketserviceid": {
  25431. "description": "市场服务ID",
  25432. "type": "integer"
  25433. },
  25434. "marketstatus": {
  25435. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25436. "type": "integer"
  25437. },
  25438. "markettype": {
  25439. "description": "市场类型- 1:非交易服务 2:交易服务",
  25440. "type": "integer"
  25441. },
  25442. "matchermode": {
  25443. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  25444. "type": "integer"
  25445. },
  25446. "openmethod": {
  25447. "description": "开盘模式 - 0 自动 1手动",
  25448. "type": "integer"
  25449. },
  25450. "otcuserid": {
  25451. "description": "场外期权做市商[场外期权]",
  25452. "type": "integer"
  25453. },
  25454. "outersynctime": {
  25455. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  25456. "type": "string"
  25457. },
  25458. "pendingflag": {
  25459. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  25460. "type": "integer"
  25461. },
  25462. "pendingtime": {
  25463. "description": "待开市时间[通道交易-对冲](HH:mm)",
  25464. "type": "string"
  25465. },
  25466. "performancetempid": {
  25467. "description": "履约计划模板ID - 作废",
  25468. "type": "integer"
  25469. },
  25470. "premiumquotemode": {
  25471. "description": "权利金报价方式 - 1:自动 2:手动",
  25472. "type": "integer"
  25473. },
  25474. "rebateratio": {
  25475. "description": "返利比率[竞价式]",
  25476. "type": "number"
  25477. },
  25478. "reckonorder": {
  25479. "description": "结算顺序",
  25480. "type": "integer"
  25481. },
  25482. "reckonpricealgorithm": {
  25483. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  25484. "type": "integer"
  25485. },
  25486. "reckonpriceparam": {
  25487. "description": "结算价参数",
  25488. "type": "integer"
  25489. },
  25490. "reckontime": {
  25491. "description": "结算时间[通道交易-对冲](HH:mm)",
  25492. "type": "string"
  25493. },
  25494. "roleprioritytype": {
  25495. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  25496. "type": "integer"
  25497. },
  25498. "selllistingauditflag": {
  25499. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  25500. "type": "integer"
  25501. },
  25502. "trademarkettype": {
  25503. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  25504. "type": "integer"
  25505. },
  25506. "trademode": {
  25507. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25508. "type": "integer"
  25509. },
  25510. "tradeproperty": {
  25511. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  25512. "type": "integer"
  25513. },
  25514. "tradetype": {
  25515. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  25516. "type": "integer"
  25517. }
  25518. }
  25519. },
  25520. "models.Marketrun": {
  25521. "type": "object",
  25522. "required": [
  25523. "marketid",
  25524. "nexttradedate",
  25525. "reckonflag",
  25526. "runstatus",
  25527. "tradedate",
  25528. "tradedate2"
  25529. ],
  25530. "properties": {
  25531. "afternexttradedate": {
  25532. "description": "下下交易日",
  25533. "type": "string"
  25534. },
  25535. "clearquoteflag": {
  25536. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  25537. "type": "integer"
  25538. },
  25539. "lastreckondate": {
  25540. "description": "最新交易日(结算成功)",
  25541. "type": "string"
  25542. },
  25543. "machinedate": {
  25544. "description": "机器时间",
  25545. "type": "string"
  25546. },
  25547. "manualflag": {
  25548. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  25549. "type": "integer"
  25550. },
  25551. "marketid": {
  25552. "description": "市场ID",
  25553. "type": "integer"
  25554. },
  25555. "nexttradedate": {
  25556. "description": "下一交易日",
  25557. "type": "string"
  25558. },
  25559. "pretradedate": {
  25560. "description": "上一交易日",
  25561. "type": "string"
  25562. },
  25563. "reckonflag": {
  25564. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  25565. "type": "integer"
  25566. },
  25567. "runstatus": {
  25568. "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.今日免清算",
  25569. "type": "integer"
  25570. },
  25571. "sectionid": {
  25572. "description": "时间段号[多时段时用]",
  25573. "type": "integer"
  25574. },
  25575. "tradedate": {
  25576. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  25577. "type": "string"
  25578. },
  25579. "tradedate2": {
  25580. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  25581. "type": "string"
  25582. },
  25583. "updatetime": {
  25584. "description": "更新时间",
  25585. "type": "string"
  25586. }
  25587. }
  25588. },
  25589. "models.Messageboard": {
  25590. "type": "object",
  25591. "required": [
  25592. "messageboardid"
  25593. ],
  25594. "properties": {
  25595. "contactnum": {
  25596. "description": "联系电话",
  25597. "type": "string"
  25598. },
  25599. "createtime": {
  25600. "description": "创建时间",
  25601. "type": "string"
  25602. },
  25603. "message": {
  25604. "description": "留言信息",
  25605. "type": "string"
  25606. },
  25607. "messageboardid": {
  25608. "description": "留言簿ID(SEQ_MessageBoard)",
  25609. "type": "integer"
  25610. },
  25611. "userid": {
  25612. "description": "用户ID",
  25613. "type": "integer"
  25614. }
  25615. }
  25616. },
  25617. "models.MyCoupon": {
  25618. "type": "object",
  25619. "required": [
  25620. "accountid",
  25621. "coupontypeid"
  25622. ],
  25623. "properties": {
  25624. "accountid": {
  25625. "description": "资金账户ID",
  25626. "type": "integer"
  25627. },
  25628. "areauserid": {
  25629. "description": "所属机构",
  25630. "type": "integer"
  25631. },
  25632. "conditionvalue": {
  25633. "description": "条件阈值(可为0)",
  25634. "type": "number"
  25635. },
  25636. "couponcategroy": {
  25637. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25638. "type": "integer"
  25639. },
  25640. "couponname": {
  25641. "description": "优惠券名称",
  25642. "type": "string"
  25643. },
  25644. "coupontypeid": {
  25645. "description": "优惠券类型ID",
  25646. "type": "string"
  25647. },
  25648. "couponvalue": {
  25649. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25650. "type": "number"
  25651. },
  25652. "curfreezeqty": {
  25653. "description": "期末冻结数量",
  25654. "type": "integer"
  25655. },
  25656. "curqty": {
  25657. "description": "期末数量",
  25658. "type": "integer"
  25659. },
  25660. "isgeneral": {
  25661. "description": "是否通用券 - 0:否 1:是",
  25662. "type": "integer"
  25663. },
  25664. "isunusable": {
  25665. "description": "是否不可用",
  25666. "type": "boolean"
  25667. },
  25668. "limitedflag": {
  25669. "description": "是否指定商品 - 0:不限 1:限制",
  25670. "type": "integer"
  25671. },
  25672. "limitedgoodsids": {
  25673. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25674. "type": "string"
  25675. },
  25676. "orifreezeqty": {
  25677. "description": "期初冻结数量",
  25678. "type": "integer"
  25679. },
  25680. "oriqty": {
  25681. "description": "期初数量",
  25682. "type": "integer"
  25683. },
  25684. "reasontype": {
  25685. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25686. "type": "integer"
  25687. },
  25688. "todaydecrease": {
  25689. "description": "今日减少",
  25690. "type": "integer"
  25691. },
  25692. "todayincrease": {
  25693. "description": "今日增加",
  25694. "type": "integer"
  25695. },
  25696. "userid": {
  25697. "description": "用户ID",
  25698. "type": "integer"
  25699. },
  25700. "userscope": {
  25701. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25702. "type": "string"
  25703. }
  25704. }
  25705. },
  25706. "models.MyCouponHold": {
  25707. "type": "object",
  25708. "required": [
  25709. "couponholdid"
  25710. ],
  25711. "properties": {
  25712. "accountid": {
  25713. "description": "资金账户ID",
  25714. "type": "integer"
  25715. },
  25716. "conditionvalue": {
  25717. "description": "条件阈值(可为0)",
  25718. "type": "number"
  25719. },
  25720. "couponcategroy": {
  25721. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25722. "type": "integer"
  25723. },
  25724. "couponholdid": {
  25725. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25726. "type": "string"
  25727. },
  25728. "couponname": {
  25729. "description": "优惠券名称",
  25730. "type": "string"
  25731. },
  25732. "coupontypeid": {
  25733. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25734. "type": "string"
  25735. },
  25736. "couponvalue": {
  25737. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25738. "type": "number"
  25739. },
  25740. "createtime": {
  25741. "description": "创建时间",
  25742. "type": "string"
  25743. },
  25744. "enddate": {
  25745. "description": "结束日期",
  25746. "type": "string"
  25747. },
  25748. "giveapplyid": {
  25749. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25750. "type": "integer"
  25751. },
  25752. "holdstatus": {
  25753. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25754. "type": "integer"
  25755. },
  25756. "isgeneral": {
  25757. "description": "是否通用券 - 0:否 1:是",
  25758. "type": "integer"
  25759. },
  25760. "limitedflag": {
  25761. "description": "是否指定商品 - 0:不限 1:限制",
  25762. "type": "integer"
  25763. },
  25764. "limitedgoodsids": {
  25765. "description": "指定商品IDs[逗号分隔]",
  25766. "type": "string"
  25767. },
  25768. "qty": {
  25769. "description": "数量(按1平铺)",
  25770. "type": "integer"
  25771. },
  25772. "startdate": {
  25773. "description": "开始日期",
  25774. "type": "string"
  25775. },
  25776. "userid": {
  25777. "description": "用户ID",
  25778. "type": "integer"
  25779. },
  25780. "userscope": {
  25781. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25782. "type": "string"
  25783. }
  25784. }
  25785. },
  25786. "models.MyUsedCoupon": {
  25787. "type": "object",
  25788. "required": [
  25789. "coupontypeid",
  25790. "orderid"
  25791. ],
  25792. "properties": {
  25793. "accountid": {
  25794. "description": "资金账户ID(买方)",
  25795. "type": "integer"
  25796. },
  25797. "conditionvalue": {
  25798. "description": "条件阈值(可为0)",
  25799. "type": "number"
  25800. },
  25801. "couponcategroy": {
  25802. "description": "种类 - 1:现金券 2:折扣券",
  25803. "type": "integer"
  25804. },
  25805. "couponname": {
  25806. "description": "优惠券名称",
  25807. "type": "string"
  25808. },
  25809. "coupontypeid": {
  25810. "description": "优惠券类型ID(买方)",
  25811. "type": "string"
  25812. },
  25813. "couponvalue": {
  25814. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25815. "type": "number"
  25816. },
  25817. "createtime": {
  25818. "description": "创建时间",
  25819. "type": "string"
  25820. },
  25821. "goodsid": {
  25822. "description": "商品ID",
  25823. "type": "integer"
  25824. },
  25825. "handlestatus": {
  25826. "description": "处理状态",
  25827. "type": "integer"
  25828. },
  25829. "marketid": {
  25830. "description": "市场ID",
  25831. "type": "integer"
  25832. },
  25833. "offamount": {
  25834. "description": "优惠金额",
  25835. "type": "number"
  25836. },
  25837. "orderid": {
  25838. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25839. "type": "string"
  25840. },
  25841. "sellaccountid": {
  25842. "description": "资金账户ID(卖方)",
  25843. "type": "integer"
  25844. },
  25845. "tradeamount": {
  25846. "description": "成交金额",
  25847. "type": "number"
  25848. },
  25849. "tradeid": {
  25850. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25851. "type": "string"
  25852. },
  25853. "usedqty": {
  25854. "description": "使用数量",
  25855. "type": "integer"
  25856. }
  25857. }
  25858. },
  25859. "models.OperationPrimaryMenu": {
  25860. "type": "object",
  25861. "properties": {
  25862. "Children": {
  25863. "description": "二级功能菜单",
  25864. "type": "array",
  25865. "items": {
  25866. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25867. }
  25868. },
  25869. "Key": {
  25870. "description": "菜单KEY",
  25871. "type": "string"
  25872. },
  25873. "Label": {
  25874. "description": "菜单标题",
  25875. "type": "string"
  25876. }
  25877. }
  25878. },
  25879. "models.OperationSecondaryMenu": {
  25880. "type": "object",
  25881. "properties": {
  25882. "Key": {
  25883. "description": "菜单KEY",
  25884. "type": "string"
  25885. },
  25886. "Label": {
  25887. "description": "菜单标题",
  25888. "type": "string"
  25889. },
  25890. "TabList": {
  25891. "description": "三级功能菜单",
  25892. "type": "array",
  25893. "items": {
  25894. "$ref": "#/definitions/models.OperationTabMenu"
  25895. }
  25896. }
  25897. }
  25898. },
  25899. "models.OperationTabMenu": {
  25900. "type": "object",
  25901. "properties": {
  25902. "Key": {
  25903. "description": "菜单KEY",
  25904. "type": "string"
  25905. },
  25906. "Label": {
  25907. "description": "菜单标题",
  25908. "type": "string"
  25909. }
  25910. }
  25911. },
  25912. "models.QhjAccountOutInApply": {
  25913. "type": "object",
  25914. "properties": {
  25915. "accountcode": {
  25916. "description": "资金账号",
  25917. "type": "string"
  25918. },
  25919. "accountname": {
  25920. "description": "用户名称(名称)",
  25921. "type": "string"
  25922. },
  25923. "accountpwd": {
  25924. "description": "资金密码",
  25925. "type": "string"
  25926. },
  25927. "accountticket": {
  25928. "description": "最新账户服务流水号",
  25929. "type": "string"
  25930. },
  25931. "amount": {
  25932. "description": "金额",
  25933. "type": "number"
  25934. },
  25935. "applyremark": {
  25936. "description": "申请备注",
  25937. "type": "string"
  25938. },
  25939. "applystatus": {
  25940. "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: 复审通过,账户冻结金额检查中;",
  25941. "type": "integer"
  25942. },
  25943. "auditid": {
  25944. "description": "审核人",
  25945. "type": "integer"
  25946. },
  25947. "audittime": {
  25948. "description": "审核时间",
  25949. "type": "string"
  25950. },
  25951. "bank_apply_ticket": {
  25952. "description": "银行申请流水",
  25953. "type": "string"
  25954. },
  25955. "bankaccountname": {
  25956. "description": "银行账户名",
  25957. "type": "string"
  25958. },
  25959. "bankaccountno": {
  25960. "description": "银行卡号",
  25961. "type": "string"
  25962. },
  25963. "bankid": {
  25964. "description": "银行编号",
  25965. "type": "string"
  25966. },
  25967. "bankticket": {
  25968. "description": "银行流水",
  25969. "type": "string"
  25970. },
  25971. "branchbankid": {
  25972. "description": "银行支行号",
  25973. "type": "string"
  25974. },
  25975. "branchbankname": {
  25976. "description": "银行支行名称",
  25977. "type": "string"
  25978. },
  25979. "capamountout": {
  25980. "description": "出金(劣后本金) - 外部子账户",
  25981. "type": "number"
  25982. },
  25983. "certificatephotourl": {
  25984. "description": "凭证地址",
  25985. "type": "string"
  25986. },
  25987. "charge": {
  25988. "description": "手续费",
  25989. "type": "number"
  25990. },
  25991. "checkerrorflag": {
  25992. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25993. "type": "integer"
  25994. },
  25995. "currency": {
  25996. "description": "币种",
  25997. "type": "string"
  25998. },
  25999. "cusbankid": {
  26000. "description": "托管银行编号",
  26001. "type": "string"
  26002. },
  26003. "exchticket": {
  26004. "description": "银行服务流水号",
  26005. "type": "string"
  26006. },
  26007. "executetype": {
  26008. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  26009. "type": "integer"
  26010. },
  26011. "extendinfo": {
  26012. "description": "扩展信息",
  26013. "type": "string"
  26014. },
  26015. "extoperateid": {
  26016. "description": "交易服务流水号",
  26017. "type": "integer"
  26018. },
  26019. "infamount": {
  26020. "description": "劣后金额(自有)",
  26021. "type": "number"
  26022. },
  26023. "logincode": {
  26024. "description": "登录账号(账号)",
  26025. "type": "string"
  26026. },
  26027. "netaddr": {
  26028. "description": "调转网址",
  26029. "type": "string"
  26030. },
  26031. "priamount": {
  26032. "description": "优先金额(授信)",
  26033. "type": "number"
  26034. },
  26035. "reauditid": {
  26036. "description": "复审人",
  26037. "type": "integer"
  26038. },
  26039. "reauditremark": {
  26040. "description": "复审备注",
  26041. "type": "string"
  26042. },
  26043. "reaudittime": {
  26044. "description": "复审时间",
  26045. "type": "string"
  26046. },
  26047. "relatedorderid": {
  26048. "description": "三方关联ID",
  26049. "type": "string"
  26050. },
  26051. "remark": {
  26052. "description": "备注",
  26053. "type": "string"
  26054. },
  26055. "remark2": {
  26056. "description": "备注(失败原因)",
  26057. "type": "string"
  26058. },
  26059. "soucreamount": {
  26060. "description": "原始出入金金额",
  26061. "type": "number"
  26062. },
  26063. "soucrecurrencyid": {
  26064. "description": "原始出入金币种",
  26065. "type": "integer"
  26066. },
  26067. "tradedate": {
  26068. "description": "交易日(yyyyMMdd)",
  26069. "type": "string"
  26070. },
  26071. "updatetime": {
  26072. "description": "更新时间(申请时间)",
  26073. "type": "string"
  26074. },
  26075. "userid": {
  26076. "description": "用户id",
  26077. "type": "integer"
  26078. },
  26079. "userinfotype": {
  26080. "description": "账户类型 1-个人 2-企业",
  26081. "type": "integer"
  26082. }
  26083. }
  26084. },
  26085. "models.QhjAgreementChangeLog": {
  26086. "type": "object",
  26087. "properties": {
  26088. "agreementcontent": {
  26089. "description": "协议内容",
  26090. "type": "string"
  26091. },
  26092. "agreementfrequency": {
  26093. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  26094. "type": "integer"
  26095. },
  26096. "agreementid": {
  26097. "description": "协议ID",
  26098. "type": "integer"
  26099. },
  26100. "agreementname": {
  26101. "description": "协议名称",
  26102. "type": "string"
  26103. },
  26104. "agreementno": {
  26105. "description": "协议编号",
  26106. "type": "string"
  26107. },
  26108. "agreementtype": {
  26109. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26110. "type": "integer"
  26111. },
  26112. "agreementversion": {
  26113. "description": "协议版本号",
  26114. "type": "integer"
  26115. },
  26116. "logid": {
  26117. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  26118. "type": "integer"
  26119. },
  26120. "reviserid": {
  26121. "description": "修改人",
  26122. "type": "integer"
  26123. },
  26124. "revisersrc": {
  26125. "description": "修改来源 - 1:管理端 2:终端",
  26126. "type": "integer"
  26127. },
  26128. "updatetime": {
  26129. "description": "更新时间",
  26130. "type": "string"
  26131. }
  26132. }
  26133. },
  26134. "models.QhjAgreementConfig": {
  26135. "type": "object",
  26136. "properties": {
  26137. "agreementcontent": {
  26138. "description": "协议内容",
  26139. "type": "string"
  26140. },
  26141. "agreementfrequency": {
  26142. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  26143. "type": "integer"
  26144. },
  26145. "agreementid": {
  26146. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  26147. "type": "integer"
  26148. },
  26149. "agreementname": {
  26150. "description": "协议名称",
  26151. "type": "string"
  26152. },
  26153. "agreementno": {
  26154. "description": "协议编号",
  26155. "type": "string"
  26156. },
  26157. "agreementtype": {
  26158. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26159. "type": "integer"
  26160. },
  26161. "agreementversion": {
  26162. "description": "协议版本号(从1开始每次修改加1)",
  26163. "type": "integer"
  26164. },
  26165. "createtime": {
  26166. "description": "创建时间",
  26167. "type": "string"
  26168. },
  26169. "creatorid": {
  26170. "description": "创建人",
  26171. "type": "integer"
  26172. },
  26173. "creatorsrc": {
  26174. "description": "创建来源 - 1:管理端 2:终端",
  26175. "type": "integer"
  26176. },
  26177. "isvalid": {
  26178. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  26179. "type": "integer"
  26180. },
  26181. "reviserid": {
  26182. "description": "修改人",
  26183. "type": "integer"
  26184. },
  26185. "revisersrc": {
  26186. "description": "修改来源 - 1:管理端 2:终端",
  26187. "type": "integer"
  26188. },
  26189. "updatetime": {
  26190. "description": "更新时间",
  26191. "type": "string"
  26192. }
  26193. }
  26194. },
  26195. "models.QhjAreaFinanceConfig": {
  26196. "type": "object",
  26197. "properties": {
  26198. "additionalratio": {
  26199. "description": "追加款比例",
  26200. "type": "number"
  26201. },
  26202. "advanceratio": {
  26203. "description": "预付款比例",
  26204. "type": "number"
  26205. },
  26206. "alarmratio": {
  26207. "description": "告警比例",
  26208. "type": "number"
  26209. },
  26210. "consumptiondirectreward": {
  26211. "description": "消费直推奖励值",
  26212. "type": "number"
  26213. },
  26214. "consumptionenabled": {
  26215. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  26216. "type": "integer"
  26217. },
  26218. "consumptionindirectreward": {
  26219. "description": "消费间推奖励值",
  26220. "type": "number"
  26221. },
  26222. "consumptionmodel": {
  26223. "description": "消费奖励方式 - 1:比率 2:固定",
  26224. "type": "integer"
  26225. },
  26226. "customerservicenum": {
  26227. "description": "客服电话",
  26228. "type": "string"
  26229. },
  26230. "dayinterestrate": {
  26231. "description": "日利率",
  26232. "type": "number"
  26233. },
  26234. "disableconsumptiontips": {
  26235. "description": "关闭消费奖励提示",
  26236. "type": "string"
  26237. },
  26238. "modifierid": {
  26239. "description": "修改人ID",
  26240. "type": "integer"
  26241. },
  26242. "modifysrc": {
  26243. "description": "审核来源 - 1:管理端 2:终端",
  26244. "type": "integer"
  26245. },
  26246. "modifytime": {
  26247. "description": "修改时间",
  26248. "type": "string"
  26249. },
  26250. "promotionvalue": {
  26251. "description": "推广奖励值(固定)",
  26252. "type": "number"
  26253. },
  26254. "scoreconfigvalue1": {
  26255. "description": "提货积分配置1",
  26256. "type": "integer"
  26257. },
  26258. "scoreconfigvalue2": {
  26259. "description": "提货积分配置2",
  26260. "type": "integer"
  26261. },
  26262. "userid": {
  26263. "description": "机构用户ID其他做市关系,都设置为 1",
  26264. "type": "integer"
  26265. },
  26266. "username": {
  26267. "description": "用户名称",
  26268. "type": "string"
  26269. }
  26270. }
  26271. },
  26272. "models.QhjBankAccountSign": {
  26273. "type": "object",
  26274. "properties": {
  26275. "accountcode": {
  26276. "description": "资金账号",
  26277. "type": "string"
  26278. },
  26279. "accountname": {
  26280. "description": "资金账号对应的账号名(UserName)",
  26281. "type": "string"
  26282. },
  26283. "accountname2": {
  26284. "description": "资金账号对应的账号名(UserName) - 密文",
  26285. "type": "string"
  26286. },
  26287. "accounttype": {
  26288. "description": "账户类型(UserType)",
  26289. "type": "integer"
  26290. },
  26291. "applicationtime": {
  26292. "description": "最后一次更新的时间",
  26293. "type": "string"
  26294. },
  26295. "applyexchticket": {
  26296. "description": "申请流水",
  26297. "type": "string"
  26298. },
  26299. "auditid": {
  26300. "description": "审核人",
  26301. "type": "integer"
  26302. },
  26303. "audittime": {
  26304. "description": "审核时间",
  26305. "type": "string"
  26306. },
  26307. "bankaccountname": {
  26308. "description": "签约银行卡账号名",
  26309. "type": "string"
  26310. },
  26311. "bankaccountname2": {
  26312. "description": "签约银行卡账号名 - 密文",
  26313. "type": "string"
  26314. },
  26315. "bankaccountno": {
  26316. "description": "银行卡号",
  26317. "type": "string"
  26318. },
  26319. "bankaccountno2": {
  26320. "description": "银行卡号 - 密文",
  26321. "type": "string"
  26322. },
  26323. "bankaccounttype": {
  26324. "description": "银行账户类型 - 1-对私; 2-对公",
  26325. "type": "integer"
  26326. },
  26327. "bankcardtype": {
  26328. "description": "银行卡类型",
  26329. "type": "integer"
  26330. },
  26331. "bankchildaccount": {
  26332. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  26333. "type": "string"
  26334. },
  26335. "bankcity": {
  26336. "description": "开户行城市",
  26337. "type": "string"
  26338. },
  26339. "bankid": {
  26340. "description": "签约银行ID",
  26341. "type": "string"
  26342. },
  26343. "bankname": {
  26344. "description": "签约银行名称",
  26345. "type": "string"
  26346. },
  26347. "bankprovince": {
  26348. "description": "开户行省份",
  26349. "type": "string"
  26350. },
  26351. "branchbankid": {
  26352. "description": "签约银行支行号",
  26353. "type": "string"
  26354. },
  26355. "branchbankname": {
  26356. "description": "签约银行支行名称",
  26357. "type": "string"
  26358. },
  26359. "cardno": {
  26360. "description": "证件号码",
  26361. "type": "string"
  26362. },
  26363. "cardno2": {
  26364. "description": "证件号码 - 密文",
  26365. "type": "string"
  26366. },
  26367. "cardtype": {
  26368. "description": "证件类型",
  26369. "type": "string"
  26370. },
  26371. "currency": {
  26372. "description": "币种",
  26373. "type": "string"
  26374. },
  26375. "cusbankid": {
  26376. "description": "托管银行编号",
  26377. "type": "string"
  26378. },
  26379. "direct": {
  26380. "description": "方向(可以判断那方先发起的签约)",
  26381. "type": "integer"
  26382. },
  26383. "exchticket": {
  26384. "description": "最后一次签约成功的流水号",
  26385. "type": "string"
  26386. },
  26387. "extendinfo": {
  26388. "description": "扩展信息(JSON字符串)",
  26389. "type": "string"
  26390. },
  26391. "mobilephone": {
  26392. "description": "手机号",
  26393. "type": "string"
  26394. },
  26395. "mobilephone2": {
  26396. "description": "手机号 - 密文",
  26397. "type": "string"
  26398. },
  26399. "netaddr": {
  26400. "description": "调转网址",
  26401. "type": "string"
  26402. },
  26403. "relateduserid": {
  26404. "description": "关联使用者userid",
  26405. "type": "integer"
  26406. },
  26407. "signstatus": {
  26408. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  26409. "type": "integer"
  26410. },
  26411. "updatetime": {
  26412. "description": "更新时间(签解约更新时间)",
  26413. "type": "string"
  26414. }
  26415. }
  26416. },
  26417. "models.QhjBankInfo": {
  26418. "type": "object",
  26419. "properties": {
  26420. "bankid": {
  26421. "description": "银行ID",
  26422. "type": "string"
  26423. },
  26424. "bankname": {
  26425. "description": "银行名称",
  26426. "type": "string"
  26427. },
  26428. "clearbankno": {
  26429. "description": "清算系统银行编号",
  26430. "type": "string"
  26431. },
  26432. "orderindex": {
  26433. "description": "排序顺序",
  26434. "type": "integer"
  26435. },
  26436. "status": {
  26437. "description": "状态 - 0:正常 1:注销",
  26438. "type": "integer"
  26439. }
  26440. }
  26441. },
  26442. "models.QhjBrokerApply": {
  26443. "type": "object",
  26444. "properties": {
  26445. "applicantid": {
  26446. "description": "申请人",
  26447. "type": "integer"
  26448. },
  26449. "applysrc": {
  26450. "description": "申请来源 - 1:管理端 2:终端",
  26451. "type": "integer"
  26452. },
  26453. "applystatus": {
  26454. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26455. "type": "integer"
  26456. },
  26457. "applytime": {
  26458. "description": "申请时间",
  26459. "type": "string"
  26460. },
  26461. "auditorid": {
  26462. "description": "审核人",
  26463. "type": "integer"
  26464. },
  26465. "auditremark": {
  26466. "description": "审核备注",
  26467. "type": "string"
  26468. },
  26469. "auditsrc": {
  26470. "description": "审核来源 - 1:管理端 2:终端",
  26471. "type": "integer"
  26472. },
  26473. "audittime": {
  26474. "description": "审核时间",
  26475. "type": "string"
  26476. },
  26477. "audittradedate": {
  26478. "description": "审核交易日(yyyyMMdd)",
  26479. "type": "string"
  26480. },
  26481. "brokerapplyid": {
  26482. "description": "申请ID(SEQ_BROKERAPPLY)",
  26483. "type": "integer"
  26484. },
  26485. "cardbackphotourl": {
  26486. "description": "证件背面图片地址",
  26487. "type": "string"
  26488. },
  26489. "cardfrontphotourl": {
  26490. "description": "证件正面图片地址",
  26491. "type": "string"
  26492. },
  26493. "cardnum": {
  26494. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26495. "type": "string"
  26496. },
  26497. "customername": {
  26498. "description": "姓名",
  26499. "type": "string"
  26500. },
  26501. "logincode": {
  26502. "description": "登录代码",
  26503. "type": "string"
  26504. },
  26505. "mobile": {
  26506. "description": "手机号码",
  26507. "type": "string"
  26508. },
  26509. "parentuserid": {
  26510. "description": "所属机构id",
  26511. "type": "integer"
  26512. },
  26513. "parentusername": {
  26514. "description": "所属机构名称",
  26515. "type": "string"
  26516. },
  26517. "refereeuserid": {
  26518. "description": "推荐人id(经纪人)",
  26519. "type": "integer"
  26520. },
  26521. "refernum": {
  26522. "description": "推荐码",
  26523. "type": "string"
  26524. },
  26525. "remark": {
  26526. "description": "备注",
  26527. "type": "string"
  26528. },
  26529. "subarealevelpath": {
  26530. "description": "层级路径",
  26531. "type": "string"
  26532. },
  26533. "tradedate": {
  26534. "description": "交易日(yyyyMMdd)",
  26535. "type": "string"
  26536. },
  26537. "userid": {
  26538. "description": "申请人用户ID",
  26539. "type": "integer"
  26540. },
  26541. "userinfotype": {
  26542. "description": "用户类型 1-个人 2-企业",
  26543. "type": "integer"
  26544. },
  26545. "username": {
  26546. "description": "用户名称",
  26547. "type": "string"
  26548. }
  26549. }
  26550. },
  26551. "models.QhjBrokerApplyEx": {
  26552. "type": "object",
  26553. "properties": {
  26554. "applylist": {
  26555. "description": "经纪人申请记录(只返回最新一条)",
  26556. "type": "array",
  26557. "items": {
  26558. "$ref": "#/definitions/models.QhjBrokerApply"
  26559. }
  26560. },
  26561. "canrecommend": {
  26562. "description": "是否经纪人 0-不是 1-是",
  26563. "type": "integer"
  26564. },
  26565. "refernum": {
  26566. "description": "推荐码",
  26567. "type": "string"
  26568. },
  26569. "userid": {
  26570. "description": "用户id",
  26571. "type": "integer"
  26572. },
  26573. "userinfotype": {
  26574. "description": "用户类型 1-个人 2-企业",
  26575. "type": "integer"
  26576. }
  26577. }
  26578. },
  26579. "models.QhjBrokerRewardLog": {
  26580. "type": "object",
  26581. "properties": {
  26582. "accountid": {
  26583. "description": "资金账号ID",
  26584. "type": "integer"
  26585. },
  26586. "createtime": {
  26587. "description": "创建时间(时间)",
  26588. "type": "string"
  26589. },
  26590. "handlestatus": {
  26591. "description": "处理状态",
  26592. "type": "integer"
  26593. },
  26594. "logid": {
  26595. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26596. "type": "string"
  26597. },
  26598. "marketid": {
  26599. "description": "市场ID",
  26600. "type": "integer"
  26601. },
  26602. "mmaccountid": {
  26603. "description": "做市商资金账号ID",
  26604. "type": "string"
  26605. },
  26606. "mmuserid": {
  26607. "description": "做市商用户ID",
  26608. "type": "string"
  26609. },
  26610. "rewardamount": {
  26611. "description": "奖励金额",
  26612. "type": "number"
  26613. },
  26614. "rewardmodel": {
  26615. "description": "消费奖励方式 - 1:比率 2:固定",
  26616. "type": "integer"
  26617. },
  26618. "rewardtype": {
  26619. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26620. "type": "integer"
  26621. },
  26622. "rewardvalue": {
  26623. "description": "配置奖励值",
  26624. "type": "number"
  26625. },
  26626. "srcamount": {
  26627. "description": "成交金额 [消费奖励] (金额)",
  26628. "type": "number"
  26629. },
  26630. "srcgoodsid": {
  26631. "description": "来源商品ID [消费奖励]",
  26632. "type": "string"
  26633. },
  26634. "srctime": {
  26635. "description": "来源时间 (成交时间) [消费奖励]",
  26636. "type": "string"
  26637. },
  26638. "srctradeid": {
  26639. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26640. "type": "string"
  26641. },
  26642. "srcuserid": {
  26643. "description": "来源用户ID(推广账户)",
  26644. "type": "string"
  26645. },
  26646. "srcusername": {
  26647. "description": "推广账户名称",
  26648. "type": "string"
  26649. },
  26650. "tradedate": {
  26651. "description": "交易日(yyyyMMdd)",
  26652. "type": "string"
  26653. },
  26654. "userid": {
  26655. "description": "经纪人用户ID",
  26656. "type": "integer"
  26657. }
  26658. }
  26659. },
  26660. "models.QhjContract": {
  26661. "type": "object",
  26662. "properties": {
  26663. "contractconfirmtime": {
  26664. "description": "合同确认时间(时间)",
  26665. "type": "string"
  26666. },
  26667. "currisklevel": {
  26668. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26669. "type": "integer"
  26670. },
  26671. "decimalplace": {
  26672. "description": "商品报价小数位",
  26673. "type": "integer"
  26674. },
  26675. "enumdicname": {
  26676. "description": "单位名称",
  26677. "type": "string"
  26678. },
  26679. "goodscode": {
  26680. "description": "商品代码",
  26681. "type": "string"
  26682. },
  26683. "goodsid": {
  26684. "description": "商品ID [5:融资单]",
  26685. "type": "integer"
  26686. },
  26687. "goodsname": {
  26688. "description": "商品名称",
  26689. "type": "string"
  26690. },
  26691. "goodunitid": {
  26692. "description": "商品单位id",
  26693. "type": "integer"
  26694. },
  26695. "initmargin": {
  26696. "description": "初始保证金(首付款)",
  26697. "type": "number"
  26698. },
  26699. "lenderamount": {
  26700. "description": "贷款金额(总额|订单总额)",
  26701. "type": "number"
  26702. },
  26703. "marginratio": {
  26704. "description": "保证金比率(首付比例)",
  26705. "type": "number"
  26706. },
  26707. "payamount": {
  26708. "description": "已付(已付货款)",
  26709. "type": "number"
  26710. },
  26711. "reckonrecovermargin": {
  26712. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26713. "type": "number"
  26714. },
  26715. "recoveredmargin": {
  26716. "description": "已追缴保证金",
  26717. "type": "number"
  26718. },
  26719. "remainamount": {
  26720. "description": "合同剩余金额(融资额)",
  26721. "type": "number"
  26722. },
  26723. "scfcontractid": {
  26724. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26725. "type": "string"
  26726. },
  26727. "scfcontractstatus": {
  26728. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26729. "type": "integer"
  26730. },
  26731. "scfcontracttype": {
  26732. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26733. "type": "integer"
  26734. },
  26735. "totalinterest": {
  26736. "description": "已计总利息(利息)",
  26737. "type": "number"
  26738. },
  26739. "tradeprice": {
  26740. "description": "成交价格(成本价格)",
  26741. "type": "number"
  26742. },
  26743. "userid": {
  26744. "description": "用户ID",
  26745. "type": "integer"
  26746. },
  26747. "username": {
  26748. "description": "用户名称",
  26749. "type": "string"
  26750. },
  26751. "wrqty": {
  26752. "description": "仓单数量(数量)",
  26753. "type": "number"
  26754. }
  26755. }
  26756. },
  26757. "models.QhjContractLog": {
  26758. "type": "object",
  26759. "properties": {
  26760. "amount": {
  26761. "description": "支付金额",
  26762. "type": "number"
  26763. },
  26764. "amounttype": {
  26765. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26766. "type": "integer"
  26767. },
  26768. "logid": {
  26769. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26770. "type": "string"
  26771. },
  26772. "remainamount": {
  26773. "description": "剩余货款",
  26774. "type": "number"
  26775. },
  26776. "scfcontractid": {
  26777. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26778. "type": "integer"
  26779. },
  26780. "updatetime": {
  26781. "description": "更新时间",
  26782. "type": "string"
  26783. }
  26784. }
  26785. },
  26786. "models.QhjCusBankSignBankEx": {
  26787. "type": "object",
  26788. "properties": {
  26789. "banklst": {
  26790. "description": "银行列表",
  26791. "type": "array",
  26792. "items": {
  26793. "$ref": "#/definitions/models.QhjBankInfo"
  26794. }
  26795. },
  26796. "canallot": {
  26797. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26798. "type": "integer"
  26799. },
  26800. "canallotquery": {
  26801. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26802. "type": "integer"
  26803. },
  26804. "canbindcard": {
  26805. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26806. "type": "integer"
  26807. },
  26808. "caninamount": {
  26809. "description": "是否可入金 - 0:不可 1:可以",
  26810. "type": "integer"
  26811. },
  26812. "caninamount2": {
  26813. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26814. "type": "integer"
  26815. },
  26816. "canmodifybankcard": {
  26817. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26818. "type": "integer"
  26819. },
  26820. "canmodifyphone": {
  26821. "description": "是否可修改手机号 - 0:不可 1:可以",
  26822. "type": "integer"
  26823. },
  26824. "canmodifysigninfo": {
  26825. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26826. "type": "integer"
  26827. },
  26828. "canoutamount": {
  26829. "description": "是否可出金 - 0:不可 1:可以",
  26830. "type": "integer"
  26831. },
  26832. "canoutamount2": {
  26833. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26834. "type": "integer"
  26835. },
  26836. "canrelease": {
  26837. "description": "是否可解约 - 0:不可 1:可以",
  26838. "type": "integer"
  26839. },
  26840. "canrelease2": {
  26841. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26842. "type": "integer"
  26843. },
  26844. "cansign": {
  26845. "description": "是否可签约 - 0:不可 1:可以",
  26846. "type": "integer"
  26847. },
  26848. "cansign2": {
  26849. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26850. "type": "integer"
  26851. },
  26852. "currency": {
  26853. "description": "币种",
  26854. "type": "string"
  26855. },
  26856. "cusbankid": {
  26857. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26858. "type": "string"
  26859. },
  26860. "cusbankname": {
  26861. "description": "银行业务名称",
  26862. "type": "string"
  26863. },
  26864. "cusbankshortname": {
  26865. "description": "银行业务简称",
  26866. "type": "string"
  26867. },
  26868. "exchbankid": {
  26869. "description": "交易所开户银行ID",
  26870. "type": "string"
  26871. },
  26872. "exchpaybankaccname": {
  26873. "description": "交易所支出结算账户户名",
  26874. "type": "string"
  26875. },
  26876. "exchpaybankaccno": {
  26877. "description": "交易所支出结算账户",
  26878. "type": "string"
  26879. },
  26880. "isneedcheck": {
  26881. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26882. "type": "integer"
  26883. },
  26884. "isneedclear": {
  26885. "description": "是否需要清算 - 0:不需要 1:需要",
  26886. "type": "integer"
  26887. },
  26888. "lastcheckstatus": {
  26889. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26890. "type": "integer"
  26891. },
  26892. "lastchecktime": {
  26893. "description": "最后对账时间",
  26894. "type": "string"
  26895. },
  26896. "lastclearstatus": {
  26897. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26898. "type": "integer"
  26899. },
  26900. "lastcleartime": {
  26901. "description": "最后清算时间",
  26902. "type": "string"
  26903. },
  26904. "lastsignintime": {
  26905. "description": "最后签到时间",
  26906. "type": "string"
  26907. },
  26908. "lastsignouttime": {
  26909. "description": "最后签退时间",
  26910. "type": "string"
  26911. },
  26912. "riskinfo": {
  26913. "description": "签约风险提示书",
  26914. "type": "string"
  26915. },
  26916. "signstatus": {
  26917. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26918. "type": "integer"
  26919. },
  26920. "tradedate": {
  26921. "description": "交易日(yyyyMMdd)",
  26922. "type": "string"
  26923. },
  26924. "updatetime": {
  26925. "description": "当前签到/签退更新时间",
  26926. "type": "string"
  26927. }
  26928. }
  26929. },
  26930. "models.QhjCustomer": {
  26931. "type": "object",
  26932. "properties": {
  26933. "address": {
  26934. "description": "通讯地址",
  26935. "type": "string"
  26936. },
  26937. "attachment1": {
  26938. "description": "附件1",
  26939. "type": "string"
  26940. },
  26941. "audittime": {
  26942. "description": "审核时间",
  26943. "type": "string"
  26944. },
  26945. "cardbackphotourl": {
  26946. "description": "证件反面图片地址",
  26947. "type": "string"
  26948. },
  26949. "cardfrontphotourl": {
  26950. "description": "证件正面图片地址",
  26951. "type": "string"
  26952. },
  26953. "cardnum": {
  26954. "description": "证件号码",
  26955. "type": "string"
  26956. },
  26957. "cardtype": {
  26958. "description": "证件类型",
  26959. "type": "integer"
  26960. },
  26961. "cardtypename": {
  26962. "description": "证件类型名称",
  26963. "type": "string"
  26964. },
  26965. "cityid": {
  26966. "description": "市",
  26967. "type": "integer"
  26968. },
  26969. "cityname": {
  26970. "description": "城市名称",
  26971. "type": "string"
  26972. },
  26973. "contactname": {
  26974. "description": "联系人",
  26975. "type": "string"
  26976. },
  26977. "countryid": {
  26978. "description": "国家",
  26979. "type": "integer"
  26980. },
  26981. "countryname": {
  26982. "description": "国家名称",
  26983. "type": "string"
  26984. },
  26985. "createtime": {
  26986. "description": "创建时间",
  26987. "type": "string"
  26988. },
  26989. "customername": {
  26990. "description": "客户名称",
  26991. "type": "string"
  26992. },
  26993. "districtid": {
  26994. "description": "区域",
  26995. "type": "integer"
  26996. },
  26997. "districtname": {
  26998. "description": "地区名称",
  26999. "type": "string"
  27000. },
  27001. "email": {
  27002. "description": "邮件",
  27003. "type": "string"
  27004. },
  27005. "legalpersonname": {
  27006. "description": "法人姓名(企业)",
  27007. "type": "string"
  27008. },
  27009. "logincode": {
  27010. "description": "登录账号(代码)",
  27011. "type": "string"
  27012. },
  27013. "memberuserid": {
  27014. "description": "所属机构ID(所属会员)",
  27015. "type": "integer"
  27016. },
  27017. "memberusername": {
  27018. "description": "所属会员名称",
  27019. "type": "string"
  27020. },
  27021. "mobile": {
  27022. "description": "手机号码",
  27023. "type": "string"
  27024. },
  27025. "modifytime": {
  27026. "description": "修改时间",
  27027. "type": "string"
  27028. },
  27029. "nickname": {
  27030. "description": "昵称",
  27031. "type": "string"
  27032. },
  27033. "parentuserid": {
  27034. "description": "上级机构(所属机构)",
  27035. "type": "integer"
  27036. },
  27037. "parentusername": {
  27038. "description": "所属机构名称",
  27039. "type": "string"
  27040. },
  27041. "provinceid": {
  27042. "description": "省",
  27043. "type": "integer"
  27044. },
  27045. "provincename": {
  27046. "description": "省名称",
  27047. "type": "string"
  27048. },
  27049. "proxystatementurl": {
  27050. "description": "授权委托书",
  27051. "type": "string"
  27052. },
  27053. "remark": {
  27054. "description": "备注",
  27055. "type": "string"
  27056. },
  27057. "status": {
  27058. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  27059. "type": "integer"
  27060. },
  27061. "statusdesc": {
  27062. "description": "账户状态中文描述",
  27063. "type": "string"
  27064. },
  27065. "taxpayernum": {
  27066. "description": "纳税人识别号",
  27067. "type": "string"
  27068. },
  27069. "telphone": {
  27070. "description": "联系电话",
  27071. "type": "string"
  27072. },
  27073. "userid": {
  27074. "description": "用户ID",
  27075. "type": "integer"
  27076. },
  27077. "userinfotype": {
  27078. "description": "客户类型 1-个人 2-企业",
  27079. "type": "integer"
  27080. },
  27081. "username": {
  27082. "description": "用户名称",
  27083. "type": "string"
  27084. }
  27085. }
  27086. },
  27087. "models.QhjCustomerSignLog": {
  27088. "type": "object",
  27089. "properties": {
  27090. "agreementcontent": {
  27091. "description": "协议内容",
  27092. "type": "string"
  27093. },
  27094. "agreementid": {
  27095. "description": "协议ID",
  27096. "type": "integer"
  27097. },
  27098. "agreementname": {
  27099. "description": "协议名称",
  27100. "type": "string"
  27101. },
  27102. "agreementno": {
  27103. "description": "协议编号",
  27104. "type": "string"
  27105. },
  27106. "agreementtype": {
  27107. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27108. "type": "integer"
  27109. },
  27110. "agreementversion": {
  27111. "description": "协议版本号",
  27112. "type": "integer"
  27113. },
  27114. "createtime": {
  27115. "description": "创建时间",
  27116. "type": "string"
  27117. },
  27118. "goodscode": {
  27119. "description": "商品代码",
  27120. "type": "string"
  27121. },
  27122. "goodsid": {
  27123. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27124. "type": "integer"
  27125. },
  27126. "goodsname": {
  27127. "description": "商品名称",
  27128. "type": "string"
  27129. },
  27130. "logid": {
  27131. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  27132. "type": "integer"
  27133. },
  27134. "nodetype": {
  27135. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27136. "type": "integer"
  27137. },
  27138. "signadressurl": {
  27139. "description": "签约文件地址",
  27140. "type": "string"
  27141. },
  27142. "signtimestamp": {
  27143. "description": "签约状态时间戳",
  27144. "type": "string"
  27145. },
  27146. "userid": {
  27147. "description": "客户ID",
  27148. "type": "integer"
  27149. },
  27150. "username": {
  27151. "description": "客户名称",
  27152. "type": "string"
  27153. }
  27154. }
  27155. },
  27156. "models.QhjCustomerSignStatus": {
  27157. "type": "object",
  27158. "properties": {
  27159. "createtime": {
  27160. "description": "创建时间",
  27161. "type": "string"
  27162. },
  27163. "goodscode": {
  27164. "description": "商品代码",
  27165. "type": "string"
  27166. },
  27167. "goodsid": {
  27168. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27169. "type": "integer"
  27170. },
  27171. "goodsname": {
  27172. "description": "商品名称",
  27173. "type": "string"
  27174. },
  27175. "nodetype": {
  27176. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  27177. "type": "integer"
  27178. },
  27179. "signtimestamp": {
  27180. "description": "签约状态时间戳",
  27181. "type": "string"
  27182. },
  27183. "tradedate": {
  27184. "description": "创建交易日(yyyyMMdd)",
  27185. "type": "string"
  27186. },
  27187. "updatetime": {
  27188. "description": "更新时间",
  27189. "type": "string"
  27190. },
  27191. "userid": {
  27192. "description": "客户ID",
  27193. "type": "integer"
  27194. },
  27195. "username": {
  27196. "description": "客户名称",
  27197. "type": "string"
  27198. }
  27199. }
  27200. },
  27201. "models.QhjMgrAccountOutInApply": {
  27202. "type": "object",
  27203. "properties": {
  27204. "accountcode": {
  27205. "description": "资金账号",
  27206. "type": "string"
  27207. },
  27208. "accountname": {
  27209. "description": "用户名称(名称)",
  27210. "type": "string"
  27211. },
  27212. "accountpwd": {
  27213. "description": "资金密码",
  27214. "type": "string"
  27215. },
  27216. "accountticket": {
  27217. "description": "最新账户服务流水号",
  27218. "type": "string"
  27219. },
  27220. "amount": {
  27221. "description": "金额",
  27222. "type": "number"
  27223. },
  27224. "applyremark": {
  27225. "description": "申请备注",
  27226. "type": "string"
  27227. },
  27228. "applystatus": {
  27229. "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: 复审通过,账户冻结金额检查中;",
  27230. "type": "integer"
  27231. },
  27232. "auditid": {
  27233. "description": "审核人",
  27234. "type": "integer"
  27235. },
  27236. "audittime": {
  27237. "description": "审核时间",
  27238. "type": "string"
  27239. },
  27240. "bank_apply_ticket": {
  27241. "description": "银行申请流水",
  27242. "type": "string"
  27243. },
  27244. "bankaccountname": {
  27245. "description": "银行账户名",
  27246. "type": "string"
  27247. },
  27248. "bankaccountno": {
  27249. "description": "银行卡号",
  27250. "type": "string"
  27251. },
  27252. "bankid": {
  27253. "description": "银行编号",
  27254. "type": "string"
  27255. },
  27256. "bankname": {
  27257. "description": "银行名称",
  27258. "type": "string"
  27259. },
  27260. "bankticket": {
  27261. "description": "银行流水",
  27262. "type": "string"
  27263. },
  27264. "branchbankid": {
  27265. "description": "银行支行号",
  27266. "type": "string"
  27267. },
  27268. "branchbankname": {
  27269. "description": "银行支行名称",
  27270. "type": "string"
  27271. },
  27272. "capamountout": {
  27273. "description": "出金(劣后本金) - 外部子账户",
  27274. "type": "number"
  27275. },
  27276. "certificatephotourl": {
  27277. "description": "凭证地址",
  27278. "type": "string"
  27279. },
  27280. "charge": {
  27281. "description": "手续费",
  27282. "type": "number"
  27283. },
  27284. "checkerrorflag": {
  27285. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27286. "type": "integer"
  27287. },
  27288. "currency": {
  27289. "description": "币种",
  27290. "type": "string"
  27291. },
  27292. "cusbankid": {
  27293. "description": "托管银行编号",
  27294. "type": "string"
  27295. },
  27296. "exchticket": {
  27297. "description": "银行服务流水号",
  27298. "type": "string"
  27299. },
  27300. "executetype": {
  27301. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27302. "type": "integer"
  27303. },
  27304. "extendinfo": {
  27305. "description": "扩展信息",
  27306. "type": "string"
  27307. },
  27308. "extoperateid": {
  27309. "description": "交易服务流水号",
  27310. "type": "integer"
  27311. },
  27312. "infamount": {
  27313. "description": "劣后金额(自有)",
  27314. "type": "number"
  27315. },
  27316. "logincode": {
  27317. "description": "登录账号(账号)",
  27318. "type": "string"
  27319. },
  27320. "netaddr": {
  27321. "description": "调转网址",
  27322. "type": "string"
  27323. },
  27324. "priamount": {
  27325. "description": "优先金额(授信)",
  27326. "type": "number"
  27327. },
  27328. "reauditid": {
  27329. "description": "复审人",
  27330. "type": "integer"
  27331. },
  27332. "reauditremark": {
  27333. "description": "复审备注",
  27334. "type": "string"
  27335. },
  27336. "reaudittime": {
  27337. "description": "复审时间",
  27338. "type": "string"
  27339. },
  27340. "relatedorderid": {
  27341. "description": "三方关联ID",
  27342. "type": "string"
  27343. },
  27344. "remark": {
  27345. "description": "备注",
  27346. "type": "string"
  27347. },
  27348. "remark2": {
  27349. "description": "备注(失败原因)",
  27350. "type": "string"
  27351. },
  27352. "soucreamount": {
  27353. "description": "原始出入金金额",
  27354. "type": "number"
  27355. },
  27356. "soucrecurrencyid": {
  27357. "description": "原始出入金币种",
  27358. "type": "integer"
  27359. },
  27360. "tradedate": {
  27361. "description": "交易日(yyyyMMdd)",
  27362. "type": "string"
  27363. },
  27364. "updatetime": {
  27365. "description": "更新时间(申请时间)",
  27366. "type": "string"
  27367. },
  27368. "userid": {
  27369. "description": "用户id",
  27370. "type": "integer"
  27371. },
  27372. "userinfotype": {
  27373. "description": "账户类型 1-个人 2-企业",
  27374. "type": "integer"
  27375. }
  27376. }
  27377. },
  27378. "models.QhjMgrBrokerApply": {
  27379. "type": "object",
  27380. "properties": {
  27381. "applicantid": {
  27382. "description": "申请人",
  27383. "type": "integer"
  27384. },
  27385. "applysrc": {
  27386. "description": "申请来源 - 1:管理端 2:终端",
  27387. "type": "integer"
  27388. },
  27389. "applystatus": {
  27390. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27391. "type": "integer"
  27392. },
  27393. "applytime": {
  27394. "description": "申请时间",
  27395. "type": "string"
  27396. },
  27397. "auditorid": {
  27398. "description": "审核人",
  27399. "type": "integer"
  27400. },
  27401. "auditremark": {
  27402. "description": "审核备注",
  27403. "type": "string"
  27404. },
  27405. "auditsrc": {
  27406. "description": "审核来源 - 1:管理端 2:终端",
  27407. "type": "integer"
  27408. },
  27409. "audittime": {
  27410. "description": "审核时间",
  27411. "type": "string"
  27412. },
  27413. "audittradedate": {
  27414. "description": "审核交易日(yyyyMMdd)",
  27415. "type": "string"
  27416. },
  27417. "brokerapplyid": {
  27418. "description": "申请ID(SEQ_BROKERAPPLY)",
  27419. "type": "integer"
  27420. },
  27421. "cardbackphotourl": {
  27422. "description": "证件背面图片地址",
  27423. "type": "string"
  27424. },
  27425. "cardfrontphotourl": {
  27426. "description": "证件正面图片地址",
  27427. "type": "string"
  27428. },
  27429. "cardnum": {
  27430. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27431. "type": "string"
  27432. },
  27433. "customername": {
  27434. "description": "姓名",
  27435. "type": "string"
  27436. },
  27437. "filterstatus": {
  27438. "description": "筛选条件",
  27439. "type": "string"
  27440. },
  27441. "logincode": {
  27442. "description": "登录代码",
  27443. "type": "string"
  27444. },
  27445. "mobile": {
  27446. "description": "手机号码",
  27447. "type": "string"
  27448. },
  27449. "parentuserid": {
  27450. "description": "所属机构id",
  27451. "type": "integer"
  27452. },
  27453. "parentusername": {
  27454. "description": "所属机构名称",
  27455. "type": "string"
  27456. },
  27457. "refereeuserid": {
  27458. "description": "推荐人id(经纪人)",
  27459. "type": "integer"
  27460. },
  27461. "refernum": {
  27462. "description": "推荐码",
  27463. "type": "string"
  27464. },
  27465. "remark": {
  27466. "description": "备注",
  27467. "type": "string"
  27468. },
  27469. "subarealevelpath": {
  27470. "description": "层级路径",
  27471. "type": "string"
  27472. },
  27473. "tradedate": {
  27474. "description": "交易日(yyyyMMdd)",
  27475. "type": "string"
  27476. },
  27477. "userid": {
  27478. "description": "申请人用户ID",
  27479. "type": "integer"
  27480. },
  27481. "userinfotype": {
  27482. "description": "用户类型 1-个人 2-企业",
  27483. "type": "integer"
  27484. },
  27485. "username": {
  27486. "description": "用户名称",
  27487. "type": "string"
  27488. }
  27489. }
  27490. },
  27491. "models.QhjMgrBrokerRewardReport": {
  27492. "type": "object",
  27493. "properties": {
  27494. "createtime": {
  27495. "description": "创建时间(注册时间)",
  27496. "type": "string"
  27497. },
  27498. "cycletime": {
  27499. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  27500. "type": "string"
  27501. },
  27502. "cycletype": {
  27503. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27504. "type": "integer"
  27505. },
  27506. "directtotalnum": {
  27507. "description": "直推总人数【期末】",
  27508. "type": "integer"
  27509. },
  27510. "indirecttotalnum": {
  27511. "description": "间推总人数【期末】",
  27512. "type": "integer"
  27513. },
  27514. "mobile": {
  27515. "description": "电话号码",
  27516. "type": "string"
  27517. },
  27518. "refereeuserid": {
  27519. "description": "推荐人id(经纪人id)",
  27520. "type": "integer"
  27521. },
  27522. "refereeusername": {
  27523. "description": "推荐人名称(经纪人) 上级经纪人名称",
  27524. "type": "string"
  27525. },
  27526. "refernum": {
  27527. "description": "推荐码",
  27528. "type": "string"
  27529. },
  27530. "subarealevelpath": {
  27531. "description": "用户层级路径",
  27532. "type": "string"
  27533. },
  27534. "todayrewardamount": {
  27535. "description": "奖励总金额【汇总】",
  27536. "type": "number"
  27537. },
  27538. "updatetime": {
  27539. "description": "更新时间",
  27540. "type": "string"
  27541. },
  27542. "userid": {
  27543. "description": "经纪人用户ID",
  27544. "type": "integer"
  27545. },
  27546. "userinfotype": {
  27547. "description": "用户类型 1-个人 2-企业",
  27548. "type": "integer"
  27549. },
  27550. "username": {
  27551. "description": "用户名称",
  27552. "type": "string"
  27553. }
  27554. }
  27555. },
  27556. "models.QhjMgrContract": {
  27557. "type": "object",
  27558. "properties": {
  27559. "contractconfirmtime": {
  27560. "description": "合同确认时间(时间)",
  27561. "type": "string"
  27562. },
  27563. "currisklevel": {
  27564. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27565. "type": "integer"
  27566. },
  27567. "decimalplace": {
  27568. "description": "商品报价小数位",
  27569. "type": "integer"
  27570. },
  27571. "enumdicname": {
  27572. "description": "单位名称",
  27573. "type": "string"
  27574. },
  27575. "goodscode": {
  27576. "description": "商品代码",
  27577. "type": "string"
  27578. },
  27579. "goodsid": {
  27580. "description": "商品ID [5:融资单]",
  27581. "type": "integer"
  27582. },
  27583. "goodsname": {
  27584. "description": "商品名称",
  27585. "type": "string"
  27586. },
  27587. "goodunitid": {
  27588. "description": "商品单位id",
  27589. "type": "integer"
  27590. },
  27591. "initmargin": {
  27592. "description": "初始保证金(首付款)",
  27593. "type": "number"
  27594. },
  27595. "lenderamount": {
  27596. "description": "贷款金额(总额|订单总额)",
  27597. "type": "number"
  27598. },
  27599. "logincode": {
  27600. "description": "账号(登录代码)",
  27601. "type": "string"
  27602. },
  27603. "marginratio": {
  27604. "description": "保证金比率(首付比例)",
  27605. "type": "number"
  27606. },
  27607. "mobile": {
  27608. "description": "电话号码(用户资料里的电话)",
  27609. "type": "string"
  27610. },
  27611. "payamount": {
  27612. "description": "已付(已付货款)",
  27613. "type": "number"
  27614. },
  27615. "reckonrecovermargin": {
  27616. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27617. "type": "number"
  27618. },
  27619. "recoveredmargin": {
  27620. "description": "已追缴保证金",
  27621. "type": "number"
  27622. },
  27623. "remainamount": {
  27624. "description": "合同剩余金额(融资额)",
  27625. "type": "number"
  27626. },
  27627. "scfcontractid": {
  27628. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27629. "type": "string"
  27630. },
  27631. "scfcontractstatus": {
  27632. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27633. "type": "integer"
  27634. },
  27635. "scfcontracttype": {
  27636. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27637. "type": "integer"
  27638. },
  27639. "totalinterest": {
  27640. "description": "已计总利息(利息)",
  27641. "type": "number"
  27642. },
  27643. "tradedate": {
  27644. "description": "交易日",
  27645. "type": "string"
  27646. },
  27647. "tradeprice": {
  27648. "description": "成交价格(成本价格)",
  27649. "type": "number"
  27650. },
  27651. "userid": {
  27652. "description": "用户ID",
  27653. "type": "integer"
  27654. },
  27655. "userinfotype": {
  27656. "description": "用户类型 1-个人 2-企业",
  27657. "type": "integer"
  27658. },
  27659. "username": {
  27660. "description": "用户名称",
  27661. "type": "string"
  27662. },
  27663. "wrqty": {
  27664. "description": "仓单数量(数量)",
  27665. "type": "number"
  27666. }
  27667. }
  27668. },
  27669. "models.QhjMgrCustomer": {
  27670. "type": "object",
  27671. "properties": {
  27672. "address": {
  27673. "description": "通讯地址",
  27674. "type": "string"
  27675. },
  27676. "attachment1": {
  27677. "description": "附件1",
  27678. "type": "string"
  27679. },
  27680. "audittime": {
  27681. "description": "审核时间",
  27682. "type": "string"
  27683. },
  27684. "birthday": {
  27685. "description": "生日",
  27686. "type": "string"
  27687. },
  27688. "brokerid": {
  27689. "description": "所属客户经理id",
  27690. "type": "integer"
  27691. },
  27692. "brokername": {
  27693. "description": "所属客户经理名称",
  27694. "type": "string"
  27695. },
  27696. "cardbackphotourl": {
  27697. "description": "证件反面图片地址",
  27698. "type": "string"
  27699. },
  27700. "cardfrontphotourl": {
  27701. "description": "证件正面图片地址",
  27702. "type": "string"
  27703. },
  27704. "cardnum": {
  27705. "description": "证件号码",
  27706. "type": "string"
  27707. },
  27708. "cardtype": {
  27709. "description": "证件类型",
  27710. "type": "integer"
  27711. },
  27712. "cardtypename": {
  27713. "description": "证件类型名称",
  27714. "type": "string"
  27715. },
  27716. "cityid": {
  27717. "description": "市",
  27718. "type": "integer"
  27719. },
  27720. "cityname": {
  27721. "description": "城市名称",
  27722. "type": "string"
  27723. },
  27724. "contactname": {
  27725. "description": "联系人",
  27726. "type": "string"
  27727. },
  27728. "countryid": {
  27729. "description": "国家",
  27730. "type": "integer"
  27731. },
  27732. "countryname": {
  27733. "description": "国家名称",
  27734. "type": "string"
  27735. },
  27736. "createtime": {
  27737. "description": "创建时间",
  27738. "type": "string"
  27739. },
  27740. "customername": {
  27741. "description": "客户名称",
  27742. "type": "string"
  27743. },
  27744. "districtid": {
  27745. "description": "区域",
  27746. "type": "integer"
  27747. },
  27748. "districtname": {
  27749. "description": "地区名称",
  27750. "type": "string"
  27751. },
  27752. "email": {
  27753. "description": "邮件",
  27754. "type": "string"
  27755. },
  27756. "legalpersonname": {
  27757. "description": "法人姓名(企业)",
  27758. "type": "string"
  27759. },
  27760. "logincode": {
  27761. "description": "登录账号(代码)",
  27762. "type": "string"
  27763. },
  27764. "memberuserid": {
  27765. "description": "所属机构ID(所属会员)",
  27766. "type": "integer"
  27767. },
  27768. "memberusername": {
  27769. "description": "所属会员名称",
  27770. "type": "string"
  27771. },
  27772. "mobile": {
  27773. "description": "手机号码",
  27774. "type": "string"
  27775. },
  27776. "modifytime": {
  27777. "description": "修改时间",
  27778. "type": "string"
  27779. },
  27780. "nickname": {
  27781. "description": "昵称",
  27782. "type": "string"
  27783. },
  27784. "parentuserid": {
  27785. "description": "上级机构(所属机构)",
  27786. "type": "integer"
  27787. },
  27788. "parentusername": {
  27789. "description": "所属机构名称",
  27790. "type": "string"
  27791. },
  27792. "provinceid": {
  27793. "description": "省",
  27794. "type": "integer"
  27795. },
  27796. "provincename": {
  27797. "description": "省名称",
  27798. "type": "string"
  27799. },
  27800. "proxystatementurl": {
  27801. "description": "授权委托书",
  27802. "type": "string"
  27803. },
  27804. "querytype": {
  27805. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27806. "type": "integer"
  27807. },
  27808. "remark": {
  27809. "description": "备注",
  27810. "type": "string"
  27811. },
  27812. "sex": {
  27813. "description": "性别 0-女 1-男",
  27814. "type": "integer"
  27815. },
  27816. "status": {
  27817. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27818. "type": "integer"
  27819. },
  27820. "statusdesc": {
  27821. "description": "账户状态中文描述",
  27822. "type": "string"
  27823. },
  27824. "taxpayernum": {
  27825. "description": "纳税人识别号",
  27826. "type": "string"
  27827. },
  27828. "telphone": {
  27829. "description": "联系电话",
  27830. "type": "string"
  27831. },
  27832. "userid": {
  27833. "description": "用户ID",
  27834. "type": "integer"
  27835. },
  27836. "userinfotype": {
  27837. "description": "客户类型 1-个人 2-企业",
  27838. "type": "integer"
  27839. },
  27840. "username": {
  27841. "description": "用户名称",
  27842. "type": "string"
  27843. }
  27844. }
  27845. },
  27846. "models.QhjMgrPickGoods": {
  27847. "type": "object",
  27848. "properties": {
  27849. "enumdicname": {
  27850. "description": "单位名称(提货商品)",
  27851. "type": "string"
  27852. },
  27853. "goodsid": {
  27854. "description": "商品id",
  27855. "type": "integer"
  27856. },
  27857. "imageaddress": {
  27858. "description": "图片",
  27859. "type": "string"
  27860. },
  27861. "modifierid": {
  27862. "description": "修改人",
  27863. "type": "integer"
  27864. },
  27865. "modifiername": {
  27866. "description": "修改人名称",
  27867. "type": "string"
  27868. },
  27869. "modifysrc": {
  27870. "description": "修改来源 - 1:管理端 2:终端",
  27871. "type": "integer"
  27872. },
  27873. "pickupgoodsagreeunit": {
  27874. "description": "合约乘数",
  27875. "type": "number"
  27876. },
  27877. "pickupgoodsdesc": {
  27878. "description": "描述",
  27879. "type": "string"
  27880. },
  27881. "pickupgoodsid": {
  27882. "description": "提货商品ID",
  27883. "type": "string"
  27884. },
  27885. "pickupgoodsname": {
  27886. "description": "提货商品名称",
  27887. "type": "string"
  27888. },
  27889. "pickupgoodsstatus": {
  27890. "description": "状态 - 1:正常 2:停用 3:注销",
  27891. "type": "integer"
  27892. },
  27893. "pickupgoodsunitid": {
  27894. "description": "单位ID",
  27895. "type": "integer"
  27896. },
  27897. "pickupratio": {
  27898. "description": "提货系数",
  27899. "type": "number"
  27900. },
  27901. "preparedays": {
  27902. "description": "备货期(天)",
  27903. "type": "integer"
  27904. },
  27905. "remark": {
  27906. "description": "备注",
  27907. "type": "string"
  27908. },
  27909. "updatetime": {
  27910. "description": "更新时间",
  27911. "type": "string"
  27912. }
  27913. }
  27914. },
  27915. "models.QhjMgrPositionRsp": {
  27916. "type": "object",
  27917. "properties": {
  27918. "accountid": {
  27919. "description": "账号Id",
  27920. "type": "integer"
  27921. },
  27922. "accountname": {
  27923. "description": "用户名称",
  27924. "type": "string"
  27925. },
  27926. "agreeunit": {
  27927. "description": "合约乘数",
  27928. "type": "number"
  27929. },
  27930. "averageprice": {
  27931. "description": "均价",
  27932. "type": "number"
  27933. },
  27934. "avialqty": {
  27935. "description": "可用数量",
  27936. "type": "number"
  27937. },
  27938. "decimalplace": {
  27939. "description": "报价小数位",
  27940. "type": "integer"
  27941. },
  27942. "enumdicname": {
  27943. "description": "单位名称(商品)",
  27944. "type": "string"
  27945. },
  27946. "frozenqty": {
  27947. "description": "冻结数量",
  27948. "type": "number"
  27949. },
  27950. "goodscode": {
  27951. "description": "商品代码(内部)",
  27952. "type": "string"
  27953. },
  27954. "goodsid": {
  27955. "description": "商品Id",
  27956. "type": "integer"
  27957. },
  27958. "goodsname": {
  27959. "description": "商品名称",
  27960. "type": "string"
  27961. },
  27962. "goodunitid": {
  27963. "description": "报价单位ID",
  27964. "type": "integer"
  27965. },
  27966. "holderamount": {
  27967. "description": "金额",
  27968. "type": "number"
  27969. },
  27970. "holderqty": {
  27971. "description": "持有数量",
  27972. "type": "number"
  27973. },
  27974. "holdertype": {
  27975. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27976. "type": "integer"
  27977. },
  27978. "logincode": {
  27979. "description": "登录代码(账户)",
  27980. "type": "string"
  27981. },
  27982. "marketid": {
  27983. "description": "市场id",
  27984. "type": "integer"
  27985. },
  27986. "qtydecimalplace": {
  27987. "description": "成交量小数位",
  27988. "type": "integer"
  27989. },
  27990. "trademode": {
  27991. "description": "交易模式",
  27992. "type": "integer"
  27993. },
  27994. "userid": {
  27995. "description": "用户id",
  27996. "type": "integer"
  27997. },
  27998. "userinfotype": {
  27999. "description": "账户类型 1-个人 2-企业",
  28000. "type": "integer"
  28001. }
  28002. }
  28003. },
  28004. "models.QhjMgrSubArea": {
  28005. "type": "object",
  28006. "properties": {
  28007. "accountname": {
  28008. "description": "账户名称(机构名称)",
  28009. "type": "string"
  28010. },
  28011. "memberuserid": {
  28012. "description": "所属会员ID",
  28013. "type": "integer"
  28014. },
  28015. "parenttopuser": {
  28016. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  28017. "type": "string"
  28018. },
  28019. "parentuserid": {
  28020. "description": "所属机构ID",
  28021. "type": "integer"
  28022. },
  28023. "rootuserid": {
  28024. "description": "根用户ID",
  28025. "type": "string"
  28026. },
  28027. "subaccountlevel": {
  28028. "description": "子账户层数",
  28029. "type": "integer"
  28030. },
  28031. "subarealevelpath": {
  28032. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  28033. "type": "string"
  28034. },
  28035. "userid": {
  28036. "description": "用户ID",
  28037. "type": "integer"
  28038. },
  28039. "usertype": {
  28040. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28041. "type": "integer"
  28042. }
  28043. }
  28044. },
  28045. "models.QhjMgrTradeDetailRsp": {
  28046. "type": "object",
  28047. "properties": {
  28048. "accountid": {
  28049. "description": "资金账号",
  28050. "type": "integer"
  28051. },
  28052. "accountname": {
  28053. "description": "用户名称",
  28054. "type": "string"
  28055. },
  28056. "agreeunit": {
  28057. "description": "合约乘数",
  28058. "type": "number"
  28059. },
  28060. "buyorsell": {
  28061. "description": "成交类型(方向) 0:买 1:卖",
  28062. "type": "integer"
  28063. },
  28064. "decimalplace": {
  28065. "description": "报价小数位",
  28066. "type": "integer"
  28067. },
  28068. "enumdicname": {
  28069. "description": "单位名称(商品)",
  28070. "type": "string"
  28071. },
  28072. "goodscode": {
  28073. "description": "商品代码(内部)",
  28074. "type": "string"
  28075. },
  28076. "goodsid": {
  28077. "description": "商品id",
  28078. "type": "integer"
  28079. },
  28080. "goodsname": {
  28081. "description": "商品名称",
  28082. "type": "string"
  28083. },
  28084. "goodunitid": {
  28085. "description": "报价单位ID",
  28086. "type": "integer"
  28087. },
  28088. "logincode": {
  28089. "description": "登录代码(账户)",
  28090. "type": "string"
  28091. },
  28092. "marketid": {
  28093. "description": "市场id",
  28094. "type": "integer"
  28095. },
  28096. "orderid": {
  28097. "description": "关联委托单号",
  28098. "type": "string"
  28099. },
  28100. "qtydecimalplace": {
  28101. "description": "成交量小数位",
  28102. "type": "integer"
  28103. },
  28104. "tradeamount": {
  28105. "description": "金额",
  28106. "type": "number"
  28107. },
  28108. "tradedate": {
  28109. "description": "交易日",
  28110. "type": "string"
  28111. },
  28112. "tradeid": {
  28113. "description": "成交单号",
  28114. "type": "string"
  28115. },
  28116. "trademode": {
  28117. "description": "交易模式",
  28118. "type": "integer"
  28119. },
  28120. "tradeprice": {
  28121. "description": "价格",
  28122. "type": "number"
  28123. },
  28124. "tradeqty": {
  28125. "description": "数量",
  28126. "type": "number"
  28127. },
  28128. "tradetime": {
  28129. "description": "成交时间",
  28130. "type": "string"
  28131. },
  28132. "userid": {
  28133. "description": "用户id",
  28134. "type": "integer"
  28135. },
  28136. "userinfotype": {
  28137. "description": "账户类型 1-个人 2-企业",
  28138. "type": "integer"
  28139. }
  28140. }
  28141. },
  28142. "models.QhjMgrTradeOrderDetailRsp": {
  28143. "type": "object",
  28144. "properties": {
  28145. "accountid": {
  28146. "description": "资金账号",
  28147. "type": "integer"
  28148. },
  28149. "accountname": {
  28150. "description": "用户名称",
  28151. "type": "string"
  28152. },
  28153. "agreeunit": {
  28154. "description": "合约乘数",
  28155. "type": "number"
  28156. },
  28157. "amount": {
  28158. "description": "金额",
  28159. "type": "number"
  28160. },
  28161. "decimalplace": {
  28162. "description": "报价小数位",
  28163. "type": "integer"
  28164. },
  28165. "enumdicname": {
  28166. "description": "单位名称(商品)",
  28167. "type": "string"
  28168. },
  28169. "goodscode": {
  28170. "description": "商品代码(内部)",
  28171. "type": "string"
  28172. },
  28173. "goodsid": {
  28174. "description": "商品id",
  28175. "type": "integer"
  28176. },
  28177. "goodsname": {
  28178. "description": "商品名称",
  28179. "type": "string"
  28180. },
  28181. "goodunitid": {
  28182. "description": "报价单位ID",
  28183. "type": "integer"
  28184. },
  28185. "logincode": {
  28186. "description": "登录代码(账户)",
  28187. "type": "string"
  28188. },
  28189. "marketid": {
  28190. "description": "市场id",
  28191. "type": "integer"
  28192. },
  28193. "orderid": {
  28194. "description": "关联委托单号",
  28195. "type": "string"
  28196. },
  28197. "orderprice": {
  28198. "description": "价格",
  28199. "type": "number"
  28200. },
  28201. "orderqty": {
  28202. "description": "数量",
  28203. "type": "number"
  28204. },
  28205. "orderstatus": {
  28206. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28207. "type": "integer"
  28208. },
  28209. "ordertime": {
  28210. "description": "委托时间",
  28211. "type": "string"
  28212. },
  28213. "qtydecimalplace": {
  28214. "description": "成交量小数位",
  28215. "type": "integer"
  28216. },
  28217. "tradedate": {
  28218. "description": "交易日",
  28219. "type": "string"
  28220. },
  28221. "trademode": {
  28222. "description": "交易模式",
  28223. "type": "integer"
  28224. },
  28225. "userid": {
  28226. "description": "用户id",
  28227. "type": "integer"
  28228. },
  28229. "userinfotype": {
  28230. "description": "账户类型 1-个人 2-企业",
  28231. "type": "integer"
  28232. }
  28233. }
  28234. },
  28235. "models.QhjMgrTradePayOrder": {
  28236. "type": "object",
  28237. "properties": {
  28238. "accountname": {
  28239. "description": "用户名称",
  28240. "type": "string"
  28241. },
  28242. "advanceratio": {
  28243. "description": "首付比率",
  28244. "type": "number"
  28245. },
  28246. "agreeunit": {
  28247. "description": "合约乘数",
  28248. "type": "number"
  28249. },
  28250. "buyaccountid": {
  28251. "description": "买方账号ID[报价币种]",
  28252. "type": "integer"
  28253. },
  28254. "buyorderid": {
  28255. "description": "买方委托单号(关联单号)",
  28256. "type": "string"
  28257. },
  28258. "createtime": {
  28259. "description": "创建时间",
  28260. "type": "string"
  28261. },
  28262. "decimalplace": {
  28263. "description": "报价小数位",
  28264. "type": "integer"
  28265. },
  28266. "enumdicname": {
  28267. "description": "单位名称(商品)",
  28268. "type": "string"
  28269. },
  28270. "goodscode": {
  28271. "description": "商品代码(内部)",
  28272. "type": "string"
  28273. },
  28274. "goodsid": {
  28275. "description": "商品ID",
  28276. "type": "integer"
  28277. },
  28278. "goodsname": {
  28279. "description": "商品名称",
  28280. "type": "string"
  28281. },
  28282. "goodunitid": {
  28283. "description": "报价单位ID",
  28284. "type": "integer"
  28285. },
  28286. "logincode": {
  28287. "description": "登录代码(账户)",
  28288. "type": "string"
  28289. },
  28290. "marketid": {
  28291. "description": "市场id",
  28292. "type": "integer"
  28293. },
  28294. "offamount": {
  28295. "description": "优惠金额",
  28296. "type": "number"
  28297. },
  28298. "operatetype": {
  28299. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28300. "type": "integer"
  28301. },
  28302. "payamount": {
  28303. "description": "支付金额(金额)",
  28304. "type": "number"
  28305. },
  28306. "payflag": {
  28307. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28308. "type": "integer"
  28309. },
  28310. "paylimitedtime": {
  28311. "description": "支付期限",
  28312. "type": "string"
  28313. },
  28314. "paytime": {
  28315. "description": "付款时间",
  28316. "type": "string"
  28317. },
  28318. "qtydecimalplace": {
  28319. "description": "成交量小数位",
  28320. "type": "integer"
  28321. },
  28322. "sellaccountid": {
  28323. "description": "卖方账号ID[报价币种]",
  28324. "type": "integer"
  28325. },
  28326. "sellorderid": {
  28327. "description": "卖方委托单号",
  28328. "type": "string"
  28329. },
  28330. "tradeamount": {
  28331. "description": "成交金额(优惠后金额)",
  28332. "type": "number"
  28333. },
  28334. "tradecharge": {
  28335. "description": "成交手续费(买方)",
  28336. "type": "number"
  28337. },
  28338. "tradedate": {
  28339. "description": "交易日(yyyyMMdd)",
  28340. "type": "string"
  28341. },
  28342. "tradeid": {
  28343. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28344. "type": "string"
  28345. },
  28346. "trademode": {
  28347. "description": "交易模式",
  28348. "type": "integer"
  28349. },
  28350. "tradeprice": {
  28351. "description": "成交价格(价格)",
  28352. "type": "number"
  28353. },
  28354. "tradeqty": {
  28355. "description": "成交数量(数量)",
  28356. "type": "number"
  28357. },
  28358. "tradetime": {
  28359. "description": "成交时间",
  28360. "type": "string"
  28361. },
  28362. "userid": {
  28363. "description": "用户id",
  28364. "type": "integer"
  28365. },
  28366. "userinfotype": {
  28367. "description": "账户类型 1-个人 2-企业",
  28368. "type": "integer"
  28369. }
  28370. }
  28371. },
  28372. "models.QhjMyTeamEx": {
  28373. "type": "object",
  28374. "properties": {
  28375. "accountname": {
  28376. "description": "用户名称",
  28377. "type": "string"
  28378. },
  28379. "accountstatus": {
  28380. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28381. "type": "integer"
  28382. },
  28383. "createtime": {
  28384. "description": "创建时间",
  28385. "type": "string"
  28386. },
  28387. "mobile": {
  28388. "description": "手机号码",
  28389. "type": "string"
  28390. },
  28391. "refereeuserid": {
  28392. "description": "推荐人id",
  28393. "type": "integer"
  28394. },
  28395. "refernum": {
  28396. "description": "推荐码",
  28397. "type": "string"
  28398. },
  28399. "subList": {
  28400. "type": "array",
  28401. "items": {
  28402. "$ref": "#/definitions/models.QhjMyTeamEx"
  28403. }
  28404. },
  28405. "userid": {
  28406. "description": "用户id",
  28407. "type": "integer"
  28408. },
  28409. "userinfotype": {
  28410. "description": "用户类型 1-个人 2-企业",
  28411. "type": "integer"
  28412. }
  28413. }
  28414. },
  28415. "models.QhjNodeAgreementConfig": {
  28416. "type": "object",
  28417. "properties": {
  28418. "agreementcontent": {
  28419. "description": "协议内容",
  28420. "type": "string"
  28421. },
  28422. "agreementid": {
  28423. "description": "协议ID",
  28424. "type": "integer"
  28425. },
  28426. "agreementname": {
  28427. "description": "协议名称",
  28428. "type": "string"
  28429. },
  28430. "agreementno": {
  28431. "description": "协议编号",
  28432. "type": "string"
  28433. },
  28434. "agreementtype": {
  28435. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28436. "type": "integer"
  28437. },
  28438. "agreementversion": {
  28439. "description": "协议版本号",
  28440. "type": "integer"
  28441. },
  28442. "configid": {
  28443. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28444. "type": "integer"
  28445. },
  28446. "createtime": {
  28447. "description": "创建时间",
  28448. "type": "string"
  28449. },
  28450. "goodsid": {
  28451. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28452. "type": "integer"
  28453. },
  28454. "nodetype": {
  28455. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28456. "type": "integer"
  28457. }
  28458. }
  28459. },
  28460. "models.QhjParentAreaList": {
  28461. "type": "object",
  28462. "properties": {
  28463. "accountname": {
  28464. "description": "账户名称(机构名称)",
  28465. "type": "string"
  28466. },
  28467. "userid": {
  28468. "description": "用户ID",
  28469. "type": "integer"
  28470. },
  28471. "usertype": {
  28472. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28473. "type": "integer"
  28474. }
  28475. }
  28476. },
  28477. "models.QhjPayOrder": {
  28478. "type": "object",
  28479. "properties": {
  28480. "advanceratio": {
  28481. "description": "首付比率",
  28482. "type": "number"
  28483. },
  28484. "buyaccountid": {
  28485. "description": "买方账号ID[报价币种]",
  28486. "type": "integer"
  28487. },
  28488. "buyorderid": {
  28489. "description": "买方委托单号",
  28490. "type": "string"
  28491. },
  28492. "createtime": {
  28493. "description": "创建时间",
  28494. "type": "string"
  28495. },
  28496. "decimalplace": {
  28497. "description": "商品报价小数位",
  28498. "type": "integer"
  28499. },
  28500. "enumdicname": {
  28501. "description": "单位名称",
  28502. "type": "string"
  28503. },
  28504. "goodscode": {
  28505. "description": "商品代码",
  28506. "type": "string"
  28507. },
  28508. "goodsid": {
  28509. "description": "商品ID",
  28510. "type": "integer"
  28511. },
  28512. "goodsname": {
  28513. "description": "商品名称",
  28514. "type": "string"
  28515. },
  28516. "goodunitid": {
  28517. "description": "商品单位id",
  28518. "type": "integer"
  28519. },
  28520. "marketid": {
  28521. "description": "市场ID",
  28522. "type": "integer"
  28523. },
  28524. "offamount": {
  28525. "description": "优惠金额",
  28526. "type": "number"
  28527. },
  28528. "operatetype": {
  28529. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28530. "type": "integer"
  28531. },
  28532. "payamount": {
  28533. "description": "支付金额",
  28534. "type": "number"
  28535. },
  28536. "payflag": {
  28537. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28538. "type": "integer"
  28539. },
  28540. "paylimitedtime": {
  28541. "description": "支付期限",
  28542. "type": "string"
  28543. },
  28544. "paytime": {
  28545. "description": "付款时间",
  28546. "type": "string"
  28547. },
  28548. "qtydecimalplace": {
  28549. "description": "成交量小数位",
  28550. "type": "integer"
  28551. },
  28552. "sellaccountid": {
  28553. "description": "卖方账号ID[报价币种]",
  28554. "type": "integer"
  28555. },
  28556. "sellorderid": {
  28557. "description": "卖方委托单号",
  28558. "type": "string"
  28559. },
  28560. "tradeamount": {
  28561. "description": "成交金额(优惠后金额)",
  28562. "type": "number"
  28563. },
  28564. "tradecharge": {
  28565. "description": "成交手续费(买方)",
  28566. "type": "number"
  28567. },
  28568. "tradedate": {
  28569. "description": "交易日(yyyyMMdd)",
  28570. "type": "string"
  28571. },
  28572. "tradeid": {
  28573. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28574. "type": "string"
  28575. },
  28576. "tradeprice": {
  28577. "description": "成交价格",
  28578. "type": "number"
  28579. },
  28580. "tradeqty": {
  28581. "description": "成交数量",
  28582. "type": "number"
  28583. }
  28584. }
  28585. },
  28586. "models.QhjPickArea": {
  28587. "type": "object",
  28588. "properties": {
  28589. "address": {
  28590. "description": "详细地址",
  28591. "type": "string"
  28592. },
  28593. "cityid": {
  28594. "description": "市",
  28595. "type": "integer"
  28596. },
  28597. "cityname": {
  28598. "description": "城市名称",
  28599. "type": "string"
  28600. },
  28601. "countryid": {
  28602. "description": "国家",
  28603. "type": "integer"
  28604. },
  28605. "countryname": {
  28606. "description": "国家名称",
  28607. "type": "string"
  28608. },
  28609. "districtid": {
  28610. "description": "地区",
  28611. "type": "integer"
  28612. },
  28613. "districtname": {
  28614. "description": "地区名称",
  28615. "type": "string"
  28616. },
  28617. "fromuserid": {
  28618. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28619. "type": "integer"
  28620. },
  28621. "fromusername": {
  28622. "description": "所属机构名称",
  28623. "type": "string"
  28624. },
  28625. "provinceid": {
  28626. "description": "省",
  28627. "type": "integer"
  28628. },
  28629. "provincename": {
  28630. "description": "省名称",
  28631. "type": "string"
  28632. },
  28633. "suborgtype": {
  28634. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28635. "type": "integer"
  28636. },
  28637. "userid": {
  28638. "description": "机构用户ID 其他做市关系,都设置为 1",
  28639. "type": "integer"
  28640. },
  28641. "username": {
  28642. "description": "机构用户名称(门店门称)",
  28643. "type": "string"
  28644. }
  28645. }
  28646. },
  28647. "models.QhjPickGoods": {
  28648. "type": "object",
  28649. "properties": {
  28650. "enumdicname": {
  28651. "description": "单位名称(提货商品)",
  28652. "type": "string"
  28653. },
  28654. "goodsid": {
  28655. "description": "商品id",
  28656. "type": "integer"
  28657. },
  28658. "imageaddress": {
  28659. "description": "图片",
  28660. "type": "string"
  28661. },
  28662. "modifierid": {
  28663. "description": "修改人",
  28664. "type": "integer"
  28665. },
  28666. "modifiername": {
  28667. "description": "修改人名称",
  28668. "type": "string"
  28669. },
  28670. "modifysrc": {
  28671. "description": "修改来源 - 1:管理端 2:终端",
  28672. "type": "integer"
  28673. },
  28674. "pickupgoodsagreeunit": {
  28675. "description": "合约乘数",
  28676. "type": "number"
  28677. },
  28678. "pickupgoodsdesc": {
  28679. "description": "描述",
  28680. "type": "string"
  28681. },
  28682. "pickupgoodsid": {
  28683. "description": "提货商品ID",
  28684. "type": "string"
  28685. },
  28686. "pickupgoodsname": {
  28687. "description": "提货商品名称",
  28688. "type": "string"
  28689. },
  28690. "pickupgoodsstatus": {
  28691. "description": "状态 - 1:正常 2:停用 3:注销",
  28692. "type": "integer"
  28693. },
  28694. "pickupgoodsunitid": {
  28695. "description": "单位ID",
  28696. "type": "integer"
  28697. },
  28698. "pickupratio": {
  28699. "description": "提货系数",
  28700. "type": "number"
  28701. },
  28702. "preparedays": {
  28703. "description": "备货期(天)",
  28704. "type": "integer"
  28705. },
  28706. "remark": {
  28707. "description": "备注",
  28708. "type": "string"
  28709. },
  28710. "updatetime": {
  28711. "description": "更新时间",
  28712. "type": "string"
  28713. }
  28714. }
  28715. },
  28716. "models.QhjRSTriggerLog": {
  28717. "type": "object",
  28718. "properties": {
  28719. "accountid": {
  28720. "description": "用户资金账户",
  28721. "type": "integer"
  28722. },
  28723. "accountname": {
  28724. "description": "账号名称(ACCOUNTID对应的名称)",
  28725. "type": "string"
  28726. },
  28727. "currencyid": {
  28728. "description": "币种id",
  28729. "type": "integer"
  28730. },
  28731. "currencyname": {
  28732. "description": "币种名称",
  28733. "type": "string"
  28734. },
  28735. "decimalplace": {
  28736. "description": "商品报价小数位",
  28737. "type": "integer"
  28738. },
  28739. "enumdicname": {
  28740. "description": "单位名称",
  28741. "type": "string"
  28742. },
  28743. "goodscode": {
  28744. "description": "定投商品代码",
  28745. "type": "string"
  28746. },
  28747. "goodsid": {
  28748. "description": "定投商品ID",
  28749. "type": "integer"
  28750. },
  28751. "goodsname": {
  28752. "description": "定投商品名称",
  28753. "type": "string"
  28754. },
  28755. "goodunitid": {
  28756. "description": "定投商品单位id",
  28757. "type": "integer"
  28758. },
  28759. "logid": {
  28760. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28761. "type": "string"
  28762. },
  28763. "logincode": {
  28764. "description": "账号(登录代码)",
  28765. "type": "string"
  28766. },
  28767. "qtydecimalplace": {
  28768. "description": "成交量小数位",
  28769. "type": "integer"
  28770. },
  28771. "regularlycycle": {
  28772. "description": "定投频率 - 1:每周 2:每月",
  28773. "type": "integer"
  28774. },
  28775. "regularlycyclevalue": {
  28776. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28777. "type": "string"
  28778. },
  28779. "regularlymode": {
  28780. "description": "定投方式 - 1:按数量 2:按金额",
  28781. "type": "integer"
  28782. },
  28783. "regularlymodevalue": {
  28784. "description": "定投方式值 - 数量或金额",
  28785. "type": "number"
  28786. },
  28787. "regularlystrategyid": {
  28788. "description": "定投策略ID",
  28789. "type": "integer"
  28790. },
  28791. "retcode": {
  28792. "description": "错误码",
  28793. "type": "string"
  28794. },
  28795. "tradeid": {
  28796. "description": "成交单ID",
  28797. "type": "string"
  28798. },
  28799. "triggeramount": {
  28800. "description": "触发金额",
  28801. "type": "number"
  28802. },
  28803. "triggerqty": {
  28804. "description": "触发数量",
  28805. "type": "number"
  28806. },
  28807. "triggerstatus": {
  28808. "description": "触发状态 - 1:成功 2:失败",
  28809. "type": "integer"
  28810. },
  28811. "triggertime": {
  28812. "description": "触发时间",
  28813. "type": "string"
  28814. },
  28815. "triggertradedate": {
  28816. "description": "触发交易日",
  28817. "type": "string"
  28818. },
  28819. "userid": {
  28820. "description": "所属用户ID",
  28821. "type": "integer"
  28822. },
  28823. "userinfotype": {
  28824. "description": "用户类型 1-个人 2-企业",
  28825. "type": "integer"
  28826. },
  28827. "username": {
  28828. "description": "用户名称(userid对应的名称)",
  28829. "type": "string"
  28830. }
  28831. }
  28832. },
  28833. "models.QhjRStrategy": {
  28834. "type": "object",
  28835. "properties": {
  28836. "accountid": {
  28837. "description": "用户资金账户",
  28838. "type": "integer"
  28839. },
  28840. "accountname": {
  28841. "description": "账号名称(ACCOUNTID对应的名称)",
  28842. "type": "string"
  28843. },
  28844. "currencyid": {
  28845. "description": "币种id",
  28846. "type": "integer"
  28847. },
  28848. "currencyname": {
  28849. "description": "币种名称",
  28850. "type": "string"
  28851. },
  28852. "decimalplace": {
  28853. "description": "商品报价小数位",
  28854. "type": "integer"
  28855. },
  28856. "enumdicname": {
  28857. "description": "单位名称",
  28858. "type": "string"
  28859. },
  28860. "goodscode": {
  28861. "description": "定投商品代码",
  28862. "type": "string"
  28863. },
  28864. "goodsid": {
  28865. "description": "定投商品ID",
  28866. "type": "integer"
  28867. },
  28868. "goodsname": {
  28869. "description": "定投商品名称",
  28870. "type": "string"
  28871. },
  28872. "goodunitid": {
  28873. "description": "定投商品单位id",
  28874. "type": "integer"
  28875. },
  28876. "lasteffecttradedate": {
  28877. "description": "最新生效交易日",
  28878. "type": "string"
  28879. },
  28880. "laststoptradedate": {
  28881. "description": "最新暂停交易日",
  28882. "type": "string"
  28883. },
  28884. "lasttriggertradedate": {
  28885. "description": "最新触发交易日",
  28886. "type": "string"
  28887. },
  28888. "logincode": {
  28889. "description": "账号(登录代码)",
  28890. "type": "string"
  28891. },
  28892. "nexttriggeramount": {
  28893. "description": "下次触发金额",
  28894. "type": "number"
  28895. },
  28896. "nexttriggerdate": {
  28897. "description": "下次触发日期",
  28898. "type": "string"
  28899. },
  28900. "nexttriggerqty": {
  28901. "description": "下次触发数量 [按小数位放大值]",
  28902. "type": "number"
  28903. },
  28904. "qtydecimalplace": {
  28905. "description": "成交量小数位",
  28906. "type": "integer"
  28907. },
  28908. "regularlycycle": {
  28909. "description": "定投频率 - 1:每周 2:每月",
  28910. "type": "integer"
  28911. },
  28912. "regularlycyclevalue": {
  28913. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28914. "type": "string"
  28915. },
  28916. "regularlymode": {
  28917. "description": "定投方式 - 1:按数量 2:按金额",
  28918. "type": "integer"
  28919. },
  28920. "regularlymodevalue": {
  28921. "description": "定投方式值 - 数量或金额",
  28922. "type": "number"
  28923. },
  28924. "regularlystrategyid": {
  28925. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28926. "type": "integer"
  28927. },
  28928. "regularlystrategystatus": {
  28929. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28930. "type": "integer"
  28931. },
  28932. "remark": {
  28933. "description": "备注",
  28934. "type": "string"
  28935. },
  28936. "triggersuccesstimes": {
  28937. "description": "累计定投成功次数",
  28938. "type": "string"
  28939. },
  28940. "triggertotalamount": {
  28941. "description": "累计定投金额(成功)",
  28942. "type": "number"
  28943. },
  28944. "triggertotalqty": {
  28945. "description": "累计定投数量(成功) [按小数位放大值]",
  28946. "type": "number"
  28947. },
  28948. "triggertotaltimes": {
  28949. "description": "累计定投总次数",
  28950. "type": "string"
  28951. },
  28952. "updatesrc": {
  28953. "description": "更新来源 - 1:管理端 2:终端",
  28954. "type": "integer"
  28955. },
  28956. "updatetime": {
  28957. "description": "更新时间",
  28958. "type": "string"
  28959. },
  28960. "updatorid": {
  28961. "description": "更新人",
  28962. "type": "string"
  28963. },
  28964. "userid": {
  28965. "description": "所属用户ID",
  28966. "type": "integer"
  28967. },
  28968. "userinfotype": {
  28969. "description": "用户类型 1-个人 2-企业",
  28970. "type": "integer"
  28971. },
  28972. "username": {
  28973. "description": "用户名称(userid对应的名称)",
  28974. "type": "string"
  28975. }
  28976. }
  28977. },
  28978. "models.QhjReckonPriceLog": {
  28979. "type": "object",
  28980. "properties": {
  28981. "decimalplace": {
  28982. "description": "商品报价小数位",
  28983. "type": "integer"
  28984. },
  28985. "goodscode": {
  28986. "description": "商品代码",
  28987. "type": "string"
  28988. },
  28989. "goodsid": {
  28990. "description": "商品ID",
  28991. "type": "integer"
  28992. },
  28993. "goodsname": {
  28994. "description": "商品名称",
  28995. "type": "string"
  28996. },
  28997. "lastreckonprice": {
  28998. "description": "上日结算价",
  28999. "type": "number"
  29000. },
  29001. "nextdnlimitprice": {
  29002. "description": "下个交易日跌停价",
  29003. "type": "number"
  29004. },
  29005. "nexttrade": {
  29006. "description": "下个交易日",
  29007. "type": "string"
  29008. },
  29009. "nextuplimitprice": {
  29010. "description": "下个交易日涨停价",
  29011. "type": "number"
  29012. },
  29013. "reckonprice": {
  29014. "description": "今日结算价(定投价)",
  29015. "type": "number"
  29016. },
  29017. "reckontime": {
  29018. "description": "结算时间",
  29019. "type": "string"
  29020. },
  29021. "totalholderqty": {
  29022. "description": "总持仓数",
  29023. "type": "integer"
  29024. },
  29025. "totalstock": {
  29026. "description": "总库存",
  29027. "type": "integer"
  29028. },
  29029. "tradedate": {
  29030. "description": "交易日",
  29031. "type": "string"
  29032. },
  29033. "updowncount": {
  29034. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  29035. "type": "integer"
  29036. },
  29037. "updownflag": {
  29038. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  29039. "type": "integer"
  29040. },
  29041. "updownrate": {
  29042. "description": "今日涨跌幅",
  29043. "type": "number"
  29044. },
  29045. "updownrate_2d": {
  29046. "description": "连续两日涨跌幅",
  29047. "type": "number"
  29048. },
  29049. "updownrate_3d": {
  29050. "description": "连续三日涨跌幅",
  29051. "type": "number"
  29052. }
  29053. }
  29054. },
  29055. "models.QhjScoreLog": {
  29056. "type": "object",
  29057. "properties": {
  29058. "accountid": {
  29059. "description": "账户ID",
  29060. "type": "integer"
  29061. },
  29062. "createtime": {
  29063. "description": "创建时间(时间)",
  29064. "type": "string"
  29065. },
  29066. "goodsid": {
  29067. "description": "商品ID",
  29068. "type": "integer"
  29069. },
  29070. "hasuploaded": {
  29071. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  29072. "type": "integer"
  29073. },
  29074. "logid": {
  29075. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29076. "type": "string"
  29077. },
  29078. "marketid": {
  29079. "description": "市场ID",
  29080. "type": "integer"
  29081. },
  29082. "relatedamount": {
  29083. "description": "关联金额",
  29084. "type": "number"
  29085. },
  29086. "relatedorderid": {
  29087. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  29088. "type": "string"
  29089. },
  29090. "scoreconfigvalue1": {
  29091. "description": "积分配置1",
  29092. "type": "integer"
  29093. },
  29094. "scoreconfigvalue2": {
  29095. "description": "积分配置1",
  29096. "type": "integer"
  29097. },
  29098. "scoretype": {
  29099. "description": "积分类型 - 1:提货积分",
  29100. "type": "integer"
  29101. },
  29102. "scorevalue": {
  29103. "description": "积分",
  29104. "type": "number"
  29105. },
  29106. "tradedate": {
  29107. "description": "交易日(yyyyMMdd)",
  29108. "type": "string"
  29109. },
  29110. "uploadedtime": {
  29111. "description": "同步时间",
  29112. "type": "string"
  29113. },
  29114. "userid": {
  29115. "description": "用户ID",
  29116. "type": "integer"
  29117. }
  29118. }
  29119. },
  29120. "models.QhjSiteColumnDetail": {
  29121. "type": "object",
  29122. "properties": {
  29123. "author": {
  29124. "description": "作者",
  29125. "type": "string"
  29126. },
  29127. "brief": {
  29128. "description": "简介",
  29129. "type": "string"
  29130. },
  29131. "columnid": {
  29132. "description": "所属栏目",
  29133. "type": "integer"
  29134. },
  29135. "context": {
  29136. "description": "内容",
  29137. "type": "string"
  29138. },
  29139. "coverimage": {
  29140. "description": "封面图片",
  29141. "type": "string"
  29142. },
  29143. "creaedate": {
  29144. "description": "创建时间",
  29145. "type": "string"
  29146. },
  29147. "creatorid": {
  29148. "description": "创建人",
  29149. "type": "integer"
  29150. },
  29151. "hits": {
  29152. "description": "点击数",
  29153. "type": "integer"
  29154. },
  29155. "id": {
  29156. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  29157. "type": "integer"
  29158. },
  29159. "isshow": {
  29160. "description": "是否展示 - 0:不展示 1:展示",
  29161. "type": "integer"
  29162. },
  29163. "istop": {
  29164. "description": "是否置顶 - 0:不置 1:置顶",
  29165. "type": "integer"
  29166. },
  29167. "modifierid": {
  29168. "description": "操作人",
  29169. "type": "integer"
  29170. },
  29171. "publishdate": {
  29172. "description": "发布日期",
  29173. "type": "string"
  29174. },
  29175. "status": {
  29176. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  29177. "type": "integer"
  29178. },
  29179. "title": {
  29180. "description": "标题",
  29181. "type": "string"
  29182. },
  29183. "updatedate": {
  29184. "description": "修改时间",
  29185. "type": "string"
  29186. },
  29187. "userid": {
  29188. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  29189. "type": "integer"
  29190. },
  29191. "username": {
  29192. "description": "用户名称",
  29193. "type": "string"
  29194. }
  29195. }
  29196. },
  29197. "models.QhjTeamOrder": {
  29198. "type": "object",
  29199. "properties": {
  29200. "accountid": {
  29201. "description": "账户ID[报价币种]",
  29202. "type": "integer"
  29203. },
  29204. "accountname": {
  29205. "description": "账户名称",
  29206. "type": "string"
  29207. },
  29208. "agreeunit": {
  29209. "description": "合约乘数",
  29210. "type": "number"
  29211. },
  29212. "buyorsell": {
  29213. "description": "方向 - 0:买 1:卖",
  29214. "type": "integer"
  29215. },
  29216. "decimalplace": {
  29217. "description": "报价小数位",
  29218. "type": "integer"
  29219. },
  29220. "enumdicname": {
  29221. "description": "单位名称",
  29222. "type": "string"
  29223. },
  29224. "goodscode": {
  29225. "description": "商品代码(内部)",
  29226. "type": "string"
  29227. },
  29228. "goodsid": {
  29229. "description": "商品ID",
  29230. "type": "integer"
  29231. },
  29232. "goodsname": {
  29233. "description": "商品名称",
  29234. "type": "string"
  29235. },
  29236. "goodunitid": {
  29237. "description": "报价单位ID",
  29238. "type": "integer"
  29239. },
  29240. "marketid": {
  29241. "description": "市场ID",
  29242. "type": "integer"
  29243. },
  29244. "marketname": {
  29245. "description": "市场名称",
  29246. "type": "string"
  29247. },
  29248. "qtydecimalplace": {
  29249. "description": "成交量小数位",
  29250. "type": "integer"
  29251. },
  29252. "refereeuserid": {
  29253. "description": "推荐人ID",
  29254. "type": "integer"
  29255. },
  29256. "tradeamount": {
  29257. "description": "成交金额[账户币种,用于所有权]",
  29258. "type": "number"
  29259. },
  29260. "tradedate": {
  29261. "description": "交易日(yyyyMMdd)",
  29262. "type": "string"
  29263. },
  29264. "trademode": {
  29265. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29266. "type": "integer"
  29267. },
  29268. "tradeprice": {
  29269. "description": "成交价格",
  29270. "type": "number"
  29271. },
  29272. "tradeqty": {
  29273. "description": "成交数量",
  29274. "type": "number"
  29275. },
  29276. "tradetime": {
  29277. "description": "成交时间",
  29278. "type": "string"
  29279. },
  29280. "userid": {
  29281. "description": "用户ID",
  29282. "type": "integer"
  29283. }
  29284. }
  29285. },
  29286. "models.QhjTradeGoodsPickup": {
  29287. "type": "object",
  29288. "properties": {
  29289. "accountid": {
  29290. "description": "账户ID",
  29291. "type": "integer"
  29292. },
  29293. "address": {
  29294. "description": "提货人详细地址",
  29295. "type": "string"
  29296. },
  29297. "amount": {
  29298. "description": "提货金额",
  29299. "type": "number"
  29300. },
  29301. "artradedate": {
  29302. "description": "自动收货交易日(yyyyMMdd)",
  29303. "type": "string"
  29304. },
  29305. "auditer": {
  29306. "description": "审核人",
  29307. "type": "integer"
  29308. },
  29309. "auditsrc": {
  29310. "description": "更新来源 - 1:管理端 2:终端",
  29311. "type": "integer"
  29312. },
  29313. "audittime": {
  29314. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  29315. "type": "string"
  29316. },
  29317. "audittradedate": {
  29318. "description": "审核交易日(yyyyMMdd)",
  29319. "type": "string"
  29320. },
  29321. "cardnum": {
  29322. "description": "提货人证件号码",
  29323. "type": "string"
  29324. },
  29325. "cardtypeid": {
  29326. "description": "提货人证件类型",
  29327. "type": "integer"
  29328. },
  29329. "checkremark": {
  29330. "description": "审核备注",
  29331. "type": "string"
  29332. },
  29333. "cityid": {
  29334. "description": "市",
  29335. "type": "integer"
  29336. },
  29337. "cityname": {
  29338. "description": "城市名称",
  29339. "type": "string"
  29340. },
  29341. "confirmtime": {
  29342. "description": "取货时间 或 收货时间",
  29343. "type": "string"
  29344. },
  29345. "countryid": {
  29346. "description": "国家",
  29347. "type": "integer"
  29348. },
  29349. "countryname": {
  29350. "description": "国家名称",
  29351. "type": "string"
  29352. },
  29353. "decimalplace": {
  29354. "description": "商品报价小数位",
  29355. "type": "integer"
  29356. },
  29357. "districtid": {
  29358. "description": "地区",
  29359. "type": "integer"
  29360. },
  29361. "districtname": {
  29362. "description": "地区名称",
  29363. "type": "string"
  29364. },
  29365. "enumdicname": {
  29366. "description": "单位名称(提货商品)",
  29367. "type": "string"
  29368. },
  29369. "expresscompany": {
  29370. "description": "物流公司",
  29371. "type": "string"
  29372. },
  29373. "expressnum": {
  29374. "description": "物流单号",
  29375. "type": "string"
  29376. },
  29377. "goodsagreeunit": {
  29378. "description": "交易商品乘数",
  29379. "type": "number"
  29380. },
  29381. "goodscode": {
  29382. "description": "商品代码",
  29383. "type": "string"
  29384. },
  29385. "goodsid": {
  29386. "description": "商品ID",
  29387. "type": "integer"
  29388. },
  29389. "goodsname": {
  29390. "description": "商品名称",
  29391. "type": "string"
  29392. },
  29393. "goodsqty": {
  29394. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  29395. "type": "number"
  29396. },
  29397. "handlestatus": {
  29398. "description": "处理状态",
  29399. "type": "integer"
  29400. },
  29401. "logincode": {
  29402. "description": "账号(登录代码, 有可能为空)",
  29403. "type": "string"
  29404. },
  29405. "marketid": {
  29406. "description": "市场ID",
  29407. "type": "integer"
  29408. },
  29409. "phonenum": {
  29410. "description": "提货人联系方式",
  29411. "type": "string"
  29412. },
  29413. "pickupgoodsagreeunit": {
  29414. "description": "提货商品合约乘数",
  29415. "type": "number"
  29416. },
  29417. "pickupgoodsid": {
  29418. "description": "提货商品ID",
  29419. "type": "string"
  29420. },
  29421. "pickupgoodsname": {
  29422. "description": "提货商品名称",
  29423. "type": "string"
  29424. },
  29425. "pickupgoodsqty": {
  29426. "description": "提货商品手数(数量)",
  29427. "type": "number"
  29428. },
  29429. "pickupgoodsunitid": {
  29430. "description": "单位ID(提货商品)",
  29431. "type": "integer"
  29432. },
  29433. "pickupratio": {
  29434. "description": "提货系数",
  29435. "type": "number"
  29436. },
  29437. "preparedays": {
  29438. "description": "备货期(天)-提货单明细表",
  29439. "type": "integer"
  29440. },
  29441. "provinceid": {
  29442. "description": "省",
  29443. "type": "integer"
  29444. },
  29445. "provincename": {
  29446. "description": "省名称",
  29447. "type": "string"
  29448. },
  29449. "qty": {
  29450. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  29451. "type": "number"
  29452. },
  29453. "qtydecimalplace": {
  29454. "description": "商品数量小数位",
  29455. "type": "integer"
  29456. },
  29457. "recivername": {
  29458. "description": "提货人姓名",
  29459. "type": "string"
  29460. },
  29461. "reqtime": {
  29462. "description": "提货申请时间",
  29463. "type": "string"
  29464. },
  29465. "storeuserid": {
  29466. "description": "门店用户ID (千海金)",
  29467. "type": "integer"
  29468. },
  29469. "storeusername": {
  29470. "description": "门店用户名称",
  29471. "type": "string"
  29472. },
  29473. "takemode": {
  29474. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  29475. "type": "integer"
  29476. },
  29477. "takeorderid": {
  29478. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29479. "type": "string"
  29480. },
  29481. "takeorderstatus": {
  29482. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  29483. "type": "integer"
  29484. },
  29485. "takeremark": {
  29486. "description": "提货备注",
  29487. "type": "string"
  29488. },
  29489. "tradedate": {
  29490. "description": "交易日(yyyyMMdd)",
  29491. "type": "string"
  29492. },
  29493. "updatetime": {
  29494. "description": "更新时间",
  29495. "type": "string"
  29496. },
  29497. "userid": {
  29498. "description": "用户ID",
  29499. "type": "integer"
  29500. },
  29501. "userinfotype": {
  29502. "description": "客户类型 1-个人 2-企业",
  29503. "type": "integer"
  29504. },
  29505. "username": {
  29506. "description": "用户名称",
  29507. "type": "string"
  29508. }
  29509. }
  29510. },
  29511. "models.QhjUserNodeCfgAndStatus": {
  29512. "type": "object",
  29513. "properties": {
  29514. "agreementcontent": {
  29515. "description": "协议内容",
  29516. "type": "string"
  29517. },
  29518. "agreementid": {
  29519. "description": "协议ID",
  29520. "type": "integer"
  29521. },
  29522. "agreementname": {
  29523. "description": "协议名称",
  29524. "type": "string"
  29525. },
  29526. "agreementno": {
  29527. "description": "协议编号",
  29528. "type": "string"
  29529. },
  29530. "agreementtype": {
  29531. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29532. "type": "integer"
  29533. },
  29534. "agreementversion": {
  29535. "description": "协议版本号",
  29536. "type": "integer"
  29537. },
  29538. "configid": {
  29539. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29540. "type": "integer"
  29541. },
  29542. "createtime": {
  29543. "description": "创建时间",
  29544. "type": "string"
  29545. },
  29546. "goodsid": {
  29547. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29548. "type": "integer"
  29549. },
  29550. "nodetype": {
  29551. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29552. "type": "integer"
  29553. },
  29554. "signtimestamp": {
  29555. "description": "签约状态时间戳(最近一次)",
  29556. "type": "string"
  29557. },
  29558. "tradedate": {
  29559. "description": "签约交易日(yyyyMMdd)",
  29560. "type": "string"
  29561. },
  29562. "userid": {
  29563. "description": "客户ID",
  29564. "type": "integer"
  29565. }
  29566. }
  29567. },
  29568. "models.Qhjgoodsex": {
  29569. "type": "object",
  29570. "properties": {
  29571. "canfinance": {
  29572. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29573. "type": "integer"
  29574. },
  29575. "canregularlybuy": {
  29576. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29577. "type": "integer"
  29578. },
  29579. "defaulttradeuserid": {
  29580. "description": "默认交易用户ID",
  29581. "type": "integer"
  29582. },
  29583. "deliverygoodsid": {
  29584. "description": "现货品种ID",
  29585. "type": "integer"
  29586. },
  29587. "goodsid": {
  29588. "description": "商品ID(自增ID SEQ_GOODS)",
  29589. "type": "integer"
  29590. },
  29591. "minamount": {
  29592. "description": "最小购买金额",
  29593. "type": "number"
  29594. },
  29595. "regularlybuyminamount": {
  29596. "description": "定投最小金额",
  29597. "type": "number"
  29598. },
  29599. "regularlybuyminqty": {
  29600. "description": "定投最小数量",
  29601. "type": "number"
  29602. },
  29603. "spotgoodsbrandid": {
  29604. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29605. "type": "integer"
  29606. },
  29607. "visibilityforenterprise": {
  29608. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29609. "type": "integer"
  29610. },
  29611. "visibilityforpersonal": {
  29612. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29613. "type": "integer"
  29614. },
  29615. "wrstandardid": {
  29616. "description": "现货商品ID",
  29617. "type": "integer"
  29618. }
  29619. }
  29620. },
  29621. "models.QueryErrorInfosRsp": {
  29622. "type": "object",
  29623. "required": [
  29624. "errorid"
  29625. ],
  29626. "properties": {
  29627. "description": {
  29628. "description": "异常描述",
  29629. "type": "string"
  29630. },
  29631. "errorcode": {
  29632. "description": "异常代码",
  29633. "type": "string"
  29634. },
  29635. "errorid": {
  29636. "description": "异常ID",
  29637. "type": "integer"
  29638. },
  29639. "modulecode": {
  29640. "description": "所属模块",
  29641. "type": "string"
  29642. },
  29643. "operatecode": {
  29644. "description": "所属操作",
  29645. "type": "string"
  29646. },
  29647. "rownumber": {
  29648. "description": "行号",
  29649. "type": "string"
  29650. }
  29651. }
  29652. },
  29653. "models.QueryHedgeOrderDetailRsp": {
  29654. "type": "object",
  29655. "properties": {
  29656. "accountid": {
  29657. "description": "账户ID",
  29658. "type": "integer"
  29659. },
  29660. "buyorsell": {
  29661. "description": "买卖 - 0:买 1:卖",
  29662. "type": "integer"
  29663. },
  29664. "cancellogincode": {
  29665. "description": "撤单人",
  29666. "type": "string"
  29667. },
  29668. "channelbuildtype": {
  29669. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29670. "type": "integer"
  29671. },
  29672. "channelinnerorderstatus": {
  29673. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29674. "type": "integer"
  29675. },
  29676. "channeloperatetype": {
  29677. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29678. "type": "integer"
  29679. },
  29680. "closetype": {
  29681. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29682. "type": "integer"
  29683. },
  29684. "curexchangerate": {
  29685. "description": "当前汇率",
  29686. "type": "number"
  29687. },
  29688. "exchangefullname": {
  29689. "description": "外部交易所全称",
  29690. "type": "string"
  29691. },
  29692. "goodscode": {
  29693. "description": "商品代码(内部)",
  29694. "type": "string"
  29695. },
  29696. "goodsid": {
  29697. "description": "商品ID",
  29698. "type": "integer"
  29699. },
  29700. "goodsname": {
  29701. "description": "商品名称",
  29702. "type": "string"
  29703. },
  29704. "marketid": {
  29705. "description": "市场ID",
  29706. "type": "integer"
  29707. },
  29708. "openfreezemargin": {
  29709. "description": "冻结保证金(冻结交易金额)",
  29710. "type": "number"
  29711. },
  29712. "orderid": {
  29713. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29714. "type": "string"
  29715. },
  29716. "orderlogincode": {
  29717. "description": "委托人",
  29718. "type": "string"
  29719. },
  29720. "orderprice": {
  29721. "description": "委托价格(账户)",
  29722. "type": "number"
  29723. },
  29724. "orderqty": {
  29725. "description": "委托数量",
  29726. "type": "integer"
  29727. },
  29728. "ordertime": {
  29729. "description": "委托时间",
  29730. "type": "string"
  29731. },
  29732. "pricemode": {
  29733. "description": "取价方式 - 1:市价 2: 限价",
  29734. "type": "integer"
  29735. },
  29736. "tradedate": {
  29737. "description": "交易日(yyyyMMdd)",
  29738. "type": "string"
  29739. },
  29740. "tradeqty": {
  29741. "description": "成交数量",
  29742. "type": "integer"
  29743. }
  29744. }
  29745. },
  29746. "models.QueryHedgeTradeDetailRsp": {
  29747. "type": "object",
  29748. "properties": {
  29749. "accountid": {
  29750. "description": "账号ID",
  29751. "type": "integer"
  29752. },
  29753. "buyorsell": {
  29754. "description": "方向 - 0:买 1:卖",
  29755. "type": "integer"
  29756. },
  29757. "channelbuildtype": {
  29758. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29759. "type": "integer"
  29760. },
  29761. "closecharge": {
  29762. "description": "平仓手续费(账户)",
  29763. "type": "number"
  29764. },
  29765. "closecharge2": {
  29766. "description": "平仓手续费(商品)",
  29767. "type": "number"
  29768. },
  29769. "closepl": {
  29770. "description": "平仓盈亏(账户)",
  29771. "type": "number"
  29772. },
  29773. "closepl2": {
  29774. "description": "平仓盈亏(商品)",
  29775. "type": "number"
  29776. },
  29777. "closepl3": {
  29778. "description": "平仓盈亏(账户)(逐笔)",
  29779. "type": "number"
  29780. },
  29781. "closepl4": {
  29782. "description": "平仓盈亏(商品)(逐笔)",
  29783. "type": "number"
  29784. },
  29785. "closetype": {
  29786. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29787. "type": "integer"
  29788. },
  29789. "curexchangerate": {
  29790. "description": "当前汇率",
  29791. "type": "number"
  29792. },
  29793. "exchangefullname": {
  29794. "description": "外部交易所全称",
  29795. "type": "string"
  29796. },
  29797. "goodscode": {
  29798. "description": "商品代码(内部)",
  29799. "type": "string"
  29800. },
  29801. "goodsid": {
  29802. "description": "商品ID",
  29803. "type": "integer"
  29804. },
  29805. "goodsname": {
  29806. "description": "商品名称",
  29807. "type": "string"
  29808. },
  29809. "marketid": {
  29810. "description": "市场ID",
  29811. "type": "integer"
  29812. },
  29813. "opencharge": {
  29814. "description": "建仓手续费(账户)",
  29815. "type": "number"
  29816. },
  29817. "opencharge2": {
  29818. "description": "建仓手续费(商品)",
  29819. "type": "number"
  29820. },
  29821. "orderid": {
  29822. "description": "委托单号",
  29823. "type": "string"
  29824. },
  29825. "orderlogincode": {
  29826. "description": "委托人",
  29827. "type": "string"
  29828. },
  29829. "tradeamount": {
  29830. "description": "成交金额(账户)",
  29831. "type": "number"
  29832. },
  29833. "tradedate": {
  29834. "description": "交易日(yyyyMMdd)",
  29835. "type": "string"
  29836. },
  29837. "tradeid": {
  29838. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29839. "type": "string"
  29840. },
  29841. "tradeprice": {
  29842. "description": "成交价格",
  29843. "type": "number"
  29844. },
  29845. "tradeqty": {
  29846. "description": "成交数量",
  29847. "type": "integer"
  29848. },
  29849. "tradetime": {
  29850. "description": "成交时间",
  29851. "type": "string"
  29852. },
  29853. "tradetype": {
  29854. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29855. "type": "integer"
  29856. }
  29857. }
  29858. },
  29859. "models.QuotePrimaryMenu": {
  29860. "type": "object",
  29861. "properties": {
  29862. "Index": {
  29863. "description": "序号",
  29864. "type": "integer"
  29865. },
  29866. "Key": {
  29867. "description": "键名",
  29868. "type": "string"
  29869. },
  29870. "Name": {
  29871. "description": "菜单名称",
  29872. "type": "string"
  29873. },
  29874. "SubMenus": {
  29875. "description": "子菜单",
  29876. "type": "array",
  29877. "items": {
  29878. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29879. }
  29880. },
  29881. "SubTitleType": {
  29882. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29883. "type": "integer"
  29884. },
  29885. "TradeModes": {
  29886. "description": "包含市场交易类型",
  29887. "type": "string"
  29888. }
  29889. }
  29890. },
  29891. "models.QuoteSecondaryMenu": {
  29892. "type": "object",
  29893. "properties": {
  29894. "ExExchangeCode": {
  29895. "description": "外部交易所代码",
  29896. "type": "string"
  29897. },
  29898. "ExExchangeID": {
  29899. "description": "外部交易所ID",
  29900. "type": "integer"
  29901. },
  29902. "GoodsGroupIDs": {
  29903. "description": "商品组ID列表",
  29904. "type": "array",
  29905. "items": {
  29906. "type": "integer"
  29907. }
  29908. },
  29909. "Index": {
  29910. "description": "序号",
  29911. "type": "integer"
  29912. },
  29913. "MarketID": {
  29914. "description": "市场ID",
  29915. "type": "integer"
  29916. },
  29917. "MenuTitle": {
  29918. "description": "菜单标题(市场名称或外部交易所名称)",
  29919. "type": "string"
  29920. },
  29921. "TradeMode": {
  29922. "description": "交易模式",
  29923. "type": "integer"
  29924. }
  29925. }
  29926. },
  29927. "models.RoleMenu": {
  29928. "type": "object",
  29929. "properties": {
  29930. "hasright": {
  29931. "description": "是否有权限 0-没有权限 1-有权限",
  29932. "type": "integer"
  29933. },
  29934. "iconame": {
  29935. "description": "菜单图标",
  29936. "type": "string"
  29937. },
  29938. "menutype": {
  29939. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29940. "type": "integer"
  29941. },
  29942. "parentcode": {
  29943. "description": "上级资源代码",
  29944. "type": "string"
  29945. },
  29946. "remark": {
  29947. "description": "菜单备注",
  29948. "type": "string"
  29949. },
  29950. "resourcecode": {
  29951. "description": "菜单代码",
  29952. "type": "string"
  29953. },
  29954. "resourcelevel": {
  29955. "description": "级别",
  29956. "type": "integer"
  29957. },
  29958. "resourcename": {
  29959. "description": "菜单名称",
  29960. "type": "string"
  29961. },
  29962. "roleid": {
  29963. "description": "角色id",
  29964. "type": "integer"
  29965. },
  29966. "sort": {
  29967. "description": "排序",
  29968. "type": "integer"
  29969. },
  29970. "subMenu": {
  29971. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29972. "type": "array",
  29973. "items": {
  29974. "$ref": "#/definitions/models.RoleMenu"
  29975. }
  29976. },
  29977. "url": {
  29978. "description": "URL",
  29979. "type": "string"
  29980. },
  29981. "userid": {
  29982. "description": "用户id",
  29983. "type": "integer"
  29984. }
  29985. }
  29986. },
  29987. "models.SearchGoods": {
  29988. "type": "object",
  29989. "required": [
  29990. "goodscode",
  29991. "goodsid",
  29992. "goodsname",
  29993. "marketid",
  29994. "trademode"
  29995. ],
  29996. "properties": {
  29997. "goodscode": {
  29998. "description": "商品代码(内部)",
  29999. "type": "string"
  30000. },
  30001. "goodsid": {
  30002. "description": "商品ID(自增ID SEQ_GOODS)",
  30003. "type": "integer"
  30004. },
  30005. "goodsname": {
  30006. "description": "商品名称",
  30007. "type": "string"
  30008. },
  30009. "marketid": {
  30010. "description": "所属市场ID",
  30011. "type": "integer"
  30012. },
  30013. "marketname": {
  30014. "description": "市场名称",
  30015. "type": "string"
  30016. },
  30017. "trademode": {
  30018. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30019. "type": "integer"
  30020. }
  30021. }
  30022. },
  30023. "models.Systemparam": {
  30024. "type": "object",
  30025. "required": [
  30026. "paramcode"
  30027. ],
  30028. "properties": {
  30029. "loginid": {
  30030. "description": "更新用户账号,登录账号",
  30031. "type": "string"
  30032. },
  30033. "modifyflag": {
  30034. "description": "修改标志0 不允许修改 1 允许修改",
  30035. "type": "integer"
  30036. },
  30037. "paramcode": {
  30038. "description": "参数代码",
  30039. "type": "string"
  30040. },
  30041. "paramname": {
  30042. "description": "参数名",
  30043. "type": "string"
  30044. },
  30045. "paramtype": {
  30046. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  30047. "type": "integer"
  30048. },
  30049. "paramvalue": {
  30050. "description": "参数值",
  30051. "type": "string"
  30052. },
  30053. "paramvalue2": {
  30054. "description": "参数值(CLOB)",
  30055. "type": "string"
  30056. },
  30057. "regexpress": {
  30058. "description": "正则表达式",
  30059. "type": "string"
  30060. },
  30061. "remark": {
  30062. "description": "备注",
  30063. "type": "string"
  30064. },
  30065. "serverip": {
  30066. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  30067. "type": "string"
  30068. },
  30069. "showflag": {
  30070. "description": "是否显示0 不显示 1 显示",
  30071. "type": "integer"
  30072. },
  30073. "updatetime": {
  30074. "description": "更新时间",
  30075. "type": "string"
  30076. },
  30077. "userid": {
  30078. "description": "更新用户ID",
  30079. "type": "integer"
  30080. }
  30081. }
  30082. },
  30083. "models.Szdz3convertconfig": {
  30084. "type": "object",
  30085. "required": [
  30086. "converttype",
  30087. "innergoodsid",
  30088. "outergoodscode"
  30089. ],
  30090. "properties": {
  30091. "canin": {
  30092. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  30093. "type": "integer"
  30094. },
  30095. "canout": {
  30096. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  30097. "type": "integer"
  30098. },
  30099. "converttype": {
  30100. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  30101. "type": "integer"
  30102. },
  30103. "createtime": {
  30104. "description": "创建时间",
  30105. "type": "string"
  30106. },
  30107. "creatorid": {
  30108. "description": "创建人",
  30109. "type": "integer"
  30110. },
  30111. "daymaxvalue": {
  30112. "description": "当日最大转入限制",
  30113. "type": "number"
  30114. },
  30115. "freezedays": {
  30116. "description": "冻结天数 [5:花生米转交易]",
  30117. "type": "integer"
  30118. },
  30119. "innergoodsid": {
  30120. "description": "内部商品ID[交易]",
  30121. "type": "integer"
  30122. },
  30123. "inratio": {
  30124. "description": "目标值",
  30125. "type": "integer"
  30126. },
  30127. "modifierid": {
  30128. "description": "修改人",
  30129. "type": "integer"
  30130. },
  30131. "modifytime": {
  30132. "description": "修改时间",
  30133. "type": "string"
  30134. },
  30135. "outergoodscode": {
  30136. "description": "外部商品代码[JD\\PD]",
  30137. "type": "string"
  30138. },
  30139. "outratio": {
  30140. "description": "源值",
  30141. "type": "integer"
  30142. },
  30143. "pddecimalplace": {
  30144. "description": "PD小数位",
  30145. "type": "integer"
  30146. },
  30147. "timemaxvalue": {
  30148. "description": "单次最大转入限制",
  30149. "type": "number"
  30150. },
  30151. "timeminvalue": {
  30152. "description": "单次最小转入限制",
  30153. "type": "number"
  30154. }
  30155. }
  30156. },
  30157. "models.Szdz3searchwhitelist": {
  30158. "type": "object",
  30159. "required": [
  30160. "userid"
  30161. ],
  30162. "properties": {
  30163. "createtime": {
  30164. "description": "创建时间",
  30165. "type": "string"
  30166. },
  30167. "creatorid": {
  30168. "description": "创建人",
  30169. "type": "integer"
  30170. },
  30171. "modifierid": {
  30172. "description": "修改人",
  30173. "type": "integer"
  30174. },
  30175. "modifytime": {
  30176. "description": "修改时间",
  30177. "type": "string"
  30178. },
  30179. "userid": {
  30180. "description": "用户ID",
  30181. "type": "integer"
  30182. }
  30183. }
  30184. },
  30185. "models.TBGoods": {
  30186. "type": "object",
  30187. "properties": {
  30188. "agreeunit": {
  30189. "description": "合约乘数",
  30190. "type": "number"
  30191. },
  30192. "enumdicname": {
  30193. "description": "单位名称",
  30194. "type": "string"
  30195. },
  30196. "goodscode": {
  30197. "description": "商品代码(内部)",
  30198. "type": "string"
  30199. },
  30200. "goodsid": {
  30201. "description": "商品ID(自增ID SEQ_GOODS)",
  30202. "type": "integer"
  30203. },
  30204. "goodsname": {
  30205. "description": "商品名称",
  30206. "type": "string"
  30207. }
  30208. }
  30209. },
  30210. "models.TBGoodsGroup": {
  30211. "type": "object",
  30212. "properties": {
  30213. "convertratio": {
  30214. "description": "折算系数",
  30215. "type": "number"
  30216. },
  30217. "enumdicname": {
  30218. "description": "单位名称",
  30219. "type": "string"
  30220. },
  30221. "exexchangecode": {
  30222. "description": "交易所代码",
  30223. "type": "string"
  30224. },
  30225. "exexchangename": {
  30226. "description": "交易所名称",
  30227. "type": "string"
  30228. },
  30229. "gdlst": {
  30230. "description": "商品列表",
  30231. "type": "array",
  30232. "items": {
  30233. "$ref": "#/definitions/models.TBGoods"
  30234. }
  30235. },
  30236. "goodsgroupid": {
  30237. "description": "商品组ID(自增ID)",
  30238. "type": "integer"
  30239. },
  30240. "goodsgroupname": {
  30241. "description": "商品组名称",
  30242. "type": "string"
  30243. },
  30244. "goodunitid": {
  30245. "description": "报价单位ID",
  30246. "type": "integer"
  30247. }
  30248. }
  30249. },
  30250. "models.TBMiddleGoods": {
  30251. "type": "object",
  30252. "properties": {
  30253. "areauserid": {
  30254. "description": "机构用户ID",
  30255. "type": "integer"
  30256. },
  30257. "enumdicname": {
  30258. "description": "单位名称",
  30259. "type": "string"
  30260. },
  30261. "gplst": {
  30262. "description": "期货品种列表",
  30263. "type": "array",
  30264. "items": {
  30265. "$ref": "#/definitions/models.TBGoodsGroup"
  30266. }
  30267. },
  30268. "middlegoodscode": {
  30269. "description": "套保品种代码",
  30270. "type": "string"
  30271. },
  30272. "middlegoodsid": {
  30273. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  30274. "type": "integer"
  30275. },
  30276. "middlegoodsname": {
  30277. "description": "套保品种名称",
  30278. "type": "string"
  30279. },
  30280. "needarbitrageratio": {
  30281. "description": "套利比率",
  30282. "type": "number"
  30283. },
  30284. "needhedgeratio": {
  30285. "description": "套保比率",
  30286. "type": "number"
  30287. },
  30288. "wdlst": {
  30289. "description": "商品信息列表(现货品类)",
  30290. "type": "array",
  30291. "items": {
  30292. "$ref": "#/definitions/models.TBWrstandard"
  30293. }
  30294. }
  30295. }
  30296. },
  30297. "models.TBWrstandard": {
  30298. "type": "object",
  30299. "properties": {
  30300. "convertratio": {
  30301. "description": "折算系数",
  30302. "type": "number"
  30303. },
  30304. "deliverygoodsname": {
  30305. "description": "品种名称",
  30306. "type": "string"
  30307. },
  30308. "enumdicname": {
  30309. "description": "单位名称",
  30310. "type": "string"
  30311. },
  30312. "vatrate": {
  30313. "description": "增值税率",
  30314. "type": "number"
  30315. },
  30316. "wrstandardcode": {
  30317. "description": "现货商品代码",
  30318. "type": "string"
  30319. },
  30320. "wrstandardid": {
  30321. "description": "现货商品ID(SEQ_WRSTANDARD)",
  30322. "type": "integer"
  30323. },
  30324. "wrstandardname": {
  30325. "description": "现货商品名称",
  30326. "type": "string"
  30327. }
  30328. }
  30329. },
  30330. "models.Taaccount": {
  30331. "type": "object",
  30332. "required": [
  30333. "accountid",
  30334. "userid"
  30335. ],
  30336. "properties": {
  30337. "accountflag": {
  30338. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  30339. "type": "integer"
  30340. },
  30341. "accountid": {
  30342. "description": "资金账户ID",
  30343. "type": "integer"
  30344. },
  30345. "accountname": {
  30346. "description": "账户名称",
  30347. "type": "string"
  30348. },
  30349. "balance": {
  30350. "description": "期初余额",
  30351. "type": "number"
  30352. },
  30353. "capitalbalance": {
  30354. "description": "本金余额[外部子账户实际出入金余额]",
  30355. "type": "number"
  30356. },
  30357. "changeflag": {
  30358. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  30359. "type": "integer"
  30360. },
  30361. "changetime": {
  30362. "description": "账户状态变更时间",
  30363. "type": "string"
  30364. },
  30365. "closepl": {
  30366. "description": "今日平仓盈亏",
  30367. "type": "number"
  30368. },
  30369. "creditdecrease": {
  30370. "description": "今日授信减少",
  30371. "type": "number"
  30372. },
  30373. "creditincrease": {
  30374. "description": "今日授信增加",
  30375. "type": "number"
  30376. },
  30377. "curamount": {
  30378. "description": "总市值(从持仓中统计)",
  30379. "type": "number"
  30380. },
  30381. "currencyid": {
  30382. "description": "货币ID",
  30383. "type": "integer"
  30384. },
  30385. "currentbalance": {
  30386. "description": "期末余额",
  30387. "type": "number"
  30388. },
  30389. "freezecharge": {
  30390. "description": "手续费冻结",
  30391. "type": "number"
  30392. },
  30393. "freezemargin": {
  30394. "description": "冻结保证金",
  30395. "type": "number"
  30396. },
  30397. "fromaccountid": {
  30398. "description": "所属上级账户",
  30399. "type": "integer"
  30400. },
  30401. "inamount": {
  30402. "description": "今日入金金额(包括三方入金)",
  30403. "type": "number"
  30404. },
  30405. "ismain": {
  30406. "description": "是否母账号 0:不是母账户 1:是母账户",
  30407. "type": "integer"
  30408. },
  30409. "ismarketaccount": {
  30410. "description": "是否机构接单账号 0:不是 1:是",
  30411. "type": "integer"
  30412. },
  30413. "isreckonaccount": {
  30414. "description": "是否机构分润账号 0:不是 1:是",
  30415. "type": "integer"
  30416. },
  30417. "mortgagecredit": {
  30418. "description": "授信金额",
  30419. "type": "number"
  30420. },
  30421. "orifreezecharge": {
  30422. "description": "期初手续费冻结",
  30423. "type": "number"
  30424. },
  30425. "orifreezemargin": {
  30426. "description": "期初冻结保证金",
  30427. "type": "number"
  30428. },
  30429. "orimortgagecredit": {
  30430. "description": "期初授信金额",
  30431. "type": "number"
  30432. },
  30433. "oriothercredit": {
  30434. "description": "期初其它授信金额",
  30435. "type": "number"
  30436. },
  30437. "oriotherfreezemargin": {
  30438. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30439. "type": "number"
  30440. },
  30441. "orioutamountfreeze": {
  30442. "description": "期初出金冻结",
  30443. "type": "number"
  30444. },
  30445. "oriusedmargin": {
  30446. "description": "期初占用保证金",
  30447. "type": "number"
  30448. },
  30449. "othercredit": {
  30450. "description": "其它授信金额",
  30451. "type": "number"
  30452. },
  30453. "othercreditdecrease": {
  30454. "description": "今日其它授信减少",
  30455. "type": "number"
  30456. },
  30457. "othercreditincrease": {
  30458. "description": "今日其它授信增加",
  30459. "type": "number"
  30460. },
  30461. "otherfreezemargin": {
  30462. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30463. "type": "number"
  30464. },
  30465. "otherincome": {
  30466. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  30467. "type": "number"
  30468. },
  30469. "otherpay": {
  30470. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  30471. "type": "number"
  30472. },
  30473. "outamount": {
  30474. "description": "今日出金金额(包括三方出金)",
  30475. "type": "number"
  30476. },
  30477. "outamountfreeze": {
  30478. "description": "出金冻结",
  30479. "type": "number"
  30480. },
  30481. "outthreshold": {
  30482. "description": "出金阈值",
  30483. "type": "number"
  30484. },
  30485. "parentaccountid": {
  30486. "description": "所属根账号",
  30487. "type": "integer"
  30488. },
  30489. "paycharge": {
  30490. "description": "今日手续费支出",
  30491. "type": "number"
  30492. },
  30493. "relatedaccountstatus": {
  30494. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  30495. "type": "integer"
  30496. },
  30497. "relateduserid": {
  30498. "description": "关联用户",
  30499. "type": "integer"
  30500. },
  30501. "remainamount": {
  30502. "description": "融资额(从融资合同中统计)",
  30503. "type": "number"
  30504. },
  30505. "serivcegroup": {
  30506. "description": "服务分组",
  30507. "type": "integer"
  30508. },
  30509. "signstatus": {
  30510. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30511. "type": "integer"
  30512. },
  30513. "sublevelpath": {
  30514. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30515. "type": "string"
  30516. },
  30517. "taaccounttype": {
  30518. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30519. "type": "integer"
  30520. },
  30521. "thirdinamount": {
  30522. "description": "今日三方入金",
  30523. "type": "number"
  30524. },
  30525. "thirdoutamount": {
  30526. "description": "今日三方出金",
  30527. "type": "number"
  30528. },
  30529. "tradestatus": {
  30530. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30531. "type": "integer"
  30532. },
  30533. "tradestatuschangetime": {
  30534. "description": "激活时间",
  30535. "type": "string"
  30536. },
  30537. "transferamount": {
  30538. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30539. "type": "number"
  30540. },
  30541. "usedmargin": {
  30542. "description": "占用保证金",
  30543. "type": "number"
  30544. },
  30545. "userid": {
  30546. "description": "用户ID",
  30547. "type": "integer"
  30548. }
  30549. }
  30550. },
  30551. "models.Tablecolumnconfig": {
  30552. "type": "object",
  30553. "required": [
  30554. "autoid"
  30555. ],
  30556. "properties": {
  30557. "aligntype": {
  30558. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  30559. "type": "integer"
  30560. },
  30561. "autoid": {
  30562. "description": "AutoID",
  30563. "type": "integer"
  30564. },
  30565. "columnfield": {
  30566. "description": "列字段",
  30567. "type": "string"
  30568. },
  30569. "columntitle": {
  30570. "description": "列Title",
  30571. "type": "string"
  30572. },
  30573. "columnwidth": {
  30574. "description": "列宽",
  30575. "type": "string"
  30576. },
  30577. "formatterstring": {
  30578. "description": "格式化字符",
  30579. "type": "string"
  30580. },
  30581. "formattertype": {
  30582. "description": "格式化类型",
  30583. "type": "string"
  30584. },
  30585. "groupname": {
  30586. "description": "表头分组名称",
  30587. "type": "string"
  30588. },
  30589. "isshow": {
  30590. "description": "是否显示 - 0:不显示 1:显示",
  30591. "type": "integer"
  30592. },
  30593. "needsummary": {
  30594. "description": "是否需要汇总 - 0:不需要 1:需要",
  30595. "type": "integer"
  30596. },
  30597. "orderindex": {
  30598. "description": "顺序",
  30599. "type": "integer"
  30600. },
  30601. "remark": {
  30602. "description": "备注",
  30603. "type": "string"
  30604. },
  30605. "summarytype": {
  30606. "description": "汇总类型 - 1:加总 2:最后一个",
  30607. "type": "integer"
  30608. },
  30609. "tablekey": {
  30610. "description": "列表Key",
  30611. "type": "string"
  30612. }
  30613. }
  30614. },
  30615. "models.TjmdQuoteGoods": {
  30616. "type": "object",
  30617. "properties": {
  30618. "buyqty": {
  30619. "description": "买量(暂不做, 无值, 保留字段)",
  30620. "type": "number"
  30621. },
  30622. "goodscode": {
  30623. "description": "合约代码",
  30624. "type": "string"
  30625. },
  30626. "goodsgroupid": {
  30627. "description": "商品组ID(自增ID)",
  30628. "type": "integer"
  30629. },
  30630. "goodsgroupname": {
  30631. "description": "商品组名称",
  30632. "type": "string"
  30633. },
  30634. "goodsid": {
  30635. "description": "合约id",
  30636. "type": "integer"
  30637. },
  30638. "goodsname": {
  30639. "description": "合约名称",
  30640. "type": "string"
  30641. },
  30642. "refgoodscode": {
  30643. "description": "标的合约代码",
  30644. "type": "string"
  30645. },
  30646. "refgoodsid": {
  30647. "description": "标的合约id",
  30648. "type": "integer"
  30649. },
  30650. "refgoodsname": {
  30651. "description": "标的合约名称",
  30652. "type": "string"
  30653. },
  30654. "sellqty": {
  30655. "description": "卖量(暂不做, 无值, 保留字段)",
  30656. "type": "number"
  30657. }
  30658. }
  30659. },
  30660. "models.TjmdTodayAccountMargin": {
  30661. "type": "object",
  30662. "properties": {
  30663. "accountid": {
  30664. "description": "账号ID",
  30665. "type": "integer"
  30666. },
  30667. "goodsid": {
  30668. "description": "商品ID",
  30669. "type": "integer"
  30670. },
  30671. "infoc": {
  30672. "description": "配置参数",
  30673. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  30674. },
  30675. "marketid": {
  30676. "description": "市场ID",
  30677. "type": "integer"
  30678. }
  30679. }
  30680. },
  30681. "models.TjmdTradeOrderDetail": {
  30682. "type": "object",
  30683. "properties": {
  30684. "buyorsell": {
  30685. "description": "买卖方向 0-买 1-卖",
  30686. "type": "integer"
  30687. },
  30688. "goodsid": {
  30689. "description": "商品id",
  30690. "type": "integer"
  30691. },
  30692. "marketmaxsub": {
  30693. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30694. "type": "number"
  30695. },
  30696. "orderid": {
  30697. "description": "委托单号",
  30698. "type": "string"
  30699. },
  30700. "orderprice": {
  30701. "description": "委托价格",
  30702. "type": "number"
  30703. },
  30704. "orderqty": {
  30705. "description": "委托数量",
  30706. "type": "integer"
  30707. },
  30708. "pricemode": {
  30709. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30710. "type": "integer"
  30711. },
  30712. "userid": {
  30713. "description": "用户id",
  30714. "type": "integer"
  30715. },
  30716. "username": {
  30717. "description": "用户名称(已脱敏)",
  30718. "type": "string"
  30719. }
  30720. }
  30721. },
  30722. "models.TjmdTransferApply": {
  30723. "type": "object",
  30724. "properties": {
  30725. "applyid": {
  30726. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30727. "type": "integer"
  30728. },
  30729. "applystatus": {
  30730. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30731. "type": "integer"
  30732. },
  30733. "applytime": {
  30734. "description": "申请时间(时间)",
  30735. "type": "string"
  30736. },
  30737. "auditremark": {
  30738. "description": "审核备注(拒绝原因?)",
  30739. "type": "string"
  30740. },
  30741. "buyorsell": {
  30742. "description": "买卖 - 0:买 1:卖",
  30743. "type": "integer"
  30744. },
  30745. "goodscode": {
  30746. "description": "商品代码",
  30747. "type": "string"
  30748. },
  30749. "goodsid": {
  30750. "description": "商品ID",
  30751. "type": "integer"
  30752. },
  30753. "goodsname": {
  30754. "description": "商品名称",
  30755. "type": "string"
  30756. },
  30757. "marketid": {
  30758. "description": "市场ID",
  30759. "type": "integer"
  30760. },
  30761. "qty": {
  30762. "description": "转让数量(数量)",
  30763. "type": "number"
  30764. },
  30765. "tradeid": {
  30766. "description": "成交单号(关联持仓)",
  30767. "type": "string"
  30768. },
  30769. "transferamount": {
  30770. "description": "转让总金额(金额)",
  30771. "type": "number"
  30772. },
  30773. "transferprice": {
  30774. "description": "转让价格(协议价格)",
  30775. "type": "number"
  30776. }
  30777. }
  30778. },
  30779. "models.TradeHolderDetail": {
  30780. "type": "object",
  30781. "properties": {
  30782. "accountid": {
  30783. "description": "账号ID",
  30784. "type": "integer"
  30785. },
  30786. "agreeunit": {
  30787. "description": "合约乘数",
  30788. "type": "number"
  30789. },
  30790. "buyorsell": {
  30791. "description": "方向 - 0:买 1:卖",
  30792. "type": "integer"
  30793. },
  30794. "currencyid": {
  30795. "description": "商品币种id",
  30796. "type": "integer"
  30797. },
  30798. "currencyname": {
  30799. "description": "币种名称",
  30800. "type": "string"
  30801. },
  30802. "decimalplace": {
  30803. "description": "商品价格小数位",
  30804. "type": "integer"
  30805. },
  30806. "enumdicname": {
  30807. "description": "商品单位名称",
  30808. "type": "string"
  30809. },
  30810. "expirecycle": {
  30811. "description": "行权周期(天) - 1:滚动行权时填写",
  30812. "type": "integer"
  30813. },
  30814. "expiredate": {
  30815. "description": "行权日(yyyyMMdd) - 到期日",
  30816. "type": "string"
  30817. },
  30818. "expiretype": {
  30819. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30820. "type": "integer"
  30821. },
  30822. "freezeqty": {
  30823. "description": "冻结数量",
  30824. "type": "number"
  30825. },
  30826. "goodscode": {
  30827. "description": "商品代码",
  30828. "type": "string"
  30829. },
  30830. "goodsid": {
  30831. "description": "商品ID",
  30832. "type": "integer"
  30833. },
  30834. "goodsname": {
  30835. "description": "商品名称",
  30836. "type": "string"
  30837. },
  30838. "goodunitid": {
  30839. "description": "商品单位id",
  30840. "type": "integer"
  30841. },
  30842. "holderamount": {
  30843. "description": "持仓金额",
  30844. "type": "number"
  30845. },
  30846. "holdercredit": {
  30847. "description": "持仓授信金额",
  30848. "type": "number"
  30849. },
  30850. "holderdays": {
  30851. "description": "剩余冻结天数",
  30852. "type": "integer"
  30853. },
  30854. "holderprice": {
  30855. "description": "持仓价格",
  30856. "type": "number"
  30857. },
  30858. "holderqty": {
  30859. "description": "持仓数量",
  30860. "type": "number"
  30861. },
  30862. "isconfirmexercise": {
  30863. "description": "是否确认行权- 0:否 1:是",
  30864. "type": "integer"
  30865. },
  30866. "ispreexercise": {
  30867. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30868. "type": "integer"
  30869. },
  30870. "marketid": {
  30871. "description": "市场id",
  30872. "type": "integer"
  30873. },
  30874. "marketname": {
  30875. "description": "市场名称",
  30876. "type": "string"
  30877. },
  30878. "openprice": {
  30879. "description": "建仓价格",
  30880. "type": "number"
  30881. },
  30882. "openqty": {
  30883. "description": "建仓数量",
  30884. "type": "number"
  30885. },
  30886. "optiontype": {
  30887. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30888. "type": "integer"
  30889. },
  30890. "preexerciseprice": {
  30891. "description": "预申报价格",
  30892. "type": "number"
  30893. },
  30894. "premium": {
  30895. "description": "权利金",
  30896. "type": "number"
  30897. },
  30898. "qtydecimalplace": {
  30899. "description": "商品成交量小数位",
  30900. "type": "integer"
  30901. },
  30902. "refgoodscode": {
  30903. "description": "标的合约代码",
  30904. "type": "string"
  30905. },
  30906. "refgoodsid": {
  30907. "description": "标的合约id",
  30908. "type": "integer"
  30909. },
  30910. "releaseamount": {
  30911. "description": "释放持仓金额",
  30912. "type": "number"
  30913. },
  30914. "releaseholdercredit": {
  30915. "description": "释放持仓授信金额",
  30916. "type": "number"
  30917. },
  30918. "taname": {
  30919. "description": "资金账号名称",
  30920. "type": "string"
  30921. },
  30922. "tradeamount": {
  30923. "description": "成交金额",
  30924. "type": "number"
  30925. },
  30926. "tradedate": {
  30927. "description": "交易日(yyyyMMdd)",
  30928. "type": "string"
  30929. },
  30930. "tradeid": {
  30931. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30932. "type": "string"
  30933. },
  30934. "trademode": {
  30935. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30936. "type": "integer"
  30937. },
  30938. "tradeproperty": {
  30939. "description": "交易属性",
  30940. "type": "integer"
  30941. },
  30942. "tradetime": {
  30943. "description": "交易时间",
  30944. "type": "string"
  30945. },
  30946. "userid": {
  30947. "description": "用户id",
  30948. "type": "integer"
  30949. },
  30950. "username": {
  30951. "description": "用户名称",
  30952. "type": "string"
  30953. }
  30954. }
  30955. },
  30956. "models.UserCollectConfig": {
  30957. "type": "object",
  30958. "properties": {
  30959. "accountstatus": {
  30960. "description": "账户状态 - 1:正常 2:停用 3:注销",
  30961. "type": "integer"
  30962. },
  30963. "collectaccountname": {
  30964. "description": "收款人账户名称",
  30965. "type": "string"
  30966. },
  30967. "collectaccountno": {
  30968. "description": "收款人账户",
  30969. "type": "string"
  30970. },
  30971. "collectbankname": {
  30972. "description": "收款人开户行",
  30973. "type": "string"
  30974. },
  30975. "collectbranchbankname": {
  30976. "description": "收款人开户支行",
  30977. "type": "string"
  30978. },
  30979. "collectconfigid": {
  30980. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  30981. "type": "string"
  30982. },
  30983. "remark": {
  30984. "description": "备注",
  30985. "type": "string"
  30986. },
  30987. "userid": {
  30988. "description": "收款人用户ID",
  30989. "type": "integer"
  30990. }
  30991. }
  30992. },
  30993. "models.UserReceiveInfo": {
  30994. "type": "object",
  30995. "properties": {
  30996. "address": {
  30997. "description": "提货人详细地址",
  30998. "type": "string"
  30999. },
  31000. "autoid": {
  31001. "description": "AutoID",
  31002. "type": "integer"
  31003. },
  31004. "cardnum": {
  31005. "description": "证件号码(加密存储)",
  31006. "type": "string"
  31007. },
  31008. "cardtypeid": {
  31009. "description": "证件类型",
  31010. "type": "integer"
  31011. },
  31012. "cityid": {
  31013. "description": "市",
  31014. "type": "integer"
  31015. },
  31016. "cityname": {
  31017. "description": "城市名称",
  31018. "type": "string"
  31019. },
  31020. "countryid": {
  31021. "description": "国家",
  31022. "type": "integer"
  31023. },
  31024. "countryname": {
  31025. "description": "国家名称",
  31026. "type": "string"
  31027. },
  31028. "districtid": {
  31029. "description": "地区",
  31030. "type": "integer"
  31031. },
  31032. "districtname": {
  31033. "description": "地区名称",
  31034. "type": "string"
  31035. },
  31036. "hasencrypt": {
  31037. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31038. "type": "integer"
  31039. },
  31040. "isdefault": {
  31041. "description": "是否默认地址 - 0:否 1:是",
  31042. "type": "integer"
  31043. },
  31044. "phonenum": {
  31045. "description": "提货人联系方式(加密存储)",
  31046. "type": "string"
  31047. },
  31048. "provinceid": {
  31049. "description": "省",
  31050. "type": "integer"
  31051. },
  31052. "provincename": {
  31053. "description": "省名称",
  31054. "type": "string"
  31055. },
  31056. "receivername": {
  31057. "description": "提货人姓名",
  31058. "type": "string"
  31059. },
  31060. "takeremark": {
  31061. "description": "提货备注",
  31062. "type": "string"
  31063. },
  31064. "userid": {
  31065. "description": "用户ID",
  31066. "type": "integer"
  31067. }
  31068. }
  31069. },
  31070. "models.Useraccount": {
  31071. "type": "object",
  31072. "required": [
  31073. "userid"
  31074. ],
  31075. "properties": {
  31076. "accountname": {
  31077. "description": "账户名称(机构名称)",
  31078. "type": "string"
  31079. },
  31080. "accountstatus": {
  31081. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  31082. "type": "integer"
  31083. },
  31084. "applysrc": {
  31085. "description": "申请来源 - 1:管理端 2:终端",
  31086. "type": "integer"
  31087. },
  31088. "auditremark": {
  31089. "description": "审核备注",
  31090. "type": "string"
  31091. },
  31092. "auditsrc": {
  31093. "description": "审核来源 - 1:管理端 2:终端",
  31094. "type": "integer"
  31095. },
  31096. "audittime": {
  31097. "description": "审核时间",
  31098. "type": "string"
  31099. },
  31100. "audituserid": {
  31101. "description": "审核人",
  31102. "type": "integer"
  31103. },
  31104. "broker": {
  31105. "description": "所属经纪人ID",
  31106. "type": "integer"
  31107. },
  31108. "canceltime": {
  31109. "description": "销户时间",
  31110. "type": "string"
  31111. },
  31112. "canceluserid": {
  31113. "description": "销户人",
  31114. "type": "integer"
  31115. },
  31116. "canrecommend": {
  31117. "description": "是否可推荐 - 0:不可 1;可",
  31118. "type": "integer"
  31119. },
  31120. "createtime": {
  31121. "description": "创建时间",
  31122. "type": "string"
  31123. },
  31124. "creatorid": {
  31125. "description": "创建人",
  31126. "type": "integer"
  31127. },
  31128. "hasauth": {
  31129. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  31130. "type": "integer"
  31131. },
  31132. "isanonymous": {
  31133. "description": "是否匿名下单 - 0:否 1:是",
  31134. "type": "integer"
  31135. },
  31136. "maxinvestornum": {
  31137. "description": "最大用户数(经纪会员下投资者个数)",
  31138. "type": "integer"
  31139. },
  31140. "memberuserid": {
  31141. "description": "所属会员ID",
  31142. "type": "integer"
  31143. },
  31144. "modifierid": {
  31145. "description": "修改人",
  31146. "type": "integer"
  31147. },
  31148. "modifyremark": {
  31149. "description": "变更备注",
  31150. "type": "string"
  31151. },
  31152. "modifystatus": {
  31153. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  31154. "type": "integer"
  31155. },
  31156. "modifytime": {
  31157. "description": "修改时间",
  31158. "type": "string"
  31159. },
  31160. "parenttopuser": {
  31161. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31162. "type": "string"
  31163. },
  31164. "parentuserid": {
  31165. "description": "所属机构ID",
  31166. "type": "integer"
  31167. },
  31168. "reckonaccountid": {
  31169. "description": "默认结算资金账号ID(机构分润使用) 作废",
  31170. "type": "integer"
  31171. },
  31172. "refercount": {
  31173. "description": "推荐总人数",
  31174. "type": "integer"
  31175. },
  31176. "refereeuserid": {
  31177. "description": "推荐人ID",
  31178. "type": "integer"
  31179. },
  31180. "refernum": {
  31181. "description": "推荐码",
  31182. "type": "string"
  31183. },
  31184. "rootuserid": {
  31185. "description": "根用户ID",
  31186. "type": "integer"
  31187. },
  31188. "subaccountlevel": {
  31189. "description": "子账户层数",
  31190. "type": "integer"
  31191. },
  31192. "subarealevelpath": {
  31193. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31194. "type": "string"
  31195. },
  31196. "userid": {
  31197. "description": "用户ID",
  31198. "type": "integer"
  31199. },
  31200. "usertype": {
  31201. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31202. "type": "integer"
  31203. }
  31204. }
  31205. },
  31206. "models.Userfavoritegoods": {
  31207. "type": "object",
  31208. "required": [
  31209. "goodsid"
  31210. ],
  31211. "properties": {
  31212. "goodsid": {
  31213. "description": "商品ID",
  31214. "type": "integer"
  31215. }
  31216. }
  31217. },
  31218. "models.Userinfo": {
  31219. "type": "object",
  31220. "required": [
  31221. "userid"
  31222. ],
  31223. "properties": {
  31224. "address": {
  31225. "description": "地址",
  31226. "type": "string"
  31227. },
  31228. "attachment1": {
  31229. "description": "附件1",
  31230. "type": "string"
  31231. },
  31232. "attachment2": {
  31233. "description": "附件2",
  31234. "type": "string"
  31235. },
  31236. "bankaccount": {
  31237. "description": "银行帐号 (加密存储)",
  31238. "type": "string"
  31239. },
  31240. "bankaccountname": {
  31241. "description": "收款人名称",
  31242. "type": "string"
  31243. },
  31244. "bankcardfrontphotourl": {
  31245. "description": "银行卡正面照地址",
  31246. "type": "string"
  31247. },
  31248. "bankid": {
  31249. "description": "银行编码",
  31250. "type": "string"
  31251. },
  31252. "bankname": {
  31253. "description": "银行名称",
  31254. "type": "string"
  31255. },
  31256. "biznature": {
  31257. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31258. "type": "integer"
  31259. },
  31260. "bizscope": {
  31261. "description": "企业经营范围(企业)",
  31262. "type": "string"
  31263. },
  31264. "cardbackphotourl": {
  31265. "description": "证件背面图片地址",
  31266. "type": "string"
  31267. },
  31268. "cardfrontphotourl": {
  31269. "description": "证件正面图片地址",
  31270. "type": "string"
  31271. },
  31272. "cardnum": {
  31273. "description": "证件号码(加密存储)",
  31274. "type": "string"
  31275. },
  31276. "cardtypeid": {
  31277. "description": "证件类型ID",
  31278. "type": "integer"
  31279. },
  31280. "cityid": {
  31281. "description": "市",
  31282. "type": "integer"
  31283. },
  31284. "company": {
  31285. "description": "公司(个人)",
  31286. "type": "string"
  31287. },
  31288. "contactname": {
  31289. "description": "联系人",
  31290. "type": "string"
  31291. },
  31292. "countryid": {
  31293. "description": "国家",
  31294. "type": "integer"
  31295. },
  31296. "createtime": {
  31297. "description": "创建时间",
  31298. "type": "string"
  31299. },
  31300. "creatorid": {
  31301. "description": "创建人",
  31302. "type": "integer"
  31303. },
  31304. "customername": {
  31305. "description": "客户名称(企业名称)",
  31306. "type": "string"
  31307. },
  31308. "districtid": {
  31309. "description": "地区",
  31310. "type": "integer"
  31311. },
  31312. "email": {
  31313. "description": "邮件(加密存储)",
  31314. "type": "string"
  31315. },
  31316. "fax": {
  31317. "description": "传真(加密存储)",
  31318. "type": "string"
  31319. },
  31320. "halfbodyphotourl": {
  31321. "description": "半身照地址",
  31322. "type": "string"
  31323. },
  31324. "hasencrypt": {
  31325. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31326. "type": "integer"
  31327. },
  31328. "headurl": {
  31329. "description": "头像地址",
  31330. "type": "string"
  31331. },
  31332. "legalcardbackphotourl": {
  31333. "description": "法人身份证背面照地址",
  31334. "type": "string"
  31335. },
  31336. "legalcardfrontphotourl": {
  31337. "description": "法人身份证正面照地址",
  31338. "type": "string"
  31339. },
  31340. "legalpersonname": {
  31341. "description": "法人姓名(企业)",
  31342. "type": "string"
  31343. },
  31344. "mobile": {
  31345. "description": "手机号码(加密存储)",
  31346. "type": "string"
  31347. },
  31348. "mobile2": {
  31349. "description": "手机号码[明文-尚志]",
  31350. "type": "string"
  31351. },
  31352. "modifierid": {
  31353. "description": "修改人",
  31354. "type": "integer"
  31355. },
  31356. "modifiertime": {
  31357. "description": "修改时间",
  31358. "type": "string"
  31359. },
  31360. "needinvoice": {
  31361. "description": "是否需要发票 - 0:不需要 1:需要",
  31362. "type": "integer"
  31363. },
  31364. "nickname": {
  31365. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  31366. "type": "string"
  31367. },
  31368. "openmode": {
  31369. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  31370. "type": "integer"
  31371. },
  31372. "otherurl": {
  31373. "description": "其它图片地址[使用分号分隔]",
  31374. "type": "string"
  31375. },
  31376. "postalcode": {
  31377. "description": "邮政编码",
  31378. "type": "string"
  31379. },
  31380. "provinceid": {
  31381. "description": "省",
  31382. "type": "integer"
  31383. },
  31384. "qq": {
  31385. "description": "QQ(加密存储",
  31386. "type": "string"
  31387. },
  31388. "remark": {
  31389. "description": "备注",
  31390. "type": "string"
  31391. },
  31392. "sex": {
  31393. "description": "用户性别 0: 女 1: 男",
  31394. "type": "integer"
  31395. },
  31396. "signpdfurl": {
  31397. "description": "签约pdf文件",
  31398. "type": "string"
  31399. },
  31400. "telphone": {
  31401. "description": "联系电话(加密存储)",
  31402. "type": "string"
  31403. },
  31404. "userid": {
  31405. "description": "用户ID",
  31406. "type": "integer"
  31407. },
  31408. "userinfotype": {
  31409. "description": "用户信息类型 - 1:个人 2:企业",
  31410. "type": "integer"
  31411. },
  31412. "userstatus": {
  31413. "description": "用户状态 - 1:正常 2:注销",
  31414. "type": "integer"
  31415. },
  31416. "usertype": {
  31417. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31418. "type": "integer"
  31419. },
  31420. "wechat": {
  31421. "description": "微信(加密存储)",
  31422. "type": "string"
  31423. },
  31424. "wskhinfo": {
  31425. "description": "开户申请信息(JSON)",
  31426. "type": "string"
  31427. }
  31428. }
  31429. },
  31430. "models.WRSConverTDetail": {
  31431. "type": "object",
  31432. "properties": {
  31433. "convertratio": {
  31434. "description": "套保系数",
  31435. "type": "number"
  31436. },
  31437. "deliverygoodscode": {
  31438. "description": "现货商品代码",
  31439. "type": "string"
  31440. },
  31441. "deliverygoodsid": {
  31442. "description": "现货品种ID",
  31443. "type": "integer"
  31444. },
  31445. "deliverygoodsname": {
  31446. "description": "现货商品名称",
  31447. "type": "string"
  31448. },
  31449. "enumdicname": {
  31450. "description": "单位名称",
  31451. "type": "string"
  31452. },
  31453. "goodsunitid": {
  31454. "description": "套保品种单位id",
  31455. "type": "integer"
  31456. },
  31457. "middlegoodscode": {
  31458. "description": "套保品种代码",
  31459. "type": "string"
  31460. },
  31461. "middlegoodsid": {
  31462. "description": "套保品种ID",
  31463. "type": "integer"
  31464. },
  31465. "middlegoodsname": {
  31466. "description": "套保品种名称",
  31467. "type": "string"
  31468. },
  31469. "modifytime": {
  31470. "description": "修改时间",
  31471. "type": "string"
  31472. },
  31473. "wrstandardid": {
  31474. "description": "品类ID",
  31475. "type": "integer"
  31476. }
  31477. }
  31478. },
  31479. "models.WRStandardInfo": {
  31480. "type": "object",
  31481. "required": [
  31482. "wrstandardid"
  31483. ],
  31484. "properties": {
  31485. "areauserid": {
  31486. "description": "所属机构",
  31487. "type": "integer"
  31488. },
  31489. "convertfactor": {
  31490. "description": "标仓系数",
  31491. "type": "number"
  31492. },
  31493. "createtime": {
  31494. "description": "创建时间",
  31495. "type": "string"
  31496. },
  31497. "creatorid": {
  31498. "description": "创建人",
  31499. "type": "integer"
  31500. },
  31501. "deliverygoodsid": {
  31502. "description": "品种ID",
  31503. "type": "integer"
  31504. },
  31505. "deliverygoodsname": {
  31506. "description": "交割商品名称",
  31507. "type": "string"
  31508. },
  31509. "factoryitemjson": {
  31510. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31511. "type": "string"
  31512. },
  31513. "isvalid": {
  31514. "description": "是否有效 - 0:无效 1:有效",
  31515. "type": "integer"
  31516. },
  31517. "minivalue": {
  31518. "description": "最小变动值",
  31519. "type": "integer"
  31520. },
  31521. "minivaluedp": {
  31522. "description": "最小变动值小数位",
  31523. "type": "integer"
  31524. },
  31525. "realminivalue": {
  31526. "description": "实际最小变动值",
  31527. "type": "integer"
  31528. },
  31529. "realminivaluedp": {
  31530. "description": "实际最小变动值小数位",
  31531. "type": "integer"
  31532. },
  31533. "remark": {
  31534. "description": "备注",
  31535. "type": "string"
  31536. },
  31537. "unitid": {
  31538. "description": "单位ID",
  31539. "type": "integer"
  31540. },
  31541. "unitname": {
  31542. "description": "单位",
  31543. "type": "string"
  31544. },
  31545. "updatetime": {
  31546. "description": "更新时间",
  31547. "type": "string"
  31548. },
  31549. "updatorid": {
  31550. "description": "更新人",
  31551. "type": "integer"
  31552. },
  31553. "wrsstatus": {
  31554. "description": "状态 - 作废 - 0:未激活 1:正常",
  31555. "type": "integer"
  31556. },
  31557. "wrstandardcode": {
  31558. "description": "现货品类代码",
  31559. "type": "string"
  31560. },
  31561. "wrstandardid": {
  31562. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31563. "type": "integer"
  31564. },
  31565. "wrstandardname": {
  31566. "description": "现货品类名称",
  31567. "type": "string"
  31568. }
  31569. }
  31570. },
  31571. "models.WRTradeBargainApply": {
  31572. "type": "object",
  31573. "properties": {
  31574. "accountid": {
  31575. "description": "摘牌资金账号",
  31576. "type": "integer"
  31577. },
  31578. "applyprice": {
  31579. "description": "申请价格(议价价格)",
  31580. "type": "string"
  31581. },
  31582. "applyqty": {
  31583. "description": "摘牌数量(议价数量)",
  31584. "type": "number"
  31585. },
  31586. "applyremark": {
  31587. "description": "申请备注",
  31588. "type": "string"
  31589. },
  31590. "applystatus": {
  31591. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31592. "type": "integer"
  31593. },
  31594. "applytime": {
  31595. "description": "申请时间(议价时间)",
  31596. "type": "string"
  31597. },
  31598. "buyorsell": {
  31599. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31600. "type": "integer"
  31601. },
  31602. "confirmremark": {
  31603. "description": "确认备注",
  31604. "type": "string"
  31605. },
  31606. "confirmtime": {
  31607. "description": "确认时间",
  31608. "type": "string"
  31609. },
  31610. "confirmuserid": {
  31611. "description": "确认人",
  31612. "type": "integer"
  31613. },
  31614. "deliverygoodscode": {
  31615. "description": "品种代码",
  31616. "type": "string"
  31617. },
  31618. "deliverygoodsid": {
  31619. "description": "品种ID",
  31620. "type": "integer"
  31621. },
  31622. "deliverygoodsname": {
  31623. "description": "品种名称",
  31624. "type": "string"
  31625. },
  31626. "deliverymonth": {
  31627. "description": "交收月",
  31628. "type": "string"
  31629. },
  31630. "enumdicname": {
  31631. "description": "单位名称",
  31632. "type": "string"
  31633. },
  31634. "fixedprice": {
  31635. "description": "挂牌价格",
  31636. "type": "number"
  31637. },
  31638. "handlestatus": {
  31639. "description": "处理状态",
  31640. "type": "integer"
  31641. },
  31642. "marginvalue": {
  31643. "description": "履约保证金比例",
  31644. "type": "number"
  31645. },
  31646. "marketid": {
  31647. "description": "市场ID",
  31648. "type": "integer"
  31649. },
  31650. "matchaccountid": {
  31651. "description": "挂牌方资金账号",
  31652. "type": "integer"
  31653. },
  31654. "matchuserid": {
  31655. "description": "挂牌方用户id",
  31656. "type": "integer"
  31657. },
  31658. "matchusername": {
  31659. "description": "挂牌方用户名称(已脱敏)",
  31660. "type": "string"
  31661. },
  31662. "minivalue": {
  31663. "description": "现货商品最小变动值",
  31664. "type": "integer"
  31665. },
  31666. "optioncompare": {
  31667. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31668. "type": "string"
  31669. },
  31670. "orderqty": {
  31671. "description": "挂牌数量",
  31672. "type": "integer"
  31673. },
  31674. "refprice": {
  31675. "description": "参考价格",
  31676. "type": "string"
  31677. },
  31678. "retcode": {
  31679. "description": "委托返回代码",
  31680. "type": "integer"
  31681. },
  31682. "templatename": {
  31683. "description": "履约方式(履约模板名称)",
  31684. "type": "string"
  31685. },
  31686. "tradedate": {
  31687. "description": "交易日(yyyyMMdd)",
  31688. "type": "string"
  31689. },
  31690. "userid": {
  31691. "description": "摘牌人用户ID(议价人ID)",
  31692. "type": "integer"
  31693. },
  31694. "username": {
  31695. "description": "议价人名字(已脱敏)",
  31696. "type": "string"
  31697. },
  31698. "validtime": {
  31699. "description": "有效期限",
  31700. "type": "string"
  31701. },
  31702. "warehouseid": {
  31703. "description": "仓库ID",
  31704. "type": "integer"
  31705. },
  31706. "warehousename": {
  31707. "description": "仓库名称",
  31708. "type": "string"
  31709. },
  31710. "wrbargainid": {
  31711. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31712. "type": "string"
  31713. },
  31714. "wrfactortypeid": {
  31715. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31716. "type": "string"
  31717. },
  31718. "wrfactortypename": {
  31719. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31720. "type": "string"
  31721. },
  31722. "wrstandardcode": {
  31723. "description": "现货商品代码",
  31724. "type": "string"
  31725. },
  31726. "wrstandardid": {
  31727. "description": "现货商品ID",
  31728. "type": "integer"
  31729. },
  31730. "wrstandardname": {
  31731. "description": "商品名称",
  31732. "type": "string"
  31733. },
  31734. "wrtradeorderid": {
  31735. "description": "关联委托单ID",
  31736. "type": "string"
  31737. },
  31738. "wrtypename": {
  31739. "description": "商品",
  31740. "type": "string"
  31741. }
  31742. }
  31743. },
  31744. "models.Warehouseinfo": {
  31745. "type": "object",
  31746. "required": [
  31747. "autoid",
  31748. "warehousecode"
  31749. ],
  31750. "properties": {
  31751. "address": {
  31752. "description": "详细地址",
  31753. "type": "string"
  31754. },
  31755. "areauserid": {
  31756. "description": "所属机构",
  31757. "type": "integer"
  31758. },
  31759. "autoid": {
  31760. "description": "自增ID",
  31761. "type": "integer"
  31762. },
  31763. "cityid": {
  31764. "description": "市",
  31765. "type": "integer"
  31766. },
  31767. "contactname": {
  31768. "description": "联系人",
  31769. "type": "string"
  31770. },
  31771. "contactnum": {
  31772. "description": "联系电话",
  31773. "type": "string"
  31774. },
  31775. "countryid": {
  31776. "description": "国家",
  31777. "type": "integer"
  31778. },
  31779. "createtime": {
  31780. "description": "创建时间",
  31781. "type": "string"
  31782. },
  31783. "districtid": {
  31784. "description": "区",
  31785. "type": "integer"
  31786. },
  31787. "hasvideo": {
  31788. "description": "是否有视频 - 0:无 1:有",
  31789. "type": "integer"
  31790. },
  31791. "provinceid": {
  31792. "description": "省",
  31793. "type": "integer"
  31794. },
  31795. "remark": {
  31796. "description": "审核备注",
  31797. "type": "string"
  31798. },
  31799. "videourl": {
  31800. "description": "视频地址",
  31801. "type": "string"
  31802. },
  31803. "warehousecode": {
  31804. "description": "仓库代码",
  31805. "type": "string"
  31806. },
  31807. "warehousename": {
  31808. "description": "仓库名称",
  31809. "type": "string"
  31810. },
  31811. "warehousestatus": {
  31812. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31813. "type": "integer"
  31814. },
  31815. "warehousetype": {
  31816. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31817. "type": "integer"
  31818. }
  31819. }
  31820. },
  31821. "models.WrAverageTradePrice": {
  31822. "type": "object",
  31823. "properties": {
  31824. "averageprice": {
  31825. "description": "成交均价",
  31826. "type": "number"
  31827. },
  31828. "tradedate": {
  31829. "description": "交易日yyyymm",
  31830. "type": "string"
  31831. }
  31832. }
  31833. },
  31834. "models.WrBsGoodsInfo": {
  31835. "type": "object",
  31836. "properties": {
  31837. "buyorsell": {
  31838. "description": "买卖方向 0-买 1-卖",
  31839. "type": "integer"
  31840. },
  31841. "goodsid": {
  31842. "description": "交易合约ID",
  31843. "type": "integer"
  31844. },
  31845. "lstitem": {
  31846. "description": "商品信息项",
  31847. "type": "array",
  31848. "items": {
  31849. "$ref": "#/definitions/models.WrTypeItem"
  31850. }
  31851. },
  31852. "lststep": {
  31853. "description": "履约规则",
  31854. "type": "array",
  31855. "items": {
  31856. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31857. }
  31858. }
  31859. }
  31860. },
  31861. "models.WrBuybackDetail": {
  31862. "type": "object",
  31863. "properties": {
  31864. "buybackamount": {
  31865. "description": "回购金额",
  31866. "type": "number"
  31867. },
  31868. "buybackqty": {
  31869. "description": "回购数量",
  31870. "type": "number"
  31871. },
  31872. "buybackreleasemargin": {
  31873. "description": "回购释放保证金",
  31874. "type": "number"
  31875. },
  31876. "buybacktime": {
  31877. "description": "回购时间",
  31878. "type": "string"
  31879. },
  31880. "errordesc": {
  31881. "description": "错误描述",
  31882. "type": "string"
  31883. },
  31884. "handlestatus": {
  31885. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31886. "type": "integer"
  31887. },
  31888. "relatedwrid": {
  31889. "description": "关联仓单ID",
  31890. "type": "integer"
  31891. },
  31892. "scfcontractid": {
  31893. "description": "SCF合同ID",
  31894. "type": "string"
  31895. },
  31896. "scfwrbuybackid": {
  31897. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31898. "type": "integer"
  31899. },
  31900. "tradedate": {
  31901. "description": "交易日(yyyyMMdd)",
  31902. "type": "string"
  31903. }
  31904. }
  31905. },
  31906. "models.WrDeliveryAvalidHoldLB": {
  31907. "type": "object",
  31908. "properties": {
  31909. "accountid": {
  31910. "description": "资金账号",
  31911. "type": "integer"
  31912. },
  31913. "avalidqty": {
  31914. "description": "数量(可点选数量)",
  31915. "type": "number"
  31916. },
  31917. "deliverygoodsid": {
  31918. "description": "品种id",
  31919. "type": "integer"
  31920. },
  31921. "enumdicname": {
  31922. "description": "单位名称",
  31923. "type": "string"
  31924. },
  31925. "goodsid": {
  31926. "description": "x合约商品id",
  31927. "type": "integer"
  31928. },
  31929. "ladingbillid": {
  31930. "description": "提单id",
  31931. "type": "string"
  31932. },
  31933. "pgoodscode": {
  31934. "description": "p商品代码(点价合约)",
  31935. "type": "string"
  31936. },
  31937. "pgoodsid": {
  31938. "description": "p商品id(点价合约)",
  31939. "type": "integer"
  31940. },
  31941. "pgoodsname": {
  31942. "description": "p商品名称(点价合约)",
  31943. "type": "string"
  31944. },
  31945. "pricemove": {
  31946. "description": "升贴水",
  31947. "type": "number"
  31948. },
  31949. "subnum": {
  31950. "description": "提单子id",
  31951. "type": "integer"
  31952. },
  31953. "userid": {
  31954. "description": "用户id",
  31955. "type": "integer"
  31956. },
  31957. "username": {
  31958. "description": "仓单持有人",
  31959. "type": "string"
  31960. },
  31961. "warehousecode": {
  31962. "description": "仓库代码",
  31963. "type": "string"
  31964. },
  31965. "warehouseid": {
  31966. "description": "仓库id",
  31967. "type": "integer"
  31968. },
  31969. "warehousename": {
  31970. "description": "仓库名称",
  31971. "type": "string"
  31972. },
  31973. "wrfactortypeid": {
  31974. "description": "仓单要素id",
  31975. "type": "string"
  31976. },
  31977. "wrstandardcode": {
  31978. "description": "品代码",
  31979. "type": "string"
  31980. },
  31981. "wrstandardid": {
  31982. "description": "品类d",
  31983. "type": "integer"
  31984. },
  31985. "wrstandardname": {
  31986. "description": "品类名称",
  31987. "type": "string"
  31988. },
  31989. "wrtypename": {
  31990. "description": "商品",
  31991. "type": "string"
  31992. },
  31993. "xgoodscode": {
  31994. "description": "x合约代码",
  31995. "type": "string"
  31996. },
  31997. "xgoodsname": {
  31998. "description": "x合约名称",
  31999. "type": "string"
  32000. }
  32001. }
  32002. },
  32003. "models.WrDeliveryDetail": {
  32004. "type": "object",
  32005. "properties": {
  32006. "accountid": {
  32007. "description": "账号ID",
  32008. "type": "integer"
  32009. },
  32010. "averageprice": {
  32011. "description": "交割均价 = 交割金额 / 交割数量",
  32012. "type": "number"
  32013. },
  32014. "buyorsell": {
  32015. "description": "方向 - 0:买 1:卖",
  32016. "type": "integer"
  32017. },
  32018. "deliveryamount": {
  32019. "description": "货款金额(X总货款+P总货款)",
  32020. "type": "number"
  32021. },
  32022. "deliveryid": {
  32023. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  32024. "type": "string"
  32025. },
  32026. "deliveryorderid": {
  32027. "description": "申报单号",
  32028. "type": "string"
  32029. },
  32030. "deliverypricemove": {
  32031. "description": "升贴水(升贴水总额)",
  32032. "type": "number"
  32033. },
  32034. "deliveryqty": {
  32035. "description": "交收数量(点选数量)",
  32036. "type": "number"
  32037. },
  32038. "deliverystatus": {
  32039. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  32040. "type": "integer"
  32041. },
  32042. "deliverytime": {
  32043. "description": "交割时间",
  32044. "type": "string"
  32045. },
  32046. "deliverytotalamount": {
  32047. "description": "交收金额",
  32048. "type": "number"
  32049. },
  32050. "enumdicname": {
  32051. "description": "单位名称",
  32052. "type": "string"
  32053. },
  32054. "matchaccountid": {
  32055. "description": "对手账号ID",
  32056. "type": "integer"
  32057. },
  32058. "matchusername": {
  32059. "description": "对手方名称(仓单持有人)",
  32060. "type": "string"
  32061. },
  32062. "p1goodsremainamount": {
  32063. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  32064. "type": "number"
  32065. },
  32066. "pdeliverycloseqty": {
  32067. "description": "p合约平仓数量",
  32068. "type": "number"
  32069. },
  32070. "pdeliveryprice": {
  32071. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  32072. "type": "number"
  32073. },
  32074. "pgoodscode": {
  32075. "description": "商品代码",
  32076. "type": "string"
  32077. },
  32078. "pgoodsid": {
  32079. "description": "p点选合约id",
  32080. "type": "integer"
  32081. },
  32082. "pgoodsname": {
  32083. "description": "商品名称",
  32084. "type": "string"
  32085. },
  32086. "ppricemode": {
  32087. "description": "点价价格方式 - 1:商品价 2:固定值",
  32088. "type": "integer"
  32089. },
  32090. "tradedate": {
  32091. "description": "交易日(yyyymmdd)",
  32092. "type": "string"
  32093. },
  32094. "userid": {
  32095. "description": "用户id",
  32096. "type": "integer"
  32097. },
  32098. "username": {
  32099. "description": "用户名称",
  32100. "type": "string"
  32101. },
  32102. "warehousename": {
  32103. "description": "仓库名称",
  32104. "type": "string"
  32105. },
  32106. "wrfactortypeid": {
  32107. "description": "仓单要素类型ID",
  32108. "type": "string"
  32109. },
  32110. "wrtypename": {
  32111. "description": "商品",
  32112. "type": "string"
  32113. },
  32114. "xdeliverycloseqty": {
  32115. "description": "合约数量",
  32116. "type": "number"
  32117. },
  32118. "xgoodsamount": {
  32119. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  32120. "type": "number"
  32121. },
  32122. "xgoodscode": {
  32123. "description": "商品代码",
  32124. "type": "string"
  32125. },
  32126. "xgoodsid": {
  32127. "description": "x交易合约ID",
  32128. "type": "integer"
  32129. },
  32130. "xgoodsname": {
  32131. "description": "商品名称",
  32132. "type": "string"
  32133. }
  32134. }
  32135. },
  32136. "models.WrFAProductDetail": {
  32137. "type": "object",
  32138. "properties": {
  32139. "accountid": {
  32140. "description": "资金账号",
  32141. "type": "integer"
  32142. },
  32143. "areauserid": {
  32144. "description": "金融机构ID",
  32145. "type": "integer"
  32146. },
  32147. "financingdays": {
  32148. "description": "天数(天)",
  32149. "type": "integer"
  32150. },
  32151. "interestminlen": {
  32152. "description": "最小起息天数",
  32153. "type": "integer"
  32154. },
  32155. "interestrate": {
  32156. "description": "利率",
  32157. "type": "number"
  32158. },
  32159. "interestratemode": {
  32160. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32161. "type": "integer"
  32162. },
  32163. "interestsettlemode": {
  32164. "description": "结息方式 - 1:按日结息 3:按月结息",
  32165. "type": "integer"
  32166. },
  32167. "interestsettlevalue": {
  32168. "description": "结息方式值",
  32169. "type": "integer"
  32170. },
  32171. "isautoloan": {
  32172. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32173. "type": "integer"
  32174. },
  32175. "loantag": {
  32176. "description": "放款标识: \"放款快\" 或者为空",
  32177. "type": "string"
  32178. },
  32179. "marginratio": {
  32180. "description": "保证金比率质押率 - [仓单质押]",
  32181. "type": "number"
  32182. },
  32183. "productdetailid": {
  32184. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32185. "type": "integer"
  32186. },
  32187. "productid": {
  32188. "description": "金融产品ID",
  32189. "type": "integer"
  32190. },
  32191. "productname": {
  32192. "description": "产品名称",
  32193. "type": "string"
  32194. },
  32195. "updatetime": {
  32196. "description": "更新时间",
  32197. "type": "string"
  32198. },
  32199. "username": {
  32200. "description": "融出方",
  32201. "type": "string"
  32202. }
  32203. }
  32204. },
  32205. "models.WrFactorTypeInfo": {
  32206. "type": "object",
  32207. "properties": {
  32208. "deliverygoodscode": {
  32209. "description": "品种代码",
  32210. "type": "string"
  32211. },
  32212. "deliverygoodsname": {
  32213. "description": "品种名称",
  32214. "type": "string"
  32215. },
  32216. "dgfactoryitemid": {
  32217. "description": "选择项id",
  32218. "type": "integer"
  32219. },
  32220. "dgfactoryitemtypeid": {
  32221. "description": "要素选择项ID (1-仓库 2-品牌)",
  32222. "type": "integer"
  32223. },
  32224. "dgfactoryitemvalue": {
  32225. "description": "要素项值",
  32226. "type": "string"
  32227. },
  32228. "itemtypename": {
  32229. "description": "要素项名称",
  32230. "type": "string"
  32231. },
  32232. "optioncompare": {
  32233. "description": "选择比较串",
  32234. "type": "string"
  32235. },
  32236. "warehouseid": {
  32237. "description": "仓库id",
  32238. "type": "integer"
  32239. },
  32240. "wrfactortypeid": {
  32241. "description": "仓单要素ID",
  32242. "type": "string"
  32243. },
  32244. "wrfactortypename": {
  32245. "description": "要素名称",
  32246. "type": "string"
  32247. },
  32248. "wrfactortypename2": {
  32249. "description": "要素名称(不含仓库)",
  32250. "type": "string"
  32251. },
  32252. "wrstandardcode": {
  32253. "description": "品类代码",
  32254. "type": "string"
  32255. },
  32256. "wrstandardid": {
  32257. "description": "品类id",
  32258. "type": "integer"
  32259. },
  32260. "wrstandardname": {
  32261. "description": "品类名称",
  32262. "type": "string"
  32263. }
  32264. }
  32265. },
  32266. "models.WrFilterItem": {
  32267. "type": "object",
  32268. "properties": {
  32269. "itemcode": {
  32270. "description": "代码",
  32271. "type": "string"
  32272. },
  32273. "itemid": {
  32274. "description": "项id",
  32275. "type": "integer"
  32276. },
  32277. "itemname": {
  32278. "description": "名称",
  32279. "type": "string"
  32280. },
  32281. "itemtype": {
  32282. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32283. "type": "integer"
  32284. }
  32285. }
  32286. },
  32287. "models.WrFinanceBuyApply": {
  32288. "type": "object",
  32289. "properties": {
  32290. "applydate": {
  32291. "description": "申请时间",
  32292. "type": "string"
  32293. },
  32294. "applystatus": {
  32295. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32296. "type": "integer"
  32297. },
  32298. "applyuserid": {
  32299. "description": "申请人",
  32300. "type": "integer"
  32301. },
  32302. "auditdate": {
  32303. "description": "审核时间",
  32304. "type": "string"
  32305. },
  32306. "auditremark": {
  32307. "description": "审核备注",
  32308. "type": "string"
  32309. },
  32310. "audituserid": {
  32311. "description": "审核人",
  32312. "type": "integer"
  32313. },
  32314. "buyaccountid": {
  32315. "description": "买方资金账号",
  32316. "type": "integer"
  32317. },
  32318. "buyorsell": {
  32319. "description": "买卖 - 0:买 1:卖",
  32320. "type": "integer"
  32321. },
  32322. "buyuserid": {
  32323. "description": "买方用户ID",
  32324. "type": "integer"
  32325. },
  32326. "buyusername": {
  32327. "description": "买方名称",
  32328. "type": "string"
  32329. },
  32330. "buywrtradeorderid": {
  32331. "description": "融资方买委托单ID",
  32332. "type": "string"
  32333. },
  32334. "deliverygoodscode": {
  32335. "description": "品种代码",
  32336. "type": "string"
  32337. },
  32338. "deliverygoodsid": {
  32339. "description": "品种ID",
  32340. "type": "integer"
  32341. },
  32342. "deliverygoodsname": {
  32343. "description": "品种名称",
  32344. "type": "string"
  32345. },
  32346. "deliverymonth": {
  32347. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32348. "type": "string"
  32349. },
  32350. "enumdicname": {
  32351. "description": "单位名称",
  32352. "type": "string"
  32353. },
  32354. "financeaccountid": {
  32355. "description": "融资方资金帐户ID",
  32356. "type": "integer"
  32357. },
  32358. "financeapplyid": {
  32359. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32360. "type": "string"
  32361. },
  32362. "financeareauserid": {
  32363. "description": "融资方用户ID",
  32364. "type": "string"
  32365. },
  32366. "financename": {
  32367. "description": "融出方名称",
  32368. "type": "string"
  32369. },
  32370. "financetype": {
  32371. "description": "融资类型 1-融资回购",
  32372. "type": "integer"
  32373. },
  32374. "financingdays": {
  32375. "description": "天数(天)",
  32376. "type": "integer"
  32377. },
  32378. "freezebuymargin": {
  32379. "description": "冻结融资保证金(买方)",
  32380. "type": "number"
  32381. },
  32382. "handleremark": {
  32383. "description": "处理备注",
  32384. "type": "string"
  32385. },
  32386. "handlestatus": {
  32387. "description": "处理状态",
  32388. "type": "integer"
  32389. },
  32390. "interestminlen": {
  32391. "description": "最小起息天数",
  32392. "type": "integer"
  32393. },
  32394. "interestrate": {
  32395. "description": "利率",
  32396. "type": "number"
  32397. },
  32398. "interestratemode": {
  32399. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32400. "type": "integer"
  32401. },
  32402. "interestsettlemode": {
  32403. "description": "结息方式 - 1:按日结息 3:按月结息",
  32404. "type": "integer"
  32405. },
  32406. "interestsettlevalue": {
  32407. "description": "结息方式值",
  32408. "type": "integer"
  32409. },
  32410. "isautoloan": {
  32411. "description": "是否自动放款 - 0:手动 1:自动",
  32412. "type": "integer"
  32413. },
  32414. "marginratio": {
  32415. "description": "保证金比率质押率 - [仓单质押]",
  32416. "type": "number"
  32417. },
  32418. "marketid": {
  32419. "description": "市场ID",
  32420. "type": "integer"
  32421. },
  32422. "minivalue": {
  32423. "description": "现货商品最小变动值",
  32424. "type": "integer"
  32425. },
  32426. "optioncompare": {
  32427. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32428. "type": "string"
  32429. },
  32430. "orderqty": {
  32431. "description": "委托数量(商品数量)",
  32432. "type": "number"
  32433. },
  32434. "productdetailid": {
  32435. "description": "产品组合ID",
  32436. "type": "integer"
  32437. },
  32438. "productid": {
  32439. "description": "金融产品ID",
  32440. "type": "integer"
  32441. },
  32442. "productname": {
  32443. "description": "产品名称",
  32444. "type": "string"
  32445. },
  32446. "remark": {
  32447. "description": "备注",
  32448. "type": "string"
  32449. },
  32450. "scfcontractid": {
  32451. "description": "仓单回购合同ID",
  32452. "type": "string"
  32453. },
  32454. "sellaccountid": {
  32455. "description": "卖方资金账号",
  32456. "type": "integer"
  32457. },
  32458. "selluserid": {
  32459. "description": "卖方用户ID",
  32460. "type": "integer"
  32461. },
  32462. "sellwrtradeorderid": {
  32463. "description": "卖方委托单ID",
  32464. "type": "string"
  32465. },
  32466. "tradeamount": {
  32467. "description": "成交金额(借款金额)",
  32468. "type": "number"
  32469. },
  32470. "tradedate": {
  32471. "description": "交易日(yyyyMMdd)",
  32472. "type": "string"
  32473. },
  32474. "tradeprice": {
  32475. "description": "成交价格",
  32476. "type": "number"
  32477. },
  32478. "warehouseid": {
  32479. "description": "仓库ID",
  32480. "type": "integer"
  32481. },
  32482. "warehousename": {
  32483. "description": "仓库名称",
  32484. "type": "string"
  32485. },
  32486. "wrfactortypeid": {
  32487. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32488. "type": "string"
  32489. },
  32490. "wrfactortypename": {
  32491. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32492. "type": "string"
  32493. },
  32494. "wrpricetype": {
  32495. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  32496. "type": "integer"
  32497. },
  32498. "wrstandardcode": {
  32499. "description": "现货商品代码",
  32500. "type": "string"
  32501. },
  32502. "wrstandardid": {
  32503. "description": "现货商品ID",
  32504. "type": "integer"
  32505. },
  32506. "wrstandardname": {
  32507. "description": "商品名称",
  32508. "type": "string"
  32509. },
  32510. "wrtypename": {
  32511. "description": "商品",
  32512. "type": "string"
  32513. }
  32514. }
  32515. },
  32516. "models.WrFriendApply": {
  32517. "type": "object",
  32518. "properties": {
  32519. "applicantid": {
  32520. "description": "申请人",
  32521. "type": "integer"
  32522. },
  32523. "applyname": {
  32524. "description": "申请人名称",
  32525. "type": "string"
  32526. },
  32527. "applysrc": {
  32528. "description": "申请来源 - 1:管理端 2:终端",
  32529. "type": "integer"
  32530. },
  32531. "applystatus": {
  32532. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32533. "type": "integer"
  32534. },
  32535. "applytime": {
  32536. "description": "申请时间",
  32537. "type": "string"
  32538. },
  32539. "auditname": {
  32540. "description": "审核人名称",
  32541. "type": "string"
  32542. },
  32543. "auditorid": {
  32544. "description": "审核人",
  32545. "type": "integer"
  32546. },
  32547. "auditremark": {
  32548. "description": "审核备注",
  32549. "type": "string"
  32550. },
  32551. "auditsrc": {
  32552. "description": "审核来源 - 1:管理端 2:终端",
  32553. "type": "integer"
  32554. },
  32555. "audittime": {
  32556. "description": "审核时间",
  32557. "type": "string"
  32558. },
  32559. "friendapplyid": {
  32560. "description": "申请ID(SEQ_FRIENDAPPLY)",
  32561. "type": "string"
  32562. },
  32563. "friendname": {
  32564. "description": "好友名字(已脱敏)",
  32565. "type": "string"
  32566. },
  32567. "frienduserid": {
  32568. "description": "好友用户ID",
  32569. "type": "string"
  32570. },
  32571. "remark": {
  32572. "description": "备注",
  32573. "type": "string"
  32574. },
  32575. "userid": {
  32576. "description": "申请人用户ID",
  32577. "type": "integer"
  32578. }
  32579. }
  32580. },
  32581. "models.WrFtDeliveryGoods": {
  32582. "type": "object",
  32583. "properties": {
  32584. "deliverygoodscode": {
  32585. "description": "品种代码",
  32586. "type": "string"
  32587. },
  32588. "deliverygoodsid": {
  32589. "description": "品种ID",
  32590. "type": "integer"
  32591. },
  32592. "deliverygoodsname": {
  32593. "description": "品种名称",
  32594. "type": "string"
  32595. },
  32596. "wdlst": {
  32597. "description": "商品列表",
  32598. "type": "array",
  32599. "items": {
  32600. "$ref": "#/definitions/models.WrFtWrstandard"
  32601. }
  32602. }
  32603. }
  32604. },
  32605. "models.WrFtWrstandard": {
  32606. "type": "object",
  32607. "properties": {
  32608. "enumdicname": {
  32609. "description": "单位名称",
  32610. "type": "string"
  32611. },
  32612. "minivalue": {
  32613. "description": "最小变动值",
  32614. "type": "integer"
  32615. },
  32616. "wrstandardcode": {
  32617. "description": "现货商品代码",
  32618. "type": "string"
  32619. },
  32620. "wrstandardid": {
  32621. "description": "现货商品ID",
  32622. "type": "integer"
  32623. },
  32624. "wrstandardname": {
  32625. "description": "商品名称",
  32626. "type": "string"
  32627. }
  32628. }
  32629. },
  32630. "models.WrGoodsInfo": {
  32631. "type": "object",
  32632. "properties": {
  32633. "haswr": {
  32634. "description": "0:仓单预售 1:仓单贸易",
  32635. "type": "integer"
  32636. },
  32637. "lstitem": {
  32638. "description": "商品信息项",
  32639. "type": "array",
  32640. "items": {
  32641. "$ref": "#/definitions/models.WrTypeItem"
  32642. }
  32643. },
  32644. "lststep": {
  32645. "description": "履约规则",
  32646. "type": "array",
  32647. "items": {
  32648. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32649. }
  32650. },
  32651. "marketid": {
  32652. "description": "市场id",
  32653. "type": "integer"
  32654. }
  32655. }
  32656. },
  32657. "models.WrGoodsPerformanceStep": {
  32658. "type": "object",
  32659. "properties": {
  32660. "autoid": {
  32661. "description": "AutoID",
  32662. "type": "integer"
  32663. },
  32664. "isauto": {
  32665. "description": "是否自动 - 0:不自动 1:自动",
  32666. "type": "integer"
  32667. },
  32668. "remark": {
  32669. "description": "备注",
  32670. "type": "string"
  32671. },
  32672. "stepdate": {
  32673. "description": "天数信息(T+N)",
  32674. "type": "string"
  32675. },
  32676. "stepdays": {
  32677. "description": "距离上一步天数",
  32678. "type": "integer"
  32679. },
  32680. "stepindex": {
  32681. "description": "步骤序号",
  32682. "type": "integer"
  32683. },
  32684. "stepinfo": {
  32685. "description": "步骤信息(步骤名称+步骤值)",
  32686. "type": "string"
  32687. },
  32688. "steptypeid": {
  32689. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32690. "type": "integer"
  32691. },
  32692. "steptypename": {
  32693. "description": "步骤名称",
  32694. "type": "string"
  32695. },
  32696. "stepvalue": {
  32697. "description": "步骤值",
  32698. "type": "number"
  32699. },
  32700. "templateid": {
  32701. "description": "履约计划模板ID",
  32702. "type": "integer"
  32703. }
  32704. }
  32705. },
  32706. "models.WrHoldLB": {
  32707. "type": "object",
  32708. "properties": {
  32709. "accountid": {
  32710. "description": "持有人帐户ID",
  32711. "type": "integer"
  32712. },
  32713. "createtime": {
  32714. "description": "创建时间(过户时间)",
  32715. "type": "string"
  32716. },
  32717. "deliverygoodscode": {
  32718. "description": "品种代码",
  32719. "type": "string"
  32720. },
  32721. "deliverygoodsid": {
  32722. "description": "品种ID",
  32723. "type": "integer"
  32724. },
  32725. "deliverygoodsname": {
  32726. "description": "品种名称",
  32727. "type": "string"
  32728. },
  32729. "enableqty": {
  32730. "description": "可用数量",
  32731. "type": "number"
  32732. },
  32733. "enumdicname": {
  32734. "description": "单位名称",
  32735. "type": "string"
  32736. },
  32737. "freezerqty": {
  32738. "description": "冻结数量",
  32739. "type": "number"
  32740. },
  32741. "ladingbillid": {
  32742. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32743. "type": "string"
  32744. },
  32745. "minivalue": {
  32746. "description": "现货商品最小变动值",
  32747. "type": "integer"
  32748. },
  32749. "optioncompare": {
  32750. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32751. "type": "string"
  32752. },
  32753. "parentsubnum": {
  32754. "description": "拆分父子单号",
  32755. "type": "integer"
  32756. },
  32757. "pledgeqty": {
  32758. "description": "质押数量",
  32759. "type": "number"
  32760. },
  32761. "qty": {
  32762. "description": "数量",
  32763. "type": "number"
  32764. },
  32765. "subnum": {
  32766. "description": "提单子单号",
  32767. "type": "integer"
  32768. },
  32769. "tradedate": {
  32770. "description": "交易日(yyyyMMdd)",
  32771. "type": "string"
  32772. },
  32773. "userid": {
  32774. "description": "持有人ID",
  32775. "type": "integer"
  32776. },
  32777. "warehouseid": {
  32778. "description": "仓库ID",
  32779. "type": "integer"
  32780. },
  32781. "warehousename": {
  32782. "description": "仓库名称",
  32783. "type": "string"
  32784. },
  32785. "wrfactortypeid": {
  32786. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32787. "type": "string"
  32788. },
  32789. "wrfactortypename": {
  32790. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32791. "type": "string"
  32792. },
  32793. "wrholdeno": {
  32794. "description": "仓单编号",
  32795. "type": "string"
  32796. },
  32797. "wrid": {
  32798. "description": "仓单变更ID",
  32799. "type": "string"
  32800. },
  32801. "wrstandardcode": {
  32802. "description": "现货商品代码",
  32803. "type": "string"
  32804. },
  32805. "wrstandardid": {
  32806. "description": "现货商品ID",
  32807. "type": "integer"
  32808. },
  32809. "wrstandardname": {
  32810. "description": "商品名称",
  32811. "type": "string"
  32812. },
  32813. "wrtypename": {
  32814. "description": "商品",
  32815. "type": "string"
  32816. }
  32817. }
  32818. },
  32819. "models.WrMarketTradeConfig": {
  32820. "type": "object",
  32821. "properties": {
  32822. "basisdownratio": {
  32823. "description": "浮动价基差下限比例(仓单贸易)",
  32824. "type": "number"
  32825. },
  32826. "basisupratio": {
  32827. "description": "浮动价基差上限比例(仓单贸易)",
  32828. "type": "number"
  32829. },
  32830. "buychargealgorithm": {
  32831. "description": "买方手续费收取方式 1:比率 2:固定",
  32832. "type": "integer"
  32833. },
  32834. "buychargealgorithm2": {
  32835. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32836. "type": "integer"
  32837. },
  32838. "buychargealgorithmvalue": {
  32839. "description": "买方手续费设置值(交易所部分)",
  32840. "type": "number"
  32841. },
  32842. "buychargealgorithmvalue2": {
  32843. "description": "买方手续费设置值(会员部分)",
  32844. "type": "number"
  32845. },
  32846. "buychargealgorithmvalue3": {
  32847. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  32848. "type": "number"
  32849. },
  32850. "buychargealgorithmvalue4": {
  32851. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  32852. "type": "number"
  32853. },
  32854. "buyfirstmarginalgorithm": {
  32855. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  32856. "type": "integer"
  32857. },
  32858. "buyfirstmarginvalue": {
  32859. "description": "买方出价保证金设置值 - [竞拍]",
  32860. "type": "number"
  32861. },
  32862. "buymarginalgorithm": {
  32863. "description": "买方保证金方式 - 1:比率 2:固定",
  32864. "type": "integer"
  32865. },
  32866. "buymarginvalue": {
  32867. "description": "买方保证金设置值",
  32868. "type": "number"
  32869. },
  32870. "buyreleaseratio": {
  32871. "description": "买方释放比率[2:分步履约]",
  32872. "type": "number"
  32873. },
  32874. "executemode": {
  32875. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  32876. "type": "integer"
  32877. },
  32878. "executeside": {
  32879. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  32880. "type": "integer"
  32881. },
  32882. "failedchargealgorithm": {
  32883. "description": "流拍手续费收取方式 1:比率 2:固定",
  32884. "type": "integer"
  32885. },
  32886. "failedchargevalue": {
  32887. "description": "流拍手续费设置值",
  32888. "type": "number"
  32889. },
  32890. "failedchargevalue2": {
  32891. "description": "流拍卖方手续费设置值",
  32892. "type": "number"
  32893. },
  32894. "holddays": {
  32895. "description": "合同期限[2:分步履约]",
  32896. "type": "integer"
  32897. },
  32898. "marketid": {
  32899. "description": "市场ID-仓单贸易、竞拍、预售",
  32900. "type": "integer"
  32901. },
  32902. "minqty": {
  32903. "description": "最小执行量[2:分步履约]",
  32904. "type": "number"
  32905. },
  32906. "modifierid": {
  32907. "description": "修改人",
  32908. "type": "integer"
  32909. },
  32910. "performancetempid": {
  32911. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32912. "type": "integer"
  32913. },
  32914. "performancetempid2": {
  32915. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32916. "type": "integer"
  32917. },
  32918. "performanceway": {
  32919. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  32920. "type": "integer"
  32921. },
  32922. "sellchargealgorithm": {
  32923. "description": "卖方手续费收取方式 1:比率 2:固定",
  32924. "type": "integer"
  32925. },
  32926. "sellchargealgorithm2": {
  32927. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32928. "type": "integer"
  32929. },
  32930. "sellchargealgorithmvalue": {
  32931. "description": "卖方手续费设置值(交易所部分)",
  32932. "type": "number"
  32933. },
  32934. "sellchargealgorithmvalue2": {
  32935. "description": "卖方手续费设置值(会员部分)",
  32936. "type": "number"
  32937. },
  32938. "sellchargealgorithmvalue3": {
  32939. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  32940. "type": "number"
  32941. },
  32942. "sellchargealgorithmvalue4": {
  32943. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  32944. "type": "number"
  32945. },
  32946. "sellmarginalgorithm": {
  32947. "description": "卖方保证金方式 - 1:比率 2:固定",
  32948. "type": "integer"
  32949. },
  32950. "sellmarginvalue": {
  32951. "description": "卖方保证金设置值",
  32952. "type": "number"
  32953. },
  32954. "sellmarginvalue2": {
  32955. "description": "卖方保证金设置值(无仓单)",
  32956. "type": "number"
  32957. },
  32958. "sellreleaseratio": {
  32959. "description": "卖方释放比率[2:分步履约]",
  32960. "type": "number"
  32961. },
  32962. "updatetime": {
  32963. "description": "更新时间",
  32964. "type": "string"
  32965. }
  32966. }
  32967. },
  32968. "models.WrOrderDetail": {
  32969. "type": "object",
  32970. "properties": {
  32971. "accountid": {
  32972. "description": "交易账号(资金账号)",
  32973. "type": "integer"
  32974. },
  32975. "allfriendsflag": {
  32976. "description": "是否全好友可见 - 0:否 1:是",
  32977. "type": "integer"
  32978. },
  32979. "amount": {
  32980. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  32981. "type": "number"
  32982. },
  32983. "buyorsell": {
  32984. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32985. "type": "integer"
  32986. },
  32987. "canbargain": {
  32988. "description": "是否可议价 - 0:不可 1:可",
  32989. "type": "integer"
  32990. },
  32991. "cancelqty": {
  32992. "description": "撤销数量",
  32993. "type": "number"
  32994. },
  32995. "canpart": {
  32996. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  32997. "type": "integer"
  32998. },
  32999. "delistminqty": {
  33000. "description": "起摘数量",
  33001. "type": "integer"
  33002. },
  33003. "deliverygoodscode": {
  33004. "description": "品种代码",
  33005. "type": "string"
  33006. },
  33007. "deliverygoodsid": {
  33008. "description": "品种ID",
  33009. "type": "integer"
  33010. },
  33011. "deliverygoodsname": {
  33012. "description": "品种名称",
  33013. "type": "string"
  33014. },
  33015. "deliverymonth": {
  33016. "description": "交收月",
  33017. "type": "string"
  33018. },
  33019. "enumdicname": {
  33020. "description": "单位名称",
  33021. "type": "string"
  33022. },
  33023. "fixedprice": {
  33024. "description": "固定价格 - [挂牌]",
  33025. "type": "number"
  33026. },
  33027. "freezemargin": {
  33028. "description": "冻结保证金(保证金)",
  33029. "type": "number"
  33030. },
  33031. "futupricemove": {
  33032. "description": "期货升贴水",
  33033. "type": "number"
  33034. },
  33035. "futushow": {
  33036. "description": "期货合约/升贴水",
  33037. "type": "string"
  33038. },
  33039. "goodscode": {
  33040. "description": "期货合约",
  33041. "type": "string"
  33042. },
  33043. "goodsid": {
  33044. "description": "期货商品id",
  33045. "type": "integer"
  33046. },
  33047. "goodsname": {
  33048. "description": "商品名称",
  33049. "type": "string"
  33050. },
  33051. "haswr": {
  33052. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33053. "type": "integer"
  33054. },
  33055. "isspecified": {
  33056. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  33057. "type": "integer"
  33058. },
  33059. "ladingbillid": {
  33060. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33061. "type": "string"
  33062. },
  33063. "marginvalue": {
  33064. "description": "保证金设置值(履约保证金)",
  33065. "type": "number"
  33066. },
  33067. "marketid": {
  33068. "description": "市场ID",
  33069. "type": "integer"
  33070. },
  33071. "matchusername": {
  33072. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  33073. "type": "string"
  33074. },
  33075. "minivalue": {
  33076. "description": "现货商品最小变动值",
  33077. "type": "integer"
  33078. },
  33079. "optioncompare": {
  33080. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33081. "type": "string"
  33082. },
  33083. "orderqty": {
  33084. "description": "委托数量",
  33085. "type": "number"
  33086. },
  33087. "ordertime": {
  33088. "description": "委托时间(挂牌时间)",
  33089. "type": "string"
  33090. },
  33091. "performancetemplateid": {
  33092. "description": "履约模板id",
  33093. "type": "integer"
  33094. },
  33095. "pricemove": {
  33096. "description": "升贴水(浮动价时填写) - [挂牌]",
  33097. "type": "number"
  33098. },
  33099. "taname": {
  33100. "description": "交易用户名称(资金账号名称)",
  33101. "type": "string"
  33102. },
  33103. "tradedate": {
  33104. "description": "交易日(yyyyMMdd)",
  33105. "type": "string"
  33106. },
  33107. "tradeprice": {
  33108. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33109. "type": "number"
  33110. },
  33111. "tradeqty": {
  33112. "description": "成交数量",
  33113. "type": "number"
  33114. },
  33115. "userid": {
  33116. "description": "用户ID",
  33117. "type": "integer"
  33118. },
  33119. "validtime": {
  33120. "description": "挂牌有效期",
  33121. "type": "string"
  33122. },
  33123. "warehouseid": {
  33124. "description": "仓库ID",
  33125. "type": "integer"
  33126. },
  33127. "warehousename": {
  33128. "description": "仓库名称",
  33129. "type": "string"
  33130. },
  33131. "wrfactortypeid": {
  33132. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33133. "type": "string"
  33134. },
  33135. "wrfactortypename": {
  33136. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33137. "type": "string"
  33138. },
  33139. "wrpricetype": {
  33140. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33141. "type": "integer"
  33142. },
  33143. "wrstandardcode": {
  33144. "description": "现货商品代码",
  33145. "type": "string"
  33146. },
  33147. "wrstandardid": {
  33148. "description": "现货商品ID",
  33149. "type": "integer"
  33150. },
  33151. "wrstandardname": {
  33152. "description": "商品名称",
  33153. "type": "string"
  33154. },
  33155. "wrtradeorderid": {
  33156. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33157. "type": "string"
  33158. },
  33159. "wrtradeorderstatus": {
  33160. "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:撤单解冻贷款失败",
  33161. "type": "integer"
  33162. },
  33163. "wrtradetype": {
  33164. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33165. "type": "integer"
  33166. },
  33167. "wrtypename": {
  33168. "description": "商品",
  33169. "type": "string"
  33170. }
  33171. }
  33172. },
  33173. "models.WrOrderQuote": {
  33174. "type": "object",
  33175. "properties": {
  33176. "buyprice": {
  33177. "description": "买价",
  33178. "type": "number"
  33179. },
  33180. "buypricemove": {
  33181. "description": "买升贴水(基差)",
  33182. "type": "number"
  33183. },
  33184. "buyqty": {
  33185. "description": "买量",
  33186. "type": "number"
  33187. },
  33188. "deliverygoodscode": {
  33189. "description": "品种代码",
  33190. "type": "string"
  33191. },
  33192. "deliverygoodsid": {
  33193. "description": "品种id",
  33194. "type": "integer"
  33195. },
  33196. "deliverygoodsname": {
  33197. "description": "品种名称",
  33198. "type": "string"
  33199. },
  33200. "deliverymonth": {
  33201. "description": "交收月",
  33202. "type": "string"
  33203. },
  33204. "enumdicname": {
  33205. "description": "单位名称",
  33206. "type": "string"
  33207. },
  33208. "goodscode": {
  33209. "description": "商品合约(浮动价列表才有)",
  33210. "type": "string"
  33211. },
  33212. "goodsid": {
  33213. "description": "商品id(浮动价列表才有)",
  33214. "type": "integer"
  33215. },
  33216. "minivalue": {
  33217. "description": "现货商品最小变动值",
  33218. "type": "integer"
  33219. },
  33220. "sellprice": {
  33221. "description": "卖价",
  33222. "type": "number"
  33223. },
  33224. "sellpricemove": {
  33225. "description": "卖升贴水(基差)",
  33226. "type": "number"
  33227. },
  33228. "sellqty": {
  33229. "description": "卖量",
  33230. "type": "number"
  33231. },
  33232. "warehousecode": {
  33233. "description": "仓库代码",
  33234. "type": "string"
  33235. },
  33236. "warehouseid": {
  33237. "description": "仓库id",
  33238. "type": "integer"
  33239. },
  33240. "warehousename": {
  33241. "description": "仓库名称",
  33242. "type": "string"
  33243. },
  33244. "wrfactortypeid": {
  33245. "description": "仓单要素id",
  33246. "type": "string"
  33247. },
  33248. "wrfactortypename": {
  33249. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33250. "type": "string"
  33251. },
  33252. "wrgoodsname": {
  33253. "description": "商品(商品名称+仓库要素名称 拼接)",
  33254. "type": "string"
  33255. },
  33256. "wrstandardcode": {
  33257. "description": "商品代码",
  33258. "type": "string"
  33259. },
  33260. "wrstandardid": {
  33261. "description": "商品id",
  33262. "type": "integer"
  33263. },
  33264. "wrstandardname": {
  33265. "description": "商品名称",
  33266. "type": "string"
  33267. }
  33268. }
  33269. },
  33270. "models.WrOrderQuoteDetail": {
  33271. "type": "object",
  33272. "properties": {
  33273. "buyorsell": {
  33274. "description": "买卖 - 0:买 1:卖",
  33275. "type": "integer"
  33276. },
  33277. "delistminqty": {
  33278. "description": "起摘数量",
  33279. "type": "number"
  33280. },
  33281. "deliverymonth": {
  33282. "description": "交收月",
  33283. "type": "string"
  33284. },
  33285. "enumdicname": {
  33286. "description": "单位名称",
  33287. "type": "string"
  33288. },
  33289. "fixedprice": {
  33290. "description": "买(卖)价",
  33291. "type": "number"
  33292. },
  33293. "minivalue": {
  33294. "description": "现货商品最小变动值",
  33295. "type": "integer"
  33296. },
  33297. "orderqty": {
  33298. "description": "买(卖)量(=委托量-成交量)",
  33299. "type": "number"
  33300. },
  33301. "ordertime": {
  33302. "description": "委托时间",
  33303. "type": "string"
  33304. },
  33305. "pricemove": {
  33306. "description": "买(卖)升贴水- 基差",
  33307. "type": "number"
  33308. },
  33309. "userid": {
  33310. "description": "购买方(销售方)用户ID",
  33311. "type": "integer"
  33312. },
  33313. "username": {
  33314. "description": "购买方(销售方)",
  33315. "type": "string"
  33316. },
  33317. "wrtradeorderid": {
  33318. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33319. "type": "string"
  33320. }
  33321. }
  33322. },
  33323. "models.WrOutInApply": {
  33324. "type": "object",
  33325. "properties": {
  33326. "applyid": {
  33327. "description": "申请单id",
  33328. "type": "string"
  33329. },
  33330. "applystatus": {
  33331. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  33332. "type": "integer"
  33333. },
  33334. "applytime": {
  33335. "description": "申请时间",
  33336. "type": "string"
  33337. },
  33338. "applytype": {
  33339. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  33340. "type": "integer"
  33341. },
  33342. "deliverygoodscode": {
  33343. "description": "品种代码",
  33344. "type": "string"
  33345. },
  33346. "deliverygoodsid": {
  33347. "description": "品种ID",
  33348. "type": "integer"
  33349. },
  33350. "deliverygoodsname": {
  33351. "description": "品种名称",
  33352. "type": "string"
  33353. },
  33354. "enumdicname": {
  33355. "description": "单位名称",
  33356. "type": "string"
  33357. },
  33358. "expresscompany": {
  33359. "description": "物流公司",
  33360. "type": "string"
  33361. },
  33362. "expressnum": {
  33363. "description": "物流单号",
  33364. "type": "string"
  33365. },
  33366. "minivalue": {
  33367. "description": "现货商品最小变动值",
  33368. "type": "integer"
  33369. },
  33370. "optioncompare": {
  33371. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33372. "type": "string"
  33373. },
  33374. "qty": {
  33375. "description": "数量",
  33376. "type": "integer"
  33377. },
  33378. "userid": {
  33379. "description": "用户id",
  33380. "type": "integer"
  33381. },
  33382. "warehouseid": {
  33383. "description": "仓库ID",
  33384. "type": "integer"
  33385. },
  33386. "warehousename": {
  33387. "description": "仓库名称",
  33388. "type": "string"
  33389. },
  33390. "wrfactortypeid": {
  33391. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33392. "type": "string"
  33393. },
  33394. "wrfactortypename": {
  33395. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33396. "type": "string"
  33397. },
  33398. "wrstandardcode": {
  33399. "description": "现货商品代码",
  33400. "type": "string"
  33401. },
  33402. "wrstandardid": {
  33403. "description": "现货商品ID",
  33404. "type": "integer"
  33405. },
  33406. "wrstandardname": {
  33407. "description": "商品名称",
  33408. "type": "string"
  33409. },
  33410. "wrtypename": {
  33411. "description": "商品",
  33412. "type": "string"
  33413. }
  33414. }
  33415. },
  33416. "models.WrPerformancePlan": {
  33417. "type": "object",
  33418. "required": [
  33419. "userid"
  33420. ],
  33421. "properties": {
  33422. "activatemonth": {
  33423. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  33424. "type": "string"
  33425. },
  33426. "amount": {
  33427. "description": "履约金额(总金额)",
  33428. "type": "number"
  33429. },
  33430. "buyaccountid": {
  33431. "description": "买方账号",
  33432. "type": "integer"
  33433. },
  33434. "buyerfreezeamount": {
  33435. "description": "履约冻结(买履约)",
  33436. "type": "number"
  33437. },
  33438. "buyerfreezeamountremain": {
  33439. "description": "履约冻结剩余(买履约)",
  33440. "type": "number"
  33441. },
  33442. "buyorsell": {
  33443. "description": "买卖方向 0-买 1-卖",
  33444. "type": "integer"
  33445. },
  33446. "buypaidamount": {
  33447. "description": "买方已冻/已扣金额 (已付金额)",
  33448. "type": "number"
  33449. },
  33450. "buyusername": {
  33451. "description": "买方名字",
  33452. "type": "string"
  33453. },
  33454. "contractid": {
  33455. "description": "合同ID",
  33456. "type": "integer"
  33457. },
  33458. "createtime": {
  33459. "description": "创建时间",
  33460. "type": "string"
  33461. },
  33462. "creatorid": {
  33463. "description": "创建人",
  33464. "type": "integer"
  33465. },
  33466. "curstepdeadline": {
  33467. "description": "当前步骤到期时间",
  33468. "type": "string"
  33469. },
  33470. "curstepid": {
  33471. "description": "当前步骤ID",
  33472. "type": "string"
  33473. },
  33474. "curstepname": {
  33475. "description": "当前步骤名称",
  33476. "type": "string"
  33477. },
  33478. "deliverygoodscode": {
  33479. "description": "品种代码",
  33480. "type": "string"
  33481. },
  33482. "deliverygoodsid": {
  33483. "description": "品种ID",
  33484. "type": "integer"
  33485. },
  33486. "deliverygoodsname": {
  33487. "description": "品种名称",
  33488. "type": "string"
  33489. },
  33490. "enumdicname": {
  33491. "description": "单位名称",
  33492. "type": "string"
  33493. },
  33494. "expressfee": {
  33495. "description": "运费",
  33496. "type": "number"
  33497. },
  33498. "expressfeeconfirmed": {
  33499. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  33500. "type": "integer"
  33501. },
  33502. "hasovershort": {
  33503. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  33504. "type": "integer"
  33505. },
  33506. "haswr": {
  33507. "description": "类型 0-仓单预售 1-仓单贸易",
  33508. "type": "integer"
  33509. },
  33510. "marketid": {
  33511. "description": "市场ID",
  33512. "type": "integer"
  33513. },
  33514. "middleaccountid": {
  33515. "description": "中间商资金账号ID",
  33516. "type": "integer"
  33517. },
  33518. "middleuserid": {
  33519. "description": "中间商用户ID",
  33520. "type": "integer"
  33521. },
  33522. "minivalue": {
  33523. "description": "现货商品最小变动值",
  33524. "type": "integer"
  33525. },
  33526. "optioncompare": {
  33527. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33528. "type": "string"
  33529. },
  33530. "overshortamount": {
  33531. "description": "溢短金额",
  33532. "type": "number"
  33533. },
  33534. "overshortqty": {
  33535. "description": "溢短数量",
  33536. "type": "number"
  33537. },
  33538. "paymenttype": {
  33539. "description": "付款方式 - 1:冻结 2:扣款",
  33540. "type": "integer"
  33541. },
  33542. "performanceplanid": {
  33543. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33544. "type": "string"
  33545. },
  33546. "performancestatus": {
  33547. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33548. "type": "integer"
  33549. },
  33550. "performancetype": {
  33551. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  33552. "type": "integer"
  33553. },
  33554. "qty": {
  33555. "description": "履约数量",
  33556. "type": "number"
  33557. },
  33558. "relatedorderid": {
  33559. "description": "关联单号(履约类型的关联单号)",
  33560. "type": "string"
  33561. },
  33562. "remark": {
  33563. "description": "备注",
  33564. "type": "string"
  33565. },
  33566. "sellaccountid": {
  33567. "description": "卖方账号",
  33568. "type": "integer"
  33569. },
  33570. "sellerfreezeamount": {
  33571. "description": "履约冻结(卖履约)",
  33572. "type": "number"
  33573. },
  33574. "sellerfreezeamountremain": {
  33575. "description": "履约冻结剩余(卖履约)",
  33576. "type": "number"
  33577. },
  33578. "sellreceivedamount": {
  33579. "description": "卖方已收金额",
  33580. "type": "number"
  33581. },
  33582. "sellusername": {
  33583. "description": "卖方名字",
  33584. "type": "string"
  33585. },
  33586. "shipremark": {
  33587. "description": "发货备注[物流单号]",
  33588. "type": "string"
  33589. },
  33590. "starttime": {
  33591. "description": "开始时间",
  33592. "type": "string"
  33593. },
  33594. "steptypeid": {
  33595. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33596. "type": "integer"
  33597. },
  33598. "typename": {
  33599. "description": "履约类型 名称",
  33600. "type": "string"
  33601. },
  33602. "unpaidamount": {
  33603. "description": "剩余款(待支付金额)",
  33604. "type": "number"
  33605. },
  33606. "userid": {
  33607. "description": "用户id",
  33608. "type": "integer"
  33609. },
  33610. "warehouseid": {
  33611. "description": "仓库ID",
  33612. "type": "integer"
  33613. },
  33614. "warehousename": {
  33615. "description": "仓库名称",
  33616. "type": "string"
  33617. },
  33618. "wrfactortypeid": {
  33619. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33620. "type": "string"
  33621. },
  33622. "wrfactortypename": {
  33623. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33624. "type": "string"
  33625. },
  33626. "wrstandardcode": {
  33627. "description": "现货商品代码",
  33628. "type": "string"
  33629. },
  33630. "wrstandardid": {
  33631. "description": "现货商品ID",
  33632. "type": "integer"
  33633. },
  33634. "wrstandardname": {
  33635. "description": "商品名称",
  33636. "type": "string"
  33637. },
  33638. "wrtransferuserid": {
  33639. "description": "仓单受让用户",
  33640. "type": "integer"
  33641. },
  33642. "wrtypename": {
  33643. "description": "商品",
  33644. "type": "string"
  33645. }
  33646. }
  33647. },
  33648. "models.WrPerformancePlanStep": {
  33649. "type": "object",
  33650. "properties": {
  33651. "delaydays": {
  33652. "description": "延期申请天数",
  33653. "type": "integer"
  33654. },
  33655. "deliverygoodscode": {
  33656. "description": "品种代码",
  33657. "type": "string"
  33658. },
  33659. "deliverygoodsid": {
  33660. "description": "品种ID",
  33661. "type": "integer"
  33662. },
  33663. "deliverygoodsname": {
  33664. "description": "品种名称",
  33665. "type": "string"
  33666. },
  33667. "endtime": {
  33668. "description": "结束日期",
  33669. "type": "string"
  33670. },
  33671. "enumdicname": {
  33672. "description": "单位名称",
  33673. "type": "string"
  33674. },
  33675. "executeside": {
  33676. "description": "步骤执行方 - 1:买方 2:卖方",
  33677. "type": "integer"
  33678. },
  33679. "handlestatus": {
  33680. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  33681. "type": "integer"
  33682. },
  33683. "isauto": {
  33684. "description": "是否自动 - 0:不自动 1:自动",
  33685. "type": "integer"
  33686. },
  33687. "islastreceivestep": {
  33688. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  33689. "type": "integer"
  33690. },
  33691. "minivalue": {
  33692. "description": "现货商品最小变动值",
  33693. "type": "integer"
  33694. },
  33695. "optioncompare": {
  33696. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33697. "type": "string"
  33698. },
  33699. "overdays": {
  33700. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  33701. "type": "integer"
  33702. },
  33703. "performancestepid": {
  33704. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  33705. "type": "string"
  33706. },
  33707. "planid": {
  33708. "description": "所属履约计划ID",
  33709. "type": "string"
  33710. },
  33711. "realamount": {
  33712. "description": "实际完成金额",
  33713. "type": "number"
  33714. },
  33715. "relatedorderid": {
  33716. "description": "关联单号",
  33717. "type": "string"
  33718. },
  33719. "remaindays": {
  33720. "description": "剩余天数",
  33721. "type": "integer"
  33722. },
  33723. "remark": {
  33724. "description": "错误备注",
  33725. "type": "string"
  33726. },
  33727. "starttime": {
  33728. "description": "开始日期",
  33729. "type": "string"
  33730. },
  33731. "stepamount": {
  33732. "description": "步骤金额",
  33733. "type": "number"
  33734. },
  33735. "stepdays": {
  33736. "description": "距离上一步天数(分钟)",
  33737. "type": "integer"
  33738. },
  33739. "stepindex": {
  33740. "description": "步骤序号",
  33741. "type": "integer"
  33742. },
  33743. "steplanchtype": {
  33744. "description": "步骤启动类型 - 1:系统自动 2:手动",
  33745. "type": "integer"
  33746. },
  33747. "stepremark": {
  33748. "description": "步骤备注",
  33749. "type": "string"
  33750. },
  33751. "stepstatus": {
  33752. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  33753. "type": "integer"
  33754. },
  33755. "steptypeid": {
  33756. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33757. "type": "integer"
  33758. },
  33759. "steptypename": {
  33760. "description": "步骤名称",
  33761. "type": "string"
  33762. },
  33763. "stepvalue": {
  33764. "description": "步骤值",
  33765. "type": "number"
  33766. },
  33767. "warehouseid": {
  33768. "description": "仓库ID",
  33769. "type": "integer"
  33770. },
  33771. "warehousename": {
  33772. "description": "仓库名称",
  33773. "type": "string"
  33774. },
  33775. "wrfactortypeid": {
  33776. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33777. "type": "string"
  33778. },
  33779. "wrfactortypename": {
  33780. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33781. "type": "string"
  33782. },
  33783. "wrstandardcode": {
  33784. "description": "现货商品代码",
  33785. "type": "string"
  33786. },
  33787. "wrstandardid": {
  33788. "description": "现货商品ID",
  33789. "type": "integer"
  33790. },
  33791. "wrstandardname": {
  33792. "description": "商品名称",
  33793. "type": "string"
  33794. },
  33795. "wrtypename": {
  33796. "description": "商品",
  33797. "type": "string"
  33798. }
  33799. }
  33800. },
  33801. "models.WrPerformanceStepType": {
  33802. "type": "object",
  33803. "properties": {
  33804. "canauto": {
  33805. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  33806. "type": "integer"
  33807. },
  33808. "steptypeid": {
  33809. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  33810. "type": "integer"
  33811. },
  33812. "steptypename": {
  33813. "description": "步骤类型名称",
  33814. "type": "string"
  33815. }
  33816. }
  33817. },
  33818. "models.WrPerformanceTemplateEx": {
  33819. "type": "object",
  33820. "properties": {
  33821. "autoid": {
  33822. "description": "AutoID 模板id",
  33823. "type": "integer"
  33824. },
  33825. "createtime": {
  33826. "description": "创建时间",
  33827. "type": "string"
  33828. },
  33829. "creatorid": {
  33830. "description": "创建人",
  33831. "type": "integer"
  33832. },
  33833. "lstStep": {
  33834. "description": "步骤信息列表",
  33835. "type": "array",
  33836. "items": {
  33837. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33838. }
  33839. },
  33840. "paymenttype": {
  33841. "description": "支付方式 - 1:冻结 2:扣款",
  33842. "type": "integer"
  33843. },
  33844. "takemode": {
  33845. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  33846. "type": "integer"
  33847. },
  33848. "templatename": {
  33849. "description": "模板名称",
  33850. "type": "string"
  33851. },
  33852. "templatetype": {
  33853. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  33854. "type": "integer"
  33855. },
  33856. "userid": {
  33857. "description": "所属用户",
  33858. "type": "integer"
  33859. }
  33860. }
  33861. },
  33862. "models.WrPosition": {
  33863. "type": "object",
  33864. "properties": {
  33865. "accountid": {
  33866. "description": "帐户ID",
  33867. "type": "integer"
  33868. },
  33869. "buyexcuteqty": {
  33870. "description": "采购履约中数量",
  33871. "type": "number"
  33872. },
  33873. "creditcurqty": {
  33874. "description": "授信当前数量(预售仓单:预售当前量)",
  33875. "type": "number"
  33876. },
  33877. "creditenableqty": {
  33878. "description": "授信可用数量(预售仓单: 可用数量)",
  33879. "type": "number"
  33880. },
  33881. "creditfreezeqty": {
  33882. "description": "授信冻结数量(预售仓单: 当前数量)",
  33883. "type": "number"
  33884. },
  33885. "credittotalqty": {
  33886. "description": "授信总数量(预售仓单:预售总量)",
  33887. "type": "number"
  33888. },
  33889. "credittradeqty": {
  33890. "description": "授信成交数量(预售仓单:成交总量)",
  33891. "type": "number"
  33892. },
  33893. "deliverygoodscode": {
  33894. "description": "品种代码",
  33895. "type": "string"
  33896. },
  33897. "deliverygoodsid": {
  33898. "description": "品种ID",
  33899. "type": "integer"
  33900. },
  33901. "deliverygoodsname": {
  33902. "description": "品种名称",
  33903. "type": "string"
  33904. },
  33905. "enalbeqty": {
  33906. "description": "可用数量",
  33907. "type": "number"
  33908. },
  33909. "enumdicname": {
  33910. "description": "单位名称",
  33911. "type": "string"
  33912. },
  33913. "freezeqty": {
  33914. "description": "总冻结数量",
  33915. "type": "number"
  33916. },
  33917. "haswr": {
  33918. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33919. "type": "integer"
  33920. },
  33921. "minivalue": {
  33922. "description": "现货商品最小变动值",
  33923. "type": "integer"
  33924. },
  33925. "modifytime": {
  33926. "description": "修改时间(过户时间)",
  33927. "type": "string"
  33928. },
  33929. "optioncompare": {
  33930. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33931. "type": "string"
  33932. },
  33933. "pledgeqty": {
  33934. "description": "质押数量",
  33935. "type": "number"
  33936. },
  33937. "querytype": {
  33938. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  33939. "type": "integer"
  33940. },
  33941. "sellexcuteqty": {
  33942. "description": "销售履约中数量",
  33943. "type": "number"
  33944. },
  33945. "totalqty": {
  33946. "description": "总数量(库存数量)",
  33947. "type": "number"
  33948. },
  33949. "warehouseid": {
  33950. "description": "仓库ID",
  33951. "type": "integer"
  33952. },
  33953. "warehousename": {
  33954. "description": "仓库名称",
  33955. "type": "string"
  33956. },
  33957. "wrfactortypeid": {
  33958. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33959. "type": "string"
  33960. },
  33961. "wrfactortypename": {
  33962. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33963. "type": "string"
  33964. },
  33965. "wrpositionid": {
  33966. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  33967. "type": "string"
  33968. },
  33969. "wrpositionno": {
  33970. "description": "仓单编号",
  33971. "type": "string"
  33972. },
  33973. "wrstandardcode": {
  33974. "description": "现货商品代码",
  33975. "type": "string"
  33976. },
  33977. "wrstandardid": {
  33978. "description": "现货商品ID",
  33979. "type": "integer"
  33980. },
  33981. "wrstandardname": {
  33982. "description": "商品名称",
  33983. "type": "string"
  33984. },
  33985. "wrtypename": {
  33986. "description": "商品",
  33987. "type": "string"
  33988. },
  33989. "wruserid": {
  33990. "description": "持有人ID",
  33991. "type": "integer"
  33992. }
  33993. }
  33994. },
  33995. "models.WrQuoteOrderMyq": {
  33996. "type": "object",
  33997. "properties": {
  33998. "buyorsell": {
  33999. "description": "买卖 - 0:买 1:卖",
  34000. "type": "integer"
  34001. },
  34002. "canbargain": {
  34003. "description": "是否可议价 - 0:不可 1:可",
  34004. "type": "integer"
  34005. },
  34006. "canpart": {
  34007. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  34008. "type": "integer"
  34009. },
  34010. "delistminqty": {
  34011. "description": "起摘数量",
  34012. "type": "number"
  34013. },
  34014. "deliverygoodscode": {
  34015. "description": "品种代码",
  34016. "type": "string"
  34017. },
  34018. "deliverygoodsid": {
  34019. "description": "品种ID",
  34020. "type": "integer"
  34021. },
  34022. "deliverygoodsname": {
  34023. "description": "品种名称",
  34024. "type": "string"
  34025. },
  34026. "deliverymonth": {
  34027. "description": "交收月",
  34028. "type": "string"
  34029. },
  34030. "enumdicname": {
  34031. "description": "单位名称",
  34032. "type": "string"
  34033. },
  34034. "fixedprice": {
  34035. "description": "买(卖)价",
  34036. "type": "number"
  34037. },
  34038. "goodscode": {
  34039. "description": "商品合约代码",
  34040. "type": "string"
  34041. },
  34042. "marginflag": {
  34043. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  34044. "type": "integer"
  34045. },
  34046. "marginvalue": {
  34047. "description": "保证金设置值",
  34048. "type": "number"
  34049. },
  34050. "minivalue": {
  34051. "description": "现货商品最小变动值",
  34052. "type": "integer"
  34053. },
  34054. "orderqty": {
  34055. "description": "买(卖)量(=委托量-成交量)",
  34056. "type": "number"
  34057. },
  34058. "ordertime": {
  34059. "description": "委托时间",
  34060. "type": "string"
  34061. },
  34062. "performancetemplateid": {
  34063. "description": "履约模板id",
  34064. "type": "integer"
  34065. },
  34066. "pricemove": {
  34067. "description": "买(卖)升贴水- 基差",
  34068. "type": "number"
  34069. },
  34070. "templatename": {
  34071. "description": "履约模板名称",
  34072. "type": "string"
  34073. },
  34074. "userid": {
  34075. "description": "购买方(销售方)用户ID",
  34076. "type": "integer"
  34077. },
  34078. "username": {
  34079. "description": "购买方(销售方)",
  34080. "type": "string"
  34081. },
  34082. "validtime": {
  34083. "description": "有效期限",
  34084. "type": "string"
  34085. },
  34086. "validtype": {
  34087. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  34088. "type": "integer"
  34089. },
  34090. "warehousename": {
  34091. "description": "仓库名称",
  34092. "type": "string"
  34093. },
  34094. "wrfactortypeid": {
  34095. "description": "仓单要素id",
  34096. "type": "string"
  34097. },
  34098. "wrstandardcode": {
  34099. "description": "现货商品代码",
  34100. "type": "string"
  34101. },
  34102. "wrstandardid": {
  34103. "description": "现货商品ID",
  34104. "type": "integer"
  34105. },
  34106. "wrstandardname": {
  34107. "description": "商品名称",
  34108. "type": "string"
  34109. },
  34110. "wrtradeorderid": {
  34111. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34112. "type": "string"
  34113. },
  34114. "wrtypename": {
  34115. "description": "商品",
  34116. "type": "string"
  34117. }
  34118. }
  34119. },
  34120. "models.WrScfContract": {
  34121. "type": "object",
  34122. "properties": {
  34123. "borroweruserid": {
  34124. "description": "借款用户ID",
  34125. "type": "integer"
  34126. },
  34127. "buybackwrpositionqty": {
  34128. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  34129. "type": "number"
  34130. },
  34131. "closeinterest": {
  34132. "description": "已结利息 -\u003e 已结费用",
  34133. "type": "number"
  34134. },
  34135. "currisklevel": {
  34136. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34137. "type": "integer"
  34138. },
  34139. "deadline": {
  34140. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  34141. "type": "string"
  34142. },
  34143. "deliverygoodscode": {
  34144. "description": "品种代码",
  34145. "type": "string"
  34146. },
  34147. "deliverygoodsid": {
  34148. "description": "品种ID",
  34149. "type": "integer"
  34150. },
  34151. "deliverygoodsname": {
  34152. "description": "品种名称",
  34153. "type": "string"
  34154. },
  34155. "enumdicname": {
  34156. "description": "单位名称",
  34157. "type": "string"
  34158. },
  34159. "financingdays": {
  34160. "description": "天数(天)",
  34161. "type": "integer"
  34162. },
  34163. "initmargin": {
  34164. "description": "保证金 - [仓单回购]",
  34165. "type": "number"
  34166. },
  34167. "interestamount": {
  34168. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  34169. "type": "number"
  34170. },
  34171. "interestdebt": {
  34172. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  34173. "type": "number"
  34174. },
  34175. "interestminlen": {
  34176. "description": "最小起息天数",
  34177. "type": "integer"
  34178. },
  34179. "interestrate": {
  34180. "description": "利率",
  34181. "type": "number"
  34182. },
  34183. "interestratemode": {
  34184. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34185. "type": "integer"
  34186. },
  34187. "interestsettlemode": {
  34188. "description": "结息方式 - 1:按日结息 3:按月结息",
  34189. "type": "integer"
  34190. },
  34191. "interestsettlevalue": {
  34192. "description": "结息方式值",
  34193. "type": "integer"
  34194. },
  34195. "isautoloan": {
  34196. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  34197. "type": "integer"
  34198. },
  34199. "lastcloseinterestday": {
  34200. "description": "最近结息日(yyyyMMdd)",
  34201. "type": "string"
  34202. },
  34203. "lenderamount": {
  34204. "description": "贷款金额 -\u003e 借款金额",
  34205. "type": "number"
  34206. },
  34207. "lenderuserid": {
  34208. "description": "贷款方用户ID -\u003e 融出方用户ID",
  34209. "type": "integer"
  34210. },
  34211. "lenderusername": {
  34212. "description": "融出方",
  34213. "type": "string"
  34214. },
  34215. "marginratio": {
  34216. "description": "保证金比率质押率 - [仓单质押]",
  34217. "type": "number"
  34218. },
  34219. "marketid": {
  34220. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  34221. "type": "integer"
  34222. },
  34223. "minivalue": {
  34224. "description": "现货商品最小变动值",
  34225. "type": "integer"
  34226. },
  34227. "optioncompare": {
  34228. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34229. "type": "string"
  34230. },
  34231. "pricemove": {
  34232. "description": "估值升贴水值",
  34233. "type": "number"
  34234. },
  34235. "productdetailid": {
  34236. "description": "产品组合ID",
  34237. "type": "integer"
  34238. },
  34239. "productid": {
  34240. "description": "金融产品ID",
  34241. "type": "integer"
  34242. },
  34243. "productname": {
  34244. "description": "产品名称",
  34245. "type": "string"
  34246. },
  34247. "remainamount": {
  34248. "description": "合同剩余金额 -\u003e 剩余金额",
  34249. "type": "number"
  34250. },
  34251. "remainwrpositionqty": {
  34252. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  34253. "type": "number"
  34254. },
  34255. "remark": {
  34256. "description": "备注",
  34257. "type": "string"
  34258. },
  34259. "scfcontractid": {
  34260. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34261. "type": "string"
  34262. },
  34263. "scfcontractstatus": {
  34264. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34265. "type": "integer"
  34266. },
  34267. "scfcontracttype": {
  34268. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  34269. "type": "integer"
  34270. },
  34271. "startinterestday": {
  34272. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  34273. "type": "string"
  34274. },
  34275. "totalinterest": {
  34276. "description": "已计利息 -\u003e 已计费用",
  34277. "type": "number"
  34278. },
  34279. "unpaidinterest": {
  34280. "description": "未结费用",
  34281. "type": "number"
  34282. },
  34283. "updatetime": {
  34284. "description": "更新时间",
  34285. "type": "string"
  34286. },
  34287. "warehouseid": {
  34288. "description": "仓库ID",
  34289. "type": "integer"
  34290. },
  34291. "warehousename": {
  34292. "description": "仓库名称",
  34293. "type": "string"
  34294. },
  34295. "wrfactortypeid": {
  34296. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34297. "type": "string"
  34298. },
  34299. "wrfactortypename": {
  34300. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34301. "type": "string"
  34302. },
  34303. "wrqty": {
  34304. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  34305. "type": "number"
  34306. },
  34307. "wrstandardcode": {
  34308. "description": "现货商品代码",
  34309. "type": "string"
  34310. },
  34311. "wrstandardid": {
  34312. "description": "现货商品ID",
  34313. "type": "integer"
  34314. },
  34315. "wrstandardname": {
  34316. "description": "商品名称",
  34317. "type": "string"
  34318. },
  34319. "wrtypename": {
  34320. "description": "商品",
  34321. "type": "string"
  34322. }
  34323. }
  34324. },
  34325. "models.WrScfContractInterest": {
  34326. "type": "object",
  34327. "properties": {
  34328. "closeinterest": {
  34329. "description": "已结利息",
  34330. "type": "number"
  34331. },
  34332. "closeintereststatus": {
  34333. "description": "结息状态 - 1:未结 2:已结",
  34334. "type": "integer"
  34335. },
  34336. "closetime": {
  34337. "description": "结息时间",
  34338. "type": "string"
  34339. },
  34340. "closetradedate": {
  34341. "description": "结息交易日",
  34342. "type": "string"
  34343. },
  34344. "creatorid": {
  34345. "description": "操作人ID",
  34346. "type": "integer"
  34347. },
  34348. "dayrate": {
  34349. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  34350. "type": "number"
  34351. },
  34352. "interest": {
  34353. "description": "利息",
  34354. "type": "number"
  34355. },
  34356. "interestamount": {
  34357. "description": "计息金额",
  34358. "type": "number"
  34359. },
  34360. "interestday": {
  34361. "description": "计息日(yyyyMMdd)",
  34362. "type": "string"
  34363. },
  34364. "scfcontractid": {
  34365. "description": "SCF合同ID",
  34366. "type": "string"
  34367. },
  34368. "scfcontractinterestid": {
  34369. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  34370. "type": "integer"
  34371. },
  34372. "updatetime": {
  34373. "description": "更新时间",
  34374. "type": "string"
  34375. }
  34376. }
  34377. },
  34378. "models.WrSpecialMatchOrder": {
  34379. "type": "object",
  34380. "properties": {
  34381. "amount": {
  34382. "description": "金额 = 数量 * 价格",
  34383. "type": "number"
  34384. },
  34385. "buyorsell": {
  34386. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34387. "type": "integer"
  34388. },
  34389. "cancelqty": {
  34390. "description": "撤销数量",
  34391. "type": "number"
  34392. },
  34393. "deliverygoodscode": {
  34394. "description": "品种代码",
  34395. "type": "string"
  34396. },
  34397. "deliverygoodsid": {
  34398. "description": "品种ID",
  34399. "type": "integer"
  34400. },
  34401. "deliverygoodsname": {
  34402. "description": "品种名称",
  34403. "type": "string"
  34404. },
  34405. "enumdicname": {
  34406. "description": "单位名称",
  34407. "type": "string"
  34408. },
  34409. "fixedprice": {
  34410. "description": "固定价格(价格)",
  34411. "type": "number"
  34412. },
  34413. "haswr": {
  34414. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34415. "type": "integer"
  34416. },
  34417. "marketid": {
  34418. "description": "市场ID",
  34419. "type": "integer"
  34420. },
  34421. "matchuserid": {
  34422. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  34423. "type": "integer"
  34424. },
  34425. "matchusername": {
  34426. "description": "指定方",
  34427. "type": "string"
  34428. },
  34429. "minivalue": {
  34430. "description": "现货商品最小变动值",
  34431. "type": "integer"
  34432. },
  34433. "optioncompare": {
  34434. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34435. "type": "string"
  34436. },
  34437. "orderqty": {
  34438. "description": "委托数量",
  34439. "type": "number"
  34440. },
  34441. "ordertime": {
  34442. "description": "委托时间",
  34443. "type": "string"
  34444. },
  34445. "pricemove": {
  34446. "description": "升贴水(浮动价时填写) - [挂牌]",
  34447. "type": "number"
  34448. },
  34449. "tradedate": {
  34450. "description": "交易日(yyyyMMdd)",
  34451. "type": "string"
  34452. },
  34453. "tradeprice": {
  34454. "description": "成交价格",
  34455. "type": "number"
  34456. },
  34457. "tradeqty": {
  34458. "description": "成交数量",
  34459. "type": "number"
  34460. },
  34461. "userid": {
  34462. "description": "用户ID",
  34463. "type": "integer"
  34464. },
  34465. "username": {
  34466. "description": "发起方",
  34467. "type": "string"
  34468. },
  34469. "warehouseid": {
  34470. "description": "仓库ID",
  34471. "type": "integer"
  34472. },
  34473. "warehousename": {
  34474. "description": "仓库名称",
  34475. "type": "string"
  34476. },
  34477. "wrfactortypeid": {
  34478. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34479. "type": "string"
  34480. },
  34481. "wrfactortypename": {
  34482. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34483. "type": "string"
  34484. },
  34485. "wrpricetype": {
  34486. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34487. "type": "integer"
  34488. },
  34489. "wrstandardcode": {
  34490. "description": "现货商品代码",
  34491. "type": "string"
  34492. },
  34493. "wrstandardid": {
  34494. "description": "现货商品ID",
  34495. "type": "integer"
  34496. },
  34497. "wrstandardname": {
  34498. "description": "商品名称",
  34499. "type": "string"
  34500. },
  34501. "wrtradeorderid": {
  34502. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34503. "type": "string"
  34504. },
  34505. "wrtradeorderstatus": {
  34506. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  34507. "type": "integer"
  34508. },
  34509. "wrtradetype": {
  34510. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34511. "type": "integer"
  34512. },
  34513. "wrtypename": {
  34514. "description": "商品",
  34515. "type": "string"
  34516. }
  34517. }
  34518. },
  34519. "models.WrStandardFactoryItem": {
  34520. "type": "object",
  34521. "properties": {
  34522. "dgfactoryitemid": {
  34523. "description": "选择项id",
  34524. "type": "integer"
  34525. },
  34526. "dgfactoryitemvalue": {
  34527. "description": "要素项值",
  34528. "type": "string"
  34529. },
  34530. "warehouseid": {
  34531. "description": "仓库id",
  34532. "type": "integer"
  34533. }
  34534. }
  34535. },
  34536. "models.WrStandardFactoryItemEx": {
  34537. "type": "object",
  34538. "properties": {
  34539. "dgfactoryitemtypeid": {
  34540. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  34541. "type": "integer"
  34542. },
  34543. "itemlst": {
  34544. "description": "要素项列表",
  34545. "type": "array",
  34546. "items": {
  34547. "$ref": "#/definitions/models.WrStandardFactoryItem"
  34548. }
  34549. },
  34550. "itemtypename": {
  34551. "description": "要素项类型名称",
  34552. "type": "string"
  34553. },
  34554. "wrstandardid": {
  34555. "description": "品类",
  34556. "type": "integer"
  34557. }
  34558. }
  34559. },
  34560. "models.WrTradeDetail": {
  34561. "type": "object",
  34562. "properties": {
  34563. "accountid": {
  34564. "description": "资金账号",
  34565. "type": "integer"
  34566. },
  34567. "buyorsell": {
  34568. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34569. "type": "integer"
  34570. },
  34571. "chargevalue": {
  34572. "description": "手续费",
  34573. "type": "number"
  34574. },
  34575. "deliverygoodscode": {
  34576. "description": "品种代码",
  34577. "type": "string"
  34578. },
  34579. "deliverygoodsid": {
  34580. "description": "品种ID",
  34581. "type": "integer"
  34582. },
  34583. "deliverygoodsname": {
  34584. "description": "品种名称",
  34585. "type": "string"
  34586. },
  34587. "deliverymonth": {
  34588. "description": "交收月",
  34589. "type": "string"
  34590. },
  34591. "enumdicname": {
  34592. "description": "单位名称",
  34593. "type": "string"
  34594. },
  34595. "haswr": {
  34596. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34597. "type": "integer"
  34598. },
  34599. "marketid": {
  34600. "description": "市场ID",
  34601. "type": "integer"
  34602. },
  34603. "matchaccountid": {
  34604. "description": "对手账号",
  34605. "type": "integer"
  34606. },
  34607. "matchusername": {
  34608. "description": "对手方",
  34609. "type": "string"
  34610. },
  34611. "minivalue": {
  34612. "description": "现货商品最小变动值",
  34613. "type": "integer"
  34614. },
  34615. "optioncompare": {
  34616. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34617. "type": "string"
  34618. },
  34619. "tradedate": {
  34620. "description": "交易日(yyyyMMdd)",
  34621. "type": "string"
  34622. },
  34623. "tradeprice": {
  34624. "description": "成交价格",
  34625. "type": "number"
  34626. },
  34627. "tradeqty": {
  34628. "description": "成交数量",
  34629. "type": "number"
  34630. },
  34631. "tradetime": {
  34632. "description": "成交时间",
  34633. "type": "string"
  34634. },
  34635. "userid": {
  34636. "description": "用户ID",
  34637. "type": "integer"
  34638. },
  34639. "warehouseid": {
  34640. "description": "仓库ID",
  34641. "type": "integer"
  34642. },
  34643. "warehousename": {
  34644. "description": "仓库名称",
  34645. "type": "string"
  34646. },
  34647. "wrfactortypeid": {
  34648. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34649. "type": "string"
  34650. },
  34651. "wrfactortypename": {
  34652. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34653. "type": "string"
  34654. },
  34655. "wrstandardcode": {
  34656. "description": "现货商品代码",
  34657. "type": "string"
  34658. },
  34659. "wrstandardid": {
  34660. "description": "现货商品ID",
  34661. "type": "integer"
  34662. },
  34663. "wrstandardname": {
  34664. "description": "商品名称",
  34665. "type": "string"
  34666. },
  34667. "wrtradedetailid": {
  34668. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  34669. "type": "string"
  34670. },
  34671. "wrtradetype": {
  34672. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34673. "type": "integer"
  34674. },
  34675. "wrtypename": {
  34676. "description": "商品",
  34677. "type": "string"
  34678. }
  34679. }
  34680. },
  34681. "models.WrTradeOrderDetail": {
  34682. "type": "object",
  34683. "properties": {
  34684. "buyorsell": {
  34685. "description": "买卖方向 0-买 1-卖",
  34686. "type": "integer"
  34687. },
  34688. "goodsid": {
  34689. "description": "商品id",
  34690. "type": "integer"
  34691. },
  34692. "orderid": {
  34693. "description": "委托单号",
  34694. "type": "string"
  34695. },
  34696. "orderprice": {
  34697. "description": "委托价格",
  34698. "type": "number"
  34699. },
  34700. "orderqty": {
  34701. "description": "委托数量",
  34702. "type": "integer"
  34703. },
  34704. "userid": {
  34705. "description": "用户id",
  34706. "type": "integer"
  34707. },
  34708. "username": {
  34709. "description": "用户名称(已脱敏)",
  34710. "type": "string"
  34711. }
  34712. }
  34713. },
  34714. "models.WrTypeItem": {
  34715. "type": "object",
  34716. "properties": {
  34717. "name": {
  34718. "description": "名称",
  34719. "type": "string"
  34720. },
  34721. "value": {
  34722. "description": "值",
  34723. "type": "string"
  34724. }
  34725. }
  34726. },
  34727. "models.WrUserFriend": {
  34728. "type": "object",
  34729. "properties": {
  34730. "friendname": {
  34731. "description": "朋友名称(已脱敏)",
  34732. "type": "string"
  34733. },
  34734. "frienduserid": {
  34735. "description": "朋友id",
  34736. "type": "integer"
  34737. },
  34738. "isfriend": {
  34739. "description": "是否好友 0-不是 1-是",
  34740. "type": "integer"
  34741. },
  34742. "userid": {
  34743. "description": "用户id",
  34744. "type": "integer"
  34745. }
  34746. }
  34747. },
  34748. "models.XHBRAND": {
  34749. "type": "object",
  34750. "properties": {
  34751. "brandid": {
  34752. "description": "品牌id",
  34753. "type": "integer"
  34754. },
  34755. "brandname": {
  34756. "description": "品牌名称",
  34757. "type": "string"
  34758. }
  34759. }
  34760. },
  34761. "models.XHDeliveryGoods": {
  34762. "type": "object",
  34763. "properties": {
  34764. "areauserid": {
  34765. "description": "所属机构",
  34766. "type": "integer"
  34767. },
  34768. "bdlst": {
  34769. "description": "品牌列表",
  34770. "type": "array",
  34771. "items": {
  34772. "$ref": "#/definitions/models.XHBRAND"
  34773. }
  34774. },
  34775. "deliverygoodscode": {
  34776. "description": "现货品种代码",
  34777. "type": "string"
  34778. },
  34779. "deliverygoodsid": {
  34780. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34781. "type": "integer"
  34782. },
  34783. "deliverygoodsname": {
  34784. "description": "现货品种名称",
  34785. "type": "string"
  34786. },
  34787. "dgstatus": {
  34788. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  34789. "type": "integer"
  34790. },
  34791. "isvalid": {
  34792. "description": "是否有效 - 0:无效 1:有效",
  34793. "type": "integer"
  34794. },
  34795. "remark": {
  34796. "description": "备注",
  34797. "type": "string"
  34798. },
  34799. "unitid": {
  34800. "description": "单位id(目前看,数据库中是空值)",
  34801. "type": "integer"
  34802. },
  34803. "wdlst": {
  34804. "description": "品类(现货商品)列表",
  34805. "type": "array",
  34806. "items": {
  34807. "$ref": "#/definitions/models.XHWrstandard"
  34808. }
  34809. }
  34810. }
  34811. },
  34812. "models.XHMiddleGoods": {
  34813. "type": "object",
  34814. "properties": {
  34815. "convertratio": {
  34816. "description": "拆算系数",
  34817. "type": "number"
  34818. },
  34819. "enumdicname": {
  34820. "description": "单位名称",
  34821. "type": "string"
  34822. },
  34823. "gplst": {
  34824. "description": "期货品种列表",
  34825. "type": "array",
  34826. "items": {
  34827. "$ref": "#/definitions/models.TBGoodsGroup"
  34828. }
  34829. },
  34830. "middlegoodscode": {
  34831. "description": "套保品种代码",
  34832. "type": "string"
  34833. },
  34834. "middlegoodsid": {
  34835. "description": "套保品种id",
  34836. "type": "integer"
  34837. },
  34838. "middlegoodsname": {
  34839. "description": "套保品种名称",
  34840. "type": "string"
  34841. },
  34842. "unitid": {
  34843. "description": "单位id",
  34844. "type": "integer"
  34845. }
  34846. }
  34847. },
  34848. "models.XHWrstandard": {
  34849. "type": "object",
  34850. "properties": {
  34851. "deliverygoodsid": {
  34852. "description": "品种ID",
  34853. "type": "integer"
  34854. },
  34855. "enumdicname": {
  34856. "description": "单位名称",
  34857. "type": "string"
  34858. },
  34859. "mglst": {
  34860. "description": "套保品列表",
  34861. "type": "array",
  34862. "items": {
  34863. "$ref": "#/definitions/models.XHMiddleGoods"
  34864. }
  34865. },
  34866. "unitid": {
  34867. "description": "单位id",
  34868. "type": "integer"
  34869. },
  34870. "vatrate": {
  34871. "description": "增值税率",
  34872. "type": "number"
  34873. },
  34874. "wrstandardcode": {
  34875. "description": "现货商品代码",
  34876. "type": "string"
  34877. },
  34878. "wrstandardid": {
  34879. "description": "现货商品ID(SEQ_WRSTANDARD)",
  34880. "type": "integer"
  34881. },
  34882. "wrstandardname": {
  34883. "description": "现货商品名称",
  34884. "type": "string"
  34885. }
  34886. }
  34887. },
  34888. "order.QueryHisTradeDetailRsp": {
  34889. "type": "object",
  34890. "required": [
  34891. "accountid",
  34892. "buyorsell",
  34893. "goodsid",
  34894. "histradedate",
  34895. "marketid",
  34896. "memberuserid",
  34897. "orderid",
  34898. "tradeamount",
  34899. "tradedate",
  34900. "tradeid",
  34901. "tradeprice",
  34902. "tradeqty",
  34903. "tradetime"
  34904. ],
  34905. "properties": {
  34906. "accountid": {
  34907. "description": "账户ID[报价币种]",
  34908. "type": "integer"
  34909. },
  34910. "advanceratio": {
  34911. "description": "首付比率",
  34912. "type": "number"
  34913. },
  34914. "buildtype": {
  34915. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34916. "type": "integer"
  34917. },
  34918. "buyorsell": {
  34919. "description": "方向 - 0:买 1:卖",
  34920. "type": "integer"
  34921. },
  34922. "charge": {
  34923. "description": "手续费",
  34924. "type": "number"
  34925. },
  34926. "closecharge": {
  34927. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34928. "type": "number"
  34929. },
  34930. "closeexchagechargevalue": {
  34931. "description": "平仓交易所手续费设置值",
  34932. "type": "number"
  34933. },
  34934. "closefeealgorithm": {
  34935. "description": "平仓手续费收取方式 1:比率 2:固定",
  34936. "type": "integer"
  34937. },
  34938. "closememberchargevalue": {
  34939. "description": "平仓会员手续费设置值",
  34940. "type": "number"
  34941. },
  34942. "closepl": {
  34943. "description": "平仓盈亏",
  34944. "type": "number"
  34945. },
  34946. "closepl2": {
  34947. "description": "平仓盈亏[逐笔]",
  34948. "type": "number"
  34949. },
  34950. "closeqty": {
  34951. "description": "平仓数量(先建后平操作 需要记录)",
  34952. "type": "number"
  34953. },
  34954. "creditamount": {
  34955. "description": "授信金额",
  34956. "type": "number"
  34957. },
  34958. "decimalplace": {
  34959. "description": "商品报价小数位",
  34960. "type": "integer"
  34961. },
  34962. "enumdicname": {
  34963. "description": "单位名称",
  34964. "type": "string"
  34965. },
  34966. "gcaccountid": {
  34967. "description": "账户ID[合约币种]",
  34968. "type": "integer"
  34969. },
  34970. "goodscode": {
  34971. "description": "商品代码",
  34972. "type": "string"
  34973. },
  34974. "goodsid": {
  34975. "description": "商品ID",
  34976. "type": "integer"
  34977. },
  34978. "goodsname": {
  34979. "description": "商品名称",
  34980. "type": "string"
  34981. },
  34982. "goodunitid": {
  34983. "description": "商品单位id",
  34984. "type": "integer"
  34985. },
  34986. "histradedate": {
  34987. "description": "历史交易日",
  34988. "type": "string"
  34989. },
  34990. "intclosepl": {
  34991. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34992. "type": "integer"
  34993. },
  34994. "isconfirmexercise": {
  34995. "description": "是否确认行权- 0:否 1:是",
  34996. "type": "integer"
  34997. },
  34998. "ismain": {
  34999. "description": "是否主单 - 0:不是 1:是",
  35000. "type": "integer"
  35001. },
  35002. "ispreexercise": {
  35003. "description": "是否预申报- 0:否 1:是",
  35004. "type": "integer"
  35005. },
  35006. "isreckoned": {
  35007. "description": "是否结算 - 0:未结算 1:已结算",
  35008. "type": "integer"
  35009. },
  35010. "isvaliddata": {
  35011. "description": "是否有效 - 0:无效 1:有效",
  35012. "type": "integer"
  35013. },
  35014. "listingselecttype": {
  35015. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35016. "type": "integer"
  35017. },
  35018. "marketid": {
  35019. "description": "市场ID",
  35020. "type": "integer"
  35021. },
  35022. "marketname": {
  35023. "description": "市场名称",
  35024. "type": "string"
  35025. },
  35026. "matchaccountid": {
  35027. "description": "对手账号id",
  35028. "type": "integer"
  35029. },
  35030. "memberuserid": {
  35031. "description": "会员id 个人投资者 需要填写",
  35032. "type": "integer"
  35033. },
  35034. "opencharge": {
  35035. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35036. "type": "number"
  35037. },
  35038. "openexchagechargevalue": {
  35039. "description": "建仓交易所手续费设置值",
  35040. "type": "number"
  35041. },
  35042. "openfeealgorithm": {
  35043. "description": "建仓手续费收取方式 1:比率 2:固定",
  35044. "type": "integer"
  35045. },
  35046. "openmemberchargevalue": {
  35047. "description": "建仓会员手续费设置值",
  35048. "type": "number"
  35049. },
  35050. "openqty": {
  35051. "description": "开仓数量(先建后平操作 需要记录)",
  35052. "type": "number"
  35053. },
  35054. "optiontype": {
  35055. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35056. "type": "integer"
  35057. },
  35058. "orderid": {
  35059. "description": "委托单号",
  35060. "type": "string"
  35061. },
  35062. "payamount": {
  35063. "description": "支付金额(付款金额)",
  35064. "type": "number"
  35065. },
  35066. "performanceplanid": {
  35067. "description": "履约计划ID[期权]",
  35068. "type": "integer"
  35069. },
  35070. "performancestatus": {
  35071. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35072. "type": "integer"
  35073. },
  35074. "preexerciseprice": {
  35075. "description": "预申报价格",
  35076. "type": "number"
  35077. },
  35078. "premium": {
  35079. "description": "权利金 - [持仓单的权利金]",
  35080. "type": "number"
  35081. },
  35082. "qtydecimalplace": {
  35083. "description": "商品报价小数位",
  35084. "type": "integer"
  35085. },
  35086. "recvamount": {
  35087. "description": "到账金额 = 成交金额 - 手续费",
  35088. "type": "number"
  35089. },
  35090. "relatedouttradeid": {
  35091. "description": "关联外部成交单ID",
  35092. "type": "integer"
  35093. },
  35094. "status": {
  35095. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35096. "type": "integer"
  35097. },
  35098. "totalamount": {
  35099. "description": "订单总额 = 成交金额 + 手续费",
  35100. "type": "number"
  35101. },
  35102. "tradeamount": {
  35103. "description": "成交金额[账户币种,用于所有权]",
  35104. "type": "number"
  35105. },
  35106. "tradedate": {
  35107. "description": "交易日(yyyyMMdd)",
  35108. "type": "string"
  35109. },
  35110. "tradeid": {
  35111. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35112. "type": "string"
  35113. },
  35114. "trademode": {
  35115. "description": "交易模式",
  35116. "type": "integer"
  35117. },
  35118. "tradeprice": {
  35119. "description": "成交价格",
  35120. "type": "number"
  35121. },
  35122. "tradeproperty": {
  35123. "description": "交易属性",
  35124. "type": "integer"
  35125. },
  35126. "tradeqty": {
  35127. "description": "成交数量",
  35128. "type": "number"
  35129. },
  35130. "tradetime": {
  35131. "description": "成交时间",
  35132. "type": "string"
  35133. },
  35134. "tradetype": {
  35135. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35136. "type": "integer"
  35137. }
  35138. }
  35139. },
  35140. "order.QueryHisTradeOrderDetailRsp": {
  35141. "type": "object",
  35142. "required": [
  35143. "accountid",
  35144. "buildtype",
  35145. "buyorsell",
  35146. "goodsid",
  35147. "histradedate",
  35148. "marketid",
  35149. "memberuserid",
  35150. "operatetype",
  35151. "orderid",
  35152. "orderqty",
  35153. "ordertime",
  35154. "pricemode",
  35155. "tradedate",
  35156. "validtype"
  35157. ],
  35158. "properties": {
  35159. "accountid": {
  35160. "description": "账户ID[报价币种]",
  35161. "type": "integer"
  35162. },
  35163. "buildtype": {
  35164. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35165. "type": "integer"
  35166. },
  35167. "buyorsell": {
  35168. "description": "买卖 - 0:买 1:卖",
  35169. "type": "integer"
  35170. },
  35171. "cancelorderid": {
  35172. "description": "撤单单号(撤单时填写)",
  35173. "type": "string"
  35174. },
  35175. "cancelqty": {
  35176. "description": "撤单数量",
  35177. "type": "number"
  35178. },
  35179. "clientordertime": {
  35180. "description": "客户端委托时间",
  35181. "type": "string"
  35182. },
  35183. "clientticket": {
  35184. "description": "客户端流水号",
  35185. "type": "string"
  35186. },
  35187. "clienttype": {
  35188. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35189. "type": "integer"
  35190. },
  35191. "closeexchagechargevalue": {
  35192. "description": "平仓交易所手续费设置值",
  35193. "type": "number"
  35194. },
  35195. "closefeealgorithm": {
  35196. "description": "平仓手续费收取方式 1:比率 2:固定",
  35197. "type": "integer"
  35198. },
  35199. "closefreezecharge": {
  35200. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35201. "type": "number"
  35202. },
  35203. "closememberchargevalue": {
  35204. "description": "平仓会员手续费设置值",
  35205. "type": "number"
  35206. },
  35207. "closeqty": {
  35208. "description": "平仓数量(先建后平操作 需要记录)",
  35209. "type": "number"
  35210. },
  35211. "closetradeqty": {
  35212. "description": "平仓成交数量(先建后平操作,需要记录)",
  35213. "type": "number"
  35214. },
  35215. "closeunfreezecharge": {
  35216. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35217. "type": "number"
  35218. },
  35219. "decimalplace": {
  35220. "description": "商品报价小数位",
  35221. "type": "integer"
  35222. },
  35223. "delistingtype": {
  35224. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35225. "type": "integer"
  35226. },
  35227. "enumdicname": {
  35228. "description": "单位名称",
  35229. "type": "string"
  35230. },
  35231. "freezecharge": {
  35232. "description": "冻结手续费",
  35233. "type": "number"
  35234. },
  35235. "freezemargin": {
  35236. "description": "冻结保证金(冻结交易金额)",
  35237. "type": "number"
  35238. },
  35239. "gcaccountid": {
  35240. "description": "账户ID[合约币种]",
  35241. "type": "integer"
  35242. },
  35243. "goodscode": {
  35244. "description": "商品代码",
  35245. "type": "string"
  35246. },
  35247. "goodsid": {
  35248. "description": "商品ID",
  35249. "type": "integer"
  35250. },
  35251. "goodsname": {
  35252. "description": "商品名称",
  35253. "type": "string"
  35254. },
  35255. "goodunitid": {
  35256. "description": "商品单位id",
  35257. "type": "integer"
  35258. },
  35259. "histradedate": {
  35260. "description": "历史交易日",
  35261. "type": "string"
  35262. },
  35263. "isconfirmexercise": {
  35264. "description": "是否确认行权- 0:否 1:是",
  35265. "type": "integer"
  35266. },
  35267. "ispreexercise": {
  35268. "description": "是否预申报- 0:否 1:是",
  35269. "type": "integer"
  35270. },
  35271. "isvaliddata": {
  35272. "description": "是否有效 - 0:无效 1:有效",
  35273. "type": "integer"
  35274. },
  35275. "listingselecttype": {
  35276. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35277. "type": "integer"
  35278. },
  35279. "marginalgorithm": {
  35280. "description": "保证金收取方式 1:比率 2:固定",
  35281. "type": "integer"
  35282. },
  35283. "marginvalue": {
  35284. "description": "即市保证金设置值",
  35285. "type": "number"
  35286. },
  35287. "marketid": {
  35288. "description": "市场ID",
  35289. "type": "integer"
  35290. },
  35291. "marketmaxsub": {
  35292. "description": "市价最大偏移范围",
  35293. "type": "number"
  35294. },
  35295. "marketname": {
  35296. "description": "市场名称",
  35297. "type": "string"
  35298. },
  35299. "memberuserid": {
  35300. "description": "所属会员UserID",
  35301. "type": "integer"
  35302. },
  35303. "openexchagechargevalue": {
  35304. "description": "建仓交易所手续费设置值",
  35305. "type": "number"
  35306. },
  35307. "openfeealgorithm": {
  35308. "description": "建仓手续费收取方式 1:比率 2:固定",
  35309. "type": "integer"
  35310. },
  35311. "openfreezecharge": {
  35312. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35313. "type": "number"
  35314. },
  35315. "openmemberchargevalue": {
  35316. "description": "建仓会员手续费设置值",
  35317. "type": "number"
  35318. },
  35319. "openqty": {
  35320. "description": "开仓数量(先建后平操作,需要记录)",
  35321. "type": "number"
  35322. },
  35323. "opentradeqty": {
  35324. "description": "开仓成交数量(先建后平操作,需要记录)",
  35325. "type": "number"
  35326. },
  35327. "openunfreezecharge": {
  35328. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35329. "type": "number"
  35330. },
  35331. "operatetype": {
  35332. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35333. "type": "integer"
  35334. },
  35335. "operatorid": {
  35336. "description": "登录账号(LoginID)",
  35337. "type": "integer"
  35338. },
  35339. "optiontype": {
  35340. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35341. "type": "integer"
  35342. },
  35343. "orderid": {
  35344. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35345. "type": "string"
  35346. },
  35347. "orderprice": {
  35348. "description": "委托价格",
  35349. "type": "number"
  35350. },
  35351. "orderqty": {
  35352. "description": "委托数量",
  35353. "type": "number"
  35354. },
  35355. "ordersrc": {
  35356. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35357. "type": "integer"
  35358. },
  35359. "orderstatus": {
  35360. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35361. "type": "integer"
  35362. },
  35363. "ordertime": {
  35364. "description": "委托时间",
  35365. "type": "string"
  35366. },
  35367. "preexerciseprice": {
  35368. "description": "预申报价格",
  35369. "type": "number"
  35370. },
  35371. "premium": {
  35372. "description": "权利金",
  35373. "type": "number"
  35374. },
  35375. "preorderid": {
  35376. "description": "关联预埋单号(止盈止损单时填写)",
  35377. "type": "string"
  35378. },
  35379. "pricemode": {
  35380. "description": "取价方式 - 1:市价 2: 限价",
  35381. "type": "integer"
  35382. },
  35383. "qtydecimalplace": {
  35384. "description": "成交量小数位",
  35385. "type": "integer"
  35386. },
  35387. "quoteid": {
  35388. "description": "报价单ID",
  35389. "type": "integer"
  35390. },
  35391. "relatedid": {
  35392. "description": "关联单号(交割单)",
  35393. "type": "string"
  35394. },
  35395. "retcode": {
  35396. "description": "错误代码",
  35397. "type": "integer"
  35398. },
  35399. "sessionid": {
  35400. "description": "会话ID",
  35401. "type": "integer"
  35402. },
  35403. "tradedate": {
  35404. "description": "交易日(yyyyMMdd)",
  35405. "type": "string"
  35406. },
  35407. "trademode": {
  35408. "description": "交易模式",
  35409. "type": "integer"
  35410. },
  35411. "tradeproperty": {
  35412. "description": "交易属性",
  35413. "type": "integer"
  35414. },
  35415. "tradeqty": {
  35416. "description": "成交数量",
  35417. "type": "number"
  35418. },
  35419. "unfreezecharge": {
  35420. "description": "解冻手续费",
  35421. "type": "number"
  35422. },
  35423. "unfreezemargin": {
  35424. "description": "解冻保证金",
  35425. "type": "number"
  35426. },
  35427. "updatetime": {
  35428. "description": "更新时间",
  35429. "type": "string"
  35430. },
  35431. "uuid": {
  35432. "description": "发起端唯一id",
  35433. "type": "string"
  35434. },
  35435. "validtime": {
  35436. "description": "有效期限",
  35437. "type": "string"
  35438. },
  35439. "validtype": {
  35440. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35441. "type": "integer"
  35442. },
  35443. "volumetype": {
  35444. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35445. "type": "integer"
  35446. }
  35447. }
  35448. },
  35449. "order.QueryTradeDetailRsp": {
  35450. "type": "object",
  35451. "required": [
  35452. "accountid",
  35453. "buyorsell",
  35454. "goodsid",
  35455. "marketid",
  35456. "memberuserid",
  35457. "orderid",
  35458. "tradeamount",
  35459. "tradedate",
  35460. "tradeid",
  35461. "tradeprice",
  35462. "tradeqty",
  35463. "tradetime"
  35464. ],
  35465. "properties": {
  35466. "accountid": {
  35467. "description": "账户ID[报价币种]",
  35468. "type": "integer"
  35469. },
  35470. "advanceratio": {
  35471. "description": "首付比率",
  35472. "type": "number"
  35473. },
  35474. "buildtype": {
  35475. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35476. "type": "integer"
  35477. },
  35478. "buyorsell": {
  35479. "description": "方向 - 0:买 1:卖",
  35480. "type": "integer"
  35481. },
  35482. "charge": {
  35483. "description": "手续费",
  35484. "type": "number"
  35485. },
  35486. "closecharge": {
  35487. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35488. "type": "number"
  35489. },
  35490. "closeexchagechargevalue": {
  35491. "description": "平仓交易所手续费设置值",
  35492. "type": "number"
  35493. },
  35494. "closefeealgorithm": {
  35495. "description": "平仓手续费收取方式 1:比率 2:固定",
  35496. "type": "integer"
  35497. },
  35498. "closememberchargevalue": {
  35499. "description": "平仓会员手续费设置值",
  35500. "type": "number"
  35501. },
  35502. "closepl": {
  35503. "description": "平仓盈亏",
  35504. "type": "number"
  35505. },
  35506. "closepl2": {
  35507. "description": "平仓盈亏[逐笔]",
  35508. "type": "number"
  35509. },
  35510. "closeqty": {
  35511. "description": "平仓数量(先建后平操作 需要记录)",
  35512. "type": "number"
  35513. },
  35514. "creditamount": {
  35515. "description": "授信金额",
  35516. "type": "number"
  35517. },
  35518. "decimalplace": {
  35519. "description": "商品报价小数位",
  35520. "type": "integer"
  35521. },
  35522. "enumdicname": {
  35523. "description": "单位名称",
  35524. "type": "string"
  35525. },
  35526. "gcaccountid": {
  35527. "description": "账户ID[合约币种]",
  35528. "type": "integer"
  35529. },
  35530. "goodscode": {
  35531. "description": "商品代码",
  35532. "type": "string"
  35533. },
  35534. "goodsid": {
  35535. "description": "商品ID",
  35536. "type": "integer"
  35537. },
  35538. "goodsname": {
  35539. "description": "商品名称",
  35540. "type": "string"
  35541. },
  35542. "goodunitid": {
  35543. "description": "商品单位id",
  35544. "type": "integer"
  35545. },
  35546. "intclosepl": {
  35547. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  35548. "type": "integer"
  35549. },
  35550. "isconfirmexercise": {
  35551. "description": "是否确认行权- 0:否 1:是",
  35552. "type": "integer"
  35553. },
  35554. "ismain": {
  35555. "description": "是否主单 - 0:不是 1:是",
  35556. "type": "integer"
  35557. },
  35558. "ispreexercise": {
  35559. "description": "是否预申报- 0:否 1:是",
  35560. "type": "integer"
  35561. },
  35562. "isreckoned": {
  35563. "description": "是否结算 - 0:未结算 1:已结算",
  35564. "type": "integer"
  35565. },
  35566. "listingselecttype": {
  35567. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35568. "type": "integer"
  35569. },
  35570. "marketid": {
  35571. "description": "市场ID",
  35572. "type": "integer"
  35573. },
  35574. "marketname": {
  35575. "description": "市场名称",
  35576. "type": "string"
  35577. },
  35578. "matchaccountid": {
  35579. "description": "对手账号id",
  35580. "type": "integer"
  35581. },
  35582. "memberuserid": {
  35583. "description": "会员id 个人投资者 需要填写",
  35584. "type": "integer"
  35585. },
  35586. "opencharge": {
  35587. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35588. "type": "number"
  35589. },
  35590. "openexchagechargevalue": {
  35591. "description": "建仓交易所手续费设置值",
  35592. "type": "number"
  35593. },
  35594. "openfeealgorithm": {
  35595. "description": "建仓手续费收取方式 1:比率 2:固定",
  35596. "type": "integer"
  35597. },
  35598. "openmemberchargevalue": {
  35599. "description": "建仓会员手续费设置值",
  35600. "type": "number"
  35601. },
  35602. "openqty": {
  35603. "description": "开仓数量(先建后平操作 需要记录)",
  35604. "type": "number"
  35605. },
  35606. "optiontype": {
  35607. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35608. "type": "integer"
  35609. },
  35610. "orderid": {
  35611. "description": "委托单号",
  35612. "type": "string"
  35613. },
  35614. "payamount": {
  35615. "description": "支付金额(付款金额)",
  35616. "type": "number"
  35617. },
  35618. "performanceplanid": {
  35619. "description": "履约计划ID[期权]",
  35620. "type": "integer"
  35621. },
  35622. "performancestatus": {
  35623. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35624. "type": "integer"
  35625. },
  35626. "preexerciseprice": {
  35627. "description": "预申报价格",
  35628. "type": "number"
  35629. },
  35630. "premium": {
  35631. "description": "权利金 - [持仓单的权利金]",
  35632. "type": "number"
  35633. },
  35634. "qtydecimalplace": {
  35635. "description": "商品报价小数位",
  35636. "type": "integer"
  35637. },
  35638. "recvamount": {
  35639. "description": "到账金额 = 成交金额 - 手续费",
  35640. "type": "number"
  35641. },
  35642. "relatedouttradeid": {
  35643. "description": "关联外部成交单ID",
  35644. "type": "integer"
  35645. },
  35646. "status": {
  35647. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35648. "type": "integer"
  35649. },
  35650. "totalamount": {
  35651. "description": "订单总额 = 成交金额 + 手续费",
  35652. "type": "number"
  35653. },
  35654. "tradeamount": {
  35655. "description": "成交金额[账户币种,用于所有权]",
  35656. "type": "number"
  35657. },
  35658. "tradedate": {
  35659. "description": "交易日(yyyyMMdd)",
  35660. "type": "string"
  35661. },
  35662. "tradeid": {
  35663. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35664. "type": "string"
  35665. },
  35666. "trademode": {
  35667. "description": "交易模式",
  35668. "type": "integer"
  35669. },
  35670. "tradeprice": {
  35671. "description": "成交价格",
  35672. "type": "number"
  35673. },
  35674. "tradeproperty": {
  35675. "description": "交易属性",
  35676. "type": "integer"
  35677. },
  35678. "tradeqty": {
  35679. "description": "成交数量",
  35680. "type": "number"
  35681. },
  35682. "tradetime": {
  35683. "description": "成交时间",
  35684. "type": "string"
  35685. },
  35686. "tradetype": {
  35687. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35688. "type": "integer"
  35689. }
  35690. }
  35691. },
  35692. "order.QueryTradeOrderDetailRsp": {
  35693. "type": "object",
  35694. "required": [
  35695. "accountid",
  35696. "buildtype",
  35697. "buyorsell",
  35698. "goodsid",
  35699. "marketid",
  35700. "operatetype",
  35701. "orderqty",
  35702. "ordertime",
  35703. "pricemode",
  35704. "tradedate",
  35705. "validtype"
  35706. ],
  35707. "properties": {
  35708. "accountid": {
  35709. "description": "账户ID[报价币种]",
  35710. "type": "integer"
  35711. },
  35712. "buildtype": {
  35713. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35714. "type": "integer"
  35715. },
  35716. "buyorsell": {
  35717. "description": "买卖 - 0:买 1:卖",
  35718. "type": "integer"
  35719. },
  35720. "cancelorderid": {
  35721. "description": "撤单单号(撤单时填写)",
  35722. "type": "string"
  35723. },
  35724. "cancelqty": {
  35725. "description": "撤单数量",
  35726. "type": "number"
  35727. },
  35728. "clienttype": {
  35729. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35730. "type": "integer"
  35731. },
  35732. "closefreezecharge": {
  35733. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35734. "type": "number"
  35735. },
  35736. "closeqty": {
  35737. "description": "平仓数量(先建后平操作 需要记录)",
  35738. "type": "number"
  35739. },
  35740. "closetradeqty": {
  35741. "description": "平仓成交数量(先建后平操作,需要记录)",
  35742. "type": "number"
  35743. },
  35744. "closeunfreezecharge": {
  35745. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35746. "type": "number"
  35747. },
  35748. "decimalplace": {
  35749. "description": "商品报价小数位",
  35750. "type": "integer"
  35751. },
  35752. "delistingtype": {
  35753. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35754. "type": "integer"
  35755. },
  35756. "enableqty": {
  35757. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  35758. "type": "number"
  35759. },
  35760. "enumdicname": {
  35761. "description": "单位名称",
  35762. "type": "string"
  35763. },
  35764. "freezecharge": {
  35765. "description": "冻结手续费",
  35766. "type": "number"
  35767. },
  35768. "freezemargin": {
  35769. "description": "冻结保证金(冻结交易金额)",
  35770. "type": "number"
  35771. },
  35772. "goodscode": {
  35773. "description": "商品代码",
  35774. "type": "string"
  35775. },
  35776. "goodsid": {
  35777. "description": "商品ID",
  35778. "type": "integer"
  35779. },
  35780. "goodsname": {
  35781. "description": "商品名称",
  35782. "type": "string"
  35783. },
  35784. "goodunitid": {
  35785. "description": "商品单位id",
  35786. "type": "integer"
  35787. },
  35788. "listingselecttype": {
  35789. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35790. "type": "integer"
  35791. },
  35792. "marketid": {
  35793. "description": "市场ID",
  35794. "type": "integer"
  35795. },
  35796. "marketname": {
  35797. "description": "市场名称",
  35798. "type": "string"
  35799. },
  35800. "openfreezecharge": {
  35801. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35802. "type": "number"
  35803. },
  35804. "openqty": {
  35805. "description": "开仓数量(先建后平操作,需要记录)",
  35806. "type": "number"
  35807. },
  35808. "opentradeqty": {
  35809. "description": "开仓成交数量(先建后平操作,需要记录)",
  35810. "type": "number"
  35811. },
  35812. "openunfreezecharge": {
  35813. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35814. "type": "number"
  35815. },
  35816. "operatetype": {
  35817. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35818. "type": "integer"
  35819. },
  35820. "operatorid": {
  35821. "description": "登录账号(LoginID)",
  35822. "type": "integer"
  35823. },
  35824. "orderid": {
  35825. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35826. "type": "string"
  35827. },
  35828. "orderprice": {
  35829. "description": "委托价格",
  35830. "type": "number"
  35831. },
  35832. "orderqty": {
  35833. "description": "委托数量",
  35834. "type": "number"
  35835. },
  35836. "ordersrc": {
  35837. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35838. "type": "integer"
  35839. },
  35840. "orderstatus": {
  35841. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35842. "type": "integer"
  35843. },
  35844. "ordertime": {
  35845. "description": "委托时间",
  35846. "type": "string"
  35847. },
  35848. "preorderid": {
  35849. "description": "关联预埋单号(止盈止损单时填写)",
  35850. "type": "string"
  35851. },
  35852. "pricemode": {
  35853. "description": "取价方式 - 1:市价 2: 限价",
  35854. "type": "integer"
  35855. },
  35856. "qtydecimalplace": {
  35857. "description": "商品报价小数位",
  35858. "type": "integer"
  35859. },
  35860. "relatedid": {
  35861. "description": "关联单号(交割单)",
  35862. "type": "string"
  35863. },
  35864. "tradedate": {
  35865. "description": "交易日(yyyyMMdd)",
  35866. "type": "string"
  35867. },
  35868. "trademode": {
  35869. "description": "交易模式",
  35870. "type": "integer"
  35871. },
  35872. "tradeqty": {
  35873. "description": "成交数量",
  35874. "type": "number"
  35875. },
  35876. "unfreezecharge": {
  35877. "description": "解冻手续费",
  35878. "type": "number"
  35879. },
  35880. "unfreezemargin": {
  35881. "description": "解冻保证金",
  35882. "type": "number"
  35883. },
  35884. "validtime": {
  35885. "description": "有效期限",
  35886. "type": "string"
  35887. },
  35888. "validtype": {
  35889. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35890. "type": "integer"
  35891. },
  35892. "volumetype": {
  35893. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35894. "type": "integer"
  35895. }
  35896. }
  35897. },
  35898. "order.QueryTradePositionRsp": {
  35899. "type": "object",
  35900. "required": [
  35901. "goodsid"
  35902. ],
  35903. "properties": {
  35904. "accountid": {
  35905. "description": "资金账户",
  35906. "type": "integer"
  35907. },
  35908. "agreeunit": {
  35909. "description": "合约单位",
  35910. "type": "number"
  35911. },
  35912. "averageprice": {
  35913. "description": "持仓均价",
  35914. "type": "number"
  35915. },
  35916. "buyorsell": {
  35917. "description": "方向 - 0:买 1:卖",
  35918. "type": "integer"
  35919. },
  35920. "closetotalqty": {
  35921. "description": "平仓总数量",
  35922. "type": "number"
  35923. },
  35924. "curholderamount": {
  35925. "description": "当前持仓总金额[商品币种]",
  35926. "type": "number"
  35927. },
  35928. "curpositionqty": {
  35929. "description": "当前持仓总数量",
  35930. "type": "number"
  35931. },
  35932. "currencyid": {
  35933. "description": "报价货币ID",
  35934. "type": "integer"
  35935. },
  35936. "curtdposition": {
  35937. "description": "期末今日头寸",
  35938. "type": "number"
  35939. },
  35940. "decimalplace": {
  35941. "description": "报价小数位",
  35942. "type": "integer"
  35943. },
  35944. "enableqty": {
  35945. "description": "可用量",
  35946. "type": "number"
  35947. },
  35948. "fretdposition": {
  35949. "description": "冻结今日头寸",
  35950. "type": "number"
  35951. },
  35952. "frozenqty": {
  35953. "description": "持仓冻结数量",
  35954. "type": "number"
  35955. },
  35956. "goodscode": {
  35957. "description": "商品代码",
  35958. "type": "string"
  35959. },
  35960. "goodsid": {
  35961. "description": "商品Id",
  35962. "type": "integer"
  35963. },
  35964. "goodsname": {
  35965. "description": "商品名称",
  35966. "type": "string"
  35967. },
  35968. "goodunit": {
  35969. "description": "报价单位",
  35970. "type": "string"
  35971. },
  35972. "goodunitid": {
  35973. "description": "报价单位ID",
  35974. "type": "integer"
  35975. },
  35976. "holderamount": {
  35977. "description": "期初持仓总金额[商品币种]",
  35978. "type": "number"
  35979. },
  35980. "lastprice": {
  35981. "description": "最新价",
  35982. "type": "number"
  35983. },
  35984. "marketamount": {
  35985. "description": "市值",
  35986. "type": "number"
  35987. },
  35988. "marketid": {
  35989. "description": "所属市场ID",
  35990. "type": "integer"
  35991. },
  35992. "openreqqty": {
  35993. "description": "开仓申请数量(用于比较最大持仓数量)",
  35994. "type": "number"
  35995. },
  35996. "opentotalqty": {
  35997. "description": "开仓总数量",
  35998. "type": "number"
  35999. },
  36000. "otherfrozenqty": {
  36001. "description": "持仓其他冻结数量(交割冻结)",
  36002. "type": "number"
  36003. },
  36004. "positionpl": {
  36005. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  36006. "type": "number"
  36007. },
  36008. "positionplrate": {
  36009. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  36010. "type": "number"
  36011. },
  36012. "positionqty": {
  36013. "description": "期初持仓数量",
  36014. "type": "number"
  36015. },
  36016. "qtydecimalplace": {
  36017. "description": "成交量小数位",
  36018. "type": "integer"
  36019. },
  36020. "tnqty": {
  36021. "description": "T+N冻结总量",
  36022. "type": "number"
  36023. },
  36024. "tnusedqty": {
  36025. "description": "T+N使用量(可以使用T+N的冻结数量)",
  36026. "type": "number"
  36027. },
  36028. "trademode": {
  36029. "description": "交易模式",
  36030. "type": "integer"
  36031. },
  36032. "usedmargin": {
  36033. "description": "占用保证金[商品币种]",
  36034. "type": "number"
  36035. }
  36036. }
  36037. },
  36038. "pb.GoodsMarginCfgStruct": {
  36039. "type": "object",
  36040. "properties": {
  36041. "CustomerTypeID": {
  36042. "description": "投资者客户类型",
  36043. "type": "integer"
  36044. },
  36045. "GoodsID": {
  36046. "description": "商品ID",
  36047. "type": "integer"
  36048. },
  36049. "IsDefault": {
  36050. "description": "是否默认标志位",
  36051. "type": "integer"
  36052. },
  36053. "LockMarginValue": {
  36054. "description": "锁仓保证金",
  36055. "type": "number"
  36056. },
  36057. "MarginAlgorithm": {
  36058. "description": "保证金计算方式",
  36059. "type": "integer"
  36060. },
  36061. "MarketMarginValue": {
  36062. "description": "即市保证金值",
  36063. "type": "number"
  36064. },
  36065. "RealMarginAlgorithm": {
  36066. "description": "实付保证金计算方式",
  36067. "type": "integer"
  36068. },
  36069. "RealMarginValue": {
  36070. "description": "实付比例",
  36071. "type": "number"
  36072. },
  36073. "ReckonMarginValue": {
  36074. "description": "结算保证金值",
  36075. "type": "number"
  36076. }
  36077. }
  36078. },
  36079. "quote.HistoryData": {
  36080. "type": "object",
  36081. "properties": {
  36082. "c": {
  36083. "description": "收盘价",
  36084. "type": "number"
  36085. },
  36086. "f": {
  36087. "description": "是否补充数据",
  36088. "type": "boolean"
  36089. },
  36090. "h": {
  36091. "description": "最高价",
  36092. "type": "number"
  36093. },
  36094. "hv": {
  36095. "description": "持仓量",
  36096. "type": "integer"
  36097. },
  36098. "l": {
  36099. "description": "最低价",
  36100. "type": "number"
  36101. },
  36102. "o": {
  36103. "description": "开盘价",
  36104. "type": "number"
  36105. },
  36106. "s": {
  36107. "description": "结算价,日线周期(包括)以上才有",
  36108. "type": "number"
  36109. },
  36110. "ts": {
  36111. "description": "时间",
  36112. "type": "string"
  36113. },
  36114. "tt": {
  36115. "description": "总金额",
  36116. "type": "number"
  36117. },
  36118. "tv": {
  36119. "description": "总量",
  36120. "type": "integer"
  36121. }
  36122. }
  36123. },
  36124. "quote.HistoryTikData": {
  36125. "type": "object",
  36126. "properties": {
  36127. "AV": {
  36128. "description": "卖量",
  36129. "type": "integer"
  36130. },
  36131. "Ask": {
  36132. "description": "卖价",
  36133. "type": "number"
  36134. },
  36135. "BV": {
  36136. "description": "买量",
  36137. "type": "integer"
  36138. },
  36139. "Bid": {
  36140. "description": "买价",
  36141. "type": "number"
  36142. },
  36143. "HI": {
  36144. "description": "单笔持仓",
  36145. "type": "integer"
  36146. },
  36147. "HV": {
  36148. "description": "持仓量",
  36149. "type": "integer"
  36150. },
  36151. "PE": {
  36152. "description": "现价",
  36153. "type": "number"
  36154. },
  36155. "TDR": {
  36156. "description": "交易方向,0:买 1:卖",
  36157. "type": "integer"
  36158. },
  36159. "TK": {
  36160. "description": "交易类型",
  36161. "type": "integer"
  36162. },
  36163. "TS": {
  36164. "description": "行情时间文本",
  36165. "type": "string"
  36166. },
  36167. "TT": {
  36168. "description": "现金额",
  36169. "type": "number"
  36170. },
  36171. "Vol": {
  36172. "description": "现量",
  36173. "type": "integer"
  36174. }
  36175. }
  36176. },
  36177. "quote.QueryQuoteDayRsp": {
  36178. "type": "object",
  36179. "properties": {
  36180. "ask": {
  36181. "description": "卖1",
  36182. "type": "number"
  36183. },
  36184. "ask10": {
  36185. "description": "卖10",
  36186. "type": "number"
  36187. },
  36188. "ask2": {
  36189. "description": "卖2",
  36190. "type": "number"
  36191. },
  36192. "ask3": {
  36193. "description": "卖3",
  36194. "type": "number"
  36195. },
  36196. "ask4": {
  36197. "description": "卖4",
  36198. "type": "number"
  36199. },
  36200. "ask5": {
  36201. "description": "卖5",
  36202. "type": "number"
  36203. },
  36204. "ask6": {
  36205. "description": "卖6",
  36206. "type": "number"
  36207. },
  36208. "ask7": {
  36209. "description": "卖7",
  36210. "type": "number"
  36211. },
  36212. "ask8": {
  36213. "description": "卖8",
  36214. "type": "number"
  36215. },
  36216. "ask9": {
  36217. "description": "卖9",
  36218. "type": "number"
  36219. },
  36220. "askorderid": {
  36221. "description": "卖单号1",
  36222. "type": "integer"
  36223. },
  36224. "askorderid2": {
  36225. "description": "卖单号2",
  36226. "type": "integer"
  36227. },
  36228. "askorderid3": {
  36229. "description": "卖单号3",
  36230. "type": "integer"
  36231. },
  36232. "askorderid4": {
  36233. "description": "卖单号4",
  36234. "type": "integer"
  36235. },
  36236. "askorderid5": {
  36237. "description": "卖单号5",
  36238. "type": "integer"
  36239. },
  36240. "askordervolume": {
  36241. "description": "卖单量1",
  36242. "type": "integer"
  36243. },
  36244. "askordervolume10": {
  36245. "description": "卖单量10",
  36246. "type": "integer"
  36247. },
  36248. "askordervolume2": {
  36249. "description": "卖单量2",
  36250. "type": "integer"
  36251. },
  36252. "askordervolume3": {
  36253. "description": "卖单量3",
  36254. "type": "integer"
  36255. },
  36256. "askordervolume4": {
  36257. "description": "卖单量4",
  36258. "type": "integer"
  36259. },
  36260. "askordervolume5": {
  36261. "description": "卖单量5",
  36262. "type": "integer"
  36263. },
  36264. "askordervolume6": {
  36265. "description": "卖单量6",
  36266. "type": "integer"
  36267. },
  36268. "askordervolume7": {
  36269. "description": "卖单量7",
  36270. "type": "integer"
  36271. },
  36272. "askordervolume8": {
  36273. "description": "卖单量8",
  36274. "type": "integer"
  36275. },
  36276. "askordervolume9": {
  36277. "description": "卖单量9",
  36278. "type": "integer"
  36279. },
  36280. "askqueueinfo": {
  36281. "description": "大利市卖港股用",
  36282. "type": "string"
  36283. },
  36284. "askvolume": {
  36285. "description": "卖量1",
  36286. "type": "integer"
  36287. },
  36288. "askvolume10": {
  36289. "description": "卖量10",
  36290. "type": "integer"
  36291. },
  36292. "askvolume2": {
  36293. "description": "卖量2",
  36294. "type": "integer"
  36295. },
  36296. "askvolume3": {
  36297. "description": "卖量3",
  36298. "type": "integer"
  36299. },
  36300. "askvolume4": {
  36301. "description": "卖量4",
  36302. "type": "integer"
  36303. },
  36304. "askvolume5": {
  36305. "description": "卖量5",
  36306. "type": "integer"
  36307. },
  36308. "askvolume6": {
  36309. "description": "卖量6",
  36310. "type": "integer"
  36311. },
  36312. "askvolume7": {
  36313. "description": "卖量7",
  36314. "type": "integer"
  36315. },
  36316. "askvolume8": {
  36317. "description": "卖量8",
  36318. "type": "integer"
  36319. },
  36320. "askvolume9": {
  36321. "description": "卖量9",
  36322. "type": "integer"
  36323. },
  36324. "averageprice": {
  36325. "description": "均价",
  36326. "type": "number"
  36327. },
  36328. "bid": {
  36329. "description": "买1",
  36330. "type": "number"
  36331. },
  36332. "bid10": {
  36333. "description": "买10",
  36334. "type": "number"
  36335. },
  36336. "bid2": {
  36337. "description": "买2",
  36338. "type": "number"
  36339. },
  36340. "bid3": {
  36341. "description": "买3",
  36342. "type": "number"
  36343. },
  36344. "bid4": {
  36345. "description": "买4",
  36346. "type": "number"
  36347. },
  36348. "bid5": {
  36349. "description": "买5",
  36350. "type": "number"
  36351. },
  36352. "bid6": {
  36353. "description": "买6",
  36354. "type": "number"
  36355. },
  36356. "bid7": {
  36357. "description": "买7",
  36358. "type": "number"
  36359. },
  36360. "bid8": {
  36361. "description": "买8",
  36362. "type": "number"
  36363. },
  36364. "bid9": {
  36365. "description": "买9",
  36366. "type": "number"
  36367. },
  36368. "bidorderid": {
  36369. "description": "买单号1",
  36370. "type": "integer"
  36371. },
  36372. "bidorderid2": {
  36373. "description": "买单号2",
  36374. "type": "integer"
  36375. },
  36376. "bidorderid3": {
  36377. "description": "买单号3",
  36378. "type": "integer"
  36379. },
  36380. "bidorderid4": {
  36381. "description": "买单号4",
  36382. "type": "integer"
  36383. },
  36384. "bidorderid5": {
  36385. "description": "买单号5",
  36386. "type": "integer"
  36387. },
  36388. "bidordervolume": {
  36389. "description": "买单量1",
  36390. "type": "integer"
  36391. },
  36392. "bidordervolume10": {
  36393. "description": "买单量10",
  36394. "type": "integer"
  36395. },
  36396. "bidordervolume2": {
  36397. "description": "买单量2",
  36398. "type": "integer"
  36399. },
  36400. "bidordervolume3": {
  36401. "description": "买单量3",
  36402. "type": "integer"
  36403. },
  36404. "bidordervolume4": {
  36405. "description": "买单量4",
  36406. "type": "integer"
  36407. },
  36408. "bidordervolume5": {
  36409. "description": "买单量5",
  36410. "type": "integer"
  36411. },
  36412. "bidordervolume6": {
  36413. "description": "买单量6",
  36414. "type": "integer"
  36415. },
  36416. "bidordervolume7": {
  36417. "description": "买单量7",
  36418. "type": "integer"
  36419. },
  36420. "bidordervolume8": {
  36421. "description": "买单量8",
  36422. "type": "integer"
  36423. },
  36424. "bidordervolume9": {
  36425. "description": "买单量9",
  36426. "type": "integer"
  36427. },
  36428. "bidqueueinfo": {
  36429. "description": "大利市买港股用",
  36430. "type": "string"
  36431. },
  36432. "bidvolume": {
  36433. "description": "买量1",
  36434. "type": "integer"
  36435. },
  36436. "bidvolume10": {
  36437. "description": "买量10",
  36438. "type": "integer"
  36439. },
  36440. "bidvolume2": {
  36441. "description": "买量2",
  36442. "type": "integer"
  36443. },
  36444. "bidvolume3": {
  36445. "description": "买量3",
  36446. "type": "integer"
  36447. },
  36448. "bidvolume4": {
  36449. "description": "买量4",
  36450. "type": "integer"
  36451. },
  36452. "bidvolume5": {
  36453. "description": "买量5",
  36454. "type": "integer"
  36455. },
  36456. "bidvolume6": {
  36457. "description": "买量6",
  36458. "type": "integer"
  36459. },
  36460. "bidvolume7": {
  36461. "description": "买量7",
  36462. "type": "integer"
  36463. },
  36464. "bidvolume8": {
  36465. "description": "买量8",
  36466. "type": "integer"
  36467. },
  36468. "bidvolume9": {
  36469. "description": "买量9",
  36470. "type": "integer"
  36471. },
  36472. "calloptionpremiums": {
  36473. "description": "认购期权1",
  36474. "type": "integer"
  36475. },
  36476. "calloptionpremiums2": {
  36477. "description": "认购期权2",
  36478. "type": "integer"
  36479. },
  36480. "calloptionpremiums3": {
  36481. "description": "认购期权3",
  36482. "type": "integer"
  36483. },
  36484. "calloptionpremiums4": {
  36485. "description": "认购期权4",
  36486. "type": "integer"
  36487. },
  36488. "calloptionpremiums5": {
  36489. "description": "认购期权5",
  36490. "type": "integer"
  36491. },
  36492. "cleartime": {
  36493. "description": "清盘时间",
  36494. "type": "integer"
  36495. },
  36496. "exchangecode": {
  36497. "description": "交易所代码",
  36498. "type": "integer"
  36499. },
  36500. "exchangedate": {
  36501. "description": "交易日",
  36502. "type": "integer"
  36503. },
  36504. "goodscode": {
  36505. "description": "商品代码",
  36506. "type": "string"
  36507. },
  36508. "grepmarketprice": {
  36509. "description": "暗盘价 港股专用",
  36510. "type": "number"
  36511. },
  36512. "highest": {
  36513. "description": "最高价",
  36514. "type": "number"
  36515. },
  36516. "holdincrement": {
  36517. "description": "单笔持仓",
  36518. "type": "integer"
  36519. },
  36520. "holdvolume": {
  36521. "description": "持仓",
  36522. "type": "integer"
  36523. },
  36524. "iep": {
  36525. "description": "平衡价 港股专用",
  36526. "type": "number"
  36527. },
  36528. "iev": {
  36529. "description": "平衡量 港股专用",
  36530. "type": "number"
  36531. },
  36532. "inventory": {
  36533. "description": "库存",
  36534. "type": "integer"
  36535. },
  36536. "iscleared": {
  36537. "description": "是否清盘标志",
  36538. "type": "integer"
  36539. },
  36540. "issettled": {
  36541. "description": "是否结算标志",
  36542. "type": "integer"
  36543. },
  36544. "last": {
  36545. "description": "最新价",
  36546. "type": "number"
  36547. },
  36548. "lastlot": {
  36549. "description": "最新成交手数",
  36550. "type": "integer"
  36551. },
  36552. "lasttime": {
  36553. "description": "行情时间(只有现价变化行情时间才变化)",
  36554. "type": "string"
  36555. },
  36556. "lastturnover": {
  36557. "description": "最新成交金额",
  36558. "type": "number"
  36559. },
  36560. "lastvolume": {
  36561. "description": "最新成交量",
  36562. "type": "integer"
  36563. },
  36564. "limitdown": {
  36565. "description": "跌停价",
  36566. "type": "number"
  36567. },
  36568. "limitup": {
  36569. "description": "涨停价",
  36570. "type": "number"
  36571. },
  36572. "lowest": {
  36573. "description": "最低价",
  36574. "type": "number"
  36575. },
  36576. "nontotalholdervolume": {
  36577. "description": "非交易持仓量",
  36578. "type": "integer"
  36579. },
  36580. "nontotallot": {
  36581. "description": "非交易总手数",
  36582. "type": "integer"
  36583. },
  36584. "nontotalturnover": {
  36585. "description": "非交易总金额",
  36586. "type": "integer"
  36587. },
  36588. "nontotalvolume": {
  36589. "description": "非交易总量",
  36590. "type": "integer"
  36591. },
  36592. "opened": {
  36593. "description": "开盘价",
  36594. "type": "number"
  36595. },
  36596. "opentime": {
  36597. "description": "开盘时间",
  36598. "type": "string"
  36599. },
  36600. "orderid": {
  36601. "description": "序号",
  36602. "type": "integer"
  36603. },
  36604. "preclose": {
  36605. "description": "昨收",
  36606. "type": "number"
  36607. },
  36608. "preholdvolume": {
  36609. "description": "昨持仓",
  36610. "type": "integer"
  36611. },
  36612. "presettle": {
  36613. "description": "昨结价",
  36614. "type": "number"
  36615. },
  36616. "publictradetype": {
  36617. "description": "公共交易标志类型 港股专用",
  36618. "type": "string"
  36619. },
  36620. "putoptionpremiums": {
  36621. "description": "认沽期权1",
  36622. "type": "integer"
  36623. },
  36624. "putoptionpremiums2": {
  36625. "description": "认沽期权2",
  36626. "type": "integer"
  36627. },
  36628. "putoptionpremiums3": {
  36629. "description": "认沽期权3",
  36630. "type": "integer"
  36631. },
  36632. "putoptionpremiums4": {
  36633. "description": "认沽期权4",
  36634. "type": "integer"
  36635. },
  36636. "putoptionpremiums5": {
  36637. "description": "认沽期权5",
  36638. "type": "integer"
  36639. },
  36640. "settle": {
  36641. "description": "结算价",
  36642. "type": "number"
  36643. },
  36644. "strikeprice": {
  36645. "description": "发行价",
  36646. "type": "number"
  36647. },
  36648. "totalaskvolume": {
  36649. "description": "内盘",
  36650. "type": "integer"
  36651. },
  36652. "totalbidvolume": {
  36653. "description": "外盘",
  36654. "type": "integer"
  36655. },
  36656. "totallot": {
  36657. "description": "总手数",
  36658. "type": "integer"
  36659. },
  36660. "totalturnover": {
  36661. "description": "总金额",
  36662. "type": "number"
  36663. },
  36664. "totalvolume": {
  36665. "description": "总量",
  36666. "type": "integer"
  36667. },
  36668. "utclasttime": {
  36669. "description": "utc的行情时间",
  36670. "type": "string"
  36671. }
  36672. }
  36673. },
  36674. "quote.QueryTSDataRsp": {
  36675. "type": "object",
  36676. "properties": {
  36677. "Count": {
  36678. "description": "交易日应有数据个数",
  36679. "type": "integer"
  36680. },
  36681. "decimalPlace": {
  36682. "description": "小数位",
  36683. "type": "integer"
  36684. },
  36685. "endTime": {
  36686. "description": "结束时间",
  36687. "type": "string"
  36688. },
  36689. "goodsCode": {
  36690. "description": "商品代码",
  36691. "type": "string"
  36692. },
  36693. "historyDatas": {
  36694. "description": "历史数据",
  36695. "type": "array",
  36696. "items": {
  36697. "$ref": "#/definitions/quote.HistoryData"
  36698. }
  36699. },
  36700. "outGoodsCode": {
  36701. "description": "外部商品代码",
  36702. "type": "string"
  36703. },
  36704. "preSettle": {
  36705. "description": "昨结价",
  36706. "type": "number"
  36707. },
  36708. "runSteps": {
  36709. "description": "交易日开休市计划",
  36710. "type": "array",
  36711. "items": {
  36712. "$ref": "#/definitions/quote.TSDataRunStep"
  36713. }
  36714. },
  36715. "startTime": {
  36716. "description": "开始时间",
  36717. "type": "string"
  36718. },
  36719. "tradeDate": {
  36720. "description": "交易日",
  36721. "type": "string"
  36722. }
  36723. }
  36724. },
  36725. "quote.TSDataRunStep": {
  36726. "type": "object",
  36727. "properties": {
  36728. "end": {
  36729. "description": "真实结束时间",
  36730. "type": "string"
  36731. },
  36732. "endflag": {
  36733. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  36734. "type": "integer"
  36735. },
  36736. "endtime": {
  36737. "description": "结束时间(HH:mm)",
  36738. "type": "string"
  36739. },
  36740. "endweekday": {
  36741. "description": "结束周几",
  36742. "type": "integer"
  36743. },
  36744. "groupid": {
  36745. "description": "分组ID",
  36746. "type": "integer"
  36747. },
  36748. "runstep": {
  36749. "description": "运行阶段 - 2:连续交易",
  36750. "type": "integer"
  36751. },
  36752. "sectionid": {
  36753. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  36754. "type": "integer"
  36755. },
  36756. "start": {
  36757. "description": "真实开始时间",
  36758. "type": "string"
  36759. },
  36760. "startflag": {
  36761. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  36762. "type": "integer"
  36763. },
  36764. "starttime": {
  36765. "description": "起始时间(HH:mm)",
  36766. "type": "string"
  36767. },
  36768. "startweekday": {
  36769. "description": "起始周几",
  36770. "type": "integer"
  36771. },
  36772. "tradeweekday": {
  36773. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  36774. "type": "integer"
  36775. }
  36776. }
  36777. },
  36778. "szdz.QueryConvertLogRsp": {
  36779. "type": "object",
  36780. "required": [
  36781. "logid"
  36782. ],
  36783. "properties": {
  36784. "accountid": {
  36785. "description": "资金账户ID",
  36786. "type": "integer"
  36787. },
  36788. "clientticket": {
  36789. "description": "客户端流水号",
  36790. "type": "string"
  36791. },
  36792. "converttype": {
  36793. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  36794. "type": "integer"
  36795. },
  36796. "createtime": {
  36797. "description": "记账时间",
  36798. "type": "string"
  36799. },
  36800. "daymaxvalue": {
  36801. "description": "配置当日最大转入限制",
  36802. "type": "number"
  36803. },
  36804. "daymaxvalue2": {
  36805. "description": "配置当日最大转入限制(转入)",
  36806. "type": "number"
  36807. },
  36808. "goodscode": {
  36809. "description": "商品代码",
  36810. "type": "string"
  36811. },
  36812. "goodsname": {
  36813. "description": "商品名称",
  36814. "type": "string"
  36815. },
  36816. "handlestatus": {
  36817. "description": "处理状态",
  36818. "type": "integer"
  36819. },
  36820. "innergoodsid": {
  36821. "description": "内部商品ID",
  36822. "type": "integer"
  36823. },
  36824. "inratio": {
  36825. "description": "配置转入比值",
  36826. "type": "integer"
  36827. },
  36828. "invalue": {
  36829. "description": "目标值",
  36830. "type": "number"
  36831. },
  36832. "logid": {
  36833. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36834. "type": "integer"
  36835. },
  36836. "mobile": {
  36837. "description": "手机号码(加密存储)",
  36838. "type": "string"
  36839. },
  36840. "outergoodscode": {
  36841. "description": "外部商品代码[JD\\PD]",
  36842. "type": "string"
  36843. },
  36844. "outratio": {
  36845. "description": "配置转出比值",
  36846. "type": "integer"
  36847. },
  36848. "outvalue": {
  36849. "description": "源值",
  36850. "type": "number"
  36851. },
  36852. "pddecimalplace": {
  36853. "description": "PD小数位",
  36854. "type": "integer"
  36855. },
  36856. "qty": {
  36857. "description": "数量",
  36858. "type": "string"
  36859. },
  36860. "remark": {
  36861. "description": "备注",
  36862. "type": "string"
  36863. },
  36864. "sessionid": {
  36865. "description": "会话ID",
  36866. "type": "integer"
  36867. },
  36868. "timemaxvalue": {
  36869. "description": "配置单次最大转入限制",
  36870. "type": "number"
  36871. },
  36872. "timemaxvalue2": {
  36873. "description": "配置单次最大转入限制(转入)",
  36874. "type": "number"
  36875. },
  36876. "timeminvalue": {
  36877. "description": "配置单次最小数量限制",
  36878. "type": "number"
  36879. },
  36880. "timeminvalue2": {
  36881. "description": "配置单次最小数量限制(转入)",
  36882. "type": "number"
  36883. },
  36884. "tradedate": {
  36885. "description": "交易日(yyyyMMdd)",
  36886. "type": "string"
  36887. },
  36888. "userid": {
  36889. "description": "用户ID",
  36890. "type": "integer"
  36891. }
  36892. }
  36893. },
  36894. "szdz.QueryGoodsPickupRsp": {
  36895. "type": "object",
  36896. "required": [
  36897. "takeorderid"
  36898. ],
  36899. "properties": {
  36900. "accountid": {
  36901. "description": "账户ID",
  36902. "type": "integer"
  36903. },
  36904. "address": {
  36905. "description": "提货人详细地址",
  36906. "type": "string"
  36907. },
  36908. "auditer": {
  36909. "description": "审核人",
  36910. "type": "integer"
  36911. },
  36912. "audittime": {
  36913. "description": "审核时间",
  36914. "type": "string"
  36915. },
  36916. "cardnum": {
  36917. "description": "提货人证件号码",
  36918. "type": "string"
  36919. },
  36920. "cardtypeid": {
  36921. "description": "提货人证件类型",
  36922. "type": "integer"
  36923. },
  36924. "checkremark": {
  36925. "description": "审核备注",
  36926. "type": "string"
  36927. },
  36928. "goodscode": {
  36929. "description": "商品代码",
  36930. "type": "string"
  36931. },
  36932. "goodsid": {
  36933. "description": "商品ID",
  36934. "type": "integer"
  36935. },
  36936. "goodsname": {
  36937. "description": "商品名称",
  36938. "type": "string"
  36939. },
  36940. "handlestatus": {
  36941. "description": "处理状态",
  36942. "type": "integer"
  36943. },
  36944. "marketid": {
  36945. "description": "市场ID",
  36946. "type": "integer"
  36947. },
  36948. "phonenum": {
  36949. "description": "提货人联系方式",
  36950. "type": "string"
  36951. },
  36952. "qty": {
  36953. "description": "提货数量",
  36954. "type": "number"
  36955. },
  36956. "recivername": {
  36957. "description": "提货人姓名",
  36958. "type": "string"
  36959. },
  36960. "reqtime": {
  36961. "description": "更新时间",
  36962. "type": "string"
  36963. },
  36964. "takemode": {
  36965. "description": "提货方式 - 2:自提 3:配送",
  36966. "type": "integer"
  36967. },
  36968. "takeorderid": {
  36969. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  36970. "type": "string"
  36971. },
  36972. "takeorderstatus": {
  36973. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  36974. "type": "integer"
  36975. },
  36976. "takeremark": {
  36977. "description": "提货备注",
  36978. "type": "string"
  36979. },
  36980. "tradedate": {
  36981. "description": "交易日(yyyyMMdd)",
  36982. "type": "string"
  36983. },
  36984. "userid": {
  36985. "description": "用户ID",
  36986. "type": "integer"
  36987. }
  36988. }
  36989. },
  36990. "szdz.QueryRecieptOrderRsp": {
  36991. "type": "object",
  36992. "required": [
  36993. "ordertime"
  36994. ],
  36995. "properties": {
  36996. "accountName": {
  36997. "description": "所属账号名称(已脱敏)",
  36998. "type": "string"
  36999. },
  37000. "accountid": {
  37001. "description": "资金账号",
  37002. "type": "integer"
  37003. },
  37004. "buyorsell": {
  37005. "description": "方向 - 0:买 1:卖",
  37006. "type": "integer"
  37007. },
  37008. "enableqty": {
  37009. "description": "可摘数量",
  37010. "type": "integer"
  37011. },
  37012. "goodscode": {
  37013. "description": "商品代码",
  37014. "type": "string"
  37015. },
  37016. "goodsid": {
  37017. "description": "商品ID",
  37018. "type": "integer"
  37019. },
  37020. "goodsname": {
  37021. "description": "商品名称",
  37022. "type": "string"
  37023. },
  37024. "orderid": {
  37025. "description": "委托单号",
  37026. "type": "string"
  37027. },
  37028. "orderprice": {
  37029. "description": "委托价格",
  37030. "type": "number"
  37031. },
  37032. "ordertime": {
  37033. "description": "委托时间",
  37034. "type": "string"
  37035. },
  37036. "tradedate": {
  37037. "description": "交易日(yyyyMMdd)",
  37038. "type": "string"
  37039. }
  37040. }
  37041. },
  37042. "szdz.QuerySZDZTradePositionRsp": {
  37043. "type": "object",
  37044. "properties": {
  37045. "accountid": {
  37046. "description": "账号Id",
  37047. "type": "integer"
  37048. },
  37049. "agreeunit": {
  37050. "description": "合约单位",
  37051. "type": "number"
  37052. },
  37053. "averageprice": {
  37054. "description": "持仓均价",
  37055. "type": "number"
  37056. },
  37057. "buyorsell": {
  37058. "description": "方向 - 0:买 1:卖",
  37059. "type": "integer"
  37060. },
  37061. "closetotalqty": {
  37062. "description": "平仓总数量",
  37063. "type": "integer"
  37064. },
  37065. "curholderamount": {
  37066. "description": "当前持仓总金额",
  37067. "type": "number"
  37068. },
  37069. "curpositionqty": {
  37070. "description": "当前持仓总数量",
  37071. "type": "integer"
  37072. },
  37073. "currencyid": {
  37074. "description": "报价货币ID",
  37075. "type": "integer"
  37076. },
  37077. "curtdposition": {
  37078. "description": "期末今日头寸",
  37079. "type": "integer"
  37080. },
  37081. "decimalplace": {
  37082. "description": "报价小数位",
  37083. "type": "integer"
  37084. },
  37085. "enableqty": {
  37086. "description": "可用量",
  37087. "type": "integer"
  37088. },
  37089. "fretdposition": {
  37090. "description": "冻结今日头寸",
  37091. "type": "integer"
  37092. },
  37093. "frozenqty": {
  37094. "description": "持仓冻结数量",
  37095. "type": "integer"
  37096. },
  37097. "goodscode": {
  37098. "description": "商品代码(内部)",
  37099. "type": "string"
  37100. },
  37101. "goodsid": {
  37102. "description": "商品Id",
  37103. "type": "integer"
  37104. },
  37105. "goodsname": {
  37106. "description": "商品名称",
  37107. "type": "string"
  37108. },
  37109. "goodunit": {
  37110. "description": "报价单位",
  37111. "type": "string"
  37112. },
  37113. "goodunitid": {
  37114. "description": "报价单位ID",
  37115. "type": "integer"
  37116. },
  37117. "holderamount": {
  37118. "description": "期初持仓总金额",
  37119. "type": "number"
  37120. },
  37121. "marketid": {
  37122. "description": "市场ID",
  37123. "type": "integer"
  37124. },
  37125. "openreqqty": {
  37126. "description": "开仓申请数量",
  37127. "type": "integer"
  37128. },
  37129. "opentotalqty": {
  37130. "description": "开仓总数量",
  37131. "type": "integer"
  37132. },
  37133. "otherfrozenqty": {
  37134. "description": "持仓其他冻结数量(交割冻结)",
  37135. "type": "integer"
  37136. },
  37137. "positionqty": {
  37138. "description": "期初持仓数量",
  37139. "type": "integer"
  37140. },
  37141. "szdz3freezqty": {
  37142. "description": "尚志大宗转换冻结总数量",
  37143. "type": "integer"
  37144. },
  37145. "tnqty": {
  37146. "description": "T+N冻结总量",
  37147. "type": "integer"
  37148. },
  37149. "tnusedqty": {
  37150. "description": "T+N使用量",
  37151. "type": "integer"
  37152. },
  37153. "trademode": {
  37154. "description": "交易模式",
  37155. "type": "integer"
  37156. },
  37157. "usedmargin": {
  37158. "description": "占用保证金",
  37159. "type": "number"
  37160. }
  37161. }
  37162. },
  37163. "taaccount.QueryAmountLogRsp": {
  37164. "type": "object",
  37165. "required": [
  37166. "accountid",
  37167. "amount",
  37168. "amountadjusttype",
  37169. "autoid",
  37170. "balance",
  37171. "createtime",
  37172. "currentbalance",
  37173. "operatetype"
  37174. ],
  37175. "properties": {
  37176. "OPERATETYPENAME": {
  37177. "description": "资金操作类型名称",
  37178. "type": "string"
  37179. },
  37180. "accountid": {
  37181. "description": "资金账户ID",
  37182. "type": "integer"
  37183. },
  37184. "agoodscode": {
  37185. "description": "竞拍商品代码",
  37186. "type": "string"
  37187. },
  37188. "agoodsname": {
  37189. "description": "竞拍商品名称",
  37190. "type": "string"
  37191. },
  37192. "amount": {
  37193. "description": "资金金额",
  37194. "type": "number"
  37195. },
  37196. "amountadjusttype": {
  37197. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37198. "type": "integer"
  37199. },
  37200. "autoid": {
  37201. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37202. "type": "integer"
  37203. },
  37204. "balance": {
  37205. "description": "期初余额",
  37206. "type": "number"
  37207. },
  37208. "businesscode": {
  37209. "description": "业务编号",
  37210. "type": "integer"
  37211. },
  37212. "createtime": {
  37213. "description": "发生时间",
  37214. "type": "string"
  37215. },
  37216. "currencyid": {
  37217. "description": "币种ID",
  37218. "type": "integer"
  37219. },
  37220. "currentbalance": {
  37221. "description": "期末余额(变动后金额)",
  37222. "type": "number"
  37223. },
  37224. "dgoodscode": {
  37225. "description": "交割商品代码",
  37226. "type": "string"
  37227. },
  37228. "dgoodsname": {
  37229. "description": "交割商品名称",
  37230. "type": "string"
  37231. },
  37232. "goodscode": {
  37233. "description": "商品代码",
  37234. "type": "string"
  37235. },
  37236. "goodsid": {
  37237. "description": "商品ID",
  37238. "type": "integer"
  37239. },
  37240. "goodsname": {
  37241. "description": "商品名称",
  37242. "type": "string"
  37243. },
  37244. "marketid": {
  37245. "description": "市场ID",
  37246. "type": "integer"
  37247. },
  37248. "marketname": {
  37249. "description": "市场名称",
  37250. "type": "string"
  37251. },
  37252. "moneyticket": {
  37253. "description": "资金流水号:银行端流水号",
  37254. "type": "integer"
  37255. },
  37256. "operatetype": {
  37257. "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:营销收款",
  37258. "type": "integer"
  37259. },
  37260. "relationorderid": {
  37261. "description": "关联单号",
  37262. "type": "string"
  37263. },
  37264. "remark": {
  37265. "description": "备注",
  37266. "type": "string"
  37267. },
  37268. "trademode": {
  37269. "description": "交易模式",
  37270. "type": "integer"
  37271. }
  37272. }
  37273. },
  37274. "taaccount.QueryHisAmountLogRsp": {
  37275. "type": "object",
  37276. "required": [
  37277. "accountid",
  37278. "amount",
  37279. "amountadjusttype",
  37280. "autoid",
  37281. "balance",
  37282. "createtime",
  37283. "currentbalance",
  37284. "histradedate",
  37285. "operatetype"
  37286. ],
  37287. "properties": {
  37288. "OPERATETYPENAME": {
  37289. "description": "资金操作类型名称",
  37290. "type": "string"
  37291. },
  37292. "accountid": {
  37293. "description": "资金账户ID",
  37294. "type": "integer"
  37295. },
  37296. "agoodscode": {
  37297. "description": "竞拍商品代码",
  37298. "type": "string"
  37299. },
  37300. "agoodsname": {
  37301. "description": "竞拍商品名称",
  37302. "type": "string"
  37303. },
  37304. "amount": {
  37305. "description": "资金金额",
  37306. "type": "number"
  37307. },
  37308. "amountadjusttype": {
  37309. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37310. "type": "integer"
  37311. },
  37312. "autoid": {
  37313. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37314. "type": "integer"
  37315. },
  37316. "balance": {
  37317. "description": "期初余额",
  37318. "type": "number"
  37319. },
  37320. "businesscode": {
  37321. "description": "业务编号",
  37322. "type": "integer"
  37323. },
  37324. "createtime": {
  37325. "description": "发生时间",
  37326. "type": "string"
  37327. },
  37328. "currencyid": {
  37329. "description": "币种ID",
  37330. "type": "integer"
  37331. },
  37332. "currentbalance": {
  37333. "description": "期末余额(变动后金额)",
  37334. "type": "number"
  37335. },
  37336. "dgoodscode": {
  37337. "description": "交割商品代码",
  37338. "type": "string"
  37339. },
  37340. "dgoodsname": {
  37341. "description": "交割商品名称",
  37342. "type": "string"
  37343. },
  37344. "goodscode": {
  37345. "description": "商品代码",
  37346. "type": "string"
  37347. },
  37348. "goodsid": {
  37349. "description": "商品ID",
  37350. "type": "integer"
  37351. },
  37352. "goodsname": {
  37353. "description": "商品名称",
  37354. "type": "string"
  37355. },
  37356. "histradedate": {
  37357. "description": "历史交易日",
  37358. "type": "string"
  37359. },
  37360. "isvaliddata": {
  37361. "description": "是否有效 - 0:无效 1:有效",
  37362. "type": "integer"
  37363. },
  37364. "marketid": {
  37365. "description": "市场ID",
  37366. "type": "integer"
  37367. },
  37368. "marketname": {
  37369. "description": "市场名称",
  37370. "type": "string"
  37371. },
  37372. "moneyticket": {
  37373. "description": "资金流水号:银行端流水号",
  37374. "type": "integer"
  37375. },
  37376. "operatetype": {
  37377. "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:营销收款",
  37378. "type": "integer"
  37379. },
  37380. "relationorderid": {
  37381. "description": "关联单号",
  37382. "type": "string"
  37383. },
  37384. "remark": {
  37385. "description": "备注",
  37386. "type": "string"
  37387. },
  37388. "trademode": {
  37389. "description": "交易模式",
  37390. "type": "integer"
  37391. }
  37392. }
  37393. },
  37394. "trade.QueryRecieptOrderRsp": {
  37395. "type": "object",
  37396. "required": [
  37397. "ordertime"
  37398. ],
  37399. "properties": {
  37400. "accountName": {
  37401. "description": "所属账号名称(已脱敏)",
  37402. "type": "string"
  37403. },
  37404. "accountid": {
  37405. "description": "资金账号",
  37406. "type": "integer"
  37407. },
  37408. "buyorsell": {
  37409. "description": "方向 - 0:买 1:卖",
  37410. "type": "integer"
  37411. },
  37412. "enableqty": {
  37413. "description": "可摘数量",
  37414. "type": "integer"
  37415. },
  37416. "goodscode": {
  37417. "description": "商品代码",
  37418. "type": "string"
  37419. },
  37420. "goodsid": {
  37421. "description": "商品ID",
  37422. "type": "integer"
  37423. },
  37424. "goodsname": {
  37425. "description": "商品名称",
  37426. "type": "string"
  37427. },
  37428. "orderid": {
  37429. "description": "委托单号",
  37430. "type": "string"
  37431. },
  37432. "orderprice": {
  37433. "description": "委托价格",
  37434. "type": "number"
  37435. },
  37436. "ordertime": {
  37437. "description": "委托时间",
  37438. "type": "string"
  37439. },
  37440. "tradedate": {
  37441. "description": "交易日(yyyyMMdd)",
  37442. "type": "string"
  37443. }
  37444. }
  37445. },
  37446. "user.LoginQueryRsp": {
  37447. "type": "object",
  37448. "properties": {
  37449. "areaRoles": {
  37450. "description": "所属角色信息",
  37451. "type": "array",
  37452. "items": {
  37453. "$ref": "#/definitions/models.Arearole"
  37454. }
  37455. },
  37456. "externalExchanges": {
  37457. "description": "外部交易所",
  37458. "type": "array",
  37459. "items": {
  37460. "$ref": "#/definitions/models.Externalexchange"
  37461. }
  37462. },
  37463. "goodsgroups": {
  37464. "description": "商品组",
  37465. "type": "array",
  37466. "items": {
  37467. "$ref": "#/definitions/models.Goodsgroup"
  37468. }
  37469. },
  37470. "loginAccount": {
  37471. "description": "登录账号",
  37472. "$ref": "#/definitions/models.Loginaccount"
  37473. },
  37474. "markets": {
  37475. "description": "市场",
  37476. "type": "array",
  37477. "items": {
  37478. "$ref": "#/definitions/models.Market"
  37479. }
  37480. },
  37481. "systemParams": {
  37482. "description": "系统参数",
  37483. "type": "array",
  37484. "items": {
  37485. "$ref": "#/definitions/models.Systemparam"
  37486. }
  37487. },
  37488. "userAccount": {
  37489. "description": "用户账号",
  37490. "$ref": "#/definitions/models.Useraccount"
  37491. },
  37492. "userInfo": {
  37493. "description": "用户信息",
  37494. "$ref": "#/definitions/models.Userinfo"
  37495. },
  37496. "username": {
  37497. "description": "用户姓名",
  37498. "type": "string"
  37499. }
  37500. }
  37501. }
  37502. },
  37503. "securityDefinitions": {
  37504. "ApiKeyAuth": {
  37505. "type": "apiKey",
  37506. "name": "Authorization",
  37507. "in": "header"
  37508. }
  37509. }
  37510. }`
  37511. type swaggerInfo struct {
  37512. Version string
  37513. Host string
  37514. BasePath string
  37515. Schemes []string
  37516. Title string
  37517. Description string
  37518. }
  37519. // SwaggerInfo holds exported Swagger Info so clients can modify it
  37520. var SwaggerInfo = swaggerInfo{
  37521. Version: "1.0",
  37522. Host: "",
  37523. BasePath: "/api",
  37524. Schemes: []string{},
  37525. Title: "MTP2.0 查询服务 API",
  37526. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  37527. }
  37528. type s struct{}
  37529. func (s *s) ReadDoc() string {
  37530. sInfo := SwaggerInfo
  37531. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  37532. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  37533. "marshal": func(v interface{}) string {
  37534. a, _ := json.Marshal(v)
  37535. return string(a)
  37536. },
  37537. }).Parse(doc)
  37538. if err != nil {
  37539. return doc
  37540. }
  37541. var tpl bytes.Buffer
  37542. if err := t.Execute(&tpl, sInfo); err != nil {
  37543. return doc
  37544. }
  37545. return tpl.String()
  37546. }
  37547. func init() {
  37548. swag.Register(swag.Name, &s{})
  37549. }