docs.go 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetServerTime": {
  481. "get": {
  482. "produces": [
  483. "application/json"
  484. ],
  485. "tags": [
  486. "通用服务"
  487. ],
  488. "summary": "获取服务器时间",
  489. "responses": {
  490. "200": {
  491. "description": "OK",
  492. "schema": {
  493. "$ref": "#/definitions/app.Response"
  494. }
  495. },
  496. "500": {
  497. "description": "Internal Server Error",
  498. "schema": {
  499. "$ref": "#/definitions/app.Response"
  500. }
  501. }
  502. }
  503. }
  504. },
  505. "/Common/NoticeReaded": {
  506. "post": {
  507. "security": [
  508. {
  509. "ApiKeyAuth": []
  510. }
  511. ],
  512. "produces": [
  513. "application/json"
  514. ],
  515. "tags": [
  516. "通用服务"
  517. ],
  518. "summary": "通知公告设置已读请求",
  519. "parameters": [
  520. {
  521. "type": "integer",
  522. "description": "登录账号",
  523. "name": "loginID",
  524. "in": "query",
  525. "required": true
  526. },
  527. {
  528. "type": "integer",
  529. "description": "通知公告ID",
  530. "name": "noticeID",
  531. "in": "query",
  532. "required": true
  533. }
  534. ],
  535. "responses": {
  536. "200": {
  537. "description": "OK",
  538. "schema": {
  539. "$ref": "#/definitions/app.Response"
  540. }
  541. },
  542. "500": {
  543. "description": "Internal Server Error",
  544. "schema": {
  545. "$ref": "#/definitions/app.Response"
  546. }
  547. }
  548. }
  549. }
  550. },
  551. "/Common/QueryErrorInfos": {
  552. "get": {
  553. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  554. "produces": [
  555. "application/json"
  556. ],
  557. "tags": [
  558. "通用服务"
  559. ],
  560. "summary": "获取数据库错误信息",
  561. "parameters": [
  562. {
  563. "type": "string",
  564. "description": "起始行号前索引",
  565. "name": "rowNumber",
  566. "in": "query"
  567. }
  568. ],
  569. "responses": {
  570. "200": {
  571. "description": "OK",
  572. "schema": {
  573. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  574. }
  575. },
  576. "500": {
  577. "description": "Internal Server Error",
  578. "schema": {
  579. "$ref": "#/definitions/app.Response"
  580. }
  581. }
  582. }
  583. }
  584. },
  585. "/Common/QueryImageConfigs": {
  586. "get": {
  587. "produces": [
  588. "application/json"
  589. ],
  590. "tags": [
  591. "通用服务"
  592. ],
  593. "summary": "查询轮播图配置信息",
  594. "parameters": [
  595. {
  596. "type": "integer",
  597. "description": "用户id",
  598. "name": "userId",
  599. "in": "query"
  600. },
  601. {
  602. "type": "integer",
  603. "description": "类型 - 1:App首页轮播 2:我的",
  604. "name": "imageType",
  605. "in": "query"
  606. }
  607. ],
  608. "responses": {
  609. "200": {
  610. "description": "OK",
  611. "schema": {
  612. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  613. }
  614. },
  615. "500": {
  616. "description": "Internal Server Error",
  617. "schema": {
  618. "$ref": "#/definitions/app.Response"
  619. }
  620. }
  621. }
  622. }
  623. },
  624. "/Common/QueryNotice": {
  625. "get": {
  626. "security": [
  627. {
  628. "ApiKeyAuth": []
  629. }
  630. ],
  631. "produces": [
  632. "application/json"
  633. ],
  634. "tags": [
  635. "通用服务"
  636. ],
  637. "summary": "通知公告系统消息查询",
  638. "parameters": [
  639. {
  640. "type": "integer",
  641. "description": "页码",
  642. "name": "page",
  643. "in": "query"
  644. },
  645. {
  646. "type": "integer",
  647. "description": "每页条数",
  648. "name": "pagesize",
  649. "in": "query"
  650. },
  651. {
  652. "type": "integer",
  653. "description": "登录账号",
  654. "name": "loginID",
  655. "in": "query",
  656. "required": true
  657. },
  658. {
  659. "type": "integer",
  660. "description": "消息类型 - 1:公告通知 2:系统消息",
  661. "name": "msgType",
  662. "in": "query"
  663. },
  664. {
  665. "type": "boolean",
  666. "description": "是否只获取未读信息",
  667. "name": "onlyUnRead",
  668. "in": "query"
  669. },
  670. {
  671. "type": "integer",
  672. "description": "自增ID,传入后会返回这个ID后面的记录",
  673. "name": "lastID",
  674. "in": "query"
  675. }
  676. ],
  677. "responses": {
  678. "200": {
  679. "description": "OK",
  680. "schema": {
  681. "$ref": "#/definitions/common.QueryNoticeRsp"
  682. }
  683. },
  684. "500": {
  685. "description": "Internal Server Error",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. }
  690. }
  691. }
  692. },
  693. "/Common/QueryProvincesAndCities": {
  694. "get": {
  695. "produces": [
  696. "application/json"
  697. ],
  698. "tags": [
  699. "通用服务"
  700. ],
  701. "summary": "查询省市信息(不包括区)",
  702. "parameters": [
  703. {
  704. "type": "integer",
  705. "description": "省ID",
  706. "name": "provinceID",
  707. "in": "query"
  708. }
  709. ],
  710. "responses": {
  711. "200": {
  712. "description": "OK",
  713. "schema": {
  714. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  715. }
  716. },
  717. "500": {
  718. "description": "Internal Server Error",
  719. "schema": {
  720. "$ref": "#/definitions/app.Response"
  721. }
  722. }
  723. }
  724. }
  725. },
  726. "/Common/QueryTableDefine": {
  727. "get": {
  728. "produces": [
  729. "application/json"
  730. ],
  731. "tags": [
  732. "通用服务"
  733. ],
  734. "summary": "查询交易端列表头信息",
  735. "parameters": [
  736. {
  737. "type": "string",
  738. "description": "表key",
  739. "name": "tableKey",
  740. "in": "query"
  741. },
  742. {
  743. "type": "integer",
  744. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  745. "name": "tableType",
  746. "in": "query"
  747. }
  748. ],
  749. "responses": {
  750. "200": {
  751. "description": "OK",
  752. "schema": {
  753. "$ref": "#/definitions/common.QueryTableDefineRsp"
  754. }
  755. },
  756. "500": {
  757. "description": "Internal Server Error",
  758. "schema": {
  759. "$ref": "#/definitions/app.Response"
  760. }
  761. }
  762. }
  763. }
  764. },
  765. "/Common/QueryTraderMenu": {
  766. "get": {
  767. "produces": [
  768. "application/json"
  769. ],
  770. "tags": [
  771. "通用服务"
  772. ],
  773. "summary": "查询交易端菜单",
  774. "parameters": [
  775. {
  776. "type": "integer",
  777. "description": "登录账号",
  778. "name": "loginid",
  779. "in": "query",
  780. "required": true
  781. }
  782. ],
  783. "responses": {
  784. "200": {
  785. "description": "OK",
  786. "schema": {
  787. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  788. }
  789. },
  790. "500": {
  791. "description": "Internal Server Error",
  792. "schema": {
  793. "$ref": "#/definitions/app.Response"
  794. }
  795. }
  796. }
  797. }
  798. },
  799. "/Delivery/QueryDeliveryRelation": {
  800. "get": {
  801. "security": [
  802. {
  803. "ApiKeyAuth": []
  804. }
  805. ],
  806. "produces": [
  807. "application/json"
  808. ],
  809. "tags": [
  810. "交割服务"
  811. ],
  812. "summary": "查询商品交割关系表",
  813. "parameters": [
  814. {
  815. "type": "integer",
  816. "description": "商品ID",
  817. "name": "goodsid",
  818. "in": "query"
  819. },
  820. {
  821. "type": "integer",
  822. "description": "品种ID",
  823. "name": "deliverygoodsid",
  824. "in": "query"
  825. },
  826. {
  827. "type": "integer",
  828. "description": "市场ID",
  829. "name": "marketid",
  830. "in": "query"
  831. }
  832. ],
  833. "responses": {
  834. "200": {
  835. "description": "OK",
  836. "schema": {
  837. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  838. }
  839. },
  840. "500": {
  841. "description": "Internal Server Error",
  842. "schema": {
  843. "$ref": "#/definitions/app.Response"
  844. }
  845. }
  846. }
  847. }
  848. },
  849. "/Ermcp/GetErmcpGoods": {
  850. "get": {
  851. "security": [
  852. {
  853. "ApiKeyAuth": []
  854. }
  855. ],
  856. "produces": [
  857. "application/json"
  858. ],
  859. "tags": [
  860. "企业风险管理(app)"
  861. ],
  862. "summary": "查询企业风管期货商品信息",
  863. "parameters": [
  864. {
  865. "type": "string",
  866. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  867. "name": "lastUpdateTime",
  868. "in": "query"
  869. }
  870. ],
  871. "responses": {
  872. "200": {
  873. "description": "OK",
  874. "schema": {
  875. "$ref": "#/definitions/models.ErmcpGoods"
  876. }
  877. },
  878. "500": {
  879. "description": "Internal Server Error",
  880. "schema": {
  881. "$ref": "#/definitions/app.Response"
  882. }
  883. }
  884. }
  885. }
  886. },
  887. "/Ermcp/GetErmcpGoodsSortByPosition": {
  888. "get": {
  889. "security": [
  890. {
  891. "ApiKeyAuth": []
  892. }
  893. ],
  894. "produces": [
  895. "application/json"
  896. ],
  897. "tags": [
  898. "企业风险管理(app)"
  899. ],
  900. "summary": "查询企业风管期货主力、次主力商品信息",
  901. "parameters": [
  902. {
  903. "type": "string",
  904. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  905. "name": "sortIndex",
  906. "in": "query"
  907. }
  908. ],
  909. "responses": {
  910. "200": {
  911. "description": "OK",
  912. "schema": {
  913. "$ref": "#/definitions/models.Goodssortbypreposition"
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/Ermcp/GetErmcpOutAccountStatus": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "produces": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "企业风险管理(app)"
  937. ],
  938. "summary": "获取目标登录账号当前对冲账号在线状态",
  939. "parameters": [
  940. {
  941. "type": "integer",
  942. "description": "登录账号",
  943. "name": "loginID",
  944. "in": "query",
  945. "required": true
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/models.Hedgemarketopenlog"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. }
  970. ],
  971. "produces": [
  972. "application/json"
  973. ],
  974. "tags": [
  975. "企业风险管理(app)"
  976. ],
  977. "summary": "获取企业风管终端权限",
  978. "parameters": [
  979. {
  980. "type": "integer",
  981. "description": "登录账号",
  982. "name": "loginID",
  983. "in": "query",
  984. "required": true
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "$ref": "#/definitions/models.Funcmenulist"
  992. }
  993. },
  994. "500": {
  995. "description": "Internal Server Error",
  996. "schema": {
  997. "$ref": "#/definitions/app.Response"
  998. }
  999. }
  1000. }
  1001. }
  1002. },
  1003. "/Ermcp/QueryAccMgrBizGroupSet": {
  1004. "get": {
  1005. "security": [
  1006. {
  1007. "ApiKeyAuth": []
  1008. }
  1009. ],
  1010. "produces": [
  1011. "application/json"
  1012. ],
  1013. "tags": [
  1014. "企业风险管理(app)"
  1015. ],
  1016. "summary": "查询业务类型分组(账户管理/账户设置)",
  1017. "parameters": [
  1018. {
  1019. "type": "integer",
  1020. "description": "用户ID",
  1021. "name": "userid",
  1022. "in": "query",
  1023. "required": true
  1024. },
  1025. {
  1026. "type": "integer",
  1027. "description": "现货商品id",
  1028. "name": "deliverygoodsid",
  1029. "in": "query"
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrLoginUser": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "用户类型 2-机构 7-企业成员",
  1076. "name": "usertype",
  1077. "in": "query"
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1082. "name": "querytype",
  1083. "in": "query",
  1084. "required": true
  1085. }
  1086. ],
  1087. "responses": {
  1088. "200": {
  1089. "description": "OK",
  1090. "schema": {
  1091. "type": "array",
  1092. "items": {
  1093. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1094. }
  1095. }
  1096. },
  1097. "500": {
  1098. "description": "Internal Server Error",
  1099. "schema": {
  1100. "$ref": "#/definitions/app.Response"
  1101. }
  1102. }
  1103. }
  1104. }
  1105. },
  1106. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1107. "get": {
  1108. "security": [
  1109. {
  1110. "ApiKeyAuth": []
  1111. }
  1112. ],
  1113. "produces": [
  1114. "application/json"
  1115. ],
  1116. "tags": [
  1117. "企业风险管理(app)"
  1118. ],
  1119. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1120. "parameters": [
  1121. {
  1122. "type": "integer",
  1123. "description": "用户ID",
  1124. "name": "userid",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "主账号id",
  1130. "name": "accountid",
  1131. "in": "query"
  1132. }
  1133. ],
  1134. "responses": {
  1135. "200": {
  1136. "description": "OK",
  1137. "schema": {
  1138. "type": "array",
  1139. "items": {
  1140. "$ref": "#/definitions/models.MainAccountInfo"
  1141. }
  1142. }
  1143. },
  1144. "500": {
  1145. "description": "Internal Server Error",
  1146. "schema": {
  1147. "$ref": "#/definitions/app.Response"
  1148. }
  1149. }
  1150. }
  1151. }
  1152. },
  1153. "/Ermcp/QueryAccMgrRole": {
  1154. "get": {
  1155. "security": [
  1156. {
  1157. "ApiKeyAuth": []
  1158. }
  1159. ],
  1160. "produces": [
  1161. "application/json"
  1162. ],
  1163. "tags": [
  1164. "企业风险管理(app)"
  1165. ],
  1166. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1167. "parameters": [
  1168. {
  1169. "type": "integer",
  1170. "description": "用户ID",
  1171. "name": "userid",
  1172. "in": "query",
  1173. "required": true
  1174. }
  1175. ],
  1176. "responses": {
  1177. "200": {
  1178. "description": "OK",
  1179. "schema": {
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/models.ErmcpRole"
  1183. }
  1184. }
  1185. },
  1186. "500": {
  1187. "description": "Internal Server Error",
  1188. "schema": {
  1189. "$ref": "#/definitions/app.Response"
  1190. }
  1191. }
  1192. }
  1193. }
  1194. },
  1195. "/Ermcp/QueryAccMgrRoleMenu": {
  1196. "get": {
  1197. "security": [
  1198. {
  1199. "ApiKeyAuth": []
  1200. }
  1201. ],
  1202. "produces": [
  1203. "application/json"
  1204. ],
  1205. "tags": [
  1206. "企业风险管理(app)"
  1207. ],
  1208. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1209. "parameters": [
  1210. {
  1211. "type": "integer",
  1212. "description": "用户ID",
  1213. "name": "userid",
  1214. "in": "query",
  1215. "required": true
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "角色id(可多个,逗号隔开)",
  1220. "name": "roleid",
  1221. "in": "query"
  1222. },
  1223. {
  1224. "type": "integer",
  1225. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1226. "name": "menutype",
  1227. "in": "query"
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "账号id",
  1274. "name": "accountid",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaaccount": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. }
  1319. ],
  1320. "responses": {
  1321. "200": {
  1322. "description": "OK",
  1323. "schema": {
  1324. "type": "array",
  1325. "items": {
  1326. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1327. }
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/Ermcp/QueryAvaildGoodsGroup": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "produces": [
  1347. "application/json"
  1348. ],
  1349. "tags": [
  1350. "企业风险管理(app)"
  1351. ],
  1352. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1353. "parameters": [
  1354. {
  1355. "type": "integer",
  1356. "description": "所属机构ID",
  1357. "name": "userid",
  1358. "in": "query",
  1359. "required": true
  1360. }
  1361. ],
  1362. "responses": {
  1363. "200": {
  1364. "description": "OK",
  1365. "schema": {
  1366. "type": "array",
  1367. "items": {
  1368. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1369. }
  1370. }
  1371. },
  1372. "500": {
  1373. "description": "Internal Server Error",
  1374. "schema": {
  1375. "$ref": "#/definitions/app.Response"
  1376. }
  1377. }
  1378. }
  1379. }
  1380. },
  1381. "/Ermcp/QueryBusinessDj": {
  1382. "get": {
  1383. "security": [
  1384. {
  1385. "ApiKeyAuth": []
  1386. }
  1387. ],
  1388. "produces": [
  1389. "application/json"
  1390. ],
  1391. "tags": [
  1392. "企业风险管理(app)"
  1393. ],
  1394. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1395. "parameters": [
  1396. {
  1397. "type": "integer",
  1398. "description": "用户ID",
  1399. "name": "UserId",
  1400. "in": "query",
  1401. "required": true
  1402. },
  1403. {
  1404. "type": "integer",
  1405. "description": "用户类型 2-机构 7-企业成员",
  1406. "name": "usertype",
  1407. "in": "query"
  1408. },
  1409. {
  1410. "type": "string",
  1411. "description": "现货合同ID, 不填则查所有",
  1412. "name": "relatedid",
  1413. "in": "query"
  1414. },
  1415. {
  1416. "type": "string",
  1417. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1418. "name": "applystatus",
  1419. "in": "query"
  1420. }
  1421. ],
  1422. "responses": {
  1423. "200": {
  1424. "description": "OK",
  1425. "schema": {
  1426. "type": "array",
  1427. "items": {
  1428. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1429. }
  1430. }
  1431. },
  1432. "500": {
  1433. "description": "Internal Server Error",
  1434. "schema": {
  1435. "$ref": "#/definitions/app.Response"
  1436. }
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/Ermcp/QueryBusinessFp": {
  1442. "get": {
  1443. "security": [
  1444. {
  1445. "ApiKeyAuth": []
  1446. }
  1447. ],
  1448. "produces": [
  1449. "application/json"
  1450. ],
  1451. "tags": [
  1452. "企业风险管理(app)"
  1453. ],
  1454. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1455. "parameters": [
  1456. {
  1457. "type": "integer",
  1458. "description": "用户ID",
  1459. "name": "UserId",
  1460. "in": "query",
  1461. "required": true
  1462. },
  1463. {
  1464. "type": "integer",
  1465. "description": "用户类型 2-机构 7-企业成员",
  1466. "name": "usertype",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "现货合同ID, 不填则查所有",
  1472. "name": "relatedid",
  1473. "in": "query"
  1474. },
  1475. {
  1476. "type": "string",
  1477. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1478. "name": "applystatus",
  1479. "in": "query"
  1480. }
  1481. ],
  1482. "responses": {
  1483. "200": {
  1484. "description": "OK",
  1485. "schema": {
  1486. "type": "array",
  1487. "items": {
  1488. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1489. }
  1490. }
  1491. },
  1492. "500": {
  1493. "description": "Internal Server Error",
  1494. "schema": {
  1495. "$ref": "#/definitions/app.Response"
  1496. }
  1497. }
  1498. }
  1499. }
  1500. },
  1501. "/Ermcp/QueryBusinessJs": {
  1502. "get": {
  1503. "security": [
  1504. {
  1505. "ApiKeyAuth": []
  1506. }
  1507. ],
  1508. "produces": [
  1509. "application/json"
  1510. ],
  1511. "tags": [
  1512. "企业风险管理(app)"
  1513. ],
  1514. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1515. "parameters": [
  1516. {
  1517. "type": "integer",
  1518. "description": "用户ID",
  1519. "name": "UserId",
  1520. "in": "query",
  1521. "required": true
  1522. },
  1523. {
  1524. "type": "integer",
  1525. "description": "用户类型 2-机构 7-企业成员",
  1526. "name": "usertype",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "现货合同ID, 不填则查所有",
  1532. "name": "relatedid",
  1533. "in": "query"
  1534. },
  1535. {
  1536. "type": "string",
  1537. "description": "操作申请id",
  1538. "name": "operateapplyid",
  1539. "in": "query"
  1540. },
  1541. {
  1542. "type": "string",
  1543. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1544. "name": "applystatus",
  1545. "in": "query"
  1546. }
  1547. ],
  1548. "responses": {
  1549. "200": {
  1550. "description": "OK",
  1551. "schema": {
  1552. "type": "array",
  1553. "items": {
  1554. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1555. }
  1556. }
  1557. },
  1558. "500": {
  1559. "description": "Internal Server Error",
  1560. "schema": {
  1561. "$ref": "#/definitions/app.Response"
  1562. }
  1563. }
  1564. }
  1565. }
  1566. },
  1567. "/Ermcp/QueryBusinessJsEx": {
  1568. "get": {
  1569. "security": [
  1570. {
  1571. "ApiKeyAuth": []
  1572. }
  1573. ],
  1574. "produces": [
  1575. "application/json"
  1576. ],
  1577. "tags": [
  1578. "企业风险管理(app)"
  1579. ],
  1580. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1581. "parameters": [
  1582. {
  1583. "type": "integer",
  1584. "description": "用户ID",
  1585. "name": "UserId",
  1586. "in": "query",
  1587. "required": true
  1588. },
  1589. {
  1590. "type": "integer",
  1591. "description": "用户类型 2-机构 7-企业成员",
  1592. "name": "usertype",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "现货合同ID, 不填则查所有",
  1598. "name": "relatedid",
  1599. "in": "query"
  1600. },
  1601. {
  1602. "type": "string",
  1603. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1604. "name": "applystatus",
  1605. "in": "query"
  1606. }
  1607. ],
  1608. "responses": {
  1609. "200": {
  1610. "description": "OK",
  1611. "schema": {
  1612. "type": "array",
  1613. "items": {
  1614. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1615. }
  1616. }
  1617. },
  1618. "500": {
  1619. "description": "Internal Server Error",
  1620. "schema": {
  1621. "$ref": "#/definitions/app.Response"
  1622. }
  1623. }
  1624. }
  1625. }
  1626. },
  1627. "/Ermcp/QueryBusinessKx": {
  1628. "get": {
  1629. "security": [
  1630. {
  1631. "ApiKeyAuth": []
  1632. }
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "企业风险管理(app)"
  1639. ],
  1640. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1641. "parameters": [
  1642. {
  1643. "type": "integer",
  1644. "description": "用户ID",
  1645. "name": "UserId",
  1646. "in": "query",
  1647. "required": true
  1648. },
  1649. {
  1650. "type": "integer",
  1651. "description": "用户类型 2-机构 7-企业成员",
  1652. "name": "usertype",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "现货合同ID, 不填则查所有",
  1658. "name": "relatedid",
  1659. "in": "query"
  1660. },
  1661. {
  1662. "type": "string",
  1663. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1664. "name": "applystatus",
  1665. "in": "query"
  1666. }
  1667. ],
  1668. "responses": {
  1669. "200": {
  1670. "description": "OK",
  1671. "schema": {
  1672. "type": "array",
  1673. "items": {
  1674. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1675. }
  1676. }
  1677. },
  1678. "500": {
  1679. "description": "Internal Server Error",
  1680. "schema": {
  1681. "$ref": "#/definitions/app.Response"
  1682. }
  1683. }
  1684. }
  1685. }
  1686. },
  1687. "/Ermcp/QueryChangeLog": {
  1688. "get": {
  1689. "security": [
  1690. {
  1691. "ApiKeyAuth": []
  1692. }
  1693. ],
  1694. "produces": [
  1695. "application/json"
  1696. ],
  1697. "tags": [
  1698. "企业风险管理(app)"
  1699. ],
  1700. "summary": "查询变更记录",
  1701. "parameters": [
  1702. {
  1703. "type": "string",
  1704. "description": "合同ID",
  1705. "name": "RelatedId",
  1706. "in": "query",
  1707. "required": true
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryErmcpHisOrderDetails": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "获取企业风管期货历史委托单信息",
  1743. "parameters": [
  1744. {
  1745. "type": "integer",
  1746. "description": "资金账户ID",
  1747. "name": "accountID",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "string",
  1753. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1754. "name": "startDate",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1760. "name": "endDate",
  1761. "in": "query"
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1769. }
  1770. },
  1771. "500": {
  1772. "description": "Internal Server Error",
  1773. "schema": {
  1774. "$ref": "#/definitions/app.Response"
  1775. }
  1776. }
  1777. }
  1778. }
  1779. },
  1780. "/Ermcp/QueryErmcpHisTradeDetails": {
  1781. "get": {
  1782. "security": [
  1783. {
  1784. "ApiKeyAuth": []
  1785. }
  1786. ],
  1787. "produces": [
  1788. "application/json"
  1789. ],
  1790. "tags": [
  1791. "企业风险管理(app)"
  1792. ],
  1793. "summary": "获取企业风管期货历史成交单信息",
  1794. "parameters": [
  1795. {
  1796. "type": "integer",
  1797. "description": "资金账户ID",
  1798. "name": "accountID",
  1799. "in": "query",
  1800. "required": true
  1801. },
  1802. {
  1803. "type": "integer",
  1804. "description": "商品ID",
  1805. "name": "goodsID",
  1806. "in": "query"
  1807. },
  1808. {
  1809. "type": "integer",
  1810. "description": "买卖方向,0:买 1:卖",
  1811. "name": "buyOrSell",
  1812. "in": "query"
  1813. },
  1814. {
  1815. "type": "integer",
  1816. "description": "关联委托单号",
  1817. "name": "orderID",
  1818. "in": "query"
  1819. },
  1820. {
  1821. "type": "string",
  1822. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1823. "name": "startDate",
  1824. "in": "query"
  1825. },
  1826. {
  1827. "type": "string",
  1828. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1829. "name": "endDate",
  1830. "in": "query"
  1831. }
  1832. ],
  1833. "responses": {
  1834. "200": {
  1835. "description": "OK",
  1836. "schema": {
  1837. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1838. }
  1839. },
  1840. "500": {
  1841. "description": "Internal Server Error",
  1842. "schema": {
  1843. "$ref": "#/definitions/app.Response"
  1844. }
  1845. }
  1846. }
  1847. }
  1848. },
  1849. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1850. "get": {
  1851. "security": [
  1852. {
  1853. "ApiKeyAuth": []
  1854. }
  1855. ],
  1856. "produces": [
  1857. "application/json"
  1858. ],
  1859. "tags": [
  1860. "企业风险管理(app)"
  1861. ],
  1862. "summary": "获取企业风管期货内部持仓单信息",
  1863. "parameters": [
  1864. {
  1865. "type": "integer",
  1866. "description": "资金账户ID",
  1867. "name": "accountID",
  1868. "in": "query",
  1869. "required": true
  1870. },
  1871. {
  1872. "type": "integer",
  1873. "description": "商品ID",
  1874. "name": "goodsID",
  1875. "in": "query"
  1876. },
  1877. {
  1878. "type": "integer",
  1879. "description": "买卖方向,0:买 1:卖",
  1880. "name": "buyOrSell",
  1881. "in": "query"
  1882. }
  1883. ],
  1884. "responses": {
  1885. "200": {
  1886. "description": "OK",
  1887. "schema": {
  1888. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1889. }
  1890. },
  1891. "500": {
  1892. "description": "Internal Server Error",
  1893. "schema": {
  1894. "$ref": "#/definitions/app.Response"
  1895. }
  1896. }
  1897. }
  1898. }
  1899. },
  1900. "/Ermcp/QueryErmcpOrderDetails": {
  1901. "get": {
  1902. "security": [
  1903. {
  1904. "ApiKeyAuth": []
  1905. }
  1906. ],
  1907. "produces": [
  1908. "application/json"
  1909. ],
  1910. "tags": [
  1911. "企业风险管理(app)"
  1912. ],
  1913. "summary": "获取企业风管期货委托单信息",
  1914. "parameters": [
  1915. {
  1916. "type": "integer",
  1917. "description": "资金账户ID",
  1918. "name": "accountID",
  1919. "in": "query",
  1920. "required": true
  1921. }
  1922. ],
  1923. "responses": {
  1924. "200": {
  1925. "description": "OK",
  1926. "schema": {
  1927. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1928. }
  1929. },
  1930. "500": {
  1931. "description": "Internal Server Error",
  1932. "schema": {
  1933. "$ref": "#/definitions/app.Response"
  1934. }
  1935. }
  1936. }
  1937. }
  1938. },
  1939. "/Ermcp/QueryErmcpTradeDetails": {
  1940. "get": {
  1941. "security": [
  1942. {
  1943. "ApiKeyAuth": []
  1944. }
  1945. ],
  1946. "produces": [
  1947. "application/json"
  1948. ],
  1949. "tags": [
  1950. "企业风险管理(app)"
  1951. ],
  1952. "summary": "获取企业风管期货成交单信息",
  1953. "parameters": [
  1954. {
  1955. "type": "integer",
  1956. "description": "资金账户ID",
  1957. "name": "accountID",
  1958. "in": "query",
  1959. "required": true
  1960. },
  1961. {
  1962. "type": "integer",
  1963. "description": "商品ID",
  1964. "name": "goodsID",
  1965. "in": "query"
  1966. },
  1967. {
  1968. "type": "integer",
  1969. "description": "买卖方向,0:买 1:卖",
  1970. "name": "buyOrSell",
  1971. "in": "query"
  1972. },
  1973. {
  1974. "type": "integer",
  1975. "description": "关联委托单号",
  1976. "name": "orderID",
  1977. "in": "query"
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1985. }
  1986. },
  1987. "500": {
  1988. "description": "Internal Server Error",
  1989. "schema": {
  1990. "$ref": "#/definitions/app.Response"
  1991. }
  1992. }
  1993. }
  1994. }
  1995. },
  1996. "/Ermcp/QueryErmcpTradePosition": {
  1997. "get": {
  1998. "security": [
  1999. {
  2000. "ApiKeyAuth": []
  2001. }
  2002. ],
  2003. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2004. "produces": [
  2005. "application/json"
  2006. ],
  2007. "tags": [
  2008. "企业风险管理(app)"
  2009. ],
  2010. "summary": "获取企业风管期货持仓头寸信息",
  2011. "parameters": [
  2012. {
  2013. "type": "integer",
  2014. "description": "资金账户ID",
  2015. "name": "accountID",
  2016. "in": "query",
  2017. "required": true
  2018. },
  2019. {
  2020. "type": "integer",
  2021. "description": "所属市场ID",
  2022. "name": "marketID",
  2023. "in": "query"
  2024. }
  2025. ],
  2026. "responses": {
  2027. "200": {
  2028. "description": "OK",
  2029. "schema": {
  2030. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2031. }
  2032. },
  2033. "500": {
  2034. "description": "Internal Server Error",
  2035. "schema": {
  2036. "$ref": "#/definitions/app.Response"
  2037. }
  2038. }
  2039. }
  2040. }
  2041. },
  2042. "/Ermcp/QueryExposureDetail": {
  2043. "get": {
  2044. "security": [
  2045. {
  2046. "ApiKeyAuth": []
  2047. }
  2048. ],
  2049. "produces": [
  2050. "application/json"
  2051. ],
  2052. "tags": [
  2053. "企业风险管理(app)"
  2054. ],
  2055. "summary": "查询敞口现货明细",
  2056. "parameters": [
  2057. {
  2058. "type": "integer",
  2059. "description": "所属机构ID",
  2060. "name": "areaUserId",
  2061. "in": "query",
  2062. "required": true
  2063. },
  2064. {
  2065. "type": "integer",
  2066. "description": "套保商品",
  2067. "name": "middleGoodsId",
  2068. "in": "query",
  2069. "required": true
  2070. }
  2071. ],
  2072. "responses": {
  2073. "200": {
  2074. "description": "OK",
  2075. "schema": {
  2076. "type": "array",
  2077. "items": {
  2078. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2079. }
  2080. }
  2081. },
  2082. "500": {
  2083. "description": "Internal Server Error",
  2084. "schema": {
  2085. "$ref": "#/definitions/app.Response"
  2086. }
  2087. }
  2088. }
  2089. }
  2090. },
  2091. "/Ermcp/QueryExposureGoods": {
  2092. "get": {
  2093. "security": [
  2094. {
  2095. "ApiKeyAuth": []
  2096. }
  2097. ],
  2098. "produces": [
  2099. "application/json"
  2100. ],
  2101. "tags": [
  2102. "企业风险管理(app)"
  2103. ],
  2104. "summary": "查询敞口主力合约",
  2105. "parameters": [
  2106. {
  2107. "type": "integer",
  2108. "description": "套保商品id",
  2109. "name": "middlegoodsid",
  2110. "in": "query",
  2111. "required": true
  2112. }
  2113. ],
  2114. "responses": {
  2115. "200": {
  2116. "description": "OK",
  2117. "schema": {
  2118. "type": "array",
  2119. "items": {
  2120. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2121. }
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryExposureHedgePosition": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "用户id",
  2151. "name": "userid",
  2152. "in": "query",
  2153. "required": true
  2154. }
  2155. ],
  2156. "responses": {
  2157. "200": {
  2158. "description": "OK",
  2159. "schema": {
  2160. "type": "array",
  2161. "items": {
  2162. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2163. }
  2164. }
  2165. },
  2166. "500": {
  2167. "description": "Internal Server Error",
  2168. "schema": {
  2169. "$ref": "#/definitions/app.Response"
  2170. }
  2171. }
  2172. }
  2173. }
  2174. },
  2175. "/Ermcp/QueryExposureHedgePositionDetail": {
  2176. "get": {
  2177. "security": [
  2178. {
  2179. "ApiKeyAuth": []
  2180. }
  2181. ],
  2182. "produces": [
  2183. "application/json"
  2184. ],
  2185. "tags": [
  2186. "企业风险管理(app)"
  2187. ],
  2188. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2189. "parameters": [
  2190. {
  2191. "type": "integer",
  2192. "description": "所属机构ID",
  2193. "name": "userid",
  2194. "in": "query",
  2195. "required": true
  2196. },
  2197. {
  2198. "type": "integer",
  2199. "description": "商品id",
  2200. "name": "goodsId",
  2201. "in": "query",
  2202. "required": true
  2203. }
  2204. ],
  2205. "responses": {
  2206. "200": {
  2207. "description": "OK",
  2208. "schema": {
  2209. "type": "array",
  2210. "items": {
  2211. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2212. }
  2213. }
  2214. },
  2215. "500": {
  2216. "description": "Internal Server Error",
  2217. "schema": {
  2218. "$ref": "#/definitions/app.Response"
  2219. }
  2220. }
  2221. }
  2222. }
  2223. },
  2224. "/Ermcp/QueryExposureSpot": {
  2225. "get": {
  2226. "security": [
  2227. {
  2228. "ApiKeyAuth": []
  2229. }
  2230. ],
  2231. "produces": [
  2232. "application/json"
  2233. ],
  2234. "tags": [
  2235. "企业风险管理(app)"
  2236. ],
  2237. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2238. "parameters": [
  2239. {
  2240. "type": "integer",
  2241. "description": "所属机构ID",
  2242. "name": "areaUserId",
  2243. "in": "query",
  2244. "required": true
  2245. }
  2246. ],
  2247. "responses": {
  2248. "200": {
  2249. "description": "OK",
  2250. "schema": {
  2251. "type": "array",
  2252. "items": {
  2253. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2254. }
  2255. }
  2256. },
  2257. "500": {
  2258. "description": "Internal Server Error",
  2259. "schema": {
  2260. "$ref": "#/definitions/app.Response"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "/Ermcp/QueryExposureSpotDetail": {
  2267. "get": {
  2268. "security": [
  2269. {
  2270. "ApiKeyAuth": []
  2271. }
  2272. ],
  2273. "produces": [
  2274. "application/json"
  2275. ],
  2276. "tags": [
  2277. "企业风险管理(app)"
  2278. ],
  2279. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2280. "parameters": [
  2281. {
  2282. "type": "integer",
  2283. "description": "所属机构ID",
  2284. "name": "areaUserId",
  2285. "in": "query",
  2286. "required": true
  2287. },
  2288. {
  2289. "type": "integer",
  2290. "description": "现货品种ID",
  2291. "name": "wrstandardId",
  2292. "in": "query",
  2293. "required": true
  2294. }
  2295. ],
  2296. "responses": {
  2297. "200": {
  2298. "description": "OK",
  2299. "schema": {
  2300. "type": "array",
  2301. "items": {
  2302. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2303. }
  2304. }
  2305. },
  2306. "500": {
  2307. "description": "Internal Server Error",
  2308. "schema": {
  2309. "$ref": "#/definitions/app.Response"
  2310. }
  2311. }
  2312. }
  2313. }
  2314. },
  2315. "/Ermcp/QueryFuturesCompany": {
  2316. "get": {
  2317. "security": [
  2318. {
  2319. "ApiKeyAuth": []
  2320. }
  2321. ],
  2322. "produces": [
  2323. "application/json"
  2324. ],
  2325. "tags": [
  2326. "企业风险管理(app)"
  2327. ],
  2328. "summary": "查询期货公司",
  2329. "responses": {
  2330. "200": {
  2331. "description": "OK",
  2332. "schema": {
  2333. "type": "array",
  2334. "items": {
  2335. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2336. }
  2337. }
  2338. },
  2339. "500": {
  2340. "description": "Internal Server Error",
  2341. "schema": {
  2342. "$ref": "#/definitions/app.Response"
  2343. }
  2344. }
  2345. }
  2346. }
  2347. },
  2348. "/Ermcp/QueryGGConvertConfig": {
  2349. "get": {
  2350. "security": [
  2351. {
  2352. "ApiKeyAuth": []
  2353. }
  2354. ],
  2355. "produces": [
  2356. "application/json"
  2357. ],
  2358. "tags": [
  2359. "企业风险管理(app)"
  2360. ],
  2361. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2362. "parameters": [
  2363. {
  2364. "type": "integer",
  2365. "description": "品种id(不填则查所有)",
  2366. "name": "goodsgroupid",
  2367. "in": "query"
  2368. }
  2369. ],
  2370. "responses": {
  2371. "200": {
  2372. "description": "OK",
  2373. "schema": {
  2374. "type": "array",
  2375. "items": {
  2376. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2377. }
  2378. }
  2379. },
  2380. "500": {
  2381. "description": "Internal Server Error",
  2382. "schema": {
  2383. "$ref": "#/definitions/app.Response"
  2384. }
  2385. }
  2386. }
  2387. }
  2388. },
  2389. "/Ermcp/QueryGoodsBrand": {
  2390. "get": {
  2391. "security": [
  2392. {
  2393. "ApiKeyAuth": []
  2394. }
  2395. ],
  2396. "produces": [
  2397. "application/json"
  2398. ],
  2399. "tags": [
  2400. "企业风险管理(app)"
  2401. ],
  2402. "summary": "查询商品品牌",
  2403. "parameters": [
  2404. {
  2405. "type": "integer",
  2406. "description": "用户ID",
  2407. "name": "userid",
  2408. "in": "query",
  2409. "required": true
  2410. },
  2411. {
  2412. "type": "integer",
  2413. "description": "现货商品ID",
  2414. "name": "wrstandardid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsModel": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品型号",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. }
  2459. ],
  2460. "responses": {
  2461. "200": {
  2462. "description": "OK",
  2463. "schema": {
  2464. "type": "array",
  2465. "items": {
  2466. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2467. }
  2468. }
  2469. },
  2470. "500": {
  2471. "description": "Internal Server Error",
  2472. "schema": {
  2473. "$ref": "#/definitions/app.Response"
  2474. }
  2475. }
  2476. }
  2477. }
  2478. },
  2479. "/Ermcp/QueryHisExposure": {
  2480. "get": {
  2481. "security": [
  2482. {
  2483. "ApiKeyAuth": []
  2484. }
  2485. ],
  2486. "produces": [
  2487. "application/json"
  2488. ],
  2489. "tags": [
  2490. "企业风险管理(app)"
  2491. ],
  2492. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2493. "parameters": [
  2494. {
  2495. "type": "integer",
  2496. "description": "用户id",
  2497. "name": "userid",
  2498. "in": "query",
  2499. "required": true
  2500. },
  2501. {
  2502. "type": "integer",
  2503. "description": "每个品种记录数",
  2504. "name": "lastNum",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryMiddleGoods": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询套保品种(菜单:套保品种)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "状态 0-停用 1-正常",
  2553. "name": "status",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "userid",
  2596. "in": "query",
  2597. "required": true
  2598. },
  2599. {
  2600. "type": "integer",
  2601. "description": "套保品种id",
  2602. "name": "middlegoodsid",
  2603. "in": "query",
  2604. "required": true
  2605. }
  2606. ],
  2607. "responses": {
  2608. "200": {
  2609. "description": "OK",
  2610. "schema": {
  2611. "type": "array",
  2612. "items": {
  2613. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2614. }
  2615. }
  2616. },
  2617. "500": {
  2618. "description": "Internal Server Error",
  2619. "schema": {
  2620. "$ref": "#/definitions/app.Response"
  2621. }
  2622. }
  2623. }
  2624. }
  2625. },
  2626. "/Ermcp/QueryMiddleGoodsDetail": {
  2627. "get": {
  2628. "security": [
  2629. {
  2630. "ApiKeyAuth": []
  2631. }
  2632. ],
  2633. "produces": [
  2634. "application/json"
  2635. ],
  2636. "tags": [
  2637. "企业风险管理(app)"
  2638. ],
  2639. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2640. "parameters": [
  2641. {
  2642. "type": "integer",
  2643. "description": "所属机构ID",
  2644. "name": "userid",
  2645. "in": "query",
  2646. "required": true
  2647. },
  2648. {
  2649. "type": "integer",
  2650. "description": "套保品种id",
  2651. "name": "middlegoodsid",
  2652. "in": "query"
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryPendingAuditInfo": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "用户ID",
  2692. "name": "UserId",
  2693. "in": "query",
  2694. "required": true
  2695. }
  2696. ],
  2697. "responses": {
  2698. "200": {
  2699. "description": "OK",
  2700. "schema": {
  2701. "type": "array",
  2702. "items": {
  2703. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2704. }
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Ermcp/QueryRealtimeExposure": {
  2717. "get": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "企业风险管理(app)"
  2728. ],
  2729. "summary": "查询实时敞口",
  2730. "parameters": [
  2731. {
  2732. "type": "integer",
  2733. "description": "所属机构ID",
  2734. "name": "userid",
  2735. "in": "query",
  2736. "required": true
  2737. }
  2738. ],
  2739. "responses": {
  2740. "200": {
  2741. "description": "OK",
  2742. "schema": {
  2743. "type": "array",
  2744. "items": {
  2745. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2746. }
  2747. }
  2748. },
  2749. "500": {
  2750. "description": "Internal Server Error",
  2751. "schema": {
  2752. "$ref": "#/definitions/app.Response"
  2753. }
  2754. }
  2755. }
  2756. }
  2757. },
  2758. "/Ermcp/QueryRealtimeExposurePosition": {
  2759. "get": {
  2760. "security": [
  2761. {
  2762. "ApiKeyAuth": []
  2763. }
  2764. ],
  2765. "produces": [
  2766. "application/json"
  2767. ],
  2768. "tags": [
  2769. "企业风险管理(app)"
  2770. ],
  2771. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2772. "parameters": [
  2773. {
  2774. "type": "integer",
  2775. "description": "用户id",
  2776. "name": "userid",
  2777. "in": "query",
  2778. "required": true
  2779. },
  2780. {
  2781. "type": "integer",
  2782. "description": "套保商品ID",
  2783. "name": "middleGoodsId",
  2784. "in": "query",
  2785. "required": true
  2786. }
  2787. ],
  2788. "responses": {
  2789. "200": {
  2790. "description": "OK",
  2791. "schema": {
  2792. "type": "array",
  2793. "items": {
  2794. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2795. }
  2796. }
  2797. },
  2798. "500": {
  2799. "description": "Internal Server Error",
  2800. "schema": {
  2801. "$ref": "#/definitions/app.Response"
  2802. }
  2803. }
  2804. }
  2805. }
  2806. },
  2807. "/Ermcp/QueryRoleMenu": {
  2808. "get": {
  2809. "security": [
  2810. {
  2811. "ApiKeyAuth": []
  2812. }
  2813. ],
  2814. "produces": [
  2815. "application/json"
  2816. ],
  2817. "tags": [
  2818. "企业风险管理(app)"
  2819. ],
  2820. "summary": "查询角色菜单和权限",
  2821. "parameters": [
  2822. {
  2823. "type": "integer",
  2824. "description": "登录ID",
  2825. "name": "loginid",
  2826. "in": "query",
  2827. "required": true
  2828. },
  2829. {
  2830. "type": "integer",
  2831. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2832. "name": "menutype",
  2833. "in": "query"
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/models.RoleMenu"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryTradeConfigTMP": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询交易模板配置",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "所属机构id",
  2873. "name": "areauserid",
  2874. "in": "query"
  2875. }
  2876. ],
  2877. "responses": {
  2878. "200": {
  2879. "description": "OK",
  2880. "schema": {
  2881. "type": "array",
  2882. "items": {
  2883. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2884. }
  2885. }
  2886. },
  2887. "500": {
  2888. "description": "Internal Server Error",
  2889. "schema": {
  2890. "$ref": "#/definitions/app.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/Ermcp/QueryUserInfo": {
  2897. "get": {
  2898. "security": [
  2899. {
  2900. "ApiKeyAuth": []
  2901. }
  2902. ],
  2903. "produces": [
  2904. "application/json"
  2905. ],
  2906. "tags": [
  2907. "企业风险管理(app)"
  2908. ],
  2909. "summary": "查询客户资料",
  2910. "parameters": [
  2911. {
  2912. "type": "integer",
  2913. "description": "所属机构用户ID",
  2914. "name": "MemberUserID",
  2915. "in": "query",
  2916. "required": true
  2917. },
  2918. {
  2919. "type": "integer",
  2920. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2921. "name": "queryType",
  2922. "in": "query",
  2923. "required": true
  2924. }
  2925. ],
  2926. "responses": {
  2927. "200": {
  2928. "description": "OK",
  2929. "schema": {
  2930. "type": "array",
  2931. "items": {
  2932. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2933. }
  2934. }
  2935. },
  2936. "500": {
  2937. "description": "Internal Server Error",
  2938. "schema": {
  2939. "$ref": "#/definitions/app.Response"
  2940. }
  2941. }
  2942. }
  2943. }
  2944. },
  2945. "/Ermcp/QueryWarehouseInfo": {
  2946. "get": {
  2947. "security": [
  2948. {
  2949. "ApiKeyAuth": []
  2950. }
  2951. ],
  2952. "produces": [
  2953. "application/json"
  2954. ],
  2955. "tags": [
  2956. "企业风险管理(app)"
  2957. ],
  2958. "summary": "查询仓库信息",
  2959. "parameters": [
  2960. {
  2961. "type": "integer",
  2962. "description": "用户ID",
  2963. "name": "userid",
  2964. "in": "query",
  2965. "required": true
  2966. },
  2967. {
  2968. "type": "string",
  2969. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2970. "name": "status",
  2971. "in": "query"
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp3/QryAreaExpourseContractDetail": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理v3(app)"
  3005. ],
  3006. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "integer",
  3017. "description": "套保商品id",
  3018. "name": "middlegoodsid",
  3019. "in": "query",
  3020. "required": true
  3021. },
  3022. {
  3023. "type": "integer",
  3024. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3025. "name": "cycletype",
  3026. "in": "query",
  3027. "required": true
  3028. },
  3029. {
  3030. "type": "string",
  3031. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3032. "name": "cycletime",
  3033. "in": "query",
  3034. "required": true
  3035. }
  3036. ],
  3037. "responses": {
  3038. "200": {
  3039. "description": "OK",
  3040. "schema": {
  3041. "type": "array",
  3042. "items": {
  3043. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3044. }
  3045. }
  3046. },
  3047. "500": {
  3048. "description": "Internal Server Error",
  3049. "schema": {
  3050. "$ref": "#/definitions/app.Response"
  3051. }
  3052. }
  3053. }
  3054. }
  3055. },
  3056. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3057. "get": {
  3058. "security": [
  3059. {
  3060. "ApiKeyAuth": []
  3061. }
  3062. ],
  3063. "produces": [
  3064. "application/json"
  3065. ],
  3066. "tags": [
  3067. "企业风险管理v3(app)"
  3068. ],
  3069. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3070. "parameters": [
  3071. {
  3072. "type": "integer",
  3073. "description": "用户ID",
  3074. "name": "userid",
  3075. "in": "query",
  3076. "required": true
  3077. },
  3078. {
  3079. "type": "integer",
  3080. "description": "套保商品id",
  3081. "name": "middlegoodsid",
  3082. "in": "query",
  3083. "required": true
  3084. },
  3085. {
  3086. "type": "integer",
  3087. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3088. "name": "cycletype",
  3089. "in": "query",
  3090. "required": true
  3091. },
  3092. {
  3093. "type": "string",
  3094. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3095. "name": "cycletime",
  3096. "in": "query",
  3097. "required": true
  3098. }
  3099. ],
  3100. "responses": {
  3101. "200": {
  3102. "description": "OK",
  3103. "schema": {
  3104. "type": "array",
  3105. "items": {
  3106. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3107. }
  3108. }
  3109. },
  3110. "500": {
  3111. "description": "Internal Server Error",
  3112. "schema": {
  3113. "$ref": "#/definitions/app.Response"
  3114. }
  3115. }
  3116. }
  3117. }
  3118. },
  3119. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3120. "get": {
  3121. "security": [
  3122. {
  3123. "ApiKeyAuth": []
  3124. }
  3125. ],
  3126. "produces": [
  3127. "application/json"
  3128. ],
  3129. "tags": [
  3130. "企业风险管理v3(app)"
  3131. ],
  3132. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3133. "parameters": [
  3134. {
  3135. "type": "integer",
  3136. "description": "用户ID",
  3137. "name": "userid",
  3138. "in": "query",
  3139. "required": true
  3140. },
  3141. {
  3142. "type": "integer",
  3143. "description": "套保商品id",
  3144. "name": "middlegoodsid",
  3145. "in": "query",
  3146. "required": true
  3147. },
  3148. {
  3149. "type": "integer",
  3150. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3151. "name": "cycletype",
  3152. "in": "query",
  3153. "required": true
  3154. },
  3155. {
  3156. "type": "string",
  3157. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3158. "name": "cycletime",
  3159. "in": "query",
  3160. "required": true
  3161. }
  3162. ],
  3163. "responses": {
  3164. "200": {
  3165. "description": "OK",
  3166. "schema": {
  3167. "type": "array",
  3168. "items": {
  3169. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3170. }
  3171. }
  3172. },
  3173. "500": {
  3174. "description": "Internal Server Error",
  3175. "schema": {
  3176. "$ref": "#/definitions/app.Response"
  3177. }
  3178. }
  3179. }
  3180. }
  3181. },
  3182. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3183. "get": {
  3184. "security": [
  3185. {
  3186. "ApiKeyAuth": []
  3187. }
  3188. ],
  3189. "produces": [
  3190. "application/json"
  3191. ],
  3192. "tags": [
  3193. "企业风险管理v3(app)"
  3194. ],
  3195. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3196. "parameters": [
  3197. {
  3198. "type": "integer",
  3199. "description": "用户ID",
  3200. "name": "userid",
  3201. "in": "query",
  3202. "required": true
  3203. },
  3204. {
  3205. "type": "integer",
  3206. "description": "套保商品id",
  3207. "name": "middlegoodsid",
  3208. "in": "query",
  3209. "required": true
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3214. "name": "cycletype",
  3215. "in": "query",
  3216. "required": true
  3217. },
  3218. {
  3219. "type": "string",
  3220. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3221. "name": "cycletime",
  3222. "in": "query",
  3223. "required": true
  3224. }
  3225. ],
  3226. "responses": {
  3227. "200": {
  3228. "description": "OK",
  3229. "schema": {
  3230. "type": "array",
  3231. "items": {
  3232. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3233. }
  3234. }
  3235. },
  3236. "500": {
  3237. "description": "Internal Server Error",
  3238. "schema": {
  3239. "$ref": "#/definitions/app.Response"
  3240. }
  3241. }
  3242. }
  3243. }
  3244. },
  3245. "/Ermcp3/QryAreaExpourseReport": {
  3246. "get": {
  3247. "security": [
  3248. {
  3249. "ApiKeyAuth": []
  3250. }
  3251. ],
  3252. "produces": [
  3253. "application/json"
  3254. ],
  3255. "tags": [
  3256. "企业风险管理v3(app)"
  3257. ],
  3258. "summary": "查询敞口报表",
  3259. "parameters": [
  3260. {
  3261. "type": "integer",
  3262. "description": "用户ID",
  3263. "name": "userid",
  3264. "in": "query",
  3265. "required": true
  3266. },
  3267. {
  3268. "type": "integer",
  3269. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3270. "name": "querytype",
  3271. "in": "query",
  3272. "required": true
  3273. },
  3274. {
  3275. "type": "integer",
  3276. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3277. "name": "cycletype",
  3278. "in": "query",
  3279. "required": true
  3280. },
  3281. {
  3282. "type": "string",
  3283. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3284. "name": "cycletime",
  3285. "in": "query",
  3286. "required": true
  3287. }
  3288. ],
  3289. "responses": {
  3290. "200": {
  3291. "description": "OK",
  3292. "schema": {
  3293. "type": "array",
  3294. "items": {
  3295. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3296. }
  3297. }
  3298. },
  3299. "500": {
  3300. "description": "Internal Server Error",
  3301. "schema": {
  3302. "$ref": "#/definitions/app.Response"
  3303. }
  3304. }
  3305. }
  3306. }
  3307. },
  3308. "/Ermcp3/QryAreaSpotplReport": {
  3309. "get": {
  3310. "security": [
  3311. {
  3312. "ApiKeyAuth": []
  3313. }
  3314. ],
  3315. "produces": [
  3316. "application/json"
  3317. ],
  3318. "tags": [
  3319. "企业风险管理v3(app)"
  3320. ],
  3321. "summary": "查询现货报表",
  3322. "parameters": [
  3323. {
  3324. "type": "integer",
  3325. "description": "用户ID",
  3326. "name": "userid",
  3327. "in": "query",
  3328. "required": true
  3329. },
  3330. {
  3331. "type": "integer",
  3332. "description": "查询类型 1-报表 2-报表明细",
  3333. "name": "querytype",
  3334. "in": "query",
  3335. "required": true
  3336. },
  3337. {
  3338. "type": "integer",
  3339. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3340. "name": "cycletype",
  3341. "in": "query",
  3342. "required": true
  3343. },
  3344. {
  3345. "type": "string",
  3346. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3347. "name": "cycletime",
  3348. "in": "query",
  3349. "required": true
  3350. },
  3351. {
  3352. "type": "integer",
  3353. "description": "现货品种id(明细必填)",
  3354. "name": "deliverygoodsid",
  3355. "in": "query"
  3356. },
  3357. {
  3358. "type": "integer",
  3359. "description": "币种id(明细必填)",
  3360. "name": "currencyid",
  3361. "in": "query"
  3362. }
  3363. ],
  3364. "responses": {
  3365. "200": {
  3366. "description": "OK",
  3367. "schema": {
  3368. "type": "array",
  3369. "items": {
  3370. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3371. }
  3372. }
  3373. },
  3374. "500": {
  3375. "description": "Internal Server Error",
  3376. "schema": {
  3377. "$ref": "#/definitions/app.Response"
  3378. }
  3379. }
  3380. }
  3381. }
  3382. },
  3383. "/Ermcp3/QryAreaStockReport": {
  3384. "get": {
  3385. "security": [
  3386. {
  3387. "ApiKeyAuth": []
  3388. }
  3389. ],
  3390. "produces": [
  3391. "application/json"
  3392. ],
  3393. "tags": [
  3394. "企业风险管理v3(app)"
  3395. ],
  3396. "summary": "查询库存报表",
  3397. "parameters": [
  3398. {
  3399. "type": "integer",
  3400. "description": "用户ID",
  3401. "name": "userid",
  3402. "in": "query",
  3403. "required": true
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "查询类型 1-报表 2-报表明细",
  3408. "name": "querytype",
  3409. "in": "query",
  3410. "required": true
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3415. "name": "cycletype",
  3416. "in": "query",
  3417. "required": true
  3418. },
  3419. {
  3420. "type": "string",
  3421. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3422. "name": "cycletime",
  3423. "in": "query",
  3424. "required": true
  3425. },
  3426. {
  3427. "type": "string",
  3428. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3429. "name": "sumfields",
  3430. "in": "query"
  3431. },
  3432. {
  3433. "type": "integer",
  3434. "description": "品种ID",
  3435. "name": "deliverygoodsid",
  3436. "in": "query"
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "品类ID",
  3441. "name": "wrstandardid",
  3442. "in": "query"
  3443. },
  3444. {
  3445. "type": "integer",
  3446. "description": "品牌ID",
  3447. "name": "spotgoodsbrandid",
  3448. "in": "query"
  3449. },
  3450. {
  3451. "type": "integer",
  3452. "description": "仓库ID",
  3453. "name": "warehouseinfoid",
  3454. "in": "query"
  3455. }
  3456. ],
  3457. "responses": {
  3458. "200": {
  3459. "description": "OK",
  3460. "schema": {
  3461. "type": "array",
  3462. "items": {
  3463. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3464. }
  3465. }
  3466. },
  3467. "500": {
  3468. "description": "Internal Server Error",
  3469. "schema": {
  3470. "$ref": "#/definitions/app.Response"
  3471. }
  3472. }
  3473. }
  3474. }
  3475. },
  3476. "/Ermcp3/QryAreaSumPL": {
  3477. "get": {
  3478. "security": [
  3479. {
  3480. "ApiKeyAuth": []
  3481. }
  3482. ],
  3483. "produces": [
  3484. "application/json"
  3485. ],
  3486. "tags": [
  3487. "企业风险管理v3(app)"
  3488. ],
  3489. "summary": "查询汇总损益表",
  3490. "parameters": [
  3491. {
  3492. "type": "integer",
  3493. "description": "用户ID",
  3494. "name": "userid",
  3495. "in": "query",
  3496. "required": true
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "查询类型 1-报表 2-报表明细",
  3501. "name": "querytype",
  3502. "in": "query",
  3503. "required": true
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3508. "name": "cycletype",
  3509. "in": "query",
  3510. "required": true
  3511. },
  3512. {
  3513. "type": "string",
  3514. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3515. "name": "cycletime",
  3516. "in": "query",
  3517. "required": true
  3518. },
  3519. {
  3520. "type": "integer",
  3521. "description": "币种id(明细必填)",
  3522. "name": "currencyid",
  3523. "in": "query"
  3524. }
  3525. ],
  3526. "responses": {
  3527. "200": {
  3528. "description": "OK",
  3529. "schema": {
  3530. "type": "array",
  3531. "items": {
  3532. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3533. }
  3534. }
  3535. },
  3536. "500": {
  3537. "description": "Internal Server Error",
  3538. "schema": {
  3539. "$ref": "#/definitions/app.Response"
  3540. }
  3541. }
  3542. }
  3543. }
  3544. },
  3545. "/Ermcp3/QryFinanceReport": {
  3546. "get": {
  3547. "security": [
  3548. {
  3549. "ApiKeyAuth": []
  3550. }
  3551. ],
  3552. "produces": [
  3553. "application/json"
  3554. ],
  3555. "tags": [
  3556. "企业风险管理v3(app)"
  3557. ],
  3558. "summary": "查询财务报表",
  3559. "parameters": [
  3560. {
  3561. "type": "integer",
  3562. "description": "用户ID",
  3563. "name": "userid",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "查询类型 1-报表 2-报表明细",
  3570. "name": "querytype",
  3571. "in": "query",
  3572. "required": true
  3573. },
  3574. {
  3575. "type": "integer",
  3576. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3577. "name": "cycletype",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "string",
  3583. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3584. "name": "cycletime",
  3585. "in": "query",
  3586. "required": true
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "币种id(报表明细必填)",
  3591. "name": "currencyid",
  3592. "in": "query"
  3593. },
  3594. {
  3595. "type": "string",
  3596. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3597. "name": "sumfields",
  3598. "in": "query"
  3599. }
  3600. ],
  3601. "responses": {
  3602. "200": {
  3603. "description": "OK",
  3604. "schema": {
  3605. "type": "array",
  3606. "items": {
  3607. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3608. }
  3609. }
  3610. },
  3611. "500": {
  3612. "description": "Internal Server Error",
  3613. "schema": {
  3614. "$ref": "#/definitions/app.Response"
  3615. }
  3616. }
  3617. }
  3618. }
  3619. },
  3620. "/Ermcp3/QrySCMiddleGoodsReport": {
  3621. "get": {
  3622. "security": [
  3623. {
  3624. "ApiKeyAuth": []
  3625. }
  3626. ],
  3627. "produces": [
  3628. "application/json"
  3629. ],
  3630. "tags": [
  3631. "企业风险管理v3(app)"
  3632. ],
  3633. "summary": "查询定价报表",
  3634. "parameters": [
  3635. {
  3636. "type": "integer",
  3637. "description": "用户ID",
  3638. "name": "userid",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "integer",
  3644. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3645. "name": "cycletype",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "string",
  3651. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3652. "name": "cycletime",
  3653. "in": "query",
  3654. "required": true
  3655. },
  3656. {
  3657. "type": "integer",
  3658. "description": "现货合同id",
  3659. "name": "spotcontractid",
  3660. "in": "query"
  3661. },
  3662. {
  3663. "type": "integer",
  3664. "description": "套保品种id",
  3665. "name": "middlegoodsid",
  3666. "in": "query"
  3667. },
  3668. {
  3669. "type": "integer",
  3670. "description": "现货品种id",
  3671. "name": "deliverygoodsid",
  3672. "in": "query"
  3673. },
  3674. {
  3675. "type": "integer",
  3676. "description": "现货商品id",
  3677. "name": "wrstandardid",
  3678. "in": "query"
  3679. }
  3680. ],
  3681. "responses": {
  3682. "200": {
  3683. "description": "OK",
  3684. "schema": {
  3685. "type": "array",
  3686. "items": {
  3687. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3688. }
  3689. }
  3690. },
  3691. "500": {
  3692. "description": "Internal Server Error",
  3693. "schema": {
  3694. "$ref": "#/definitions/app.Response"
  3695. }
  3696. }
  3697. }
  3698. }
  3699. },
  3700. "/Ermcp3/QryTaFutureDataReport": {
  3701. "get": {
  3702. "security": [
  3703. {
  3704. "ApiKeyAuth": []
  3705. }
  3706. ],
  3707. "produces": [
  3708. "application/json"
  3709. ],
  3710. "tags": [
  3711. "企业风险管理v3(app)"
  3712. ],
  3713. "summary": "查询期货报表",
  3714. "parameters": [
  3715. {
  3716. "type": "integer",
  3717. "description": "用户ID",
  3718. "name": "userid",
  3719. "in": "query",
  3720. "required": true
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "查询类型 1-报表 2-报表明细",
  3725. "name": "querytype",
  3726. "in": "query",
  3727. "required": true
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3732. "name": "cycletype",
  3733. "in": "query",
  3734. "required": true
  3735. },
  3736. {
  3737. "type": "string",
  3738. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3739. "name": "cycletime",
  3740. "in": "query",
  3741. "required": true
  3742. },
  3743. {
  3744. "type": "integer",
  3745. "description": "币种id(查明细必填)",
  3746. "name": "currencyid",
  3747. "in": "query"
  3748. },
  3749. {
  3750. "type": "integer",
  3751. "description": "品种id(查明细必填)",
  3752. "name": "goodsgroupid",
  3753. "in": "query"
  3754. },
  3755. {
  3756. "type": "integer",
  3757. "description": "商品id(查明细必填)",
  3758. "name": "goodsid",
  3759. "in": "query"
  3760. },
  3761. {
  3762. "type": "integer",
  3763. "description": "买卖方向(查明细必填)",
  3764. "name": "buyorsell",
  3765. "in": "query"
  3766. }
  3767. ],
  3768. "responses": {
  3769. "200": {
  3770. "description": "OK",
  3771. "schema": {
  3772. "type": "array",
  3773. "items": {
  3774. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3775. }
  3776. }
  3777. },
  3778. "500": {
  3779. "description": "Internal Server Error",
  3780. "schema": {
  3781. "$ref": "#/definitions/app.Response"
  3782. }
  3783. }
  3784. }
  3785. }
  3786. },
  3787. "/Ermcp3/QueryAreaStock": {
  3788. "get": {
  3789. "security": [
  3790. {
  3791. "ApiKeyAuth": []
  3792. }
  3793. ],
  3794. "produces": [
  3795. "application/json"
  3796. ],
  3797. "tags": [
  3798. "企业风险管理v3(app)"
  3799. ],
  3800. "summary": "查询机构库存(库存管理/当前库存)",
  3801. "parameters": [
  3802. {
  3803. "type": "integer",
  3804. "description": "用户ID",
  3805. "name": "userid",
  3806. "in": "query",
  3807. "required": true
  3808. }
  3809. ],
  3810. "responses": {
  3811. "200": {
  3812. "description": "OK",
  3813. "schema": {
  3814. "type": "array",
  3815. "items": {
  3816. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3817. }
  3818. }
  3819. },
  3820. "500": {
  3821. "description": "Internal Server Error",
  3822. "schema": {
  3823. "$ref": "#/definitions/app.Response"
  3824. }
  3825. }
  3826. }
  3827. }
  3828. },
  3829. "/Ermcp3/QueryAreaStockApply": {
  3830. "get": {
  3831. "security": [
  3832. {
  3833. "ApiKeyAuth": []
  3834. }
  3835. ],
  3836. "produces": [
  3837. "application/json"
  3838. ],
  3839. "tags": [
  3840. "企业风险管理v3(app)"
  3841. ],
  3842. "summary": "查询库存申请(出入库记录|库存审核)",
  3843. "parameters": [
  3844. {
  3845. "type": "integer",
  3846. "description": "用户ID",
  3847. "name": "userid",
  3848. "in": "query",
  3849. "required": true
  3850. },
  3851. {
  3852. "type": "integer",
  3853. "description": "用户类型 2-机构 7-企业成员",
  3854. "name": "usertype",
  3855. "in": "query"
  3856. },
  3857. {
  3858. "type": "integer",
  3859. "description": "现货商品ID",
  3860. "name": "deliverygoodsid",
  3861. "in": "query"
  3862. },
  3863. {
  3864. "type": "string",
  3865. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3866. "name": "inouttype",
  3867. "in": "query"
  3868. },
  3869. {
  3870. "type": "integer",
  3871. "description": "合同ID",
  3872. "name": "spotcontractid",
  3873. "in": "query"
  3874. },
  3875. {
  3876. "type": "integer",
  3877. "description": "品类ID",
  3878. "name": "wrstandardid",
  3879. "in": "query"
  3880. },
  3881. {
  3882. "type": "integer",
  3883. "description": "品牌ID",
  3884. "name": "spotgoodsbrandid",
  3885. "in": "query"
  3886. },
  3887. {
  3888. "type": "integer",
  3889. "description": "仓库ID",
  3890. "name": "warehouseinfoid",
  3891. "in": "query"
  3892. },
  3893. {
  3894. "type": "string",
  3895. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3896. "name": "applystatus",
  3897. "in": "query"
  3898. }
  3899. ],
  3900. "responses": {
  3901. "200": {
  3902. "description": "OK",
  3903. "schema": {
  3904. "type": "array",
  3905. "items": {
  3906. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3907. }
  3908. }
  3909. },
  3910. "500": {
  3911. "description": "Internal Server Error",
  3912. "schema": {
  3913. "$ref": "#/definitions/app.Response"
  3914. }
  3915. }
  3916. }
  3917. }
  3918. },
  3919. "/Ermcp3/QueryAreaStockApplySum": {
  3920. "get": {
  3921. "security": [
  3922. {
  3923. "ApiKeyAuth": []
  3924. }
  3925. ],
  3926. "produces": [
  3927. "application/json"
  3928. ],
  3929. "tags": [
  3930. "企业风险管理v3(app)"
  3931. ],
  3932. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3933. "parameters": [
  3934. {
  3935. "type": "integer",
  3936. "description": "合同ID",
  3937. "name": "spotcontractid",
  3938. "in": "query",
  3939. "required": true
  3940. }
  3941. ],
  3942. "responses": {
  3943. "200": {
  3944. "description": "OK",
  3945. "schema": {
  3946. "type": "array",
  3947. "items": {
  3948. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3949. }
  3950. }
  3951. },
  3952. "500": {
  3953. "description": "Internal Server Error",
  3954. "schema": {
  3955. "$ref": "#/definitions/app.Response"
  3956. }
  3957. }
  3958. }
  3959. }
  3960. },
  3961. "/Ermcp3/QueryDGFactoryItem": {
  3962. "get": {
  3963. "security": [
  3964. {
  3965. "ApiKeyAuth": []
  3966. }
  3967. ],
  3968. "produces": [
  3969. "application/json"
  3970. ],
  3971. "tags": [
  3972. "企业风险管理v3(app)"
  3973. ],
  3974. "summary": "查询品种要素定义项",
  3975. "parameters": [
  3976. {
  3977. "type": "integer",
  3978. "description": "用户id",
  3979. "name": "userid",
  3980. "in": "query"
  3981. },
  3982. {
  3983. "type": "integer",
  3984. "description": "用户类型 2-机构 7-企业成员",
  3985. "name": "usertype",
  3986. "in": "query"
  3987. },
  3988. {
  3989. "type": "integer",
  3990. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3991. "name": "dgfactoryitemid",
  3992. "in": "query"
  3993. },
  3994. {
  3995. "type": "integer",
  3996. "description": "现货品种ID",
  3997. "name": "deliverygoodsid",
  3998. "in": "query"
  3999. },
  4000. {
  4001. "type": "integer",
  4002. "description": "要素项类型",
  4003. "name": "dgfactoryitemtypeid",
  4004. "in": "query"
  4005. },
  4006. {
  4007. "type": "integer",
  4008. "description": "顺序",
  4009. "name": "orderindex",
  4010. "in": "query"
  4011. }
  4012. ],
  4013. "responses": {
  4014. "200": {
  4015. "description": "OK",
  4016. "schema": {
  4017. "type": "array",
  4018. "items": {
  4019. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4020. }
  4021. }
  4022. },
  4023. "500": {
  4024. "description": "Internal Server Error",
  4025. "schema": {
  4026. "$ref": "#/definitions/app.Response"
  4027. }
  4028. }
  4029. }
  4030. }
  4031. },
  4032. "/Ermcp3/QueryDeliveryGoods": {
  4033. "get": {
  4034. "security": [
  4035. {
  4036. "ApiKeyAuth": []
  4037. }
  4038. ],
  4039. "produces": [
  4040. "application/json"
  4041. ],
  4042. "tags": [
  4043. "企业风险管理v3(app)"
  4044. ],
  4045. "summary": "查询现货商品",
  4046. "parameters": [
  4047. {
  4048. "type": "integer",
  4049. "description": "用户id",
  4050. "name": "userid",
  4051. "in": "query",
  4052. "required": true
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "用户类型 2-机构 7-企业成员",
  4057. "name": "usertype",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4063. "name": "excludecfg",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "type": "array",
  4072. "items": {
  4073. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4074. }
  4075. }
  4076. },
  4077. "500": {
  4078. "description": "Internal Server Error",
  4079. "schema": {
  4080. "$ref": "#/definitions/app.Response"
  4081. }
  4082. }
  4083. }
  4084. }
  4085. },
  4086. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4087. "get": {
  4088. "security": [
  4089. {
  4090. "ApiKeyAuth": []
  4091. }
  4092. ],
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "企业风险管理v3(app)"
  4098. ],
  4099. "summary": "查询现货商品详情",
  4100. "parameters": [
  4101. {
  4102. "type": "integer",
  4103. "description": "用户id",
  4104. "name": "userid",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "用户类型 2-机构 7-企业成员",
  4111. "name": "usertype",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "现货商品id",
  4117. "name": "deliverygoodsid",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.XHDeliveryGoods"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryExposureDetail": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询敞口现货明细",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "套保商品",
  4171. "name": "middlegoodsid",
  4172. "in": "query",
  4173. "required": true
  4174. }
  4175. ],
  4176. "responses": {
  4177. "200": {
  4178. "description": "OK",
  4179. "schema": {
  4180. "type": "array",
  4181. "items": {
  4182. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4183. }
  4184. }
  4185. },
  4186. "500": {
  4187. "description": "Internal Server Error",
  4188. "schema": {
  4189. "$ref": "#/definitions/app.Response"
  4190. }
  4191. }
  4192. }
  4193. }
  4194. },
  4195. "/Ermcp3/QueryExposureSpot": {
  4196. "get": {
  4197. "security": [
  4198. {
  4199. "ApiKeyAuth": []
  4200. }
  4201. ],
  4202. "produces": [
  4203. "application/json"
  4204. ],
  4205. "tags": [
  4206. "企业风险管理v3(app)"
  4207. ],
  4208. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4209. "parameters": [
  4210. {
  4211. "type": "integer",
  4212. "description": "用户id",
  4213. "name": "userid",
  4214. "in": "query",
  4215. "required": true
  4216. },
  4217. {
  4218. "type": "integer",
  4219. "description": "用户类型 2-机构 7-企业成员",
  4220. "name": "usertype",
  4221. "in": "query"
  4222. }
  4223. ],
  4224. "responses": {
  4225. "200": {
  4226. "description": "OK",
  4227. "schema": {
  4228. "type": "array",
  4229. "items": {
  4230. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4231. }
  4232. }
  4233. },
  4234. "500": {
  4235. "description": "Internal Server Error",
  4236. "schema": {
  4237. "$ref": "#/definitions/app.Response"
  4238. }
  4239. }
  4240. }
  4241. }
  4242. },
  4243. "/Ermcp3/QueryExposureSpotDetail": {
  4244. "get": {
  4245. "security": [
  4246. {
  4247. "ApiKeyAuth": []
  4248. }
  4249. ],
  4250. "produces": [
  4251. "application/json"
  4252. ],
  4253. "tags": [
  4254. "企业风险管理v3(app)"
  4255. ],
  4256. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4257. "parameters": [
  4258. {
  4259. "type": "integer",
  4260. "description": "用户id",
  4261. "name": "userid",
  4262. "in": "query",
  4263. "required": true
  4264. },
  4265. {
  4266. "type": "integer",
  4267. "description": "用户类型 2-机构 7-企业成员",
  4268. "name": "usertype",
  4269. "in": "query"
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "现货商品ID",
  4274. "name": "wrstandardid",
  4275. "in": "query",
  4276. "required": true
  4277. }
  4278. ],
  4279. "responses": {
  4280. "200": {
  4281. "description": "OK",
  4282. "schema": {
  4283. "type": "array",
  4284. "items": {
  4285. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4286. }
  4287. }
  4288. },
  4289. "500": {
  4290. "description": "Internal Server Error",
  4291. "schema": {
  4292. "$ref": "#/definitions/app.Response"
  4293. }
  4294. }
  4295. }
  4296. }
  4297. },
  4298. "/Ermcp3/QueryGoodsGroup": {
  4299. "get": {
  4300. "security": [
  4301. {
  4302. "ApiKeyAuth": []
  4303. }
  4304. ],
  4305. "produces": [
  4306. "application/json"
  4307. ],
  4308. "tags": [
  4309. "企业风险管理v3(app)"
  4310. ],
  4311. "summary": "查询期货商品组",
  4312. "parameters": [
  4313. {
  4314. "type": "integer",
  4315. "description": "用户id",
  4316. "name": "userid",
  4317. "in": "query",
  4318. "required": true
  4319. },
  4320. {
  4321. "type": "integer",
  4322. "description": "用户类型 2-机构 7-企业成员",
  4323. "name": "usertype",
  4324. "in": "query"
  4325. },
  4326. {
  4327. "type": "integer",
  4328. "description": "排除套保品中已关联的商品组 1-排除",
  4329. "name": "excludecfg",
  4330. "in": "query"
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsWrstandard": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询商品品类",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "现货商品id",
  4383. "name": "deliverygoodsid",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsbrand": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品牌",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. }
  4434. ],
  4435. "responses": {
  4436. "200": {
  4437. "description": "OK",
  4438. "schema": {
  4439. "type": "array",
  4440. "items": {
  4441. "$ref": "#/definitions/models.Ermcp3Brand"
  4442. }
  4443. }
  4444. },
  4445. "500": {
  4446. "description": "Internal Server Error",
  4447. "schema": {
  4448. "$ref": "#/definitions/app.Response"
  4449. }
  4450. }
  4451. }
  4452. }
  4453. },
  4454. "/Ermcp3/QueryHedgePlan": {
  4455. "get": {
  4456. "security": [
  4457. {
  4458. "ApiKeyAuth": []
  4459. }
  4460. ],
  4461. "produces": [
  4462. "application/json"
  4463. ],
  4464. "tags": [
  4465. "企业风险管理v3(app)"
  4466. ],
  4467. "summary": "查询套保计划",
  4468. "parameters": [
  4469. {
  4470. "type": "integer",
  4471. "description": "用户ID",
  4472. "name": "userid",
  4473. "in": "query",
  4474. "required": true
  4475. },
  4476. {
  4477. "type": "integer",
  4478. "description": "用户类型 2-机构 7-企业成员",
  4479. "name": "usertype",
  4480. "in": "query"
  4481. },
  4482. {
  4483. "type": "string",
  4484. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4485. "name": "hedgeplanstatus",
  4486. "in": "query",
  4487. "required": true
  4488. }
  4489. ],
  4490. "responses": {
  4491. "200": {
  4492. "description": "OK",
  4493. "schema": {
  4494. "type": "array",
  4495. "items": {
  4496. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4497. }
  4498. }
  4499. },
  4500. "500": {
  4501. "description": "Internal Server Error",
  4502. "schema": {
  4503. "$ref": "#/definitions/app.Response"
  4504. }
  4505. }
  4506. }
  4507. }
  4508. },
  4509. "/Ermcp3/QueryInnerTradeLink": {
  4510. "get": {
  4511. "security": [
  4512. {
  4513. "ApiKeyAuth": []
  4514. }
  4515. ],
  4516. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4517. "produces": [
  4518. "application/json"
  4519. ],
  4520. "tags": [
  4521. "企业风险管理v3(app)"
  4522. ],
  4523. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4524. "parameters": [
  4525. {
  4526. "type": "integer",
  4527. "description": "外部成交单号",
  4528. "name": "outtradeid",
  4529. "in": "query",
  4530. "required": true
  4531. }
  4532. ],
  4533. "responses": {
  4534. "200": {
  4535. "description": "OK",
  4536. "schema": {
  4537. "type": "array",
  4538. "items": {
  4539. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4540. }
  4541. }
  4542. },
  4543. "500": {
  4544. "description": "Internal Server Error",
  4545. "schema": {
  4546. "$ref": "#/definitions/app.Response"
  4547. }
  4548. }
  4549. }
  4550. }
  4551. },
  4552. "/Ermcp3/QueryMiddleGoodsDetail": {
  4553. "get": {
  4554. "security": [
  4555. {
  4556. "ApiKeyAuth": []
  4557. }
  4558. ],
  4559. "produces": [
  4560. "application/json"
  4561. ],
  4562. "tags": [
  4563. "企业风险管理v3(app)"
  4564. ],
  4565. "summary": "查询套保品种详情(套保品种/商品详情)",
  4566. "parameters": [
  4567. {
  4568. "type": "integer",
  4569. "description": "用户id",
  4570. "name": "userid",
  4571. "in": "query",
  4572. "required": true
  4573. },
  4574. {
  4575. "type": "integer",
  4576. "description": "用户类型 2-机构 7-企业成员",
  4577. "name": "usertype",
  4578. "in": "query"
  4579. },
  4580. {
  4581. "type": "integer",
  4582. "description": "套保品种id",
  4583. "name": "middlegoodsid",
  4584. "in": "query"
  4585. }
  4586. ],
  4587. "responses": {
  4588. "200": {
  4589. "description": "OK",
  4590. "schema": {
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.TBMiddleGoods"
  4594. }
  4595. }
  4596. },
  4597. "500": {
  4598. "description": "Internal Server Error",
  4599. "schema": {
  4600. "$ref": "#/definitions/app.Response"
  4601. }
  4602. }
  4603. }
  4604. }
  4605. },
  4606. "/Ermcp3/QueryOutTradeLink": {
  4607. "get": {
  4608. "security": [
  4609. {
  4610. "ApiKeyAuth": []
  4611. }
  4612. ],
  4613. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4614. "produces": [
  4615. "application/json"
  4616. ],
  4617. "tags": [
  4618. "企业风险管理v3(app)"
  4619. ],
  4620. "summary": "查询外部成交单关联",
  4621. "parameters": [
  4622. {
  4623. "type": "integer",
  4624. "description": "用户ID(填登录用户的userid)",
  4625. "name": "userid",
  4626. "in": "query",
  4627. "required": true
  4628. },
  4629. {
  4630. "type": "string",
  4631. "description": "外部订单号(模糊匹配)",
  4632. "name": "outtradeid",
  4633. "in": "query"
  4634. },
  4635. {
  4636. "type": "string",
  4637. "description": "合约名称/代码(模糊匹配)",
  4638. "name": "goodsname",
  4639. "in": "query"
  4640. },
  4641. {
  4642. "type": "integer",
  4643. "description": "关联状态 0-未关联 1-已关联",
  4644. "name": "hasinnerorder",
  4645. "in": "query"
  4646. }
  4647. ],
  4648. "responses": {
  4649. "200": {
  4650. "description": "OK",
  4651. "schema": {
  4652. "type": "array",
  4653. "items": {
  4654. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4655. }
  4656. }
  4657. },
  4658. "500": {
  4659. "description": "Internal Server Error",
  4660. "schema": {
  4661. "$ref": "#/definitions/app.Response"
  4662. }
  4663. }
  4664. }
  4665. }
  4666. },
  4667. "/Ermcp3/QueryPaAreaAuditCfg": {
  4668. "get": {
  4669. "security": [
  4670. {
  4671. "ApiKeyAuth": []
  4672. }
  4673. ],
  4674. "produces": [
  4675. "application/json"
  4676. ],
  4677. "tags": [
  4678. "企业风险管理v3(app)"
  4679. ],
  4680. "summary": "查询审核设置",
  4681. "parameters": [
  4682. {
  4683. "type": "integer",
  4684. "description": "用户id",
  4685. "name": "userid",
  4686. "in": "query",
  4687. "required": true
  4688. }
  4689. ],
  4690. "responses": {
  4691. "200": {
  4692. "description": "OK",
  4693. "schema": {
  4694. "type": "array",
  4695. "items": {
  4696. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4697. }
  4698. }
  4699. },
  4700. "500": {
  4701. "description": "Internal Server Error",
  4702. "schema": {
  4703. "$ref": "#/definitions/app.Response"
  4704. }
  4705. }
  4706. }
  4707. }
  4708. },
  4709. "/Ermcp3/QueryPaAreaSubject": {
  4710. "get": {
  4711. "security": [
  4712. {
  4713. "ApiKeyAuth": []
  4714. }
  4715. ],
  4716. "produces": [
  4717. "application/json"
  4718. ],
  4719. "tags": [
  4720. "企业风险管理v3(app)"
  4721. ],
  4722. "summary": "查询交易主体",
  4723. "parameters": [
  4724. {
  4725. "type": "integer",
  4726. "description": "用户id",
  4727. "name": "userid",
  4728. "in": "query",
  4729. "required": true
  4730. },
  4731. {
  4732. "type": "integer",
  4733. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4734. "name": "subjectid",
  4735. "in": "query"
  4736. },
  4737. {
  4738. "type": "integer",
  4739. "description": "主体类型 - 1:交易主体 2:业务部门",
  4740. "name": "subjecttype",
  4741. "in": "query"
  4742. },
  4743. {
  4744. "type": "integer",
  4745. "description": "主体状态 - 1:正常 2: 停用",
  4746. "name": "subjectstatus",
  4747. "in": "query"
  4748. }
  4749. ],
  4750. "responses": {
  4751. "200": {
  4752. "description": "OK",
  4753. "schema": {
  4754. "type": "array",
  4755. "items": {
  4756. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4757. }
  4758. }
  4759. },
  4760. "500": {
  4761. "description": "Internal Server Error",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. }
  4766. }
  4767. }
  4768. },
  4769. "/Ermcp3/QueryPaTradeLink": {
  4770. "get": {
  4771. "security": [
  4772. {
  4773. "ApiKeyAuth": []
  4774. }
  4775. ],
  4776. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4777. "produces": [
  4778. "application/json"
  4779. ],
  4780. "tags": [
  4781. "企业风险管理v3(app)"
  4782. ],
  4783. "summary": "查询期现单据关联",
  4784. "parameters": [
  4785. {
  4786. "type": "integer",
  4787. "description": "用户ID",
  4788. "name": "userid",
  4789. "in": "query",
  4790. "required": true
  4791. }
  4792. ],
  4793. "responses": {
  4794. "200": {
  4795. "description": "OK",
  4796. "schema": {
  4797. "type": "array",
  4798. "items": {
  4799. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4800. }
  4801. }
  4802. },
  4803. "500": {
  4804. "description": "Internal Server Error",
  4805. "schema": {
  4806. "$ref": "#/definitions/app.Response"
  4807. }
  4808. }
  4809. }
  4810. }
  4811. },
  4812. "/Ermcp3/QueryPaTradeLinkDetail": {
  4813. "get": {
  4814. "security": [
  4815. {
  4816. "ApiKeyAuth": []
  4817. }
  4818. ],
  4819. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4820. "produces": [
  4821. "application/json"
  4822. ],
  4823. "tags": [
  4824. "企业风险管理v3(app)"
  4825. ],
  4826. "summary": "查询期现关联记录",
  4827. "parameters": [
  4828. {
  4829. "type": "integer",
  4830. "description": "用户ID(填登录用户的userid)",
  4831. "name": "userid",
  4832. "in": "query",
  4833. "required": true
  4834. },
  4835. {
  4836. "type": "string",
  4837. "description": "期货订单号(模糊匹配)",
  4838. "name": "tradeid",
  4839. "in": "query"
  4840. },
  4841. {
  4842. "type": "string",
  4843. "description": "现货编号(模糊匹配)",
  4844. "name": "contractno",
  4845. "in": "query"
  4846. },
  4847. {
  4848. "type": "string",
  4849. "description": "期货账户(模糊匹配)",
  4850. "name": "taname",
  4851. "in": "query"
  4852. }
  4853. ],
  4854. "responses": {
  4855. "200": {
  4856. "description": "OK",
  4857. "schema": {
  4858. "type": "array",
  4859. "items": {
  4860. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4861. }
  4862. }
  4863. },
  4864. "500": {
  4865. "description": "Internal Server Error",
  4866. "schema": {
  4867. "$ref": "#/definitions/app.Response"
  4868. }
  4869. }
  4870. }
  4871. }
  4872. },
  4873. "/Ermcp3/QueryRootUserAccount": {
  4874. "get": {
  4875. "security": [
  4876. {
  4877. "ApiKeyAuth": []
  4878. }
  4879. ],
  4880. "produces": [
  4881. "application/json"
  4882. ],
  4883. "tags": [
  4884. "企业风险管理v3(app)"
  4885. ],
  4886. "summary": "查询顶级用户信息",
  4887. "parameters": [
  4888. {
  4889. "type": "integer",
  4890. "description": "用户ID",
  4891. "name": "userid",
  4892. "in": "query",
  4893. "required": true
  4894. }
  4895. ],
  4896. "responses": {
  4897. "200": {
  4898. "description": "OK",
  4899. "schema": {
  4900. "type": "array",
  4901. "items": {
  4902. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4903. }
  4904. }
  4905. },
  4906. "500": {
  4907. "description": "Internal Server Error",
  4908. "schema": {
  4909. "$ref": "#/definitions/app.Response"
  4910. }
  4911. }
  4912. }
  4913. }
  4914. },
  4915. "/Ermcp3/QuerySCMiddleGoods": {
  4916. "get": {
  4917. "security": [
  4918. {
  4919. "ApiKeyAuth": []
  4920. }
  4921. ],
  4922. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  4923. "produces": [
  4924. "application/json"
  4925. ],
  4926. "tags": [
  4927. "企业风险管理v3(app)"
  4928. ],
  4929. "summary": "查询现货订单",
  4930. "parameters": [
  4931. {
  4932. "type": "integer",
  4933. "description": "用户ID(填登录用户的userid)",
  4934. "name": "userid",
  4935. "in": "query",
  4936. "required": true
  4937. },
  4938. {
  4939. "type": "integer",
  4940. "description": "买卖方向 0-买 1-卖",
  4941. "name": "buyorsell",
  4942. "in": "query",
  4943. "required": true
  4944. },
  4945. {
  4946. "type": "integer",
  4947. "description": "商品组id",
  4948. "name": "goodsgroupid",
  4949. "in": "query",
  4950. "required": true
  4951. },
  4952. {
  4953. "type": "string",
  4954. "description": "现货编号(模糊匹配)",
  4955. "name": "contractno",
  4956. "in": "query"
  4957. },
  4958. {
  4959. "type": "string",
  4960. "description": "对手方(模糊匹配)",
  4961. "name": "customername",
  4962. "in": "query"
  4963. },
  4964. {
  4965. "type": "string",
  4966. "description": "现货商品名称(模糊匹配)",
  4967. "name": "wrstandardname",
  4968. "in": "query"
  4969. }
  4970. ],
  4971. "responses": {
  4972. "200": {
  4973. "description": "OK",
  4974. "schema": {
  4975. "type": "array",
  4976. "items": {
  4977. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  4978. }
  4979. }
  4980. },
  4981. "500": {
  4982. "description": "Internal Server Error",
  4983. "schema": {
  4984. "$ref": "#/definitions/app.Response"
  4985. }
  4986. }
  4987. }
  4988. }
  4989. },
  4990. "/Ermcp3/QuerySpotContract": {
  4991. "get": {
  4992. "security": [
  4993. {
  4994. "ApiKeyAuth": []
  4995. }
  4996. ],
  4997. "produces": [
  4998. "application/json"
  4999. ],
  5000. "tags": [
  5001. "企业风险管理v3(app)"
  5002. ],
  5003. "summary": "查询现货合同",
  5004. "parameters": [
  5005. {
  5006. "type": "integer",
  5007. "description": "用户id(当指定contractid, userid可不填)",
  5008. "name": "userid",
  5009. "in": "query",
  5010. "required": true
  5011. },
  5012. {
  5013. "type": "integer",
  5014. "description": "用户类型 2-机构 7-企业成员",
  5015. "name": "usertype",
  5016. "in": "query"
  5017. },
  5018. {
  5019. "type": "integer",
  5020. "description": "合同类型 1-采购, -1-销售",
  5021. "name": "contracttype",
  5022. "in": "query"
  5023. },
  5024. {
  5025. "type": "integer",
  5026. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)",
  5027. "name": "querytype",
  5028. "in": "query",
  5029. "required": true
  5030. },
  5031. {
  5032. "type": "string",
  5033. "description": "合同ID(SpotContractId)",
  5034. "name": "contractid",
  5035. "in": "query"
  5036. }
  5037. ],
  5038. "responses": {
  5039. "200": {
  5040. "description": "OK",
  5041. "schema": {
  5042. "type": "array",
  5043. "items": {
  5044. "$ref": "#/definitions/models.Ermcp3Contract"
  5045. }
  5046. }
  5047. },
  5048. "500": {
  5049. "description": "Internal Server Error",
  5050. "schema": {
  5051. "$ref": "#/definitions/app.Response"
  5052. }
  5053. }
  5054. }
  5055. }
  5056. },
  5057. "/Ermcp3/QuerySpotContractBS": {
  5058. "get": {
  5059. "security": [
  5060. {
  5061. "ApiKeyAuth": []
  5062. }
  5063. ],
  5064. "produces": [
  5065. "application/json"
  5066. ],
  5067. "tags": [
  5068. "企业风险管理v3(app)"
  5069. ],
  5070. "summary": "查询合同(采购/销售)",
  5071. "parameters": [
  5072. {
  5073. "type": "integer",
  5074. "description": "用户id",
  5075. "name": "userid",
  5076. "in": "query",
  5077. "required": true
  5078. },
  5079. {
  5080. "type": "integer",
  5081. "description": "用户类型 2-机构 7-企业成员",
  5082. "name": "usertype",
  5083. "in": "query"
  5084. },
  5085. {
  5086. "type": "integer",
  5087. "description": "合同类型 1-采购, -1-销售",
  5088. "name": "contracttype",
  5089. "in": "query",
  5090. "required": true
  5091. },
  5092. {
  5093. "type": "integer",
  5094. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5095. "name": "querytype",
  5096. "in": "query",
  5097. "required": true
  5098. },
  5099. {
  5100. "type": "string",
  5101. "description": "合同ID(SpotContractId)",
  5102. "name": "contractid",
  5103. "in": "query"
  5104. }
  5105. ],
  5106. "responses": {
  5107. "200": {
  5108. "description": "OK",
  5109. "schema": {
  5110. "type": "array",
  5111. "items": {
  5112. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5113. }
  5114. }
  5115. },
  5116. "500": {
  5117. "description": "Internal Server Error",
  5118. "schema": {
  5119. "$ref": "#/definitions/app.Response"
  5120. }
  5121. }
  5122. }
  5123. }
  5124. },
  5125. "/Ermcp3/QuerySpotGoodsPrice": {
  5126. "get": {
  5127. "security": [
  5128. {
  5129. "ApiKeyAuth": []
  5130. }
  5131. ],
  5132. "produces": [
  5133. "application/json"
  5134. ],
  5135. "tags": [
  5136. "企业风险管理v3(app)"
  5137. ],
  5138. "summary": "查询现货市价(现货市价)",
  5139. "parameters": [
  5140. {
  5141. "type": "integer",
  5142. "description": "用户ID",
  5143. "name": "userid",
  5144. "in": "query",
  5145. "required": true
  5146. }
  5147. ],
  5148. "responses": {
  5149. "200": {
  5150. "description": "OK",
  5151. "schema": {
  5152. "type": "array",
  5153. "items": {
  5154. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5155. }
  5156. }
  5157. },
  5158. "500": {
  5159. "description": "Internal Server Error",
  5160. "schema": {
  5161. "$ref": "#/definitions/app.Response"
  5162. }
  5163. }
  5164. }
  5165. }
  5166. },
  5167. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5168. "get": {
  5169. "security": [
  5170. {
  5171. "ApiKeyAuth": []
  5172. }
  5173. ],
  5174. "produces": [
  5175. "application/json"
  5176. ],
  5177. "tags": [
  5178. "企业风险管理v3(app)"
  5179. ],
  5180. "summary": "查询现货市价详情(现货市价/详情)",
  5181. "parameters": [
  5182. {
  5183. "type": "integer",
  5184. "description": "用户ID",
  5185. "name": "userid",
  5186. "in": "query",
  5187. "required": true
  5188. },
  5189. {
  5190. "type": "integer",
  5191. "description": "现货商品ID",
  5192. "name": "deliverygoodsid",
  5193. "in": "query",
  5194. "required": true
  5195. },
  5196. {
  5197. "type": "integer",
  5198. "description": "品牌ID",
  5199. "name": "brandid",
  5200. "in": "query"
  5201. },
  5202. {
  5203. "type": "integer",
  5204. "description": "品类ID",
  5205. "name": "wrstandardid",
  5206. "in": "query"
  5207. }
  5208. ],
  5209. "responses": {
  5210. "200": {
  5211. "description": "OK",
  5212. "schema": {
  5213. "type": "array",
  5214. "items": {
  5215. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5216. }
  5217. }
  5218. },
  5219. "500": {
  5220. "description": "Internal Server Error",
  5221. "schema": {
  5222. "$ref": "#/definitions/app.Response"
  5223. }
  5224. }
  5225. }
  5226. }
  5227. },
  5228. "/Ermcp3/QuerySubTaaccount": {
  5229. "get": {
  5230. "security": [
  5231. {
  5232. "ApiKeyAuth": []
  5233. }
  5234. ],
  5235. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5236. "produces": [
  5237. "application/json"
  5238. ],
  5239. "tags": [
  5240. "企业风险管理v3(app)"
  5241. ],
  5242. "summary": "查询期货子账户",
  5243. "parameters": [
  5244. {
  5245. "type": "integer",
  5246. "description": "母账号id",
  5247. "name": "parentaccountid",
  5248. "in": "query"
  5249. },
  5250. {
  5251. "type": "string",
  5252. "description": "母账号代码",
  5253. "name": "parentaccountcode",
  5254. "in": "query"
  5255. }
  5256. ],
  5257. "responses": {
  5258. "200": {
  5259. "description": "OK",
  5260. "schema": {
  5261. "type": "array",
  5262. "items": {
  5263. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5264. }
  5265. }
  5266. },
  5267. "500": {
  5268. "description": "Internal Server Error",
  5269. "schema": {
  5270. "$ref": "#/definitions/app.Response"
  5271. }
  5272. }
  5273. }
  5274. }
  5275. },
  5276. "/Erms2/QueryArbitrageStrategy": {
  5277. "get": {
  5278. "security": [
  5279. {
  5280. "ApiKeyAuth": []
  5281. }
  5282. ],
  5283. "produces": [
  5284. "application/json"
  5285. ],
  5286. "tags": [
  5287. "风险管理"
  5288. ],
  5289. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5290. "parameters": [
  5291. {
  5292. "type": "integer",
  5293. "description": "账户ID",
  5294. "name": "userid",
  5295. "in": "query",
  5296. "required": true
  5297. },
  5298. {
  5299. "type": "string",
  5300. "description": "商品组ID(品种ID)",
  5301. "name": "goodsgroupid",
  5302. "in": "query"
  5303. }
  5304. ],
  5305. "responses": {
  5306. "200": {
  5307. "description": "OK",
  5308. "schema": {
  5309. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5310. }
  5311. },
  5312. "500": {
  5313. "description": "Internal Server Error",
  5314. "schema": {
  5315. "$ref": "#/definitions/app.Response"
  5316. }
  5317. }
  5318. }
  5319. }
  5320. },
  5321. "/Erms2/QueryInnerTradeDetail": {
  5322. "get": {
  5323. "security": [
  5324. {
  5325. "ApiKeyAuth": []
  5326. }
  5327. ],
  5328. "produces": [
  5329. "application/json"
  5330. ],
  5331. "tags": [
  5332. "风险管理"
  5333. ],
  5334. "summary": "查询内部成交单信息",
  5335. "parameters": [
  5336. {
  5337. "type": "integer",
  5338. "description": "资金账户",
  5339. "name": "accountid",
  5340. "in": "query",
  5341. "required": true
  5342. }
  5343. ],
  5344. "responses": {
  5345. "200": {
  5346. "description": "OK",
  5347. "schema": {
  5348. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5349. }
  5350. },
  5351. "500": {
  5352. "description": "Internal Server Error",
  5353. "schema": {
  5354. "$ref": "#/definitions/app.Response"
  5355. }
  5356. }
  5357. }
  5358. }
  5359. },
  5360. "/Erms2/QuerySpotContract": {
  5361. "get": {
  5362. "security": [
  5363. {
  5364. "ApiKeyAuth": []
  5365. }
  5366. ],
  5367. "produces": [
  5368. "application/json"
  5369. ],
  5370. "tags": [
  5371. "风险管理"
  5372. ],
  5373. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5374. "parameters": [
  5375. {
  5376. "type": "integer",
  5377. "description": "策略申请ID",
  5378. "name": "asapplyid",
  5379. "in": "query",
  5380. "required": true
  5381. },
  5382. {
  5383. "type": "integer",
  5384. "description": "现货合同ID",
  5385. "name": "spotcontractid",
  5386. "in": "query"
  5387. }
  5388. ],
  5389. "responses": {
  5390. "200": {
  5391. "description": "OK",
  5392. "schema": {
  5393. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5394. }
  5395. },
  5396. "500": {
  5397. "description": "Internal Server Error",
  5398. "schema": {
  5399. "$ref": "#/definitions/app.Response"
  5400. }
  5401. }
  5402. }
  5403. }
  5404. },
  5405. "/Erms3/AddErms2ASApply": {
  5406. "post": {
  5407. "security": [
  5408. {
  5409. "ApiKeyAuth": []
  5410. }
  5411. ],
  5412. "produces": [
  5413. "application/json"
  5414. ],
  5415. "tags": [
  5416. "风险管理v3"
  5417. ],
  5418. "summary": "新增期现套利业务申请",
  5419. "parameters": [
  5420. {
  5421. "description": "申请参数",
  5422. "name": "jsonBody",
  5423. "in": "body",
  5424. "required": true,
  5425. "schema": {
  5426. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5427. }
  5428. }
  5429. ],
  5430. "responses": {
  5431. "200": {
  5432. "description": "OK",
  5433. "schema": {
  5434. "$ref": "#/definitions/app.Response"
  5435. }
  5436. },
  5437. "500": {
  5438. "description": "Internal Server Error",
  5439. "schema": {
  5440. "$ref": "#/definitions/app.Response"
  5441. }
  5442. }
  5443. }
  5444. }
  5445. },
  5446. "/Erms3/AddErms2SpotTradeApply": {
  5447. "post": {
  5448. "security": [
  5449. {
  5450. "ApiKeyAuth": []
  5451. }
  5452. ],
  5453. "produces": [
  5454. "application/json"
  5455. ],
  5456. "tags": [
  5457. "风险管理v3"
  5458. ],
  5459. "summary": "新增现货贸易业务申请",
  5460. "parameters": [
  5461. {
  5462. "description": "申请参数",
  5463. "name": "jsonBody",
  5464. "in": "body",
  5465. "required": true,
  5466. "schema": {
  5467. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5468. }
  5469. }
  5470. ],
  5471. "responses": {
  5472. "200": {
  5473. "description": "OK",
  5474. "schema": {
  5475. "$ref": "#/definitions/app.Response"
  5476. }
  5477. },
  5478. "500": {
  5479. "description": "Internal Server Error",
  5480. "schema": {
  5481. "$ref": "#/definitions/app.Response"
  5482. }
  5483. }
  5484. }
  5485. }
  5486. },
  5487. "/Erms3/AddSpotContractApply": {
  5488. "post": {
  5489. "security": [
  5490. {
  5491. "ApiKeyAuth": []
  5492. }
  5493. ],
  5494. "produces": [
  5495. "application/json"
  5496. ],
  5497. "tags": [
  5498. "风险管理v3"
  5499. ],
  5500. "summary": "新增现货合同申请",
  5501. "parameters": [
  5502. {
  5503. "description": "申请参数",
  5504. "name": "jsonBody",
  5505. "in": "body",
  5506. "required": true,
  5507. "schema": {
  5508. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5509. }
  5510. }
  5511. ],
  5512. "responses": {
  5513. "200": {
  5514. "description": "OK",
  5515. "schema": {
  5516. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5517. }
  5518. },
  5519. "500": {
  5520. "description": "Internal Server Error",
  5521. "schema": {
  5522. "$ref": "#/definitions/app.Response"
  5523. }
  5524. }
  5525. }
  5526. }
  5527. },
  5528. "/Erms3/AddUserInfoApply": {
  5529. "post": {
  5530. "security": [
  5531. {
  5532. "ApiKeyAuth": []
  5533. }
  5534. ],
  5535. "produces": [
  5536. "application/json"
  5537. ],
  5538. "tags": [
  5539. "风险管理v3"
  5540. ],
  5541. "summary": "新增客户申请",
  5542. "parameters": [
  5543. {
  5544. "description": "用户信息",
  5545. "name": "jsonBody",
  5546. "in": "body",
  5547. "required": true,
  5548. "schema": {
  5549. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5550. }
  5551. }
  5552. ],
  5553. "responses": {
  5554. "200": {
  5555. "description": "OK",
  5556. "schema": {
  5557. "$ref": "#/definitions/app.Response"
  5558. }
  5559. },
  5560. "500": {
  5561. "description": "Internal Server Error",
  5562. "schema": {
  5563. "$ref": "#/definitions/app.Response"
  5564. }
  5565. }
  5566. }
  5567. }
  5568. },
  5569. "/Erms3/DeleteUserInfoApply": {
  5570. "get": {
  5571. "security": [
  5572. {
  5573. "ApiKeyAuth": []
  5574. }
  5575. ],
  5576. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5577. "produces": [
  5578. "application/json"
  5579. ],
  5580. "tags": [
  5581. "风险管理v3"
  5582. ],
  5583. "summary": "删除客户申请",
  5584. "parameters": [
  5585. {
  5586. "type": "integer",
  5587. "description": "用户ID",
  5588. "name": "userID",
  5589. "in": "query",
  5590. "required": true
  5591. }
  5592. ],
  5593. "responses": {
  5594. "200": {
  5595. "description": "OK",
  5596. "schema": {
  5597. "$ref": "#/definitions/app.Response"
  5598. }
  5599. },
  5600. "500": {
  5601. "description": "Internal Server Error",
  5602. "schema": {
  5603. "$ref": "#/definitions/app.Response"
  5604. }
  5605. }
  5606. }
  5607. }
  5608. },
  5609. "/Erms3/ModifyUserInfoApply": {
  5610. "post": {
  5611. "security": [
  5612. {
  5613. "ApiKeyAuth": []
  5614. }
  5615. ],
  5616. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5617. "produces": [
  5618. "application/json"
  5619. ],
  5620. "tags": [
  5621. "风险管理v3"
  5622. ],
  5623. "summary": "修改客户申请",
  5624. "parameters": [
  5625. {
  5626. "description": "用户信息",
  5627. "name": "jsonBody",
  5628. "in": "body",
  5629. "required": true,
  5630. "schema": {
  5631. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5632. }
  5633. }
  5634. ],
  5635. "responses": {
  5636. "200": {
  5637. "description": "OK",
  5638. "schema": {
  5639. "$ref": "#/definitions/app.Response"
  5640. }
  5641. },
  5642. "500": {
  5643. "description": "Internal Server Error",
  5644. "schema": {
  5645. "$ref": "#/definitions/app.Response"
  5646. }
  5647. }
  5648. }
  5649. }
  5650. },
  5651. "/Erms3/QueryBusinessInfo": {
  5652. "get": {
  5653. "security": [
  5654. {
  5655. "ApiKeyAuth": []
  5656. }
  5657. ],
  5658. "produces": [
  5659. "application/json"
  5660. ],
  5661. "tags": [
  5662. "风险管理v3"
  5663. ],
  5664. "summary": "查询业务表单数据",
  5665. "parameters": [
  5666. {
  5667. "type": "string",
  5668. "description": "资金账号ID列表,用逗号分隔",
  5669. "name": "accountids",
  5670. "in": "query",
  5671. "required": true
  5672. },
  5673. {
  5674. "type": "integer",
  5675. "description": "状态,0为未结束 1为已结束",
  5676. "name": "status",
  5677. "in": "query",
  5678. "required": true
  5679. }
  5680. ],
  5681. "responses": {
  5682. "200": {
  5683. "description": "OK",
  5684. "schema": {
  5685. "type": "array",
  5686. "items": {
  5687. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5688. }
  5689. }
  5690. },
  5691. "500": {
  5692. "description": "Internal Server Error",
  5693. "schema": {
  5694. "$ref": "#/definitions/app.Response"
  5695. }
  5696. }
  5697. }
  5698. }
  5699. },
  5700. "/Erms3/QueryPendingAuditContract": {
  5701. "get": {
  5702. "security": [
  5703. {
  5704. "ApiKeyAuth": []
  5705. }
  5706. ],
  5707. "produces": [
  5708. "application/json"
  5709. ],
  5710. "tags": [
  5711. "风险管理v3"
  5712. ],
  5713. "summary": "查询待审核合同",
  5714. "parameters": [
  5715. {
  5716. "type": "string",
  5717. "description": "资金账号ID列表,逗号隔开",
  5718. "name": "accountids",
  5719. "in": "query",
  5720. "required": true
  5721. },
  5722. {
  5723. "type": "integer",
  5724. "description": "合同类型 1-采购 -1-销售",
  5725. "name": "contracttype",
  5726. "in": "query",
  5727. "required": true
  5728. },
  5729. {
  5730. "type": "integer",
  5731. "description": "合同模式 1-普通 2-回购",
  5732. "name": "contractmode",
  5733. "in": "query",
  5734. "required": true
  5735. }
  5736. ],
  5737. "responses": {
  5738. "200": {
  5739. "description": "OK",
  5740. "schema": {
  5741. "type": "array",
  5742. "items": {
  5743. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5744. }
  5745. }
  5746. },
  5747. "500": {
  5748. "description": "Internal Server Error",
  5749. "schema": {
  5750. "$ref": "#/definitions/app.Response"
  5751. }
  5752. }
  5753. }
  5754. }
  5755. },
  5756. "/Erms3/QueryPendingBusiness": {
  5757. "get": {
  5758. "security": [
  5759. {
  5760. "ApiKeyAuth": []
  5761. }
  5762. ],
  5763. "produces": [
  5764. "application/json"
  5765. ],
  5766. "tags": [
  5767. "风险管理v3"
  5768. ],
  5769. "summary": "查询待审核基差贸易业务",
  5770. "parameters": [
  5771. {
  5772. "type": "string",
  5773. "description": "资金账号ID列表,逗号隔开",
  5774. "name": "accountids",
  5775. "in": "query",
  5776. "required": true
  5777. }
  5778. ],
  5779. "responses": {
  5780. "200": {
  5781. "description": "OK",
  5782. "schema": {
  5783. "type": "array",
  5784. "items": {
  5785. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5786. }
  5787. }
  5788. },
  5789. "500": {
  5790. "description": "Internal Server Error",
  5791. "schema": {
  5792. "$ref": "#/definitions/app.Response"
  5793. }
  5794. }
  5795. }
  5796. }
  5797. },
  5798. "/Erms3/QuerySpotContractAppleForm": {
  5799. "get": {
  5800. "security": [
  5801. {
  5802. "ApiKeyAuth": []
  5803. }
  5804. ],
  5805. "produces": [
  5806. "application/json"
  5807. ],
  5808. "tags": [
  5809. "风险管理v3"
  5810. ],
  5811. "summary": "查询合同申请表单数据",
  5812. "parameters": [
  5813. {
  5814. "type": "integer",
  5815. "description": "登录账号",
  5816. "name": "loginID",
  5817. "in": "query",
  5818. "required": true
  5819. }
  5820. ],
  5821. "responses": {
  5822. "200": {
  5823. "description": "OK",
  5824. "schema": {
  5825. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5826. }
  5827. },
  5828. "500": {
  5829. "description": "Internal Server Error",
  5830. "schema": {
  5831. "$ref": "#/definitions/app.Response"
  5832. }
  5833. }
  5834. }
  5835. }
  5836. },
  5837. "/Erms3/QuerySpotContractDetail": {
  5838. "get": {
  5839. "security": [
  5840. {
  5841. "ApiKeyAuth": []
  5842. }
  5843. ],
  5844. "produces": [
  5845. "application/json"
  5846. ],
  5847. "tags": [
  5848. "风险管理v3"
  5849. ],
  5850. "summary": "查询合同详细信息",
  5851. "parameters": [
  5852. {
  5853. "type": "string",
  5854. "description": "资金账号ID列表,用逗号分隔",
  5855. "name": "accountids",
  5856. "in": "query",
  5857. "required": true
  5858. },
  5859. {
  5860. "type": "integer",
  5861. "description": "合同类型,1为采购合同 -1为销售合同",
  5862. "name": "contracttype",
  5863. "in": "query",
  5864. "required": true
  5865. },
  5866. {
  5867. "type": "integer",
  5868. "description": "合同模式,1为普通合同 2为回购销售合同",
  5869. "name": "contractmode",
  5870. "in": "query",
  5871. "required": true
  5872. },
  5873. {
  5874. "type": "integer",
  5875. "description": "状态,0为履约中 1为已完成",
  5876. "name": "status",
  5877. "in": "query",
  5878. "required": true
  5879. }
  5880. ],
  5881. "responses": {
  5882. "200": {
  5883. "description": "OK",
  5884. "schema": {
  5885. "type": "array",
  5886. "items": {
  5887. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5888. }
  5889. }
  5890. },
  5891. "500": {
  5892. "description": "Internal Server Error",
  5893. "schema": {
  5894. "$ref": "#/definitions/app.Response"
  5895. }
  5896. }
  5897. }
  5898. }
  5899. },
  5900. "/Erms3/QueryUserInfoApplies": {
  5901. "get": {
  5902. "security": [
  5903. {
  5904. "ApiKeyAuth": []
  5905. }
  5906. ],
  5907. "produces": [
  5908. "application/json"
  5909. ],
  5910. "tags": [
  5911. "风险管理v3"
  5912. ],
  5913. "summary": "客户申请信息查询",
  5914. "parameters": [
  5915. {
  5916. "type": "integer",
  5917. "description": "页码",
  5918. "name": "page",
  5919. "in": "query"
  5920. },
  5921. {
  5922. "type": "integer",
  5923. "description": "每页条数",
  5924. "name": "pagesize",
  5925. "in": "query"
  5926. },
  5927. {
  5928. "type": "string",
  5929. "description": "客户名称,支持模糊查询",
  5930. "name": "userName",
  5931. "in": "query"
  5932. }
  5933. ],
  5934. "responses": {
  5935. "200": {
  5936. "description": "OK",
  5937. "schema": {
  5938. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5939. }
  5940. },
  5941. "500": {
  5942. "description": "Internal Server Error",
  5943. "schema": {
  5944. "$ref": "#/definitions/app.Response"
  5945. }
  5946. }
  5947. }
  5948. }
  5949. },
  5950. "/Erms3/QueryUserInfos": {
  5951. "get": {
  5952. "security": [
  5953. {
  5954. "ApiKeyAuth": []
  5955. }
  5956. ],
  5957. "produces": [
  5958. "application/json"
  5959. ],
  5960. "tags": [
  5961. "风险管理v3"
  5962. ],
  5963. "summary": "客户信息查询",
  5964. "parameters": [
  5965. {
  5966. "type": "integer",
  5967. "description": "页码",
  5968. "name": "page",
  5969. "in": "query"
  5970. },
  5971. {
  5972. "type": "integer",
  5973. "description": "每页条数",
  5974. "name": "pagesize",
  5975. "in": "query"
  5976. },
  5977. {
  5978. "type": "string",
  5979. "description": "客户名称,支持模糊查询",
  5980. "name": "userName",
  5981. "in": "query"
  5982. }
  5983. ],
  5984. "responses": {
  5985. "200": {
  5986. "description": "OK",
  5987. "schema": {
  5988. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5989. }
  5990. },
  5991. "500": {
  5992. "description": "Internal Server Error",
  5993. "schema": {
  5994. "$ref": "#/definitions/app.Response"
  5995. }
  5996. }
  5997. }
  5998. }
  5999. },
  6000. "/HSBY/GetHsbyMyCount": {
  6001. "get": {
  6002. "security": [
  6003. {
  6004. "ApiKeyAuth": []
  6005. }
  6006. ],
  6007. "description": "说明: 不包括已完成的数量。",
  6008. "produces": [
  6009. "application/json"
  6010. ],
  6011. "tags": [
  6012. "定制【海商报业】"
  6013. ],
  6014. "summary": "获取我的订单与包裹数量",
  6015. "parameters": [
  6016. {
  6017. "type": "string",
  6018. "description": "资金账户列表,格式:1,2,3",
  6019. "name": "accountIDs",
  6020. "in": "query",
  6021. "required": true
  6022. }
  6023. ],
  6024. "responses": {
  6025. "200": {
  6026. "description": "OK",
  6027. "schema": {
  6028. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6029. }
  6030. },
  6031. "500": {
  6032. "description": "Internal Server Error",
  6033. "schema": {
  6034. "$ref": "#/definitions/app.Response"
  6035. }
  6036. }
  6037. }
  6038. }
  6039. },
  6040. "/HSBY/QueryClientFixedADConfigs": {
  6041. "get": {
  6042. "security": [
  6043. {
  6044. "ApiKeyAuth": []
  6045. }
  6046. ],
  6047. "produces": [
  6048. "application/json"
  6049. ],
  6050. "tags": [
  6051. "定制【海商报业】"
  6052. ],
  6053. "summary": "获取终端固定广告配置",
  6054. "responses": {
  6055. "200": {
  6056. "description": "OK",
  6057. "schema": {
  6058. "$ref": "#/definitions/models.Clientfixedadconfig"
  6059. }
  6060. },
  6061. "500": {
  6062. "description": "Internal Server Error",
  6063. "schema": {
  6064. "$ref": "#/definitions/app.Response"
  6065. }
  6066. }
  6067. }
  6068. }
  6069. },
  6070. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6071. "get": {
  6072. "security": [
  6073. {
  6074. "ApiKeyAuth": []
  6075. }
  6076. ],
  6077. "produces": [
  6078. "application/json"
  6079. ],
  6080. "tags": [
  6081. "定制【海商报业】"
  6082. ],
  6083. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6084. "parameters": [
  6085. {
  6086. "type": "integer",
  6087. "description": "页码",
  6088. "name": "page",
  6089. "in": "query"
  6090. },
  6091. {
  6092. "type": "integer",
  6093. "description": "每页条数",
  6094. "name": "pagesize",
  6095. "in": "query"
  6096. },
  6097. {
  6098. "type": "string",
  6099. "description": "资金账户列表,格式:1,2,3",
  6100. "name": "accountIDs",
  6101. "in": "query",
  6102. "required": true
  6103. }
  6104. ],
  6105. "responses": {
  6106. "200": {
  6107. "description": "OK",
  6108. "schema": {
  6109. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6110. }
  6111. },
  6112. "500": {
  6113. "description": "Internal Server Error",
  6114. "schema": {
  6115. "$ref": "#/definitions/app.Response"
  6116. }
  6117. }
  6118. }
  6119. }
  6120. },
  6121. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6122. "get": {
  6123. "security": [
  6124. {
  6125. "ApiKeyAuth": []
  6126. }
  6127. ],
  6128. "description": "说明:查询结果已按委托价格和委托时间排序",
  6129. "produces": [
  6130. "application/json"
  6131. ],
  6132. "tags": [
  6133. "定制【海商报业】"
  6134. ],
  6135. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6136. "parameters": [
  6137. {
  6138. "type": "integer",
  6139. "description": "商品ID",
  6140. "name": "goodsID",
  6141. "in": "query",
  6142. "required": true
  6143. },
  6144. {
  6145. "type": "string",
  6146. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6147. "name": "accountIDs",
  6148. "in": "query"
  6149. },
  6150. {
  6151. "type": "integer",
  6152. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6153. "name": "buyOrSell",
  6154. "in": "query"
  6155. },
  6156. {
  6157. "type": "number",
  6158. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6159. "name": "price",
  6160. "in": "query"
  6161. },
  6162. {
  6163. "type": "integer",
  6164. "description": "档位,不传则默认为3档",
  6165. "name": "speed",
  6166. "in": "query"
  6167. }
  6168. ],
  6169. "responses": {
  6170. "200": {
  6171. "description": "OK",
  6172. "schema": {
  6173. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6174. }
  6175. },
  6176. "500": {
  6177. "description": "Internal Server Error",
  6178. "schema": {
  6179. "$ref": "#/definitions/app.Response"
  6180. }
  6181. }
  6182. }
  6183. }
  6184. },
  6185. "/HSBY/QueryHsbyListingGoodsDetail": {
  6186. "get": {
  6187. "security": [
  6188. {
  6189. "ApiKeyAuth": []
  6190. }
  6191. ],
  6192. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6193. "produces": [
  6194. "application/json"
  6195. ],
  6196. "tags": [
  6197. "定制【海商报业】"
  6198. ],
  6199. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6200. "parameters": [
  6201. {
  6202. "type": "integer",
  6203. "description": "商品ID",
  6204. "name": "goodsID",
  6205. "in": "query",
  6206. "required": true
  6207. },
  6208. {
  6209. "type": "integer",
  6210. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6211. "name": "accountID",
  6212. "in": "query"
  6213. }
  6214. ],
  6215. "responses": {
  6216. "200": {
  6217. "description": "OK",
  6218. "schema": {
  6219. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6220. }
  6221. },
  6222. "500": {
  6223. "description": "Internal Server Error",
  6224. "schema": {
  6225. "$ref": "#/definitions/app.Response"
  6226. }
  6227. }
  6228. }
  6229. }
  6230. },
  6231. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6232. "get": {
  6233. "security": [
  6234. {
  6235. "ApiKeyAuth": []
  6236. }
  6237. ],
  6238. "produces": [
  6239. "application/json"
  6240. ],
  6241. "tags": [
  6242. "定制【海商报业】"
  6243. ],
  6244. "summary": "查询三级市场(商城)商品信息详情",
  6245. "parameters": [
  6246. {
  6247. "type": "integer",
  6248. "description": "委托单号",
  6249. "name": "orderID",
  6250. "in": "query",
  6251. "required": true
  6252. },
  6253. {
  6254. "type": "integer",
  6255. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6256. "name": "accountID",
  6257. "in": "query"
  6258. }
  6259. ],
  6260. "responses": {
  6261. "200": {
  6262. "description": "OK",
  6263. "schema": {
  6264. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6265. }
  6266. },
  6267. "500": {
  6268. "description": "Internal Server Error",
  6269. "schema": {
  6270. "$ref": "#/definitions/app.Response"
  6271. }
  6272. }
  6273. }
  6274. }
  6275. },
  6276. "/HSBY/QueryHsbyMarketGoodses": {
  6277. "get": {
  6278. "security": [
  6279. {
  6280. "ApiKeyAuth": []
  6281. }
  6282. ],
  6283. "produces": [
  6284. "application/json"
  6285. ],
  6286. "tags": [
  6287. "定制【海商报业】"
  6288. ],
  6289. "summary": "查询特卖商品列表(三级商城)",
  6290. "parameters": [
  6291. {
  6292. "type": "integer",
  6293. "description": "页码",
  6294. "name": "page",
  6295. "in": "query"
  6296. },
  6297. {
  6298. "type": "integer",
  6299. "description": "每页条数",
  6300. "name": "pagesize",
  6301. "in": "query"
  6302. },
  6303. {
  6304. "type": "string",
  6305. "description": "市场ID列表,格式:1,2,3",
  6306. "name": "marketIDs",
  6307. "in": "query",
  6308. "required": true
  6309. },
  6310. {
  6311. "type": "integer",
  6312. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6313. "name": "accountID",
  6314. "in": "query",
  6315. "required": true
  6316. },
  6317. {
  6318. "type": "integer",
  6319. "description": "类别ID",
  6320. "name": "categoryID",
  6321. "in": "query"
  6322. },
  6323. {
  6324. "type": "string",
  6325. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6326. "name": "goodsIDs",
  6327. "in": "query"
  6328. },
  6329. {
  6330. "type": "integer",
  6331. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6332. "name": "couponTypeID",
  6333. "in": "query"
  6334. }
  6335. ],
  6336. "responses": {
  6337. "200": {
  6338. "description": "OK",
  6339. "schema": {
  6340. "$ref": "#/definitions/models.HsbyMarketGoods"
  6341. }
  6342. },
  6343. "500": {
  6344. "description": "Internal Server Error",
  6345. "schema": {
  6346. "$ref": "#/definitions/app.Response"
  6347. }
  6348. }
  6349. }
  6350. }
  6351. },
  6352. "/HSBY/QueryHsbyMarkets": {
  6353. "get": {
  6354. "security": [
  6355. {
  6356. "ApiKeyAuth": []
  6357. }
  6358. ],
  6359. "produces": [
  6360. "application/json"
  6361. ],
  6362. "tags": [
  6363. "定制【海商报业】"
  6364. ],
  6365. "summary": "查询海商报业相关市场信息",
  6366. "responses": {
  6367. "200": {
  6368. "description": "OK",
  6369. "schema": {
  6370. "$ref": "#/definitions/models.HsbyMarketInfo"
  6371. }
  6372. },
  6373. "500": {
  6374. "description": "Internal Server Error",
  6375. "schema": {
  6376. "$ref": "#/definitions/app.Response"
  6377. }
  6378. }
  6379. }
  6380. }
  6381. },
  6382. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6383. "get": {
  6384. "security": [
  6385. {
  6386. "ApiKeyAuth": []
  6387. }
  6388. ],
  6389. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6390. "produces": [
  6391. "application/json"
  6392. ],
  6393. "tags": [
  6394. "定制【海商报业】"
  6395. ],
  6396. "summary": "查询“我的订单”信息",
  6397. "parameters": [
  6398. {
  6399. "type": "string",
  6400. "description": "资金账户列表,格式:1,2,3",
  6401. "name": "accountIDs",
  6402. "in": "query",
  6403. "required": true
  6404. }
  6405. ],
  6406. "responses": {
  6407. "200": {
  6408. "description": "OK",
  6409. "schema": {
  6410. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6411. }
  6412. },
  6413. "500": {
  6414. "description": "Internal Server Error",
  6415. "schema": {
  6416. "$ref": "#/definitions/app.Response"
  6417. }
  6418. }
  6419. }
  6420. }
  6421. },
  6422. "/HSBY/QueryHsbyMyGoods": {
  6423. "get": {
  6424. "security": [
  6425. {
  6426. "ApiKeyAuth": []
  6427. }
  6428. ],
  6429. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6430. "produces": [
  6431. "application/json"
  6432. ],
  6433. "tags": [
  6434. "定制【海商报业】"
  6435. ],
  6436. "summary": "查询“我的商品”信息",
  6437. "parameters": [
  6438. {
  6439. "type": "string",
  6440. "description": "资金账户列表,格式:1,2,3",
  6441. "name": "accountIDs",
  6442. "in": "query",
  6443. "required": true
  6444. }
  6445. ],
  6446. "responses": {
  6447. "200": {
  6448. "description": "OK",
  6449. "schema": {
  6450. "$ref": "#/definitions/models.HsbyMyGoods"
  6451. }
  6452. },
  6453. "500": {
  6454. "description": "Internal Server Error",
  6455. "schema": {
  6456. "$ref": "#/definitions/app.Response"
  6457. }
  6458. }
  6459. }
  6460. }
  6461. },
  6462. "/HSBY/QueryHsbyMyPackages": {
  6463. "get": {
  6464. "security": [
  6465. {
  6466. "ApiKeyAuth": []
  6467. }
  6468. ],
  6469. "produces": [
  6470. "application/json"
  6471. ],
  6472. "tags": [
  6473. "定制【海商报业】"
  6474. ],
  6475. "summary": "查询我的包裹信息",
  6476. "parameters": [
  6477. {
  6478. "type": "string",
  6479. "description": "资金账户列表,格式:1,2,3",
  6480. "name": "accountIDs",
  6481. "in": "query",
  6482. "required": true
  6483. },
  6484. {
  6485. "type": "integer",
  6486. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6487. "name": "takeOrderStatus",
  6488. "in": "query"
  6489. }
  6490. ],
  6491. "responses": {
  6492. "200": {
  6493. "description": "OK",
  6494. "schema": {
  6495. "$ref": "#/definitions/models.HsbyMyPackage"
  6496. }
  6497. },
  6498. "500": {
  6499. "description": "Internal Server Error",
  6500. "schema": {
  6501. "$ref": "#/definitions/app.Response"
  6502. }
  6503. }
  6504. }
  6505. }
  6506. },
  6507. "/HSBY/QueryHsbyPreGoodsDetail": {
  6508. "get": {
  6509. "security": [
  6510. {
  6511. "ApiKeyAuth": []
  6512. }
  6513. ],
  6514. "produces": [
  6515. "application/json"
  6516. ],
  6517. "tags": [
  6518. "定制【海商报业】"
  6519. ],
  6520. "summary": "查询一级市场(预售)商品信息详情",
  6521. "parameters": [
  6522. {
  6523. "type": "integer",
  6524. "description": "商品ID",
  6525. "name": "goodsID",
  6526. "in": "query",
  6527. "required": true
  6528. },
  6529. {
  6530. "type": "integer",
  6531. "description": "资金账户,主要用于获取预售商品购买上限",
  6532. "name": "accountID",
  6533. "in": "query"
  6534. }
  6535. ],
  6536. "responses": {
  6537. "200": {
  6538. "description": "OK",
  6539. "schema": {
  6540. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6541. }
  6542. },
  6543. "500": {
  6544. "description": "Internal Server Error",
  6545. "schema": {
  6546. "$ref": "#/definitions/app.Response"
  6547. }
  6548. }
  6549. }
  6550. }
  6551. },
  6552. "/HSBY/QueryHsbyPreGoodses": {
  6553. "get": {
  6554. "security": [
  6555. {
  6556. "ApiKeyAuth": []
  6557. }
  6558. ],
  6559. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6560. "produces": [
  6561. "application/json"
  6562. ],
  6563. "tags": [
  6564. "定制【海商报业】"
  6565. ],
  6566. "summary": "查询新品上市商品列表(一级市场预售)",
  6567. "parameters": [
  6568. {
  6569. "type": "integer",
  6570. "description": "页码",
  6571. "name": "page",
  6572. "in": "query"
  6573. },
  6574. {
  6575. "type": "integer",
  6576. "description": "每页条数",
  6577. "name": "pagesize",
  6578. "in": "query"
  6579. },
  6580. {
  6581. "type": "string",
  6582. "description": "市场ID列表,格式:1,2,3",
  6583. "name": "marketIDs",
  6584. "in": "query",
  6585. "required": true
  6586. },
  6587. {
  6588. "type": "integer",
  6589. "description": "目的地(省)ID",
  6590. "name": "descProvinceID",
  6591. "in": "query"
  6592. },
  6593. {
  6594. "type": "integer",
  6595. "description": "目的地(市)ID",
  6596. "name": "descCityID",
  6597. "in": "query"
  6598. }
  6599. ],
  6600. "responses": {
  6601. "200": {
  6602. "description": "OK",
  6603. "schema": {
  6604. "$ref": "#/definitions/models.HsbyPreGoods"
  6605. }
  6606. },
  6607. "500": {
  6608. "description": "Internal Server Error",
  6609. "schema": {
  6610. "$ref": "#/definitions/app.Response"
  6611. }
  6612. }
  6613. }
  6614. }
  6615. },
  6616. "/HSBY/QueryHsbySellMyDetails": {
  6617. "get": {
  6618. "security": [
  6619. {
  6620. "ApiKeyAuth": []
  6621. }
  6622. ],
  6623. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6624. "produces": [
  6625. "application/json"
  6626. ],
  6627. "tags": [
  6628. "定制【海商报业】"
  6629. ],
  6630. "summary": "查询\"我的闲置\"单据信息",
  6631. "parameters": [
  6632. {
  6633. "type": "integer",
  6634. "description": "页码",
  6635. "name": "page",
  6636. "in": "query"
  6637. },
  6638. {
  6639. "type": "integer",
  6640. "description": "每页条数",
  6641. "name": "pagesize",
  6642. "in": "query"
  6643. },
  6644. {
  6645. "type": "string",
  6646. "description": "资金账户列表,格式:1,2,3",
  6647. "name": "accountIDs",
  6648. "in": "query",
  6649. "required": true
  6650. },
  6651. {
  6652. "type": "integer",
  6653. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6654. "name": "orderType",
  6655. "in": "query"
  6656. }
  6657. ],
  6658. "responses": {
  6659. "200": {
  6660. "description": "OK",
  6661. "schema": {
  6662. "$ref": "#/definitions/models.HsbySellMyDetail"
  6663. }
  6664. },
  6665. "500": {
  6666. "description": "Internal Server Error",
  6667. "schema": {
  6668. "$ref": "#/definitions/app.Response"
  6669. }
  6670. }
  6671. }
  6672. }
  6673. },
  6674. "/HSBY/QueryHsbyTopGoodses": {
  6675. "get": {
  6676. "security": [
  6677. {
  6678. "ApiKeyAuth": []
  6679. }
  6680. ],
  6681. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6682. "produces": [
  6683. "application/json"
  6684. ],
  6685. "tags": [
  6686. "定制【海商报业】"
  6687. ],
  6688. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6689. "parameters": [
  6690. {
  6691. "type": "integer",
  6692. "description": "页码",
  6693. "name": "page",
  6694. "in": "query"
  6695. },
  6696. {
  6697. "type": "integer",
  6698. "description": "每页条数",
  6699. "name": "pagesize",
  6700. "in": "query"
  6701. },
  6702. {
  6703. "type": "string",
  6704. "description": "市场ID列表,格式:1,2,3",
  6705. "name": "marketIDs",
  6706. "in": "query",
  6707. "required": true
  6708. },
  6709. {
  6710. "type": "integer",
  6711. "description": "目的地(省)ID",
  6712. "name": "descProvinceID",
  6713. "in": "query"
  6714. },
  6715. {
  6716. "type": "integer",
  6717. "description": "目的地(市)ID",
  6718. "name": "descCityID",
  6719. "in": "query"
  6720. }
  6721. ],
  6722. "responses": {
  6723. "200": {
  6724. "description": "OK",
  6725. "schema": {
  6726. "$ref": "#/definitions/models.HsbyTopGoods"
  6727. }
  6728. },
  6729. "500": {
  6730. "description": "Internal Server Error",
  6731. "schema": {
  6732. "$ref": "#/definitions/app.Response"
  6733. }
  6734. }
  6735. }
  6736. }
  6737. },
  6738. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6739. "get": {
  6740. "security": [
  6741. {
  6742. "ApiKeyAuth": []
  6743. }
  6744. ],
  6745. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6746. "produces": [
  6747. "application/json"
  6748. ],
  6749. "tags": [
  6750. "定制【海商报业】"
  6751. ],
  6752. "summary": "查询游客三级市场(商城)商品信息详情",
  6753. "parameters": [
  6754. {
  6755. "type": "integer",
  6756. "description": "商品ID",
  6757. "name": "goodsID",
  6758. "in": "query",
  6759. "required": true
  6760. }
  6761. ],
  6762. "responses": {
  6763. "200": {
  6764. "description": "OK",
  6765. "schema": {
  6766. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6767. }
  6768. },
  6769. "500": {
  6770. "description": "Internal Server Error",
  6771. "schema": {
  6772. "$ref": "#/definitions/app.Response"
  6773. }
  6774. }
  6775. }
  6776. }
  6777. },
  6778. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6779. "get": {
  6780. "security": [
  6781. {
  6782. "ApiKeyAuth": []
  6783. }
  6784. ],
  6785. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6786. "produces": [
  6787. "application/json"
  6788. ],
  6789. "tags": [
  6790. "定制【海商报业】"
  6791. ],
  6792. "summary": "查询游客特卖商品列表(三级商城)",
  6793. "parameters": [
  6794. {
  6795. "type": "integer",
  6796. "description": "页码",
  6797. "name": "page",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "integer",
  6802. "description": "每页条数",
  6803. "name": "pagesize",
  6804. "in": "query"
  6805. },
  6806. {
  6807. "type": "string",
  6808. "description": "市场ID列表,格式:1,2,3",
  6809. "name": "marketIDs",
  6810. "in": "query",
  6811. "required": true
  6812. },
  6813. {
  6814. "type": "integer",
  6815. "description": "类别ID",
  6816. "name": "categoryID",
  6817. "in": "query"
  6818. },
  6819. {
  6820. "type": "string",
  6821. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6822. "name": "goodsIDs",
  6823. "in": "query"
  6824. }
  6825. ],
  6826. "responses": {
  6827. "200": {
  6828. "description": "OK",
  6829. "schema": {
  6830. "$ref": "#/definitions/models.HsbyMarketGoods"
  6831. }
  6832. },
  6833. "500": {
  6834. "description": "Internal Server Error",
  6835. "schema": {
  6836. "$ref": "#/definitions/app.Response"
  6837. }
  6838. }
  6839. }
  6840. }
  6841. },
  6842. "/HSBY/QueryMyCollectionOrders": {
  6843. "get": {
  6844. "security": [
  6845. {
  6846. "ApiKeyAuth": []
  6847. }
  6848. ],
  6849. "produces": [
  6850. "application/json"
  6851. ],
  6852. "tags": [
  6853. "定制【海商报业】"
  6854. ],
  6855. "summary": "我的闲置中收款信息查询",
  6856. "parameters": [
  6857. {
  6858. "type": "integer",
  6859. "description": "页码",
  6860. "name": "page",
  6861. "in": "query"
  6862. },
  6863. {
  6864. "type": "integer",
  6865. "description": "每页条数",
  6866. "name": "pagesize",
  6867. "in": "query"
  6868. },
  6869. {
  6870. "type": "string",
  6871. "description": "资金账户,格式:1,2,3",
  6872. "name": "accountIDs",
  6873. "in": "query",
  6874. "required": true
  6875. }
  6876. ],
  6877. "responses": {
  6878. "200": {
  6879. "description": "OK",
  6880. "schema": {
  6881. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6882. }
  6883. },
  6884. "500": {
  6885. "description": "Internal Server Error",
  6886. "schema": {
  6887. "$ref": "#/definitions/app.Response"
  6888. }
  6889. }
  6890. }
  6891. }
  6892. },
  6893. "/HSBY/QueryMyCouponHolds": {
  6894. "get": {
  6895. "security": [
  6896. {
  6897. "ApiKeyAuth": []
  6898. }
  6899. ],
  6900. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6901. "produces": [
  6902. "application/json"
  6903. ],
  6904. "tags": [
  6905. "定制【海商报业】"
  6906. ],
  6907. "summary": "我的优惠卷持仓查询",
  6908. "parameters": [
  6909. {
  6910. "type": "string",
  6911. "description": "资金账户列表,格式:1,2,3",
  6912. "name": "accountIDs",
  6913. "in": "query",
  6914. "required": true
  6915. },
  6916. {
  6917. "type": "string",
  6918. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6919. "name": "holdStatus",
  6920. "in": "query"
  6921. }
  6922. ],
  6923. "responses": {
  6924. "200": {
  6925. "description": "OK",
  6926. "schema": {
  6927. "$ref": "#/definitions/models.MyCouponHold"
  6928. }
  6929. },
  6930. "500": {
  6931. "description": "Internal Server Error",
  6932. "schema": {
  6933. "$ref": "#/definitions/app.Response"
  6934. }
  6935. }
  6936. }
  6937. }
  6938. },
  6939. "/HSBY/QueryMyCoupons": {
  6940. "get": {
  6941. "security": [
  6942. {
  6943. "ApiKeyAuth": []
  6944. }
  6945. ],
  6946. "produces": [
  6947. "application/json"
  6948. ],
  6949. "tags": [
  6950. "定制【海商报业】"
  6951. ],
  6952. "summary": "我的优惠卷查询",
  6953. "parameters": [
  6954. {
  6955. "type": "string",
  6956. "description": "资金账户列表,格式:1,2,3",
  6957. "name": "accountIDs",
  6958. "in": "query",
  6959. "required": true
  6960. },
  6961. {
  6962. "type": "integer",
  6963. "description": "商品ID, 一般与sellUserID配套传入",
  6964. "name": "goodsID",
  6965. "in": "query"
  6966. },
  6967. {
  6968. "type": "integer",
  6969. "description": "卖方UserID",
  6970. "name": "sellUserID",
  6971. "in": "query"
  6972. }
  6973. ],
  6974. "responses": {
  6975. "200": {
  6976. "description": "OK",
  6977. "schema": {
  6978. "$ref": "#/definitions/models.MyCoupon"
  6979. }
  6980. },
  6981. "500": {
  6982. "description": "Internal Server Error",
  6983. "schema": {
  6984. "$ref": "#/definitions/app.Response"
  6985. }
  6986. }
  6987. }
  6988. }
  6989. },
  6990. "/HSBY/QueryMyPayOrders": {
  6991. "get": {
  6992. "security": [
  6993. {
  6994. "ApiKeyAuth": []
  6995. }
  6996. ],
  6997. "produces": [
  6998. "application/json"
  6999. ],
  7000. "tags": [
  7001. "定制【海商报业】"
  7002. ],
  7003. "summary": "获取我的订单中待付款信息",
  7004. "parameters": [
  7005. {
  7006. "type": "integer",
  7007. "description": "页码",
  7008. "name": "page",
  7009. "in": "query"
  7010. },
  7011. {
  7012. "type": "integer",
  7013. "description": "每页条数",
  7014. "name": "pagesize",
  7015. "in": "query"
  7016. },
  7017. {
  7018. "type": "string",
  7019. "description": "资金账户列表,格式:1,2,3",
  7020. "name": "accountIDs",
  7021. "in": "query",
  7022. "required": true
  7023. },
  7024. {
  7025. "type": "integer",
  7026. "description": "买方委托单号",
  7027. "name": "buyOrderID",
  7028. "in": "query"
  7029. },
  7030. {
  7031. "type": "integer",
  7032. "description": "卖方委托单号",
  7033. "name": "sellOrderID",
  7034. "in": "query"
  7035. }
  7036. ],
  7037. "responses": {
  7038. "200": {
  7039. "description": "OK",
  7040. "schema": {
  7041. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7042. }
  7043. },
  7044. "500": {
  7045. "description": "Internal Server Error",
  7046. "schema": {
  7047. "$ref": "#/definitions/app.Response"
  7048. }
  7049. }
  7050. }
  7051. }
  7052. },
  7053. "/HSBY/QueryMyUsedCoupon": {
  7054. "get": {
  7055. "security": [
  7056. {
  7057. "ApiKeyAuth": []
  7058. }
  7059. ],
  7060. "produces": [
  7061. "application/json"
  7062. ],
  7063. "tags": [
  7064. "定制【海商报业】"
  7065. ],
  7066. "summary": "已使用优惠卷查询",
  7067. "parameters": [
  7068. {
  7069. "type": "string",
  7070. "description": "资金账户列表,格式:1,2,3",
  7071. "name": "accountIDs",
  7072. "in": "query",
  7073. "required": true
  7074. }
  7075. ],
  7076. "responses": {
  7077. "200": {
  7078. "description": "OK",
  7079. "schema": {
  7080. "$ref": "#/definitions/models.MyUsedCoupon"
  7081. }
  7082. },
  7083. "500": {
  7084. "description": "Internal Server Error",
  7085. "schema": {
  7086. "$ref": "#/definitions/app.Response"
  7087. }
  7088. }
  7089. }
  7090. }
  7091. },
  7092. "/HSBY/QueryProvincesAndCities": {
  7093. "get": {
  7094. "security": [
  7095. {
  7096. "ApiKeyAuth": []
  7097. }
  7098. ],
  7099. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7100. "produces": [
  7101. "application/json"
  7102. ],
  7103. "tags": [
  7104. "定制【海商报业】"
  7105. ],
  7106. "summary": "查询省市信息(不包括区)",
  7107. "parameters": [
  7108. {
  7109. "type": "integer",
  7110. "description": "省ID",
  7111. "name": "provinceID",
  7112. "in": "query"
  7113. }
  7114. ],
  7115. "responses": {
  7116. "200": {
  7117. "description": "OK",
  7118. "schema": {
  7119. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7120. }
  7121. },
  7122. "500": {
  7123. "description": "Internal Server Error",
  7124. "schema": {
  7125. "$ref": "#/definitions/app.Response"
  7126. }
  7127. }
  7128. }
  7129. }
  7130. },
  7131. "/HSBY/SetHsbyMyPackagesStatus": {
  7132. "post": {
  7133. "security": [
  7134. {
  7135. "ApiKeyAuth": []
  7136. }
  7137. ],
  7138. "produces": [
  7139. "application/json"
  7140. ],
  7141. "tags": [
  7142. "定制【海商报业】"
  7143. ],
  7144. "summary": "设置我的包裹已收货状态",
  7145. "parameters": [
  7146. {
  7147. "type": "string",
  7148. "description": "提货单号",
  7149. "name": "takeOrderID",
  7150. "in": "query",
  7151. "required": true
  7152. },
  7153. {
  7154. "type": "integer",
  7155. "description": "资金账号",
  7156. "name": "accountID",
  7157. "in": "query",
  7158. "required": true
  7159. }
  7160. ],
  7161. "responses": {
  7162. "200": {
  7163. "description": "OK",
  7164. "schema": {
  7165. "$ref": "#/definitions/app.Response"
  7166. }
  7167. },
  7168. "500": {
  7169. "description": "Internal Server Error",
  7170. "schema": {
  7171. "$ref": "#/definitions/app.Response"
  7172. }
  7173. }
  7174. }
  7175. }
  7176. },
  7177. "/Market/GetAllExExchanges": {
  7178. "get": {
  7179. "security": [
  7180. {
  7181. "ApiKeyAuth": []
  7182. }
  7183. ],
  7184. "produces": [
  7185. "application/json"
  7186. ],
  7187. "tags": [
  7188. "通用市场"
  7189. ],
  7190. "summary": "获取所有外部交易所信息",
  7191. "responses": {
  7192. "200": {
  7193. "description": "OK",
  7194. "schema": {
  7195. "$ref": "#/definitions/models.Goods"
  7196. }
  7197. },
  7198. "500": {
  7199. "description": "Internal Server Error",
  7200. "schema": {
  7201. "$ref": "#/definitions/app.Response"
  7202. }
  7203. }
  7204. }
  7205. }
  7206. },
  7207. "/Market/QueryGoodsesByLoginID": {
  7208. "get": {
  7209. "security": [
  7210. {
  7211. "ApiKeyAuth": []
  7212. }
  7213. ],
  7214. "produces": [
  7215. "application/json"
  7216. ],
  7217. "tags": [
  7218. "通用市场"
  7219. ],
  7220. "summary": "获取登录账号有权限的商品信息",
  7221. "parameters": [
  7222. {
  7223. "type": "integer",
  7224. "description": "登录账号",
  7225. "name": "loginID",
  7226. "in": "query",
  7227. "required": true
  7228. },
  7229. {
  7230. "type": "string",
  7231. "description": "市场ID列表,格式:1,2,3",
  7232. "name": "marketIDs",
  7233. "in": "query"
  7234. }
  7235. ],
  7236. "responses": {
  7237. "200": {
  7238. "description": "OK",
  7239. "schema": {
  7240. "$ref": "#/definitions/models.Goods"
  7241. }
  7242. },
  7243. "500": {
  7244. "description": "Internal Server Error",
  7245. "schema": {
  7246. "$ref": "#/definitions/app.Response"
  7247. }
  7248. }
  7249. }
  7250. }
  7251. },
  7252. "/Market/QueryMarketRun": {
  7253. "get": {
  7254. "security": [
  7255. {
  7256. "ApiKeyAuth": []
  7257. }
  7258. ],
  7259. "produces": [
  7260. "application/json"
  7261. ],
  7262. "tags": [
  7263. "通用市场"
  7264. ],
  7265. "summary": "查询市场运行信息",
  7266. "parameters": [
  7267. {
  7268. "type": "integer",
  7269. "description": "市场ID,不传返回所有",
  7270. "name": "marketID",
  7271. "in": "query"
  7272. }
  7273. ],
  7274. "responses": {
  7275. "200": {
  7276. "description": "OK",
  7277. "schema": {
  7278. "$ref": "#/definitions/models.Marketrun"
  7279. }
  7280. },
  7281. "500": {
  7282. "description": "Internal Server Error",
  7283. "schema": {
  7284. "$ref": "#/definitions/app.Response"
  7285. }
  7286. }
  7287. }
  7288. }
  7289. },
  7290. "/Market/QueryMarketsByLoginID": {
  7291. "get": {
  7292. "security": [
  7293. {
  7294. "ApiKeyAuth": []
  7295. }
  7296. ],
  7297. "produces": [
  7298. "application/json"
  7299. ],
  7300. "tags": [
  7301. "通用市场"
  7302. ],
  7303. "summary": "获取登录账号有权限的市场信息",
  7304. "parameters": [
  7305. {
  7306. "type": "integer",
  7307. "description": "登录账号",
  7308. "name": "loginID",
  7309. "in": "query",
  7310. "required": true
  7311. }
  7312. ],
  7313. "responses": {
  7314. "200": {
  7315. "description": "OK",
  7316. "schema": {
  7317. "$ref": "#/definitions/models.Market"
  7318. }
  7319. },
  7320. "500": {
  7321. "description": "Internal Server Error",
  7322. "schema": {
  7323. "$ref": "#/definitions/app.Response"
  7324. }
  7325. }
  7326. }
  7327. }
  7328. },
  7329. "/Order/QueryHisTradeDetail": {
  7330. "get": {
  7331. "security": [
  7332. {
  7333. "ApiKeyAuth": []
  7334. }
  7335. ],
  7336. "produces": [
  7337. "application/json"
  7338. ],
  7339. "tags": [
  7340. "通用单据"
  7341. ],
  7342. "summary": "历史成交单查询(合约市场)",
  7343. "parameters": [
  7344. {
  7345. "type": "string",
  7346. "description": "资金账户 - 格式:1,2,3",
  7347. "name": "accountID",
  7348. "in": "query",
  7349. "required": true
  7350. },
  7351. {
  7352. "type": "integer",
  7353. "description": "成交单号",
  7354. "name": "tradeID",
  7355. "in": "query"
  7356. },
  7357. {
  7358. "type": "integer",
  7359. "description": "委托单号",
  7360. "name": "orderID",
  7361. "in": "query"
  7362. },
  7363. {
  7364. "type": "integer",
  7365. "description": "商品ID",
  7366. "name": "goodsID",
  7367. "in": "query"
  7368. },
  7369. {
  7370. "type": "string",
  7371. "description": "交易模式 - 格式:1,2,3",
  7372. "name": "tradeMode",
  7373. "in": "query"
  7374. },
  7375. {
  7376. "type": "integer",
  7377. "description": "委托单据类型",
  7378. "name": "buildType",
  7379. "in": "query"
  7380. },
  7381. {
  7382. "type": "string",
  7383. "description": "成交类别 - 格式:1,2,3",
  7384. "name": "tradeType",
  7385. "in": "query"
  7386. },
  7387. {
  7388. "type": "string",
  7389. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7390. "name": "startDate",
  7391. "in": "query"
  7392. },
  7393. {
  7394. "type": "string",
  7395. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7396. "name": "endDate",
  7397. "in": "query"
  7398. }
  7399. ],
  7400. "responses": {
  7401. "200": {
  7402. "description": "OK",
  7403. "schema": {
  7404. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7405. }
  7406. },
  7407. "500": {
  7408. "description": "Internal Server Error",
  7409. "schema": {
  7410. "$ref": "#/definitions/app.Response"
  7411. }
  7412. }
  7413. }
  7414. }
  7415. },
  7416. "/Order/QueryHisTradeOrderDetail": {
  7417. "get": {
  7418. "security": [
  7419. {
  7420. "ApiKeyAuth": []
  7421. }
  7422. ],
  7423. "produces": [
  7424. "application/json"
  7425. ],
  7426. "tags": [
  7427. "通用单据"
  7428. ],
  7429. "summary": "历史委托单查询请求(合约市场)",
  7430. "parameters": [
  7431. {
  7432. "type": "string",
  7433. "description": "资金账户 - 格式:1,2,3",
  7434. "name": "accountID",
  7435. "in": "query",
  7436. "required": true
  7437. },
  7438. {
  7439. "type": "string",
  7440. "description": "交易模式 - 格式:1,2,3",
  7441. "name": "tradeMode",
  7442. "in": "query"
  7443. },
  7444. {
  7445. "type": "string",
  7446. "description": "委托状态 - 格式:1,2,3",
  7447. "name": "orderStatus",
  7448. "in": "query"
  7449. },
  7450. {
  7451. "type": "integer",
  7452. "description": "委托单号",
  7453. "name": "orderID",
  7454. "in": "query"
  7455. },
  7456. {
  7457. "type": "string",
  7458. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7459. "name": "startDate",
  7460. "in": "query"
  7461. },
  7462. {
  7463. "type": "string",
  7464. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7465. "name": "endDate",
  7466. "in": "query"
  7467. }
  7468. ],
  7469. "responses": {
  7470. "200": {
  7471. "description": "OK",
  7472. "schema": {
  7473. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7474. }
  7475. },
  7476. "500": {
  7477. "description": "Internal Server Error",
  7478. "schema": {
  7479. "$ref": "#/definitions/app.Response"
  7480. }
  7481. }
  7482. }
  7483. }
  7484. },
  7485. "/Order/QueryTradeDetail": {
  7486. "get": {
  7487. "security": [
  7488. {
  7489. "ApiKeyAuth": []
  7490. }
  7491. ],
  7492. "produces": [
  7493. "application/json"
  7494. ],
  7495. "tags": [
  7496. "通用单据"
  7497. ],
  7498. "summary": "成交单查询(合约市场)",
  7499. "parameters": [
  7500. {
  7501. "type": "string",
  7502. "description": "资金账户 - 格式:1,2,3",
  7503. "name": "accountID",
  7504. "in": "query",
  7505. "required": true
  7506. },
  7507. {
  7508. "type": "integer",
  7509. "description": "成交单号",
  7510. "name": "tradeID",
  7511. "in": "query"
  7512. },
  7513. {
  7514. "type": "integer",
  7515. "description": "委托单号",
  7516. "name": "orderID",
  7517. "in": "query"
  7518. },
  7519. {
  7520. "type": "string",
  7521. "description": "交易模式 - 格式:1,2,3",
  7522. "name": "tradeMode",
  7523. "in": "query"
  7524. },
  7525. {
  7526. "type": "integer",
  7527. "description": "委托单据类型",
  7528. "name": "buildType",
  7529. "in": "query"
  7530. },
  7531. {
  7532. "type": "string",
  7533. "description": "成交类别 - 格式:1,2,3",
  7534. "name": "tradeType",
  7535. "in": "query"
  7536. },
  7537. {
  7538. "type": "integer",
  7539. "description": "商品ID",
  7540. "name": "goodsID",
  7541. "in": "query"
  7542. }
  7543. ],
  7544. "responses": {
  7545. "200": {
  7546. "description": "OK",
  7547. "schema": {
  7548. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7549. }
  7550. },
  7551. "500": {
  7552. "description": "Internal Server Error",
  7553. "schema": {
  7554. "$ref": "#/definitions/app.Response"
  7555. }
  7556. }
  7557. }
  7558. }
  7559. },
  7560. "/Order/QueryTradeHolderDetail": {
  7561. "get": {
  7562. "security": [
  7563. {
  7564. "ApiKeyAuth": []
  7565. }
  7566. ],
  7567. "produces": [
  7568. "application/json"
  7569. ],
  7570. "tags": [
  7571. "通用单据"
  7572. ],
  7573. "summary": "查询持仓明细",
  7574. "parameters": [
  7575. {
  7576. "type": "integer",
  7577. "description": "用户id",
  7578. "name": "userid",
  7579. "in": "query"
  7580. },
  7581. {
  7582. "type": "string",
  7583. "description": "资金账号, 格式 1,2,3",
  7584. "name": "accids",
  7585. "in": "query"
  7586. },
  7587. {
  7588. "type": "string",
  7589. "description": "交易模式, 格式 1,2,3",
  7590. "name": "trademodes",
  7591. "in": "query"
  7592. },
  7593. {
  7594. "type": "string",
  7595. "description": "市场id, 格式 1,2,3",
  7596. "name": "marketids",
  7597. "in": "query"
  7598. },
  7599. {
  7600. "type": "integer",
  7601. "description": "商品id",
  7602. "name": "goodsid",
  7603. "in": "query"
  7604. },
  7605. {
  7606. "type": "integer",
  7607. "description": "买卖方向 0-买 1-卖",
  7608. "name": "buyorsell",
  7609. "in": "query"
  7610. }
  7611. ],
  7612. "responses": {
  7613. "200": {
  7614. "description": "OK",
  7615. "schema": {
  7616. "type": "array",
  7617. "items": {
  7618. "$ref": "#/definitions/models.TradeHolderDetail"
  7619. }
  7620. }
  7621. },
  7622. "500": {
  7623. "description": "Internal Server Error",
  7624. "schema": {
  7625. "$ref": "#/definitions/app.Response"
  7626. }
  7627. }
  7628. }
  7629. }
  7630. },
  7631. "/Order/QueryTradeOrderDetail": {
  7632. "get": {
  7633. "security": [
  7634. {
  7635. "ApiKeyAuth": []
  7636. }
  7637. ],
  7638. "produces": [
  7639. "application/json"
  7640. ],
  7641. "tags": [
  7642. "通用单据"
  7643. ],
  7644. "summary": "委托单查询请求(合约市场)",
  7645. "parameters": [
  7646. {
  7647. "type": "string",
  7648. "description": "资金账户 - 格式:1,2,3",
  7649. "name": "accountID",
  7650. "in": "query",
  7651. "required": true
  7652. },
  7653. {
  7654. "type": "string",
  7655. "description": "交易模式 - 格式:1,2,3",
  7656. "name": "tradeMode",
  7657. "in": "query"
  7658. },
  7659. {
  7660. "type": "string",
  7661. "description": "委托状态 - 格式:1,2,3",
  7662. "name": "orderStatus",
  7663. "in": "query"
  7664. },
  7665. {
  7666. "type": "integer",
  7667. "description": "委托单号",
  7668. "name": "orderID",
  7669. "in": "query"
  7670. }
  7671. ],
  7672. "responses": {
  7673. "200": {
  7674. "description": "OK",
  7675. "schema": {
  7676. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7677. }
  7678. },
  7679. "500": {
  7680. "description": "Internal Server Error",
  7681. "schema": {
  7682. "$ref": "#/definitions/app.Response"
  7683. }
  7684. }
  7685. }
  7686. }
  7687. },
  7688. "/Order/QueryTradePosition": {
  7689. "get": {
  7690. "security": [
  7691. {
  7692. "ApiKeyAuth": []
  7693. }
  7694. ],
  7695. "produces": [
  7696. "application/json"
  7697. ],
  7698. "tags": [
  7699. "通用单据"
  7700. ],
  7701. "summary": "持仓汇总查询(合约市场)",
  7702. "parameters": [
  7703. {
  7704. "type": "string",
  7705. "description": "资金账户 - 格式:1,2,3",
  7706. "name": "accountID",
  7707. "in": "query",
  7708. "required": true
  7709. },
  7710. {
  7711. "type": "string",
  7712. "description": "交易模式 - 格式:1,2,3",
  7713. "name": "tradeMode",
  7714. "in": "query"
  7715. }
  7716. ],
  7717. "responses": {
  7718. "200": {
  7719. "description": "OK",
  7720. "schema": {
  7721. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7722. }
  7723. },
  7724. "500": {
  7725. "description": "Internal Server Error",
  7726. "schema": {
  7727. "$ref": "#/definitions/app.Response"
  7728. }
  7729. }
  7730. }
  7731. }
  7732. },
  7733. "/Qhj/QueryAccountInOutApply": {
  7734. "get": {
  7735. "security": [
  7736. {
  7737. "ApiKeyAuth": []
  7738. }
  7739. ],
  7740. "produces": [
  7741. "application/json"
  7742. ],
  7743. "tags": [
  7744. "大连千海金"
  7745. ],
  7746. "summary": "查询充值提现",
  7747. "parameters": [
  7748. {
  7749. "type": "integer",
  7750. "description": "用户ID",
  7751. "name": "userid",
  7752. "in": "query",
  7753. "required": true
  7754. },
  7755. {
  7756. "type": "string",
  7757. "description": "申请起始日期(格式yyyymmdd)",
  7758. "name": "begindate",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "string",
  7763. "description": "申请截止日期(格式yyyymmdd)",
  7764. "name": "enddate",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "string",
  7769. "description": "模糊搜索名称",
  7770. "name": "likename",
  7771. "in": "query"
  7772. }
  7773. ],
  7774. "responses": {
  7775. "200": {
  7776. "description": "OK",
  7777. "schema": {
  7778. "type": "array",
  7779. "items": {
  7780. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7781. }
  7782. }
  7783. },
  7784. "500": {
  7785. "description": "Internal Server Error",
  7786. "schema": {
  7787. "$ref": "#/definitions/app.Response"
  7788. }
  7789. }
  7790. }
  7791. }
  7792. },
  7793. "/Qhj/QueryAreaFinanceConfig": {
  7794. "get": {
  7795. "security": [
  7796. {
  7797. "ApiKeyAuth": []
  7798. }
  7799. ],
  7800. "produces": [
  7801. "application/json"
  7802. ],
  7803. "tags": [
  7804. "大连千海金"
  7805. ],
  7806. "summary": "查询企业配置表",
  7807. "parameters": [
  7808. {
  7809. "type": "integer",
  7810. "description": "机构用户ID 其他做市关系,都设置为 1",
  7811. "name": "userid",
  7812. "in": "query"
  7813. }
  7814. ],
  7815. "responses": {
  7816. "200": {
  7817. "description": "OK",
  7818. "schema": {
  7819. "type": "array",
  7820. "items": {
  7821. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7822. }
  7823. }
  7824. },
  7825. "500": {
  7826. "description": "Internal Server Error",
  7827. "schema": {
  7828. "$ref": "#/definitions/app.Response"
  7829. }
  7830. }
  7831. }
  7832. }
  7833. },
  7834. "/Qhj/QueryBankAccountSign": {
  7835. "get": {
  7836. "security": [
  7837. {
  7838. "ApiKeyAuth": []
  7839. }
  7840. ],
  7841. "produces": [
  7842. "application/json"
  7843. ],
  7844. "tags": [
  7845. "大连千海金"
  7846. ],
  7847. "summary": "查询签约银行信息(提现账户管理)",
  7848. "parameters": [
  7849. {
  7850. "type": "integer",
  7851. "description": "用户ID",
  7852. "name": "userid",
  7853. "in": "query",
  7854. "required": true
  7855. }
  7856. ],
  7857. "responses": {
  7858. "200": {
  7859. "description": "OK",
  7860. "schema": {
  7861. "type": "array",
  7862. "items": {
  7863. "$ref": "#/definitions/models.QhjBankAccountSign"
  7864. }
  7865. }
  7866. },
  7867. "500": {
  7868. "description": "Internal Server Error",
  7869. "schema": {
  7870. "$ref": "#/definitions/app.Response"
  7871. }
  7872. }
  7873. }
  7874. }
  7875. },
  7876. "/Qhj/QueryBankInfo": {
  7877. "get": {
  7878. "security": [
  7879. {
  7880. "ApiKeyAuth": []
  7881. }
  7882. ],
  7883. "produces": [
  7884. "application/json"
  7885. ],
  7886. "tags": [
  7887. "大连千海金"
  7888. ],
  7889. "summary": "查询开户行",
  7890. "responses": {
  7891. "200": {
  7892. "description": "OK",
  7893. "schema": {
  7894. "type": "array",
  7895. "items": {
  7896. "$ref": "#/definitions/models.QhjBankInfo"
  7897. }
  7898. }
  7899. },
  7900. "500": {
  7901. "description": "Internal Server Error",
  7902. "schema": {
  7903. "$ref": "#/definitions/app.Response"
  7904. }
  7905. }
  7906. }
  7907. }
  7908. },
  7909. "/Qhj/QueryBrokerApply": {
  7910. "get": {
  7911. "security": [
  7912. {
  7913. "ApiKeyAuth": []
  7914. }
  7915. ],
  7916. "produces": [
  7917. "application/json"
  7918. ],
  7919. "tags": [
  7920. "大连千海金"
  7921. ],
  7922. "summary": "查询经纪人申请",
  7923. "parameters": [
  7924. {
  7925. "type": "integer",
  7926. "description": "所属机构ID",
  7927. "name": "userid",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "string",
  7932. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7933. "name": "filterstatus",
  7934. "in": "query"
  7935. }
  7936. ],
  7937. "responses": {
  7938. "200": {
  7939. "description": "OK",
  7940. "schema": {
  7941. "type": "array",
  7942. "items": {
  7943. "$ref": "#/definitions/models.QhjBrokerApply"
  7944. }
  7945. }
  7946. },
  7947. "500": {
  7948. "description": "Internal Server Error",
  7949. "schema": {
  7950. "$ref": "#/definitions/app.Response"
  7951. }
  7952. }
  7953. }
  7954. }
  7955. },
  7956. "/Qhj/QueryBrokerApplyEx": {
  7957. "get": {
  7958. "security": [
  7959. {
  7960. "ApiKeyAuth": []
  7961. }
  7962. ],
  7963. "produces": [
  7964. "application/json"
  7965. ],
  7966. "tags": [
  7967. "大连千海金"
  7968. ],
  7969. "summary": "查询经纪人信息和申请记录",
  7970. "parameters": [
  7971. {
  7972. "type": "integer",
  7973. "description": "所属机构ID",
  7974. "name": "userid",
  7975. "in": "query"
  7976. }
  7977. ],
  7978. "responses": {
  7979. "200": {
  7980. "description": "OK",
  7981. "schema": {
  7982. "type": "array",
  7983. "items": {
  7984. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7985. }
  7986. }
  7987. },
  7988. "500": {
  7989. "description": "Internal Server Error",
  7990. "schema": {
  7991. "$ref": "#/definitions/app.Response"
  7992. }
  7993. }
  7994. }
  7995. }
  7996. },
  7997. "/Qhj/QueryBrokerRewardLog": {
  7998. "get": {
  7999. "security": [
  8000. {
  8001. "ApiKeyAuth": []
  8002. }
  8003. ],
  8004. "produces": [
  8005. "application/json"
  8006. ],
  8007. "tags": [
  8008. "大连千海金"
  8009. ],
  8010. "summary": "查询奖励流水(我的奖励)",
  8011. "parameters": [
  8012. {
  8013. "type": "integer",
  8014. "description": "用户ID",
  8015. "name": "userid",
  8016. "in": "query",
  8017. "required": true
  8018. },
  8019. {
  8020. "type": "string",
  8021. "description": "开始交易日(yyyymmdd)",
  8022. "name": "begindate",
  8023. "in": "query"
  8024. },
  8025. {
  8026. "type": "string",
  8027. "description": "结束交易日(yyyymmdd)",
  8028. "name": "enddate",
  8029. "in": "query"
  8030. }
  8031. ],
  8032. "responses": {
  8033. "200": {
  8034. "description": "OK",
  8035. "schema": {
  8036. "type": "array",
  8037. "items": {
  8038. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8039. }
  8040. }
  8041. },
  8042. "500": {
  8043. "description": "Internal Server Error",
  8044. "schema": {
  8045. "$ref": "#/definitions/app.Response"
  8046. }
  8047. }
  8048. }
  8049. }
  8050. },
  8051. "/Qhj/QueryContract": {
  8052. "get": {
  8053. "security": [
  8054. {
  8055. "ApiKeyAuth": []
  8056. }
  8057. ],
  8058. "produces": [
  8059. "application/json"
  8060. ],
  8061. "tags": [
  8062. "大连千海金"
  8063. ],
  8064. "summary": "查询融资明细(合同)",
  8065. "parameters": [
  8066. {
  8067. "type": "integer",
  8068. "description": "用户ID",
  8069. "name": "userid",
  8070. "in": "query"
  8071. },
  8072. {
  8073. "type": "integer",
  8074. "description": "scf合同id",
  8075. "name": "scfcontractid",
  8076. "in": "query"
  8077. }
  8078. ],
  8079. "responses": {
  8080. "200": {
  8081. "description": "OK",
  8082. "schema": {
  8083. "type": "array",
  8084. "items": {
  8085. "$ref": "#/definitions/models.QhjContract"
  8086. }
  8087. }
  8088. },
  8089. "500": {
  8090. "description": "Internal Server Error",
  8091. "schema": {
  8092. "$ref": "#/definitions/app.Response"
  8093. }
  8094. }
  8095. }
  8096. }
  8097. },
  8098. "/Qhj/QueryContractLog": {
  8099. "get": {
  8100. "security": [
  8101. {
  8102. "ApiKeyAuth": []
  8103. }
  8104. ],
  8105. "produces": [
  8106. "application/json"
  8107. ],
  8108. "tags": [
  8109. "大连千海金"
  8110. ],
  8111. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8112. "parameters": [
  8113. {
  8114. "type": "integer",
  8115. "description": "scf合同id",
  8116. "name": "scfcontractid",
  8117. "in": "query",
  8118. "required": true
  8119. },
  8120. {
  8121. "type": "string",
  8122. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8123. "name": "amounttype",
  8124. "in": "query"
  8125. }
  8126. ],
  8127. "responses": {
  8128. "200": {
  8129. "description": "OK",
  8130. "schema": {
  8131. "type": "array",
  8132. "items": {
  8133. "$ref": "#/definitions/models.QhjContractLog"
  8134. }
  8135. }
  8136. },
  8137. "500": {
  8138. "description": "Internal Server Error",
  8139. "schema": {
  8140. "$ref": "#/definitions/app.Response"
  8141. }
  8142. }
  8143. }
  8144. }
  8145. },
  8146. "/Qhj/QueryCusBankSignBank": {
  8147. "get": {
  8148. "security": [
  8149. {
  8150. "ApiKeyAuth": []
  8151. }
  8152. ],
  8153. "produces": [
  8154. "application/json"
  8155. ],
  8156. "tags": [
  8157. "大连千海金"
  8158. ],
  8159. "summary": "查询托管银行",
  8160. "responses": {
  8161. "200": {
  8162. "description": "OK",
  8163. "schema": {
  8164. "type": "array",
  8165. "items": {
  8166. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8167. }
  8168. }
  8169. },
  8170. "500": {
  8171. "description": "Internal Server Error",
  8172. "schema": {
  8173. "$ref": "#/definitions/app.Response"
  8174. }
  8175. }
  8176. }
  8177. }
  8178. },
  8179. "/Qhj/QueryCustomerInfo": {
  8180. "get": {
  8181. "security": [
  8182. {
  8183. "ApiKeyAuth": []
  8184. }
  8185. ],
  8186. "produces": [
  8187. "application/json"
  8188. ],
  8189. "tags": [
  8190. "大连千海金"
  8191. ],
  8192. "summary": "查询客户资料",
  8193. "parameters": [
  8194. {
  8195. "type": "integer",
  8196. "description": "用户ID",
  8197. "name": "userid",
  8198. "in": "query",
  8199. "required": true
  8200. },
  8201. {
  8202. "type": "integer",
  8203. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8204. "name": "querytype",
  8205. "in": "query",
  8206. "required": true
  8207. },
  8208. {
  8209. "type": "integer",
  8210. "description": "客户类型 1-个人 2-企业",
  8211. "name": "userinfotype",
  8212. "in": "query"
  8213. },
  8214. {
  8215. "type": "string",
  8216. "description": "客户名称(模糊匹配)",
  8217. "name": "customername",
  8218. "in": "query"
  8219. },
  8220. {
  8221. "type": "string",
  8222. "description": "昵称(模糊匹配)",
  8223. "name": "nickname",
  8224. "in": "query"
  8225. },
  8226. {
  8227. "type": "integer",
  8228. "description": "是否包含子级 1-包含",
  8229. "name": "includesub",
  8230. "in": "query"
  8231. }
  8232. ],
  8233. "responses": {
  8234. "200": {
  8235. "description": "OK",
  8236. "schema": {
  8237. "type": "array",
  8238. "items": {
  8239. "$ref": "#/definitions/models.QhjCustomer"
  8240. }
  8241. }
  8242. },
  8243. "500": {
  8244. "description": "Internal Server Error",
  8245. "schema": {
  8246. "$ref": "#/definitions/app.Response"
  8247. }
  8248. }
  8249. }
  8250. }
  8251. },
  8252. "/Qhj/QueryGoodsEx": {
  8253. "get": {
  8254. "security": [
  8255. {
  8256. "ApiKeyAuth": []
  8257. }
  8258. ],
  8259. "produces": [
  8260. "application/json"
  8261. ],
  8262. "tags": [
  8263. "大连千海金"
  8264. ],
  8265. "summary": "交易商品扩展表",
  8266. "parameters": [
  8267. {
  8268. "type": "integer",
  8269. "description": "商品id",
  8270. "name": "goodsid",
  8271. "in": "query"
  8272. }
  8273. ],
  8274. "responses": {
  8275. "200": {
  8276. "description": "OK",
  8277. "schema": {
  8278. "type": "array",
  8279. "items": {
  8280. "$ref": "#/definitions/models.Qhjgoodsex"
  8281. }
  8282. }
  8283. },
  8284. "500": {
  8285. "description": "Internal Server Error",
  8286. "schema": {
  8287. "$ref": "#/definitions/app.Response"
  8288. }
  8289. }
  8290. }
  8291. }
  8292. },
  8293. "/Qhj/QueryMyTeam": {
  8294. "get": {
  8295. "security": [
  8296. {
  8297. "ApiKeyAuth": []
  8298. }
  8299. ],
  8300. "produces": [
  8301. "application/json"
  8302. ],
  8303. "tags": [
  8304. "大连千海金"
  8305. ],
  8306. "summary": "查询我的团队",
  8307. "parameters": [
  8308. {
  8309. "type": "integer",
  8310. "description": "用户ID",
  8311. "name": "userid",
  8312. "in": "query",
  8313. "required": true
  8314. }
  8315. ],
  8316. "responses": {
  8317. "200": {
  8318. "description": "OK",
  8319. "schema": {
  8320. "type": "array",
  8321. "items": {
  8322. "$ref": "#/definitions/models.QhjMyTeamEx"
  8323. }
  8324. }
  8325. },
  8326. "500": {
  8327. "description": "Internal Server Error",
  8328. "schema": {
  8329. "$ref": "#/definitions/app.Response"
  8330. }
  8331. }
  8332. }
  8333. }
  8334. },
  8335. "/Qhj/QueryMyTeamOrder": {
  8336. "get": {
  8337. "security": [
  8338. {
  8339. "ApiKeyAuth": []
  8340. }
  8341. ],
  8342. "produces": [
  8343. "application/json"
  8344. ],
  8345. "tags": [
  8346. "大连千海金"
  8347. ],
  8348. "summary": "查询团队订单(我的团队/团队订单)",
  8349. "parameters": [
  8350. {
  8351. "type": "integer",
  8352. "description": "页码",
  8353. "name": "page",
  8354. "in": "query"
  8355. },
  8356. {
  8357. "type": "integer",
  8358. "description": "每页条数",
  8359. "name": "pagesize",
  8360. "in": "query"
  8361. },
  8362. {
  8363. "type": "integer",
  8364. "description": "用户ID",
  8365. "name": "userid",
  8366. "in": "query",
  8367. "required": true
  8368. },
  8369. {
  8370. "type": "integer",
  8371. "description": "交易模式",
  8372. "name": "trademode",
  8373. "in": "query"
  8374. },
  8375. {
  8376. "type": "string",
  8377. "description": "名称(模糊搜索账户)",
  8378. "name": "filtername",
  8379. "in": "query"
  8380. }
  8381. ],
  8382. "responses": {
  8383. "200": {
  8384. "description": "OK",
  8385. "schema": {
  8386. "type": "array",
  8387. "items": {
  8388. "$ref": "#/definitions/models.QhjTeamOrder"
  8389. }
  8390. }
  8391. },
  8392. "500": {
  8393. "description": "Internal Server Error",
  8394. "schema": {
  8395. "$ref": "#/definitions/app.Response"
  8396. }
  8397. }
  8398. }
  8399. }
  8400. },
  8401. "/Qhj/QueryParentAreaList": {
  8402. "get": {
  8403. "security": [
  8404. {
  8405. "ApiKeyAuth": []
  8406. }
  8407. ],
  8408. "produces": [
  8409. "application/json"
  8410. ],
  8411. "tags": [
  8412. "大连千海金"
  8413. ],
  8414. "summary": "查询所属机构列表",
  8415. "parameters": [
  8416. {
  8417. "type": "integer",
  8418. "description": "用户ID",
  8419. "name": "userid",
  8420. "in": "query",
  8421. "required": true
  8422. }
  8423. ],
  8424. "responses": {
  8425. "200": {
  8426. "description": "OK",
  8427. "schema": {
  8428. "type": "array",
  8429. "items": {
  8430. "$ref": "#/definitions/models.QhjParentAreaList"
  8431. }
  8432. }
  8433. },
  8434. "500": {
  8435. "description": "Internal Server Error",
  8436. "schema": {
  8437. "$ref": "#/definitions/app.Response"
  8438. }
  8439. }
  8440. }
  8441. }
  8442. },
  8443. "/Qhj/QueryPayOrder": {
  8444. "get": {
  8445. "security": [
  8446. {
  8447. "ApiKeyAuth": []
  8448. }
  8449. ],
  8450. "produces": [
  8451. "application/json"
  8452. ],
  8453. "tags": [
  8454. "大连千海金"
  8455. ],
  8456. "summary": "查询待付款单据",
  8457. "parameters": [
  8458. {
  8459. "type": "integer",
  8460. "description": "资金账号id",
  8461. "name": "accountid",
  8462. "in": "query",
  8463. "required": true
  8464. },
  8465. {
  8466. "type": "integer",
  8467. "description": "成交单号",
  8468. "name": "tradeid",
  8469. "in": "query"
  8470. },
  8471. {
  8472. "type": "string",
  8473. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8474. "name": "payflag",
  8475. "in": "query"
  8476. }
  8477. ],
  8478. "responses": {
  8479. "200": {
  8480. "description": "OK",
  8481. "schema": {
  8482. "type": "array",
  8483. "items": {
  8484. "$ref": "#/definitions/models.QhjPayOrder"
  8485. }
  8486. }
  8487. },
  8488. "500": {
  8489. "description": "Internal Server Error",
  8490. "schema": {
  8491. "$ref": "#/definitions/app.Response"
  8492. }
  8493. }
  8494. }
  8495. }
  8496. },
  8497. "/Qhj/QueryPickArea": {
  8498. "get": {
  8499. "security": [
  8500. {
  8501. "ApiKeyAuth": []
  8502. }
  8503. ],
  8504. "produces": [
  8505. "application/json"
  8506. ],
  8507. "tags": [
  8508. "大连千海金"
  8509. ],
  8510. "summary": "查询提货门店",
  8511. "parameters": [
  8512. {
  8513. "type": "integer",
  8514. "description": "用户ID",
  8515. "name": "userid",
  8516. "in": "query"
  8517. }
  8518. ],
  8519. "responses": {
  8520. "200": {
  8521. "description": "OK",
  8522. "schema": {
  8523. "type": "array",
  8524. "items": {
  8525. "$ref": "#/definitions/models.QhjPickArea"
  8526. }
  8527. }
  8528. },
  8529. "500": {
  8530. "description": "Internal Server Error",
  8531. "schema": {
  8532. "$ref": "#/definitions/app.Response"
  8533. }
  8534. }
  8535. }
  8536. }
  8537. },
  8538. "/Qhj/QueryPickGoods": {
  8539. "get": {
  8540. "security": [
  8541. {
  8542. "ApiKeyAuth": []
  8543. }
  8544. ],
  8545. "produces": [
  8546. "application/json"
  8547. ],
  8548. "tags": [
  8549. "大连千海金"
  8550. ],
  8551. "summary": "查询提货商品",
  8552. "parameters": [
  8553. {
  8554. "type": "integer",
  8555. "description": "交易商品id",
  8556. "name": "goodsid",
  8557. "in": "query",
  8558. "required": true
  8559. },
  8560. {
  8561. "type": "string",
  8562. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8563. "name": "status",
  8564. "in": "query"
  8565. }
  8566. ],
  8567. "responses": {
  8568. "200": {
  8569. "description": "OK",
  8570. "schema": {
  8571. "type": "array",
  8572. "items": {
  8573. "$ref": "#/definitions/models.QhjPickGoods"
  8574. }
  8575. }
  8576. },
  8577. "500": {
  8578. "description": "Internal Server Error",
  8579. "schema": {
  8580. "$ref": "#/definitions/app.Response"
  8581. }
  8582. }
  8583. }
  8584. }
  8585. },
  8586. "/Qhj/QueryRSTriggerLog": {
  8587. "get": {
  8588. "security": [
  8589. {
  8590. "ApiKeyAuth": []
  8591. }
  8592. ],
  8593. "produces": [
  8594. "application/json"
  8595. ],
  8596. "tags": [
  8597. "大连千海金"
  8598. ],
  8599. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8600. "parameters": [
  8601. {
  8602. "type": "integer",
  8603. "description": "用户ID",
  8604. "name": "userid",
  8605. "in": "query"
  8606. },
  8607. {
  8608. "type": "integer",
  8609. "description": "定投策略id",
  8610. "name": "regularlystrategyid",
  8611. "in": "query"
  8612. },
  8613. {
  8614. "type": "integer",
  8615. "description": "商品id",
  8616. "name": "goodsid",
  8617. "in": "query"
  8618. },
  8619. {
  8620. "type": "string",
  8621. "description": "开始交易日(yyyymmdd)",
  8622. "name": "begindate",
  8623. "in": "query"
  8624. },
  8625. {
  8626. "type": "string",
  8627. "description": "结束交易日(yyyymmdd)",
  8628. "name": "enddate",
  8629. "in": "query"
  8630. },
  8631. {
  8632. "type": "string",
  8633. "description": "名称(模糊搜索账户)",
  8634. "name": "filtername",
  8635. "in": "query"
  8636. }
  8637. ],
  8638. "responses": {
  8639. "200": {
  8640. "description": "OK",
  8641. "schema": {
  8642. "type": "array",
  8643. "items": {
  8644. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8645. }
  8646. }
  8647. },
  8648. "500": {
  8649. "description": "Internal Server Error",
  8650. "schema": {
  8651. "$ref": "#/definitions/app.Response"
  8652. }
  8653. }
  8654. }
  8655. }
  8656. },
  8657. "/Qhj/QueryRStrategy": {
  8658. "get": {
  8659. "security": [
  8660. {
  8661. "ApiKeyAuth": []
  8662. }
  8663. ],
  8664. "produces": [
  8665. "application/json"
  8666. ],
  8667. "tags": [
  8668. "大连千海金"
  8669. ],
  8670. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8671. "parameters": [
  8672. {
  8673. "type": "integer",
  8674. "description": "用户ID",
  8675. "name": "userid",
  8676. "in": "query"
  8677. },
  8678. {
  8679. "type": "integer",
  8680. "description": "商品id",
  8681. "name": "goodsid",
  8682. "in": "query"
  8683. },
  8684. {
  8685. "type": "string",
  8686. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8687. "name": "status",
  8688. "in": "query"
  8689. },
  8690. {
  8691. "type": "string",
  8692. "description": "名称(模糊搜索账户)",
  8693. "name": "filtername",
  8694. "in": "query"
  8695. }
  8696. ],
  8697. "responses": {
  8698. "200": {
  8699. "description": "OK",
  8700. "schema": {
  8701. "type": "array",
  8702. "items": {
  8703. "$ref": "#/definitions/models.QhjRStrategy"
  8704. }
  8705. }
  8706. },
  8707. "500": {
  8708. "description": "Internal Server Error",
  8709. "schema": {
  8710. "$ref": "#/definitions/app.Response"
  8711. }
  8712. }
  8713. }
  8714. }
  8715. },
  8716. "/Qhj/QueryReckonPriceLog": {
  8717. "get": {
  8718. "security": [
  8719. {
  8720. "ApiKeyAuth": []
  8721. }
  8722. ],
  8723. "produces": [
  8724. "application/json"
  8725. ],
  8726. "tags": [
  8727. "大连千海金"
  8728. ],
  8729. "summary": "查询定投价(结算价)",
  8730. "parameters": [
  8731. {
  8732. "type": "integer",
  8733. "description": "商品ID",
  8734. "name": "goodsid",
  8735. "in": "query"
  8736. },
  8737. {
  8738. "type": "string",
  8739. "description": "交易日 格式(yyyymmdd)",
  8740. "name": "tradedate",
  8741. "in": "query"
  8742. }
  8743. ],
  8744. "responses": {
  8745. "200": {
  8746. "description": "OK",
  8747. "schema": {
  8748. "type": "array",
  8749. "items": {
  8750. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8751. }
  8752. }
  8753. },
  8754. "500": {
  8755. "description": "Internal Server Error",
  8756. "schema": {
  8757. "$ref": "#/definitions/app.Response"
  8758. }
  8759. }
  8760. }
  8761. }
  8762. },
  8763. "/Qhj/QueryScoreLog": {
  8764. "get": {
  8765. "security": [
  8766. {
  8767. "ApiKeyAuth": []
  8768. }
  8769. ],
  8770. "produces": [
  8771. "application/json"
  8772. ],
  8773. "tags": [
  8774. "大连千海金"
  8775. ],
  8776. "summary": "查询积分流水(我的积分)",
  8777. "parameters": [
  8778. {
  8779. "type": "integer",
  8780. "description": "用户ID",
  8781. "name": "userid",
  8782. "in": "query",
  8783. "required": true
  8784. },
  8785. {
  8786. "type": "string",
  8787. "description": "开始交易日(yyyymmdd)",
  8788. "name": "begindate",
  8789. "in": "query"
  8790. },
  8791. {
  8792. "type": "string",
  8793. "description": "结束交易日(yyyymmdd)",
  8794. "name": "enddate",
  8795. "in": "query"
  8796. },
  8797. {
  8798. "type": "integer",
  8799. "description": "最近多少条",
  8800. "name": "lastnum",
  8801. "in": "query"
  8802. }
  8803. ],
  8804. "responses": {
  8805. "200": {
  8806. "description": "OK",
  8807. "schema": {
  8808. "type": "array",
  8809. "items": {
  8810. "$ref": "#/definitions/models.QhjScoreLog"
  8811. }
  8812. }
  8813. },
  8814. "500": {
  8815. "description": "Internal Server Error",
  8816. "schema": {
  8817. "$ref": "#/definitions/app.Response"
  8818. }
  8819. }
  8820. }
  8821. }
  8822. },
  8823. "/Qhj/QuerySiteColumnDetail": {
  8824. "get": {
  8825. "security": [
  8826. {
  8827. "ApiKeyAuth": []
  8828. }
  8829. ],
  8830. "produces": [
  8831. "application/json"
  8832. ],
  8833. "tags": [
  8834. "大连千海金"
  8835. ],
  8836. "summary": "查询资讯",
  8837. "parameters": [
  8838. {
  8839. "type": "integer",
  8840. "description": "用户ID",
  8841. "name": "userid",
  8842. "in": "query",
  8843. "required": true
  8844. }
  8845. ],
  8846. "responses": {
  8847. "200": {
  8848. "description": "OK",
  8849. "schema": {
  8850. "type": "array",
  8851. "items": {
  8852. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8853. }
  8854. }
  8855. },
  8856. "500": {
  8857. "description": "Internal Server Error",
  8858. "schema": {
  8859. "$ref": "#/definitions/app.Response"
  8860. }
  8861. }
  8862. }
  8863. }
  8864. },
  8865. "/Qhj/QueryTradeGoodsPickup": {
  8866. "get": {
  8867. "security": [
  8868. {
  8869. "ApiKeyAuth": []
  8870. }
  8871. ],
  8872. "produces": [
  8873. "application/json"
  8874. ],
  8875. "tags": [
  8876. "大连千海金"
  8877. ],
  8878. "summary": "查询提货",
  8879. "parameters": [
  8880. {
  8881. "type": "integer",
  8882. "description": "用户ID",
  8883. "name": "userid",
  8884. "in": "query",
  8885. "required": true
  8886. },
  8887. {
  8888. "type": "integer",
  8889. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8890. "name": "takeorderstatus",
  8891. "in": "query"
  8892. }
  8893. ],
  8894. "responses": {
  8895. "200": {
  8896. "description": "OK",
  8897. "schema": {
  8898. "type": "array",
  8899. "items": {
  8900. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8901. }
  8902. }
  8903. },
  8904. "500": {
  8905. "description": "Internal Server Error",
  8906. "schema": {
  8907. "$ref": "#/definitions/app.Response"
  8908. }
  8909. }
  8910. }
  8911. }
  8912. },
  8913. "/Qhj/QueryUserCollectConfig": {
  8914. "get": {
  8915. "security": [
  8916. {
  8917. "ApiKeyAuth": []
  8918. }
  8919. ],
  8920. "produces": [
  8921. "application/json"
  8922. ],
  8923. "tags": [
  8924. "大连千海金"
  8925. ],
  8926. "summary": "查询提现账户设置",
  8927. "parameters": [
  8928. {
  8929. "type": "integer",
  8930. "description": "用户ID",
  8931. "name": "userid",
  8932. "in": "query",
  8933. "required": true
  8934. }
  8935. ],
  8936. "responses": {
  8937. "200": {
  8938. "description": "OK",
  8939. "schema": {
  8940. "type": "array",
  8941. "items": {
  8942. "$ref": "#/definitions/models.UserCollectConfig"
  8943. }
  8944. }
  8945. },
  8946. "500": {
  8947. "description": "Internal Server Error",
  8948. "schema": {
  8949. "$ref": "#/definitions/app.Response"
  8950. }
  8951. }
  8952. }
  8953. }
  8954. },
  8955. "/Qhj/QueryUserReceiveInfo": {
  8956. "get": {
  8957. "security": [
  8958. {
  8959. "ApiKeyAuth": []
  8960. }
  8961. ],
  8962. "produces": [
  8963. "application/json"
  8964. ],
  8965. "tags": [
  8966. "大连千海金"
  8967. ],
  8968. "summary": "查询收货地址信息",
  8969. "parameters": [
  8970. {
  8971. "type": "integer",
  8972. "description": "用户ID",
  8973. "name": "userid",
  8974. "in": "query",
  8975. "required": true
  8976. }
  8977. ],
  8978. "responses": {
  8979. "200": {
  8980. "description": "OK",
  8981. "schema": {
  8982. "type": "array",
  8983. "items": {
  8984. "$ref": "#/definitions/models.UserReceiveInfo"
  8985. }
  8986. }
  8987. },
  8988. "500": {
  8989. "description": "Internal Server Error",
  8990. "schema": {
  8991. "$ref": "#/definitions/app.Response"
  8992. }
  8993. }
  8994. }
  8995. }
  8996. },
  8997. "/QhjMgr/QueryAccountInOutApply": {
  8998. "get": {
  8999. "security": [
  9000. {
  9001. "ApiKeyAuth": []
  9002. }
  9003. ],
  9004. "produces": [
  9005. "application/json"
  9006. ],
  9007. "tags": [
  9008. "大连千海金(PCWeb)"
  9009. ],
  9010. "summary": "查询充值提现",
  9011. "parameters": [
  9012. {
  9013. "type": "integer",
  9014. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9015. "name": "querytype",
  9016. "in": "query",
  9017. "required": true
  9018. },
  9019. {
  9020. "type": "integer",
  9021. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9022. "name": "applystatus",
  9023. "in": "query"
  9024. },
  9025. {
  9026. "type": "string",
  9027. "description": "申请起始日期(格式yyyymmdd)",
  9028. "name": "begindate",
  9029. "in": "query"
  9030. },
  9031. {
  9032. "type": "string",
  9033. "description": "申请截止日期(格式yyyymmdd)",
  9034. "name": "enddate",
  9035. "in": "query"
  9036. },
  9037. {
  9038. "type": "string",
  9039. "description": "模糊搜索名称",
  9040. "name": "likename",
  9041. "in": "query"
  9042. }
  9043. ],
  9044. "responses": {
  9045. "200": {
  9046. "description": "OK",
  9047. "schema": {
  9048. "type": "array",
  9049. "items": {
  9050. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9051. }
  9052. }
  9053. },
  9054. "500": {
  9055. "description": "Internal Server Error",
  9056. "schema": {
  9057. "$ref": "#/definitions/app.Response"
  9058. }
  9059. }
  9060. }
  9061. }
  9062. },
  9063. "/QhjMgr/QueryBrokerApply": {
  9064. "get": {
  9065. "security": [
  9066. {
  9067. "ApiKeyAuth": []
  9068. }
  9069. ],
  9070. "produces": [
  9071. "application/json"
  9072. ],
  9073. "tags": [
  9074. "大连千海金(PCWeb)"
  9075. ],
  9076. "summary": "查询经纪人申请",
  9077. "parameters": [
  9078. {
  9079. "type": "integer",
  9080. "description": "所属机构ID",
  9081. "name": "userid",
  9082. "in": "query"
  9083. },
  9084. {
  9085. "type": "string",
  9086. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9087. "name": "filterstatus",
  9088. "in": "query"
  9089. },
  9090. {
  9091. "type": "string",
  9092. "description": "名称(模糊匹配)",
  9093. "name": "filtername",
  9094. "in": "query"
  9095. },
  9096. {
  9097. "type": "integer",
  9098. "description": "是否包含子级 1-包含",
  9099. "name": "includesub",
  9100. "in": "query"
  9101. }
  9102. ],
  9103. "responses": {
  9104. "200": {
  9105. "description": "OK",
  9106. "schema": {
  9107. "type": "array",
  9108. "items": {
  9109. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9110. }
  9111. }
  9112. },
  9113. "500": {
  9114. "description": "Internal Server Error",
  9115. "schema": {
  9116. "$ref": "#/definitions/app.Response"
  9117. }
  9118. }
  9119. }
  9120. }
  9121. },
  9122. "/QhjMgr/QueryBrokerRewardReport": {
  9123. "get": {
  9124. "security": [
  9125. {
  9126. "ApiKeyAuth": []
  9127. }
  9128. ],
  9129. "produces": [
  9130. "application/json"
  9131. ],
  9132. "tags": [
  9133. "大连千海金(PCWeb)"
  9134. ],
  9135. "summary": "查询经纪人奖励报表(废弃)",
  9136. "parameters": [
  9137. {
  9138. "type": "integer",
  9139. "description": "所属机构ID",
  9140. "name": "userid",
  9141. "in": "query",
  9142. "required": true
  9143. },
  9144. {
  9145. "type": "integer",
  9146. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9147. "name": "cycletype",
  9148. "in": "query",
  9149. "required": true
  9150. },
  9151. {
  9152. "type": "string",
  9153. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9154. "name": "cycletime",
  9155. "in": "query",
  9156. "required": true
  9157. },
  9158. {
  9159. "type": "string",
  9160. "description": "名称(模糊匹配)",
  9161. "name": "filtername",
  9162. "in": "query"
  9163. },
  9164. {
  9165. "type": "integer",
  9166. "description": "是否包含子级 1-包含",
  9167. "name": "includesub",
  9168. "in": "query"
  9169. }
  9170. ],
  9171. "responses": {
  9172. "200": {
  9173. "description": "OK",
  9174. "schema": {
  9175. "type": "array",
  9176. "items": {
  9177. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9178. }
  9179. }
  9180. },
  9181. "500": {
  9182. "description": "Internal Server Error",
  9183. "schema": {
  9184. "$ref": "#/definitions/app.Response"
  9185. }
  9186. }
  9187. }
  9188. }
  9189. },
  9190. "/QhjMgr/QueryContract": {
  9191. "get": {
  9192. "security": [
  9193. {
  9194. "ApiKeyAuth": []
  9195. }
  9196. ],
  9197. "produces": [
  9198. "application/json"
  9199. ],
  9200. "tags": [
  9201. "大连千海金(PCWeb)"
  9202. ],
  9203. "summary": "查询融资信息(合同)",
  9204. "parameters": [
  9205. {
  9206. "type": "integer",
  9207. "description": "用户ID",
  9208. "name": "userid",
  9209. "in": "query"
  9210. },
  9211. {
  9212. "type": "integer",
  9213. "description": "商品id",
  9214. "name": "goodsid",
  9215. "in": "query"
  9216. },
  9217. {
  9218. "type": "string",
  9219. "description": "名称(模糊搜索账户)",
  9220. "name": "filtername",
  9221. "in": "query"
  9222. },
  9223. {
  9224. "type": "string",
  9225. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9226. "name": "risklevel",
  9227. "in": "query"
  9228. },
  9229. {
  9230. "type": "string",
  9231. "description": "开始交易日(yyyymmdd)",
  9232. "name": "begindate",
  9233. "in": "query"
  9234. },
  9235. {
  9236. "type": "string",
  9237. "description": "结束交易日(yyyymmdd)",
  9238. "name": "enddate",
  9239. "in": "query"
  9240. }
  9241. ],
  9242. "responses": {
  9243. "200": {
  9244. "description": "OK",
  9245. "schema": {
  9246. "type": "array",
  9247. "items": {
  9248. "$ref": "#/definitions/models.QhjMgrContract"
  9249. }
  9250. }
  9251. },
  9252. "500": {
  9253. "description": "Internal Server Error",
  9254. "schema": {
  9255. "$ref": "#/definitions/app.Response"
  9256. }
  9257. }
  9258. }
  9259. }
  9260. },
  9261. "/QhjMgr/QueryCustomerInfo": {
  9262. "get": {
  9263. "security": [
  9264. {
  9265. "ApiKeyAuth": []
  9266. }
  9267. ],
  9268. "produces": [
  9269. "application/json"
  9270. ],
  9271. "tags": [
  9272. "大连千海金(PCWeb)"
  9273. ],
  9274. "summary": "查询客户资料",
  9275. "parameters": [
  9276. {
  9277. "type": "integer",
  9278. "description": "用户ID",
  9279. "name": "userid",
  9280. "in": "query",
  9281. "required": true
  9282. },
  9283. {
  9284. "type": "integer",
  9285. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9286. "name": "querytype",
  9287. "in": "query",
  9288. "required": true
  9289. },
  9290. {
  9291. "type": "integer",
  9292. "description": "客户类型 1-个人 2-企业",
  9293. "name": "userinfotype",
  9294. "in": "query"
  9295. },
  9296. {
  9297. "type": "string",
  9298. "description": "客户名称(模糊匹配)",
  9299. "name": "customername",
  9300. "in": "query"
  9301. },
  9302. {
  9303. "type": "string",
  9304. "description": "昵称(模糊匹配)",
  9305. "name": "nickname",
  9306. "in": "query"
  9307. },
  9308. {
  9309. "type": "string",
  9310. "description": "所属客户经理(模糊匹配)",
  9311. "name": "brokername",
  9312. "in": "query"
  9313. },
  9314. {
  9315. "type": "string",
  9316. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9317. "name": "birthday",
  9318. "in": "query"
  9319. },
  9320. {
  9321. "type": "integer",
  9322. "description": "是否包含子级 1-包含",
  9323. "name": "includesub",
  9324. "in": "query"
  9325. }
  9326. ],
  9327. "responses": {
  9328. "200": {
  9329. "description": "OK",
  9330. "schema": {
  9331. "type": "array",
  9332. "items": {
  9333. "$ref": "#/definitions/models.QhjMgrCustomer"
  9334. }
  9335. }
  9336. },
  9337. "500": {
  9338. "description": "Internal Server Error",
  9339. "schema": {
  9340. "$ref": "#/definitions/app.Response"
  9341. }
  9342. }
  9343. }
  9344. }
  9345. },
  9346. "/QhjMgr/QueryPickGoods": {
  9347. "get": {
  9348. "security": [
  9349. {
  9350. "ApiKeyAuth": []
  9351. }
  9352. ],
  9353. "produces": [
  9354. "application/json"
  9355. ],
  9356. "tags": [
  9357. "大连千海金(PCWeb)"
  9358. ],
  9359. "summary": "查询提货商品",
  9360. "parameters": [
  9361. {
  9362. "type": "string",
  9363. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9364. "name": "status",
  9365. "in": "query"
  9366. }
  9367. ],
  9368. "responses": {
  9369. "200": {
  9370. "description": "OK",
  9371. "schema": {
  9372. "type": "array",
  9373. "items": {
  9374. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9375. }
  9376. }
  9377. },
  9378. "500": {
  9379. "description": "Internal Server Error",
  9380. "schema": {
  9381. "$ref": "#/definitions/app.Response"
  9382. }
  9383. }
  9384. }
  9385. }
  9386. },
  9387. "/QhjMgr/QuerySubArea": {
  9388. "get": {
  9389. "security": [
  9390. {
  9391. "ApiKeyAuth": []
  9392. }
  9393. ],
  9394. "produces": [
  9395. "application/json"
  9396. ],
  9397. "tags": [
  9398. "大连千海金(PCWeb)"
  9399. ],
  9400. "summary": "查询子机构列表",
  9401. "parameters": [
  9402. {
  9403. "type": "integer",
  9404. "description": "用户ID",
  9405. "name": "userid",
  9406. "in": "query",
  9407. "required": true
  9408. }
  9409. ],
  9410. "responses": {
  9411. "200": {
  9412. "description": "OK",
  9413. "schema": {
  9414. "type": "array",
  9415. "items": {
  9416. "$ref": "#/definitions/models.QhjMgrSubArea"
  9417. }
  9418. }
  9419. },
  9420. "500": {
  9421. "description": "Internal Server Error",
  9422. "schema": {
  9423. "$ref": "#/definitions/app.Response"
  9424. }
  9425. }
  9426. }
  9427. }
  9428. },
  9429. "/QhjMgr/QueryTradeDetail": {
  9430. "get": {
  9431. "security": [
  9432. {
  9433. "ApiKeyAuth": []
  9434. }
  9435. ],
  9436. "produces": [
  9437. "application/json"
  9438. ],
  9439. "tags": [
  9440. "大连千海金(PCWeb)"
  9441. ],
  9442. "summary": "查询成交明细",
  9443. "parameters": [
  9444. {
  9445. "type": "integer",
  9446. "description": "用户ID",
  9447. "name": "userid",
  9448. "in": "query",
  9449. "required": true
  9450. },
  9451. {
  9452. "type": "integer",
  9453. "description": "用户类型 1-个人 2-企业",
  9454. "name": "userinfotype",
  9455. "in": "query"
  9456. },
  9457. {
  9458. "type": "integer",
  9459. "description": "交易模式",
  9460. "name": "trademode",
  9461. "in": "query"
  9462. },
  9463. {
  9464. "type": "integer",
  9465. "description": "商品id",
  9466. "name": "goodsid",
  9467. "in": "query"
  9468. },
  9469. {
  9470. "type": "string",
  9471. "description": "名称(模糊搜索账户)",
  9472. "name": "filtername",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "string",
  9477. "description": "开始交易日(yyyymmdd)",
  9478. "name": "begindate",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "结束交易日(yyyymmdd)",
  9484. "name": "enddate",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "integer",
  9489. "description": "是否包含子级 1-包含",
  9490. "name": "includesub",
  9491. "in": "query"
  9492. }
  9493. ],
  9494. "responses": {
  9495. "200": {
  9496. "description": "OK",
  9497. "schema": {
  9498. "type": "array",
  9499. "items": {
  9500. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9501. }
  9502. }
  9503. },
  9504. "500": {
  9505. "description": "Internal Server Error",
  9506. "schema": {
  9507. "$ref": "#/definitions/app.Response"
  9508. }
  9509. }
  9510. }
  9511. }
  9512. },
  9513. "/QhjMgr/QueryTradeOrderDetail": {
  9514. "get": {
  9515. "security": [
  9516. {
  9517. "ApiKeyAuth": []
  9518. }
  9519. ],
  9520. "produces": [
  9521. "application/json"
  9522. ],
  9523. "tags": [
  9524. "大连千海金(PCWeb)"
  9525. ],
  9526. "summary": "查询委托明细",
  9527. "parameters": [
  9528. {
  9529. "type": "integer",
  9530. "description": "用户ID",
  9531. "name": "userid",
  9532. "in": "query",
  9533. "required": true
  9534. },
  9535. {
  9536. "type": "integer",
  9537. "description": "用户类型 1-个人 2-企业",
  9538. "name": "userinfotype",
  9539. "in": "query"
  9540. },
  9541. {
  9542. "type": "integer",
  9543. "description": "交易模式",
  9544. "name": "trademode",
  9545. "in": "query"
  9546. },
  9547. {
  9548. "type": "integer",
  9549. "description": "商品id",
  9550. "name": "goodsid",
  9551. "in": "query"
  9552. },
  9553. {
  9554. "type": "string",
  9555. "description": "名称(模糊搜索账户)",
  9556. "name": "filtername",
  9557. "in": "query"
  9558. },
  9559. {
  9560. "type": "string",
  9561. "description": "开始交易日(yyyymmdd)",
  9562. "name": "begindate",
  9563. "in": "query"
  9564. },
  9565. {
  9566. "type": "string",
  9567. "description": "结束交易日(yyyymmdd)",
  9568. "name": "enddate",
  9569. "in": "query"
  9570. },
  9571. {
  9572. "type": "integer",
  9573. "description": "是否包含子级 1-包含",
  9574. "name": "includesub",
  9575. "in": "query"
  9576. }
  9577. ],
  9578. "responses": {
  9579. "200": {
  9580. "description": "OK",
  9581. "schema": {
  9582. "type": "array",
  9583. "items": {
  9584. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9585. }
  9586. }
  9587. },
  9588. "500": {
  9589. "description": "Internal Server Error",
  9590. "schema": {
  9591. "$ref": "#/definitions/app.Response"
  9592. }
  9593. }
  9594. }
  9595. }
  9596. },
  9597. "/QhjMgr/QueryTradePayOrder": {
  9598. "get": {
  9599. "security": [
  9600. {
  9601. "ApiKeyAuth": []
  9602. }
  9603. ],
  9604. "produces": [
  9605. "application/json"
  9606. ],
  9607. "tags": [
  9608. "大连千海金(PCWeb)"
  9609. ],
  9610. "summary": "查询待付款单",
  9611. "parameters": [
  9612. {
  9613. "type": "integer",
  9614. "description": "用户ID",
  9615. "name": "userid",
  9616. "in": "query",
  9617. "required": true
  9618. },
  9619. {
  9620. "type": "string",
  9621. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9622. "name": "payflag",
  9623. "in": "query"
  9624. },
  9625. {
  9626. "type": "integer",
  9627. "description": "用户类型 1-个人 2-企业",
  9628. "name": "userinfotype",
  9629. "in": "query"
  9630. },
  9631. {
  9632. "type": "integer",
  9633. "description": "交易模式",
  9634. "name": "trademode",
  9635. "in": "query"
  9636. },
  9637. {
  9638. "type": "integer",
  9639. "description": "商品id",
  9640. "name": "goodsid",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "string",
  9645. "description": "名称(模糊搜索账户)",
  9646. "name": "filtername",
  9647. "in": "query"
  9648. },
  9649. {
  9650. "type": "string",
  9651. "description": "开始交易日(yyyymmdd)",
  9652. "name": "begindate",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "string",
  9657. "description": "结束交易日(yyyymmdd)",
  9658. "name": "enddate",
  9659. "in": "query"
  9660. },
  9661. {
  9662. "type": "integer",
  9663. "description": "是否包含子级 1-包含",
  9664. "name": "includesub",
  9665. "in": "query"
  9666. }
  9667. ],
  9668. "responses": {
  9669. "200": {
  9670. "description": "OK",
  9671. "schema": {
  9672. "type": "array",
  9673. "items": {
  9674. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9675. }
  9676. }
  9677. },
  9678. "500": {
  9679. "description": "Internal Server Error",
  9680. "schema": {
  9681. "$ref": "#/definitions/app.Response"
  9682. }
  9683. }
  9684. }
  9685. }
  9686. },
  9687. "/QhjMgr/QueryTradePosition": {
  9688. "get": {
  9689. "security": [
  9690. {
  9691. "ApiKeyAuth": []
  9692. }
  9693. ],
  9694. "produces": [
  9695. "application/json"
  9696. ],
  9697. "tags": [
  9698. "大连千海金(PCWeb)"
  9699. ],
  9700. "summary": "查询持仓汇总",
  9701. "parameters": [
  9702. {
  9703. "type": "integer",
  9704. "description": "用户ID",
  9705. "name": "userid",
  9706. "in": "query",
  9707. "required": true
  9708. },
  9709. {
  9710. "type": "integer",
  9711. "description": "用户类型 1-个人 2-企业",
  9712. "name": "userinfotype",
  9713. "in": "query"
  9714. },
  9715. {
  9716. "type": "integer",
  9717. "description": "交易模式",
  9718. "name": "trademode",
  9719. "in": "query"
  9720. },
  9721. {
  9722. "type": "integer",
  9723. "description": "商品id",
  9724. "name": "goodsid",
  9725. "in": "query"
  9726. },
  9727. {
  9728. "type": "string",
  9729. "description": "名称(模糊搜索账户)",
  9730. "name": "filtername",
  9731. "in": "query"
  9732. },
  9733. {
  9734. "type": "integer",
  9735. "description": "是否包含子级 1-包含",
  9736. "name": "includesub",
  9737. "in": "query"
  9738. }
  9739. ],
  9740. "responses": {
  9741. "200": {
  9742. "description": "OK",
  9743. "schema": {
  9744. "type": "array",
  9745. "items": {
  9746. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9747. }
  9748. }
  9749. },
  9750. "500": {
  9751. "description": "Internal Server Error",
  9752. "schema": {
  9753. "$ref": "#/definitions/app.Response"
  9754. }
  9755. }
  9756. }
  9757. }
  9758. },
  9759. "/QhjSys/QueryAgreementChangeLog": {
  9760. "get": {
  9761. "security": [
  9762. {
  9763. "ApiKeyAuth": []
  9764. }
  9765. ],
  9766. "produces": [
  9767. "application/json"
  9768. ],
  9769. "tags": [
  9770. "大连千海金(协议和签约信息)"
  9771. ],
  9772. "summary": "查询协议配置变更流水",
  9773. "parameters": [
  9774. {
  9775. "type": "integer",
  9776. "description": "协议ID",
  9777. "name": "agreementid",
  9778. "in": "query"
  9779. },
  9780. {
  9781. "type": "integer",
  9782. "description": "协议版本号",
  9783. "name": "agreementversion",
  9784. "in": "query"
  9785. },
  9786. {
  9787. "type": "integer",
  9788. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9789. "name": "agreementtype",
  9790. "in": "query"
  9791. },
  9792. {
  9793. "type": "string",
  9794. "description": "协议编号(模糊匹配)",
  9795. "name": "agreementno",
  9796. "in": "query"
  9797. },
  9798. {
  9799. "type": "string",
  9800. "description": "协议名称(模糊匹配)",
  9801. "name": "agreementname",
  9802. "in": "query"
  9803. }
  9804. ],
  9805. "responses": {
  9806. "200": {
  9807. "description": "OK",
  9808. "schema": {
  9809. "type": "array",
  9810. "items": {
  9811. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9812. }
  9813. }
  9814. },
  9815. "500": {
  9816. "description": "Internal Server Error",
  9817. "schema": {
  9818. "$ref": "#/definitions/app.Response"
  9819. }
  9820. }
  9821. }
  9822. }
  9823. },
  9824. "/QhjSys/QueryAgreementConfig": {
  9825. "get": {
  9826. "security": [
  9827. {
  9828. "ApiKeyAuth": []
  9829. }
  9830. ],
  9831. "produces": [
  9832. "application/json"
  9833. ],
  9834. "tags": [
  9835. "大连千海金(协议和签约信息)"
  9836. ],
  9837. "summary": "查询协议配置",
  9838. "parameters": [
  9839. {
  9840. "type": "integer",
  9841. "description": "协议ID",
  9842. "name": "agreementid",
  9843. "in": "query"
  9844. },
  9845. {
  9846. "type": "integer",
  9847. "description": "协议版本号",
  9848. "name": "agreementversion",
  9849. "in": "query"
  9850. },
  9851. {
  9852. "type": "integer",
  9853. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9854. "name": "agreementtype",
  9855. "in": "query"
  9856. },
  9857. {
  9858. "type": "integer",
  9859. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9860. "name": "isvalid",
  9861. "in": "query"
  9862. },
  9863. {
  9864. "type": "string",
  9865. "description": "协议编号(模糊匹配)",
  9866. "name": "agreementno",
  9867. "in": "query"
  9868. },
  9869. {
  9870. "type": "string",
  9871. "description": "协议名称(模糊匹配)",
  9872. "name": "agreementname",
  9873. "in": "query"
  9874. }
  9875. ],
  9876. "responses": {
  9877. "200": {
  9878. "description": "OK",
  9879. "schema": {
  9880. "type": "array",
  9881. "items": {
  9882. "$ref": "#/definitions/models.QhjAgreementConfig"
  9883. }
  9884. }
  9885. },
  9886. "500": {
  9887. "description": "Internal Server Error",
  9888. "schema": {
  9889. "$ref": "#/definitions/app.Response"
  9890. }
  9891. }
  9892. }
  9893. }
  9894. },
  9895. "/QhjSys/QueryCustomerSignStatus": {
  9896. "get": {
  9897. "security": [
  9898. {
  9899. "ApiKeyAuth": []
  9900. }
  9901. ],
  9902. "produces": [
  9903. "application/json"
  9904. ],
  9905. "tags": [
  9906. "大连千海金(协议和签约信息)"
  9907. ],
  9908. "summary": "查询客户协议签约状态",
  9909. "parameters": [
  9910. {
  9911. "type": "integer",
  9912. "description": "客户ID",
  9913. "name": "userid",
  9914. "in": "query"
  9915. },
  9916. {
  9917. "type": "integer",
  9918. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9919. "name": "nodetype",
  9920. "in": "query"
  9921. },
  9922. {
  9923. "type": "integer",
  9924. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9925. "name": "goodsid",
  9926. "in": "query"
  9927. },
  9928. {
  9929. "type": "string",
  9930. "description": "创建交易日(yyyyMMdd)",
  9931. "name": "tradedate",
  9932. "in": "query"
  9933. },
  9934. {
  9935. "type": "string",
  9936. "description": "用户名称(模糊匹配)",
  9937. "name": "username",
  9938. "in": "query"
  9939. }
  9940. ],
  9941. "responses": {
  9942. "200": {
  9943. "description": "OK",
  9944. "schema": {
  9945. "type": "array",
  9946. "items": {
  9947. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9948. }
  9949. }
  9950. },
  9951. "500": {
  9952. "description": "Internal Server Error",
  9953. "schema": {
  9954. "$ref": "#/definitions/app.Response"
  9955. }
  9956. }
  9957. }
  9958. }
  9959. },
  9960. "/QhjSys/QueryNodeAgreementConfig": {
  9961. "get": {
  9962. "security": [
  9963. {
  9964. "ApiKeyAuth": []
  9965. }
  9966. ],
  9967. "produces": [
  9968. "application/json"
  9969. ],
  9970. "tags": [
  9971. "大连千海金(协议和签约信息)"
  9972. ],
  9973. "summary": "查询协议节点配置",
  9974. "parameters": [
  9975. {
  9976. "type": "integer",
  9977. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9978. "name": "configid",
  9979. "in": "query"
  9980. },
  9981. {
  9982. "type": "integer",
  9983. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9984. "name": "nodetype",
  9985. "in": "query"
  9986. },
  9987. {
  9988. "type": "integer",
  9989. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9990. "name": "goodsid",
  9991. "in": "query"
  9992. },
  9993. {
  9994. "type": "integer",
  9995. "description": "协议ID",
  9996. "name": "agreementid",
  9997. "in": "query"
  9998. },
  9999. {
  10000. "type": "integer",
  10001. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10002. "name": "agreementtype",
  10003. "in": "query"
  10004. },
  10005. {
  10006. "type": "integer",
  10007. "description": "协议版本号",
  10008. "name": "agreementversion",
  10009. "in": "query"
  10010. },
  10011. {
  10012. "type": "string",
  10013. "description": "协议编号(模糊匹配)",
  10014. "name": "agreementno",
  10015. "in": "query"
  10016. },
  10017. {
  10018. "type": "string",
  10019. "description": "协议名称(模糊匹配)",
  10020. "name": "agreementname",
  10021. "in": "query"
  10022. }
  10023. ],
  10024. "responses": {
  10025. "200": {
  10026. "description": "OK",
  10027. "schema": {
  10028. "type": "array",
  10029. "items": {
  10030. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10031. }
  10032. }
  10033. },
  10034. "500": {
  10035. "description": "Internal Server Error",
  10036. "schema": {
  10037. "$ref": "#/definitions/app.Response"
  10038. }
  10039. }
  10040. }
  10041. }
  10042. },
  10043. "/QhjSys/QueryQhjCustomerSignLog": {
  10044. "get": {
  10045. "security": [
  10046. {
  10047. "ApiKeyAuth": []
  10048. }
  10049. ],
  10050. "produces": [
  10051. "application/json"
  10052. ],
  10053. "tags": [
  10054. "大连千海金(协议和签约信息)"
  10055. ],
  10056. "summary": "查询客户协议签约流水",
  10057. "parameters": [
  10058. {
  10059. "type": "integer",
  10060. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10061. "name": "logid",
  10062. "in": "query"
  10063. },
  10064. {
  10065. "type": "integer",
  10066. "description": "客户ID",
  10067. "name": "userid",
  10068. "in": "query"
  10069. },
  10070. {
  10071. "type": "integer",
  10072. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10073. "name": "nodetype",
  10074. "in": "query"
  10075. },
  10076. {
  10077. "type": "integer",
  10078. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10079. "name": "goodsid",
  10080. "in": "query"
  10081. },
  10082. {
  10083. "type": "integer",
  10084. "description": "协议ID",
  10085. "name": "agreementid",
  10086. "in": "query"
  10087. },
  10088. {
  10089. "type": "string",
  10090. "description": "用户名称(模糊匹配)",
  10091. "name": "username",
  10092. "in": "query"
  10093. },
  10094. {
  10095. "type": "string",
  10096. "description": "协议编号(模糊匹配)",
  10097. "name": "agreementno",
  10098. "in": "query"
  10099. },
  10100. {
  10101. "type": "string",
  10102. "description": "协议名称(模糊匹配)",
  10103. "name": "agreementname",
  10104. "in": "query"
  10105. }
  10106. ],
  10107. "responses": {
  10108. "200": {
  10109. "description": "OK",
  10110. "schema": {
  10111. "type": "array",
  10112. "items": {
  10113. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10114. }
  10115. }
  10116. },
  10117. "500": {
  10118. "description": "Internal Server Error",
  10119. "schema": {
  10120. "$ref": "#/definitions/app.Response"
  10121. }
  10122. }
  10123. }
  10124. }
  10125. },
  10126. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10127. "get": {
  10128. "security": [
  10129. {
  10130. "ApiKeyAuth": []
  10131. }
  10132. ],
  10133. "produces": [
  10134. "application/json"
  10135. ],
  10136. "tags": [
  10137. "大连千海金(协议和签约信息)"
  10138. ],
  10139. "summary": "查询用户协议节点配置和状态",
  10140. "parameters": [
  10141. {
  10142. "type": "integer",
  10143. "description": "客户ID",
  10144. "name": "userid",
  10145. "in": "query"
  10146. },
  10147. {
  10148. "type": "integer",
  10149. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10150. "name": "configid",
  10151. "in": "query"
  10152. },
  10153. {
  10154. "type": "string",
  10155. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10156. "name": "nodetype",
  10157. "in": "query"
  10158. },
  10159. {
  10160. "type": "integer",
  10161. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10162. "name": "goodsid",
  10163. "in": "query"
  10164. },
  10165. {
  10166. "type": "integer",
  10167. "description": "协议ID",
  10168. "name": "agreementid",
  10169. "in": "query"
  10170. },
  10171. {
  10172. "type": "integer",
  10173. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10174. "name": "agreementtype",
  10175. "in": "query"
  10176. },
  10177. {
  10178. "type": "integer",
  10179. "description": "协议版本号",
  10180. "name": "agreementversion",
  10181. "in": "query"
  10182. },
  10183. {
  10184. "type": "string",
  10185. "description": "协议编号(模糊匹配)",
  10186. "name": "agreementno",
  10187. "in": "query"
  10188. },
  10189. {
  10190. "type": "string",
  10191. "description": "协议名称(模糊匹配)",
  10192. "name": "agreementname",
  10193. "in": "query"
  10194. }
  10195. ],
  10196. "responses": {
  10197. "200": {
  10198. "description": "OK",
  10199. "schema": {
  10200. "type": "array",
  10201. "items": {
  10202. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10203. }
  10204. }
  10205. },
  10206. "500": {
  10207. "description": "Internal Server Error",
  10208. "schema": {
  10209. "$ref": "#/definitions/app.Response"
  10210. }
  10211. }
  10212. }
  10213. }
  10214. },
  10215. "/Quote/QueryHistoryDatas": {
  10216. "get": {
  10217. "security": [
  10218. {
  10219. "ApiKeyAuth": []
  10220. }
  10221. ],
  10222. "produces": [
  10223. "application/json"
  10224. ],
  10225. "tags": [
  10226. "行情服务"
  10227. ],
  10228. "summary": "查询行情历史数据",
  10229. "parameters": [
  10230. {
  10231. "type": "integer",
  10232. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10233. "name": "cycleType",
  10234. "in": "query",
  10235. "required": true
  10236. },
  10237. {
  10238. "type": "string",
  10239. "description": "商品代码",
  10240. "name": "goodsCode",
  10241. "in": "query",
  10242. "required": true
  10243. },
  10244. {
  10245. "type": "string",
  10246. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10247. "name": "startTime",
  10248. "in": "query"
  10249. },
  10250. {
  10251. "type": "string",
  10252. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10253. "name": "endTime",
  10254. "in": "query"
  10255. },
  10256. {
  10257. "type": "integer",
  10258. "description": "条数",
  10259. "name": "count",
  10260. "in": "query"
  10261. },
  10262. {
  10263. "type": "boolean",
  10264. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10265. "name": "isAsc",
  10266. "in": "query"
  10267. }
  10268. ],
  10269. "responses": {
  10270. "200": {
  10271. "description": "OK",
  10272. "schema": {
  10273. "$ref": "#/definitions/quote.HistoryData"
  10274. }
  10275. },
  10276. "500": {
  10277. "description": "Internal Server Error",
  10278. "schema": {
  10279. "$ref": "#/definitions/app.Response"
  10280. }
  10281. }
  10282. }
  10283. }
  10284. },
  10285. "/Quote/QueryHistoryTikDatas": {
  10286. "get": {
  10287. "security": [
  10288. {
  10289. "ApiKeyAuth": []
  10290. }
  10291. ],
  10292. "produces": [
  10293. "application/json"
  10294. ],
  10295. "tags": [
  10296. "行情服务"
  10297. ],
  10298. "summary": "查询行情Tik数据",
  10299. "parameters": [
  10300. {
  10301. "type": "string",
  10302. "description": "商品代码",
  10303. "name": "goodsCode",
  10304. "in": "query",
  10305. "required": true
  10306. },
  10307. {
  10308. "type": "string",
  10309. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10310. "name": "startTime",
  10311. "in": "query"
  10312. },
  10313. {
  10314. "type": "string",
  10315. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10316. "name": "endTime",
  10317. "in": "query"
  10318. },
  10319. {
  10320. "type": "integer",
  10321. "description": "条数",
  10322. "name": "count",
  10323. "in": "query"
  10324. },
  10325. {
  10326. "type": "boolean",
  10327. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10328. "name": "isAsc",
  10329. "in": "query"
  10330. }
  10331. ],
  10332. "responses": {
  10333. "200": {
  10334. "description": "OK",
  10335. "schema": {
  10336. "$ref": "#/definitions/quote.HistoryTikData"
  10337. }
  10338. },
  10339. "500": {
  10340. "description": "Internal Server Error",
  10341. "schema": {
  10342. "$ref": "#/definitions/app.Response"
  10343. }
  10344. }
  10345. }
  10346. }
  10347. },
  10348. "/Quote/QueryQuoteDay": {
  10349. "get": {
  10350. "security": [
  10351. {
  10352. "ApiKeyAuth": []
  10353. }
  10354. ],
  10355. "produces": [
  10356. "application/json"
  10357. ],
  10358. "tags": [
  10359. "行情服务"
  10360. ],
  10361. "summary": "获取商品盘面信息",
  10362. "parameters": [
  10363. {
  10364. "type": "string",
  10365. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10366. "name": "goodsCodes",
  10367. "in": "query",
  10368. "required": true
  10369. }
  10370. ],
  10371. "responses": {
  10372. "200": {
  10373. "description": "OK",
  10374. "schema": {
  10375. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10376. }
  10377. },
  10378. "500": {
  10379. "description": "Internal Server Error",
  10380. "schema": {
  10381. "$ref": "#/definitions/app.Response"
  10382. }
  10383. }
  10384. }
  10385. }
  10386. },
  10387. "/Quote/QueryTSData": {
  10388. "get": {
  10389. "security": [
  10390. {
  10391. "ApiKeyAuth": []
  10392. }
  10393. ],
  10394. "produces": [
  10395. "application/json"
  10396. ],
  10397. "tags": [
  10398. "行情服务"
  10399. ],
  10400. "summary": "分时图数据查询",
  10401. "parameters": [
  10402. {
  10403. "type": "string",
  10404. "description": "商品代码",
  10405. "name": "goodsCode",
  10406. "in": "query",
  10407. "required": true
  10408. }
  10409. ],
  10410. "responses": {
  10411. "200": {
  10412. "description": "OK",
  10413. "schema": {
  10414. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10415. }
  10416. },
  10417. "500": {
  10418. "description": "Internal Server Error",
  10419. "schema": {
  10420. "$ref": "#/definitions/app.Response"
  10421. }
  10422. }
  10423. }
  10424. }
  10425. },
  10426. "/SZDZ/QueryConvertConfig": {
  10427. "get": {
  10428. "security": [
  10429. {
  10430. "ApiKeyAuth": []
  10431. }
  10432. ],
  10433. "produces": [
  10434. "application/json"
  10435. ],
  10436. "tags": [
  10437. "定制【尚志大宗】"
  10438. ],
  10439. "summary": "查询交易系统转换设置",
  10440. "parameters": [
  10441. {
  10442. "type": "integer",
  10443. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10444. "name": "convertType",
  10445. "in": "query"
  10446. },
  10447. {
  10448. "type": "string",
  10449. "description": "外部商品代码[JD\\PD]",
  10450. "name": "outerGoodsCode",
  10451. "in": "query"
  10452. },
  10453. {
  10454. "type": "string",
  10455. "description": "内部商品ID列表[交易],格式:1,2,3",
  10456. "name": "innerGoodsIDs",
  10457. "in": "query"
  10458. }
  10459. ],
  10460. "responses": {
  10461. "200": {
  10462. "description": "OK",
  10463. "schema": {
  10464. "$ref": "#/definitions/models.Szdz3convertconfig"
  10465. }
  10466. },
  10467. "500": {
  10468. "description": "Internal Server Error",
  10469. "schema": {
  10470. "$ref": "#/definitions/app.Response"
  10471. }
  10472. }
  10473. }
  10474. }
  10475. },
  10476. "/SZDZ/QueryConvertLog": {
  10477. "get": {
  10478. "security": [
  10479. {
  10480. "ApiKeyAuth": []
  10481. }
  10482. ],
  10483. "produces": [
  10484. "application/json"
  10485. ],
  10486. "tags": [
  10487. "定制【尚志大宗】"
  10488. ],
  10489. "summary": "交易系统转换流水查询",
  10490. "parameters": [
  10491. {
  10492. "type": "string",
  10493. "description": "资金账户 - 格式:1,2,3",
  10494. "name": "accountID",
  10495. "in": "query",
  10496. "required": true
  10497. },
  10498. {
  10499. "type": "string",
  10500. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10501. "name": "startDate",
  10502. "in": "query"
  10503. },
  10504. {
  10505. "type": "string",
  10506. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10507. "name": "endDate",
  10508. "in": "query"
  10509. }
  10510. ],
  10511. "responses": {
  10512. "200": {
  10513. "description": "OK",
  10514. "schema": {
  10515. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10516. }
  10517. },
  10518. "500": {
  10519. "description": "Internal Server Error",
  10520. "schema": {
  10521. "$ref": "#/definitions/app.Response"
  10522. }
  10523. }
  10524. }
  10525. }
  10526. },
  10527. "/SZDZ/QueryGoodsPickup": {
  10528. "get": {
  10529. "security": [
  10530. {
  10531. "ApiKeyAuth": []
  10532. }
  10533. ],
  10534. "produces": [
  10535. "application/json"
  10536. ],
  10537. "tags": [
  10538. "定制【尚志大宗】"
  10539. ],
  10540. "summary": "商品提货单查询",
  10541. "parameters": [
  10542. {
  10543. "type": "string",
  10544. "description": "资金账户 - 格式:1,2,3",
  10545. "name": "accountID",
  10546. "in": "query",
  10547. "required": true
  10548. },
  10549. {
  10550. "type": "integer",
  10551. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10552. "name": "takeOrderStatus",
  10553. "in": "query"
  10554. }
  10555. ],
  10556. "responses": {
  10557. "200": {
  10558. "description": "OK",
  10559. "schema": {
  10560. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10561. }
  10562. },
  10563. "500": {
  10564. "description": "Internal Server Error",
  10565. "schema": {
  10566. "$ref": "#/definitions/app.Response"
  10567. }
  10568. }
  10569. }
  10570. }
  10571. },
  10572. "/SZDZ/QueryRecieptOrder": {
  10573. "get": {
  10574. "security": [
  10575. {
  10576. "ApiKeyAuth": []
  10577. }
  10578. ],
  10579. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10580. "produces": [
  10581. "application/json"
  10582. ],
  10583. "tags": [
  10584. "定制【尚志大宗】"
  10585. ],
  10586. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10587. "parameters": [
  10588. {
  10589. "type": "integer",
  10590. "description": "页码",
  10591. "name": "page",
  10592. "in": "query"
  10593. },
  10594. {
  10595. "type": "integer",
  10596. "description": "每页条数",
  10597. "name": "pagesize",
  10598. "in": "query"
  10599. },
  10600. {
  10601. "type": "integer",
  10602. "description": "商品ID",
  10603. "name": "goodsID",
  10604. "in": "query",
  10605. "required": true
  10606. },
  10607. {
  10608. "type": "string",
  10609. "description": "所属账户名称",
  10610. "name": "accountName",
  10611. "in": "query"
  10612. },
  10613. {
  10614. "type": "integer",
  10615. "description": "市场ID",
  10616. "name": "marketID",
  10617. "in": "query"
  10618. },
  10619. {
  10620. "type": "integer",
  10621. "description": "方向 - 0:买 1:卖",
  10622. "name": "buyorsell",
  10623. "in": "query",
  10624. "required": true
  10625. }
  10626. ],
  10627. "responses": {
  10628. "200": {
  10629. "description": "OK",
  10630. "schema": {
  10631. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10632. }
  10633. },
  10634. "500": {
  10635. "description": "Internal Server Error",
  10636. "schema": {
  10637. "$ref": "#/definitions/app.Response"
  10638. }
  10639. }
  10640. }
  10641. }
  10642. },
  10643. "/SZDZ/QuerySZDZTradePosition": {
  10644. "get": {
  10645. "security": [
  10646. {
  10647. "ApiKeyAuth": []
  10648. }
  10649. ],
  10650. "produces": [
  10651. "application/json"
  10652. ],
  10653. "tags": [
  10654. "定制【尚志大宗】"
  10655. ],
  10656. "summary": "持仓汇总查询(尚志大宗)",
  10657. "parameters": [
  10658. {
  10659. "type": "integer",
  10660. "description": "资金账户",
  10661. "name": "accountID",
  10662. "in": "query",
  10663. "required": true
  10664. }
  10665. ],
  10666. "responses": {
  10667. "200": {
  10668. "description": "OK",
  10669. "schema": {
  10670. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10671. }
  10672. },
  10673. "500": {
  10674. "description": "Internal Server Error",
  10675. "schema": {
  10676. "$ref": "#/definitions/app.Response"
  10677. }
  10678. }
  10679. }
  10680. }
  10681. },
  10682. "/SZDZ/SearchWhite": {
  10683. "get": {
  10684. "security": [
  10685. {
  10686. "ApiKeyAuth": []
  10687. }
  10688. ],
  10689. "produces": [
  10690. "application/json"
  10691. ],
  10692. "tags": [
  10693. "定制【尚志大宗】"
  10694. ],
  10695. "summary": "搜索白名单",
  10696. "parameters": [
  10697. {
  10698. "type": "integer",
  10699. "description": "用户ID",
  10700. "name": "userID",
  10701. "in": "query",
  10702. "required": true
  10703. }
  10704. ],
  10705. "responses": {
  10706. "200": {
  10707. "description": "OK",
  10708. "schema": {
  10709. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10710. }
  10711. },
  10712. "500": {
  10713. "description": "Internal Server Error",
  10714. "schema": {
  10715. "$ref": "#/definitions/app.Response"
  10716. }
  10717. }
  10718. }
  10719. }
  10720. },
  10721. "/Search/SearchGoodses": {
  10722. "get": {
  10723. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10724. "produces": [
  10725. "application/json"
  10726. ],
  10727. "tags": [
  10728. "检索服务"
  10729. ],
  10730. "summary": "检索商品信息",
  10731. "parameters": [
  10732. {
  10733. "type": "string",
  10734. "description": "检索内容",
  10735. "name": "content",
  10736. "in": "query",
  10737. "required": true
  10738. },
  10739. {
  10740. "type": "string",
  10741. "description": "交易模式,格式:1,2,3",
  10742. "name": "tradeModes",
  10743. "in": "query"
  10744. }
  10745. ],
  10746. "responses": {
  10747. "200": {
  10748. "description": "OK",
  10749. "schema": {
  10750. "$ref": "#/definitions/models.SearchGoods"
  10751. }
  10752. },
  10753. "500": {
  10754. "description": "Internal Server Error",
  10755. "schema": {
  10756. "$ref": "#/definitions/app.Response"
  10757. }
  10758. }
  10759. }
  10760. }
  10761. },
  10762. "/TaAccount/GetTaAccounts": {
  10763. "get": {
  10764. "security": [
  10765. {
  10766. "ApiKeyAuth": []
  10767. }
  10768. ],
  10769. "produces": [
  10770. "application/json"
  10771. ],
  10772. "tags": [
  10773. "资金账户"
  10774. ],
  10775. "summary": "获取资金账户信息",
  10776. "parameters": [
  10777. {
  10778. "type": "integer",
  10779. "description": "登录账户",
  10780. "name": "loginID",
  10781. "in": "query",
  10782. "required": true
  10783. },
  10784. {
  10785. "type": "integer",
  10786. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10787. "name": "taAccountType",
  10788. "in": "query"
  10789. }
  10790. ],
  10791. "responses": {
  10792. "200": {
  10793. "description": "OK",
  10794. "schema": {
  10795. "$ref": "#/definitions/models.Taaccount"
  10796. }
  10797. },
  10798. "500": {
  10799. "description": "Internal Server Error",
  10800. "schema": {
  10801. "$ref": "#/definitions/app.Response"
  10802. }
  10803. }
  10804. }
  10805. }
  10806. },
  10807. "/TaAccount/QueryAmountLog": {
  10808. "get": {
  10809. "security": [
  10810. {
  10811. "ApiKeyAuth": []
  10812. }
  10813. ],
  10814. "produces": [
  10815. "application/json"
  10816. ],
  10817. "tags": [
  10818. "资金账户"
  10819. ],
  10820. "summary": "资金流水查询(当前)",
  10821. "parameters": [
  10822. {
  10823. "type": "integer",
  10824. "description": "页码",
  10825. "name": "page",
  10826. "in": "query"
  10827. },
  10828. {
  10829. "type": "integer",
  10830. "description": "每页条数",
  10831. "name": "pagesize",
  10832. "in": "query"
  10833. },
  10834. {
  10835. "type": "string",
  10836. "description": "资金账户 - 格式:1,2,3",
  10837. "name": "accountID",
  10838. "in": "query",
  10839. "required": true
  10840. },
  10841. {
  10842. "type": "string",
  10843. "description": "资金操作类型 - 格式:1,2,3",
  10844. "name": "OperateType",
  10845. "in": "query"
  10846. }
  10847. ],
  10848. "responses": {
  10849. "200": {
  10850. "description": "OK",
  10851. "schema": {
  10852. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10853. }
  10854. },
  10855. "500": {
  10856. "description": "Internal Server Error",
  10857. "schema": {
  10858. "$ref": "#/definitions/app.Response"
  10859. }
  10860. }
  10861. }
  10862. }
  10863. },
  10864. "/TaAccount/QueryHisAmountLog": {
  10865. "get": {
  10866. "security": [
  10867. {
  10868. "ApiKeyAuth": []
  10869. }
  10870. ],
  10871. "produces": [
  10872. "application/json"
  10873. ],
  10874. "tags": [
  10875. "资金账户"
  10876. ],
  10877. "summary": "资金流水查询(历史)",
  10878. "parameters": [
  10879. {
  10880. "type": "integer",
  10881. "description": "页码",
  10882. "name": "page",
  10883. "in": "query"
  10884. },
  10885. {
  10886. "type": "integer",
  10887. "description": "每页条数",
  10888. "name": "pagesize",
  10889. "in": "query"
  10890. },
  10891. {
  10892. "type": "string",
  10893. "description": "资金账户 - 格式:1,2,3",
  10894. "name": "accountID",
  10895. "in": "query",
  10896. "required": true
  10897. },
  10898. {
  10899. "type": "string",
  10900. "description": "资金操作类型 - 格式:1,2,3",
  10901. "name": "OperateType",
  10902. "in": "query"
  10903. },
  10904. {
  10905. "type": "string",
  10906. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10907. "name": "startDate",
  10908. "in": "query"
  10909. },
  10910. {
  10911. "type": "string",
  10912. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10913. "name": "endDate",
  10914. "in": "query"
  10915. }
  10916. ],
  10917. "responses": {
  10918. "200": {
  10919. "description": "OK",
  10920. "schema": {
  10921. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10922. }
  10923. },
  10924. "500": {
  10925. "description": "Internal Server Error",
  10926. "schema": {
  10927. "$ref": "#/definitions/app.Response"
  10928. }
  10929. }
  10930. }
  10931. }
  10932. },
  10933. "/Tjmd/QueryQuoteGoodsList": {
  10934. "get": {
  10935. "security": [
  10936. {
  10937. "ApiKeyAuth": []
  10938. }
  10939. ],
  10940. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  10941. "produces": [
  10942. "application/json"
  10943. ],
  10944. "tags": [
  10945. "天津麦顿"
  10946. ],
  10947. "summary": "查询掉期报价列表",
  10948. "parameters": [
  10949. {
  10950. "type": "integer",
  10951. "description": "用户类型",
  10952. "name": "usertype",
  10953. "in": "query",
  10954. "required": true
  10955. },
  10956. {
  10957. "type": "string",
  10958. "description": "市场id, 格式 1,2,3",
  10959. "name": "marketids",
  10960. "in": "query"
  10961. },
  10962. {
  10963. "type": "integer",
  10964. "description": "商品组id",
  10965. "name": "goodsgroupid",
  10966. "in": "query"
  10967. },
  10968. {
  10969. "type": "integer",
  10970. "description": "商品id",
  10971. "name": "goodsid",
  10972. "in": "query"
  10973. }
  10974. ],
  10975. "responses": {
  10976. "200": {
  10977. "description": "OK",
  10978. "schema": {
  10979. "type": "array",
  10980. "items": {
  10981. "$ref": "#/definitions/models.TjmdQuoteGoods"
  10982. }
  10983. }
  10984. },
  10985. "500": {
  10986. "description": "Internal Server Error",
  10987. "schema": {
  10988. "$ref": "#/definitions/app.Response"
  10989. }
  10990. }
  10991. }
  10992. }
  10993. },
  10994. "/Tjmd/QueryTjmdTodayAccountMargin": {
  10995. "get": {
  10996. "security": [
  10997. {
  10998. "ApiKeyAuth": []
  10999. }
  11000. ],
  11001. "produces": [
  11002. "application/json"
  11003. ],
  11004. "tags": [
  11005. "天津麦顿"
  11006. ],
  11007. "summary": "查询今日账户保证金配置",
  11008. "parameters": [
  11009. {
  11010. "type": "string",
  11011. "description": "市场id",
  11012. "name": "marketid",
  11013. "in": "query"
  11014. },
  11015. {
  11016. "type": "string",
  11017. "description": "商品id",
  11018. "name": "goodsid",
  11019. "in": "query"
  11020. },
  11021. {
  11022. "type": "string",
  11023. "description": "资金账号",
  11024. "name": "accountid",
  11025. "in": "query"
  11026. }
  11027. ],
  11028. "responses": {
  11029. "200": {
  11030. "description": "OK",
  11031. "schema": {
  11032. "type": "array",
  11033. "items": {
  11034. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11035. }
  11036. }
  11037. },
  11038. "500": {
  11039. "description": "Internal Server Error",
  11040. "schema": {
  11041. "$ref": "#/definitions/app.Response"
  11042. }
  11043. }
  11044. }
  11045. }
  11046. },
  11047. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11048. "get": {
  11049. "security": [
  11050. {
  11051. "ApiKeyAuth": []
  11052. }
  11053. ],
  11054. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11055. "produces": [
  11056. "application/json"
  11057. ],
  11058. "tags": [
  11059. "天津麦顿"
  11060. ],
  11061. "summary": "查询掉期买卖大厅",
  11062. "parameters": [
  11063. {
  11064. "type": "integer",
  11065. "description": "页码",
  11066. "name": "page",
  11067. "in": "query"
  11068. },
  11069. {
  11070. "type": "integer",
  11071. "description": "每页条数",
  11072. "name": "pagesize",
  11073. "in": "query"
  11074. },
  11075. {
  11076. "type": "integer",
  11077. "description": "用户id",
  11078. "name": "userid",
  11079. "in": "query",
  11080. "required": true
  11081. },
  11082. {
  11083. "type": "integer",
  11084. "description": "用户类型",
  11085. "name": "usertype",
  11086. "in": "query",
  11087. "required": true
  11088. },
  11089. {
  11090. "type": "string",
  11091. "description": "市场id, 格式 1,2,3",
  11092. "name": "marketids",
  11093. "in": "query"
  11094. },
  11095. {
  11096. "type": "integer",
  11097. "description": "商品id",
  11098. "name": "goodsid",
  11099. "in": "query",
  11100. "required": true
  11101. },
  11102. {
  11103. "type": "integer",
  11104. "description": "买卖方向 0-买 1-卖",
  11105. "name": "buyorsell",
  11106. "in": "query",
  11107. "required": true
  11108. }
  11109. ],
  11110. "responses": {
  11111. "200": {
  11112. "description": "OK",
  11113. "schema": {
  11114. "type": "array",
  11115. "items": {
  11116. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11117. }
  11118. }
  11119. },
  11120. "500": {
  11121. "description": "Internal Server Error",
  11122. "schema": {
  11123. "$ref": "#/definitions/app.Response"
  11124. }
  11125. }
  11126. }
  11127. }
  11128. },
  11129. "/Tjmd/QueryTjmdTransferApply": {
  11130. "get": {
  11131. "security": [
  11132. {
  11133. "ApiKeyAuth": []
  11134. }
  11135. ],
  11136. "produces": [
  11137. "application/json"
  11138. ],
  11139. "tags": [
  11140. "天津麦顿"
  11141. ],
  11142. "summary": "查询掉期协议单",
  11143. "parameters": [
  11144. {
  11145. "type": "integer",
  11146. "description": "类型 1-我的申请 2-对方申请",
  11147. "name": "applytype",
  11148. "in": "query",
  11149. "required": true
  11150. },
  11151. {
  11152. "type": "string",
  11153. "description": "市场id, 格式 1,2,3",
  11154. "name": "marketids",
  11155. "in": "query"
  11156. },
  11157. {
  11158. "type": "string",
  11159. "description": "资金账号, 格式 25000000001,25000000003",
  11160. "name": "accountids",
  11161. "in": "query"
  11162. }
  11163. ],
  11164. "responses": {
  11165. "200": {
  11166. "description": "OK",
  11167. "schema": {
  11168. "type": "array",
  11169. "items": {
  11170. "$ref": "#/definitions/models.TjmdTransferApply"
  11171. }
  11172. }
  11173. },
  11174. "500": {
  11175. "description": "Internal Server Error",
  11176. "schema": {
  11177. "$ref": "#/definitions/app.Response"
  11178. }
  11179. }
  11180. }
  11181. }
  11182. },
  11183. "/Trade/QueryRecieptOrder": {
  11184. "get": {
  11185. "security": [
  11186. {
  11187. "ApiKeyAuth": []
  11188. }
  11189. ],
  11190. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11191. "produces": [
  11192. "application/json"
  11193. ],
  11194. "tags": [
  11195. "通用交易"
  11196. ],
  11197. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11198. "parameters": [
  11199. {
  11200. "type": "integer",
  11201. "description": "页码",
  11202. "name": "page",
  11203. "in": "query"
  11204. },
  11205. {
  11206. "type": "integer",
  11207. "description": "每页条数",
  11208. "name": "pagesize",
  11209. "in": "query"
  11210. },
  11211. {
  11212. "type": "integer",
  11213. "description": "商品ID",
  11214. "name": "goodsID",
  11215. "in": "query",
  11216. "required": true
  11217. },
  11218. {
  11219. "type": "string",
  11220. "description": "所属账户名称",
  11221. "name": "accountName",
  11222. "in": "query"
  11223. },
  11224. {
  11225. "type": "integer",
  11226. "description": "市场ID",
  11227. "name": "marketID",
  11228. "in": "query"
  11229. },
  11230. {
  11231. "type": "integer",
  11232. "description": "方向 - 0:买 1:卖",
  11233. "name": "buyorsell",
  11234. "in": "query",
  11235. "required": true
  11236. }
  11237. ],
  11238. "responses": {
  11239. "200": {
  11240. "description": "OK",
  11241. "schema": {
  11242. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11243. }
  11244. },
  11245. "500": {
  11246. "description": "Internal Server Error",
  11247. "schema": {
  11248. "$ref": "#/definitions/app.Response"
  11249. }
  11250. }
  11251. }
  11252. }
  11253. },
  11254. "/User/AddMessageBoard": {
  11255. "post": {
  11256. "security": [
  11257. {
  11258. "ApiKeyAuth": []
  11259. }
  11260. ],
  11261. "produces": [
  11262. "application/json"
  11263. ],
  11264. "tags": [
  11265. "用户信息"
  11266. ],
  11267. "summary": "添加用户留言板信息",
  11268. "parameters": [
  11269. {
  11270. "type": "integer",
  11271. "description": "用户ID",
  11272. "name": "userID",
  11273. "in": "query",
  11274. "required": true
  11275. },
  11276. {
  11277. "type": "string",
  11278. "description": "留言信息",
  11279. "name": "message",
  11280. "in": "query",
  11281. "required": true
  11282. },
  11283. {
  11284. "type": "string",
  11285. "description": "联系电话",
  11286. "name": "contactNum",
  11287. "in": "query",
  11288. "required": true
  11289. }
  11290. ],
  11291. "responses": {
  11292. "200": {
  11293. "description": "OK",
  11294. "schema": {
  11295. "$ref": "#/definitions/app.Response"
  11296. }
  11297. },
  11298. "500": {
  11299. "description": "Internal Server Error",
  11300. "schema": {
  11301. "$ref": "#/definitions/app.Response"
  11302. }
  11303. }
  11304. }
  11305. }
  11306. },
  11307. "/User/AddUserFavoriteGoods": {
  11308. "post": {
  11309. "security": [
  11310. {
  11311. "ApiKeyAuth": []
  11312. }
  11313. ],
  11314. "produces": [
  11315. "application/json"
  11316. ],
  11317. "tags": [
  11318. "用户信息"
  11319. ],
  11320. "summary": "添加用户商品收藏信息",
  11321. "parameters": [
  11322. {
  11323. "type": "integer",
  11324. "description": "用户ID",
  11325. "name": "userID",
  11326. "in": "query",
  11327. "required": true
  11328. },
  11329. {
  11330. "type": "integer",
  11331. "description": "商品ID",
  11332. "name": "goodsID",
  11333. "in": "query",
  11334. "required": true
  11335. }
  11336. ],
  11337. "responses": {
  11338. "200": {
  11339. "description": "OK",
  11340. "schema": {
  11341. "$ref": "#/definitions/app.Response"
  11342. }
  11343. },
  11344. "500": {
  11345. "description": "Internal Server Error",
  11346. "schema": {
  11347. "$ref": "#/definitions/app.Response"
  11348. }
  11349. }
  11350. }
  11351. }
  11352. },
  11353. "/User/GetLoginID": {
  11354. "get": {
  11355. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11356. "produces": [
  11357. "application/json"
  11358. ],
  11359. "tags": [
  11360. "用户信息"
  11361. ],
  11362. "summary": "获取登录ID",
  11363. "parameters": [
  11364. {
  11365. "type": "string",
  11366. "description": "登录代码",
  11367. "name": "username",
  11368. "in": "query",
  11369. "required": true
  11370. }
  11371. ],
  11372. "responses": {
  11373. "200": {
  11374. "description": "OK",
  11375. "schema": {
  11376. "$ref": "#/definitions/app.Response"
  11377. }
  11378. },
  11379. "500": {
  11380. "description": "Internal Server Error",
  11381. "schema": {
  11382. "$ref": "#/definitions/app.Response"
  11383. }
  11384. }
  11385. }
  11386. }
  11387. },
  11388. "/User/GetUserAccount": {
  11389. "get": {
  11390. "security": [
  11391. {
  11392. "ApiKeyAuth": []
  11393. }
  11394. ],
  11395. "produces": [
  11396. "application/json"
  11397. ],
  11398. "tags": [
  11399. "用户信息"
  11400. ],
  11401. "summary": "获取用户账号信息",
  11402. "parameters": [
  11403. {
  11404. "type": "integer",
  11405. "description": "用户ID",
  11406. "name": "userID",
  11407. "in": "query",
  11408. "required": true
  11409. }
  11410. ],
  11411. "responses": {
  11412. "200": {
  11413. "description": "OK",
  11414. "schema": {
  11415. "$ref": "#/definitions/models.Useraccount"
  11416. }
  11417. },
  11418. "500": {
  11419. "description": "Internal Server Error",
  11420. "schema": {
  11421. "$ref": "#/definitions/app.Response"
  11422. }
  11423. }
  11424. }
  11425. }
  11426. },
  11427. "/User/GetUserAuthStatus": {
  11428. "get": {
  11429. "security": [
  11430. {
  11431. "ApiKeyAuth": []
  11432. }
  11433. ],
  11434. "produces": [
  11435. "application/json"
  11436. ],
  11437. "tags": [
  11438. "用户信息"
  11439. ],
  11440. "summary": "获取用户实名认证状态",
  11441. "parameters": [
  11442. {
  11443. "type": "integer",
  11444. "description": "用户ID",
  11445. "name": "userID",
  11446. "in": "query",
  11447. "required": true
  11448. }
  11449. ],
  11450. "responses": {
  11451. "200": {
  11452. "description": "OK",
  11453. "schema": {
  11454. "$ref": "#/definitions/app.Response"
  11455. }
  11456. },
  11457. "500": {
  11458. "description": "Internal Server Error",
  11459. "schema": {
  11460. "$ref": "#/definitions/app.Response"
  11461. }
  11462. }
  11463. }
  11464. }
  11465. },
  11466. "/User/LoginQuery": {
  11467. "get": {
  11468. "security": [
  11469. {
  11470. "ApiKeyAuth": []
  11471. }
  11472. ],
  11473. "produces": [
  11474. "application/json"
  11475. ],
  11476. "tags": [
  11477. "用户信息"
  11478. ],
  11479. "summary": "账户登录后信息查询",
  11480. "parameters": [
  11481. {
  11482. "type": "integer",
  11483. "description": "登录账号",
  11484. "name": "loginID",
  11485. "in": "query",
  11486. "required": true
  11487. }
  11488. ],
  11489. "responses": {
  11490. "200": {
  11491. "description": "OK",
  11492. "schema": {
  11493. "$ref": "#/definitions/user.LoginQueryRsp"
  11494. }
  11495. },
  11496. "500": {
  11497. "description": "Internal Server Error",
  11498. "schema": {
  11499. "$ref": "#/definitions/app.Response"
  11500. }
  11501. }
  11502. }
  11503. }
  11504. },
  11505. "/User/QueryMessageBoard": {
  11506. "get": {
  11507. "security": [
  11508. {
  11509. "ApiKeyAuth": []
  11510. }
  11511. ],
  11512. "produces": [
  11513. "application/json"
  11514. ],
  11515. "tags": [
  11516. "用户信息"
  11517. ],
  11518. "summary": "获取用户留言板信息",
  11519. "parameters": [
  11520. {
  11521. "type": "integer",
  11522. "description": "用户ID",
  11523. "name": "userID",
  11524. "in": "query",
  11525. "required": true
  11526. }
  11527. ],
  11528. "responses": {
  11529. "200": {
  11530. "description": "OK",
  11531. "schema": {
  11532. "$ref": "#/definitions/models.Messageboard"
  11533. }
  11534. },
  11535. "500": {
  11536. "description": "Internal Server Error",
  11537. "schema": {
  11538. "$ref": "#/definitions/app.Response"
  11539. }
  11540. }
  11541. }
  11542. }
  11543. },
  11544. "/User/QueryUserFavoriteGoodses": {
  11545. "get": {
  11546. "security": [
  11547. {
  11548. "ApiKeyAuth": []
  11549. }
  11550. ],
  11551. "produces": [
  11552. "application/json"
  11553. ],
  11554. "tags": [
  11555. "用户信息"
  11556. ],
  11557. "summary": "获取用户商品收藏信息",
  11558. "parameters": [
  11559. {
  11560. "type": "integer",
  11561. "description": "用户ID",
  11562. "name": "userID",
  11563. "in": "query",
  11564. "required": true
  11565. }
  11566. ],
  11567. "responses": {
  11568. "200": {
  11569. "description": "OK",
  11570. "schema": {
  11571. "$ref": "#/definitions/models.Userfavoritegoods"
  11572. }
  11573. },
  11574. "500": {
  11575. "description": "Internal Server Error",
  11576. "schema": {
  11577. "$ref": "#/definitions/app.Response"
  11578. }
  11579. }
  11580. }
  11581. }
  11582. },
  11583. "/User/QueryUserInfo": {
  11584. "get": {
  11585. "security": [
  11586. {
  11587. "ApiKeyAuth": []
  11588. }
  11589. ],
  11590. "produces": [
  11591. "application/json"
  11592. ],
  11593. "tags": [
  11594. "用户信息"
  11595. ],
  11596. "summary": "获取用户信息",
  11597. "parameters": [
  11598. {
  11599. "type": "integer",
  11600. "description": "用户ID",
  11601. "name": "userID",
  11602. "in": "query",
  11603. "required": true
  11604. },
  11605. {
  11606. "type": "boolean",
  11607. "description": "是否解密",
  11608. "name": "isDecrypt",
  11609. "in": "query"
  11610. }
  11611. ],
  11612. "responses": {
  11613. "200": {
  11614. "description": "OK",
  11615. "schema": {
  11616. "$ref": "#/definitions/models.Userinfo"
  11617. }
  11618. },
  11619. "500": {
  11620. "description": "Internal Server Error",
  11621. "schema": {
  11622. "$ref": "#/definitions/app.Response"
  11623. }
  11624. }
  11625. }
  11626. }
  11627. },
  11628. "/User/QueryUserReferNum": {
  11629. "get": {
  11630. "produces": [
  11631. "application/json"
  11632. ],
  11633. "tags": [
  11634. "用户信息"
  11635. ],
  11636. "summary": "获取用户邀请码",
  11637. "parameters": [
  11638. {
  11639. "type": "integer",
  11640. "description": "用户ID",
  11641. "name": "userID",
  11642. "in": "query",
  11643. "required": true
  11644. }
  11645. ],
  11646. "responses": {
  11647. "200": {
  11648. "description": "OK",
  11649. "schema": {
  11650. "$ref": "#/definitions/app.Response"
  11651. }
  11652. },
  11653. "500": {
  11654. "description": "Internal Server Error",
  11655. "schema": {
  11656. "$ref": "#/definitions/app.Response"
  11657. }
  11658. }
  11659. }
  11660. }
  11661. },
  11662. "/User/RemoveUserFavoriteGoods": {
  11663. "post": {
  11664. "security": [
  11665. {
  11666. "ApiKeyAuth": []
  11667. }
  11668. ],
  11669. "produces": [
  11670. "application/json"
  11671. ],
  11672. "tags": [
  11673. "用户信息"
  11674. ],
  11675. "summary": "移除用户商品收藏信息",
  11676. "parameters": [
  11677. {
  11678. "type": "integer",
  11679. "description": "用户ID",
  11680. "name": "userID",
  11681. "in": "query",
  11682. "required": true
  11683. },
  11684. {
  11685. "type": "integer",
  11686. "description": "商品ID",
  11687. "name": "goodsID",
  11688. "in": "query",
  11689. "required": true
  11690. }
  11691. ],
  11692. "responses": {
  11693. "200": {
  11694. "description": "OK",
  11695. "schema": {
  11696. "$ref": "#/definitions/app.Response"
  11697. }
  11698. },
  11699. "500": {
  11700. "description": "Internal Server Error",
  11701. "schema": {
  11702. "$ref": "#/definitions/app.Response"
  11703. }
  11704. }
  11705. }
  11706. }
  11707. },
  11708. "/User/UpdateUserAccountStatus": {
  11709. "post": {
  11710. "security": [
  11711. {
  11712. "ApiKeyAuth": []
  11713. }
  11714. ],
  11715. "produces": [
  11716. "application/json"
  11717. ],
  11718. "tags": [
  11719. "用户信息"
  11720. ],
  11721. "summary": "更新用户状态",
  11722. "parameters": [
  11723. {
  11724. "type": "integer",
  11725. "description": "用户ID",
  11726. "name": "userID",
  11727. "in": "query",
  11728. "required": true
  11729. },
  11730. {
  11731. "type": "integer",
  11732. "description": "账户状态 - 4:正常 6:注销(停用)",
  11733. "name": "accountStatus",
  11734. "in": "query",
  11735. "required": true
  11736. }
  11737. ],
  11738. "responses": {
  11739. "200": {
  11740. "description": "OK",
  11741. "schema": {
  11742. "$ref": "#/definitions/app.Response"
  11743. }
  11744. },
  11745. "500": {
  11746. "description": "Internal Server Error",
  11747. "schema": {
  11748. "$ref": "#/definitions/app.Response"
  11749. }
  11750. }
  11751. }
  11752. }
  11753. },
  11754. "/WRTrade/GetAllDeliveryGoods": {
  11755. "get": {
  11756. "security": [
  11757. {
  11758. "ApiKeyAuth": []
  11759. },
  11760. {
  11761. "ApiKeyAuth": []
  11762. }
  11763. ],
  11764. "produces": [
  11765. "application/json",
  11766. "application/json"
  11767. ],
  11768. "tags": [
  11769. "仓单贸易",
  11770. "仓单贸易"
  11771. ],
  11772. "summary": "获取带仓单分类的种类信息",
  11773. "responses": {
  11774. "200": {
  11775. "description": "OK",
  11776. "schema": {
  11777. "$ref": "#/definitions/app.Response"
  11778. }
  11779. },
  11780. "500": {
  11781. "description": "Internal Server Error",
  11782. "schema": {
  11783. "$ref": "#/definitions/app.Response"
  11784. }
  11785. }
  11786. }
  11787. }
  11788. },
  11789. "/WrTrade2/QueryFaProductDetail": {
  11790. "get": {
  11791. "security": [
  11792. {
  11793. "ApiKeyAuth": []
  11794. }
  11795. ],
  11796. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11797. "produces": [
  11798. "application/json"
  11799. ],
  11800. "tags": [
  11801. "仓单贸易v2"
  11802. ],
  11803. "summary": "查询融资产品列表",
  11804. "parameters": [
  11805. {
  11806. "type": "integer",
  11807. "description": "仓单要素id",
  11808. "name": "wrfactortypeid",
  11809. "in": "query",
  11810. "required": true
  11811. }
  11812. ],
  11813. "responses": {
  11814. "200": {
  11815. "description": "OK",
  11816. "schema": {
  11817. "type": "array",
  11818. "items": {
  11819. "$ref": "#/definitions/models.WrFAProductDetail"
  11820. }
  11821. }
  11822. },
  11823. "500": {
  11824. "description": "Internal Server Error",
  11825. "schema": {
  11826. "$ref": "#/definitions/app.Response"
  11827. }
  11828. }
  11829. }
  11830. }
  11831. },
  11832. "/WrTrade2/QueryFilterItem": {
  11833. "get": {
  11834. "security": [
  11835. {
  11836. "ApiKeyAuth": []
  11837. }
  11838. ],
  11839. "produces": [
  11840. "application/json"
  11841. ],
  11842. "tags": [
  11843. "仓单贸易v2"
  11844. ],
  11845. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11846. "parameters": [
  11847. {
  11848. "type": "string",
  11849. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11850. "name": "itype",
  11851. "in": "query",
  11852. "required": true
  11853. }
  11854. ],
  11855. "responses": {
  11856. "200": {
  11857. "description": "OK",
  11858. "schema": {
  11859. "type": "array",
  11860. "items": {
  11861. "$ref": "#/definitions/models.WrFilterItem"
  11862. }
  11863. }
  11864. },
  11865. "500": {
  11866. "description": "Internal Server Error",
  11867. "schema": {
  11868. "$ref": "#/definitions/app.Response"
  11869. }
  11870. }
  11871. }
  11872. }
  11873. },
  11874. "/WrTrade2/QueryFtDeliveryGoods": {
  11875. "get": {
  11876. "security": [
  11877. {
  11878. "ApiKeyAuth": []
  11879. }
  11880. ],
  11881. "produces": [
  11882. "application/json"
  11883. ],
  11884. "tags": [
  11885. "仓单贸易v2"
  11886. ],
  11887. "summary": "查询品种品类筛选框列表",
  11888. "responses": {
  11889. "200": {
  11890. "description": "OK",
  11891. "schema": {
  11892. "type": "array",
  11893. "items": {
  11894. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11895. }
  11896. }
  11897. },
  11898. "500": {
  11899. "description": "Internal Server Error",
  11900. "schema": {
  11901. "$ref": "#/definitions/app.Response"
  11902. }
  11903. }
  11904. }
  11905. }
  11906. },
  11907. "/WrTrade2/QueryHoldLB": {
  11908. "get": {
  11909. "security": [
  11910. {
  11911. "ApiKeyAuth": []
  11912. }
  11913. ],
  11914. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11915. "produces": [
  11916. "application/json"
  11917. ],
  11918. "tags": [
  11919. "仓单贸易v2"
  11920. ],
  11921. "summary": "查询仓单持有记录",
  11922. "parameters": [
  11923. {
  11924. "type": "integer",
  11925. "description": "资金账号",
  11926. "name": "accountid",
  11927. "in": "query",
  11928. "required": true
  11929. },
  11930. {
  11931. "type": "integer",
  11932. "description": "仓库id",
  11933. "name": "warehouseid",
  11934. "in": "query"
  11935. },
  11936. {
  11937. "type": "integer",
  11938. "description": "品种id",
  11939. "name": "deliverygoodsid",
  11940. "in": "query"
  11941. },
  11942. {
  11943. "type": "integer",
  11944. "description": "品类id",
  11945. "name": "wrstandardid",
  11946. "in": "query"
  11947. },
  11948. {
  11949. "type": "integer",
  11950. "description": "仓单要素id",
  11951. "name": "wrfactortypeid",
  11952. "in": "query"
  11953. },
  11954. {
  11955. "type": "string",
  11956. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11957. "name": "dgitemname",
  11958. "in": "query"
  11959. }
  11960. ],
  11961. "responses": {
  11962. "200": {
  11963. "description": "OK",
  11964. "schema": {
  11965. "type": "array",
  11966. "items": {
  11967. "$ref": "#/definitions/models.WrHoldLB"
  11968. }
  11969. }
  11970. },
  11971. "500": {
  11972. "description": "Internal Server Error",
  11973. "schema": {
  11974. "$ref": "#/definitions/app.Response"
  11975. }
  11976. }
  11977. }
  11978. }
  11979. },
  11980. "/WrTrade2/QueryOrderQuote": {
  11981. "get": {
  11982. "security": [
  11983. {
  11984. "ApiKeyAuth": []
  11985. }
  11986. ],
  11987. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11988. "produces": [
  11989. "application/json"
  11990. ],
  11991. "tags": [
  11992. "仓单贸易v2"
  11993. ],
  11994. "summary": "查询大厅行情列表",
  11995. "parameters": [
  11996. {
  11997. "type": "integer",
  11998. "description": "页码",
  11999. "name": "page",
  12000. "in": "query"
  12001. },
  12002. {
  12003. "type": "integer",
  12004. "description": "每页条数",
  12005. "name": "pagesize",
  12006. "in": "query"
  12007. },
  12008. {
  12009. "type": "integer",
  12010. "description": "仓单贸易市场id",
  12011. "name": "marketid",
  12012. "in": "query"
  12013. },
  12014. {
  12015. "type": "integer",
  12016. "description": "价格方式 - 1:固定价 2-浮动价",
  12017. "name": "wrpricetype",
  12018. "in": "query",
  12019. "required": true
  12020. },
  12021. {
  12022. "type": "integer",
  12023. "description": "0:仓单预售 1:仓单贸易",
  12024. "name": "haswr",
  12025. "in": "query",
  12026. "required": true
  12027. },
  12028. {
  12029. "type": "string",
  12030. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12031. "name": "dgitemname",
  12032. "in": "query"
  12033. },
  12034. {
  12035. "type": "integer",
  12036. "description": "仓库id(筛选条件)",
  12037. "name": "warehouseid",
  12038. "in": "query"
  12039. },
  12040. {
  12041. "type": "integer",
  12042. "description": "品种id",
  12043. "name": "deliverygoodsid",
  12044. "in": "query"
  12045. },
  12046. {
  12047. "type": "integer",
  12048. "description": "品类id",
  12049. "name": "wrstandardid",
  12050. "in": "query"
  12051. },
  12052. {
  12053. "type": "integer",
  12054. "description": "仓单要素id",
  12055. "name": "wrfactortypeid",
  12056. "in": "query"
  12057. },
  12058. {
  12059. "type": "string",
  12060. "description": "交收月(yyyy-mm) 仓单预售填写",
  12061. "name": "deliverymonth",
  12062. "in": "query"
  12063. }
  12064. ],
  12065. "responses": {
  12066. "200": {
  12067. "description": "OK",
  12068. "schema": {
  12069. "type": "array",
  12070. "items": {
  12071. "$ref": "#/definitions/models.WrOrderQuote"
  12072. }
  12073. }
  12074. },
  12075. "500": {
  12076. "description": "Internal Server Error",
  12077. "schema": {
  12078. "$ref": "#/definitions/app.Response"
  12079. }
  12080. }
  12081. }
  12082. }
  12083. },
  12084. "/WrTrade2/QueryOrderQuoteDetail": {
  12085. "get": {
  12086. "security": [
  12087. {
  12088. "ApiKeyAuth": []
  12089. }
  12090. ],
  12091. "produces": [
  12092. "application/json"
  12093. ],
  12094. "tags": [
  12095. "仓单贸易v2"
  12096. ],
  12097. "summary": "查询买卖大厅",
  12098. "parameters": [
  12099. {
  12100. "type": "integer",
  12101. "description": "页码",
  12102. "name": "page",
  12103. "in": "query"
  12104. },
  12105. {
  12106. "type": "integer",
  12107. "description": "每页条数",
  12108. "name": "pagesize",
  12109. "in": "query"
  12110. },
  12111. {
  12112. "type": "integer",
  12113. "description": "仓单贸易市场id",
  12114. "name": "marketid",
  12115. "in": "query"
  12116. },
  12117. {
  12118. "type": "integer",
  12119. "description": "价格方式 - 1:固定价 2-浮动价",
  12120. "name": "wrpricetype",
  12121. "in": "query",
  12122. "required": true
  12123. },
  12124. {
  12125. "type": "integer",
  12126. "description": "0:仓单预售 1:仓单贸易",
  12127. "name": "haswr",
  12128. "in": "query",
  12129. "required": true
  12130. },
  12131. {
  12132. "type": "integer",
  12133. "description": "仓单要素id",
  12134. "name": "wrfactortypeid",
  12135. "in": "query",
  12136. "required": true
  12137. },
  12138. {
  12139. "type": "integer",
  12140. "description": "期货商品id(浮动价方式时填)",
  12141. "name": "goodsid",
  12142. "in": "query"
  12143. },
  12144. {
  12145. "type": "integer",
  12146. "description": "买卖方向 0-买 1-卖",
  12147. "name": "buyorsell",
  12148. "in": "query",
  12149. "required": true
  12150. },
  12151. {
  12152. "type": "string",
  12153. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12154. "name": "deliverymonth",
  12155. "in": "query"
  12156. }
  12157. ],
  12158. "responses": {
  12159. "200": {
  12160. "description": "OK",
  12161. "schema": {
  12162. "type": "array",
  12163. "items": {
  12164. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12165. }
  12166. }
  12167. },
  12168. "500": {
  12169. "description": "Internal Server Error",
  12170. "schema": {
  12171. "$ref": "#/definitions/app.Response"
  12172. }
  12173. }
  12174. }
  12175. }
  12176. },
  12177. "/WrTrade2/QueryOrderQuoteMyq": {
  12178. "get": {
  12179. "security": [
  12180. {
  12181. "ApiKeyAuth": []
  12182. }
  12183. ],
  12184. "produces": [
  12185. "application/json"
  12186. ],
  12187. "tags": [
  12188. "仓单贸易v2"
  12189. ],
  12190. "summary": "查询贸易圈挂牌大厅",
  12191. "parameters": [
  12192. {
  12193. "type": "integer",
  12194. "description": "页码",
  12195. "name": "page",
  12196. "in": "query"
  12197. },
  12198. {
  12199. "type": "integer",
  12200. "description": "每页条数",
  12201. "name": "pagesize",
  12202. "in": "query"
  12203. },
  12204. {
  12205. "type": "integer",
  12206. "description": "用户id",
  12207. "name": "userid",
  12208. "in": "query",
  12209. "required": true
  12210. },
  12211. {
  12212. "type": "integer",
  12213. "description": "仓单贸易市场id",
  12214. "name": "marketid",
  12215. "in": "query"
  12216. },
  12217. {
  12218. "type": "integer",
  12219. "description": "0:仓单预售 1:仓单贸易",
  12220. "name": "haswr",
  12221. "in": "query",
  12222. "required": true
  12223. },
  12224. {
  12225. "type": "integer",
  12226. "description": "买卖方向 0-买 1-卖",
  12227. "name": "buyorsell",
  12228. "in": "query",
  12229. "required": true
  12230. },
  12231. {
  12232. "type": "integer",
  12233. "description": "品种id",
  12234. "name": "deliverygoodsid",
  12235. "in": "query"
  12236. },
  12237. {
  12238. "type": "integer",
  12239. "description": "品类id",
  12240. "name": "wrstandardid",
  12241. "in": "query"
  12242. },
  12243. {
  12244. "type": "string",
  12245. "description": "交收月(yyyy-mm) 仓单预售填写",
  12246. "name": "deliverymonth",
  12247. "in": "query"
  12248. },
  12249. {
  12250. "type": "string",
  12251. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12252. "name": "dgitemname",
  12253. "in": "query"
  12254. }
  12255. ],
  12256. "responses": {
  12257. "200": {
  12258. "description": "OK",
  12259. "schema": {
  12260. "type": "array",
  12261. "items": {
  12262. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12263. }
  12264. }
  12265. },
  12266. "500": {
  12267. "description": "Internal Server Error",
  12268. "schema": {
  12269. "$ref": "#/definitions/app.Response"
  12270. }
  12271. }
  12272. }
  12273. }
  12274. },
  12275. "/WrTrade2/QueryPerformancePlan": {
  12276. "get": {
  12277. "security": [
  12278. {
  12279. "ApiKeyAuth": []
  12280. }
  12281. ],
  12282. "produces": [
  12283. "application/json"
  12284. ],
  12285. "tags": [
  12286. "仓单贸易v2"
  12287. ],
  12288. "summary": "查询履约信息",
  12289. "parameters": [
  12290. {
  12291. "type": "integer",
  12292. "description": "用户id",
  12293. "name": "userid",
  12294. "in": "query",
  12295. "required": true
  12296. },
  12297. {
  12298. "type": "integer",
  12299. "description": "买卖方向 0-买 1-卖",
  12300. "name": "buyorsell",
  12301. "in": "query",
  12302. "required": true
  12303. }
  12304. ],
  12305. "responses": {
  12306. "200": {
  12307. "description": "OK",
  12308. "schema": {
  12309. "type": "array",
  12310. "items": {
  12311. "$ref": "#/definitions/models.WrPerformancePlan"
  12312. }
  12313. }
  12314. },
  12315. "500": {
  12316. "description": "Internal Server Error",
  12317. "schema": {
  12318. "$ref": "#/definitions/app.Response"
  12319. }
  12320. }
  12321. }
  12322. }
  12323. },
  12324. "/WrTrade2/QueryPermancePlanTmp": {
  12325. "get": {
  12326. "security": [
  12327. {
  12328. "ApiKeyAuth": []
  12329. }
  12330. ],
  12331. "description": "返回指定用户的模板和公共模板(用户id为空)",
  12332. "produces": [
  12333. "application/json"
  12334. ],
  12335. "tags": [
  12336. "仓单贸易v2"
  12337. ],
  12338. "summary": "查询履约模板",
  12339. "parameters": [
  12340. {
  12341. "type": "integer",
  12342. "description": "用户id",
  12343. "name": "userid",
  12344. "in": "query"
  12345. },
  12346. {
  12347. "type": "string",
  12348. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12349. "name": "tmptype",
  12350. "in": "query"
  12351. },
  12352. {
  12353. "type": "integer",
  12354. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12355. "name": "includepub",
  12356. "in": "query"
  12357. }
  12358. ],
  12359. "responses": {
  12360. "200": {
  12361. "description": "OK",
  12362. "schema": {
  12363. "type": "array",
  12364. "items": {
  12365. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12366. }
  12367. }
  12368. },
  12369. "500": {
  12370. "description": "Internal Server Error",
  12371. "schema": {
  12372. "$ref": "#/definitions/app.Response"
  12373. }
  12374. }
  12375. }
  12376. }
  12377. },
  12378. "/WrTrade2/QueryWrAverageTradePrice": {
  12379. "get": {
  12380. "security": [
  12381. {
  12382. "ApiKeyAuth": []
  12383. }
  12384. ],
  12385. "produces": [
  12386. "application/json"
  12387. ],
  12388. "tags": [
  12389. "仓单贸易v2"
  12390. ],
  12391. "summary": "查询成交价(历史走势)",
  12392. "parameters": [
  12393. {
  12394. "type": "integer",
  12395. "description": "页码",
  12396. "name": "page",
  12397. "in": "query"
  12398. },
  12399. {
  12400. "type": "integer",
  12401. "description": "每页条数",
  12402. "name": "pagesize",
  12403. "in": "query"
  12404. },
  12405. {
  12406. "type": "integer",
  12407. "description": "0:仓单预售 1:仓单贸易",
  12408. "name": "haswr",
  12409. "in": "query",
  12410. "required": true
  12411. },
  12412. {
  12413. "type": "integer",
  12414. "description": "仓单要素id",
  12415. "name": "wrfactortypeid",
  12416. "in": "query",
  12417. "required": true
  12418. }
  12419. ],
  12420. "responses": {
  12421. "200": {
  12422. "description": "OK",
  12423. "schema": {
  12424. "type": "array",
  12425. "items": {
  12426. "$ref": "#/definitions/models.WrAverageTradePrice"
  12427. }
  12428. }
  12429. },
  12430. "500": {
  12431. "description": "Internal Server Error",
  12432. "schema": {
  12433. "$ref": "#/definitions/app.Response"
  12434. }
  12435. }
  12436. }
  12437. }
  12438. },
  12439. "/WrTrade2/QueryWrBsGoodsInfo": {
  12440. "get": {
  12441. "security": [
  12442. {
  12443. "ApiKeyAuth": []
  12444. }
  12445. ],
  12446. "description": "合约交易/买卖大厅/详情",
  12447. "produces": [
  12448. "application/json"
  12449. ],
  12450. "tags": [
  12451. "仓单贸易v2"
  12452. ],
  12453. "summary": "查询合约交易买卖大厅详情",
  12454. "parameters": [
  12455. {
  12456. "type": "integer",
  12457. "description": "商品id",
  12458. "name": "goodsid",
  12459. "in": "query",
  12460. "required": true
  12461. }
  12462. ],
  12463. "responses": {
  12464. "200": {
  12465. "description": "OK",
  12466. "schema": {
  12467. "type": "array",
  12468. "items": {
  12469. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12470. }
  12471. }
  12472. },
  12473. "500": {
  12474. "description": "Internal Server Error",
  12475. "schema": {
  12476. "$ref": "#/definitions/app.Response"
  12477. }
  12478. }
  12479. }
  12480. }
  12481. },
  12482. "/WrTrade2/QueryWrBuybackDetail": {
  12483. "get": {
  12484. "security": [
  12485. {
  12486. "ApiKeyAuth": []
  12487. }
  12488. ],
  12489. "produces": [
  12490. "application/json"
  12491. ],
  12492. "tags": [
  12493. "仓单贸易v2"
  12494. ],
  12495. "summary": "查询仓单回购明细",
  12496. "parameters": [
  12497. {
  12498. "type": "integer",
  12499. "description": "融资合同id",
  12500. "name": "scfcontractid",
  12501. "in": "query"
  12502. }
  12503. ],
  12504. "responses": {
  12505. "200": {
  12506. "description": "OK",
  12507. "schema": {
  12508. "type": "array",
  12509. "items": {
  12510. "$ref": "#/definitions/models.WrBuybackDetail"
  12511. }
  12512. }
  12513. },
  12514. "500": {
  12515. "description": "Internal Server Error",
  12516. "schema": {
  12517. "$ref": "#/definitions/app.Response"
  12518. }
  12519. }
  12520. }
  12521. }
  12522. },
  12523. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12524. "get": {
  12525. "security": [
  12526. {
  12527. "ApiKeyAuth": []
  12528. }
  12529. ],
  12530. "produces": [
  12531. "application/json"
  12532. ],
  12533. "tags": [
  12534. "仓单贸易v2"
  12535. ],
  12536. "summary": "查询合约交收可点选仓单",
  12537. "parameters": [
  12538. {
  12539. "type": "integer",
  12540. "description": "资金账号",
  12541. "name": "accountid",
  12542. "in": "query",
  12543. "required": true
  12544. },
  12545. {
  12546. "type": "integer",
  12547. "description": "商品id",
  12548. "name": "goodsid",
  12549. "in": "query",
  12550. "required": true
  12551. }
  12552. ],
  12553. "responses": {
  12554. "200": {
  12555. "description": "OK",
  12556. "schema": {
  12557. "type": "array",
  12558. "items": {
  12559. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12560. }
  12561. }
  12562. },
  12563. "500": {
  12564. "description": "Internal Server Error",
  12565. "schema": {
  12566. "$ref": "#/definitions/app.Response"
  12567. }
  12568. }
  12569. }
  12570. }
  12571. },
  12572. "/WrTrade2/QueryWrDeliveryDetail": {
  12573. "get": {
  12574. "security": [
  12575. {
  12576. "ApiKeyAuth": []
  12577. }
  12578. ],
  12579. "produces": [
  12580. "application/json"
  12581. ],
  12582. "tags": [
  12583. "仓单贸易v2"
  12584. ],
  12585. "summary": "查询交收",
  12586. "parameters": [
  12587. {
  12588. "type": "integer",
  12589. "description": "用户id",
  12590. "name": "userid",
  12591. "in": "query",
  12592. "required": true
  12593. },
  12594. {
  12595. "type": "integer",
  12596. "description": "资金账号id",
  12597. "name": "accountid",
  12598. "in": "query"
  12599. }
  12600. ],
  12601. "responses": {
  12602. "200": {
  12603. "description": "OK",
  12604. "schema": {
  12605. "type": "array",
  12606. "items": {
  12607. "$ref": "#/definitions/models.WrDeliveryDetail"
  12608. }
  12609. }
  12610. },
  12611. "500": {
  12612. "description": "Internal Server Error",
  12613. "schema": {
  12614. "$ref": "#/definitions/app.Response"
  12615. }
  12616. }
  12617. }
  12618. }
  12619. },
  12620. "/WrTrade2/QueryWrFactorTypeInfo": {
  12621. "get": {
  12622. "security": [
  12623. {
  12624. "ApiKeyAuth": []
  12625. }
  12626. ],
  12627. "produces": [
  12628. "application/json"
  12629. ],
  12630. "tags": [
  12631. "仓单贸易v2"
  12632. ],
  12633. "summary": "查询仓单要素详细信息",
  12634. "parameters": [
  12635. {
  12636. "type": "integer",
  12637. "description": "仓单要素id",
  12638. "name": "wrfactortypeid",
  12639. "in": "query",
  12640. "required": true
  12641. }
  12642. ],
  12643. "responses": {
  12644. "200": {
  12645. "description": "OK",
  12646. "schema": {
  12647. "type": "array",
  12648. "items": {
  12649. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12650. }
  12651. }
  12652. },
  12653. "500": {
  12654. "description": "Internal Server Error",
  12655. "schema": {
  12656. "$ref": "#/definitions/app.Response"
  12657. }
  12658. }
  12659. }
  12660. }
  12661. },
  12662. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12663. "get": {
  12664. "security": [
  12665. {
  12666. "ApiKeyAuth": []
  12667. }
  12668. ],
  12669. "produces": [
  12670. "application/json"
  12671. ],
  12672. "tags": [
  12673. "仓单贸易v2"
  12674. ],
  12675. "summary": "查询仓单要素详细信息列表项",
  12676. "parameters": [
  12677. {
  12678. "type": "integer",
  12679. "description": "仓单要素id",
  12680. "name": "wrfactortypeid",
  12681. "in": "query",
  12682. "required": true
  12683. }
  12684. ],
  12685. "responses": {
  12686. "200": {
  12687. "description": "OK",
  12688. "schema": {
  12689. "type": "array",
  12690. "items": {
  12691. "$ref": "#/definitions/models.WrTypeItem"
  12692. }
  12693. }
  12694. },
  12695. "500": {
  12696. "description": "Internal Server Error",
  12697. "schema": {
  12698. "$ref": "#/definitions/app.Response"
  12699. }
  12700. }
  12701. }
  12702. }
  12703. },
  12704. "/WrTrade2/QueryWrFinanceBuyApply": {
  12705. "get": {
  12706. "security": [
  12707. {
  12708. "ApiKeyAuth": []
  12709. }
  12710. ],
  12711. "description": "页面 融资信息+ / 申请单",
  12712. "produces": [
  12713. "application/json"
  12714. ],
  12715. "tags": [
  12716. "仓单贸易v2"
  12717. ],
  12718. "summary": "查询融资购买申请",
  12719. "parameters": [
  12720. {
  12721. "type": "integer",
  12722. "description": "用户id",
  12723. "name": "userid",
  12724. "in": "query",
  12725. "required": true
  12726. }
  12727. ],
  12728. "responses": {
  12729. "200": {
  12730. "description": "OK",
  12731. "schema": {
  12732. "type": "array",
  12733. "items": {
  12734. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12735. }
  12736. }
  12737. },
  12738. "500": {
  12739. "description": "Internal Server Error",
  12740. "schema": {
  12741. "$ref": "#/definitions/app.Response"
  12742. }
  12743. }
  12744. }
  12745. }
  12746. },
  12747. "/WrTrade2/QueryWrFriendApply": {
  12748. "get": {
  12749. "security": [
  12750. {
  12751. "ApiKeyAuth": []
  12752. }
  12753. ],
  12754. "produces": [
  12755. "application/json"
  12756. ],
  12757. "tags": [
  12758. "仓单贸易v2"
  12759. ],
  12760. "summary": "查询好友申请记录",
  12761. "parameters": [
  12762. {
  12763. "type": "integer",
  12764. "description": "用户id",
  12765. "name": "userid",
  12766. "in": "query",
  12767. "required": true
  12768. }
  12769. ],
  12770. "responses": {
  12771. "200": {
  12772. "description": "OK",
  12773. "schema": {
  12774. "type": "array",
  12775. "items": {
  12776. "$ref": "#/definitions/models.WrFriendApply"
  12777. }
  12778. }
  12779. },
  12780. "500": {
  12781. "description": "Internal Server Error",
  12782. "schema": {
  12783. "$ref": "#/definitions/app.Response"
  12784. }
  12785. }
  12786. }
  12787. }
  12788. },
  12789. "/WrTrade2/QueryWrGoodsInfo": {
  12790. "get": {
  12791. "security": [
  12792. {
  12793. "ApiKeyAuth": []
  12794. }
  12795. ],
  12796. "produces": [
  12797. "application/json"
  12798. ],
  12799. "tags": [
  12800. "仓单贸易v2"
  12801. ],
  12802. "summary": "查询仓单商品信息",
  12803. "parameters": [
  12804. {
  12805. "type": "integer",
  12806. "description": "仓单贸易市场id",
  12807. "name": "marketid",
  12808. "in": "query"
  12809. },
  12810. {
  12811. "type": "integer",
  12812. "description": "0:仓单预售 1:仓单贸易",
  12813. "name": "haswr",
  12814. "in": "query",
  12815. "required": true
  12816. },
  12817. {
  12818. "type": "integer",
  12819. "description": "仓单要素id",
  12820. "name": "wrfactortypeid",
  12821. "in": "query",
  12822. "required": true
  12823. },
  12824. {
  12825. "type": "integer",
  12826. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12827. "name": "tmplateid",
  12828. "in": "query"
  12829. }
  12830. ],
  12831. "responses": {
  12832. "200": {
  12833. "description": "OK",
  12834. "schema": {
  12835. "type": "array",
  12836. "items": {
  12837. "$ref": "#/definitions/models.WrGoodsInfo"
  12838. }
  12839. }
  12840. },
  12841. "500": {
  12842. "description": "Internal Server Error",
  12843. "schema": {
  12844. "$ref": "#/definitions/app.Response"
  12845. }
  12846. }
  12847. }
  12848. }
  12849. },
  12850. "/WrTrade2/QueryWrMarketTradeConfig": {
  12851. "get": {
  12852. "security": [
  12853. {
  12854. "ApiKeyAuth": []
  12855. }
  12856. ],
  12857. "produces": [
  12858. "application/json"
  12859. ],
  12860. "tags": [
  12861. "仓单贸易v2"
  12862. ],
  12863. "summary": "查询市场交易参数配置",
  12864. "parameters": [
  12865. {
  12866. "type": "integer",
  12867. "description": "市场id",
  12868. "name": "marketid",
  12869. "in": "query"
  12870. }
  12871. ],
  12872. "responses": {
  12873. "200": {
  12874. "description": "OK",
  12875. "schema": {
  12876. "type": "array",
  12877. "items": {
  12878. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12879. }
  12880. }
  12881. },
  12882. "500": {
  12883. "description": "Internal Server Error",
  12884. "schema": {
  12885. "$ref": "#/definitions/app.Response"
  12886. }
  12887. }
  12888. }
  12889. }
  12890. },
  12891. "/WrTrade2/QueryWrOrderDetail": {
  12892. "get": {
  12893. "security": [
  12894. {
  12895. "ApiKeyAuth": []
  12896. }
  12897. ],
  12898. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12899. "produces": [
  12900. "application/json"
  12901. ],
  12902. "tags": [
  12903. "仓单贸易v2"
  12904. ],
  12905. "summary": "查询仓单委托单(挂单)",
  12906. "parameters": [
  12907. {
  12908. "type": "integer",
  12909. "description": "页码",
  12910. "name": "page",
  12911. "in": "query"
  12912. },
  12913. {
  12914. "type": "integer",
  12915. "description": "每页条数",
  12916. "name": "pagesize",
  12917. "in": "query"
  12918. },
  12919. {
  12920. "type": "integer",
  12921. "description": "用户id",
  12922. "name": "userid",
  12923. "in": "query",
  12924. "required": true
  12925. },
  12926. {
  12927. "type": "integer",
  12928. "description": "仓单贸易市场id",
  12929. "name": "marketid",
  12930. "in": "query"
  12931. },
  12932. {
  12933. "type": "integer",
  12934. "description": "0:仓单预售 1:仓单贸易",
  12935. "name": "haswr",
  12936. "in": "query",
  12937. "required": true
  12938. }
  12939. ],
  12940. "responses": {
  12941. "200": {
  12942. "description": "OK",
  12943. "schema": {
  12944. "type": "array",
  12945. "items": {
  12946. "$ref": "#/definitions/models.WrOrderDetail"
  12947. }
  12948. }
  12949. },
  12950. "500": {
  12951. "description": "Internal Server Error",
  12952. "schema": {
  12953. "$ref": "#/definitions/app.Response"
  12954. }
  12955. }
  12956. }
  12957. }
  12958. },
  12959. "/WrTrade2/QueryWrOutInApply": {
  12960. "get": {
  12961. "security": [
  12962. {
  12963. "ApiKeyAuth": []
  12964. }
  12965. ],
  12966. "produces": [
  12967. "application/json"
  12968. ],
  12969. "tags": [
  12970. "仓单贸易v2"
  12971. ],
  12972. "summary": "查询提货申请",
  12973. "parameters": [
  12974. {
  12975. "type": "integer",
  12976. "description": "用户id",
  12977. "name": "userid",
  12978. "in": "query",
  12979. "required": true
  12980. }
  12981. ],
  12982. "responses": {
  12983. "200": {
  12984. "description": "OK",
  12985. "schema": {
  12986. "type": "array",
  12987. "items": {
  12988. "$ref": "#/definitions/models.WrOutInApply"
  12989. }
  12990. }
  12991. },
  12992. "500": {
  12993. "description": "Internal Server Error",
  12994. "schema": {
  12995. "$ref": "#/definitions/app.Response"
  12996. }
  12997. }
  12998. }
  12999. }
  13000. },
  13001. "/WrTrade2/QueryWrPerformancePlanStep": {
  13002. "get": {
  13003. "security": [
  13004. {
  13005. "ApiKeyAuth": []
  13006. }
  13007. ],
  13008. "produces": [
  13009. "application/json"
  13010. ],
  13011. "tags": [
  13012. "仓单贸易v2"
  13013. ],
  13014. "summary": "查询履约信息详情",
  13015. "parameters": [
  13016. {
  13017. "type": "integer",
  13018. "description": "履约计划id(performanceplanid)",
  13019. "name": "planid",
  13020. "in": "query",
  13021. "required": true
  13022. },
  13023. {
  13024. "type": "integer",
  13025. "description": "当前步骤id",
  13026. "name": "curstepid",
  13027. "in": "query"
  13028. }
  13029. ],
  13030. "responses": {
  13031. "200": {
  13032. "description": "OK",
  13033. "schema": {
  13034. "type": "array",
  13035. "items": {
  13036. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13037. }
  13038. }
  13039. },
  13040. "500": {
  13041. "description": "Internal Server Error",
  13042. "schema": {
  13043. "$ref": "#/definitions/app.Response"
  13044. }
  13045. }
  13046. }
  13047. }
  13048. },
  13049. "/WrTrade2/QueryWrPerformanceStepType": {
  13050. "get": {
  13051. "security": [
  13052. {
  13053. "ApiKeyAuth": []
  13054. }
  13055. ],
  13056. "produces": [
  13057. "application/json"
  13058. ],
  13059. "tags": [
  13060. "仓单贸易v2"
  13061. ],
  13062. "summary": "查询履约步骤枚举",
  13063. "responses": {
  13064. "200": {
  13065. "description": "OK",
  13066. "schema": {
  13067. "type": "array",
  13068. "items": {
  13069. "$ref": "#/definitions/models.WrPerformanceStepType"
  13070. }
  13071. }
  13072. },
  13073. "500": {
  13074. "description": "Internal Server Error",
  13075. "schema": {
  13076. "$ref": "#/definitions/app.Response"
  13077. }
  13078. }
  13079. }
  13080. }
  13081. },
  13082. "/WrTrade2/QueryWrPosition": {
  13083. "get": {
  13084. "security": [
  13085. {
  13086. "ApiKeyAuth": []
  13087. }
  13088. ],
  13089. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13090. "produces": [
  13091. "application/json"
  13092. ],
  13093. "tags": [
  13094. "仓单贸易v2"
  13095. ],
  13096. "summary": "查询现货(预售)仓单持仓",
  13097. "parameters": [
  13098. {
  13099. "type": "integer",
  13100. "description": "用户id",
  13101. "name": "userid",
  13102. "in": "query",
  13103. "required": true
  13104. },
  13105. {
  13106. "type": "integer",
  13107. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13108. "name": "querytype",
  13109. "in": "query",
  13110. "required": true
  13111. },
  13112. {
  13113. "type": "integer",
  13114. "description": "0:仓单预售 1:仓单贸易",
  13115. "name": "haswr",
  13116. "in": "query",
  13117. "required": true
  13118. },
  13119. {
  13120. "type": "string",
  13121. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13122. "name": "dgitemname",
  13123. "in": "query"
  13124. },
  13125. {
  13126. "type": "integer",
  13127. "description": "仓库id(筛选条件)",
  13128. "name": "warehouseid",
  13129. "in": "query"
  13130. },
  13131. {
  13132. "type": "integer",
  13133. "description": "品种id",
  13134. "name": "deliverygoodsid",
  13135. "in": "query"
  13136. },
  13137. {
  13138. "type": "integer",
  13139. "description": "品类id",
  13140. "name": "wrstandardid",
  13141. "in": "query"
  13142. }
  13143. ],
  13144. "responses": {
  13145. "200": {
  13146. "description": "OK",
  13147. "schema": {
  13148. "type": "array",
  13149. "items": {
  13150. "$ref": "#/definitions/models.WrPosition"
  13151. }
  13152. }
  13153. },
  13154. "500": {
  13155. "description": "Internal Server Error",
  13156. "schema": {
  13157. "$ref": "#/definitions/app.Response"
  13158. }
  13159. }
  13160. }
  13161. }
  13162. },
  13163. "/WrTrade2/QueryWrScfContract": {
  13164. "get": {
  13165. "security": [
  13166. {
  13167. "ApiKeyAuth": []
  13168. }
  13169. ],
  13170. "produces": [
  13171. "application/json"
  13172. ],
  13173. "tags": [
  13174. "仓单贸易v2"
  13175. ],
  13176. "summary": "查询仓单贸易融资合同",
  13177. "parameters": [
  13178. {
  13179. "type": "integer",
  13180. "description": "用户id",
  13181. "name": "userid",
  13182. "in": "query",
  13183. "required": true
  13184. },
  13185. {
  13186. "type": "integer",
  13187. "description": "融资合同id",
  13188. "name": "scfcontractid",
  13189. "in": "query"
  13190. }
  13191. ],
  13192. "responses": {
  13193. "200": {
  13194. "description": "OK",
  13195. "schema": {
  13196. "type": "array",
  13197. "items": {
  13198. "$ref": "#/definitions/models.WrScfContract"
  13199. }
  13200. }
  13201. },
  13202. "500": {
  13203. "description": "Internal Server Error",
  13204. "schema": {
  13205. "$ref": "#/definitions/app.Response"
  13206. }
  13207. }
  13208. }
  13209. }
  13210. },
  13211. "/WrTrade2/QueryWrScfContractInterest": {
  13212. "get": {
  13213. "security": [
  13214. {
  13215. "ApiKeyAuth": []
  13216. }
  13217. ],
  13218. "produces": [
  13219. "application/json"
  13220. ],
  13221. "tags": [
  13222. "仓单贸易v2"
  13223. ],
  13224. "summary": "查询融资合同费用明细",
  13225. "parameters": [
  13226. {
  13227. "type": "integer",
  13228. "description": "融资合同id",
  13229. "name": "scfcontractid",
  13230. "in": "query"
  13231. }
  13232. ],
  13233. "responses": {
  13234. "200": {
  13235. "description": "OK",
  13236. "schema": {
  13237. "type": "array",
  13238. "items": {
  13239. "$ref": "#/definitions/models.WrScfContractInterest"
  13240. }
  13241. }
  13242. },
  13243. "500": {
  13244. "description": "Internal Server Error",
  13245. "schema": {
  13246. "$ref": "#/definitions/app.Response"
  13247. }
  13248. }
  13249. }
  13250. }
  13251. },
  13252. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13253. "get": {
  13254. "security": [
  13255. {
  13256. "ApiKeyAuth": []
  13257. }
  13258. ],
  13259. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13260. "produces": [
  13261. "application/json"
  13262. ],
  13263. "tags": [
  13264. "仓单贸易v2"
  13265. ],
  13266. "summary": "查询指定成交",
  13267. "parameters": [
  13268. {
  13269. "type": "integer",
  13270. "description": "页码",
  13271. "name": "page",
  13272. "in": "query"
  13273. },
  13274. {
  13275. "type": "integer",
  13276. "description": "每页条数",
  13277. "name": "pagesize",
  13278. "in": "query"
  13279. },
  13280. {
  13281. "type": "integer",
  13282. "description": "用户id",
  13283. "name": "userid",
  13284. "in": "query",
  13285. "required": true
  13286. },
  13287. {
  13288. "type": "integer",
  13289. "description": "仓单贸易市场id",
  13290. "name": "marketid",
  13291. "in": "query"
  13292. },
  13293. {
  13294. "type": "integer",
  13295. "description": "0:仓单预售 1:仓单贸易",
  13296. "name": "haswr",
  13297. "in": "query",
  13298. "required": true
  13299. }
  13300. ],
  13301. "responses": {
  13302. "200": {
  13303. "description": "OK",
  13304. "schema": {
  13305. "type": "array",
  13306. "items": {
  13307. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13308. }
  13309. }
  13310. },
  13311. "500": {
  13312. "description": "Internal Server Error",
  13313. "schema": {
  13314. "$ref": "#/definitions/app.Response"
  13315. }
  13316. }
  13317. }
  13318. }
  13319. },
  13320. "/WrTrade2/QueryWrStandardFactoryItem": {
  13321. "get": {
  13322. "security": [
  13323. {
  13324. "ApiKeyAuth": []
  13325. }
  13326. ],
  13327. "produces": [
  13328. "application/json"
  13329. ],
  13330. "tags": [
  13331. "仓单贸易v2"
  13332. ],
  13333. "summary": "查询品类要素定义项",
  13334. "parameters": [
  13335. {
  13336. "type": "integer",
  13337. "description": "品类id",
  13338. "name": "wrstandardid",
  13339. "in": "query",
  13340. "required": true
  13341. }
  13342. ],
  13343. "responses": {
  13344. "200": {
  13345. "description": "OK",
  13346. "schema": {
  13347. "type": "array",
  13348. "items": {
  13349. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13350. }
  13351. }
  13352. },
  13353. "500": {
  13354. "description": "Internal Server Error",
  13355. "schema": {
  13356. "$ref": "#/definitions/app.Response"
  13357. }
  13358. }
  13359. }
  13360. }
  13361. },
  13362. "/WrTrade2/QueryWrTradeBargainApply": {
  13363. "get": {
  13364. "security": [
  13365. {
  13366. "ApiKeyAuth": []
  13367. }
  13368. ],
  13369. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13370. "produces": [
  13371. "application/json"
  13372. ],
  13373. "tags": [
  13374. "仓单贸易v2"
  13375. ],
  13376. "summary": "查询议价单",
  13377. "parameters": [
  13378. {
  13379. "type": "integer",
  13380. "description": "议价人id(摘牌方)",
  13381. "name": "userid",
  13382. "in": "query"
  13383. },
  13384. {
  13385. "type": "integer",
  13386. "description": "挂牌方id(查对方议价时,填写此项)",
  13387. "name": "matchuserid",
  13388. "in": "query"
  13389. },
  13390. {
  13391. "type": "integer",
  13392. "description": "关联委托单id",
  13393. "name": "wrtradeorderid",
  13394. "in": "query"
  13395. },
  13396. {
  13397. "type": "integer",
  13398. "description": "0:仓单预售 1:仓单贸易",
  13399. "name": "haswr",
  13400. "in": "query",
  13401. "required": true
  13402. }
  13403. ],
  13404. "responses": {
  13405. "200": {
  13406. "description": "OK",
  13407. "schema": {
  13408. "type": "array",
  13409. "items": {
  13410. "$ref": "#/definitions/models.WRTradeBargainApply"
  13411. }
  13412. }
  13413. },
  13414. "500": {
  13415. "description": "Internal Server Error",
  13416. "schema": {
  13417. "$ref": "#/definitions/app.Response"
  13418. }
  13419. }
  13420. }
  13421. }
  13422. },
  13423. "/WrTrade2/QueryWrTradeDetail": {
  13424. "get": {
  13425. "security": [
  13426. {
  13427. "ApiKeyAuth": []
  13428. }
  13429. ],
  13430. "produces": [
  13431. "application/json"
  13432. ],
  13433. "tags": [
  13434. "仓单贸易v2"
  13435. ],
  13436. "summary": "查询仓单成交明细",
  13437. "parameters": [
  13438. {
  13439. "type": "integer",
  13440. "description": "页码",
  13441. "name": "page",
  13442. "in": "query"
  13443. },
  13444. {
  13445. "type": "integer",
  13446. "description": "每页条数",
  13447. "name": "pagesize",
  13448. "in": "query"
  13449. },
  13450. {
  13451. "type": "integer",
  13452. "description": "用户id",
  13453. "name": "userid",
  13454. "in": "query",
  13455. "required": true
  13456. },
  13457. {
  13458. "type": "integer",
  13459. "description": "仓单贸易市场id",
  13460. "name": "marketid",
  13461. "in": "query"
  13462. },
  13463. {
  13464. "type": "integer",
  13465. "description": "0:仓单预售 1:仓单贸易",
  13466. "name": "haswr",
  13467. "in": "query",
  13468. "required": true
  13469. }
  13470. ],
  13471. "responses": {
  13472. "200": {
  13473. "description": "OK",
  13474. "schema": {
  13475. "type": "array",
  13476. "items": {
  13477. "$ref": "#/definitions/models.WrTradeDetail"
  13478. }
  13479. }
  13480. },
  13481. "500": {
  13482. "description": "Internal Server Error",
  13483. "schema": {
  13484. "$ref": "#/definitions/app.Response"
  13485. }
  13486. }
  13487. }
  13488. }
  13489. },
  13490. "/WrTrade2/QueryWrTradeOrderDetail": {
  13491. "get": {
  13492. "security": [
  13493. {
  13494. "ApiKeyAuth": []
  13495. }
  13496. ],
  13497. "produces": [
  13498. "application/json"
  13499. ],
  13500. "tags": [
  13501. "仓单贸易v2"
  13502. ],
  13503. "summary": "查询合约交易买卖大厅",
  13504. "parameters": [
  13505. {
  13506. "type": "integer",
  13507. "description": "页码",
  13508. "name": "page",
  13509. "in": "query"
  13510. },
  13511. {
  13512. "type": "integer",
  13513. "description": "每页条数",
  13514. "name": "pagesize",
  13515. "in": "query"
  13516. },
  13517. {
  13518. "type": "integer",
  13519. "description": "商品id",
  13520. "name": "goodsid",
  13521. "in": "query",
  13522. "required": true
  13523. },
  13524. {
  13525. "type": "integer",
  13526. "description": "买卖方向 0-买 1-卖",
  13527. "name": "buyorsell",
  13528. "in": "query",
  13529. "required": true
  13530. }
  13531. ],
  13532. "responses": {
  13533. "200": {
  13534. "description": "OK",
  13535. "schema": {
  13536. "type": "array",
  13537. "items": {
  13538. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13539. }
  13540. }
  13541. },
  13542. "500": {
  13543. "description": "Internal Server Error",
  13544. "schema": {
  13545. "$ref": "#/definitions/app.Response"
  13546. }
  13547. }
  13548. }
  13549. }
  13550. },
  13551. "/WrTrade2/QueryWrUserFriend": {
  13552. "get": {
  13553. "security": [
  13554. {
  13555. "ApiKeyAuth": []
  13556. }
  13557. ],
  13558. "produces": [
  13559. "application/json"
  13560. ],
  13561. "tags": [
  13562. "仓单贸易v2"
  13563. ],
  13564. "summary": "查询我的朋友",
  13565. "parameters": [
  13566. {
  13567. "type": "integer",
  13568. "description": "用户id",
  13569. "name": "userid",
  13570. "in": "query",
  13571. "required": true
  13572. },
  13573. {
  13574. "type": "integer",
  13575. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13576. "name": "newuserid",
  13577. "in": "query"
  13578. }
  13579. ],
  13580. "responses": {
  13581. "200": {
  13582. "description": "OK",
  13583. "schema": {
  13584. "type": "array",
  13585. "items": {
  13586. "$ref": "#/definitions/models.WrUserFriend"
  13587. }
  13588. }
  13589. },
  13590. "500": {
  13591. "description": "Internal Server Error",
  13592. "schema": {
  13593. "$ref": "#/definitions/app.Response"
  13594. }
  13595. }
  13596. }
  13597. }
  13598. },
  13599. "/ZJ/GetBankTip": {
  13600. "get": {
  13601. "produces": [
  13602. "application/json"
  13603. ],
  13604. "tags": [
  13605. "中江"
  13606. ],
  13607. "summary": "获取中江网银端出入金提示信息",
  13608. "responses": {
  13609. "200": {
  13610. "description": "OK",
  13611. "schema": {
  13612. "type": "string"
  13613. }
  13614. },
  13615. "500": {
  13616. "description": "Internal Server Error",
  13617. "schema": {
  13618. "$ref": "#/definitions/app.Response"
  13619. }
  13620. }
  13621. }
  13622. }
  13623. },
  13624. "/ZJ/GetCusBankChannels": {
  13625. "get": {
  13626. "produces": [
  13627. "application/json"
  13628. ],
  13629. "tags": [
  13630. "中江"
  13631. ],
  13632. "summary": "获取中江出入金渠道显示列表",
  13633. "responses": {
  13634. "200": {
  13635. "description": "OK",
  13636. "schema": {
  13637. "type": "array",
  13638. "items": {
  13639. "type": "string"
  13640. }
  13641. }
  13642. },
  13643. "500": {
  13644. "description": "Internal Server Error",
  13645. "schema": {
  13646. "$ref": "#/definitions/app.Response"
  13647. }
  13648. }
  13649. }
  13650. }
  13651. }
  13652. },
  13653. "definitions": {
  13654. "app.Response": {
  13655. "type": "object",
  13656. "properties": {
  13657. "code": {
  13658. "type": "integer"
  13659. },
  13660. "data": {
  13661. "type": "object"
  13662. },
  13663. "msg": {
  13664. "type": "string"
  13665. },
  13666. "page": {
  13667. "description": "页码",
  13668. "type": "integer"
  13669. },
  13670. "pagesize": {
  13671. "description": "每页条数",
  13672. "type": "integer"
  13673. },
  13674. "total": {
  13675. "description": "总条数",
  13676. "type": "integer"
  13677. }
  13678. }
  13679. },
  13680. "common.ClientMenu": {
  13681. "type": "object",
  13682. "properties": {
  13683. "children": {
  13684. "description": "子菜单列表",
  13685. "type": "array",
  13686. "items": {
  13687. "$ref": "#/definitions/common.ClientMenu"
  13688. }
  13689. },
  13690. "code": {
  13691. "description": "ID",
  13692. "type": "string"
  13693. },
  13694. "isshow": {
  13695. "description": "是否显示",
  13696. "type": "boolean"
  13697. },
  13698. "remark": {
  13699. "description": "备注",
  13700. "type": "string"
  13701. },
  13702. "rulekey": {
  13703. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13704. "type": "string"
  13705. },
  13706. "sort": {
  13707. "description": "排序",
  13708. "type": "integer"
  13709. },
  13710. "title": {
  13711. "description": "标题",
  13712. "type": "string"
  13713. },
  13714. "type": {
  13715. "description": "类型,1:菜单 2:按钮",
  13716. "type": "integer"
  13717. },
  13718. "url": {
  13719. "description": "URL",
  13720. "type": "string"
  13721. }
  13722. }
  13723. },
  13724. "common.QueryImageConfigsRsp": {
  13725. "type": "object",
  13726. "required": [
  13727. "configid"
  13728. ],
  13729. "properties": {
  13730. "areauserid": {
  13731. "description": "所属机构ID",
  13732. "type": "integer"
  13733. },
  13734. "configid": {
  13735. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13736. "type": "integer"
  13737. },
  13738. "createdate": {
  13739. "description": "创建时间",
  13740. "type": "string"
  13741. },
  13742. "creatorid": {
  13743. "description": "创建人",
  13744. "type": "integer"
  13745. },
  13746. "imagepath": {
  13747. "description": "图片",
  13748. "type": "string"
  13749. },
  13750. "imagetype": {
  13751. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13752. "type": "integer"
  13753. },
  13754. "isshow": {
  13755. "description": "是否展示 - 0:不展示 1:展示",
  13756. "type": "integer"
  13757. },
  13758. "marketid": {
  13759. "description": "市场ID",
  13760. "type": "integer"
  13761. },
  13762. "modifierid": {
  13763. "description": "操作人",
  13764. "type": "integer"
  13765. },
  13766. "sort": {
  13767. "description": "排序",
  13768. "type": "integer"
  13769. },
  13770. "title": {
  13771. "description": "标题",
  13772. "type": "string"
  13773. },
  13774. "trademode": {
  13775. "description": "交易模式",
  13776. "type": "integer"
  13777. },
  13778. "updatedate": {
  13779. "description": "修改时间",
  13780. "type": "string"
  13781. },
  13782. "url": {
  13783. "description": "链接(地址或商品ID)",
  13784. "type": "string"
  13785. },
  13786. "urltype": {
  13787. "description": "链接类型 - 1:直接地址 2:商品ID",
  13788. "type": "integer"
  13789. }
  13790. }
  13791. },
  13792. "common.QueryNoticeRsp": {
  13793. "type": "object",
  13794. "required": [
  13795. "autoid"
  13796. ],
  13797. "properties": {
  13798. "auditoruserid": {
  13799. "description": "审核人",
  13800. "type": "integer"
  13801. },
  13802. "auditremark": {
  13803. "description": "审核备注",
  13804. "type": "string"
  13805. },
  13806. "audittime": {
  13807. "description": "审核日期",
  13808. "type": "string"
  13809. },
  13810. "autoid": {
  13811. "description": "自增ID",
  13812. "type": "integer"
  13813. },
  13814. "content": {
  13815. "description": "内容",
  13816. "type": "string"
  13817. },
  13818. "createtime": {
  13819. "description": "创建时间",
  13820. "type": "string"
  13821. },
  13822. "creatorid": {
  13823. "description": "建仓人",
  13824. "type": "integer"
  13825. },
  13826. "endtime": {
  13827. "description": "结束时间",
  13828. "type": "string"
  13829. },
  13830. "istop": {
  13831. "description": "是否置顶 - 0:不置顶 1:置顶",
  13832. "type": "integer"
  13833. },
  13834. "msgiconurl": {
  13835. "description": "消息图标Url",
  13836. "type": "string"
  13837. },
  13838. "msgtype": {
  13839. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13840. "type": "integer"
  13841. },
  13842. "publisher": {
  13843. "description": "消息发布者",
  13844. "type": "string"
  13845. },
  13846. "readed": {
  13847. "description": "是否已读",
  13848. "type": "boolean"
  13849. },
  13850. "scheduletime": {
  13851. "description": "计划发送时间",
  13852. "type": "string"
  13853. },
  13854. "sendtype": {
  13855. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13856. "type": "integer"
  13857. },
  13858. "sentstatus": {
  13859. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13860. "type": "integer"
  13861. },
  13862. "title": {
  13863. "description": "标题",
  13864. "type": "string"
  13865. },
  13866. "userid": {
  13867. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13868. "type": "integer"
  13869. }
  13870. }
  13871. },
  13872. "common.QueryProvincesAndCitiesRsp": {
  13873. "type": "object",
  13874. "properties": {
  13875. "cities": {
  13876. "description": "市",
  13877. "type": "array",
  13878. "items": {
  13879. "$ref": "#/definitions/models.Division"
  13880. }
  13881. },
  13882. "province": {
  13883. "description": "省",
  13884. "$ref": "#/definitions/models.Division"
  13885. }
  13886. }
  13887. },
  13888. "common.QueryTableDefineRsp": {
  13889. "type": "object",
  13890. "required": [
  13891. "tablekey"
  13892. ],
  13893. "properties": {
  13894. "columns": {
  13895. "description": "列头信息数组",
  13896. "type": "array",
  13897. "items": {
  13898. "$ref": "#/definitions/models.Tablecolumnconfig"
  13899. }
  13900. },
  13901. "remark": {
  13902. "description": "Remark",
  13903. "type": "string"
  13904. },
  13905. "tabelmenu": {
  13906. "description": "列表菜单",
  13907. "type": "string"
  13908. },
  13909. "tablekey": {
  13910. "description": "列表Key",
  13911. "type": "string"
  13912. },
  13913. "tablename": {
  13914. "description": "列表名称",
  13915. "type": "string"
  13916. },
  13917. "tabletype": {
  13918. "description": "列表类型 - 1:管理端 2:终端",
  13919. "type": "integer"
  13920. }
  13921. }
  13922. },
  13923. "common.QueryTraderMenuRsp": {
  13924. "type": "object",
  13925. "properties": {
  13926. "OperationMenu": {
  13927. "description": "功能菜单",
  13928. "type": "array",
  13929. "items": {
  13930. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13931. }
  13932. },
  13933. "QuoteMenu": {
  13934. "description": "报价牌分类菜单",
  13935. "type": "array",
  13936. "items": {
  13937. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13938. }
  13939. }
  13940. }
  13941. },
  13942. "cptrade.Cptradepositioncancel": {
  13943. "type": "object",
  13944. "required": [
  13945. "cancelid"
  13946. ],
  13947. "properties": {
  13948. "accountid": {
  13949. "description": "申请人账户ID",
  13950. "type": "integer"
  13951. },
  13952. "applystatus": {
  13953. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13954. "type": "integer"
  13955. },
  13956. "applytime": {
  13957. "description": "申请时间",
  13958. "type": "string"
  13959. },
  13960. "cancelid": {
  13961. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13962. "type": "integer"
  13963. },
  13964. "cancelqty": {
  13965. "description": "注销数量",
  13966. "type": "integer"
  13967. },
  13968. "createtime": {
  13969. "description": "创建时间",
  13970. "type": "string"
  13971. },
  13972. "creatorid": {
  13973. "description": "创建人ID",
  13974. "type": "integer"
  13975. },
  13976. "creatorname": {
  13977. "description": "创建人",
  13978. "type": "string"
  13979. },
  13980. "goodscode": {
  13981. "description": "订单商品代码",
  13982. "type": "string"
  13983. },
  13984. "goodsid": {
  13985. "description": "商品ID",
  13986. "type": "integer"
  13987. },
  13988. "goodsname": {
  13989. "description": "订单商品名称",
  13990. "type": "string"
  13991. },
  13992. "goodunit": {
  13993. "description": "报价单位",
  13994. "type": "string"
  13995. },
  13996. "handlestatus": {
  13997. "description": "处理状态",
  13998. "type": "integer"
  13999. },
  14000. "marketid": {
  14001. "description": "市场ID",
  14002. "type": "integer"
  14003. },
  14004. "marketname": {
  14005. "description": "市场名称",
  14006. "type": "string"
  14007. },
  14008. "tradedate": {
  14009. "description": "交易日(yyyyMMdd)",
  14010. "type": "string"
  14011. },
  14012. "userid": {
  14013. "description": "申请人ID",
  14014. "type": "integer"
  14015. }
  14016. }
  14017. },
  14018. "cptrade.Cptradepresaleapply": {
  14019. "type": "object",
  14020. "required": [
  14021. "applyid"
  14022. ],
  14023. "properties": {
  14024. "accountid": {
  14025. "description": "申请人账户ID",
  14026. "type": "integer"
  14027. },
  14028. "applyid": {
  14029. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14030. "type": "integer"
  14031. },
  14032. "applyremark": {
  14033. "description": "申请备注",
  14034. "type": "string"
  14035. },
  14036. "applystatus": {
  14037. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14038. "type": "integer"
  14039. },
  14040. "applytime": {
  14041. "description": "申请时间",
  14042. "type": "string"
  14043. },
  14044. "attachmenturl": {
  14045. "description": "附件地址",
  14046. "type": "string"
  14047. },
  14048. "endtime": {
  14049. "description": "预售结束时间",
  14050. "type": "string"
  14051. },
  14052. "goodscode": {
  14053. "description": "商品代码",
  14054. "type": "string"
  14055. },
  14056. "goodsid": {
  14057. "description": "商品ID",
  14058. "type": "integer"
  14059. },
  14060. "goodsname": {
  14061. "description": "商品名称",
  14062. "type": "string"
  14063. },
  14064. "goodunit": {
  14065. "description": "报价单位",
  14066. "type": "string"
  14067. },
  14068. "handlestatus": {
  14069. "description": "处理状态",
  14070. "type": "integer"
  14071. },
  14072. "marketid": {
  14073. "description": "预售市场ID",
  14074. "type": "integer"
  14075. },
  14076. "marketname": {
  14077. "description": "预售市场名称",
  14078. "type": "string"
  14079. },
  14080. "presaleqty": {
  14081. "description": "预售数量",
  14082. "type": "integer"
  14083. },
  14084. "relatedgoodscode": {
  14085. "description": "关联交易合约代码",
  14086. "type": "string"
  14087. },
  14088. "relatedgoodsid": {
  14089. "description": "关联交易合约ID",
  14090. "type": "integer"
  14091. },
  14092. "relatedgoodsname": {
  14093. "description": "关联交易合约名称",
  14094. "type": "string"
  14095. },
  14096. "starttime": {
  14097. "description": "预售开始时间",
  14098. "type": "string"
  14099. },
  14100. "tradedate": {
  14101. "description": "交易日(yyyyMMdd)",
  14102. "type": "string"
  14103. },
  14104. "trademode": {
  14105. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14106. "type": "integer"
  14107. },
  14108. "userid": {
  14109. "description": "申请人ID",
  14110. "type": "integer"
  14111. }
  14112. }
  14113. },
  14114. "cptrade.Cptradeusergoodsdata": {
  14115. "type": "object",
  14116. "required": [
  14117. "accountid",
  14118. "goodsid"
  14119. ],
  14120. "properties": {
  14121. "EnabledQty": {
  14122. "description": "可用量",
  14123. "type": "integer"
  14124. },
  14125. "GoodsCode": {
  14126. "description": "订单商品代码",
  14127. "type": "string"
  14128. },
  14129. "GoodsName": {
  14130. "description": "订单商品名称",
  14131. "type": "string"
  14132. },
  14133. "WRStandardCode": {
  14134. "description": "仓单标准代码",
  14135. "type": "string"
  14136. },
  14137. "WRStandardName": {
  14138. "description": "仓单标准名称",
  14139. "type": "string"
  14140. },
  14141. "accountid": {
  14142. "description": "账户ID",
  14143. "type": "integer"
  14144. },
  14145. "cancelqty": {
  14146. "description": "注销量",
  14147. "type": "integer"
  14148. },
  14149. "curpresaleqty": {
  14150. "description": "当前预售量",
  14151. "type": "integer"
  14152. },
  14153. "deliveryqty": {
  14154. "description": "交割量",
  14155. "type": "integer"
  14156. },
  14157. "freezeamount": {
  14158. "description": "冻结金额",
  14159. "type": "number"
  14160. },
  14161. "goodsid": {
  14162. "description": "商品ID",
  14163. "type": "integer"
  14164. },
  14165. "goodunit": {
  14166. "description": "报价单位",
  14167. "type": "string"
  14168. },
  14169. "hasspotfreeze": {
  14170. "description": "是否有现货冻结 - 0:否 1:有",
  14171. "type": "integer"
  14172. },
  14173. "inqty": {
  14174. "description": "转入量(总数量)",
  14175. "type": "integer"
  14176. },
  14177. "marketid": {
  14178. "description": "市场ID",
  14179. "type": "integer"
  14180. },
  14181. "presaledamount": {
  14182. "description": "已预售总金额",
  14183. "type": "integer"
  14184. },
  14185. "presaledqty": {
  14186. "description": "已预售量",
  14187. "type": "integer"
  14188. },
  14189. "userid": {
  14190. "description": "用户ID",
  14191. "type": "integer"
  14192. },
  14193. "wrstandardid": {
  14194. "description": "仓单标准ID",
  14195. "type": "integer"
  14196. }
  14197. }
  14198. },
  14199. "cptrade.QueryCPTradeMyBidRsp": {
  14200. "type": "object",
  14201. "required": [
  14202. "accountid",
  14203. "goodsid",
  14204. "marketid",
  14205. "orderid",
  14206. "orderqty",
  14207. "ordertime",
  14208. "tradeprice",
  14209. "tradeqty"
  14210. ],
  14211. "properties": {
  14212. "accountid": {
  14213. "description": "账户ID[报价币种]",
  14214. "type": "integer"
  14215. },
  14216. "goodsid": {
  14217. "description": "商品ID",
  14218. "type": "integer"
  14219. },
  14220. "goodunit": {
  14221. "description": "报价单位",
  14222. "type": "string"
  14223. },
  14224. "marketid": {
  14225. "description": "市场ID",
  14226. "type": "integer"
  14227. },
  14228. "orderid": {
  14229. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14230. "type": "integer"
  14231. },
  14232. "orderprice": {
  14233. "description": "委托价格",
  14234. "type": "number"
  14235. },
  14236. "orderqty": {
  14237. "description": "委托数量",
  14238. "type": "integer"
  14239. },
  14240. "ordertime": {
  14241. "description": "委托时间",
  14242. "type": "string"
  14243. },
  14244. "ordertotalprice": {
  14245. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14246. "type": "number"
  14247. },
  14248. "ordertotalweight": {
  14249. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14250. "type": "integer"
  14251. },
  14252. "totaltotalprice": {
  14253. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14254. "type": "number"
  14255. },
  14256. "tradeprice": {
  14257. "description": "成交价格",
  14258. "type": "number"
  14259. },
  14260. "tradeqty": {
  14261. "description": "成交数量",
  14262. "type": "integer"
  14263. }
  14264. }
  14265. },
  14266. "cptrade.QueryCPTradeOrderDetailRsq": {
  14267. "type": "object",
  14268. "required": [
  14269. "accountid",
  14270. "buildtype",
  14271. "buyorsell",
  14272. "goodsid",
  14273. "marketid",
  14274. "memberuserid",
  14275. "operatetype",
  14276. "orderqty",
  14277. "ordertime",
  14278. "pricemode",
  14279. "strorderid",
  14280. "tradedate",
  14281. "validtype"
  14282. ],
  14283. "properties": {
  14284. "accountid": {
  14285. "description": "账户ID[报价币种]",
  14286. "type": "integer"
  14287. },
  14288. "buildtype": {
  14289. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14290. "type": "integer"
  14291. },
  14292. "buyorsell": {
  14293. "description": "买卖 - 0:买 1:卖",
  14294. "type": "integer"
  14295. },
  14296. "cancelorderid": {
  14297. "description": "撤单单号(撤单时填写)",
  14298. "type": "integer"
  14299. },
  14300. "cancelqty": {
  14301. "description": "撤单数量",
  14302. "type": "integer"
  14303. },
  14304. "clientordertime": {
  14305. "description": "客户端委托时间",
  14306. "type": "string"
  14307. },
  14308. "clientticket": {
  14309. "description": "客户端流水号",
  14310. "type": "string"
  14311. },
  14312. "clienttype": {
  14313. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14314. "type": "integer"
  14315. },
  14316. "closeexchagechargevalue": {
  14317. "description": "平仓交易所手续费设置值",
  14318. "type": "number"
  14319. },
  14320. "closefeealgorithm": {
  14321. "description": "平仓手续费收取方式 1:比率 2:固定",
  14322. "type": "integer"
  14323. },
  14324. "closefreezecharge": {
  14325. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14326. "type": "number"
  14327. },
  14328. "closememberchargevalue": {
  14329. "description": "平仓会员手续费设置值",
  14330. "type": "number"
  14331. },
  14332. "closeqty": {
  14333. "description": "平仓数量(先建后平操作 需要记录)",
  14334. "type": "integer"
  14335. },
  14336. "closetradeqty": {
  14337. "description": "平仓成交数量(先建后平操作,需要记录)",
  14338. "type": "integer"
  14339. },
  14340. "closeunfreezecharge": {
  14341. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14342. "type": "number"
  14343. },
  14344. "delistingtype": {
  14345. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14346. "type": "integer"
  14347. },
  14348. "freezecharge": {
  14349. "description": "冻结手续费",
  14350. "type": "number"
  14351. },
  14352. "freezemargin": {
  14353. "description": "冻结保证金(冻结交易金额)",
  14354. "type": "number"
  14355. },
  14356. "gcaccountid": {
  14357. "description": "账户ID[合约币种]",
  14358. "type": "integer"
  14359. },
  14360. "goodsid": {
  14361. "description": "商品ID",
  14362. "type": "integer"
  14363. },
  14364. "isconfirmexercise": {
  14365. "description": "是否确认行权- 0:否 1:是",
  14366. "type": "integer"
  14367. },
  14368. "ispreexercise": {
  14369. "description": "是否预申报- 0:否 1:是",
  14370. "type": "integer"
  14371. },
  14372. "listingselecttype": {
  14373. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14374. "type": "integer"
  14375. },
  14376. "marginalgorithm": {
  14377. "description": "保证金收取方式 1:比率 2:固定",
  14378. "type": "integer"
  14379. },
  14380. "marginvalue": {
  14381. "description": "即市保证金设置值",
  14382. "type": "number"
  14383. },
  14384. "marketid": {
  14385. "description": "市场ID",
  14386. "type": "integer"
  14387. },
  14388. "marketmaxsub": {
  14389. "description": "市价最大偏移范围",
  14390. "type": "number"
  14391. },
  14392. "memberuserid": {
  14393. "description": "所属会员UserID",
  14394. "type": "integer"
  14395. },
  14396. "openexchagechargevalue": {
  14397. "description": "建仓交易所手续费设置值",
  14398. "type": "number"
  14399. },
  14400. "openfeealgorithm": {
  14401. "description": "建仓手续费收取方式 1:比率 2:固定",
  14402. "type": "integer"
  14403. },
  14404. "openfreezecharge": {
  14405. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14406. "type": "number"
  14407. },
  14408. "openmemberchargevalue": {
  14409. "description": "建仓会员手续费设置值",
  14410. "type": "number"
  14411. },
  14412. "openqty": {
  14413. "description": "开仓数量(先建后平操作,需要记录)",
  14414. "type": "integer"
  14415. },
  14416. "opentradeqty": {
  14417. "description": "开仓成交数量(先建后平操作,需要记录)",
  14418. "type": "integer"
  14419. },
  14420. "openunfreezecharge": {
  14421. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14422. "type": "number"
  14423. },
  14424. "operatetype": {
  14425. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14426. "type": "integer"
  14427. },
  14428. "operatorid": {
  14429. "description": "登录账号(LoginID)",
  14430. "type": "integer"
  14431. },
  14432. "optiontype": {
  14433. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14434. "type": "integer"
  14435. },
  14436. "orderprice": {
  14437. "description": "委托价格",
  14438. "type": "number"
  14439. },
  14440. "orderqty": {
  14441. "description": "委托数量",
  14442. "type": "integer"
  14443. },
  14444. "ordersrc": {
  14445. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14446. "type": "integer"
  14447. },
  14448. "orderstatus": {
  14449. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14450. "type": "integer"
  14451. },
  14452. "ordertime": {
  14453. "description": "委托时间",
  14454. "type": "string"
  14455. },
  14456. "preexerciseprice": {
  14457. "description": "预申报价格",
  14458. "type": "number"
  14459. },
  14460. "premium": {
  14461. "description": "权利金",
  14462. "type": "number"
  14463. },
  14464. "preorderid": {
  14465. "description": "关联预埋单号(止盈止损单时填写)",
  14466. "type": "integer"
  14467. },
  14468. "pricemode": {
  14469. "description": "取价方式 - 1:市价 2: 限价",
  14470. "type": "integer"
  14471. },
  14472. "quoteid": {
  14473. "description": "报价单ID",
  14474. "type": "integer"
  14475. },
  14476. "relatedid": {
  14477. "description": "关联单号(交割单)",
  14478. "type": "integer"
  14479. },
  14480. "retcode": {
  14481. "description": "错误代码",
  14482. "type": "integer"
  14483. },
  14484. "sessionid": {
  14485. "description": "会话ID",
  14486. "type": "integer"
  14487. },
  14488. "strorderid": {
  14489. "description": "委托单号",
  14490. "type": "string"
  14491. },
  14492. "tradedate": {
  14493. "description": "交易日(yyyyMMdd)",
  14494. "type": "string"
  14495. },
  14496. "tradeproperty": {
  14497. "description": "交易属性",
  14498. "type": "integer"
  14499. },
  14500. "tradeqty": {
  14501. "description": "成交数量",
  14502. "type": "integer"
  14503. },
  14504. "unfreezecharge": {
  14505. "description": "解冻手续费",
  14506. "type": "number"
  14507. },
  14508. "unfreezemargin": {
  14509. "description": "解冻保证金",
  14510. "type": "number"
  14511. },
  14512. "updatetime": {
  14513. "description": "更新时间",
  14514. "type": "string"
  14515. },
  14516. "uuid": {
  14517. "description": "发起端唯一id",
  14518. "type": "string"
  14519. },
  14520. "validtime": {
  14521. "description": "有效期限",
  14522. "type": "string"
  14523. },
  14524. "validtype": {
  14525. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14526. "type": "integer"
  14527. },
  14528. "volumetype": {
  14529. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14530. "type": "integer"
  14531. }
  14532. }
  14533. },
  14534. "cptrade.QueryMyCPTradeGoodsRsp": {
  14535. "type": "object",
  14536. "required": [
  14537. "goodscode",
  14538. "goodsid",
  14539. "goodsname",
  14540. "marketid",
  14541. "relatedgoodscode",
  14542. "relatedgoodsname"
  14543. ],
  14544. "properties": {
  14545. "accountid": {
  14546. "description": "卖方账户ID",
  14547. "type": "integer"
  14548. },
  14549. "agreeunit": {
  14550. "description": "合约单位",
  14551. "type": "number"
  14552. },
  14553. "applyid": {
  14554. "description": "关联申请ID",
  14555. "type": "integer"
  14556. },
  14557. "attachmenturl": {
  14558. "description": "附件地址",
  14559. "type": "string"
  14560. },
  14561. "createtime": {
  14562. "description": "创建时间",
  14563. "type": "string"
  14564. },
  14565. "currencyid": {
  14566. "description": "报价货币ID",
  14567. "type": "integer"
  14568. },
  14569. "decimalplace": {
  14570. "description": "报价小数位",
  14571. "type": "integer"
  14572. },
  14573. "endtime": {
  14574. "description": "预售结束时间",
  14575. "type": "string"
  14576. },
  14577. "floorprice": {
  14578. "description": "底价[大宗式竞拍]",
  14579. "type": "number"
  14580. },
  14581. "goodscode": {
  14582. "description": "商品代码(预售)",
  14583. "type": "string"
  14584. },
  14585. "goodsdetail": {
  14586. "description": "详情[大宗]",
  14587. "type": "string"
  14588. },
  14589. "goodsid": {
  14590. "description": "商品ID(自增ID SEQ_GOODS)",
  14591. "type": "integer"
  14592. },
  14593. "goodsname": {
  14594. "description": "商品名称(预售)",
  14595. "type": "string"
  14596. },
  14597. "goodunit": {
  14598. "description": "报价单位",
  14599. "type": "string"
  14600. },
  14601. "goodunitid": {
  14602. "description": "报价单位ID",
  14603. "type": "integer"
  14604. },
  14605. "marketid": {
  14606. "description": "所属市场ID",
  14607. "type": "integer"
  14608. },
  14609. "marketname": {
  14610. "description": "预售市场名称",
  14611. "type": "string"
  14612. },
  14613. "presaledamount": {
  14614. "description": "已预售总金额(预售结束时更新)",
  14615. "type": "number"
  14616. },
  14617. "presaledqty": {
  14618. "description": "已预售量(预售结束时更新)",
  14619. "type": "integer"
  14620. },
  14621. "presalemode": {
  14622. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14623. "type": "integer"
  14624. },
  14625. "presaleqty": {
  14626. "description": "预售数量",
  14627. "type": "integer"
  14628. },
  14629. "refprice": {
  14630. "description": "参考价格[一口价]",
  14631. "type": "number"
  14632. },
  14633. "relatedgoodscode": {
  14634. "description": "商品代码(订单)",
  14635. "type": "string"
  14636. },
  14637. "relatedgoodsid": {
  14638. "description": "关联交易合约ID",
  14639. "type": "integer"
  14640. },
  14641. "relatedgoodsname": {
  14642. "description": "商品名称(订单)",
  14643. "type": "string"
  14644. },
  14645. "relatedmarketid": {
  14646. "description": "关联交易合约市场ID",
  14647. "type": "integer"
  14648. },
  14649. "sellstatus": {
  14650. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14651. "type": "integer"
  14652. },
  14653. "startprice": {
  14654. "description": "起拍价[大宗式竞拍]",
  14655. "type": "number"
  14656. },
  14657. "starttime": {
  14658. "description": "预售开始时间",
  14659. "type": "string"
  14660. },
  14661. "tradedate": {
  14662. "description": "交易日(yyyyMMdd)",
  14663. "type": "string"
  14664. },
  14665. "tradeprice": {
  14666. "description": "成交价[大宗]",
  14667. "type": "number"
  14668. },
  14669. "userid": {
  14670. "description": "卖方用户ID",
  14671. "type": "integer"
  14672. }
  14673. }
  14674. },
  14675. "cptrade.QueryPresaleGoodsExRsp": {
  14676. "type": "object",
  14677. "required": [
  14678. "goodsid"
  14679. ],
  14680. "properties": {
  14681. "attachmenturl": {
  14682. "description": "附件地址",
  14683. "type": "string"
  14684. },
  14685. "createtime": {
  14686. "description": "创建时间",
  14687. "type": "string"
  14688. },
  14689. "endtime": {
  14690. "description": "预售结束时间",
  14691. "type": "string"
  14692. },
  14693. "floorprice": {
  14694. "description": "底价[大宗式竞拍]",
  14695. "type": "number"
  14696. },
  14697. "goodsdetail": {
  14698. "description": "详情[大宗]",
  14699. "type": "string"
  14700. },
  14701. "goodsid": {
  14702. "description": "商品ID(预售)",
  14703. "type": "integer"
  14704. },
  14705. "goodunit": {
  14706. "description": "报价单位",
  14707. "type": "string"
  14708. },
  14709. "marketid": {
  14710. "description": "预售市场ID - 根据预售模式选择市场",
  14711. "type": "integer"
  14712. },
  14713. "presaledamount": {
  14714. "description": "已预售总金额(预售结束时更新)",
  14715. "type": "number"
  14716. },
  14717. "presaledqty": {
  14718. "description": "已预售量(预售结束时更新)",
  14719. "type": "integer"
  14720. },
  14721. "presalemode": {
  14722. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14723. "type": "integer"
  14724. },
  14725. "presaleqty": {
  14726. "description": "预售数量",
  14727. "type": "integer"
  14728. },
  14729. "refprice": {
  14730. "description": "参考价格[一口价]",
  14731. "type": "number"
  14732. },
  14733. "relatedgoodsid": {
  14734. "description": "关联交易合约ID",
  14735. "type": "integer"
  14736. },
  14737. "relatedmarketid": {
  14738. "description": "关联交易合约市场ID",
  14739. "type": "integer"
  14740. },
  14741. "sellstatus": {
  14742. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14743. "type": "integer"
  14744. },
  14745. "startprice": {
  14746. "description": "起拍价[大宗式竞拍]",
  14747. "type": "number"
  14748. },
  14749. "starttime": {
  14750. "description": "预售开始时间",
  14751. "type": "string"
  14752. },
  14753. "tradedate": {
  14754. "description": "交易日(yyyyMMdd)",
  14755. "type": "string"
  14756. },
  14757. "tradeprice": {
  14758. "description": "成交价[大宗]",
  14759. "type": "number"
  14760. }
  14761. }
  14762. },
  14763. "delivery.QueryDeliveryRelationRsp": {
  14764. "type": "object",
  14765. "required": [
  14766. "begindate",
  14767. "enddate",
  14768. "goodsid",
  14769. "mindeliveryqty",
  14770. "xdeliveryratio"
  14771. ],
  14772. "properties": {
  14773. "begindate": {
  14774. "description": "起始日期(yyyyMMdd)",
  14775. "type": "string"
  14776. },
  14777. "buytemplateid": {
  14778. "description": "买履约计划模板ID",
  14779. "type": "integer"
  14780. },
  14781. "deliverygoodscode": {
  14782. "description": "品种代码",
  14783. "type": "string"
  14784. },
  14785. "deliverygoodsid": {
  14786. "description": "交割商品",
  14787. "type": "integer"
  14788. },
  14789. "deliverygoodsname": {
  14790. "description": "品种名称",
  14791. "type": "string"
  14792. },
  14793. "deliverymode": {
  14794. "description": "交割方式 - 1:点选式 2:申报式",
  14795. "type": "integer"
  14796. },
  14797. "deliverypricerule": {
  14798. "description": "交割价规则- 1:行情价 2:建仓价",
  14799. "type": "integer"
  14800. },
  14801. "deliverytype": {
  14802. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14803. "type": "integer"
  14804. },
  14805. "enddate": {
  14806. "description": "结束日期(yyyyMMdd)",
  14807. "type": "string"
  14808. },
  14809. "enumdicname": {
  14810. "description": "品类单位名称",
  14811. "type": "string"
  14812. },
  14813. "goodscode": {
  14814. "description": "商品代码",
  14815. "type": "string"
  14816. },
  14817. "goodsid": {
  14818. "description": "交易合约ID",
  14819. "type": "integer"
  14820. },
  14821. "goodsname": {
  14822. "description": "商品名称",
  14823. "type": "string"
  14824. },
  14825. "marketid": {
  14826. "description": "市场ID",
  14827. "type": "integer"
  14828. },
  14829. "mindeliveryqty": {
  14830. "description": "最小交割系数(K)",
  14831. "type": "integer"
  14832. },
  14833. "p2deliveryprice": {
  14834. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14835. "type": "number"
  14836. },
  14837. "p2deliveryratio": {
  14838. "description": "P2合约系数(p)",
  14839. "type": "integer"
  14840. },
  14841. "p2goodsid": {
  14842. "description": "P2合约ID",
  14843. "type": "integer"
  14844. },
  14845. "p2pricemode": {
  14846. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14847. "type": "integer"
  14848. },
  14849. "pdeliveryprice": {
  14850. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14851. "type": "number"
  14852. },
  14853. "pdeliveryratio": {
  14854. "description": "P合约系数(n)",
  14855. "type": "integer"
  14856. },
  14857. "pgoodscode": {
  14858. "description": "p合约代码",
  14859. "type": "string"
  14860. },
  14861. "pgoodsid": {
  14862. "description": "P合约ID",
  14863. "type": "integer"
  14864. },
  14865. "ppricemode": {
  14866. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14867. "type": "integer"
  14868. },
  14869. "rratio": {
  14870. "description": "兑换系数(R)",
  14871. "type": "integer"
  14872. },
  14873. "rratio1": {
  14874. "description": "兑换系数(交易合约)(R1)",
  14875. "type": "integer"
  14876. },
  14877. "rratio2": {
  14878. "description": "兑换系数(仓单标准)(R2)",
  14879. "type": "integer"
  14880. },
  14881. "selltemplateid": {
  14882. "description": "卖履约计划模板ID",
  14883. "type": "integer"
  14884. },
  14885. "wrstandardid": {
  14886. "description": "仓单标准ID",
  14887. "type": "integer"
  14888. },
  14889. "xdeliveryratio": {
  14890. "description": "交易合约系数(m)",
  14891. "type": "integer"
  14892. }
  14893. }
  14894. },
  14895. "ermcp.ExposureDetailRsp": {
  14896. "type": "object",
  14897. "properties": {
  14898. "areauserid": {
  14899. "description": "机构ID",
  14900. "type": "integer"
  14901. },
  14902. "changeQty": {
  14903. "description": "套保变动量",
  14904. "type": "number"
  14905. },
  14906. "contracttype": {
  14907. "description": "现货合同类型 - 1:采购 -1:销售",
  14908. "type": "integer"
  14909. },
  14910. "convertfactor": {
  14911. "description": "标仓系数",
  14912. "type": "number"
  14913. },
  14914. "convertratio": {
  14915. "description": "套保系数",
  14916. "type": "number"
  14917. },
  14918. "createtime": {
  14919. "description": "时间",
  14920. "type": "string"
  14921. },
  14922. "enumdicname": {
  14923. "description": "现货商品单位名称",
  14924. "type": "string"
  14925. },
  14926. "logtype": {
  14927. "description": "类型 - 1:套保计划 2:现货合同",
  14928. "type": "integer"
  14929. },
  14930. "middlegoodsId": {
  14931. "description": "套保商品id",
  14932. "type": "integer"
  14933. },
  14934. "middlegoodscode": {
  14935. "description": "套保商品代码",
  14936. "type": "string"
  14937. },
  14938. "middlegoodsname": {
  14939. "description": "套保商品名称",
  14940. "type": "string"
  14941. },
  14942. "qty": {
  14943. "description": "数量",
  14944. "type": "number"
  14945. },
  14946. "relateNo": {
  14947. "description": "现货合同/套保计划编号",
  14948. "type": "string"
  14949. },
  14950. "wrstandardcode": {
  14951. "description": "现货商品代码",
  14952. "type": "string"
  14953. },
  14954. "wrstandardid": {
  14955. "description": "现货商品ID",
  14956. "type": "integer"
  14957. },
  14958. "wrstandardname": {
  14959. "description": "现货商品名称",
  14960. "type": "string"
  14961. }
  14962. }
  14963. },
  14964. "ermcp.ExposureHedgePosDetailRsp": {
  14965. "type": "object",
  14966. "properties": {
  14967. "buyorsell": {
  14968. "description": "买卖方向 0-买 1-卖",
  14969. "type": "integer"
  14970. },
  14971. "channelbuildtype": {
  14972. "description": "开平方向 1-建仓 2-平仓",
  14973. "type": "integer"
  14974. },
  14975. "goodscode": {
  14976. "description": "商品代码",
  14977. "type": "string"
  14978. },
  14979. "goodsname": {
  14980. "description": "商品名称",
  14981. "type": "string"
  14982. },
  14983. "hedgegoodsid": {
  14984. "description": "商品id",
  14985. "type": "integer"
  14986. },
  14987. "tradeqty": {
  14988. "description": "数量(成交数量)",
  14989. "type": "integer"
  14990. },
  14991. "tradetime": {
  14992. "description": "时间(成交时间)",
  14993. "type": "string"
  14994. }
  14995. }
  14996. },
  14997. "ermcp.ExposureHedgePositionRsp": {
  14998. "type": "object",
  14999. "properties": {
  15000. "accountid": {
  15001. "description": "资金账号[外部母账户]",
  15002. "type": "integer"
  15003. },
  15004. "curbuyposition": {
  15005. "description": "期末买头寸",
  15006. "type": "integer"
  15007. },
  15008. "cursellposition": {
  15009. "description": "期末卖头寸",
  15010. "type": "integer"
  15011. },
  15012. "curtdbuyposition": {
  15013. "description": "期末今日买头寸",
  15014. "type": "integer"
  15015. },
  15016. "curtdsellposition": {
  15017. "description": "期末今日卖头寸",
  15018. "type": "integer"
  15019. },
  15020. "curydbuyposition": {
  15021. "description": "期末上日买头寸",
  15022. "type": "integer"
  15023. },
  15024. "curydsellposition": {
  15025. "description": "期末上日卖头寸",
  15026. "type": "integer"
  15027. },
  15028. "decreaseqty": {
  15029. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15030. "type": "integer"
  15031. },
  15032. "fretdbuyposition": {
  15033. "description": "冻结今日买头寸",
  15034. "type": "integer"
  15035. },
  15036. "fretdsellposition": {
  15037. "description": "冻结今日卖头寸",
  15038. "type": "integer"
  15039. },
  15040. "freydbuyposition": {
  15041. "description": "冻结上日买头寸",
  15042. "type": "integer"
  15043. },
  15044. "freydsellposition": {
  15045. "description": "冻结上日卖头寸",
  15046. "type": "integer"
  15047. },
  15048. "goodscode": {
  15049. "description": "商品代码",
  15050. "type": "string"
  15051. },
  15052. "goodsid": {
  15053. "description": "商品id",
  15054. "type": "integer"
  15055. },
  15056. "goodsname": {
  15057. "description": "商品名称",
  15058. "type": "string"
  15059. },
  15060. "hedgeaccountcode": {
  15061. "description": "对冲账号",
  15062. "type": "string"
  15063. },
  15064. "hedgegoodsid": {
  15065. "description": "对冲合约ID",
  15066. "type": "integer"
  15067. },
  15068. "increaseqty": {
  15069. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15070. "type": "integer"
  15071. },
  15072. "marketid": {
  15073. "description": "市场ID",
  15074. "type": "integer"
  15075. },
  15076. "relateduserid": {
  15077. "description": "关联用户id",
  15078. "type": "integer"
  15079. },
  15080. "totalcurqty": {
  15081. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15082. "type": "integer"
  15083. },
  15084. "totalydqty": {
  15085. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15086. "type": "integer"
  15087. },
  15088. "tradedate": {
  15089. "description": "交易日(yyyyMMdd)",
  15090. "type": "string"
  15091. },
  15092. "ydbuyposition": {
  15093. "description": "期初买头寸",
  15094. "type": "integer"
  15095. },
  15096. "ydsellposition": {
  15097. "description": "期初卖头寸",
  15098. "type": "integer"
  15099. }
  15100. }
  15101. },
  15102. "ermcp.ExposureSpotDetailRsp": {
  15103. "type": "object",
  15104. "properties": {
  15105. "contracttype": {
  15106. "description": "合同类型 1-采购 -1-销售",
  15107. "type": "integer"
  15108. },
  15109. "createtime": {
  15110. "description": "创建时间",
  15111. "type": "string"
  15112. },
  15113. "enumdicname": {
  15114. "description": "现货商品单位名称",
  15115. "type": "string"
  15116. },
  15117. "logtype": {
  15118. "description": "记录类型 1-套保 2-现货合同",
  15119. "type": "integer"
  15120. },
  15121. "qty": {
  15122. "description": "数量",
  15123. "type": "number"
  15124. },
  15125. "recordname": {
  15126. "description": "类型名称",
  15127. "type": "string"
  15128. },
  15129. "relatedid": {
  15130. "description": "套保计划ID/现货合同ID",
  15131. "type": "string"
  15132. },
  15133. "relatedno": {
  15134. "description": "编号",
  15135. "type": "string"
  15136. },
  15137. "strtime": {
  15138. "description": "时间",
  15139. "type": "string"
  15140. },
  15141. "wrstandardcode": {
  15142. "description": "现货商品代码",
  15143. "type": "string"
  15144. },
  15145. "wrstandardname": {
  15146. "description": "现货商品名称",
  15147. "type": "string"
  15148. }
  15149. }
  15150. },
  15151. "ermcp.ExposureSpotRsp": {
  15152. "type": "object",
  15153. "properties": {
  15154. "areauserid": {
  15155. "description": "所属机构",
  15156. "type": "integer"
  15157. },
  15158. "decreaseqty": {
  15159. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15160. "type": "number"
  15161. },
  15162. "increaseqty": {
  15163. "description": "增加数量=销售计划数量+采购已定价数量",
  15164. "type": "number"
  15165. },
  15166. "oritoalspotqty": {
  15167. "description": "昨日数量",
  15168. "type": "number"
  15169. },
  15170. "totalspotqty": {
  15171. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15172. "type": "number"
  15173. },
  15174. "updatetime": {
  15175. "description": "更新时间",
  15176. "type": "string"
  15177. },
  15178. "wrstandardcode": {
  15179. "description": "现货品种代码",
  15180. "type": "string"
  15181. },
  15182. "wrstandardid": {
  15183. "description": "现货商品ID",
  15184. "type": "integer"
  15185. },
  15186. "wrstandardname": {
  15187. "description": "现货品种",
  15188. "type": "string"
  15189. }
  15190. }
  15191. },
  15192. "ermcp.HisExposureRsp": {
  15193. "type": "object",
  15194. "properties": {
  15195. "data": {
  15196. "description": "历史敞口",
  15197. "type": "array",
  15198. "items": {
  15199. "$ref": "#/definitions/models.ErmcpHisExposure"
  15200. }
  15201. },
  15202. "enumdicname": {
  15203. "description": "单位名称",
  15204. "type": "string"
  15205. },
  15206. "middlegoodscode": {
  15207. "description": "套保品种代码",
  15208. "type": "string"
  15209. },
  15210. "middlegoodsid": {
  15211. "description": "套保品种ID",
  15212. "type": "integer"
  15213. },
  15214. "middlegoodsname": {
  15215. "description": "套保品种名称",
  15216. "type": "string"
  15217. }
  15218. }
  15219. },
  15220. "ermcp.PendingAuditCntRsp": {
  15221. "type": "object",
  15222. "properties": {
  15223. "areastockqty": {
  15224. "description": "待审核数量: 库存申请",
  15225. "type": "integer"
  15226. },
  15227. "businessdjqty": {
  15228. "description": "待审核数量: 点价",
  15229. "type": "integer"
  15230. },
  15231. "businessfpqty": {
  15232. "description": "待审核数量: 发票",
  15233. "type": "integer"
  15234. },
  15235. "businessjsqty": {
  15236. "description": "待审核数量: 结算",
  15237. "type": "integer"
  15238. },
  15239. "businesskxqty": {
  15240. "description": "待审核数量: 款项",
  15241. "type": "integer"
  15242. },
  15243. "hedgeplanqty": {
  15244. "description": "待审核数量: 套保计划",
  15245. "type": "integer"
  15246. },
  15247. "spotcontractqty": {
  15248. "description": "待审核数量: 现货合同",
  15249. "type": "integer"
  15250. },
  15251. "userqty": {
  15252. "description": "待审核数量: 用户",
  15253. "type": "integer"
  15254. }
  15255. }
  15256. },
  15257. "ermcp.QryAvalidGPRsp": {
  15258. "type": "object",
  15259. "properties": {
  15260. "goodsgroupid": {
  15261. "description": "期货品种id",
  15262. "type": "integer"
  15263. },
  15264. "goodsgroupname": {
  15265. "description": "期货品种名称",
  15266. "type": "string"
  15267. },
  15268. "goodunitid": {
  15269. "description": "品种单位id",
  15270. "type": "integer"
  15271. },
  15272. "goodunitname": {
  15273. "description": "品种单位名称",
  15274. "type": "string"
  15275. },
  15276. "outergroupcode": {
  15277. "description": "期货品种代码",
  15278. "type": "string"
  15279. }
  15280. }
  15281. },
  15282. "ermcp.QryBusinessDjRsp": {
  15283. "type": "object",
  15284. "properties": {
  15285. "amount": {
  15286. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15287. "type": "number"
  15288. },
  15289. "applyid": {
  15290. "description": "申请人",
  15291. "type": "string"
  15292. },
  15293. "applyname": {
  15294. "description": "申请人名称",
  15295. "type": "string"
  15296. },
  15297. "applystatus": {
  15298. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15299. "type": "integer"
  15300. },
  15301. "applytime": {
  15302. "description": "申请时间",
  15303. "type": "string"
  15304. },
  15305. "attachurl": {
  15306. "description": "附件",
  15307. "type": "string"
  15308. },
  15309. "auditid": {
  15310. "description": "审核人ID",
  15311. "type": "string"
  15312. },
  15313. "auditname": {
  15314. "description": "审核人名称",
  15315. "type": "string"
  15316. },
  15317. "audittime": {
  15318. "description": "审核时间",
  15319. "type": "string"
  15320. },
  15321. "buyusername": {
  15322. "description": "采购方名称",
  15323. "type": "string"
  15324. },
  15325. "contractno": {
  15326. "description": "合同编号",
  15327. "type": "string"
  15328. },
  15329. "contractstatus": {
  15330. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15331. "type": "integer"
  15332. },
  15333. "contracttype": {
  15334. "description": "现货合同类型 - 1:采购 -1:销售",
  15335. "type": "integer"
  15336. },
  15337. "deliverygoodscode": {
  15338. "description": "现货品种代码",
  15339. "type": "string"
  15340. },
  15341. "deliverygoodsid": {
  15342. "description": "现货商品ID",
  15343. "type": "integer"
  15344. },
  15345. "deliverygoodsname": {
  15346. "description": "现货品种名称",
  15347. "type": "string"
  15348. },
  15349. "enumdicname": {
  15350. "description": "单位名称",
  15351. "type": "string"
  15352. },
  15353. "goodscode": {
  15354. "description": "点价合约",
  15355. "type": "string"
  15356. },
  15357. "goodsname": {
  15358. "description": "商品名称",
  15359. "type": "string"
  15360. },
  15361. "operateapplyid": {
  15362. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15363. "type": "string"
  15364. },
  15365. "operateapplytype": {
  15366. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15367. "type": "integer"
  15368. },
  15369. "pricedPrice": {
  15370. "description": "点价价格(非必填)",
  15371. "type": "number"
  15372. },
  15373. "pricedQty": {
  15374. "description": "点价数量(非必填)",
  15375. "type": "number"
  15376. },
  15377. "pricemove": {
  15378. "description": "升贴水",
  15379. "type": "number"
  15380. },
  15381. "pricetype": {
  15382. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15383. "type": "integer"
  15384. },
  15385. "relatedid": {
  15386. "description": "现货合同ID",
  15387. "type": "string"
  15388. },
  15389. "sellusername": {
  15390. "description": "销售方名字",
  15391. "type": "string"
  15392. },
  15393. "userid": {
  15394. "description": "用户ID",
  15395. "type": "integer"
  15396. },
  15397. "wrstandardcode": {
  15398. "description": "品类代码",
  15399. "type": "string"
  15400. },
  15401. "wrstandardid": {
  15402. "description": "品类id",
  15403. "type": "integer"
  15404. },
  15405. "wrstandardname": {
  15406. "description": "品类名称",
  15407. "type": "string"
  15408. }
  15409. }
  15410. },
  15411. "ermcp.QryBussinessFpRsp": {
  15412. "type": "object",
  15413. "properties": {
  15414. "applyid": {
  15415. "description": "申请人",
  15416. "type": "string"
  15417. },
  15418. "applyname": {
  15419. "description": "申请人名称",
  15420. "type": "string"
  15421. },
  15422. "applystatus": {
  15423. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15424. "type": "integer"
  15425. },
  15426. "applytime": {
  15427. "description": "申请时间",
  15428. "type": "string"
  15429. },
  15430. "attachurl": {
  15431. "description": "附件",
  15432. "type": "string"
  15433. },
  15434. "auditid": {
  15435. "description": "审核人ID",
  15436. "type": "string"
  15437. },
  15438. "auditname": {
  15439. "description": "审核人名称",
  15440. "type": "string"
  15441. },
  15442. "audittime": {
  15443. "description": "审核时间",
  15444. "type": "string"
  15445. },
  15446. "buyusername": {
  15447. "description": "采购方名称",
  15448. "type": "string"
  15449. },
  15450. "contractno": {
  15451. "description": "合同编号",
  15452. "type": "string"
  15453. },
  15454. "contractstatus": {
  15455. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15456. "type": "integer"
  15457. },
  15458. "contracttype": {
  15459. "description": "现货合同类型 - 1:采购 -1:销售",
  15460. "type": "integer"
  15461. },
  15462. "deliverygoodscode": {
  15463. "description": "现货品种代码",
  15464. "type": "string"
  15465. },
  15466. "deliverygoodsid": {
  15467. "description": "现货商品ID",
  15468. "type": "integer"
  15469. },
  15470. "deliverygoodsname": {
  15471. "description": "现货品种名称",
  15472. "type": "string"
  15473. },
  15474. "enumdicname": {
  15475. "description": "单位名称",
  15476. "type": "string"
  15477. },
  15478. "goodscode": {
  15479. "description": "点价合约",
  15480. "type": "string"
  15481. },
  15482. "goodsname": {
  15483. "description": "商品名称",
  15484. "type": "string"
  15485. },
  15486. "invoiceAmount": {
  15487. "description": "已开收票金额(销售为开票,采购为收票)",
  15488. "type": "number"
  15489. },
  15490. "operateapplyid": {
  15491. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15492. "type": "string"
  15493. },
  15494. "operateapplytype": {
  15495. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15496. "type": "integer"
  15497. },
  15498. "pricemove": {
  15499. "description": "升贴水",
  15500. "type": "number"
  15501. },
  15502. "pricetype": {
  15503. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15504. "type": "integer"
  15505. },
  15506. "relatedid": {
  15507. "description": "现货合同ID",
  15508. "type": "string"
  15509. },
  15510. "sellusername": {
  15511. "description": "销售方名字",
  15512. "type": "string"
  15513. },
  15514. "userid": {
  15515. "description": "用户ID",
  15516. "type": "integer"
  15517. },
  15518. "wrstandardcode": {
  15519. "description": "品类代码",
  15520. "type": "string"
  15521. },
  15522. "wrstandardid": {
  15523. "description": "品类id",
  15524. "type": "integer"
  15525. },
  15526. "wrstandardname": {
  15527. "description": "品类名称",
  15528. "type": "string"
  15529. }
  15530. }
  15531. },
  15532. "ermcp.QryBussinessJsExRsp": {
  15533. "type": "object",
  15534. "properties": {
  15535. "applyid": {
  15536. "description": "申请人",
  15537. "type": "string"
  15538. },
  15539. "applyname": {
  15540. "description": "申请人名称",
  15541. "type": "string"
  15542. },
  15543. "applystatus": {
  15544. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15545. "type": "integer"
  15546. },
  15547. "applytime": {
  15548. "description": "申请时间",
  15549. "type": "string"
  15550. },
  15551. "attachurl": {
  15552. "description": "附件",
  15553. "type": "string"
  15554. },
  15555. "auditid": {
  15556. "description": "审核人ID",
  15557. "type": "string"
  15558. },
  15559. "auditname": {
  15560. "description": "审核人名称",
  15561. "type": "string"
  15562. },
  15563. "audittime": {
  15564. "description": "审核时间",
  15565. "type": "string"
  15566. },
  15567. "buyusername": {
  15568. "description": "采购方名称",
  15569. "type": "string"
  15570. },
  15571. "contractno": {
  15572. "description": "合同编号",
  15573. "type": "string"
  15574. },
  15575. "contractstatus": {
  15576. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15577. "type": "integer"
  15578. },
  15579. "contracttype": {
  15580. "description": "现货合同类型 - 1:采购 -1:销售",
  15581. "type": "integer"
  15582. },
  15583. "deliverygoodscode": {
  15584. "description": "现货品种代码",
  15585. "type": "string"
  15586. },
  15587. "deliverygoodsid": {
  15588. "description": "现货商品ID",
  15589. "type": "integer"
  15590. },
  15591. "deliverygoodsname": {
  15592. "description": "现货品种名称",
  15593. "type": "string"
  15594. },
  15595. "enumdicname": {
  15596. "description": "单位名称",
  15597. "type": "string"
  15598. },
  15599. "goodscode": {
  15600. "description": "点价合约",
  15601. "type": "string"
  15602. },
  15603. "goodsname": {
  15604. "description": "商品名称",
  15605. "type": "string"
  15606. },
  15607. "operateapplyid": {
  15608. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15609. "type": "string"
  15610. },
  15611. "operateapplytype": {
  15612. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15613. "type": "integer"
  15614. },
  15615. "pricemove": {
  15616. "description": "升贴水",
  15617. "type": "number"
  15618. },
  15619. "pricetype": {
  15620. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15621. "type": "integer"
  15622. },
  15623. "reckontype": {
  15624. "description": "结算类型",
  15625. "type": "string"
  15626. },
  15627. "reckonvalue": {
  15628. "description": "值",
  15629. "type": "number"
  15630. },
  15631. "relatedid": {
  15632. "description": "现货合同ID",
  15633. "type": "string"
  15634. },
  15635. "sellusername": {
  15636. "description": "销售方名字",
  15637. "type": "string"
  15638. },
  15639. "userid": {
  15640. "description": "用户ID",
  15641. "type": "integer"
  15642. },
  15643. "wrstandardcode": {
  15644. "description": "品类代码",
  15645. "type": "string"
  15646. },
  15647. "wrstandardid": {
  15648. "description": "品类id",
  15649. "type": "integer"
  15650. },
  15651. "wrstandardname": {
  15652. "description": "品类名称",
  15653. "type": "string"
  15654. }
  15655. }
  15656. },
  15657. "ermcp.QryBussinessJsRsp": {
  15658. "type": "object",
  15659. "properties": {
  15660. "addmargin": {
  15661. "description": "追加保证金(非必填)",
  15662. "type": "number"
  15663. },
  15664. "applyid": {
  15665. "description": "申请人",
  15666. "type": "string"
  15667. },
  15668. "applyname": {
  15669. "description": "申请人名称",
  15670. "type": "string"
  15671. },
  15672. "applystatus": {
  15673. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15674. "type": "integer"
  15675. },
  15676. "applytime": {
  15677. "description": "申请时间",
  15678. "type": "string"
  15679. },
  15680. "attachurl": {
  15681. "description": "附件",
  15682. "type": "string"
  15683. },
  15684. "auditid": {
  15685. "description": "审核人ID",
  15686. "type": "string"
  15687. },
  15688. "auditname": {
  15689. "description": "审核人名称",
  15690. "type": "string"
  15691. },
  15692. "audittime": {
  15693. "description": "审核时间",
  15694. "type": "string"
  15695. },
  15696. "buyusername": {
  15697. "description": "采购方名称",
  15698. "type": "string"
  15699. },
  15700. "contractno": {
  15701. "description": "合同编号",
  15702. "type": "string"
  15703. },
  15704. "contractstatus": {
  15705. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15706. "type": "integer"
  15707. },
  15708. "contracttype": {
  15709. "description": "现货合同类型 - 1:采购 -1:销售",
  15710. "type": "integer"
  15711. },
  15712. "decmargin": {
  15713. "description": "减少保证金(非必填)",
  15714. "type": "number"
  15715. },
  15716. "deliverygoodscode": {
  15717. "description": "现货品种代码",
  15718. "type": "string"
  15719. },
  15720. "deliverygoodsid": {
  15721. "description": "现货商品ID",
  15722. "type": "integer"
  15723. },
  15724. "deliverygoodsname": {
  15725. "description": "现货品种名称",
  15726. "type": "string"
  15727. },
  15728. "enumdicname": {
  15729. "description": "单位名称",
  15730. "type": "string"
  15731. },
  15732. "goodscode": {
  15733. "description": "点价合约",
  15734. "type": "string"
  15735. },
  15736. "goodsname": {
  15737. "description": "商品名称",
  15738. "type": "string"
  15739. },
  15740. "operateapplyid": {
  15741. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15742. "type": "string"
  15743. },
  15744. "operateapplytype": {
  15745. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15746. "type": "integer"
  15747. },
  15748. "pricemove": {
  15749. "description": "升贴水",
  15750. "type": "number"
  15751. },
  15752. "pricetype": {
  15753. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15754. "type": "integer"
  15755. },
  15756. "reckonadjustamount": {
  15757. "description": "结算调整金额(非必填)",
  15758. "type": "number"
  15759. },
  15760. "reckonosamount": {
  15761. "description": "结算溢短金额(非必填)",
  15762. "type": "number"
  15763. },
  15764. "reckonotheramount": {
  15765. "description": "结算其他费用(非必填)",
  15766. "type": "number"
  15767. },
  15768. "reckonrealqty": {
  15769. "description": "结算实际数量(非必填)",
  15770. "type": "number"
  15771. },
  15772. "relatedid": {
  15773. "description": "现货合同ID",
  15774. "type": "string"
  15775. },
  15776. "sellusername": {
  15777. "description": "销售方名字",
  15778. "type": "string"
  15779. },
  15780. "userid": {
  15781. "description": "用户ID",
  15782. "type": "integer"
  15783. },
  15784. "wrstandardcode": {
  15785. "description": "品类代码",
  15786. "type": "string"
  15787. },
  15788. "wrstandardid": {
  15789. "description": "品类id",
  15790. "type": "integer"
  15791. },
  15792. "wrstandardname": {
  15793. "description": "品类名称",
  15794. "type": "string"
  15795. }
  15796. }
  15797. },
  15798. "ermcp.QryBussinessKxRsp": {
  15799. "type": "object",
  15800. "properties": {
  15801. "applyid": {
  15802. "description": "申请人",
  15803. "type": "string"
  15804. },
  15805. "applyname": {
  15806. "description": "申请人名称",
  15807. "type": "string"
  15808. },
  15809. "applystatus": {
  15810. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15811. "type": "integer"
  15812. },
  15813. "applytime": {
  15814. "description": "申请时间",
  15815. "type": "string"
  15816. },
  15817. "attachurl": {
  15818. "description": "附件",
  15819. "type": "string"
  15820. },
  15821. "auditid": {
  15822. "description": "审核人ID",
  15823. "type": "string"
  15824. },
  15825. "auditname": {
  15826. "description": "审核人名称",
  15827. "type": "string"
  15828. },
  15829. "audittime": {
  15830. "description": "审核时间",
  15831. "type": "string"
  15832. },
  15833. "buyusername": {
  15834. "description": "采购方名称",
  15835. "type": "string"
  15836. },
  15837. "contractno": {
  15838. "description": "合同编号",
  15839. "type": "string"
  15840. },
  15841. "contractstatus": {
  15842. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15843. "type": "integer"
  15844. },
  15845. "contracttype": {
  15846. "description": "现货合同类型 - 1:采购 -1:销售",
  15847. "type": "integer"
  15848. },
  15849. "deductamount": {
  15850. "description": "退款(非必填)",
  15851. "type": "number"
  15852. },
  15853. "deliverygoodscode": {
  15854. "description": "现货品种代码",
  15855. "type": "string"
  15856. },
  15857. "deliverygoodsid": {
  15858. "description": "现货商品ID",
  15859. "type": "integer"
  15860. },
  15861. "deliverygoodsname": {
  15862. "description": "现货品种名称",
  15863. "type": "string"
  15864. },
  15865. "enumdicname": {
  15866. "description": "单位名称",
  15867. "type": "string"
  15868. },
  15869. "goodscode": {
  15870. "description": "点价合约",
  15871. "type": "string"
  15872. },
  15873. "goodsname": {
  15874. "description": "商品名称",
  15875. "type": "string"
  15876. },
  15877. "kxtype": {
  15878. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15879. "type": "integer"
  15880. },
  15881. "operateapplyid": {
  15882. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15883. "type": "string"
  15884. },
  15885. "operateapplytype": {
  15886. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15887. "type": "integer"
  15888. },
  15889. "payamount": {
  15890. "description": "收付款(非必填)",
  15891. "type": "number"
  15892. },
  15893. "pricemove": {
  15894. "description": "升贴水",
  15895. "type": "number"
  15896. },
  15897. "pricetype": {
  15898. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15899. "type": "integer"
  15900. },
  15901. "relatedid": {
  15902. "description": "现货合同ID",
  15903. "type": "string"
  15904. },
  15905. "sellusername": {
  15906. "description": "销售方名字",
  15907. "type": "string"
  15908. },
  15909. "userid": {
  15910. "description": "用户ID",
  15911. "type": "integer"
  15912. },
  15913. "wrstandardcode": {
  15914. "description": "品类代码",
  15915. "type": "string"
  15916. },
  15917. "wrstandardid": {
  15918. "description": "品类id",
  15919. "type": "integer"
  15920. },
  15921. "wrstandardname": {
  15922. "description": "品类名称",
  15923. "type": "string"
  15924. }
  15925. }
  15926. },
  15927. "ermcp.QryGGCovertCfgRsp": {
  15928. "type": "object",
  15929. "properties": {
  15930. "convertratio": {
  15931. "description": "折算系数",
  15932. "type": "number"
  15933. },
  15934. "destgoodsgroupid": {
  15935. "description": "目标品种ID",
  15936. "type": "integer"
  15937. },
  15938. "dstcode": {
  15939. "description": "目录品种代码",
  15940. "type": "string"
  15941. },
  15942. "dstexchangecode": {
  15943. "description": "目标期货交易所",
  15944. "type": "string"
  15945. },
  15946. "dstname": {
  15947. "description": "目标品种名称",
  15948. "type": "string"
  15949. },
  15950. "dstunitid": {
  15951. "description": "目标品种单位ID",
  15952. "type": "integer"
  15953. },
  15954. "dstunitidname": {
  15955. "description": "目标品种单位名称",
  15956. "type": "string"
  15957. },
  15958. "modifytime": {
  15959. "description": "修改时间",
  15960. "type": "string"
  15961. },
  15962. "srccode": {
  15963. "description": "源品种代码",
  15964. "type": "string"
  15965. },
  15966. "srcexchangecode": {
  15967. "description": "源期货交易所",
  15968. "type": "string"
  15969. },
  15970. "srcgoodsgroupid": {
  15971. "description": "源品种ID",
  15972. "type": "integer"
  15973. },
  15974. "srcname": {
  15975. "description": "源品种名称",
  15976. "type": "string"
  15977. },
  15978. "srcunitid": {
  15979. "description": "源品种单位ID",
  15980. "type": "integer"
  15981. },
  15982. "srcunitidname": {
  15983. "description": "源品种单位名称",
  15984. "type": "string"
  15985. }
  15986. }
  15987. },
  15988. "ermcp.QryMGChangeLogRsp": {
  15989. "type": "object",
  15990. "properties": {
  15991. "aftervalue": {
  15992. "description": "变更后",
  15993. "type": "number"
  15994. },
  15995. "applyid": {
  15996. "description": "操作人",
  15997. "type": "integer"
  15998. },
  15999. "applyname": {
  16000. "description": "操作人名称",
  16001. "type": "string"
  16002. },
  16003. "applysrc": {
  16004. "description": "操作来源 - 1:管理端 2:终端",
  16005. "type": "integer"
  16006. },
  16007. "beforevalue": {
  16008. "description": "变更前",
  16009. "type": "number"
  16010. },
  16011. "changelogtype": {
  16012. "description": "变更流水类型 - 1:套保比率变更",
  16013. "type": "integer"
  16014. },
  16015. "handlestatus": {
  16016. "description": "处理状态",
  16017. "type": "integer"
  16018. },
  16019. "logdatetime": {
  16020. "description": "流水日期",
  16021. "type": "string"
  16022. },
  16023. "logid": {
  16024. "description": "流水ID",
  16025. "type": "integer"
  16026. },
  16027. "logremark": {
  16028. "description": "流水备注",
  16029. "type": "string"
  16030. },
  16031. "middlegoodsid": {
  16032. "description": "套保品种ID",
  16033. "type": "integer"
  16034. },
  16035. "tradedate": {
  16036. "description": "交易日(yyyyMMdd)",
  16037. "type": "string"
  16038. },
  16039. "updatetime": {
  16040. "description": "更新时间",
  16041. "type": "string"
  16042. }
  16043. }
  16044. },
  16045. "ermcp.QryMiddleGoodsDetailRsp": {
  16046. "type": "object",
  16047. "properties": {
  16048. "cvList": {
  16049. "description": "期货品种折算列表",
  16050. "type": "array",
  16051. "items": {
  16052. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16053. }
  16054. },
  16055. "mg": {
  16056. "description": "套保品种基本信息",
  16057. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16058. },
  16059. "wrcList": {
  16060. "description": "现货品种列表(现货商品折算配置)",
  16061. "type": "array",
  16062. "items": {
  16063. "$ref": "#/definitions/models.WRSConverTDetail"
  16064. }
  16065. }
  16066. }
  16067. },
  16068. "ermcp.QryMiddleGoodsRsp": {
  16069. "type": "object",
  16070. "properties": {
  16071. "areauserid": {
  16072. "description": "机构用户ID",
  16073. "type": "integer"
  16074. },
  16075. "createtime": {
  16076. "description": "修改时间",
  16077. "type": "string"
  16078. },
  16079. "enumdicname": {
  16080. "description": "单位名称",
  16081. "type": "string"
  16082. },
  16083. "evaluateratio": {
  16084. "description": "估价系数",
  16085. "type": "number"
  16086. },
  16087. "goodsgroupid": {
  16088. "description": "关联期货品种ID",
  16089. "type": "integer"
  16090. },
  16091. "goodsunitid": {
  16092. "description": "单位ID",
  16093. "type": "integer"
  16094. },
  16095. "isvalid": {
  16096. "description": "状态 0-无效(停用) 1-有效(正常)",
  16097. "type": "integer"
  16098. },
  16099. "middlegoodscode": {
  16100. "description": "套保品种代码",
  16101. "type": "string"
  16102. },
  16103. "middlegoodsid": {
  16104. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16105. "type": "integer"
  16106. },
  16107. "middlegoodsname": {
  16108. "description": "套保品种名称",
  16109. "type": "string"
  16110. },
  16111. "modifytime": {
  16112. "description": "修改时间",
  16113. "type": "string"
  16114. },
  16115. "needarbitrageratio": {
  16116. "description": "套利比例",
  16117. "type": "number"
  16118. },
  16119. "needhedgeratio": {
  16120. "description": "套保比率",
  16121. "type": "number"
  16122. },
  16123. "qtydecimalplace": {
  16124. "description": "数量小数位",
  16125. "type": "integer"
  16126. },
  16127. "relatedgoodsid": {
  16128. "description": "关联交易商品ID",
  16129. "type": "integer"
  16130. },
  16131. "relatedgoodstype": {
  16132. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16133. "type": "integer"
  16134. },
  16135. "remark": {
  16136. "description": "备注",
  16137. "type": "string"
  16138. }
  16139. }
  16140. },
  16141. "ermcp.QryOPLogRsp": {
  16142. "type": "object",
  16143. "properties": {
  16144. "aftervalue": {
  16145. "description": "变更后",
  16146. "type": "number"
  16147. },
  16148. "applyid": {
  16149. "description": "操作人ID",
  16150. "type": "string"
  16151. },
  16152. "applyname": {
  16153. "description": "操作人名称",
  16154. "type": "string"
  16155. },
  16156. "beforevalue": {
  16157. "description": "变更前",
  16158. "type": "number"
  16159. },
  16160. "biztype": {
  16161. "description": "业务类型 - 1:套保计划 2:现货合同",
  16162. "type": "integer"
  16163. },
  16164. "contracttype": {
  16165. "description": "现货合同类型 - 1:采购 -1:销售",
  16166. "type": "integer"
  16167. },
  16168. "logvalue": {
  16169. "description": "数值",
  16170. "type": "number"
  16171. },
  16172. "operatelogtype": {
  16173. "description": "操作流水类型",
  16174. "type": "integer"
  16175. },
  16176. "operatelogtypedesc": {
  16177. "description": "操作流水类型名称",
  16178. "type": "string"
  16179. },
  16180. "relatedid": {
  16181. "description": "现货合同ID\\套保计划",
  16182. "type": "string"
  16183. },
  16184. "updatetime": {
  16185. "description": "更新时间",
  16186. "type": "string"
  16187. }
  16188. }
  16189. },
  16190. "ermcp.QryUserInfoRsp": {
  16191. "type": "object",
  16192. "properties": {
  16193. "address": {
  16194. "description": "通讯地址",
  16195. "type": "string"
  16196. },
  16197. "attachment1": {
  16198. "description": "附件1",
  16199. "type": "string"
  16200. },
  16201. "audittime": {
  16202. "description": "审核时间",
  16203. "type": "string"
  16204. },
  16205. "cardbackphotourl": {
  16206. "description": "证件反面图片地址",
  16207. "type": "string"
  16208. },
  16209. "cardfrontphotourl": {
  16210. "description": "证件正面图片地址",
  16211. "type": "string"
  16212. },
  16213. "cardnum": {
  16214. "description": "证件号码",
  16215. "type": "string"
  16216. },
  16217. "cardtype": {
  16218. "description": "证件类型",
  16219. "type": "integer"
  16220. },
  16221. "cardtypename": {
  16222. "description": "证件类型名称",
  16223. "type": "string"
  16224. },
  16225. "cityid": {
  16226. "description": "市",
  16227. "type": "integer"
  16228. },
  16229. "contactname": {
  16230. "description": "联系人",
  16231. "type": "string"
  16232. },
  16233. "countryid": {
  16234. "description": "国家",
  16235. "type": "integer"
  16236. },
  16237. "createtime": {
  16238. "description": "创建时间",
  16239. "type": "string"
  16240. },
  16241. "customername": {
  16242. "description": "企业名称",
  16243. "type": "string"
  16244. },
  16245. "districtid": {
  16246. "description": "区域",
  16247. "type": "integer"
  16248. },
  16249. "email": {
  16250. "description": "邮件",
  16251. "type": "string"
  16252. },
  16253. "legalpersonname": {
  16254. "description": "法人姓名(企业)",
  16255. "type": "string"
  16256. },
  16257. "memberuserid": {
  16258. "description": "所属机构ID",
  16259. "type": "integer"
  16260. },
  16261. "mobile": {
  16262. "description": "手机号码",
  16263. "type": "string"
  16264. },
  16265. "modifytime": {
  16266. "description": "修改时间",
  16267. "type": "string"
  16268. },
  16269. "nickname": {
  16270. "description": "昵称",
  16271. "type": "string"
  16272. },
  16273. "provinceid": {
  16274. "description": "省",
  16275. "type": "integer"
  16276. },
  16277. "remark": {
  16278. "description": "备注",
  16279. "type": "string"
  16280. },
  16281. "status": {
  16282. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16283. "type": "integer"
  16284. },
  16285. "statusdesc": {
  16286. "description": "账户状态中文描述",
  16287. "type": "string"
  16288. },
  16289. "taxpayernum": {
  16290. "description": "纳税人识别号",
  16291. "type": "string"
  16292. },
  16293. "telphone": {
  16294. "description": "联系电话",
  16295. "type": "string"
  16296. },
  16297. "userid": {
  16298. "description": "用户ID",
  16299. "type": "integer"
  16300. },
  16301. "userinfotype": {
  16302. "description": "客户类型",
  16303. "type": "string"
  16304. }
  16305. }
  16306. },
  16307. "ermcp.QryWarehouseRsp": {
  16308. "type": "object",
  16309. "properties": {
  16310. "address": {
  16311. "description": "详细地址",
  16312. "type": "string"
  16313. },
  16314. "areauserid": {
  16315. "description": "所属机构",
  16316. "type": "integer"
  16317. },
  16318. "autoid": {
  16319. "description": "自增ID(仓库ID)",
  16320. "type": "integer"
  16321. },
  16322. "cityid": {
  16323. "description": "市",
  16324. "type": "integer"
  16325. },
  16326. "contactname": {
  16327. "description": "联系人",
  16328. "type": "string"
  16329. },
  16330. "contactnum": {
  16331. "description": "联系电话",
  16332. "type": "string"
  16333. },
  16334. "countryid": {
  16335. "description": "国家",
  16336. "type": "integer"
  16337. },
  16338. "createtime": {
  16339. "description": "创建时间",
  16340. "type": "string"
  16341. },
  16342. "districtid": {
  16343. "description": "区",
  16344. "type": "integer"
  16345. },
  16346. "hasvideo": {
  16347. "description": "是否有视频 - 0:无 1:有",
  16348. "type": "integer"
  16349. },
  16350. "provinceid": {
  16351. "description": "省",
  16352. "type": "integer"
  16353. },
  16354. "remark": {
  16355. "description": "审核备注",
  16356. "type": "string"
  16357. },
  16358. "videourl": {
  16359. "description": "视频地址",
  16360. "type": "string"
  16361. },
  16362. "warehousecode": {
  16363. "description": "仓库代码",
  16364. "type": "string"
  16365. },
  16366. "warehousename": {
  16367. "description": "仓库名称",
  16368. "type": "string"
  16369. },
  16370. "warehousestatus": {
  16371. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16372. "type": "integer"
  16373. },
  16374. "warehousetype": {
  16375. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16376. "type": "integer"
  16377. }
  16378. }
  16379. },
  16380. "ermcp.QueryErmcpTradePositionRsp": {
  16381. "type": "object",
  16382. "properties": {
  16383. "agreeunit": {
  16384. "description": "合约单位",
  16385. "type": "number"
  16386. },
  16387. "buyorsell": {
  16388. "description": "方向 - 0:买 1:卖",
  16389. "type": "integer"
  16390. },
  16391. "curpositionqty": {
  16392. "description": "持仓(总仓数量, 期末头寸)",
  16393. "type": "integer"
  16394. },
  16395. "curtdposition": {
  16396. "description": "今仓数量(期末今日头寸)",
  16397. "type": "integer"
  16398. },
  16399. "curtdpositionenabled": {
  16400. "description": "今仓可用",
  16401. "type": "integer"
  16402. },
  16403. "decimalplace": {
  16404. "description": "报价小数位",
  16405. "type": "integer"
  16406. },
  16407. "enableqty": {
  16408. "description": "可用(总仓可用)",
  16409. "type": "integer"
  16410. },
  16411. "exexchangename": {
  16412. "description": "外部交易所名称",
  16413. "type": "string"
  16414. },
  16415. "goodscode": {
  16416. "description": "商品代码(内部)",
  16417. "type": "string"
  16418. },
  16419. "goodsid": {
  16420. "description": "商品ID(自增ID SEQ_GOODS)",
  16421. "type": "integer"
  16422. },
  16423. "goodsname": {
  16424. "description": "商品名称",
  16425. "type": "string"
  16426. },
  16427. "last": {
  16428. "description": "现价",
  16429. "type": "number"
  16430. },
  16431. "marketid": {
  16432. "description": "所属市场ID",
  16433. "type": "integer"
  16434. },
  16435. "openaverageprice": {
  16436. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16437. "type": "number"
  16438. },
  16439. "opencost": {
  16440. "description": "开仓成本",
  16441. "type": "number"
  16442. },
  16443. "openpl": {
  16444. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16445. "type": "number"
  16446. },
  16447. "outgoodscode": {
  16448. "description": "商品代码(外部)",
  16449. "type": "string"
  16450. },
  16451. "positionaverageprice": {
  16452. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16453. "type": "number"
  16454. },
  16455. "positioncost": {
  16456. "description": "持仓成本",
  16457. "type": "number"
  16458. },
  16459. "positionpl": {
  16460. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16461. "type": "number"
  16462. },
  16463. "positionplrate": {
  16464. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16465. "type": "number"
  16466. },
  16467. "usedmargin": {
  16468. "description": "占用保证金",
  16469. "type": "number"
  16470. }
  16471. }
  16472. },
  16473. "ermcp.RealtimeExposurePositionRsp": {
  16474. "type": "object",
  16475. "properties": {
  16476. "agreeunit": {
  16477. "description": "合约单位",
  16478. "type": "string"
  16479. },
  16480. "areauserid": {
  16481. "description": "所属机构id",
  16482. "type": "integer"
  16483. },
  16484. "convertratio": {
  16485. "description": "期货品种系数(折算系数)",
  16486. "type": "number"
  16487. },
  16488. "curqty": {
  16489. "description": "当前持仓",
  16490. "type": "integer"
  16491. },
  16492. "diffhedgeqty": {
  16493. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16494. "type": "number"
  16495. },
  16496. "diffqty": {
  16497. "description": "持仓变动量=当前持仓-昨日持仓",
  16498. "type": "integer"
  16499. },
  16500. "goodscode": {
  16501. "description": "商品代码",
  16502. "type": "string"
  16503. },
  16504. "goodsid": {
  16505. "description": "商品id",
  16506. "type": "integer"
  16507. },
  16508. "goodsname": {
  16509. "description": "商品名称",
  16510. "type": "string"
  16511. },
  16512. "middlegoodsid": {
  16513. "description": "套保商品id",
  16514. "type": "integer"
  16515. },
  16516. "ydqty": {
  16517. "description": "昨日持仓",
  16518. "type": "integer"
  16519. }
  16520. }
  16521. },
  16522. "ermcp.RealtimeExposureRsp": {
  16523. "type": "object",
  16524. "properties": {
  16525. "AreaUserID": {
  16526. "description": "所属机构",
  16527. "type": "integer"
  16528. },
  16529. "BuyFutureQty": {
  16530. "description": "买入期货数量",
  16531. "type": "number"
  16532. },
  16533. "BuyPlanQty": {
  16534. "description": "采购计划数量",
  16535. "type": "number"
  16536. },
  16537. "BuyPricedQty": {
  16538. "description": "采购合同已定价数量",
  16539. "type": "number"
  16540. },
  16541. "MiddleGoodsCode": {
  16542. "description": "套保品种代码",
  16543. "type": "string"
  16544. },
  16545. "MiddleGoodsHedgeRatio": {
  16546. "description": "套保比例",
  16547. "type": "number"
  16548. },
  16549. "MiddleGoodsID": {
  16550. "description": "套保品种",
  16551. "type": "integer"
  16552. },
  16553. "MiddleGoodsName": {
  16554. "description": "套保品种名称",
  16555. "type": "string"
  16556. },
  16557. "NeedHedgeExposoure": {
  16558. "description": "应套保敞口(套保敞口)",
  16559. "type": "number"
  16560. },
  16561. "NeedHedgeRatio": {
  16562. "description": "应套保敞口比例",
  16563. "type": "number"
  16564. },
  16565. "OriBuyFutureQty": {
  16566. "description": "期初买入期货数量",
  16567. "type": "number"
  16568. },
  16569. "OriBuyPlanQty": {
  16570. "description": "期初采购计划数量",
  16571. "type": "number"
  16572. },
  16573. "OriBuyPricedQty": {
  16574. "description": "期初采购合同已定价数量",
  16575. "type": "number"
  16576. },
  16577. "OriSellFutureQty": {
  16578. "description": "期初卖出期货数量",
  16579. "type": "number"
  16580. },
  16581. "OriSellPlanQty": {
  16582. "description": "期初销售计划数量",
  16583. "type": "number"
  16584. },
  16585. "OriSellPricedQty": {
  16586. "description": "期初销售合同已定价数量",
  16587. "type": "number"
  16588. },
  16589. "SellFutureQty": {
  16590. "description": "卖出期货数量",
  16591. "type": "number"
  16592. },
  16593. "SellPlanQty": {
  16594. "description": "销售计划数量",
  16595. "type": "number"
  16596. },
  16597. "SellPricedQty": {
  16598. "description": "销售合同已定价数量",
  16599. "type": "number"
  16600. },
  16601. "TotalExposure": {
  16602. "description": "总敞口 平安:净敞口",
  16603. "type": "number"
  16604. },
  16605. "TotalFutureQty": {
  16606. "description": "期货总量 平安:保值净持仓量",
  16607. "type": "number"
  16608. },
  16609. "TotalHedgeRatio": {
  16610. "description": "敞口比例",
  16611. "type": "number"
  16612. },
  16613. "TotalNeedHedgeQty": {
  16614. "description": "应套保总量(现货应套保总量)",
  16615. "type": "number"
  16616. },
  16617. "TotalSpotQty": {
  16618. "description": "现货总量 平安:采销定价净值",
  16619. "type": "number"
  16620. },
  16621. "arbitrageqty": {
  16622. "description": "套利量",
  16623. "type": "number"
  16624. },
  16625. "diffArbitrageQty": {
  16626. "description": "套利变动量",
  16627. "type": "number"
  16628. },
  16629. "diffExposoureQty": {
  16630. "description": "变动量(套保敞口)",
  16631. "type": "number"
  16632. },
  16633. "diffFutuQty": {
  16634. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  16635. "type": "number"
  16636. },
  16637. "diffHedgeQty": {
  16638. "description": "套保变动量",
  16639. "type": "number"
  16640. },
  16641. "diffQty": {
  16642. "description": "变动量(总敞口) 平安:净敞口今日变动",
  16643. "type": "number"
  16644. },
  16645. "diffSpotHedgeQty": {
  16646. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  16647. "type": "number"
  16648. },
  16649. "diffSpotQty": {
  16650. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  16651. "type": "number"
  16652. },
  16653. "enumdicname": {
  16654. "description": "单位名称",
  16655. "type": "string"
  16656. },
  16657. "hedgeqty": {
  16658. "description": "套保量",
  16659. "type": "number"
  16660. },
  16661. "needarbitrageqty": {
  16662. "description": "应套利量",
  16663. "type": "number"
  16664. },
  16665. "needarbitrageratio": {
  16666. "description": "套利比例",
  16667. "type": "number"
  16668. },
  16669. "needhedgeqty": {
  16670. "description": "应套保量",
  16671. "type": "number"
  16672. },
  16673. "oriTotalFutuQty": {
  16674. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16675. "type": "number"
  16676. },
  16677. "oriTotalSpotQty": {
  16678. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16679. "type": "number"
  16680. },
  16681. "oriarbitrageqty": {
  16682. "description": "期初套利量",
  16683. "type": "number"
  16684. },
  16685. "orihedgeqty": {
  16686. "description": "期初套保量",
  16687. "type": "number"
  16688. },
  16689. "orineedhedgeexposoure": {
  16690. "description": "期初套保敞口",
  16691. "type": "number"
  16692. },
  16693. "oritotalexposure": {
  16694. "description": "期初总敞口",
  16695. "type": "number"
  16696. },
  16697. "oritotalfutureqty": {
  16698. "description": "期初期货总量",
  16699. "type": "number"
  16700. },
  16701. "oritotalneedhedgeqty": {
  16702. "description": "期初现货应套保量",
  16703. "type": "number"
  16704. }
  16705. }
  16706. },
  16707. "erms2.QueryArbitrageStrategyRsp": {
  16708. "type": "object",
  16709. "required": [
  16710. "asapplyid"
  16711. ],
  16712. "properties": {
  16713. "applybasis": {
  16714. "description": "申请基差",
  16715. "type": "number"
  16716. },
  16717. "asapplyid": {
  16718. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16719. "type": "string"
  16720. },
  16721. "asname": {
  16722. "description": "策略名称",
  16723. "type": "string"
  16724. },
  16725. "asno": {
  16726. "description": "策略编号",
  16727. "type": "string"
  16728. },
  16729. "basischangepl": {
  16730. "description": "基差变动损益[结算更新]",
  16731. "type": "number"
  16732. },
  16733. "biztype": {
  16734. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16735. "type": "integer"
  16736. },
  16737. "closetradedate": {
  16738. "description": "完结交易日(yyyyMMdd)",
  16739. "type": "string"
  16740. },
  16741. "curbasis": {
  16742. "description": "当前基差[结算更新]",
  16743. "type": "number"
  16744. },
  16745. "deliverygoodsid": {
  16746. "description": "现货品种ID",
  16747. "type": "integer"
  16748. },
  16749. "futureavgprice": {
  16750. "description": "期货建仓均价",
  16751. "type": "number"
  16752. },
  16753. "futurecloseamount": {
  16754. "description": "期货平仓金额",
  16755. "type": "number"
  16756. },
  16757. "futurecloseqty": {
  16758. "description": "期货平仓数量",
  16759. "type": "number"
  16760. },
  16761. "futureopenamount": {
  16762. "description": "期货开仓金额",
  16763. "type": "number"
  16764. },
  16765. "futureopenqty": {
  16766. "description": "期货开仓数量",
  16767. "type": "number"
  16768. },
  16769. "futurepl": {
  16770. "description": "期货总盈亏[结算更新]",
  16771. "type": "number"
  16772. },
  16773. "futureqty": {
  16774. "description": "期货持仓数量",
  16775. "type": "number"
  16776. },
  16777. "futurequote": {
  16778. "description": "期货额度",
  16779. "type": "number"
  16780. },
  16781. "goodsgroupid": {
  16782. "description": "期货品种ID",
  16783. "type": "integer"
  16784. },
  16785. "marketid": {
  16786. "description": "市场ID",
  16787. "type": "integer"
  16788. },
  16789. "netexposure": {
  16790. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  16791. "type": "number"
  16792. },
  16793. "netexposurepl": {
  16794. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  16795. "type": "number"
  16796. },
  16797. "netexposurerate": {
  16798. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  16799. "type": "number"
  16800. },
  16801. "openbasis": {
  16802. "description": "建仓基差",
  16803. "type": "number"
  16804. },
  16805. "pricedspotqty": {
  16806. "description": "已定价现货数量",
  16807. "type": "number"
  16808. },
  16809. "pricedspotqtynotax": {
  16810. "description": "已定价现货不含税数量",
  16811. "type": "number"
  16812. },
  16813. "remark": {
  16814. "description": "备注",
  16815. "type": "string"
  16816. },
  16817. "spotavgprice": {
  16818. "description": "现货均价",
  16819. "type": "number"
  16820. },
  16821. "spotbuyamount": {
  16822. "description": "现货采购金额",
  16823. "type": "number"
  16824. },
  16825. "spotbuyqty": {
  16826. "description": "现货采购数量",
  16827. "type": "number"
  16828. },
  16829. "spotpl": {
  16830. "description": "现货总盈亏[结算更新]",
  16831. "type": "number"
  16832. },
  16833. "spotquota": {
  16834. "description": "现货额度",
  16835. "type": "number"
  16836. },
  16837. "spotsellamount": {
  16838. "description": "现货销售金额",
  16839. "type": "number"
  16840. },
  16841. "spotsellqty": {
  16842. "description": "现货销售数量",
  16843. "type": "number"
  16844. },
  16845. "spotusedquota": {
  16846. "description": "现货占用资金",
  16847. "type": "number"
  16848. },
  16849. "strategystatus": {
  16850. "description": "策略状态 - 0:未结束 1:已结束",
  16851. "type": "integer"
  16852. },
  16853. "totalpl": {
  16854. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  16855. "type": "number"
  16856. },
  16857. "tradedate": {
  16858. "description": "交易日(yyyyMMdd)",
  16859. "type": "string"
  16860. },
  16861. "updatetime": {
  16862. "description": "更新时间",
  16863. "type": "string"
  16864. },
  16865. "usedquota": {
  16866. "description": "已占用资金",
  16867. "type": "number"
  16868. },
  16869. "userid": {
  16870. "description": "所属机构",
  16871. "type": "integer"
  16872. }
  16873. }
  16874. },
  16875. "erms2.QueryInnerTradeDetailRsp": {
  16876. "type": "object",
  16877. "required": [
  16878. "asapplyid",
  16879. "buyorsell",
  16880. "goodscode",
  16881. "goodsgroupid",
  16882. "goodsgroupname",
  16883. "goodsname",
  16884. "tradeid"
  16885. ],
  16886. "properties": {
  16887. "accountid": {
  16888. "description": "账号ID",
  16889. "type": "integer"
  16890. },
  16891. "agreeunit": {
  16892. "description": "合约单位",
  16893. "type": "number"
  16894. },
  16895. "asapplyid": {
  16896. "description": "策略申请ID",
  16897. "type": "integer"
  16898. },
  16899. "asname": {
  16900. "description": "策略名称",
  16901. "type": "string"
  16902. },
  16903. "asno": {
  16904. "description": "策略编号",
  16905. "type": "string"
  16906. },
  16907. "buyorsell": {
  16908. "description": "方向 - 0:买 1:卖",
  16909. "type": "integer"
  16910. },
  16911. "channelbuildtype": {
  16912. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16913. "type": "integer"
  16914. },
  16915. "closetype": {
  16916. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16917. "type": "integer"
  16918. },
  16919. "decimalplace": {
  16920. "description": "报价小数位",
  16921. "type": "integer"
  16922. },
  16923. "detailtype": {
  16924. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  16925. "type": "integer"
  16926. },
  16927. "exexchangecode": {
  16928. "description": "外部交易所代码",
  16929. "type": "string"
  16930. },
  16931. "exexchangename": {
  16932. "description": "外部交易所名称",
  16933. "type": "string"
  16934. },
  16935. "goodscode": {
  16936. "description": "商品代码(合约)",
  16937. "type": "string"
  16938. },
  16939. "goodsgroupid": {
  16940. "description": "商品组ID(品种ID)",
  16941. "type": "integer"
  16942. },
  16943. "goodsgroupname": {
  16944. "description": "商品组名称(品种)",
  16945. "type": "string"
  16946. },
  16947. "goodsid": {
  16948. "description": "商品ID",
  16949. "type": "integer"
  16950. },
  16951. "goodsname": {
  16952. "description": "商品名称(合约)",
  16953. "type": "string"
  16954. },
  16955. "goodunit": {
  16956. "description": "报价单位",
  16957. "type": "string"
  16958. },
  16959. "marketid": {
  16960. "description": "市场ID",
  16961. "type": "integer"
  16962. },
  16963. "orderid": {
  16964. "description": "委托单号",
  16965. "type": "string"
  16966. },
  16967. "outgoodscode": {
  16968. "description": "商品代码(外部)",
  16969. "type": "string"
  16970. },
  16971. "relatedouttradeid": {
  16972. "description": "关联外部成交单ID",
  16973. "type": "string"
  16974. },
  16975. "remark": {
  16976. "description": "备注",
  16977. "type": "string"
  16978. },
  16979. "spotcontractid": {
  16980. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  16981. "type": "integer"
  16982. },
  16983. "spotcontractno": {
  16984. "description": "现货合同编号",
  16985. "type": "string"
  16986. },
  16987. "tradeid": {
  16988. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16989. "type": "string"
  16990. },
  16991. "tradeprice": {
  16992. "description": "成交价格",
  16993. "type": "number"
  16994. },
  16995. "tradeqty": {
  16996. "description": "成交数量",
  16997. "type": "integer"
  16998. },
  16999. "tradetime": {
  17000. "description": "成交时间",
  17001. "type": "string"
  17002. },
  17003. "updatetime": {
  17004. "description": "更新时间",
  17005. "type": "string"
  17006. }
  17007. }
  17008. },
  17009. "erms2.QuerySpotContractRsp": {
  17010. "type": "object",
  17011. "required": [
  17012. "spotcontractid"
  17013. ],
  17014. "properties": {
  17015. "accountid": {
  17016. "description": "资金账户ID",
  17017. "type": "integer"
  17018. },
  17019. "areauserid": {
  17020. "description": "所属机构",
  17021. "type": "integer"
  17022. },
  17023. "closedate": {
  17024. "description": "终止日期",
  17025. "type": "string"
  17026. },
  17027. "closeremark": {
  17028. "description": "结束备注",
  17029. "type": "string"
  17030. },
  17031. "closetradedate": {
  17032. "description": "完结交易日(yyyyMMdd)",
  17033. "type": "string"
  17034. },
  17035. "closetype": {
  17036. "description": "终止类型 - 1:违约 2:提前终止",
  17037. "type": "integer"
  17038. },
  17039. "contractamount": {
  17040. "description": "合同金额",
  17041. "type": "number"
  17042. },
  17043. "contractattachment": {
  17044. "description": "合同附件",
  17045. "type": "string"
  17046. },
  17047. "contractno": {
  17048. "description": "现货合同编号",
  17049. "type": "string"
  17050. },
  17051. "contractqty": {
  17052. "description": "合同数量(数值) (用于计算)",
  17053. "type": "number"
  17054. },
  17055. "contractqtychar": {
  17056. "description": "合同数量\\已订价数量 (用于显示)",
  17057. "type": "string"
  17058. },
  17059. "contractstatus": {
  17060. "description": "合同状态 - 0:未结束 1:已结束",
  17061. "type": "integer"
  17062. },
  17063. "contracttype": {
  17064. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17065. "type": "integer"
  17066. },
  17067. "customeraccountid": {
  17068. "description": "客户资金账户ID",
  17069. "type": "integer"
  17070. },
  17071. "customeruserid": {
  17072. "description": "客户ID",
  17073. "type": "integer"
  17074. },
  17075. "deliverygoodsdesc": {
  17076. "description": "品种说明",
  17077. "type": "string"
  17078. },
  17079. "deliverygoodsid": {
  17080. "description": "现货品种ID",
  17081. "type": "integer"
  17082. },
  17083. "handlestatus": {
  17084. "description": "处理状态",
  17085. "type": "integer"
  17086. },
  17087. "invoiceatt": {
  17088. "description": "发票附件",
  17089. "type": "string"
  17090. },
  17091. "invoicedatetime": {
  17092. "description": "开收票更新时间",
  17093. "type": "string"
  17094. },
  17095. "invoiceopentime": {
  17096. "description": "开票时间",
  17097. "type": "string"
  17098. },
  17099. "invoiceremark": {
  17100. "description": "发票备注",
  17101. "type": "string"
  17102. },
  17103. "invoicestatus": {
  17104. "description": "开收票状态 - 0:未开票 1:已开票",
  17105. "type": "integer"
  17106. },
  17107. "lastdate": {
  17108. "description": "交货时间",
  17109. "type": "string"
  17110. },
  17111. "marketid": {
  17112. "description": "市场ID",
  17113. "type": "integer"
  17114. },
  17115. "paydatetime": {
  17116. "description": "收付款更新时间",
  17117. "type": "string"
  17118. },
  17119. "payremark": {
  17120. "description": "收付款备注",
  17121. "type": "string"
  17122. },
  17123. "paystatus": {
  17124. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17125. "type": "integer"
  17126. },
  17127. "positionqty": {
  17128. "description": "头寸数量 - 合同数量去小数部分",
  17129. "type": "integer"
  17130. },
  17131. "producttype": {
  17132. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17133. "type": "integer"
  17134. },
  17135. "relatedqty": {
  17136. "description": "已关联数量",
  17137. "type": "number"
  17138. },
  17139. "relatedstatus": {
  17140. "description": "关联完结状态 - 0:未结束 1:已结束",
  17141. "type": "integer"
  17142. },
  17143. "remark": {
  17144. "description": "备注",
  17145. "type": "string"
  17146. },
  17147. "signdate": {
  17148. "description": "签订日期",
  17149. "type": "string"
  17150. },
  17151. "spotcontractid": {
  17152. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17153. "type": "string"
  17154. },
  17155. "spotdatetime": {
  17156. "description": "收发货更新时间",
  17157. "type": "string"
  17158. },
  17159. "spotprice": {
  17160. "description": "价格",
  17161. "type": "number"
  17162. },
  17163. "spotremark": {
  17164. "description": "收发货备注",
  17165. "type": "string"
  17166. },
  17167. "spotstatus": {
  17168. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17169. "type": "integer"
  17170. },
  17171. "tradedate": {
  17172. "description": "交易日(yyyyMMdd)",
  17173. "type": "string"
  17174. },
  17175. "userid": {
  17176. "description": "业务员用户ID",
  17177. "type": "integer"
  17178. },
  17179. "warehouseid": {
  17180. "description": "仓库ID",
  17181. "type": "integer"
  17182. },
  17183. "wrfactortypeid": {
  17184. "description": "仓单要素类型ID",
  17185. "type": "integer"
  17186. },
  17187. "wrstandardid": {
  17188. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17189. "type": "integer"
  17190. }
  17191. }
  17192. },
  17193. "erms3.AddErms2ASApplyReq": {
  17194. "type": "object",
  17195. "required": [
  17196. "asapplyid"
  17197. ],
  17198. "properties": {
  17199. "applybasis": {
  17200. "description": "申请基差",
  17201. "type": "number"
  17202. },
  17203. "applystatus": {
  17204. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17205. "type": "integer"
  17206. },
  17207. "asapplyid": {
  17208. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17209. "type": "integer"
  17210. },
  17211. "asname": {
  17212. "description": "策略名称",
  17213. "type": "string"
  17214. },
  17215. "asno": {
  17216. "description": "策略编号",
  17217. "type": "string"
  17218. },
  17219. "auditid": {
  17220. "description": "审核人",
  17221. "type": "integer"
  17222. },
  17223. "auditremark": {
  17224. "description": "审核备注",
  17225. "type": "string"
  17226. },
  17227. "audittime": {
  17228. "description": "审核时间",
  17229. "type": "string"
  17230. },
  17231. "biztype": {
  17232. "description": "业务类型 - 1:正向套利 2:反向套利",
  17233. "type": "integer"
  17234. },
  17235. "createtime": {
  17236. "description": "创建时间",
  17237. "type": "string"
  17238. },
  17239. "creatorid": {
  17240. "description": "创建人",
  17241. "type": "integer"
  17242. },
  17243. "deliverygoodsid": {
  17244. "description": "现货品种ID",
  17245. "type": "integer"
  17246. },
  17247. "futurequote": {
  17248. "description": "期货额度",
  17249. "type": "number"
  17250. },
  17251. "goodsgroupid": {
  17252. "description": "期货品种ID",
  17253. "type": "integer"
  17254. },
  17255. "marketid": {
  17256. "description": "市场ID",
  17257. "type": "integer"
  17258. },
  17259. "remark": {
  17260. "description": "备注",
  17261. "type": "string"
  17262. },
  17263. "spotquota": {
  17264. "description": "现货额度",
  17265. "type": "number"
  17266. },
  17267. "tradedate": {
  17268. "description": "交易日(yyyyMMdd)",
  17269. "type": "string"
  17270. },
  17271. "userid": {
  17272. "description": "所属机构",
  17273. "type": "integer"
  17274. }
  17275. }
  17276. },
  17277. "erms3.AddErms2SpotTradeApplyReq": {
  17278. "type": "object",
  17279. "required": [
  17280. "spottradeid"
  17281. ],
  17282. "properties": {
  17283. "applyjsondetail": {
  17284. "description": "申请明细(JSON)",
  17285. "type": "string"
  17286. },
  17287. "applystatus": {
  17288. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17289. "type": "integer"
  17290. },
  17291. "areauserid": {
  17292. "description": "所属机构",
  17293. "type": "integer"
  17294. },
  17295. "auditid": {
  17296. "description": "审核人",
  17297. "type": "integer"
  17298. },
  17299. "auditremark": {
  17300. "description": "审核备注",
  17301. "type": "string"
  17302. },
  17303. "audittime": {
  17304. "description": "审核时间",
  17305. "type": "string"
  17306. },
  17307. "createtime": {
  17308. "description": "创建时间",
  17309. "type": "string"
  17310. },
  17311. "creatorid": {
  17312. "description": "创建人",
  17313. "type": "integer"
  17314. },
  17315. "deliverygoodsid": {
  17316. "description": "现货品种ID",
  17317. "type": "integer"
  17318. },
  17319. "futureaccountid": {
  17320. "description": "期货资金账户",
  17321. "type": "integer"
  17322. },
  17323. "goodsgroupid": {
  17324. "description": "期货品种",
  17325. "type": "integer"
  17326. },
  17327. "marketid": {
  17328. "description": "市场ID",
  17329. "type": "integer"
  17330. },
  17331. "remark": {
  17332. "description": "备注",
  17333. "type": "string"
  17334. },
  17335. "spotaccountid": {
  17336. "description": "现货资金账户",
  17337. "type": "integer"
  17338. },
  17339. "spottradeid": {
  17340. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17341. "type": "integer"
  17342. },
  17343. "spottradename": {
  17344. "description": "业务名称",
  17345. "type": "string"
  17346. },
  17347. "spottradeno": {
  17348. "description": "业务编号",
  17349. "type": "string"
  17350. },
  17351. "tradedate": {
  17352. "description": "交易日(yyyyMMdd)",
  17353. "type": "string"
  17354. },
  17355. "wrstandardid": {
  17356. "description": "仓单标准ID",
  17357. "type": "integer"
  17358. }
  17359. }
  17360. },
  17361. "erms3.AddSpotContractApplyReq": {
  17362. "type": "object",
  17363. "required": [
  17364. "accountid",
  17365. "areauserid",
  17366. "contractno",
  17367. "contracttype",
  17368. "customeraccountid",
  17369. "customeruserid",
  17370. "details",
  17371. "orimargin",
  17372. "signdate"
  17373. ],
  17374. "properties": {
  17375. "accountid": {
  17376. "description": "资金账户ID",
  17377. "type": "integer"
  17378. },
  17379. "areauserid": {
  17380. "description": "所属机构",
  17381. "type": "integer"
  17382. },
  17383. "contractattachment": {
  17384. "description": "合同附件",
  17385. "type": "string"
  17386. },
  17387. "contractno": {
  17388. "description": "现货合同编号",
  17389. "type": "string"
  17390. },
  17391. "contracttype": {
  17392. "description": "现货合同类型 - 1:采购 -1:销售",
  17393. "type": "integer"
  17394. },
  17395. "creatorid": {
  17396. "description": "申请人",
  17397. "type": "integer"
  17398. },
  17399. "customeraccountid": {
  17400. "description": "客户资金账户ID",
  17401. "type": "integer"
  17402. },
  17403. "customeruserid": {
  17404. "description": "客户ID",
  17405. "type": "integer"
  17406. },
  17407. "details": {
  17408. "description": "明细",
  17409. "type": "array",
  17410. "items": {
  17411. "$ref": "#/definitions/erms3.SoptContractDetail"
  17412. }
  17413. },
  17414. "orimargin": {
  17415. "description": "初始保证金",
  17416. "type": "number"
  17417. },
  17418. "remark": {
  17419. "description": "备注",
  17420. "type": "string"
  17421. },
  17422. "signdate": {
  17423. "description": "签订日期",
  17424. "type": "string"
  17425. }
  17426. }
  17427. },
  17428. "erms3.AddSpotContractApplyRsp": {
  17429. "type": "object",
  17430. "required": [
  17431. "contractno"
  17432. ],
  17433. "properties": {
  17434. "contractno": {
  17435. "description": "现货合同编号",
  17436. "type": "string"
  17437. },
  17438. "spotcontractid": {
  17439. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17440. "type": "integer"
  17441. }
  17442. }
  17443. },
  17444. "erms3.AddUserInfoApplyReq": {
  17445. "type": "object",
  17446. "required": [
  17447. "userid"
  17448. ],
  17449. "properties": {
  17450. "accountid": {
  17451. "description": "交易系统帐号Id (加密存储)",
  17452. "type": "integer"
  17453. },
  17454. "areacode": {
  17455. "description": "机构代码",
  17456. "type": "string"
  17457. },
  17458. "areaid": {
  17459. "description": "机构Id",
  17460. "type": "integer"
  17461. },
  17462. "attachment1": {
  17463. "description": "附件1",
  17464. "type": "string"
  17465. },
  17466. "attachment2": {
  17467. "description": "附件2",
  17468. "type": "string"
  17469. },
  17470. "attachment3": {
  17471. "description": "附件3",
  17472. "type": "string"
  17473. },
  17474. "attachment4": {
  17475. "description": "附件4",
  17476. "type": "string"
  17477. },
  17478. "attachment5": {
  17479. "description": "附件5",
  17480. "type": "string"
  17481. },
  17482. "auditedby": {
  17483. "description": "审核人",
  17484. "type": "string"
  17485. },
  17486. "auditime": {
  17487. "description": "审核时间",
  17488. "type": "string"
  17489. },
  17490. "auditsrc": {
  17491. "description": "审核来源 - 1:管理端 2:终端",
  17492. "type": "integer"
  17493. },
  17494. "bankaccount": {
  17495. "description": "银行帐号 (加密存储)",
  17496. "type": "string"
  17497. },
  17498. "bankaccountname": {
  17499. "description": "收款人名称",
  17500. "type": "string"
  17501. },
  17502. "bankcardbackphotourl": {
  17503. "description": "银行卡背面照地址",
  17504. "type": "string"
  17505. },
  17506. "bankcardfrontphotourl": {
  17507. "description": "银行卡正面照地址",
  17508. "type": "string"
  17509. },
  17510. "bankid": {
  17511. "description": "银行编码",
  17512. "type": "string"
  17513. },
  17514. "bankname": {
  17515. "description": "银行名称",
  17516. "type": "string"
  17517. },
  17518. "bankpictureurl": {
  17519. "description": "银行卡正面地址",
  17520. "type": "string"
  17521. },
  17522. "biznature": {
  17523. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17524. "type": "integer"
  17525. },
  17526. "bizscope": {
  17527. "description": "企业经营范围(企业)",
  17528. "type": "string"
  17529. },
  17530. "biztype": {
  17531. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17532. "type": "integer"
  17533. },
  17534. "brokerid": {
  17535. "description": "经纪人ID(加密存储)",
  17536. "type": "string"
  17537. },
  17538. "cardaddress": {
  17539. "description": "证件地址 (加密存储)",
  17540. "type": "string"
  17541. },
  17542. "cardbackphotourl": {
  17543. "description": "背面证件照地址",
  17544. "type": "string"
  17545. },
  17546. "cardfrontphotourl": {
  17547. "description": "正面证件照地址",
  17548. "type": "string"
  17549. },
  17550. "cardnum": {
  17551. "description": "证件号码 (加密存储)",
  17552. "type": "string"
  17553. },
  17554. "cardtype": {
  17555. "description": "证件类型",
  17556. "type": "integer"
  17557. },
  17558. "cityid": {
  17559. "description": "市",
  17560. "type": "integer"
  17561. },
  17562. "company": {
  17563. "description": "公司(个人)",
  17564. "type": "string"
  17565. },
  17566. "contactcardbackphotourl": {
  17567. "description": "联系人证件背面图片地址",
  17568. "type": "string"
  17569. },
  17570. "contactcardfrontphotourl": {
  17571. "description": "联系人证件正面图片地址",
  17572. "type": "string"
  17573. },
  17574. "contactname": {
  17575. "description": "联系人",
  17576. "type": "string"
  17577. },
  17578. "countryid": {
  17579. "description": "国家",
  17580. "type": "integer"
  17581. },
  17582. "createtime": {
  17583. "description": "开户申请时间",
  17584. "type": "string"
  17585. },
  17586. "cusbankid": {
  17587. "description": "签约类型",
  17588. "type": "string"
  17589. },
  17590. "cusbankname": {
  17591. "description": "签约类型名称",
  17592. "type": "string"
  17593. },
  17594. "customername": {
  17595. "description": "客户名称(企业名称)",
  17596. "type": "string"
  17597. },
  17598. "districtid": {
  17599. "description": "地区",
  17600. "type": "integer"
  17601. },
  17602. "email": {
  17603. "description": "Email地址(加密存储)",
  17604. "type": "string"
  17605. },
  17606. "halfbodyphotourl": {
  17607. "description": "半身照地址",
  17608. "type": "string"
  17609. },
  17610. "headurl": {
  17611. "description": "头像地址",
  17612. "type": "string"
  17613. },
  17614. "ipaddress": {
  17615. "description": "IP地址",
  17616. "type": "string"
  17617. },
  17618. "isvalidate": {
  17619. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17620. "type": "string"
  17621. },
  17622. "legalcardbackphotourl": {
  17623. "description": "法人身份证背面照地址",
  17624. "type": "string"
  17625. },
  17626. "legalcardfrontphotourl": {
  17627. "description": "法人身份证正面照地址",
  17628. "type": "string"
  17629. },
  17630. "legalpersonname": {
  17631. "description": "法人姓名(企业)",
  17632. "type": "string"
  17633. },
  17634. "logincode": {
  17635. "description": "登录帐号 (加密存储)",
  17636. "type": "string"
  17637. },
  17638. "memberareaid": {
  17639. "description": "所属会员ID",
  17640. "type": "integer"
  17641. },
  17642. "mobile2": {
  17643. "description": "手机号码[明文-尚志]",
  17644. "type": "string"
  17645. },
  17646. "mobilephone": {
  17647. "description": "手机号码 (加密存储)",
  17648. "type": "string"
  17649. },
  17650. "modifiedby": {
  17651. "description": "修改人帐号",
  17652. "type": "integer"
  17653. },
  17654. "modifiedtime": {
  17655. "description": "修改时间",
  17656. "type": "string"
  17657. },
  17658. "nickname": {
  17659. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17660. "type": "string"
  17661. },
  17662. "openmode": {
  17663. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17664. "type": "integer"
  17665. },
  17666. "otherurl": {
  17667. "description": "其它图片地址[使用分号分隔]",
  17668. "type": "string"
  17669. },
  17670. "postalcode": {
  17671. "description": "邮政编码",
  17672. "type": "string"
  17673. },
  17674. "provinceid": {
  17675. "description": "省",
  17676. "type": "integer"
  17677. },
  17678. "proxystatementurl": {
  17679. "description": "授权委托书",
  17680. "type": "string"
  17681. },
  17682. "qq": {
  17683. "description": "QQ(加密存储",
  17684. "type": "string"
  17685. },
  17686. "referral": {
  17687. "description": "推荐人编码",
  17688. "type": "string"
  17689. },
  17690. "remark": {
  17691. "description": "备注",
  17692. "type": "string"
  17693. },
  17694. "removebeforestatus": {
  17695. "description": "REMOVEBEFORESTATUS",
  17696. "type": "integer"
  17697. },
  17698. "sex": {
  17699. "description": "性别 - 0:女 1:男",
  17700. "type": "integer"
  17701. },
  17702. "signedstatus": {
  17703. "description": "账户一号签签约状态",
  17704. "type": "integer"
  17705. },
  17706. "signpdfurl": {
  17707. "description": "签约pdf文件",
  17708. "type": "string"
  17709. },
  17710. "subbranch": {
  17711. "description": "开户支行",
  17712. "type": "string"
  17713. },
  17714. "taxpayernum": {
  17715. "description": "纳税人识别号",
  17716. "type": "string"
  17717. },
  17718. "telphone": {
  17719. "description": "联系电话(加密存储)",
  17720. "type": "string"
  17721. },
  17722. "userid": {
  17723. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17724. "type": "integer"
  17725. },
  17726. "userinfotype": {
  17727. "description": "用户信息类型 - 1:个人 2:企业",
  17728. "type": "integer"
  17729. },
  17730. "username": {
  17731. "description": "用户姓名",
  17732. "type": "string"
  17733. },
  17734. "userstate": {
  17735. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17736. "type": "integer"
  17737. },
  17738. "usertype": {
  17739. "description": "用户类型 - 1:投资者 2:机构",
  17740. "type": "integer"
  17741. },
  17742. "videourl": {
  17743. "description": "视频地址",
  17744. "type": "string"
  17745. },
  17746. "wechat": {
  17747. "description": "微信号 (加密存储)",
  17748. "type": "string"
  17749. }
  17750. }
  17751. },
  17752. "erms3.CustomerInfo": {
  17753. "type": "object",
  17754. "required": [
  17755. "userid"
  17756. ],
  17757. "properties": {
  17758. "accountids": {
  17759. "description": "资金账户ID列表",
  17760. "type": "array",
  17761. "items": {
  17762. "type": "integer"
  17763. }
  17764. },
  17765. "customername": {
  17766. "description": "名称(企业名称)",
  17767. "type": "string"
  17768. },
  17769. "mobile": {
  17770. "description": "手机号码",
  17771. "type": "string"
  17772. },
  17773. "userid": {
  17774. "description": "用户ID",
  17775. "type": "integer"
  17776. }
  17777. }
  17778. },
  17779. "erms3.ModifyUserInfoApplyReq": {
  17780. "type": "object",
  17781. "required": [
  17782. "userid"
  17783. ],
  17784. "properties": {
  17785. "accountid": {
  17786. "description": "交易系统帐号Id (加密存储)",
  17787. "type": "integer"
  17788. },
  17789. "areacode": {
  17790. "description": "机构代码",
  17791. "type": "string"
  17792. },
  17793. "areaid": {
  17794. "description": "机构Id",
  17795. "type": "integer"
  17796. },
  17797. "attachment1": {
  17798. "description": "附件1",
  17799. "type": "string"
  17800. },
  17801. "attachment2": {
  17802. "description": "附件2",
  17803. "type": "string"
  17804. },
  17805. "attachment3": {
  17806. "description": "附件3",
  17807. "type": "string"
  17808. },
  17809. "attachment4": {
  17810. "description": "附件4",
  17811. "type": "string"
  17812. },
  17813. "attachment5": {
  17814. "description": "附件5",
  17815. "type": "string"
  17816. },
  17817. "auditedby": {
  17818. "description": "审核人",
  17819. "type": "string"
  17820. },
  17821. "auditime": {
  17822. "description": "审核时间",
  17823. "type": "string"
  17824. },
  17825. "auditsrc": {
  17826. "description": "审核来源 - 1:管理端 2:终端",
  17827. "type": "integer"
  17828. },
  17829. "bankaccount": {
  17830. "description": "银行帐号 (加密存储)",
  17831. "type": "string"
  17832. },
  17833. "bankaccountname": {
  17834. "description": "收款人名称",
  17835. "type": "string"
  17836. },
  17837. "bankcardbackphotourl": {
  17838. "description": "银行卡背面照地址",
  17839. "type": "string"
  17840. },
  17841. "bankcardfrontphotourl": {
  17842. "description": "银行卡正面照地址",
  17843. "type": "string"
  17844. },
  17845. "bankid": {
  17846. "description": "银行编码",
  17847. "type": "string"
  17848. },
  17849. "bankname": {
  17850. "description": "银行名称",
  17851. "type": "string"
  17852. },
  17853. "bankpictureurl": {
  17854. "description": "银行卡正面地址",
  17855. "type": "string"
  17856. },
  17857. "biznature": {
  17858. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17859. "type": "integer"
  17860. },
  17861. "bizscope": {
  17862. "description": "企业经营范围(企业)",
  17863. "type": "string"
  17864. },
  17865. "biztype": {
  17866. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17867. "type": "integer"
  17868. },
  17869. "brokerid": {
  17870. "description": "经纪人ID(加密存储)",
  17871. "type": "string"
  17872. },
  17873. "cardaddress": {
  17874. "description": "证件地址 (加密存储)",
  17875. "type": "string"
  17876. },
  17877. "cardbackphotourl": {
  17878. "description": "背面证件照地址",
  17879. "type": "string"
  17880. },
  17881. "cardfrontphotourl": {
  17882. "description": "正面证件照地址",
  17883. "type": "string"
  17884. },
  17885. "cardnum": {
  17886. "description": "证件号码 (加密存储)",
  17887. "type": "string"
  17888. },
  17889. "cardtype": {
  17890. "description": "证件类型",
  17891. "type": "integer"
  17892. },
  17893. "cityid": {
  17894. "description": "市",
  17895. "type": "integer"
  17896. },
  17897. "company": {
  17898. "description": "公司(个人)",
  17899. "type": "string"
  17900. },
  17901. "contactcardbackphotourl": {
  17902. "description": "联系人证件背面图片地址",
  17903. "type": "string"
  17904. },
  17905. "contactcardfrontphotourl": {
  17906. "description": "联系人证件正面图片地址",
  17907. "type": "string"
  17908. },
  17909. "contactname": {
  17910. "description": "联系人",
  17911. "type": "string"
  17912. },
  17913. "countryid": {
  17914. "description": "国家",
  17915. "type": "integer"
  17916. },
  17917. "createtime": {
  17918. "description": "开户申请时间",
  17919. "type": "string"
  17920. },
  17921. "cusbankid": {
  17922. "description": "签约类型",
  17923. "type": "string"
  17924. },
  17925. "cusbankname": {
  17926. "description": "签约类型名称",
  17927. "type": "string"
  17928. },
  17929. "customername": {
  17930. "description": "客户名称(企业名称)",
  17931. "type": "string"
  17932. },
  17933. "districtid": {
  17934. "description": "地区",
  17935. "type": "integer"
  17936. },
  17937. "email": {
  17938. "description": "Email地址(加密存储)",
  17939. "type": "string"
  17940. },
  17941. "halfbodyphotourl": {
  17942. "description": "半身照地址",
  17943. "type": "string"
  17944. },
  17945. "headurl": {
  17946. "description": "头像地址",
  17947. "type": "string"
  17948. },
  17949. "ipaddress": {
  17950. "description": "IP地址",
  17951. "type": "string"
  17952. },
  17953. "isvalidate": {
  17954. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17955. "type": "string"
  17956. },
  17957. "legalcardbackphotourl": {
  17958. "description": "法人身份证背面照地址",
  17959. "type": "string"
  17960. },
  17961. "legalcardfrontphotourl": {
  17962. "description": "法人身份证正面照地址",
  17963. "type": "string"
  17964. },
  17965. "legalpersonname": {
  17966. "description": "法人姓名(企业)",
  17967. "type": "string"
  17968. },
  17969. "logincode": {
  17970. "description": "登录帐号 (加密存储)",
  17971. "type": "string"
  17972. },
  17973. "memberareaid": {
  17974. "description": "所属会员ID",
  17975. "type": "integer"
  17976. },
  17977. "mobile2": {
  17978. "description": "手机号码[明文-尚志]",
  17979. "type": "string"
  17980. },
  17981. "mobilephone": {
  17982. "description": "手机号码 (加密存储)",
  17983. "type": "string"
  17984. },
  17985. "modifiedby": {
  17986. "description": "修改人帐号",
  17987. "type": "integer"
  17988. },
  17989. "modifiedtime": {
  17990. "description": "修改时间",
  17991. "type": "string"
  17992. },
  17993. "nickname": {
  17994. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17995. "type": "string"
  17996. },
  17997. "openmode": {
  17998. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17999. "type": "integer"
  18000. },
  18001. "otherurl": {
  18002. "description": "其它图片地址[使用分号分隔]",
  18003. "type": "string"
  18004. },
  18005. "postalcode": {
  18006. "description": "邮政编码",
  18007. "type": "string"
  18008. },
  18009. "provinceid": {
  18010. "description": "省",
  18011. "type": "integer"
  18012. },
  18013. "proxystatementurl": {
  18014. "description": "授权委托书",
  18015. "type": "string"
  18016. },
  18017. "qq": {
  18018. "description": "QQ(加密存储",
  18019. "type": "string"
  18020. },
  18021. "referral": {
  18022. "description": "推荐人编码",
  18023. "type": "string"
  18024. },
  18025. "remark": {
  18026. "description": "备注",
  18027. "type": "string"
  18028. },
  18029. "removebeforestatus": {
  18030. "description": "REMOVEBEFORESTATUS",
  18031. "type": "integer"
  18032. },
  18033. "sex": {
  18034. "description": "性别 - 0:女 1:男",
  18035. "type": "integer"
  18036. },
  18037. "signedstatus": {
  18038. "description": "账户一号签签约状态",
  18039. "type": "integer"
  18040. },
  18041. "signpdfurl": {
  18042. "description": "签约pdf文件",
  18043. "type": "string"
  18044. },
  18045. "subbranch": {
  18046. "description": "开户支行",
  18047. "type": "string"
  18048. },
  18049. "taxpayernum": {
  18050. "description": "纳税人识别号",
  18051. "type": "string"
  18052. },
  18053. "telphone": {
  18054. "description": "联系电话(加密存储)",
  18055. "type": "string"
  18056. },
  18057. "userid": {
  18058. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18059. "type": "integer"
  18060. },
  18061. "userinfotype": {
  18062. "description": "用户信息类型 - 1:个人 2:企业",
  18063. "type": "integer"
  18064. },
  18065. "username": {
  18066. "description": "用户姓名",
  18067. "type": "string"
  18068. },
  18069. "userstate": {
  18070. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18071. "type": "integer"
  18072. },
  18073. "usertype": {
  18074. "description": "用户类型 - 1:投资者 2:机构",
  18075. "type": "integer"
  18076. },
  18077. "videourl": {
  18078. "description": "视频地址",
  18079. "type": "string"
  18080. },
  18081. "wechat": {
  18082. "description": "微信号 (加密存储)",
  18083. "type": "string"
  18084. }
  18085. }
  18086. },
  18087. "erms3.QryAuditContractRsp": {
  18088. "type": "object",
  18089. "required": [
  18090. "matchcustomername",
  18091. "spotcontractid"
  18092. ],
  18093. "properties": {
  18094. "accountid": {
  18095. "description": "交易员ID",
  18096. "type": "string"
  18097. },
  18098. "applystatus": {
  18099. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18100. "type": "integer"
  18101. },
  18102. "curdeliveryqty": {
  18103. "description": "未交收量",
  18104. "type": "integer"
  18105. },
  18106. "customername": {
  18107. "description": "采购方ID",
  18108. "type": "string"
  18109. },
  18110. "deliverygoodsid": {
  18111. "description": "品种ID",
  18112. "type": "string"
  18113. },
  18114. "deliveryqty": {
  18115. "description": "交收量",
  18116. "type": "integer"
  18117. },
  18118. "enumdicname": {
  18119. "description": "单位名称",
  18120. "type": "string"
  18121. },
  18122. "matchaccountid": {
  18123. "description": "业务员ID",
  18124. "type": "string"
  18125. },
  18126. "matchcustomername": {
  18127. "description": "销售方ID",
  18128. "type": "string"
  18129. },
  18130. "pricedqty": {
  18131. "description": "定价量",
  18132. "type": "number"
  18133. },
  18134. "signdate": {
  18135. "description": "签订日期",
  18136. "type": "string"
  18137. },
  18138. "spotcontractid": {
  18139. "description": "合同ID",
  18140. "type": "string"
  18141. },
  18142. "totaldqty": {
  18143. "description": "合同量",
  18144. "type": "number"
  18145. },
  18146. "unpricedqty": {
  18147. "description": "未定价量",
  18148. "type": "number"
  18149. },
  18150. "wrstandardname": {
  18151. "description": "商品名称",
  18152. "type": "string"
  18153. }
  18154. }
  18155. },
  18156. "erms3.QryPendingBizRsp": {
  18157. "type": "object",
  18158. "properties": {
  18159. "accountid": {
  18160. "description": "现货账户",
  18161. "type": "string"
  18162. },
  18163. "areaname": {
  18164. "description": "所属部门",
  18165. "type": "string"
  18166. },
  18167. "bizid": {
  18168. "description": "业务ID",
  18169. "type": "string"
  18170. },
  18171. "bizname": {
  18172. "description": "业务名称",
  18173. "type": "string"
  18174. },
  18175. "status": {
  18176. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18177. "type": "integer"
  18178. },
  18179. "type": {
  18180. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18181. "type": "integer"
  18182. }
  18183. }
  18184. },
  18185. "erms3.QueryBusinessInfoRsp": {
  18186. "type": "object",
  18187. "properties": {
  18188. "businessid": {
  18189. "description": "业务ID.",
  18190. "type": "integer"
  18191. },
  18192. "buyamount": {
  18193. "description": "采购额.",
  18194. "type": "number"
  18195. },
  18196. "buyqty": {
  18197. "description": "采购量.",
  18198. "type": "string"
  18199. },
  18200. "futurepl": {
  18201. "description": "期货盈亏.",
  18202. "type": "number"
  18203. },
  18204. "futureqty": {
  18205. "description": "期货敞口.",
  18206. "type": "string"
  18207. },
  18208. "goodsid": {
  18209. "description": "商品名称/商品代码.",
  18210. "type": "string"
  18211. },
  18212. "hedgingqty": {
  18213. "description": "套保量.",
  18214. "type": "string"
  18215. },
  18216. "sellamount": {
  18217. "description": "销售额.",
  18218. "type": "number"
  18219. },
  18220. "sellqty": {
  18221. "description": "销售量.",
  18222. "type": "string"
  18223. },
  18224. "spotmarketvalue": {
  18225. "description": "现货市值.",
  18226. "type": "number"
  18227. },
  18228. "spotpl": {
  18229. "description": "浮动权益.",
  18230. "type": "number"
  18231. },
  18232. "spotqty": {
  18233. "description": "现货量.",
  18234. "type": "string"
  18235. },
  18236. "statu": {
  18237. "description": "状态,0-未结束 1-已结束.",
  18238. "type": "integer"
  18239. },
  18240. "totalpl": {
  18241. "description": "总盈亏.",
  18242. "type": "number"
  18243. },
  18244. "totalqty": {
  18245. "description": "总敞口.",
  18246. "type": "string"
  18247. },
  18248. "type": {
  18249. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18250. "type": "integer"
  18251. }
  18252. }
  18253. },
  18254. "erms3.QuerySpotContractAppleFormRsp": {
  18255. "type": "object",
  18256. "properties": {
  18257. "goodses": {
  18258. "description": "合约列表",
  18259. "type": "array",
  18260. "items": {
  18261. "$ref": "#/definitions/models.GoodsIDAndName"
  18262. }
  18263. },
  18264. "oppositeusers": {
  18265. "description": "对方账号列表",
  18266. "type": "array",
  18267. "items": {
  18268. "$ref": "#/definitions/erms3.CustomerInfo"
  18269. }
  18270. },
  18271. "ouruser": {
  18272. "description": "我方账号",
  18273. "$ref": "#/definitions/erms3.CustomerInfo"
  18274. },
  18275. "warehouseinfos": {
  18276. "description": "仓库信息列表",
  18277. "type": "array",
  18278. "items": {
  18279. "$ref": "#/definitions/models.Warehouseinfo"
  18280. }
  18281. },
  18282. "wrstandards": {
  18283. "description": "仓单标准列表",
  18284. "type": "array",
  18285. "items": {
  18286. "$ref": "#/definitions/models.WRStandardInfo"
  18287. }
  18288. }
  18289. }
  18290. },
  18291. "erms3.QuerySpotContractInfoRsp": {
  18292. "type": "object",
  18293. "properties": {
  18294. "accountid": {
  18295. "description": "表示交易员ID.",
  18296. "type": "integer"
  18297. },
  18298. "curdeliveryqty": {
  18299. "description": "表示未交收量.",
  18300. "type": "number"
  18301. },
  18302. "customername": {
  18303. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18304. "type": "string"
  18305. },
  18306. "deliverygoodsid": {
  18307. "description": "表示品种ID.",
  18308. "type": "string"
  18309. },
  18310. "deliveryqty": {
  18311. "description": "表示交收量.",
  18312. "type": "number"
  18313. },
  18314. "matchaccountid": {
  18315. "description": "表示业务员ID.",
  18316. "type": "integer"
  18317. },
  18318. "matchcustomername": {
  18319. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18320. "type": "string"
  18321. },
  18322. "priceqty": {
  18323. "description": "表示定价量.",
  18324. "type": "number"
  18325. },
  18326. "relatedbizid": {
  18327. "description": "表示业务ID.",
  18328. "type": "string"
  18329. },
  18330. "signdate": {
  18331. "description": "表示签订日期.",
  18332. "type": "string"
  18333. },
  18334. "spotcontractid": {
  18335. "description": "合同ID",
  18336. "type": "string"
  18337. },
  18338. "status": {
  18339. "description": "表示状态,0-履约中 1-已完成.",
  18340. "type": "integer"
  18341. },
  18342. "totalqty": {
  18343. "description": "表示合同量.",
  18344. "type": "number"
  18345. },
  18346. "unpricedqty": {
  18347. "description": "表示未定价量.",
  18348. "type": "number"
  18349. },
  18350. "wrstandardname": {
  18351. "description": "表示商品ID.",
  18352. "type": "string"
  18353. }
  18354. }
  18355. },
  18356. "erms3.QueryUserInfoAppliesRsp": {
  18357. "type": "object",
  18358. "required": [
  18359. "userid"
  18360. ],
  18361. "properties": {
  18362. "biznature": {
  18363. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18364. "type": "integer"
  18365. },
  18366. "contactname": {
  18367. "description": "联系人",
  18368. "type": "string"
  18369. },
  18370. "createtime": {
  18371. "description": "开户申请时间",
  18372. "type": "string"
  18373. },
  18374. "userid": {
  18375. "description": "用户ID(自增ID)",
  18376. "type": "integer"
  18377. },
  18378. "userinfotype": {
  18379. "description": "用户信息类型 - 1:个人 2:企业",
  18380. "type": "integer"
  18381. },
  18382. "username": {
  18383. "description": "用户姓名",
  18384. "type": "string"
  18385. },
  18386. "userstate": {
  18387. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18388. "type": "integer"
  18389. }
  18390. }
  18391. },
  18392. "erms3.QueryUserInfosRsp": {
  18393. "type": "object",
  18394. "required": [
  18395. "userid"
  18396. ],
  18397. "properties": {
  18398. "biznature": {
  18399. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18400. "type": "integer"
  18401. },
  18402. "contactname": {
  18403. "description": "联系人",
  18404. "type": "string"
  18405. },
  18406. "customername": {
  18407. "description": "客户名称(企业名称)",
  18408. "type": "string"
  18409. },
  18410. "userid": {
  18411. "description": "用户ID",
  18412. "type": "integer"
  18413. },
  18414. "userinfotype": {
  18415. "description": "用户信息类型 - 1:个人 2:企业",
  18416. "type": "integer"
  18417. },
  18418. "userstatus": {
  18419. "description": "用户状态 - 1:正常 2:注销",
  18420. "type": "integer"
  18421. }
  18422. }
  18423. },
  18424. "erms3.SoptContractDetail": {
  18425. "type": "object",
  18426. "required": [
  18427. "deliverygoodsid",
  18428. "producttype",
  18429. "unitname",
  18430. "warehouseid",
  18431. "wrstandardid",
  18432. "wrstandardname"
  18433. ],
  18434. "properties": {
  18435. "deliverygoodsdesc": {
  18436. "description": "现货品种说明",
  18437. "type": "string"
  18438. },
  18439. "deliverygoodsid": {
  18440. "description": "现货品种ID",
  18441. "type": "integer"
  18442. },
  18443. "deliverygoodsname": {
  18444. "description": "现货品种名称",
  18445. "type": "string"
  18446. },
  18447. "pointdesc": {
  18448. "description": "点价描述",
  18449. "type": "string"
  18450. },
  18451. "producttype": {
  18452. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18453. "type": "integer"
  18454. },
  18455. "producttypename": {
  18456. "description": "产品类型名称",
  18457. "type": "string"
  18458. },
  18459. "spotPointOrderVoList": {
  18460. "description": "点价列表",
  18461. "type": "array",
  18462. "items": {
  18463. "$ref": "#/definitions/erms3.SpotPointOrder"
  18464. }
  18465. },
  18466. "spotPriceOrderList": {
  18467. "description": "定价列表",
  18468. "type": "array",
  18469. "items": {
  18470. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18471. }
  18472. },
  18473. "unitname": {
  18474. "description": "单位名称",
  18475. "type": "string"
  18476. },
  18477. "warehouseid": {
  18478. "description": "仓库ID",
  18479. "type": "integer"
  18480. },
  18481. "warehousename": {
  18482. "description": "仓库名称",
  18483. "type": "string"
  18484. },
  18485. "wrstandardid": {
  18486. "description": "交易标的ID",
  18487. "type": "integer"
  18488. },
  18489. "wrstandardname": {
  18490. "description": "交易标的名称",
  18491. "type": "string"
  18492. }
  18493. }
  18494. },
  18495. "erms3.SpotPointOrder": {
  18496. "type": "object",
  18497. "required": [
  18498. "basic",
  18499. "goodsid",
  18500. "qty"
  18501. ],
  18502. "properties": {
  18503. "basic": {
  18504. "description": "基差",
  18505. "type": "number"
  18506. },
  18507. "deliveryenddate": {
  18508. "description": "交收结束日期",
  18509. "type": "string"
  18510. },
  18511. "deliverystartdate": {
  18512. "description": "交收开始日期",
  18513. "type": "string"
  18514. },
  18515. "enddate": {
  18516. "description": "点价结束日期",
  18517. "type": "string"
  18518. },
  18519. "goodsid": {
  18520. "description": "商品ID",
  18521. "type": "integer"
  18522. },
  18523. "goodsname": {
  18524. "description": "商品名称",
  18525. "type": "string"
  18526. },
  18527. "qty": {
  18528. "description": "数量",
  18529. "type": "number"
  18530. },
  18531. "startdate": {
  18532. "description": "点价开始日期",
  18533. "type": "string"
  18534. }
  18535. }
  18536. },
  18537. "erms3.SpotPriceOrder": {
  18538. "type": "object",
  18539. "required": [
  18540. "amount",
  18541. "price",
  18542. "qty"
  18543. ],
  18544. "properties": {
  18545. "amount": {
  18546. "description": "金额",
  18547. "type": "number"
  18548. },
  18549. "deliveryenddate": {
  18550. "description": "交收结束日期",
  18551. "type": "string"
  18552. },
  18553. "deliverystartdate": {
  18554. "description": "交收开始日期",
  18555. "type": "string"
  18556. },
  18557. "price": {
  18558. "description": "价格",
  18559. "type": "number"
  18560. },
  18561. "qty": {
  18562. "description": "数量",
  18563. "type": "number"
  18564. }
  18565. }
  18566. },
  18567. "hsby.GetHsbyMyCountRsp": {
  18568. "type": "object",
  18569. "properties": {
  18570. "myCouponCount": {
  18571. "description": "我的优惠卷数量",
  18572. "type": "integer"
  18573. },
  18574. "myOrderDetailListingCount": {
  18575. "description": "我的订单求购中数量",
  18576. "type": "integer"
  18577. },
  18578. "myOrderDetailPreCount": {
  18579. "description": "我的订单抢购中数量",
  18580. "type": "integer"
  18581. },
  18582. "myPackageUnReceiveCount": {
  18583. "description": "我的包裹待收货数量",
  18584. "type": "integer"
  18585. },
  18586. "myPackageUnSendCount": {
  18587. "description": "我的包裹待发货数量",
  18588. "type": "integer"
  18589. },
  18590. "myPayOrderCount": {
  18591. "description": "我的订单待付款数量",
  18592. "type": "integer"
  18593. }
  18594. }
  18595. },
  18596. "hsby.QueryProvincesAndCitiesRsp": {
  18597. "type": "object",
  18598. "properties": {
  18599. "cities": {
  18600. "description": "市",
  18601. "type": "array",
  18602. "items": {
  18603. "$ref": "#/definitions/models.Division"
  18604. }
  18605. },
  18606. "province": {
  18607. "description": "省",
  18608. "$ref": "#/definitions/models.Division"
  18609. }
  18610. }
  18611. },
  18612. "models.Arearole": {
  18613. "type": "object",
  18614. "required": [
  18615. "roletype",
  18616. "userid"
  18617. ],
  18618. "properties": {
  18619. "createtime": {
  18620. "description": "创建时间",
  18621. "type": "string"
  18622. },
  18623. "creatorid": {
  18624. "description": "创建人ID",
  18625. "type": "integer"
  18626. },
  18627. "fromuserid": {
  18628. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18629. "type": "integer"
  18630. },
  18631. "isreturnscore": {
  18632. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18633. "type": "integer"
  18634. },
  18635. "modifierid": {
  18636. "description": "修改人ID",
  18637. "type": "integer"
  18638. },
  18639. "modifytime": {
  18640. "description": "修改时间",
  18641. "type": "string"
  18642. },
  18643. "orgtype": {
  18644. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18645. "type": "integer"
  18646. },
  18647. "outuserid": {
  18648. "description": "外部账户[场外期权做市商]",
  18649. "type": "string"
  18650. },
  18651. "parentuserid": {
  18652. "description": "上级组织机构(组织机构)",
  18653. "type": "integer"
  18654. },
  18655. "roletype": {
  18656. "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:门店",
  18657. "type": "integer"
  18658. },
  18659. "rootuserid": {
  18660. "description": "顶级组织机构用户ID(组织机构)",
  18661. "type": "integer"
  18662. },
  18663. "shoppassword": {
  18664. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18665. "type": "string"
  18666. },
  18667. "sublevelpath": {
  18668. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18669. "type": "string"
  18670. },
  18671. "suborgtype": {
  18672. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18673. "type": "integer"
  18674. },
  18675. "tradeaccountid": {
  18676. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18677. "type": "integer"
  18678. },
  18679. "transurl": {
  18680. "description": "物流地址(物流机构)",
  18681. "type": "string"
  18682. },
  18683. "userid": {
  18684. "description": "机构用户ID其他做市关系,都设置为 1",
  18685. "type": "integer"
  18686. }
  18687. }
  18688. },
  18689. "models.Clientfixedadconfig": {
  18690. "type": "object",
  18691. "required": [
  18692. "adsort",
  18693. "adtype"
  18694. ],
  18695. "properties": {
  18696. "adsort": {
  18697. "description": "排序",
  18698. "type": "integer"
  18699. },
  18700. "adtype": {
  18701. "description": "广告位类型 - 1:新品抢购(HSBY)",
  18702. "type": "integer"
  18703. },
  18704. "areauserid": {
  18705. "description": "所属机构ID",
  18706. "type": "integer"
  18707. },
  18708. "createdate": {
  18709. "description": "创建时间",
  18710. "type": "string"
  18711. },
  18712. "creatorid": {
  18713. "description": "创建人",
  18714. "type": "integer"
  18715. },
  18716. "imagepath": {
  18717. "description": "图片",
  18718. "type": "string"
  18719. },
  18720. "isshow": {
  18721. "description": "是否展示 - 0:不展示 1:展示",
  18722. "type": "integer"
  18723. },
  18724. "modifierid": {
  18725. "description": "操作人",
  18726. "type": "integer"
  18727. },
  18728. "recsize": {
  18729. "description": "推荐尺寸",
  18730. "type": "string"
  18731. },
  18732. "title": {
  18733. "description": "标题",
  18734. "type": "string"
  18735. },
  18736. "updatedate": {
  18737. "description": "更新时间",
  18738. "type": "string"
  18739. },
  18740. "urlcontent": {
  18741. "description": "链接(地址或商品ID)",
  18742. "type": "string"
  18743. },
  18744. "urltype": {
  18745. "description": "链接类型 - 1:直接地址 2:商品ID",
  18746. "type": "integer"
  18747. }
  18748. }
  18749. },
  18750. "models.Division": {
  18751. "type": "object",
  18752. "required": [
  18753. "autoid",
  18754. "divisioncode"
  18755. ],
  18756. "properties": {
  18757. "autoid": {
  18758. "description": "自增ID",
  18759. "type": "integer"
  18760. },
  18761. "divisioncode": {
  18762. "description": "行政代码",
  18763. "type": "string"
  18764. },
  18765. "divisionlevel": {
  18766. "description": "行政级别",
  18767. "type": "string"
  18768. },
  18769. "divisionname": {
  18770. "description": "行政名称",
  18771. "type": "string"
  18772. },
  18773. "modifierid": {
  18774. "description": "修改人",
  18775. "type": "integer"
  18776. },
  18777. "modifytime": {
  18778. "description": "修改时间",
  18779. "type": "string"
  18780. },
  18781. "parentcode": {
  18782. "description": "上级行政代码",
  18783. "type": "string"
  18784. },
  18785. "pathname": {
  18786. "description": "路径名称",
  18787. "type": "string"
  18788. },
  18789. "postcode": {
  18790. "description": "邮政编码",
  18791. "type": "string"
  18792. },
  18793. "separablename": {
  18794. "description": "可拆分的全称",
  18795. "type": "string"
  18796. },
  18797. "shortcode": {
  18798. "description": "地区简码",
  18799. "type": "string"
  18800. }
  18801. }
  18802. },
  18803. "models.Enumdicitem": {
  18804. "type": "object",
  18805. "required": [
  18806. "autoid",
  18807. "enumdiccode",
  18808. "enumdicid",
  18809. "enumitemname"
  18810. ],
  18811. "properties": {
  18812. "autoid": {
  18813. "description": "自增ID",
  18814. "type": "integer"
  18815. },
  18816. "bankmappedvalue": {
  18817. "description": "银行服务对应值",
  18818. "type": "string"
  18819. },
  18820. "enumdiccode": {
  18821. "description": "所属枚举代码",
  18822. "type": "string"
  18823. },
  18824. "enumdicid": {
  18825. "description": "所属枚举ID",
  18826. "type": "integer"
  18827. },
  18828. "enumdicname": {
  18829. "description": "枚举项名称",
  18830. "type": "string"
  18831. },
  18832. "enumitemname": {
  18833. "description": "枚举项值",
  18834. "type": "integer"
  18835. },
  18836. "enumitemstatus": {
  18837. "description": "枚举项状态 - 1.启用 2.不启用",
  18838. "type": "integer"
  18839. },
  18840. "enumitemvalue": {
  18841. "description": "通用值 - [币种通用简写]",
  18842. "type": "string"
  18843. },
  18844. "param1": {
  18845. "description": "参数1[币种:币种小数位]",
  18846. "type": "string"
  18847. },
  18848. "param2": {
  18849. "description": "参数1[币种:币种显示单位]",
  18850. "type": "string"
  18851. },
  18852. "remark": {
  18853. "description": "备注",
  18854. "type": "string"
  18855. }
  18856. }
  18857. },
  18858. "models.Ermcp3AreaSpot": {
  18859. "type": "object",
  18860. "properties": {
  18861. "areauserid": {
  18862. "description": "所属机构",
  18863. "type": "integer"
  18864. },
  18865. "convertratio": {
  18866. "description": "套保系数",
  18867. "type": "number"
  18868. },
  18869. "decreaseqty": {
  18870. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18871. "type": "number"
  18872. },
  18873. "enumdicname": {
  18874. "description": "单位名称",
  18875. "type": "string"
  18876. },
  18877. "increaseqty": {
  18878. "description": "增加数量=销售计划数量+采购已定价数量",
  18879. "type": "number"
  18880. },
  18881. "oritoalspotqty": {
  18882. "description": "昨日数量",
  18883. "type": "number"
  18884. },
  18885. "totalspotqty": {
  18886. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18887. "type": "number"
  18888. },
  18889. "unitid": {
  18890. "description": "现货商品单位id",
  18891. "type": "integer"
  18892. },
  18893. "updatetime": {
  18894. "description": "更新时间",
  18895. "type": "string"
  18896. },
  18897. "wrstandardcode": {
  18898. "description": "现货商品代码",
  18899. "type": "string"
  18900. },
  18901. "wrstandardid": {
  18902. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18903. "type": "integer"
  18904. },
  18905. "wrstandardname": {
  18906. "description": "现货商品名称",
  18907. "type": "string"
  18908. }
  18909. }
  18910. },
  18911. "models.Ermcp3AreaSpotDetail": {
  18912. "type": "object",
  18913. "properties": {
  18914. "contracttype": {
  18915. "description": "合同类型 1-采购 -1-销售",
  18916. "type": "integer"
  18917. },
  18918. "createtime": {
  18919. "description": "创建时间",
  18920. "type": "string"
  18921. },
  18922. "enumdicname": {
  18923. "description": "现货商品单位名称",
  18924. "type": "string"
  18925. },
  18926. "logtype": {
  18927. "description": "记录类型 1-套保 2-现货合同",
  18928. "type": "integer"
  18929. },
  18930. "qty": {
  18931. "description": "数量",
  18932. "type": "number"
  18933. },
  18934. "recordname": {
  18935. "description": "类型名称",
  18936. "type": "string"
  18937. },
  18938. "relatedid": {
  18939. "description": "套保计划ID/现货合同ID",
  18940. "type": "string"
  18941. },
  18942. "relatedno": {
  18943. "description": "编号",
  18944. "type": "string"
  18945. },
  18946. "strtime": {
  18947. "description": "时间",
  18948. "type": "string"
  18949. },
  18950. "wrstandardcode": {
  18951. "description": "现货商品代码",
  18952. "type": "string"
  18953. },
  18954. "wrstandardid": {
  18955. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18956. "type": "integer"
  18957. },
  18958. "wrstandardname": {
  18959. "description": "现货商品名称",
  18960. "type": "string"
  18961. }
  18962. }
  18963. },
  18964. "models.Ermcp3AreaSpotPLReport": {
  18965. "type": "object",
  18966. "properties": {
  18967. "accountid": {
  18968. "description": "期货账户ID (作废, 默认为0)",
  18969. "type": "integer"
  18970. },
  18971. "accountname": {
  18972. "description": "机构名称",
  18973. "type": "string"
  18974. },
  18975. "actualpl": {
  18976. "description": "现货损益",
  18977. "type": "number"
  18978. },
  18979. "areauserid": {
  18980. "description": "所属机构\\交易用户ID",
  18981. "type": "integer"
  18982. },
  18983. "begindate": {
  18984. "description": "开始交易日",
  18985. "type": "string"
  18986. },
  18987. "biztype": {
  18988. "description": "业务类型 - 1:套保 2:套利",
  18989. "type": "integer"
  18990. },
  18991. "brandname": {
  18992. "description": "品牌名称",
  18993. "type": "string"
  18994. },
  18995. "curamount": {
  18996. "description": "期末额",
  18997. "type": "number"
  18998. },
  18999. "curaverageprice": {
  19000. "description": "期末均价",
  19001. "type": "number"
  19002. },
  19003. "curbuyamount": {
  19004. "description": "期末采购总额",
  19005. "type": "number"
  19006. },
  19007. "curbuyqty": {
  19008. "description": "期末采购总量",
  19009. "type": "number"
  19010. },
  19011. "curmarketvalue": {
  19012. "description": "参考市值(期末市值)",
  19013. "type": "number"
  19014. },
  19015. "curqty": {
  19016. "description": "期末量",
  19017. "type": "number"
  19018. },
  19019. "currencyid": {
  19020. "description": "结算币种ID【原值】",
  19021. "type": "integer"
  19022. },
  19023. "currencyname": {
  19024. "description": "币种名称",
  19025. "type": "string"
  19026. },
  19027. "cursellamount": {
  19028. "description": "期末销售总额",
  19029. "type": "number"
  19030. },
  19031. "cursellqty": {
  19032. "description": "期末销售总量",
  19033. "type": "number"
  19034. },
  19035. "curspotprice": {
  19036. "description": "参考市价(最新价)",
  19037. "type": "number"
  19038. },
  19039. "cycletime": {
  19040. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19041. "type": "string"
  19042. },
  19043. "cycletype": {
  19044. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19045. "type": "integer"
  19046. },
  19047. "deliverygoodscode": {
  19048. "description": "现货商品代码",
  19049. "type": "string"
  19050. },
  19051. "deliverygoodsid": {
  19052. "description": "现货品种ID",
  19053. "type": "integer"
  19054. },
  19055. "deliverygoodsname": {
  19056. "description": "现货商品名称",
  19057. "type": "string"
  19058. },
  19059. "enddate": {
  19060. "description": "结束交易日",
  19061. "type": "string"
  19062. },
  19063. "enumdicname": {
  19064. "description": "现货商品单位名称",
  19065. "type": "string"
  19066. },
  19067. "floatpl": {
  19068. "description": "浮动损益",
  19069. "type": "number"
  19070. },
  19071. "goodsunitid": {
  19072. "description": "现货商品单位id",
  19073. "type": "integer"
  19074. },
  19075. "oriamount": {
  19076. "description": "期初额",
  19077. "type": "number"
  19078. },
  19079. "oriaverageprice": {
  19080. "description": "期初均价",
  19081. "type": "number"
  19082. },
  19083. "oribuyamount": {
  19084. "description": "期初采购总额",
  19085. "type": "number"
  19086. },
  19087. "oribuyqty": {
  19088. "description": "期初采购总量",
  19089. "type": "number"
  19090. },
  19091. "oriqty": {
  19092. "description": "期初量",
  19093. "type": "number"
  19094. },
  19095. "orisellamount": {
  19096. "description": "期初销售总额",
  19097. "type": "number"
  19098. },
  19099. "orisellqty": {
  19100. "description": "期初销售总量",
  19101. "type": "number"
  19102. },
  19103. "reckondate": {
  19104. "description": "日照时期(yyyyMMdd)",
  19105. "type": "string"
  19106. },
  19107. "spotgoodsbrandid": {
  19108. "description": "现货品牌ID",
  19109. "type": "integer"
  19110. },
  19111. "todaybuyamount": {
  19112. "description": "今日采购额(今采购额)",
  19113. "type": "number"
  19114. },
  19115. "todaybuyaverageprice": {
  19116. "description": "今日采购均价",
  19117. "type": "number"
  19118. },
  19119. "todaybuyqty": {
  19120. "description": "今日采购量(今采购量)",
  19121. "type": "number"
  19122. },
  19123. "todayinqty": {
  19124. "description": "今日入库量(今入库量)",
  19125. "type": "number"
  19126. },
  19127. "todayoutqty": {
  19128. "description": "今日出库量(今出库量)",
  19129. "type": "number"
  19130. },
  19131. "todaysellamount": {
  19132. "description": "今日销售额(今销售额)",
  19133. "type": "number"
  19134. },
  19135. "todaysellaverageprice": {
  19136. "description": "今日销售均价",
  19137. "type": "number"
  19138. },
  19139. "todaysellqty": {
  19140. "description": "今日销售量(今销售量)",
  19141. "type": "number"
  19142. },
  19143. "unitid": {
  19144. "description": "品类单位id",
  19145. "type": "integer"
  19146. },
  19147. "unitidname": {
  19148. "description": "品类单位名称",
  19149. "type": "string"
  19150. },
  19151. "updatetime": {
  19152. "description": "更新时间",
  19153. "type": "string"
  19154. },
  19155. "wrfactortypeid": {
  19156. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19157. "type": "integer"
  19158. },
  19159. "wrstandardcode": {
  19160. "description": "品类代码",
  19161. "type": "string"
  19162. },
  19163. "wrstandardid": {
  19164. "description": "现货品类ID",
  19165. "type": "integer"
  19166. },
  19167. "wrstandardname": {
  19168. "description": "品类名称",
  19169. "type": "string"
  19170. }
  19171. }
  19172. },
  19173. "models.Ermcp3AreaStock": {
  19174. "type": "object",
  19175. "required": [
  19176. "userid"
  19177. ],
  19178. "properties": {
  19179. "brandname": {
  19180. "description": "品牌名称",
  19181. "type": "string"
  19182. },
  19183. "curstock": {
  19184. "description": "期末库存量(今日量)",
  19185. "type": "number"
  19186. },
  19187. "deliverygoodscode": {
  19188. "description": "现货品种代码",
  19189. "type": "string"
  19190. },
  19191. "deliverygoodsid": {
  19192. "description": "现货品种id",
  19193. "type": "integer"
  19194. },
  19195. "deliverygoodsname": {
  19196. "description": "现货品种名称",
  19197. "type": "string"
  19198. },
  19199. "enumdicname": {
  19200. "description": "单位名称",
  19201. "type": "string"
  19202. },
  19203. "goodsunitid": {
  19204. "description": "现货商品单位id",
  19205. "type": "integer"
  19206. },
  19207. "oristock": {
  19208. "description": "期初库存量(昨日量)",
  19209. "type": "number"
  19210. },
  19211. "spotgoodsbrandid": {
  19212. "description": "现货品牌ID",
  19213. "type": "integer"
  19214. },
  19215. "todaybuyinqty": {
  19216. "description": "今日采购入库量",
  19217. "type": "number"
  19218. },
  19219. "todayproduceinqty": {
  19220. "description": "今日生产入库量",
  19221. "type": "number"
  19222. },
  19223. "todayproduceoutqty": {
  19224. "description": "今日生产出库量",
  19225. "type": "number"
  19226. },
  19227. "todayselloutqty": {
  19228. "description": "今日销售出库量",
  19229. "type": "number"
  19230. },
  19231. "unitid": {
  19232. "description": "单位id",
  19233. "type": "integer"
  19234. },
  19235. "updatetime": {
  19236. "description": "更新时间",
  19237. "type": "string"
  19238. },
  19239. "userid": {
  19240. "description": "机构ID",
  19241. "type": "integer"
  19242. },
  19243. "username": {
  19244. "description": "机构名称",
  19245. "type": "string"
  19246. },
  19247. "warehousecode": {
  19248. "description": "仓库代码",
  19249. "type": "string"
  19250. },
  19251. "warehouseinfoid": {
  19252. "description": "仓库ID",
  19253. "type": "string"
  19254. },
  19255. "warehousename": {
  19256. "description": "仓库名称",
  19257. "type": "string"
  19258. },
  19259. "warehousetype": {
  19260. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19261. "type": "integer"
  19262. },
  19263. "wrstandardcode": {
  19264. "description": "品类代码",
  19265. "type": "string"
  19266. },
  19267. "wrstandardid": {
  19268. "description": "品类ID",
  19269. "type": "string"
  19270. },
  19271. "wrstandardname": {
  19272. "description": "品类名称",
  19273. "type": "string"
  19274. }
  19275. }
  19276. },
  19277. "models.Ermcp3AreaStockApply": {
  19278. "type": "object",
  19279. "properties": {
  19280. "applyid": {
  19281. "description": "申请人",
  19282. "type": "integer"
  19283. },
  19284. "applyname": {
  19285. "description": "申请人名称",
  19286. "type": "string"
  19287. },
  19288. "applyremark": {
  19289. "description": "申请备注",
  19290. "type": "string"
  19291. },
  19292. "applysrc": {
  19293. "description": "申请来源 - 1:管理端 2:终端",
  19294. "type": "integer"
  19295. },
  19296. "applystatus": {
  19297. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19298. "type": "integer"
  19299. },
  19300. "applytime": {
  19301. "description": "申请时间",
  19302. "type": "string"
  19303. },
  19304. "auditid": {
  19305. "description": "审核人",
  19306. "type": "integer"
  19307. },
  19308. "auditname": {
  19309. "description": "审核人名称",
  19310. "type": "string"
  19311. },
  19312. "auditremark": {
  19313. "description": "审核备注",
  19314. "type": "string"
  19315. },
  19316. "auditsrc": {
  19317. "description": "审核来源 - 1:管理端 2:终端",
  19318. "type": "integer"
  19319. },
  19320. "audittime": {
  19321. "description": "审核时间",
  19322. "type": "string"
  19323. },
  19324. "audittradedate": {
  19325. "description": "审核交易日(yyyyMMdd)",
  19326. "type": "string"
  19327. },
  19328. "brandname": {
  19329. "description": "品牌名称",
  19330. "type": "string"
  19331. },
  19332. "buynickname": {
  19333. "description": "采购方昵称",
  19334. "type": "string"
  19335. },
  19336. "buyuserid": {
  19337. "description": "采购方userid",
  19338. "type": "integer"
  19339. },
  19340. "buyusername": {
  19341. "description": "采购方名称",
  19342. "type": "string"
  19343. },
  19344. "contractno": {
  19345. "description": "合同编号",
  19346. "type": "string"
  19347. },
  19348. "contractqty": {
  19349. "description": "合同量",
  19350. "type": "number"
  19351. },
  19352. "contracttype": {
  19353. "description": "现货合同类型 - 1:采购 -1:销售",
  19354. "type": "integer"
  19355. },
  19356. "deliverygoodscode": {
  19357. "description": "现货品种代码",
  19358. "type": "string"
  19359. },
  19360. "deliverygoodsid": {
  19361. "description": "现货品种id",
  19362. "type": "integer"
  19363. },
  19364. "deliverygoodsname": {
  19365. "description": "现货品种名称",
  19366. "type": "string"
  19367. },
  19368. "detailjson": {
  19369. "description": "明细数据",
  19370. "type": "string"
  19371. },
  19372. "enumdicname": {
  19373. "description": "现货商品单位名称",
  19374. "type": "string"
  19375. },
  19376. "inoutapplyid": {
  19377. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19378. "type": "string"
  19379. },
  19380. "inouttype": {
  19381. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19382. "type": "integer"
  19383. },
  19384. "pricetype": {
  19385. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19386. "type": "integer"
  19387. },
  19388. "qty": {
  19389. "description": "数量",
  19390. "type": "number"
  19391. },
  19392. "sellnickname": {
  19393. "description": "销售方昵称",
  19394. "type": "string"
  19395. },
  19396. "selluserid": {
  19397. "description": "销售方userid",
  19398. "type": "integer"
  19399. },
  19400. "sellusername": {
  19401. "description": "销售方名称",
  19402. "type": "string"
  19403. },
  19404. "spotcontractid": {
  19405. "description": "关联现货合同ID",
  19406. "type": "string"
  19407. },
  19408. "spotgoodsbrandid": {
  19409. "description": "现货品牌ID",
  19410. "type": "integer"
  19411. },
  19412. "unitid": {
  19413. "description": "单位id",
  19414. "type": "integer"
  19415. },
  19416. "userid": {
  19417. "description": "机构ID",
  19418. "type": "integer"
  19419. },
  19420. "warehousecode": {
  19421. "description": "仓库代码",
  19422. "type": "string"
  19423. },
  19424. "warehouseinfoid": {
  19425. "description": "现货仓库ID",
  19426. "type": "string"
  19427. },
  19428. "warehousename": {
  19429. "description": "仓库名称",
  19430. "type": "string"
  19431. },
  19432. "warehousetype": {
  19433. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19434. "type": "integer"
  19435. },
  19436. "wrstandardcode": {
  19437. "description": "品类代码",
  19438. "type": "string"
  19439. },
  19440. "wrstandardid": {
  19441. "description": "品类ID",
  19442. "type": "integer"
  19443. },
  19444. "wrstandardname": {
  19445. "description": "品类名称",
  19446. "type": "string"
  19447. }
  19448. }
  19449. },
  19450. "models.Ermcp3AreaStockApplySum": {
  19451. "type": "object",
  19452. "properties": {
  19453. "brandname": {
  19454. "description": "品牌名称",
  19455. "type": "string"
  19456. },
  19457. "inouttype": {
  19458. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19459. "type": "integer"
  19460. },
  19461. "spotcontractid": {
  19462. "description": "关联现货合同ID",
  19463. "type": "string"
  19464. },
  19465. "spotgoodsbrandid": {
  19466. "description": "品牌id",
  19467. "type": "integer"
  19468. },
  19469. "totalqty": {
  19470. "description": "总数量",
  19471. "type": "number"
  19472. },
  19473. "wrstandardid": {
  19474. "description": "品类id",
  19475. "type": "integer"
  19476. },
  19477. "wrstandardname": {
  19478. "description": "品类名称",
  19479. "type": "string"
  19480. }
  19481. }
  19482. },
  19483. "models.Ermcp3AreaStockReportEx": {
  19484. "type": "object",
  19485. "properties": {
  19486. "begindate": {
  19487. "description": "开始交易日",
  19488. "type": "string"
  19489. },
  19490. "brandname": {
  19491. "description": "品牌名称",
  19492. "type": "string"
  19493. },
  19494. "curstock": {
  19495. "description": "期末库存量",
  19496. "type": "number"
  19497. },
  19498. "cycletime": {
  19499. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19500. "type": "string"
  19501. },
  19502. "cycletype": {
  19503. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19504. "type": "integer"
  19505. },
  19506. "deliverygoodscode": {
  19507. "description": "现货品种代码",
  19508. "type": "string"
  19509. },
  19510. "deliverygoodsid": {
  19511. "description": "现货品种id",
  19512. "type": "integer"
  19513. },
  19514. "deliverygoodsname": {
  19515. "description": "现货品种名称",
  19516. "type": "string"
  19517. },
  19518. "diffqty": {
  19519. "description": "库存变化量 = 期末 - 期初",
  19520. "type": "number"
  19521. },
  19522. "enddate": {
  19523. "description": "结束交易日",
  19524. "type": "string"
  19525. },
  19526. "enumdicname": {
  19527. "description": "单位名称",
  19528. "type": "string"
  19529. },
  19530. "goodsunitid": {
  19531. "description": "现货单位id",
  19532. "type": "integer"
  19533. },
  19534. "oristock": {
  19535. "description": "期初库存量",
  19536. "type": "number"
  19537. },
  19538. "reckondate": {
  19539. "description": "日照时期(yyyyMMdd)",
  19540. "type": "string"
  19541. },
  19542. "spotgoodsbrandid": {
  19543. "description": "现货品牌ID",
  19544. "type": "integer"
  19545. },
  19546. "todaybuyinqty": {
  19547. "description": "今采购入库量",
  19548. "type": "number"
  19549. },
  19550. "todayproduceinqty": {
  19551. "description": "今内部入库量",
  19552. "type": "number"
  19553. },
  19554. "todayproduceoutqty": {
  19555. "description": "今内部出库量",
  19556. "type": "number"
  19557. },
  19558. "todayselloutqty": {
  19559. "description": "今销售出库量",
  19560. "type": "number"
  19561. },
  19562. "unbuyinqty": {
  19563. "description": "采购未入库量(数据库未找到相关字段?)",
  19564. "type": "number"
  19565. },
  19566. "unitid": {
  19567. "description": "品类单位id",
  19568. "type": "integer"
  19569. },
  19570. "unselloutqty": {
  19571. "description": "销售未出库量(数据库未找到相关字段?)",
  19572. "type": "number"
  19573. },
  19574. "updatetime": {
  19575. "description": "更新时间",
  19576. "type": "string"
  19577. },
  19578. "userid": {
  19579. "description": "机构ID",
  19580. "type": "integer"
  19581. },
  19582. "username": {
  19583. "description": "机构名称",
  19584. "type": "string"
  19585. },
  19586. "warehousecode": {
  19587. "description": "仓库代码",
  19588. "type": "string"
  19589. },
  19590. "warehouseinfoid": {
  19591. "description": "仓库ID",
  19592. "type": "string"
  19593. },
  19594. "warehousename": {
  19595. "description": "仓库名称",
  19596. "type": "string"
  19597. },
  19598. "warehousetype": {
  19599. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19600. "type": "integer"
  19601. },
  19602. "wrstandardcode": {
  19603. "description": "品类代码",
  19604. "type": "string"
  19605. },
  19606. "wrstandardid": {
  19607. "description": "品类ID",
  19608. "type": "integer"
  19609. },
  19610. "wrstandardname": {
  19611. "description": "品类名称",
  19612. "type": "string"
  19613. }
  19614. }
  19615. },
  19616. "models.Ermcp3ArealSumPL": {
  19617. "type": "object",
  19618. "properties": {
  19619. "accountname": {
  19620. "description": "机构名称",
  19621. "type": "string"
  19622. },
  19623. "areauserid": {
  19624. "description": "所属机构\\交易用户ID",
  19625. "type": "integer"
  19626. },
  19627. "begindate": {
  19628. "description": "开始交易日",
  19629. "type": "string"
  19630. },
  19631. "currencyid": {
  19632. "description": "结算币种ID",
  19633. "type": "integer"
  19634. },
  19635. "currencyname": {
  19636. "description": "币种名称",
  19637. "type": "string"
  19638. },
  19639. "cycletime": {
  19640. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19641. "type": "string"
  19642. },
  19643. "cycletype": {
  19644. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19645. "type": "integer"
  19646. },
  19647. "enddate": {
  19648. "description": "结束交易日",
  19649. "type": "string"
  19650. },
  19651. "enumdicname": {
  19652. "description": "单位名称(套保品种)",
  19653. "type": "string"
  19654. },
  19655. "futureactualpl": {
  19656. "description": "期货损益",
  19657. "type": "number"
  19658. },
  19659. "futurefloatpl": {
  19660. "description": "期货浮动损益",
  19661. "type": "number"
  19662. },
  19663. "goodsunitid": {
  19664. "description": "套保品种单位id",
  19665. "type": "integer"
  19666. },
  19667. "middlegoodscode": {
  19668. "description": "套保品种代码",
  19669. "type": "string"
  19670. },
  19671. "middlegoodsid": {
  19672. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19673. "type": "integer"
  19674. },
  19675. "middlegoodsname": {
  19676. "description": "套保品种名称",
  19677. "type": "string"
  19678. },
  19679. "reckondate": {
  19680. "description": "日照时期(yyyyMMdd)",
  19681. "type": "string"
  19682. },
  19683. "spotactualpl": {
  19684. "description": "现货损益",
  19685. "type": "number"
  19686. },
  19687. "spotfloatpl": {
  19688. "description": "现货浮动损益",
  19689. "type": "number"
  19690. },
  19691. "sumactualpl": {
  19692. "description": "实际损益 = (ActualPL + FutureActualPL)",
  19693. "type": "number"
  19694. },
  19695. "sumpl": {
  19696. "description": "汇总损益",
  19697. "type": "number"
  19698. },
  19699. "updatetime": {
  19700. "description": "更新时间",
  19701. "type": "string"
  19702. }
  19703. }
  19704. },
  19705. "models.Ermcp3Brand": {
  19706. "type": "object",
  19707. "properties": {
  19708. "areauserid": {
  19709. "description": "用户id",
  19710. "type": "integer"
  19711. },
  19712. "brandid": {
  19713. "description": "品牌id",
  19714. "type": "integer"
  19715. },
  19716. "brandname": {
  19717. "description": "品牌名称",
  19718. "type": "string"
  19719. },
  19720. "deliverygoodsid": {
  19721. "description": "品种ID",
  19722. "type": "integer"
  19723. }
  19724. }
  19725. },
  19726. "models.Ermcp3Contract": {
  19727. "type": "object",
  19728. "properties": {
  19729. "accountid": {
  19730. "description": "期货账户id",
  19731. "type": "string"
  19732. },
  19733. "amount": {
  19734. "description": "金额 [1:一口价、3:暂定价]",
  19735. "type": "number"
  19736. },
  19737. "attachment": {
  19738. "description": "附件",
  19739. "type": "string"
  19740. },
  19741. "auditremark": {
  19742. "description": "审核意见",
  19743. "type": "string"
  19744. },
  19745. "audittime": {
  19746. "description": "审核时间",
  19747. "type": "string"
  19748. },
  19749. "biztype": {
  19750. "description": "业务类型 1-套保 2-套利",
  19751. "type": "integer"
  19752. },
  19753. "brandname": {
  19754. "description": "品牌名称",
  19755. "type": "string"
  19756. },
  19757. "buynickname": {
  19758. "description": "销售方昵称",
  19759. "type": "string"
  19760. },
  19761. "buyuserid": {
  19762. "description": "采购方ID",
  19763. "type": "integer"
  19764. },
  19765. "buyusername": {
  19766. "description": "采购方名称",
  19767. "type": "string"
  19768. },
  19769. "contracctstatus": {
  19770. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19771. "type": "integer"
  19772. },
  19773. "contractmargin": {
  19774. "description": "合同保证金",
  19775. "type": "number"
  19776. },
  19777. "contractno": {
  19778. "description": "现货合同编号",
  19779. "type": "string"
  19780. },
  19781. "contracttype": {
  19782. "description": "现货合同类型 - 1:采购 -1:销售",
  19783. "type": "integer"
  19784. },
  19785. "convertfactor": {
  19786. "description": "标仓系数(品类)",
  19787. "type": "number"
  19788. },
  19789. "createtime": {
  19790. "description": "创建时间",
  19791. "type": "string"
  19792. },
  19793. "currencyid": {
  19794. "description": "币种id",
  19795. "type": "integer"
  19796. },
  19797. "currencyname": {
  19798. "description": "币种名称",
  19799. "type": "string"
  19800. },
  19801. "deliveryenddate": {
  19802. "description": "交收期(结束)",
  19803. "type": "string"
  19804. },
  19805. "deliverygoodscode": {
  19806. "description": "现货品种代码",
  19807. "type": "string"
  19808. },
  19809. "deliverygoodsid": {
  19810. "description": "现货品种ID",
  19811. "type": "integer"
  19812. },
  19813. "deliverygoodsname": {
  19814. "description": "现货品种名称",
  19815. "type": "string"
  19816. },
  19817. "deliverystartdate": {
  19818. "description": "交收期(开始)",
  19819. "type": "string"
  19820. },
  19821. "enddate": {
  19822. "description": "点价结束日期 [2:点价 3:暂定价]",
  19823. "type": "string"
  19824. },
  19825. "enumdicname": {
  19826. "description": "单位名称",
  19827. "type": "string"
  19828. },
  19829. "goodscode": {
  19830. "description": "点价合约代码",
  19831. "type": "string"
  19832. },
  19833. "goodsid": {
  19834. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  19835. "type": "integer"
  19836. },
  19837. "goodsname": {
  19838. "description": "点价商品名称",
  19839. "type": "string"
  19840. },
  19841. "margin": {
  19842. "description": "当前保证金",
  19843. "type": "number"
  19844. },
  19845. "meruserid": {
  19846. "description": "跟单员id",
  19847. "type": "integer"
  19848. },
  19849. "meruserlogincode": {
  19850. "description": "跟单员登录代码",
  19851. "type": "string"
  19852. },
  19853. "merusername": {
  19854. "description": "跟单员名称",
  19855. "type": "string"
  19856. },
  19857. "price": {
  19858. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  19859. "type": "number"
  19860. },
  19861. "pricemove": {
  19862. "description": "升贴水 [2:点价 3:暂定价]",
  19863. "type": "number"
  19864. },
  19865. "pricetype": {
  19866. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19867. "type": "integer"
  19868. },
  19869. "producttype": {
  19870. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19871. "type": "integer"
  19872. },
  19873. "qty": {
  19874. "description": "数量",
  19875. "type": "number"
  19876. },
  19877. "remark": {
  19878. "description": "备注",
  19879. "type": "string"
  19880. },
  19881. "saleuserid": {
  19882. "description": "业务员id",
  19883. "type": "integer"
  19884. },
  19885. "saleuserlogincode": {
  19886. "description": "业务员登录代码",
  19887. "type": "string"
  19888. },
  19889. "saleusername": {
  19890. "description": "业务员名称",
  19891. "type": "string"
  19892. },
  19893. "sellnickname": {
  19894. "description": "采购方昵称",
  19895. "type": "string"
  19896. },
  19897. "selluserid": {
  19898. "description": "销售方ID",
  19899. "type": "integer"
  19900. },
  19901. "sellusername": {
  19902. "description": "销售方名称",
  19903. "type": "string"
  19904. },
  19905. "spotcontractid": {
  19906. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  19907. "type": "string"
  19908. },
  19909. "spotgoodsbrandid": {
  19910. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19911. "type": "integer"
  19912. },
  19913. "spotgoodsdesc": {
  19914. "description": "商品型号",
  19915. "type": "string"
  19916. },
  19917. "startdate": {
  19918. "description": "点价开始日期 [2:点价 3:暂定价]",
  19919. "type": "string"
  19920. },
  19921. "subjectid": {
  19922. "description": "交易主体ID",
  19923. "type": "string"
  19924. },
  19925. "subjectname": {
  19926. "description": "交易主体名称",
  19927. "type": "string"
  19928. },
  19929. "tradeuserid": {
  19930. "description": "交易员id",
  19931. "type": "integer"
  19932. },
  19933. "tradeuserlogincode": {
  19934. "description": "交易员登录代码",
  19935. "type": "string"
  19936. },
  19937. "tradeusername": {
  19938. "description": "交易员名称",
  19939. "type": "string"
  19940. },
  19941. "unitid": {
  19942. "description": "单位id(取品类上的单位id)",
  19943. "type": "integer"
  19944. },
  19945. "updatetime": {
  19946. "description": "更新时间",
  19947. "type": "string"
  19948. },
  19949. "userid": {
  19950. "description": "所属机构ID",
  19951. "type": "integer"
  19952. },
  19953. "vatrate": {
  19954. "description": "增值税率",
  19955. "type": "number"
  19956. },
  19957. "wrstandardcode": {
  19958. "description": "品类代码",
  19959. "type": "string"
  19960. },
  19961. "wrstandardid": {
  19962. "description": "品类ID",
  19963. "type": "integer"
  19964. },
  19965. "wrstandardname": {
  19966. "description": "品类名称",
  19967. "type": "string"
  19968. }
  19969. }
  19970. },
  19971. "models.Ermcp3ExposureContractDetail": {
  19972. "type": "object",
  19973. "properties": {
  19974. "biztype": {
  19975. "description": "业务类型 1-套保 2-套利",
  19976. "type": "integer"
  19977. },
  19978. "brandname": {
  19979. "description": "品牌名称",
  19980. "type": "string"
  19981. },
  19982. "buyuserid": {
  19983. "description": "采购方id",
  19984. "type": "integer"
  19985. },
  19986. "buyusername": {
  19987. "description": "采购方名称",
  19988. "type": "string"
  19989. },
  19990. "contractno": {
  19991. "description": "合同编号",
  19992. "type": "string"
  19993. },
  19994. "contracttype": {
  19995. "description": "现货合同类型 - 1:采购 -1:销售",
  19996. "type": "integer"
  19997. },
  19998. "convertfactor": {
  19999. "description": "标仓系数",
  20000. "type": "number"
  20001. },
  20002. "convertratio": {
  20003. "description": "折算系数(套保品种)",
  20004. "type": "number"
  20005. },
  20006. "curqty": {
  20007. "description": "今定价量",
  20008. "type": "number"
  20009. },
  20010. "deliverygoodscode": {
  20011. "description": "现货商品代码",
  20012. "type": "string"
  20013. },
  20014. "deliverygoodsid": {
  20015. "description": "现货商品id",
  20016. "type": "integer"
  20017. },
  20018. "deliverygoodsname": {
  20019. "description": "现货商品名称",
  20020. "type": "string"
  20021. },
  20022. "diffhedgeqty": {
  20023. "description": "套保变动量",
  20024. "type": "number"
  20025. },
  20026. "diffneedhedgeqty": {
  20027. "description": "应套保变动量",
  20028. "type": "number"
  20029. },
  20030. "diffqty": {
  20031. "description": "套保品种今变动量",
  20032. "type": "number"
  20033. },
  20034. "enumdicname": {
  20035. "description": "单位名称",
  20036. "type": "string"
  20037. },
  20038. "mgunitname": {
  20039. "description": "套保品种单位名称",
  20040. "type": "string"
  20041. },
  20042. "middlegoodscode": {
  20043. "description": "套保品种代码",
  20044. "type": "string"
  20045. },
  20046. "middlegoodsid": {
  20047. "description": "套保品种id",
  20048. "type": "integer"
  20049. },
  20050. "middlegoodsname": {
  20051. "description": "套保品种名称",
  20052. "type": "string"
  20053. },
  20054. "needarbitrageratio": {
  20055. "description": "应套利比例",
  20056. "type": "number"
  20057. },
  20058. "needhedgeratio": {
  20059. "description": "应套保比例",
  20060. "type": "number"
  20061. },
  20062. "pricedqty": {
  20063. "description": "已定价量",
  20064. "type": "number"
  20065. },
  20066. "qty": {
  20067. "description": "合同量",
  20068. "type": "number"
  20069. },
  20070. "selluserid": {
  20071. "description": "销售方id",
  20072. "type": "integer"
  20073. },
  20074. "sellusername": {
  20075. "description": "销售方名称",
  20076. "type": "string"
  20077. },
  20078. "spotcontractid": {
  20079. "description": "合同id",
  20080. "type": "string"
  20081. },
  20082. "todaypricedqty": {
  20083. "description": "今定价量",
  20084. "type": "number"
  20085. },
  20086. "tradedate": {
  20087. "description": "交易日",
  20088. "type": "string"
  20089. },
  20090. "unitid": {
  20091. "description": "品类单位id",
  20092. "type": "integer"
  20093. },
  20094. "userid": {
  20095. "description": "机构id",
  20096. "type": "integer"
  20097. },
  20098. "username": {
  20099. "description": "交易用户",
  20100. "type": "string"
  20101. },
  20102. "wrstandardcode": {
  20103. "description": "品类代码",
  20104. "type": "string"
  20105. },
  20106. "wrstandardid": {
  20107. "description": "品类id",
  20108. "type": "integer"
  20109. },
  20110. "wrstandardname": {
  20111. "description": "品类名称",
  20112. "type": "string"
  20113. }
  20114. }
  20115. },
  20116. "models.Ermcp3ExposureDetail": {
  20117. "type": "object",
  20118. "properties": {
  20119. "areauserid": {
  20120. "description": "机构ID",
  20121. "type": "integer"
  20122. },
  20123. "changeQty": {
  20124. "description": "套保变动量",
  20125. "type": "number"
  20126. },
  20127. "contracttype": {
  20128. "description": "现货合同类型 - 1:采购 -1:销售",
  20129. "type": "integer"
  20130. },
  20131. "convertfactor": {
  20132. "description": "标仓系数",
  20133. "type": "number"
  20134. },
  20135. "convertratio": {
  20136. "description": "折算系数",
  20137. "type": "number"
  20138. },
  20139. "createtime": {
  20140. "description": "时间",
  20141. "type": "string"
  20142. },
  20143. "enumdicname": {
  20144. "description": "现货商品单位名称",
  20145. "type": "string"
  20146. },
  20147. "logtype": {
  20148. "description": "类型 - 1:套保计划 2:现货合同",
  20149. "type": "integer"
  20150. },
  20151. "mgunitid": {
  20152. "description": "套保品种单位id",
  20153. "type": "integer"
  20154. },
  20155. "mgunitidname": {
  20156. "description": "套保品种单位名称",
  20157. "type": "string"
  20158. },
  20159. "middlegoodsId": {
  20160. "description": "套保商品id",
  20161. "type": "integer"
  20162. },
  20163. "middlegoodscode": {
  20164. "description": "套保商品代码",
  20165. "type": "string"
  20166. },
  20167. "middlegoodsname": {
  20168. "description": "套保商品名称",
  20169. "type": "string"
  20170. },
  20171. "qty": {
  20172. "description": "数量",
  20173. "type": "number"
  20174. },
  20175. "relateNo": {
  20176. "description": "现货合同/套保计划编号",
  20177. "type": "string"
  20178. },
  20179. "unitid": {
  20180. "description": "现货商品单位id",
  20181. "type": "integer"
  20182. },
  20183. "wrstandardcode": {
  20184. "description": "现货商品代码",
  20185. "type": "string"
  20186. },
  20187. "wrstandardid": {
  20188. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20189. "type": "integer"
  20190. },
  20191. "wrstandardname": {
  20192. "description": "现货商品名称",
  20193. "type": "string"
  20194. }
  20195. }
  20196. },
  20197. "models.Ermcp3ExposureFutuDetail": {
  20198. "type": "object",
  20199. "properties": {
  20200. "accountid": {
  20201. "description": "交易账户id",
  20202. "type": "integer"
  20203. },
  20204. "accountname": {
  20205. "description": "交易账户",
  20206. "type": "string"
  20207. },
  20208. "begindate": {
  20209. "description": "开始交易日",
  20210. "type": "string"
  20211. },
  20212. "buyorsell": {
  20213. "description": "方向 0-买 1-卖",
  20214. "type": "integer"
  20215. },
  20216. "diffmgqty": {
  20217. "description": "套保品种今变化量",
  20218. "type": "number"
  20219. },
  20220. "diffneedqty": {
  20221. "description": "应套保总量变化量",
  20222. "type": "number"
  20223. },
  20224. "difftradeqty": {
  20225. "description": "交易品种今变化量",
  20226. "type": "number"
  20227. },
  20228. "enddate": {
  20229. "description": "结束交易日",
  20230. "type": "string"
  20231. },
  20232. "enumdicname": {
  20233. "description": "单位名称",
  20234. "type": "string"
  20235. },
  20236. "goodscode": {
  20237. "description": "商品代码",
  20238. "type": "string"
  20239. },
  20240. "goodsid": {
  20241. "description": "商品id",
  20242. "type": "integer"
  20243. },
  20244. "goodsname": {
  20245. "description": "商品名称",
  20246. "type": "string"
  20247. },
  20248. "holdqty": {
  20249. "description": "期末持仓量",
  20250. "type": "number"
  20251. },
  20252. "middlegoodscode": {
  20253. "description": "套保商品代码",
  20254. "type": "string"
  20255. },
  20256. "middlegoodsid": {
  20257. "description": "套保商品id",
  20258. "type": "integer"
  20259. },
  20260. "middlegoodsname": {
  20261. "description": "套保商品名称",
  20262. "type": "string"
  20263. },
  20264. "oriholdqty": {
  20265. "description": "期初持仓量",
  20266. "type": "number"
  20267. },
  20268. "todaycloseqty": {
  20269. "description": "今平仓量",
  20270. "type": "number"
  20271. },
  20272. "todayopenqty": {
  20273. "description": "今开仓量",
  20274. "type": "number"
  20275. },
  20276. "tradedate": {
  20277. "description": "交易日",
  20278. "type": "string"
  20279. }
  20280. }
  20281. },
  20282. "models.Ermcp3ExposureHedgeplanDetail": {
  20283. "type": "object",
  20284. "properties": {
  20285. "biztype": {
  20286. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20287. "type": "integer"
  20288. },
  20289. "changqty": {
  20290. "description": "应套保总量变化量",
  20291. "type": "number"
  20292. },
  20293. "contracttype": {
  20294. "description": "计划类型 - 1:采购 -1:销售",
  20295. "type": "integer"
  20296. },
  20297. "convertratio": {
  20298. "description": "折算系数(套保品种)",
  20299. "type": "number"
  20300. },
  20301. "deliverygoodscode": {
  20302. "description": "现货商品代码",
  20303. "type": "string"
  20304. },
  20305. "deliverygoodsid": {
  20306. "description": "现货商品id",
  20307. "type": "integer"
  20308. },
  20309. "deliverygoodsname": {
  20310. "description": "现货商吕名称",
  20311. "type": "string"
  20312. },
  20313. "dgunitid": {
  20314. "description": "现货商品单位id",
  20315. "type": "integer"
  20316. },
  20317. "dgunitidname": {
  20318. "description": "单位名称(现货商品)",
  20319. "type": "string"
  20320. },
  20321. "diffqty": {
  20322. "description": "套保品种今变动量",
  20323. "type": "number"
  20324. },
  20325. "enumdicname": {
  20326. "description": "单位名称(品类)",
  20327. "type": "string"
  20328. },
  20329. "hedgeplanid": {
  20330. "description": "套保计划id",
  20331. "type": "string"
  20332. },
  20333. "hedgeplanno": {
  20334. "description": "套保计划名称",
  20335. "type": "string"
  20336. },
  20337. "hedgeplanstatus": {
  20338. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20339. "type": "integer"
  20340. },
  20341. "mgunitidname": {
  20342. "description": "单位名称(套保商品)",
  20343. "type": "string"
  20344. },
  20345. "middlegoodscode": {
  20346. "description": "套保品种代码",
  20347. "type": "string"
  20348. },
  20349. "middlegoodsid": {
  20350. "description": "套保品种id",
  20351. "type": "integer"
  20352. },
  20353. "middlegoodsname": {
  20354. "description": "套保品种名称",
  20355. "type": "string"
  20356. },
  20357. "needarbitrageratio": {
  20358. "description": "应套利比例",
  20359. "type": "number"
  20360. },
  20361. "needhedgeratio": {
  20362. "description": "应套保比例",
  20363. "type": "number"
  20364. },
  20365. "pricedqty": {
  20366. "description": "已定价量",
  20367. "type": "number"
  20368. },
  20369. "qty": {
  20370. "description": "合同量",
  20371. "type": "number"
  20372. },
  20373. "tradedate": {
  20374. "description": "交易日(登记日)",
  20375. "type": "string"
  20376. },
  20377. "unitid": {
  20378. "description": "品类单位id",
  20379. "type": "integer"
  20380. },
  20381. "userid": {
  20382. "description": "机构id",
  20383. "type": "integer"
  20384. },
  20385. "wrstandardcode": {
  20386. "description": "品类代码",
  20387. "type": "string"
  20388. },
  20389. "wrstandardid": {
  20390. "description": "品类id",
  20391. "type": "integer"
  20392. },
  20393. "wrstandardname": {
  20394. "description": "品类名称",
  20395. "type": "string"
  20396. }
  20397. }
  20398. },
  20399. "models.Ermcp3ExposureParamChLog": {
  20400. "type": "object",
  20401. "properties": {
  20402. "accountid": {
  20403. "description": "期货账户ID (作废, 默认为0)",
  20404. "type": "integer"
  20405. },
  20406. "aftervalue": {
  20407. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20408. "type": "number"
  20409. },
  20410. "areauserid": {
  20411. "description": "所属机构\\交易用户ID",
  20412. "type": "integer"
  20413. },
  20414. "beforevalue": {
  20415. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20416. "type": "number"
  20417. },
  20418. "begindate": {
  20419. "description": "开始交易日",
  20420. "type": "string"
  20421. },
  20422. "changelogtype": {
  20423. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20424. "type": "integer"
  20425. },
  20426. "curvalue": {
  20427. "description": "当前套保\\套利量(套保总量|套利总量)",
  20428. "type": "number"
  20429. },
  20430. "diffvalue": {
  20431. "description": "应套保总量变化量",
  20432. "type": "number"
  20433. },
  20434. "enddate": {
  20435. "description": "结束交易日",
  20436. "type": "string"
  20437. },
  20438. "logdatetime": {
  20439. "description": "流水日期",
  20440. "type": "string"
  20441. },
  20442. "logid": {
  20443. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20444. "type": "string"
  20445. },
  20446. "middlegoodscode": {
  20447. "description": "套保品种代码",
  20448. "type": "string"
  20449. },
  20450. "middlegoodsid": {
  20451. "description": "套保品种",
  20452. "type": "integer"
  20453. },
  20454. "middlegoodsname": {
  20455. "description": "套保品种名称",
  20456. "type": "string"
  20457. },
  20458. "paramaftervalue": {
  20459. "description": "参数变更后(调整后参数值)",
  20460. "type": "number"
  20461. },
  20462. "parambeforevalue": {
  20463. "description": "参数变更前(调整前参数值)",
  20464. "type": "number"
  20465. },
  20466. "tradedate": {
  20467. "description": "交易日(yyyyMMdd)",
  20468. "type": "string"
  20469. }
  20470. }
  20471. },
  20472. "models.Ermcp3ExpourseReport": {
  20473. "type": "object",
  20474. "properties": {
  20475. "accountid": {
  20476. "description": "期货账户ID (作废, 默认为0)",
  20477. "type": "integer"
  20478. },
  20479. "accountname": {
  20480. "description": "机构名称",
  20481. "type": "string"
  20482. },
  20483. "arbitrageqty": {
  20484. "description": "套利量",
  20485. "type": "number"
  20486. },
  20487. "areauserid": {
  20488. "description": "所属机构\\交易用户ID",
  20489. "type": "integer"
  20490. },
  20491. "begindate": {
  20492. "description": "开始交易日",
  20493. "type": "string"
  20494. },
  20495. "buyfutureqty": {
  20496. "description": "买入期货数量",
  20497. "type": "number"
  20498. },
  20499. "buyplanqty": {
  20500. "description": "采购计划数量",
  20501. "type": "number"
  20502. },
  20503. "buypricedqty": {
  20504. "description": "采购合同已定价数量",
  20505. "type": "number"
  20506. },
  20507. "cycletime": {
  20508. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20509. "type": "string"
  20510. },
  20511. "cycletype": {
  20512. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20513. "type": "integer"
  20514. },
  20515. "diffexposure": {
  20516. "description": "变动量(套保敞口)",
  20517. "type": "number"
  20518. },
  20519. "difffutuqty": {
  20520. "description": "变动量(期货)",
  20521. "type": "number"
  20522. },
  20523. "diffhedgeqty": {
  20524. "description": "变动量(现货应套保总量)",
  20525. "type": "number"
  20526. },
  20527. "diffmgqtya": {
  20528. "description": "套保变动量",
  20529. "type": "number"
  20530. },
  20531. "diffmgqtyb": {
  20532. "description": "套利变动量",
  20533. "type": "number"
  20534. },
  20535. "diffqty": {
  20536. "description": "变动量(总敞口)",
  20537. "type": "number"
  20538. },
  20539. "diffspotqty": {
  20540. "description": "变动量(现货)",
  20541. "type": "number"
  20542. },
  20543. "enddate": {
  20544. "description": "结束交易日",
  20545. "type": "string"
  20546. },
  20547. "enumdicname": {
  20548. "description": "单位名称",
  20549. "type": "string"
  20550. },
  20551. "hedgeqty": {
  20552. "description": "套保量",
  20553. "type": "number"
  20554. },
  20555. "mgneedhedgeratio": {
  20556. "description": "套保比例(套保品的)",
  20557. "type": "number"
  20558. },
  20559. "middlegoodsid": {
  20560. "description": "套保品种ID",
  20561. "type": "integer"
  20562. },
  20563. "middlegoodsname": {
  20564. "description": "套保商品名称",
  20565. "type": "string"
  20566. },
  20567. "middlgoodscode": {
  20568. "description": "套保商品代码",
  20569. "type": "string"
  20570. },
  20571. "needarbitrageqty": {
  20572. "description": "应套利量",
  20573. "type": "number"
  20574. },
  20575. "needarbitrageratio": {
  20576. "description": "套利比例(套保品的)",
  20577. "type": "number"
  20578. },
  20579. "needhedgeexposoure": {
  20580. "description": "应套保敞口(套保敞口)",
  20581. "type": "number"
  20582. },
  20583. "needhedgeqty": {
  20584. "description": "应套保量",
  20585. "type": "number"
  20586. },
  20587. "needhedgeratio": {
  20588. "description": "应套保敞口比例",
  20589. "type": "number"
  20590. },
  20591. "oriarbitrageqty": {
  20592. "description": "期初套利量",
  20593. "type": "number"
  20594. },
  20595. "oribuyfutureqty": {
  20596. "description": "期初买入期货数量",
  20597. "type": "number"
  20598. },
  20599. "oribuyplanqty": {
  20600. "description": "期初采购计划数量",
  20601. "type": "number"
  20602. },
  20603. "oribuypricedqty": {
  20604. "description": "期初采购合同已定价数量",
  20605. "type": "number"
  20606. },
  20607. "orihedgeqty": {
  20608. "description": "期初套保量",
  20609. "type": "number"
  20610. },
  20611. "orineedarbitrageqty": {
  20612. "description": "期初应套利量",
  20613. "type": "number"
  20614. },
  20615. "orineedhedgeexposoure": {
  20616. "description": "期初应套保敞口",
  20617. "type": "number"
  20618. },
  20619. "orineedhedgeqty": {
  20620. "description": "期初应套保量",
  20621. "type": "number"
  20622. },
  20623. "orisellfutureqty": {
  20624. "description": "期初卖出期货数量",
  20625. "type": "number"
  20626. },
  20627. "orisellplanqty": {
  20628. "description": "期初销售计划数量",
  20629. "type": "number"
  20630. },
  20631. "orisellpricedqty": {
  20632. "description": "期初销售合同已定价数量",
  20633. "type": "number"
  20634. },
  20635. "oritotalexposure": {
  20636. "description": "期初实时总敞口",
  20637. "type": "number"
  20638. },
  20639. "oritotalfutureqty": {
  20640. "description": "期初期货头寸总量",
  20641. "type": "number"
  20642. },
  20643. "oritotalneedhedgeqty": {
  20644. "description": "期初应套保总量",
  20645. "type": "number"
  20646. },
  20647. "oritotalspotqty": {
  20648. "description": "期初现货头寸总量",
  20649. "type": "number"
  20650. },
  20651. "reckondate": {
  20652. "description": "日照时期(yyyyMMdd)",
  20653. "type": "string"
  20654. },
  20655. "sellfutureqty": {
  20656. "description": "卖出期货数量",
  20657. "type": "number"
  20658. },
  20659. "sellplanqty": {
  20660. "description": "销售计划数量",
  20661. "type": "number"
  20662. },
  20663. "sellpricedqty": {
  20664. "description": "销售合同已定价数量",
  20665. "type": "number"
  20666. },
  20667. "totalexposure": {
  20668. "description": "实时总敞口(总敞口)",
  20669. "type": "number"
  20670. },
  20671. "totalfutureqty": {
  20672. "description": "期货头寸总量(期货总量)",
  20673. "type": "number"
  20674. },
  20675. "totalhedgeratio": {
  20676. "description": "敞口比例",
  20677. "type": "number"
  20678. },
  20679. "totalneedhedgeqty": {
  20680. "description": "应套保总量(现货应套保总量)",
  20681. "type": "number"
  20682. },
  20683. "totalspotqty": {
  20684. "description": "现货头寸总量",
  20685. "type": "number"
  20686. },
  20687. "unitid": {
  20688. "description": "单位id",
  20689. "type": "integer"
  20690. },
  20691. "updatetime": {
  20692. "description": "更新时间",
  20693. "type": "string"
  20694. }
  20695. }
  20696. },
  20697. "models.Ermcp3FinanceReport": {
  20698. "type": "object",
  20699. "properties": {
  20700. "accountname": {
  20701. "description": "机构名称",
  20702. "type": "string"
  20703. },
  20704. "areauserid": {
  20705. "description": "所属机构\\交易用户ID",
  20706. "type": "integer"
  20707. },
  20708. "begindate": {
  20709. "description": "开始交易日",
  20710. "type": "string"
  20711. },
  20712. "biztype": {
  20713. "description": "业务类型 - 1:套保 2:套利",
  20714. "type": "integer"
  20715. },
  20716. "brandname": {
  20717. "description": "品牌名称",
  20718. "type": "string"
  20719. },
  20720. "buypreinvoicedamount": {
  20721. "description": "采购预收票额(预收票额)",
  20722. "type": "number"
  20723. },
  20724. "buyprepaidamount": {
  20725. "description": "采购预付款额(预付货款额)",
  20726. "type": "number"
  20727. },
  20728. "buytodayinvoiceamount": {
  20729. "description": "采购今收票额(今收票额)",
  20730. "type": "number"
  20731. },
  20732. "buytodayrefundamount": {
  20733. "description": "采购今收退款额(今收退款额)",
  20734. "type": "number"
  20735. },
  20736. "buytodaysettleamount": {
  20737. "description": "采购今付款额(今付货款额)",
  20738. "type": "number"
  20739. },
  20740. "buyuninvoicedamount": {
  20741. "description": "采购应收票额(应收票额)",
  20742. "type": "number"
  20743. },
  20744. "buyunpaidamount": {
  20745. "description": "采购应付款额(应付货款额)",
  20746. "type": "number"
  20747. },
  20748. "currencyid": {
  20749. "description": "结算币种ID",
  20750. "type": "integer"
  20751. },
  20752. "currencyname": {
  20753. "description": "币种名称",
  20754. "type": "string"
  20755. },
  20756. "cycletime": {
  20757. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20758. "type": "string"
  20759. },
  20760. "cycletype": {
  20761. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20762. "type": "integer"
  20763. },
  20764. "deliverygoodscode": {
  20765. "description": "现货品种代码",
  20766. "type": "string"
  20767. },
  20768. "deliverygoodsid": {
  20769. "description": "现货品种ID",
  20770. "type": "integer"
  20771. },
  20772. "deliverygoodsname": {
  20773. "description": "现货品种名称",
  20774. "type": "string"
  20775. },
  20776. "enddate": {
  20777. "description": "结束交易日",
  20778. "type": "string"
  20779. },
  20780. "reckondate": {
  20781. "description": "日照时期(yyyyMMdd)",
  20782. "type": "string"
  20783. },
  20784. "sellpreinvoicedamount": {
  20785. "description": "销售预开票额(预开票额)",
  20786. "type": "number"
  20787. },
  20788. "sellprepaidamount": {
  20789. "description": "销售预收款额(预收货款额)",
  20790. "type": "number"
  20791. },
  20792. "selltodayinvoiceamount": {
  20793. "description": "销售今开票额(今开票额)",
  20794. "type": "number"
  20795. },
  20796. "selltodayrefundamount": {
  20797. "description": "销售今付退款额(今付退款额)",
  20798. "type": "number"
  20799. },
  20800. "selltodaysettleamount": {
  20801. "description": "销售今收款额(今收货款额)",
  20802. "type": "number"
  20803. },
  20804. "selluninvoicedamount": {
  20805. "description": "销售应开票额(应开票额)",
  20806. "type": "number"
  20807. },
  20808. "sellunpaidamount": {
  20809. "description": "销售应收款额(应收货款额)",
  20810. "type": "number"
  20811. },
  20812. "spotgoodsbrandid": {
  20813. "description": "现货品牌ID",
  20814. "type": "integer"
  20815. },
  20816. "todaypaysum": {
  20817. "description": "今付款合计",
  20818. "type": "number"
  20819. },
  20820. "todayreceivesum": {
  20821. "description": "今收款合计",
  20822. "type": "number"
  20823. },
  20824. "updatetime": {
  20825. "description": "更新时间",
  20826. "type": "string"
  20827. },
  20828. "wrfactortypeid": {
  20829. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  20830. "type": "integer"
  20831. },
  20832. "wrstandardcode": {
  20833. "description": "品类代码",
  20834. "type": "string"
  20835. },
  20836. "wrstandardid": {
  20837. "description": "现货商品ID",
  20838. "type": "integer"
  20839. },
  20840. "wrstandardname": {
  20841. "description": "品类名称",
  20842. "type": "string"
  20843. }
  20844. }
  20845. },
  20846. "models.Ermcp3GoodsGroup": {
  20847. "type": "object",
  20848. "required": [
  20849. "areauserid"
  20850. ],
  20851. "properties": {
  20852. "agreeunit": {
  20853. "description": "合约单位",
  20854. "type": "number"
  20855. },
  20856. "areauserid": {
  20857. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  20858. "type": "integer"
  20859. },
  20860. "canshort": {
  20861. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20862. "type": "integer"
  20863. },
  20864. "closepricemode": {
  20865. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20866. "type": "integer"
  20867. },
  20868. "createtime": {
  20869. "description": "创建时间",
  20870. "type": "string"
  20871. },
  20872. "creatorid": {
  20873. "description": "创建人",
  20874. "type": "integer"
  20875. },
  20876. "currencyid": {
  20877. "description": "报价货币ID",
  20878. "type": "integer"
  20879. },
  20880. "decimalplace": {
  20881. "description": "报价小数位",
  20882. "type": "integer"
  20883. },
  20884. "enumdicname": {
  20885. "description": "单位名称",
  20886. "type": "string"
  20887. },
  20888. "exchangefullname": {
  20889. "description": "交易所全称",
  20890. "type": "string"
  20891. },
  20892. "excludecfg": {
  20893. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  20894. "type": "integer"
  20895. },
  20896. "exexchangecode": {
  20897. "description": "交易所代码",
  20898. "type": "string"
  20899. },
  20900. "exexchangeid": {
  20901. "description": "外部交易所ID[通道交易]",
  20902. "type": "integer"
  20903. },
  20904. "exexchangename": {
  20905. "description": "交易所名称",
  20906. "type": "string"
  20907. },
  20908. "goodsgroupid": {
  20909. "description": "商品组ID(自增ID)",
  20910. "type": "integer"
  20911. },
  20912. "goodsgroupname": {
  20913. "description": "商品组名称",
  20914. "type": "string"
  20915. },
  20916. "goodsgroupstatus": {
  20917. "description": "商品组状态 - 1:正常 2:注销",
  20918. "type": "integer"
  20919. },
  20920. "goodunitid": {
  20921. "description": "报价单位ID",
  20922. "type": "integer"
  20923. },
  20924. "groupcategroyid": {
  20925. "description": "品种分类ID",
  20926. "type": "integer"
  20927. },
  20928. "innerdealmode": {
  20929. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20930. "type": "integer"
  20931. },
  20932. "marketid": {
  20933. "description": "所属市场ID",
  20934. "type": "integer"
  20935. },
  20936. "modifierid": {
  20937. "description": "修改人",
  20938. "type": "integer"
  20939. },
  20940. "modifytime": {
  20941. "description": "修改时间",
  20942. "type": "string"
  20943. },
  20944. "outerdealmode": {
  20945. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20946. "type": "integer"
  20947. },
  20948. "outergroupcode": {
  20949. "description": "外部商品组代码[通道交易]",
  20950. "type": "string"
  20951. },
  20952. "quoteminunit": {
  20953. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20954. "type": "integer"
  20955. },
  20956. "quotesourcegroupid": {
  20957. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20958. "type": "integer"
  20959. },
  20960. "syncgoodsqty": {
  20961. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20962. "type": "integer"
  20963. }
  20964. }
  20965. },
  20966. "models.Ermcp3HedgePlan": {
  20967. "type": "object",
  20968. "properties": {
  20969. "accountid": {
  20970. "description": "资金账号",
  20971. "type": "integer"
  20972. },
  20973. "areauserid": {
  20974. "description": "用户ID",
  20975. "type": "integer"
  20976. },
  20977. "auditid": {
  20978. "description": "审核id",
  20979. "type": "integer"
  20980. },
  20981. "auditname": {
  20982. "description": "审核人名称",
  20983. "type": "string"
  20984. },
  20985. "auditremark": {
  20986. "description": "审核备注",
  20987. "type": "string"
  20988. },
  20989. "auditsrc": {
  20990. "description": "审核来源 1-管理端 2-终端",
  20991. "type": "integer"
  20992. },
  20993. "audittime": {
  20994. "description": "审核时间",
  20995. "type": "string"
  20996. },
  20997. "contracttype": {
  20998. "description": "计划类型 - 1:采购 -1:销售",
  20999. "type": "integer"
  21000. },
  21001. "convertfactor": {
  21002. "description": "标仓系数",
  21003. "type": "number"
  21004. },
  21005. "createtime": {
  21006. "description": "创建时间",
  21007. "type": "string"
  21008. },
  21009. "currencyid": {
  21010. "description": "币种id",
  21011. "type": "integer"
  21012. },
  21013. "currencyname": {
  21014. "description": "币种名称",
  21015. "type": "string"
  21016. },
  21017. "deliverygoodscode": {
  21018. "description": "现货品种代码",
  21019. "type": "string"
  21020. },
  21021. "deliverygoodsid": {
  21022. "description": "现货品种ID",
  21023. "type": "integer"
  21024. },
  21025. "deliverygoodsname": {
  21026. "description": "现货品种名称",
  21027. "type": "string"
  21028. },
  21029. "enumdicname": {
  21030. "description": "单位名称(现货商品)",
  21031. "type": "string"
  21032. },
  21033. "hedgeplanid": {
  21034. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21035. "type": "string"
  21036. },
  21037. "hedgeplanno": {
  21038. "description": "套保计划编号(名称)",
  21039. "type": "string"
  21040. },
  21041. "hedgeplanstatus": {
  21042. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21043. "type": "integer"
  21044. },
  21045. "planqty": {
  21046. "description": "计划数量",
  21047. "type": "number"
  21048. },
  21049. "plantime": {
  21050. "description": "计划时间",
  21051. "type": "string"
  21052. },
  21053. "producttype": {
  21054. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21055. "type": "integer"
  21056. },
  21057. "remark": {
  21058. "description": "备注",
  21059. "type": "string"
  21060. },
  21061. "spotgoodsdesc": {
  21062. "description": "商品型号",
  21063. "type": "string"
  21064. },
  21065. "taaccountname": {
  21066. "description": "资金账号名称",
  21067. "type": "string"
  21068. },
  21069. "tradeuserid": {
  21070. "description": "交易用户id",
  21071. "type": "integer"
  21072. },
  21073. "tradeusername": {
  21074. "description": "交易用户名称",
  21075. "type": "string"
  21076. },
  21077. "unitid": {
  21078. "description": "单位id(现货商品)",
  21079. "type": "integer"
  21080. },
  21081. "updatetime": {
  21082. "description": "更新时间",
  21083. "type": "string"
  21084. },
  21085. "vatrate": {
  21086. "description": "增值税率",
  21087. "type": "number"
  21088. },
  21089. "wrstandardcode": {
  21090. "description": "品类代码",
  21091. "type": "string"
  21092. },
  21093. "wrstandardid": {
  21094. "description": "品类id",
  21095. "type": "integer"
  21096. },
  21097. "wrstandardname": {
  21098. "description": "品类名称",
  21099. "type": "string"
  21100. },
  21101. "wrunitid": {
  21102. "description": "品类单位id",
  21103. "type": "integer"
  21104. },
  21105. "wrunitidame": {
  21106. "description": "品类单位名称",
  21107. "type": "string"
  21108. }
  21109. }
  21110. },
  21111. "models.Ermcp3InnerTradeLink": {
  21112. "type": "object",
  21113. "properties": {
  21114. "accountid": {
  21115. "description": "期货账号代码 | 资金账号ID",
  21116. "type": "integer"
  21117. },
  21118. "buyorsell": {
  21119. "description": "方向 - 0:买 1:卖",
  21120. "type": "integer"
  21121. },
  21122. "channelbuildtype": {
  21123. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21124. "type": "integer"
  21125. },
  21126. "currencyid": {
  21127. "description": "币种id",
  21128. "type": "integer"
  21129. },
  21130. "currencyname": {
  21131. "description": "结算币种 名称",
  21132. "type": "string"
  21133. },
  21134. "goodscode": {
  21135. "description": "商品代码",
  21136. "type": "string"
  21137. },
  21138. "goodsid": {
  21139. "description": "商品ID",
  21140. "type": "integer"
  21141. },
  21142. "goodsname": {
  21143. "description": "商品名称",
  21144. "type": "string"
  21145. },
  21146. "outtradeid": {
  21147. "description": "外部成交单号",
  21148. "type": "string"
  21149. },
  21150. "taname": {
  21151. "description": "期货账户名称",
  21152. "type": "string"
  21153. },
  21154. "tradeid": {
  21155. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21156. "type": "string"
  21157. },
  21158. "tradeprice": {
  21159. "description": "成交价格",
  21160. "type": "number"
  21161. },
  21162. "tradeqty": {
  21163. "description": "期货成交数量",
  21164. "type": "integer"
  21165. },
  21166. "tradetime": {
  21167. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21168. "type": "string"
  21169. },
  21170. "username": {
  21171. "description": "用户名称",
  21172. "type": "string"
  21173. }
  21174. }
  21175. },
  21176. "models.Ermcp3OutTradeLink": {
  21177. "type": "object",
  21178. "properties": {
  21179. "buyorsell": {
  21180. "description": "买卖方向 - 0:买 1:卖",
  21181. "type": "integer"
  21182. },
  21183. "channelbuildtype": {
  21184. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21185. "type": "integer"
  21186. },
  21187. "currencyname": {
  21188. "description": "币种名称",
  21189. "type": "string"
  21190. },
  21191. "exexchangecode": {
  21192. "description": "交易所代码",
  21193. "type": "string"
  21194. },
  21195. "exexchangename": {
  21196. "description": "交易所名称",
  21197. "type": "string"
  21198. },
  21199. "goodscode": {
  21200. "description": "合约代码",
  21201. "type": "string"
  21202. },
  21203. "goodsid": {
  21204. "description": "合约id",
  21205. "type": "integer"
  21206. },
  21207. "goodsname": {
  21208. "description": "合约名称",
  21209. "type": "string"
  21210. },
  21211. "hasinnerorder": {
  21212. "description": "是否有内部单关联 - 0:无 1:有",
  21213. "type": "integer"
  21214. },
  21215. "hedgeaccountcode": {
  21216. "description": "外部账号 | 对冲账号",
  21217. "type": "string"
  21218. },
  21219. "outtradeid": {
  21220. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21221. "type": "string"
  21222. },
  21223. "tradeprice": {
  21224. "description": "成交价格",
  21225. "type": "number"
  21226. },
  21227. "tradeqty": {
  21228. "description": "成交数量",
  21229. "type": "integer"
  21230. },
  21231. "tradetime": {
  21232. "description": "成交时间",
  21233. "type": "string"
  21234. }
  21235. }
  21236. },
  21237. "models.Ermcp3PaAreaAuditCfg": {
  21238. "type": "object",
  21239. "properties": {
  21240. "areauserid": {
  21241. "description": "用户ID",
  21242. "type": "integer"
  21243. },
  21244. "buyinauditflag": {
  21245. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21246. "type": "integer"
  21247. },
  21248. "customerauditflag": {
  21249. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21250. "type": "integer"
  21251. },
  21252. "deliveryauditflag": {
  21253. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21254. "type": "integer"
  21255. },
  21256. "invoiceauditflag": {
  21257. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21258. "type": "integer"
  21259. },
  21260. "moneyauditflag": {
  21261. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21262. "type": "integer"
  21263. },
  21264. "operatorid": {
  21265. "description": "操作人",
  21266. "type": "integer"
  21267. },
  21268. "operatorsrc": {
  21269. "description": "操作来源 - 1:管理端 2:终端",
  21270. "type": "integer"
  21271. },
  21272. "pointpriceauditflag": {
  21273. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21274. "type": "integer"
  21275. },
  21276. "produceinauditflag": {
  21277. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21278. "type": "integer"
  21279. },
  21280. "produceoutauditflag": {
  21281. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21282. "type": "integer"
  21283. },
  21284. "selloutauditflag": {
  21285. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21286. "type": "integer"
  21287. },
  21288. "spotcontractauditflag": {
  21289. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21290. "type": "integer"
  21291. },
  21292. "updatetime": {
  21293. "description": "更新时间",
  21294. "type": "string"
  21295. }
  21296. }
  21297. },
  21298. "models.Ermcp3PaAreaSubject": {
  21299. "type": "object",
  21300. "properties": {
  21301. "areauserid": {
  21302. "description": "所属机构",
  21303. "type": "integer"
  21304. },
  21305. "canmodify": {
  21306. "description": "是否可修改 - 0:否 1:是",
  21307. "type": "integer"
  21308. },
  21309. "createtime": {
  21310. "description": "创建时间",
  21311. "type": "string"
  21312. },
  21313. "creatorid": {
  21314. "description": "创建人ID",
  21315. "type": "string"
  21316. },
  21317. "creatorsrc": {
  21318. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21319. "type": "integer"
  21320. },
  21321. "modifierid": {
  21322. "description": "修改人",
  21323. "type": "string"
  21324. },
  21325. "modifiersrc": {
  21326. "description": "修改人来源 - 1:管理端 2:终端",
  21327. "type": "integer"
  21328. },
  21329. "modifytime": {
  21330. "description": "修改时间",
  21331. "type": "string"
  21332. },
  21333. "parentsubjectid": {
  21334. "description": "上级主体ID",
  21335. "type": "string"
  21336. },
  21337. "remark": {
  21338. "description": "备注",
  21339. "type": "string"
  21340. },
  21341. "subjectid": {
  21342. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21343. "type": "integer"
  21344. },
  21345. "subjectname": {
  21346. "description": "主体名称",
  21347. "type": "string"
  21348. },
  21349. "subjectstatus": {
  21350. "description": "主体状态 - 1:正常 2: 停用",
  21351. "type": "integer"
  21352. },
  21353. "subjecttype": {
  21354. "description": "主体类型 - 1:交易主体 2:业务部门",
  21355. "type": "integer"
  21356. }
  21357. }
  21358. },
  21359. "models.Ermcp3PaTradeLink": {
  21360. "type": "object",
  21361. "properties": {
  21362. "accountid": {
  21363. "description": "期货账户代码 | 账号ID",
  21364. "type": "integer"
  21365. },
  21366. "agreeunit": {
  21367. "description": "合约乘数",
  21368. "type": "number"
  21369. },
  21370. "buyorsell": {
  21371. "description": "方向 - 0:买 1:卖",
  21372. "type": "integer"
  21373. },
  21374. "channelbuildtype": {
  21375. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21376. "type": "integer"
  21377. },
  21378. "charge": {
  21379. "description": "手续费",
  21380. "type": "number"
  21381. },
  21382. "closepl": {
  21383. "description": "平仓盈亏",
  21384. "type": "number"
  21385. },
  21386. "closetype": {
  21387. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21388. "type": "integer"
  21389. },
  21390. "convertratio": {
  21391. "description": "折算系数",
  21392. "type": "number"
  21393. },
  21394. "enumdicname": {
  21395. "description": "单位名称",
  21396. "type": "string"
  21397. },
  21398. "executeprice": {
  21399. "description": "执行价 [期权]",
  21400. "type": "integer"
  21401. },
  21402. "goodscode": {
  21403. "description": "合约代码",
  21404. "type": "string"
  21405. },
  21406. "goodsgroupid": {
  21407. "description": "对冲品种ID[期货合约商品组ID]",
  21408. "type": "integer"
  21409. },
  21410. "goodsid": {
  21411. "description": "商品ID",
  21412. "type": "integer"
  21413. },
  21414. "goodsname": {
  21415. "description": "合约名称",
  21416. "type": "string"
  21417. },
  21418. "goodunitid": {
  21419. "description": "单位id",
  21420. "type": "integer"
  21421. },
  21422. "hedgeflag": {
  21423. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21424. "type": "integer"
  21425. },
  21426. "marketid": {
  21427. "description": "市场ID",
  21428. "type": "integer"
  21429. },
  21430. "middlegoodsid": {
  21431. "description": "套保品种ID",
  21432. "type": "integer"
  21433. },
  21434. "middlegoodsqty": {
  21435. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21436. "type": "number"
  21437. },
  21438. "optioncode": {
  21439. "description": "期权代码 [期权]",
  21440. "type": "string"
  21441. },
  21442. "ordertype": {
  21443. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21444. "type": "integer"
  21445. },
  21446. "ordertypename": {
  21447. "description": "订单类型",
  21448. "type": "string"
  21449. },
  21450. "parentaccountid": {
  21451. "description": "所属母账户",
  21452. "type": "integer"
  21453. },
  21454. "premium": {
  21455. "description": "权利金 [期权]",
  21456. "type": "number"
  21457. },
  21458. "relatedlot": {
  21459. "description": "已关联数量(已关联数量手) | db:关联手数",
  21460. "type": "number"
  21461. },
  21462. "relatedouttradeid": {
  21463. "description": "关联外部成交单ID",
  21464. "type": "string"
  21465. },
  21466. "relatedqty": {
  21467. "description": "关联数量",
  21468. "type": "number"
  21469. },
  21470. "spotcontractid": {
  21471. "description": "现货合同ID [4:套期保值\\10\\11]",
  21472. "type": "string"
  21473. },
  21474. "taname": {
  21475. "description": "期货账户名称",
  21476. "type": "string"
  21477. },
  21478. "tradeamount": {
  21479. "description": "成交金额(账户)",
  21480. "type": "number"
  21481. },
  21482. "tradedate": {
  21483. "description": "交易日(yyyyMMdd)",
  21484. "type": "string"
  21485. },
  21486. "tradeid": {
  21487. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21488. "type": "string"
  21489. },
  21490. "tradelot": {
  21491. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  21492. "type": "integer"
  21493. },
  21494. "tradeprice": {
  21495. "description": "成交价格",
  21496. "type": "number"
  21497. },
  21498. "tradetime": {
  21499. "description": "时间 | db:成交时间",
  21500. "type": "string"
  21501. },
  21502. "tradetype": {
  21503. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21504. "type": "integer"
  21505. },
  21506. "userid": {
  21507. "description": "所属机构 - 所属母账户的UserID",
  21508. "type": "string"
  21509. },
  21510. "username": {
  21511. "description": "用户名称",
  21512. "type": "string"
  21513. }
  21514. }
  21515. },
  21516. "models.Ermcp3RootUserAccount": {
  21517. "type": "object",
  21518. "properties": {
  21519. "accountname": {
  21520. "description": "账户名称(机构名称)",
  21521. "type": "string"
  21522. },
  21523. "accountstatus": {
  21524. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21525. "type": "integer"
  21526. },
  21527. "applysrc": {
  21528. "description": "申请来源 - 1:管理端 2:终端",
  21529. "type": "integer"
  21530. },
  21531. "auditremark": {
  21532. "description": "审核备注",
  21533. "type": "string"
  21534. },
  21535. "auditsrc": {
  21536. "description": "审核来源 - 1:管理端 2:终端",
  21537. "type": "integer"
  21538. },
  21539. "audittime": {
  21540. "description": "审核时间",
  21541. "type": "string"
  21542. },
  21543. "audituserid": {
  21544. "description": "审核人",
  21545. "type": "integer"
  21546. },
  21547. "broker": {
  21548. "description": "所属经纪人ID",
  21549. "type": "integer"
  21550. },
  21551. "canceltime": {
  21552. "description": "销户时间",
  21553. "type": "string"
  21554. },
  21555. "canceluserid": {
  21556. "description": "销户人",
  21557. "type": "integer"
  21558. },
  21559. "canrecommend": {
  21560. "description": "是否可推荐 - 0:不可 1;可",
  21561. "type": "integer"
  21562. },
  21563. "createtime": {
  21564. "description": "创建时间",
  21565. "type": "string"
  21566. },
  21567. "creatorid": {
  21568. "description": "创建人",
  21569. "type": "integer"
  21570. },
  21571. "hasauth": {
  21572. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21573. "type": "integer"
  21574. },
  21575. "isanonymous": {
  21576. "description": "是否匿名下单 - 0:否 1:是",
  21577. "type": "integer"
  21578. },
  21579. "maxinvestornum": {
  21580. "description": "最大用户数(经纪会员下投资者个数)",
  21581. "type": "integer"
  21582. },
  21583. "memberuserid": {
  21584. "description": "所属会员ID",
  21585. "type": "integer"
  21586. },
  21587. "modifierid": {
  21588. "description": "修改人",
  21589. "type": "integer"
  21590. },
  21591. "modifyremark": {
  21592. "description": "变更备注",
  21593. "type": "string"
  21594. },
  21595. "modifystatus": {
  21596. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21597. "type": "integer"
  21598. },
  21599. "modifytime": {
  21600. "description": "修改时间",
  21601. "type": "string"
  21602. },
  21603. "parenttopuser": {
  21604. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  21605. "type": "string"
  21606. },
  21607. "parentuserid": {
  21608. "description": "所属机构ID",
  21609. "type": "integer"
  21610. },
  21611. "reckonaccountid": {
  21612. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21613. "type": "integer"
  21614. },
  21615. "refercount": {
  21616. "description": "推荐总人数",
  21617. "type": "integer"
  21618. },
  21619. "refereeuserid": {
  21620. "description": "推荐人ID",
  21621. "type": "integer"
  21622. },
  21623. "refernum": {
  21624. "description": "推荐码",
  21625. "type": "string"
  21626. },
  21627. "rootuserid": {
  21628. "description": "根用户ID",
  21629. "type": "integer"
  21630. },
  21631. "subaccountlevel": {
  21632. "description": "子账户层数",
  21633. "type": "integer"
  21634. },
  21635. "subarealevelpath": {
  21636. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21637. "type": "string"
  21638. },
  21639. "userid": {
  21640. "description": "用户ID",
  21641. "type": "integer"
  21642. },
  21643. "usertype": {
  21644. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21645. "type": "integer"
  21646. }
  21647. }
  21648. },
  21649. "models.Ermcp3SCMiddleGoods": {
  21650. "type": "object",
  21651. "properties": {
  21652. "contractno": {
  21653. "description": "合同编号",
  21654. "type": "string"
  21655. },
  21656. "contracttype": {
  21657. "description": "合同类型 1:采购 -1:销售",
  21658. "type": "integer"
  21659. },
  21660. "customername": {
  21661. "description": "对手手名称",
  21662. "type": "string"
  21663. },
  21664. "customeruserid": {
  21665. "description": "对手id",
  21666. "type": "integer"
  21667. },
  21668. "middlegoodsid": {
  21669. "description": "套保品种ID",
  21670. "type": "integer"
  21671. },
  21672. "middlegoodspricedqty3": {
  21673. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  21674. "type": "number"
  21675. },
  21676. "needhedgeratio": {
  21677. "description": "套保比例",
  21678. "type": "number"
  21679. },
  21680. "pricedqty": {
  21681. "description": "已关联数量 | 已定价量",
  21682. "type": "number"
  21683. },
  21684. "spotcontractid": {
  21685. "description": "合同编号",
  21686. "type": "string"
  21687. },
  21688. "unitid": {
  21689. "description": "现货单位id",
  21690. "type": "integer"
  21691. },
  21692. "userid": {
  21693. "description": "用户id",
  21694. "type": "integer"
  21695. },
  21696. "vatrate": {
  21697. "description": "增值税率",
  21698. "type": "number"
  21699. },
  21700. "wrstandardcode": {
  21701. "description": "现货商品代码",
  21702. "type": "string"
  21703. },
  21704. "wrstandardid": {
  21705. "description": "现货商品id",
  21706. "type": "integer"
  21707. },
  21708. "wrstandardname": {
  21709. "description": "现货商品名称",
  21710. "type": "string"
  21711. }
  21712. }
  21713. },
  21714. "models.Ermcp3SCMiddleGoodsReport": {
  21715. "type": "object",
  21716. "properties": {
  21717. "begindate": {
  21718. "description": "开始交易日",
  21719. "type": "string"
  21720. },
  21721. "contractno": {
  21722. "description": "合同编号",
  21723. "type": "string"
  21724. },
  21725. "contracttype": {
  21726. "description": "合同类型 1:采购 -1:销售",
  21727. "type": "integer"
  21728. },
  21729. "convertratio": {
  21730. "description": "折算系数",
  21731. "type": "number"
  21732. },
  21733. "cycletime": {
  21734. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21735. "type": "string"
  21736. },
  21737. "cycletype": {
  21738. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21739. "type": "integer"
  21740. },
  21741. "deliverygoodscode": {
  21742. "description": "品种代码",
  21743. "type": "string"
  21744. },
  21745. "deliverygoodsid": {
  21746. "description": "现货品种ID",
  21747. "type": "integer"
  21748. },
  21749. "deliverygoodsname": {
  21750. "description": "品种名称",
  21751. "type": "string"
  21752. },
  21753. "diffprice": {
  21754. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  21755. "type": "number"
  21756. },
  21757. "diffqty": {
  21758. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  21759. "type": "number"
  21760. },
  21761. "enddate": {
  21762. "description": "结束交易日",
  21763. "type": "string"
  21764. },
  21765. "hedgeplanqty": {
  21766. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  21767. "type": "number"
  21768. },
  21769. "mathname": {
  21770. "description": "交易对手方",
  21771. "type": "string"
  21772. },
  21773. "middlegoodscode": {
  21774. "description": "套保品种代码",
  21775. "type": "string"
  21776. },
  21777. "middlegoodsid": {
  21778. "description": "套保品种ID",
  21779. "type": "integer"
  21780. },
  21781. "middlegoodsname": {
  21782. "description": "套保品种名称",
  21783. "type": "string"
  21784. },
  21785. "middlegoodspricedqty": {
  21786. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  21787. "type": "number"
  21788. },
  21789. "middlegoodspricedqty2": {
  21790. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  21791. "type": "number"
  21792. },
  21793. "middlegoodspricedqty3": {
  21794. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  21795. "type": "number"
  21796. },
  21797. "needhedgeratio": {
  21798. "description": "套保系数",
  21799. "type": "number"
  21800. },
  21801. "pricedamount": {
  21802. "description": "已定价额(现货)",
  21803. "type": "number"
  21804. },
  21805. "pricedamount2": {
  21806. "description": "已定价额(现货-基价额)",
  21807. "type": "number"
  21808. },
  21809. "pricedqty": {
  21810. "description": "已定价量(现货)",
  21811. "type": "number"
  21812. },
  21813. "reckondate": {
  21814. "description": "日照时期(yyyyMMdd)",
  21815. "type": "string"
  21816. },
  21817. "relatedmiddlegoodsamount": {
  21818. "description": "已关联额(期货)",
  21819. "type": "number"
  21820. },
  21821. "relatedmiddlegoodsqty": {
  21822. "description": "已关联量(套保品种)(期货)",
  21823. "type": "number"
  21824. },
  21825. "spotcontractid": {
  21826. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  21827. "type": "string"
  21828. },
  21829. "todayavgfutuprice": {
  21830. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty",
  21831. "type": "number"
  21832. },
  21833. "todayavgprice": {
  21834. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  21835. "type": "number"
  21836. },
  21837. "todayavgprice2": {
  21838. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  21839. "type": "number"
  21840. },
  21841. "todaypricedamount": {
  21842. "description": "今日定价额(现货)",
  21843. "type": "number"
  21844. },
  21845. "todaypricedamount2": {
  21846. "description": "今日定价额(现货-基价额)",
  21847. "type": "number"
  21848. },
  21849. "todaypricedqty": {
  21850. "description": "今日定价量(现货)",
  21851. "type": "number"
  21852. },
  21853. "todayrelatedmiddlegoodsamount": {
  21854. "description": "今日关联额(期货)",
  21855. "type": "number"
  21856. },
  21857. "todayrelatedmiddlegoodsqty": {
  21858. "description": "今日关联量(期货)",
  21859. "type": "number"
  21860. },
  21861. "updatetime": {
  21862. "description": "更新时间",
  21863. "type": "string"
  21864. },
  21865. "userid": {
  21866. "description": "合同所属用户id",
  21867. "type": "integer"
  21868. },
  21869. "vatrate": {
  21870. "description": "增值税率",
  21871. "type": "number"
  21872. },
  21873. "wrstandardcode": {
  21874. "description": "商品(品类) 代码",
  21875. "type": "string"
  21876. },
  21877. "wrstandardid": {
  21878. "description": "现货商品ID",
  21879. "type": "integer"
  21880. },
  21881. "wrstandardname": {
  21882. "description": "商品(品类) 名称",
  21883. "type": "string"
  21884. }
  21885. }
  21886. },
  21887. "models.Ermcp3SellBuyContract": {
  21888. "type": "object",
  21889. "properties": {
  21890. "accountid": {
  21891. "description": "期货账户id",
  21892. "type": "string"
  21893. },
  21894. "accountname": {
  21895. "description": "账户名称",
  21896. "type": "string"
  21897. },
  21898. "attachment": {
  21899. "description": "附件",
  21900. "type": "string"
  21901. },
  21902. "audittime": {
  21903. "description": "审核时间",
  21904. "type": "string"
  21905. },
  21906. "biztype": {
  21907. "description": "业务类型 1-套保 2-套利",
  21908. "type": "integer"
  21909. },
  21910. "brandname": {
  21911. "description": "品牌名称",
  21912. "type": "string"
  21913. },
  21914. "contracctstatus": {
  21915. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21916. "type": "integer"
  21917. },
  21918. "contractmargin": {
  21919. "description": "合同保证金",
  21920. "type": "number"
  21921. },
  21922. "contractno": {
  21923. "description": "合同编号",
  21924. "type": "string"
  21925. },
  21926. "contracttype": {
  21927. "description": "合同类型 1-采购, -1-销售",
  21928. "type": "integer"
  21929. },
  21930. "convertfactor": {
  21931. "description": "标仓系数(品类)",
  21932. "type": "number"
  21933. },
  21934. "createtime": {
  21935. "description": "创建时间",
  21936. "type": "string"
  21937. },
  21938. "currencyid": {
  21939. "description": "币种id",
  21940. "type": "integer"
  21941. },
  21942. "currencyname": {
  21943. "description": "币种名称",
  21944. "type": "string"
  21945. },
  21946. "daikaiamount": {
  21947. "description": "应收(开)票额",
  21948. "type": "number"
  21949. },
  21950. "deliveryenddate": {
  21951. "description": "交割结束日",
  21952. "type": "string"
  21953. },
  21954. "deliverygoodscode": {
  21955. "description": "现货品种代码",
  21956. "type": "string"
  21957. },
  21958. "deliverygoodsid": {
  21959. "description": "现货商品ID",
  21960. "type": "integer"
  21961. },
  21962. "deliverygoodsname": {
  21963. "description": "现货品种名称",
  21964. "type": "string"
  21965. },
  21966. "deliverystartdate": {
  21967. "description": "交割开始日",
  21968. "type": "string"
  21969. },
  21970. "enddate": {
  21971. "description": "点价结束日",
  21972. "type": "string"
  21973. },
  21974. "enumdicname": {
  21975. "description": "单位名称",
  21976. "type": "string"
  21977. },
  21978. "goodscode": {
  21979. "description": "点价商品代码",
  21980. "type": "string"
  21981. },
  21982. "goodsid": {
  21983. "description": "点价商品ID",
  21984. "type": "integer"
  21985. },
  21986. "goodsname": {
  21987. "description": "点价商品名称",
  21988. "type": "string"
  21989. },
  21990. "invoiceamount": {
  21991. "description": "已开票额",
  21992. "type": "number"
  21993. },
  21994. "loanamount": {
  21995. "description": "贷款总额=已定价额+调整金额",
  21996. "type": "number"
  21997. },
  21998. "margin": {
  21999. "description": "保证金",
  22000. "type": "number"
  22001. },
  22002. "meruserid": {
  22003. "description": "跟单员id",
  22004. "type": "integer"
  22005. },
  22006. "meruserlogincode": {
  22007. "description": "跟单员登录代码",
  22008. "type": "string"
  22009. },
  22010. "merusername": {
  22011. "description": "跟单员名称",
  22012. "type": "string"
  22013. },
  22014. "nickname": {
  22015. "description": "账户昵称",
  22016. "type": "string"
  22017. },
  22018. "payamount": {
  22019. "description": "已收付额(收款或付款)",
  22020. "type": "number"
  22021. },
  22022. "preinvoiceamount": {
  22023. "description": "预收(开)票额",
  22024. "type": "number"
  22025. },
  22026. "prepayamount": {
  22027. "description": "预收付额",
  22028. "type": "number"
  22029. },
  22030. "price": {
  22031. "description": "价格",
  22032. "type": "number"
  22033. },
  22034. "pricedamount": {
  22035. "description": "已定价额",
  22036. "type": "number"
  22037. },
  22038. "pricedavg": {
  22039. "description": "已点均价",
  22040. "type": "number"
  22041. },
  22042. "pricedqty": {
  22043. "description": "已定价量",
  22044. "type": "number"
  22045. },
  22046. "pricemove": {
  22047. "description": "升贴水",
  22048. "type": "number"
  22049. },
  22050. "pricetype": {
  22051. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22052. "type": "integer"
  22053. },
  22054. "producttype": {
  22055. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22056. "type": "integer"
  22057. },
  22058. "qty": {
  22059. "description": "合同量",
  22060. "type": "number"
  22061. },
  22062. "reckonadjustamount": {
  22063. "description": "调整金额",
  22064. "type": "number"
  22065. },
  22066. "reckonedamount": {
  22067. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22068. "type": "number"
  22069. },
  22070. "reckonotheramount": {
  22071. "description": "其它费用",
  22072. "type": "number"
  22073. },
  22074. "reckonrealqty": {
  22075. "description": "已确定量",
  22076. "type": "number"
  22077. },
  22078. "remark": {
  22079. "description": "备注",
  22080. "type": "string"
  22081. },
  22082. "saleuserid": {
  22083. "description": "业务员id",
  22084. "type": "integer"
  22085. },
  22086. "saleuserlogincode": {
  22087. "description": "业务员登录代码",
  22088. "type": "string"
  22089. },
  22090. "saleusername": {
  22091. "description": "业务员名称",
  22092. "type": "string"
  22093. },
  22094. "spotcontractid": {
  22095. "description": "合同ID",
  22096. "type": "string"
  22097. },
  22098. "spotgoodsbrandid": {
  22099. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22100. "type": "integer"
  22101. },
  22102. "spotgoodsdesc": {
  22103. "description": "商品型号(商品规格)",
  22104. "type": "string"
  22105. },
  22106. "startdate": {
  22107. "description": "点价开始日",
  22108. "type": "string"
  22109. },
  22110. "subjectid": {
  22111. "description": "交易主体ID",
  22112. "type": "string"
  22113. },
  22114. "subjectname": {
  22115. "description": "交易主体名称",
  22116. "type": "string"
  22117. },
  22118. "totalamount": {
  22119. "description": "合计总额",
  22120. "type": "number"
  22121. },
  22122. "tradeuserid": {
  22123. "description": "交易员id",
  22124. "type": "integer"
  22125. },
  22126. "tradeuserlogincode": {
  22127. "description": "交易员登录代码",
  22128. "type": "string"
  22129. },
  22130. "tradeusername": {
  22131. "description": "交易员名称",
  22132. "type": "string"
  22133. },
  22134. "unpayamount": {
  22135. "description": "应收付款额(应支付或应收款)",
  22136. "type": "number"
  22137. },
  22138. "unpricedqty": {
  22139. "description": "未定价量",
  22140. "type": "number"
  22141. },
  22142. "unsureqty": {
  22143. "description": "未确定量",
  22144. "type": "number"
  22145. },
  22146. "userid": {
  22147. "description": "机构ID",
  22148. "type": "integer"
  22149. },
  22150. "vatrate": {
  22151. "description": "增值税率",
  22152. "type": "number"
  22153. },
  22154. "wrstandardcode": {
  22155. "description": "品类代码",
  22156. "type": "string"
  22157. },
  22158. "wrstandardid": {
  22159. "description": "品类ID",
  22160. "type": "integer"
  22161. },
  22162. "wrstandardname": {
  22163. "description": "品类名称",
  22164. "type": "string"
  22165. }
  22166. }
  22167. },
  22168. "models.Ermcp3SpotGoodsPrice": {
  22169. "type": "object",
  22170. "properties": {
  22171. "areauserid": {
  22172. "description": "所属机构id",
  22173. "type": "integer"
  22174. },
  22175. "brandname": {
  22176. "description": "品牌名称",
  22177. "type": "string"
  22178. },
  22179. "currencyid": {
  22180. "description": "报价货币ID",
  22181. "type": "integer"
  22182. },
  22183. "currencyname": {
  22184. "description": "币种名称",
  22185. "type": "string"
  22186. },
  22187. "deliverygoodscode": {
  22188. "description": "现货商品代码",
  22189. "type": "string"
  22190. },
  22191. "deliverygoodsid": {
  22192. "description": "现货商品id",
  22193. "type": "integer"
  22194. },
  22195. "deliverygoodsname": {
  22196. "description": "现货商品名称",
  22197. "type": "string"
  22198. },
  22199. "enumdicname": {
  22200. "description": "现货商品单位名称",
  22201. "type": "string"
  22202. },
  22203. "gbenumdicname": {
  22204. "description": "品类单位名称",
  22205. "type": "string"
  22206. },
  22207. "gmunitid": {
  22208. "description": "品类单位id",
  22209. "type": "integer"
  22210. },
  22211. "isvalid": {
  22212. "description": "是否有效 - 0:无效 1:有效",
  22213. "type": "integer"
  22214. },
  22215. "operateid": {
  22216. "description": "最后操作人",
  22217. "type": "integer"
  22218. },
  22219. "operatesrc": {
  22220. "description": "最后操作来源 - 1:管理端 2:终端",
  22221. "type": "integer"
  22222. },
  22223. "operatetime": {
  22224. "description": "最后操作时间",
  22225. "type": "string"
  22226. },
  22227. "operatorname": {
  22228. "description": "操作人名称",
  22229. "type": "string"
  22230. },
  22231. "spotgoodsbrandid": {
  22232. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22233. "type": "integer"
  22234. },
  22235. "spotgoodsprice": {
  22236. "description": "现货价格",
  22237. "type": "number"
  22238. },
  22239. "tradedate": {
  22240. "description": "交易日(yyyyMMdd)",
  22241. "type": "string"
  22242. },
  22243. "unitid": {
  22244. "description": "现货商品单位id",
  22245. "type": "integer"
  22246. },
  22247. "wrstandardcode": {
  22248. "description": "品类代码",
  22249. "type": "string"
  22250. },
  22251. "wrstandardid": {
  22252. "description": "现货品类ID(通用则为0)",
  22253. "type": "integer"
  22254. },
  22255. "wrstandardname": {
  22256. "description": "品类名称",
  22257. "type": "string"
  22258. }
  22259. }
  22260. },
  22261. "models.Ermcp3SpotGoodsPriceLog": {
  22262. "type": "object",
  22263. "properties": {
  22264. "areauserid": {
  22265. "description": "所属机构id",
  22266. "type": "integer"
  22267. },
  22268. "brandname": {
  22269. "description": "品牌名称",
  22270. "type": "string"
  22271. },
  22272. "currencyid": {
  22273. "description": "报价货币ID",
  22274. "type": "integer"
  22275. },
  22276. "deliverygoodscode": {
  22277. "description": "现货商品代码",
  22278. "type": "string"
  22279. },
  22280. "deliverygoodsid": {
  22281. "description": "现货商品id",
  22282. "type": "integer"
  22283. },
  22284. "deliverygoodsname": {
  22285. "description": "现货商品名称",
  22286. "type": "string"
  22287. },
  22288. "enumdicname": {
  22289. "description": "现货商品单位名称",
  22290. "type": "string"
  22291. },
  22292. "gbenumdicname": {
  22293. "description": "品类单位名称",
  22294. "type": "string"
  22295. },
  22296. "gmunitid": {
  22297. "description": "品类单位id",
  22298. "type": "integer"
  22299. },
  22300. "logid": {
  22301. "description": "日志id",
  22302. "type": "integer"
  22303. },
  22304. "operateid": {
  22305. "description": "最后操作人",
  22306. "type": "integer"
  22307. },
  22308. "operatesrc": {
  22309. "description": "最后操作来源 - 1:管理端 2:终端",
  22310. "type": "integer"
  22311. },
  22312. "operatetime": {
  22313. "description": "最后操作时间",
  22314. "type": "string"
  22315. },
  22316. "operatorname": {
  22317. "description": "操作人名称",
  22318. "type": "string"
  22319. },
  22320. "spotgoodsbrandid": {
  22321. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22322. "type": "integer"
  22323. },
  22324. "spotgoodsprice": {
  22325. "description": "现货价格",
  22326. "type": "number"
  22327. },
  22328. "tradedate": {
  22329. "description": "交易日(yyyyMMdd)",
  22330. "type": "string"
  22331. },
  22332. "unitid": {
  22333. "description": "现货商品单位id",
  22334. "type": "integer"
  22335. },
  22336. "wrstandardcode": {
  22337. "description": "品类代码",
  22338. "type": "string"
  22339. },
  22340. "wrstandardid": {
  22341. "description": "现货品类ID(通用则为0)",
  22342. "type": "integer"
  22343. },
  22344. "wrstandardname": {
  22345. "description": "品类名称",
  22346. "type": "string"
  22347. }
  22348. }
  22349. },
  22350. "models.Ermcp3SubTaaccount": {
  22351. "type": "object",
  22352. "properties": {
  22353. "accountid": {
  22354. "description": "资金账户ID",
  22355. "type": "integer"
  22356. },
  22357. "parentaccountcode": {
  22358. "description": "所属根账号代码(母账号代码)",
  22359. "type": "string"
  22360. },
  22361. "parentaccountid": {
  22362. "description": "所属根账号(母账号)",
  22363. "type": "integer"
  22364. },
  22365. "taname": {
  22366. "description": "资金账号名称",
  22367. "type": "string"
  22368. },
  22369. "tradestatus": {
  22370. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  22371. "type": "integer"
  22372. },
  22373. "username": {
  22374. "description": "交易用户",
  22375. "type": "string"
  22376. }
  22377. }
  22378. },
  22379. "models.Ermcp3TaFutuReDataReport": {
  22380. "type": "object",
  22381. "properties": {
  22382. "accountid": {
  22383. "description": "交易账户",
  22384. "type": "integer"
  22385. },
  22386. "accountname": {
  22387. "description": "交易账号名称",
  22388. "type": "string"
  22389. },
  22390. "agreeunit": {
  22391. "description": "商品合约单位",
  22392. "type": "number"
  22393. },
  22394. "begindate": {
  22395. "description": "开始交易日",
  22396. "type": "string"
  22397. },
  22398. "buyorsell": {
  22399. "description": "持仓方向",
  22400. "type": "integer"
  22401. },
  22402. "charge": {
  22403. "description": "手续费",
  22404. "type": "number"
  22405. },
  22406. "closeavgprice": {
  22407. "description": "平仓均价",
  22408. "type": "number"
  22409. },
  22410. "closepl": {
  22411. "description": "平仓损益",
  22412. "type": "number"
  22413. },
  22414. "currencyid": {
  22415. "description": "结算币种ID",
  22416. "type": "integer"
  22417. },
  22418. "currencyname": {
  22419. "description": "币种名称",
  22420. "type": "string"
  22421. },
  22422. "cycletime": {
  22423. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22424. "type": "string"
  22425. },
  22426. "cycletype": {
  22427. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22428. "type": "integer"
  22429. },
  22430. "enddate": {
  22431. "description": "结束交易日",
  22432. "type": "string"
  22433. },
  22434. "enumdicname": {
  22435. "description": "单位名称",
  22436. "type": "string"
  22437. },
  22438. "floatpl": {
  22439. "description": "浮动损益",
  22440. "type": "number"
  22441. },
  22442. "goodscode": {
  22443. "description": "交易合约代码",
  22444. "type": "string"
  22445. },
  22446. "goodsgroupid": {
  22447. "description": "交易品种",
  22448. "type": "integer"
  22449. },
  22450. "goodsgroupname": {
  22451. "description": "交易品种名称",
  22452. "type": "string"
  22453. },
  22454. "goodsgroupspotqty": {
  22455. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  22456. "type": "number"
  22457. },
  22458. "goodsid": {
  22459. "description": "交易合约",
  22460. "type": "integer"
  22461. },
  22462. "goodsname": {
  22463. "description": "交易合约名称",
  22464. "type": "string"
  22465. },
  22466. "goodunitid": {
  22467. "description": "交易合约单位id",
  22468. "type": "integer"
  22469. },
  22470. "holdamount": {
  22471. "description": "期末持仓额",
  22472. "type": "number"
  22473. },
  22474. "holdqty": {
  22475. "description": "期末持仓量",
  22476. "type": "number"
  22477. },
  22478. "lastholdamount": {
  22479. "description": "当前持仓额",
  22480. "type": "number"
  22481. },
  22482. "lastprice": {
  22483. "description": "最新价",
  22484. "type": "number"
  22485. },
  22486. "middlegoodsid": {
  22487. "description": "套保品种id",
  22488. "type": "integer"
  22489. },
  22490. "middlegoodsname": {
  22491. "description": "套保商品名称",
  22492. "type": "string"
  22493. },
  22494. "middlegoodsqty": {
  22495. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  22496. "type": "number"
  22497. },
  22498. "middlgoodscode": {
  22499. "description": "套保商品代码",
  22500. "type": "string"
  22501. },
  22502. "openamount": {
  22503. "description": "期末开仓额",
  22504. "type": "number"
  22505. },
  22506. "openavgprice": {
  22507. "description": "开仓均价",
  22508. "type": "number"
  22509. },
  22510. "oriholdamount": {
  22511. "description": "期初持仓额",
  22512. "type": "number"
  22513. },
  22514. "oriholdqty": {
  22515. "description": "期初持仓量",
  22516. "type": "number"
  22517. },
  22518. "oriopenamount": {
  22519. "description": "期初开仓额",
  22520. "type": "number"
  22521. },
  22522. "outergroupcode": {
  22523. "description": "交易品种代码",
  22524. "type": "string"
  22525. },
  22526. "qtydecimalplace": {
  22527. "description": "成交量小数位",
  22528. "type": "integer"
  22529. },
  22530. "reckondate": {
  22531. "description": "日照时期(yyyyMMdd)",
  22532. "type": "string"
  22533. },
  22534. "reckonholdamount": {
  22535. "description": "结算持仓额",
  22536. "type": "number"
  22537. },
  22538. "reckonpl": {
  22539. "description": "结算损益",
  22540. "type": "number"
  22541. },
  22542. "reckonpl2": {
  22543. "description": "结算逐笔盈亏",
  22544. "type": "number"
  22545. },
  22546. "reckonprice": {
  22547. "description": "结算价",
  22548. "type": "number"
  22549. },
  22550. "relateduserid": {
  22551. "description": "账户关联用户ID",
  22552. "type": "integer"
  22553. },
  22554. "todaycloseamount": {
  22555. "description": "今平仓额",
  22556. "type": "number"
  22557. },
  22558. "todaycloseqty": {
  22559. "description": "今平仓量",
  22560. "type": "number"
  22561. },
  22562. "todaygoodsgroupspotqty": {
  22563. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  22564. "type": "number"
  22565. },
  22566. "todaymiddlegoodsqty": {
  22567. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  22568. "type": "number"
  22569. },
  22570. "todayopenamount": {
  22571. "description": "今开仓额",
  22572. "type": "number"
  22573. },
  22574. "todayopenqty": {
  22575. "description": "今开仓量",
  22576. "type": "number"
  22577. },
  22578. "userid": {
  22579. "description": "账户所属用户ID",
  22580. "type": "integer"
  22581. }
  22582. }
  22583. },
  22584. "models.Ermcp3TradeLinkDetail": {
  22585. "type": "object",
  22586. "properties": {
  22587. "accountid": {
  22588. "description": "资金账号",
  22589. "type": "integer"
  22590. },
  22591. "agreeunit": {
  22592. "description": "合约乘数",
  22593. "type": "number"
  22594. },
  22595. "areauserid": {
  22596. "description": "所属机构",
  22597. "type": "string"
  22598. },
  22599. "bizsubjectid": {
  22600. "description": "归属业务部门ID - SubjectID",
  22601. "type": "string"
  22602. },
  22603. "buyorsell": {
  22604. "description": "方向 - 0:买 1:卖",
  22605. "type": "integer"
  22606. },
  22607. "channelbuildtype": {
  22608. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22609. "type": "integer"
  22610. },
  22611. "contractno": {
  22612. "description": "现货编号 (合同编号)",
  22613. "type": "string"
  22614. },
  22615. "convertratio": {
  22616. "description": "折算系数",
  22617. "type": "number"
  22618. },
  22619. "createtime": {
  22620. "description": "关联时间 | 创建时间",
  22621. "type": "string"
  22622. },
  22623. "creatorid": {
  22624. "description": "创建人ID",
  22625. "type": "string"
  22626. },
  22627. "creatorsrc": {
  22628. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22629. "type": "integer"
  22630. },
  22631. "enumdicname": {
  22632. "description": "单位名称",
  22633. "type": "string"
  22634. },
  22635. "goodscode": {
  22636. "description": "合约代码",
  22637. "type": "string"
  22638. },
  22639. "goodsgroupid": {
  22640. "description": "对冲品种ID[期货合约商品组ID]",
  22641. "type": "integer"
  22642. },
  22643. "goodsid": {
  22644. "description": "商品ID",
  22645. "type": "integer"
  22646. },
  22647. "goodsname": {
  22648. "description": "合约名称",
  22649. "type": "string"
  22650. },
  22651. "hedgeflag": {
  22652. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22653. "type": "integer"
  22654. },
  22655. "linkdetailid": {
  22656. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  22657. "type": "string"
  22658. },
  22659. "linkstatus": {
  22660. "description": "关联状态 - 1:成功 2:失败",
  22661. "type": "integer"
  22662. },
  22663. "middlegoodsid": {
  22664. "description": "套保品种ID",
  22665. "type": "integer"
  22666. },
  22667. "relatedlot": {
  22668. "description": "关联手数",
  22669. "type": "number"
  22670. },
  22671. "relatedmode": {
  22672. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  22673. "type": "integer"
  22674. },
  22675. "relatedqty": {
  22676. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  22677. "type": "number"
  22678. },
  22679. "retcode": {
  22680. "description": "返回码",
  22681. "type": "integer"
  22682. },
  22683. "saleuserid": {
  22684. "description": "业务员ID",
  22685. "type": "string"
  22686. },
  22687. "spotcontractid": {
  22688. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  22689. "type": "string"
  22690. },
  22691. "taname": {
  22692. "description": "期货账户",
  22693. "type": "string"
  22694. },
  22695. "tradedate": {
  22696. "description": "关联交易日(yyyyMMdd)",
  22697. "type": "string"
  22698. },
  22699. "tradeid": {
  22700. "description": "期货订单号 | 内部成交单ID",
  22701. "type": "string"
  22702. },
  22703. "tradelot": {
  22704. "description": "成交数量 | 成交手数",
  22705. "type": "integer"
  22706. },
  22707. "tradeprice": {
  22708. "description": "成交价格",
  22709. "type": "number"
  22710. },
  22711. "tradetime": {
  22712. "description": "期货成交时间",
  22713. "type": "string"
  22714. },
  22715. "tradetradedate": {
  22716. "description": "成交交易日(yyyyMMdd)",
  22717. "type": "string"
  22718. },
  22719. "username": {
  22720. "description": "用户名称",
  22721. "type": "string"
  22722. }
  22723. }
  22724. },
  22725. "models.Ermcp3Wrstandard": {
  22726. "type": "object",
  22727. "properties": {
  22728. "areauserid": {
  22729. "description": "所属机构",
  22730. "type": "integer"
  22731. },
  22732. "cantrade": {
  22733. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  22734. "type": "integer"
  22735. },
  22736. "convertfactor": {
  22737. "description": "标仓系数",
  22738. "type": "number"
  22739. },
  22740. "createtime": {
  22741. "description": "创建时间",
  22742. "type": "string"
  22743. },
  22744. "creatorid": {
  22745. "description": "创建人",
  22746. "type": "integer"
  22747. },
  22748. "deliverygoodsid": {
  22749. "description": "现货品种ID",
  22750. "type": "integer"
  22751. },
  22752. "enumdicname": {
  22753. "description": "品类单位名称",
  22754. "type": "string"
  22755. },
  22756. "isvalid": {
  22757. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  22758. "type": "integer"
  22759. },
  22760. "minivalue": {
  22761. "description": "最小变动值",
  22762. "type": "integer"
  22763. },
  22764. "minivaluedp": {
  22765. "description": "最小变动值小数位",
  22766. "type": "integer"
  22767. },
  22768. "realminivalue": {
  22769. "description": "实际最小变动值",
  22770. "type": "integer"
  22771. },
  22772. "realminivaluedp": {
  22773. "description": "实际最小变动值小数位",
  22774. "type": "integer"
  22775. },
  22776. "remark": {
  22777. "description": "备注",
  22778. "type": "string"
  22779. },
  22780. "unitid": {
  22781. "description": "品类单位ID",
  22782. "type": "integer"
  22783. },
  22784. "updatetime": {
  22785. "description": "更新时间",
  22786. "type": "string"
  22787. },
  22788. "wrstandardcode": {
  22789. "description": "品类代码",
  22790. "type": "string"
  22791. },
  22792. "wrstandardid": {
  22793. "description": "品类ID(SEQ_WRSTANDARD)",
  22794. "type": "integer"
  22795. },
  22796. "wrstandardname": {
  22797. "description": "品类名称",
  22798. "type": "string"
  22799. }
  22800. }
  22801. },
  22802. "models.ErmcpBizGroupEx": {
  22803. "type": "object",
  22804. "properties": {
  22805. "acclist": {
  22806. "description": "账号列表",
  22807. "type": "array",
  22808. "items": {
  22809. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  22810. }
  22811. },
  22812. "bizgroupid": {
  22813. "description": "业务分组id",
  22814. "type": "integer"
  22815. },
  22816. "biztype": {
  22817. "description": "业务类型 1-套保 2-套利",
  22818. "type": "integer"
  22819. },
  22820. "wrlist": {
  22821. "description": "现货商品表",
  22822. "type": "array",
  22823. "items": {
  22824. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  22825. }
  22826. }
  22827. }
  22828. },
  22829. "models.ErmcpBizGroupSpotGoods": {
  22830. "type": "object",
  22831. "properties": {
  22832. "areauserid": {
  22833. "description": "所属机构id",
  22834. "type": "integer"
  22835. },
  22836. "bizgroupid": {
  22837. "description": "分组id",
  22838. "type": "integer"
  22839. },
  22840. "biztype": {
  22841. "description": "业务类型 1-套保 2-套利",
  22842. "type": "integer"
  22843. },
  22844. "deliverygoodscode": {
  22845. "description": "现货商品代码",
  22846. "type": "string"
  22847. },
  22848. "deliverygoodsid": {
  22849. "description": "现货商品id",
  22850. "type": "integer"
  22851. },
  22852. "deliverygoodsname": {
  22853. "description": "现货商品名称",
  22854. "type": "string"
  22855. },
  22856. "unitid": {
  22857. "description": "现货商品单位id",
  22858. "type": "integer"
  22859. }
  22860. }
  22861. },
  22862. "models.ErmcpBizGroupTaAccount": {
  22863. "type": "object",
  22864. "properties": {
  22865. "accountid": {
  22866. "description": "账号id",
  22867. "type": "integer"
  22868. },
  22869. "accountname": {
  22870. "description": "账号名称",
  22871. "type": "string"
  22872. },
  22873. "areauserid": {
  22874. "description": "所属机构id",
  22875. "type": "integer"
  22876. },
  22877. "bizgroupid": {
  22878. "description": "业务分组id",
  22879. "type": "integer"
  22880. },
  22881. "ismain": {
  22882. "description": "是否主账号 1-是 0-否",
  22883. "type": "integer"
  22884. }
  22885. }
  22886. },
  22887. "models.ErmcpDGFactoryItem": {
  22888. "type": "object",
  22889. "properties": {
  22890. "areauserid": {
  22891. "description": "用户id",
  22892. "type": "integer"
  22893. },
  22894. "deliverygoodsid": {
  22895. "description": "现货品种ID",
  22896. "type": "integer"
  22897. },
  22898. "dgfactoryitemid": {
  22899. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  22900. "type": "integer"
  22901. },
  22902. "dgfactoryitemtypeid": {
  22903. "description": "要素项类型",
  22904. "type": "integer"
  22905. },
  22906. "dgfactoryitemvalue": {
  22907. "description": "要素项值(类型为仓库时填写仓库名称)",
  22908. "type": "string"
  22909. },
  22910. "isvalid": {
  22911. "description": "是否有效 - 0:无效 1:有效",
  22912. "type": "integer"
  22913. },
  22914. "orderindex": {
  22915. "description": "顺序",
  22916. "type": "integer"
  22917. },
  22918. "warehouseid": {
  22919. "description": "仓库ID(类型为仓库时填写)",
  22920. "type": "integer"
  22921. }
  22922. }
  22923. },
  22924. "models.ErmcpDeliveryGoods": {
  22925. "type": "object",
  22926. "properties": {
  22927. "agreeunit": {
  22928. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  22929. "type": "integer"
  22930. },
  22931. "areauserid": {
  22932. "description": "所属机构",
  22933. "type": "integer"
  22934. },
  22935. "auditflag": {
  22936. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  22937. "type": "integer"
  22938. },
  22939. "categoryid": {
  22940. "description": "类别ID(SEQ_WRCATEGORY)",
  22941. "type": "integer"
  22942. },
  22943. "deliverygoodscode": {
  22944. "description": "现货品种代码",
  22945. "type": "string"
  22946. },
  22947. "deliverygoodsid": {
  22948. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  22949. "type": "integer"
  22950. },
  22951. "deliverygoodsname": {
  22952. "description": "现货品种名称",
  22953. "type": "string"
  22954. },
  22955. "deliverygoodstype": {
  22956. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  22957. "type": "integer"
  22958. },
  22959. "dgstatus": {
  22960. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  22961. "type": "integer"
  22962. },
  22963. "enumdicname": {
  22964. "description": "现货品种单位名称",
  22965. "type": "string"
  22966. },
  22967. "goodsunitid": {
  22968. "description": "现货品种单位ID",
  22969. "type": "integer"
  22970. },
  22971. "isvalid": {
  22972. "description": "是否有效 - 0:无效 1:有效",
  22973. "type": "integer"
  22974. },
  22975. "qtydecimalplace": {
  22976. "description": "成交量小数位",
  22977. "type": "integer"
  22978. },
  22979. "remark": {
  22980. "description": "备注",
  22981. "type": "string"
  22982. },
  22983. "standardqty": {
  22984. "description": "标准数量(库位数量) [标准品特有]",
  22985. "type": "integer"
  22986. },
  22987. "standardqtyrange": {
  22988. "description": "标准数量偏差范围 [标准品特有]",
  22989. "type": "integer"
  22990. }
  22991. }
  22992. },
  22993. "models.ErmcpFuturesCompany": {
  22994. "type": "object",
  22995. "properties": {
  22996. "brokerid": {
  22997. "description": "经纪公司代码",
  22998. "type": "string"
  22999. },
  23000. "channeladdress": {
  23001. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23002. "type": "string"
  23003. },
  23004. "channelid": {
  23005. "description": "对冲渠道ID",
  23006. "type": "string"
  23007. },
  23008. "createtime": {
  23009. "description": "创建时间",
  23010. "type": "string"
  23011. },
  23012. "creatorid": {
  23013. "description": "创建人",
  23014. "type": "string"
  23015. },
  23016. "fcid": {
  23017. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23018. "type": "integer"
  23019. },
  23020. "fcname": {
  23021. "description": "期货公司名称",
  23022. "type": "string"
  23023. },
  23024. "isvalid": {
  23025. "description": "是否有效 - 0:无效 1:有效",
  23026. "type": "integer"
  23027. },
  23028. "mhpaddress": {
  23029. "description": "MHP服务地址(IP:Port)",
  23030. "type": "string"
  23031. },
  23032. "riskrulegroupid": {
  23033. "description": "风控规则组ID",
  23034. "type": "string"
  23035. },
  23036. "tradefeetmpid": {
  23037. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23038. "type": "string"
  23039. },
  23040. "trademargintmpid": {
  23041. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23042. "type": "string"
  23043. },
  23044. "traderatetmpid": {
  23045. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23046. "type": "string"
  23047. },
  23048. "updatetime": {
  23049. "description": "更新时间",
  23050. "type": "string"
  23051. },
  23052. "updatorid": {
  23053. "description": "更新人",
  23054. "type": "string"
  23055. }
  23056. }
  23057. },
  23058. "models.ErmcpGGConvertCfg": {
  23059. "type": "object",
  23060. "properties": {
  23061. "convertratio": {
  23062. "description": "折算系数",
  23063. "type": "number"
  23064. },
  23065. "destgoodsgroupid": {
  23066. "description": "目标品种ID",
  23067. "type": "integer"
  23068. },
  23069. "dstcode": {
  23070. "description": "目录品种代码",
  23071. "type": "string"
  23072. },
  23073. "dstexchangecode": {
  23074. "description": "目标期货交易所",
  23075. "type": "string"
  23076. },
  23077. "dstname": {
  23078. "description": "目标品种名称",
  23079. "type": "string"
  23080. },
  23081. "dstunitid": {
  23082. "description": "目标品种单位ID",
  23083. "type": "integer"
  23084. },
  23085. "dstunitidname": {
  23086. "description": "目标品种单位名称",
  23087. "type": "string"
  23088. },
  23089. "modifytime": {
  23090. "description": "修改时间",
  23091. "type": "string"
  23092. },
  23093. "srccode": {
  23094. "description": "源品种代码",
  23095. "type": "string"
  23096. },
  23097. "srcexchangecode": {
  23098. "description": "源期货交易所",
  23099. "type": "string"
  23100. },
  23101. "srcgoodsgroupid": {
  23102. "description": "源品种ID",
  23103. "type": "integer"
  23104. },
  23105. "srcname": {
  23106. "description": "源品种名称",
  23107. "type": "string"
  23108. },
  23109. "srcunitid": {
  23110. "description": "源品种单位ID",
  23111. "type": "integer"
  23112. },
  23113. "srcunitidname": {
  23114. "description": "源品种单位名称",
  23115. "type": "string"
  23116. }
  23117. }
  23118. },
  23119. "models.ErmcpGoods": {
  23120. "type": "object",
  23121. "required": [
  23122. "goodscode",
  23123. "goodsid",
  23124. "goodsname",
  23125. "marketid"
  23126. ],
  23127. "properties": {
  23128. "agreeunit": {
  23129. "description": "合约单位",
  23130. "type": "number"
  23131. },
  23132. "areauserid": {
  23133. "description": "所属机构",
  23134. "type": "integer"
  23135. },
  23136. "auditaccountid": {
  23137. "description": "审核操作员账号",
  23138. "type": "integer"
  23139. },
  23140. "audittime": {
  23141. "description": "审核时间",
  23142. "type": "string"
  23143. },
  23144. "cancelaccountid": {
  23145. "description": "注销操作员账号",
  23146. "type": "integer"
  23147. },
  23148. "canceltime": {
  23149. "description": "注销时间",
  23150. "type": "string"
  23151. },
  23152. "closepricemode": {
  23153. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23154. "type": "integer"
  23155. },
  23156. "closepriceparam": {
  23157. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23158. "type": "number"
  23159. },
  23160. "createtime": {
  23161. "description": "创建时间",
  23162. "type": "string"
  23163. },
  23164. "creatorid": {
  23165. "description": "创建人",
  23166. "type": "integer"
  23167. },
  23168. "currencyid": {
  23169. "description": "报价货币ID",
  23170. "type": "integer"
  23171. },
  23172. "cutmode": {
  23173. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23174. "type": "integer"
  23175. },
  23176. "decimalplace": {
  23177. "description": "报价小数位",
  23178. "type": "integer"
  23179. },
  23180. "delistingdate": {
  23181. "description": "商品退市时间(状态:退市) -- 已作废",
  23182. "type": "string"
  23183. },
  23184. "delistingmode": {
  23185. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23186. "type": "integer"
  23187. },
  23188. "deliveryflag": {
  23189. "description": "交割标志 - 0:不可交割 1:可交割",
  23190. "type": "integer"
  23191. },
  23192. "enumdicname": {
  23193. "description": "单位名称",
  23194. "type": "string"
  23195. },
  23196. "forceclosemode": {
  23197. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23198. "type": "integer"
  23199. },
  23200. "forceclosevalue": {
  23201. "description": "定期强平参数 [收益权]",
  23202. "type": "integer"
  23203. },
  23204. "goodscode": {
  23205. "description": "商品代码(内部)",
  23206. "type": "string"
  23207. },
  23208. "goodscurrencyid": {
  23209. "description": "合约货币ID",
  23210. "type": "integer"
  23211. },
  23212. "goodsgroupid": {
  23213. "description": "所属商品组ID",
  23214. "type": "integer"
  23215. },
  23216. "goodsid": {
  23217. "description": "商品ID(自增ID SEQ_GOODS)",
  23218. "type": "integer"
  23219. },
  23220. "goodsname": {
  23221. "description": "商品名称",
  23222. "type": "string"
  23223. },
  23224. "goodsquotetype": {
  23225. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23226. "type": "integer"
  23227. },
  23228. "goodsstatus": {
  23229. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23230. "type": "integer"
  23231. },
  23232. "goodstradetype": {
  23233. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23234. "type": "integer"
  23235. },
  23236. "goodunitid": {
  23237. "description": "报价单位ID",
  23238. "type": "integer"
  23239. },
  23240. "hasquoter": {
  23241. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23242. "type": "integer"
  23243. },
  23244. "hqprotecttime": {
  23245. "description": "行情保护时间(秒)",
  23246. "type": "integer"
  23247. },
  23248. "innerdealmode": {
  23249. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23250. "type": "integer"
  23251. },
  23252. "isbuylimited": {
  23253. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23254. "type": "integer"
  23255. },
  23256. "isvisible": {
  23257. "description": "游客是否可见 - 0:不可见 1:可见",
  23258. "type": "integer"
  23259. },
  23260. "lasttradedate": {
  23261. "description": "最后交易日期(状态:待退市)",
  23262. "type": "string"
  23263. },
  23264. "listingdate": {
  23265. "description": "交易开始日期",
  23266. "type": "string"
  23267. },
  23268. "marketid": {
  23269. "description": "所属市场ID",
  23270. "type": "integer"
  23271. },
  23272. "modifierid": {
  23273. "description": "修改人",
  23274. "type": "integer"
  23275. },
  23276. "modifystatus": {
  23277. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23278. "type": "integer"
  23279. },
  23280. "modifytime": {
  23281. "description": "修改时间",
  23282. "type": "string"
  23283. },
  23284. "outerdealmode": {
  23285. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23286. "type": "integer"
  23287. },
  23288. "outgoodscode": {
  23289. "description": "商品代码(外部)",
  23290. "type": "string"
  23291. },
  23292. "pictureurl": {
  23293. "description": "商品图片",
  23294. "type": "string"
  23295. },
  23296. "qtydecimalplace": {
  23297. "description": "成交量小数位",
  23298. "type": "integer"
  23299. },
  23300. "quotegear": {
  23301. "description": "行情档位(1-10)",
  23302. "type": "integer"
  23303. },
  23304. "quoteminunit": {
  23305. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23306. "type": "integer"
  23307. },
  23308. "quoteshowtype": {
  23309. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23310. "type": "integer"
  23311. },
  23312. "quoteshowtypeinterval": {
  23313. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23314. "type": "integer"
  23315. },
  23316. "relatedgoodsid": {
  23317. "description": "关联参考商品ID",
  23318. "type": "integer"
  23319. },
  23320. "remark": {
  23321. "description": "备注",
  23322. "type": "string"
  23323. },
  23324. "trademode": {
  23325. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23326. "type": "integer"
  23327. }
  23328. }
  23329. },
  23330. "models.ErmcpGoodsBrand": {
  23331. "type": "object",
  23332. "properties": {
  23333. "areauserid": {
  23334. "description": "所属机构",
  23335. "type": "integer"
  23336. },
  23337. "brandid": {
  23338. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  23339. "type": "integer"
  23340. },
  23341. "brandname": {
  23342. "description": "品牌名称",
  23343. "type": "string"
  23344. },
  23345. "createtime": {
  23346. "description": "创建时间",
  23347. "type": "string"
  23348. },
  23349. "creatorid": {
  23350. "description": "创建人",
  23351. "type": "integer"
  23352. },
  23353. "creatorsrc": {
  23354. "description": "创建人来源 - 1:管理端 2:终端",
  23355. "type": "integer"
  23356. },
  23357. "deliverygoodsid": {
  23358. "description": "现货品种ID",
  23359. "type": "integer"
  23360. },
  23361. "isvalid": {
  23362. "description": "是否有效 - 0:无效 1:有效",
  23363. "type": "integer"
  23364. },
  23365. "updatetime": {
  23366. "description": "更新时间",
  23367. "type": "string"
  23368. },
  23369. "updatorid": {
  23370. "description": "更新人",
  23371. "type": "integer"
  23372. },
  23373. "updatorsrc": {
  23374. "description": "更新人来源 - 1:管理端 2:终端",
  23375. "type": "integer"
  23376. },
  23377. "wrstandardid": {
  23378. "description": "现货商品ID",
  23379. "type": "integer"
  23380. }
  23381. }
  23382. },
  23383. "models.ErmcpGoodsModel": {
  23384. "type": "object",
  23385. "properties": {
  23386. "areauserid": {
  23387. "description": "所属机构",
  23388. "type": "integer"
  23389. },
  23390. "convertfactor": {
  23391. "description": "标仓系数",
  23392. "type": "number"
  23393. },
  23394. "createtime": {
  23395. "description": "创建时间",
  23396. "type": "string"
  23397. },
  23398. "creatorid": {
  23399. "description": "创建人",
  23400. "type": "integer"
  23401. },
  23402. "creatorsrc": {
  23403. "description": "创建人来源 - 1:管理端 2:终端",
  23404. "type": "integer"
  23405. },
  23406. "deliverygoodsid": {
  23407. "description": "现货品种ID",
  23408. "type": "integer"
  23409. },
  23410. "isvalid": {
  23411. "description": "是否有效 - 0:无效 1:有效",
  23412. "type": "integer"
  23413. },
  23414. "modelid": {
  23415. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  23416. "type": "integer"
  23417. },
  23418. "modelname": {
  23419. "description": "型号名称",
  23420. "type": "string"
  23421. },
  23422. "updatetime": {
  23423. "description": "更新时间",
  23424. "type": "string"
  23425. },
  23426. "updatorid": {
  23427. "description": "更新人",
  23428. "type": "integer"
  23429. },
  23430. "updatorsrc": {
  23431. "description": "更新人来源 - 1:管理端 2:终端",
  23432. "type": "integer"
  23433. },
  23434. "wrstandardid": {
  23435. "description": "现货商品ID",
  23436. "type": "integer"
  23437. }
  23438. }
  23439. },
  23440. "models.ErmcpHisExposure": {
  23441. "type": "object",
  23442. "properties": {
  23443. "needhedgeexposoure": {
  23444. "description": "应套保敞口",
  23445. "type": "number"
  23446. },
  23447. "reckondate": {
  23448. "description": "日照时期(yyyyMMdd)",
  23449. "type": "string"
  23450. },
  23451. "totalexposure": {
  23452. "description": "总敞口",
  23453. "type": "number"
  23454. }
  23455. }
  23456. },
  23457. "models.ErmcpLoginTaAccount": {
  23458. "type": "object",
  23459. "properties": {
  23460. "accountid": {
  23461. "description": "账号id",
  23462. "type": "integer"
  23463. },
  23464. "accountname": {
  23465. "description": "账号名称",
  23466. "type": "string"
  23467. }
  23468. }
  23469. },
  23470. "models.ErmcpLoginUser": {
  23471. "type": "object",
  23472. "properties": {
  23473. "acclist": {
  23474. "description": "关联资金账号",
  23475. "type": "array",
  23476. "items": {
  23477. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  23478. }
  23479. },
  23480. "accountname": {
  23481. "description": "用户名称",
  23482. "type": "string"
  23483. },
  23484. "clientroleid": {
  23485. "description": "角色id(usertype=2)",
  23486. "type": "integer"
  23487. },
  23488. "createtime": {
  23489. "description": "创建时间",
  23490. "type": "string"
  23491. },
  23492. "logincode": {
  23493. "description": "登录代码",
  23494. "type": "string"
  23495. },
  23496. "loginid": {
  23497. "description": "登录id(LOGINID)",
  23498. "type": "integer"
  23499. },
  23500. "loginname": {
  23501. "description": "登录名称(loginaccount表中的accountname字段)",
  23502. "type": "string"
  23503. },
  23504. "loginstatus": {
  23505. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  23506. "type": "integer"
  23507. },
  23508. "memberuserid": {
  23509. "description": "所属会员id",
  23510. "type": "integer"
  23511. },
  23512. "mobile": {
  23513. "description": "手机号",
  23514. "type": "string"
  23515. },
  23516. "modifytime": {
  23517. "description": "修改时间",
  23518. "type": "string"
  23519. },
  23520. "password": {
  23521. "description": "密码(不可解密)",
  23522. "type": "string"
  23523. },
  23524. "rolename": {
  23525. "description": "角色名称",
  23526. "type": "string"
  23527. },
  23528. "rolestatus": {
  23529. "description": "角色状态 1-启用 2-停用",
  23530. "type": "integer"
  23531. },
  23532. "roletype": {
  23533. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  23534. "type": "string"
  23535. },
  23536. "userid": {
  23537. "description": "用户id",
  23538. "type": "integer"
  23539. },
  23540. "usertype": {
  23541. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23542. "type": "integer"
  23543. }
  23544. }
  23545. },
  23546. "models.ErmcpLoginUserEx": {
  23547. "type": "object",
  23548. "properties": {
  23549. "accountstatus": {
  23550. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23551. "type": "integer"
  23552. },
  23553. "mobile": {
  23554. "description": "手机号",
  23555. "type": "string"
  23556. },
  23557. "querytype": {
  23558. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  23559. "type": "integer"
  23560. },
  23561. "roleid": {
  23562. "description": "角色id(交易账户-\u003e用户id)",
  23563. "type": "integer"
  23564. },
  23565. "rolename": {
  23566. "description": "角色名称(交易账户-\u003e用户名称)",
  23567. "type": "string"
  23568. },
  23569. "userlist": {
  23570. "description": "用户列表",
  23571. "type": "array",
  23572. "items": {
  23573. "$ref": "#/definitions/models.ErmcpLoginUser"
  23574. }
  23575. },
  23576. "usertype": {
  23577. "description": "用户类型 2-机构 7-企业成员(云平台)",
  23578. "type": "integer"
  23579. }
  23580. }
  23581. },
  23582. "models.ErmcpMiddleGoodsModel": {
  23583. "type": "object",
  23584. "properties": {
  23585. "areauserid": {
  23586. "description": "机构用户ID",
  23587. "type": "integer"
  23588. },
  23589. "createtime": {
  23590. "description": "修改时间",
  23591. "type": "string"
  23592. },
  23593. "enumdicname": {
  23594. "description": "单位名称",
  23595. "type": "string"
  23596. },
  23597. "evaluateratio": {
  23598. "description": "估价系数",
  23599. "type": "number"
  23600. },
  23601. "goodsgroupid": {
  23602. "description": "关联期货品种ID",
  23603. "type": "integer"
  23604. },
  23605. "goodsunitid": {
  23606. "description": "单位ID",
  23607. "type": "integer"
  23608. },
  23609. "isvalid": {
  23610. "description": "状态 0-无效(停用) 1-有效(正常)",
  23611. "type": "integer"
  23612. },
  23613. "middlegoodscode": {
  23614. "description": "套保品种代码",
  23615. "type": "string"
  23616. },
  23617. "middlegoodsid": {
  23618. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23619. "type": "integer"
  23620. },
  23621. "middlegoodsname": {
  23622. "description": "套保品种名称",
  23623. "type": "string"
  23624. },
  23625. "modifytime": {
  23626. "description": "修改时间",
  23627. "type": "string"
  23628. },
  23629. "needarbitrageratio": {
  23630. "description": "套利比例",
  23631. "type": "number"
  23632. },
  23633. "needhedgeratio": {
  23634. "description": "套保比率",
  23635. "type": "number"
  23636. },
  23637. "qtydecimalplace": {
  23638. "description": "数量小数位",
  23639. "type": "integer"
  23640. },
  23641. "relatedgoodsid": {
  23642. "description": "关联交易商品ID",
  23643. "type": "integer"
  23644. },
  23645. "relatedgoodstype": {
  23646. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  23647. "type": "integer"
  23648. },
  23649. "remark": {
  23650. "description": "备注",
  23651. "type": "string"
  23652. }
  23653. }
  23654. },
  23655. "models.ErmcpMiddlegoodsRelateGoods": {
  23656. "type": "object",
  23657. "properties": {
  23658. "agreeunit": {
  23659. "description": "合约乘数",
  23660. "type": "number"
  23661. },
  23662. "convertratio": {
  23663. "description": "折算系数",
  23664. "type": "number"
  23665. },
  23666. "enumdicname": {
  23667. "description": "单位名称(交易商品)",
  23668. "type": "string"
  23669. },
  23670. "goodscode": {
  23671. "description": "交易商品代码",
  23672. "type": "string"
  23673. },
  23674. "goodsgroupid": {
  23675. "description": "交易品种id",
  23676. "type": "integer"
  23677. },
  23678. "goodsid": {
  23679. "description": "商品Id",
  23680. "type": "integer"
  23681. },
  23682. "goodsname": {
  23683. "description": "交易商品名称",
  23684. "type": "string"
  23685. },
  23686. "goodunitid": {
  23687. "description": "交易商品单位id",
  23688. "type": "integer"
  23689. },
  23690. "middlegoodsid": {
  23691. "description": "套保商品id",
  23692. "type": "integer"
  23693. },
  23694. "middlegoodsname": {
  23695. "description": "套保商品名称",
  23696. "type": "string"
  23697. },
  23698. "middlegoodsswcode": {
  23699. "description": "套保商品代码",
  23700. "type": "string"
  23701. },
  23702. "needarbitrageratio": {
  23703. "description": "应套利比例",
  23704. "type": "number"
  23705. },
  23706. "needhedgeratio": {
  23707. "description": "应套保比例",
  23708. "type": "number"
  23709. }
  23710. }
  23711. },
  23712. "models.ErmcpRole": {
  23713. "type": "object",
  23714. "properties": {
  23715. "areauserid": {
  23716. "description": "所属机构",
  23717. "type": "integer"
  23718. },
  23719. "autoid": {
  23720. "description": "角色ID(自增ID)",
  23721. "type": "integer"
  23722. },
  23723. "modifierid": {
  23724. "description": "修改人(创建人)",
  23725. "type": "integer"
  23726. },
  23727. "modifiername": {
  23728. "description": "修改人名称",
  23729. "type": "string"
  23730. },
  23731. "modifytime": {
  23732. "description": "修改时间(创建时间)",
  23733. "type": "string"
  23734. },
  23735. "rolename": {
  23736. "description": "角色名称",
  23737. "type": "string"
  23738. },
  23739. "rolestatus": {
  23740. "description": "角色状态 - 1:启用 2:停用",
  23741. "type": "integer"
  23742. },
  23743. "roletype": {
  23744. "description": "角色类型 - 1- 管理端 2- 交易端",
  23745. "type": "integer"
  23746. }
  23747. }
  23748. },
  23749. "models.ErmcpRoleMenu": {
  23750. "type": "object",
  23751. "properties": {
  23752. "iconame": {
  23753. "description": "菜单图标",
  23754. "type": "string"
  23755. },
  23756. "ishadrole": {
  23757. "description": "是否有权限",
  23758. "type": "boolean"
  23759. },
  23760. "menutype": {
  23761. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  23762. "type": "integer"
  23763. },
  23764. "parentcode": {
  23765. "description": "上级资源代码",
  23766. "type": "string"
  23767. },
  23768. "remark": {
  23769. "description": "菜单备注",
  23770. "type": "string"
  23771. },
  23772. "resourcecode": {
  23773. "description": "菜单代码",
  23774. "type": "string"
  23775. },
  23776. "resourcelevel": {
  23777. "description": "级别",
  23778. "type": "integer"
  23779. },
  23780. "resourcename": {
  23781. "description": "菜单名称",
  23782. "type": "string"
  23783. },
  23784. "roleid": {
  23785. "description": "角色id",
  23786. "type": "integer"
  23787. },
  23788. "sort": {
  23789. "description": "排序",
  23790. "type": "integer"
  23791. },
  23792. "url": {
  23793. "description": "URL",
  23794. "type": "string"
  23795. },
  23796. "userid": {
  23797. "description": "用户id",
  23798. "type": "integer"
  23799. }
  23800. }
  23801. },
  23802. "models.ErmcpRoleMenuEx": {
  23803. "type": "object",
  23804. "properties": {
  23805. "menu": {
  23806. "description": "父级菜单",
  23807. "$ref": "#/definitions/models.ErmcpRoleMenu"
  23808. },
  23809. "subMenu": {
  23810. "description": "子级菜单",
  23811. "type": "array",
  23812. "items": {
  23813. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  23814. }
  23815. }
  23816. }
  23817. },
  23818. "models.ErmcpTaAccount": {
  23819. "type": "object",
  23820. "properties": {
  23821. "accountid": {
  23822. "description": "账户id",
  23823. "type": "integer"
  23824. },
  23825. "accountname": {
  23826. "description": "账户名称",
  23827. "type": "string"
  23828. },
  23829. "currencyid": {
  23830. "description": "币种id",
  23831. "type": "integer"
  23832. },
  23833. "hedgeaccountcode": {
  23834. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  23835. "type": "string"
  23836. },
  23837. "ismain": {
  23838. "description": "是否主账户 0-否 1-是",
  23839. "type": "integer"
  23840. },
  23841. "parentaccountid": {
  23842. "description": "父账户id",
  23843. "type": "integer"
  23844. },
  23845. "relateduserid": {
  23846. "description": "关联userid",
  23847. "type": "integer"
  23848. },
  23849. "tradefeetmpid": {
  23850. "description": "手续费模板id",
  23851. "type": "integer"
  23852. },
  23853. "tradefeetmpname": {
  23854. "description": "手续费模板名称",
  23855. "type": "string"
  23856. },
  23857. "trademargintmpid": {
  23858. "description": "保证金模板id",
  23859. "type": "integer"
  23860. },
  23861. "trademargintmpname": {
  23862. "description": "保证金模板名称",
  23863. "type": "string"
  23864. },
  23865. "traderatetmpid": {
  23866. "description": "汇率模板id",
  23867. "type": "integer"
  23868. },
  23869. "traderatetmpname": {
  23870. "description": "汇率模板名称",
  23871. "type": "string"
  23872. },
  23873. "tradestatus": {
  23874. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23875. "type": "integer"
  23876. },
  23877. "userid": {
  23878. "description": "用户id",
  23879. "type": "integer"
  23880. }
  23881. }
  23882. },
  23883. "models.ErmcpTaAccountEx": {
  23884. "type": "object",
  23885. "properties": {
  23886. "mainAcc": {
  23887. "description": "主账号",
  23888. "$ref": "#/definitions/models.ErmcpTaAccountM"
  23889. },
  23890. "subacclist": {
  23891. "description": "子账号列表",
  23892. "type": "array",
  23893. "items": {
  23894. "$ref": "#/definitions/models.ErmcpTaAccount"
  23895. }
  23896. }
  23897. }
  23898. },
  23899. "models.ErmcpTaAccountInfo": {
  23900. "type": "object",
  23901. "properties": {
  23902. "accountid": {
  23903. "description": "资金账户ID",
  23904. "type": "integer"
  23905. },
  23906. "accountname": {
  23907. "description": "账户名称",
  23908. "type": "string"
  23909. },
  23910. "balance": {
  23911. "description": "期初余额",
  23912. "type": "number"
  23913. },
  23914. "capitalbalance": {
  23915. "description": "本金余额[外部子账户实际出入金余额]",
  23916. "type": "number"
  23917. },
  23918. "closepl": {
  23919. "description": "今日平仓盈亏",
  23920. "type": "number"
  23921. },
  23922. "creditdecrease": {
  23923. "description": "今日授信减少",
  23924. "type": "number"
  23925. },
  23926. "creditincrease": {
  23927. "description": "今日授信增加",
  23928. "type": "number"
  23929. },
  23930. "curdebt": {
  23931. "description": "期末欠款",
  23932. "type": "number"
  23933. },
  23934. "currencyid": {
  23935. "description": "货币ID",
  23936. "type": "integer"
  23937. },
  23938. "currentbalance": {
  23939. "description": "期末余额",
  23940. "type": "number"
  23941. },
  23942. "freezecharge": {
  23943. "description": "手续费冻结",
  23944. "type": "number"
  23945. },
  23946. "freezemargin": {
  23947. "description": "冻结保证金",
  23948. "type": "number"
  23949. },
  23950. "fromaccountid": {
  23951. "description": "所属上级账户",
  23952. "type": "integer"
  23953. },
  23954. "inamount": {
  23955. "description": "今日入金金额(包括三方入金)",
  23956. "type": "number"
  23957. },
  23958. "ismain": {
  23959. "description": "是否母账号 0:不是母账户 1:是母账户",
  23960. "type": "integer"
  23961. },
  23962. "mortgagecredit": {
  23963. "description": "授信金额",
  23964. "type": "number"
  23965. },
  23966. "oridebt": {
  23967. "description": "期初欠款",
  23968. "type": "number"
  23969. },
  23970. "orifreezecharge": {
  23971. "description": "期初手续费冻结",
  23972. "type": "number"
  23973. },
  23974. "orifreezemargin": {
  23975. "description": "期初冻结保证金",
  23976. "type": "number"
  23977. },
  23978. "orimortgagecredit": {
  23979. "description": "期初授信金额",
  23980. "type": "number"
  23981. },
  23982. "oriothercredit": {
  23983. "description": "期初其它授信金额",
  23984. "type": "number"
  23985. },
  23986. "oriotherfreezemargin": {
  23987. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  23988. "type": "number"
  23989. },
  23990. "orioutamountfreeze": {
  23991. "description": "期初出金冻结",
  23992. "type": "number"
  23993. },
  23994. "oriusedmargin": {
  23995. "description": "期初占用保证金",
  23996. "type": "number"
  23997. },
  23998. "othercredit": {
  23999. "description": "其它授信金额",
  24000. "type": "number"
  24001. },
  24002. "othercreditdecrease": {
  24003. "description": "今日其它授信减少",
  24004. "type": "number"
  24005. },
  24006. "othercreditincrease": {
  24007. "description": "今日其它授信增加",
  24008. "type": "number"
  24009. },
  24010. "otherfreezemargin": {
  24011. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24012. "type": "number"
  24013. },
  24014. "outamount": {
  24015. "description": "今日出金金额(包括三方出金)",
  24016. "type": "number"
  24017. },
  24018. "outamountfreeze": {
  24019. "description": "出金冻结",
  24020. "type": "number"
  24021. },
  24022. "outthreshold": {
  24023. "description": "出金阈值",
  24024. "type": "number"
  24025. },
  24026. "parentaccountid": {
  24027. "description": "所属根账号",
  24028. "type": "integer"
  24029. },
  24030. "paycharge": {
  24031. "description": "今日手续费支出",
  24032. "type": "number"
  24033. },
  24034. "relateduserid": {
  24035. "description": "关联用户",
  24036. "type": "integer"
  24037. },
  24038. "signstatus": {
  24039. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24040. "type": "integer"
  24041. },
  24042. "sublevelpath": {
  24043. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24044. "type": "string"
  24045. },
  24046. "taaccounttype": {
  24047. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24048. "type": "integer"
  24049. },
  24050. "thirdinamount": {
  24051. "description": "今日三方入金",
  24052. "type": "number"
  24053. },
  24054. "thirdoutamount": {
  24055. "description": "今日三方出金",
  24056. "type": "number"
  24057. },
  24058. "tradestatus": {
  24059. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24060. "type": "integer"
  24061. },
  24062. "transferamount": {
  24063. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24064. "type": "number"
  24065. },
  24066. "usedmargin": {
  24067. "description": "占用保证金",
  24068. "type": "number"
  24069. },
  24070. "userid": {
  24071. "description": "用户ID",
  24072. "type": "integer"
  24073. }
  24074. }
  24075. },
  24076. "models.ErmcpTaAccountM": {
  24077. "type": "object",
  24078. "properties": {
  24079. "accountid": {
  24080. "description": "账户id",
  24081. "type": "integer"
  24082. },
  24083. "accountname": {
  24084. "description": "账户名称",
  24085. "type": "string"
  24086. },
  24087. "currencyid": {
  24088. "description": "币种id",
  24089. "type": "integer"
  24090. },
  24091. "fcid": {
  24092. "description": "期货公司id",
  24093. "type": "integer"
  24094. },
  24095. "fcname": {
  24096. "description": "期货公司代码",
  24097. "type": "string"
  24098. },
  24099. "hedgeaccountcode": {
  24100. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24101. "type": "string"
  24102. },
  24103. "ismain": {
  24104. "description": "是否主账户 0-否 1-是",
  24105. "type": "integer"
  24106. },
  24107. "parentaccountid": {
  24108. "description": "父账户id",
  24109. "type": "integer"
  24110. },
  24111. "relateduserid": {
  24112. "description": "关联userid",
  24113. "type": "integer"
  24114. },
  24115. "tradefeetmpid": {
  24116. "description": "手续费模板id",
  24117. "type": "integer"
  24118. },
  24119. "tradefeetmpname": {
  24120. "description": "手续费模板名称",
  24121. "type": "string"
  24122. },
  24123. "trademargintmpid": {
  24124. "description": "保证金模板id",
  24125. "type": "integer"
  24126. },
  24127. "trademargintmpname": {
  24128. "description": "保证金模板名称",
  24129. "type": "string"
  24130. },
  24131. "traderatetmpid": {
  24132. "description": "汇率模板id",
  24133. "type": "integer"
  24134. },
  24135. "traderatetmpname": {
  24136. "description": "汇率模板名称",
  24137. "type": "string"
  24138. },
  24139. "tradestatus": {
  24140. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24141. "type": "integer"
  24142. },
  24143. "userid": {
  24144. "description": "用户id",
  24145. "type": "integer"
  24146. }
  24147. }
  24148. },
  24149. "models.ErmcpTradeConfigTMP": {
  24150. "type": "object",
  24151. "properties": {
  24152. "areauserid": {
  24153. "description": "所属机构",
  24154. "type": "integer"
  24155. },
  24156. "basiccurrencyid": {
  24157. "description": "基本币种ID[汇率] - 目标币种",
  24158. "type": "integer"
  24159. },
  24160. "mainaccountid": {
  24161. "description": "主账户ID",
  24162. "type": "integer"
  24163. },
  24164. "modifierid": {
  24165. "description": "修改人",
  24166. "type": "integer"
  24167. },
  24168. "remark": {
  24169. "description": "备注",
  24170. "type": "string"
  24171. },
  24172. "tradeconfigtmpid": {
  24173. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24174. "type": "integer"
  24175. },
  24176. "tradeconfigtmpname": {
  24177. "description": "交易配置模板名称",
  24178. "type": "string"
  24179. },
  24180. "tradeconfigtmptype": {
  24181. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24182. "type": "integer"
  24183. },
  24184. "updatetime": {
  24185. "description": "更新时间",
  24186. "type": "string"
  24187. }
  24188. }
  24189. },
  24190. "models.Externalexchange": {
  24191. "type": "object",
  24192. "required": [
  24193. "autoid"
  24194. ],
  24195. "properties": {
  24196. "autoid": {
  24197. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24198. "type": "integer"
  24199. },
  24200. "exchangefullname": {
  24201. "description": "外部交易所全称",
  24202. "type": "string"
  24203. },
  24204. "exexchangecode": {
  24205. "description": "外部交易所代码",
  24206. "type": "string"
  24207. },
  24208. "exexchangename": {
  24209. "description": "外部交易所名称(简称)",
  24210. "type": "string"
  24211. },
  24212. "ismarketprice": {
  24213. "description": "是否支持市价 - 0:不支持 1:支持",
  24214. "type": "integer"
  24215. },
  24216. "quotegear": {
  24217. "description": "行情档位(1-10)",
  24218. "type": "integer"
  24219. },
  24220. "showbrokerflag": {
  24221. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  24222. "type": "integer"
  24223. },
  24224. "updatetime": {
  24225. "description": "更新时间",
  24226. "type": "string"
  24227. }
  24228. }
  24229. },
  24230. "models.Funcmenulist": {
  24231. "type": "object",
  24232. "required": [
  24233. "resourcecode"
  24234. ],
  24235. "properties": {
  24236. "iconame": {
  24237. "description": "菜单图标",
  24238. "type": "string"
  24239. },
  24240. "menutype": {
  24241. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  24242. "type": "integer"
  24243. },
  24244. "parentcode": {
  24245. "description": "上级资源代码",
  24246. "type": "string"
  24247. },
  24248. "remark": {
  24249. "description": "备注",
  24250. "type": "string"
  24251. },
  24252. "resourcecode": {
  24253. "description": "资源代码",
  24254. "type": "string"
  24255. },
  24256. "resourcelevel": {
  24257. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  24258. "type": "integer"
  24259. },
  24260. "resourcename": {
  24261. "description": "资源名",
  24262. "type": "string"
  24263. },
  24264. "sort": {
  24265. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  24266. "type": "integer"
  24267. },
  24268. "url": {
  24269. "description": "URL",
  24270. "type": "string"
  24271. }
  24272. }
  24273. },
  24274. "models.Goods": {
  24275. "type": "object",
  24276. "required": [
  24277. "goodscode",
  24278. "goodsid",
  24279. "goodsname",
  24280. "marketid"
  24281. ],
  24282. "properties": {
  24283. "agreeunit": {
  24284. "description": "合约单位",
  24285. "type": "number"
  24286. },
  24287. "areauserid": {
  24288. "description": "所属机构",
  24289. "type": "integer"
  24290. },
  24291. "auditaccountid": {
  24292. "description": "审核操作员账号",
  24293. "type": "integer"
  24294. },
  24295. "audittime": {
  24296. "description": "审核时间",
  24297. "type": "string"
  24298. },
  24299. "cancelaccountid": {
  24300. "description": "注销操作员账号",
  24301. "type": "integer"
  24302. },
  24303. "canceltime": {
  24304. "description": "注销时间",
  24305. "type": "string"
  24306. },
  24307. "closepricemode": {
  24308. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24309. "type": "integer"
  24310. },
  24311. "closepriceparam": {
  24312. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24313. "type": "number"
  24314. },
  24315. "createtime": {
  24316. "description": "创建时间",
  24317. "type": "string"
  24318. },
  24319. "creatorid": {
  24320. "description": "创建人",
  24321. "type": "integer"
  24322. },
  24323. "currencyid": {
  24324. "description": "报价货币ID",
  24325. "type": "integer"
  24326. },
  24327. "cutmode": {
  24328. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24329. "type": "integer"
  24330. },
  24331. "decimalplace": {
  24332. "description": "报价小数位",
  24333. "type": "integer"
  24334. },
  24335. "delistingdate": {
  24336. "description": "商品退市时间(状态:退市) -- 已作废",
  24337. "type": "string"
  24338. },
  24339. "delistingmode": {
  24340. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24341. "type": "integer"
  24342. },
  24343. "deliveryflag": {
  24344. "description": "交割标志 - 0:不可交割 1:可交割",
  24345. "type": "integer"
  24346. },
  24347. "forceclosemode": {
  24348. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24349. "type": "integer"
  24350. },
  24351. "forceclosevalue": {
  24352. "description": "定期强平参数 [收益权]",
  24353. "type": "integer"
  24354. },
  24355. "goodscode": {
  24356. "description": "商品代码(内部)",
  24357. "type": "string"
  24358. },
  24359. "goodscurrencyid": {
  24360. "description": "合约货币ID",
  24361. "type": "integer"
  24362. },
  24363. "goodsgroupid": {
  24364. "description": "所属商品组ID",
  24365. "type": "integer"
  24366. },
  24367. "goodsid": {
  24368. "description": "商品ID(自增ID SEQ_GOODS)",
  24369. "type": "integer"
  24370. },
  24371. "goodsname": {
  24372. "description": "商品名称",
  24373. "type": "string"
  24374. },
  24375. "goodsquotetype": {
  24376. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24377. "type": "integer"
  24378. },
  24379. "goodsstatus": {
  24380. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24381. "type": "integer"
  24382. },
  24383. "goodstradetype": {
  24384. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24385. "type": "integer"
  24386. },
  24387. "goodunitid": {
  24388. "description": "报价单位ID",
  24389. "type": "integer"
  24390. },
  24391. "hasquoter": {
  24392. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24393. "type": "integer"
  24394. },
  24395. "hqprotecttime": {
  24396. "description": "行情保护时间(秒)",
  24397. "type": "integer"
  24398. },
  24399. "innerdealmode": {
  24400. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24401. "type": "integer"
  24402. },
  24403. "isbuylimited": {
  24404. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24405. "type": "integer"
  24406. },
  24407. "isvisible": {
  24408. "description": "游客是否可见 - 0:不可见 1:可见",
  24409. "type": "integer"
  24410. },
  24411. "lasttradedate": {
  24412. "description": "最后交易日期(状态:待退市)",
  24413. "type": "string"
  24414. },
  24415. "listingdate": {
  24416. "description": "交易开始日期",
  24417. "type": "string"
  24418. },
  24419. "marketid": {
  24420. "description": "所属市场ID",
  24421. "type": "integer"
  24422. },
  24423. "modifierid": {
  24424. "description": "修改人",
  24425. "type": "integer"
  24426. },
  24427. "modifystatus": {
  24428. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24429. "type": "integer"
  24430. },
  24431. "modifytime": {
  24432. "description": "修改时间",
  24433. "type": "string"
  24434. },
  24435. "outerdealmode": {
  24436. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24437. "type": "integer"
  24438. },
  24439. "outgoodscode": {
  24440. "description": "商品代码(外部)",
  24441. "type": "string"
  24442. },
  24443. "pictureurl": {
  24444. "description": "商品图片",
  24445. "type": "string"
  24446. },
  24447. "qtydecimalplace": {
  24448. "description": "成交量小数位",
  24449. "type": "integer"
  24450. },
  24451. "quotegear": {
  24452. "description": "行情档位(1-10)",
  24453. "type": "integer"
  24454. },
  24455. "quoteminunit": {
  24456. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24457. "type": "integer"
  24458. },
  24459. "quoteshowtype": {
  24460. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24461. "type": "integer"
  24462. },
  24463. "quoteshowtypeinterval": {
  24464. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24465. "type": "integer"
  24466. },
  24467. "remark": {
  24468. "description": "备注",
  24469. "type": "string"
  24470. }
  24471. }
  24472. },
  24473. "models.GoodsIDAndName": {
  24474. "type": "object",
  24475. "required": [
  24476. "goodscode",
  24477. "goodsid",
  24478. "goodsname",
  24479. "marketid"
  24480. ],
  24481. "properties": {
  24482. "goodscode": {
  24483. "description": "商品代码(内部)",
  24484. "type": "string"
  24485. },
  24486. "goodsid": {
  24487. "description": "商品ID(自增ID SEQ_GOODS)",
  24488. "type": "integer"
  24489. },
  24490. "goodsname": {
  24491. "description": "商品名称",
  24492. "type": "string"
  24493. },
  24494. "marketid": {
  24495. "description": "所属市场ID",
  24496. "type": "integer"
  24497. }
  24498. }
  24499. },
  24500. "models.Goodsgroup": {
  24501. "type": "object",
  24502. "required": [
  24503. "goodsgroupid",
  24504. "goodsgroupname",
  24505. "goodsgroupstatus",
  24506. "marketid"
  24507. ],
  24508. "properties": {
  24509. "agreeunit": {
  24510. "description": "合约单位",
  24511. "type": "number"
  24512. },
  24513. "canshort": {
  24514. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24515. "type": "integer"
  24516. },
  24517. "closepricemode": {
  24518. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24519. "type": "integer"
  24520. },
  24521. "closepriceparam": {
  24522. "description": "强平最新价浮动比例 - 方式为2时使用",
  24523. "type": "number"
  24524. },
  24525. "createtime": {
  24526. "description": "创建时间",
  24527. "type": "string"
  24528. },
  24529. "creatorid": {
  24530. "description": "创建人",
  24531. "type": "integer"
  24532. },
  24533. "currencyid": {
  24534. "description": "报价货币ID",
  24535. "type": "integer"
  24536. },
  24537. "decimalplace": {
  24538. "description": "报价小数位",
  24539. "type": "integer"
  24540. },
  24541. "exercisetype": {
  24542. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  24543. "type": "integer"
  24544. },
  24545. "exexchangeid": {
  24546. "description": "外部交易所ID[通道交易]",
  24547. "type": "integer"
  24548. },
  24549. "goodsgroupid": {
  24550. "description": "商品组ID(自增ID)",
  24551. "type": "integer"
  24552. },
  24553. "goodsgroupname": {
  24554. "description": "商品组名称",
  24555. "type": "string"
  24556. },
  24557. "goodsgroupstatus": {
  24558. "description": "商品组状态 - 1:正常 2:注销",
  24559. "type": "integer"
  24560. },
  24561. "goodunitid": {
  24562. "description": "报价单位ID",
  24563. "type": "integer"
  24564. },
  24565. "innerdealmode": {
  24566. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24567. "type": "integer"
  24568. },
  24569. "isbuylimited": {
  24570. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24571. "type": "integer"
  24572. },
  24573. "marketid": {
  24574. "description": "所属市场ID",
  24575. "type": "integer"
  24576. },
  24577. "modifierid": {
  24578. "description": "修改人",
  24579. "type": "integer"
  24580. },
  24581. "modifytime": {
  24582. "description": "修改时间",
  24583. "type": "string"
  24584. },
  24585. "outerdealmode": {
  24586. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24587. "type": "integer"
  24588. },
  24589. "outergroupcode": {
  24590. "description": "外部商品组代码[通道交易]",
  24591. "type": "string"
  24592. },
  24593. "premiumdecimalplace": {
  24594. "description": "权利金小数位[场外期权]",
  24595. "type": "integer"
  24596. },
  24597. "premiumspreadalgorithm": {
  24598. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  24599. "type": "integer"
  24600. },
  24601. "premiumspreadvalue": {
  24602. "description": "权利金点差值[场外期权]",
  24603. "type": "number"
  24604. },
  24605. "qtydecimalplace": {
  24606. "description": "成交量小数位",
  24607. "type": "integer"
  24608. },
  24609. "quotegear": {
  24610. "description": "行情档位(1-10)",
  24611. "type": "integer"
  24612. },
  24613. "quoteminunit": {
  24614. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24615. "type": "integer"
  24616. },
  24617. "quoterid": {
  24618. "description": "报价商ID[场外期权]",
  24619. "type": "integer"
  24620. },
  24621. "quotesourcegroupid": {
  24622. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24623. "type": "integer"
  24624. },
  24625. "syncgoodsqty": {
  24626. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24627. "type": "integer"
  24628. }
  24629. }
  24630. },
  24631. "models.Goodssortbypreposition": {
  24632. "type": "object",
  24633. "required": [
  24634. "goodscode",
  24635. "tradedate"
  24636. ],
  24637. "properties": {
  24638. "goodscode": {
  24639. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  24640. "type": "string"
  24641. },
  24642. "goodsgroupcode": {
  24643. "description": "品种代码",
  24644. "type": "string"
  24645. },
  24646. "prepositionqty": {
  24647. "description": "昨持仓量",
  24648. "type": "integer"
  24649. },
  24650. "sortindex": {
  24651. "description": "排序",
  24652. "type": "integer"
  24653. },
  24654. "tradedate": {
  24655. "description": "交易日",
  24656. "type": "string"
  24657. },
  24658. "updatetime": {
  24659. "description": "更新时间",
  24660. "type": "string"
  24661. }
  24662. }
  24663. },
  24664. "models.Hedgeinnerholderdetail": {
  24665. "type": "object",
  24666. "required": [
  24667. "buyorsell",
  24668. "tradeid"
  24669. ],
  24670. "properties": {
  24671. "accountid": {
  24672. "description": "账号ID",
  24673. "type": "integer"
  24674. },
  24675. "buyorsell": {
  24676. "description": "方向 - 0:买 1:卖",
  24677. "type": "integer"
  24678. },
  24679. "freezeqty": {
  24680. "description": "冻结数量 - 按单平使用",
  24681. "type": "integer"
  24682. },
  24683. "goodsid": {
  24684. "description": "商品ID",
  24685. "type": "integer"
  24686. },
  24687. "holderamount": {
  24688. "description": "持仓金额 [商品币种]",
  24689. "type": "number"
  24690. },
  24691. "holderdays": {
  24692. "description": "剩余冻结天数",
  24693. "type": "integer"
  24694. },
  24695. "holderprice": {
  24696. "description": "持仓价格",
  24697. "type": "number"
  24698. },
  24699. "holderqty": {
  24700. "description": "持仓数量",
  24701. "type": "integer"
  24702. },
  24703. "marketid": {
  24704. "description": "市场ID",
  24705. "type": "integer"
  24706. },
  24707. "openprice": {
  24708. "description": "建仓价格",
  24709. "type": "number"
  24710. },
  24711. "openqty": {
  24712. "description": "建仓数量",
  24713. "type": "integer"
  24714. },
  24715. "parentaccountid": {
  24716. "description": "所属母账户",
  24717. "type": "integer"
  24718. },
  24719. "releaseamount": {
  24720. "description": "释放持仓金额[商品币种]",
  24721. "type": "number"
  24722. },
  24723. "tradeamount": {
  24724. "description": "成交金额[账户]",
  24725. "type": "number"
  24726. },
  24727. "tradedate": {
  24728. "description": "交易日(yyyyMMdd)",
  24729. "type": "string"
  24730. },
  24731. "tradeid": {
  24732. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24733. "type": "string"
  24734. },
  24735. "tradetime": {
  24736. "description": "交易时间",
  24737. "type": "string"
  24738. }
  24739. }
  24740. },
  24741. "models.Hedgemarketopenlog": {
  24742. "type": "object",
  24743. "required": [
  24744. "accountid"
  24745. ],
  24746. "properties": {
  24747. "accountid": {
  24748. "description": "资金账号[外部母账户]",
  24749. "type": "integer"
  24750. },
  24751. "fcname": {
  24752. "description": "期货公司名称",
  24753. "type": "string"
  24754. },
  24755. "handlestatus": {
  24756. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  24757. "type": "integer"
  24758. },
  24759. "marketid": {
  24760. "description": "市场ID",
  24761. "type": "integer"
  24762. },
  24763. "status": {
  24764. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  24765. "type": "integer"
  24766. },
  24767. "tradedate": {
  24768. "description": "交易日(yyyyMMdd)",
  24769. "type": "string"
  24770. },
  24771. "updatetime": {
  24772. "description": "更新时间",
  24773. "type": "string"
  24774. }
  24775. }
  24776. },
  24777. "models.HsbyBuyMyPayOrder": {
  24778. "type": "object",
  24779. "required": [
  24780. "goodscode",
  24781. "goodsname",
  24782. "tradeid",
  24783. "trademode"
  24784. ],
  24785. "properties": {
  24786. "agreeunit": {
  24787. "description": "合约单位",
  24788. "type": "number"
  24789. },
  24790. "buyaccountid": {
  24791. "description": "买方账号ID[报价币种]",
  24792. "type": "integer"
  24793. },
  24794. "buyorderid": {
  24795. "description": "买方委托单号",
  24796. "type": "string"
  24797. },
  24798. "createtime": {
  24799. "description": "创建时间",
  24800. "type": "string"
  24801. },
  24802. "currencysign": {
  24803. "description": "货币符号",
  24804. "type": "string"
  24805. },
  24806. "decimalplace": {
  24807. "description": "报价小数位",
  24808. "type": "integer"
  24809. },
  24810. "goodscode": {
  24811. "description": "商品代码(内部)",
  24812. "type": "string"
  24813. },
  24814. "goodsid": {
  24815. "description": "商品ID",
  24816. "type": "integer"
  24817. },
  24818. "goodsname": {
  24819. "description": "商品名称",
  24820. "type": "string"
  24821. },
  24822. "marketid": {
  24823. "description": "市场ID",
  24824. "type": "integer"
  24825. },
  24826. "offamount": {
  24827. "description": "优惠金额",
  24828. "type": "number"
  24829. },
  24830. "originalamount": {
  24831. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  24832. "type": "number"
  24833. },
  24834. "payamount": {
  24835. "description": "支付金额 = TradeAmount + TradeCharge",
  24836. "type": "number"
  24837. },
  24838. "payflag": {
  24839. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24840. "type": "integer"
  24841. },
  24842. "paylimitedtime": {
  24843. "description": "支付期限",
  24844. "type": "string"
  24845. },
  24846. "paytime": {
  24847. "description": "付款时间",
  24848. "type": "string"
  24849. },
  24850. "picurls1": {
  24851. "description": "预售商品介绍图片[多张用逗号分隔]",
  24852. "type": "string"
  24853. },
  24854. "picurls2": {
  24855. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24856. "type": "string"
  24857. },
  24858. "sellaccountid": {
  24859. "description": "卖方账号ID[报价币种]",
  24860. "type": "integer"
  24861. },
  24862. "sellorderid": {
  24863. "description": "卖方委托单号",
  24864. "type": "string"
  24865. },
  24866. "tradeamount": {
  24867. "description": "成交金额",
  24868. "type": "number"
  24869. },
  24870. "tradecharge": {
  24871. "description": "成交手续费(买方)",
  24872. "type": "number"
  24873. },
  24874. "tradedate": {
  24875. "description": "交易日(yyyyMMdd)",
  24876. "type": "string"
  24877. },
  24878. "tradeid": {
  24879. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24880. "type": "string"
  24881. },
  24882. "trademode": {
  24883. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24884. "type": "integer"
  24885. },
  24886. "tradeprice": {
  24887. "description": "成交价格",
  24888. "type": "number"
  24889. },
  24890. "tradeqty": {
  24891. "description": "成交数量",
  24892. "type": "integer"
  24893. },
  24894. "vendorname1": {
  24895. "description": "预售商品供应商名称",
  24896. "type": "string"
  24897. },
  24898. "vendorname2": {
  24899. "description": "挂牌商品供应商名称",
  24900. "type": "string"
  24901. }
  24902. }
  24903. },
  24904. "models.HsbyBuyMyTradeDetail": {
  24905. "type": "object",
  24906. "required": [
  24907. "accountid",
  24908. "buyorsell",
  24909. "goodscode",
  24910. "goodsid",
  24911. "goodsname",
  24912. "marketid",
  24913. "orderid",
  24914. "qty",
  24915. "time",
  24916. "trademode"
  24917. ],
  24918. "properties": {
  24919. "accountid": {
  24920. "description": "账户ID[报价币种]",
  24921. "type": "integer"
  24922. },
  24923. "agreeunit": {
  24924. "description": "合约单位",
  24925. "type": "number"
  24926. },
  24927. "amount": {
  24928. "description": "金额 = 价格 * 数量 * 合约单位",
  24929. "type": "number"
  24930. },
  24931. "buyorsell": {
  24932. "description": "买卖 - 0:买 1:卖",
  24933. "type": "integer"
  24934. },
  24935. "currencysign": {
  24936. "description": "货币符号",
  24937. "type": "string"
  24938. },
  24939. "decimalplace": {
  24940. "description": "报价小数位",
  24941. "type": "integer"
  24942. },
  24943. "goodscode": {
  24944. "description": "商品代码(内部)",
  24945. "type": "string"
  24946. },
  24947. "goodsid": {
  24948. "description": "商品ID",
  24949. "type": "integer"
  24950. },
  24951. "goodsname": {
  24952. "description": "商品名称",
  24953. "type": "string"
  24954. },
  24955. "marketid": {
  24956. "description": "市场ID",
  24957. "type": "integer"
  24958. },
  24959. "orderamount": {
  24960. "description": "委托金额",
  24961. "type": "number"
  24962. },
  24963. "orderid": {
  24964. "description": "单号(成交单号)",
  24965. "type": "string"
  24966. },
  24967. "picurls1": {
  24968. "description": "预售商品介绍图片[多张用逗号分隔]",
  24969. "type": "string"
  24970. },
  24971. "picurls2": {
  24972. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24973. "type": "string"
  24974. },
  24975. "price": {
  24976. "description": "价格",
  24977. "type": "number"
  24978. },
  24979. "qty": {
  24980. "description": "数量",
  24981. "type": "integer"
  24982. },
  24983. "time": {
  24984. "description": "时间",
  24985. "type": "string"
  24986. },
  24987. "trademode": {
  24988. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24989. "type": "integer"
  24990. },
  24991. "vendorname1": {
  24992. "description": "预售商品供应商名称",
  24993. "type": "string"
  24994. },
  24995. "vendorname2": {
  24996. "description": "挂牌商品供应商名称",
  24997. "type": "string"
  24998. }
  24999. }
  25000. },
  25001. "models.HsbyGoodsOrderDetail": {
  25002. "type": "object",
  25003. "required": [
  25004. "buyorsell",
  25005. "orderid",
  25006. "ordertime"
  25007. ],
  25008. "properties": {
  25009. "buyorsell": {
  25010. "description": "买卖 - 0:买 1:卖",
  25011. "type": "integer"
  25012. },
  25013. "currencysign": {
  25014. "description": "货币符号",
  25015. "type": "string"
  25016. },
  25017. "customername": {
  25018. "description": "客户名称(企业名称),已脱敏",
  25019. "type": "string"
  25020. },
  25021. "enableqty": {
  25022. "description": "可用数量",
  25023. "type": "integer"
  25024. },
  25025. "goodunit": {
  25026. "description": "报价单位",
  25027. "type": "string"
  25028. },
  25029. "orderid": {
  25030. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25031. "type": "string"
  25032. },
  25033. "orderprice": {
  25034. "description": "委托价格",
  25035. "type": "number"
  25036. },
  25037. "ordertime": {
  25038. "description": "委托时间",
  25039. "type": "string"
  25040. }
  25041. }
  25042. },
  25043. "models.HsbyListingGoodsDetail": {
  25044. "type": "object",
  25045. "required": [
  25046. "goodscode",
  25047. "goodsid",
  25048. "goodsname",
  25049. "marketid",
  25050. "trademode"
  25051. ],
  25052. "properties": {
  25053. "agreeunit": {
  25054. "description": "合约单位",
  25055. "type": "number"
  25056. },
  25057. "buymaxqty": {
  25058. "description": "购买上限 [71] - 0为不限",
  25059. "type": "integer"
  25060. },
  25061. "currency": {
  25062. "description": "货币",
  25063. "type": "string"
  25064. },
  25065. "currencysign": {
  25066. "description": "货币符号",
  25067. "type": "string"
  25068. },
  25069. "decimalplace": {
  25070. "description": "报价小数位",
  25071. "type": "integer"
  25072. },
  25073. "desccityid": {
  25074. "description": "目的地(市)ID",
  25075. "type": "integer"
  25076. },
  25077. "descprovinceid": {
  25078. "description": "目的地(省)ID",
  25079. "type": "integer"
  25080. },
  25081. "goodscode": {
  25082. "description": "商品代码(内部)",
  25083. "type": "string"
  25084. },
  25085. "goodsdesc": {
  25086. "description": "商品详情",
  25087. "type": "string"
  25088. },
  25089. "goodsid": {
  25090. "description": "商品ID(自增ID SEQ_GOODS)",
  25091. "type": "integer"
  25092. },
  25093. "goodsname": {
  25094. "description": "商品名称",
  25095. "type": "string"
  25096. },
  25097. "goodsprice": {
  25098. "description": "商品价格",
  25099. "type": "number"
  25100. },
  25101. "hotindex": {
  25102. "description": "景点热度",
  25103. "type": "integer"
  25104. },
  25105. "last": {
  25106. "description": "现价",
  25107. "type": "number"
  25108. },
  25109. "limitdown": {
  25110. "description": "跌停价",
  25111. "type": "number"
  25112. },
  25113. "limitup": {
  25114. "description": "涨停价",
  25115. "type": "number"
  25116. },
  25117. "lotsize": {
  25118. "description": "手数最小变动单位",
  25119. "type": "integer"
  25120. },
  25121. "marketid": {
  25122. "description": "所属市场ID",
  25123. "type": "integer"
  25124. },
  25125. "picurls": {
  25126. "description": "介绍图片[多张用逗号分隔]",
  25127. "type": "string"
  25128. },
  25129. "quoteminunit": {
  25130. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25131. "type": "integer"
  25132. },
  25133. "stepvalue": {
  25134. "description": "价格最小变动单位",
  25135. "type": "number"
  25136. },
  25137. "trademode": {
  25138. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25139. "type": "integer"
  25140. },
  25141. "vendorattr": {
  25142. "description": "供应商附件(多张,逗号分隔)",
  25143. "type": "string"
  25144. },
  25145. "vendorname": {
  25146. "description": "供应商名称",
  25147. "type": "string"
  25148. },
  25149. "vendorphone": {
  25150. "description": "供应商客服电话",
  25151. "type": "string"
  25152. },
  25153. "videourls": {
  25154. "description": "介绍视频[多张用逗号分隔]",
  25155. "type": "string"
  25156. }
  25157. }
  25158. },
  25159. "models.HsbyMarketGoods": {
  25160. "type": "object",
  25161. "required": [
  25162. "accountid",
  25163. "buyorsell",
  25164. "goodscode",
  25165. "goodsid",
  25166. "goodsname",
  25167. "marketid",
  25168. "orderid",
  25169. "trademode"
  25170. ],
  25171. "properties": {
  25172. "accountid": {
  25173. "description": "账户ID[报价币种]",
  25174. "type": "integer"
  25175. },
  25176. "agreeunit": {
  25177. "description": "合约单位",
  25178. "type": "number"
  25179. },
  25180. "buyorsell": {
  25181. "description": "买卖 - 0:买 1:卖",
  25182. "type": "integer"
  25183. },
  25184. "categoryid": {
  25185. "description": "类别ID(WRCATEGORY)",
  25186. "type": "integer"
  25187. },
  25188. "currency": {
  25189. "description": "货币",
  25190. "type": "string"
  25191. },
  25192. "currencysign": {
  25193. "description": "货币符号",
  25194. "type": "string"
  25195. },
  25196. "customername": {
  25197. "description": "卖家名称",
  25198. "type": "string"
  25199. },
  25200. "decimalplace": {
  25201. "description": "报价小数位",
  25202. "type": "integer"
  25203. },
  25204. "goodscode": {
  25205. "description": "商品代码(内部)",
  25206. "type": "string"
  25207. },
  25208. "goodsid": {
  25209. "description": "商品ID",
  25210. "type": "integer"
  25211. },
  25212. "goodsname": {
  25213. "description": "商品名称",
  25214. "type": "string"
  25215. },
  25216. "goodsprice": {
  25217. "description": "商品价格",
  25218. "type": "number"
  25219. },
  25220. "hascoupon": {
  25221. "description": "是否可用优惠卷",
  25222. "type": "boolean"
  25223. },
  25224. "hotindex": {
  25225. "description": "景点热度",
  25226. "type": "integer"
  25227. },
  25228. "marketid": {
  25229. "description": "市场ID",
  25230. "type": "integer"
  25231. },
  25232. "orderid": {
  25233. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25234. "type": "string"
  25235. },
  25236. "orderprice": {
  25237. "description": "委托价格",
  25238. "type": "number"
  25239. },
  25240. "orderstatus": {
  25241. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25242. "type": "integer"
  25243. },
  25244. "picurls": {
  25245. "description": "介绍图片[多张用逗号分隔]",
  25246. "type": "string"
  25247. },
  25248. "quoteminunit": {
  25249. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25250. "type": "integer"
  25251. },
  25252. "sellUserID": {
  25253. "description": "卖方UserID",
  25254. "type": "integer"
  25255. },
  25256. "trademode": {
  25257. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25258. "type": "integer"
  25259. },
  25260. "videourls": {
  25261. "description": "介绍视频[多张用逗号分隔]",
  25262. "type": "string"
  25263. }
  25264. }
  25265. },
  25266. "models.HsbyMarketGoodsDetail": {
  25267. "type": "object",
  25268. "required": [
  25269. "accountid",
  25270. "buyorsell",
  25271. "goodscode",
  25272. "goodsid",
  25273. "goodsname",
  25274. "marketid",
  25275. "orderid",
  25276. "orderqty",
  25277. "trademode"
  25278. ],
  25279. "properties": {
  25280. "accountid": {
  25281. "description": "账户ID[报价币种]",
  25282. "type": "integer"
  25283. },
  25284. "agreeunit": {
  25285. "description": "合约单位",
  25286. "type": "number"
  25287. },
  25288. "buymaxqty": {
  25289. "description": "购买上限 [71] - 0为不限",
  25290. "type": "integer"
  25291. },
  25292. "buyorsell": {
  25293. "description": "买卖 - 0:买 1:卖",
  25294. "type": "integer"
  25295. },
  25296. "cancelqty": {
  25297. "description": "撤单数量",
  25298. "type": "integer"
  25299. },
  25300. "categoryid": {
  25301. "description": "类别ID(WRCATEGORY)",
  25302. "type": "integer"
  25303. },
  25304. "currency": {
  25305. "description": "货币",
  25306. "type": "string"
  25307. },
  25308. "currencysign": {
  25309. "description": "货币符号",
  25310. "type": "string"
  25311. },
  25312. "customername": {
  25313. "description": "卖家名称",
  25314. "type": "string"
  25315. },
  25316. "decimalplace": {
  25317. "description": "报价小数位",
  25318. "type": "integer"
  25319. },
  25320. "goodscode": {
  25321. "description": "商品代码(内部)",
  25322. "type": "string"
  25323. },
  25324. "goodsdesc": {
  25325. "description": "商品详情",
  25326. "type": "string"
  25327. },
  25328. "goodsid": {
  25329. "description": "商品ID",
  25330. "type": "integer"
  25331. },
  25332. "goodsname": {
  25333. "description": "商品名称",
  25334. "type": "string"
  25335. },
  25336. "goodsprice": {
  25337. "description": "商品价格",
  25338. "type": "number"
  25339. },
  25340. "hotindex": {
  25341. "description": "景点热度",
  25342. "type": "integer"
  25343. },
  25344. "lotsize": {
  25345. "description": "手数最小变动单位",
  25346. "type": "integer"
  25347. },
  25348. "marketid": {
  25349. "description": "市场ID",
  25350. "type": "integer"
  25351. },
  25352. "orderid": {
  25353. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25354. "type": "string"
  25355. },
  25356. "orderprice": {
  25357. "description": "委托价格",
  25358. "type": "number"
  25359. },
  25360. "orderqty": {
  25361. "description": "委托数量",
  25362. "type": "integer"
  25363. },
  25364. "orderstatus": {
  25365. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25366. "type": "integer"
  25367. },
  25368. "picurls": {
  25369. "description": "介绍图片[多张用逗号分隔]",
  25370. "type": "string"
  25371. },
  25372. "quoteminunit": {
  25373. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25374. "type": "integer"
  25375. },
  25376. "sellUserID": {
  25377. "description": "卖方UserID",
  25378. "type": "integer"
  25379. },
  25380. "trademode": {
  25381. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25382. "type": "integer"
  25383. },
  25384. "tradeqty": {
  25385. "description": "成交数量",
  25386. "type": "integer"
  25387. },
  25388. "vendorattr": {
  25389. "description": "供应商附件(多张,逗号分隔)",
  25390. "type": "string"
  25391. },
  25392. "vendorname": {
  25393. "description": "供应商名称",
  25394. "type": "string"
  25395. },
  25396. "vendorphone": {
  25397. "description": "供应商客服电话",
  25398. "type": "string"
  25399. },
  25400. "videourls": {
  25401. "description": "介绍视频[多张用逗号分隔]",
  25402. "type": "string"
  25403. }
  25404. }
  25405. },
  25406. "models.HsbyMarketInfo": {
  25407. "type": "object",
  25408. "required": [
  25409. "marketid",
  25410. "marketstatus",
  25411. "trademode"
  25412. ],
  25413. "properties": {
  25414. "marketid": {
  25415. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25416. "type": "integer"
  25417. },
  25418. "marketname": {
  25419. "description": "市场名称",
  25420. "type": "string"
  25421. },
  25422. "marketstatus": {
  25423. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25424. "type": "integer"
  25425. },
  25426. "trademode": {
  25427. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25428. "type": "integer"
  25429. }
  25430. }
  25431. },
  25432. "models.HsbyMyGoods": {
  25433. "type": "object",
  25434. "required": [
  25435. "accountid",
  25436. "goodscode",
  25437. "goodsid",
  25438. "goodsname",
  25439. "marketid",
  25440. "trademode"
  25441. ],
  25442. "properties": {
  25443. "accountid": {
  25444. "description": "账号Id",
  25445. "type": "integer"
  25446. },
  25447. "agreeunit": {
  25448. "description": "合约单位",
  25449. "type": "number"
  25450. },
  25451. "buyaverageprice": {
  25452. "description": "持仓均价",
  25453. "type": "number"
  25454. },
  25455. "buycurholderamount": {
  25456. "description": "买当前持仓总金额[商品币种]",
  25457. "type": "number"
  25458. },
  25459. "buycurpositionqty": {
  25460. "description": "买当前持仓总数量",
  25461. "type": "integer"
  25462. },
  25463. "buymaxqty": {
  25464. "description": "购买上限 [71] - 0为不限",
  25465. "type": "integer"
  25466. },
  25467. "currencysign": {
  25468. "description": "货币符号",
  25469. "type": "string"
  25470. },
  25471. "decimalplace": {
  25472. "description": "报价小数位",
  25473. "type": "integer"
  25474. },
  25475. "enableqty": {
  25476. "description": "可用数量",
  25477. "type": "integer"
  25478. },
  25479. "goodscode": {
  25480. "description": "商品代码(内部)",
  25481. "type": "string"
  25482. },
  25483. "goodsid": {
  25484. "description": "商品Id",
  25485. "type": "integer"
  25486. },
  25487. "goodsname": {
  25488. "description": "商品名称",
  25489. "type": "string"
  25490. },
  25491. "goodsprice": {
  25492. "description": "商品价格",
  25493. "type": "number"
  25494. },
  25495. "goodsstatus": {
  25496. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25497. "type": "integer"
  25498. },
  25499. "last": {
  25500. "description": "现价(仅使用于挂牌点选)",
  25501. "type": "number"
  25502. },
  25503. "limitdown": {
  25504. "description": "跌停价(仅使用于挂牌点选)",
  25505. "type": "number"
  25506. },
  25507. "limitup": {
  25508. "description": "涨停价(仅使用于挂牌点选)",
  25509. "type": "number"
  25510. },
  25511. "lotsize": {
  25512. "description": "手数最小变动单位",
  25513. "type": "integer"
  25514. },
  25515. "marketid": {
  25516. "description": "所属市场ID",
  25517. "type": "integer"
  25518. },
  25519. "picurls": {
  25520. "description": "介绍图片[多张用逗号分隔]",
  25521. "type": "string"
  25522. },
  25523. "quoteminunit": {
  25524. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25525. "type": "integer"
  25526. },
  25527. "stepvalue": {
  25528. "description": "价格最小变动单位",
  25529. "type": "number"
  25530. },
  25531. "trademode": {
  25532. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25533. "type": "integer"
  25534. }
  25535. }
  25536. },
  25537. "models.HsbyMyPackage": {
  25538. "type": "object",
  25539. "required": [
  25540. "goodscode",
  25541. "goodsname",
  25542. "takeorderid",
  25543. "trademode"
  25544. ],
  25545. "properties": {
  25546. "accountid": {
  25547. "description": "账户ID",
  25548. "type": "integer"
  25549. },
  25550. "address": {
  25551. "description": "提货人详细地址",
  25552. "type": "string"
  25553. },
  25554. "agreeunit": {
  25555. "description": "合约单位",
  25556. "type": "number"
  25557. },
  25558. "amount": {
  25559. "description": "提货金额",
  25560. "type": "number"
  25561. },
  25562. "auditer": {
  25563. "description": "审核人",
  25564. "type": "integer"
  25565. },
  25566. "audittime": {
  25567. "description": "审核时间",
  25568. "type": "string"
  25569. },
  25570. "averageprice": {
  25571. "description": "均价",
  25572. "type": "number"
  25573. },
  25574. "cardnum": {
  25575. "description": "提货人证件号码",
  25576. "type": "string"
  25577. },
  25578. "cardtypeid": {
  25579. "description": "提货人证件类型",
  25580. "type": "integer"
  25581. },
  25582. "checkremark": {
  25583. "description": "审核备注",
  25584. "type": "string"
  25585. },
  25586. "currencysign": {
  25587. "description": "货币符号",
  25588. "type": "string"
  25589. },
  25590. "decimalplace": {
  25591. "description": "报价小数位",
  25592. "type": "integer"
  25593. },
  25594. "goodscode": {
  25595. "description": "商品代码(内部)",
  25596. "type": "string"
  25597. },
  25598. "goodsid": {
  25599. "description": "商品ID",
  25600. "type": "integer"
  25601. },
  25602. "goodsname": {
  25603. "description": "商品名称",
  25604. "type": "string"
  25605. },
  25606. "handlestatus": {
  25607. "description": "处理状态",
  25608. "type": "integer"
  25609. },
  25610. "marketid": {
  25611. "description": "市场ID",
  25612. "type": "integer"
  25613. },
  25614. "phonenum": {
  25615. "description": "提货人联系方式",
  25616. "type": "string"
  25617. },
  25618. "picurls": {
  25619. "description": "介绍图片[多张用逗号分隔]",
  25620. "type": "string"
  25621. },
  25622. "qty": {
  25623. "description": "提货数量",
  25624. "type": "number"
  25625. },
  25626. "recivername": {
  25627. "description": "提货人姓名",
  25628. "type": "string"
  25629. },
  25630. "reqtime": {
  25631. "description": "更新时间",
  25632. "type": "string"
  25633. },
  25634. "takemode": {
  25635. "description": "提货方式 - 2:自提 3:配送",
  25636. "type": "integer"
  25637. },
  25638. "takeorderid": {
  25639. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25640. "type": "string"
  25641. },
  25642. "takeorderstatus": {
  25643. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  25644. "type": "integer"
  25645. },
  25646. "takeremark": {
  25647. "description": "提货备注",
  25648. "type": "string"
  25649. },
  25650. "tradedate": {
  25651. "description": "交易日(yyyyMMdd)",
  25652. "type": "string"
  25653. },
  25654. "trademode": {
  25655. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25656. "type": "integer"
  25657. },
  25658. "userid": {
  25659. "description": "用户ID",
  25660. "type": "integer"
  25661. },
  25662. "vendorname": {
  25663. "description": "供应商名称",
  25664. "type": "string"
  25665. }
  25666. }
  25667. },
  25668. "models.HsbyPreGoods": {
  25669. "type": "object",
  25670. "required": [
  25671. "goodscode",
  25672. "goodsid",
  25673. "goodsname",
  25674. "marketid",
  25675. "trademode"
  25676. ],
  25677. "properties": {
  25678. "agreeunit": {
  25679. "description": "合约单位",
  25680. "type": "number"
  25681. },
  25682. "currency": {
  25683. "description": "货币",
  25684. "type": "string"
  25685. },
  25686. "currencysign": {
  25687. "description": "货币符号",
  25688. "type": "string"
  25689. },
  25690. "decimalplace": {
  25691. "description": "报价小数位",
  25692. "type": "integer"
  25693. },
  25694. "desccityid": {
  25695. "description": "目的地(市)",
  25696. "type": "integer"
  25697. },
  25698. "descprovinceid": {
  25699. "description": "目的地(省)",
  25700. "type": "integer"
  25701. },
  25702. "enableqty": {
  25703. "description": "剩余数量",
  25704. "type": "integer"
  25705. },
  25706. "goodscode": {
  25707. "description": "商品代码(内部)",
  25708. "type": "string"
  25709. },
  25710. "goodsid": {
  25711. "description": "商品ID(自增ID SEQ_GOODS)",
  25712. "type": "integer"
  25713. },
  25714. "goodsname": {
  25715. "description": "商品名称",
  25716. "type": "string"
  25717. },
  25718. "goodsstatus": {
  25719. "description": "商品状态- 2:未上市 3:上市",
  25720. "type": "integer"
  25721. },
  25722. "lasttradedate": {
  25723. "description": "最后交易日期(状态:待退市)",
  25724. "type": "string"
  25725. },
  25726. "listingdate": {
  25727. "description": "交易开始日期",
  25728. "type": "string"
  25729. },
  25730. "marketid": {
  25731. "description": "所属市场ID",
  25732. "type": "integer"
  25733. },
  25734. "picurls": {
  25735. "description": "介绍图片[多张用逗号分隔]",
  25736. "type": "string"
  25737. },
  25738. "presaledqty": {
  25739. "description": "已预售量(预售结束时更新)",
  25740. "type": "integer"
  25741. },
  25742. "presaleqty": {
  25743. "description": "预售数量",
  25744. "type": "integer"
  25745. },
  25746. "quoteminunit": {
  25747. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25748. "type": "integer"
  25749. },
  25750. "refprice": {
  25751. "description": "参考价格[一口价]",
  25752. "type": "number"
  25753. },
  25754. "relatedgoodsid": {
  25755. "description": "关联交易合约ID",
  25756. "type": "integer"
  25757. },
  25758. "trademode": {
  25759. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25760. "type": "integer"
  25761. },
  25762. "videourls": {
  25763. "description": "介绍视频[多张用逗号分隔]",
  25764. "type": "string"
  25765. }
  25766. }
  25767. },
  25768. "models.HsbyPreGoodsDetail": {
  25769. "type": "object",
  25770. "required": [
  25771. "goodscode",
  25772. "goodsid",
  25773. "goodsname",
  25774. "marketid",
  25775. "trademode"
  25776. ],
  25777. "properties": {
  25778. "agreeunit": {
  25779. "description": "合约单位",
  25780. "type": "number"
  25781. },
  25782. "buymaxqty": {
  25783. "description": "购买上限 [71] - 0为不限",
  25784. "type": "integer"
  25785. },
  25786. "currency": {
  25787. "description": "货币",
  25788. "type": "string"
  25789. },
  25790. "currencysign": {
  25791. "description": "货币符号",
  25792. "type": "string"
  25793. },
  25794. "customername": {
  25795. "description": "发行单位",
  25796. "type": "string"
  25797. },
  25798. "decimalplace": {
  25799. "description": "报价小数位",
  25800. "type": "integer"
  25801. },
  25802. "desccityid": {
  25803. "description": "目的地(市)ID",
  25804. "type": "integer"
  25805. },
  25806. "descprovinceid": {
  25807. "description": "目的地(省)ID",
  25808. "type": "integer"
  25809. },
  25810. "enableqty": {
  25811. "description": "剩余数量",
  25812. "type": "integer"
  25813. },
  25814. "goodscode": {
  25815. "description": "商品代码(内部)",
  25816. "type": "string"
  25817. },
  25818. "goodsdesc": {
  25819. "description": "商品详情",
  25820. "type": "string"
  25821. },
  25822. "goodsid": {
  25823. "description": "商品ID(自增ID SEQ_GOODS)",
  25824. "type": "integer"
  25825. },
  25826. "goodsname": {
  25827. "description": "商品名称",
  25828. "type": "string"
  25829. },
  25830. "goodsstatus": {
  25831. "description": "商品状态- 2:未上市 3:上市",
  25832. "type": "integer"
  25833. },
  25834. "goodunit": {
  25835. "description": "报价单位",
  25836. "type": "string"
  25837. },
  25838. "lasttradedate": {
  25839. "description": "最后交易日期(状态:待退市)",
  25840. "type": "string"
  25841. },
  25842. "listingdate": {
  25843. "description": "交易开始日期",
  25844. "type": "string"
  25845. },
  25846. "lotsize": {
  25847. "description": "手数最小变动单位",
  25848. "type": "integer"
  25849. },
  25850. "marketid": {
  25851. "description": "所属市场ID",
  25852. "type": "integer"
  25853. },
  25854. "picurls": {
  25855. "description": "介绍图片[多张用逗号分隔]",
  25856. "type": "string"
  25857. },
  25858. "presaledqty": {
  25859. "description": "已预售量(预售结束时更新)",
  25860. "type": "integer"
  25861. },
  25862. "presaleqty": {
  25863. "description": "预售数量",
  25864. "type": "integer"
  25865. },
  25866. "quoteminunit": {
  25867. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25868. "type": "integer"
  25869. },
  25870. "refprice": {
  25871. "description": "参考价格[一口价]",
  25872. "type": "number"
  25873. },
  25874. "relatedgoodsid": {
  25875. "description": "关联交易合约ID",
  25876. "type": "integer"
  25877. },
  25878. "stepvalue": {
  25879. "description": "价格最小变动单位",
  25880. "type": "number"
  25881. },
  25882. "trademode": {
  25883. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25884. "type": "integer"
  25885. },
  25886. "vendorattr": {
  25887. "description": "供应商附件(多张,逗号分隔)",
  25888. "type": "string"
  25889. },
  25890. "vendorname": {
  25891. "description": "供应商名称",
  25892. "type": "string"
  25893. },
  25894. "vendorphone": {
  25895. "description": "供应商客服电话",
  25896. "type": "string"
  25897. },
  25898. "videourls": {
  25899. "description": "介绍视频[多张用逗号分隔]",
  25900. "type": "string"
  25901. }
  25902. }
  25903. },
  25904. "models.HsbySellCollectionOrder": {
  25905. "type": "object",
  25906. "required": [
  25907. "goodscode",
  25908. "goodsname",
  25909. "tradeid",
  25910. "trademode"
  25911. ],
  25912. "properties": {
  25913. "agreeunit": {
  25914. "description": "合约单位",
  25915. "type": "number"
  25916. },
  25917. "buyaccountid": {
  25918. "description": "买方账号ID[报价币种]",
  25919. "type": "integer"
  25920. },
  25921. "buyorderid": {
  25922. "description": "买方委托单号",
  25923. "type": "string"
  25924. },
  25925. "createtime": {
  25926. "description": "创建时间",
  25927. "type": "string"
  25928. },
  25929. "currencysign": {
  25930. "description": "货币符号",
  25931. "type": "string"
  25932. },
  25933. "decimalplace": {
  25934. "description": "报价小数位",
  25935. "type": "integer"
  25936. },
  25937. "goodscode": {
  25938. "description": "商品代码(内部)",
  25939. "type": "string"
  25940. },
  25941. "goodsid": {
  25942. "description": "商品ID",
  25943. "type": "integer"
  25944. },
  25945. "goodsname": {
  25946. "description": "商品名称",
  25947. "type": "string"
  25948. },
  25949. "marketid": {
  25950. "description": "市场ID",
  25951. "type": "integer"
  25952. },
  25953. "offamount": {
  25954. "description": "优惠金额",
  25955. "type": "number"
  25956. },
  25957. "payamount": {
  25958. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  25959. "type": "number"
  25960. },
  25961. "payflag": {
  25962. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25963. "type": "integer"
  25964. },
  25965. "paylimitedtime": {
  25966. "description": "支付期限",
  25967. "type": "string"
  25968. },
  25969. "paytime": {
  25970. "description": "付款时间",
  25971. "type": "string"
  25972. },
  25973. "picurls": {
  25974. "description": "商品介绍图片[多张用逗号分隔]",
  25975. "type": "string"
  25976. },
  25977. "sellaccountid": {
  25978. "description": "卖方账号ID[报价币种]",
  25979. "type": "integer"
  25980. },
  25981. "sellorderid": {
  25982. "description": "卖方委托单号",
  25983. "type": "string"
  25984. },
  25985. "tradeamount": {
  25986. "description": "成交金额",
  25987. "type": "number"
  25988. },
  25989. "tradecharge": {
  25990. "description": "成交手续费(买方)",
  25991. "type": "number"
  25992. },
  25993. "tradedate": {
  25994. "description": "交易日(yyyyMMdd)",
  25995. "type": "string"
  25996. },
  25997. "tradeid": {
  25998. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25999. "type": "string"
  26000. },
  26001. "trademode": {
  26002. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26003. "type": "integer"
  26004. },
  26005. "tradeprice": {
  26006. "description": "成交价格",
  26007. "type": "number"
  26008. },
  26009. "tradeqty": {
  26010. "description": "成交数量",
  26011. "type": "integer"
  26012. }
  26013. }
  26014. },
  26015. "models.HsbySellMyDetail": {
  26016. "type": "object",
  26017. "required": [
  26018. "accountid",
  26019. "buyorsell",
  26020. "goodscode",
  26021. "goodsid",
  26022. "goodsname",
  26023. "marketid",
  26024. "orderid",
  26025. "time",
  26026. "trademode"
  26027. ],
  26028. "properties": {
  26029. "accountid": {
  26030. "description": "账户ID[报价币种]",
  26031. "type": "integer"
  26032. },
  26033. "agreeunit": {
  26034. "description": "合约单位",
  26035. "type": "number"
  26036. },
  26037. "buyorsell": {
  26038. "description": "买卖 - 0:买 1:卖",
  26039. "type": "integer"
  26040. },
  26041. "currencysign": {
  26042. "description": "货币符号",
  26043. "type": "string"
  26044. },
  26045. "decimalplace": {
  26046. "description": "报价小数位",
  26047. "type": "integer"
  26048. },
  26049. "goodscode": {
  26050. "description": "商品代码(内部)",
  26051. "type": "string"
  26052. },
  26053. "goodsid": {
  26054. "description": "商品ID",
  26055. "type": "integer"
  26056. },
  26057. "goodsname": {
  26058. "description": "商品名称",
  26059. "type": "string"
  26060. },
  26061. "marketid": {
  26062. "description": "市场ID",
  26063. "type": "integer"
  26064. },
  26065. "orderid": {
  26066. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26067. "type": "string"
  26068. },
  26069. "ordertype": {
  26070. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26071. "type": "integer"
  26072. },
  26073. "picurls": {
  26074. "description": "介绍图片[多张用逗号分隔]",
  26075. "type": "string"
  26076. },
  26077. "price": {
  26078. "description": "价格",
  26079. "type": "number"
  26080. },
  26081. "qty": {
  26082. "description": "数量",
  26083. "type": "integer"
  26084. },
  26085. "time": {
  26086. "description": "时间",
  26087. "type": "string"
  26088. },
  26089. "trademode": {
  26090. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26091. "type": "integer"
  26092. },
  26093. "vendorname": {
  26094. "description": "供应商名称",
  26095. "type": "string"
  26096. }
  26097. }
  26098. },
  26099. "models.HsbyTopGoods": {
  26100. "type": "object",
  26101. "required": [
  26102. "goodscode",
  26103. "goodsid",
  26104. "goodsname",
  26105. "marketid",
  26106. "trademode"
  26107. ],
  26108. "properties": {
  26109. "agreeunit": {
  26110. "description": "合约单位",
  26111. "type": "number"
  26112. },
  26113. "currency": {
  26114. "description": "货币",
  26115. "type": "string"
  26116. },
  26117. "currencysign": {
  26118. "description": "货币符号",
  26119. "type": "string"
  26120. },
  26121. "decimalplace": {
  26122. "description": "报价小数位",
  26123. "type": "integer"
  26124. },
  26125. "desccityid": {
  26126. "description": "目的地(市)",
  26127. "type": "integer"
  26128. },
  26129. "descprovinceid": {
  26130. "description": "目的地(省)",
  26131. "type": "integer"
  26132. },
  26133. "goodscode": {
  26134. "description": "商品代码(内部)",
  26135. "type": "string"
  26136. },
  26137. "goodsid": {
  26138. "description": "商品ID(自增ID SEQ_GOODS)",
  26139. "type": "integer"
  26140. },
  26141. "goodsname": {
  26142. "description": "商品名称",
  26143. "type": "string"
  26144. },
  26145. "hotindex": {
  26146. "description": "景点热度",
  26147. "type": "integer"
  26148. },
  26149. "last": {
  26150. "description": "现价",
  26151. "type": "number"
  26152. },
  26153. "marketid": {
  26154. "description": "所属市场ID",
  26155. "type": "integer"
  26156. },
  26157. "picurls": {
  26158. "description": "介绍图片[多张用逗号分隔]",
  26159. "type": "string"
  26160. },
  26161. "quoteminunit": {
  26162. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26163. "type": "integer"
  26164. },
  26165. "trademode": {
  26166. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26167. "type": "integer"
  26168. },
  26169. "videourls": {
  26170. "description": "介绍视频[多张用逗号分隔]",
  26171. "type": "string"
  26172. }
  26173. }
  26174. },
  26175. "models.HybsMyBuyOrderDetail": {
  26176. "type": "object",
  26177. "required": [
  26178. "accountid",
  26179. "buyorsell",
  26180. "goodscode",
  26181. "goodsid",
  26182. "goodsname",
  26183. "marketid",
  26184. "orderid",
  26185. "orderqty",
  26186. "ordertime",
  26187. "trademode"
  26188. ],
  26189. "properties": {
  26190. "accountid": {
  26191. "description": "账户ID[报价币种]",
  26192. "type": "integer"
  26193. },
  26194. "agreeunit": {
  26195. "description": "合约单位",
  26196. "type": "number"
  26197. },
  26198. "buyorsell": {
  26199. "description": "买卖 - 0:买 1:卖",
  26200. "type": "integer"
  26201. },
  26202. "cancelqty": {
  26203. "description": "撤单数量",
  26204. "type": "integer"
  26205. },
  26206. "currencysign": {
  26207. "description": "货币符号",
  26208. "type": "string"
  26209. },
  26210. "decimalplace": {
  26211. "description": "报价小数位",
  26212. "type": "integer"
  26213. },
  26214. "goodscode": {
  26215. "description": "商品代码(内部)",
  26216. "type": "string"
  26217. },
  26218. "goodsid": {
  26219. "description": "商品ID",
  26220. "type": "integer"
  26221. },
  26222. "goodsname": {
  26223. "description": "商品名称",
  26224. "type": "string"
  26225. },
  26226. "listingselecttype": {
  26227. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26228. "type": "integer"
  26229. },
  26230. "marketid": {
  26231. "description": "市场ID",
  26232. "type": "integer"
  26233. },
  26234. "mybuystatus": {
  26235. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  26236. "type": "integer"
  26237. },
  26238. "orderamount": {
  26239. "description": "委托金额",
  26240. "type": "number"
  26241. },
  26242. "orderid": {
  26243. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26244. "type": "string"
  26245. },
  26246. "orderprice": {
  26247. "description": "委托价格",
  26248. "type": "number"
  26249. },
  26250. "orderqty": {
  26251. "description": "委托数量",
  26252. "type": "integer"
  26253. },
  26254. "orderstatus": {
  26255. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26256. "type": "integer"
  26257. },
  26258. "ordertime": {
  26259. "description": "委托时间",
  26260. "type": "string"
  26261. },
  26262. "picurls1": {
  26263. "description": "预售商品介绍图片[多张用逗号分隔]",
  26264. "type": "string"
  26265. },
  26266. "picurls2": {
  26267. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26268. "type": "string"
  26269. },
  26270. "trademode": {
  26271. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26272. "type": "integer"
  26273. },
  26274. "tradeqty": {
  26275. "description": "成交数量",
  26276. "type": "integer"
  26277. },
  26278. "vendorname1": {
  26279. "description": "预售商品供应商名称",
  26280. "type": "string"
  26281. },
  26282. "vendorname2": {
  26283. "description": "挂牌商品供应商名称",
  26284. "type": "string"
  26285. }
  26286. }
  26287. },
  26288. "models.Loginaccount": {
  26289. "type": "object",
  26290. "required": [
  26291. "loginid"
  26292. ],
  26293. "properties": {
  26294. "accountname": {
  26295. "description": "账户名称",
  26296. "type": "string"
  26297. },
  26298. "canoutin": {
  26299. "description": "是否可出入金 - 0:不可 1:可",
  26300. "type": "integer"
  26301. },
  26302. "clientroleid": {
  26303. "description": "终端角色ID",
  26304. "type": "integer"
  26305. },
  26306. "haslogined": {
  26307. "description": "是否已登录 - 0:未登录 1:已登录",
  26308. "type": "integer"
  26309. },
  26310. "hasupdatedpwd": {
  26311. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26312. "type": "integer"
  26313. },
  26314. "lastloginip": {
  26315. "description": "最新登录地址",
  26316. "type": "string"
  26317. },
  26318. "lastloginmode": {
  26319. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26320. "type": "integer"
  26321. },
  26322. "lastloginremark": {
  26323. "description": "最新登录描述",
  26324. "type": "string"
  26325. },
  26326. "lastlogintime": {
  26327. "description": "最新登录时间",
  26328. "type": "string"
  26329. },
  26330. "logincode": {
  26331. "description": "登录代码",
  26332. "type": "string"
  26333. },
  26334. "loginfailnum": {
  26335. "description": "连续登录失败次数(登录成功时清零)",
  26336. "type": "integer"
  26337. },
  26338. "loginid": {
  26339. "description": "登陆账号",
  26340. "type": "integer"
  26341. },
  26342. "loginport": {
  26343. "description": "最新登录端口",
  26344. "type": "integer"
  26345. },
  26346. "loginstatus": {
  26347. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26348. "type": "integer"
  26349. },
  26350. "loginusertype": {
  26351. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26352. "type": "integer"
  26353. },
  26354. "mobile": {
  26355. "description": "手机号码(加密存储)",
  26356. "type": "string"
  26357. },
  26358. "modifierid": {
  26359. "description": "修改人",
  26360. "type": "integer"
  26361. },
  26362. "modifysrc": {
  26363. "description": "审核来源 - 1:管理端 2:终端",
  26364. "type": "integer"
  26365. },
  26366. "modifytime": {
  26367. "description": "修改时间",
  26368. "type": "string"
  26369. },
  26370. "password": {
  26371. "description": "登陆密码",
  26372. "type": "string"
  26373. },
  26374. "pwdwrongcount": {
  26375. "description": "密码错误次数",
  26376. "type": "integer"
  26377. },
  26378. "relateduserid": {
  26379. "description": "关联用户ID(机构)",
  26380. "type": "integer"
  26381. },
  26382. "taaccountrighttype": {
  26383. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  26384. "type": "integer"
  26385. },
  26386. "unfreezetime": {
  26387. "description": "账户解冻时间",
  26388. "type": "string"
  26389. },
  26390. "userid": {
  26391. "description": "用户ID",
  26392. "type": "integer"
  26393. }
  26394. }
  26395. },
  26396. "models.MainAccountInfo": {
  26397. "type": "object",
  26398. "properties": {
  26399. "accountid": {
  26400. "description": "账号id",
  26401. "type": "integer"
  26402. },
  26403. "accountname": {
  26404. "description": "账号名称(taaccount表中的名称)",
  26405. "type": "string"
  26406. },
  26407. "appid": {
  26408. "description": "AppID",
  26409. "type": "string"
  26410. },
  26411. "authcode": {
  26412. "description": "授权码",
  26413. "type": "string"
  26414. },
  26415. "brokerid": {
  26416. "description": "经纪商id",
  26417. "type": "string"
  26418. },
  26419. "fcid": {
  26420. "description": "期货公司id",
  26421. "type": "integer"
  26422. },
  26423. "fcname": {
  26424. "description": "期货公司代码",
  26425. "type": "string"
  26426. },
  26427. "hedgeaccountcode": {
  26428. "description": "外部账号代码(主账号登录代码)",
  26429. "type": "string"
  26430. },
  26431. "hedgeaccountpwd": {
  26432. "description": "密码",
  26433. "type": "string"
  26434. },
  26435. "ismain": {
  26436. "description": "是否主账号",
  26437. "type": "integer"
  26438. },
  26439. "relateduserid": {
  26440. "description": "关联用户id",
  26441. "type": "integer"
  26442. },
  26443. "userid": {
  26444. "description": "关联用户id",
  26445. "type": "integer"
  26446. }
  26447. }
  26448. },
  26449. "models.Market": {
  26450. "type": "object",
  26451. "required": [
  26452. "marketid",
  26453. "marketstatus",
  26454. "openmethod",
  26455. "reckonpricealgorithm",
  26456. "trademode",
  26457. "tradeproperty"
  26458. ],
  26459. "properties": {
  26460. "auctionwrtype": {
  26461. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  26462. "type": "integer"
  26463. },
  26464. "canacceptquote": {
  26465. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  26466. "type": "integer"
  26467. },
  26468. "cangoodsexercise": {
  26469. "description": "[期权]是否可现货行权- 0:否 1:是",
  26470. "type": "integer"
  26471. },
  26472. "cangoodsexercisetype": {
  26473. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  26474. "type": "integer"
  26475. },
  26476. "canmanualquotestrike": {
  26477. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  26478. "type": "integer"
  26479. },
  26480. "canmutistage": {
  26481. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  26482. "type": "integer"
  26483. },
  26484. "canpreexercise": {
  26485. "description": "[期权]是否可预申报- 0:否 1:是",
  26486. "type": "integer"
  26487. },
  26488. "clearinterval": {
  26489. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  26490. "type": "integer"
  26491. },
  26492. "contracttmp": {
  26493. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  26494. "type": "string"
  26495. },
  26496. "exchareaid": {
  26497. "description": "所属交易所,可以没有",
  26498. "type": "integer"
  26499. },
  26500. "goodstype": {
  26501. "description": "商品类型 - 1:交易商品 2:仓单商品",
  26502. "type": "integer"
  26503. },
  26504. "hasrebate": {
  26505. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  26506. "type": "integer"
  26507. },
  26508. "hastradecredit": {
  26509. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  26510. "type": "integer"
  26511. },
  26512. "haswr": {
  26513. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  26514. "type": "integer"
  26515. },
  26516. "isdeductmargin": {
  26517. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  26518. "type": "integer"
  26519. },
  26520. "isrecordsource": {
  26521. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  26522. "type": "integer"
  26523. },
  26524. "isreleasemargin": {
  26525. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  26526. "type": "integer"
  26527. },
  26528. "marginformula": {
  26529. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26530. "type": "integer"
  26531. },
  26532. "marginformula2": {
  26533. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26534. "type": "integer"
  26535. },
  26536. "marketid": {
  26537. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26538. "type": "integer"
  26539. },
  26540. "marketname": {
  26541. "description": "市场名称",
  26542. "type": "string"
  26543. },
  26544. "marketserviceid": {
  26545. "description": "市场服务ID",
  26546. "type": "integer"
  26547. },
  26548. "marketstatus": {
  26549. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26550. "type": "integer"
  26551. },
  26552. "markettype": {
  26553. "description": "市场类型- 1:非交易服务 2:交易服务",
  26554. "type": "integer"
  26555. },
  26556. "matchermode": {
  26557. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  26558. "type": "integer"
  26559. },
  26560. "openmethod": {
  26561. "description": "开盘模式 - 0 自动 1手动",
  26562. "type": "integer"
  26563. },
  26564. "otcuserid": {
  26565. "description": "场外期权做市商[场外期权]",
  26566. "type": "integer"
  26567. },
  26568. "outersynctime": {
  26569. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  26570. "type": "string"
  26571. },
  26572. "pendingflag": {
  26573. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  26574. "type": "integer"
  26575. },
  26576. "pendingtime": {
  26577. "description": "待开市时间[通道交易-对冲](HH:mm)",
  26578. "type": "string"
  26579. },
  26580. "performancetempid": {
  26581. "description": "履约计划模板ID - 作废",
  26582. "type": "integer"
  26583. },
  26584. "premiumquotemode": {
  26585. "description": "权利金报价方式 - 1:自动 2:手动",
  26586. "type": "integer"
  26587. },
  26588. "rebateratio": {
  26589. "description": "返利比率[竞价式]",
  26590. "type": "number"
  26591. },
  26592. "reckonorder": {
  26593. "description": "结算顺序",
  26594. "type": "integer"
  26595. },
  26596. "reckonpricealgorithm": {
  26597. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  26598. "type": "integer"
  26599. },
  26600. "reckonpriceparam": {
  26601. "description": "结算价参数",
  26602. "type": "integer"
  26603. },
  26604. "reckontime": {
  26605. "description": "结算时间[通道交易-对冲](HH:mm)",
  26606. "type": "string"
  26607. },
  26608. "roleprioritytype": {
  26609. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  26610. "type": "integer"
  26611. },
  26612. "selllistingauditflag": {
  26613. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  26614. "type": "integer"
  26615. },
  26616. "trademarkettype": {
  26617. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  26618. "type": "integer"
  26619. },
  26620. "trademode": {
  26621. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26622. "type": "integer"
  26623. },
  26624. "tradeproperty": {
  26625. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  26626. "type": "integer"
  26627. },
  26628. "tradetype": {
  26629. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  26630. "type": "integer"
  26631. }
  26632. }
  26633. },
  26634. "models.Marketrun": {
  26635. "type": "object",
  26636. "required": [
  26637. "marketid",
  26638. "nexttradedate",
  26639. "reckonflag",
  26640. "runstatus",
  26641. "tradedate",
  26642. "tradedate2"
  26643. ],
  26644. "properties": {
  26645. "afternexttradedate": {
  26646. "description": "下下交易日",
  26647. "type": "string"
  26648. },
  26649. "clearquoteflag": {
  26650. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  26651. "type": "integer"
  26652. },
  26653. "lastreckondate": {
  26654. "description": "最新交易日(结算成功)",
  26655. "type": "string"
  26656. },
  26657. "machinedate": {
  26658. "description": "机器时间",
  26659. "type": "string"
  26660. },
  26661. "manualflag": {
  26662. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  26663. "type": "integer"
  26664. },
  26665. "marketid": {
  26666. "description": "市场ID",
  26667. "type": "integer"
  26668. },
  26669. "nexttradedate": {
  26670. "description": "下一交易日",
  26671. "type": "string"
  26672. },
  26673. "pretradedate": {
  26674. "description": "上一交易日",
  26675. "type": "string"
  26676. },
  26677. "reckonflag": {
  26678. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  26679. "type": "integer"
  26680. },
  26681. "runstatus": {
  26682. "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.今日免清算",
  26683. "type": "integer"
  26684. },
  26685. "sectionid": {
  26686. "description": "时间段号[多时段时用]",
  26687. "type": "integer"
  26688. },
  26689. "tradedate": {
  26690. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  26691. "type": "string"
  26692. },
  26693. "tradedate2": {
  26694. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  26695. "type": "string"
  26696. },
  26697. "updatetime": {
  26698. "description": "更新时间",
  26699. "type": "string"
  26700. }
  26701. }
  26702. },
  26703. "models.Messageboard": {
  26704. "type": "object",
  26705. "required": [
  26706. "messageboardid"
  26707. ],
  26708. "properties": {
  26709. "contactnum": {
  26710. "description": "联系电话",
  26711. "type": "string"
  26712. },
  26713. "createtime": {
  26714. "description": "创建时间",
  26715. "type": "string"
  26716. },
  26717. "message": {
  26718. "description": "留言信息",
  26719. "type": "string"
  26720. },
  26721. "messageboardid": {
  26722. "description": "留言簿ID(SEQ_MessageBoard)",
  26723. "type": "integer"
  26724. },
  26725. "userid": {
  26726. "description": "用户ID",
  26727. "type": "integer"
  26728. }
  26729. }
  26730. },
  26731. "models.MyCoupon": {
  26732. "type": "object",
  26733. "required": [
  26734. "accountid",
  26735. "coupontypeid"
  26736. ],
  26737. "properties": {
  26738. "accountid": {
  26739. "description": "资金账户ID",
  26740. "type": "integer"
  26741. },
  26742. "areauserid": {
  26743. "description": "所属机构",
  26744. "type": "integer"
  26745. },
  26746. "conditionvalue": {
  26747. "description": "条件阈值(可为0)",
  26748. "type": "number"
  26749. },
  26750. "couponcategroy": {
  26751. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  26752. "type": "integer"
  26753. },
  26754. "couponname": {
  26755. "description": "优惠券名称",
  26756. "type": "string"
  26757. },
  26758. "coupontypeid": {
  26759. "description": "优惠券类型ID",
  26760. "type": "string"
  26761. },
  26762. "couponvalue": {
  26763. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  26764. "type": "number"
  26765. },
  26766. "curfreezeqty": {
  26767. "description": "期末冻结数量",
  26768. "type": "integer"
  26769. },
  26770. "curqty": {
  26771. "description": "期末数量",
  26772. "type": "integer"
  26773. },
  26774. "isgeneral": {
  26775. "description": "是否通用券 - 0:否 1:是",
  26776. "type": "integer"
  26777. },
  26778. "isunusable": {
  26779. "description": "是否不可用",
  26780. "type": "boolean"
  26781. },
  26782. "limitedflag": {
  26783. "description": "是否指定商品 - 0:不限 1:限制",
  26784. "type": "integer"
  26785. },
  26786. "limitedgoodsids": {
  26787. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  26788. "type": "string"
  26789. },
  26790. "orifreezeqty": {
  26791. "description": "期初冻结数量",
  26792. "type": "integer"
  26793. },
  26794. "oriqty": {
  26795. "description": "期初数量",
  26796. "type": "integer"
  26797. },
  26798. "reasontype": {
  26799. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  26800. "type": "integer"
  26801. },
  26802. "todaydecrease": {
  26803. "description": "今日减少",
  26804. "type": "integer"
  26805. },
  26806. "todayincrease": {
  26807. "description": "今日增加",
  26808. "type": "integer"
  26809. },
  26810. "userid": {
  26811. "description": "用户ID",
  26812. "type": "integer"
  26813. },
  26814. "userscope": {
  26815. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  26816. "type": "string"
  26817. }
  26818. }
  26819. },
  26820. "models.MyCouponHold": {
  26821. "type": "object",
  26822. "required": [
  26823. "couponholdid"
  26824. ],
  26825. "properties": {
  26826. "accountid": {
  26827. "description": "资金账户ID",
  26828. "type": "integer"
  26829. },
  26830. "conditionvalue": {
  26831. "description": "条件阈值(可为0)",
  26832. "type": "number"
  26833. },
  26834. "couponcategroy": {
  26835. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  26836. "type": "integer"
  26837. },
  26838. "couponholdid": {
  26839. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  26840. "type": "string"
  26841. },
  26842. "couponname": {
  26843. "description": "优惠券名称",
  26844. "type": "string"
  26845. },
  26846. "coupontypeid": {
  26847. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  26848. "type": "string"
  26849. },
  26850. "couponvalue": {
  26851. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  26852. "type": "number"
  26853. },
  26854. "createtime": {
  26855. "description": "创建时间",
  26856. "type": "string"
  26857. },
  26858. "enddate": {
  26859. "description": "结束日期",
  26860. "type": "string"
  26861. },
  26862. "giveapplyid": {
  26863. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  26864. "type": "integer"
  26865. },
  26866. "holdstatus": {
  26867. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  26868. "type": "integer"
  26869. },
  26870. "isgeneral": {
  26871. "description": "是否通用券 - 0:否 1:是",
  26872. "type": "integer"
  26873. },
  26874. "limitedflag": {
  26875. "description": "是否指定商品 - 0:不限 1:限制",
  26876. "type": "integer"
  26877. },
  26878. "limitedgoodsids": {
  26879. "description": "指定商品IDs[逗号分隔]",
  26880. "type": "string"
  26881. },
  26882. "qty": {
  26883. "description": "数量(按1平铺)",
  26884. "type": "integer"
  26885. },
  26886. "startdate": {
  26887. "description": "开始日期",
  26888. "type": "string"
  26889. },
  26890. "userid": {
  26891. "description": "用户ID",
  26892. "type": "integer"
  26893. },
  26894. "userscope": {
  26895. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  26896. "type": "string"
  26897. }
  26898. }
  26899. },
  26900. "models.MyUsedCoupon": {
  26901. "type": "object",
  26902. "required": [
  26903. "coupontypeid",
  26904. "orderid"
  26905. ],
  26906. "properties": {
  26907. "accountid": {
  26908. "description": "资金账户ID(买方)",
  26909. "type": "integer"
  26910. },
  26911. "conditionvalue": {
  26912. "description": "条件阈值(可为0)",
  26913. "type": "number"
  26914. },
  26915. "couponcategroy": {
  26916. "description": "种类 - 1:现金券 2:折扣券",
  26917. "type": "integer"
  26918. },
  26919. "couponname": {
  26920. "description": "优惠券名称",
  26921. "type": "string"
  26922. },
  26923. "coupontypeid": {
  26924. "description": "优惠券类型ID(买方)",
  26925. "type": "string"
  26926. },
  26927. "couponvalue": {
  26928. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  26929. "type": "number"
  26930. },
  26931. "createtime": {
  26932. "description": "创建时间",
  26933. "type": "string"
  26934. },
  26935. "goodsid": {
  26936. "description": "商品ID",
  26937. "type": "integer"
  26938. },
  26939. "handlestatus": {
  26940. "description": "处理状态",
  26941. "type": "integer"
  26942. },
  26943. "marketid": {
  26944. "description": "市场ID",
  26945. "type": "integer"
  26946. },
  26947. "offamount": {
  26948. "description": "优惠金额",
  26949. "type": "number"
  26950. },
  26951. "orderid": {
  26952. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26953. "type": "string"
  26954. },
  26955. "sellaccountid": {
  26956. "description": "资金账户ID(卖方)",
  26957. "type": "integer"
  26958. },
  26959. "tradeamount": {
  26960. "description": "成交金额",
  26961. "type": "number"
  26962. },
  26963. "tradeid": {
  26964. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26965. "type": "string"
  26966. },
  26967. "usedqty": {
  26968. "description": "使用数量",
  26969. "type": "integer"
  26970. }
  26971. }
  26972. },
  26973. "models.OperationPrimaryMenu": {
  26974. "type": "object",
  26975. "properties": {
  26976. "Children": {
  26977. "description": "二级功能菜单",
  26978. "type": "array",
  26979. "items": {
  26980. "$ref": "#/definitions/models.OperationSecondaryMenu"
  26981. }
  26982. },
  26983. "Key": {
  26984. "description": "菜单KEY",
  26985. "type": "string"
  26986. },
  26987. "Label": {
  26988. "description": "菜单标题",
  26989. "type": "string"
  26990. }
  26991. }
  26992. },
  26993. "models.OperationSecondaryMenu": {
  26994. "type": "object",
  26995. "properties": {
  26996. "Key": {
  26997. "description": "菜单KEY",
  26998. "type": "string"
  26999. },
  27000. "Label": {
  27001. "description": "菜单标题",
  27002. "type": "string"
  27003. },
  27004. "TabList": {
  27005. "description": "三级功能菜单",
  27006. "type": "array",
  27007. "items": {
  27008. "$ref": "#/definitions/models.OperationTabMenu"
  27009. }
  27010. }
  27011. }
  27012. },
  27013. "models.OperationTabMenu": {
  27014. "type": "object",
  27015. "properties": {
  27016. "Key": {
  27017. "description": "菜单KEY",
  27018. "type": "string"
  27019. },
  27020. "Label": {
  27021. "description": "菜单标题",
  27022. "type": "string"
  27023. }
  27024. }
  27025. },
  27026. "models.QhjAccountOutInApply": {
  27027. "type": "object",
  27028. "properties": {
  27029. "accountcode": {
  27030. "description": "资金账号",
  27031. "type": "string"
  27032. },
  27033. "accountname": {
  27034. "description": "用户名称(名称)",
  27035. "type": "string"
  27036. },
  27037. "accountpwd": {
  27038. "description": "资金密码",
  27039. "type": "string"
  27040. },
  27041. "accountticket": {
  27042. "description": "最新账户服务流水号",
  27043. "type": "string"
  27044. },
  27045. "amount": {
  27046. "description": "金额",
  27047. "type": "number"
  27048. },
  27049. "applyremark": {
  27050. "description": "申请备注",
  27051. "type": "string"
  27052. },
  27053. "applystatus": {
  27054. "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: 复审通过,账户冻结金额检查中;",
  27055. "type": "integer"
  27056. },
  27057. "auditid": {
  27058. "description": "审核人",
  27059. "type": "integer"
  27060. },
  27061. "audittime": {
  27062. "description": "审核时间",
  27063. "type": "string"
  27064. },
  27065. "bank_apply_ticket": {
  27066. "description": "银行申请流水",
  27067. "type": "string"
  27068. },
  27069. "bankaccountname": {
  27070. "description": "银行账户名",
  27071. "type": "string"
  27072. },
  27073. "bankaccountno": {
  27074. "description": "银行卡号",
  27075. "type": "string"
  27076. },
  27077. "bankid": {
  27078. "description": "银行编号",
  27079. "type": "string"
  27080. },
  27081. "bankticket": {
  27082. "description": "银行流水",
  27083. "type": "string"
  27084. },
  27085. "branchbankid": {
  27086. "description": "银行支行号",
  27087. "type": "string"
  27088. },
  27089. "branchbankname": {
  27090. "description": "银行支行名称",
  27091. "type": "string"
  27092. },
  27093. "capamountout": {
  27094. "description": "出金(劣后本金) - 外部子账户",
  27095. "type": "number"
  27096. },
  27097. "certificatephotourl": {
  27098. "description": "凭证地址",
  27099. "type": "string"
  27100. },
  27101. "charge": {
  27102. "description": "手续费",
  27103. "type": "number"
  27104. },
  27105. "checkerrorflag": {
  27106. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27107. "type": "integer"
  27108. },
  27109. "currency": {
  27110. "description": "币种",
  27111. "type": "string"
  27112. },
  27113. "cusbankid": {
  27114. "description": "托管银行编号",
  27115. "type": "string"
  27116. },
  27117. "exchticket": {
  27118. "description": "银行服务流水号",
  27119. "type": "string"
  27120. },
  27121. "executetype": {
  27122. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27123. "type": "integer"
  27124. },
  27125. "extendinfo": {
  27126. "description": "扩展信息",
  27127. "type": "string"
  27128. },
  27129. "extoperateid": {
  27130. "description": "交易服务流水号",
  27131. "type": "integer"
  27132. },
  27133. "infamount": {
  27134. "description": "劣后金额(自有)",
  27135. "type": "number"
  27136. },
  27137. "logincode": {
  27138. "description": "登录账号(账号)",
  27139. "type": "string"
  27140. },
  27141. "netaddr": {
  27142. "description": "调转网址",
  27143. "type": "string"
  27144. },
  27145. "priamount": {
  27146. "description": "优先金额(授信)",
  27147. "type": "number"
  27148. },
  27149. "reauditid": {
  27150. "description": "复审人",
  27151. "type": "integer"
  27152. },
  27153. "reauditremark": {
  27154. "description": "复审备注",
  27155. "type": "string"
  27156. },
  27157. "reaudittime": {
  27158. "description": "复审时间",
  27159. "type": "string"
  27160. },
  27161. "relatedorderid": {
  27162. "description": "三方关联ID",
  27163. "type": "string"
  27164. },
  27165. "remark": {
  27166. "description": "备注",
  27167. "type": "string"
  27168. },
  27169. "remark2": {
  27170. "description": "备注(失败原因)",
  27171. "type": "string"
  27172. },
  27173. "soucreamount": {
  27174. "description": "原始出入金金额",
  27175. "type": "number"
  27176. },
  27177. "soucrecurrencyid": {
  27178. "description": "原始出入金币种",
  27179. "type": "integer"
  27180. },
  27181. "tradedate": {
  27182. "description": "交易日(yyyyMMdd)",
  27183. "type": "string"
  27184. },
  27185. "updatetime": {
  27186. "description": "更新时间(申请时间)",
  27187. "type": "string"
  27188. },
  27189. "userid": {
  27190. "description": "用户id",
  27191. "type": "integer"
  27192. },
  27193. "userinfotype": {
  27194. "description": "账户类型 1-个人 2-企业",
  27195. "type": "integer"
  27196. }
  27197. }
  27198. },
  27199. "models.QhjAgreementChangeLog": {
  27200. "type": "object",
  27201. "properties": {
  27202. "agreementcontent": {
  27203. "description": "协议内容",
  27204. "type": "string"
  27205. },
  27206. "agreementfrequency": {
  27207. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27208. "type": "integer"
  27209. },
  27210. "agreementid": {
  27211. "description": "协议ID",
  27212. "type": "integer"
  27213. },
  27214. "agreementname": {
  27215. "description": "协议名称",
  27216. "type": "string"
  27217. },
  27218. "agreementno": {
  27219. "description": "协议编号",
  27220. "type": "string"
  27221. },
  27222. "agreementtype": {
  27223. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27224. "type": "integer"
  27225. },
  27226. "agreementversion": {
  27227. "description": "协议版本号",
  27228. "type": "integer"
  27229. },
  27230. "logid": {
  27231. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  27232. "type": "integer"
  27233. },
  27234. "reviserid": {
  27235. "description": "修改人",
  27236. "type": "integer"
  27237. },
  27238. "revisersrc": {
  27239. "description": "修改来源 - 1:管理端 2:终端",
  27240. "type": "integer"
  27241. },
  27242. "updatetime": {
  27243. "description": "更新时间",
  27244. "type": "string"
  27245. }
  27246. }
  27247. },
  27248. "models.QhjAgreementConfig": {
  27249. "type": "object",
  27250. "properties": {
  27251. "agreementcontent": {
  27252. "description": "协议内容",
  27253. "type": "string"
  27254. },
  27255. "agreementfrequency": {
  27256. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27257. "type": "integer"
  27258. },
  27259. "agreementid": {
  27260. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  27261. "type": "integer"
  27262. },
  27263. "agreementname": {
  27264. "description": "协议名称",
  27265. "type": "string"
  27266. },
  27267. "agreementno": {
  27268. "description": "协议编号",
  27269. "type": "string"
  27270. },
  27271. "agreementtype": {
  27272. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27273. "type": "integer"
  27274. },
  27275. "agreementversion": {
  27276. "description": "协议版本号(从1开始每次修改加1)",
  27277. "type": "integer"
  27278. },
  27279. "createtime": {
  27280. "description": "创建时间",
  27281. "type": "string"
  27282. },
  27283. "creatorid": {
  27284. "description": "创建人",
  27285. "type": "integer"
  27286. },
  27287. "creatorsrc": {
  27288. "description": "创建来源 - 1:管理端 2:终端",
  27289. "type": "integer"
  27290. },
  27291. "isvalid": {
  27292. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  27293. "type": "integer"
  27294. },
  27295. "reviserid": {
  27296. "description": "修改人",
  27297. "type": "integer"
  27298. },
  27299. "revisersrc": {
  27300. "description": "修改来源 - 1:管理端 2:终端",
  27301. "type": "integer"
  27302. },
  27303. "updatetime": {
  27304. "description": "更新时间",
  27305. "type": "string"
  27306. }
  27307. }
  27308. },
  27309. "models.QhjAreaFinanceConfig": {
  27310. "type": "object",
  27311. "properties": {
  27312. "additionalratio": {
  27313. "description": "追加款比例",
  27314. "type": "number"
  27315. },
  27316. "advanceratio": {
  27317. "description": "预付款比例",
  27318. "type": "number"
  27319. },
  27320. "alarmratio": {
  27321. "description": "告警比例",
  27322. "type": "number"
  27323. },
  27324. "consumptiondirectreward": {
  27325. "description": "消费直推奖励值",
  27326. "type": "number"
  27327. },
  27328. "consumptionenabled": {
  27329. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27330. "type": "integer"
  27331. },
  27332. "consumptionindirectreward": {
  27333. "description": "消费间推奖励值",
  27334. "type": "number"
  27335. },
  27336. "consumptionmodel": {
  27337. "description": "消费奖励方式 - 1:比率 2:固定",
  27338. "type": "integer"
  27339. },
  27340. "customerservicenum": {
  27341. "description": "客服电话",
  27342. "type": "string"
  27343. },
  27344. "dayinterestrate": {
  27345. "description": "日利率",
  27346. "type": "number"
  27347. },
  27348. "disableconsumptiontips": {
  27349. "description": "关闭消费奖励提示",
  27350. "type": "string"
  27351. },
  27352. "modifierid": {
  27353. "description": "修改人ID",
  27354. "type": "integer"
  27355. },
  27356. "modifysrc": {
  27357. "description": "审核来源 - 1:管理端 2:终端",
  27358. "type": "integer"
  27359. },
  27360. "modifytime": {
  27361. "description": "修改时间",
  27362. "type": "string"
  27363. },
  27364. "promotionvalue": {
  27365. "description": "推广奖励值(固定)",
  27366. "type": "number"
  27367. },
  27368. "scoreconfigvalue1": {
  27369. "description": "提货积分配置1",
  27370. "type": "integer"
  27371. },
  27372. "scoreconfigvalue2": {
  27373. "description": "提货积分配置2",
  27374. "type": "integer"
  27375. },
  27376. "userid": {
  27377. "description": "机构用户ID其他做市关系,都设置为 1",
  27378. "type": "integer"
  27379. },
  27380. "username": {
  27381. "description": "用户名称",
  27382. "type": "string"
  27383. }
  27384. }
  27385. },
  27386. "models.QhjBankAccountSign": {
  27387. "type": "object",
  27388. "properties": {
  27389. "accountcode": {
  27390. "description": "资金账号",
  27391. "type": "string"
  27392. },
  27393. "accountname": {
  27394. "description": "资金账号对应的账号名(UserName)",
  27395. "type": "string"
  27396. },
  27397. "accountname2": {
  27398. "description": "资金账号对应的账号名(UserName) - 密文",
  27399. "type": "string"
  27400. },
  27401. "accounttype": {
  27402. "description": "账户类型(UserType)",
  27403. "type": "integer"
  27404. },
  27405. "applicationtime": {
  27406. "description": "最后一次更新的时间",
  27407. "type": "string"
  27408. },
  27409. "applyexchticket": {
  27410. "description": "申请流水",
  27411. "type": "string"
  27412. },
  27413. "auditid": {
  27414. "description": "审核人",
  27415. "type": "integer"
  27416. },
  27417. "audittime": {
  27418. "description": "审核时间",
  27419. "type": "string"
  27420. },
  27421. "bankaccountname": {
  27422. "description": "签约银行卡账号名",
  27423. "type": "string"
  27424. },
  27425. "bankaccountname2": {
  27426. "description": "签约银行卡账号名 - 密文",
  27427. "type": "string"
  27428. },
  27429. "bankaccountno": {
  27430. "description": "银行卡号",
  27431. "type": "string"
  27432. },
  27433. "bankaccountno2": {
  27434. "description": "银行卡号 - 密文",
  27435. "type": "string"
  27436. },
  27437. "bankaccounttype": {
  27438. "description": "银行账户类型 - 1-对私; 2-对公",
  27439. "type": "integer"
  27440. },
  27441. "bankcardtype": {
  27442. "description": "银行卡类型",
  27443. "type": "integer"
  27444. },
  27445. "bankchildaccount": {
  27446. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  27447. "type": "string"
  27448. },
  27449. "bankcity": {
  27450. "description": "开户行城市",
  27451. "type": "string"
  27452. },
  27453. "bankid": {
  27454. "description": "签约银行ID",
  27455. "type": "string"
  27456. },
  27457. "bankname": {
  27458. "description": "签约银行名称",
  27459. "type": "string"
  27460. },
  27461. "bankprovince": {
  27462. "description": "开户行省份",
  27463. "type": "string"
  27464. },
  27465. "branchbankid": {
  27466. "description": "签约银行支行号",
  27467. "type": "string"
  27468. },
  27469. "branchbankname": {
  27470. "description": "签约银行支行名称",
  27471. "type": "string"
  27472. },
  27473. "cardno": {
  27474. "description": "证件号码",
  27475. "type": "string"
  27476. },
  27477. "cardno2": {
  27478. "description": "证件号码 - 密文",
  27479. "type": "string"
  27480. },
  27481. "cardtype": {
  27482. "description": "证件类型",
  27483. "type": "string"
  27484. },
  27485. "currency": {
  27486. "description": "币种",
  27487. "type": "string"
  27488. },
  27489. "cusbankid": {
  27490. "description": "托管银行编号",
  27491. "type": "string"
  27492. },
  27493. "direct": {
  27494. "description": "方向(可以判断那方先发起的签约)",
  27495. "type": "integer"
  27496. },
  27497. "exchticket": {
  27498. "description": "最后一次签约成功的流水号",
  27499. "type": "string"
  27500. },
  27501. "extendinfo": {
  27502. "description": "扩展信息(JSON字符串)",
  27503. "type": "string"
  27504. },
  27505. "mobilephone": {
  27506. "description": "手机号",
  27507. "type": "string"
  27508. },
  27509. "mobilephone2": {
  27510. "description": "手机号 - 密文",
  27511. "type": "string"
  27512. },
  27513. "netaddr": {
  27514. "description": "调转网址",
  27515. "type": "string"
  27516. },
  27517. "relateduserid": {
  27518. "description": "关联使用者userid",
  27519. "type": "integer"
  27520. },
  27521. "signstatus": {
  27522. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  27523. "type": "integer"
  27524. },
  27525. "updatetime": {
  27526. "description": "更新时间(签解约更新时间)",
  27527. "type": "string"
  27528. }
  27529. }
  27530. },
  27531. "models.QhjBankInfo": {
  27532. "type": "object",
  27533. "properties": {
  27534. "bankid": {
  27535. "description": "银行ID",
  27536. "type": "string"
  27537. },
  27538. "bankname": {
  27539. "description": "银行名称",
  27540. "type": "string"
  27541. },
  27542. "clearbankno": {
  27543. "description": "清算系统银行编号",
  27544. "type": "string"
  27545. },
  27546. "orderindex": {
  27547. "description": "排序顺序",
  27548. "type": "integer"
  27549. },
  27550. "status": {
  27551. "description": "状态 - 0:正常 1:注销",
  27552. "type": "integer"
  27553. }
  27554. }
  27555. },
  27556. "models.QhjBrokerApply": {
  27557. "type": "object",
  27558. "properties": {
  27559. "applicantid": {
  27560. "description": "申请人",
  27561. "type": "integer"
  27562. },
  27563. "applysrc": {
  27564. "description": "申请来源 - 1:管理端 2:终端",
  27565. "type": "integer"
  27566. },
  27567. "applystatus": {
  27568. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27569. "type": "integer"
  27570. },
  27571. "applytime": {
  27572. "description": "申请时间",
  27573. "type": "string"
  27574. },
  27575. "auditorid": {
  27576. "description": "审核人",
  27577. "type": "integer"
  27578. },
  27579. "auditremark": {
  27580. "description": "审核备注",
  27581. "type": "string"
  27582. },
  27583. "auditsrc": {
  27584. "description": "审核来源 - 1:管理端 2:终端",
  27585. "type": "integer"
  27586. },
  27587. "audittime": {
  27588. "description": "审核时间",
  27589. "type": "string"
  27590. },
  27591. "audittradedate": {
  27592. "description": "审核交易日(yyyyMMdd)",
  27593. "type": "string"
  27594. },
  27595. "brokerapplyid": {
  27596. "description": "申请ID(SEQ_BROKERAPPLY)",
  27597. "type": "integer"
  27598. },
  27599. "cardbackphotourl": {
  27600. "description": "证件背面图片地址",
  27601. "type": "string"
  27602. },
  27603. "cardfrontphotourl": {
  27604. "description": "证件正面图片地址",
  27605. "type": "string"
  27606. },
  27607. "cardnum": {
  27608. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27609. "type": "string"
  27610. },
  27611. "customername": {
  27612. "description": "姓名",
  27613. "type": "string"
  27614. },
  27615. "logincode": {
  27616. "description": "登录代码",
  27617. "type": "string"
  27618. },
  27619. "mobile": {
  27620. "description": "手机号码",
  27621. "type": "string"
  27622. },
  27623. "parentuserid": {
  27624. "description": "所属机构id",
  27625. "type": "integer"
  27626. },
  27627. "parentusername": {
  27628. "description": "所属机构名称",
  27629. "type": "string"
  27630. },
  27631. "refereeuserid": {
  27632. "description": "推荐人id(经纪人)",
  27633. "type": "integer"
  27634. },
  27635. "refernum": {
  27636. "description": "推荐码",
  27637. "type": "string"
  27638. },
  27639. "remark": {
  27640. "description": "备注",
  27641. "type": "string"
  27642. },
  27643. "subarealevelpath": {
  27644. "description": "层级路径",
  27645. "type": "string"
  27646. },
  27647. "tradedate": {
  27648. "description": "交易日(yyyyMMdd)",
  27649. "type": "string"
  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. }
  27664. },
  27665. "models.QhjBrokerApplyEx": {
  27666. "type": "object",
  27667. "properties": {
  27668. "applylist": {
  27669. "description": "经纪人申请记录(只返回最新一条)",
  27670. "type": "array",
  27671. "items": {
  27672. "$ref": "#/definitions/models.QhjBrokerApply"
  27673. }
  27674. },
  27675. "canrecommend": {
  27676. "description": "是否经纪人 0-不是 1-是",
  27677. "type": "integer"
  27678. },
  27679. "refernum": {
  27680. "description": "推荐码",
  27681. "type": "string"
  27682. },
  27683. "userid": {
  27684. "description": "用户id",
  27685. "type": "integer"
  27686. },
  27687. "userinfotype": {
  27688. "description": "用户类型 1-个人 2-企业",
  27689. "type": "integer"
  27690. }
  27691. }
  27692. },
  27693. "models.QhjBrokerRewardLog": {
  27694. "type": "object",
  27695. "properties": {
  27696. "accountid": {
  27697. "description": "资金账号ID",
  27698. "type": "integer"
  27699. },
  27700. "createtime": {
  27701. "description": "创建时间(时间)",
  27702. "type": "string"
  27703. },
  27704. "handlestatus": {
  27705. "description": "处理状态",
  27706. "type": "integer"
  27707. },
  27708. "logid": {
  27709. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27710. "type": "string"
  27711. },
  27712. "marketid": {
  27713. "description": "市场ID",
  27714. "type": "integer"
  27715. },
  27716. "mmaccountid": {
  27717. "description": "做市商资金账号ID",
  27718. "type": "string"
  27719. },
  27720. "mmuserid": {
  27721. "description": "做市商用户ID",
  27722. "type": "string"
  27723. },
  27724. "rewardamount": {
  27725. "description": "奖励金额",
  27726. "type": "number"
  27727. },
  27728. "rewardmodel": {
  27729. "description": "消费奖励方式 - 1:比率 2:固定",
  27730. "type": "integer"
  27731. },
  27732. "rewardtype": {
  27733. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  27734. "type": "integer"
  27735. },
  27736. "rewardvalue": {
  27737. "description": "配置奖励值",
  27738. "type": "number"
  27739. },
  27740. "srcamount": {
  27741. "description": "成交金额 [消费奖励] (金额)",
  27742. "type": "number"
  27743. },
  27744. "srcgoodsid": {
  27745. "description": "来源商品ID [消费奖励]",
  27746. "type": "string"
  27747. },
  27748. "srctime": {
  27749. "description": "来源时间 (成交时间) [消费奖励]",
  27750. "type": "string"
  27751. },
  27752. "srctradeid": {
  27753. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  27754. "type": "string"
  27755. },
  27756. "srcuserid": {
  27757. "description": "来源用户ID(推广账户)",
  27758. "type": "string"
  27759. },
  27760. "srcusername": {
  27761. "description": "推广账户名称",
  27762. "type": "string"
  27763. },
  27764. "tradedate": {
  27765. "description": "交易日(yyyyMMdd)",
  27766. "type": "string"
  27767. },
  27768. "userid": {
  27769. "description": "经纪人用户ID",
  27770. "type": "integer"
  27771. }
  27772. }
  27773. },
  27774. "models.QhjContract": {
  27775. "type": "object",
  27776. "properties": {
  27777. "contractconfirmtime": {
  27778. "description": "合同确认时间(时间)",
  27779. "type": "string"
  27780. },
  27781. "currisklevel": {
  27782. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27783. "type": "integer"
  27784. },
  27785. "decimalplace": {
  27786. "description": "商品报价小数位",
  27787. "type": "integer"
  27788. },
  27789. "enumdicname": {
  27790. "description": "单位名称",
  27791. "type": "string"
  27792. },
  27793. "goodscode": {
  27794. "description": "商品代码",
  27795. "type": "string"
  27796. },
  27797. "goodsid": {
  27798. "description": "商品ID [5:融资单]",
  27799. "type": "integer"
  27800. },
  27801. "goodsname": {
  27802. "description": "商品名称",
  27803. "type": "string"
  27804. },
  27805. "goodunitid": {
  27806. "description": "商品单位id",
  27807. "type": "integer"
  27808. },
  27809. "initmargin": {
  27810. "description": "初始保证金(首付款)",
  27811. "type": "number"
  27812. },
  27813. "lenderamount": {
  27814. "description": "贷款金额(总额|订单总额)",
  27815. "type": "number"
  27816. },
  27817. "marginratio": {
  27818. "description": "保证金比率(首付比例)",
  27819. "type": "number"
  27820. },
  27821. "payamount": {
  27822. "description": "已付(已付货款)",
  27823. "type": "number"
  27824. },
  27825. "reckonrecovermargin": {
  27826. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27827. "type": "number"
  27828. },
  27829. "recoveredmargin": {
  27830. "description": "已追缴保证金",
  27831. "type": "number"
  27832. },
  27833. "remainamount": {
  27834. "description": "合同剩余金额(融资额)",
  27835. "type": "number"
  27836. },
  27837. "scfcontractid": {
  27838. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27839. "type": "string"
  27840. },
  27841. "scfcontractstatus": {
  27842. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27843. "type": "integer"
  27844. },
  27845. "scfcontracttype": {
  27846. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27847. "type": "integer"
  27848. },
  27849. "totalinterest": {
  27850. "description": "已计总利息(利息)",
  27851. "type": "number"
  27852. },
  27853. "tradeprice": {
  27854. "description": "成交价格(成本价格)",
  27855. "type": "number"
  27856. },
  27857. "userid": {
  27858. "description": "用户ID",
  27859. "type": "integer"
  27860. },
  27861. "username": {
  27862. "description": "用户名称",
  27863. "type": "string"
  27864. },
  27865. "wrqty": {
  27866. "description": "仓单数量(数量)",
  27867. "type": "number"
  27868. }
  27869. }
  27870. },
  27871. "models.QhjContractLog": {
  27872. "type": "object",
  27873. "properties": {
  27874. "amount": {
  27875. "description": "支付金额",
  27876. "type": "number"
  27877. },
  27878. "amounttype": {
  27879. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  27880. "type": "integer"
  27881. },
  27882. "logid": {
  27883. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27884. "type": "string"
  27885. },
  27886. "remainamount": {
  27887. "description": "剩余货款",
  27888. "type": "number"
  27889. },
  27890. "scfcontractid": {
  27891. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27892. "type": "integer"
  27893. },
  27894. "updatetime": {
  27895. "description": "更新时间",
  27896. "type": "string"
  27897. }
  27898. }
  27899. },
  27900. "models.QhjCusBankSignBankEx": {
  27901. "type": "object",
  27902. "properties": {
  27903. "banklst": {
  27904. "description": "银行列表",
  27905. "type": "array",
  27906. "items": {
  27907. "$ref": "#/definitions/models.QhjBankInfo"
  27908. }
  27909. },
  27910. "canallot": {
  27911. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  27912. "type": "integer"
  27913. },
  27914. "canallotquery": {
  27915. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  27916. "type": "integer"
  27917. },
  27918. "canbindcard": {
  27919. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  27920. "type": "integer"
  27921. },
  27922. "caninamount": {
  27923. "description": "是否可入金 - 0:不可 1:可以",
  27924. "type": "integer"
  27925. },
  27926. "caninamount2": {
  27927. "description": "是否可入金(网银端) - 0:不可 1:可以",
  27928. "type": "integer"
  27929. },
  27930. "canmodifybankcard": {
  27931. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  27932. "type": "integer"
  27933. },
  27934. "canmodifyphone": {
  27935. "description": "是否可修改手机号 - 0:不可 1:可以",
  27936. "type": "integer"
  27937. },
  27938. "canmodifysigninfo": {
  27939. "description": "是否可修改签约信息 - 0:不可 1:可以",
  27940. "type": "integer"
  27941. },
  27942. "canoutamount": {
  27943. "description": "是否可出金 - 0:不可 1:可以",
  27944. "type": "integer"
  27945. },
  27946. "canoutamount2": {
  27947. "description": "是否可出金(网银端) - 0:不可 1:可以",
  27948. "type": "integer"
  27949. },
  27950. "canrelease": {
  27951. "description": "是否可解约 - 0:不可 1:可以",
  27952. "type": "integer"
  27953. },
  27954. "canrelease2": {
  27955. "description": "是否可解约(网银端) - 0:不可 1:可以",
  27956. "type": "integer"
  27957. },
  27958. "cansign": {
  27959. "description": "是否可签约 - 0:不可 1:可以",
  27960. "type": "integer"
  27961. },
  27962. "cansign2": {
  27963. "description": "是否可签约(网银端) - 0:不可 1:可以",
  27964. "type": "integer"
  27965. },
  27966. "currency": {
  27967. "description": "币种",
  27968. "type": "string"
  27969. },
  27970. "cusbankid": {
  27971. "description": "托管银行编号(对应清算中心TRAN_NO)",
  27972. "type": "string"
  27973. },
  27974. "cusbankname": {
  27975. "description": "银行业务名称",
  27976. "type": "string"
  27977. },
  27978. "cusbankshortname": {
  27979. "description": "银行业务简称",
  27980. "type": "string"
  27981. },
  27982. "exchbankid": {
  27983. "description": "交易所开户银行ID",
  27984. "type": "string"
  27985. },
  27986. "exchpaybankaccname": {
  27987. "description": "交易所支出结算账户户名",
  27988. "type": "string"
  27989. },
  27990. "exchpaybankaccno": {
  27991. "description": "交易所支出结算账户",
  27992. "type": "string"
  27993. },
  27994. "isneedcheck": {
  27995. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  27996. "type": "integer"
  27997. },
  27998. "isneedclear": {
  27999. "description": "是否需要清算 - 0:不需要 1:需要",
  28000. "type": "integer"
  28001. },
  28002. "lastcheckstatus": {
  28003. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28004. "type": "integer"
  28005. },
  28006. "lastchecktime": {
  28007. "description": "最后对账时间",
  28008. "type": "string"
  28009. },
  28010. "lastclearstatus": {
  28011. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28012. "type": "integer"
  28013. },
  28014. "lastcleartime": {
  28015. "description": "最后清算时间",
  28016. "type": "string"
  28017. },
  28018. "lastsignintime": {
  28019. "description": "最后签到时间",
  28020. "type": "string"
  28021. },
  28022. "lastsignouttime": {
  28023. "description": "最后签退时间",
  28024. "type": "string"
  28025. },
  28026. "riskinfo": {
  28027. "description": "签约风险提示书",
  28028. "type": "string"
  28029. },
  28030. "signstatus": {
  28031. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28032. "type": "integer"
  28033. },
  28034. "tradedate": {
  28035. "description": "交易日(yyyyMMdd)",
  28036. "type": "string"
  28037. },
  28038. "updatetime": {
  28039. "description": "当前签到/签退更新时间",
  28040. "type": "string"
  28041. }
  28042. }
  28043. },
  28044. "models.QhjCustomer": {
  28045. "type": "object",
  28046. "properties": {
  28047. "address": {
  28048. "description": "通讯地址",
  28049. "type": "string"
  28050. },
  28051. "attachment1": {
  28052. "description": "附件1",
  28053. "type": "string"
  28054. },
  28055. "audittime": {
  28056. "description": "审核时间",
  28057. "type": "string"
  28058. },
  28059. "cardbackphotourl": {
  28060. "description": "证件反面图片地址",
  28061. "type": "string"
  28062. },
  28063. "cardfrontphotourl": {
  28064. "description": "证件正面图片地址",
  28065. "type": "string"
  28066. },
  28067. "cardnum": {
  28068. "description": "证件号码",
  28069. "type": "string"
  28070. },
  28071. "cardtype": {
  28072. "description": "证件类型",
  28073. "type": "integer"
  28074. },
  28075. "cardtypename": {
  28076. "description": "证件类型名称",
  28077. "type": "string"
  28078. },
  28079. "cityid": {
  28080. "description": "市",
  28081. "type": "integer"
  28082. },
  28083. "cityname": {
  28084. "description": "城市名称",
  28085. "type": "string"
  28086. },
  28087. "contactname": {
  28088. "description": "联系人",
  28089. "type": "string"
  28090. },
  28091. "countryid": {
  28092. "description": "国家",
  28093. "type": "integer"
  28094. },
  28095. "countryname": {
  28096. "description": "国家名称",
  28097. "type": "string"
  28098. },
  28099. "createtime": {
  28100. "description": "创建时间",
  28101. "type": "string"
  28102. },
  28103. "customername": {
  28104. "description": "客户名称",
  28105. "type": "string"
  28106. },
  28107. "districtid": {
  28108. "description": "区域",
  28109. "type": "integer"
  28110. },
  28111. "districtname": {
  28112. "description": "地区名称",
  28113. "type": "string"
  28114. },
  28115. "email": {
  28116. "description": "邮件",
  28117. "type": "string"
  28118. },
  28119. "legalpersonname": {
  28120. "description": "法人姓名(企业)",
  28121. "type": "string"
  28122. },
  28123. "logincode": {
  28124. "description": "登录账号(代码)",
  28125. "type": "string"
  28126. },
  28127. "memberuserid": {
  28128. "description": "所属机构ID(所属会员)",
  28129. "type": "integer"
  28130. },
  28131. "memberusername": {
  28132. "description": "所属会员名称",
  28133. "type": "string"
  28134. },
  28135. "mobile": {
  28136. "description": "手机号码",
  28137. "type": "string"
  28138. },
  28139. "modifytime": {
  28140. "description": "修改时间",
  28141. "type": "string"
  28142. },
  28143. "nickname": {
  28144. "description": "昵称",
  28145. "type": "string"
  28146. },
  28147. "parentuserid": {
  28148. "description": "上级机构(所属机构)",
  28149. "type": "integer"
  28150. },
  28151. "parentusername": {
  28152. "description": "所属机构名称",
  28153. "type": "string"
  28154. },
  28155. "provinceid": {
  28156. "description": "省",
  28157. "type": "integer"
  28158. },
  28159. "provincename": {
  28160. "description": "省名称",
  28161. "type": "string"
  28162. },
  28163. "proxystatementurl": {
  28164. "description": "授权委托书",
  28165. "type": "string"
  28166. },
  28167. "remark": {
  28168. "description": "备注",
  28169. "type": "string"
  28170. },
  28171. "status": {
  28172. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28173. "type": "integer"
  28174. },
  28175. "statusdesc": {
  28176. "description": "账户状态中文描述",
  28177. "type": "string"
  28178. },
  28179. "taxpayernum": {
  28180. "description": "纳税人识别号",
  28181. "type": "string"
  28182. },
  28183. "telphone": {
  28184. "description": "联系电话",
  28185. "type": "string"
  28186. },
  28187. "userid": {
  28188. "description": "用户ID",
  28189. "type": "integer"
  28190. },
  28191. "userinfotype": {
  28192. "description": "客户类型 1-个人 2-企业",
  28193. "type": "integer"
  28194. },
  28195. "username": {
  28196. "description": "用户名称",
  28197. "type": "string"
  28198. }
  28199. }
  28200. },
  28201. "models.QhjCustomerSignLog": {
  28202. "type": "object",
  28203. "properties": {
  28204. "agreementcontent": {
  28205. "description": "协议内容",
  28206. "type": "string"
  28207. },
  28208. "agreementid": {
  28209. "description": "协议ID",
  28210. "type": "integer"
  28211. },
  28212. "agreementname": {
  28213. "description": "协议名称",
  28214. "type": "string"
  28215. },
  28216. "agreementno": {
  28217. "description": "协议编号",
  28218. "type": "string"
  28219. },
  28220. "agreementtype": {
  28221. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28222. "type": "integer"
  28223. },
  28224. "agreementversion": {
  28225. "description": "协议版本号",
  28226. "type": "integer"
  28227. },
  28228. "createtime": {
  28229. "description": "创建时间",
  28230. "type": "string"
  28231. },
  28232. "goodscode": {
  28233. "description": "商品代码",
  28234. "type": "string"
  28235. },
  28236. "goodsid": {
  28237. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28238. "type": "integer"
  28239. },
  28240. "goodsname": {
  28241. "description": "商品名称",
  28242. "type": "string"
  28243. },
  28244. "logid": {
  28245. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  28246. "type": "integer"
  28247. },
  28248. "nodetype": {
  28249. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28250. "type": "integer"
  28251. },
  28252. "signadressurl": {
  28253. "description": "签约文件地址",
  28254. "type": "string"
  28255. },
  28256. "signtimestamp": {
  28257. "description": "签约状态时间戳",
  28258. "type": "string"
  28259. },
  28260. "userid": {
  28261. "description": "客户ID",
  28262. "type": "integer"
  28263. },
  28264. "username": {
  28265. "description": "客户名称",
  28266. "type": "string"
  28267. }
  28268. }
  28269. },
  28270. "models.QhjCustomerSignStatus": {
  28271. "type": "object",
  28272. "properties": {
  28273. "createtime": {
  28274. "description": "创建时间",
  28275. "type": "string"
  28276. },
  28277. "goodscode": {
  28278. "description": "商品代码",
  28279. "type": "string"
  28280. },
  28281. "goodsid": {
  28282. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28283. "type": "integer"
  28284. },
  28285. "goodsname": {
  28286. "description": "商品名称",
  28287. "type": "string"
  28288. },
  28289. "nodetype": {
  28290. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  28291. "type": "integer"
  28292. },
  28293. "signtimestamp": {
  28294. "description": "签约状态时间戳",
  28295. "type": "string"
  28296. },
  28297. "tradedate": {
  28298. "description": "创建交易日(yyyyMMdd)",
  28299. "type": "string"
  28300. },
  28301. "updatetime": {
  28302. "description": "更新时间",
  28303. "type": "string"
  28304. },
  28305. "userid": {
  28306. "description": "客户ID",
  28307. "type": "integer"
  28308. },
  28309. "username": {
  28310. "description": "客户名称",
  28311. "type": "string"
  28312. }
  28313. }
  28314. },
  28315. "models.QhjMgrAccountOutInApply": {
  28316. "type": "object",
  28317. "properties": {
  28318. "accountcode": {
  28319. "description": "资金账号",
  28320. "type": "string"
  28321. },
  28322. "accountname": {
  28323. "description": "用户名称(名称)",
  28324. "type": "string"
  28325. },
  28326. "accountpwd": {
  28327. "description": "资金密码",
  28328. "type": "string"
  28329. },
  28330. "accountticket": {
  28331. "description": "最新账户服务流水号",
  28332. "type": "string"
  28333. },
  28334. "amount": {
  28335. "description": "金额",
  28336. "type": "number"
  28337. },
  28338. "applyremark": {
  28339. "description": "申请备注",
  28340. "type": "string"
  28341. },
  28342. "applystatus": {
  28343. "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: 复审通过,账户冻结金额检查中;",
  28344. "type": "integer"
  28345. },
  28346. "auditid": {
  28347. "description": "审核人",
  28348. "type": "integer"
  28349. },
  28350. "audittime": {
  28351. "description": "审核时间",
  28352. "type": "string"
  28353. },
  28354. "bank_apply_ticket": {
  28355. "description": "银行申请流水",
  28356. "type": "string"
  28357. },
  28358. "bankaccountname": {
  28359. "description": "银行账户名",
  28360. "type": "string"
  28361. },
  28362. "bankaccountno": {
  28363. "description": "银行卡号",
  28364. "type": "string"
  28365. },
  28366. "bankid": {
  28367. "description": "银行编号",
  28368. "type": "string"
  28369. },
  28370. "bankname": {
  28371. "description": "银行名称",
  28372. "type": "string"
  28373. },
  28374. "bankticket": {
  28375. "description": "银行流水",
  28376. "type": "string"
  28377. },
  28378. "branchbankid": {
  28379. "description": "银行支行号",
  28380. "type": "string"
  28381. },
  28382. "branchbankname": {
  28383. "description": "银行支行名称",
  28384. "type": "string"
  28385. },
  28386. "capamountout": {
  28387. "description": "出金(劣后本金) - 外部子账户",
  28388. "type": "number"
  28389. },
  28390. "certificatephotourl": {
  28391. "description": "凭证地址",
  28392. "type": "string"
  28393. },
  28394. "charge": {
  28395. "description": "手续费",
  28396. "type": "number"
  28397. },
  28398. "checkerrorflag": {
  28399. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28400. "type": "integer"
  28401. },
  28402. "currency": {
  28403. "description": "币种",
  28404. "type": "string"
  28405. },
  28406. "cusbankid": {
  28407. "description": "托管银行编号",
  28408. "type": "string"
  28409. },
  28410. "exchticket": {
  28411. "description": "银行服务流水号",
  28412. "type": "string"
  28413. },
  28414. "executetype": {
  28415. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28416. "type": "integer"
  28417. },
  28418. "extendinfo": {
  28419. "description": "扩展信息",
  28420. "type": "string"
  28421. },
  28422. "extoperateid": {
  28423. "description": "交易服务流水号",
  28424. "type": "integer"
  28425. },
  28426. "infamount": {
  28427. "description": "劣后金额(自有)",
  28428. "type": "number"
  28429. },
  28430. "logincode": {
  28431. "description": "登录账号(账号)",
  28432. "type": "string"
  28433. },
  28434. "netaddr": {
  28435. "description": "调转网址",
  28436. "type": "string"
  28437. },
  28438. "priamount": {
  28439. "description": "优先金额(授信)",
  28440. "type": "number"
  28441. },
  28442. "reauditid": {
  28443. "description": "复审人",
  28444. "type": "integer"
  28445. },
  28446. "reauditremark": {
  28447. "description": "复审备注",
  28448. "type": "string"
  28449. },
  28450. "reaudittime": {
  28451. "description": "复审时间",
  28452. "type": "string"
  28453. },
  28454. "relatedorderid": {
  28455. "description": "三方关联ID",
  28456. "type": "string"
  28457. },
  28458. "remark": {
  28459. "description": "备注",
  28460. "type": "string"
  28461. },
  28462. "remark2": {
  28463. "description": "备注(失败原因)",
  28464. "type": "string"
  28465. },
  28466. "soucreamount": {
  28467. "description": "原始出入金金额",
  28468. "type": "number"
  28469. },
  28470. "soucrecurrencyid": {
  28471. "description": "原始出入金币种",
  28472. "type": "integer"
  28473. },
  28474. "tradedate": {
  28475. "description": "交易日(yyyyMMdd)",
  28476. "type": "string"
  28477. },
  28478. "updatetime": {
  28479. "description": "更新时间(申请时间)",
  28480. "type": "string"
  28481. },
  28482. "userid": {
  28483. "description": "用户id",
  28484. "type": "integer"
  28485. },
  28486. "userinfotype": {
  28487. "description": "账户类型 1-个人 2-企业",
  28488. "type": "integer"
  28489. }
  28490. }
  28491. },
  28492. "models.QhjMgrBrokerApply": {
  28493. "type": "object",
  28494. "properties": {
  28495. "applicantid": {
  28496. "description": "申请人",
  28497. "type": "integer"
  28498. },
  28499. "applysrc": {
  28500. "description": "申请来源 - 1:管理端 2:终端",
  28501. "type": "integer"
  28502. },
  28503. "applystatus": {
  28504. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28505. "type": "integer"
  28506. },
  28507. "applytime": {
  28508. "description": "申请时间",
  28509. "type": "string"
  28510. },
  28511. "auditorid": {
  28512. "description": "审核人",
  28513. "type": "integer"
  28514. },
  28515. "auditremark": {
  28516. "description": "审核备注",
  28517. "type": "string"
  28518. },
  28519. "auditsrc": {
  28520. "description": "审核来源 - 1:管理端 2:终端",
  28521. "type": "integer"
  28522. },
  28523. "audittime": {
  28524. "description": "审核时间",
  28525. "type": "string"
  28526. },
  28527. "audittradedate": {
  28528. "description": "审核交易日(yyyyMMdd)",
  28529. "type": "string"
  28530. },
  28531. "brokerapplyid": {
  28532. "description": "申请ID(SEQ_BROKERAPPLY)",
  28533. "type": "integer"
  28534. },
  28535. "cardbackphotourl": {
  28536. "description": "证件背面图片地址",
  28537. "type": "string"
  28538. },
  28539. "cardfrontphotourl": {
  28540. "description": "证件正面图片地址",
  28541. "type": "string"
  28542. },
  28543. "cardnum": {
  28544. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28545. "type": "string"
  28546. },
  28547. "customername": {
  28548. "description": "姓名",
  28549. "type": "string"
  28550. },
  28551. "filterstatus": {
  28552. "description": "筛选条件",
  28553. "type": "string"
  28554. },
  28555. "logincode": {
  28556. "description": "登录代码",
  28557. "type": "string"
  28558. },
  28559. "mobile": {
  28560. "description": "手机号码",
  28561. "type": "string"
  28562. },
  28563. "parentuserid": {
  28564. "description": "所属机构id",
  28565. "type": "integer"
  28566. },
  28567. "parentusername": {
  28568. "description": "所属机构名称",
  28569. "type": "string"
  28570. },
  28571. "refereeuserid": {
  28572. "description": "推荐人id(经纪人)",
  28573. "type": "integer"
  28574. },
  28575. "refernum": {
  28576. "description": "推荐码",
  28577. "type": "string"
  28578. },
  28579. "remark": {
  28580. "description": "备注",
  28581. "type": "string"
  28582. },
  28583. "subarealevelpath": {
  28584. "description": "层级路径",
  28585. "type": "string"
  28586. },
  28587. "tradedate": {
  28588. "description": "交易日(yyyyMMdd)",
  28589. "type": "string"
  28590. },
  28591. "userid": {
  28592. "description": "申请人用户ID",
  28593. "type": "integer"
  28594. },
  28595. "userinfotype": {
  28596. "description": "用户类型 1-个人 2-企业",
  28597. "type": "integer"
  28598. },
  28599. "username": {
  28600. "description": "用户名称",
  28601. "type": "string"
  28602. }
  28603. }
  28604. },
  28605. "models.QhjMgrBrokerRewardReport": {
  28606. "type": "object",
  28607. "properties": {
  28608. "createtime": {
  28609. "description": "创建时间(注册时间)",
  28610. "type": "string"
  28611. },
  28612. "cycletime": {
  28613. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  28614. "type": "string"
  28615. },
  28616. "cycletype": {
  28617. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  28618. "type": "integer"
  28619. },
  28620. "directtotalnum": {
  28621. "description": "直推总人数【期末】",
  28622. "type": "integer"
  28623. },
  28624. "indirecttotalnum": {
  28625. "description": "间推总人数【期末】",
  28626. "type": "integer"
  28627. },
  28628. "mobile": {
  28629. "description": "电话号码",
  28630. "type": "string"
  28631. },
  28632. "refereeuserid": {
  28633. "description": "推荐人id(经纪人id)",
  28634. "type": "integer"
  28635. },
  28636. "refereeusername": {
  28637. "description": "推荐人名称(经纪人) 上级经纪人名称",
  28638. "type": "string"
  28639. },
  28640. "refernum": {
  28641. "description": "推荐码",
  28642. "type": "string"
  28643. },
  28644. "subarealevelpath": {
  28645. "description": "用户层级路径",
  28646. "type": "string"
  28647. },
  28648. "todayrewardamount": {
  28649. "description": "奖励总金额【汇总】",
  28650. "type": "number"
  28651. },
  28652. "updatetime": {
  28653. "description": "更新时间",
  28654. "type": "string"
  28655. },
  28656. "userid": {
  28657. "description": "经纪人用户ID",
  28658. "type": "integer"
  28659. },
  28660. "userinfotype": {
  28661. "description": "用户类型 1-个人 2-企业",
  28662. "type": "integer"
  28663. },
  28664. "username": {
  28665. "description": "用户名称",
  28666. "type": "string"
  28667. }
  28668. }
  28669. },
  28670. "models.QhjMgrContract": {
  28671. "type": "object",
  28672. "properties": {
  28673. "contractconfirmtime": {
  28674. "description": "合同确认时间(时间)",
  28675. "type": "string"
  28676. },
  28677. "currisklevel": {
  28678. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28679. "type": "integer"
  28680. },
  28681. "decimalplace": {
  28682. "description": "商品报价小数位",
  28683. "type": "integer"
  28684. },
  28685. "enumdicname": {
  28686. "description": "单位名称",
  28687. "type": "string"
  28688. },
  28689. "goodscode": {
  28690. "description": "商品代码",
  28691. "type": "string"
  28692. },
  28693. "goodsid": {
  28694. "description": "商品ID [5:融资单]",
  28695. "type": "integer"
  28696. },
  28697. "goodsname": {
  28698. "description": "商品名称",
  28699. "type": "string"
  28700. },
  28701. "goodunitid": {
  28702. "description": "商品单位id",
  28703. "type": "integer"
  28704. },
  28705. "initmargin": {
  28706. "description": "初始保证金(首付款)",
  28707. "type": "number"
  28708. },
  28709. "lenderamount": {
  28710. "description": "贷款金额(总额|订单总额)",
  28711. "type": "number"
  28712. },
  28713. "logincode": {
  28714. "description": "账号(登录代码)",
  28715. "type": "string"
  28716. },
  28717. "marginratio": {
  28718. "description": "保证金比率(首付比例)",
  28719. "type": "number"
  28720. },
  28721. "mobile": {
  28722. "description": "电话号码(用户资料里的电话)",
  28723. "type": "string"
  28724. },
  28725. "payamount": {
  28726. "description": "已付(已付货款)",
  28727. "type": "number"
  28728. },
  28729. "reckonrecovermargin": {
  28730. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28731. "type": "number"
  28732. },
  28733. "recoveredmargin": {
  28734. "description": "已追缴保证金",
  28735. "type": "number"
  28736. },
  28737. "remainamount": {
  28738. "description": "合同剩余金额(融资额)",
  28739. "type": "number"
  28740. },
  28741. "scfcontractid": {
  28742. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28743. "type": "string"
  28744. },
  28745. "scfcontractstatus": {
  28746. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28747. "type": "integer"
  28748. },
  28749. "scfcontracttype": {
  28750. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28751. "type": "integer"
  28752. },
  28753. "totalinterest": {
  28754. "description": "已计总利息(利息)",
  28755. "type": "number"
  28756. },
  28757. "tradedate": {
  28758. "description": "交易日",
  28759. "type": "string"
  28760. },
  28761. "tradeprice": {
  28762. "description": "成交价格(成本价格)",
  28763. "type": "number"
  28764. },
  28765. "userid": {
  28766. "description": "用户ID",
  28767. "type": "integer"
  28768. },
  28769. "userinfotype": {
  28770. "description": "用户类型 1-个人 2-企业",
  28771. "type": "integer"
  28772. },
  28773. "username": {
  28774. "description": "用户名称",
  28775. "type": "string"
  28776. },
  28777. "wrqty": {
  28778. "description": "仓单数量(数量)",
  28779. "type": "number"
  28780. }
  28781. }
  28782. },
  28783. "models.QhjMgrCustomer": {
  28784. "type": "object",
  28785. "properties": {
  28786. "address": {
  28787. "description": "通讯地址",
  28788. "type": "string"
  28789. },
  28790. "attachment1": {
  28791. "description": "附件1",
  28792. "type": "string"
  28793. },
  28794. "audittime": {
  28795. "description": "审核时间",
  28796. "type": "string"
  28797. },
  28798. "birthday": {
  28799. "description": "生日",
  28800. "type": "string"
  28801. },
  28802. "brokerid": {
  28803. "description": "所属客户经理id",
  28804. "type": "integer"
  28805. },
  28806. "brokername": {
  28807. "description": "所属客户经理名称",
  28808. "type": "string"
  28809. },
  28810. "cardbackphotourl": {
  28811. "description": "证件反面图片地址",
  28812. "type": "string"
  28813. },
  28814. "cardfrontphotourl": {
  28815. "description": "证件正面图片地址",
  28816. "type": "string"
  28817. },
  28818. "cardnum": {
  28819. "description": "证件号码",
  28820. "type": "string"
  28821. },
  28822. "cardtype": {
  28823. "description": "证件类型",
  28824. "type": "integer"
  28825. },
  28826. "cardtypename": {
  28827. "description": "证件类型名称",
  28828. "type": "string"
  28829. },
  28830. "cityid": {
  28831. "description": "市",
  28832. "type": "integer"
  28833. },
  28834. "cityname": {
  28835. "description": "城市名称",
  28836. "type": "string"
  28837. },
  28838. "contactname": {
  28839. "description": "联系人",
  28840. "type": "string"
  28841. },
  28842. "countryid": {
  28843. "description": "国家",
  28844. "type": "integer"
  28845. },
  28846. "countryname": {
  28847. "description": "国家名称",
  28848. "type": "string"
  28849. },
  28850. "createtime": {
  28851. "description": "创建时间",
  28852. "type": "string"
  28853. },
  28854. "customername": {
  28855. "description": "客户名称",
  28856. "type": "string"
  28857. },
  28858. "districtid": {
  28859. "description": "区域",
  28860. "type": "integer"
  28861. },
  28862. "districtname": {
  28863. "description": "地区名称",
  28864. "type": "string"
  28865. },
  28866. "email": {
  28867. "description": "邮件",
  28868. "type": "string"
  28869. },
  28870. "legalpersonname": {
  28871. "description": "法人姓名(企业)",
  28872. "type": "string"
  28873. },
  28874. "logincode": {
  28875. "description": "登录账号(代码)",
  28876. "type": "string"
  28877. },
  28878. "memberuserid": {
  28879. "description": "所属机构ID(所属会员)",
  28880. "type": "integer"
  28881. },
  28882. "memberusername": {
  28883. "description": "所属会员名称",
  28884. "type": "string"
  28885. },
  28886. "mobile": {
  28887. "description": "手机号码",
  28888. "type": "string"
  28889. },
  28890. "modifytime": {
  28891. "description": "修改时间",
  28892. "type": "string"
  28893. },
  28894. "nickname": {
  28895. "description": "昵称",
  28896. "type": "string"
  28897. },
  28898. "parentuserid": {
  28899. "description": "上级机构(所属机构)",
  28900. "type": "integer"
  28901. },
  28902. "parentusername": {
  28903. "description": "所属机构名称",
  28904. "type": "string"
  28905. },
  28906. "provinceid": {
  28907. "description": "省",
  28908. "type": "integer"
  28909. },
  28910. "provincename": {
  28911. "description": "省名称",
  28912. "type": "string"
  28913. },
  28914. "proxystatementurl": {
  28915. "description": "授权委托书",
  28916. "type": "string"
  28917. },
  28918. "querytype": {
  28919. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  28920. "type": "integer"
  28921. },
  28922. "remark": {
  28923. "description": "备注",
  28924. "type": "string"
  28925. },
  28926. "sex": {
  28927. "description": "性别 0-女 1-男",
  28928. "type": "integer"
  28929. },
  28930. "status": {
  28931. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28932. "type": "integer"
  28933. },
  28934. "statusdesc": {
  28935. "description": "账户状态中文描述",
  28936. "type": "string"
  28937. },
  28938. "taxpayernum": {
  28939. "description": "纳税人识别号",
  28940. "type": "string"
  28941. },
  28942. "telphone": {
  28943. "description": "联系电话",
  28944. "type": "string"
  28945. },
  28946. "userid": {
  28947. "description": "用户ID",
  28948. "type": "integer"
  28949. },
  28950. "userinfotype": {
  28951. "description": "客户类型 1-个人 2-企业",
  28952. "type": "integer"
  28953. },
  28954. "username": {
  28955. "description": "用户名称",
  28956. "type": "string"
  28957. }
  28958. }
  28959. },
  28960. "models.QhjMgrPickGoods": {
  28961. "type": "object",
  28962. "properties": {
  28963. "enumdicname": {
  28964. "description": "单位名称(提货商品)",
  28965. "type": "string"
  28966. },
  28967. "goodsid": {
  28968. "description": "商品id",
  28969. "type": "integer"
  28970. },
  28971. "imageaddress": {
  28972. "description": "图片",
  28973. "type": "string"
  28974. },
  28975. "modifierid": {
  28976. "description": "修改人",
  28977. "type": "integer"
  28978. },
  28979. "modifiername": {
  28980. "description": "修改人名称",
  28981. "type": "string"
  28982. },
  28983. "modifysrc": {
  28984. "description": "修改来源 - 1:管理端 2:终端",
  28985. "type": "integer"
  28986. },
  28987. "pickupgoodsagreeunit": {
  28988. "description": "合约乘数",
  28989. "type": "number"
  28990. },
  28991. "pickupgoodsdesc": {
  28992. "description": "描述",
  28993. "type": "string"
  28994. },
  28995. "pickupgoodsid": {
  28996. "description": "提货商品ID",
  28997. "type": "string"
  28998. },
  28999. "pickupgoodsname": {
  29000. "description": "提货商品名称",
  29001. "type": "string"
  29002. },
  29003. "pickupgoodsstatus": {
  29004. "description": "状态 - 1:正常 2:停用 3:注销",
  29005. "type": "integer"
  29006. },
  29007. "pickupgoodsunitid": {
  29008. "description": "单位ID",
  29009. "type": "integer"
  29010. },
  29011. "pickupratio": {
  29012. "description": "提货系数",
  29013. "type": "number"
  29014. },
  29015. "preparedays": {
  29016. "description": "备货期(天)",
  29017. "type": "integer"
  29018. },
  29019. "remark": {
  29020. "description": "备注",
  29021. "type": "string"
  29022. },
  29023. "updatetime": {
  29024. "description": "更新时间",
  29025. "type": "string"
  29026. }
  29027. }
  29028. },
  29029. "models.QhjMgrPositionRsp": {
  29030. "type": "object",
  29031. "properties": {
  29032. "accountid": {
  29033. "description": "账号Id",
  29034. "type": "integer"
  29035. },
  29036. "accountname": {
  29037. "description": "用户名称",
  29038. "type": "string"
  29039. },
  29040. "agreeunit": {
  29041. "description": "合约乘数",
  29042. "type": "number"
  29043. },
  29044. "averageprice": {
  29045. "description": "均价",
  29046. "type": "number"
  29047. },
  29048. "avialqty": {
  29049. "description": "可用数量",
  29050. "type": "number"
  29051. },
  29052. "decimalplace": {
  29053. "description": "报价小数位",
  29054. "type": "integer"
  29055. },
  29056. "enumdicname": {
  29057. "description": "单位名称(商品)",
  29058. "type": "string"
  29059. },
  29060. "frozenqty": {
  29061. "description": "冻结数量",
  29062. "type": "number"
  29063. },
  29064. "goodscode": {
  29065. "description": "商品代码(内部)",
  29066. "type": "string"
  29067. },
  29068. "goodsid": {
  29069. "description": "商品Id",
  29070. "type": "integer"
  29071. },
  29072. "goodsname": {
  29073. "description": "商品名称",
  29074. "type": "string"
  29075. },
  29076. "goodunitid": {
  29077. "description": "报价单位ID",
  29078. "type": "integer"
  29079. },
  29080. "holderamount": {
  29081. "description": "金额",
  29082. "type": "number"
  29083. },
  29084. "holderqty": {
  29085. "description": "持有数量",
  29086. "type": "number"
  29087. },
  29088. "holdertype": {
  29089. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29090. "type": "integer"
  29091. },
  29092. "logincode": {
  29093. "description": "登录代码(账户)",
  29094. "type": "string"
  29095. },
  29096. "marketid": {
  29097. "description": "市场id",
  29098. "type": "integer"
  29099. },
  29100. "qtydecimalplace": {
  29101. "description": "成交量小数位",
  29102. "type": "integer"
  29103. },
  29104. "trademode": {
  29105. "description": "交易模式",
  29106. "type": "integer"
  29107. },
  29108. "userid": {
  29109. "description": "用户id",
  29110. "type": "integer"
  29111. },
  29112. "userinfotype": {
  29113. "description": "账户类型 1-个人 2-企业",
  29114. "type": "integer"
  29115. }
  29116. }
  29117. },
  29118. "models.QhjMgrSubArea": {
  29119. "type": "object",
  29120. "properties": {
  29121. "accountname": {
  29122. "description": "账户名称(机构名称)",
  29123. "type": "string"
  29124. },
  29125. "memberuserid": {
  29126. "description": "所属会员ID",
  29127. "type": "integer"
  29128. },
  29129. "parenttopuser": {
  29130. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29131. "type": "string"
  29132. },
  29133. "parentuserid": {
  29134. "description": "所属机构ID",
  29135. "type": "integer"
  29136. },
  29137. "rootuserid": {
  29138. "description": "根用户ID",
  29139. "type": "string"
  29140. },
  29141. "subaccountlevel": {
  29142. "description": "子账户层数",
  29143. "type": "integer"
  29144. },
  29145. "subarealevelpath": {
  29146. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29147. "type": "string"
  29148. },
  29149. "userid": {
  29150. "description": "用户ID",
  29151. "type": "integer"
  29152. },
  29153. "usertype": {
  29154. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29155. "type": "integer"
  29156. }
  29157. }
  29158. },
  29159. "models.QhjMgrTradeDetailRsp": {
  29160. "type": "object",
  29161. "properties": {
  29162. "accountid": {
  29163. "description": "资金账号",
  29164. "type": "integer"
  29165. },
  29166. "accountname": {
  29167. "description": "用户名称",
  29168. "type": "string"
  29169. },
  29170. "agreeunit": {
  29171. "description": "合约乘数",
  29172. "type": "number"
  29173. },
  29174. "buyorsell": {
  29175. "description": "成交类型(方向) 0:买 1:卖",
  29176. "type": "integer"
  29177. },
  29178. "decimalplace": {
  29179. "description": "报价小数位",
  29180. "type": "integer"
  29181. },
  29182. "enumdicname": {
  29183. "description": "单位名称(商品)",
  29184. "type": "string"
  29185. },
  29186. "goodscode": {
  29187. "description": "商品代码(内部)",
  29188. "type": "string"
  29189. },
  29190. "goodsid": {
  29191. "description": "商品id",
  29192. "type": "integer"
  29193. },
  29194. "goodsname": {
  29195. "description": "商品名称",
  29196. "type": "string"
  29197. },
  29198. "goodunitid": {
  29199. "description": "报价单位ID",
  29200. "type": "integer"
  29201. },
  29202. "logincode": {
  29203. "description": "登录代码(账户)",
  29204. "type": "string"
  29205. },
  29206. "marketid": {
  29207. "description": "市场id",
  29208. "type": "integer"
  29209. },
  29210. "orderid": {
  29211. "description": "关联委托单号",
  29212. "type": "string"
  29213. },
  29214. "qtydecimalplace": {
  29215. "description": "成交量小数位",
  29216. "type": "integer"
  29217. },
  29218. "tradeamount": {
  29219. "description": "金额",
  29220. "type": "number"
  29221. },
  29222. "tradedate": {
  29223. "description": "交易日",
  29224. "type": "string"
  29225. },
  29226. "tradeid": {
  29227. "description": "成交单号",
  29228. "type": "string"
  29229. },
  29230. "trademode": {
  29231. "description": "交易模式",
  29232. "type": "integer"
  29233. },
  29234. "tradeprice": {
  29235. "description": "价格",
  29236. "type": "number"
  29237. },
  29238. "tradeqty": {
  29239. "description": "数量",
  29240. "type": "number"
  29241. },
  29242. "tradetime": {
  29243. "description": "成交时间",
  29244. "type": "string"
  29245. },
  29246. "userid": {
  29247. "description": "用户id",
  29248. "type": "integer"
  29249. },
  29250. "userinfotype": {
  29251. "description": "账户类型 1-个人 2-企业",
  29252. "type": "integer"
  29253. }
  29254. }
  29255. },
  29256. "models.QhjMgrTradeOrderDetailRsp": {
  29257. "type": "object",
  29258. "properties": {
  29259. "accountid": {
  29260. "description": "资金账号",
  29261. "type": "integer"
  29262. },
  29263. "accountname": {
  29264. "description": "用户名称",
  29265. "type": "string"
  29266. },
  29267. "agreeunit": {
  29268. "description": "合约乘数",
  29269. "type": "number"
  29270. },
  29271. "amount": {
  29272. "description": "金额",
  29273. "type": "number"
  29274. },
  29275. "decimalplace": {
  29276. "description": "报价小数位",
  29277. "type": "integer"
  29278. },
  29279. "enumdicname": {
  29280. "description": "单位名称(商品)",
  29281. "type": "string"
  29282. },
  29283. "goodscode": {
  29284. "description": "商品代码(内部)",
  29285. "type": "string"
  29286. },
  29287. "goodsid": {
  29288. "description": "商品id",
  29289. "type": "integer"
  29290. },
  29291. "goodsname": {
  29292. "description": "商品名称",
  29293. "type": "string"
  29294. },
  29295. "goodunitid": {
  29296. "description": "报价单位ID",
  29297. "type": "integer"
  29298. },
  29299. "logincode": {
  29300. "description": "登录代码(账户)",
  29301. "type": "string"
  29302. },
  29303. "marketid": {
  29304. "description": "市场id",
  29305. "type": "integer"
  29306. },
  29307. "orderid": {
  29308. "description": "关联委托单号",
  29309. "type": "string"
  29310. },
  29311. "orderprice": {
  29312. "description": "价格",
  29313. "type": "number"
  29314. },
  29315. "orderqty": {
  29316. "description": "数量",
  29317. "type": "number"
  29318. },
  29319. "orderstatus": {
  29320. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29321. "type": "integer"
  29322. },
  29323. "ordertime": {
  29324. "description": "委托时间",
  29325. "type": "string"
  29326. },
  29327. "qtydecimalplace": {
  29328. "description": "成交量小数位",
  29329. "type": "integer"
  29330. },
  29331. "tradedate": {
  29332. "description": "交易日",
  29333. "type": "string"
  29334. },
  29335. "trademode": {
  29336. "description": "交易模式",
  29337. "type": "integer"
  29338. },
  29339. "userid": {
  29340. "description": "用户id",
  29341. "type": "integer"
  29342. },
  29343. "userinfotype": {
  29344. "description": "账户类型 1-个人 2-企业",
  29345. "type": "integer"
  29346. }
  29347. }
  29348. },
  29349. "models.QhjMgrTradePayOrder": {
  29350. "type": "object",
  29351. "properties": {
  29352. "accountname": {
  29353. "description": "用户名称",
  29354. "type": "string"
  29355. },
  29356. "advanceratio": {
  29357. "description": "首付比率",
  29358. "type": "number"
  29359. },
  29360. "agreeunit": {
  29361. "description": "合约乘数",
  29362. "type": "number"
  29363. },
  29364. "buyaccountid": {
  29365. "description": "买方账号ID[报价币种]",
  29366. "type": "integer"
  29367. },
  29368. "buyorderid": {
  29369. "description": "买方委托单号(关联单号)",
  29370. "type": "string"
  29371. },
  29372. "createtime": {
  29373. "description": "创建时间",
  29374. "type": "string"
  29375. },
  29376. "decimalplace": {
  29377. "description": "报价小数位",
  29378. "type": "integer"
  29379. },
  29380. "enumdicname": {
  29381. "description": "单位名称(商品)",
  29382. "type": "string"
  29383. },
  29384. "goodscode": {
  29385. "description": "商品代码(内部)",
  29386. "type": "string"
  29387. },
  29388. "goodsid": {
  29389. "description": "商品ID",
  29390. "type": "integer"
  29391. },
  29392. "goodsname": {
  29393. "description": "商品名称",
  29394. "type": "string"
  29395. },
  29396. "goodunitid": {
  29397. "description": "报价单位ID",
  29398. "type": "integer"
  29399. },
  29400. "logincode": {
  29401. "description": "登录代码(账户)",
  29402. "type": "string"
  29403. },
  29404. "marketid": {
  29405. "description": "市场id",
  29406. "type": "integer"
  29407. },
  29408. "offamount": {
  29409. "description": "优惠金额",
  29410. "type": "number"
  29411. },
  29412. "operatetype": {
  29413. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  29414. "type": "integer"
  29415. },
  29416. "payamount": {
  29417. "description": "支付金额(金额)",
  29418. "type": "number"
  29419. },
  29420. "payflag": {
  29421. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29422. "type": "integer"
  29423. },
  29424. "paylimitedtime": {
  29425. "description": "支付期限",
  29426. "type": "string"
  29427. },
  29428. "paytime": {
  29429. "description": "付款时间",
  29430. "type": "string"
  29431. },
  29432. "qtydecimalplace": {
  29433. "description": "成交量小数位",
  29434. "type": "integer"
  29435. },
  29436. "sellaccountid": {
  29437. "description": "卖方账号ID[报价币种]",
  29438. "type": "integer"
  29439. },
  29440. "sellorderid": {
  29441. "description": "卖方委托单号",
  29442. "type": "string"
  29443. },
  29444. "tradeamount": {
  29445. "description": "成交金额(优惠后金额)",
  29446. "type": "number"
  29447. },
  29448. "tradecharge": {
  29449. "description": "成交手续费(买方)",
  29450. "type": "number"
  29451. },
  29452. "tradedate": {
  29453. "description": "交易日(yyyyMMdd)",
  29454. "type": "string"
  29455. },
  29456. "tradeid": {
  29457. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29458. "type": "string"
  29459. },
  29460. "trademode": {
  29461. "description": "交易模式",
  29462. "type": "integer"
  29463. },
  29464. "tradeprice": {
  29465. "description": "成交价格(价格)",
  29466. "type": "number"
  29467. },
  29468. "tradeqty": {
  29469. "description": "成交数量(数量)",
  29470. "type": "number"
  29471. },
  29472. "tradetime": {
  29473. "description": "成交时间",
  29474. "type": "string"
  29475. },
  29476. "userid": {
  29477. "description": "用户id",
  29478. "type": "integer"
  29479. },
  29480. "userinfotype": {
  29481. "description": "账户类型 1-个人 2-企业",
  29482. "type": "integer"
  29483. }
  29484. }
  29485. },
  29486. "models.QhjMyTeamEx": {
  29487. "type": "object",
  29488. "properties": {
  29489. "accountname": {
  29490. "description": "用户名称",
  29491. "type": "string"
  29492. },
  29493. "accountstatus": {
  29494. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29495. "type": "integer"
  29496. },
  29497. "createtime": {
  29498. "description": "创建时间",
  29499. "type": "string"
  29500. },
  29501. "mobile": {
  29502. "description": "手机号码",
  29503. "type": "string"
  29504. },
  29505. "refereeuserid": {
  29506. "description": "推荐人id",
  29507. "type": "integer"
  29508. },
  29509. "refernum": {
  29510. "description": "推荐码",
  29511. "type": "string"
  29512. },
  29513. "subList": {
  29514. "type": "array",
  29515. "items": {
  29516. "$ref": "#/definitions/models.QhjMyTeamEx"
  29517. }
  29518. },
  29519. "userid": {
  29520. "description": "用户id",
  29521. "type": "integer"
  29522. },
  29523. "userinfotype": {
  29524. "description": "用户类型 1-个人 2-企业",
  29525. "type": "integer"
  29526. }
  29527. }
  29528. },
  29529. "models.QhjNodeAgreementConfig": {
  29530. "type": "object",
  29531. "properties": {
  29532. "agreementcontent": {
  29533. "description": "协议内容",
  29534. "type": "string"
  29535. },
  29536. "agreementid": {
  29537. "description": "协议ID",
  29538. "type": "integer"
  29539. },
  29540. "agreementname": {
  29541. "description": "协议名称",
  29542. "type": "string"
  29543. },
  29544. "agreementno": {
  29545. "description": "协议编号",
  29546. "type": "string"
  29547. },
  29548. "agreementtype": {
  29549. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29550. "type": "integer"
  29551. },
  29552. "agreementversion": {
  29553. "description": "协议版本号",
  29554. "type": "integer"
  29555. },
  29556. "configid": {
  29557. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29558. "type": "integer"
  29559. },
  29560. "createtime": {
  29561. "description": "创建时间",
  29562. "type": "string"
  29563. },
  29564. "goodsid": {
  29565. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29566. "type": "integer"
  29567. },
  29568. "nodetype": {
  29569. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29570. "type": "integer"
  29571. }
  29572. }
  29573. },
  29574. "models.QhjParentAreaList": {
  29575. "type": "object",
  29576. "properties": {
  29577. "accountname": {
  29578. "description": "账户名称(机构名称)",
  29579. "type": "string"
  29580. },
  29581. "userid": {
  29582. "description": "用户ID",
  29583. "type": "integer"
  29584. },
  29585. "usertype": {
  29586. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29587. "type": "integer"
  29588. }
  29589. }
  29590. },
  29591. "models.QhjPayOrder": {
  29592. "type": "object",
  29593. "properties": {
  29594. "advanceratio": {
  29595. "description": "首付比率",
  29596. "type": "number"
  29597. },
  29598. "buyaccountid": {
  29599. "description": "买方账号ID[报价币种]",
  29600. "type": "integer"
  29601. },
  29602. "buyorderid": {
  29603. "description": "买方委托单号",
  29604. "type": "string"
  29605. },
  29606. "createtime": {
  29607. "description": "创建时间",
  29608. "type": "string"
  29609. },
  29610. "decimalplace": {
  29611. "description": "商品报价小数位",
  29612. "type": "integer"
  29613. },
  29614. "enumdicname": {
  29615. "description": "单位名称",
  29616. "type": "string"
  29617. },
  29618. "goodscode": {
  29619. "description": "商品代码",
  29620. "type": "string"
  29621. },
  29622. "goodsid": {
  29623. "description": "商品ID",
  29624. "type": "integer"
  29625. },
  29626. "goodsname": {
  29627. "description": "商品名称",
  29628. "type": "string"
  29629. },
  29630. "goodunitid": {
  29631. "description": "商品单位id",
  29632. "type": "integer"
  29633. },
  29634. "marketid": {
  29635. "description": "市场ID",
  29636. "type": "integer"
  29637. },
  29638. "offamount": {
  29639. "description": "优惠金额",
  29640. "type": "number"
  29641. },
  29642. "operatetype": {
  29643. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  29644. "type": "integer"
  29645. },
  29646. "payamount": {
  29647. "description": "支付金额",
  29648. "type": "number"
  29649. },
  29650. "payflag": {
  29651. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29652. "type": "integer"
  29653. },
  29654. "paylimitedtime": {
  29655. "description": "支付期限",
  29656. "type": "string"
  29657. },
  29658. "paytime": {
  29659. "description": "付款时间",
  29660. "type": "string"
  29661. },
  29662. "qtydecimalplace": {
  29663. "description": "成交量小数位",
  29664. "type": "integer"
  29665. },
  29666. "sellaccountid": {
  29667. "description": "卖方账号ID[报价币种]",
  29668. "type": "integer"
  29669. },
  29670. "sellorderid": {
  29671. "description": "卖方委托单号",
  29672. "type": "string"
  29673. },
  29674. "tradeamount": {
  29675. "description": "成交金额(优惠后金额)",
  29676. "type": "number"
  29677. },
  29678. "tradecharge": {
  29679. "description": "成交手续费(买方)",
  29680. "type": "number"
  29681. },
  29682. "tradedate": {
  29683. "description": "交易日(yyyyMMdd)",
  29684. "type": "string"
  29685. },
  29686. "tradeid": {
  29687. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29688. "type": "string"
  29689. },
  29690. "tradeprice": {
  29691. "description": "成交价格",
  29692. "type": "number"
  29693. },
  29694. "tradeqty": {
  29695. "description": "成交数量",
  29696. "type": "number"
  29697. }
  29698. }
  29699. },
  29700. "models.QhjPickArea": {
  29701. "type": "object",
  29702. "properties": {
  29703. "address": {
  29704. "description": "详细地址",
  29705. "type": "string"
  29706. },
  29707. "cityid": {
  29708. "description": "市",
  29709. "type": "integer"
  29710. },
  29711. "cityname": {
  29712. "description": "城市名称",
  29713. "type": "string"
  29714. },
  29715. "countryid": {
  29716. "description": "国家",
  29717. "type": "integer"
  29718. },
  29719. "countryname": {
  29720. "description": "国家名称",
  29721. "type": "string"
  29722. },
  29723. "districtid": {
  29724. "description": "地区",
  29725. "type": "integer"
  29726. },
  29727. "districtname": {
  29728. "description": "地区名称",
  29729. "type": "string"
  29730. },
  29731. "fromuserid": {
  29732. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  29733. "type": "integer"
  29734. },
  29735. "fromusername": {
  29736. "description": "所属机构名称",
  29737. "type": "string"
  29738. },
  29739. "provinceid": {
  29740. "description": "省",
  29741. "type": "integer"
  29742. },
  29743. "provincename": {
  29744. "description": "省名称",
  29745. "type": "string"
  29746. },
  29747. "suborgtype": {
  29748. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  29749. "type": "integer"
  29750. },
  29751. "userid": {
  29752. "description": "机构用户ID 其他做市关系,都设置为 1",
  29753. "type": "integer"
  29754. },
  29755. "username": {
  29756. "description": "机构用户名称(门店门称)",
  29757. "type": "string"
  29758. }
  29759. }
  29760. },
  29761. "models.QhjPickGoods": {
  29762. "type": "object",
  29763. "properties": {
  29764. "enumdicname": {
  29765. "description": "单位名称(提货商品)",
  29766. "type": "string"
  29767. },
  29768. "goodsid": {
  29769. "description": "商品id",
  29770. "type": "integer"
  29771. },
  29772. "imageaddress": {
  29773. "description": "图片",
  29774. "type": "string"
  29775. },
  29776. "modifierid": {
  29777. "description": "修改人",
  29778. "type": "integer"
  29779. },
  29780. "modifiername": {
  29781. "description": "修改人名称",
  29782. "type": "string"
  29783. },
  29784. "modifysrc": {
  29785. "description": "修改来源 - 1:管理端 2:终端",
  29786. "type": "integer"
  29787. },
  29788. "pickupgoodsagreeunit": {
  29789. "description": "合约乘数",
  29790. "type": "number"
  29791. },
  29792. "pickupgoodsdesc": {
  29793. "description": "描述",
  29794. "type": "string"
  29795. },
  29796. "pickupgoodsid": {
  29797. "description": "提货商品ID",
  29798. "type": "string"
  29799. },
  29800. "pickupgoodsname": {
  29801. "description": "提货商品名称",
  29802. "type": "string"
  29803. },
  29804. "pickupgoodsstatus": {
  29805. "description": "状态 - 1:正常 2:停用 3:注销",
  29806. "type": "integer"
  29807. },
  29808. "pickupgoodsunitid": {
  29809. "description": "单位ID",
  29810. "type": "integer"
  29811. },
  29812. "pickupratio": {
  29813. "description": "提货系数",
  29814. "type": "number"
  29815. },
  29816. "preparedays": {
  29817. "description": "备货期(天)",
  29818. "type": "integer"
  29819. },
  29820. "remark": {
  29821. "description": "备注",
  29822. "type": "string"
  29823. },
  29824. "updatetime": {
  29825. "description": "更新时间",
  29826. "type": "string"
  29827. }
  29828. }
  29829. },
  29830. "models.QhjRSTriggerLog": {
  29831. "type": "object",
  29832. "properties": {
  29833. "accountid": {
  29834. "description": "用户资金账户",
  29835. "type": "integer"
  29836. },
  29837. "accountname": {
  29838. "description": "账号名称(ACCOUNTID对应的名称)",
  29839. "type": "string"
  29840. },
  29841. "currencyid": {
  29842. "description": "币种id",
  29843. "type": "integer"
  29844. },
  29845. "currencyname": {
  29846. "description": "币种名称",
  29847. "type": "string"
  29848. },
  29849. "decimalplace": {
  29850. "description": "商品报价小数位",
  29851. "type": "integer"
  29852. },
  29853. "enumdicname": {
  29854. "description": "单位名称",
  29855. "type": "string"
  29856. },
  29857. "goodscode": {
  29858. "description": "定投商品代码",
  29859. "type": "string"
  29860. },
  29861. "goodsid": {
  29862. "description": "定投商品ID",
  29863. "type": "integer"
  29864. },
  29865. "goodsname": {
  29866. "description": "定投商品名称",
  29867. "type": "string"
  29868. },
  29869. "goodunitid": {
  29870. "description": "定投商品单位id",
  29871. "type": "integer"
  29872. },
  29873. "logid": {
  29874. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  29875. "type": "string"
  29876. },
  29877. "logincode": {
  29878. "description": "账号(登录代码)",
  29879. "type": "string"
  29880. },
  29881. "qtydecimalplace": {
  29882. "description": "成交量小数位",
  29883. "type": "integer"
  29884. },
  29885. "regularlycycle": {
  29886. "description": "定投频率 - 1:每周 2:每月",
  29887. "type": "integer"
  29888. },
  29889. "regularlycyclevalue": {
  29890. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  29891. "type": "string"
  29892. },
  29893. "regularlymode": {
  29894. "description": "定投方式 - 1:按数量 2:按金额",
  29895. "type": "integer"
  29896. },
  29897. "regularlymodevalue": {
  29898. "description": "定投方式值 - 数量或金额",
  29899. "type": "number"
  29900. },
  29901. "regularlystrategyid": {
  29902. "description": "定投策略ID",
  29903. "type": "integer"
  29904. },
  29905. "retcode": {
  29906. "description": "错误码",
  29907. "type": "string"
  29908. },
  29909. "tradeid": {
  29910. "description": "成交单ID",
  29911. "type": "string"
  29912. },
  29913. "triggeramount": {
  29914. "description": "触发金额",
  29915. "type": "number"
  29916. },
  29917. "triggerqty": {
  29918. "description": "触发数量",
  29919. "type": "number"
  29920. },
  29921. "triggerstatus": {
  29922. "description": "触发状态 - 1:成功 2:失败",
  29923. "type": "integer"
  29924. },
  29925. "triggertime": {
  29926. "description": "触发时间",
  29927. "type": "string"
  29928. },
  29929. "triggertradedate": {
  29930. "description": "触发交易日",
  29931. "type": "string"
  29932. },
  29933. "userid": {
  29934. "description": "所属用户ID",
  29935. "type": "integer"
  29936. },
  29937. "userinfotype": {
  29938. "description": "用户类型 1-个人 2-企业",
  29939. "type": "integer"
  29940. },
  29941. "username": {
  29942. "description": "用户名称(userid对应的名称)",
  29943. "type": "string"
  29944. }
  29945. }
  29946. },
  29947. "models.QhjRStrategy": {
  29948. "type": "object",
  29949. "properties": {
  29950. "accountid": {
  29951. "description": "用户资金账户",
  29952. "type": "integer"
  29953. },
  29954. "accountname": {
  29955. "description": "账号名称(ACCOUNTID对应的名称)",
  29956. "type": "string"
  29957. },
  29958. "currencyid": {
  29959. "description": "币种id",
  29960. "type": "integer"
  29961. },
  29962. "currencyname": {
  29963. "description": "币种名称",
  29964. "type": "string"
  29965. },
  29966. "decimalplace": {
  29967. "description": "商品报价小数位",
  29968. "type": "integer"
  29969. },
  29970. "enumdicname": {
  29971. "description": "单位名称",
  29972. "type": "string"
  29973. },
  29974. "goodscode": {
  29975. "description": "定投商品代码",
  29976. "type": "string"
  29977. },
  29978. "goodsid": {
  29979. "description": "定投商品ID",
  29980. "type": "integer"
  29981. },
  29982. "goodsname": {
  29983. "description": "定投商品名称",
  29984. "type": "string"
  29985. },
  29986. "goodunitid": {
  29987. "description": "定投商品单位id",
  29988. "type": "integer"
  29989. },
  29990. "lasteffecttradedate": {
  29991. "description": "最新生效交易日",
  29992. "type": "string"
  29993. },
  29994. "laststoptradedate": {
  29995. "description": "最新暂停交易日",
  29996. "type": "string"
  29997. },
  29998. "lasttriggertradedate": {
  29999. "description": "最新触发交易日",
  30000. "type": "string"
  30001. },
  30002. "logincode": {
  30003. "description": "账号(登录代码)",
  30004. "type": "string"
  30005. },
  30006. "nexttriggeramount": {
  30007. "description": "下次触发金额",
  30008. "type": "number"
  30009. },
  30010. "nexttriggerdate": {
  30011. "description": "下次触发日期",
  30012. "type": "string"
  30013. },
  30014. "nexttriggerqty": {
  30015. "description": "下次触发数量 [按小数位放大值]",
  30016. "type": "number"
  30017. },
  30018. "qtydecimalplace": {
  30019. "description": "成交量小数位",
  30020. "type": "integer"
  30021. },
  30022. "regularlycycle": {
  30023. "description": "定投频率 - 1:每周 2:每月",
  30024. "type": "integer"
  30025. },
  30026. "regularlycyclevalue": {
  30027. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30028. "type": "string"
  30029. },
  30030. "regularlymode": {
  30031. "description": "定投方式 - 1:按数量 2:按金额",
  30032. "type": "integer"
  30033. },
  30034. "regularlymodevalue": {
  30035. "description": "定投方式值 - 数量或金额",
  30036. "type": "number"
  30037. },
  30038. "regularlystrategyid": {
  30039. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30040. "type": "integer"
  30041. },
  30042. "regularlystrategystatus": {
  30043. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30044. "type": "integer"
  30045. },
  30046. "remark": {
  30047. "description": "备注",
  30048. "type": "string"
  30049. },
  30050. "triggersuccesstimes": {
  30051. "description": "累计定投成功次数",
  30052. "type": "string"
  30053. },
  30054. "triggertotalamount": {
  30055. "description": "累计定投金额(成功)",
  30056. "type": "number"
  30057. },
  30058. "triggertotalqty": {
  30059. "description": "累计定投数量(成功) [按小数位放大值]",
  30060. "type": "number"
  30061. },
  30062. "triggertotaltimes": {
  30063. "description": "累计定投总次数",
  30064. "type": "string"
  30065. },
  30066. "updatesrc": {
  30067. "description": "更新来源 - 1:管理端 2:终端",
  30068. "type": "integer"
  30069. },
  30070. "updatetime": {
  30071. "description": "更新时间",
  30072. "type": "string"
  30073. },
  30074. "updatorid": {
  30075. "description": "更新人",
  30076. "type": "string"
  30077. },
  30078. "userid": {
  30079. "description": "所属用户ID",
  30080. "type": "integer"
  30081. },
  30082. "userinfotype": {
  30083. "description": "用户类型 1-个人 2-企业",
  30084. "type": "integer"
  30085. },
  30086. "username": {
  30087. "description": "用户名称(userid对应的名称)",
  30088. "type": "string"
  30089. }
  30090. }
  30091. },
  30092. "models.QhjReckonPriceLog": {
  30093. "type": "object",
  30094. "properties": {
  30095. "decimalplace": {
  30096. "description": "商品报价小数位",
  30097. "type": "integer"
  30098. },
  30099. "goodscode": {
  30100. "description": "商品代码",
  30101. "type": "string"
  30102. },
  30103. "goodsid": {
  30104. "description": "商品ID",
  30105. "type": "integer"
  30106. },
  30107. "goodsname": {
  30108. "description": "商品名称",
  30109. "type": "string"
  30110. },
  30111. "lastreckonprice": {
  30112. "description": "上日结算价",
  30113. "type": "number"
  30114. },
  30115. "nextdnlimitprice": {
  30116. "description": "下个交易日跌停价",
  30117. "type": "number"
  30118. },
  30119. "nexttrade": {
  30120. "description": "下个交易日",
  30121. "type": "string"
  30122. },
  30123. "nextuplimitprice": {
  30124. "description": "下个交易日涨停价",
  30125. "type": "number"
  30126. },
  30127. "reckonprice": {
  30128. "description": "今日结算价(定投价)",
  30129. "type": "number"
  30130. },
  30131. "reckontime": {
  30132. "description": "结算时间",
  30133. "type": "string"
  30134. },
  30135. "totalholderqty": {
  30136. "description": "总持仓数",
  30137. "type": "integer"
  30138. },
  30139. "totalstock": {
  30140. "description": "总库存",
  30141. "type": "integer"
  30142. },
  30143. "tradedate": {
  30144. "description": "交易日",
  30145. "type": "string"
  30146. },
  30147. "updowncount": {
  30148. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30149. "type": "integer"
  30150. },
  30151. "updownflag": {
  30152. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30153. "type": "integer"
  30154. },
  30155. "updownrate": {
  30156. "description": "今日涨跌幅",
  30157. "type": "number"
  30158. },
  30159. "updownrate_2d": {
  30160. "description": "连续两日涨跌幅",
  30161. "type": "number"
  30162. },
  30163. "updownrate_3d": {
  30164. "description": "连续三日涨跌幅",
  30165. "type": "number"
  30166. }
  30167. }
  30168. },
  30169. "models.QhjScoreLog": {
  30170. "type": "object",
  30171. "properties": {
  30172. "accountid": {
  30173. "description": "账户ID",
  30174. "type": "integer"
  30175. },
  30176. "createtime": {
  30177. "description": "创建时间(时间)",
  30178. "type": "string"
  30179. },
  30180. "goodsid": {
  30181. "description": "商品ID",
  30182. "type": "integer"
  30183. },
  30184. "hasuploaded": {
  30185. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30186. "type": "integer"
  30187. },
  30188. "logid": {
  30189. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30190. "type": "string"
  30191. },
  30192. "marketid": {
  30193. "description": "市场ID",
  30194. "type": "integer"
  30195. },
  30196. "relatedamount": {
  30197. "description": "关联金额",
  30198. "type": "number"
  30199. },
  30200. "relatedorderid": {
  30201. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  30202. "type": "string"
  30203. },
  30204. "scoreconfigvalue1": {
  30205. "description": "积分配置1",
  30206. "type": "integer"
  30207. },
  30208. "scoreconfigvalue2": {
  30209. "description": "积分配置1",
  30210. "type": "integer"
  30211. },
  30212. "scoretype": {
  30213. "description": "积分类型 - 1:提货积分",
  30214. "type": "integer"
  30215. },
  30216. "scorevalue": {
  30217. "description": "积分",
  30218. "type": "number"
  30219. },
  30220. "tradedate": {
  30221. "description": "交易日(yyyyMMdd)",
  30222. "type": "string"
  30223. },
  30224. "uploadedtime": {
  30225. "description": "同步时间",
  30226. "type": "string"
  30227. },
  30228. "userid": {
  30229. "description": "用户ID",
  30230. "type": "integer"
  30231. }
  30232. }
  30233. },
  30234. "models.QhjSiteColumnDetail": {
  30235. "type": "object",
  30236. "properties": {
  30237. "author": {
  30238. "description": "作者",
  30239. "type": "string"
  30240. },
  30241. "brief": {
  30242. "description": "简介",
  30243. "type": "string"
  30244. },
  30245. "columnid": {
  30246. "description": "所属栏目",
  30247. "type": "integer"
  30248. },
  30249. "context": {
  30250. "description": "内容",
  30251. "type": "string"
  30252. },
  30253. "coverimage": {
  30254. "description": "封面图片",
  30255. "type": "string"
  30256. },
  30257. "creaedate": {
  30258. "description": "创建时间",
  30259. "type": "string"
  30260. },
  30261. "creatorid": {
  30262. "description": "创建人",
  30263. "type": "integer"
  30264. },
  30265. "hits": {
  30266. "description": "点击数",
  30267. "type": "integer"
  30268. },
  30269. "id": {
  30270. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  30271. "type": "integer"
  30272. },
  30273. "isshow": {
  30274. "description": "是否展示 - 0:不展示 1:展示",
  30275. "type": "integer"
  30276. },
  30277. "istop": {
  30278. "description": "是否置顶 - 0:不置 1:置顶",
  30279. "type": "integer"
  30280. },
  30281. "modifierid": {
  30282. "description": "操作人",
  30283. "type": "integer"
  30284. },
  30285. "publishdate": {
  30286. "description": "发布日期",
  30287. "type": "string"
  30288. },
  30289. "status": {
  30290. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  30291. "type": "integer"
  30292. },
  30293. "title": {
  30294. "description": "标题",
  30295. "type": "string"
  30296. },
  30297. "updatedate": {
  30298. "description": "修改时间",
  30299. "type": "string"
  30300. },
  30301. "userid": {
  30302. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  30303. "type": "integer"
  30304. },
  30305. "username": {
  30306. "description": "用户名称",
  30307. "type": "string"
  30308. }
  30309. }
  30310. },
  30311. "models.QhjTeamOrder": {
  30312. "type": "object",
  30313. "properties": {
  30314. "accountid": {
  30315. "description": "账户ID[报价币种]",
  30316. "type": "integer"
  30317. },
  30318. "accountname": {
  30319. "description": "账户名称",
  30320. "type": "string"
  30321. },
  30322. "agreeunit": {
  30323. "description": "合约乘数",
  30324. "type": "number"
  30325. },
  30326. "buyorsell": {
  30327. "description": "方向 - 0:买 1:卖",
  30328. "type": "integer"
  30329. },
  30330. "decimalplace": {
  30331. "description": "报价小数位",
  30332. "type": "integer"
  30333. },
  30334. "enumdicname": {
  30335. "description": "单位名称",
  30336. "type": "string"
  30337. },
  30338. "goodscode": {
  30339. "description": "商品代码(内部)",
  30340. "type": "string"
  30341. },
  30342. "goodsid": {
  30343. "description": "商品ID",
  30344. "type": "integer"
  30345. },
  30346. "goodsname": {
  30347. "description": "商品名称",
  30348. "type": "string"
  30349. },
  30350. "goodunitid": {
  30351. "description": "报价单位ID",
  30352. "type": "integer"
  30353. },
  30354. "marketid": {
  30355. "description": "市场ID",
  30356. "type": "integer"
  30357. },
  30358. "marketname": {
  30359. "description": "市场名称",
  30360. "type": "string"
  30361. },
  30362. "qtydecimalplace": {
  30363. "description": "成交量小数位",
  30364. "type": "integer"
  30365. },
  30366. "refereeuserid": {
  30367. "description": "推荐人ID",
  30368. "type": "integer"
  30369. },
  30370. "tradeamount": {
  30371. "description": "成交金额[账户币种,用于所有权]",
  30372. "type": "number"
  30373. },
  30374. "tradedate": {
  30375. "description": "交易日(yyyyMMdd)",
  30376. "type": "string"
  30377. },
  30378. "trademode": {
  30379. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30380. "type": "integer"
  30381. },
  30382. "tradeprice": {
  30383. "description": "成交价格",
  30384. "type": "number"
  30385. },
  30386. "tradeqty": {
  30387. "description": "成交数量",
  30388. "type": "number"
  30389. },
  30390. "tradetime": {
  30391. "description": "成交时间",
  30392. "type": "string"
  30393. },
  30394. "userid": {
  30395. "description": "用户ID",
  30396. "type": "integer"
  30397. }
  30398. }
  30399. },
  30400. "models.QhjTradeGoodsPickup": {
  30401. "type": "object",
  30402. "properties": {
  30403. "accountid": {
  30404. "description": "账户ID",
  30405. "type": "integer"
  30406. },
  30407. "address": {
  30408. "description": "提货人详细地址",
  30409. "type": "string"
  30410. },
  30411. "amount": {
  30412. "description": "提货金额",
  30413. "type": "number"
  30414. },
  30415. "artradedate": {
  30416. "description": "自动收货交易日(yyyyMMdd)",
  30417. "type": "string"
  30418. },
  30419. "auditer": {
  30420. "description": "审核人",
  30421. "type": "integer"
  30422. },
  30423. "auditsrc": {
  30424. "description": "更新来源 - 1:管理端 2:终端",
  30425. "type": "integer"
  30426. },
  30427. "audittime": {
  30428. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  30429. "type": "string"
  30430. },
  30431. "audittradedate": {
  30432. "description": "审核交易日(yyyyMMdd)",
  30433. "type": "string"
  30434. },
  30435. "cardnum": {
  30436. "description": "提货人证件号码",
  30437. "type": "string"
  30438. },
  30439. "cardtypeid": {
  30440. "description": "提货人证件类型",
  30441. "type": "integer"
  30442. },
  30443. "checkremark": {
  30444. "description": "审核备注",
  30445. "type": "string"
  30446. },
  30447. "cityid": {
  30448. "description": "市",
  30449. "type": "integer"
  30450. },
  30451. "cityname": {
  30452. "description": "城市名称",
  30453. "type": "string"
  30454. },
  30455. "confirmtime": {
  30456. "description": "取货时间 或 收货时间",
  30457. "type": "string"
  30458. },
  30459. "countryid": {
  30460. "description": "国家",
  30461. "type": "integer"
  30462. },
  30463. "countryname": {
  30464. "description": "国家名称",
  30465. "type": "string"
  30466. },
  30467. "decimalplace": {
  30468. "description": "商品报价小数位",
  30469. "type": "integer"
  30470. },
  30471. "districtid": {
  30472. "description": "地区",
  30473. "type": "integer"
  30474. },
  30475. "districtname": {
  30476. "description": "地区名称",
  30477. "type": "string"
  30478. },
  30479. "enumdicname": {
  30480. "description": "单位名称(提货商品)",
  30481. "type": "string"
  30482. },
  30483. "expresscompany": {
  30484. "description": "物流公司",
  30485. "type": "string"
  30486. },
  30487. "expressnum": {
  30488. "description": "物流单号",
  30489. "type": "string"
  30490. },
  30491. "goodsagreeunit": {
  30492. "description": "交易商品乘数",
  30493. "type": "number"
  30494. },
  30495. "goodscode": {
  30496. "description": "商品代码",
  30497. "type": "string"
  30498. },
  30499. "goodsid": {
  30500. "description": "商品ID",
  30501. "type": "integer"
  30502. },
  30503. "goodsname": {
  30504. "description": "商品名称",
  30505. "type": "string"
  30506. },
  30507. "goodsqty": {
  30508. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  30509. "type": "number"
  30510. },
  30511. "handlestatus": {
  30512. "description": "处理状态",
  30513. "type": "integer"
  30514. },
  30515. "logincode": {
  30516. "description": "账号(登录代码, 有可能为空)",
  30517. "type": "string"
  30518. },
  30519. "marketid": {
  30520. "description": "市场ID",
  30521. "type": "integer"
  30522. },
  30523. "phonenum": {
  30524. "description": "提货人联系方式",
  30525. "type": "string"
  30526. },
  30527. "pickupgoodsagreeunit": {
  30528. "description": "提货商品合约乘数",
  30529. "type": "number"
  30530. },
  30531. "pickupgoodsid": {
  30532. "description": "提货商品ID",
  30533. "type": "string"
  30534. },
  30535. "pickupgoodsname": {
  30536. "description": "提货商品名称",
  30537. "type": "string"
  30538. },
  30539. "pickupgoodsqty": {
  30540. "description": "提货商品手数(数量)",
  30541. "type": "number"
  30542. },
  30543. "pickupgoodsunitid": {
  30544. "description": "单位ID(提货商品)",
  30545. "type": "integer"
  30546. },
  30547. "pickupratio": {
  30548. "description": "提货系数",
  30549. "type": "number"
  30550. },
  30551. "preparedays": {
  30552. "description": "备货期(天)-提货单明细表",
  30553. "type": "integer"
  30554. },
  30555. "provinceid": {
  30556. "description": "省",
  30557. "type": "integer"
  30558. },
  30559. "provincename": {
  30560. "description": "省名称",
  30561. "type": "string"
  30562. },
  30563. "qty": {
  30564. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  30565. "type": "number"
  30566. },
  30567. "qtydecimalplace": {
  30568. "description": "商品数量小数位",
  30569. "type": "integer"
  30570. },
  30571. "recivername": {
  30572. "description": "提货人姓名",
  30573. "type": "string"
  30574. },
  30575. "reqtime": {
  30576. "description": "提货申请时间",
  30577. "type": "string"
  30578. },
  30579. "storeuserid": {
  30580. "description": "门店用户ID (千海金)",
  30581. "type": "integer"
  30582. },
  30583. "storeusername": {
  30584. "description": "门店用户名称",
  30585. "type": "string"
  30586. },
  30587. "takemode": {
  30588. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  30589. "type": "integer"
  30590. },
  30591. "takeorderid": {
  30592. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  30593. "type": "string"
  30594. },
  30595. "takeorderstatus": {
  30596. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  30597. "type": "integer"
  30598. },
  30599. "takeremark": {
  30600. "description": "提货备注",
  30601. "type": "string"
  30602. },
  30603. "tradedate": {
  30604. "description": "交易日(yyyyMMdd)",
  30605. "type": "string"
  30606. },
  30607. "updatetime": {
  30608. "description": "更新时间",
  30609. "type": "string"
  30610. },
  30611. "userid": {
  30612. "description": "用户ID",
  30613. "type": "integer"
  30614. },
  30615. "userinfotype": {
  30616. "description": "客户类型 1-个人 2-企业",
  30617. "type": "integer"
  30618. },
  30619. "username": {
  30620. "description": "用户名称",
  30621. "type": "string"
  30622. }
  30623. }
  30624. },
  30625. "models.QhjUserNodeCfgAndStatus": {
  30626. "type": "object",
  30627. "properties": {
  30628. "agreementcontent": {
  30629. "description": "协议内容",
  30630. "type": "string"
  30631. },
  30632. "agreementid": {
  30633. "description": "协议ID",
  30634. "type": "integer"
  30635. },
  30636. "agreementname": {
  30637. "description": "协议名称",
  30638. "type": "string"
  30639. },
  30640. "agreementno": {
  30641. "description": "协议编号",
  30642. "type": "string"
  30643. },
  30644. "agreementtype": {
  30645. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30646. "type": "integer"
  30647. },
  30648. "agreementversion": {
  30649. "description": "协议版本号",
  30650. "type": "integer"
  30651. },
  30652. "configid": {
  30653. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30654. "type": "integer"
  30655. },
  30656. "createtime": {
  30657. "description": "创建时间",
  30658. "type": "string"
  30659. },
  30660. "goodsid": {
  30661. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30662. "type": "integer"
  30663. },
  30664. "nodetype": {
  30665. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30666. "type": "integer"
  30667. },
  30668. "signtimestamp": {
  30669. "description": "签约状态时间戳(最近一次)",
  30670. "type": "string"
  30671. },
  30672. "tradedate": {
  30673. "description": "签约交易日(yyyyMMdd)",
  30674. "type": "string"
  30675. },
  30676. "userid": {
  30677. "description": "客户ID",
  30678. "type": "integer"
  30679. }
  30680. }
  30681. },
  30682. "models.Qhjgoodsex": {
  30683. "type": "object",
  30684. "properties": {
  30685. "canfinance": {
  30686. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  30687. "type": "integer"
  30688. },
  30689. "canregularlybuy": {
  30690. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  30691. "type": "integer"
  30692. },
  30693. "defaulttradeuserid": {
  30694. "description": "默认交易用户ID",
  30695. "type": "integer"
  30696. },
  30697. "deliverygoodsid": {
  30698. "description": "现货品种ID",
  30699. "type": "integer"
  30700. },
  30701. "goodsid": {
  30702. "description": "商品ID(自增ID SEQ_GOODS)",
  30703. "type": "integer"
  30704. },
  30705. "minamount": {
  30706. "description": "最小购买金额",
  30707. "type": "number"
  30708. },
  30709. "regularlybuyminamount": {
  30710. "description": "定投最小金额",
  30711. "type": "number"
  30712. },
  30713. "regularlybuyminqty": {
  30714. "description": "定投最小数量",
  30715. "type": "number"
  30716. },
  30717. "spotgoodsbrandid": {
  30718. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  30719. "type": "integer"
  30720. },
  30721. "visibilityforenterprise": {
  30722. "description": "企业客户是否可见 - 0:不可见 1:可见",
  30723. "type": "integer"
  30724. },
  30725. "visibilityforpersonal": {
  30726. "description": "个人客户是否可见 - 0:不可见 1:可见",
  30727. "type": "integer"
  30728. },
  30729. "wrstandardid": {
  30730. "description": "现货商品ID",
  30731. "type": "integer"
  30732. }
  30733. }
  30734. },
  30735. "models.QueryErrorInfosRsp": {
  30736. "type": "object",
  30737. "required": [
  30738. "errorid"
  30739. ],
  30740. "properties": {
  30741. "description": {
  30742. "description": "异常描述",
  30743. "type": "string"
  30744. },
  30745. "errorcode": {
  30746. "description": "异常代码",
  30747. "type": "string"
  30748. },
  30749. "errorid": {
  30750. "description": "异常ID",
  30751. "type": "integer"
  30752. },
  30753. "modulecode": {
  30754. "description": "所属模块",
  30755. "type": "string"
  30756. },
  30757. "operatecode": {
  30758. "description": "所属操作",
  30759. "type": "string"
  30760. },
  30761. "rownumber": {
  30762. "description": "行号",
  30763. "type": "string"
  30764. }
  30765. }
  30766. },
  30767. "models.QueryHedgeOrderDetailRsp": {
  30768. "type": "object",
  30769. "properties": {
  30770. "accountid": {
  30771. "description": "账户ID",
  30772. "type": "integer"
  30773. },
  30774. "buyorsell": {
  30775. "description": "买卖 - 0:买 1:卖",
  30776. "type": "integer"
  30777. },
  30778. "cancellogincode": {
  30779. "description": "撤单人",
  30780. "type": "string"
  30781. },
  30782. "channelbuildtype": {
  30783. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  30784. "type": "integer"
  30785. },
  30786. "channelinnerorderstatus": {
  30787. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  30788. "type": "integer"
  30789. },
  30790. "channeloperatetype": {
  30791. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  30792. "type": "integer"
  30793. },
  30794. "closetype": {
  30795. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  30796. "type": "integer"
  30797. },
  30798. "curexchangerate": {
  30799. "description": "当前汇率",
  30800. "type": "number"
  30801. },
  30802. "exchangefullname": {
  30803. "description": "外部交易所全称",
  30804. "type": "string"
  30805. },
  30806. "goodscode": {
  30807. "description": "商品代码(内部)",
  30808. "type": "string"
  30809. },
  30810. "goodsid": {
  30811. "description": "商品ID",
  30812. "type": "integer"
  30813. },
  30814. "goodsname": {
  30815. "description": "商品名称",
  30816. "type": "string"
  30817. },
  30818. "marketid": {
  30819. "description": "市场ID",
  30820. "type": "integer"
  30821. },
  30822. "openfreezemargin": {
  30823. "description": "冻结保证金(冻结交易金额)",
  30824. "type": "number"
  30825. },
  30826. "orderid": {
  30827. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30828. "type": "string"
  30829. },
  30830. "orderlogincode": {
  30831. "description": "委托人",
  30832. "type": "string"
  30833. },
  30834. "orderprice": {
  30835. "description": "委托价格(账户)",
  30836. "type": "number"
  30837. },
  30838. "orderqty": {
  30839. "description": "委托数量",
  30840. "type": "integer"
  30841. },
  30842. "ordertime": {
  30843. "description": "委托时间",
  30844. "type": "string"
  30845. },
  30846. "pricemode": {
  30847. "description": "取价方式 - 1:市价 2: 限价",
  30848. "type": "integer"
  30849. },
  30850. "tradedate": {
  30851. "description": "交易日(yyyyMMdd)",
  30852. "type": "string"
  30853. },
  30854. "tradeqty": {
  30855. "description": "成交数量",
  30856. "type": "integer"
  30857. }
  30858. }
  30859. },
  30860. "models.QueryHedgeTradeDetailRsp": {
  30861. "type": "object",
  30862. "properties": {
  30863. "accountid": {
  30864. "description": "账号ID",
  30865. "type": "integer"
  30866. },
  30867. "buyorsell": {
  30868. "description": "方向 - 0:买 1:卖",
  30869. "type": "integer"
  30870. },
  30871. "channelbuildtype": {
  30872. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  30873. "type": "integer"
  30874. },
  30875. "closecharge": {
  30876. "description": "平仓手续费(账户)",
  30877. "type": "number"
  30878. },
  30879. "closecharge2": {
  30880. "description": "平仓手续费(商品)",
  30881. "type": "number"
  30882. },
  30883. "closepl": {
  30884. "description": "平仓盈亏(账户)",
  30885. "type": "number"
  30886. },
  30887. "closepl2": {
  30888. "description": "平仓盈亏(商品)",
  30889. "type": "number"
  30890. },
  30891. "closepl3": {
  30892. "description": "平仓盈亏(账户)(逐笔)",
  30893. "type": "number"
  30894. },
  30895. "closepl4": {
  30896. "description": "平仓盈亏(商品)(逐笔)",
  30897. "type": "number"
  30898. },
  30899. "closetype": {
  30900. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  30901. "type": "integer"
  30902. },
  30903. "curexchangerate": {
  30904. "description": "当前汇率",
  30905. "type": "number"
  30906. },
  30907. "exchangefullname": {
  30908. "description": "外部交易所全称",
  30909. "type": "string"
  30910. },
  30911. "goodscode": {
  30912. "description": "商品代码(内部)",
  30913. "type": "string"
  30914. },
  30915. "goodsid": {
  30916. "description": "商品ID",
  30917. "type": "integer"
  30918. },
  30919. "goodsname": {
  30920. "description": "商品名称",
  30921. "type": "string"
  30922. },
  30923. "marketid": {
  30924. "description": "市场ID",
  30925. "type": "integer"
  30926. },
  30927. "opencharge": {
  30928. "description": "建仓手续费(账户)",
  30929. "type": "number"
  30930. },
  30931. "opencharge2": {
  30932. "description": "建仓手续费(商品)",
  30933. "type": "number"
  30934. },
  30935. "orderid": {
  30936. "description": "委托单号",
  30937. "type": "string"
  30938. },
  30939. "orderlogincode": {
  30940. "description": "委托人",
  30941. "type": "string"
  30942. },
  30943. "tradeamount": {
  30944. "description": "成交金额(账户)",
  30945. "type": "number"
  30946. },
  30947. "tradedate": {
  30948. "description": "交易日(yyyyMMdd)",
  30949. "type": "string"
  30950. },
  30951. "tradeid": {
  30952. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30953. "type": "string"
  30954. },
  30955. "tradeprice": {
  30956. "description": "成交价格",
  30957. "type": "number"
  30958. },
  30959. "tradeqty": {
  30960. "description": "成交数量",
  30961. "type": "integer"
  30962. },
  30963. "tradetime": {
  30964. "description": "成交时间",
  30965. "type": "string"
  30966. },
  30967. "tradetype": {
  30968. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  30969. "type": "integer"
  30970. }
  30971. }
  30972. },
  30973. "models.QuotePrimaryMenu": {
  30974. "type": "object",
  30975. "properties": {
  30976. "Index": {
  30977. "description": "序号",
  30978. "type": "integer"
  30979. },
  30980. "Key": {
  30981. "description": "键名",
  30982. "type": "string"
  30983. },
  30984. "Name": {
  30985. "description": "菜单名称",
  30986. "type": "string"
  30987. },
  30988. "SubMenus": {
  30989. "description": "子菜单",
  30990. "type": "array",
  30991. "items": {
  30992. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  30993. }
  30994. },
  30995. "SubTitleType": {
  30996. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  30997. "type": "integer"
  30998. },
  30999. "TradeModes": {
  31000. "description": "包含市场交易类型",
  31001. "type": "string"
  31002. }
  31003. }
  31004. },
  31005. "models.QuoteSecondaryMenu": {
  31006. "type": "object",
  31007. "properties": {
  31008. "ExExchangeCode": {
  31009. "description": "外部交易所代码",
  31010. "type": "string"
  31011. },
  31012. "ExExchangeID": {
  31013. "description": "外部交易所ID",
  31014. "type": "integer"
  31015. },
  31016. "GoodsGroupIDs": {
  31017. "description": "商品组ID列表",
  31018. "type": "array",
  31019. "items": {
  31020. "type": "integer"
  31021. }
  31022. },
  31023. "Index": {
  31024. "description": "序号",
  31025. "type": "integer"
  31026. },
  31027. "MarketID": {
  31028. "description": "市场ID",
  31029. "type": "integer"
  31030. },
  31031. "MenuTitle": {
  31032. "description": "菜单标题(市场名称或外部交易所名称)",
  31033. "type": "string"
  31034. },
  31035. "TradeMode": {
  31036. "description": "交易模式",
  31037. "type": "integer"
  31038. }
  31039. }
  31040. },
  31041. "models.RoleMenu": {
  31042. "type": "object",
  31043. "properties": {
  31044. "hasright": {
  31045. "description": "是否有权限 0-没有权限 1-有权限",
  31046. "type": "integer"
  31047. },
  31048. "iconame": {
  31049. "description": "菜单图标",
  31050. "type": "string"
  31051. },
  31052. "menutype": {
  31053. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31054. "type": "integer"
  31055. },
  31056. "parentcode": {
  31057. "description": "上级资源代码",
  31058. "type": "string"
  31059. },
  31060. "remark": {
  31061. "description": "菜单备注",
  31062. "type": "string"
  31063. },
  31064. "resourcecode": {
  31065. "description": "菜单代码",
  31066. "type": "string"
  31067. },
  31068. "resourcelevel": {
  31069. "description": "级别",
  31070. "type": "integer"
  31071. },
  31072. "resourcename": {
  31073. "description": "菜单名称",
  31074. "type": "string"
  31075. },
  31076. "roleid": {
  31077. "description": "角色id",
  31078. "type": "integer"
  31079. },
  31080. "sort": {
  31081. "description": "排序",
  31082. "type": "integer"
  31083. },
  31084. "subMenu": {
  31085. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31086. "type": "array",
  31087. "items": {
  31088. "$ref": "#/definitions/models.RoleMenu"
  31089. }
  31090. },
  31091. "url": {
  31092. "description": "URL",
  31093. "type": "string"
  31094. },
  31095. "userid": {
  31096. "description": "用户id",
  31097. "type": "integer"
  31098. }
  31099. }
  31100. },
  31101. "models.SearchGoods": {
  31102. "type": "object",
  31103. "required": [
  31104. "goodscode",
  31105. "goodsid",
  31106. "goodsname",
  31107. "marketid",
  31108. "trademode"
  31109. ],
  31110. "properties": {
  31111. "goodscode": {
  31112. "description": "商品代码(内部)",
  31113. "type": "string"
  31114. },
  31115. "goodsid": {
  31116. "description": "商品ID(自增ID SEQ_GOODS)",
  31117. "type": "integer"
  31118. },
  31119. "goodsname": {
  31120. "description": "商品名称",
  31121. "type": "string"
  31122. },
  31123. "marketid": {
  31124. "description": "所属市场ID",
  31125. "type": "integer"
  31126. },
  31127. "marketname": {
  31128. "description": "市场名称",
  31129. "type": "string"
  31130. },
  31131. "trademode": {
  31132. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31133. "type": "integer"
  31134. }
  31135. }
  31136. },
  31137. "models.Systemparam": {
  31138. "type": "object",
  31139. "required": [
  31140. "paramcode"
  31141. ],
  31142. "properties": {
  31143. "loginid": {
  31144. "description": "更新用户账号,登录账号",
  31145. "type": "string"
  31146. },
  31147. "modifyflag": {
  31148. "description": "修改标志0 不允许修改 1 允许修改",
  31149. "type": "integer"
  31150. },
  31151. "paramcode": {
  31152. "description": "参数代码",
  31153. "type": "string"
  31154. },
  31155. "paramname": {
  31156. "description": "参数名",
  31157. "type": "string"
  31158. },
  31159. "paramtype": {
  31160. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31161. "type": "integer"
  31162. },
  31163. "paramvalue": {
  31164. "description": "参数值",
  31165. "type": "string"
  31166. },
  31167. "paramvalue2": {
  31168. "description": "参数值(CLOB)",
  31169. "type": "string"
  31170. },
  31171. "regexpress": {
  31172. "description": "正则表达式",
  31173. "type": "string"
  31174. },
  31175. "remark": {
  31176. "description": "备注",
  31177. "type": "string"
  31178. },
  31179. "serverip": {
  31180. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31181. "type": "string"
  31182. },
  31183. "showflag": {
  31184. "description": "是否显示0 不显示 1 显示",
  31185. "type": "integer"
  31186. },
  31187. "updatetime": {
  31188. "description": "更新时间",
  31189. "type": "string"
  31190. },
  31191. "userid": {
  31192. "description": "更新用户ID",
  31193. "type": "integer"
  31194. }
  31195. }
  31196. },
  31197. "models.Szdz3convertconfig": {
  31198. "type": "object",
  31199. "required": [
  31200. "converttype",
  31201. "innergoodsid",
  31202. "outergoodscode"
  31203. ],
  31204. "properties": {
  31205. "canin": {
  31206. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  31207. "type": "integer"
  31208. },
  31209. "canout": {
  31210. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  31211. "type": "integer"
  31212. },
  31213. "converttype": {
  31214. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  31215. "type": "integer"
  31216. },
  31217. "createtime": {
  31218. "description": "创建时间",
  31219. "type": "string"
  31220. },
  31221. "creatorid": {
  31222. "description": "创建人",
  31223. "type": "integer"
  31224. },
  31225. "daymaxvalue": {
  31226. "description": "当日最大转入限制",
  31227. "type": "number"
  31228. },
  31229. "freezedays": {
  31230. "description": "冻结天数 [5:花生米转交易]",
  31231. "type": "integer"
  31232. },
  31233. "innergoodsid": {
  31234. "description": "内部商品ID[交易]",
  31235. "type": "integer"
  31236. },
  31237. "inratio": {
  31238. "description": "目标值",
  31239. "type": "integer"
  31240. },
  31241. "modifierid": {
  31242. "description": "修改人",
  31243. "type": "integer"
  31244. },
  31245. "modifytime": {
  31246. "description": "修改时间",
  31247. "type": "string"
  31248. },
  31249. "outergoodscode": {
  31250. "description": "外部商品代码[JD\\PD]",
  31251. "type": "string"
  31252. },
  31253. "outratio": {
  31254. "description": "源值",
  31255. "type": "integer"
  31256. },
  31257. "pddecimalplace": {
  31258. "description": "PD小数位",
  31259. "type": "integer"
  31260. },
  31261. "timemaxvalue": {
  31262. "description": "单次最大转入限制",
  31263. "type": "number"
  31264. },
  31265. "timeminvalue": {
  31266. "description": "单次最小转入限制",
  31267. "type": "number"
  31268. }
  31269. }
  31270. },
  31271. "models.Szdz3searchwhitelist": {
  31272. "type": "object",
  31273. "required": [
  31274. "userid"
  31275. ],
  31276. "properties": {
  31277. "createtime": {
  31278. "description": "创建时间",
  31279. "type": "string"
  31280. },
  31281. "creatorid": {
  31282. "description": "创建人",
  31283. "type": "integer"
  31284. },
  31285. "modifierid": {
  31286. "description": "修改人",
  31287. "type": "integer"
  31288. },
  31289. "modifytime": {
  31290. "description": "修改时间",
  31291. "type": "string"
  31292. },
  31293. "userid": {
  31294. "description": "用户ID",
  31295. "type": "integer"
  31296. }
  31297. }
  31298. },
  31299. "models.TBGoods": {
  31300. "type": "object",
  31301. "properties": {
  31302. "agreeunit": {
  31303. "description": "合约乘数",
  31304. "type": "number"
  31305. },
  31306. "enumdicname": {
  31307. "description": "单位名称",
  31308. "type": "string"
  31309. },
  31310. "goodscode": {
  31311. "description": "商品代码(内部)",
  31312. "type": "string"
  31313. },
  31314. "goodsid": {
  31315. "description": "商品ID(自增ID SEQ_GOODS)",
  31316. "type": "integer"
  31317. },
  31318. "goodsname": {
  31319. "description": "商品名称",
  31320. "type": "string"
  31321. }
  31322. }
  31323. },
  31324. "models.TBGoodsGroup": {
  31325. "type": "object",
  31326. "properties": {
  31327. "convertratio": {
  31328. "description": "折算系数",
  31329. "type": "number"
  31330. },
  31331. "enumdicname": {
  31332. "description": "单位名称",
  31333. "type": "string"
  31334. },
  31335. "exexchangecode": {
  31336. "description": "交易所代码",
  31337. "type": "string"
  31338. },
  31339. "exexchangename": {
  31340. "description": "交易所名称",
  31341. "type": "string"
  31342. },
  31343. "gdlst": {
  31344. "description": "商品列表",
  31345. "type": "array",
  31346. "items": {
  31347. "$ref": "#/definitions/models.TBGoods"
  31348. }
  31349. },
  31350. "goodsgroupid": {
  31351. "description": "商品组ID(自增ID)",
  31352. "type": "integer"
  31353. },
  31354. "goodsgroupname": {
  31355. "description": "商品组名称",
  31356. "type": "string"
  31357. },
  31358. "goodunitid": {
  31359. "description": "报价单位ID",
  31360. "type": "integer"
  31361. }
  31362. }
  31363. },
  31364. "models.TBMiddleGoods": {
  31365. "type": "object",
  31366. "properties": {
  31367. "areauserid": {
  31368. "description": "机构用户ID",
  31369. "type": "integer"
  31370. },
  31371. "enumdicname": {
  31372. "description": "单位名称",
  31373. "type": "string"
  31374. },
  31375. "gplst": {
  31376. "description": "期货品种列表",
  31377. "type": "array",
  31378. "items": {
  31379. "$ref": "#/definitions/models.TBGoodsGroup"
  31380. }
  31381. },
  31382. "middlegoodscode": {
  31383. "description": "套保品种代码",
  31384. "type": "string"
  31385. },
  31386. "middlegoodsid": {
  31387. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  31388. "type": "integer"
  31389. },
  31390. "middlegoodsname": {
  31391. "description": "套保品种名称",
  31392. "type": "string"
  31393. },
  31394. "needarbitrageratio": {
  31395. "description": "套利比率",
  31396. "type": "number"
  31397. },
  31398. "needhedgeratio": {
  31399. "description": "套保比率",
  31400. "type": "number"
  31401. },
  31402. "wdlst": {
  31403. "description": "商品信息列表(现货品类)",
  31404. "type": "array",
  31405. "items": {
  31406. "$ref": "#/definitions/models.TBWrstandard"
  31407. }
  31408. }
  31409. }
  31410. },
  31411. "models.TBWrstandard": {
  31412. "type": "object",
  31413. "properties": {
  31414. "convertratio": {
  31415. "description": "折算系数",
  31416. "type": "number"
  31417. },
  31418. "deliverygoodsname": {
  31419. "description": "品种名称",
  31420. "type": "string"
  31421. },
  31422. "enumdicname": {
  31423. "description": "单位名称",
  31424. "type": "string"
  31425. },
  31426. "vatrate": {
  31427. "description": "增值税率",
  31428. "type": "number"
  31429. },
  31430. "wrstandardcode": {
  31431. "description": "现货商品代码",
  31432. "type": "string"
  31433. },
  31434. "wrstandardid": {
  31435. "description": "现货商品ID(SEQ_WRSTANDARD)",
  31436. "type": "integer"
  31437. },
  31438. "wrstandardname": {
  31439. "description": "现货商品名称",
  31440. "type": "string"
  31441. }
  31442. }
  31443. },
  31444. "models.Taaccount": {
  31445. "type": "object",
  31446. "required": [
  31447. "accountid",
  31448. "userid"
  31449. ],
  31450. "properties": {
  31451. "accountflag": {
  31452. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  31453. "type": "integer"
  31454. },
  31455. "accountid": {
  31456. "description": "资金账户ID",
  31457. "type": "integer"
  31458. },
  31459. "accountname": {
  31460. "description": "账户名称",
  31461. "type": "string"
  31462. },
  31463. "balance": {
  31464. "description": "期初余额",
  31465. "type": "number"
  31466. },
  31467. "capitalbalance": {
  31468. "description": "本金余额[外部子账户实际出入金余额]",
  31469. "type": "number"
  31470. },
  31471. "changeflag": {
  31472. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  31473. "type": "integer"
  31474. },
  31475. "changetime": {
  31476. "description": "账户状态变更时间",
  31477. "type": "string"
  31478. },
  31479. "closepl": {
  31480. "description": "今日平仓盈亏",
  31481. "type": "number"
  31482. },
  31483. "creditdecrease": {
  31484. "description": "今日授信减少",
  31485. "type": "number"
  31486. },
  31487. "creditincrease": {
  31488. "description": "今日授信增加",
  31489. "type": "number"
  31490. },
  31491. "curamount": {
  31492. "description": "总市值(从持仓中统计)",
  31493. "type": "number"
  31494. },
  31495. "currencyid": {
  31496. "description": "货币ID",
  31497. "type": "integer"
  31498. },
  31499. "currentbalance": {
  31500. "description": "期末余额",
  31501. "type": "number"
  31502. },
  31503. "freezecharge": {
  31504. "description": "手续费冻结",
  31505. "type": "number"
  31506. },
  31507. "freezemargin": {
  31508. "description": "冻结保证金",
  31509. "type": "number"
  31510. },
  31511. "fromaccountid": {
  31512. "description": "所属上级账户",
  31513. "type": "integer"
  31514. },
  31515. "inamount": {
  31516. "description": "今日入金金额(包括三方入金)",
  31517. "type": "number"
  31518. },
  31519. "ismain": {
  31520. "description": "是否母账号 0:不是母账户 1:是母账户",
  31521. "type": "integer"
  31522. },
  31523. "ismarketaccount": {
  31524. "description": "是否机构接单账号 0:不是 1:是",
  31525. "type": "integer"
  31526. },
  31527. "isreckonaccount": {
  31528. "description": "是否机构分润账号 0:不是 1:是",
  31529. "type": "integer"
  31530. },
  31531. "mortgagecredit": {
  31532. "description": "授信金额",
  31533. "type": "number"
  31534. },
  31535. "orifreezecharge": {
  31536. "description": "期初手续费冻结",
  31537. "type": "number"
  31538. },
  31539. "orifreezemargin": {
  31540. "description": "期初冻结保证金",
  31541. "type": "number"
  31542. },
  31543. "orimortgagecredit": {
  31544. "description": "期初授信金额",
  31545. "type": "number"
  31546. },
  31547. "oriothercredit": {
  31548. "description": "期初其它授信金额",
  31549. "type": "number"
  31550. },
  31551. "oriotherfreezemargin": {
  31552. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  31553. "type": "number"
  31554. },
  31555. "orioutamountfreeze": {
  31556. "description": "期初出金冻结",
  31557. "type": "number"
  31558. },
  31559. "oriusedmargin": {
  31560. "description": "期初占用保证金",
  31561. "type": "number"
  31562. },
  31563. "othercredit": {
  31564. "description": "其它授信金额",
  31565. "type": "number"
  31566. },
  31567. "othercreditdecrease": {
  31568. "description": "今日其它授信减少",
  31569. "type": "number"
  31570. },
  31571. "othercreditincrease": {
  31572. "description": "今日其它授信增加",
  31573. "type": "number"
  31574. },
  31575. "otherfreezemargin": {
  31576. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  31577. "type": "number"
  31578. },
  31579. "otherincome": {
  31580. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  31581. "type": "number"
  31582. },
  31583. "otherpay": {
  31584. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  31585. "type": "number"
  31586. },
  31587. "outamount": {
  31588. "description": "今日出金金额(包括三方出金)",
  31589. "type": "number"
  31590. },
  31591. "outamountfreeze": {
  31592. "description": "出金冻结",
  31593. "type": "number"
  31594. },
  31595. "outthreshold": {
  31596. "description": "出金阈值",
  31597. "type": "number"
  31598. },
  31599. "parentaccountid": {
  31600. "description": "所属根账号",
  31601. "type": "integer"
  31602. },
  31603. "paycharge": {
  31604. "description": "今日手续费支出",
  31605. "type": "number"
  31606. },
  31607. "relatedaccountstatus": {
  31608. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  31609. "type": "integer"
  31610. },
  31611. "relateduserid": {
  31612. "description": "关联用户",
  31613. "type": "integer"
  31614. },
  31615. "remainamount": {
  31616. "description": "融资额(从融资合同中统计)",
  31617. "type": "number"
  31618. },
  31619. "serivcegroup": {
  31620. "description": "服务分组",
  31621. "type": "integer"
  31622. },
  31623. "signstatus": {
  31624. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  31625. "type": "integer"
  31626. },
  31627. "sublevelpath": {
  31628. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  31629. "type": "string"
  31630. },
  31631. "taaccounttype": {
  31632. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  31633. "type": "integer"
  31634. },
  31635. "thirdinamount": {
  31636. "description": "今日三方入金",
  31637. "type": "number"
  31638. },
  31639. "thirdoutamount": {
  31640. "description": "今日三方出金",
  31641. "type": "number"
  31642. },
  31643. "tradestatus": {
  31644. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  31645. "type": "integer"
  31646. },
  31647. "tradestatuschangetime": {
  31648. "description": "激活时间",
  31649. "type": "string"
  31650. },
  31651. "transferamount": {
  31652. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  31653. "type": "number"
  31654. },
  31655. "usedmargin": {
  31656. "description": "占用保证金",
  31657. "type": "number"
  31658. },
  31659. "userid": {
  31660. "description": "用户ID",
  31661. "type": "integer"
  31662. }
  31663. }
  31664. },
  31665. "models.Tablecolumnconfig": {
  31666. "type": "object",
  31667. "required": [
  31668. "autoid"
  31669. ],
  31670. "properties": {
  31671. "aligntype": {
  31672. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  31673. "type": "integer"
  31674. },
  31675. "autoid": {
  31676. "description": "AutoID",
  31677. "type": "integer"
  31678. },
  31679. "columnfield": {
  31680. "description": "列字段",
  31681. "type": "string"
  31682. },
  31683. "columntitle": {
  31684. "description": "列Title",
  31685. "type": "string"
  31686. },
  31687. "columnwidth": {
  31688. "description": "列宽",
  31689. "type": "string"
  31690. },
  31691. "formatterstring": {
  31692. "description": "格式化字符",
  31693. "type": "string"
  31694. },
  31695. "formattertype": {
  31696. "description": "格式化类型",
  31697. "type": "string"
  31698. },
  31699. "groupname": {
  31700. "description": "表头分组名称",
  31701. "type": "string"
  31702. },
  31703. "isshow": {
  31704. "description": "是否显示 - 0:不显示 1:显示",
  31705. "type": "integer"
  31706. },
  31707. "needsummary": {
  31708. "description": "是否需要汇总 - 0:不需要 1:需要",
  31709. "type": "integer"
  31710. },
  31711. "orderindex": {
  31712. "description": "顺序",
  31713. "type": "integer"
  31714. },
  31715. "remark": {
  31716. "description": "备注",
  31717. "type": "string"
  31718. },
  31719. "summarytype": {
  31720. "description": "汇总类型 - 1:加总 2:最后一个",
  31721. "type": "integer"
  31722. },
  31723. "tablekey": {
  31724. "description": "列表Key",
  31725. "type": "string"
  31726. }
  31727. }
  31728. },
  31729. "models.TjmdQuoteGoods": {
  31730. "type": "object",
  31731. "properties": {
  31732. "buyqty": {
  31733. "description": "买量(暂不做, 无值, 保留字段)",
  31734. "type": "number"
  31735. },
  31736. "goodscode": {
  31737. "description": "合约代码",
  31738. "type": "string"
  31739. },
  31740. "goodsgroupid": {
  31741. "description": "商品组ID(自增ID)",
  31742. "type": "integer"
  31743. },
  31744. "goodsgroupname": {
  31745. "description": "商品组名称",
  31746. "type": "string"
  31747. },
  31748. "goodsid": {
  31749. "description": "合约id",
  31750. "type": "integer"
  31751. },
  31752. "goodsname": {
  31753. "description": "合约名称",
  31754. "type": "string"
  31755. },
  31756. "refgoodscode": {
  31757. "description": "标的合约代码",
  31758. "type": "string"
  31759. },
  31760. "refgoodsid": {
  31761. "description": "标的合约id",
  31762. "type": "integer"
  31763. },
  31764. "refgoodsname": {
  31765. "description": "标的合约名称",
  31766. "type": "string"
  31767. },
  31768. "sellqty": {
  31769. "description": "卖量(暂不做, 无值, 保留字段)",
  31770. "type": "number"
  31771. }
  31772. }
  31773. },
  31774. "models.TjmdTodayAccountMargin": {
  31775. "type": "object",
  31776. "properties": {
  31777. "accountid": {
  31778. "description": "账号ID",
  31779. "type": "integer"
  31780. },
  31781. "goodsid": {
  31782. "description": "商品ID",
  31783. "type": "integer"
  31784. },
  31785. "infoc": {
  31786. "description": "配置参数",
  31787. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  31788. },
  31789. "marketid": {
  31790. "description": "市场ID",
  31791. "type": "integer"
  31792. }
  31793. }
  31794. },
  31795. "models.TjmdTradeOrderDetail": {
  31796. "type": "object",
  31797. "properties": {
  31798. "buyorsell": {
  31799. "description": "买卖方向 0-买 1-卖",
  31800. "type": "integer"
  31801. },
  31802. "goodsid": {
  31803. "description": "商品id",
  31804. "type": "integer"
  31805. },
  31806. "marketmaxsub": {
  31807. "description": "市价最大偏移范围 [浮动价 - 点差]",
  31808. "type": "number"
  31809. },
  31810. "orderid": {
  31811. "description": "委托单号",
  31812. "type": "string"
  31813. },
  31814. "orderprice": {
  31815. "description": "委托价格",
  31816. "type": "number"
  31817. },
  31818. "orderqty": {
  31819. "description": "委托数量",
  31820. "type": "integer"
  31821. },
  31822. "pricemode": {
  31823. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  31824. "type": "integer"
  31825. },
  31826. "userid": {
  31827. "description": "用户id",
  31828. "type": "integer"
  31829. },
  31830. "username": {
  31831. "description": "用户名称(已脱敏)",
  31832. "type": "string"
  31833. }
  31834. }
  31835. },
  31836. "models.TjmdTransferApply": {
  31837. "type": "object",
  31838. "properties": {
  31839. "applyid": {
  31840. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  31841. "type": "integer"
  31842. },
  31843. "applystatus": {
  31844. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  31845. "type": "integer"
  31846. },
  31847. "applytime": {
  31848. "description": "申请时间(时间)",
  31849. "type": "string"
  31850. },
  31851. "auditremark": {
  31852. "description": "审核备注(拒绝原因?)",
  31853. "type": "string"
  31854. },
  31855. "buyorsell": {
  31856. "description": "买卖 - 0:买 1:卖",
  31857. "type": "integer"
  31858. },
  31859. "goodscode": {
  31860. "description": "商品代码",
  31861. "type": "string"
  31862. },
  31863. "goodsid": {
  31864. "description": "商品ID",
  31865. "type": "integer"
  31866. },
  31867. "goodsname": {
  31868. "description": "商品名称",
  31869. "type": "string"
  31870. },
  31871. "marketid": {
  31872. "description": "市场ID",
  31873. "type": "integer"
  31874. },
  31875. "qty": {
  31876. "description": "转让数量(数量)",
  31877. "type": "number"
  31878. },
  31879. "tradeid": {
  31880. "description": "成交单号(关联持仓)",
  31881. "type": "string"
  31882. },
  31883. "transferamount": {
  31884. "description": "转让总金额(金额)",
  31885. "type": "number"
  31886. },
  31887. "transferprice": {
  31888. "description": "转让价格(协议价格)",
  31889. "type": "number"
  31890. }
  31891. }
  31892. },
  31893. "models.TradeHolderDetail": {
  31894. "type": "object",
  31895. "properties": {
  31896. "accountid": {
  31897. "description": "账号ID",
  31898. "type": "integer"
  31899. },
  31900. "agreeunit": {
  31901. "description": "合约乘数",
  31902. "type": "number"
  31903. },
  31904. "buyorsell": {
  31905. "description": "方向 - 0:买 1:卖",
  31906. "type": "integer"
  31907. },
  31908. "currencyid": {
  31909. "description": "商品币种id",
  31910. "type": "integer"
  31911. },
  31912. "currencyname": {
  31913. "description": "币种名称",
  31914. "type": "string"
  31915. },
  31916. "decimalplace": {
  31917. "description": "商品价格小数位",
  31918. "type": "integer"
  31919. },
  31920. "enumdicname": {
  31921. "description": "商品单位名称",
  31922. "type": "string"
  31923. },
  31924. "expirecycle": {
  31925. "description": "行权周期(天) - 1:滚动行权时填写",
  31926. "type": "integer"
  31927. },
  31928. "expiredate": {
  31929. "description": "行权日(yyyyMMdd) - 到期日",
  31930. "type": "string"
  31931. },
  31932. "expiretype": {
  31933. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  31934. "type": "integer"
  31935. },
  31936. "freezeqty": {
  31937. "description": "冻结数量",
  31938. "type": "number"
  31939. },
  31940. "goodscode": {
  31941. "description": "商品代码",
  31942. "type": "string"
  31943. },
  31944. "goodsid": {
  31945. "description": "商品ID",
  31946. "type": "integer"
  31947. },
  31948. "goodsname": {
  31949. "description": "商品名称",
  31950. "type": "string"
  31951. },
  31952. "goodunitid": {
  31953. "description": "商品单位id",
  31954. "type": "integer"
  31955. },
  31956. "holderamount": {
  31957. "description": "持仓金额",
  31958. "type": "number"
  31959. },
  31960. "holdercredit": {
  31961. "description": "持仓授信金额",
  31962. "type": "number"
  31963. },
  31964. "holderdays": {
  31965. "description": "剩余冻结天数",
  31966. "type": "integer"
  31967. },
  31968. "holderprice": {
  31969. "description": "持仓价格",
  31970. "type": "number"
  31971. },
  31972. "holderqty": {
  31973. "description": "持仓数量",
  31974. "type": "number"
  31975. },
  31976. "isconfirmexercise": {
  31977. "description": "是否确认行权- 0:否 1:是",
  31978. "type": "integer"
  31979. },
  31980. "ispreexercise": {
  31981. "description": "是否预申报- 0:否 1:是 2:不可行权",
  31982. "type": "integer"
  31983. },
  31984. "marketid": {
  31985. "description": "市场id",
  31986. "type": "integer"
  31987. },
  31988. "marketname": {
  31989. "description": "市场名称",
  31990. "type": "string"
  31991. },
  31992. "openprice": {
  31993. "description": "建仓价格",
  31994. "type": "number"
  31995. },
  31996. "openqty": {
  31997. "description": "建仓数量",
  31998. "type": "number"
  31999. },
  32000. "optiontype": {
  32001. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32002. "type": "integer"
  32003. },
  32004. "preexerciseprice": {
  32005. "description": "预申报价格",
  32006. "type": "number"
  32007. },
  32008. "premium": {
  32009. "description": "权利金",
  32010. "type": "number"
  32011. },
  32012. "qtydecimalplace": {
  32013. "description": "商品成交量小数位",
  32014. "type": "integer"
  32015. },
  32016. "refgoodscode": {
  32017. "description": "标的合约代码",
  32018. "type": "string"
  32019. },
  32020. "refgoodsid": {
  32021. "description": "标的合约id",
  32022. "type": "integer"
  32023. },
  32024. "releaseamount": {
  32025. "description": "释放持仓金额",
  32026. "type": "number"
  32027. },
  32028. "releaseholdercredit": {
  32029. "description": "释放持仓授信金额",
  32030. "type": "number"
  32031. },
  32032. "taname": {
  32033. "description": "资金账号名称",
  32034. "type": "string"
  32035. },
  32036. "tradeamount": {
  32037. "description": "成交金额",
  32038. "type": "number"
  32039. },
  32040. "tradedate": {
  32041. "description": "交易日(yyyyMMdd)",
  32042. "type": "string"
  32043. },
  32044. "tradeid": {
  32045. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32046. "type": "string"
  32047. },
  32048. "trademode": {
  32049. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32050. "type": "integer"
  32051. },
  32052. "tradeproperty": {
  32053. "description": "交易属性",
  32054. "type": "integer"
  32055. },
  32056. "tradetime": {
  32057. "description": "交易时间",
  32058. "type": "string"
  32059. },
  32060. "userid": {
  32061. "description": "用户id",
  32062. "type": "integer"
  32063. },
  32064. "username": {
  32065. "description": "用户名称",
  32066. "type": "string"
  32067. }
  32068. }
  32069. },
  32070. "models.UserCollectConfig": {
  32071. "type": "object",
  32072. "properties": {
  32073. "accountstatus": {
  32074. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32075. "type": "integer"
  32076. },
  32077. "collectaccountname": {
  32078. "description": "收款人账户名称",
  32079. "type": "string"
  32080. },
  32081. "collectaccountno": {
  32082. "description": "收款人账户",
  32083. "type": "string"
  32084. },
  32085. "collectbankname": {
  32086. "description": "收款人开户行",
  32087. "type": "string"
  32088. },
  32089. "collectbranchbankname": {
  32090. "description": "收款人开户支行",
  32091. "type": "string"
  32092. },
  32093. "collectconfigid": {
  32094. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32095. "type": "string"
  32096. },
  32097. "remark": {
  32098. "description": "备注",
  32099. "type": "string"
  32100. },
  32101. "userid": {
  32102. "description": "收款人用户ID",
  32103. "type": "integer"
  32104. }
  32105. }
  32106. },
  32107. "models.UserReceiveInfo": {
  32108. "type": "object",
  32109. "properties": {
  32110. "address": {
  32111. "description": "提货人详细地址",
  32112. "type": "string"
  32113. },
  32114. "autoid": {
  32115. "description": "AutoID",
  32116. "type": "integer"
  32117. },
  32118. "cardnum": {
  32119. "description": "证件号码(加密存储)",
  32120. "type": "string"
  32121. },
  32122. "cardtypeid": {
  32123. "description": "证件类型",
  32124. "type": "integer"
  32125. },
  32126. "cityid": {
  32127. "description": "市",
  32128. "type": "integer"
  32129. },
  32130. "cityname": {
  32131. "description": "城市名称",
  32132. "type": "string"
  32133. },
  32134. "countryid": {
  32135. "description": "国家",
  32136. "type": "integer"
  32137. },
  32138. "countryname": {
  32139. "description": "国家名称",
  32140. "type": "string"
  32141. },
  32142. "districtid": {
  32143. "description": "地区",
  32144. "type": "integer"
  32145. },
  32146. "districtname": {
  32147. "description": "地区名称",
  32148. "type": "string"
  32149. },
  32150. "hasencrypt": {
  32151. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32152. "type": "integer"
  32153. },
  32154. "isdefault": {
  32155. "description": "是否默认地址 - 0:否 1:是",
  32156. "type": "integer"
  32157. },
  32158. "phonenum": {
  32159. "description": "提货人联系方式(加密存储)",
  32160. "type": "string"
  32161. },
  32162. "provinceid": {
  32163. "description": "省",
  32164. "type": "integer"
  32165. },
  32166. "provincename": {
  32167. "description": "省名称",
  32168. "type": "string"
  32169. },
  32170. "receivername": {
  32171. "description": "提货人姓名",
  32172. "type": "string"
  32173. },
  32174. "takeremark": {
  32175. "description": "提货备注",
  32176. "type": "string"
  32177. },
  32178. "userid": {
  32179. "description": "用户ID",
  32180. "type": "integer"
  32181. }
  32182. }
  32183. },
  32184. "models.Useraccount": {
  32185. "type": "object",
  32186. "required": [
  32187. "userid"
  32188. ],
  32189. "properties": {
  32190. "accountname": {
  32191. "description": "账户名称(机构名称)",
  32192. "type": "string"
  32193. },
  32194. "accountstatus": {
  32195. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32196. "type": "integer"
  32197. },
  32198. "applysrc": {
  32199. "description": "申请来源 - 1:管理端 2:终端",
  32200. "type": "integer"
  32201. },
  32202. "auditremark": {
  32203. "description": "审核备注",
  32204. "type": "string"
  32205. },
  32206. "auditsrc": {
  32207. "description": "审核来源 - 1:管理端 2:终端",
  32208. "type": "integer"
  32209. },
  32210. "audittime": {
  32211. "description": "审核时间",
  32212. "type": "string"
  32213. },
  32214. "audituserid": {
  32215. "description": "审核人",
  32216. "type": "integer"
  32217. },
  32218. "broker": {
  32219. "description": "所属经纪人ID",
  32220. "type": "integer"
  32221. },
  32222. "canceltime": {
  32223. "description": "销户时间",
  32224. "type": "string"
  32225. },
  32226. "canceluserid": {
  32227. "description": "销户人",
  32228. "type": "integer"
  32229. },
  32230. "canrecommend": {
  32231. "description": "是否可推荐 - 0:不可 1;可",
  32232. "type": "integer"
  32233. },
  32234. "createtime": {
  32235. "description": "创建时间",
  32236. "type": "string"
  32237. },
  32238. "creatorid": {
  32239. "description": "创建人",
  32240. "type": "integer"
  32241. },
  32242. "hasauth": {
  32243. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32244. "type": "integer"
  32245. },
  32246. "isanonymous": {
  32247. "description": "是否匿名下单 - 0:否 1:是",
  32248. "type": "integer"
  32249. },
  32250. "maxinvestornum": {
  32251. "description": "最大用户数(经纪会员下投资者个数)",
  32252. "type": "integer"
  32253. },
  32254. "memberuserid": {
  32255. "description": "所属会员ID",
  32256. "type": "integer"
  32257. },
  32258. "modifierid": {
  32259. "description": "修改人",
  32260. "type": "integer"
  32261. },
  32262. "modifyremark": {
  32263. "description": "变更备注",
  32264. "type": "string"
  32265. },
  32266. "modifystatus": {
  32267. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32268. "type": "integer"
  32269. },
  32270. "modifytime": {
  32271. "description": "修改时间",
  32272. "type": "string"
  32273. },
  32274. "parenttopuser": {
  32275. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32276. "type": "string"
  32277. },
  32278. "parentuserid": {
  32279. "description": "所属机构ID",
  32280. "type": "integer"
  32281. },
  32282. "reckonaccountid": {
  32283. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32284. "type": "integer"
  32285. },
  32286. "refercount": {
  32287. "description": "推荐总人数",
  32288. "type": "integer"
  32289. },
  32290. "refereeuserid": {
  32291. "description": "推荐人ID",
  32292. "type": "integer"
  32293. },
  32294. "refernum": {
  32295. "description": "推荐码",
  32296. "type": "string"
  32297. },
  32298. "rootuserid": {
  32299. "description": "根用户ID",
  32300. "type": "integer"
  32301. },
  32302. "subaccountlevel": {
  32303. "description": "子账户层数",
  32304. "type": "integer"
  32305. },
  32306. "subarealevelpath": {
  32307. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32308. "type": "string"
  32309. },
  32310. "userid": {
  32311. "description": "用户ID",
  32312. "type": "integer"
  32313. },
  32314. "usertype": {
  32315. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32316. "type": "integer"
  32317. }
  32318. }
  32319. },
  32320. "models.Userfavoritegoods": {
  32321. "type": "object",
  32322. "required": [
  32323. "goodsid"
  32324. ],
  32325. "properties": {
  32326. "goodsid": {
  32327. "description": "商品ID",
  32328. "type": "integer"
  32329. }
  32330. }
  32331. },
  32332. "models.Userinfo": {
  32333. "type": "object",
  32334. "required": [
  32335. "userid"
  32336. ],
  32337. "properties": {
  32338. "address": {
  32339. "description": "地址",
  32340. "type": "string"
  32341. },
  32342. "attachment1": {
  32343. "description": "附件1",
  32344. "type": "string"
  32345. },
  32346. "attachment2": {
  32347. "description": "附件2",
  32348. "type": "string"
  32349. },
  32350. "bankaccount": {
  32351. "description": "银行帐号 (加密存储)",
  32352. "type": "string"
  32353. },
  32354. "bankaccountname": {
  32355. "description": "收款人名称",
  32356. "type": "string"
  32357. },
  32358. "bankcardfrontphotourl": {
  32359. "description": "银行卡正面照地址",
  32360. "type": "string"
  32361. },
  32362. "bankid": {
  32363. "description": "银行编码",
  32364. "type": "string"
  32365. },
  32366. "bankname": {
  32367. "description": "银行名称",
  32368. "type": "string"
  32369. },
  32370. "biznature": {
  32371. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  32372. "type": "integer"
  32373. },
  32374. "bizscope": {
  32375. "description": "企业经营范围(企业)",
  32376. "type": "string"
  32377. },
  32378. "cardbackphotourl": {
  32379. "description": "证件背面图片地址",
  32380. "type": "string"
  32381. },
  32382. "cardfrontphotourl": {
  32383. "description": "证件正面图片地址",
  32384. "type": "string"
  32385. },
  32386. "cardnum": {
  32387. "description": "证件号码(加密存储)",
  32388. "type": "string"
  32389. },
  32390. "cardtypeid": {
  32391. "description": "证件类型ID",
  32392. "type": "integer"
  32393. },
  32394. "cityid": {
  32395. "description": "市",
  32396. "type": "integer"
  32397. },
  32398. "company": {
  32399. "description": "公司(个人)",
  32400. "type": "string"
  32401. },
  32402. "contactname": {
  32403. "description": "联系人",
  32404. "type": "string"
  32405. },
  32406. "countryid": {
  32407. "description": "国家",
  32408. "type": "integer"
  32409. },
  32410. "createtime": {
  32411. "description": "创建时间",
  32412. "type": "string"
  32413. },
  32414. "creatorid": {
  32415. "description": "创建人",
  32416. "type": "integer"
  32417. },
  32418. "customername": {
  32419. "description": "客户名称(企业名称)",
  32420. "type": "string"
  32421. },
  32422. "districtid": {
  32423. "description": "地区",
  32424. "type": "integer"
  32425. },
  32426. "email": {
  32427. "description": "邮件(加密存储)",
  32428. "type": "string"
  32429. },
  32430. "fax": {
  32431. "description": "传真(加密存储)",
  32432. "type": "string"
  32433. },
  32434. "halfbodyphotourl": {
  32435. "description": "半身照地址",
  32436. "type": "string"
  32437. },
  32438. "hasencrypt": {
  32439. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32440. "type": "integer"
  32441. },
  32442. "headurl": {
  32443. "description": "头像地址",
  32444. "type": "string"
  32445. },
  32446. "legalcardbackphotourl": {
  32447. "description": "法人身份证背面照地址",
  32448. "type": "string"
  32449. },
  32450. "legalcardfrontphotourl": {
  32451. "description": "法人身份证正面照地址",
  32452. "type": "string"
  32453. },
  32454. "legalpersonname": {
  32455. "description": "法人姓名(企业)",
  32456. "type": "string"
  32457. },
  32458. "mobile": {
  32459. "description": "手机号码(加密存储)",
  32460. "type": "string"
  32461. },
  32462. "mobile2": {
  32463. "description": "手机号码[明文-尚志]",
  32464. "type": "string"
  32465. },
  32466. "modifierid": {
  32467. "description": "修改人",
  32468. "type": "integer"
  32469. },
  32470. "modifiertime": {
  32471. "description": "修改时间",
  32472. "type": "string"
  32473. },
  32474. "needinvoice": {
  32475. "description": "是否需要发票 - 0:不需要 1:需要",
  32476. "type": "integer"
  32477. },
  32478. "nickname": {
  32479. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32480. "type": "string"
  32481. },
  32482. "openmode": {
  32483. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  32484. "type": "integer"
  32485. },
  32486. "otherurl": {
  32487. "description": "其它图片地址[使用分号分隔]",
  32488. "type": "string"
  32489. },
  32490. "postalcode": {
  32491. "description": "邮政编码",
  32492. "type": "string"
  32493. },
  32494. "provinceid": {
  32495. "description": "省",
  32496. "type": "integer"
  32497. },
  32498. "qq": {
  32499. "description": "QQ(加密存储",
  32500. "type": "string"
  32501. },
  32502. "remark": {
  32503. "description": "备注",
  32504. "type": "string"
  32505. },
  32506. "sex": {
  32507. "description": "用户性别 0: 女 1: 男",
  32508. "type": "integer"
  32509. },
  32510. "signpdfurl": {
  32511. "description": "签约pdf文件",
  32512. "type": "string"
  32513. },
  32514. "telphone": {
  32515. "description": "联系电话(加密存储)",
  32516. "type": "string"
  32517. },
  32518. "userid": {
  32519. "description": "用户ID",
  32520. "type": "integer"
  32521. },
  32522. "userinfotype": {
  32523. "description": "用户信息类型 - 1:个人 2:企业",
  32524. "type": "integer"
  32525. },
  32526. "userstatus": {
  32527. "description": "用户状态 - 1:正常 2:注销",
  32528. "type": "integer"
  32529. },
  32530. "usertype": {
  32531. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  32532. "type": "integer"
  32533. },
  32534. "wechat": {
  32535. "description": "微信(加密存储)",
  32536. "type": "string"
  32537. },
  32538. "wskhinfo": {
  32539. "description": "开户申请信息(JSON)",
  32540. "type": "string"
  32541. }
  32542. }
  32543. },
  32544. "models.WRSConverTDetail": {
  32545. "type": "object",
  32546. "properties": {
  32547. "convertratio": {
  32548. "description": "套保系数",
  32549. "type": "number"
  32550. },
  32551. "deliverygoodscode": {
  32552. "description": "现货商品代码",
  32553. "type": "string"
  32554. },
  32555. "deliverygoodsid": {
  32556. "description": "现货品种ID",
  32557. "type": "integer"
  32558. },
  32559. "deliverygoodsname": {
  32560. "description": "现货商品名称",
  32561. "type": "string"
  32562. },
  32563. "enumdicname": {
  32564. "description": "单位名称",
  32565. "type": "string"
  32566. },
  32567. "goodsunitid": {
  32568. "description": "套保品种单位id",
  32569. "type": "integer"
  32570. },
  32571. "middlegoodscode": {
  32572. "description": "套保品种代码",
  32573. "type": "string"
  32574. },
  32575. "middlegoodsid": {
  32576. "description": "套保品种ID",
  32577. "type": "integer"
  32578. },
  32579. "middlegoodsname": {
  32580. "description": "套保品种名称",
  32581. "type": "string"
  32582. },
  32583. "modifytime": {
  32584. "description": "修改时间",
  32585. "type": "string"
  32586. },
  32587. "wrstandardid": {
  32588. "description": "品类ID",
  32589. "type": "integer"
  32590. }
  32591. }
  32592. },
  32593. "models.WRStandardInfo": {
  32594. "type": "object",
  32595. "required": [
  32596. "wrstandardid"
  32597. ],
  32598. "properties": {
  32599. "areauserid": {
  32600. "description": "所属机构",
  32601. "type": "integer"
  32602. },
  32603. "convertfactor": {
  32604. "description": "标仓系数",
  32605. "type": "number"
  32606. },
  32607. "createtime": {
  32608. "description": "创建时间",
  32609. "type": "string"
  32610. },
  32611. "creatorid": {
  32612. "description": "创建人",
  32613. "type": "integer"
  32614. },
  32615. "deliverygoodsid": {
  32616. "description": "品种ID",
  32617. "type": "integer"
  32618. },
  32619. "deliverygoodsname": {
  32620. "description": "交割商品名称",
  32621. "type": "string"
  32622. },
  32623. "factoryitemjson": {
  32624. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  32625. "type": "string"
  32626. },
  32627. "isvalid": {
  32628. "description": "是否有效 - 0:无效 1:有效",
  32629. "type": "integer"
  32630. },
  32631. "minivalue": {
  32632. "description": "最小变动值",
  32633. "type": "integer"
  32634. },
  32635. "minivaluedp": {
  32636. "description": "最小变动值小数位",
  32637. "type": "integer"
  32638. },
  32639. "realminivalue": {
  32640. "description": "实际最小变动值",
  32641. "type": "integer"
  32642. },
  32643. "realminivaluedp": {
  32644. "description": "实际最小变动值小数位",
  32645. "type": "integer"
  32646. },
  32647. "remark": {
  32648. "description": "备注",
  32649. "type": "string"
  32650. },
  32651. "unitid": {
  32652. "description": "单位ID",
  32653. "type": "integer"
  32654. },
  32655. "unitname": {
  32656. "description": "单位",
  32657. "type": "string"
  32658. },
  32659. "updatetime": {
  32660. "description": "更新时间",
  32661. "type": "string"
  32662. },
  32663. "updatorid": {
  32664. "description": "更新人",
  32665. "type": "integer"
  32666. },
  32667. "wrsstatus": {
  32668. "description": "状态 - 作废 - 0:未激活 1:正常",
  32669. "type": "integer"
  32670. },
  32671. "wrstandardcode": {
  32672. "description": "现货品类代码",
  32673. "type": "string"
  32674. },
  32675. "wrstandardid": {
  32676. "description": "现货品类ID(SEQ_WRSTANDARD)",
  32677. "type": "integer"
  32678. },
  32679. "wrstandardname": {
  32680. "description": "现货品类名称",
  32681. "type": "string"
  32682. }
  32683. }
  32684. },
  32685. "models.WRTradeBargainApply": {
  32686. "type": "object",
  32687. "properties": {
  32688. "accountid": {
  32689. "description": "摘牌资金账号",
  32690. "type": "integer"
  32691. },
  32692. "applyprice": {
  32693. "description": "申请价格(议价价格)",
  32694. "type": "string"
  32695. },
  32696. "applyqty": {
  32697. "description": "摘牌数量(议价数量)",
  32698. "type": "number"
  32699. },
  32700. "applyremark": {
  32701. "description": "申请备注",
  32702. "type": "string"
  32703. },
  32704. "applystatus": {
  32705. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32706. "type": "integer"
  32707. },
  32708. "applytime": {
  32709. "description": "申请时间(议价时间)",
  32710. "type": "string"
  32711. },
  32712. "buyorsell": {
  32713. "description": "买卖(挂牌类型) - 0:买 1:卖",
  32714. "type": "integer"
  32715. },
  32716. "confirmremark": {
  32717. "description": "确认备注",
  32718. "type": "string"
  32719. },
  32720. "confirmtime": {
  32721. "description": "确认时间",
  32722. "type": "string"
  32723. },
  32724. "confirmuserid": {
  32725. "description": "确认人",
  32726. "type": "integer"
  32727. },
  32728. "deliverygoodscode": {
  32729. "description": "品种代码",
  32730. "type": "string"
  32731. },
  32732. "deliverygoodsid": {
  32733. "description": "品种ID",
  32734. "type": "integer"
  32735. },
  32736. "deliverygoodsname": {
  32737. "description": "品种名称",
  32738. "type": "string"
  32739. },
  32740. "deliverymonth": {
  32741. "description": "交收月",
  32742. "type": "string"
  32743. },
  32744. "enumdicname": {
  32745. "description": "单位名称",
  32746. "type": "string"
  32747. },
  32748. "fixedprice": {
  32749. "description": "挂牌价格",
  32750. "type": "number"
  32751. },
  32752. "handlestatus": {
  32753. "description": "处理状态",
  32754. "type": "integer"
  32755. },
  32756. "marginvalue": {
  32757. "description": "履约保证金比例",
  32758. "type": "number"
  32759. },
  32760. "marketid": {
  32761. "description": "市场ID",
  32762. "type": "integer"
  32763. },
  32764. "matchaccountid": {
  32765. "description": "挂牌方资金账号",
  32766. "type": "integer"
  32767. },
  32768. "matchuserid": {
  32769. "description": "挂牌方用户id",
  32770. "type": "integer"
  32771. },
  32772. "matchusername": {
  32773. "description": "挂牌方用户名称(已脱敏)",
  32774. "type": "string"
  32775. },
  32776. "minivalue": {
  32777. "description": "现货商品最小变动值",
  32778. "type": "integer"
  32779. },
  32780. "optioncompare": {
  32781. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32782. "type": "string"
  32783. },
  32784. "orderqty": {
  32785. "description": "挂牌数量",
  32786. "type": "integer"
  32787. },
  32788. "refprice": {
  32789. "description": "参考价格",
  32790. "type": "string"
  32791. },
  32792. "retcode": {
  32793. "description": "委托返回代码",
  32794. "type": "integer"
  32795. },
  32796. "templatename": {
  32797. "description": "履约方式(履约模板名称)",
  32798. "type": "string"
  32799. },
  32800. "tradedate": {
  32801. "description": "交易日(yyyyMMdd)",
  32802. "type": "string"
  32803. },
  32804. "userid": {
  32805. "description": "摘牌人用户ID(议价人ID)",
  32806. "type": "integer"
  32807. },
  32808. "username": {
  32809. "description": "议价人名字(已脱敏)",
  32810. "type": "string"
  32811. },
  32812. "validtime": {
  32813. "description": "有效期限",
  32814. "type": "string"
  32815. },
  32816. "warehouseid": {
  32817. "description": "仓库ID",
  32818. "type": "integer"
  32819. },
  32820. "warehousename": {
  32821. "description": "仓库名称",
  32822. "type": "string"
  32823. },
  32824. "wrbargainid": {
  32825. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  32826. "type": "string"
  32827. },
  32828. "wrfactortypeid": {
  32829. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32830. "type": "string"
  32831. },
  32832. "wrfactortypename": {
  32833. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32834. "type": "string"
  32835. },
  32836. "wrstandardcode": {
  32837. "description": "现货商品代码",
  32838. "type": "string"
  32839. },
  32840. "wrstandardid": {
  32841. "description": "现货商品ID",
  32842. "type": "integer"
  32843. },
  32844. "wrstandardname": {
  32845. "description": "商品名称",
  32846. "type": "string"
  32847. },
  32848. "wrtradeorderid": {
  32849. "description": "关联委托单ID",
  32850. "type": "string"
  32851. },
  32852. "wrtypename": {
  32853. "description": "商品",
  32854. "type": "string"
  32855. }
  32856. }
  32857. },
  32858. "models.Warehouseinfo": {
  32859. "type": "object",
  32860. "required": [
  32861. "autoid",
  32862. "warehousecode"
  32863. ],
  32864. "properties": {
  32865. "address": {
  32866. "description": "详细地址",
  32867. "type": "string"
  32868. },
  32869. "areauserid": {
  32870. "description": "所属机构",
  32871. "type": "integer"
  32872. },
  32873. "autoid": {
  32874. "description": "自增ID",
  32875. "type": "integer"
  32876. },
  32877. "cityid": {
  32878. "description": "市",
  32879. "type": "integer"
  32880. },
  32881. "contactname": {
  32882. "description": "联系人",
  32883. "type": "string"
  32884. },
  32885. "contactnum": {
  32886. "description": "联系电话",
  32887. "type": "string"
  32888. },
  32889. "countryid": {
  32890. "description": "国家",
  32891. "type": "integer"
  32892. },
  32893. "createtime": {
  32894. "description": "创建时间",
  32895. "type": "string"
  32896. },
  32897. "districtid": {
  32898. "description": "区",
  32899. "type": "integer"
  32900. },
  32901. "hasvideo": {
  32902. "description": "是否有视频 - 0:无 1:有",
  32903. "type": "integer"
  32904. },
  32905. "provinceid": {
  32906. "description": "省",
  32907. "type": "integer"
  32908. },
  32909. "remark": {
  32910. "description": "审核备注",
  32911. "type": "string"
  32912. },
  32913. "videourl": {
  32914. "description": "视频地址",
  32915. "type": "string"
  32916. },
  32917. "warehousecode": {
  32918. "description": "仓库代码",
  32919. "type": "string"
  32920. },
  32921. "warehousename": {
  32922. "description": "仓库名称",
  32923. "type": "string"
  32924. },
  32925. "warehousestatus": {
  32926. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  32927. "type": "integer"
  32928. },
  32929. "warehousetype": {
  32930. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  32931. "type": "integer"
  32932. }
  32933. }
  32934. },
  32935. "models.WrAverageTradePrice": {
  32936. "type": "object",
  32937. "properties": {
  32938. "averageprice": {
  32939. "description": "成交均价",
  32940. "type": "number"
  32941. },
  32942. "tradedate": {
  32943. "description": "交易日yyyymm",
  32944. "type": "string"
  32945. }
  32946. }
  32947. },
  32948. "models.WrBsGoodsInfo": {
  32949. "type": "object",
  32950. "properties": {
  32951. "buyorsell": {
  32952. "description": "买卖方向 0-买 1-卖",
  32953. "type": "integer"
  32954. },
  32955. "goodsid": {
  32956. "description": "交易合约ID",
  32957. "type": "integer"
  32958. },
  32959. "lstitem": {
  32960. "description": "商品信息项",
  32961. "type": "array",
  32962. "items": {
  32963. "$ref": "#/definitions/models.WrTypeItem"
  32964. }
  32965. },
  32966. "lststep": {
  32967. "description": "履约规则",
  32968. "type": "array",
  32969. "items": {
  32970. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32971. }
  32972. }
  32973. }
  32974. },
  32975. "models.WrBuybackDetail": {
  32976. "type": "object",
  32977. "properties": {
  32978. "buybackamount": {
  32979. "description": "回购金额",
  32980. "type": "number"
  32981. },
  32982. "buybackqty": {
  32983. "description": "回购数量",
  32984. "type": "number"
  32985. },
  32986. "buybackreleasemargin": {
  32987. "description": "回购释放保证金",
  32988. "type": "number"
  32989. },
  32990. "buybacktime": {
  32991. "description": "回购时间",
  32992. "type": "string"
  32993. },
  32994. "errordesc": {
  32995. "description": "错误描述",
  32996. "type": "string"
  32997. },
  32998. "handlestatus": {
  32999. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33000. "type": "integer"
  33001. },
  33002. "relatedwrid": {
  33003. "description": "关联仓单ID",
  33004. "type": "integer"
  33005. },
  33006. "scfcontractid": {
  33007. "description": "SCF合同ID",
  33008. "type": "string"
  33009. },
  33010. "scfwrbuybackid": {
  33011. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33012. "type": "integer"
  33013. },
  33014. "tradedate": {
  33015. "description": "交易日(yyyyMMdd)",
  33016. "type": "string"
  33017. }
  33018. }
  33019. },
  33020. "models.WrDeliveryAvalidHoldLB": {
  33021. "type": "object",
  33022. "properties": {
  33023. "accountid": {
  33024. "description": "资金账号",
  33025. "type": "integer"
  33026. },
  33027. "avalidqty": {
  33028. "description": "数量(可点选数量)",
  33029. "type": "number"
  33030. },
  33031. "deliverygoodsid": {
  33032. "description": "品种id",
  33033. "type": "integer"
  33034. },
  33035. "enumdicname": {
  33036. "description": "单位名称",
  33037. "type": "string"
  33038. },
  33039. "goodsid": {
  33040. "description": "x合约商品id",
  33041. "type": "integer"
  33042. },
  33043. "ladingbillid": {
  33044. "description": "提单id",
  33045. "type": "string"
  33046. },
  33047. "pgoodscode": {
  33048. "description": "p商品代码(点价合约)",
  33049. "type": "string"
  33050. },
  33051. "pgoodsid": {
  33052. "description": "p商品id(点价合约)",
  33053. "type": "integer"
  33054. },
  33055. "pgoodsname": {
  33056. "description": "p商品名称(点价合约)",
  33057. "type": "string"
  33058. },
  33059. "pricemove": {
  33060. "description": "升贴水",
  33061. "type": "number"
  33062. },
  33063. "subnum": {
  33064. "description": "提单子id",
  33065. "type": "integer"
  33066. },
  33067. "userid": {
  33068. "description": "用户id",
  33069. "type": "integer"
  33070. },
  33071. "username": {
  33072. "description": "仓单持有人",
  33073. "type": "string"
  33074. },
  33075. "warehousecode": {
  33076. "description": "仓库代码",
  33077. "type": "string"
  33078. },
  33079. "warehouseid": {
  33080. "description": "仓库id",
  33081. "type": "integer"
  33082. },
  33083. "warehousename": {
  33084. "description": "仓库名称",
  33085. "type": "string"
  33086. },
  33087. "wrfactortypeid": {
  33088. "description": "仓单要素id",
  33089. "type": "string"
  33090. },
  33091. "wrstandardcode": {
  33092. "description": "品代码",
  33093. "type": "string"
  33094. },
  33095. "wrstandardid": {
  33096. "description": "品类d",
  33097. "type": "integer"
  33098. },
  33099. "wrstandardname": {
  33100. "description": "品类名称",
  33101. "type": "string"
  33102. },
  33103. "wrtypename": {
  33104. "description": "商品",
  33105. "type": "string"
  33106. },
  33107. "xgoodscode": {
  33108. "description": "x合约代码",
  33109. "type": "string"
  33110. },
  33111. "xgoodsname": {
  33112. "description": "x合约名称",
  33113. "type": "string"
  33114. }
  33115. }
  33116. },
  33117. "models.WrDeliveryDetail": {
  33118. "type": "object",
  33119. "properties": {
  33120. "accountid": {
  33121. "description": "账号ID",
  33122. "type": "integer"
  33123. },
  33124. "averageprice": {
  33125. "description": "交割均价 = 交割金额 / 交割数量",
  33126. "type": "number"
  33127. },
  33128. "buyorsell": {
  33129. "description": "方向 - 0:买 1:卖",
  33130. "type": "integer"
  33131. },
  33132. "deliveryamount": {
  33133. "description": "货款金额(X总货款+P总货款)",
  33134. "type": "number"
  33135. },
  33136. "deliveryid": {
  33137. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33138. "type": "string"
  33139. },
  33140. "deliveryorderid": {
  33141. "description": "申报单号",
  33142. "type": "string"
  33143. },
  33144. "deliverypricemove": {
  33145. "description": "升贴水(升贴水总额)",
  33146. "type": "number"
  33147. },
  33148. "deliveryqty": {
  33149. "description": "交收数量(点选数量)",
  33150. "type": "number"
  33151. },
  33152. "deliverystatus": {
  33153. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33154. "type": "integer"
  33155. },
  33156. "deliverytime": {
  33157. "description": "交割时间",
  33158. "type": "string"
  33159. },
  33160. "deliverytotalamount": {
  33161. "description": "交收金额",
  33162. "type": "number"
  33163. },
  33164. "enumdicname": {
  33165. "description": "单位名称",
  33166. "type": "string"
  33167. },
  33168. "matchaccountid": {
  33169. "description": "对手账号ID",
  33170. "type": "integer"
  33171. },
  33172. "matchusername": {
  33173. "description": "对手方名称(仓单持有人)",
  33174. "type": "string"
  33175. },
  33176. "p1goodsremainamount": {
  33177. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33178. "type": "number"
  33179. },
  33180. "pdeliverycloseqty": {
  33181. "description": "p合约平仓数量",
  33182. "type": "number"
  33183. },
  33184. "pdeliveryprice": {
  33185. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33186. "type": "number"
  33187. },
  33188. "pgoodscode": {
  33189. "description": "商品代码",
  33190. "type": "string"
  33191. },
  33192. "pgoodsid": {
  33193. "description": "p点选合约id",
  33194. "type": "integer"
  33195. },
  33196. "pgoodsname": {
  33197. "description": "商品名称",
  33198. "type": "string"
  33199. },
  33200. "ppricemode": {
  33201. "description": "点价价格方式 - 1:商品价 2:固定值",
  33202. "type": "integer"
  33203. },
  33204. "tradedate": {
  33205. "description": "交易日(yyyymmdd)",
  33206. "type": "string"
  33207. },
  33208. "userid": {
  33209. "description": "用户id",
  33210. "type": "integer"
  33211. },
  33212. "username": {
  33213. "description": "用户名称",
  33214. "type": "string"
  33215. },
  33216. "warehousename": {
  33217. "description": "仓库名称",
  33218. "type": "string"
  33219. },
  33220. "wrfactortypeid": {
  33221. "description": "仓单要素类型ID",
  33222. "type": "string"
  33223. },
  33224. "wrtypename": {
  33225. "description": "商品",
  33226. "type": "string"
  33227. },
  33228. "xdeliverycloseqty": {
  33229. "description": "合约数量",
  33230. "type": "number"
  33231. },
  33232. "xgoodsamount": {
  33233. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  33234. "type": "number"
  33235. },
  33236. "xgoodscode": {
  33237. "description": "商品代码",
  33238. "type": "string"
  33239. },
  33240. "xgoodsid": {
  33241. "description": "x交易合约ID",
  33242. "type": "integer"
  33243. },
  33244. "xgoodsname": {
  33245. "description": "商品名称",
  33246. "type": "string"
  33247. }
  33248. }
  33249. },
  33250. "models.WrFAProductDetail": {
  33251. "type": "object",
  33252. "properties": {
  33253. "accountid": {
  33254. "description": "资金账号",
  33255. "type": "integer"
  33256. },
  33257. "areauserid": {
  33258. "description": "金融机构ID",
  33259. "type": "integer"
  33260. },
  33261. "financingdays": {
  33262. "description": "天数(天)",
  33263. "type": "integer"
  33264. },
  33265. "interestminlen": {
  33266. "description": "最小起息天数",
  33267. "type": "integer"
  33268. },
  33269. "interestrate": {
  33270. "description": "利率",
  33271. "type": "number"
  33272. },
  33273. "interestratemode": {
  33274. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33275. "type": "integer"
  33276. },
  33277. "interestsettlemode": {
  33278. "description": "结息方式 - 1:按日结息 3:按月结息",
  33279. "type": "integer"
  33280. },
  33281. "interestsettlevalue": {
  33282. "description": "结息方式值",
  33283. "type": "integer"
  33284. },
  33285. "isautoloan": {
  33286. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  33287. "type": "integer"
  33288. },
  33289. "loantag": {
  33290. "description": "放款标识: \"放款快\" 或者为空",
  33291. "type": "string"
  33292. },
  33293. "marginratio": {
  33294. "description": "保证金比率质押率 - [仓单质押]",
  33295. "type": "number"
  33296. },
  33297. "productdetailid": {
  33298. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  33299. "type": "integer"
  33300. },
  33301. "productid": {
  33302. "description": "金融产品ID",
  33303. "type": "integer"
  33304. },
  33305. "productname": {
  33306. "description": "产品名称",
  33307. "type": "string"
  33308. },
  33309. "updatetime": {
  33310. "description": "更新时间",
  33311. "type": "string"
  33312. },
  33313. "username": {
  33314. "description": "融出方",
  33315. "type": "string"
  33316. }
  33317. }
  33318. },
  33319. "models.WrFactorTypeInfo": {
  33320. "type": "object",
  33321. "properties": {
  33322. "deliverygoodscode": {
  33323. "description": "品种代码",
  33324. "type": "string"
  33325. },
  33326. "deliverygoodsname": {
  33327. "description": "品种名称",
  33328. "type": "string"
  33329. },
  33330. "dgfactoryitemid": {
  33331. "description": "选择项id",
  33332. "type": "integer"
  33333. },
  33334. "dgfactoryitemtypeid": {
  33335. "description": "要素选择项ID (1-仓库 2-品牌)",
  33336. "type": "integer"
  33337. },
  33338. "dgfactoryitemvalue": {
  33339. "description": "要素项值",
  33340. "type": "string"
  33341. },
  33342. "itemtypename": {
  33343. "description": "要素项名称",
  33344. "type": "string"
  33345. },
  33346. "optioncompare": {
  33347. "description": "选择比较串",
  33348. "type": "string"
  33349. },
  33350. "warehouseid": {
  33351. "description": "仓库id",
  33352. "type": "integer"
  33353. },
  33354. "wrfactortypeid": {
  33355. "description": "仓单要素ID",
  33356. "type": "string"
  33357. },
  33358. "wrfactortypename": {
  33359. "description": "要素名称",
  33360. "type": "string"
  33361. },
  33362. "wrfactortypename2": {
  33363. "description": "要素名称(不含仓库)",
  33364. "type": "string"
  33365. },
  33366. "wrstandardcode": {
  33367. "description": "品类代码",
  33368. "type": "string"
  33369. },
  33370. "wrstandardid": {
  33371. "description": "品类id",
  33372. "type": "integer"
  33373. },
  33374. "wrstandardname": {
  33375. "description": "品类名称",
  33376. "type": "string"
  33377. }
  33378. }
  33379. },
  33380. "models.WrFilterItem": {
  33381. "type": "object",
  33382. "properties": {
  33383. "itemcode": {
  33384. "description": "代码",
  33385. "type": "string"
  33386. },
  33387. "itemid": {
  33388. "description": "项id",
  33389. "type": "integer"
  33390. },
  33391. "itemname": {
  33392. "description": "名称",
  33393. "type": "string"
  33394. },
  33395. "itemtype": {
  33396. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  33397. "type": "integer"
  33398. }
  33399. }
  33400. },
  33401. "models.WrFinanceBuyApply": {
  33402. "type": "object",
  33403. "properties": {
  33404. "applydate": {
  33405. "description": "申请时间",
  33406. "type": "string"
  33407. },
  33408. "applystatus": {
  33409. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  33410. "type": "integer"
  33411. },
  33412. "applyuserid": {
  33413. "description": "申请人",
  33414. "type": "integer"
  33415. },
  33416. "auditdate": {
  33417. "description": "审核时间",
  33418. "type": "string"
  33419. },
  33420. "auditremark": {
  33421. "description": "审核备注",
  33422. "type": "string"
  33423. },
  33424. "audituserid": {
  33425. "description": "审核人",
  33426. "type": "integer"
  33427. },
  33428. "buyaccountid": {
  33429. "description": "买方资金账号",
  33430. "type": "integer"
  33431. },
  33432. "buyorsell": {
  33433. "description": "买卖 - 0:买 1:卖",
  33434. "type": "integer"
  33435. },
  33436. "buyuserid": {
  33437. "description": "买方用户ID",
  33438. "type": "integer"
  33439. },
  33440. "buyusername": {
  33441. "description": "买方名称",
  33442. "type": "string"
  33443. },
  33444. "buywrtradeorderid": {
  33445. "description": "融资方买委托单ID",
  33446. "type": "string"
  33447. },
  33448. "deliverygoodscode": {
  33449. "description": "品种代码",
  33450. "type": "string"
  33451. },
  33452. "deliverygoodsid": {
  33453. "description": "品种ID",
  33454. "type": "integer"
  33455. },
  33456. "deliverygoodsname": {
  33457. "description": "品种名称",
  33458. "type": "string"
  33459. },
  33460. "deliverymonth": {
  33461. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  33462. "type": "string"
  33463. },
  33464. "enumdicname": {
  33465. "description": "单位名称",
  33466. "type": "string"
  33467. },
  33468. "financeaccountid": {
  33469. "description": "融资方资金帐户ID",
  33470. "type": "integer"
  33471. },
  33472. "financeapplyid": {
  33473. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33474. "type": "string"
  33475. },
  33476. "financeareauserid": {
  33477. "description": "融资方用户ID",
  33478. "type": "string"
  33479. },
  33480. "financename": {
  33481. "description": "融出方名称",
  33482. "type": "string"
  33483. },
  33484. "financetype": {
  33485. "description": "融资类型 1-融资回购",
  33486. "type": "integer"
  33487. },
  33488. "financingdays": {
  33489. "description": "天数(天)",
  33490. "type": "integer"
  33491. },
  33492. "freezebuymargin": {
  33493. "description": "冻结融资保证金(买方)",
  33494. "type": "number"
  33495. },
  33496. "handleremark": {
  33497. "description": "处理备注",
  33498. "type": "string"
  33499. },
  33500. "handlestatus": {
  33501. "description": "处理状态",
  33502. "type": "integer"
  33503. },
  33504. "interestminlen": {
  33505. "description": "最小起息天数",
  33506. "type": "integer"
  33507. },
  33508. "interestrate": {
  33509. "description": "利率",
  33510. "type": "number"
  33511. },
  33512. "interestratemode": {
  33513. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33514. "type": "integer"
  33515. },
  33516. "interestsettlemode": {
  33517. "description": "结息方式 - 1:按日结息 3:按月结息",
  33518. "type": "integer"
  33519. },
  33520. "interestsettlevalue": {
  33521. "description": "结息方式值",
  33522. "type": "integer"
  33523. },
  33524. "isautoloan": {
  33525. "description": "是否自动放款 - 0:手动 1:自动",
  33526. "type": "integer"
  33527. },
  33528. "marginratio": {
  33529. "description": "保证金比率质押率 - [仓单质押]",
  33530. "type": "number"
  33531. },
  33532. "marketid": {
  33533. "description": "市场ID",
  33534. "type": "integer"
  33535. },
  33536. "minivalue": {
  33537. "description": "现货商品最小变动值",
  33538. "type": "integer"
  33539. },
  33540. "optioncompare": {
  33541. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33542. "type": "string"
  33543. },
  33544. "orderqty": {
  33545. "description": "委托数量(商品数量)",
  33546. "type": "number"
  33547. },
  33548. "productdetailid": {
  33549. "description": "产品组合ID",
  33550. "type": "integer"
  33551. },
  33552. "productid": {
  33553. "description": "金融产品ID",
  33554. "type": "integer"
  33555. },
  33556. "productname": {
  33557. "description": "产品名称",
  33558. "type": "string"
  33559. },
  33560. "remark": {
  33561. "description": "备注",
  33562. "type": "string"
  33563. },
  33564. "scfcontractid": {
  33565. "description": "仓单回购合同ID",
  33566. "type": "string"
  33567. },
  33568. "sellaccountid": {
  33569. "description": "卖方资金账号",
  33570. "type": "integer"
  33571. },
  33572. "selluserid": {
  33573. "description": "卖方用户ID",
  33574. "type": "integer"
  33575. },
  33576. "sellwrtradeorderid": {
  33577. "description": "卖方委托单ID",
  33578. "type": "string"
  33579. },
  33580. "tradeamount": {
  33581. "description": "成交金额(借款金额)",
  33582. "type": "number"
  33583. },
  33584. "tradedate": {
  33585. "description": "交易日(yyyyMMdd)",
  33586. "type": "string"
  33587. },
  33588. "tradeprice": {
  33589. "description": "成交价格",
  33590. "type": "number"
  33591. },
  33592. "warehouseid": {
  33593. "description": "仓库ID",
  33594. "type": "integer"
  33595. },
  33596. "warehousename": {
  33597. "description": "仓库名称",
  33598. "type": "string"
  33599. },
  33600. "wrfactortypeid": {
  33601. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33602. "type": "string"
  33603. },
  33604. "wrfactortypename": {
  33605. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33606. "type": "string"
  33607. },
  33608. "wrpricetype": {
  33609. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  33610. "type": "integer"
  33611. },
  33612. "wrstandardcode": {
  33613. "description": "现货商品代码",
  33614. "type": "string"
  33615. },
  33616. "wrstandardid": {
  33617. "description": "现货商品ID",
  33618. "type": "integer"
  33619. },
  33620. "wrstandardname": {
  33621. "description": "商品名称",
  33622. "type": "string"
  33623. },
  33624. "wrtypename": {
  33625. "description": "商品",
  33626. "type": "string"
  33627. }
  33628. }
  33629. },
  33630. "models.WrFriendApply": {
  33631. "type": "object",
  33632. "properties": {
  33633. "applicantid": {
  33634. "description": "申请人",
  33635. "type": "integer"
  33636. },
  33637. "applyname": {
  33638. "description": "申请人名称",
  33639. "type": "string"
  33640. },
  33641. "applysrc": {
  33642. "description": "申请来源 - 1:管理端 2:终端",
  33643. "type": "integer"
  33644. },
  33645. "applystatus": {
  33646. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33647. "type": "integer"
  33648. },
  33649. "applytime": {
  33650. "description": "申请时间",
  33651. "type": "string"
  33652. },
  33653. "auditname": {
  33654. "description": "审核人名称",
  33655. "type": "string"
  33656. },
  33657. "auditorid": {
  33658. "description": "审核人",
  33659. "type": "integer"
  33660. },
  33661. "auditremark": {
  33662. "description": "审核备注",
  33663. "type": "string"
  33664. },
  33665. "auditsrc": {
  33666. "description": "审核来源 - 1:管理端 2:终端",
  33667. "type": "integer"
  33668. },
  33669. "audittime": {
  33670. "description": "审核时间",
  33671. "type": "string"
  33672. },
  33673. "friendapplyid": {
  33674. "description": "申请ID(SEQ_FRIENDAPPLY)",
  33675. "type": "string"
  33676. },
  33677. "friendname": {
  33678. "description": "好友名字(已脱敏)",
  33679. "type": "string"
  33680. },
  33681. "frienduserid": {
  33682. "description": "好友用户ID",
  33683. "type": "string"
  33684. },
  33685. "remark": {
  33686. "description": "备注",
  33687. "type": "string"
  33688. },
  33689. "userid": {
  33690. "description": "申请人用户ID",
  33691. "type": "integer"
  33692. }
  33693. }
  33694. },
  33695. "models.WrFtDeliveryGoods": {
  33696. "type": "object",
  33697. "properties": {
  33698. "deliverygoodscode": {
  33699. "description": "品种代码",
  33700. "type": "string"
  33701. },
  33702. "deliverygoodsid": {
  33703. "description": "品种ID",
  33704. "type": "integer"
  33705. },
  33706. "deliverygoodsname": {
  33707. "description": "品种名称",
  33708. "type": "string"
  33709. },
  33710. "wdlst": {
  33711. "description": "商品列表",
  33712. "type": "array",
  33713. "items": {
  33714. "$ref": "#/definitions/models.WrFtWrstandard"
  33715. }
  33716. }
  33717. }
  33718. },
  33719. "models.WrFtWrstandard": {
  33720. "type": "object",
  33721. "properties": {
  33722. "enumdicname": {
  33723. "description": "单位名称",
  33724. "type": "string"
  33725. },
  33726. "minivalue": {
  33727. "description": "最小变动值",
  33728. "type": "integer"
  33729. },
  33730. "wrstandardcode": {
  33731. "description": "现货商品代码",
  33732. "type": "string"
  33733. },
  33734. "wrstandardid": {
  33735. "description": "现货商品ID",
  33736. "type": "integer"
  33737. },
  33738. "wrstandardname": {
  33739. "description": "商品名称",
  33740. "type": "string"
  33741. }
  33742. }
  33743. },
  33744. "models.WrGoodsInfo": {
  33745. "type": "object",
  33746. "properties": {
  33747. "haswr": {
  33748. "description": "0:仓单预售 1:仓单贸易",
  33749. "type": "integer"
  33750. },
  33751. "lstitem": {
  33752. "description": "商品信息项",
  33753. "type": "array",
  33754. "items": {
  33755. "$ref": "#/definitions/models.WrTypeItem"
  33756. }
  33757. },
  33758. "lststep": {
  33759. "description": "履约规则",
  33760. "type": "array",
  33761. "items": {
  33762. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33763. }
  33764. },
  33765. "marketid": {
  33766. "description": "市场id",
  33767. "type": "integer"
  33768. }
  33769. }
  33770. },
  33771. "models.WrGoodsPerformanceStep": {
  33772. "type": "object",
  33773. "properties": {
  33774. "autoid": {
  33775. "description": "AutoID",
  33776. "type": "integer"
  33777. },
  33778. "isauto": {
  33779. "description": "是否自动 - 0:不自动 1:自动",
  33780. "type": "integer"
  33781. },
  33782. "remark": {
  33783. "description": "备注",
  33784. "type": "string"
  33785. },
  33786. "stepdate": {
  33787. "description": "天数信息(T+N)",
  33788. "type": "string"
  33789. },
  33790. "stepdays": {
  33791. "description": "距离上一步天数",
  33792. "type": "integer"
  33793. },
  33794. "stepindex": {
  33795. "description": "步骤序号",
  33796. "type": "integer"
  33797. },
  33798. "stepinfo": {
  33799. "description": "步骤信息(步骤名称+步骤值)",
  33800. "type": "string"
  33801. },
  33802. "steptypeid": {
  33803. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33804. "type": "integer"
  33805. },
  33806. "steptypename": {
  33807. "description": "步骤名称",
  33808. "type": "string"
  33809. },
  33810. "stepvalue": {
  33811. "description": "步骤值",
  33812. "type": "number"
  33813. },
  33814. "templateid": {
  33815. "description": "履约计划模板ID",
  33816. "type": "integer"
  33817. }
  33818. }
  33819. },
  33820. "models.WrHoldLB": {
  33821. "type": "object",
  33822. "properties": {
  33823. "accountid": {
  33824. "description": "持有人帐户ID",
  33825. "type": "integer"
  33826. },
  33827. "createtime": {
  33828. "description": "创建时间(过户时间)",
  33829. "type": "string"
  33830. },
  33831. "deliverygoodscode": {
  33832. "description": "品种代码",
  33833. "type": "string"
  33834. },
  33835. "deliverygoodsid": {
  33836. "description": "品种ID",
  33837. "type": "integer"
  33838. },
  33839. "deliverygoodsname": {
  33840. "description": "品种名称",
  33841. "type": "string"
  33842. },
  33843. "enableqty": {
  33844. "description": "可用数量",
  33845. "type": "number"
  33846. },
  33847. "enumdicname": {
  33848. "description": "单位名称",
  33849. "type": "string"
  33850. },
  33851. "freezerqty": {
  33852. "description": "冻结数量",
  33853. "type": "number"
  33854. },
  33855. "ladingbillid": {
  33856. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33857. "type": "string"
  33858. },
  33859. "minivalue": {
  33860. "description": "现货商品最小变动值",
  33861. "type": "integer"
  33862. },
  33863. "optioncompare": {
  33864. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33865. "type": "string"
  33866. },
  33867. "parentsubnum": {
  33868. "description": "拆分父子单号",
  33869. "type": "integer"
  33870. },
  33871. "pledgeqty": {
  33872. "description": "质押数量",
  33873. "type": "number"
  33874. },
  33875. "qty": {
  33876. "description": "数量",
  33877. "type": "number"
  33878. },
  33879. "subnum": {
  33880. "description": "提单子单号",
  33881. "type": "integer"
  33882. },
  33883. "tradedate": {
  33884. "description": "交易日(yyyyMMdd)",
  33885. "type": "string"
  33886. },
  33887. "userid": {
  33888. "description": "持有人ID",
  33889. "type": "integer"
  33890. },
  33891. "warehouseid": {
  33892. "description": "仓库ID",
  33893. "type": "integer"
  33894. },
  33895. "warehousename": {
  33896. "description": "仓库名称",
  33897. "type": "string"
  33898. },
  33899. "wrfactortypeid": {
  33900. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33901. "type": "string"
  33902. },
  33903. "wrfactortypename": {
  33904. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33905. "type": "string"
  33906. },
  33907. "wrholdeno": {
  33908. "description": "仓单编号",
  33909. "type": "string"
  33910. },
  33911. "wrid": {
  33912. "description": "仓单变更ID",
  33913. "type": "string"
  33914. },
  33915. "wrstandardcode": {
  33916. "description": "现货商品代码",
  33917. "type": "string"
  33918. },
  33919. "wrstandardid": {
  33920. "description": "现货商品ID",
  33921. "type": "integer"
  33922. },
  33923. "wrstandardname": {
  33924. "description": "商品名称",
  33925. "type": "string"
  33926. },
  33927. "wrtypename": {
  33928. "description": "商品",
  33929. "type": "string"
  33930. }
  33931. }
  33932. },
  33933. "models.WrMarketTradeConfig": {
  33934. "type": "object",
  33935. "properties": {
  33936. "basisdownratio": {
  33937. "description": "浮动价基差下限比例(仓单贸易)",
  33938. "type": "number"
  33939. },
  33940. "basisupratio": {
  33941. "description": "浮动价基差上限比例(仓单贸易)",
  33942. "type": "number"
  33943. },
  33944. "buychargealgorithm": {
  33945. "description": "买方手续费收取方式 1:比率 2:固定",
  33946. "type": "integer"
  33947. },
  33948. "buychargealgorithm2": {
  33949. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  33950. "type": "integer"
  33951. },
  33952. "buychargealgorithmvalue": {
  33953. "description": "买方手续费设置值(交易所部分)",
  33954. "type": "number"
  33955. },
  33956. "buychargealgorithmvalue2": {
  33957. "description": "买方手续费设置值(会员部分)",
  33958. "type": "number"
  33959. },
  33960. "buychargealgorithmvalue3": {
  33961. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  33962. "type": "number"
  33963. },
  33964. "buychargealgorithmvalue4": {
  33965. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  33966. "type": "number"
  33967. },
  33968. "buyfirstmarginalgorithm": {
  33969. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  33970. "type": "integer"
  33971. },
  33972. "buyfirstmarginvalue": {
  33973. "description": "买方出价保证金设置值 - [竞拍]",
  33974. "type": "number"
  33975. },
  33976. "buymarginalgorithm": {
  33977. "description": "买方保证金方式 - 1:比率 2:固定",
  33978. "type": "integer"
  33979. },
  33980. "buymarginvalue": {
  33981. "description": "买方保证金设置值",
  33982. "type": "number"
  33983. },
  33984. "buyreleaseratio": {
  33985. "description": "买方释放比率[2:分步履约]",
  33986. "type": "number"
  33987. },
  33988. "executemode": {
  33989. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  33990. "type": "integer"
  33991. },
  33992. "executeside": {
  33993. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  33994. "type": "integer"
  33995. },
  33996. "failedchargealgorithm": {
  33997. "description": "流拍手续费收取方式 1:比率 2:固定",
  33998. "type": "integer"
  33999. },
  34000. "failedchargevalue": {
  34001. "description": "流拍手续费设置值",
  34002. "type": "number"
  34003. },
  34004. "failedchargevalue2": {
  34005. "description": "流拍卖方手续费设置值",
  34006. "type": "number"
  34007. },
  34008. "holddays": {
  34009. "description": "合同期限[2:分步履约]",
  34010. "type": "integer"
  34011. },
  34012. "marketid": {
  34013. "description": "市场ID-仓单贸易、竞拍、预售",
  34014. "type": "integer"
  34015. },
  34016. "minqty": {
  34017. "description": "最小执行量[2:分步履约]",
  34018. "type": "number"
  34019. },
  34020. "modifierid": {
  34021. "description": "修改人",
  34022. "type": "integer"
  34023. },
  34024. "performancetempid": {
  34025. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34026. "type": "integer"
  34027. },
  34028. "performancetempid2": {
  34029. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34030. "type": "integer"
  34031. },
  34032. "performanceway": {
  34033. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34034. "type": "integer"
  34035. },
  34036. "sellchargealgorithm": {
  34037. "description": "卖方手续费收取方式 1:比率 2:固定",
  34038. "type": "integer"
  34039. },
  34040. "sellchargealgorithm2": {
  34041. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34042. "type": "integer"
  34043. },
  34044. "sellchargealgorithmvalue": {
  34045. "description": "卖方手续费设置值(交易所部分)",
  34046. "type": "number"
  34047. },
  34048. "sellchargealgorithmvalue2": {
  34049. "description": "卖方手续费设置值(会员部分)",
  34050. "type": "number"
  34051. },
  34052. "sellchargealgorithmvalue3": {
  34053. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34054. "type": "number"
  34055. },
  34056. "sellchargealgorithmvalue4": {
  34057. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34058. "type": "number"
  34059. },
  34060. "sellmarginalgorithm": {
  34061. "description": "卖方保证金方式 - 1:比率 2:固定",
  34062. "type": "integer"
  34063. },
  34064. "sellmarginvalue": {
  34065. "description": "卖方保证金设置值",
  34066. "type": "number"
  34067. },
  34068. "sellmarginvalue2": {
  34069. "description": "卖方保证金设置值(无仓单)",
  34070. "type": "number"
  34071. },
  34072. "sellreleaseratio": {
  34073. "description": "卖方释放比率[2:分步履约]",
  34074. "type": "number"
  34075. },
  34076. "updatetime": {
  34077. "description": "更新时间",
  34078. "type": "string"
  34079. }
  34080. }
  34081. },
  34082. "models.WrOrderDetail": {
  34083. "type": "object",
  34084. "properties": {
  34085. "accountid": {
  34086. "description": "交易账号(资金账号)",
  34087. "type": "integer"
  34088. },
  34089. "allfriendsflag": {
  34090. "description": "是否全好友可见 - 0:否 1:是",
  34091. "type": "integer"
  34092. },
  34093. "amount": {
  34094. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  34095. "type": "number"
  34096. },
  34097. "buyorsell": {
  34098. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34099. "type": "integer"
  34100. },
  34101. "canbargain": {
  34102. "description": "是否可议价 - 0:不可 1:可",
  34103. "type": "integer"
  34104. },
  34105. "cancelqty": {
  34106. "description": "撤销数量",
  34107. "type": "number"
  34108. },
  34109. "canpart": {
  34110. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34111. "type": "integer"
  34112. },
  34113. "delistminqty": {
  34114. "description": "起摘数量",
  34115. "type": "integer"
  34116. },
  34117. "deliverygoodscode": {
  34118. "description": "品种代码",
  34119. "type": "string"
  34120. },
  34121. "deliverygoodsid": {
  34122. "description": "品种ID",
  34123. "type": "integer"
  34124. },
  34125. "deliverygoodsname": {
  34126. "description": "品种名称",
  34127. "type": "string"
  34128. },
  34129. "deliverymonth": {
  34130. "description": "交收月",
  34131. "type": "string"
  34132. },
  34133. "enumdicname": {
  34134. "description": "单位名称",
  34135. "type": "string"
  34136. },
  34137. "fixedprice": {
  34138. "description": "固定价格 - [挂牌]",
  34139. "type": "number"
  34140. },
  34141. "freezemargin": {
  34142. "description": "冻结保证金(保证金)",
  34143. "type": "number"
  34144. },
  34145. "futupricemove": {
  34146. "description": "期货升贴水",
  34147. "type": "number"
  34148. },
  34149. "futushow": {
  34150. "description": "期货合约/升贴水",
  34151. "type": "string"
  34152. },
  34153. "goodscode": {
  34154. "description": "期货合约",
  34155. "type": "string"
  34156. },
  34157. "goodsid": {
  34158. "description": "期货商品id",
  34159. "type": "integer"
  34160. },
  34161. "goodsname": {
  34162. "description": "商品名称",
  34163. "type": "string"
  34164. },
  34165. "haswr": {
  34166. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34167. "type": "integer"
  34168. },
  34169. "isspecified": {
  34170. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34171. "type": "integer"
  34172. },
  34173. "ladingbillid": {
  34174. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34175. "type": "string"
  34176. },
  34177. "marginvalue": {
  34178. "description": "保证金设置值(履约保证金)",
  34179. "type": "number"
  34180. },
  34181. "marketid": {
  34182. "description": "市场ID",
  34183. "type": "integer"
  34184. },
  34185. "matchusername": {
  34186. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34187. "type": "string"
  34188. },
  34189. "minivalue": {
  34190. "description": "现货商品最小变动值",
  34191. "type": "integer"
  34192. },
  34193. "optioncompare": {
  34194. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34195. "type": "string"
  34196. },
  34197. "orderqty": {
  34198. "description": "委托数量",
  34199. "type": "number"
  34200. },
  34201. "ordertime": {
  34202. "description": "委托时间(挂牌时间)",
  34203. "type": "string"
  34204. },
  34205. "performancetemplateid": {
  34206. "description": "履约模板id",
  34207. "type": "integer"
  34208. },
  34209. "pricemove": {
  34210. "description": "升贴水(浮动价时填写) - [挂牌]",
  34211. "type": "number"
  34212. },
  34213. "taname": {
  34214. "description": "交易用户名称(资金账号名称)",
  34215. "type": "string"
  34216. },
  34217. "tradedate": {
  34218. "description": "交易日(yyyyMMdd)",
  34219. "type": "string"
  34220. },
  34221. "tradeprice": {
  34222. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34223. "type": "number"
  34224. },
  34225. "tradeqty": {
  34226. "description": "成交数量",
  34227. "type": "number"
  34228. },
  34229. "userid": {
  34230. "description": "用户ID",
  34231. "type": "integer"
  34232. },
  34233. "validtime": {
  34234. "description": "挂牌有效期",
  34235. "type": "string"
  34236. },
  34237. "warehouseid": {
  34238. "description": "仓库ID",
  34239. "type": "integer"
  34240. },
  34241. "warehousename": {
  34242. "description": "仓库名称",
  34243. "type": "string"
  34244. },
  34245. "wrfactortypeid": {
  34246. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34247. "type": "string"
  34248. },
  34249. "wrfactortypename": {
  34250. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34251. "type": "string"
  34252. },
  34253. "wrpricetype": {
  34254. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34255. "type": "integer"
  34256. },
  34257. "wrstandardcode": {
  34258. "description": "现货商品代码",
  34259. "type": "string"
  34260. },
  34261. "wrstandardid": {
  34262. "description": "现货商品ID",
  34263. "type": "integer"
  34264. },
  34265. "wrstandardname": {
  34266. "description": "商品名称",
  34267. "type": "string"
  34268. },
  34269. "wrtradeorderid": {
  34270. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34271. "type": "string"
  34272. },
  34273. "wrtradeorderstatus": {
  34274. "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:撤单解冻贷款失败",
  34275. "type": "integer"
  34276. },
  34277. "wrtradetype": {
  34278. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34279. "type": "integer"
  34280. },
  34281. "wrtypename": {
  34282. "description": "商品",
  34283. "type": "string"
  34284. }
  34285. }
  34286. },
  34287. "models.WrOrderQuote": {
  34288. "type": "object",
  34289. "properties": {
  34290. "buyprice": {
  34291. "description": "买价",
  34292. "type": "number"
  34293. },
  34294. "buypricemove": {
  34295. "description": "买升贴水(基差)",
  34296. "type": "number"
  34297. },
  34298. "buyqty": {
  34299. "description": "买量",
  34300. "type": "number"
  34301. },
  34302. "deliverygoodscode": {
  34303. "description": "品种代码",
  34304. "type": "string"
  34305. },
  34306. "deliverygoodsid": {
  34307. "description": "品种id",
  34308. "type": "integer"
  34309. },
  34310. "deliverygoodsname": {
  34311. "description": "品种名称",
  34312. "type": "string"
  34313. },
  34314. "deliverymonth": {
  34315. "description": "交收月",
  34316. "type": "string"
  34317. },
  34318. "enumdicname": {
  34319. "description": "单位名称",
  34320. "type": "string"
  34321. },
  34322. "goodscode": {
  34323. "description": "商品合约(浮动价列表才有)",
  34324. "type": "string"
  34325. },
  34326. "goodsid": {
  34327. "description": "商品id(浮动价列表才有)",
  34328. "type": "integer"
  34329. },
  34330. "minivalue": {
  34331. "description": "现货商品最小变动值",
  34332. "type": "integer"
  34333. },
  34334. "sellprice": {
  34335. "description": "卖价",
  34336. "type": "number"
  34337. },
  34338. "sellpricemove": {
  34339. "description": "卖升贴水(基差)",
  34340. "type": "number"
  34341. },
  34342. "sellqty": {
  34343. "description": "卖量",
  34344. "type": "number"
  34345. },
  34346. "warehousecode": {
  34347. "description": "仓库代码",
  34348. "type": "string"
  34349. },
  34350. "warehouseid": {
  34351. "description": "仓库id",
  34352. "type": "integer"
  34353. },
  34354. "warehousename": {
  34355. "description": "仓库名称",
  34356. "type": "string"
  34357. },
  34358. "wrfactortypeid": {
  34359. "description": "仓单要素id",
  34360. "type": "string"
  34361. },
  34362. "wrfactortypename": {
  34363. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34364. "type": "string"
  34365. },
  34366. "wrgoodsname": {
  34367. "description": "商品(商品名称+仓库要素名称 拼接)",
  34368. "type": "string"
  34369. },
  34370. "wrstandardcode": {
  34371. "description": "商品代码",
  34372. "type": "string"
  34373. },
  34374. "wrstandardid": {
  34375. "description": "商品id",
  34376. "type": "integer"
  34377. },
  34378. "wrstandardname": {
  34379. "description": "商品名称",
  34380. "type": "string"
  34381. }
  34382. }
  34383. },
  34384. "models.WrOrderQuoteDetail": {
  34385. "type": "object",
  34386. "properties": {
  34387. "buyorsell": {
  34388. "description": "买卖 - 0:买 1:卖",
  34389. "type": "integer"
  34390. },
  34391. "delistminqty": {
  34392. "description": "起摘数量",
  34393. "type": "number"
  34394. },
  34395. "deliverymonth": {
  34396. "description": "交收月",
  34397. "type": "string"
  34398. },
  34399. "enumdicname": {
  34400. "description": "单位名称",
  34401. "type": "string"
  34402. },
  34403. "fixedprice": {
  34404. "description": "买(卖)价",
  34405. "type": "number"
  34406. },
  34407. "minivalue": {
  34408. "description": "现货商品最小变动值",
  34409. "type": "integer"
  34410. },
  34411. "orderqty": {
  34412. "description": "买(卖)量(=委托量-成交量)",
  34413. "type": "number"
  34414. },
  34415. "ordertime": {
  34416. "description": "委托时间",
  34417. "type": "string"
  34418. },
  34419. "pricemove": {
  34420. "description": "买(卖)升贴水- 基差",
  34421. "type": "number"
  34422. },
  34423. "userid": {
  34424. "description": "购买方(销售方)用户ID",
  34425. "type": "integer"
  34426. },
  34427. "username": {
  34428. "description": "购买方(销售方)",
  34429. "type": "string"
  34430. },
  34431. "wrtradeorderid": {
  34432. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34433. "type": "string"
  34434. }
  34435. }
  34436. },
  34437. "models.WrOutInApply": {
  34438. "type": "object",
  34439. "properties": {
  34440. "applyid": {
  34441. "description": "申请单id",
  34442. "type": "string"
  34443. },
  34444. "applystatus": {
  34445. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  34446. "type": "integer"
  34447. },
  34448. "applytime": {
  34449. "description": "申请时间",
  34450. "type": "string"
  34451. },
  34452. "applytype": {
  34453. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  34454. "type": "integer"
  34455. },
  34456. "deliverygoodscode": {
  34457. "description": "品种代码",
  34458. "type": "string"
  34459. },
  34460. "deliverygoodsid": {
  34461. "description": "品种ID",
  34462. "type": "integer"
  34463. },
  34464. "deliverygoodsname": {
  34465. "description": "品种名称",
  34466. "type": "string"
  34467. },
  34468. "enumdicname": {
  34469. "description": "单位名称",
  34470. "type": "string"
  34471. },
  34472. "expresscompany": {
  34473. "description": "物流公司",
  34474. "type": "string"
  34475. },
  34476. "expressnum": {
  34477. "description": "物流单号",
  34478. "type": "string"
  34479. },
  34480. "minivalue": {
  34481. "description": "现货商品最小变动值",
  34482. "type": "integer"
  34483. },
  34484. "optioncompare": {
  34485. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34486. "type": "string"
  34487. },
  34488. "qty": {
  34489. "description": "数量",
  34490. "type": "integer"
  34491. },
  34492. "userid": {
  34493. "description": "用户id",
  34494. "type": "integer"
  34495. },
  34496. "warehouseid": {
  34497. "description": "仓库ID",
  34498. "type": "integer"
  34499. },
  34500. "warehousename": {
  34501. "description": "仓库名称",
  34502. "type": "string"
  34503. },
  34504. "wrfactortypeid": {
  34505. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34506. "type": "string"
  34507. },
  34508. "wrfactortypename": {
  34509. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34510. "type": "string"
  34511. },
  34512. "wrstandardcode": {
  34513. "description": "现货商品代码",
  34514. "type": "string"
  34515. },
  34516. "wrstandardid": {
  34517. "description": "现货商品ID",
  34518. "type": "integer"
  34519. },
  34520. "wrstandardname": {
  34521. "description": "商品名称",
  34522. "type": "string"
  34523. },
  34524. "wrtypename": {
  34525. "description": "商品",
  34526. "type": "string"
  34527. }
  34528. }
  34529. },
  34530. "models.WrPerformancePlan": {
  34531. "type": "object",
  34532. "required": [
  34533. "userid"
  34534. ],
  34535. "properties": {
  34536. "activatemonth": {
  34537. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  34538. "type": "string"
  34539. },
  34540. "amount": {
  34541. "description": "履约金额(总金额)",
  34542. "type": "number"
  34543. },
  34544. "buyaccountid": {
  34545. "description": "买方账号",
  34546. "type": "integer"
  34547. },
  34548. "buyerfreezeamount": {
  34549. "description": "履约冻结(买履约)",
  34550. "type": "number"
  34551. },
  34552. "buyerfreezeamountremain": {
  34553. "description": "履约冻结剩余(买履约)",
  34554. "type": "number"
  34555. },
  34556. "buyorsell": {
  34557. "description": "买卖方向 0-买 1-卖",
  34558. "type": "integer"
  34559. },
  34560. "buypaidamount": {
  34561. "description": "买方已冻/已扣金额 (已付金额)",
  34562. "type": "number"
  34563. },
  34564. "buyusername": {
  34565. "description": "买方名字",
  34566. "type": "string"
  34567. },
  34568. "contractid": {
  34569. "description": "合同ID",
  34570. "type": "integer"
  34571. },
  34572. "createtime": {
  34573. "description": "创建时间",
  34574. "type": "string"
  34575. },
  34576. "creatorid": {
  34577. "description": "创建人",
  34578. "type": "integer"
  34579. },
  34580. "curstepdeadline": {
  34581. "description": "当前步骤到期时间",
  34582. "type": "string"
  34583. },
  34584. "curstepid": {
  34585. "description": "当前步骤ID",
  34586. "type": "string"
  34587. },
  34588. "curstepname": {
  34589. "description": "当前步骤名称",
  34590. "type": "string"
  34591. },
  34592. "deliverygoodscode": {
  34593. "description": "品种代码",
  34594. "type": "string"
  34595. },
  34596. "deliverygoodsid": {
  34597. "description": "品种ID",
  34598. "type": "integer"
  34599. },
  34600. "deliverygoodsname": {
  34601. "description": "品种名称",
  34602. "type": "string"
  34603. },
  34604. "enumdicname": {
  34605. "description": "单位名称",
  34606. "type": "string"
  34607. },
  34608. "expressfee": {
  34609. "description": "运费",
  34610. "type": "number"
  34611. },
  34612. "expressfeeconfirmed": {
  34613. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  34614. "type": "integer"
  34615. },
  34616. "hasovershort": {
  34617. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  34618. "type": "integer"
  34619. },
  34620. "haswr": {
  34621. "description": "类型 0-仓单预售 1-仓单贸易",
  34622. "type": "integer"
  34623. },
  34624. "marketid": {
  34625. "description": "市场ID",
  34626. "type": "integer"
  34627. },
  34628. "middleaccountid": {
  34629. "description": "中间商资金账号ID",
  34630. "type": "integer"
  34631. },
  34632. "middleuserid": {
  34633. "description": "中间商用户ID",
  34634. "type": "integer"
  34635. },
  34636. "minivalue": {
  34637. "description": "现货商品最小变动值",
  34638. "type": "integer"
  34639. },
  34640. "optioncompare": {
  34641. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34642. "type": "string"
  34643. },
  34644. "overshortamount": {
  34645. "description": "溢短金额",
  34646. "type": "number"
  34647. },
  34648. "overshortqty": {
  34649. "description": "溢短数量",
  34650. "type": "number"
  34651. },
  34652. "paymenttype": {
  34653. "description": "付款方式 - 1:冻结 2:扣款",
  34654. "type": "integer"
  34655. },
  34656. "performanceplanid": {
  34657. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  34658. "type": "string"
  34659. },
  34660. "performancestatus": {
  34661. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  34662. "type": "integer"
  34663. },
  34664. "performancetype": {
  34665. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  34666. "type": "integer"
  34667. },
  34668. "qty": {
  34669. "description": "履约数量",
  34670. "type": "number"
  34671. },
  34672. "relatedorderid": {
  34673. "description": "关联单号(履约类型的关联单号)",
  34674. "type": "string"
  34675. },
  34676. "remark": {
  34677. "description": "备注",
  34678. "type": "string"
  34679. },
  34680. "sellaccountid": {
  34681. "description": "卖方账号",
  34682. "type": "integer"
  34683. },
  34684. "sellerfreezeamount": {
  34685. "description": "履约冻结(卖履约)",
  34686. "type": "number"
  34687. },
  34688. "sellerfreezeamountremain": {
  34689. "description": "履约冻结剩余(卖履约)",
  34690. "type": "number"
  34691. },
  34692. "sellreceivedamount": {
  34693. "description": "卖方已收金额",
  34694. "type": "number"
  34695. },
  34696. "sellusername": {
  34697. "description": "卖方名字",
  34698. "type": "string"
  34699. },
  34700. "shipremark": {
  34701. "description": "发货备注[物流单号]",
  34702. "type": "string"
  34703. },
  34704. "starttime": {
  34705. "description": "开始时间",
  34706. "type": "string"
  34707. },
  34708. "steptypeid": {
  34709. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34710. "type": "integer"
  34711. },
  34712. "typename": {
  34713. "description": "履约类型 名称",
  34714. "type": "string"
  34715. },
  34716. "unpaidamount": {
  34717. "description": "剩余款(待支付金额)",
  34718. "type": "number"
  34719. },
  34720. "userid": {
  34721. "description": "用户id",
  34722. "type": "integer"
  34723. },
  34724. "warehouseid": {
  34725. "description": "仓库ID",
  34726. "type": "integer"
  34727. },
  34728. "warehousename": {
  34729. "description": "仓库名称",
  34730. "type": "string"
  34731. },
  34732. "wrfactortypeid": {
  34733. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34734. "type": "string"
  34735. },
  34736. "wrfactortypename": {
  34737. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34738. "type": "string"
  34739. },
  34740. "wrstandardcode": {
  34741. "description": "现货商品代码",
  34742. "type": "string"
  34743. },
  34744. "wrstandardid": {
  34745. "description": "现货商品ID",
  34746. "type": "integer"
  34747. },
  34748. "wrstandardname": {
  34749. "description": "商品名称",
  34750. "type": "string"
  34751. },
  34752. "wrtransferuserid": {
  34753. "description": "仓单受让用户",
  34754. "type": "integer"
  34755. },
  34756. "wrtypename": {
  34757. "description": "商品",
  34758. "type": "string"
  34759. }
  34760. }
  34761. },
  34762. "models.WrPerformancePlanStep": {
  34763. "type": "object",
  34764. "properties": {
  34765. "delaydays": {
  34766. "description": "延期申请天数",
  34767. "type": "integer"
  34768. },
  34769. "deliverygoodscode": {
  34770. "description": "品种代码",
  34771. "type": "string"
  34772. },
  34773. "deliverygoodsid": {
  34774. "description": "品种ID",
  34775. "type": "integer"
  34776. },
  34777. "deliverygoodsname": {
  34778. "description": "品种名称",
  34779. "type": "string"
  34780. },
  34781. "endtime": {
  34782. "description": "结束日期",
  34783. "type": "string"
  34784. },
  34785. "enumdicname": {
  34786. "description": "单位名称",
  34787. "type": "string"
  34788. },
  34789. "executeside": {
  34790. "description": "步骤执行方 - 1:买方 2:卖方",
  34791. "type": "integer"
  34792. },
  34793. "handlestatus": {
  34794. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  34795. "type": "integer"
  34796. },
  34797. "isauto": {
  34798. "description": "是否自动 - 0:不自动 1:自动",
  34799. "type": "integer"
  34800. },
  34801. "islastreceivestep": {
  34802. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  34803. "type": "integer"
  34804. },
  34805. "minivalue": {
  34806. "description": "现货商品最小变动值",
  34807. "type": "integer"
  34808. },
  34809. "optioncompare": {
  34810. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34811. "type": "string"
  34812. },
  34813. "overdays": {
  34814. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  34815. "type": "integer"
  34816. },
  34817. "performancestepid": {
  34818. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  34819. "type": "string"
  34820. },
  34821. "planid": {
  34822. "description": "所属履约计划ID",
  34823. "type": "string"
  34824. },
  34825. "realamount": {
  34826. "description": "实际完成金额",
  34827. "type": "number"
  34828. },
  34829. "relatedorderid": {
  34830. "description": "关联单号",
  34831. "type": "string"
  34832. },
  34833. "remaindays": {
  34834. "description": "剩余天数",
  34835. "type": "integer"
  34836. },
  34837. "remark": {
  34838. "description": "错误备注",
  34839. "type": "string"
  34840. },
  34841. "starttime": {
  34842. "description": "开始日期",
  34843. "type": "string"
  34844. },
  34845. "stepamount": {
  34846. "description": "步骤金额",
  34847. "type": "number"
  34848. },
  34849. "stepdays": {
  34850. "description": "距离上一步天数(分钟)",
  34851. "type": "integer"
  34852. },
  34853. "stepindex": {
  34854. "description": "步骤序号",
  34855. "type": "integer"
  34856. },
  34857. "steplanchtype": {
  34858. "description": "步骤启动类型 - 1:系统自动 2:手动",
  34859. "type": "integer"
  34860. },
  34861. "stepremark": {
  34862. "description": "步骤备注",
  34863. "type": "string"
  34864. },
  34865. "stepstatus": {
  34866. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  34867. "type": "integer"
  34868. },
  34869. "steptypeid": {
  34870. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34871. "type": "integer"
  34872. },
  34873. "steptypename": {
  34874. "description": "步骤名称",
  34875. "type": "string"
  34876. },
  34877. "stepvalue": {
  34878. "description": "步骤值",
  34879. "type": "number"
  34880. },
  34881. "warehouseid": {
  34882. "description": "仓库ID",
  34883. "type": "integer"
  34884. },
  34885. "warehousename": {
  34886. "description": "仓库名称",
  34887. "type": "string"
  34888. },
  34889. "wrfactortypeid": {
  34890. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34891. "type": "string"
  34892. },
  34893. "wrfactortypename": {
  34894. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34895. "type": "string"
  34896. },
  34897. "wrstandardcode": {
  34898. "description": "现货商品代码",
  34899. "type": "string"
  34900. },
  34901. "wrstandardid": {
  34902. "description": "现货商品ID",
  34903. "type": "integer"
  34904. },
  34905. "wrstandardname": {
  34906. "description": "商品名称",
  34907. "type": "string"
  34908. },
  34909. "wrtypename": {
  34910. "description": "商品",
  34911. "type": "string"
  34912. }
  34913. }
  34914. },
  34915. "models.WrPerformanceStepType": {
  34916. "type": "object",
  34917. "properties": {
  34918. "canauto": {
  34919. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  34920. "type": "integer"
  34921. },
  34922. "steptypeid": {
  34923. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  34924. "type": "integer"
  34925. },
  34926. "steptypename": {
  34927. "description": "步骤类型名称",
  34928. "type": "string"
  34929. }
  34930. }
  34931. },
  34932. "models.WrPerformanceTemplateEx": {
  34933. "type": "object",
  34934. "properties": {
  34935. "autoid": {
  34936. "description": "AutoID 模板id",
  34937. "type": "integer"
  34938. },
  34939. "createtime": {
  34940. "description": "创建时间",
  34941. "type": "string"
  34942. },
  34943. "creatorid": {
  34944. "description": "创建人",
  34945. "type": "integer"
  34946. },
  34947. "lstStep": {
  34948. "description": "步骤信息列表",
  34949. "type": "array",
  34950. "items": {
  34951. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34952. }
  34953. },
  34954. "paymenttype": {
  34955. "description": "支付方式 - 1:冻结 2:扣款",
  34956. "type": "integer"
  34957. },
  34958. "takemode": {
  34959. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  34960. "type": "integer"
  34961. },
  34962. "templatename": {
  34963. "description": "模板名称",
  34964. "type": "string"
  34965. },
  34966. "templatetype": {
  34967. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  34968. "type": "integer"
  34969. },
  34970. "userid": {
  34971. "description": "所属用户",
  34972. "type": "integer"
  34973. }
  34974. }
  34975. },
  34976. "models.WrPosition": {
  34977. "type": "object",
  34978. "properties": {
  34979. "accountid": {
  34980. "description": "帐户ID",
  34981. "type": "integer"
  34982. },
  34983. "buyexcuteqty": {
  34984. "description": "采购履约中数量",
  34985. "type": "number"
  34986. },
  34987. "creditcurqty": {
  34988. "description": "授信当前数量(预售仓单:预售当前量)",
  34989. "type": "number"
  34990. },
  34991. "creditenableqty": {
  34992. "description": "授信可用数量(预售仓单: 可用数量)",
  34993. "type": "number"
  34994. },
  34995. "creditfreezeqty": {
  34996. "description": "授信冻结数量(预售仓单: 当前数量)",
  34997. "type": "number"
  34998. },
  34999. "credittotalqty": {
  35000. "description": "授信总数量(预售仓单:预售总量)",
  35001. "type": "number"
  35002. },
  35003. "credittradeqty": {
  35004. "description": "授信成交数量(预售仓单:成交总量)",
  35005. "type": "number"
  35006. },
  35007. "deliverygoodscode": {
  35008. "description": "品种代码",
  35009. "type": "string"
  35010. },
  35011. "deliverygoodsid": {
  35012. "description": "品种ID",
  35013. "type": "integer"
  35014. },
  35015. "deliverygoodsname": {
  35016. "description": "品种名称",
  35017. "type": "string"
  35018. },
  35019. "enalbeqty": {
  35020. "description": "可用数量",
  35021. "type": "number"
  35022. },
  35023. "enumdicname": {
  35024. "description": "单位名称",
  35025. "type": "string"
  35026. },
  35027. "freezeqty": {
  35028. "description": "总冻结数量",
  35029. "type": "number"
  35030. },
  35031. "haswr": {
  35032. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35033. "type": "integer"
  35034. },
  35035. "minivalue": {
  35036. "description": "现货商品最小变动值",
  35037. "type": "integer"
  35038. },
  35039. "modifytime": {
  35040. "description": "修改时间(过户时间)",
  35041. "type": "string"
  35042. },
  35043. "optioncompare": {
  35044. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35045. "type": "string"
  35046. },
  35047. "pledgeqty": {
  35048. "description": "质押数量",
  35049. "type": "number"
  35050. },
  35051. "querytype": {
  35052. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35053. "type": "integer"
  35054. },
  35055. "sellexcuteqty": {
  35056. "description": "销售履约中数量",
  35057. "type": "number"
  35058. },
  35059. "totalqty": {
  35060. "description": "总数量(库存数量)",
  35061. "type": "number"
  35062. },
  35063. "warehouseid": {
  35064. "description": "仓库ID",
  35065. "type": "integer"
  35066. },
  35067. "warehousename": {
  35068. "description": "仓库名称",
  35069. "type": "string"
  35070. },
  35071. "wrfactortypeid": {
  35072. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35073. "type": "string"
  35074. },
  35075. "wrfactortypename": {
  35076. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35077. "type": "string"
  35078. },
  35079. "wrpositionid": {
  35080. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35081. "type": "string"
  35082. },
  35083. "wrpositionno": {
  35084. "description": "仓单编号",
  35085. "type": "string"
  35086. },
  35087. "wrstandardcode": {
  35088. "description": "现货商品代码",
  35089. "type": "string"
  35090. },
  35091. "wrstandardid": {
  35092. "description": "现货商品ID",
  35093. "type": "integer"
  35094. },
  35095. "wrstandardname": {
  35096. "description": "商品名称",
  35097. "type": "string"
  35098. },
  35099. "wrtypename": {
  35100. "description": "商品",
  35101. "type": "string"
  35102. },
  35103. "wruserid": {
  35104. "description": "持有人ID",
  35105. "type": "integer"
  35106. }
  35107. }
  35108. },
  35109. "models.WrQuoteOrderMyq": {
  35110. "type": "object",
  35111. "properties": {
  35112. "buyorsell": {
  35113. "description": "买卖 - 0:买 1:卖",
  35114. "type": "integer"
  35115. },
  35116. "canbargain": {
  35117. "description": "是否可议价 - 0:不可 1:可",
  35118. "type": "integer"
  35119. },
  35120. "canpart": {
  35121. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35122. "type": "integer"
  35123. },
  35124. "delistminqty": {
  35125. "description": "起摘数量",
  35126. "type": "number"
  35127. },
  35128. "deliverygoodscode": {
  35129. "description": "品种代码",
  35130. "type": "string"
  35131. },
  35132. "deliverygoodsid": {
  35133. "description": "品种ID",
  35134. "type": "integer"
  35135. },
  35136. "deliverygoodsname": {
  35137. "description": "品种名称",
  35138. "type": "string"
  35139. },
  35140. "deliverymonth": {
  35141. "description": "交收月",
  35142. "type": "string"
  35143. },
  35144. "enumdicname": {
  35145. "description": "单位名称",
  35146. "type": "string"
  35147. },
  35148. "fixedprice": {
  35149. "description": "买(卖)价",
  35150. "type": "number"
  35151. },
  35152. "goodscode": {
  35153. "description": "商品合约代码",
  35154. "type": "string"
  35155. },
  35156. "marginflag": {
  35157. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35158. "type": "integer"
  35159. },
  35160. "marginvalue": {
  35161. "description": "保证金设置值",
  35162. "type": "number"
  35163. },
  35164. "minivalue": {
  35165. "description": "现货商品最小变动值",
  35166. "type": "integer"
  35167. },
  35168. "orderqty": {
  35169. "description": "买(卖)量(=委托量-成交量)",
  35170. "type": "number"
  35171. },
  35172. "ordertime": {
  35173. "description": "委托时间",
  35174. "type": "string"
  35175. },
  35176. "performancetemplateid": {
  35177. "description": "履约模板id",
  35178. "type": "integer"
  35179. },
  35180. "pricemove": {
  35181. "description": "买(卖)升贴水- 基差",
  35182. "type": "number"
  35183. },
  35184. "templatename": {
  35185. "description": "履约模板名称",
  35186. "type": "string"
  35187. },
  35188. "userid": {
  35189. "description": "购买方(销售方)用户ID",
  35190. "type": "integer"
  35191. },
  35192. "username": {
  35193. "description": "购买方(销售方)",
  35194. "type": "string"
  35195. },
  35196. "validtime": {
  35197. "description": "有效期限",
  35198. "type": "string"
  35199. },
  35200. "validtype": {
  35201. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35202. "type": "integer"
  35203. },
  35204. "warehousename": {
  35205. "description": "仓库名称",
  35206. "type": "string"
  35207. },
  35208. "wrfactortypeid": {
  35209. "description": "仓单要素id",
  35210. "type": "string"
  35211. },
  35212. "wrstandardcode": {
  35213. "description": "现货商品代码",
  35214. "type": "string"
  35215. },
  35216. "wrstandardid": {
  35217. "description": "现货商品ID",
  35218. "type": "integer"
  35219. },
  35220. "wrstandardname": {
  35221. "description": "商品名称",
  35222. "type": "string"
  35223. },
  35224. "wrtradeorderid": {
  35225. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35226. "type": "string"
  35227. },
  35228. "wrtypename": {
  35229. "description": "商品",
  35230. "type": "string"
  35231. }
  35232. }
  35233. },
  35234. "models.WrScfContract": {
  35235. "type": "object",
  35236. "properties": {
  35237. "borroweruserid": {
  35238. "description": "借款用户ID",
  35239. "type": "integer"
  35240. },
  35241. "buybackwrpositionqty": {
  35242. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35243. "type": "number"
  35244. },
  35245. "closeinterest": {
  35246. "description": "已结利息 -\u003e 已结费用",
  35247. "type": "number"
  35248. },
  35249. "currisklevel": {
  35250. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35251. "type": "integer"
  35252. },
  35253. "deadline": {
  35254. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35255. "type": "string"
  35256. },
  35257. "deliverygoodscode": {
  35258. "description": "品种代码",
  35259. "type": "string"
  35260. },
  35261. "deliverygoodsid": {
  35262. "description": "品种ID",
  35263. "type": "integer"
  35264. },
  35265. "deliverygoodsname": {
  35266. "description": "品种名称",
  35267. "type": "string"
  35268. },
  35269. "enumdicname": {
  35270. "description": "单位名称",
  35271. "type": "string"
  35272. },
  35273. "financingdays": {
  35274. "description": "天数(天)",
  35275. "type": "integer"
  35276. },
  35277. "initmargin": {
  35278. "description": "保证金 - [仓单回购]",
  35279. "type": "number"
  35280. },
  35281. "interestamount": {
  35282. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35283. "type": "number"
  35284. },
  35285. "interestdebt": {
  35286. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  35287. "type": "number"
  35288. },
  35289. "interestminlen": {
  35290. "description": "最小起息天数",
  35291. "type": "integer"
  35292. },
  35293. "interestrate": {
  35294. "description": "利率",
  35295. "type": "number"
  35296. },
  35297. "interestratemode": {
  35298. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35299. "type": "integer"
  35300. },
  35301. "interestsettlemode": {
  35302. "description": "结息方式 - 1:按日结息 3:按月结息",
  35303. "type": "integer"
  35304. },
  35305. "interestsettlevalue": {
  35306. "description": "结息方式值",
  35307. "type": "integer"
  35308. },
  35309. "isautoloan": {
  35310. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  35311. "type": "integer"
  35312. },
  35313. "lastcloseinterestday": {
  35314. "description": "最近结息日(yyyyMMdd)",
  35315. "type": "string"
  35316. },
  35317. "lenderamount": {
  35318. "description": "贷款金额 -\u003e 借款金额",
  35319. "type": "number"
  35320. },
  35321. "lenderuserid": {
  35322. "description": "贷款方用户ID -\u003e 融出方用户ID",
  35323. "type": "integer"
  35324. },
  35325. "lenderusername": {
  35326. "description": "融出方",
  35327. "type": "string"
  35328. },
  35329. "marginratio": {
  35330. "description": "保证金比率质押率 - [仓单质押]",
  35331. "type": "number"
  35332. },
  35333. "marketid": {
  35334. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  35335. "type": "integer"
  35336. },
  35337. "minivalue": {
  35338. "description": "现货商品最小变动值",
  35339. "type": "integer"
  35340. },
  35341. "optioncompare": {
  35342. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35343. "type": "string"
  35344. },
  35345. "pricemove": {
  35346. "description": "估值升贴水值",
  35347. "type": "number"
  35348. },
  35349. "productdetailid": {
  35350. "description": "产品组合ID",
  35351. "type": "integer"
  35352. },
  35353. "productid": {
  35354. "description": "金融产品ID",
  35355. "type": "integer"
  35356. },
  35357. "productname": {
  35358. "description": "产品名称",
  35359. "type": "string"
  35360. },
  35361. "remainamount": {
  35362. "description": "合同剩余金额 -\u003e 剩余金额",
  35363. "type": "number"
  35364. },
  35365. "remainwrpositionqty": {
  35366. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  35367. "type": "number"
  35368. },
  35369. "remark": {
  35370. "description": "备注",
  35371. "type": "string"
  35372. },
  35373. "scfcontractid": {
  35374. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35375. "type": "string"
  35376. },
  35377. "scfcontractstatus": {
  35378. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35379. "type": "integer"
  35380. },
  35381. "scfcontracttype": {
  35382. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  35383. "type": "integer"
  35384. },
  35385. "startinterestday": {
  35386. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  35387. "type": "string"
  35388. },
  35389. "totalinterest": {
  35390. "description": "已计利息 -\u003e 已计费用",
  35391. "type": "number"
  35392. },
  35393. "unpaidinterest": {
  35394. "description": "未结费用",
  35395. "type": "number"
  35396. },
  35397. "updatetime": {
  35398. "description": "更新时间",
  35399. "type": "string"
  35400. },
  35401. "warehouseid": {
  35402. "description": "仓库ID",
  35403. "type": "integer"
  35404. },
  35405. "warehousename": {
  35406. "description": "仓库名称",
  35407. "type": "string"
  35408. },
  35409. "wrfactortypeid": {
  35410. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35411. "type": "string"
  35412. },
  35413. "wrfactortypename": {
  35414. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35415. "type": "string"
  35416. },
  35417. "wrqty": {
  35418. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  35419. "type": "number"
  35420. },
  35421. "wrstandardcode": {
  35422. "description": "现货商品代码",
  35423. "type": "string"
  35424. },
  35425. "wrstandardid": {
  35426. "description": "现货商品ID",
  35427. "type": "integer"
  35428. },
  35429. "wrstandardname": {
  35430. "description": "商品名称",
  35431. "type": "string"
  35432. },
  35433. "wrtypename": {
  35434. "description": "商品",
  35435. "type": "string"
  35436. }
  35437. }
  35438. },
  35439. "models.WrScfContractInterest": {
  35440. "type": "object",
  35441. "properties": {
  35442. "closeinterest": {
  35443. "description": "已结利息",
  35444. "type": "number"
  35445. },
  35446. "closeintereststatus": {
  35447. "description": "结息状态 - 1:未结 2:已结",
  35448. "type": "integer"
  35449. },
  35450. "closetime": {
  35451. "description": "结息时间",
  35452. "type": "string"
  35453. },
  35454. "closetradedate": {
  35455. "description": "结息交易日",
  35456. "type": "string"
  35457. },
  35458. "creatorid": {
  35459. "description": "操作人ID",
  35460. "type": "integer"
  35461. },
  35462. "dayrate": {
  35463. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  35464. "type": "number"
  35465. },
  35466. "interest": {
  35467. "description": "利息",
  35468. "type": "number"
  35469. },
  35470. "interestamount": {
  35471. "description": "计息金额",
  35472. "type": "number"
  35473. },
  35474. "interestday": {
  35475. "description": "计息日(yyyyMMdd)",
  35476. "type": "string"
  35477. },
  35478. "scfcontractid": {
  35479. "description": "SCF合同ID",
  35480. "type": "string"
  35481. },
  35482. "scfcontractinterestid": {
  35483. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  35484. "type": "integer"
  35485. },
  35486. "updatetime": {
  35487. "description": "更新时间",
  35488. "type": "string"
  35489. }
  35490. }
  35491. },
  35492. "models.WrSpecialMatchOrder": {
  35493. "type": "object",
  35494. "properties": {
  35495. "amount": {
  35496. "description": "金额 = 数量 * 价格",
  35497. "type": "number"
  35498. },
  35499. "buyorsell": {
  35500. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35501. "type": "integer"
  35502. },
  35503. "cancelqty": {
  35504. "description": "撤销数量",
  35505. "type": "number"
  35506. },
  35507. "deliverygoodscode": {
  35508. "description": "品种代码",
  35509. "type": "string"
  35510. },
  35511. "deliverygoodsid": {
  35512. "description": "品种ID",
  35513. "type": "integer"
  35514. },
  35515. "deliverygoodsname": {
  35516. "description": "品种名称",
  35517. "type": "string"
  35518. },
  35519. "enumdicname": {
  35520. "description": "单位名称",
  35521. "type": "string"
  35522. },
  35523. "fixedprice": {
  35524. "description": "固定价格(价格)",
  35525. "type": "number"
  35526. },
  35527. "haswr": {
  35528. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35529. "type": "integer"
  35530. },
  35531. "marketid": {
  35532. "description": "市场ID",
  35533. "type": "integer"
  35534. },
  35535. "matchuserid": {
  35536. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  35537. "type": "integer"
  35538. },
  35539. "matchusername": {
  35540. "description": "指定方",
  35541. "type": "string"
  35542. },
  35543. "minivalue": {
  35544. "description": "现货商品最小变动值",
  35545. "type": "integer"
  35546. },
  35547. "optioncompare": {
  35548. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35549. "type": "string"
  35550. },
  35551. "orderqty": {
  35552. "description": "委托数量",
  35553. "type": "number"
  35554. },
  35555. "ordertime": {
  35556. "description": "委托时间",
  35557. "type": "string"
  35558. },
  35559. "pricemove": {
  35560. "description": "升贴水(浮动价时填写) - [挂牌]",
  35561. "type": "number"
  35562. },
  35563. "tradedate": {
  35564. "description": "交易日(yyyyMMdd)",
  35565. "type": "string"
  35566. },
  35567. "tradeprice": {
  35568. "description": "成交价格",
  35569. "type": "number"
  35570. },
  35571. "tradeqty": {
  35572. "description": "成交数量",
  35573. "type": "number"
  35574. },
  35575. "userid": {
  35576. "description": "用户ID",
  35577. "type": "integer"
  35578. },
  35579. "username": {
  35580. "description": "发起方",
  35581. "type": "string"
  35582. },
  35583. "warehouseid": {
  35584. "description": "仓库ID",
  35585. "type": "integer"
  35586. },
  35587. "warehousename": {
  35588. "description": "仓库名称",
  35589. "type": "string"
  35590. },
  35591. "wrfactortypeid": {
  35592. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35593. "type": "string"
  35594. },
  35595. "wrfactortypename": {
  35596. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35597. "type": "string"
  35598. },
  35599. "wrpricetype": {
  35600. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35601. "type": "integer"
  35602. },
  35603. "wrstandardcode": {
  35604. "description": "现货商品代码",
  35605. "type": "string"
  35606. },
  35607. "wrstandardid": {
  35608. "description": "现货商品ID",
  35609. "type": "integer"
  35610. },
  35611. "wrstandardname": {
  35612. "description": "商品名称",
  35613. "type": "string"
  35614. },
  35615. "wrtradeorderid": {
  35616. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35617. "type": "string"
  35618. },
  35619. "wrtradeorderstatus": {
  35620. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  35621. "type": "integer"
  35622. },
  35623. "wrtradetype": {
  35624. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35625. "type": "integer"
  35626. },
  35627. "wrtypename": {
  35628. "description": "商品",
  35629. "type": "string"
  35630. }
  35631. }
  35632. },
  35633. "models.WrStandardFactoryItem": {
  35634. "type": "object",
  35635. "properties": {
  35636. "dgfactoryitemid": {
  35637. "description": "选择项id",
  35638. "type": "integer"
  35639. },
  35640. "dgfactoryitemvalue": {
  35641. "description": "要素项值",
  35642. "type": "string"
  35643. },
  35644. "warehouseid": {
  35645. "description": "仓库id",
  35646. "type": "integer"
  35647. }
  35648. }
  35649. },
  35650. "models.WrStandardFactoryItemEx": {
  35651. "type": "object",
  35652. "properties": {
  35653. "dgfactoryitemtypeid": {
  35654. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  35655. "type": "integer"
  35656. },
  35657. "itemlst": {
  35658. "description": "要素项列表",
  35659. "type": "array",
  35660. "items": {
  35661. "$ref": "#/definitions/models.WrStandardFactoryItem"
  35662. }
  35663. },
  35664. "itemtypename": {
  35665. "description": "要素项类型名称",
  35666. "type": "string"
  35667. },
  35668. "wrstandardid": {
  35669. "description": "品类",
  35670. "type": "integer"
  35671. }
  35672. }
  35673. },
  35674. "models.WrTradeDetail": {
  35675. "type": "object",
  35676. "properties": {
  35677. "accountid": {
  35678. "description": "资金账号",
  35679. "type": "integer"
  35680. },
  35681. "buyorsell": {
  35682. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35683. "type": "integer"
  35684. },
  35685. "chargevalue": {
  35686. "description": "手续费",
  35687. "type": "number"
  35688. },
  35689. "deliverygoodscode": {
  35690. "description": "品种代码",
  35691. "type": "string"
  35692. },
  35693. "deliverygoodsid": {
  35694. "description": "品种ID",
  35695. "type": "integer"
  35696. },
  35697. "deliverygoodsname": {
  35698. "description": "品种名称",
  35699. "type": "string"
  35700. },
  35701. "deliverymonth": {
  35702. "description": "交收月",
  35703. "type": "string"
  35704. },
  35705. "enumdicname": {
  35706. "description": "单位名称",
  35707. "type": "string"
  35708. },
  35709. "haswr": {
  35710. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35711. "type": "integer"
  35712. },
  35713. "marketid": {
  35714. "description": "市场ID",
  35715. "type": "integer"
  35716. },
  35717. "matchaccountid": {
  35718. "description": "对手账号",
  35719. "type": "integer"
  35720. },
  35721. "matchusername": {
  35722. "description": "对手方",
  35723. "type": "string"
  35724. },
  35725. "minivalue": {
  35726. "description": "现货商品最小变动值",
  35727. "type": "integer"
  35728. },
  35729. "optioncompare": {
  35730. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35731. "type": "string"
  35732. },
  35733. "tradedate": {
  35734. "description": "交易日(yyyyMMdd)",
  35735. "type": "string"
  35736. },
  35737. "tradeprice": {
  35738. "description": "成交价格",
  35739. "type": "number"
  35740. },
  35741. "tradeqty": {
  35742. "description": "成交数量",
  35743. "type": "number"
  35744. },
  35745. "tradetime": {
  35746. "description": "成交时间",
  35747. "type": "string"
  35748. },
  35749. "userid": {
  35750. "description": "用户ID",
  35751. "type": "integer"
  35752. },
  35753. "warehouseid": {
  35754. "description": "仓库ID",
  35755. "type": "integer"
  35756. },
  35757. "warehousename": {
  35758. "description": "仓库名称",
  35759. "type": "string"
  35760. },
  35761. "wrfactortypeid": {
  35762. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35763. "type": "string"
  35764. },
  35765. "wrfactortypename": {
  35766. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35767. "type": "string"
  35768. },
  35769. "wrstandardcode": {
  35770. "description": "现货商品代码",
  35771. "type": "string"
  35772. },
  35773. "wrstandardid": {
  35774. "description": "现货商品ID",
  35775. "type": "integer"
  35776. },
  35777. "wrstandardname": {
  35778. "description": "商品名称",
  35779. "type": "string"
  35780. },
  35781. "wrtradedetailid": {
  35782. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35783. "type": "string"
  35784. },
  35785. "wrtradetype": {
  35786. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35787. "type": "integer"
  35788. },
  35789. "wrtypename": {
  35790. "description": "商品",
  35791. "type": "string"
  35792. }
  35793. }
  35794. },
  35795. "models.WrTradeOrderDetail": {
  35796. "type": "object",
  35797. "properties": {
  35798. "buyorsell": {
  35799. "description": "买卖方向 0-买 1-卖",
  35800. "type": "integer"
  35801. },
  35802. "goodsid": {
  35803. "description": "商品id",
  35804. "type": "integer"
  35805. },
  35806. "orderid": {
  35807. "description": "委托单号",
  35808. "type": "string"
  35809. },
  35810. "orderprice": {
  35811. "description": "委托价格",
  35812. "type": "number"
  35813. },
  35814. "orderqty": {
  35815. "description": "委托数量",
  35816. "type": "integer"
  35817. },
  35818. "userid": {
  35819. "description": "用户id",
  35820. "type": "integer"
  35821. },
  35822. "username": {
  35823. "description": "用户名称(已脱敏)",
  35824. "type": "string"
  35825. }
  35826. }
  35827. },
  35828. "models.WrTypeItem": {
  35829. "type": "object",
  35830. "properties": {
  35831. "name": {
  35832. "description": "名称",
  35833. "type": "string"
  35834. },
  35835. "value": {
  35836. "description": "值",
  35837. "type": "string"
  35838. }
  35839. }
  35840. },
  35841. "models.WrUserFriend": {
  35842. "type": "object",
  35843. "properties": {
  35844. "friendname": {
  35845. "description": "朋友名称(已脱敏)",
  35846. "type": "string"
  35847. },
  35848. "frienduserid": {
  35849. "description": "朋友id",
  35850. "type": "integer"
  35851. },
  35852. "isfriend": {
  35853. "description": "是否好友 0-不是 1-是",
  35854. "type": "integer"
  35855. },
  35856. "userid": {
  35857. "description": "用户id",
  35858. "type": "integer"
  35859. }
  35860. }
  35861. },
  35862. "models.XHBRAND": {
  35863. "type": "object",
  35864. "properties": {
  35865. "brandid": {
  35866. "description": "品牌id",
  35867. "type": "integer"
  35868. },
  35869. "brandname": {
  35870. "description": "品牌名称",
  35871. "type": "string"
  35872. }
  35873. }
  35874. },
  35875. "models.XHDeliveryGoods": {
  35876. "type": "object",
  35877. "properties": {
  35878. "areauserid": {
  35879. "description": "所属机构",
  35880. "type": "integer"
  35881. },
  35882. "bdlst": {
  35883. "description": "品牌列表",
  35884. "type": "array",
  35885. "items": {
  35886. "$ref": "#/definitions/models.XHBRAND"
  35887. }
  35888. },
  35889. "deliverygoodscode": {
  35890. "description": "现货品种代码",
  35891. "type": "string"
  35892. },
  35893. "deliverygoodsid": {
  35894. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35895. "type": "integer"
  35896. },
  35897. "deliverygoodsname": {
  35898. "description": "现货品种名称",
  35899. "type": "string"
  35900. },
  35901. "dgstatus": {
  35902. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  35903. "type": "integer"
  35904. },
  35905. "isvalid": {
  35906. "description": "是否有效 - 0:无效 1:有效",
  35907. "type": "integer"
  35908. },
  35909. "remark": {
  35910. "description": "备注",
  35911. "type": "string"
  35912. },
  35913. "unitid": {
  35914. "description": "单位id(目前看,数据库中是空值)",
  35915. "type": "integer"
  35916. },
  35917. "wdlst": {
  35918. "description": "品类(现货商品)列表",
  35919. "type": "array",
  35920. "items": {
  35921. "$ref": "#/definitions/models.XHWrstandard"
  35922. }
  35923. }
  35924. }
  35925. },
  35926. "models.XHMiddleGoods": {
  35927. "type": "object",
  35928. "properties": {
  35929. "convertratio": {
  35930. "description": "拆算系数",
  35931. "type": "number"
  35932. },
  35933. "enumdicname": {
  35934. "description": "单位名称",
  35935. "type": "string"
  35936. },
  35937. "gplst": {
  35938. "description": "期货品种列表",
  35939. "type": "array",
  35940. "items": {
  35941. "$ref": "#/definitions/models.TBGoodsGroup"
  35942. }
  35943. },
  35944. "middlegoodscode": {
  35945. "description": "套保品种代码",
  35946. "type": "string"
  35947. },
  35948. "middlegoodsid": {
  35949. "description": "套保品种id",
  35950. "type": "integer"
  35951. },
  35952. "middlegoodsname": {
  35953. "description": "套保品种名称",
  35954. "type": "string"
  35955. },
  35956. "unitid": {
  35957. "description": "单位id",
  35958. "type": "integer"
  35959. }
  35960. }
  35961. },
  35962. "models.XHWrstandard": {
  35963. "type": "object",
  35964. "properties": {
  35965. "deliverygoodsid": {
  35966. "description": "品种ID",
  35967. "type": "integer"
  35968. },
  35969. "enumdicname": {
  35970. "description": "单位名称",
  35971. "type": "string"
  35972. },
  35973. "mglst": {
  35974. "description": "套保品列表",
  35975. "type": "array",
  35976. "items": {
  35977. "$ref": "#/definitions/models.XHMiddleGoods"
  35978. }
  35979. },
  35980. "unitid": {
  35981. "description": "单位id",
  35982. "type": "integer"
  35983. },
  35984. "vatrate": {
  35985. "description": "增值税率",
  35986. "type": "number"
  35987. },
  35988. "wrstandardcode": {
  35989. "description": "现货商品代码",
  35990. "type": "string"
  35991. },
  35992. "wrstandardid": {
  35993. "description": "现货商品ID(SEQ_WRSTANDARD)",
  35994. "type": "integer"
  35995. },
  35996. "wrstandardname": {
  35997. "description": "现货商品名称",
  35998. "type": "string"
  35999. }
  36000. }
  36001. },
  36002. "order.QueryHisTradeDetailRsp": {
  36003. "type": "object",
  36004. "required": [
  36005. "accountid",
  36006. "buyorsell",
  36007. "goodsid",
  36008. "histradedate",
  36009. "marketid",
  36010. "memberuserid",
  36011. "orderid",
  36012. "tradeamount",
  36013. "tradedate",
  36014. "tradeid",
  36015. "tradeprice",
  36016. "tradeqty",
  36017. "tradetime"
  36018. ],
  36019. "properties": {
  36020. "accountid": {
  36021. "description": "账户ID[报价币种]",
  36022. "type": "integer"
  36023. },
  36024. "advanceratio": {
  36025. "description": "首付比率",
  36026. "type": "number"
  36027. },
  36028. "buildtype": {
  36029. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36030. "type": "integer"
  36031. },
  36032. "buyorsell": {
  36033. "description": "方向 - 0:买 1:卖",
  36034. "type": "integer"
  36035. },
  36036. "charge": {
  36037. "description": "手续费",
  36038. "type": "number"
  36039. },
  36040. "closecharge": {
  36041. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36042. "type": "number"
  36043. },
  36044. "closeexchagechargevalue": {
  36045. "description": "平仓交易所手续费设置值",
  36046. "type": "number"
  36047. },
  36048. "closefeealgorithm": {
  36049. "description": "平仓手续费收取方式 1:比率 2:固定",
  36050. "type": "integer"
  36051. },
  36052. "closememberchargevalue": {
  36053. "description": "平仓会员手续费设置值",
  36054. "type": "number"
  36055. },
  36056. "closepl": {
  36057. "description": "平仓盈亏",
  36058. "type": "number"
  36059. },
  36060. "closepl2": {
  36061. "description": "平仓盈亏[逐笔]",
  36062. "type": "number"
  36063. },
  36064. "closeqty": {
  36065. "description": "平仓数量(先建后平操作 需要记录)",
  36066. "type": "number"
  36067. },
  36068. "creditamount": {
  36069. "description": "授信金额",
  36070. "type": "number"
  36071. },
  36072. "decimalplace": {
  36073. "description": "商品报价小数位",
  36074. "type": "integer"
  36075. },
  36076. "enumdicname": {
  36077. "description": "单位名称",
  36078. "type": "string"
  36079. },
  36080. "gcaccountid": {
  36081. "description": "账户ID[合约币种]",
  36082. "type": "integer"
  36083. },
  36084. "goodscode": {
  36085. "description": "商品代码",
  36086. "type": "string"
  36087. },
  36088. "goodsid": {
  36089. "description": "商品ID",
  36090. "type": "integer"
  36091. },
  36092. "goodsname": {
  36093. "description": "商品名称",
  36094. "type": "string"
  36095. },
  36096. "goodunitid": {
  36097. "description": "商品单位id",
  36098. "type": "integer"
  36099. },
  36100. "histradedate": {
  36101. "description": "历史交易日",
  36102. "type": "string"
  36103. },
  36104. "intclosepl": {
  36105. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36106. "type": "integer"
  36107. },
  36108. "isconfirmexercise": {
  36109. "description": "是否确认行权- 0:否 1:是",
  36110. "type": "integer"
  36111. },
  36112. "ismain": {
  36113. "description": "是否主单 - 0:不是 1:是",
  36114. "type": "integer"
  36115. },
  36116. "ispreexercise": {
  36117. "description": "是否预申报- 0:否 1:是",
  36118. "type": "integer"
  36119. },
  36120. "isreckoned": {
  36121. "description": "是否结算 - 0:未结算 1:已结算",
  36122. "type": "integer"
  36123. },
  36124. "isvaliddata": {
  36125. "description": "是否有效 - 0:无效 1:有效",
  36126. "type": "integer"
  36127. },
  36128. "listingselecttype": {
  36129. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36130. "type": "integer"
  36131. },
  36132. "marketid": {
  36133. "description": "市场ID",
  36134. "type": "integer"
  36135. },
  36136. "marketname": {
  36137. "description": "市场名称",
  36138. "type": "string"
  36139. },
  36140. "matchaccountid": {
  36141. "description": "对手账号id",
  36142. "type": "integer"
  36143. },
  36144. "memberuserid": {
  36145. "description": "会员id 个人投资者 需要填写",
  36146. "type": "integer"
  36147. },
  36148. "opencharge": {
  36149. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36150. "type": "number"
  36151. },
  36152. "openexchagechargevalue": {
  36153. "description": "建仓交易所手续费设置值",
  36154. "type": "number"
  36155. },
  36156. "openfeealgorithm": {
  36157. "description": "建仓手续费收取方式 1:比率 2:固定",
  36158. "type": "integer"
  36159. },
  36160. "openmemberchargevalue": {
  36161. "description": "建仓会员手续费设置值",
  36162. "type": "number"
  36163. },
  36164. "openqty": {
  36165. "description": "开仓数量(先建后平操作 需要记录)",
  36166. "type": "number"
  36167. },
  36168. "optiontype": {
  36169. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36170. "type": "integer"
  36171. },
  36172. "orderid": {
  36173. "description": "委托单号",
  36174. "type": "string"
  36175. },
  36176. "payamount": {
  36177. "description": "支付金额(付款金额)",
  36178. "type": "number"
  36179. },
  36180. "performanceplanid": {
  36181. "description": "履约计划ID[期权]",
  36182. "type": "integer"
  36183. },
  36184. "performancestatus": {
  36185. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36186. "type": "integer"
  36187. },
  36188. "preexerciseprice": {
  36189. "description": "预申报价格",
  36190. "type": "number"
  36191. },
  36192. "premium": {
  36193. "description": "权利金 - [持仓单的权利金]",
  36194. "type": "number"
  36195. },
  36196. "qtydecimalplace": {
  36197. "description": "商品报价小数位",
  36198. "type": "integer"
  36199. },
  36200. "recvamount": {
  36201. "description": "到账金额 = 成交金额 - 手续费",
  36202. "type": "number"
  36203. },
  36204. "relatedouttradeid": {
  36205. "description": "关联外部成交单ID",
  36206. "type": "integer"
  36207. },
  36208. "status": {
  36209. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36210. "type": "integer"
  36211. },
  36212. "totalamount": {
  36213. "description": "订单总额 = 成交金额 + 手续费",
  36214. "type": "number"
  36215. },
  36216. "tradeamount": {
  36217. "description": "成交金额[账户币种,用于所有权]",
  36218. "type": "number"
  36219. },
  36220. "tradedate": {
  36221. "description": "交易日(yyyyMMdd)",
  36222. "type": "string"
  36223. },
  36224. "tradeid": {
  36225. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36226. "type": "string"
  36227. },
  36228. "trademode": {
  36229. "description": "交易模式",
  36230. "type": "integer"
  36231. },
  36232. "tradeprice": {
  36233. "description": "成交价格",
  36234. "type": "number"
  36235. },
  36236. "tradeproperty": {
  36237. "description": "交易属性",
  36238. "type": "integer"
  36239. },
  36240. "tradeqty": {
  36241. "description": "成交数量",
  36242. "type": "number"
  36243. },
  36244. "tradetime": {
  36245. "description": "成交时间",
  36246. "type": "string"
  36247. },
  36248. "tradetype": {
  36249. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36250. "type": "integer"
  36251. }
  36252. }
  36253. },
  36254. "order.QueryHisTradeOrderDetailRsp": {
  36255. "type": "object",
  36256. "required": [
  36257. "accountid",
  36258. "buildtype",
  36259. "buyorsell",
  36260. "goodsid",
  36261. "histradedate",
  36262. "marketid",
  36263. "memberuserid",
  36264. "operatetype",
  36265. "orderid",
  36266. "orderqty",
  36267. "ordertime",
  36268. "pricemode",
  36269. "tradedate",
  36270. "validtype"
  36271. ],
  36272. "properties": {
  36273. "accountid": {
  36274. "description": "账户ID[报价币种]",
  36275. "type": "integer"
  36276. },
  36277. "buildtype": {
  36278. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36279. "type": "integer"
  36280. },
  36281. "buyorsell": {
  36282. "description": "买卖 - 0:买 1:卖",
  36283. "type": "integer"
  36284. },
  36285. "cancelorderid": {
  36286. "description": "撤单单号(撤单时填写)",
  36287. "type": "string"
  36288. },
  36289. "cancelqty": {
  36290. "description": "撤单数量",
  36291. "type": "number"
  36292. },
  36293. "clientordertime": {
  36294. "description": "客户端委托时间",
  36295. "type": "string"
  36296. },
  36297. "clientticket": {
  36298. "description": "客户端流水号",
  36299. "type": "string"
  36300. },
  36301. "clienttype": {
  36302. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36303. "type": "integer"
  36304. },
  36305. "closeexchagechargevalue": {
  36306. "description": "平仓交易所手续费设置值",
  36307. "type": "number"
  36308. },
  36309. "closefeealgorithm": {
  36310. "description": "平仓手续费收取方式 1:比率 2:固定",
  36311. "type": "integer"
  36312. },
  36313. "closefreezecharge": {
  36314. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36315. "type": "number"
  36316. },
  36317. "closememberchargevalue": {
  36318. "description": "平仓会员手续费设置值",
  36319. "type": "number"
  36320. },
  36321. "closeqty": {
  36322. "description": "平仓数量(先建后平操作 需要记录)",
  36323. "type": "number"
  36324. },
  36325. "closetradeqty": {
  36326. "description": "平仓成交数量(先建后平操作,需要记录)",
  36327. "type": "number"
  36328. },
  36329. "closeunfreezecharge": {
  36330. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36331. "type": "number"
  36332. },
  36333. "decimalplace": {
  36334. "description": "商品报价小数位",
  36335. "type": "integer"
  36336. },
  36337. "delistingtype": {
  36338. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36339. "type": "integer"
  36340. },
  36341. "enumdicname": {
  36342. "description": "单位名称",
  36343. "type": "string"
  36344. },
  36345. "freezecharge": {
  36346. "description": "冻结手续费",
  36347. "type": "number"
  36348. },
  36349. "freezemargin": {
  36350. "description": "冻结保证金(冻结交易金额)",
  36351. "type": "number"
  36352. },
  36353. "gcaccountid": {
  36354. "description": "账户ID[合约币种]",
  36355. "type": "integer"
  36356. },
  36357. "goodscode": {
  36358. "description": "商品代码",
  36359. "type": "string"
  36360. },
  36361. "goodsid": {
  36362. "description": "商品ID",
  36363. "type": "integer"
  36364. },
  36365. "goodsname": {
  36366. "description": "商品名称",
  36367. "type": "string"
  36368. },
  36369. "goodunitid": {
  36370. "description": "商品单位id",
  36371. "type": "integer"
  36372. },
  36373. "histradedate": {
  36374. "description": "历史交易日",
  36375. "type": "string"
  36376. },
  36377. "isconfirmexercise": {
  36378. "description": "是否确认行权- 0:否 1:是",
  36379. "type": "integer"
  36380. },
  36381. "ispreexercise": {
  36382. "description": "是否预申报- 0:否 1:是",
  36383. "type": "integer"
  36384. },
  36385. "isvaliddata": {
  36386. "description": "是否有效 - 0:无效 1:有效",
  36387. "type": "integer"
  36388. },
  36389. "listingselecttype": {
  36390. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36391. "type": "integer"
  36392. },
  36393. "marginalgorithm": {
  36394. "description": "保证金收取方式 1:比率 2:固定",
  36395. "type": "integer"
  36396. },
  36397. "marginvalue": {
  36398. "description": "即市保证金设置值",
  36399. "type": "number"
  36400. },
  36401. "marketid": {
  36402. "description": "市场ID",
  36403. "type": "integer"
  36404. },
  36405. "marketmaxsub": {
  36406. "description": "市价最大偏移范围",
  36407. "type": "number"
  36408. },
  36409. "marketname": {
  36410. "description": "市场名称",
  36411. "type": "string"
  36412. },
  36413. "memberuserid": {
  36414. "description": "所属会员UserID",
  36415. "type": "integer"
  36416. },
  36417. "openexchagechargevalue": {
  36418. "description": "建仓交易所手续费设置值",
  36419. "type": "number"
  36420. },
  36421. "openfeealgorithm": {
  36422. "description": "建仓手续费收取方式 1:比率 2:固定",
  36423. "type": "integer"
  36424. },
  36425. "openfreezecharge": {
  36426. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36427. "type": "number"
  36428. },
  36429. "openmemberchargevalue": {
  36430. "description": "建仓会员手续费设置值",
  36431. "type": "number"
  36432. },
  36433. "openqty": {
  36434. "description": "开仓数量(先建后平操作,需要记录)",
  36435. "type": "number"
  36436. },
  36437. "opentradeqty": {
  36438. "description": "开仓成交数量(先建后平操作,需要记录)",
  36439. "type": "number"
  36440. },
  36441. "openunfreezecharge": {
  36442. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36443. "type": "number"
  36444. },
  36445. "operatetype": {
  36446. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36447. "type": "integer"
  36448. },
  36449. "operatorid": {
  36450. "description": "登录账号(LoginID)",
  36451. "type": "integer"
  36452. },
  36453. "optiontype": {
  36454. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36455. "type": "integer"
  36456. },
  36457. "orderid": {
  36458. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36459. "type": "string"
  36460. },
  36461. "orderprice": {
  36462. "description": "委托价格",
  36463. "type": "number"
  36464. },
  36465. "orderqty": {
  36466. "description": "委托数量",
  36467. "type": "number"
  36468. },
  36469. "ordersrc": {
  36470. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36471. "type": "integer"
  36472. },
  36473. "orderstatus": {
  36474. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36475. "type": "integer"
  36476. },
  36477. "ordertime": {
  36478. "description": "委托时间",
  36479. "type": "string"
  36480. },
  36481. "preexerciseprice": {
  36482. "description": "预申报价格",
  36483. "type": "number"
  36484. },
  36485. "premium": {
  36486. "description": "权利金",
  36487. "type": "number"
  36488. },
  36489. "preorderid": {
  36490. "description": "关联预埋单号(止盈止损单时填写)",
  36491. "type": "string"
  36492. },
  36493. "pricemode": {
  36494. "description": "取价方式 - 1:市价 2: 限价",
  36495. "type": "integer"
  36496. },
  36497. "qtydecimalplace": {
  36498. "description": "成交量小数位",
  36499. "type": "integer"
  36500. },
  36501. "quoteid": {
  36502. "description": "报价单ID",
  36503. "type": "integer"
  36504. },
  36505. "relatedid": {
  36506. "description": "关联单号(交割单)",
  36507. "type": "string"
  36508. },
  36509. "retcode": {
  36510. "description": "错误代码",
  36511. "type": "integer"
  36512. },
  36513. "sessionid": {
  36514. "description": "会话ID",
  36515. "type": "integer"
  36516. },
  36517. "tradedate": {
  36518. "description": "交易日(yyyyMMdd)",
  36519. "type": "string"
  36520. },
  36521. "trademode": {
  36522. "description": "交易模式",
  36523. "type": "integer"
  36524. },
  36525. "tradeproperty": {
  36526. "description": "交易属性",
  36527. "type": "integer"
  36528. },
  36529. "tradeqty": {
  36530. "description": "成交数量",
  36531. "type": "number"
  36532. },
  36533. "unfreezecharge": {
  36534. "description": "解冻手续费",
  36535. "type": "number"
  36536. },
  36537. "unfreezemargin": {
  36538. "description": "解冻保证金",
  36539. "type": "number"
  36540. },
  36541. "updatetime": {
  36542. "description": "更新时间",
  36543. "type": "string"
  36544. },
  36545. "uuid": {
  36546. "description": "发起端唯一id",
  36547. "type": "string"
  36548. },
  36549. "validtime": {
  36550. "description": "有效期限",
  36551. "type": "string"
  36552. },
  36553. "validtype": {
  36554. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36555. "type": "integer"
  36556. },
  36557. "volumetype": {
  36558. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36559. "type": "integer"
  36560. }
  36561. }
  36562. },
  36563. "order.QueryTradeDetailRsp": {
  36564. "type": "object",
  36565. "required": [
  36566. "accountid",
  36567. "buyorsell",
  36568. "goodsid",
  36569. "marketid",
  36570. "memberuserid",
  36571. "orderid",
  36572. "tradeamount",
  36573. "tradedate",
  36574. "tradeid",
  36575. "tradeprice",
  36576. "tradeqty",
  36577. "tradetime"
  36578. ],
  36579. "properties": {
  36580. "accountid": {
  36581. "description": "账户ID[报价币种]",
  36582. "type": "integer"
  36583. },
  36584. "advanceratio": {
  36585. "description": "首付比率",
  36586. "type": "number"
  36587. },
  36588. "buildtype": {
  36589. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36590. "type": "integer"
  36591. },
  36592. "buyorsell": {
  36593. "description": "方向 - 0:买 1:卖",
  36594. "type": "integer"
  36595. },
  36596. "charge": {
  36597. "description": "手续费",
  36598. "type": "number"
  36599. },
  36600. "closecharge": {
  36601. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36602. "type": "number"
  36603. },
  36604. "closeexchagechargevalue": {
  36605. "description": "平仓交易所手续费设置值",
  36606. "type": "number"
  36607. },
  36608. "closefeealgorithm": {
  36609. "description": "平仓手续费收取方式 1:比率 2:固定",
  36610. "type": "integer"
  36611. },
  36612. "closememberchargevalue": {
  36613. "description": "平仓会员手续费设置值",
  36614. "type": "number"
  36615. },
  36616. "closepl": {
  36617. "description": "平仓盈亏",
  36618. "type": "number"
  36619. },
  36620. "closepl2": {
  36621. "description": "平仓盈亏[逐笔]",
  36622. "type": "number"
  36623. },
  36624. "closeqty": {
  36625. "description": "平仓数量(先建后平操作 需要记录)",
  36626. "type": "number"
  36627. },
  36628. "creditamount": {
  36629. "description": "授信金额",
  36630. "type": "number"
  36631. },
  36632. "decimalplace": {
  36633. "description": "商品报价小数位",
  36634. "type": "integer"
  36635. },
  36636. "enumdicname": {
  36637. "description": "单位名称",
  36638. "type": "string"
  36639. },
  36640. "gcaccountid": {
  36641. "description": "账户ID[合约币种]",
  36642. "type": "integer"
  36643. },
  36644. "goodscode": {
  36645. "description": "商品代码",
  36646. "type": "string"
  36647. },
  36648. "goodsid": {
  36649. "description": "商品ID",
  36650. "type": "integer"
  36651. },
  36652. "goodsname": {
  36653. "description": "商品名称",
  36654. "type": "string"
  36655. },
  36656. "goodunitid": {
  36657. "description": "商品单位id",
  36658. "type": "integer"
  36659. },
  36660. "intclosepl": {
  36661. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36662. "type": "integer"
  36663. },
  36664. "isconfirmexercise": {
  36665. "description": "是否确认行权- 0:否 1:是",
  36666. "type": "integer"
  36667. },
  36668. "ismain": {
  36669. "description": "是否主单 - 0:不是 1:是",
  36670. "type": "integer"
  36671. },
  36672. "ispreexercise": {
  36673. "description": "是否预申报- 0:否 1:是",
  36674. "type": "integer"
  36675. },
  36676. "isreckoned": {
  36677. "description": "是否结算 - 0:未结算 1:已结算",
  36678. "type": "integer"
  36679. },
  36680. "listingselecttype": {
  36681. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36682. "type": "integer"
  36683. },
  36684. "marketid": {
  36685. "description": "市场ID",
  36686. "type": "integer"
  36687. },
  36688. "marketname": {
  36689. "description": "市场名称",
  36690. "type": "string"
  36691. },
  36692. "matchaccountid": {
  36693. "description": "对手账号id",
  36694. "type": "integer"
  36695. },
  36696. "memberuserid": {
  36697. "description": "会员id 个人投资者 需要填写",
  36698. "type": "integer"
  36699. },
  36700. "opencharge": {
  36701. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36702. "type": "number"
  36703. },
  36704. "openexchagechargevalue": {
  36705. "description": "建仓交易所手续费设置值",
  36706. "type": "number"
  36707. },
  36708. "openfeealgorithm": {
  36709. "description": "建仓手续费收取方式 1:比率 2:固定",
  36710. "type": "integer"
  36711. },
  36712. "openmemberchargevalue": {
  36713. "description": "建仓会员手续费设置值",
  36714. "type": "number"
  36715. },
  36716. "openqty": {
  36717. "description": "开仓数量(先建后平操作 需要记录)",
  36718. "type": "number"
  36719. },
  36720. "optiontype": {
  36721. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36722. "type": "integer"
  36723. },
  36724. "orderid": {
  36725. "description": "委托单号",
  36726. "type": "string"
  36727. },
  36728. "payamount": {
  36729. "description": "支付金额(付款金额)",
  36730. "type": "number"
  36731. },
  36732. "performanceplanid": {
  36733. "description": "履约计划ID[期权]",
  36734. "type": "integer"
  36735. },
  36736. "performancestatus": {
  36737. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36738. "type": "integer"
  36739. },
  36740. "preexerciseprice": {
  36741. "description": "预申报价格",
  36742. "type": "number"
  36743. },
  36744. "premium": {
  36745. "description": "权利金 - [持仓单的权利金]",
  36746. "type": "number"
  36747. },
  36748. "qtydecimalplace": {
  36749. "description": "商品报价小数位",
  36750. "type": "integer"
  36751. },
  36752. "recvamount": {
  36753. "description": "到账金额 = 成交金额 - 手续费",
  36754. "type": "number"
  36755. },
  36756. "relatedouttradeid": {
  36757. "description": "关联外部成交单ID",
  36758. "type": "integer"
  36759. },
  36760. "status": {
  36761. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36762. "type": "integer"
  36763. },
  36764. "totalamount": {
  36765. "description": "订单总额 = 成交金额 + 手续费",
  36766. "type": "number"
  36767. },
  36768. "tradeamount": {
  36769. "description": "成交金额[账户币种,用于所有权]",
  36770. "type": "number"
  36771. },
  36772. "tradedate": {
  36773. "description": "交易日(yyyyMMdd)",
  36774. "type": "string"
  36775. },
  36776. "tradeid": {
  36777. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36778. "type": "string"
  36779. },
  36780. "trademode": {
  36781. "description": "交易模式",
  36782. "type": "integer"
  36783. },
  36784. "tradeprice": {
  36785. "description": "成交价格",
  36786. "type": "number"
  36787. },
  36788. "tradeproperty": {
  36789. "description": "交易属性",
  36790. "type": "integer"
  36791. },
  36792. "tradeqty": {
  36793. "description": "成交数量",
  36794. "type": "number"
  36795. },
  36796. "tradetime": {
  36797. "description": "成交时间",
  36798. "type": "string"
  36799. },
  36800. "tradetype": {
  36801. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36802. "type": "integer"
  36803. }
  36804. }
  36805. },
  36806. "order.QueryTradeOrderDetailRsp": {
  36807. "type": "object",
  36808. "required": [
  36809. "accountid",
  36810. "buildtype",
  36811. "buyorsell",
  36812. "goodsid",
  36813. "marketid",
  36814. "operatetype",
  36815. "orderqty",
  36816. "ordertime",
  36817. "pricemode",
  36818. "tradedate",
  36819. "validtype"
  36820. ],
  36821. "properties": {
  36822. "accountid": {
  36823. "description": "账户ID[报价币种]",
  36824. "type": "integer"
  36825. },
  36826. "buildtype": {
  36827. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36828. "type": "integer"
  36829. },
  36830. "buyorsell": {
  36831. "description": "买卖 - 0:买 1:卖",
  36832. "type": "integer"
  36833. },
  36834. "cancelorderid": {
  36835. "description": "撤单单号(撤单时填写)",
  36836. "type": "string"
  36837. },
  36838. "cancelqty": {
  36839. "description": "撤单数量",
  36840. "type": "number"
  36841. },
  36842. "clienttype": {
  36843. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36844. "type": "integer"
  36845. },
  36846. "closefreezecharge": {
  36847. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36848. "type": "number"
  36849. },
  36850. "closeqty": {
  36851. "description": "平仓数量(先建后平操作 需要记录)",
  36852. "type": "number"
  36853. },
  36854. "closetradeqty": {
  36855. "description": "平仓成交数量(先建后平操作,需要记录)",
  36856. "type": "number"
  36857. },
  36858. "closeunfreezecharge": {
  36859. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36860. "type": "number"
  36861. },
  36862. "decimalplace": {
  36863. "description": "商品报价小数位",
  36864. "type": "integer"
  36865. },
  36866. "delistingtype": {
  36867. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36868. "type": "integer"
  36869. },
  36870. "enableqty": {
  36871. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  36872. "type": "number"
  36873. },
  36874. "enumdicname": {
  36875. "description": "单位名称",
  36876. "type": "string"
  36877. },
  36878. "freezecharge": {
  36879. "description": "冻结手续费",
  36880. "type": "number"
  36881. },
  36882. "freezemargin": {
  36883. "description": "冻结保证金(冻结交易金额)",
  36884. "type": "number"
  36885. },
  36886. "goodscode": {
  36887. "description": "商品代码",
  36888. "type": "string"
  36889. },
  36890. "goodsid": {
  36891. "description": "商品ID",
  36892. "type": "integer"
  36893. },
  36894. "goodsname": {
  36895. "description": "商品名称",
  36896. "type": "string"
  36897. },
  36898. "goodunitid": {
  36899. "description": "商品单位id",
  36900. "type": "integer"
  36901. },
  36902. "listingselecttype": {
  36903. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36904. "type": "integer"
  36905. },
  36906. "marketid": {
  36907. "description": "市场ID",
  36908. "type": "integer"
  36909. },
  36910. "marketname": {
  36911. "description": "市场名称",
  36912. "type": "string"
  36913. },
  36914. "openfreezecharge": {
  36915. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36916. "type": "number"
  36917. },
  36918. "openqty": {
  36919. "description": "开仓数量(先建后平操作,需要记录)",
  36920. "type": "number"
  36921. },
  36922. "opentradeqty": {
  36923. "description": "开仓成交数量(先建后平操作,需要记录)",
  36924. "type": "number"
  36925. },
  36926. "openunfreezecharge": {
  36927. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36928. "type": "number"
  36929. },
  36930. "operatetype": {
  36931. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36932. "type": "integer"
  36933. },
  36934. "operatorid": {
  36935. "description": "登录账号(LoginID)",
  36936. "type": "integer"
  36937. },
  36938. "orderid": {
  36939. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36940. "type": "string"
  36941. },
  36942. "orderprice": {
  36943. "description": "委托价格",
  36944. "type": "number"
  36945. },
  36946. "orderqty": {
  36947. "description": "委托数量",
  36948. "type": "number"
  36949. },
  36950. "ordersrc": {
  36951. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36952. "type": "integer"
  36953. },
  36954. "orderstatus": {
  36955. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36956. "type": "integer"
  36957. },
  36958. "ordertime": {
  36959. "description": "委托时间",
  36960. "type": "string"
  36961. },
  36962. "preorderid": {
  36963. "description": "关联预埋单号(止盈止损单时填写)",
  36964. "type": "string"
  36965. },
  36966. "pricemode": {
  36967. "description": "取价方式 - 1:市价 2: 限价",
  36968. "type": "integer"
  36969. },
  36970. "qtydecimalplace": {
  36971. "description": "商品报价小数位",
  36972. "type": "integer"
  36973. },
  36974. "relatedid": {
  36975. "description": "关联单号(交割单)",
  36976. "type": "string"
  36977. },
  36978. "tradedate": {
  36979. "description": "交易日(yyyyMMdd)",
  36980. "type": "string"
  36981. },
  36982. "trademode": {
  36983. "description": "交易模式",
  36984. "type": "integer"
  36985. },
  36986. "tradeqty": {
  36987. "description": "成交数量",
  36988. "type": "number"
  36989. },
  36990. "unfreezecharge": {
  36991. "description": "解冻手续费",
  36992. "type": "number"
  36993. },
  36994. "unfreezemargin": {
  36995. "description": "解冻保证金",
  36996. "type": "number"
  36997. },
  36998. "validtime": {
  36999. "description": "有效期限",
  37000. "type": "string"
  37001. },
  37002. "validtype": {
  37003. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37004. "type": "integer"
  37005. },
  37006. "volumetype": {
  37007. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37008. "type": "integer"
  37009. }
  37010. }
  37011. },
  37012. "order.QueryTradePositionRsp": {
  37013. "type": "object",
  37014. "required": [
  37015. "goodsid"
  37016. ],
  37017. "properties": {
  37018. "accountid": {
  37019. "description": "资金账户",
  37020. "type": "integer"
  37021. },
  37022. "agreeunit": {
  37023. "description": "合约单位",
  37024. "type": "number"
  37025. },
  37026. "averageprice": {
  37027. "description": "持仓均价",
  37028. "type": "number"
  37029. },
  37030. "buyorsell": {
  37031. "description": "方向 - 0:买 1:卖",
  37032. "type": "integer"
  37033. },
  37034. "closetotalqty": {
  37035. "description": "平仓总数量",
  37036. "type": "number"
  37037. },
  37038. "curholderamount": {
  37039. "description": "当前持仓总金额[商品币种]",
  37040. "type": "number"
  37041. },
  37042. "curpositionqty": {
  37043. "description": "当前持仓总数量",
  37044. "type": "number"
  37045. },
  37046. "currencyid": {
  37047. "description": "报价货币ID",
  37048. "type": "integer"
  37049. },
  37050. "curtdposition": {
  37051. "description": "期末今日头寸",
  37052. "type": "number"
  37053. },
  37054. "decimalplace": {
  37055. "description": "报价小数位",
  37056. "type": "integer"
  37057. },
  37058. "enableqty": {
  37059. "description": "可用量",
  37060. "type": "number"
  37061. },
  37062. "fretdposition": {
  37063. "description": "冻结今日头寸",
  37064. "type": "number"
  37065. },
  37066. "frozenqty": {
  37067. "description": "持仓冻结数量",
  37068. "type": "number"
  37069. },
  37070. "goodscode": {
  37071. "description": "商品代码",
  37072. "type": "string"
  37073. },
  37074. "goodsid": {
  37075. "description": "商品Id",
  37076. "type": "integer"
  37077. },
  37078. "goodsname": {
  37079. "description": "商品名称",
  37080. "type": "string"
  37081. },
  37082. "goodunit": {
  37083. "description": "报价单位",
  37084. "type": "string"
  37085. },
  37086. "goodunitid": {
  37087. "description": "报价单位ID",
  37088. "type": "integer"
  37089. },
  37090. "holderamount": {
  37091. "description": "期初持仓总金额[商品币种]",
  37092. "type": "number"
  37093. },
  37094. "lastprice": {
  37095. "description": "最新价",
  37096. "type": "number"
  37097. },
  37098. "marketamount": {
  37099. "description": "市值",
  37100. "type": "number"
  37101. },
  37102. "marketid": {
  37103. "description": "所属市场ID",
  37104. "type": "integer"
  37105. },
  37106. "openreqqty": {
  37107. "description": "开仓申请数量(用于比较最大持仓数量)",
  37108. "type": "number"
  37109. },
  37110. "opentotalqty": {
  37111. "description": "开仓总数量",
  37112. "type": "number"
  37113. },
  37114. "otherfrozenqty": {
  37115. "description": "持仓其他冻结数量(交割冻结)",
  37116. "type": "number"
  37117. },
  37118. "positionpl": {
  37119. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  37120. "type": "number"
  37121. },
  37122. "positionplrate": {
  37123. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  37124. "type": "number"
  37125. },
  37126. "positionqty": {
  37127. "description": "期初持仓数量",
  37128. "type": "number"
  37129. },
  37130. "qtydecimalplace": {
  37131. "description": "成交量小数位",
  37132. "type": "integer"
  37133. },
  37134. "tnqty": {
  37135. "description": "T+N冻结总量",
  37136. "type": "number"
  37137. },
  37138. "tnusedqty": {
  37139. "description": "T+N使用量(可以使用T+N的冻结数量)",
  37140. "type": "number"
  37141. },
  37142. "trademode": {
  37143. "description": "交易模式",
  37144. "type": "integer"
  37145. },
  37146. "tradeproperty": {
  37147. "description": "交易属性",
  37148. "type": "integer"
  37149. },
  37150. "usedmargin": {
  37151. "description": "占用保证金[商品币种]",
  37152. "type": "number"
  37153. }
  37154. }
  37155. },
  37156. "pb.GoodsMarginCfgStruct": {
  37157. "type": "object",
  37158. "properties": {
  37159. "CustomerTypeID": {
  37160. "description": "投资者客户类型",
  37161. "type": "integer"
  37162. },
  37163. "GoodsID": {
  37164. "description": "商品ID",
  37165. "type": "integer"
  37166. },
  37167. "IsDefault": {
  37168. "description": "是否默认标志位",
  37169. "type": "integer"
  37170. },
  37171. "LockMarginValue": {
  37172. "description": "锁仓保证金",
  37173. "type": "number"
  37174. },
  37175. "MarginAlgorithm": {
  37176. "description": "保证金计算方式",
  37177. "type": "integer"
  37178. },
  37179. "MarketMarginValue": {
  37180. "description": "即市保证金值",
  37181. "type": "number"
  37182. },
  37183. "RealMarginAlgorithm": {
  37184. "description": "实付保证金计算方式",
  37185. "type": "integer"
  37186. },
  37187. "RealMarginValue": {
  37188. "description": "实付比例",
  37189. "type": "number"
  37190. },
  37191. "ReckonMarginValue": {
  37192. "description": "结算保证金值",
  37193. "type": "number"
  37194. }
  37195. }
  37196. },
  37197. "quote.HistoryData": {
  37198. "type": "object",
  37199. "properties": {
  37200. "c": {
  37201. "description": "收盘价",
  37202. "type": "number"
  37203. },
  37204. "f": {
  37205. "description": "是否补充数据",
  37206. "type": "boolean"
  37207. },
  37208. "h": {
  37209. "description": "最高价",
  37210. "type": "number"
  37211. },
  37212. "hv": {
  37213. "description": "持仓量",
  37214. "type": "integer"
  37215. },
  37216. "l": {
  37217. "description": "最低价",
  37218. "type": "number"
  37219. },
  37220. "o": {
  37221. "description": "开盘价",
  37222. "type": "number"
  37223. },
  37224. "s": {
  37225. "description": "结算价,日线周期(包括)以上才有",
  37226. "type": "number"
  37227. },
  37228. "ts": {
  37229. "description": "时间",
  37230. "type": "string"
  37231. },
  37232. "tt": {
  37233. "description": "总金额",
  37234. "type": "number"
  37235. },
  37236. "tv": {
  37237. "description": "总量(成交量)",
  37238. "type": "integer"
  37239. }
  37240. }
  37241. },
  37242. "quote.HistoryTikData": {
  37243. "type": "object",
  37244. "properties": {
  37245. "AV": {
  37246. "description": "卖量",
  37247. "type": "integer"
  37248. },
  37249. "Ask": {
  37250. "description": "卖价",
  37251. "type": "number"
  37252. },
  37253. "BV": {
  37254. "description": "买量",
  37255. "type": "integer"
  37256. },
  37257. "Bid": {
  37258. "description": "买价",
  37259. "type": "number"
  37260. },
  37261. "HI": {
  37262. "description": "单笔持仓",
  37263. "type": "integer"
  37264. },
  37265. "HV": {
  37266. "description": "持仓量",
  37267. "type": "integer"
  37268. },
  37269. "PE": {
  37270. "description": "现价",
  37271. "type": "number"
  37272. },
  37273. "TDR": {
  37274. "description": "交易方向,0:买 1:卖",
  37275. "type": "integer"
  37276. },
  37277. "TK": {
  37278. "description": "交易类型",
  37279. "type": "integer"
  37280. },
  37281. "TS": {
  37282. "description": "行情时间文本",
  37283. "type": "string"
  37284. },
  37285. "TT": {
  37286. "description": "现金额",
  37287. "type": "number"
  37288. },
  37289. "Vol": {
  37290. "description": "现量",
  37291. "type": "integer"
  37292. }
  37293. }
  37294. },
  37295. "quote.QueryQuoteDayRsp": {
  37296. "type": "object",
  37297. "properties": {
  37298. "ask": {
  37299. "description": "卖1",
  37300. "type": "number"
  37301. },
  37302. "ask10": {
  37303. "description": "卖10",
  37304. "type": "number"
  37305. },
  37306. "ask2": {
  37307. "description": "卖2",
  37308. "type": "number"
  37309. },
  37310. "ask3": {
  37311. "description": "卖3",
  37312. "type": "number"
  37313. },
  37314. "ask4": {
  37315. "description": "卖4",
  37316. "type": "number"
  37317. },
  37318. "ask5": {
  37319. "description": "卖5",
  37320. "type": "number"
  37321. },
  37322. "ask6": {
  37323. "description": "卖6",
  37324. "type": "number"
  37325. },
  37326. "ask7": {
  37327. "description": "卖7",
  37328. "type": "number"
  37329. },
  37330. "ask8": {
  37331. "description": "卖8",
  37332. "type": "number"
  37333. },
  37334. "ask9": {
  37335. "description": "卖9",
  37336. "type": "number"
  37337. },
  37338. "askorderid": {
  37339. "description": "卖单号1",
  37340. "type": "integer"
  37341. },
  37342. "askorderid2": {
  37343. "description": "卖单号2",
  37344. "type": "integer"
  37345. },
  37346. "askorderid3": {
  37347. "description": "卖单号3",
  37348. "type": "integer"
  37349. },
  37350. "askorderid4": {
  37351. "description": "卖单号4",
  37352. "type": "integer"
  37353. },
  37354. "askorderid5": {
  37355. "description": "卖单号5",
  37356. "type": "integer"
  37357. },
  37358. "askordervolume": {
  37359. "description": "卖单量1",
  37360. "type": "integer"
  37361. },
  37362. "askordervolume10": {
  37363. "description": "卖单量10",
  37364. "type": "integer"
  37365. },
  37366. "askordervolume2": {
  37367. "description": "卖单量2",
  37368. "type": "integer"
  37369. },
  37370. "askordervolume3": {
  37371. "description": "卖单量3",
  37372. "type": "integer"
  37373. },
  37374. "askordervolume4": {
  37375. "description": "卖单量4",
  37376. "type": "integer"
  37377. },
  37378. "askordervolume5": {
  37379. "description": "卖单量5",
  37380. "type": "integer"
  37381. },
  37382. "askordervolume6": {
  37383. "description": "卖单量6",
  37384. "type": "integer"
  37385. },
  37386. "askordervolume7": {
  37387. "description": "卖单量7",
  37388. "type": "integer"
  37389. },
  37390. "askordervolume8": {
  37391. "description": "卖单量8",
  37392. "type": "integer"
  37393. },
  37394. "askordervolume9": {
  37395. "description": "卖单量9",
  37396. "type": "integer"
  37397. },
  37398. "askqueueinfo": {
  37399. "description": "大利市卖港股用",
  37400. "type": "string"
  37401. },
  37402. "askvolume": {
  37403. "description": "卖量1",
  37404. "type": "integer"
  37405. },
  37406. "askvolume10": {
  37407. "description": "卖量10",
  37408. "type": "integer"
  37409. },
  37410. "askvolume2": {
  37411. "description": "卖量2",
  37412. "type": "integer"
  37413. },
  37414. "askvolume3": {
  37415. "description": "卖量3",
  37416. "type": "integer"
  37417. },
  37418. "askvolume4": {
  37419. "description": "卖量4",
  37420. "type": "integer"
  37421. },
  37422. "askvolume5": {
  37423. "description": "卖量5",
  37424. "type": "integer"
  37425. },
  37426. "askvolume6": {
  37427. "description": "卖量6",
  37428. "type": "integer"
  37429. },
  37430. "askvolume7": {
  37431. "description": "卖量7",
  37432. "type": "integer"
  37433. },
  37434. "askvolume8": {
  37435. "description": "卖量8",
  37436. "type": "integer"
  37437. },
  37438. "askvolume9": {
  37439. "description": "卖量9",
  37440. "type": "integer"
  37441. },
  37442. "averageprice": {
  37443. "description": "均价",
  37444. "type": "number"
  37445. },
  37446. "bid": {
  37447. "description": "买1",
  37448. "type": "number"
  37449. },
  37450. "bid10": {
  37451. "description": "买10",
  37452. "type": "number"
  37453. },
  37454. "bid2": {
  37455. "description": "买2",
  37456. "type": "number"
  37457. },
  37458. "bid3": {
  37459. "description": "买3",
  37460. "type": "number"
  37461. },
  37462. "bid4": {
  37463. "description": "买4",
  37464. "type": "number"
  37465. },
  37466. "bid5": {
  37467. "description": "买5",
  37468. "type": "number"
  37469. },
  37470. "bid6": {
  37471. "description": "买6",
  37472. "type": "number"
  37473. },
  37474. "bid7": {
  37475. "description": "买7",
  37476. "type": "number"
  37477. },
  37478. "bid8": {
  37479. "description": "买8",
  37480. "type": "number"
  37481. },
  37482. "bid9": {
  37483. "description": "买9",
  37484. "type": "number"
  37485. },
  37486. "bidorderid": {
  37487. "description": "买单号1",
  37488. "type": "integer"
  37489. },
  37490. "bidorderid2": {
  37491. "description": "买单号2",
  37492. "type": "integer"
  37493. },
  37494. "bidorderid3": {
  37495. "description": "买单号3",
  37496. "type": "integer"
  37497. },
  37498. "bidorderid4": {
  37499. "description": "买单号4",
  37500. "type": "integer"
  37501. },
  37502. "bidorderid5": {
  37503. "description": "买单号5",
  37504. "type": "integer"
  37505. },
  37506. "bidordervolume": {
  37507. "description": "买单量1",
  37508. "type": "integer"
  37509. },
  37510. "bidordervolume10": {
  37511. "description": "买单量10",
  37512. "type": "integer"
  37513. },
  37514. "bidordervolume2": {
  37515. "description": "买单量2",
  37516. "type": "integer"
  37517. },
  37518. "bidordervolume3": {
  37519. "description": "买单量3",
  37520. "type": "integer"
  37521. },
  37522. "bidordervolume4": {
  37523. "description": "买单量4",
  37524. "type": "integer"
  37525. },
  37526. "bidordervolume5": {
  37527. "description": "买单量5",
  37528. "type": "integer"
  37529. },
  37530. "bidordervolume6": {
  37531. "description": "买单量6",
  37532. "type": "integer"
  37533. },
  37534. "bidordervolume7": {
  37535. "description": "买单量7",
  37536. "type": "integer"
  37537. },
  37538. "bidordervolume8": {
  37539. "description": "买单量8",
  37540. "type": "integer"
  37541. },
  37542. "bidordervolume9": {
  37543. "description": "买单量9",
  37544. "type": "integer"
  37545. },
  37546. "bidqueueinfo": {
  37547. "description": "大利市买港股用",
  37548. "type": "string"
  37549. },
  37550. "bidvolume": {
  37551. "description": "买量1",
  37552. "type": "integer"
  37553. },
  37554. "bidvolume10": {
  37555. "description": "买量10",
  37556. "type": "integer"
  37557. },
  37558. "bidvolume2": {
  37559. "description": "买量2",
  37560. "type": "integer"
  37561. },
  37562. "bidvolume3": {
  37563. "description": "买量3",
  37564. "type": "integer"
  37565. },
  37566. "bidvolume4": {
  37567. "description": "买量4",
  37568. "type": "integer"
  37569. },
  37570. "bidvolume5": {
  37571. "description": "买量5",
  37572. "type": "integer"
  37573. },
  37574. "bidvolume6": {
  37575. "description": "买量6",
  37576. "type": "integer"
  37577. },
  37578. "bidvolume7": {
  37579. "description": "买量7",
  37580. "type": "integer"
  37581. },
  37582. "bidvolume8": {
  37583. "description": "买量8",
  37584. "type": "integer"
  37585. },
  37586. "bidvolume9": {
  37587. "description": "买量9",
  37588. "type": "integer"
  37589. },
  37590. "calloptionpremiums": {
  37591. "description": "认购期权1",
  37592. "type": "integer"
  37593. },
  37594. "calloptionpremiums2": {
  37595. "description": "认购期权2",
  37596. "type": "integer"
  37597. },
  37598. "calloptionpremiums3": {
  37599. "description": "认购期权3",
  37600. "type": "integer"
  37601. },
  37602. "calloptionpremiums4": {
  37603. "description": "认购期权4",
  37604. "type": "integer"
  37605. },
  37606. "calloptionpremiums5": {
  37607. "description": "认购期权5",
  37608. "type": "integer"
  37609. },
  37610. "cleartime": {
  37611. "description": "清盘时间",
  37612. "type": "integer"
  37613. },
  37614. "exchangecode": {
  37615. "description": "交易所代码",
  37616. "type": "integer"
  37617. },
  37618. "exchangedate": {
  37619. "description": "交易日",
  37620. "type": "integer"
  37621. },
  37622. "goodscode": {
  37623. "description": "商品代码",
  37624. "type": "string"
  37625. },
  37626. "grepmarketprice": {
  37627. "description": "暗盘价 港股专用",
  37628. "type": "number"
  37629. },
  37630. "highest": {
  37631. "description": "最高价",
  37632. "type": "number"
  37633. },
  37634. "holdincrement": {
  37635. "description": "单笔持仓",
  37636. "type": "integer"
  37637. },
  37638. "holdvolume": {
  37639. "description": "持仓",
  37640. "type": "integer"
  37641. },
  37642. "iep": {
  37643. "description": "平衡价 港股专用",
  37644. "type": "number"
  37645. },
  37646. "iev": {
  37647. "description": "平衡量 港股专用",
  37648. "type": "number"
  37649. },
  37650. "inventory": {
  37651. "description": "库存",
  37652. "type": "integer"
  37653. },
  37654. "iscleared": {
  37655. "description": "是否清盘标志",
  37656. "type": "integer"
  37657. },
  37658. "issettled": {
  37659. "description": "是否结算标志",
  37660. "type": "integer"
  37661. },
  37662. "last": {
  37663. "description": "最新价",
  37664. "type": "number"
  37665. },
  37666. "lastlot": {
  37667. "description": "最新成交手数",
  37668. "type": "integer"
  37669. },
  37670. "lasttime": {
  37671. "description": "行情时间(只有现价变化行情时间才变化)",
  37672. "type": "string"
  37673. },
  37674. "lastturnover": {
  37675. "description": "最新成交金额",
  37676. "type": "number"
  37677. },
  37678. "lastvolume": {
  37679. "description": "最新成交量",
  37680. "type": "integer"
  37681. },
  37682. "limitdown": {
  37683. "description": "跌停价",
  37684. "type": "number"
  37685. },
  37686. "limitup": {
  37687. "description": "涨停价",
  37688. "type": "number"
  37689. },
  37690. "lowest": {
  37691. "description": "最低价",
  37692. "type": "number"
  37693. },
  37694. "nontotalholdervolume": {
  37695. "description": "非交易持仓量",
  37696. "type": "integer"
  37697. },
  37698. "nontotallot": {
  37699. "description": "非交易总手数",
  37700. "type": "integer"
  37701. },
  37702. "nontotalturnover": {
  37703. "description": "非交易总金额",
  37704. "type": "integer"
  37705. },
  37706. "nontotalvolume": {
  37707. "description": "非交易总量",
  37708. "type": "integer"
  37709. },
  37710. "opened": {
  37711. "description": "开盘价",
  37712. "type": "number"
  37713. },
  37714. "opentime": {
  37715. "description": "开盘时间",
  37716. "type": "string"
  37717. },
  37718. "orderid": {
  37719. "description": "序号",
  37720. "type": "integer"
  37721. },
  37722. "preclose": {
  37723. "description": "昨收",
  37724. "type": "number"
  37725. },
  37726. "preholdvolume": {
  37727. "description": "昨持仓",
  37728. "type": "integer"
  37729. },
  37730. "presettle": {
  37731. "description": "昨结价",
  37732. "type": "number"
  37733. },
  37734. "publictradetype": {
  37735. "description": "公共交易标志类型 港股专用",
  37736. "type": "string"
  37737. },
  37738. "putoptionpremiums": {
  37739. "description": "认沽期权1",
  37740. "type": "integer"
  37741. },
  37742. "putoptionpremiums2": {
  37743. "description": "认沽期权2",
  37744. "type": "integer"
  37745. },
  37746. "putoptionpremiums3": {
  37747. "description": "认沽期权3",
  37748. "type": "integer"
  37749. },
  37750. "putoptionpremiums4": {
  37751. "description": "认沽期权4",
  37752. "type": "integer"
  37753. },
  37754. "putoptionpremiums5": {
  37755. "description": "认沽期权5",
  37756. "type": "integer"
  37757. },
  37758. "settle": {
  37759. "description": "结算价",
  37760. "type": "number"
  37761. },
  37762. "strikeprice": {
  37763. "description": "发行价",
  37764. "type": "number"
  37765. },
  37766. "totalaskvolume": {
  37767. "description": "内盘",
  37768. "type": "integer"
  37769. },
  37770. "totalbidvolume": {
  37771. "description": "外盘",
  37772. "type": "integer"
  37773. },
  37774. "totallot": {
  37775. "description": "总手数",
  37776. "type": "integer"
  37777. },
  37778. "totalturnover": {
  37779. "description": "总金额",
  37780. "type": "number"
  37781. },
  37782. "totalvolume": {
  37783. "description": "总量",
  37784. "type": "integer"
  37785. },
  37786. "utclasttime": {
  37787. "description": "utc的行情时间",
  37788. "type": "string"
  37789. }
  37790. }
  37791. },
  37792. "quote.QueryTSDataRsp": {
  37793. "type": "object",
  37794. "properties": {
  37795. "Count": {
  37796. "description": "交易日应有数据个数",
  37797. "type": "integer"
  37798. },
  37799. "decimalPlace": {
  37800. "description": "小数位",
  37801. "type": "integer"
  37802. },
  37803. "endTime": {
  37804. "description": "结束时间",
  37805. "type": "string"
  37806. },
  37807. "goodsCode": {
  37808. "description": "商品代码",
  37809. "type": "string"
  37810. },
  37811. "historyDatas": {
  37812. "description": "历史数据",
  37813. "type": "array",
  37814. "items": {
  37815. "$ref": "#/definitions/quote.HistoryData"
  37816. }
  37817. },
  37818. "outGoodsCode": {
  37819. "description": "外部商品代码",
  37820. "type": "string"
  37821. },
  37822. "preSettle": {
  37823. "description": "昨结价",
  37824. "type": "number"
  37825. },
  37826. "runSteps": {
  37827. "description": "交易日开休市计划",
  37828. "type": "array",
  37829. "items": {
  37830. "$ref": "#/definitions/quote.TSDataRunStep"
  37831. }
  37832. },
  37833. "startTime": {
  37834. "description": "开始时间",
  37835. "type": "string"
  37836. },
  37837. "tradeDate": {
  37838. "description": "交易日",
  37839. "type": "string"
  37840. }
  37841. }
  37842. },
  37843. "quote.TSDataRunStep": {
  37844. "type": "object",
  37845. "properties": {
  37846. "end": {
  37847. "description": "真实结束时间",
  37848. "type": "string"
  37849. },
  37850. "endflag": {
  37851. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  37852. "type": "integer"
  37853. },
  37854. "endtime": {
  37855. "description": "结束时间(HH:mm)",
  37856. "type": "string"
  37857. },
  37858. "endweekday": {
  37859. "description": "结束周几",
  37860. "type": "integer"
  37861. },
  37862. "groupid": {
  37863. "description": "分组ID",
  37864. "type": "integer"
  37865. },
  37866. "runstep": {
  37867. "description": "运行阶段 - 2:连续交易",
  37868. "type": "integer"
  37869. },
  37870. "sectionid": {
  37871. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  37872. "type": "integer"
  37873. },
  37874. "start": {
  37875. "description": "真实开始时间",
  37876. "type": "string"
  37877. },
  37878. "startflag": {
  37879. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  37880. "type": "integer"
  37881. },
  37882. "starttime": {
  37883. "description": "起始时间(HH:mm)",
  37884. "type": "string"
  37885. },
  37886. "startweekday": {
  37887. "description": "起始周几",
  37888. "type": "integer"
  37889. },
  37890. "tradeweekday": {
  37891. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  37892. "type": "integer"
  37893. }
  37894. }
  37895. },
  37896. "szdz.QueryConvertLogRsp": {
  37897. "type": "object",
  37898. "required": [
  37899. "logid"
  37900. ],
  37901. "properties": {
  37902. "accountid": {
  37903. "description": "资金账户ID",
  37904. "type": "integer"
  37905. },
  37906. "clientticket": {
  37907. "description": "客户端流水号",
  37908. "type": "string"
  37909. },
  37910. "converttype": {
  37911. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  37912. "type": "integer"
  37913. },
  37914. "createtime": {
  37915. "description": "记账时间",
  37916. "type": "string"
  37917. },
  37918. "daymaxvalue": {
  37919. "description": "配置当日最大转入限制",
  37920. "type": "number"
  37921. },
  37922. "daymaxvalue2": {
  37923. "description": "配置当日最大转入限制(转入)",
  37924. "type": "number"
  37925. },
  37926. "goodscode": {
  37927. "description": "商品代码",
  37928. "type": "string"
  37929. },
  37930. "goodsname": {
  37931. "description": "商品名称",
  37932. "type": "string"
  37933. },
  37934. "handlestatus": {
  37935. "description": "处理状态",
  37936. "type": "integer"
  37937. },
  37938. "innergoodsid": {
  37939. "description": "内部商品ID",
  37940. "type": "integer"
  37941. },
  37942. "inratio": {
  37943. "description": "配置转入比值",
  37944. "type": "integer"
  37945. },
  37946. "invalue": {
  37947. "description": "目标值",
  37948. "type": "number"
  37949. },
  37950. "logid": {
  37951. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37952. "type": "integer"
  37953. },
  37954. "mobile": {
  37955. "description": "手机号码(加密存储)",
  37956. "type": "string"
  37957. },
  37958. "outergoodscode": {
  37959. "description": "外部商品代码[JD\\PD]",
  37960. "type": "string"
  37961. },
  37962. "outratio": {
  37963. "description": "配置转出比值",
  37964. "type": "integer"
  37965. },
  37966. "outvalue": {
  37967. "description": "源值",
  37968. "type": "number"
  37969. },
  37970. "pddecimalplace": {
  37971. "description": "PD小数位",
  37972. "type": "integer"
  37973. },
  37974. "qty": {
  37975. "description": "数量",
  37976. "type": "string"
  37977. },
  37978. "remark": {
  37979. "description": "备注",
  37980. "type": "string"
  37981. },
  37982. "sessionid": {
  37983. "description": "会话ID",
  37984. "type": "integer"
  37985. },
  37986. "timemaxvalue": {
  37987. "description": "配置单次最大转入限制",
  37988. "type": "number"
  37989. },
  37990. "timemaxvalue2": {
  37991. "description": "配置单次最大转入限制(转入)",
  37992. "type": "number"
  37993. },
  37994. "timeminvalue": {
  37995. "description": "配置单次最小数量限制",
  37996. "type": "number"
  37997. },
  37998. "timeminvalue2": {
  37999. "description": "配置单次最小数量限制(转入)",
  38000. "type": "number"
  38001. },
  38002. "tradedate": {
  38003. "description": "交易日(yyyyMMdd)",
  38004. "type": "string"
  38005. },
  38006. "userid": {
  38007. "description": "用户ID",
  38008. "type": "integer"
  38009. }
  38010. }
  38011. },
  38012. "szdz.QueryGoodsPickupRsp": {
  38013. "type": "object",
  38014. "required": [
  38015. "takeorderid"
  38016. ],
  38017. "properties": {
  38018. "accountid": {
  38019. "description": "账户ID",
  38020. "type": "integer"
  38021. },
  38022. "address": {
  38023. "description": "提货人详细地址",
  38024. "type": "string"
  38025. },
  38026. "auditer": {
  38027. "description": "审核人",
  38028. "type": "integer"
  38029. },
  38030. "audittime": {
  38031. "description": "审核时间",
  38032. "type": "string"
  38033. },
  38034. "cardnum": {
  38035. "description": "提货人证件号码",
  38036. "type": "string"
  38037. },
  38038. "cardtypeid": {
  38039. "description": "提货人证件类型",
  38040. "type": "integer"
  38041. },
  38042. "checkremark": {
  38043. "description": "审核备注",
  38044. "type": "string"
  38045. },
  38046. "goodscode": {
  38047. "description": "商品代码",
  38048. "type": "string"
  38049. },
  38050. "goodsid": {
  38051. "description": "商品ID",
  38052. "type": "integer"
  38053. },
  38054. "goodsname": {
  38055. "description": "商品名称",
  38056. "type": "string"
  38057. },
  38058. "handlestatus": {
  38059. "description": "处理状态",
  38060. "type": "integer"
  38061. },
  38062. "marketid": {
  38063. "description": "市场ID",
  38064. "type": "integer"
  38065. },
  38066. "phonenum": {
  38067. "description": "提货人联系方式",
  38068. "type": "string"
  38069. },
  38070. "qty": {
  38071. "description": "提货数量",
  38072. "type": "number"
  38073. },
  38074. "recivername": {
  38075. "description": "提货人姓名",
  38076. "type": "string"
  38077. },
  38078. "reqtime": {
  38079. "description": "更新时间",
  38080. "type": "string"
  38081. },
  38082. "takemode": {
  38083. "description": "提货方式 - 2:自提 3:配送",
  38084. "type": "integer"
  38085. },
  38086. "takeorderid": {
  38087. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38088. "type": "string"
  38089. },
  38090. "takeorderstatus": {
  38091. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38092. "type": "integer"
  38093. },
  38094. "takeremark": {
  38095. "description": "提货备注",
  38096. "type": "string"
  38097. },
  38098. "tradedate": {
  38099. "description": "交易日(yyyyMMdd)",
  38100. "type": "string"
  38101. },
  38102. "userid": {
  38103. "description": "用户ID",
  38104. "type": "integer"
  38105. }
  38106. }
  38107. },
  38108. "szdz.QueryRecieptOrderRsp": {
  38109. "type": "object",
  38110. "required": [
  38111. "ordertime"
  38112. ],
  38113. "properties": {
  38114. "accountName": {
  38115. "description": "所属账号名称(已脱敏)",
  38116. "type": "string"
  38117. },
  38118. "accountid": {
  38119. "description": "资金账号",
  38120. "type": "integer"
  38121. },
  38122. "buyorsell": {
  38123. "description": "方向 - 0:买 1:卖",
  38124. "type": "integer"
  38125. },
  38126. "enableqty": {
  38127. "description": "可摘数量",
  38128. "type": "integer"
  38129. },
  38130. "goodscode": {
  38131. "description": "商品代码",
  38132. "type": "string"
  38133. },
  38134. "goodsid": {
  38135. "description": "商品ID",
  38136. "type": "integer"
  38137. },
  38138. "goodsname": {
  38139. "description": "商品名称",
  38140. "type": "string"
  38141. },
  38142. "orderid": {
  38143. "description": "委托单号",
  38144. "type": "string"
  38145. },
  38146. "orderprice": {
  38147. "description": "委托价格",
  38148. "type": "number"
  38149. },
  38150. "ordertime": {
  38151. "description": "委托时间",
  38152. "type": "string"
  38153. },
  38154. "tradedate": {
  38155. "description": "交易日(yyyyMMdd)",
  38156. "type": "string"
  38157. }
  38158. }
  38159. },
  38160. "szdz.QuerySZDZTradePositionRsp": {
  38161. "type": "object",
  38162. "properties": {
  38163. "accountid": {
  38164. "description": "账号Id",
  38165. "type": "integer"
  38166. },
  38167. "agreeunit": {
  38168. "description": "合约单位",
  38169. "type": "number"
  38170. },
  38171. "averageprice": {
  38172. "description": "持仓均价",
  38173. "type": "number"
  38174. },
  38175. "buyorsell": {
  38176. "description": "方向 - 0:买 1:卖",
  38177. "type": "integer"
  38178. },
  38179. "closetotalqty": {
  38180. "description": "平仓总数量",
  38181. "type": "integer"
  38182. },
  38183. "curholderamount": {
  38184. "description": "当前持仓总金额",
  38185. "type": "number"
  38186. },
  38187. "curpositionqty": {
  38188. "description": "当前持仓总数量",
  38189. "type": "integer"
  38190. },
  38191. "currencyid": {
  38192. "description": "报价货币ID",
  38193. "type": "integer"
  38194. },
  38195. "curtdposition": {
  38196. "description": "期末今日头寸",
  38197. "type": "integer"
  38198. },
  38199. "decimalplace": {
  38200. "description": "报价小数位",
  38201. "type": "integer"
  38202. },
  38203. "enableqty": {
  38204. "description": "可用量",
  38205. "type": "integer"
  38206. },
  38207. "fretdposition": {
  38208. "description": "冻结今日头寸",
  38209. "type": "integer"
  38210. },
  38211. "frozenqty": {
  38212. "description": "持仓冻结数量",
  38213. "type": "integer"
  38214. },
  38215. "goodscode": {
  38216. "description": "商品代码(内部)",
  38217. "type": "string"
  38218. },
  38219. "goodsid": {
  38220. "description": "商品Id",
  38221. "type": "integer"
  38222. },
  38223. "goodsname": {
  38224. "description": "商品名称",
  38225. "type": "string"
  38226. },
  38227. "goodunit": {
  38228. "description": "报价单位",
  38229. "type": "string"
  38230. },
  38231. "goodunitid": {
  38232. "description": "报价单位ID",
  38233. "type": "integer"
  38234. },
  38235. "holderamount": {
  38236. "description": "期初持仓总金额",
  38237. "type": "number"
  38238. },
  38239. "marketid": {
  38240. "description": "市场ID",
  38241. "type": "integer"
  38242. },
  38243. "openreqqty": {
  38244. "description": "开仓申请数量",
  38245. "type": "integer"
  38246. },
  38247. "opentotalqty": {
  38248. "description": "开仓总数量",
  38249. "type": "integer"
  38250. },
  38251. "otherfrozenqty": {
  38252. "description": "持仓其他冻结数量(交割冻结)",
  38253. "type": "integer"
  38254. },
  38255. "positionqty": {
  38256. "description": "期初持仓数量",
  38257. "type": "integer"
  38258. },
  38259. "szdz3freezqty": {
  38260. "description": "尚志大宗转换冻结总数量",
  38261. "type": "integer"
  38262. },
  38263. "tnqty": {
  38264. "description": "T+N冻结总量",
  38265. "type": "integer"
  38266. },
  38267. "tnusedqty": {
  38268. "description": "T+N使用量",
  38269. "type": "integer"
  38270. },
  38271. "trademode": {
  38272. "description": "交易模式",
  38273. "type": "integer"
  38274. },
  38275. "usedmargin": {
  38276. "description": "占用保证金",
  38277. "type": "number"
  38278. }
  38279. }
  38280. },
  38281. "taaccount.QueryAmountLogRsp": {
  38282. "type": "object",
  38283. "required": [
  38284. "accountid",
  38285. "amount",
  38286. "amountadjusttype",
  38287. "autoid",
  38288. "balance",
  38289. "createtime",
  38290. "currentbalance",
  38291. "operatetype"
  38292. ],
  38293. "properties": {
  38294. "OPERATETYPENAME": {
  38295. "description": "资金操作类型名称",
  38296. "type": "string"
  38297. },
  38298. "accountid": {
  38299. "description": "资金账户ID",
  38300. "type": "integer"
  38301. },
  38302. "agoodscode": {
  38303. "description": "竞拍商品代码",
  38304. "type": "string"
  38305. },
  38306. "agoodsname": {
  38307. "description": "竞拍商品名称",
  38308. "type": "string"
  38309. },
  38310. "amount": {
  38311. "description": "资金金额",
  38312. "type": "number"
  38313. },
  38314. "amountadjusttype": {
  38315. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38316. "type": "integer"
  38317. },
  38318. "autoid": {
  38319. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38320. "type": "integer"
  38321. },
  38322. "balance": {
  38323. "description": "期初余额",
  38324. "type": "number"
  38325. },
  38326. "businesscode": {
  38327. "description": "业务编号",
  38328. "type": "integer"
  38329. },
  38330. "createtime": {
  38331. "description": "发生时间",
  38332. "type": "string"
  38333. },
  38334. "currencyid": {
  38335. "description": "币种ID",
  38336. "type": "integer"
  38337. },
  38338. "currentbalance": {
  38339. "description": "期末余额(变动后金额)",
  38340. "type": "number"
  38341. },
  38342. "dgoodscode": {
  38343. "description": "交割商品代码",
  38344. "type": "string"
  38345. },
  38346. "dgoodsname": {
  38347. "description": "交割商品名称",
  38348. "type": "string"
  38349. },
  38350. "goodscode": {
  38351. "description": "商品代码",
  38352. "type": "string"
  38353. },
  38354. "goodsid": {
  38355. "description": "商品ID",
  38356. "type": "integer"
  38357. },
  38358. "goodsname": {
  38359. "description": "商品名称",
  38360. "type": "string"
  38361. },
  38362. "marketid": {
  38363. "description": "市场ID",
  38364. "type": "integer"
  38365. },
  38366. "marketname": {
  38367. "description": "市场名称",
  38368. "type": "string"
  38369. },
  38370. "moneyticket": {
  38371. "description": "资金流水号:银行端流水号",
  38372. "type": "integer"
  38373. },
  38374. "operatetype": {
  38375. "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:营销收款",
  38376. "type": "integer"
  38377. },
  38378. "relationorderid": {
  38379. "description": "关联单号",
  38380. "type": "string"
  38381. },
  38382. "remark": {
  38383. "description": "备注",
  38384. "type": "string"
  38385. },
  38386. "trademode": {
  38387. "description": "交易模式",
  38388. "type": "integer"
  38389. }
  38390. }
  38391. },
  38392. "taaccount.QueryHisAmountLogRsp": {
  38393. "type": "object",
  38394. "required": [
  38395. "accountid",
  38396. "amount",
  38397. "amountadjusttype",
  38398. "autoid",
  38399. "balance",
  38400. "createtime",
  38401. "currentbalance",
  38402. "histradedate",
  38403. "operatetype"
  38404. ],
  38405. "properties": {
  38406. "OPERATETYPENAME": {
  38407. "description": "资金操作类型名称",
  38408. "type": "string"
  38409. },
  38410. "accountid": {
  38411. "description": "资金账户ID",
  38412. "type": "integer"
  38413. },
  38414. "agoodscode": {
  38415. "description": "竞拍商品代码",
  38416. "type": "string"
  38417. },
  38418. "agoodsname": {
  38419. "description": "竞拍商品名称",
  38420. "type": "string"
  38421. },
  38422. "amount": {
  38423. "description": "资金金额",
  38424. "type": "number"
  38425. },
  38426. "amountadjusttype": {
  38427. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38428. "type": "integer"
  38429. },
  38430. "autoid": {
  38431. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38432. "type": "integer"
  38433. },
  38434. "balance": {
  38435. "description": "期初余额",
  38436. "type": "number"
  38437. },
  38438. "businesscode": {
  38439. "description": "业务编号",
  38440. "type": "integer"
  38441. },
  38442. "createtime": {
  38443. "description": "发生时间",
  38444. "type": "string"
  38445. },
  38446. "currencyid": {
  38447. "description": "币种ID",
  38448. "type": "integer"
  38449. },
  38450. "currentbalance": {
  38451. "description": "期末余额(变动后金额)",
  38452. "type": "number"
  38453. },
  38454. "dgoodscode": {
  38455. "description": "交割商品代码",
  38456. "type": "string"
  38457. },
  38458. "dgoodsname": {
  38459. "description": "交割商品名称",
  38460. "type": "string"
  38461. },
  38462. "goodscode": {
  38463. "description": "商品代码",
  38464. "type": "string"
  38465. },
  38466. "goodsid": {
  38467. "description": "商品ID",
  38468. "type": "integer"
  38469. },
  38470. "goodsname": {
  38471. "description": "商品名称",
  38472. "type": "string"
  38473. },
  38474. "histradedate": {
  38475. "description": "历史交易日",
  38476. "type": "string"
  38477. },
  38478. "isvaliddata": {
  38479. "description": "是否有效 - 0:无效 1:有效",
  38480. "type": "integer"
  38481. },
  38482. "marketid": {
  38483. "description": "市场ID",
  38484. "type": "integer"
  38485. },
  38486. "marketname": {
  38487. "description": "市场名称",
  38488. "type": "string"
  38489. },
  38490. "moneyticket": {
  38491. "description": "资金流水号:银行端流水号",
  38492. "type": "integer"
  38493. },
  38494. "operatetype": {
  38495. "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:营销收款",
  38496. "type": "integer"
  38497. },
  38498. "relationorderid": {
  38499. "description": "关联单号",
  38500. "type": "string"
  38501. },
  38502. "remark": {
  38503. "description": "备注",
  38504. "type": "string"
  38505. },
  38506. "trademode": {
  38507. "description": "交易模式",
  38508. "type": "integer"
  38509. }
  38510. }
  38511. },
  38512. "trade.QueryRecieptOrderRsp": {
  38513. "type": "object",
  38514. "required": [
  38515. "ordertime"
  38516. ],
  38517. "properties": {
  38518. "accountName": {
  38519. "description": "所属账号名称(已脱敏)",
  38520. "type": "string"
  38521. },
  38522. "accountid": {
  38523. "description": "资金账号",
  38524. "type": "integer"
  38525. },
  38526. "buyorsell": {
  38527. "description": "方向 - 0:买 1:卖",
  38528. "type": "integer"
  38529. },
  38530. "enableqty": {
  38531. "description": "可摘数量",
  38532. "type": "integer"
  38533. },
  38534. "goodscode": {
  38535. "description": "商品代码",
  38536. "type": "string"
  38537. },
  38538. "goodsid": {
  38539. "description": "商品ID",
  38540. "type": "integer"
  38541. },
  38542. "goodsname": {
  38543. "description": "商品名称",
  38544. "type": "string"
  38545. },
  38546. "orderid": {
  38547. "description": "委托单号",
  38548. "type": "string"
  38549. },
  38550. "orderprice": {
  38551. "description": "委托价格",
  38552. "type": "number"
  38553. },
  38554. "ordertime": {
  38555. "description": "委托时间",
  38556. "type": "string"
  38557. },
  38558. "tradedate": {
  38559. "description": "交易日(yyyyMMdd)",
  38560. "type": "string"
  38561. }
  38562. }
  38563. },
  38564. "user.LoginQueryRsp": {
  38565. "type": "object",
  38566. "properties": {
  38567. "areaRoles": {
  38568. "description": "所属角色信息",
  38569. "type": "array",
  38570. "items": {
  38571. "$ref": "#/definitions/models.Arearole"
  38572. }
  38573. },
  38574. "externalExchanges": {
  38575. "description": "外部交易所",
  38576. "type": "array",
  38577. "items": {
  38578. "$ref": "#/definitions/models.Externalexchange"
  38579. }
  38580. },
  38581. "goodsgroups": {
  38582. "description": "商品组",
  38583. "type": "array",
  38584. "items": {
  38585. "$ref": "#/definitions/models.Goodsgroup"
  38586. }
  38587. },
  38588. "loginAccount": {
  38589. "description": "登录账号",
  38590. "$ref": "#/definitions/models.Loginaccount"
  38591. },
  38592. "markets": {
  38593. "description": "市场",
  38594. "type": "array",
  38595. "items": {
  38596. "$ref": "#/definitions/models.Market"
  38597. }
  38598. },
  38599. "systemParams": {
  38600. "description": "系统参数",
  38601. "type": "array",
  38602. "items": {
  38603. "$ref": "#/definitions/models.Systemparam"
  38604. }
  38605. },
  38606. "userAccount": {
  38607. "description": "用户账号",
  38608. "$ref": "#/definitions/models.Useraccount"
  38609. },
  38610. "userInfo": {
  38611. "description": "用户信息",
  38612. "$ref": "#/definitions/models.Userinfo"
  38613. },
  38614. "username": {
  38615. "description": "用户姓名",
  38616. "type": "string"
  38617. }
  38618. }
  38619. }
  38620. },
  38621. "securityDefinitions": {
  38622. "ApiKeyAuth": {
  38623. "type": "apiKey",
  38624. "name": "Authorization",
  38625. "in": "header"
  38626. }
  38627. }
  38628. }`
  38629. type swaggerInfo struct {
  38630. Version string
  38631. Host string
  38632. BasePath string
  38633. Schemes []string
  38634. Title string
  38635. Description string
  38636. }
  38637. // SwaggerInfo holds exported Swagger Info so clients can modify it
  38638. var SwaggerInfo = swaggerInfo{
  38639. Version: "1.0",
  38640. Host: "",
  38641. BasePath: "/api",
  38642. Schemes: []string{},
  38643. Title: "MTP2.0 查询服务 API",
  38644. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  38645. }
  38646. type s struct{}
  38647. func (s *s) ReadDoc() string {
  38648. sInfo := SwaggerInfo
  38649. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  38650. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  38651. "marshal": func(v interface{}) string {
  38652. a, _ := json.Marshal(v)
  38653. return string(a)
  38654. },
  38655. }).Parse(doc)
  38656. if err != nil {
  38657. return doc
  38658. }
  38659. var tpl bytes.Buffer
  38660. if err := t.Execute(&tpl, sInfo); err != nil {
  38661. return doc
  38662. }
  38663. return tpl.String()
  38664. }
  38665. func init() {
  38666. swag.Register(swag.Name, &s{})
  38667. }